var MZ=Object.create;var Ah=Object.defineProperty;var OZ=Object.getOwnPropertyDescriptor;var FZ=Object.getOwnPropertyNames;var UZ=Object.getPrototypeOf,qZ=Object.prototype.hasOwnProperty;var o=(t,e)=>Ah(t,"name",{value:e,configurable:!0});var g=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),GZ=(t,e)=>{for(var r in e)Ah(t,r,{get:e[r],enumerable:!0})},HZ=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of FZ(e))!qZ.call(t,n)&&n!==r&&Ah(t,n,{get:()=>e[n],enumerable:!(s=OZ(e,n))||s.enumerable});return t};var w=(t,e,r)=>(r=t!=null?MZ(UZ(t)):{},HZ(e||!t||!t.__esModule?Ah(r,"default",{value:t,enumerable:!0}):r,t));var nL=g(Xc=>{"use strict";var uOe=require("net"),WZ=require("tls"),XB=require("http"),tL=require("https"),jZ=require("events"),AOe=require("assert"),KZ=require("util");Xc.httpOverHttp=XZ;Xc.httpsOverHttp=ZZ;Xc.httpOverHttps=e7;Xc.httpsOverHttps=t7;function XZ(t){var e=new Li(t);return e.request=XB.request,e}o(XZ,"httpOverHttp");function ZZ(t){var e=new Li(t);return e.request=XB.request,e.createSocket=rL,e.defaultPort=443,e}o(ZZ,"httpsOverHttp");function e7(t){var e=new Li(t);return e.request=tL.request,e}o(e7,"httpOverHttps");function t7(t){var e=new Li(t);return e.request=tL.request,e.createSocket=rL,e.defaultPort=443,e}o(t7,"httpsOverHttps");function Li(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||XB.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(s,n,i,a){for(var c=sL(n,i,a),l=0,u=e.requests.length;l=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(c){c.on("free",l),c.on("close",u),c.on("agentRemove",u),e.onSocket(c);function l(){i.emit("free",c,a)}o(l,"onFree");function u(A){i.removeSocket(c),c.removeListener("free",l),c.removeListener("close",u),c.removeListener("agentRemove",u)}o(u,"onCloseOrRemove")})},"addRequest");Li.prototype.createSocket=o(function(e,r){var s=this,n={};s.sockets.push(n);var i=ZB({},s.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")),xo("making CONNECT request");var a=s.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",u),a.once("error",A),a.end();function c(d){d.upgrade=!0}o(c,"onResponse");function l(d,p,m){process.nextTick(function(){u(d,p,m)})}o(l,"onUpgrade");function u(d,p,m){if(a.removeAllListeners(),p.removeAllListeners(),d.statusCode!==200){xo("tunneling socket could not be established, statusCode=%d",d.statusCode),p.destroy();var h=new Error("tunneling socket could not be established, statusCode="+d.statusCode);h.code="ECONNRESET",e.request.emit("error",h),s.removeSocket(n);return}if(m.length>0){xo("got illegal response body from proxy"),p.destroy();var h=new Error("got illegal response body from proxy");h.code="ECONNRESET",e.request.emit("error",h),s.removeSocket(n);return}return xo("tunneling connection has established"),s.sockets[s.sockets.indexOf(n)]=p,r(p)}o(u,"onConnect");function A(d){a.removeAllListeners(),xo(`tunneling socket could not be established, cause=%s `,d.message,d.stack);var p=new Error("tunneling socket could not be established, cause="+d.message);p.code="ECONNRESET",e.request.emit("error",p),s.removeSocket(n)}o(A,"onError")},"createSocket");Li.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var s=this.requests.shift();s&&this.createSocket(s,function(n){s.request.onSocket(n)})}},"removeSocket");function rL(t,e){var r=this;Li.prototype.createSocket.call(r,t,function(s){var n=t.request.getHeader("host"),i=ZB({},r.options,{socket:s,servername:n?n.replace(/:.*$/,""):t.host}),a=WZ.connect(0,i);r.sockets[r.sockets.indexOf(s)]=a,e(a)})}o(rL,"createSecureSocket");function sL(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(sL,"toOptions");function ZB(t){for(var e=1,r=arguments.length;e{iL.exports=nL()});var $e=g((hOe,oL)=>{oL.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 Be=g((fOe,vL)=>{"use strict";var aL=Symbol.for("undici.error.UND_ERR"),Ve=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[aL]===!0}[aL]=!0},cL=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),ew=class extends Ve{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[cL]===!0}[cL]=!0},lL=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),tw=class extends Ve{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[lL]===!0}[lL]=!0},uL=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),rw=class extends Ve{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[uL]===!0}[uL]=!0},AL=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),sw=class extends Ve{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[AL]===!0}[AL]=!0},dL=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),nw=class extends Ve{static{o(this,"ResponseStatusCodeError")}constructor(e,r,s,n){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=n,this.status=r,this.statusCode=r,this.headers=s}static[Symbol.hasInstance](e){return e&&e[dL]===!0}[dL]=!0},pL=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),iw=class extends Ve{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[pL]===!0}[pL]=!0},mL=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),ow=class extends Ve{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[mL]===!0}[mL]=!0},hL=Symbol.for("undici.error.UND_ERR_ABORT"),fh=class extends Ve{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[hL]===!0}[hL]=!0},fL=Symbol.for("undici.error.UND_ERR_ABORTED"),aw=class extends fh{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[fL]===!0}[fL]=!0},gL=Symbol.for("undici.error.UND_ERR_INFO"),cw=class extends Ve{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[gL]===!0}[gL]=!0},EL=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),lw=class extends Ve{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[EL]===!0}[EL]=!0},yL=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),uw=class extends Ve{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[yL]===!0}[yL]=!0},CL=Symbol.for("undici.error.UND_ERR_DESTROYED"),Aw=class extends Ve{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[CL]===!0}[CL]=!0},IL=Symbol.for("undici.error.UND_ERR_CLOSED"),dw=class extends Ve{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[IL]===!0}[IL]=!0},BL=Symbol.for("undici.error.UND_ERR_SOCKET"),pw=class extends Ve{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[BL]===!0}[BL]=!0},wL=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),mw=class extends Ve{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[wL]===!0}[wL]=!0},bL=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),hw=class extends Ve{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[bL]===!0}[bL]=!0},xL=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),fw=class extends Error{static{o(this,"HTTPParserError")}constructor(e,r,s){super(e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=s?s.toString():void 0}static[Symbol.hasInstance](e){return e&&e[xL]===!0}[xL]=!0},QL=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),gw=class extends Ve{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[QL]===!0}[QL]=!0},NL=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),Ew=class extends Ve{static{o(this,"RequestRetryError")}constructor(e,r,{headers:s,data:n}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=n,this.headers=s}static[Symbol.hasInstance](e){return e&&e[NL]===!0}[NL]=!0},SL=Symbol.for("undici.error.UND_ERR_RESPONSE"),yw=class extends Ve{static{o(this,"ResponseError")}constructor(e,r,{headers:s,data:n}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.data=n,this.headers=s}static[Symbol.hasInstance](e){return e&&e[SL]===!0}[SL]=!0},RL=Symbol.for("undici.error.UND_ERR_PRX_TLS"),Cw=class extends Ve{static{o(this,"SecureProxyConnectionError")}constructor(e,r,s){super(r,{cause:e,...s??{}}),this.name="SecureProxyConnectionError",this.message=r||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&e[RL]===!0}[RL]=!0},TL=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),Iw=class extends Ve{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[TL]===!0}get[TL](){return!0}};vL.exports={AbortError:fh,HTTPParserError:fw,UndiciError:Ve,HeadersTimeoutError:tw,HeadersOverflowError:rw,BodyTimeoutError:sw,RequestContentLengthMismatchError:lw,ConnectTimeoutError:ew,ResponseStatusCodeError:nw,InvalidArgumentError:iw,InvalidReturnValueError:ow,RequestAbortedError:aw,ClientDestroyedError:Aw,ClientClosedError:dw,InformationalError:cw,SocketError:pw,NotSupportedError:mw,ResponseContentLengthMismatchError:uw,BalancedPoolMissingUpstreamError:hw,ResponseExceededMaxSizeError:gw,RequestRetryError:Ew,ResponseError:yw,SecureProxyConnectionError:Cw,MessageSizeExceededError:Iw}});var Eh=g((EOe,PL)=>{"use strict";var gh={},Bw=["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:kL,headerNameLowerCasedRecord:r7}=Eh(),ww=class t{static{o(this,"TstNode")}value=null;left=null;middle=null;right=null;code;constructor(e,r,s){if(s===void 0||s>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(s))>127)throw new TypeError("key must be ascii string");e.length!==++s?this.middle=new t(e,r,s):this.value=r}add(e,r){let s=e.length;if(s===0)throw new TypeError("Unreachable");let n=0,i=this;for(;;){let a=e.charCodeAt(n);if(a>127)throw new TypeError("key must be ascii string");if(i.code===a)if(s===++n){i.value=r;break}else if(i.middle!==null)i=i.middle;else{i.middle=new t(e,r,n);break}else if(i.code=65&&(i|=32);n!==null;){if(i===n.code){if(r===++s)return n;n=n.middle;break}n=n.code{"use strict";var SA=require("node:assert"),{kDestroyed:OL,kBodyUsed:Zc,kListeners:bw,kBody:ML}=$e(),{IncomingMessage:s7}=require("node:http"),Bh=require("node:stream"),n7=require("node:net"),{Blob:i7}=require("node:buffer"),o7=require("node:util"),{stringify:a7}=require("node:querystring"),{EventEmitter:c7}=require("node:events"),{InvalidArgumentError:qt}=Be(),{headerNameLowerCasedRecord:l7}=Eh(),{tree:FL}=LL(),[u7,A7]=process.versions.node.split(".").map(t=>Number(t)),Ih=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[ML]=e,this[Zc]=!1}async*[Symbol.asyncIterator](){SA(!this[Zc],"disturbed"),this[Zc]=!0,yield*this[ML]}};function d7(t){return wh(t)?(zL(t)===0&&t.on("data",function(){SA(!1)}),typeof t.readableDidRead!="boolean"&&(t[Zc]=!1,c7.prototype.on.call(t,"data",function(){this[Zc]=!0})),t):t&&typeof t.pipeTo=="function"?new Ih(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&HL(t)?new Ih(t):t}o(d7,"wrapRequestBody");function p7(){}o(p7,"nop");function wh(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(wh,"isStream");function UL(t){if(t===null)return!1;if(t instanceof i7)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(UL,"isBlobLike");function m7(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=a7(e);return r&&(t+="?"+r),t}o(m7,"buildURL");function qL(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(qL,"isValidPort");function Ch(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(Ch,"isHttpOrHttpsPrefixed");function GL(t){if(typeof t=="string"){if(t=new URL(t),!Ch(t.origin||t.protocol))throw new qt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new qt("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&qL(t.port)===!1)throw new qt("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 qt("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new qt("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new qt("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new qt("Invalid URL origin: the origin must be a string or null/undefined.");if(!Ch(t.origin||t.protocol))throw new qt("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,s=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),s&&s[0]!=="/"&&(s=`/${s}`),new URL(`${r}${s}`)}if(!Ch(t.origin||t.protocol))throw new qt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(GL,"parseURL");function h7(t){if(t=GL(t),t.pathname!=="/"||t.search||t.hash)throw new qt("invalid url");return t}o(h7,"parseOrigin");function f7(t){if(t[0]==="["){let r=t.indexOf("]");return SA(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(f7,"getHostname");function g7(t){if(!t)return null;SA(typeof t=="string");let e=f7(t);return n7.isIP(e)?"":e}o(g7,"getServerName");function E7(t){return JSON.parse(JSON.stringify(t))}o(E7,"deepClone");function y7(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(y7,"isAsyncIterable");function HL(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(HL,"isIterable");function zL(t){if(t==null)return 0;if(wh(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(UL(t))return t.size!=null?t.size:null;if(YL(t))return t.byteLength}return null}o(zL,"bodyLength");function $L(t){return t&&!!(t.destroyed||t[OL]||Bh.isDestroyed?.(t))}o($L,"isDestroyed");function C7(t,e){t==null||!wh(t)||$L(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===s7&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[OL]=!0))}o(C7,"destroy");var I7=/timeout=(\d+)/;function B7(t){let e=t.toString().match(I7);return e?parseInt(e[1],10)*1e3:null}o(B7,"parseKeepAliveTimeout");function VL(t){return typeof t=="string"?l7[t]??t.toLowerCase():FL.lookup(t)??t.toString("latin1").toLowerCase()}o(VL,"headerNameToString");function w7(t){return FL.lookup(t)??t.toString("latin1").toLowerCase()}o(w7,"bufferToLowerCasedHeaderName");function b7(t,e){e===void 0&&(e={});for(let r=0;ra.toString("utf8")):i.toString("utf8")}}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}o(b7,"parseHeaders");function x7(t){let e=t.length,r=new Array(e),s=!1,n=-1,i,a,c=0;for(let l=0;l{r.close(),r.byobRequest?.respond(0)});else{let i=Buffer.isBuffer(n)?n:Buffer.from(n);i.byteLength&&r.enqueue(new Uint8Array(i))}return r.desiredSize>0},async cancel(r){await e.return()},type:"bytes"})}o(v7,"ReadableStreamFrom");function P7(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(P7,"isFormDataLike");function k7(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(k7,"addAbortListener");var D7=typeof String.prototype.toWellFormed=="function",_7=typeof String.prototype.isWellFormed=="function";function JL(t){return D7?`${t}`.toWellFormed():o7.toUSVString(t)}o(JL,"toUSVString");function L7(t){return _7?`${t}`.isWellFormed():JL(t)===`${t}`}o(L7,"isUSVString");function WL(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(WL,"isTokenCharCode");function M7(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var Ne=require("node:diagnostics_channel"),Nw=require("node:util"),bh=Nw.debuglog("undici"),Qw=Nw.debuglog("fetch"),ba=Nw.debuglog("websocket"),ZL=!1,z7={beforeConnect:Ne.channel("undici:client:beforeConnect"),connected:Ne.channel("undici:client:connected"),connectError:Ne.channel("undici:client:connectError"),sendHeaders:Ne.channel("undici:client:sendHeaders"),create:Ne.channel("undici:request:create"),bodySent:Ne.channel("undici:request:bodySent"),headers:Ne.channel("undici:request:headers"),trailers:Ne.channel("undici:request:trailers"),error:Ne.channel("undici:request:error"),open:Ne.channel("undici:websocket:open"),close:Ne.channel("undici:websocket:close"),socketError:Ne.channel("undici:websocket:socket_error"),ping:Ne.channel("undici:websocket:ping"),pong:Ne.channel("undici:websocket:pong")};if(bh.enabled||Qw.enabled){let t=Qw.enabled?Qw:bh;Ne.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connecting to %s using %s%s",`${i}${n?`:${n}`:""}`,s,r)}),Ne.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connected to %s using %s%s",`${i}${n?`:${n}`:""}`,s,r)}),Ne.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i},error:a}=e;t("connection to %s using %s%s errored - %s",`${i}${n?`:${n}`:""}`,s,r,a.message)}),Ne.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:s,origin:n}}=e;t("sending request to %s %s/%s",r,n,s)}),Ne.channel("undici:request:headers").subscribe(e=>{let{request:{method:r,path:s,origin:n},response:{statusCode:i}}=e;t("received response to %s %s/%s - HTTP %d",r,n,s,i)}),Ne.channel("undici:request:trailers").subscribe(e=>{let{request:{method:r,path:s,origin:n}}=e;t("trailers received from %s %s/%s",r,n,s)}),Ne.channel("undici:request:error").subscribe(e=>{let{request:{method:r,path:s,origin:n},error:i}=e;t("request to %s %s/%s errored - %s",r,n,s,i.message)}),ZL=!0}if(ba.enabled){if(!ZL){let t=bh.enabled?bh:ba;Ne.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connecting to %s%s using %s%s",i,n?`:${n}`:"",s,r)}),Ne.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connected to %s%s using %s%s",i,n?`:${n}`:"",s,r)}),Ne.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i},error:a}=e;t("connection to %s%s using %s%s errored - %s",i,n?`:${n}`:"",s,r,a.message)}),Ne.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:s,origin:n}}=e;t("sending request to %s %s/%s",r,n,s)})}Ne.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;ba("connection opened %s%s",e,r?`:${r}`:"")}),Ne.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:s}=t;ba("closed connection to %s - %s %s",e.url,r,s)}),Ne.channel("undici:websocket:socket_error").subscribe(t=>{ba("connection errored - %s",t.message)}),Ne.channel("undici:websocket:ping").subscribe(t=>{ba("ping received")}),Ne.channel("undici:websocket:pong").subscribe(t=>{ba("pong received")})}eM.exports={channels:z7}});var nM=g((bOe,sM)=>{"use strict";var{InvalidArgumentError:Te,NotSupportedError:$7}=Be(),Mi=require("node:assert"),{isValidHTTPToken:rM,isValidHeaderValue:RA,isStream:V7,destroy:Y7,isBuffer:J7,isFormDataLike:W7,isIterable:j7,isBlobLike:K7,buildURL:X7,validateHandler:Z7,getServerName:eee,normalizedMethodRecords:tee}=de(),{channels:_n}=el(),{headerNameLowerCasedRecord:tM}=Eh(),ree=/[^\u0021-\u00ff]/,bs=Symbol("handler"),Sw=class{static{o(this,"Request")}constructor(e,{path:r,method:s,body:n,headers:i,query:a,idempotent:c,blocking:l,upgrade:u,headersTimeout:A,bodyTimeout:d,reset:p,throwOnError:m,expectContinue:h,servername:f},C){if(typeof r!="string")throw new Te("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&s!=="CONNECT")throw new Te("path must be an absolute URL or start with a slash");if(ree.test(r))throw new Te("invalid request path");if(typeof s!="string")throw new Te("method must be a string");if(tee[s]===void 0&&!rM(s))throw new Te("invalid request method");if(u&&typeof u!="string")throw new Te("upgrade must be a string");if(u&&!RA(u))throw new Te("invalid upgrade header");if(A!=null&&(!Number.isFinite(A)||A<0))throw new Te("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new Te("invalid bodyTimeout");if(p!=null&&typeof p!="boolean")throw new Te("invalid reset");if(h!=null&&typeof h!="boolean")throw new Te("invalid expectContinue");if(this.headersTimeout=A,this.bodyTimeout=d,this.throwOnError=m===!0,this.method=s,this.abort=null,n==null)this.body=null;else if(V7(n)){this.body=n;let E=this.body._readableState;(!E||!E.autoDestroy)&&(this.endHandler=o(function(){Y7(this)},"autoDestroy"),this.body.on("end",this.endHandler)),this.errorHandler=y=>{this.abort?this.abort(y):this.error=y},this.body.on("error",this.errorHandler)}else if(J7(n))this.body=n.byteLength?n:null;else if(ArrayBuffer.isView(n))this.body=n.buffer.byteLength?Buffer.from(n.buffer,n.byteOffset,n.byteLength):null;else if(n instanceof ArrayBuffer)this.body=n.byteLength?Buffer.from(n):null;else if(typeof n=="string")this.body=n.length?Buffer.from(n):null;else if(W7(n)||j7(n)||K7(n))this.body=n;else throw new Te("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?X7(r,a):r,this.origin=e,this.idempotent=c??(s==="HEAD"||s==="GET"),this.blocking=l??!1,this.reset=p??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=h??!1,Array.isArray(i)){if(i.length%2!==0)throw new Te("headers array must be even");for(let E=0;E{"use strict";var see=require("node:events"),Qh=class extends see{static{o(this,"Dispatcher")}dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){let r=Array.isArray(e[0])?e[0]:e,s=this.dispatch.bind(this);for(let n of r)if(n!=null){if(typeof n!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof n}`);if(s=n(s),s==null||typeof s!="function"||s.length!==2)throw new TypeError("invalid interceptor")}return new Rw(this,s)}},Rw=class extends Qh{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)}};iM.exports=Qh});var nl=g((SOe,oM)=>{"use strict";var nee=TA(),{ClientDestroyedError:Tw,ClientClosedError:iee,InvalidArgumentError:tl}=Be(),{kDestroy:oee,kClose:aee,kClosed:vA,kDestroyed:rl,kDispatch:vw,kInterceptors:xa}=$e(),Oi=Symbol("onDestroyed"),sl=Symbol("onClosed"),Nh=Symbol("Intercepted Dispatch"),Pw=Symbol("webSocketOptions"),kw=class extends nee{static{o(this,"DispatcherBase")}constructor(e){super(),this[rl]=!1,this[Oi]=null,this[vA]=!1,this[sl]=[],this[Pw]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[Pw].maxFragments??131072,maxPayloadSize:this[Pw].maxPayloadSize??128*1024*1024}}get destroyed(){return this[rl]}get closed(){return this[vA]}get interceptors(){return this[xa]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[xa][r]!="function")throw new tl("interceptor must be an function")}this[xa]=e}close(e){if(e===void 0)return new Promise((s,n)=>{this.close((i,a)=>i?n(i):s(a))});if(typeof e!="function")throw new tl("invalid callback");if(this[rl]){queueMicrotask(()=>e(new Tw,null));return}if(this[vA]){this[sl]?this[sl].push(e):queueMicrotask(()=>e(null,null));return}this[vA]=!0,this[sl].push(e);let r=o(()=>{let s=this[sl];this[sl]=null;for(let n=0;nthis.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((n,i)=>{this.destroy(e,(a,c)=>a?i(a):n(c))});if(typeof r!="function")throw new tl("invalid callback");if(this[rl]){this[Oi]?this[Oi].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new Tw),this[rl]=!0,this[Oi]=this[Oi]||[],this[Oi].push(r);let s=o(()=>{let n=this[Oi];this[Oi]=null;for(let i=0;i{queueMicrotask(s)})}[Nh](e,r){if(!this[xa]||this[xa].length===0)return this[Nh]=this[vw],this[vw](e,r);let s=this[vw].bind(this);for(let n=this[xa].length-1;n>=0;n--)s=this[xa][n](s);return this[Nh]=s,s(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new tl("handler must be an object");try{if(!e||typeof e!="object")throw new tl("opts must be an object.");if(this[rl]||this[Oi])throw new Tw;if(this[vA])throw new iee;return this[Nh](e,r)}catch(s){if(typeof r.onError!="function")throw new tl("invalid onError method");return r.onError(s),!1}}};oM.exports=kw});var Uw=g((TOe,uM)=>{"use strict";var il=0,Dw=1e3,_w=(Dw>>1)-1,Fi,Lw=Symbol("kFastTimer"),Ui=[],Mw=-2,Ow=-1,cM=0,aM=1;function Fw(){il+=_w;let t=0,e=Ui.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=Ow,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===Ow?(r._state=Mw,--e!==0&&(Ui[t]=Ui[e])):++t}Ui.length=e,Ui.length!==0&&lM()}o(Fw,"onTick");function lM(){Fi?Fi.refresh():(clearTimeout(Fi),Fi=setTimeout(Fw,_w),Fi.unref&&Fi.unref())}o(lM,"refreshTimeout");var Sh=class{static{o(this,"FastTimer")}[Lw]=!0;_state=Mw;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,s){this._onTimeout=e,this._idleTimeout=r,this._timerArg=s,this.refresh()}refresh(){this._state===Mw&&Ui.push(this),(!Fi||Ui.length===1)&&lM(),this._state=cM}clear(){this._state=Ow,this._idleStart=-1}};uM.exports={setTimeout(t,e,r){return e<=Dw?setTimeout(t,e,r):new Sh(t,e,r)},clearTimeout(t){t[Lw]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new Sh(t,e,r)},clearFastTimeout(t){t.clear()},now(){return il},tick(t=0){il+=t-Dw+1,Fw(),Fw()},reset(){il=0,Ui.length=0,clearTimeout(Fi),Fi=null},kFastTimer:Lw}});var PA=g((DOe,hM)=>{"use strict";var cee=require("node:net"),AM=require("node:assert"),mM=de(),{InvalidArgumentError:lee,ConnectTimeoutError:uee}=Be(),Rh=Uw();function dM(){}o(dM,"noop");var qw,Gw;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?Gw=class{static{o(this,"WeakSessionCache")}constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(r=>{if(this._sessionCache.size=this._maxCachedSessions){let{value:s}=this._sessionCache.keys().next();this._sessionCache.delete(s)}this._sessionCache.set(e,r)}}};function Aee({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:s,session:n,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new lee("maxCachedSessions must be a positive integer or zero");let a={path:r,...i},c=new Gw(e??100);return s=s??1e4,t=t??!1,o(function({hostname:u,host:A,protocol:d,port:p,servername:m,localAddress:h,httpSocket:f},C){let E;if(d==="https:"){qw||(qw=require("node:tls")),m=m||a.servername||mM.getServerName(A)||null;let I=m||u;AM(I);let B=n||c.get(I)||null;p=p||443,E=qw.connect({highWaterMark:16384,...a,servername:m,session:B,localAddress:h,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:f,port:p,host:u}),E.on("session",function(S){c.set(I,S)})}else AM(!f,"httpSocket can only be sent on TLS update"),p=p||80,E=cee.connect({highWaterMark:64*1024,...a,localAddress:h,port:p,host:u});if(a.keepAlive==null||a.keepAlive){let I=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;E.setKeepAlive(!0,I)}let y=dee(new WeakRef(E),{timeout:s,hostname:u,port:p});return E.setNoDelay(!0).once(d==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(y),C){let I=C;C=null,I(null,this)}}).on("error",function(I){if(queueMicrotask(y),C){let B=C;C=null,B(I)}}),E},"connect")}o(Aee,"buildConnector");var dee=process.platform==="win32"?(t,e)=>{if(!e.timeout)return dM;let r=null,s=null,n=Rh.setFastTimeout(()=>{r=setImmediate(()=>{s=setImmediate(()=>pM(t.deref(),e))})},e.timeout);return()=>{Rh.clearFastTimeout(n),clearImmediate(r),clearImmediate(s)}}:(t,e)=>{if(!e.timeout)return dM;let r=null,s=Rh.setFastTimeout(()=>{r=setImmediate(()=>{pM(t.deref(),e)})},e.timeout);return()=>{Rh.clearFastTimeout(s),clearImmediate(r)}};function pM(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)`,mM.destroy(t,new uee(r))}o(pM,"onConnectTimeout");hM.exports=Aee});var fM=g(Th=>{"use strict";Object.defineProperty(Th,"__esModule",{value:!0});Th.enumToMap=void 0;function pee(t){let e={};return Object.keys(t).forEach(r=>{let s=t[r];typeof s=="number"&&(e[r]=s)}),e}o(pee,"enumToMap");Th.enumToMap=pee});var gM=g(Q=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});Q.SPECIAL_HEADERS=Q.HEADER_STATE=Q.MINOR=Q.MAJOR=Q.CONNECTION_TOKEN_CHARS=Q.HEADER_CHARS=Q.TOKEN=Q.STRICT_TOKEN=Q.HEX=Q.URL_CHAR=Q.STRICT_URL_CHAR=Q.USERINFO_CHARS=Q.MARK=Q.ALPHANUM=Q.NUM=Q.HEX_MAP=Q.NUM_MAP=Q.ALPHA=Q.FINISH=Q.H_METHOD_MAP=Q.METHOD_MAP=Q.METHODS_RTSP=Q.METHODS_ICE=Q.METHODS_HTTP=Q.METHODS=Q.LENIENT_FLAGS=Q.FLAGS=Q.TYPE=Q.ERROR=void 0;var mee=fM(),hee;(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"})(hee=Q.ERROR||(Q.ERROR={}));var fee;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(fee=Q.TYPE||(Q.TYPE={}));var gee;(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"})(gee=Q.FLAGS||(Q.FLAGS={}));var Eee;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(Eee=Q.LENIENT_FLAGS||(Q.LENIENT_FLAGS={}));var K;(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"})(K=Q.METHODS||(Q.METHODS={}));Q.METHODS_HTTP=[K.DELETE,K.GET,K.HEAD,K.POST,K.PUT,K.CONNECT,K.OPTIONS,K.TRACE,K.COPY,K.LOCK,K.MKCOL,K.MOVE,K.PROPFIND,K.PROPPATCH,K.SEARCH,K.UNLOCK,K.BIND,K.REBIND,K.UNBIND,K.ACL,K.REPORT,K.MKACTIVITY,K.CHECKOUT,K.MERGE,K["M-SEARCH"],K.NOTIFY,K.SUBSCRIBE,K.UNSUBSCRIBE,K.PATCH,K.PURGE,K.MKCALENDAR,K.LINK,K.UNLINK,K.PRI,K.SOURCE];Q.METHODS_ICE=[K.SOURCE];Q.METHODS_RTSP=[K.OPTIONS,K.DESCRIBE,K.ANNOUNCE,K.SETUP,K.PLAY,K.PAUSE,K.TEARDOWN,K.GET_PARAMETER,K.SET_PARAMETER,K.REDIRECT,K.RECORD,K.FLUSH,K.GET,K.POST];Q.METHOD_MAP=mee.enumToMap(K);Q.H_METHOD_MAP={};Object.keys(Q.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(Q.H_METHOD_MAP[t]=Q.METHOD_MAP[t])});var yee;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(yee=Q.FINISH||(Q.FINISH={}));Q.ALPHA=[];for(let t=65;t<=90;t++)Q.ALPHA.push(String.fromCharCode(t)),Q.ALPHA.push(String.fromCharCode(t+32));Q.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};Q.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};Q.NUM=["0","1","2","3","4","5","6","7","8","9"];Q.ALPHANUM=Q.ALPHA.concat(Q.NUM);Q.MARK=["-","_",".","!","~","*","'","(",")"];Q.USERINFO_CHARS=Q.ALPHANUM.concat(Q.MARK).concat(["%",";",":","&","=","+","$",","]);Q.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(Q.ALPHANUM);Q.URL_CHAR=Q.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)Q.URL_CHAR.push(t);Q.HEX=Q.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);Q.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(Q.ALPHANUM);Q.TOKEN=Q.STRICT_TOKEN.concat([" "]);Q.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&Q.HEADER_CHARS.push(t);Q.CONNECTION_TOKEN_CHARS=Q.HEADER_CHARS.filter(t=>t!==44);Q.MAJOR=Q.NUM_MAP;Q.MINOR=Q.MAJOR;var ol;(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"})(ol=Q.HEADER_STATE||(Q.HEADER_STATE={}));Q.SPECIAL_HEADERS={connection:ol.CONNECTION,"content-length":ol.CONTENT_LENGTH,"proxy-connection":ol.CONNECTION,"transfer-encoding":ol.TRANSFER_ENCODING,upgrade:ol.UPGRADE}});var Hw=g((FOe,EM)=>{"use strict";var{Buffer:Cee}=require("node:buffer");EM.exports=Cee.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbGl2ZQAvDGxsaHR0cF9hbGxvYwALBm1hbGxvYwAxC2xsaHR0cF9mcmVlAAwEZnJlZQAMD2xsaHR0cF9nZXRfdHlwZQANFWxsaHR0cF9nZXRfaHR0cF9tYWpvcgAOFWxsaHR0cF9nZXRfaHR0cF9taW5vcgAPEWxsaHR0cF9nZXRfbWV0aG9kABAWbGxodHRwX2dldF9zdGF0dXNfY29kZQAREmxsaHR0cF9nZXRfdXBncmFkZQASDGxsaHR0cF9yZXNldAATDmxsaHR0cF9leGVjdXRlABQUbGxodHRwX3NldHRpbmdzX2luaXQAFQ1sbGh0dHBfZmluaXNoABYMbGxodHRwX3BhdXNl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TQRAIARBeHFBtNAAaiEAAn9BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQ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wNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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AIAIgJFDQAgAEEUaiACNgIAIAIgADYCGAsgASAEaiAENgIAIAEgBEEBcjYCBCABQaDQACgCAEcNAEGU0AAgBDYCAAwBCyAEQf8BTQRAIARBeHFBtNAAaiEAAn9BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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QtBrAEMGAtBrQEMFwtBrgEMFgtBAQwVC0GvAQwUC0GwAQwTC0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ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FHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGhzwBqLQAARw1dIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAybAgsgAkEANgIAIAZBAWohAUEeDF4LIAEgBEYEQEGTASEDDJoCCyABLQAAQcwARw1bIAFBAWohAUEKD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MDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var kA=g((qOe,SM)=>{"use strict";var IM=["GET","HEAD","POST"],Bee=new Set(IM),wee=[101,204,205,304],BM=[301,302,303,307,308],bee=new Set(BM),wM=["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"],xee=new Set(wM),bM=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],Qee=new Set(bM),Nee=["follow","manual","error"],xM=["GET","HEAD","OPTIONS","TRACE"],See=new Set(xM),Ree=["navigate","same-origin","no-cors","cors"],Tee=["omit","same-origin","include"],vee=["default","no-store","reload","no-cache","force-cache","only-if-cached"],Pee=["content-encoding","content-language","content-location","content-type","content-length"],kee=["half"],QM=["CONNECT","TRACE","TRACK"],Dee=new Set(QM),NM=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],_ee=new Set(NM);SM.exports={subresource:NM,forbiddenMethods:QM,requestBodyHeader:Pee,referrerPolicy:bM,requestRedirect:Nee,requestMode:Ree,requestCredentials:Tee,requestCache:vee,redirectStatus:BM,corsSafeListedMethods:IM,nullBodyStatus:wee,safeMethods:xM,badPorts:wM,requestDuplex:kee,subresourceSet:_ee,badPortsSet:xee,redirectStatusSet:bee,corsSafeListedMethodsSet:Bee,safeMethodsSet:See,forbiddenMethodsSet:Dee,referrerPolicySet:Qee}});var $w=g((GOe,RM)=>{"use strict";var zw=Symbol.for("undici.globalOrigin.1");function Lee(){return globalThis[zw]}o(Lee,"getGlobalOrigin");function Mee(t){if(t===void 0){Object.defineProperty(globalThis,zw,{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,zw,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(Mee,"setGlobalOrigin");RM.exports={getGlobalOrigin:Lee,setGlobalOrigin:Mee}});var vr=g((zOe,LM)=>{"use strict";var Ph=require("node:assert"),Oee=new TextEncoder,DA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,Fee=/[\u000A\u000D\u0009\u0020]/,Uee=/[\u0009\u000A\u000C\u000D\u0020]/g,qee=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Gee(t){Ph(t.protocol==="data:");let e=PM(t,!0);e=e.slice(5);let r={position:0},s=al(",",e,r),n=s.length;if(s=Jee(s,!0,!0),r.position>=e.length)return"failure";r.position++;let i=e.slice(n+1),a=kM(i);if(/;(\u0020){0,}base64$/i.test(s)){let l=_M(a);if(a=zee(l),a==="failure")return"failure";s=s.slice(0,-6),s=s.replace(/(\u0020)+$/,""),s=s.slice(0,-1)}s.startsWith(";")&&(s="text/plain"+s);let c=Vw(s);return c==="failure"&&(c=Vw("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(Gee,"dataURLProcessor");function PM(t,e=!1){if(!e)return t.href;let r=t.href,s=t.hash.length,n=s===0?r:r.substring(0,r.length-s);return!s&&r.endsWith("#")?n.slice(0,-1):n}o(PM,"URLSerializer");function kh(t,e,r){let s="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(TM,"isHexCharByte");function vM(t){return t>=48&&t<=57?t-48:(t&223)-55}o(vM,"hexByteToNumber");function Hee(t){let e=t.length,r=new Uint8Array(e),s=0;for(let n=0;nt.length)return"failure";e.position++;let s=al(";",t,e);if(s=vh(s,!1,!0),s.length===0||!DA.test(s))return"failure";let n=r.toLowerCase(),i=s.toLowerCase(),a={type:n,subtype:i,parameters:new Map,essence:`${n}/${i}`};for(;e.positionFee.test(u),t,e);let c=kh(u=>u!==";"&&u!=="=",t,e);if(c=c.toLowerCase(),e.positiont.length)break;let l=null;if(t[e.position]==='"')l=DM(t,e,!0),al(";",t,e);else if(l=al(";",t,e),l=vh(l,!1,!0),l.length===0)continue;c.length!==0&&DA.test(c)&&(l.length===0||qee.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(Vw,"parseMIMEType");function zee(t){t=t.replace(Uee,"");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(zee,"forgivingBase64");function DM(t,e,r){let s=e.position,n="";for(Ph(t[e.position]==='"'),e.position++;n+=kh(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let i=t[e.position];if(e.position++,i==="\\"){if(e.position>=t.length){n+="\\";break}n+=t[e.position],e.position++}else{Ph(i==='"');break}}return r?n:t.slice(s,e.position)}o(DM,"collectAnHTTPQuotedString");function $ee(t){Ph(t!=="failure");let{parameters:e,essence:r}=t,s=r;for(let[n,i]of e.entries())s+=";",s+=n,s+="=",DA.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),s+=i;return s}o($ee,"serializeAMimeType");function Vee(t){return t===13||t===10||t===9||t===32}o(Vee,"isHTTPWhiteSpace");function vh(t,e=!0,r=!0){return Yw(t,e,r,Vee)}o(vh,"removeHTTPWhitespace");function Yee(t){return t===13||t===10||t===9||t===12||t===32}o(Yee,"isASCIIWhitespace");function Jee(t,e=!0,r=!0){return Yw(t,e,r,Yee)}o(Jee,"removeASCIIWhitespace");function Yw(t,e,r,s){let n=0,i=t.length-1;if(e)for(;n0&&s(t.charCodeAt(i));)i--;return n===0&&i===t.length-1?t:t.slice(n,i+1)}o(Yw,"removeChars");function _M(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",s=0,n=65535;for(;se&&(n=e-s),r+=String.fromCharCode.apply(null,t.subarray(s,s+=n));return r}o(_M,"isomorphicDecode");function Wee(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(Wee,"minimizeSupportedMimeType");LM.exports={dataURLProcessor:Gee,URLSerializer:PM,collectASequenceOfCodePoints:kh,collectASequenceOfCodePointsFast:al,stringPercentDecode:kM,parseMIMEType:Vw,collectAnHTTPQuotedString:DM,serializeAMimeType:$ee,removeChars:Yw,removeHTTPWhitespace:vh,minimizeSupportedMimeType:Wee,HTTP_TOKEN_CODEPOINTS:DA,isomorphicDecode:_M}});var jt=g((VOe,MM)=>{"use strict";var{types:Ln,inspect:jee}=require("node:util"),{markAsUncloneable:Kee}=require("node:worker_threads"),{toUSVString:Xee}=de(),x={};x.converters={};x.util={};x.errors={};x.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};x.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 x.errors.exception({header:t.prefix,message:r})};x.errors.invalidArgument=function(t){return x.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};x.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let s=new TypeError("Illegal invocation");throw s.code="ERR_INVALID_THIS",s}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let s=new TypeError("Illegal invocation");throw s.code="ERR_INVALID_THIS",s}};x.argumentLengthCheck=function({length:t},e,r){if(t{});x.util.ConvertToInt=function(t,e,r,s){let n,i;e===64?(n=Math.pow(2,53)-1,r==="unsigned"?i=0:i=Math.pow(-2,53)+1):r==="unsigned"?(i=0,n=Math.pow(2,e)-1):(i=Math.pow(-2,e)-1,n=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),s?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw x.errors.exception({header:"Integer conversion",message:`Could not convert ${x.util.Stringify(t)} to an integer.`});if(a=x.util.IntegerPart(a),an)throw x.errors.exception({header:"Integer conversion",message:`Value must be between ${i}-${n}, got ${a}.`});return a}return!Number.isNaN(a)&&s?.clamp===!0?(a=Math.min(Math.max(a,i),n),Math.floor(a)%2===0?a=Math.floor(a):a=Math.ceil(a),a):Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY?0:(a=x.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};x.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};x.util.Stringify=function(t){switch(x.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return jee(t);case"String":return`"${t}"`;default:return`${t}`}};x.sequenceConverter=function(t){return(e,r,s,n)=>{if(x.util.Type(e)!=="Object")throw x.errors.exception({header:r,message:`${s} (${x.util.Stringify(e)}) is not iterable.`});let i=typeof n=="function"?n():e?.[Symbol.iterator]?.(),a=[],c=0;if(i===void 0||typeof i.next!="function")throw x.errors.exception({header:r,message:`${s} is not iterable.`});for(;;){let{done:l,value:u}=i.next();if(l)break;a.push(t(u,r,`${s}[${c++}]`))}return a}};x.recordConverter=function(t,e){return(r,s,n)=>{if(x.util.Type(r)!=="Object")throw x.errors.exception({header:s,message:`${n} ("${x.util.Type(r)}") is not an Object.`});let i={};if(!Ln.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let l of c){let u=t(l,s,n),A=e(r[l],s,n);i[u]=A}return i}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let u=t(c,s,n),A=e(r[c],s,n);i[u]=A}return i}};x.interfaceConverter=function(t){return(e,r,s,n)=>{if(n?.strict!==!1&&!(e instanceof t))throw x.errors.exception({header:r,message:`Expected ${s} ("${x.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};x.dictionaryConverter=function(t){return(e,r,s)=>{let n=x.util.Type(e),i={};if(n==="Null"||n==="Undefined")return i;if(n!=="Object")throw x.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let a of t){let{key:c,defaultValue:l,required:u,converter:A}=a;if(u===!0&&!Object.hasOwn(e,c))throw x.errors.exception({header:r,message:`Missing required key "${c}".`});let d=e[c],p=Object.hasOwn(a,"defaultValue");if(p&&d!==null&&(d??=l()),u||p||d!==void 0){if(d=A(d,r,`${s}.${c}`),a.allowedValues&&!a.allowedValues.includes(d))throw x.errors.exception({header:r,message:`${d} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});i[c]=d}}return i}};x.nullableConverter=function(t){return(e,r,s)=>e===null?e:t(e,r,s)};x.converters.DOMString=function(t,e,r,s){if(t===null&&s?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw x.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};x.converters.ByteString=function(t,e,r){let s=x.converters.DOMString(t,e,r);for(let n=0;n255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${n} has a value of ${s.charCodeAt(n)} which is greater than 255.`);return s};x.converters.USVString=Xee;x.converters.boolean=function(t){return!!t};x.converters.any=function(t){return t};x.converters["long long"]=function(t,e,r){return x.util.ConvertToInt(t,64,"signed",void 0,e,r)};x.converters["unsigned long long"]=function(t,e,r){return x.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};x.converters["unsigned long"]=function(t,e,r){return x.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};x.converters["unsigned short"]=function(t,e,r,s){return x.util.ConvertToInt(t,16,"unsigned",s,e,r)};x.converters.ArrayBuffer=function(t,e,r,s){if(x.util.Type(t)!=="Object"||!Ln.isAnyArrayBuffer(t))throw x.errors.conversionFailed({prefix:e,argument:`${r} ("${x.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(s?.allowShared===!1&&Ln.isSharedArrayBuffer(t))throw x.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw x.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};x.converters.TypedArray=function(t,e,r,s,n){if(x.util.Type(t)!=="Object"||!Ln.isTypedArray(t)||t.constructor.name!==e.name)throw x.errors.conversionFailed({prefix:r,argument:`${s} ("${x.util.Stringify(t)}")`,types:[e.name]});if(n?.allowShared===!1&&Ln.isSharedArrayBuffer(t.buffer))throw x.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw x.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};x.converters.DataView=function(t,e,r,s){if(x.util.Type(t)!=="Object"||!Ln.isDataView(t))throw x.errors.exception({header:e,message:`${r} is not a DataView.`});if(s?.allowShared===!1&&Ln.isSharedArrayBuffer(t.buffer))throw x.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw x.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};x.converters.BufferSource=function(t,e,r,s){if(Ln.isAnyArrayBuffer(t))return x.converters.ArrayBuffer(t,e,r,{...s,allowShared:!1});if(Ln.isTypedArray(t))return x.converters.TypedArray(t,t.constructor,e,r,{...s,allowShared:!1});if(Ln.isDataView(t))return x.converters.DataView(t,e,r,{...s,allowShared:!1});throw x.errors.conversionFailed({prefix:e,argument:`${r} ("${x.util.Stringify(t)}")`,types:["BufferSource"]})};x.converters["sequence"]=x.sequenceConverter(x.converters.ByteString);x.converters["sequence>"]=x.sequenceConverter(x.converters["sequence"]);x.converters["record"]=x.recordConverter(x.converters.ByteString,x.converters.ByteString);MM.exports={webidl:x}});var Xr=g((YOe,KM)=>{"use strict";var{Transform:Zee}=require("node:stream"),OM=require("node:zlib"),{redirectStatusSet:ete,referrerPolicySet:tte,badPortsSet:rte}=kA(),{getGlobalOrigin:FM}=$w(),{collectASequenceOfCodePoints:Qa,collectAnHTTPQuotedString:ste,removeChars:nte,parseMIMEType:ite}=vr(),{performance:ote}=require("node:perf_hooks"),{isBlobLike:ate,ReadableStreamFrom:cte,isValidHTTPToken:UM,normalizedMethodRecordsBase:lte}=de(),Na=require("node:assert"),{isUint8Array:ute}=require("node:util/types"),{webidl:_A}=jt(),qM=[],_h;try{_h=require("node:crypto");let t=["sha256","sha384","sha512"];qM=_h.getHashes().filter(e=>t.includes(e))}catch{}function GM(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(GM,"responseURL");function Ate(t,e){if(!ete.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&zM(r)&&(HM(r)||(r=dte(r)),r=new URL(r,GM(t))),r&&!r.hash&&(r.hash=e),r}o(Ate,"responseLocationURL");function HM(t){for(let e=0;e126||r<32)return!1}return!0}o(HM,"isValidEncodedURL");function dte(t){return Buffer.from(t,"binary").toString("utf8")}o(dte,"normalizeBinaryStringToUtf8");function MA(t){return t.urlList[t.urlList.length-1]}o(MA,"requestCurrentURL");function pte(t){let e=MA(t);return WM(e)&&rte.has(e.port)?"blocked":"allowed"}o(pte,"requestBadPort");function mte(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(mte,"isErrorLike");function hte(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(hte,"isValidReasonPhrase");var fte=UM;function zM(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` `)||t.includes("\r")||t.includes("\0"))===!1}o(zM,"isValidHeaderValue");function gte(t,e){let{headersList:r}=e,s=(r.get("referrer-policy",!0)??"").split(","),n="";if(s.length>0)for(let i=s.length;i!==0;i--){let a=s[i-1].trim();if(tte.has(a)){n=a;break}}n!==""&&(t.referrerPolicy=n)}o(gte,"setRequestReferrerPolicyOnRedirect");function Ete(){return"allowed"}o(Ete,"crossOriginResourcePolicyCheck");function yte(){return"success"}o(yte,"corsCheck");function Cte(){return"success"}o(Cte,"TAOCheck");function Ite(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(Ite,"appendFetchMetadata");function Bte(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&&Ww(t.origin)&&!Ww(MA(t))&&(e=null);break;case"same-origin":Lh(t,MA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(Bte,"appendRequestOriginHeader");function cl(t,e){return t}o(cl,"coarsenTime");function wte(t,e,r){return!t?.startTime||t.startTime4096&&(s=n);let i=Lh(t,s),a=LA(s)&&!LA(t.url);switch(e){case"origin":return n??Jw(r,!0);case"unsafe-url":return s;case"same-origin":return i?n:"no-referrer";case"origin-when-cross-origin":return i?s:n;case"strict-origin-when-cross-origin":{let c=MA(t);return Lh(s,c)?s:LA(s)&&!LA(c)?"no-referrer":n}default:return a?"no-referrer":n}}o(Nte,"determineRequestsReferrer");function Jw(t,e){return Na(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(Jw,"stripURLForReferrer");function LA(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let s=new URL(r);return!!(s.protocol==="https:"||s.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(s.hostname)||s.hostname==="localhost"||s.hostname.includes("localhost.")||s.hostname.endsWith(".localhost"))}}o(LA,"isURLPotentiallyTrustworthy");function Ste(t,e){if(_h===void 0)return!0;let r=VM(e);if(r==="no metadata"||r.length===0)return!0;let s=Tte(r),n=vte(r,s);for(let i of n){let a=i.algo,c=i.hash,l=_h.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)),Pte(l,c))return!0}return!1}o(Ste,"bytesMatch");var Rte=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function VM(t){let e=[],r=!0;for(let s of t.split(" ")){r=!1;let n=Rte.exec(s);if(n===null||n.groups===void 0||n.groups.algo===void 0)continue;let i=n.groups.algo.toLowerCase();qM.includes(i)&&e.push(n.groups)}return r===!0?"no metadata":e}o(VM,"parseMetadata");function Tte(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r{t=s,e=n}),resolve:t,reject:e}}o(Dte,"createDeferredPromise");function _te(t){return t.controller.state==="aborted"}o(_te,"isAborted");function Lte(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(Lte,"isCancelled");function Mte(t){return lte[t.toLowerCase()]??t}o(Mte,"normalizeMethod");function Ote(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Na(typeof e=="string"),e}o(Ote,"serializeJavascriptValueToJSONString");var Fte=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function YM(t,e,r=0,s=1){class n{static{o(this,"FastIterableIterator")}#e;#t;#s;constructor(a,c){this.#e=a,this.#t=c,this.#s=0}next(){if(typeof this!="object"||this===null||!(#e in this))throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`);let a=this.#s,c=this.#e[e],l=c.length;if(a>=l)return{value:void 0,done:!0};let{[r]:u,[s]:A}=c[a];this.#s=a+1;let d;switch(this.#t){case"key":d=u;break;case"value":d=A;break;case"key+value":d=[u,A];break}return{value:d,done:!1}}}return delete n.prototype.constructor,Object.setPrototypeOf(n.prototype,Fte),Object.defineProperties(n.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(i,a){return new n(i,a)}}o(YM,"createIterator");function Ute(t,e,r,s=0,n=1){let i=YM(t,r,s,n),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return _A.brandCheck(this,e),i(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return _A.brandCheck(this,e),i(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return _A.brandCheck(this,e),i(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,u=globalThis){if(_A.brandCheck(this,e),_A.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof l!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:A,1:d}of i(this,"key+value"))l.call(u,d,A,this)},"forEach")}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}o(Ute,"iteratorMixin");async function qte(t,e,r){let s=e,n=r,i;try{i=t.stream.getReader()}catch(a){n(a);return}try{s(await JM(i))}catch(a){n(a)}}o(qte,"fullyReadBody");function Gte(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(Gte,"isReadableStreamLike");function Hte(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(Hte,"readableStreamClose");var zte=/[^\x00-\xFF]/;function Dh(t){return Na(!zte.test(t)),t}o(Dh,"isomorphicEncode");async function JM(t){let e=[],r=0;for(;;){let{done:s,value:n}=await t.read();if(s)return Buffer.concat(e,r);if(!ute(n))throw new TypeError("Received non-Uint8Array chunk");e.push(n),r+=n.length}}o(JM,"readAllBytes");function $te(t){Na("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o($te,"urlIsLocal");function Ww(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(Ww,"urlHasHttpsScheme");function WM(t){Na("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(WM,"urlIsHttpHttpsScheme");function Vte(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let s={position:5};if(e&&Qa(l=>l===" "||l===" ",r,s),r.charCodeAt(s.position)!==61)return"failure";s.position++,e&&Qa(l=>l===" "||l===" ",r,s);let n=Qa(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,s),i=n.length?Number(n):null;if(e&&Qa(l=>l===" "||l===" ",r,s),r.charCodeAt(s.position)!==45)return"failure";s.position++,e&&Qa(l=>l===" "||l===" ",r,s);let a=Qa(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,s),c=a.length?Number(a):null;return s.positionc?"failure":{rangeStartValue:i,rangeEndValue:c}}o(Vte,"simpleRangeHeaderValue");function Yte(t,e,r){let s="bytes ";return s+=Dh(`${t}`),s+="-",s+=Dh(`${e}`),s+="/",s+=Dh(`${r}`),s}o(Yte,"buildContentRange");var jw=class extends Zee{static{o(this,"InflateStream")}#e;constructor(e){super(),this.#e=e}_transform(e,r,s){if(!this._inflateStream){if(e.length===0){s();return}this._inflateStream=(e[0]&15)===8?OM.createInflate(this.#e):OM.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",n=>this.destroy(n))}this._inflateStream.write(e,r,s)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function Jte(t){return new jw(t)}o(Jte,"createInflate");function Wte(t){let e=null,r=null,s=null,n=jM("content-type",t);if(n===null)return"failure";for(let i of n){let a=ite(i);a==="failure"||a.essence==="*/*"||(s=a,s.essence!==r?(e=null,s.parameters.has("charset")&&(e=s.parameters.get("charset")),r=s.essence):!s.parameters.has("charset")&&e!==null&&s.parameters.set("charset",e))}return s??"failure"}o(Wte,"extractMimeType");function jte(t){let e=t,r={position:0},s=[],n="";for(;r.positioni!=='"'&&i!==",",e,r),r.positioni===9||i===32),s.push(n),n=""}return s}o(jte,"gettingDecodingSplitting");function jM(t,e){let r=e.get(t,!0);return r===null?null:jte(r)}o(jM,"getDecodeSplit");var Kte=new TextDecoder;function Xte(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),Kte.decode(t))}o(Xte,"utf8DecodeBytes");var Kw=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return FM()}get origin(){return this.baseUrl?.origin}policyContainer=$M()},Xw=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new Kw},Zte=new Xw;KM.exports={isAborted:_te,isCancelled:Lte,isValidEncodedURL:HM,createDeferredPromise:Dte,ReadableStreamFrom:cte,tryUpgradeRequestToAPotentiallyTrustworthyURL:kte,clampAndCoarsenConnectionTimingInfo:wte,coarsenedSharedCurrentTime:bte,determineRequestsReferrer:Nte,makePolicyContainer:$M,clonePolicyContainer:Qte,appendFetchMetadata:Ite,appendRequestOriginHeader:Bte,TAOCheck:Cte,corsCheck:yte,crossOriginResourcePolicyCheck:Ete,createOpaqueTimingInfo:xte,setRequestReferrerPolicyOnRedirect:gte,isValidHTTPToken:UM,requestBadPort:pte,requestCurrentURL:MA,responseURL:GM,responseLocationURL:Ate,isBlobLike:ate,isURLPotentiallyTrustworthy:LA,isValidReasonPhrase:hte,sameOrigin:Lh,normalizeMethod:Mte,serializeJavascriptValueToJSONString:Ote,iteratorMixin:Ute,createIterator:YM,isValidHeaderName:fte,isValidHeaderValue:zM,isErrorLike:mte,fullyReadBody:qte,bytesMatch:Ste,isReadableStreamLike:Gte,readableStreamClose:Hte,isomorphicEncode:Dh,urlIsLocal:$te,urlHasHttpsScheme:Ww,urlIsHttpHttpsScheme:WM,readAllBytes:JM,simpleRangeHeaderValue:Vte,buildContentRange:Yte,parseMetadata:VM,createInflate:Jte,extractMimeType:Wte,getDecodeSplit:jM,utf8DecodeBytes:Xte,environmentSettingsObject:Zte}});var Qo=g((WOe,XM)=>{"use strict";XM.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var eb=g((jOe,ZM)=>{"use strict";var{Blob:ere,File:tre}=require("node:buffer"),{kState:qi}=Qo(),{webidl:Mn}=jt(),Zw=class t{static{o(this,"FileLike")}constructor(e,r,s={}){let n=r,i=s.type,a=s.lastModified??Date.now();this[qi]={blobLike:e,name:n,type:i,lastModified:a}}stream(...e){return Mn.brandCheck(this,t),this[qi].blobLike.stream(...e)}arrayBuffer(...e){return Mn.brandCheck(this,t),this[qi].blobLike.arrayBuffer(...e)}slice(...e){return Mn.brandCheck(this,t),this[qi].blobLike.slice(...e)}text(...e){return Mn.brandCheck(this,t),this[qi].blobLike.text(...e)}get size(){return Mn.brandCheck(this,t),this[qi].blobLike.size}get type(){return Mn.brandCheck(this,t),this[qi].blobLike.type}get name(){return Mn.brandCheck(this,t),this[qi].name}get lastModified(){return Mn.brandCheck(this,t),this[qi].lastModified}get[Symbol.toStringTag](){return"File"}};Mn.converters.Blob=Mn.interfaceConverter(ere);function rre(t){return t instanceof tre||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(rre,"isFileLike");ZM.exports={FileLike:Zw,isFileLike:rre}});var FA=g((XOe,nO)=>{"use strict";var{isBlobLike:Mh,iteratorMixin:sre}=Xr(),{kState:dr}=Qo(),{kEnumerableProperty:ll}=de(),{FileLike:eO,isFileLike:nre}=eb(),{webidl:Le}=jt(),{File:sO}=require("node:buffer"),tO=require("node:util"),rO=globalThis.File??sO,OA=class t{static{o(this,"FormData")}constructor(e){if(Le.util.markAsUncloneable(this),e!==void 0)throw Le.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[dr]=[]}append(e,r,s=void 0){Le.brandCheck(this,t);let n="FormData.append";if(Le.argumentLengthCheck(arguments,2,n),arguments.length===3&&!Mh(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Le.converters.USVString(e,n,"name"),r=Mh(r)?Le.converters.Blob(r,n,"value",{strict:!1}):Le.converters.USVString(r,n,"value"),s=arguments.length===3?Le.converters.USVString(s,n,"filename"):void 0;let i=tb(e,r,s);this[dr].push(i)}delete(e){Le.brandCheck(this,t);let r="FormData.delete";Le.argumentLengthCheck(arguments,1,r),e=Le.converters.USVString(e,r,"name"),this[dr]=this[dr].filter(s=>s.name!==e)}get(e){Le.brandCheck(this,t);let r="FormData.get";Le.argumentLengthCheck(arguments,1,r),e=Le.converters.USVString(e,r,"name");let s=this[dr].findIndex(n=>n.name===e);return s===-1?null:this[dr][s].value}getAll(e){Le.brandCheck(this,t);let r="FormData.getAll";return Le.argumentLengthCheck(arguments,1,r),e=Le.converters.USVString(e,r,"name"),this[dr].filter(s=>s.name===e).map(s=>s.value)}has(e){Le.brandCheck(this,t);let r="FormData.has";return Le.argumentLengthCheck(arguments,1,r),e=Le.converters.USVString(e,r,"name"),this[dr].findIndex(s=>s.name===e)!==-1}set(e,r,s=void 0){Le.brandCheck(this,t);let n="FormData.set";if(Le.argumentLengthCheck(arguments,2,n),arguments.length===3&&!Mh(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Le.converters.USVString(e,n,"name"),r=Mh(r)?Le.converters.Blob(r,n,"name",{strict:!1}):Le.converters.USVString(r,n,"name"),s=arguments.length===3?Le.converters.USVString(s,n,"name"):void 0;let i=tb(e,r,s),a=this[dr].findIndex(c=>c.name===e);a!==-1?this[dr]=[...this[dr].slice(0,a),i,...this[dr].slice(a+1).filter(c=>c.name!==e)]:this[dr].push(i)}[tO.inspect.custom](e,r){let s=this[dr].reduce((i,a)=>(i[a.name]?Array.isArray(i[a.name])?i[a.name].push(a.value):i[a.name]=[i[a.name],a.value]:i[a.name]=a.value,i),{__proto__:null});r.depth??=e,r.colors??=!0;let n=tO.formatWithOptions(r,s);return`FormData ${n.slice(n.indexOf("]")+2)}`}};sre("FormData",OA,dr,"name","value");Object.defineProperties(OA.prototype,{append:ll,delete:ll,get:ll,getAll:ll,has:ll,set:ll,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function tb(t,e,r){if(typeof e!="string"){if(nre(e)||(e=e instanceof Blob?new rO([e],"blob",{type:e.type}):new eO(e,"blob",{type:e.type})),r!==void 0){let s={type:e.type,lastModified:e.lastModified};e=e instanceof sO?new rO([e],r,s):new eO(e,r,s)}}return{name:t,value:e}}o(tb,"makeEntry");nO.exports={FormData:OA,makeEntry:tb}});var uO=g((eFe,lO)=>{"use strict";var{isUSVString:iO,bufferToLowerCasedHeaderName:ire}=de(),{utf8DecodeBytes:ore}=Xr(),{HTTP_TOKEN_CODEPOINTS:are,isomorphicDecode:oO}=vr(),{isFileLike:cre}=eb(),{makeEntry:lre}=FA(),Oh=require("node:assert"),{File:ure}=require("node:buffer"),Are=globalThis.File??ure,dre=Buffer.from('form-data; name="'),aO=Buffer.from("; filename"),pre=Buffer.from("--"),mre=Buffer.from(`--\r `);function hre(t){for(let e=0;e70)return!1;for(let r=0;r=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||s===39||s===45||s===95))return!1}return!0}o(fre,"validateBoundary");function gre(t,e){Oh(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let s=Buffer.from(`--${r}`,"utf8"),n=[],i={position:0};for(;t[i.position]===13&&t[i.position+1]===10;)i.position+=2;let a=t.length;for(;t[a-1]===10&&t[a-2]===13;)a-=2;for(a!==t.length&&(t=t.subarray(0,a));;){if(t.subarray(i.position,i.position+s.length).equals(s))i.position+=s.length;else return"failure";if(i.position===t.length-2&&Fh(t,pre,i)||i.position===t.length-4&&Fh(t,mre,i))return n;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=Ere(t,i);if(c==="failure")return"failure";let{name:l,filename:u,contentType:A,encoding:d}=c;i.position+=2;let p;{let h=t.indexOf(s.subarray(2),i.position);if(h===-1)return"failure";p=t.subarray(i.position,h-4),i.position+=p.length,d==="base64"&&(p=Buffer.from(p.toString(),"base64"))}if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let m;u!==null?(A??="text/plain",hre(A)||(A=""),m=new Are([p],u,{type:A})):m=ore(Buffer.from(p)),Oh(iO(l)),Oh(typeof m=="string"&&iO(m)||cre(m)),n.push(lre(l,m,u))}}o(gre,"multipartFormDataParser");function Ere(t,e){let r=null,s=null,n=null,i=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:s,contentType:n,encoding:i};let a=ul(c=>c!==10&&c!==13&&c!==58,t,e);if(a=rb(a,!0,!0,c=>c===9||c===32),!are.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,ul(c=>c===32||c===9,t,e),ire(a)){case"content-disposition":{if(r=s=null,!Fh(t,dre,e)||(e.position+=17,r=cO(t,e),r===null))return"failure";if(Fh(t,aO,e)){let c=e.position+aO.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,s=cO(t,e),s===null))return"failure"}break}case"content-type":{let c=ul(l=>l!==10&&l!==13,t,e);c=rb(c,!1,!0,l=>l===9||l===32),n=oO(c);break}case"content-transfer-encoding":{let c=ul(l=>l!==10&&l!==13,t,e);c=rb(c,!1,!0,l=>l===9||l===32),i=oO(c);break}default:ul(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(Ere,"parseMultipartFormDataHeaders");function cO(t,e){Oh(t[e.position-1]===34);let r=ul(s=>s!==10&&s!==13&&s!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,` `).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}o(cO,"parseMultipartFormDataName");function ul(t,e,r){let s=r.position;for(;s0&&s(t[i]);)i--;return n===0&&i===t.length-1?t:t.subarray(n,i+1)}o(rb,"removeChars");function Fh(t,e,r){if(t.length{"use strict";var UA=de(),{ReadableStreamFrom:yre,isBlobLike:AO,isReadableStreamLike:Cre,readableStreamClose:Ire,createDeferredPromise:Bre,fullyReadBody:wre,extractMimeType:bre,utf8DecodeBytes:mO}=Xr(),{FormData:dO}=FA(),{kState:dl}=Qo(),{webidl:xre}=jt(),{Blob:Qre}=require("node:buffer"),sb=require("node:assert"),{isErrored:hO,isDisturbed:Nre}=require("node:stream"),{isArrayBuffer:Sre}=require("node:util/types"),{serializeAMimeType:Rre}=vr(),{multipartFormDataParser:Tre}=uO(),nb;try{let t=require("node:crypto");nb=o(e=>t.randomInt(0,e),"random")}catch{nb=o(t=>Math.floor(Math.random(t)),"random")}var Uh=new TextEncoder;function vre(){}o(vre,"noop");var fO=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,gO;fO&&(gO=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!Nre(e)&&!hO(e)&&e.cancel("Response object has been garbage collected").catch(vre)}));function EO(t,e=!1){let r=null;t instanceof ReadableStream?r=t:AO(t)?r=t.stream():r=new ReadableStream({async pull(l){let u=typeof n=="string"?Uh.encode(n):n;u.byteLength&&l.enqueue(u),queueMicrotask(()=>Ire(l))},start(){},type:"bytes"}),sb(Cre(r));let s=null,n=null,i=null,a=null;if(typeof t=="string")n=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)n=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(Sre(t))n=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))n=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(UA.isFormDataLike(t)){let l=`----formdata-undici-0${`${nb(1e11)}`.padStart(11,"0")}`,u=`--${l}\r Content-Disposition: form-data`;let A=o(C=>C.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),d=o(C=>C.replace(/\r?\n|\r/g,`\r `),"normalizeLinefeeds"),p=[],m=new Uint8Array([13,10]);i=0;let h=!1;for(let[C,E]of t)if(typeof E=="string"){let y=Uh.encode(u+`; name="${A(d(C))}"\r \r ${d(E)}\r `);p.push(y),i+=y.byteLength}else{let y=Uh.encode(`${u}; name="${A(d(C))}"`+(E.name?`; filename="${A(E.name)}"`:"")+`\r Content-Type: ${E.type||"application/octet-stream"}\r \r `);p.push(y,E,m),typeof E.size=="number"?i+=y.byteLength+E.size+m.byteLength:h=!0}let f=Uh.encode(`--${l}--\r `);p.push(f),i+=f.byteLength,h&&(i=null),n=t,s=o(async function*(){for(let C of p)C.stream?yield*C.stream():yield C},"action"),a=`multipart/form-data; boundary=${l}`}else if(AO(t))n=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(UA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:yre(t)}if((typeof n=="string"||UA.isBuffer(n))&&(i=Buffer.byteLength(n)),s!=null){let l;r=new ReadableStream({async start(){l=s(t)[Symbol.asyncIterator]()},async pull(u){let{value:A,done:d}=await l.next();if(d)queueMicrotask(()=>{u.close(),u.byobRequest?.respond(0)});else if(!hO(r)){let p=new Uint8Array(A);p.byteLength&&u.enqueue(p)}return u.desiredSize>0},async cancel(u){await l.return()},type:"bytes"})}return[{stream:r,source:n,length:i},a]}o(EO,"extractBody");function Pre(t,e=!1){return t instanceof ReadableStream&&(sb(!UA.isDisturbed(t),"The body has already been consumed."),sb(!t.locked,"The stream is locked.")),EO(t,e)}o(Pre,"safelyExtractBody");function kre(t,e){let[r,s]=e.stream.tee();return e.stream=r,{stream:s,length:e.length,source:e.source}}o(kre,"cloneBody");function Dre(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(Dre,"throwIfAborted");function _re(t){return{blob(){return Al(this,r=>{let s=pO(this);return s===null?s="":s&&(s=Rre(s)),new Qre([r],{type:s})},t)},arrayBuffer(){return Al(this,r=>new Uint8Array(r).buffer,t)},text(){return Al(this,mO,t)},json(){return Al(this,Mre,t)},formData(){return Al(this,r=>{let s=pO(this);if(s!==null)switch(s.essence){case"multipart/form-data":{let n=Tre(r,s);if(n==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new dO;return i[dl]=n,i}case"application/x-www-form-urlencoded":{let n=new URLSearchParams(r.toString()),i=new dO;for(let[a,c]of n)i.append(a,c);return i}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return Al(this,r=>new Uint8Array(r),t)}}}o(_re,"bodyMixinMethods");function Lre(t){Object.assign(t.prototype,_re(t))}o(Lre,"mixinBody");async function Al(t,e,r){if(xre.brandCheck(t,r),yO(t))throw new TypeError("Body is unusable: Body has already been read");Dre(t[dl]);let s=Bre(),n=o(a=>s.reject(a),"errorSteps"),i=o(a=>{try{s.resolve(e(a))}catch(c){n(c)}},"successSteps");return t[dl].body==null?(i(Buffer.allocUnsafe(0)),s.promise):(await wre(t[dl].body,i,n),s.promise)}o(Al,"consumeBody");function yO(t){let e=t[dl].body;return e!=null&&(e.stream.locked||UA.isDisturbed(e.stream))}o(yO,"bodyUnusable");function Mre(t){return JSON.parse(mO(t))}o(Mre,"parseJSONFromBytes");function pO(t){let e=t[dl].headersList,r=bre(e);return r==="failure"?null:r}o(pO,"bodyMimeType");CO.exports={extractBody:EO,safelyExtractBody:Pre,cloneBody:kre,mixinBody:Lre,streamRegistry:gO,hasFinalizationRegistry:fO,bodyUnusable:yO}});var LO=g((nFe,_O)=>{"use strict";var W=require("node:assert"),X=de(),{channels:IO}=el(),ib=Uw(),{RequestContentLengthMismatchError:Sa,ResponseContentLengthMismatchError:BO,RequestAbortedError:TO,InvalidArgumentError:Ore,HeadersTimeoutError:Fre,HeadersOverflowError:Ure,SocketError:ml,InformationalError:hl,BodyTimeoutError:qre,HTTPParserError:Gre,ResponseExceededMaxSizeError:Hre}=Be(),{kUrl:vO,kReset:Pr,kClient:zh,kParser:Fe,kBlocking:HA,kRunning:xt,kPending:PO,kSize:wO,kWriting:No,kQueue:an,kNoRef:qA,kKeepAliveDefaultTimeout:zre,kHostHeader:$re,kPendingIdx:Vre,kRunningIdx:xs,kError:pr,kPipelining:$h,kSocket:Ra,kKeepAliveTimeoutValue:Yh,kMaxHeadersSize:ob,kKeepAliveMaxTimeout:Yre,kKeepAliveTimeoutThreshold:Jre,kHeadersTimeout:Wre,kBodyTimeout:jre,kStrictContentLength:lb,kMaxRequests:bO,kCounter:Kre,kMaxResponseSize:Xre,kOnError:xO,kResume:Gi,kHTTPContext:kO}=$e(),Zr=gM(),QO=Buffer.alloc(0),qh=Buffer[Symbol.species],Gh=X.addListener,Zre=X.removeAllListeners,Ta=Symbol("kIdleSocketValidation"),fl=Symbol("kIdleSocketValidationTimeout"),pb=Symbol("kSocketUsed"),ab;async function ese(){let t=process.env.JEST_WORKER_ID?Hw():void 0,e;try{e=await WebAssembly.compile(CM())}catch{e=await WebAssembly.compile(t||Hw())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:o((r,s,n)=>0,"wasm_on_url"),wasm_on_status:o((r,s,n)=>{W(tt.ptr===r);let i=s-Fn+On.byteOffset;return tt.onStatus(new qh(On.buffer,i,n))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(W(tt.ptr===r),tt.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,s,n)=>{W(tt.ptr===r);let i=s-Fn+On.byteOffset;return tt.onHeaderField(new qh(On.buffer,i,n))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,s,n)=>{W(tt.ptr===r);let i=s-Fn+On.byteOffset;return tt.onHeaderValue(new qh(On.buffer,i,n))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,s,n,i)=>(W(tt.ptr===r),tt.onHeadersComplete(s,!!n,!!i)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,s,n)=>{W(tt.ptr===r);let i=s-Fn+On.byteOffset;return tt.onBody(new qh(On.buffer,i,n))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(W(tt.ptr===r),tt.onMessageComplete()||0),"wasm_on_message_complete")}})}o(ese,"lazyllhttp");var cb=null,ub=ese();ub.catch();var tt=null,On=null,Hh=0,Fn=null,tse=0,GA=1,gl=2|GA,Vh=4|GA,Ab=8|tse,db=class{static{o(this,"Parser")}constructor(e,r,{exports:s}){W(Number.isFinite(e[ob])&&e[ob]>0),this.llhttp=s,this.ptr=this.llhttp.llhttp_alloc(Zr.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[ob],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[Xre]}setTimeout(e,r){e!==this.timeoutValue||r&GA^this.timeoutType&GA?(this.timeout&&(ib.clearTimeout(this.timeout),this.timeout=null),e&&(r&GA?this.timeout=ib.setFastTimeout(NO,e,new WeakRef(this)):(this.timeout=setTimeout(NO,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||(W(this.ptr!=null),W(tt==null),this.llhttp.llhttp_resume(this.ptr),W(this.timeoutType===Vh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||QO),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){W(this.ptr!=null),W(tt==null),W(!this.paused);let{socket:r,llhttp:s}=this;e.length>Hh&&(Fn&&s.free(Fn),Hh=Math.ceil(e.length/4096)*4096,Fn=s.malloc(Hh)),new Uint8Array(s.memory.buffer,Fn,Hh).set(e);try{let n;try{On=e,tt=this,n=s.llhttp_execute(this.ptr,Fn,e.length)}catch(a){throw a}finally{tt=null,On=null}let i=s.llhttp_get_error_pos(this.ptr)-Fn;if(n!==Zr.ERROR.OK){let a=e.subarray(i);if(n===Zr.ERROR.PAUSED_UPGRADE)this.onUpgrade(a);else if(n===Zr.ERROR.PAUSED)this.paused=!0,r.unshift(a);else throw this.createError(n,a)}}catch(n){X.destroy(r,n)}}finish(){W(tt===null),W(this.ptr!=null),W(!this.paused);let{llhttp:e}=this,r;try{tt=this,r=e.llhttp_finish(this.ptr)}finally{tt=null}return r===Zr.ERROR.OK?null:r===Zr.ERROR.PAUSED||r===Zr.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,QO)}createError(e,r){let{llhttp:s,contentLength:n,bytesRead:i}=this;if(n&&i!==parseInt(n,10))return new BO;let a=s.llhttp_get_error_reason(this.ptr),c="";if(a){let l=new Uint8Array(s.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(s.memory.buffer,a,l).toString()+")"}return new Gre(c,Zr.ERROR[e],r)}destroy(){W(this.ptr!=null),W(tt==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&ib.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[xt]===0)return X.destroy(e,new ml("bad response",X.getSocketInfo(e))),-1;let s=r[an][r[xs]];if(!s)return-1;s.onResponseStarted()}onHeaderField(e){let r=this.headers.length;(r&1)===0?this.headers.push(e):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]),this.trackHeader(e.length)}onHeaderValue(e){let r=this.headers.length;(r&1)===1?(this.headers.push(e),r+=1):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]);let s=this.headers[r-2];if(s.length===10){let n=X.bufferToLowerCasedHeaderName(s);n==="keep-alive"?this.keepAlive+=e.toString():n==="connection"&&(this.connection+=e.toString())}else s.length===14&&X.bufferToLowerCasedHeaderName(s)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&X.destroy(this.socket,new Ure)}onUpgrade(e){let{upgrade:r,client:s,socket:n,headers:i,statusCode:a}=this;W(r),W(s[Ra]===n),W(!n.destroyed),W(!this.paused),W((i.length&1)===0);let c=s[an][s[xs]];W(c),W(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,n.unshift(e),n[Fe].destroy(),n[Fe]=null,n[zh]=null,n[pr]=null,Zre(n),s[Ra]=null,s[kO]=null,s[an][s[xs]++]=null,s.emit("disconnect",s[vO],[s],new hl("upgrade"));try{c.onUpgrade(a,i,n)}catch(l){X.destroy(n,l)}s[Gi]()}onHeadersComplete(e,r,s){let{client:n,socket:i,headers:a,statusText:c}=this;if(i.destroyed)return-1;if(n[xt]===0)return X.destroy(i,new ml("bad response",X.getSocketInfo(i))),-1;let l=n[an][n[xs]];if(!l)return-1;if(W(!this.upgrade),W(this.statusCode<200),e===100)return X.destroy(i,new ml("bad response",X.getSocketInfo(i))),-1;if(r&&!l.upgrade)return X.destroy(i,new ml("bad upgrade",X.getSocketInfo(i))),-1;if(W(this.timeoutType===gl),this.statusCode=e,this.shouldKeepAlive=s||l.method==="HEAD"&&!i[Pr]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let A=l.bodyTimeout!=null?l.bodyTimeout:n[jre];this.setTimeout(A,Vh)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return W(n[xt]===1),this.upgrade=!0,2;if(r)return W(n[xt]===1),this.upgrade=!0,2;if(W((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&n[$h]){let A=this.keepAlive?X.parseKeepAliveTimeout(this.keepAlive):null;if(A!=null){let d=Math.min(A-n[Jre],n[Yre]);d<=0?i[Pr]=!0:n[Yh]=d}else n[Yh]=n[zre]}else i[Pr]=!0;let u=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(i[HA]&&(i[HA]=!1,n[Gi]()),u?Zr.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:s,statusCode:n,maxResponseSize:i}=this;if(s.destroyed)return-1;let a=r[an][r[xs]];if(W(a),W(this.timeoutType===Vh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),W(n>=200),i>-1&&this.bytesRead+e.length>i)return X.destroy(s,new Hre),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return Zr.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:s,upgrade:n,headers:i,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!s||l))return-1;if(n)return;W(s>=100),W((this.headers.length&1)===0);let u=e[an][e[xs]];if(W(u),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(s<200)){if(u.method!=="HEAD"&&a&&c!==parseInt(a,10))return X.destroy(r,new BO),-1;if(u.onComplete(i),e[an][e[xs]++]=null,r[pb]=!0,r[No])return W(e[xt]===0),X.destroy(r,new hl("reset")),Zr.ERROR.PAUSED;if(l){if(r[Pr]&&e[xt]===0)return X.destroy(r,new hl("reset")),Zr.ERROR.PAUSED;e[$h]==null||e[$h]===1?setImmediate(()=>e[Gi]()):e[Gi]()}else return X.destroy(r,new hl("reset")),Zr.ERROR.PAUSED}}};function NO(t){let{socket:e,timeoutType:r,client:s,paused:n}=t.deref();r===gl?(!e[No]||e.writableNeedDrain||s[xt]>1)&&(W(!n,"cannot be paused while waiting for headers"),X.destroy(e,new Fre)):r===Vh?n||X.destroy(e,new qre):r===Ab&&(W(s[xt]===0&&s[Yh]),X.destroy(e,new hl("socket idle timeout")))}o(NO,"onParserTimeout");async function rse(t,e){t[Ra]=e,cb||(cb=await ub,ub=null),e[qA]=!1,e[No]=!1,e[Pr]=!1,e[HA]=!1,e[Ta]=0,e[fl]=null,e[pb]=!1,e[Fe]=new db(t,e,cb),Gh(e,"error",function(s){W(s.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let n=this[Fe];if(s.code==="ECONNRESET"&&n.statusCode&&!n.shouldKeepAlive){let i=n.finish();i&&(this[pr]=i,this[zh][xO](i));return}this[pr]=s,this[zh][xO](s)}),Gh(e,"readable",function(){let s=this[Fe];s&&s.readMore()}),Gh(e,"end",function(){let s=this[Fe];if(s.statusCode&&!s.shouldKeepAlive){let n=s.finish();n&&X.destroy(this,n);return}X.destroy(this,new ml("other side closed",X.getSocketInfo(this)))}),Gh(e,"close",function(){let s=this[zh],n=this[Fe];DO(this),n&&(!this[pr]&&n.statusCode&&!n.shouldKeepAlive&&(this[pr]=n.finish()||this[pr]),this[Fe].destroy(),this[Fe]=null);let i=this[pr]||new ml("closed",X.getSocketInfo(this));if(s[Ra]=null,s[kO]=null,s.destroyed){W(s[PO]===0);let a=s[an].splice(s[xs]);for(let c=0;c0&&i.code!=="UND_ERR_INFO"){let a=s[an][s[xs]];s[an][s[xs]++]=null,X.errorRequest(s,a,i)}s[Vre]=s[xs],W(s[xt]===0),s.emit("disconnect",s[vO],[s],i),s[Gi]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...s){return ose(t,...s)},resume(){nse(t)},destroy(s,n){r?queueMicrotask(n):e.destroy(s).on("close",n)},get destroyed(){return e.destroyed},busy(s){return!!(e[No]||e[Pr]||e[HA]||e[Ta]===1||s&&(t[xt]>0&&!s.idempotent||t[xt]>0&&(s.upgrade||s.method==="CONNECT")||t[xt]>0&&X.bodyLength(s.body)!==0&&(X.isStream(s.body)||X.isAsyncIterable(s.body)||X.isFormDataLike(s.body))))}}}o(rse,"connectH1");function DO(t){t[fl]&&(clearImmediate(t[fl]),t[fl]=null),t[Ta]=0}o(DO,"clearIdleSocketValidation");function sse(t,e){e[Ta]=1,e[fl]=setImmediate(()=>{e[fl]=null,e[Ta]=2,t[Ra]===e&&!e.destroyed&&t[Gi]()})}o(sse,"scheduleIdleSocketValidation");function nse(t){let e=t[Ra];if(e&&!e.destroyed){if(t[wO]===0?!e[qA]&&e.unref&&(e.unref(),e[qA]=!0):e[qA]&&e.ref&&(e.ref(),e[qA]=!1),t[xt]===0&&t[PO]>0&&e[pb]){if(e[Ta]===0)return sse(t,e),e[Fe].readMore(),e.destroyed,void 0;if(e[Ta]===1)return e[Fe].readMore(),e.destroyed,void 0}if(t[xt]===0&&(e[Fe].readMore(),e.destroyed))return;if(t[wO]===0)e[Fe].timeoutType!==Ab&&e[Fe].setTimeout(t[Yh],Ab);else if(t[xt]>0&&e[Fe].statusCode<200&&e[Fe].timeoutType!==gl){let r=t[an][t[xs]],s=r.headersTimeout!=null?r.headersTimeout:t[Wre];e[Fe].setTimeout(s,gl)}}}o(nse,"resumeH1");function ise(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(ise,"shouldSendContentLength");function ose(t,e){let{method:r,path:s,host:n,upgrade:i,blocking:a,reset:c}=e,{body:l,headers:u,contentLength:A}=e,d=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(X.isFormDataLike(l)){ab||(ab=pl().extractBody);let[C,E]=ab(l);e.contentType==null&&u.push("content-type",E),l=C.stream,A=C.length}else if(X.isBlobLike(l)&&e.contentType==null){let C=l.type;if(C){let E=`${C}`;if(!X.isValidHeaderValue(E))return X.errorRequest(t,e,new Ore("invalid content-type header")),!1;u.push("content-type",E)}}l&&typeof l.read=="function"&&l.read(0);let p=X.bodyLength(l);if(A=p??A,A===null&&(A=e.contentLength),A===0&&!d&&(A=null),ise(r)&&A>0&&e.contentLength!==null&&e.contentLength!==A){if(t[lb])return X.errorRequest(t,e,new Sa),!1;process.emitWarning(new Sa)}let m=t[Ra];DO(m);let h=o(C=>{e.aborted||e.completed||(X.errorRequest(t,e,C||new TO),X.destroy(l),X.destroy(m,new hl("aborted")))},"abort");try{e.onConnect(h)}catch(C){X.errorRequest(t,e,C)}if(e.aborted)return!1;r==="HEAD"&&(m[Pr]=!0),(i||r==="CONNECT")&&(m[Pr]=!0),c!=null&&(m[Pr]=c),t[bO]&&m[Kre]++>=t[bO]&&(m[Pr]=!0),a&&(m[HA]=!0);let f=`${r} ${s} HTTP/1.1\r `;if(typeof n=="string"?f+=`host: ${n}\r `:f+=t[$re],i?f+=`connection: upgrade\r upgrade: ${i}\r `:t[$h]&&!m[Pr]?f+=`connection: keep-alive\r `:f+=`connection: close\r `,Array.isArray(u))for(let C=0;C{e.removeListener("error",m)}),!l){let h=new TO;queueMicrotask(()=>m(h))}},"onClose"),m=o(function(h){if(!l){if(l=!0,W(n.destroyed||n[No]&&r[xt]<=1),n.off("drain",d).off("error",m),e.removeListener("data",A).removeListener("end",m).removeListener("close",p),!h)try{u.end()}catch(f){h=f}u.destroy(h),h&&(h.code!=="UND_ERR_INFO"||h.message!=="reset")?X.destroy(e,h):X.destroy(e)}},"onFinished");e.on("data",A).on("end",m).on("error",m).on("close",p),e.resume&&e.resume(),n.on("drain",d).on("error",m),e.errorEmitted??e.errored?setImmediate(()=>m(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>m(null)),(e.closeEmitted??e.closed)&&setImmediate(p)}o(ase,"writeStream");function SO(t,e,r,s,n,i,a,c){try{e?X.isBuffer(e)&&(W(i===e.byteLength,"buffer body must have content length"),n.cork(),n.write(`${a}content-length: ${i}\r \r `,"latin1"),n.write(e),n.uncork(),s.onBodySent(e),!c&&s.reset!==!1&&(n[Pr]=!0)):i===0?n.write(`${a}content-length: 0\r \r `,"latin1"):(W(i===null,"no body must not have content length"),n.write(`${a}\r `,"latin1")),s.onRequestSent(),r[Gi]()}catch(l){t(l)}}o(SO,"writeBuffer");async function cse(t,e,r,s,n,i,a,c){W(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new Sa;let l=Buffer.from(await e.arrayBuffer());n.cork(),n.write(`${a}content-length: ${i}\r \r `,"latin1"),n.write(l),n.uncork(),s.onBodySent(l),s.onRequestSent(),!c&&s.reset!==!1&&(n[Pr]=!0),r[Gi]()}catch(l){t(l)}}o(cse,"writeBlob");async function RO(t,e,r,s,n,i,a,c){W(i!==0||r[xt]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let p=l;l=null,p()}}o(u,"onDrain");let A=o(()=>new Promise((p,m)=>{W(l===null),n[pr]?m(n[pr]):l=p}),"waitForDrain");n.on("close",u).on("drain",u);let d=new Jh({abort:t,socket:n,request:s,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let p of e){if(n[pr])throw n[pr];d.write(p)||await A()}d.end()}catch(p){d.destroy(p)}finally{n.off("close",u).off("drain",u)}}o(RO,"writeIterable");var Jh=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:s,contentLength:n,client:i,expectsPayload:a,header:c}){this.socket=r,this.request=s,this.contentLength=n,this.client=i,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[No]=!0}write(e){let{socket:r,request:s,contentLength:n,client:i,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[pr])throw r[pr];if(r.destroyed)return!1;let u=Buffer.byteLength(e);if(!u)return!0;if(n!==null&&a+u>n){if(i[lb])throw new Sa;process.emitWarning(new Sa)}r.cork(),a===0&&(!c&&s.reset!==!1&&(r[Pr]=!0),n===null?r.write(`${l}transfer-encoding: chunked\r `,"latin1"):r.write(`${l}content-length: ${n}\r \r `,"latin1")),n===null&&r.write(`\r ${u.toString(16)}\r `,"latin1"),this.bytesWritten+=u;let A=r.write(e);return r.uncork(),s.onBodySent(e),A||r[Fe].timeout&&r[Fe].timeoutType===gl&&r[Fe].timeout.refresh&&r[Fe].timeout.refresh(),A}end(){let{socket:e,contentLength:r,client:s,bytesWritten:n,expectsPayload:i,header:a,request:c}=this;if(c.onRequestSent(),e[No]=!1,e[pr])throw e[pr];if(!e.destroyed){if(n===0?i?e.write(`${a}content-length: 0\r \r `,"latin1"):e.write(`${a}\r `,"latin1"):r===null&&e.write(`\r 0\r \r `,"latin1"),r!==null&&n!==r){if(s[lb])throw new Sa;process.emitWarning(new Sa)}e[Fe].timeout&&e[Fe].timeoutType===gl&&e[Fe].timeout.refresh&&e[Fe].timeout.refresh(),s[Gi]()}}destroy(e){let{socket:r,client:s,abort:n}=this;r[No]=!1,e&&(W(s[xt]<=1,"pipeline should only contain this request"),n(e))}};_O.exports=rse});var zO=g((oFe,HO)=>{"use strict";var Qs=require("node:assert"),{pipeline:lse}=require("node:stream"),ge=de(),{RequestContentLengthMismatchError:mb,RequestAbortedError:MO,SocketError:zA,InformationalError:hb}=Be(),{kUrl:Wh,kReset:Kh,kClient:El,kRunning:Xh,kPending:use,kQueue:So,kPendingIdx:fb,kRunningIdx:cn,kError:un,kSocket:Gt,kStrictContentLength:Ase,kOnError:gb,kMaxConcurrentStreams:GO,kHTTP2Session:ln,kResume:Ro,kSize:dse,kHTTPContext:pse}=$e(),Hi=Symbol("open streams"),OO,FO=!1,jh;try{jh=require("node:http2")}catch{jh={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:mse,HTTP2_HEADER_METHOD:hse,HTTP2_HEADER_PATH:fse,HTTP2_HEADER_SCHEME:gse,HTTP2_HEADER_CONTENT_LENGTH:Ese,HTTP2_HEADER_EXPECT:yse,HTTP2_HEADER_STATUS:Cse}}=jh;function Ise(t){let e=[];for(let[r,s]of Object.entries(t))if(Array.isArray(s))for(let n of s)e.push(Buffer.from(r),Buffer.from(n));else e.push(Buffer.from(r),Buffer.from(s));return e}o(Ise,"parseH2Headers");async function Bse(t,e){t[Gt]=e,FO||(FO=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=jh.connect(t[Wh],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[GO]});r[Hi]=0,r[El]=t,r[Gt]=e,ge.addListener(r,"error",bse),ge.addListener(r,"frameError",xse),ge.addListener(r,"end",Qse),ge.addListener(r,"goaway",Nse),ge.addListener(r,"close",function(){let{[El]:n}=this,{[Gt]:i}=n,a=this[Gt][un]||this[un]||new zA("closed",ge.getSocketInfo(i));if(n[ln]=null,n.destroyed){Qs(n[use]===0);let c=n[So].splice(n[cn]);for(let l=0;l{s=!0}),{version:"h2",defaultPipelining:1/0,write(...n){return Rse(t,...n)},resume(){wse(t)},destroy(n,i){s?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(Bse,"connectH2");function wse(t){let e=t[Gt];e?.destroyed===!1&&(t[dse]===0&&t[GO]===0?(e.unref(),t[ln].unref()):(e.ref(),t[ln].ref()))}o(wse,"resumeH2");function bse(t){Qs(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Gt][un]=t,this[El][gb](t)}o(bse,"onHttp2SessionError");function xse(t,e,r){if(r===0){let s=new hb(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[Gt][un]=s,this[El][gb](s)}}o(xse,"onHttp2FrameError");function Qse(){let t=new zA("other side closed",ge.getSocketInfo(this[Gt]));this.destroy(t),ge.destroy(this[Gt],t)}o(Qse,"onHttp2SessionEnd");function Nse(t){let e=this[un]||new zA(`HTTP/2: "GOAWAY" frame received with code ${t}`,ge.getSocketInfo(this)),r=this[El];if(r[Gt]=null,r[pse]=null,this[ln]!=null&&(this[ln].destroy(e),this[ln]=null),ge.destroy(this[Gt],e),r[cn]{e.aborted||e.completed||(B=B||new MO,ge.errorRequest(t,e,B),p!=null&&ge.destroy(p,B),ge.destroy(A,B),t[So][t[cn]++]=null,t[Ro]())},"abort");try{e.onConnect(f)}catch(B){ge.errorRequest(t,e,B)}if(e.aborted)return!1;if(s==="CONNECT")return r.ref(),p=r.request(d,{endStream:!1,signal:l}),p.id&&!p.pending?(e.onUpgrade(null,null,p),++r[Hi],t[So][t[cn]++]=null):p.once("ready",()=>{e.onUpgrade(null,null,p),++r[Hi],t[So][t[cn]++]=null}),p.once("close",()=>{r[Hi]-=1,r[Hi]===0&&r.unref()}),!0;d[fse]=n,d[gse]="https";let C=s==="PUT"||s==="POST"||s==="PATCH";A&&typeof A.read=="function"&&A.read(0);let E=ge.bodyLength(A);if(ge.isFormDataLike(A)){OO??=pl().extractBody;let[B,S]=OO(A);d["content-type"]=S,A=B.stream,E=B.length}if(E==null&&(E=e.contentLength),(E===0||!C)&&(E=null),Sse(s)&&E>0&&e.contentLength!=null&&e.contentLength!==E){if(t[Ase])return ge.errorRequest(t,e,new mb),!1;process.emitWarning(new mb)}E!=null&&(Qs(A,"no body must not have content length"),d[Ese]=`${E}`),r.ref();let y=s==="GET"||s==="HEAD"||A===null;return c?(d[yse]="100-continue",p=r.request(d,{endStream:y,signal:l}),p.once("continue",I)):(p=r.request(d,{endStream:y,signal:l}),I()),++r[Hi],p.once("response",B=>{let{[Cse]:S,...R}=B;if(e.onResponseStarted(),e.aborted){let q=new MO;ge.errorRequest(t,e,q),ge.destroy(p,q);return}e.onHeaders(Number(S),Ise(R),p.resume.bind(p),"")===!1&&p.pause(),p.on("data",q=>{e.onData(q)===!1&&p.pause()})}),p.once("end",()=>{(p.state?.state==null||p.state.state<6)&&e.onComplete([]),r[Hi]===0&&r.unref(),f(new hb("HTTP/2: stream half-closed (remote)")),t[So][t[cn]++]=null,t[fb]=t[cn],t[Ro]()}),p.once("close",()=>{r[Hi]-=1,r[Hi]===0&&r.unref()}),p.once("error",function(B){f(B)}),p.once("frameError",(B,S)=>{f(new hb(`HTTP/2: "frameError" received - type ${B}, code ${S}`))}),!0;function I(){!A||E===0?UO(f,p,null,t,e,t[Gt],E,C):ge.isBuffer(A)?UO(f,p,A,t,e,t[Gt],E,C):ge.isBlobLike(A)?typeof A.stream=="function"?qO(f,p,A.stream(),t,e,t[Gt],E,C):vse(f,p,A,t,e,t[Gt],E,C):ge.isStream(A)?Tse(f,t[Gt],C,p,A,t,e,E):ge.isIterable(A)?qO(f,p,A,t,e,t[Gt],E,C):Qs(!1)}o(I,"writeBodyH2")}o(Rse,"writeH2");function UO(t,e,r,s,n,i,a,c){try{r!=null&&ge.isBuffer(r)&&(Qs(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),n.onBodySent(r)),c||(i[Kh]=!0),n.onRequestSent(),s[Ro]()}catch(l){t(l)}}o(UO,"writeBuffer");function Tse(t,e,r,s,n,i,a,c){Qs(c!==0||i[Xh]===0,"stream body cannot be pipelined");let l=lse(n,s,A=>{A?(ge.destroy(l,A),t(A)):(ge.removeAllListeners(l),a.onRequestSent(),r||(e[Kh]=!0),i[Ro]())});ge.addListener(l,"data",u);function u(A){a.onBodySent(A)}o(u,"onPipeData")}o(Tse,"writeStream");async function vse(t,e,r,s,n,i,a,c){Qs(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new mb;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),n.onBodySent(l),n.onRequestSent(),c||(i[Kh]=!0),s[Ro]()}catch(l){t(l)}}o(vse,"writeBlob");async function qO(t,e,r,s,n,i,a,c){Qs(a!==0||s[Xh]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let d=l;l=null,d()}}o(u,"onDrain");let A=o(()=>new Promise((d,p)=>{Qs(l===null),i[un]?p(i[un]):l=d}),"waitForDrain");e.on("close",u).on("drain",u);try{for await(let d of r){if(i[un])throw i[un];let p=e.write(d);n.onBodySent(d),p||await A()}e.end(),n.onRequestSent(),c||(i[Kh]=!0),s[Ro]()}catch(d){t(d)}finally{e.off("close",u).off("drain",u)}}o(qO,"writeIterable");HO.exports=Bse});var ef=g((cFe,YO)=>{"use strict";var Un=de(),{kBodyUsed:$A}=$e(),yb=require("node:assert"),{InvalidArgumentError:Pse}=Be(),kse=require("node:events"),Dse=[300,301,302,303,307,308],$O=Symbol("body"),Zh=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[$O]=e,this[$A]=!1}async*[Symbol.asyncIterator](){yb(!this[$A],"disturbed"),this[$A]=!0,yield*this[$O]}},Eb=class{static{o(this,"RedirectHandler")}constructor(e,r,s,n){if(r!=null&&(!Number.isInteger(r)||r<0))throw new Pse("maxRedirections must be a positive number");Un.validateHandler(n,s.method,s.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...s,maxRedirections:0},this.maxRedirections=r,this.handler=n,this.history=[],this.redirectionLimitReached=!1,Un.isStream(this.opts.body)?(Un.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){yb(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[$A]=!1,kse.prototype.on.call(this.opts.body,"data",function(){this[$A]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Zh(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&Un.isIterable(this.opts.body)&&(this.opts.body=new Zh(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,s){this.handler.onUpgrade(e,r,s)}onError(e){this.handler.onError(e)}onHeaders(e,r,s,n){if(this.location=this.history.length>=this.maxRedirections||Un.isDisturbed(this.opts.body)?null:_se(e,r),this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){this.request&&this.request.abort(new Error("max redirects")),this.redirectionLimitReached=!0,this.abort(new Error("max redirects"));return}if(this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(e,r,s,n);let{origin:i,pathname:a,search:c}=Un.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=Lse(this.opts.headers,e===303,this.opts.origin!==i),this.opts.path=l,this.opts.origin=i,this.opts.maxRedirections=0,this.opts.query=null,e===303&&this.opts.method!=="HEAD"&&(this.opts.method="GET",this.opts.body=null)}onData(e){if(!this.location)return this.handler.onData(e)}onComplete(e){this.location?(this.location=null,this.abort=null,this.dispatch(this.opts,this)):this.handler.onComplete(e)}onBodySent(e){this.handler.onBodySent&&this.handler.onBodySent(e)}};function _se(t,e){if(Dse.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var Mse=ef();function Ose({maxRedirections:t}){return e=>o(function(s,n){let{maxRedirections:i=t}=s;if(!i)return e(s,n);let a=new Mse(e,i,s,n);return s={...s,maxRedirections:0},e(s,a)},"Intercept")}o(Ose,"createRedirectInterceptor");JO.exports=Ose});var Il=g((dFe,nF)=>{"use strict";var zi=require("node:assert"),eF=require("node:net"),Fse=require("node:http"),va=de(),{channels:yl}=el(),Use=nM(),qse=nl(),{InvalidArgumentError:pt,InformationalError:Gse,ClientDestroyedError:Hse}=Be(),zse=PA(),{kUrl:qn,kServerName:To,kClient:$se,kBusy:Cb,kConnect:Vse,kResuming:Pa,kRunning:jA,kPending:KA,kSize:WA,kQueue:An,kConnected:Yse,kConnecting:Cl,kNeedDrain:Po,kKeepAliveDefaultTimeout:WO,kHostHeader:Jse,kPendingIdx:dn,kRunningIdx:$i,kError:Wse,kPipelining:rf,kKeepAliveTimeoutValue:jse,kMaxHeadersSize:Kse,kKeepAliveMaxTimeout:Xse,kKeepAliveTimeoutThreshold:Zse,kHeadersTimeout:ene,kBodyTimeout:tne,kStrictContentLength:rne,kConnector:VA,kMaxRedirections:sne,kMaxRequests:Ib,kCounter:nne,kClose:ine,kDestroy:one,kDispatch:ane,kInterceptors:jO,kLocalAddress:YA,kMaxResponseSize:cne,kOnError:lne,kHTTPContext:mt,kMaxConcurrentStreams:une,kResume:JA}=$e(),Ane=LO(),dne=zO(),KO=!1,vo=Symbol("kClosedResolve"),XO=o(()=>{},"noop");function tF(t){return t[rf]??t[mt]?.defaultPipelining??1}o(tF,"getPipelining");var Bb=class extends qse{static{o(this,"Client")}constructor(e,{interceptors:r,maxHeaderSize:s,headersTimeout:n,socketTimeout:i,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:u,keepAlive:A,keepAliveTimeout:d,maxKeepAliveTimeout:p,keepAliveMaxTimeout:m,keepAliveTimeoutThreshold:h,socketPath:f,pipelining:C,tls:E,strictContentLength:y,maxCachedSessions:I,maxRedirections:B,connect:S,maxRequestsPerClient:R,localAddress:q,maxResponseSize:we,autoSelectFamily:et,autoSelectFamilyAttemptTimeout:ke,maxConcurrentStreams:_e,allowH2:pe,webSocket:bt}={}){if(super({webSocket:bt}),A!==void 0)throw new pt("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new pt("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new pt("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(u!==void 0)throw new pt("unsupported idleTimeout, use keepAliveTimeout instead");if(p!==void 0)throw new pt("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(s!=null&&!Number.isFinite(s))throw new pt("invalid maxHeaderSize");if(f!=null&&typeof f!="string")throw new pt("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new pt("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new pt("invalid keepAliveTimeout");if(m!=null&&(!Number.isFinite(m)||m<=0))throw new pt("invalid keepAliveMaxTimeout");if(h!=null&&!Number.isFinite(h))throw new pt("invalid keepAliveTimeoutThreshold");if(n!=null&&(!Number.isInteger(n)||n<0))throw new pt("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new pt("bodyTimeout must be a positive integer or zero");if(S!=null&&typeof S!="function"&&typeof S!="object")throw new pt("connect must be a function or an object");if(B!=null&&(!Number.isInteger(B)||B<0))throw new pt("maxRedirections must be a positive number");if(R!=null&&(!Number.isInteger(R)||R<0))throw new pt("maxRequestsPerClient must be a positive number");if(q!=null&&(typeof q!="string"||eF.isIP(q)===0))throw new pt("localAddress must be valid string IP address");if(we!=null&&(!Number.isInteger(we)||we<-1))throw new pt("maxResponseSize must be a positive number");if(ke!=null&&(!Number.isInteger(ke)||ke<-1))throw new pt("autoSelectFamilyAttemptTimeout must be a positive number");if(pe!=null&&typeof pe!="boolean")throw new pt("allowH2 must be a valid boolean value");if(_e!=null&&(typeof _e!="number"||_e<1))throw new pt("maxConcurrentStreams must be a positive integer, greater than 0");typeof S!="function"&&(S=zse({...E,maxCachedSessions:I,allowH2:pe,socketPath:f,timeout:c,...et?{autoSelectFamily:et,autoSelectFamilyAttemptTimeout:ke}:void 0,...S})),r?.Client&&Array.isArray(r.Client)?(this[jO]=r.Client,KO||(KO=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[jO]=[pne({maxRedirections:B})],this[qn]=va.parseOrigin(e),this[VA]=S,this[rf]=C??1,this[Kse]=s||Fse.maxHeaderSize,this[WO]=d??4e3,this[Xse]=m??6e5,this[Zse]=h??2e3,this[jse]=this[WO],this[To]=null,this[YA]=q??null,this[Pa]=0,this[Po]=0,this[Jse]=`host: ${this[qn].hostname}${this[qn].port?`:${this[qn].port}`:""}\r `,this[tne]=l??3e5,this[ene]=n??3e5,this[rne]=y??!0,this[sne]=B,this[Ib]=R,this[vo]=null,this[cne]=we>-1?we:-1,this[une]=_e??100,this[mt]=null,this[An]=[],this[$i]=0,this[dn]=0,this[JA]=ce=>wb(this,ce),this[lne]=ce=>rF(this,ce)}get pipelining(){return this[rf]}set pipelining(e){this[rf]=e,this[JA](!0)}get[KA](){return this[An].length-this[dn]}get[jA](){return this[dn]-this[$i]}get[WA](){return this[An].length-this[$i]}get[Yse](){return!!this[mt]&&!this[Cl]&&!this[mt].destroyed}get[Cb](){return!!(this[mt]?.busy(null)||this[WA]>=(tF(this)||1)||this[KA]>0)}[Vse](e){sF(this),this.once("connect",e)}[ane](e,r){let s=e.origin||this[qn].origin,n=new Use(s,e,r);return this[An].push(n),this[Pa]||(va.bodyLength(n.body)==null&&va.isIterable(n.body)?(this[Pa]=1,queueMicrotask(()=>wb(this))):this[JA](!0)),this[Pa]&&this[Po]!==2&&this[Cb]&&(this[Po]=2),this[Po]<2}async[ine](){return new Promise(e=>{this[WA]?this[vo]=e:e(null)})}async[one](e){return new Promise(r=>{let s=this[An].splice(this[dn]);for(let i=0;i{this[vo]&&(this[vo](),this[vo]=null),r(null)},"callback");this[mt]?(this[mt].destroy(e,n),this[mt]=null):queueMicrotask(n),this[JA]()})}},pne=tf();function rF(t,e){if(t[jA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){zi(t[dn]===t[$i]);let r=t[An].splice(t[$i]);for(let s=0;s{t[VA]({host:e,hostname:r,protocol:s,port:n,servername:t[To],localAddress:t[YA]},(l,u)=>{l?c(l):a(u)})});if(t.destroyed){va.destroy(i.on("error",XO),new Hse);return}zi(i);try{t[mt]=i.alpnProtocol==="h2"?await dne(t,i):await Ane(t,i)}catch(a){throw i.destroy().on("error",XO),a}t[Cl]=!1,i[nne]=0,i[Ib]=t[Ib],i[$se]=t,i[Wse]=null,yl.connected.hasSubscribers&&yl.connected.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[mt]?.version,servername:t[To],localAddress:t[YA]},connector:t[VA],socket:i}),t.emit("connect",t[qn],[t])}catch(i){if(t.destroyed)return;if(t[Cl]=!1,yl.connectError.hasSubscribers&&yl.connectError.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[mt]?.version,servername:t[To],localAddress:t[YA]},connector:t[VA],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(zi(t[jA]===0);t[KA]>0&&t[An][t[dn]].servername===t[To];){let a=t[An][t[dn]++];va.errorRequest(t,a,i)}else rF(t,i);t.emit("connectionError",t[qn],[t],i)}t[JA]()}o(sF,"connect");function ZO(t){t[Po]=0,t.emit("drain",t[qn],[t])}o(ZO,"emitDrain");function wb(t,e){t[Pa]!==2&&(t[Pa]=2,mne(t,e),t[Pa]=0,t[$i]>256&&(t[An].splice(0,t[$i]),t[dn]-=t[$i],t[$i]=0))}o(wb,"resume");function mne(t,e){for(;;){if(t.destroyed){zi(t[KA]===0);return}if(t[vo]&&!t[WA]){t[vo](),t[vo]=null;return}if(t[mt]&&t[mt].resume(),t[Cb])t[Po]=2;else if(t[Po]===2){e?(t[Po]=1,queueMicrotask(()=>ZO(t))):ZO(t);continue}if(t[KA]===0||t[jA]>=(tF(t)||1))return;let r=t[An][t[dn]];if(t[qn].protocol==="https:"&&t[To]!==r.servername){if(t[jA]>0)return;t[To]=r.servername,t[mt]?.destroy(new Gse("servername changed"),()=>{t[mt]=null,wb(t)})}if(t[Cl])return;if(!t[mt]){sF(t);return}if(t[mt].destroyed||t[mt].busy(r))return;!r.aborted&&t[mt].write(r)?t[dn]++:t[An].splice(t[dn],1)}}o(mne,"_resume");nF.exports=Bb});var bb=g((hFe,iF)=>{"use strict";var sf=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)}};iF.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new sf}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new sf),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var aF=g((gFe,oF)=>{var{kFree:hne,kConnected:fne,kPending:gne,kQueued:Ene,kRunning:yne,kSize:Cne}=$e(),ka=Symbol("pool"),xb=class{static{o(this,"PoolStats")}constructor(e){this[ka]=e}get connected(){return this[ka][fne]}get free(){return this[ka][hne]}get pending(){return this[ka][gne]}get queued(){return this[ka][Ene]}get running(){return this[ka][yne]}get size(){return this[ka][Cne]}};oF.exports=xb});var vb=g((yFe,gF)=>{"use strict";var Ine=nl(),Bne=bb(),{kConnected:Qb,kSize:cF,kRunning:lF,kPending:uF,kQueued:XA,kBusy:wne,kFree:bne,kUrl:xne,kClose:Qne,kDestroy:Nne,kDispatch:Sne}=$e(),Rne=aF(),kr=Symbol("clients"),mr=Symbol("needDrain"),ZA=Symbol("queue"),Nb=Symbol("closed resolve"),Sb=Symbol("onDrain"),AF=Symbol("onConnect"),dF=Symbol("onDisconnect"),pF=Symbol("onConnectionError"),Rb=Symbol("get dispatcher"),hF=Symbol("add client"),fF=Symbol("remove client"),mF=Symbol("stats"),Tb=class extends Ine{static{o(this,"PoolBase")}constructor(e){super(e),this[ZA]=new Bne,this[kr]=[],this[XA]=0;let r=this;this[Sb]=o(function(n,i){let a=r[ZA],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[XA]--,c=!this.dispatch(l.opts,l.handler)}this[mr]=c,!this[mr]&&r[mr]&&(r[mr]=!1,r.emit("drain",n,[r,...i])),r[Nb]&&a.isEmpty()&&Promise.all(r[kr].map(l=>l.close())).then(r[Nb])},"onDrain"),this[AF]=(s,n)=>{r.emit("connect",s,[r,...n])},this[dF]=(s,n,i)=>{r.emit("disconnect",s,[r,...n],i)},this[pF]=(s,n,i)=>{r.emit("connectionError",s,[r,...n],i)},this[mF]=new Rne(this)}get[wne](){return this[mr]}get[Qb](){return this[kr].filter(e=>e[Qb]).length}get[bne](){return this[kr].filter(e=>e[Qb]&&!e[mr]).length}get[uF](){let e=this[XA];for(let{[uF]:r}of this[kr])e+=r;return e}get[lF](){let e=0;for(let{[lF]:r}of this[kr])e+=r;return e}get[cF](){let e=this[XA];for(let{[cF]:r}of this[kr])e+=r;return e}get stats(){return this[mF]}async[Qne](){this[ZA].isEmpty()?await Promise.all(this[kr].map(e=>e.close())):await new Promise(e=>{this[Nb]=e})}async[Nne](e){for(;;){let r=this[ZA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[kr].map(r=>r.destroy(e)))}[Sne](e,r){let s=this[Rb]();return s?s.dispatch(e,r)||(s[mr]=!0,this[mr]=!this[Rb]()):(this[mr]=!0,this[ZA].push({opts:e,handler:r}),this[XA]++),!this[mr]}[hF](e){return e.on("drain",this[Sb]).on("connect",this[AF]).on("disconnect",this[dF]).on("connectionError",this[pF]),this[kr].push(e),this[mr]&&queueMicrotask(()=>{this[mr]&&this[Sb](e[xne],[this,e])}),this}[fF](e){e.close(()=>{let r=this[kr].indexOf(e);r!==-1&&this[kr].splice(r,1)}),this[mr]=this[kr].some(r=>!r[mr]&&r.closed!==!0&&r.destroyed!==!0)}};gF.exports={PoolBase:Tb,kClients:kr,kNeedDrain:mr,kAddClient:hF,kRemoveClient:fF,kGetDispatcher:Rb}});var Bl=g((IFe,IF)=>{"use strict";var{PoolBase:Tne,kClients:nf,kNeedDrain:vne,kAddClient:Pne,kGetDispatcher:kne}=vb(),Dne=Il(),{InvalidArgumentError:Pb}=Be(),EF=de(),{kUrl:yF,kInterceptors:_ne}=$e(),Lne=PA(),kb=Symbol("options"),Db=Symbol("connections"),CF=Symbol("factory");function Mne(t,e){return new Dne(t,e)}o(Mne,"defaultFactory");var _b=class extends Tne{static{o(this,"Pool")}constructor(e,{connections:r,factory:s=Mne,connect:n,connectTimeout:i,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:u,autoSelectFamilyAttemptTimeout:A,allowH2:d,...p}={}){if(r!=null&&(!Number.isFinite(r)||r<0))throw new Pb("invalid connections");if(typeof s!="function")throw new Pb("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Pb("connect must be a function or an object");typeof n!="function"&&(n=Lne({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:i,...u?{autoSelectFamily:u,autoSelectFamilyAttemptTimeout:A}:void 0,...n})),super(p),this[_ne]=p.interceptors?.Pool&&Array.isArray(p.interceptors.Pool)?p.interceptors.Pool:[],this[Db]=r||null,this[yF]=EF.parseOrigin(e),this[kb]={...EF.deepClone(p),connect:n,allowH2:d},this[kb].interceptors=p.interceptors?{...p.interceptors}:void 0,this[CF]=s,this.on("connectionError",(m,h,f)=>{for(let C of h){let E=this[nf].indexOf(C);E!==-1&&this[nf].splice(E,1)}})}[kne](){for(let e of this[nf])if(!e[vne])return e;if(!this[Db]||this[nf].length{"use strict";var{BalancedPoolMissingUpstreamError:One,InvalidArgumentError:Fne}=Be(),{PoolBase:Une,kClients:sr,kNeedDrain:ed,kAddClient:qne,kRemoveClient:Gne,kGetDispatcher:Hne}=vb(),zne=Bl(),{kUrl:Lb,kInterceptors:$ne}=$e(),{parseOrigin:BF}=de(),wF=Symbol("factory"),of=Symbol("options"),bF=Symbol("kGreatestCommonDivisor"),Da=Symbol("kCurrentWeight"),_a=Symbol("kIndex"),Ns=Symbol("kWeight"),af=Symbol("kMaxWeightPerServer"),cf=Symbol("kErrorPenalty");function Vne(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(Vne,"getGreatestCommonDivisor");function Yne(t,e){return new zne(t,e)}o(Yne,"defaultFactory");var Mb=class extends Une{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=Yne,...s}={}){if(super(),this[of]=s,this[_a]=-1,this[Da]=0,this[af]=this[of].maxWeightPerServer||100,this[cf]=this[of].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new Fne("factory must be a function.");this[$ne]=s.interceptors?.BalancedPool&&Array.isArray(s.interceptors.BalancedPool)?s.interceptors.BalancedPool:[],this[wF]=r;for(let n of e)this.addUpstream(n);this._updateBalancedPoolStats()}addUpstream(e){let r=BF(e).origin;if(this[sr].find(n=>n[Lb].origin===r&&n.closed!==!0&&n.destroyed!==!0))return this;let s=this[wF](r,Object.assign({},this[of]));this[qne](s),s.on("connect",()=>{s[Ns]=Math.min(this[af],s[Ns]+this[cf])}),s.on("connectionError",()=>{s[Ns]=Math.max(1,s[Ns]-this[cf]),this._updateBalancedPoolStats()}),s.on("disconnect",(...n)=>{let i=n[2];i&&i.code==="UND_ERR_SOCKET"&&(s[Ns]=Math.max(1,s[Ns]-this[cf]),this._updateBalancedPoolStats())});for(let n of this[sr])n[Ns]=this[af];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;rn[Lb].origin===r&&n.closed!==!0&&n.destroyed!==!0);return s&&this[Gne](s),this}get upstreams(){return this[sr].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[Lb].origin)}[Hne](){if(this[sr].length===0)throw new One;if(!this[sr].find(i=>!i[ed]&&i.closed!==!0&&i.destroyed!==!0)||this[sr].map(i=>i[ed]).reduce((i,a)=>i&&a,!0))return;let s=0,n=this[sr].findIndex(i=>!i[ed]);for(;s++this[sr][n][Ns]&&!i[ed]&&(n=this[_a]),this[_a]===0&&(this[Da]=this[Da]-this[bF],this[Da]<=0&&(this[Da]=this[af])),i[Ns]>=this[Da]&&!i[ed])return i}return this[Da]=this[sr][n][Ns],this[_a]=n,this[sr][n]}};xF.exports=Mb});var wl=g((xFe,kF)=>{"use strict";var{InvalidArgumentError:lf}=Be(),{kClients:ko,kRunning:NF,kClose:Jne,kDestroy:Wne,kDispatch:jne,kInterceptors:Kne}=$e(),Xne=nl(),Zne=Bl(),eie=Il(),tie=de(),rie=tf(),SF=Symbol("onConnect"),RF=Symbol("onDisconnect"),TF=Symbol("onConnectionError"),sie=Symbol("maxRedirections"),vF=Symbol("onDrain"),PF=Symbol("factory"),Ob=Symbol("options");function nie(t,e){return e&&e.connections===1?new eie(t,e):new Zne(t,e)}o(nie,"defaultFactory");var Fb=class extends Xne{static{o(this,"Agent")}constructor({factory:e=nie,maxRedirections:r=0,connect:s,...n}={}){if(typeof e!="function")throw new lf("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new lf("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new lf("maxRedirections must be a positive number");super(n),s&&typeof s!="function"&&(s={...s}),this[Kne]=n.interceptors?.Agent&&Array.isArray(n.interceptors.Agent)?n.interceptors.Agent:[rie({maxRedirections:r})],this[Ob]={...tie.deepClone(n),connect:s},this[Ob].interceptors=n.interceptors?{...n.interceptors}:void 0,this[sie]=r,this[PF]=e,this[ko]=new Map,this[vF]=(i,a)=>{this.emit("drain",i,[this,...a])},this[SF]=(i,a)=>{this.emit("connect",i,[this,...a])},this[RF]=(i,a,c)=>{this.emit("disconnect",i,[this,...a],c)},this[TF]=(i,a,c)=>{this.emit("connectionError",i,[this,...a],c)}}get[NF](){let e=0;for(let r of this[ko].values())e+=r[NF];return e}[jne](e,r){let s;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))s=String(e.origin);else throw new lf("opts.origin must be a non-empty string or URL.");let n=this[ko].get(s);return n||(n=this[PF](e.origin,this[Ob]).on("drain",this[vF]).on("connect",this[SF]).on("disconnect",this[RF]).on("connectionError",this[TF]),this[ko].set(s,n)),n.dispatch(e,r)}async[Jne](){let e=[];for(let r of this[ko].values())e.push(r.close());this[ko].clear(),await Promise.all(e)}async[Wne](e){let r=[];for(let s of this[ko].values())r.push(s.destroy(e));this[ko].clear(),await Promise.all(r)}};kF.exports=Fb});var zb=g((NFe,zF)=>{"use strict";var{kProxy:Ub,kClose:FF,kDestroy:UF,kDispatch:DF,kInterceptors:iie}=$e(),{URL:La}=require("node:url"),oie=wl(),qF=Bl(),GF=nl(),{InvalidArgumentError:bl,RequestAbortedError:aie,SecureProxyConnectionError:cie}=Be(),_F=PA(),HF=Il(),uf=Symbol("proxy agent"),Af=Symbol("proxy client"),Do=Symbol("proxy headers"),qb=Symbol("request tls settings"),LF=Symbol("proxy tls settings"),MF=Symbol("connect endpoint function"),OF=Symbol("tunnel proxy");function lie(t){return t==="https:"?443:80}o(lie,"defaultProtocolPort");function uie(t,e){return new qF(t,e)}o(uie,"defaultFactory");var Aie=o(()=>{},"noop");function die(t,e){return e.connections===1?new HF(t,e):new qF(t,e)}o(die,"defaultAgentFactory");var Gb=class extends GF{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:s,factory:n}){if(super(),!e)throw new bl("Proxy URL is mandatory");this[Do]=r,n?this.#e=n(e,{connect:s}):this.#e=new HF(e,{connect:s})}[DF](e,r){let s=r.onHeaders;r.onHeaders=function(c,l,u){if(c===407){typeof r.onError=="function"&&r.onError(new bl("Proxy Authentication Required (407)"));return}s&&s.call(this,c,l,u)};let{origin:n,path:i="/",headers:a={}}=e;if(e.path=n+i,!("host"in a)&&!("Host"in a)){let{host:c}=new La(n);a.host=c}return e.headers={...this[Do],...a},this.#e[DF](e,r)}async[FF](){return this.#e.close()}async[UF](e){return this.#e.destroy(e)}},Hb=class extends GF{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof La)&&!e.uri)throw new bl("Proxy uri is mandatory");let{clientFactory:r=uie}=e;if(typeof r!="function")throw new bl("Proxy opts.clientFactory must be a function.");let{proxyTunnel:s=!0}=e,n=this.#e(e),{href:i,origin:a,port:c,protocol:l,username:u,password:A,hostname:d}=n;if(this[Ub]={uri:i,protocol:l},this[iie]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[qb]=e.requestTls,this[LF]=e.proxyTls,this[Do]=e.headers||{},this[OF]=s,e.auth&&e.token)throw new bl("opts.auth cannot be used in combination with opts.token");e.auth?this[Do]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[Do]["proxy-authorization"]=e.token:u&&A&&(this[Do]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(u)}:${decodeURIComponent(A)}`).toString("base64")}`);let p=_F({...e.proxyTls});this[MF]=_F({...e.requestTls});let m=e.factory||die,h=o((f,C)=>{let{protocol:E}=new La(f);return!this[OF]&&E==="http:"&&this[Ub].protocol==="http:"?new Gb(this[Ub].uri,{headers:this[Do],connect:p,factory:m}):m(f,C)},"factory");this[Af]=r(n,{connect:p}),this[uf]=new oie({...e,factory:h,connect:o(async(f,C)=>{let E=f.host;f.port||(E+=`:${lie(f.protocol)}`);try{let{socket:y,statusCode:I}=await this[Af].connect({origin:a,port:c,path:E,signal:f.signal,headers:{...this[Do],host:f.host},servername:this[LF]?.servername||d});if(I!==200&&(y.on("error",Aie).destroy(),C(new aie(`Proxy response (${I}) !== 200 when HTTP Tunneling`))),f.protocol!=="https:"){C(null,y);return}let B;this[qb]?B=this[qb].servername:B=f.servername,this[MF]({...f,servername:B,httpSocket:y},C)}catch(y){y.code==="ERR_TLS_CERT_ALTNAME_INVALID"?C(new cie(y)):C(y)}},"connect")})}dispatch(e,r){let s=pie(e.headers);if(mie(s),s&&!("host"in s)&&!("Host"in s)){let{host:n}=new La(e.origin);s.host=n}return this[uf].dispatch({...e,headers:s},r)}#e(e){return typeof e=="string"?new La(e):e instanceof La?e:new La(e.uri)}async[FF](){await this[uf].close(),await this[Af].close()}async[UF](){await this[uf].destroy(),await this[Af].destroy()}};function pie(t){if(Array.isArray(t)){let e={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new bl("Proxy-Authorization should be sent in ProxyAgent constructor")}o(mie,"throwIfProxyAuthIsSent");zF.exports=Hb});var jF=g((RFe,WF)=>{"use strict";var hie=nl(),{kClose:fie,kDestroy:gie,kClosed:$F,kDestroyed:VF,kDispatch:Eie,kNoProxyAgent:td,kHttpProxyAgent:_o,kHttpsProxyAgent:Ma}=$e(),YF=zb(),yie=wl(),Cie={"http:":80,"https:":443},JF=!1,$b=class extends hie{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#s=null;constructor(e={}){super(),this.#s=e,JF||(JF=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:s,noProxy:n,...i}=e;this[td]=new yie(i);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[_o]=new YF({...i,uri:a}):this[_o]=this[td];let c=s??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[Ma]=new YF({...i,uri:c}):this[Ma]=this[_o],this.#i()}[Eie](e,r){let s=new URL(e.origin);return this.#r(s).dispatch(e,r)}async[fie](){await this[td].close(),this[_o][$F]||await this[_o].close(),this[Ma][$F]||await this[Ma].close()}async[gie](e){await this[td].destroy(e),this[_o][VF]||await this[_o].destroy(e),this[Ma][VF]||await this[Ma].destroy(e)}#r(e){let{protocol:r,host:s,port:n}=e;return s=s.replace(/:\d*$/,"").toLowerCase(),n=Number.parseInt(n,10)||Cie[r]||0,this.#n(s,n)?r==="https:"?this[Ma]:this[_o]:this[td]}#n(e,r){if(this.#o&&this.#i(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let s=0;s{"use strict";var rd=require("node:assert"),{kRetryHandlerDefaultRetry:KF}=$e(),{RequestRetryError:Oa}=Be(),{isDisturbed:XF,parseHeaders:Iie,parseRangeHeader:ZF,wrapRequestBody:Bie}=de();function wie(t){let e=Date.now();return new Date(t).getTime()-e}o(wie,"calculateRetryAfterHeader");function eU(t,e,r,s){let n=t["content-length"];if(n==null||!Number.isFinite(e.start)||!Number.isFinite(e.end))return null;let i=Number(n),a=e.end-e.start+1;return!Number.isFinite(i)||i!==a?new Oa("Content-Length mismatch",r,{headers:t,data:{count:s}}):null}o(eU,"validatePartialResponseContentLength");var Vb=class t{static{o(this,"RetryHandler")}constructor(e,r){let{retryOptions:s,...n}=e,{retry:i,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:u,methods:A,errorCodes:d,retryAfter:p,statusCodes:m}=s??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...n,body:Bie(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[KF],retryAfter:p??!0,maxTimeout:c??30*1e3,minTimeout:l??500,timeoutFactor:u??2,maxRetries:a??5,methods:A??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:m??[500,502,503,504,429],errorCodes:d??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.headersSent=!1,this.handler.onConnect(h=>{this.aborted=!0,this.abort?this.abort(h):this.reason=h})}checkpointResponseEnd(e,r){if(this.end==null&&this.opts.method!=="HEAD"){let s=e["content-length"];this.end=s!=null?Number(s)-1:null,rd(this.end==null||Number.isFinite(this.end),"invalid content-length")}this.resume=this.end!=null?r:null}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,r,s){this.handler.onUpgrade&&this.handler.onUpgrade(e,r,s)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[KF](e,{state:r,opts:s},n){let{statusCode:i,code:a,headers:c}=e,{method:l,retryOptions:u}=s,{maxRetries:A,minTimeout:d,maxTimeout:p,timeoutFactor:m,statusCodes:h,errorCodes:f,methods:C}=u,{counter:E}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!f.includes(a)){n(e);return}if(Array.isArray(C)&&!C.includes(l)){n(e);return}if(i!=null&&Array.isArray(h)&&!h.includes(i)){n(e);return}if(E>A){n(e);return}let y=c?.["retry-after"];y&&(y=Number(y),y=Number.isNaN(y)?wie(y):y*1e3);let I=y>0?Math.min(y,p):Math.min(d*m**(E-1),p);setTimeout(()=>n(null),I)}onHeaders(e,r,s,n){let i=Iie(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?(this.headersSent=!0,this.checkpointResponseEnd(i,s),this.handler.onHeaders(e,r,s,n)):(this.abort(new Oa("Request failed",e,{headers:i,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new Oa("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let c=ZF(i["content-range"]);if(!c)return this.abort(new Oa("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new Oa("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let l=eU(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:A,end:d=A-1}=c;return this.start!==u||this.end!=null&&this.end!==d?(this.abort(new Oa("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1):(this.resume=s,!0)}if(this.end==null){if(e===206){let c=ZF(i["content-range"]);if(c==null)return this.headersSent=!0,this.handler.onHeaders(e,r,s,n);let l=eU(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:A,end:d=A-1}=c;rd(u!=null&&Number.isFinite(u),"content-range mismatch"),rd(d!=null&&Number.isFinite(d),"invalid content-length"),this.start=u,this.end=d}if(this.end==null){let c=i["content-length"];this.end=c!=null?Number(c)-1:null}return rd(Number.isFinite(this.start)),rd(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=s,this.headersSent=!0,this.etag=i.etag!=null?i.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,s,n)}let a=new Oa("Request failed",e,{headers:i,data:{count:this.retryCount}});return this.abort(a),!1}onData(e){return this.start+=e.length,this.handler.onData(e)}onComplete(e){return this.retryCount=0,this.handler.onComplete(e)}onError(e){if(this.aborted||XF(this.opts.body)||this.headersSent&&this.resume==null)return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(s){if(s!=null||this.aborted||XF(this.opts.body))return this.handler.onError(s);if(this.start!==0){let n={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(n["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...n}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(n){this.handler.onError(n)}}o(r,"onRetry")}};tU.exports=Vb});var sU=g((kFe,rU)=>{"use strict";var bie=TA(),xie=df(),Yb=class extends bie{static{o(this,"RetryAgent")}#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let s=new xie({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:r});return this.#e.dispatch(e,s)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};rU.exports=Yb});var Zb=g((_Fe,dU)=>{"use strict";var cU=require("node:assert"),{Readable:Qie}=require("node:stream"),{RequestAbortedError:lU,NotSupportedError:Nie,InvalidArgumentError:Sie,AbortError:Jb}=Be(),uU=de(),{ReadableStreamFrom:Rie}=de(),es=Symbol("kConsume"),sd=Symbol("kReading"),Lo=Symbol("kBody"),nU=Symbol("kAbort"),AU=Symbol("kContentType"),iU=Symbol("kContentLength"),Tie=o(()=>{},"noop"),Wb=class extends Qie{static{o(this,"BodyReadable")}constructor({resume:e,abort:r,contentType:s="",contentLength:n,highWaterMark:i=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:i}),this._readableState.dataEmitted=!1,this[nU]=r,this[es]=null,this[Lo]=null,this[AU]=s,this[iU]=n,this[sd]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new lU),e&&this[nU](),super.destroy(e)}_destroy(e,r){this[sd]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[sd]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let s=super.off(e,...r);return(e==="data"||e==="readable")&&(this[sd]=this.listenerCount("data")>0||this.listenerCount("readable")>0),s}removeListener(e,...r){return this.off(e,...r)}push(e){return this[es]&&e!==null?(Kb(this[es],e),this[sd]?super.push(e):!0):super.push(e)}async text(){return nd(this,"text")}async json(){return nd(this,"json")}async blob(){return nd(this,"blob")}async bytes(){return nd(this,"bytes")}async arrayBuffer(){return nd(this,"arrayBuffer")}async formData(){throw new Nie}get bodyUsed(){return uU.isDisturbed(this)}get body(){return this[Lo]||(this[Lo]=Rie(this),this[es]&&(this[Lo].getReader(),cU(this[Lo].locked))),this[Lo]}async dump(e){let r=Number.isFinite(e?.limit)?e.limit:131072,s=e?.signal;if(s!=null&&(typeof s!="object"||!("aborted"in s)))throw new Sie("signal must be an AbortSignal");return s?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((n,i)=>{this[iU]>r&&this.destroy(new Jb);let a=o(()=>{this.destroy(s.reason??new Jb)},"onAbort");s?.addEventListener("abort",a),this.on("close",function(){s?.removeEventListener("abort",a),s?.aborted?i(s.reason??new Jb):n(null)}).on("error",Tie).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function vie(t){return t[Lo]&&t[Lo].locked===!0||t[es]}o(vie,"isLocked");function Pie(t){return uU.isDisturbed(t)||vie(t)}o(Pie,"isUnusable");async function nd(t,e){return cU(!t[es]),new Promise((r,s)=>{if(Pie(t)){let n=t._readableState;n.destroyed&&n.closeEmitted===!1?t.on("error",i=>{s(i)}).on("close",()=>{s(new TypeError("unusable"))}):s(n.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[es]={type:e,stream:t,resolve:r,reject:s,length:0,body:[]},t.on("error",function(n){Xb(this[es],n)}).on("close",function(){this[es].body!==null&&Xb(this[es],new lU)}),kie(t[es])})})}o(nd,"consume");function kie(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let r=e.bufferIndex,s=e.buffer.length;for(let n=r;n2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(n,s)}o(jb,"chunksDecode");function oU(t,e){if(t.length===0||e===0)return new Uint8Array(0);if(t.length===1)return new Uint8Array(t[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(e).buffer),s=0;for(let n=0;n{var Die=require("node:assert"),{ResponseStatusCodeError:pU}=Be(),{chunksDecode:mU}=Zb(),_ie=128*1024;async function Lie({callback:t,body:e,contentType:r,statusCode:s,statusMessage:n,headers:i}){Die(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>_ie){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${s}${n?`: ${n}`:""}`;if(s===204||!r||!c){queueMicrotask(()=>t(new pU(l,s,i)));return}let u=Error.stackTraceLimit;Error.stackTraceLimit=0;let A;try{hU(r)?A=JSON.parse(mU(a,c)):fU(r)&&(A=mU(a,c))}catch{}finally{Error.stackTraceLimit=u}queueMicrotask(()=>t(new pU(l,s,i,A)))}o(Lie,"getResolveErrorBodyCallback");var hU=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"),fU=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");gU.exports={getResolveErrorBodyCallback:Lie,isContentTypeApplicationJson:hU,isContentTypeText:fU}});var CU=g((FFe,tx)=>{"use strict";var Mie=require("node:assert"),{Readable:Oie}=Zb(),{InvalidArgumentError:xl,RequestAbortedError:EU}=Be(),ts=de(),{getResolveErrorBodyCallback:Fie}=ex(),{AsyncResource:Uie}=require("node:async_hooks"),pf=class extends Uie{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new xl("invalid opts");let{signal:s,method:n,opaque:i,body:a,onInfo:c,responseHeaders:l,throwOnError:u,highWaterMark:A}=e;try{if(typeof r!="function")throw new xl("invalid callback");if(A&&(typeof A!="number"||A<0))throw new xl("invalid highWaterMark");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new xl("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new xl("invalid method");if(c&&typeof c!="function")throw new xl("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw ts.isStream(a)&&ts.destroy(a.on("error",ts.nop),d),d}this.method=n,this.responseHeaders=l||null,this.opaque=i||null,this.callback=r,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=u,this.highWaterMark=A,this.signal=s,this.reason=null,this.removeAbortListener=null,ts.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new EU:this.removeAbortListener=ts.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new EU,this.res?ts.destroy(this.res.on("error",ts.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}Mie(this.callback),this.abort=e,this.context=r}onHeaders(e,r,s,n){let{callback:i,opaque:a,abort:c,context:l,responseHeaders:u,highWaterMark:A}=this,d=u==="raw"?ts.parseRawHeaders(r):ts.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let p=u==="raw"?ts.parseHeaders(r):d,m=p["content-type"],h=p["content-length"],f=new Oie({resume:s,abort:c,contentType:m,contentLength:this.method!=="HEAD"&&h?Number(h):null,highWaterMark:A});this.removeAbortListener&&f.on("close",this.removeAbortListener),this.callback=null,this.res=f,i!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(Fie,null,{callback:i,body:f,contentType:m,statusCode:e,statusMessage:n,headers:d}):this.runInAsyncScope(i,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:f,context:l}))}onData(e){return this.res.push(e)}onComplete(e){ts.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:s,body:n,opaque:i}=this;s&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(s,null,e,{opaque:i})})),r&&(this.res=null,queueMicrotask(()=>{ts.destroy(r,e)})),n&&(this.body=null,ts.destroy(n,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function yU(t,e){if(e===void 0)return new Promise((r,s)=>{yU.call(this,t,(n,i)=>n?s(n):r(i))});try{this.dispatch(t,new pf(t,e))}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}o(yU,"request");tx.exports=yU;tx.exports.RequestHandler=pf});var id=g((qFe,wU)=>{var{addAbortListener:qie}=de(),{RequestAbortedError:Gie}=Be(),Ql=Symbol("kListener"),Gn=Symbol("kSignal");function IU(t){t.abort?t.abort(t[Gn]?.reason):t.reason=t[Gn]?.reason??new Gie,BU(t)}o(IU,"abort");function Hie(t,e){if(t.reason=null,t[Gn]=null,t[Ql]=null,!!e){if(e.aborted){IU(t);return}t[Gn]=e,t[Ql]=()=>{IU(t)},qie(t[Gn],t[Ql])}}o(Hie,"addSignal");function BU(t){t[Gn]&&("removeEventListener"in t[Gn]?t[Gn].removeEventListener("abort",t[Ql]):t[Gn].removeListener("abort",t[Ql]),t[Gn]=null,t[Ql]=null)}o(BU,"removeSignal");wU.exports={addSignal:Hie,removeSignal:BU}});var NU=g((HFe,QU)=>{"use strict";var zie=require("node:assert"),{finished:$ie,PassThrough:Vie}=require("node:stream"),{InvalidArgumentError:Nl,InvalidReturnValueError:Yie}=Be(),pn=de(),{getResolveErrorBodyCallback:Jie}=ex(),{AsyncResource:Wie}=require("node:async_hooks"),{addSignal:jie,removeSignal:bU}=id(),rx=class extends Wie{static{o(this,"StreamHandler")}constructor(e,r,s){if(!e||typeof e!="object")throw new Nl("invalid opts");let{signal:n,method:i,opaque:a,body:c,onInfo:l,responseHeaders:u,throwOnError:A}=e;try{if(typeof s!="function")throw new Nl("invalid callback");if(typeof r!="function")throw new Nl("invalid factory");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Nl("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Nl("invalid method");if(l&&typeof l!="function")throw new Nl("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw pn.isStream(c)&&pn.destroy(c.on("error",pn.nop),d),d}this.responseHeaders=u||null,this.opaque=a||null,this.factory=r,this.callback=s,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=A||!1,pn.isStream(c)&&c.on("error",d=>{this.onError(d)}),jie(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}zie(this.callback),this.abort=e,this.context=r}onHeaders(e,r,s,n){let{factory:i,opaque:a,context:c,callback:l,responseHeaders:u}=this,A=u==="raw"?pn.parseRawHeaders(r):pn.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:A});return}this.factory=null;let d;if(this.throwOnError&&e>=400){let h=(u==="raw"?pn.parseHeaders(r):A)["content-type"];d=new Vie,this.callback=null,this.runInAsyncScope(Jie,null,{callback:l,body:d,contentType:h,statusCode:e,statusMessage:n,headers:A})}else{if(i===null)return;if(d=this.runInAsyncScope(i,null,{statusCode:e,headers:A,opaque:a,context:c}),!d||typeof d.write!="function"||typeof d.end!="function"||typeof d.on!="function")throw new Yie("expected Writable");$ie(d,{readable:!1},m=>{let{callback:h,res:f,opaque:C,trailers:E,abort:y}=this;this.res=null,(m||!f.readable)&&pn.destroy(f,m),this.callback=null,this.runInAsyncScope(h,null,m||null,{opaque:C,trailers:E}),m&&y()})}return d.on("drain",s),this.res=d,(d.writableNeedDrain!==void 0?d.writableNeedDrain:d._writableState?.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;bU(this),r&&(this.trailers=pn.parseHeaders(e),r.end())}onError(e){let{res:r,callback:s,opaque:n,body:i}=this;bU(this),this.factory=null,r?(this.res=null,pn.destroy(r,e)):s&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(s,null,e,{opaque:n})})),i&&(this.body=null,pn.destroy(i,e))}};function xU(t,e,r){if(r===void 0)return new Promise((s,n)=>{xU.call(this,t,e,(i,a)=>i?n(i):s(a))});try{this.dispatch(t,new rx(t,e,r))}catch(s){if(typeof r!="function")throw s;let n=t?.opaque;queueMicrotask(()=>r(s,{opaque:n}))}}o(xU,"stream");QU.exports=xU});var vU=g(($Fe,TU)=>{"use strict";var{Readable:RU,Duplex:Kie,PassThrough:Xie}=require("node:stream"),{InvalidArgumentError:od,InvalidReturnValueError:Zie,RequestAbortedError:sx}=Be(),Ss=de(),{AsyncResource:eoe}=require("node:async_hooks"),{addSignal:toe,removeSignal:roe}=id(),SU=require("node:assert"),Sl=Symbol("resume"),nx=class extends RU{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[Sl]=null}_read(){let{[Sl]:e}=this;e&&(this[Sl]=null,e())}_destroy(e,r){this._read(),r(e)}},ix=class extends RU{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[Sl]=e}_read(){this[Sl]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new sx),r(e)}},ox=class extends eoe{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new od("invalid opts");if(typeof r!="function")throw new od("invalid handler");let{signal:s,method:n,opaque:i,onInfo:a,responseHeaders:c}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new od("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new od("invalid method");if(a&&typeof a!="function")throw new od("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=i||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new nx().on("error",Ss.nop),this.ret=new Kie({readableObjectMode:e.objectMode,autoDestroy:!0,read:o(()=>{let{body:l}=this;l?.resume&&l.resume()},"read"),write:o((l,u,A)=>{let{req:d}=this;d.push(l,u)||d._readableState.destroyed?A():d[Sl]=A},"write"),destroy:o((l,u)=>{let{body:A,req:d,res:p,ret:m,abort:h}=this;!l&&!m._readableState.endEmitted&&(l=new sx),h&&l&&h(),Ss.destroy(A,l),Ss.destroy(d,l),Ss.destroy(p,l),roe(this),u(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,toe(this,s)}onConnect(e,r){let{ret:s,res:n}=this;if(this.reason){e(this.reason);return}SU(!n,"pipeline cannot be retried"),SU(!s.destroyed),this.abort=e,this.context=r}onHeaders(e,r,s){let{opaque:n,handler:i,context:a}=this;if(e<200){if(this.onInfo){let l=this.responseHeaders==="raw"?Ss.parseRawHeaders(r):Ss.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new ix(s);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?Ss.parseRawHeaders(r):Ss.parseHeaders(r);c=this.runInAsyncScope(i,null,{statusCode:e,headers:l,opaque:n,body:this.res,context:a})}catch(l){throw this.res.on("error",Ss.nop),l}if(!c||typeof c.on!="function")throw new Zie("expected Readable");c.on("data",l=>{let{ret:u,body:A}=this;!u.push(l)&&A.pause&&A.pause()}).on("error",l=>{let{ret:u}=this;Ss.destroy(u,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||Ss.destroy(l,new sx)}),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,Ss.destroy(r,e)}};function soe(t,e){try{let r=new ox(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new Xie().destroy(r)}}o(soe,"pipeline");TU.exports=soe});var MU=g((YFe,LU)=>{"use strict";var{InvalidArgumentError:ax,SocketError:noe}=Be(),{AsyncResource:ioe}=require("node:async_hooks"),PU=de(),{addSignal:ooe,removeSignal:kU}=id(),DU=require("node:assert"),cx=class extends ioe{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new ax("invalid opts");if(typeof r!="function")throw new ax("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new ax("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=i||null,this.opaque=n||null,this.callback=r,this.abort=null,this.context=null,ooe(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}DU(this.callback),this.abort=e,this.context=null}onHeaders(){throw new noe("bad upgrade",null)}onUpgrade(e,r,s){DU(e===101);let{callback:n,opaque:i,context:a}=this;kU(this),this.callback=null;let c=this.responseHeaders==="raw"?PU.parseRawHeaders(r):PU.parseHeaders(r);this.runInAsyncScope(n,null,null,{headers:c,socket:s,opaque:i,context:a})}onError(e){let{callback:r,opaque:s}=this;kU(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function _U(t,e){if(e===void 0)return new Promise((r,s)=>{_U.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new cx(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},r)}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}o(_U,"upgrade");LU.exports=_U});var GU=g((WFe,qU)=>{"use strict";var aoe=require("node:assert"),{AsyncResource:coe}=require("node:async_hooks"),{InvalidArgumentError:lx,SocketError:loe}=Be(),OU=de(),{addSignal:uoe,removeSignal:FU}=id(),ux=class extends coe{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new lx("invalid opts");if(typeof r!="function")throw new lx("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new lx("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=n||null,this.responseHeaders=i||null,this.callback=r,this.abort=null,uoe(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}aoe(this.callback),this.abort=e,this.context=r}onHeaders(){throw new loe("bad connect",null)}onUpgrade(e,r,s){let{callback:n,opaque:i,context:a}=this;FU(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?OU.parseRawHeaders(r):OU.parseHeaders(r)),this.runInAsyncScope(n,null,null,{statusCode:e,headers:c,socket:s,opaque:i,context:a})}onError(e){let{callback:r,opaque:s}=this;FU(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function UU(t,e){if(e===void 0)return new Promise((r,s)=>{UU.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new ux(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}o(UU,"connect");qU.exports=UU});var HU=g((KFe,Rl)=>{"use strict";Rl.exports.request=CU();Rl.exports.stream=NU();Rl.exports.pipeline=vU();Rl.exports.upgrade=MU();Rl.exports.connect=GU()});var dx=g((XFe,$U)=>{"use strict";var{UndiciError:Aoe}=Be(),zU=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),Ax=class t extends Aoe{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[zU]===!0}[zU]=!0};$U.exports={MockNotMatchedError:Ax}});var Tl=g((eUe,VU)=>{"use strict";VU.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 ad=g((tUe,s1)=>{"use strict";var{MockNotMatchedError:Fa}=dx(),{kDispatches:mf,kMockAgent:doe,kOriginalDispatch:poe,kOrigin:moe,kGetNetConnect:hoe}=Tl(),{buildURL:foe}=de(),{STATUS_CODES:goe}=require("node:http"),{types:{isPromise:Eoe}}=require("node:util");function Vi(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(Vi,"matchValue");function JU(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(JU,"lowerCaseEntries");function WU(t,e){if(Array.isArray(t)){for(let r=0;r"u")return!0;if(typeof e!="object"||typeof t.headers!="object")return!1;for(let[r,s]of Object.entries(t.headers)){let n=WU(e,r);if(!Vi(s,n))return!1}return!0}o(jU,"matchHeaders");function YU(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(YU,"safeUrl");function yoe(t,{path:e,method:r,body:s,headers:n}){let i=Vi(t.path,e),a=Vi(t.method,r),c=typeof t.body<"u"?Vi(t.body,s):!0,l=jU(t,n);return i&&a&&c&&l}o(yoe,"matchKey");function KU(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(KU,"getResponseData");function XU(t,e){let r=e.query?foe(e.path,e.query):e.path,s=typeof r=="string"?YU(r):r,n=t.filter(({consumed:i})=>!i).filter(({path:i})=>Vi(YU(i),s));if(n.length===0)throw new Fa(`Mock dispatch not matched for path '${s}'`);if(n=n.filter(({method:i})=>Vi(i,e.method)),n.length===0)throw new Fa(`Mock dispatch not matched for method '${e.method}' on path '${s}'`);if(n=n.filter(({body:i})=>typeof i<"u"?Vi(i,e.body):!0),n.length===0)throw new Fa(`Mock dispatch not matched for body '${e.body}' on path '${s}'`);if(n=n.filter(i=>jU(i,e.headers)),n.length===0){let i=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new Fa(`Mock dispatch not matched for headers '${i}' on path '${s}'`)}return n[0]}o(XU,"getMockDispatch");function Coe(t,e,r){let s={timesInvoked:0,times:1,persist:!1,consumed:!1},n=typeof r=="function"?{callback:r}:{...r},i={...s,...e,pending:!0,data:{error:null,...n}};return t.push(i),i}o(Coe,"addMockDispatch");function px(t,e){let r=t.findIndex(s=>s.consumed?yoe(s,e):!1);r!==-1&&t.splice(r,1)}o(px,"deleteMockDispatch");function ZU(t){let{path:e,method:r,body:s,headers:n,query:i}=t;return{path:e,method:r,body:s,headers:n,query:i}}o(ZU,"buildKey");function mx(t){let e=Object.keys(t),r=[];for(let s=0;s=p,s.pending=d0?setTimeout(()=>{m(this[mf])},u):m(this[mf]);function m(f,C=i){let E=Array.isArray(t.headers)?hx(t.headers):t.headers,y=typeof C=="function"?C({...t,headers:E}):C;if(Eoe(y)){y.then(R=>m(f,R));return}let I=KU(y),B=mx(a),S=mx(c);e.onConnect?.(R=>e.onError(R),null),e.onHeaders?.(n,B,h,e1(n)),e.onData?.(Buffer.from(I)),e.onComplete?.(S),px(f,r)}o(m,"handleReply");function h(){}return o(h,"resume"),!0}o(t1,"mockDispatch");function Boe(){let t=this[doe],e=this[moe],r=this[poe];return o(function(n,i){if(t.isMockActive)try{t1.call(this,n,i)}catch(a){if(a instanceof Fa){let c=t[hoe]();if(c===!1)throw new Fa(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(r1(c,e))r.call(this,n,i);else throw new Fa(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect is not enabled for this origin)`)}else throw a}else r.call(this,n,i)},"dispatch")}o(Boe,"buildMockDispatch");function r1(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(s=>Vi(s,r.host)))}o(r1,"checkNetConnect");function woe(t){if(t){let{agent:e,...r}=t;return r}}o(woe,"buildMockOptions");s1.exports={getResponseData:KU,getMockDispatch:XU,addMockDispatch:Coe,deleteMockDispatch:px,buildKey:ZU,generateKeyValues:mx,matchValue:Vi,getResponse:Ioe,getStatusText:e1,mockDispatch:t1,buildMockDispatch:Boe,checkNetConnect:r1,buildMockOptions:woe,getHeaderByName:WU,buildHeadersFromArray:hx}});var Bx=g((sUe,Ix)=>{"use strict";var{getResponseData:boe,buildKey:xoe,addMockDispatch:fx}=ad(),{kDispatches:hf,kDispatchKey:ff,kDefaultHeaders:gx,kDefaultTrailers:Ex,kContentLength:yx,kMockDispatch:gf}=Tl(),{InvalidArgumentError:Hn}=Be(),{buildURL:Qoe}=de(),vl=class{static{o(this,"MockScope")}constructor(e){this[gf]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Hn("waitInMs must be a valid integer > 0");return this[gf].delay=e,this}persist(){return this[gf].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Hn("repeatTimes must be a valid integer > 0");return this[gf].times=e,this}},Cx=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new Hn("opts must be an object");if(typeof e.path>"u")throw new Hn("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=Qoe(e.path,e.query);else{let s=new URL(e.path,"data://");e.path=s.pathname+s.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[ff]=xoe(e),this[hf]=r,this[gx]={},this[Ex]={},this[yx]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:s}){let n=boe(r),i=this[yx]?{"content-length":n.length}:{},a={...this[gx],...i,...s.headers},c={...this[Ex],...s.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new Hn("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new Hn("responseOptions must be an object")}reply(e){if(typeof e=="function"){let i=o(c=>{let l=e(c);if(typeof l!="object"||l===null)throw new Hn("reply options callback must return an object");let u={data:"",responseOptions:{},...l};return this.validateReplyParameters(u),{...this.createMockScopeDispatchData(u)}},"wrappedDefaultsCallback"),a=fx(this[hf],this[ff],i);return new vl(a)}let r={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(r);let s=this.createMockScopeDispatchData(r),n=fx(this[hf],this[ff],s);return new vl(n)}replyWithError(e){if(typeof e>"u")throw new Hn("error must be defined");let r=fx(this[hf],this[ff],{error:e});return new vl(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new Hn("headers must be defined");return this[gx]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new Hn("trailers must be defined");return this[Ex]=e,this}replyContentLength(){return this[yx]=!0,this}};Ix.exports.MockInterceptor=Cx;Ix.exports.MockScope=vl});var xx=g((iUe,u1)=>{"use strict";var{promisify:Noe}=require("node:util"),Soe=Il(),{buildMockDispatch:Roe}=ad(),{kDispatches:n1,kMockAgent:i1,kClose:o1,kOriginalClose:a1,kOrigin:c1,kOriginalDispatch:Toe,kConnected:wx}=Tl(),{MockInterceptor:voe}=Bx(),l1=$e(),{InvalidArgumentError:Poe}=Be(),bx=class extends Soe{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Poe("Argument opts.agent must implement Agent");this[i1]=r.agent,this[c1]=e,this[n1]=[],this[wx]=1,this[Toe]=this.dispatch,this[a1]=this.close.bind(this),this.dispatch=Roe.call(this),this.close=this[o1]}get[l1.kConnected](){return this[wx]}intercept(e){return new voe(e,this[n1])}async[o1](){await Noe(this[a1])(),this[wx]=0,this[i1][l1.kClients].delete(this[c1])}};u1.exports=bx});var Sx=g((aUe,g1)=>{"use strict";var{promisify:koe}=require("node:util"),Doe=Bl(),{buildMockDispatch:_oe}=ad(),{kDispatches:A1,kMockAgent:d1,kClose:p1,kOriginalClose:m1,kOrigin:h1,kOriginalDispatch:Loe,kConnected:Qx}=Tl(),{MockInterceptor:Moe}=Bx(),f1=$e(),{InvalidArgumentError:Ooe}=Be(),Nx=class extends Doe{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Ooe("Argument opts.agent must implement Agent");this[d1]=r.agent,this[h1]=e,this[A1]=[],this[Qx]=1,this[Loe]=this.dispatch,this[m1]=this.close.bind(this),this.dispatch=_oe.call(this),this.close=this[p1]}get[f1.kConnected](){return this[Qx]}intercept(e){return new Moe(e,this[A1])}async[p1](){await koe(this[m1])(),this[Qx]=0,this[d1][f1.kClients].delete(this[h1])}};g1.exports=Nx});var y1=g((uUe,E1)=>{"use strict";var Foe={pronoun:"it",is:"is",was:"was",this:"this"},Uoe={pronoun:"they",is:"are",was:"were",this:"these"};E1.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,s=r?Foe:Uoe,n=r?this.singular:this.plural;return{...s,count:e,noun:n}}}});var I1=g((pUe,C1)=>{"use strict";var{Transform:qoe}=require("node:stream"),{Console:Goe}=require("node:console"),Hoe=process.versions.icu?"\u2705":"Y ",zoe=process.versions.icu?"\u274C":"N ";C1.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new qoe({transform(r,s,n){n(null,r)}}),this.logger=new Goe({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:s,path:n,data:{statusCode:i},persist:a,times:c,timesInvoked:l,origin:u})=>({Method:s,Origin:u,Path:n,"Status code":i,Persistent:a?Hoe:zoe,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var x1=g((hUe,b1)=>{"use strict";var{kClients:Ua}=$e(),$oe=wl(),{kAgent:Rx,kMockAgentSet:Ef,kMockAgentGet:B1,kDispatches:Tx,kIsMockActive:yf,kNetConnect:qa,kGetNetConnect:Voe,kOptions:Cf,kFactory:If}=Tl(),Yoe=xx(),Joe=Sx(),{matchValue:Woe,buildMockOptions:joe}=ad(),{InvalidArgumentError:w1,UndiciError:Koe}=Be(),Xoe=TA(),Zoe=y1(),eae=I1(),vx=class extends Xoe{static{o(this,"MockAgent")}constructor(e){if(super(e),this[qa]=!0,this[yf]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new w1("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new $oe(e);this[Rx]=r,this[Ua]=r[Ua],this[Cf]=joe(e)}get(e){let r=this[B1](e);return r||(r=this[If](e),this[Ef](e,r)),r}dispatch(e,r){return this.get(e.origin),this[Rx].dispatch(e,r)}async close(){await this[Rx].close(),this[Ua].clear()}deactivate(){this[yf]=!1}activate(){this[yf]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[qa])?this[qa].push(e):this[qa]=[e];else if(typeof e>"u")this[qa]=!0;else throw new w1("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[qa]=!1}get isMockActive(){return this[yf]}[Ef](e,r){this[Ua].set(e,r)}[If](e){let r=Object.assign({agent:this},this[Cf]);return this[Cf]&&this[Cf].connections===1?new Yoe(e,r):new Joe(e,r)}[B1](e){let r=this[Ua].get(e);if(r)return r;if(typeof e!="string"){let s=this[If]("http://localhost:9999");return this[Ef](e,s),s}for(let[s,n]of Array.from(this[Ua]))if(n&&typeof s!="string"&&Woe(s,e)){let i=this[If](e);return this[Ef](e,i),i[Tx]=n[Tx],i}}[Voe](){return this[qa]}pendingInterceptors(){let e=this[Ua];return Array.from(e.entries()).flatMap(([r,s])=>s[Tx].map(n=>({...n,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new eae}={}){let r=this.pendingInterceptors();if(r.length===0)return;let s=new Zoe("interceptor","interceptors").pluralize(r.length);throw new Koe(` ${s.count} ${s.noun} ${s.is} pending: ${e.format(r)} `.trim())}};b1.exports=vx});var Bf=g((gUe,R1)=>{"use strict";var Q1=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:tae}=Be(),rae=wl();S1()===void 0&&N1(new rae);function N1(t){if(!t||typeof t.dispatch!="function")throw new tae("Argument agent must implement Agent");Object.defineProperty(globalThis,Q1,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(N1,"setGlobalDispatcher");function S1(){return globalThis[Q1]}o(S1,"getGlobalDispatcher");R1.exports={setGlobalDispatcher:N1,getGlobalDispatcher:S1}});var wf=g((CUe,T1)=>{"use strict";T1.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 P1=g((BUe,v1)=>{"use strict";var sae=ef();v1.exports=t=>{let e=t?.maxRedirections;return r=>o(function(n,i){let{maxRedirections:a=e,...c}=n;if(!a)return r(n,i);let l=new sae(r,a,n,i);return r(c,l)},"redirectInterceptor")}});var D1=g((bUe,k1)=>{"use strict";var nae=df();k1.exports=t=>e=>o(function(s,n){return e(s,new nae({...s,retryOptions:{...t,...s.retryOptions}},{handler:n,dispatch:e}))},"retryInterceptor")});var L1=g((QUe,_1)=>{"use strict";var iae=de(),{InvalidArgumentError:oae,RequestAbortedError:aae}=Be(),cae=wf(),Px=class extends cae{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#s=!1;#r=!1;#n=0;#i=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new oae("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#o=r}onConnect(e){this.#t=e,this.#o.onConnect(this.#a.bind(this))}#a(e){this.#r=!0,this.#i=e}onHeaders(e,r,s,n){let a=iae.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new aae(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#r?!0:this.#o.onHeaders(e,r,s,n)}onError(e){this.#s||(e=this.#i??e,this.#o.onError(e))}onData(e){return this.#n=this.#n+e.length,this.#n>=this.#e&&(this.#s=!0,this.#r?this.#o.onError(this.#i):this.#o.onComplete([])),!0}onComplete(e){if(!this.#s){if(this.#r){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function lae({maxSize:t}={maxSize:1024*1024}){return e=>o(function(s,n){let{dumpMaxSize:i=t}=s,a=new Px({maxSize:i},n);return e(s,a)},"Intercept")}o(lae,"createDumpInterceptor");_1.exports=lae});var F1=g((SUe,O1)=>{"use strict";var{isIP:uae}=require("node:net"),{lookup:Aae}=require("node:dns"),dae=wf(),{InvalidArgumentError:Pl,InformationalError:pae}=Be(),M1=Math.pow(2,31)-1,kx=class{static{o(this,"DNSInstance")}#e=0;#t=0;#s=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#r,this.pick=e.pick??this.#n}get full(){return this.#s.size===this.#t}runLookup(e,r,s){let n=this.#s.get(e.hostname);if(n==null&&this.full){s(null,e.origin);return}let i={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(n==null)this.lookup(e,i,(a,c)=>{if(a||c==null||c.length===0){s(a??new pae("No DNS entries found"));return}this.setRecords(e,c);let l=this.#s.get(e.hostname),u=this.pick(e,l,i.affinity),A;typeof u.port=="number"?A=`:${u.port}`:e.port!==""?A=`:${e.port}`:A="",s(null,`${e.protocol}//${u.family===6?`[${u.address}]`:u.address}${A}`)});else{let a=this.pick(e,n,i.affinity);if(a==null){this.#s.delete(e.hostname),this.runLookup(e,r,s);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",s(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#r(e,r,s){Aae(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(n,i)=>{if(n)return s(n);let a=new Map;for(let c of i)a.set(`${c.address}:${c.family}`,c);s(null,a.values())})}#n(e,r,s){let n=null,{records:i,offset:a}=r,c;if(this.dualStack?(s==null&&(a==null||a===M1?(r.offset=0,s=4):(r.offset++,s=(r.offset&1)===1?6:4)),i[s]!=null&&i[s].ips.length>0?c=i[s]:c=i[s===4?6:4]):c=i[s],c==null||c.ips.length===0)return n;c.offset==null||c.offset===M1?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return n=c.ips[l]??null,n==null?n:Date.now()-n.timestamp>n.ttl?(c.ips.splice(l,1),this.pick(e,r,s)):n}setRecords(e,r){let s=Date.now(),n={records:{4:null,6:null}};for(let i of r){i.timestamp=s,typeof i.ttl=="number"?i.ttl=Math.min(i.ttl,this.#e):i.ttl=this.#e;let a=n.records[i.family]??{ips:[]};a.ips.push(i),n.records[i.family]=a}this.#s.set(e.hostname,n)}getHandler(e,r){return new Dx(this,e,r)}},Dx=class extends dae{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#s=null;#r=null;#n=null;constructor(e,{origin:r,handler:s,dispatch:n},i){super(s),this.#n=r,this.#r=s,this.#t={...i},this.#e=e,this.#s=n}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#n,this.#t,(r,s)=>{if(r)return this.#r.onError(r);let n={...this.#t,origin:s};this.#s(n,this)});return}this.#r.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#n);default:this.#r.onError(e);break}}};O1.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Pl("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Pl("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Pl("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Pl("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Pl("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Pl("Invalid pick. Must be a function");let e=t?.dualStack??!0,r;e?r=t?.affinity??null:r=t?.affinity??4;let s={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:r,maxItems:t?.maxItems??1/0},n=new kx(s);return i=>o(function(c,l){let u=c.origin.constructor===URL?c.origin:new URL(c.origin);return uae(u.hostname)!==0?i(c,l):(n.runLookup(u,c,(A,d)=>{if(A)return l.onError(A);let p=null;p={...c,servername:u.hostname,origin:d,headers:{host:u.hostname,...c.headers}},i(p,n.getHandler({origin:u,dispatch:i,handler:l},c))}),!0)},"dnsInterceptor")}});var Ga=g((TUe,V1)=>{"use strict";var{kConstruct:mae}=$e(),{kEnumerableProperty:kl}=de(),{iteratorMixin:hae,isValidHeaderName:cd,isValidHeaderValue:q1}=Xr(),{webidl:ye}=jt(),_x=require("node:assert"),bf=require("node:util"),Qt=Symbol("headers map"),rs=Symbol("headers map sorted");function U1(t){return t===10||t===13||t===9||t===32}o(U1,"isHTTPWhiteSpaceCharCode");function G1(t){let e=0,r=t.length;for(;r>e&&U1(t.charCodeAt(r-1));)--r;for(;r>e&&U1(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(G1,"headerValueNormalize");function H1(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}o(H1,"fill");function Lx(t,e,r){if(r=G1(r),cd(e)){if(!q1(r))throw ye.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw ye.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if($1(t)==="immutable")throw new TypeError("immutable");return Mx(t).append(e,r,!1)}o(Lx,"appendHeader");function z1(t,e){return t[0]>1),r[u][0]<=A[0]?l=u+1:c=u;if(i!==u){for(a=i;a>l;)r[a]=r[--a];r[l]=A}}if(!s.next().done)throw new TypeError("Unreachable");return r}else{let s=0;for(let{0:n,1:{value:i}}of this[Qt])r[s++]=[n,i],_x(i!==null);return r.sort(z1)}}},mn=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){ye.util.markAsUncloneable(this),e!==mae&&(this.#t=new xf,this.#e="none",e!==void 0&&(e=ye.converters.HeadersInit(e,"Headers contructor","init"),H1(this,e)))}append(e,r){ye.brandCheck(this,t),ye.argumentLengthCheck(arguments,2,"Headers.append");let s="Headers.append";return e=ye.converters.ByteString(e,s,"name"),r=ye.converters.ByteString(r,s,"value"),Lx(this,e,r)}delete(e){if(ye.brandCheck(this,t),ye.argumentLengthCheck(arguments,1,"Headers.delete"),e=ye.converters.ByteString(e,"Headers.delete","name"),!cd(e))throw ye.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){ye.brandCheck(this,t),ye.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=ye.converters.ByteString(e,r,"name"),!cd(e))throw ye.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){ye.brandCheck(this,t),ye.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=ye.converters.ByteString(e,r,"name"),!cd(e))throw ye.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){ye.brandCheck(this,t),ye.argumentLengthCheck(arguments,2,"Headers.set");let s="Headers.set";if(e=ye.converters.ByteString(e,s,"name"),r=ye.converters.ByteString(r,s,"value"),r=G1(r),cd(e)){if(!q1(r))throw ye.errors.invalidArgument({prefix:s,value:r,type:"header value"})}else throw ye.errors.invalidArgument({prefix:s,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){ye.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[rs](){if(this.#t[rs])return this.#t[rs];let e=[],r=this.#t.toSortedArray(),s=this.#t.cookies;if(s===null||s.length===1)return this.#t[rs]=r;for(let n=0;n>"](t,e,r,s.bind(t)):ye.converters["record"](t,e,r)}throw ye.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};V1.exports={fill:H1,compareHeaderName:z1,Headers:mn,HeadersList:xf,getHeadersGuard:$1,setHeadersGuard:fae,setHeadersList:gae,getHeadersList:Mx}});var ud=g((PUe,n2)=>{"use strict";var{Headers:X1,HeadersList:Y1,fill:Eae,getHeadersGuard:yae,setHeadersGuard:Z1,setHeadersList:e2}=Ga(),{extractBody:J1,cloneBody:Cae,mixinBody:Iae,hasFinalizationRegistry:t2,streamRegistry:r2,bodyUnusable:Bae}=pl(),Ox=de(),W1=require("node:util"),{kEnumerableProperty:ss}=Ox,{isValidReasonPhrase:wae,isCancelled:bae,isAborted:xae,isBlobLike:Qae,serializeJavascriptValueToJSONString:Nae,isErrorLike:Sae,isomorphicEncode:Rae,environmentSettingsObject:Tae}=Xr(),{redirectStatusSet:vae,nullBodyStatus:Pae}=kA(),{kState:Ye,kHeaders:Yi}=Qo(),{webidl:le}=jt(),{FormData:kae}=FA(),{URLSerializer:j1}=vr(),{kConstruct:Nf}=$e(),Fx=require("node:assert"),{types:Dae}=require("node:util"),_ae=new TextEncoder("utf-8"),Ha=class t{static{o(this,"Response")}static error(){return ld(Sf(),"immutable")}static json(e,r={}){le.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=le.converters.ResponseInit(r));let s=_ae.encode(Nae(e)),n=J1(s),i=ld(Dl({}),"response");return K1(i,r,{body:n[0],type:"application/json"}),i}static redirect(e,r=302){le.argumentLengthCheck(arguments,1,"Response.redirect"),e=le.converters.USVString(e),r=le.converters["unsigned short"](r);let s;try{s=new URL(e,Tae.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!vae.has(r))throw new RangeError(`Invalid status code ${r}`);let n=ld(Dl({}),"immutable");n[Ye].status=r;let i=Rae(j1(s));return n[Ye].headersList.append("location",i,!0),n}constructor(e=null,r={}){if(le.util.markAsUncloneable(this),e===Nf)return;e!==null&&(e=le.converters.BodyInit(e)),r=le.converters.ResponseInit(r),this[Ye]=Dl({}),this[Yi]=new X1(Nf),Z1(this[Yi],"response"),e2(this[Yi],this[Ye].headersList);let s=null;if(e!=null){let[n,i]=J1(e);s={body:n,type:i}}K1(this,r,s)}get type(){return le.brandCheck(this,t),this[Ye].type}get url(){le.brandCheck(this,t);let e=this[Ye].urlList,r=e[e.length-1]??null;return r===null?"":j1(r,!0)}get redirected(){return le.brandCheck(this,t),this[Ye].urlList.length>1}get status(){return le.brandCheck(this,t),this[Ye].status}get ok(){return le.brandCheck(this,t),this[Ye].status>=200&&this[Ye].status<=299}get statusText(){return le.brandCheck(this,t),this[Ye].statusText}get headers(){return le.brandCheck(this,t),this[Yi]}get body(){return le.brandCheck(this,t),this[Ye].body?this[Ye].body.stream:null}get bodyUsed(){return le.brandCheck(this,t),!!this[Ye].body&&Ox.isDisturbed(this[Ye].body.stream)}clone(){if(le.brandCheck(this,t),Bae(this))throw le.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=Ux(this[Ye]);return t2&&this[Ye].body?.stream&&r2.register(this,new WeakRef(this[Ye].body.stream)),ld(e,yae(this[Yi]))}[W1.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let s={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${W1.formatWithOptions(r,s)}`}};Iae(Ha);Object.defineProperties(Ha.prototype,{type:ss,url:ss,status:ss,ok:ss,redirected:ss,statusText:ss,headers:ss,clone:ss,body:ss,bodyUsed:ss,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(Ha,{json:ss,redirect:ss,error:ss});function Ux(t){if(t.internalResponse)return s2(Ux(t.internalResponse),t.type);let e=Dl({...t,body:null});return t.body!=null&&(e.body=Cae(e,t.body)),e}o(Ux,"cloneResponse");function Dl(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new Y1(t?.headersList):new Y1,urlList:t?.urlList?[...t.urlList]:[]}}o(Dl,"makeResponse");function Sf(t){let e=Sae(t);return Dl({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(Sf,"makeNetworkError");function Lae(t){return t.type==="error"&&t.status===0}o(Lae,"isNetworkError");function Qf(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,s){return s in e?e[s]:r[s]},set(r,s,n){return Fx(!(s in e)),r[s]=n,!0}})}o(Qf,"makeFilteredResponse");function s2(t,e){if(e==="basic")return Qf(t,{type:"basic",headersList:t.headersList});if(e==="cors")return Qf(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return Qf(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return Qf(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});Fx(!1)}o(s2,"filterResponse");function Mae(t,e=null){return Fx(bae(t)),xae(t)?Sf(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):Sf(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(Mae,"makeAppropriateNetworkError");function K1(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&&!wae(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[Ye].status=e.status),"statusText"in e&&e.statusText!=null&&(t[Ye].statusText=e.statusText),"headers"in e&&e.headers!=null&&Eae(t[Yi],e.headers),r){if(Pae.includes(t.status))throw le.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[Ye].body=r.body,r.type!=null&&!t[Ye].headersList.contains("content-type",!0)&&t[Ye].headersList.append("content-type",r.type,!0)}}o(K1,"initializeResponse");function ld(t,e){let r=new Ha(Nf);return r[Ye]=t,r[Yi]=new X1(Nf),e2(r[Yi],t.headersList),Z1(r[Yi],e),t2&&t.body?.stream&&r2.register(r,new WeakRef(t.body.stream)),r}o(ld,"fromInnerResponse");le.converters.ReadableStream=le.interfaceConverter(ReadableStream);le.converters.FormData=le.interfaceConverter(kae);le.converters.URLSearchParams=le.interfaceConverter(URLSearchParams);le.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?le.converters.USVString(t,e,r):Qae(t)?le.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||Dae.isArrayBuffer(t)?le.converters.BufferSource(t,e,r):Ox.isFormDataLike(t)?le.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?le.converters.URLSearchParams(t,e,r):le.converters.DOMString(t,e,r)};le.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?le.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:le.converters.XMLHttpRequestBodyInit(t,e,r)};le.converters.ResponseInit=le.dictionaryConverter([{key:"status",converter:le.converters["unsigned short"],defaultValue:o(()=>200,"defaultValue")},{key:"statusText",converter:le.converters.ByteString,defaultValue:o(()=>"","defaultValue")},{key:"headers",converter:le.converters.HeadersInit}]);n2.exports={isNetworkError:Lae,makeNetworkError:Sf,makeResponse:Dl,makeAppropriateNetworkError:Mae,filterResponse:s2,Response:Ha,cloneResponse:Ux,fromInnerResponse:ld}});var c2=g((DUe,a2)=>{"use strict";var{kConnected:i2,kSize:o2}=$e(),qx=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[i2]===0&&this.value[o2]===0?void 0:this.value}},Gx=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[i2]===0&&e[o2]===0&&this.finalizer(r)})}unregister(e){}};a2.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:qx,FinalizationRegistry:Gx}):{WeakRef,FinalizationRegistry}}});var _l=g((LUe,w2)=>{"use strict";var{extractBody:Oae,mixinBody:Fae,cloneBody:Uae,bodyUnusable:l2}=pl(),{Headers:E2,fill:qae,HeadersList:Pf,setHeadersGuard:zx,getHeadersGuard:Gae,setHeadersList:y2,getHeadersList:u2}=Ga(),{FinalizationRegistry:Hae}=c2()(),Tf=de(),A2=require("node:util"),{isValidHTTPToken:zae,sameOrigin:d2,environmentSettingsObject:Rf}=Xr(),{forbiddenMethodsSet:$ae,corsSafeListedMethodsSet:Vae,referrerPolicy:Yae,requestRedirect:Jae,requestMode:Wae,requestCredentials:jae,requestCache:Kae,requestDuplex:Xae}=kA(),{kEnumerableProperty:Nt,normalizedMethodRecordsBase:Zae,normalizedMethodRecords:ece}=Tf,{kHeaders:ns,kSignal:vf,kState:Ue,kDispatcher:Hx}=Qo(),{webidl:Z}=jt(),{URLSerializer:tce}=vr(),{kConstruct:kf}=$e(),rce=require("node:assert"),{getMaxListeners:p2,setMaxListeners:m2,getEventListeners:sce,defaultMaxListeners:h2}=require("node:events"),nce=Symbol("abortController"),C2=new Hae(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),Df=new WeakMap;function f2(t){return e;function e(){let r=t.deref();if(r!==void 0){C2.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let s=Df.get(r.signal);if(s!==void 0){if(s.size!==0){for(let n of s){let i=n.deref();i!==void 0&&i.abort(this.reason)}s.clear()}Df.delete(r.signal)}}}}o(f2,"buildAbort");var g2=!1,Mo=class t{static{o(this,"Request")}constructor(e,r={}){if(Z.util.markAsUncloneable(this),e===kf)return;let s="Request constructor";Z.argumentLengthCheck(arguments,1,s),e=Z.converters.RequestInfo(e,s,"input"),r=Z.converters.RequestInit(r,s,"init");let n=null,i=null,a=Rf.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[Hx]=r.dispatcher;let E;try{E=new URL(e,a)}catch(y){throw new TypeError("Failed to parse URL from "+e,{cause:y})}if(E.username||E.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);n=_f({urlList:[E]}),i="cors"}else this[Hx]=r.dispatcher||e[Hx],rce(e instanceof t),n=e[Ue],c=e[vf];let l=Rf.settingsObject.origin,u="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&d2(n.window,l)&&(u=n.window),r.window!=null)throw new TypeError(`'window' option '${u}' must be null`);"window"in r&&(u="no-window"),n=_f({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:Rf.settingsObject,window:u,priority:n.priority,origin:n.origin,referrer:n.referrer,referrerPolicy:n.referrerPolicy,mode:n.mode,credentials:n.credentials,cache:n.cache,redirect:n.redirect,integrity:n.integrity,keepalive:n.keepalive,reloadNavigation:n.reloadNavigation,historyNavigation:n.historyNavigation,urlList:[...n.urlList]});let A=Object.keys(r).length!==0;if(A&&(n.mode==="navigate"&&(n.mode="same-origin"),n.reloadNavigation=!1,n.historyNavigation=!1,n.origin="client",n.referrer="client",n.referrerPolicy="",n.url=n.urlList[n.urlList.length-1],n.urlList=[n.url]),r.referrer!==void 0){let E=r.referrer;if(E==="")n.referrer="no-referrer";else{let y;try{y=new URL(E,a)}catch(I){throw new TypeError(`Referrer "${E}" is not a valid URL.`,{cause:I})}y.protocol==="about:"&&y.hostname==="client"||l&&!d2(y,Rf.settingsObject.baseUrl)?n.referrer="client":n.referrer=y}}r.referrerPolicy!==void 0&&(n.referrerPolicy=r.referrerPolicy);let d;if(r.mode!==void 0?d=r.mode:d=i,d==="navigate")throw Z.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(d!=null&&(n.mode=d),r.credentials!==void 0&&(n.credentials=r.credentials),r.cache!==void 0&&(n.cache=r.cache),n.cache==="only-if-cached"&&n.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(n.redirect=r.redirect),r.integrity!=null&&(n.integrity=String(r.integrity)),r.keepalive!==void 0&&(n.keepalive=!!r.keepalive),r.method!==void 0){let E=r.method,y=ece[E];if(y!==void 0)n.method=y;else{if(!zae(E))throw new TypeError(`'${E}' is not a valid HTTP method.`);let I=E.toUpperCase();if($ae.has(I))throw new TypeError(`'${E}' HTTP method is unsupported.`);E=Zae[I]??E,n.method=E}!g2&&n.method==="patch"&&(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),g2=!0)}r.signal!==void 0&&(c=r.signal),this[Ue]=n;let p=new AbortController;if(this[vf]=p.signal,c!=null){if(!c||typeof c.aborted!="boolean"||typeof c.addEventListener!="function")throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(c.aborted)p.abort(c.reason);else{this[nce]=p;let E=new WeakRef(p),y=f2(E);try{(typeof p2=="function"&&p2(c)===h2||sce(c,"abort").length>=h2)&&m2(1500,c)}catch{}Tf.addAbortListener(c,y),C2.register(p,{signal:c,abort:y},y)}}if(this[ns]=new E2(kf),y2(this[ns],n.headersList),zx(this[ns],"request"),d==="no-cors"){if(!Vae.has(n.method))throw new TypeError(`'${n.method} is unsupported in no-cors mode.`);zx(this[ns],"request-no-cors")}if(A){let E=u2(this[ns]),y=r.headers!==void 0?r.headers:new Pf(E);if(E.clear(),y instanceof Pf){for(let{name:I,value:B}of y.rawValues())E.append(I,B,!1);E.cookies=y.cookies}else qae(this[ns],y)}let m=e instanceof t?e[Ue].body:null;if((r.body!=null||m!=null)&&(n.method==="GET"||n.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let h=null;if(r.body!=null){let[E,y]=Oae(r.body,n.keepalive);h=E,y&&!u2(this[ns]).contains("content-type",!0)&&this[ns].append("content-type",y)}let f=h??m;if(f!=null&&f.source==null){if(h!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(n.mode!=="same-origin"&&n.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');n.useCORSPreflightFlag=!0}let C=f;if(h==null&&m!=null){if(l2(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let E=new TransformStream;m.stream.pipeThrough(E),C={source:m.source,length:m.length,stream:E.readable}}this[Ue].body=C}get method(){return Z.brandCheck(this,t),this[Ue].method}get url(){return Z.brandCheck(this,t),tce(this[Ue].url)}get headers(){return Z.brandCheck(this,t),this[ns]}get destination(){return Z.brandCheck(this,t),this[Ue].destination}get referrer(){return Z.brandCheck(this,t),this[Ue].referrer==="no-referrer"?"":this[Ue].referrer==="client"?"about:client":this[Ue].referrer.toString()}get referrerPolicy(){return Z.brandCheck(this,t),this[Ue].referrerPolicy}get mode(){return Z.brandCheck(this,t),this[Ue].mode}get credentials(){return this[Ue].credentials}get cache(){return Z.brandCheck(this,t),this[Ue].cache}get redirect(){return Z.brandCheck(this,t),this[Ue].redirect}get integrity(){return Z.brandCheck(this,t),this[Ue].integrity}get keepalive(){return Z.brandCheck(this,t),this[Ue].keepalive}get isReloadNavigation(){return Z.brandCheck(this,t),this[Ue].reloadNavigation}get isHistoryNavigation(){return Z.brandCheck(this,t),this[Ue].historyNavigation}get signal(){return Z.brandCheck(this,t),this[vf]}get body(){return Z.brandCheck(this,t),this[Ue].body?this[Ue].body.stream:null}get bodyUsed(){return Z.brandCheck(this,t),!!this[Ue].body&&Tf.isDisturbed(this[Ue].body.stream)}get duplex(){return Z.brandCheck(this,t),"half"}clone(){if(Z.brandCheck(this,t),l2(this))throw new TypeError("unusable");let e=I2(this[Ue]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let s=Df.get(this.signal);s===void 0&&(s=new Set,Df.set(this.signal,s));let n=new WeakRef(r);s.add(n),Tf.addAbortListener(r.signal,f2(n))}return B2(e,r.signal,Gae(this[ns]))}[A2.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let s={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${A2.formatWithOptions(r,s)}`}};Fae(Mo);function _f(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 Pf(t.headersList):new Pf}}o(_f,"makeRequest");function I2(t){let e=_f({...t,body:null});return t.body!=null&&(e.body=Uae(e,t.body)),e}o(I2,"cloneRequest");function B2(t,e,r){let s=new Mo(kf);return s[Ue]=t,s[vf]=e,s[ns]=new E2(kf),y2(s[ns],t.headersList),zx(s[ns],r),s}o(B2,"fromInnerRequest");Object.defineProperties(Mo.prototype,{method:Nt,url:Nt,headers:Nt,redirect:Nt,clone:Nt,signal:Nt,duplex:Nt,destination:Nt,body:Nt,bodyUsed:Nt,isHistoryNavigation:Nt,isReloadNavigation:Nt,keepalive:Nt,integrity:Nt,cache:Nt,credentials:Nt,attribute:Nt,referrerPolicy:Nt,referrer:Nt,mode:Nt,[Symbol.toStringTag]:{value:"Request",configurable:!0}});Z.converters.Request=Z.interfaceConverter(Mo);Z.converters.RequestInfo=function(t,e,r){return typeof t=="string"?Z.converters.USVString(t,e,r):t instanceof Mo?Z.converters.Request(t,e,r):Z.converters.USVString(t,e,r)};Z.converters.AbortSignal=Z.interfaceConverter(AbortSignal);Z.converters.RequestInit=Z.dictionaryConverter([{key:"method",converter:Z.converters.ByteString},{key:"headers",converter:Z.converters.HeadersInit},{key:"body",converter:Z.nullableConverter(Z.converters.BodyInit)},{key:"referrer",converter:Z.converters.USVString},{key:"referrerPolicy",converter:Z.converters.DOMString,allowedValues:Yae},{key:"mode",converter:Z.converters.DOMString,allowedValues:Wae},{key:"credentials",converter:Z.converters.DOMString,allowedValues:jae},{key:"cache",converter:Z.converters.DOMString,allowedValues:Kae},{key:"redirect",converter:Z.converters.DOMString,allowedValues:Jae},{key:"integrity",converter:Z.converters.DOMString},{key:"keepalive",converter:Z.converters.boolean},{key:"signal",converter:Z.nullableConverter(t=>Z.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:Z.converters.any},{key:"duplex",converter:Z.converters.DOMString,allowedValues:Xae},{key:"dispatcher",converter:Z.converters.any}]);w2.exports={Request:Mo,makeRequest:_f,fromInnerRequest:B2,cloneRequest:I2}});var dd=g((OUe,O2)=>{"use strict";var{makeNetworkError:Se,makeAppropriateNetworkError:Lf,filterResponse:$x,makeResponse:Mf,fromInnerResponse:ice}=ud(),{HeadersList:b2}=Ga(),{Request:oce,cloneRequest:ace}=_l(),Oo=require("node:zlib"),{bytesMatch:cce,makePolicyContainer:lce,clonePolicyContainer:uce,requestBadPort:Ace,TAOCheck:dce,appendRequestOriginHeader:pce,responseLocationURL:mce,requestCurrentURL:zn,setRequestReferrerPolicyOnRedirect:hce,tryUpgradeRequestToAPotentiallyTrustworthyURL:fce,createOpaqueTimingInfo:jx,appendFetchMetadata:gce,corsCheck:Ece,crossOriginResourcePolicyCheck:yce,determineRequestsReferrer:Cce,coarsenedSharedCurrentTime:Ad,createDeferredPromise:Ice,isBlobLike:Bce,sameOrigin:Wx,isCancelled:za,isAborted:x2,isErrorLike:wce,fullyReadBody:bce,readableStreamClose:xce,isomorphicEncode:Of,urlIsLocal:Qce,urlIsHttpHttpsScheme:Kx,urlHasHttpsScheme:Nce,clampAndCoarsenConnectionTimingInfo:Sce,simpleRangeHeaderValue:Rce,buildContentRange:Tce,createInflate:vce,extractMimeType:Pce}=Xr(),{kState:R2,kDispatcher:kce}=Qo(),$a=require("node:assert"),{safelyExtractBody:Xx,extractBody:Q2}=pl(),{redirectStatusSet:T2,nullBodyStatus:v2,safeMethodsSet:Dce,requestBodyHeader:_ce,subresourceSet:Lce}=kA(),Mce=require("node:events"),{Readable:Oce,pipeline:Fce,finished:Uce}=require("node:stream"),{addAbortListener:qce,isErrored:Gce,isReadable:Ff,bufferToLowerCasedHeaderName:N2}=de(),{dataURLProcessor:Hce,serializeAMimeType:zce,minimizeSupportedMimeType:$ce}=vr(),{getGlobalDispatcher:Vce}=Bf(),{webidl:Yce}=jt(),{STATUS_CODES:Jce}=require("node:http"),Wce=["GET","HEAD"],jce=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",Vx,Uf=class extends Mce{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 Kce(t){P2(t,"fetch")}o(Kce,"handleFetchDone");function Xce(t,e=void 0){Yce.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=Ice(),s;try{s=new oce(t,e)}catch(A){return r.reject(A),r.promise}let n=s[R2];if(s.signal.aborted)return Yx(r,n,null,s.signal.reason),r.promise;n.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(n.serviceWorkers="none");let a=null,c=!1,l=null;return qce(s.signal,()=>{c=!0,$a(l!=null),l.abort(s.signal.reason);let A=a?.deref();Yx(r,n,A,s.signal.reason)}),l=D2({request:n,processResponseEndOfBody:Kce,processResponse:o(A=>{if(!c){if(A.aborted){Yx(r,n,a,l.serializedAbortReason);return}if(A.type==="error"){r.reject(new TypeError("fetch failed",{cause:A.error}));return}a=new WeakRef(ice(A,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:s[kce]}),r.promise}o(Xce,"fetch");function P2(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],s=t.timingInfo,n=t.cacheState;Kx(r)&&s!==null&&(t.timingAllowPassed||(s=jx({startTime:s.startTime}),n=""),s.endTime=Ad(),t.timingInfo=s,k2(s,r.href,e,globalThis,n))}o(P2,"finalizeAndReportTiming");var k2=performance.markResourceTiming;function Yx(t,e,r,s){if(t&&t.reject(s),e.body!=null&&Ff(e.body?.stream)&&e.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),r==null)return;let n=r[R2];n.body!=null&&Ff(n.body?.stream)&&n.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}o(Yx,"abortFetch");function D2({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseEndOfBody:n,processResponseConsumeBody:i,useParallelQueue:a=!1,dispatcher:c=Vce()}){$a(c);let l=null,u=!1;t.client!=null&&(l=t.client.globalObject,u=t.client.crossOriginIsolatedCapability);let A=Ad(u),d=jx({startTime:A}),p={controller:new Uf(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseConsumeBody:i,processResponseEndOfBody:n,taskDestination:l,crossOriginIsolatedCapability:u};return $a(!t.body||t.body.stream),t.window==="client"&&(t.window=t.client?.globalObject?.constructor?.name==="Window"?t.client:"no-window"),t.origin==="client"&&(t.origin=t.client.origin),t.policyContainer==="client"&&(t.client!=null?t.policyContainer=uce(t.client.policyContainer):t.policyContainer=lce()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,Lce.has(t.destination),_2(p).catch(m=>{p.controller.terminate(m)}),p.controller}o(D2,"fetching");async function _2(t,e=!1){let r=t.request,s=null;if(r.localURLsOnly&&!Qce(zn(r))&&(s=Se("local URLs only")),fce(r),Ace(r)==="blocked"&&(s=Se("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=Cce(r)),s===null&&(s=await(async()=>{let i=zn(r);return Wx(i,r.url)&&r.responseTainting==="basic"||i.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await S2(t)):r.mode==="same-origin"?Se('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?Se('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await S2(t)):Kx(zn(r))?(r.responseTainting="cors",await L2(t)):Se("URL scheme must be a HTTP(S) scheme")})()),e)return s;s.status!==0&&!s.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?s=$x(s,"basic"):r.responseTainting==="cors"?s=$x(s,"cors"):r.responseTainting==="opaque"?s=$x(s,"opaque"):$a(!1));let n=s.status===0?s:s.internalResponse;if(n.urlList.length===0&&n.urlList.push(...r.urlList),r.timingAllowFailed||(s.timingAllowPassed=!0),s.type==="opaque"&&n.status===206&&n.rangeRequested&&!r.headers.contains("range",!0)&&(s=n=Se()),s.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||v2.includes(n.status))&&(n.body=null,t.controller.dump=!0),r.integrity){let i=o(c=>Jx(t,Se(c)),"processBodyError");if(r.responseTainting==="opaque"||s.body==null){i(s.error);return}let a=o(c=>{if(!cce(c,r.integrity)){i("integrity mismatch");return}s.body=Xx(c)[0],Jx(t,s)},"processBody");await bce(s.body,a,i)}else Jx(t,s)}o(_2,"mainFetch");function S2(t){if(za(t)&&t.request.redirectCount===0)return Promise.resolve(Lf(t));let{request:e}=t,{protocol:r}=zn(e);switch(r){case"about:":return Promise.resolve(Se("about scheme is not supported"));case"blob:":{Vx||(Vx=require("node:buffer").resolveObjectURL);let s=zn(e);if(s.search.length!==0)return Promise.resolve(Se("NetworkError when attempting to fetch resource."));let n=Vx(s.toString());if(e.method!=="GET"||!Bce(n))return Promise.resolve(Se("invalid method"));let i=Mf(),a=n.size,c=Of(`${a}`),l=n.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let u=e.headersList.get("range",!0),A=Rce(u,!0);if(A==="failure")return Promise.resolve(Se("failed to fetch the data URL"));let{rangeStartValue:d,rangeEndValue:p}=A;if(d===null)d=a-p,p=d+p-1;else{if(d>=a)return Promise.resolve(Se("Range start is greater than the blob's size."));(p===null||p>=a)&&(p=a-1)}let m=n.slice(d,p,l),h=Q2(m);i.body=h[0];let f=Of(`${m.size}`),C=Tce(d,p,a);i.status=206,i.statusText="Partial Content",i.headersList.set("content-length",f,!0),i.headersList.set("content-type",l,!0),i.headersList.set("content-range",C,!0)}else{let u=Q2(n);i.statusText="OK",i.body=u[0],i.headersList.set("content-length",c,!0),i.headersList.set("content-type",l,!0)}return Promise.resolve(i)}case"data:":{let s=zn(e),n=Hce(s);if(n==="failure")return Promise.resolve(Se("failed to fetch the data URL"));let i=zce(n.mimeType);return Promise.resolve(Mf({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:Xx(n.body)[0]}))}case"file:":return Promise.resolve(Se("not implemented... yet..."));case"http:":case"https:":return L2(t).catch(s=>Se(s));default:return Promise.resolve(Se("unknown scheme"))}}o(S2,"schemeFetch");function Zce(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(Zce,"finalizeResponse");function Jx(t,e){let r=t.timingInfo,s=o(()=>{let i=Date.now();t.request.destination==="document"&&(t.controller.fullTimingInfo=r),t.controller.reportTimingSteps=()=>{if(t.request.url.protocol!=="https:")return;r.endTime=i;let c=e.cacheState,l=e.bodyInfo;e.timingAllowPassed||(r=jx(r),c="");let u=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){u=e.status;let A=Pce(e.headersList);A!=="failure"&&(l.contentType=$ce(A))}t.request.initiatorType!=null&&k2(r,t.request.url.href,t.request.initiatorType,globalThis,c,l,u)};let a=o(()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e)),t.request.initiatorType!=null&&t.controller.reportTimingSteps()},"processResponseEndOfBodyTask");queueMicrotask(()=>a())},"processResponseEndOfBody");t.processResponse!=null&&queueMicrotask(()=>{t.processResponse(e),t.processResponse=null});let n=e.type==="error"?e:e.internalResponse??e;n.body==null?s():Uce(n.body.stream,()=>{s()})}o(Jx,"fetchFinale");async function L2(t){let e=t.request,r=null,s=null,n=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),s=r=await M2(t),e.responseTainting==="cors"&&Ece(e,r)==="failure")return Se("cors failure");dce(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&yce(e.origin,e.client,e.destination,s)==="blocked"?Se("blocked"):(T2.has(s.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=Se("unexpected redirect"):e.redirect==="manual"?r=s:e.redirect==="follow"?r=await ele(t,r):$a(!1)),r.timingInfo=n,r)}o(L2,"httpFetch");function ele(t,e){let r=t.request,s=e.internalResponse?e.internalResponse:e,n;try{if(n=mce(s,zn(r).hash),n==null)return e}catch(a){return Promise.resolve(Se(a))}if(!Kx(n))return Promise.resolve(Se("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(Se("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(n.username||n.password)&&!Wx(r,n))return Promise.resolve(Se('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(n.username||n.password))return Promise.resolve(Se('URL cannot contain credentials for request mode "cors"'));if(s.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(Se());if([301,302].includes(s.status)&&r.method==="POST"||s.status===303&&!Wce.includes(r.method)){r.method="GET",r.body=null;for(let a of _ce)r.headersList.delete(a)}Wx(zn(r),n)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&($a(r.body.source!=null),r.body=Xx(r.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=Ad(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),r.urlList.push(n),hce(r,s),_2(t,!0)}o(ele,"httpRedirectFetch");async function M2(t,e=!1,r=!1){let s=t.request,n=null,i=null,a=null,c=null,l=!1;s.window==="no-window"&&s.redirect==="error"?(n=t,i=s):(i=ace(s),n={...t},n.request=i);let u=s.credentials==="include"||s.credentials==="same-origin"&&s.responseTainting==="basic",A=i.body?i.body.length:null,d=null;if(i.body==null&&["POST","PUT"].includes(i.method)&&(d="0"),A!=null&&(d=Of(`${A}`)),d!=null&&i.headersList.append("content-length",d,!0),A!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",Of(i.referrer.href),!0),pce(i),gce(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",jce),i.cache==="default"&&(i.headersList.contains("if-modified-since",!0)||i.headersList.contains("if-none-match",!0)||i.headersList.contains("if-unmodified-since",!0)||i.headersList.contains("if-match",!0)||i.headersList.contains("if-range",!0))&&(i.cache="no-store"),i.cache==="no-cache"&&!i.preventNoCacheCacheControlHeaderModification&&!i.headersList.contains("cache-control",!0)&&i.headersList.append("cache-control","max-age=0",!0),(i.cache==="no-store"||i.cache==="reload")&&(i.headersList.contains("pragma",!0)||i.headersList.append("pragma","no-cache",!0),i.headersList.contains("cache-control",!0)||i.headersList.append("cache-control","no-cache",!0)),i.headersList.contains("range",!0)&&i.headersList.append("accept-encoding","identity",!0),i.headersList.contains("accept-encoding",!0)||(Nce(zn(i))?i.headersList.append("accept-encoding","br, gzip, deflate",!0):i.headersList.append("accept-encoding","gzip, deflate",!0)),i.headersList.delete("host",!0),c==null&&(i.cache="no-store"),i.cache!=="no-store"&&i.cache,a==null){if(i.cache==="only-if-cached")return Se("only if cached");let p=await tle(n,u,r);!Dce.has(i.method)&&p.status>=200&&p.status<=399,l&&p.status,a==null&&(a=p)}if(a.urlList=[...i.urlList],i.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=u,a.status===407)return s.window==="no-window"?Se():za(t)?Lf(t):Se("proxy authentication required");if(a.status===421&&!r&&(s.body==null||s.body.source!=null)){if(za(t))return Lf(t);t.controller.connection.destroy(),a=await M2(t,e,!0)}return a}o(M2,"httpNetworkOrCacheFetch");async function tle(t,e=!1,r=!1){$a(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(h,f=!0){this.destroyed||(this.destroyed=!0,f&&this.abort?.(h??new DOMException("The operation was aborted.","AbortError")))}};let s=t.request,n=null,i=t.timingInfo;null==null&&(s.cache="no-store");let c=r?"yes":"no";s.mode;let l=null;if(s.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(s.body!=null){let h=o(async function*(E){za(t)||(yield E,t.processRequestBodyChunkLength?.(E.byteLength))},"processBodyChunk"),f=o(()=>{za(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),C=o(E=>{za(t)||(E.name==="AbortError"?t.controller.abort():t.controller.terminate(E))},"processBodyError");l=(async function*(){try{for await(let E of s.body.stream)yield*h(E);f()}catch(E){C(E)}})()}try{let{body:h,status:f,statusText:C,headersList:E,socket:y}=await m({body:l});if(y)n=Mf({status:f,statusText:C,headersList:E,socket:y});else{let I=h[Symbol.asyncIterator]();t.controller.next=()=>I.next(),n=Mf({status:f,statusText:C,headersList:E})}}catch(h){return h.name==="AbortError"?(t.controller.connection.destroy(),Lf(t,h)):Se(h)}let u=o(async()=>{await t.controller.resume()},"pullAlgorithm"),A=o(h=>{za(t)||t.controller.abort(h)},"cancelAlgorithm"),d=new ReadableStream({async start(h){t.controller.controller=h},async pull(h){await u(h)},async cancel(h){await A(h)},type:"bytes"});n.body={stream:d,source:null,length:null},t.controller.onAborted=p,t.controller.on("terminated",p),t.controller.resume=async()=>{for(;;){let h,f;try{let{done:E,value:y}=await t.controller.next();if(x2(t))break;h=E?void 0:y}catch(E){t.controller.ended&&!i.encodedBodySize?h=void 0:(h=E,f=!0)}if(h===void 0){xce(t.controller.controller),Zce(t,n);return}if(i.decodedBodySize+=h?.byteLength??0,f){t.controller.terminate(h);return}let C=new Uint8Array(h);if(C.byteLength&&t.controller.controller.enqueue(C),Gce(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function p(h){x2(t)?(n.aborted=!0,Ff(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):Ff(d)&&t.controller.controller.error(new TypeError("terminated",{cause:wce(h)?h:void 0})),t.controller.connection.destroy()}return o(p,"onAborted"),n;function m({body:h}){let f=zn(s),C=t.controller.dispatcher;return new Promise((E,y)=>C.dispatch({path:f.pathname+f.search,origin:f.origin,method:s.method,body:C.isMockActive?s.body&&(s.body.source||s.body.stream):h,headers:s.headersList.entries,maxRedirections:0,upgrade:s.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(I){let{connection:B}=t.controller;i.finalConnectionTimingInfo=Sce(void 0,i.postRedirectStartTime,t.crossOriginIsolatedCapability),B.destroyed?I(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",I),this.abort=B.abort=I),i.finalNetworkRequestStartTime=Ad(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=Ad(t.crossOriginIsolatedCapability)},onHeaders(I,B,S,R){if(I<200)return;let q="",we=new b2;for(let pe=0;pece)return y(new Error(`too many content-encodings in response: ${bt.length}, maximum allowed is ${ce}`)),!0;for(let on=bt.length-1;on>=0;--on){let $=bt[on].trim();if($==="x-gzip"||$==="gzip")et.push(Oo.createGunzip({flush:Oo.constants.Z_SYNC_FLUSH,finishFlush:Oo.constants.Z_SYNC_FLUSH}));else if($==="deflate")et.push(vce({flush:Oo.constants.Z_SYNC_FLUSH,finishFlush:Oo.constants.Z_SYNC_FLUSH}));else if($==="br")et.push(Oo.createBrotliDecompress({flush:Oo.constants.BROTLI_OPERATION_FLUSH,finishFlush:Oo.constants.BROTLI_OPERATION_FLUSH}));else{et.length=0;break}}}let _e=this.onError.bind(this);return E({status:I,statusText:R,headersList:we,body:et.length?Fce(this.body,...et,pe=>{pe&&this.onError(pe)}).on("error",_e):this.body.on("error",_e)}),!0},onData(I){if(t.controller.dump)return;let B=I;return i.encodedBodySize+=B.byteLength,this.body.push(B)},onComplete(){this.abort&&t.controller.off("terminated",this.abort),t.controller.onAborted&&t.controller.off("terminated",t.controller.onAborted),t.controller.ended=!0,this.body.push(null)},onError(I){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(I),t.controller.terminate(I),y(I)},onUpgrade(I,B,S){if(I!==101)return;let R=new b2;for(let q=0;q{"use strict";F2.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 q2=g((qUe,U2)=>{"use strict";var{webidl:is}=jt(),qf=Symbol("ProgressEvent state"),eQ=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=is.converters.DOMString(e,"ProgressEvent constructor","type"),r=is.converters.ProgressEventInit(r??{}),super(e,r),this[qf]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return is.brandCheck(this,t),this[qf].lengthComputable}get loaded(){return is.brandCheck(this,t),this[qf].loaded}get total(){return is.brandCheck(this,t),this[qf].total}};is.converters.ProgressEventInit=is.dictionaryConverter([{key:"lengthComputable",converter:is.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:is.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:is.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:is.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:is.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:is.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);U2.exports={ProgressEvent:eQ}});var H2=g((HUe,G2)=>{"use strict";function rle(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(rle,"getEncoding");G2.exports={getEncoding:rle}});var K2=g(($Ue,j2)=>{"use strict";var{kState:Ll,kError:tQ,kResult:z2,kAborted:pd,kLastProgressEventFired:rQ}=Zx(),{ProgressEvent:sle}=q2(),{getEncoding:$2}=H2(),{serializeAMimeType:nle,parseMIMEType:V2}=vr(),{types:ile}=require("node:util"),{StringDecoder:Y2}=require("string_decoder"),{btoa:J2}=require("node:buffer"),ole={enumerable:!0,writable:!1,configurable:!1};function ale(t,e,r,s){if(t[Ll]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Ll]="loading",t[z2]=null,t[tQ]=null;let i=e.stream().getReader(),a=[],c=i.read(),l=!0;(async()=>{for(;!t[pd];)try{let{done:u,value:A}=await c;if(l&&!t[pd]&&queueMicrotask(()=>{Fo("loadstart",t)}),l=!1,!u&&ile.isUint8Array(A))a.push(A),(t[rQ]===void 0||Date.now()-t[rQ]>=50)&&!t[pd]&&(t[rQ]=Date.now(),queueMicrotask(()=>{Fo("progress",t)})),c=i.read();else if(u){queueMicrotask(()=>{t[Ll]="done";try{let d=cle(a,r,e.type,s);if(t[pd])return;t[z2]=d,Fo("load",t)}catch(d){t[tQ]=d,Fo("error",t)}t[Ll]!=="loading"&&Fo("loadend",t)});break}}catch(u){if(t[pd])return;queueMicrotask(()=>{t[Ll]="done",t[tQ]=u,Fo("error",t),t[Ll]!=="loading"&&Fo("loadend",t)});break}})()}o(ale,"readOperation");function Fo(t,e){let r=new sle(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(Fo,"fireAProgressEvent");function cle(t,e,r,s){switch(e){case"DataURL":{let n="data:",i=V2(r||"application/octet-stream");i!=="failure"&&(n+=nle(i)),n+=";base64,";let a=new Y2("latin1");for(let c of t)n+=J2(a.write(c));return n+=J2(a.end()),n}case"Text":{let n="failure";if(s&&(n=$2(s)),n==="failure"&&r){let i=V2(r);i!=="failure"&&(n=$2(i.parameters.get("charset")))}return n==="failure"&&(n="UTF-8"),lle(t,n)}case"ArrayBuffer":return W2(t).buffer;case"BinaryString":{let n="",i=new Y2("latin1");for(let a of t)n+=i.write(a);return n+=i.end(),n}}}o(cle,"packageData");function lle(t,e){let r=W2(t),s=ule(r),n=0;s!==null&&(e=s,n=s==="UTF-8"?3:2);let i=r.slice(n);return new TextDecoder(e).decode(i)}o(lle,"decode");function ule(t){let[e,r,s]=t;return e===239&&r===187&&s===191?"UTF-8":e===254&&r===255?"UTF-16BE":e===255&&r===254?"UTF-16LE":null}o(ule,"BOMSniffing");function W2(t){let e=t.reduce((s,n)=>s+n.byteLength,0),r=0;return t.reduce((s,n)=>(s.set(n,r),r+=n.byteLength,s),new Uint8Array(e))}o(W2,"combineByteSequences");j2.exports={staticPropertyDescriptors:ole,readOperation:ale,fireAProgressEvent:Fo}});var tq=g((YUe,eq)=>{"use strict";var{staticPropertyDescriptors:Ml,readOperation:Gf,fireAProgressEvent:X2}=K2(),{kState:Va,kError:Z2,kResult:Hf,kEvents:be,kAborted:Ale}=Zx(),{webidl:ve}=jt(),{kEnumerableProperty:Dr}=de(),hn=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[Va]="empty",this[Hf]=null,this[Z2]=null,this[be]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=ve.converters.Blob(e,{strict:!1}),Gf(this,e,"ArrayBuffer")}readAsBinaryString(e){ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=ve.converters.Blob(e,{strict:!1}),Gf(this,e,"BinaryString")}readAsText(e,r=void 0){ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=ve.converters.Blob(e,{strict:!1}),r!==void 0&&(r=ve.converters.DOMString(r,"FileReader.readAsText","encoding")),Gf(this,e,"Text",r)}readAsDataURL(e){ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=ve.converters.Blob(e,{strict:!1}),Gf(this,e,"DataURL")}abort(){if(this[Va]==="empty"||this[Va]==="done"){this[Hf]=null;return}this[Va]==="loading"&&(this[Va]="done",this[Hf]=null),this[Ale]=!0,X2("abort",this),this[Va]!=="loading"&&X2("loadend",this)}get readyState(){switch(ve.brandCheck(this,t),this[Va]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return ve.brandCheck(this,t),this[Hf]}get error(){return ve.brandCheck(this,t),this[Z2]}get onloadend(){return ve.brandCheck(this,t),this[be].loadend}set onloadend(e){ve.brandCheck(this,t),this[be].loadend&&this.removeEventListener("loadend",this[be].loadend),typeof e=="function"?(this[be].loadend=e,this.addEventListener("loadend",e)):this[be].loadend=null}get onerror(){return ve.brandCheck(this,t),this[be].error}set onerror(e){ve.brandCheck(this,t),this[be].error&&this.removeEventListener("error",this[be].error),typeof e=="function"?(this[be].error=e,this.addEventListener("error",e)):this[be].error=null}get onloadstart(){return ve.brandCheck(this,t),this[be].loadstart}set onloadstart(e){ve.brandCheck(this,t),this[be].loadstart&&this.removeEventListener("loadstart",this[be].loadstart),typeof e=="function"?(this[be].loadstart=e,this.addEventListener("loadstart",e)):this[be].loadstart=null}get onprogress(){return ve.brandCheck(this,t),this[be].progress}set onprogress(e){ve.brandCheck(this,t),this[be].progress&&this.removeEventListener("progress",this[be].progress),typeof e=="function"?(this[be].progress=e,this.addEventListener("progress",e)):this[be].progress=null}get onload(){return ve.brandCheck(this,t),this[be].load}set onload(e){ve.brandCheck(this,t),this[be].load&&this.removeEventListener("load",this[be].load),typeof e=="function"?(this[be].load=e,this.addEventListener("load",e)):this[be].load=null}get onabort(){return ve.brandCheck(this,t),this[be].abort}set onabort(e){ve.brandCheck(this,t),this[be].abort&&this.removeEventListener("abort",this[be].abort),typeof e=="function"?(this[be].abort=e,this.addEventListener("abort",e)):this[be].abort=null}};hn.EMPTY=hn.prototype.EMPTY=0;hn.LOADING=hn.prototype.LOADING=1;hn.DONE=hn.prototype.DONE=2;Object.defineProperties(hn.prototype,{EMPTY:Ml,LOADING:Ml,DONE:Ml,readAsArrayBuffer:Dr,readAsBinaryString:Dr,readAsText:Dr,readAsDataURL:Dr,abort:Dr,readyState:Dr,result:Dr,error:Dr,onloadstart:Dr,onprogress:Dr,onload:Dr,onabort:Dr,onerror:Dr,onloadend:Dr,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(hn,{EMPTY:Ml,LOADING:Ml,DONE:Ml});eq.exports={FileReader:hn}});var zf=g((WUe,rq)=>{"use strict";rq.exports={kConstruct:$e().kConstruct}});var iq=g((jUe,nq)=>{"use strict";var dle=require("node:assert"),{URLSerializer:sq}=vr(),{isValidHeaderName:ple}=Xr();function mle(t,e,r=!1){let s=sq(t,r),n=sq(e,r);return s===n}o(mle,"urlEquals");function hle(t){dle(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),ple(r)&&e.push(r);return e}o(hle,"getFieldValues");nq.exports={urlEquals:mle,getFieldValues:hle}});var cq=g((XUe,aq)=>{"use strict";var{kConstruct:fle}=zf(),{urlEquals:gle,getFieldValues:sQ}=iq(),{kEnumerableProperty:Ya,isDisturbed:Ele}=de(),{webidl:Y}=jt(),{Response:yle,cloneResponse:Cle,fromInnerResponse:Ile}=ud(),{Request:Ji,fromInnerRequest:Ble}=_l(),{kState:fn}=Qo(),{fetching:wle}=dd(),{urlIsHttpHttpsScheme:$f,createDeferredPromise:Ol,readAllBytes:ble}=Xr(),nQ=require("node:assert"),Vf=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==fle&&Y.illegalConstructor(),Y.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){Y.brandCheck(this,t);let s="Cache.match";Y.argumentLengthCheck(arguments,1,s),e=Y.converters.RequestInfo(e,s,"request"),r=Y.converters.CacheQueryOptions(r,s,"options");let n=this.#n(e,r,1);if(n.length!==0)return n[0]}async matchAll(e=void 0,r={}){Y.brandCheck(this,t);let s="Cache.matchAll";return e!==void 0&&(e=Y.converters.RequestInfo(e,s,"request")),r=Y.converters.CacheQueryOptions(r,s,"options"),this.#n(e,r)}async add(e){Y.brandCheck(this,t);let r="Cache.add";Y.argumentLengthCheck(arguments,1,r),e=Y.converters.RequestInfo(e,r,"request");let s=[e];return await this.addAll(s)}async addAll(e){Y.brandCheck(this,t);let r="Cache.addAll";Y.argumentLengthCheck(arguments,1,r);let s=[],n=[];for(let p of e){if(p===void 0)throw Y.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(p=Y.converters.RequestInfo(p),typeof p=="string")continue;let m=p[fn];if(!$f(m.url)||m.method!=="GET")throw Y.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let p of e){let m=new Ji(p)[fn];if(!$f(m.url))throw Y.errors.exception({header:r,message:"Expected http/s scheme."});m.initiator="fetch",m.destination="subresource",n.push(m);let h=Ol();i.push(wle({request:m,processResponse(f){if(f.type==="error"||f.status===206||f.status<200||f.status>299)h.reject(Y.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(f.headersList.contains("vary")){let C=sQ(f.headersList.get("vary"));for(let E of C)if(E==="*"){h.reject(Y.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let y of i)y.abort();return}}},processResponseEndOfBody(f){if(f.aborted){h.reject(new DOMException("aborted","AbortError"));return}h.resolve(f)}})),s.push(h.promise)}let c=await Promise.all(s),l=[],u=0;for(let p of c){let m={type:"put",request:n[u],response:p};l.push(m),u++}let A=Ol(),d=null;try{this.#t(l)}catch(p){d=p}return queueMicrotask(()=>{d===null?A.resolve(void 0):A.reject(d)}),A.promise}async put(e,r){Y.brandCheck(this,t);let s="Cache.put";Y.argumentLengthCheck(arguments,2,s),e=Y.converters.RequestInfo(e,s,"request"),r=Y.converters.Response(r,s,"response");let n=null;if(e instanceof Ji?n=e[fn]:n=new Ji(e)[fn],!$f(n.url)||n.method!=="GET")throw Y.errors.exception({header:s,message:"Expected an http/s scheme when method is not GET"});let i=r[fn];if(i.status===206)throw Y.errors.exception({header:s,message:"Got 206 status"});if(i.headersList.contains("vary")){let m=sQ(i.headersList.get("vary"));for(let h of m)if(h==="*")throw Y.errors.exception({header:s,message:"Got * vary field value"})}if(i.body&&(Ele(i.body.stream)||i.body.stream.locked))throw Y.errors.exception({header:s,message:"Response body is locked or disturbed"});let a=Cle(i),c=Ol();if(i.body!=null){let h=i.body.stream.getReader();ble(h).then(c.resolve,c.reject)}else c.resolve(void 0);let l=[],u={type:"put",request:n,response:a};l.push(u);let A=await c.promise;a.body!=null&&(a.body.source=A);let d=Ol(),p=null;try{this.#t(l)}catch(m){p=m}return queueMicrotask(()=>{p===null?d.resolve():d.reject(p)}),d.promise}async delete(e,r={}){Y.brandCheck(this,t);let s="Cache.delete";Y.argumentLengthCheck(arguments,1,s),e=Y.converters.RequestInfo(e,s,"request"),r=Y.converters.CacheQueryOptions(r,s,"options");let n=null;if(e instanceof Ji){if(n=e[fn],n.method!=="GET"&&!r.ignoreMethod)return!1}else nQ(typeof e=="string"),n=new Ji(e)[fn];let i=[],a={type:"delete",request:n,options:r};i.push(a);let c=Ol(),l=null,u;try{u=this.#t(i)}catch(A){l=A}return queueMicrotask(()=>{l===null?c.resolve(!!u?.length):c.reject(l)}),c.promise}async keys(e=void 0,r={}){Y.brandCheck(this,t);let s="Cache.keys";e!==void 0&&(e=Y.converters.RequestInfo(e,s,"request")),r=Y.converters.CacheQueryOptions(r,s,"options");let n=null;if(e!==void 0)if(e instanceof Ji){if(n=e[fn],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new Ji(e)[fn]);let i=Ol(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#s(n,r);for(let l of c)a.push(l[0])}return queueMicrotask(()=>{let c=[];for(let l of a){let u=Ble(l,new AbortController().signal,"immutable");c.push(u)}i.resolve(Object.freeze(c))}),i.promise}#t(e){let r=this.#e,s=[...r],n=[],i=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#s(a.request,a.options,n).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#s(a.request,a.options),c.length===0)return[];for(let l of c){let u=r.indexOf(l);nQ(u!==-1),r.splice(u,1)}}else if(a.type==="put"){if(a.response==null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!$f(l.url))throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#s(a.request);for(let u of c){let A=r.indexOf(u);nQ(A!==-1),r.splice(A,1)}r.push([a.request,a.response]),n.push([a.request,a.response])}i.push([a.request,a.response])}return i}catch(a){throw this.#e.length=0,this.#e=s,a}}#s(e,r,s){let n=[],i=s??this.#e;for(let a of i){let[c,l]=a;this.#r(e,c,l,r)&&n.push(a)}return n}#r(e,r,s=null,n){let i=new URL(e.url),a=new URL(r.url);if(n?.ignoreSearch&&(a.search="",i.search=""),!gle(i,a,!0))return!1;if(s==null||n?.ignoreVary||!s.headersList.contains("vary"))return!0;let c=sQ(s.headersList.get("vary"));for(let l of c){if(l==="*")return!1;let u=r.headersList.get(l),A=e.headersList.get(l);if(u!==A)return!1}return!0}#n(e,r,s=1/0){let n=null;if(e!==void 0)if(e instanceof Ji){if(n=e[fn],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new Ji(e)[fn]);let i=[];if(e===void 0)for(let c of this.#e)i.push(c[1]);else{let c=this.#s(n,r);for(let l of c)i.push(l[1])}let a=[];for(let c of i){let l=Ile(c,"immutable");if(a.push(l.clone()),a.length>=s)break}return Object.freeze(a)}};Object.defineProperties(Vf.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Ya,matchAll:Ya,add:Ya,addAll:Ya,put:Ya,delete:Ya,keys:Ya});var oq=[{key:"ignoreSearch",converter:Y.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreMethod",converter:Y.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreVary",converter:Y.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];Y.converters.CacheQueryOptions=Y.dictionaryConverter(oq);Y.converters.MultiCacheQueryOptions=Y.dictionaryConverter([...oq,{key:"cacheName",converter:Y.converters.DOMString}]);Y.converters.Response=Y.interfaceConverter(yle);Y.converters["sequence"]=Y.sequenceConverter(Y.converters.RequestInfo);aq.exports={Cache:Vf}});var uq=g((e1e,lq)=>{"use strict";var{kConstruct:md}=zf(),{Cache:Yf}=cq(),{webidl:nr}=jt(),{kEnumerableProperty:hd}=de(),Jf=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==md&&nr.illegalConstructor(),nr.util.markAsUncloneable(this)}async match(e,r={}){if(nr.brandCheck(this,t),nr.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=nr.converters.RequestInfo(e),r=nr.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let s=this.#e.get(r.cacheName);return await new Yf(md,s).match(e,r)}}else for(let s of this.#e.values()){let i=await new Yf(md,s).match(e,r);if(i!==void 0)return i}}async has(e){nr.brandCheck(this,t);let r="CacheStorage.has";return nr.argumentLengthCheck(arguments,1,r),e=nr.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){nr.brandCheck(this,t);let r="CacheStorage.open";if(nr.argumentLengthCheck(arguments,1,r),e=nr.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let n=this.#e.get(e);return new Yf(md,n)}let s=[];return this.#e.set(e,s),new Yf(md,s)}async delete(e){nr.brandCheck(this,t);let r="CacheStorage.delete";return nr.argumentLengthCheck(arguments,1,r),e=nr.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return nr.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(Jf.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:hd,has:hd,open:hd,delete:hd,keys:hd});lq.exports={CacheStorage:Jf}});var dq=g((r1e,Aq)=>{"use strict";Aq.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var aQ=g((s1e,fq)=>{"use strict";function xle(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(xle,"isCTLExcludingHtab");function iQ(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(iQ,"validateCookieName");function oQ(t){let e=t.length,r=0;if(t[0]==='"'){if(e===1||t[e-1]!=='"')throw new Error("Invalid cookie value");--e,++r}for(;r126||s===34||s===44||s===59||s===92)throw new Error("Invalid cookie value")}}o(oQ,"validateCookieValue");function mq(t){for(let e=0;e126||r===59)throw new Error("Invalid cookie path")}}o(mq,"validateCookiePath");function pq(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}o(pq,"isLetterOrDigit");function Qle(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(Qle,"validateCookieDomain");var Nle=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Sle=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Wf=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function hq(t){return typeof t=="number"&&(t=new Date(t)),`${Nle[t.getUTCDay()]}, ${Wf[t.getUTCDate()]} ${Sle[t.getUTCMonth()]} ${t.getUTCFullYear()} ${Wf[t.getUTCHours()]}:${Wf[t.getUTCMinutes()]}:${Wf[t.getUTCSeconds()]} GMT`}o(hq,"toIMFDate");function Rle(t){if(t<0)throw new Error("Invalid cookie max-age")}o(Rle,"validateCookieMaxAge");function Tle(t){if(t.name.length===0)return null;iQ(t.name),oQ(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"&&(Rle(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(Qle(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(mq(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${hq(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let r of t.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[s,...n]=r.split("="),i=s.trim(),a=n.join("=");iQ(i),oQ(a),e.push(`${i}=${a}`)}return e.join("; ")}o(Tle,"stringify");fq.exports={isCTLExcludingHtab:xle,validateCookieName:iQ,validateCookiePath:mq,validateCookieValue:oQ,toIMFDate:hq,stringify:Tle}});var Eq=g((i1e,gq)=>{"use strict";var{maxNameValuePairSize:vle,maxAttributeValueSize:Ple}=dq(),{isCTLExcludingHtab:kle}=aQ(),{collectASequenceOfCodePointsFast:jf}=vr(),Dle=require("node:assert");function _le(t){if(kle(t))return null;let e="",r="",s="",n="";if(t.includes(";")){let i={position:0};e=jf(";",t,i),r=t.slice(i.position)}else e=t;if(!e.includes("="))n=e;else{let i={position:0};s=jf("=",e,i),n=e.slice(i.position+1)}return s=s.trim(),n=n.trim(),s.length+n.length>vle?null:{name:s,value:n,...Fl(r)}}o(_le,"parseSetCookie");function Fl(t,e={}){if(t.length===0)return e;Dle(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=jf(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let s="",n="";if(r.includes("=")){let a={position:0};s=jf("=",r,a),n=r.slice(a.position+1)}else s=r;if(s=s.trim(),n=n.trim(),n.length>Ple)return Fl(t,e);let i=s.toLowerCase();if(i==="expires"){let a=new Date(n);e.expires=a}else if(i==="max-age"){let a=n.charCodeAt(0);if((a<48||a>57)&&n[0]!=="-"||!/^\d+$/.test(n))return Fl(t,e);let c=Number(n);e.maxAge=c}else if(i==="domain"){let a=n;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(i==="path"){let a="";n.length===0||n[0]!=="/"?a="/":a=n,e.path=a}else if(i==="secure")e.secure=!0;else if(i==="httponly")e.httpOnly=!0;else if(i==="samesite"){let a=n.toLowerCase();a==="none"?e.sameSite="None":a==="strict"?e.sameSite="Strict":a==="lax"&&(e.sameSite="Lax")}else e.unparsed??=[],e.unparsed.push(`${s}=${n}`);return Fl(t,e)}o(Fl,"parseUnparsedAttributes");gq.exports={parseSetCookie:_le,parseUnparsedAttributes:Fl}});var Iq=g((a1e,Cq)=>{"use strict";var{parseSetCookie:Lle}=Eq(),{stringify:Mle}=aQ(),{webidl:Ee}=jt(),{Headers:Kf}=Ga();function Ole(t){Ee.argumentLengthCheck(arguments,1,"getCookies"),Ee.brandCheck(t,Kf,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let s of e.split(";")){let[n,...i]=s.split("=");r[n.trim()]=i.join("=")}return r}o(Ole,"getCookies");function Fle(t,e,r){Ee.brandCheck(t,Kf,{strict:!1});let s="deleteCookie";Ee.argumentLengthCheck(arguments,2,s),e=Ee.converters.DOMString(e,s,"name"),r=Ee.converters.DeleteCookieAttributes(r),yq(t,{name:e,value:"",expires:new Date(0),...r})}o(Fle,"deleteCookie");function Ule(t){Ee.argumentLengthCheck(arguments,1,"getSetCookies"),Ee.brandCheck(t,Kf,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>Lle(r)):[]}o(Ule,"getSetCookies");function yq(t,e){Ee.argumentLengthCheck(arguments,2,"setCookie"),Ee.brandCheck(t,Kf,{strict:!1}),e=Ee.converters.Cookie(e);let r=Mle(e);r&&t.append("Set-Cookie",r)}o(yq,"setCookie");Ee.converters.DeleteCookieAttributes=Ee.dictionaryConverter([{converter:Ee.nullableConverter(Ee.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:Ee.nullableConverter(Ee.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")}]);Ee.converters.Cookie=Ee.dictionaryConverter([{converter:Ee.converters.DOMString,key:"name"},{converter:Ee.converters.DOMString,key:"value"},{converter:Ee.nullableConverter(t=>typeof t=="number"?Ee.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:o(()=>null,"defaultValue")},{converter:Ee.nullableConverter(Ee.converters["long long"]),key:"maxAge",defaultValue:o(()=>null,"defaultValue")},{converter:Ee.nullableConverter(Ee.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")},{converter:Ee.nullableConverter(Ee.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:Ee.nullableConverter(Ee.converters.boolean),key:"secure",defaultValue:o(()=>null,"defaultValue")},{converter:Ee.nullableConverter(Ee.converters.boolean),key:"httpOnly",defaultValue:o(()=>null,"defaultValue")},{converter:Ee.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:Ee.sequenceConverter(Ee.converters.DOMString),key:"unparsed",defaultValue:o(()=>new Array(0),"defaultValue")}]);Cq.exports={getCookies:Ole,deleteCookie:Fle,getSetCookies:Ule,setCookie:yq}});var ql=g((l1e,wq)=>{"use strict";var{webidl:V}=jt(),{kEnumerableProperty:_r}=de(),{kConstruct:Bq}=$e(),{MessagePort:qle}=require("node:worker_threads"),Ul=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===Bq){super(arguments[1],arguments[2]),V.util.markAsUncloneable(this);return}let s="MessageEvent constructor";V.argumentLengthCheck(arguments,1,s),e=V.converters.DOMString(e,s,"type"),r=V.converters.MessageEventInit(r,s,"eventInitDict"),super(e,r),this.#e=r,V.util.markAsUncloneable(this)}get data(){return V.brandCheck(this,t),this.#e.data}get origin(){return V.brandCheck(this,t),this.#e.origin}get lastEventId(){return V.brandCheck(this,t),this.#e.lastEventId}get source(){return V.brandCheck(this,t),this.#e.source}get ports(){return V.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,s=!1,n=null,i="",a="",c=null,l=[]){return V.brandCheck(this,t),V.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:s,data:n,origin:i,lastEventId:a,source:c,ports:l})}static createFastMessageEvent(e,r){let s=new t(Bq,e,r);return s.#e=r,s.#e.data??=null,s.#e.origin??="",s.#e.lastEventId??="",s.#e.source??=null,s.#e.ports??=[],s}},{createFastMessageEvent:Gle}=Ul;delete Ul.createFastMessageEvent;var Xf=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let s="CloseEvent constructor";V.argumentLengthCheck(arguments,1,s),e=V.converters.DOMString(e,s,"type"),r=V.converters.CloseEventInit(r),super(e,r),this.#e=r,V.util.markAsUncloneable(this)}get wasClean(){return V.brandCheck(this,t),this.#e.wasClean}get code(){return V.brandCheck(this,t),this.#e.code}get reason(){return V.brandCheck(this,t),this.#e.reason}},Zf=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let s="ErrorEvent constructor";V.argumentLengthCheck(arguments,1,s),super(e,r),V.util.markAsUncloneable(this),e=V.converters.DOMString(e,s,"type"),r=V.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return V.brandCheck(this,t),this.#e.message}get filename(){return V.brandCheck(this,t),this.#e.filename}get lineno(){return V.brandCheck(this,t),this.#e.lineno}get colno(){return V.brandCheck(this,t),this.#e.colno}get error(){return V.brandCheck(this,t),this.#e.error}};Object.defineProperties(Ul.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:_r,origin:_r,lastEventId:_r,source:_r,ports:_r,initMessageEvent:_r});Object.defineProperties(Xf.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:_r,code:_r,wasClean:_r});Object.defineProperties(Zf.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:_r,filename:_r,lineno:_r,colno:_r,error:_r});V.converters.MessagePort=V.interfaceConverter(qle);V.converters["sequence"]=V.sequenceConverter(V.converters.MessagePort);var cQ=[{key:"bubbles",converter:V.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:V.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:V.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];V.converters.MessageEventInit=V.dictionaryConverter([...cQ,{key:"data",converter:V.converters.any,defaultValue:o(()=>null,"defaultValue")},{key:"origin",converter:V.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lastEventId",converter:V.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"source",converter:V.nullableConverter(V.converters.MessagePort),defaultValue:o(()=>null,"defaultValue")},{key:"ports",converter:V.converters["sequence"],defaultValue:o(()=>new Array(0),"defaultValue")}]);V.converters.CloseEventInit=V.dictionaryConverter([...cQ,{key:"wasClean",converter:V.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"code",converter:V.converters["unsigned short"],defaultValue:o(()=>0,"defaultValue")},{key:"reason",converter:V.converters.USVString,defaultValue:o(()=>"","defaultValue")}]);V.converters.ErrorEventInit=V.dictionaryConverter([...cQ,{key:"message",converter:V.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"filename",converter:V.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lineno",converter:V.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"colno",converter:V.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"error",converter:V.converters.any}]);wq.exports={MessageEvent:Ul,CloseEvent:Xf,ErrorEvent:Zf,createFastMessageEvent:Gle}});var Ja=g((A1e,bq)=>{"use strict";var Hle="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",zle={enumerable:!0,writable:!1,configurable:!1},$le={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},Vle={NOT_SENT:0,PROCESSING:1,SENT:2},Yle={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},Jle=2**16-1,Wle={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},jle=Buffer.allocUnsafe(0),Kle={string:1,typedArray:2,arrayBuffer:3,blob:4};bq.exports={uid:Hle,sentCloseFrameState:Vle,staticPropertyDescriptors:zle,states:$le,opcodes:Yle,maxUnsigned16Bit:Jle,parserStates:Wle,emptyBuffer:jle,sendHints:Kle}});var fd=g((d1e,xq)=>{"use strict";xq.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 yd=g((p1e,Dq)=>{"use strict";var{kReadyState:gd,kController:Xle,kResponse:Zle,kBinaryType:eue,kWebSocketURL:tue}=fd(),{states:Ed,opcodes:Uo}=Ja(),{ErrorEvent:rue,createFastMessageEvent:sue}=ql(),{isUtf8:nue}=require("node:buffer"),{collectASequenceOfCodePointsFast:iue,removeHTTPWhitespace:Qq}=vr();function oue(t){return t[gd]===Ed.CONNECTING}o(oue,"isConnecting");function aue(t){return t[gd]===Ed.OPEN}o(aue,"isEstablished");function cue(t){return t[gd]===Ed.CLOSING}o(cue,"isClosing");function lue(t){return t[gd]===Ed.CLOSED}o(lue,"isClosed");function lQ(t,e,r=(n,i)=>new Event(n,i),s={}){let n=r(t,s);e.dispatchEvent(n)}o(lQ,"fireEvent");function uue(t,e,r){if(t[gd]!==Ed.OPEN)return;let s;if(e===Uo.TEXT)try{s=kq(r)}catch{Sq(t,"Received invalid UTF-8 in text frame.");return}else e===Uo.BINARY&&(t[eue]==="blob"?s=new Blob([r]):s=Aue(r));lQ("message",t,sue,{origin:t[tue].origin,data:s})}o(uue,"websocketMessageReceived");function Aue(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(Aue,"toArrayBuffer");function due(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(due,"isValidSubprotocol");function pue(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(pue,"isValidStatusCode");function Sq(t,e){let{[Xle]:r,[Zle]:s}=t;r.abort(),s?.socket&&!s.socket.destroyed&&s.socket.destroy(),e&&lQ("error",t,(n,i)=>new rue(n,i),{error:new Error(e),message:e})}o(Sq,"failWebsocketConnection");function Rq(t){return t===Uo.CLOSE||t===Uo.PING||t===Uo.PONG}o(Rq,"isControlFrame");function Tq(t){return t===Uo.CONTINUATION}o(Tq,"isContinuationFrame");function vq(t){return t===Uo.TEXT||t===Uo.BINARY}o(vq,"isTextBinaryFrame");function mue(t){return vq(t)||Tq(t)||Rq(t)}o(mue,"isValidOpcode");function hue(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(fue,"isValidClientWindowBits");var Pq=typeof process.versions.icu=="string",Nq=Pq?new TextDecoder("utf-8",{fatal:!0}):void 0,kq=Pq?Nq.decode.bind(Nq):function(t){if(nue(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};Dq.exports={isConnecting:oue,isEstablished:aue,isClosing:cue,isClosed:lue,fireEvent:lQ,isValidSubprotocol:due,isValidStatusCode:pue,failWebsocketConnection:Sq,websocketMessageReceived:uue,utf8Decode:kq,isControlFrame:Rq,isContinuationFrame:Tq,isTextBinaryFrame:vq,isValidOpcode:mue,parseExtensions:hue,isValidClientWindowBits:fue}});var tg=g((h1e,_q)=>{"use strict";var{maxUnsigned16Bit:gue}=Ja(),eg=16386,uQ,Cd=null,Gl=eg;try{uQ=require("node:crypto")}catch{uQ={randomFillSync:o(function(e,r,s){for(let n=0;ngue?(a+=8,i=127):n>125&&(a+=2,i=126);let c=Buffer.allocUnsafe(n+a);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e;c[a-4]=s[0],c[a-3]=s[1],c[a-2]=s[2],c[a-1]=s[3],c[1]=i,i===126?c.writeUInt16BE(n,2):i===127&&(c[2]=c[3]=0,c.writeUIntBE(n,4,6)),c[1]|=128;for(let l=0;l{"use strict";var{uid:yue,states:Id,sentCloseFrameState:rg,emptyBuffer:Cue,opcodes:Iue}=Ja(),{kReadyState:Bd,kSentClose:sg,kByteParser:Mq,kReceivedClose:Lq,kResponse:Oq}=fd(),{fireEvent:Bue,failWebsocketConnection:qo,isClosing:wue,isClosed:bue,isEstablished:xue,parseExtensions:Que}=yd(),{channels:Hl}=el(),{CloseEvent:Nue}=ql(),{makeRequest:Sue}=_l(),{fetching:Rue}=dd(),{Headers:Tue,getHeadersList:vue}=Ga(),{getDecodeSplit:Pue}=Xr(),{WebsocketFrameSend:kue}=tg(),dQ;try{dQ=require("node:crypto")}catch{}function Due(t,e,r,s,n,i){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=Sue({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let d=vue(new Tue(i.headers));c.headersList=d}let l=dQ.randomBytes(16).toString("base64");c.headersList.append("sec-websocket-key",l),c.headersList.append("sec-websocket-version","13");for(let d of e)c.headersList.append("sec-websocket-protocol",d);return c.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits"),Rue({request:c,useParallelQueue:!0,dispatcher:i.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){qo(s,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){qo(s,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){qo(s,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){qo(s,'Server did not set Connection header to "upgrade".');return}let p=d.headersList.get("Sec-WebSocket-Accept"),m=dQ.createHash("sha1").update(l+yue).digest("base64");if(p!==m){qo(s,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let h=d.headersList.get("Sec-WebSocket-Extensions"),f;if(h!==null&&(f=Que(h),!f.has("permessage-deflate"))){qo(s,"Sec-WebSocket-Extensions header does not match.");return}let C=d.headersList.get("Sec-WebSocket-Protocol");if(C!==null){let E=Pue("sec-websocket-protocol",c.headersList);if(E===null||!E.includes(C)){qo(s,"Protocol was not set in the opening handshake.");return}}d.socket.on("data",Fq),d.socket.on("close",Uq),d.socket.on("error",qq),Hl.open.hasSubscribers&&Hl.open.publish({address:d.socket.address(),protocol:C,extensions:h}),n(d,f)}})}o(Due,"establishWebSocketConnection");function _ue(t,e,r,s){if(!(wue(t)||bue(t)))if(!xue(t))qo(t,"Connection was closed before it was established."),t[Bd]=Id.CLOSING;else if(t[sg]===rg.NOT_SENT){t[sg]=rg.PROCESSING;let n=new kue;e!==void 0&&r===void 0?(n.frameData=Buffer.allocUnsafe(2),n.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(n.frameData=Buffer.allocUnsafe(2+s),n.frameData.writeUInt16BE(e,0),n.frameData.write(r,2,"utf-8")):n.frameData=Cue,t[Oq].socket.write(n.createFrame(Iue.CLOSE)),t[sg]=rg.SENT,t[Bd]=Id.CLOSING}else t[Bd]=Id.CLOSING}o(_ue,"closeWebSocketConnection");function Fq(t){this.ws[Mq].write(t)||this.pause()}o(Fq,"onSocketData");function Uq(){let{ws:t}=this,{[Oq]:e}=t;e.socket.off("data",Fq),e.socket.off("close",Uq),e.socket.off("error",qq);let r=t[sg]===rg.SENT&&t[Lq],s=1005,n="",i=t[Mq].closingInfo;i&&!i.error?(s=i.code??1005,n=i.reason):t[Lq]||(s=1006),t[Bd]=Id.CLOSED,Bue("close",t,(a,c)=>new Nue(a,c),{wasClean:r,code:s,reason:n}),Hl.close.hasSubscribers&&Hl.close.publish({websocket:t,code:s,reason:n})}o(Uq,"onSocketClose");function qq(t){let{ws:e}=this;e[Bd]=Id.CLOSING,Hl.socketError.hasSubscribers&&Hl.socketError.publish(t),this.destroy()}o(qq,"onSocketError");Gq.exports={establishWebSocketConnection:Due,closeWebSocketConnection:_ue}});var zq=g((y1e,Hq)=>{"use strict";var{createInflateRaw:Lue,Z_DEFAULT_WINDOWBITS:Mue}=require("node:zlib"),{isValidClientWindowBits:Oue}=yd(),{MessageSizeExceededError:Fue}=Be(),Uue=Buffer.from([0,0,255,255]),ng=Symbol("kBuffer"),wd=Symbol("kLength"),mQ=class{static{o(this,"PerMessageDeflate")}#e;#t={};#s=0;constructor(e,r){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits"),this.#s=r.maxPayloadSize}decompress(e,r,s){if(!this.#e){let n=Mue;if(this.#t.serverMaxWindowBits){if(!Oue(this.#t.serverMaxWindowBits)){s(new Error("Invalid server_max_window_bits"));return}n=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=Lue({windowBits:n})}catch(i){s(i);return}this.#e[ng]=[],this.#e[wd]=0,this.#e.on("data",i=>{if(this.#e[wd]+=i.length,this.#s>0&&this.#e[wd]>this.#s){s(new Fue),this.#e.removeAllListeners(),this.#e.destroy(),this.#e=null;return}this.#e[ng].push(i)}),this.#e.on("error",i=>{this.#e=null,s(i)})}this.#e.write(e),r&&this.#e.write(Uue),this.#e.flush(()=>{if(!this.#e)return;let n=Buffer.concat(this.#e[ng],this.#e[wd]);this.#e[ng].length=0,this.#e[wd]=0,s(null,n)})}};Hq.exports={PerMessageDeflate:mQ}});var eG=g((I1e,Zq)=>{"use strict";var{Writable:que}=require("node:stream"),Gue=require("node:assert"),{parserStates:Lr,opcodes:zl,states:Hue,emptyBuffer:$q,sentCloseFrameState:Vq}=Ja(),{kReadyState:zue,kSentClose:Yq,kResponse:Jq,kReceivedClose:Wq}=fd(),{channels:ig}=el(),{isValidStatusCode:$ue,isValidOpcode:Vue,failWebsocketConnection:os,websocketMessageReceived:jq,utf8Decode:Yue,isControlFrame:hQ,isTextBinaryFrame:fQ,isContinuationFrame:Jue}=yd(),{WebsocketFrameSend:Kq}=tg(),{closeWebSocketConnection:Xq}=pQ(),{PerMessageDeflate:Wue}=zq(),{MessageSizeExceededError:gQ}=Be();function bd(t,e,r){Xq(t,e,r,Buffer.byteLength(r)),os(t,r)}o(bd,"failWebsocketConnectionWithCode");var EQ=class extends que{static{o(this,"ByteParser")}#e=[];#t=0;#s=0;#r=!1;#n=Lr.INFO;#i={};#o=[];#a;#l;#c;constructor(e,r,s={}){super(),this.ws=e,this.#a=r??new Map,this.#l=s.maxFragments??0,this.#c=s.maxPayloadSize??0,this.#a.has("permessage-deflate")&&this.#a.set("permessage-deflate",new Wue(r,s))}_write(e,r,s){this.#e.push(e),this.#s+=e.length,this.#r=!0,this.run(s)}#u(){return this.#c>0&&!hQ(this.#i.opcode)&&this.#i.payloadLength+this.#t>this.#c?(bd(this.ws,1009,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#r;)if(this.#n===Lr.INFO){if(this.#s<2)return e();let r=this.consume(2),s=(r[0]&128)!==0,n=r[0]&15,i=(r[1]&128)===128,a=!s&&n!==zl.CONTINUATION,c=r[1]&127,l=r[0]&64,u=r[0]&32,A=r[0]&16;if(!Vue(n))return os(this.ws,"Invalid opcode received"),e();if(i)return os(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#a.has("permessage-deflate")){os(this.ws,"Expected RSV1 to be clear.");return}if(u!==0||A!==0){os(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!fQ(n)){os(this.ws,"Invalid frame type was fragmented.");return}if(fQ(n)&&this.#o.length>0){os(this.ws,"Expected continuation frame");return}if(this.#i.fragmented&&a){os(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&hQ(n)){os(this.ws,"Control frame either too large or fragmented");return}if(Jue(n)&&this.#o.length===0&&!this.#i.compressed){os(this.ws,"Unexpected continuation frame");return}if(c<=125){if(this.#i.payloadLength=c,this.#n=Lr.READ_DATA,!this.#u())return}else c===126?this.#n=Lr.PAYLOADLENGTH_16:c===127&&(this.#n=Lr.PAYLOADLENGTH_64);fQ(n)&&(this.#i.binaryType=n,this.#i.compressed=l!==0),this.#i.opcode=n,this.#i.masked=i,this.#i.fin=s,this.#i.fragmented=a}else if(this.#n===Lr.PAYLOADLENGTH_16){if(this.#s<2)return e();let r=this.consume(2);if(this.#i.payloadLength=r.readUInt16BE(0),this.#n=Lr.READ_DATA,!this.#u())return}else if(this.#n===Lr.PAYLOADLENGTH_64){if(this.#s<8)return e();let r=this.consume(8),s=r.readUInt32BE(0),n=r.readUInt32BE(4);if(s!==0||n>2**31-1){os(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#i.payloadLength=n,this.#n=Lr.READ_DATA,!this.#u())return}else if(this.#n===Lr.READ_DATA){if(this.#s{if(s){let i=s instanceof gQ?1009:1007;bd(this.ws,i,s.message);return}if(this.writeFragments(n)){if(this.#c>0&&this.#t>this.#c){bd(this.ws,1009,new gQ().message);return}if(!this.#i.fin){this.#n=Lr.INFO,this.#r=!0,this.run(e);return}jq(this.ws,this.#i.binaryType,this.consumeFragments()),this.#r=!0,this.#n=Lr.INFO,this.run(e)}}),this.#r=!1;break}else{if(!this.writeFragments(r))return;if(this.#c>0&&this.#t>this.#c){bd(this.ws,1009,new gQ().message);return}!this.#i.fragmented&&this.#i.fin&&jq(this.ws,this.#i.binaryType,this.consumeFragments()),this.#n=Lr.INFO}}}consume(e){if(e>this.#s)throw new Error("Called consume() before buffers satiated.");if(e===0)return $q;if(this.#e[0].length===e)return this.#s-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),s=0;for(;s!==e;){let n=this.#e[0],{length:i}=n;if(i+s===e){r.set(this.#e.shift(),s);break}else if(i+s>e){r.set(n.subarray(0,e-s),s),this.#e[0]=n.subarray(e-s);break}else r.set(this.#e.shift(),s),s+=n.length}return this.#s-=e,r}writeFragments(e){return this.#l>0&&this.#o.length===this.#l?(bd(this.ws,1008,"Too many message fragments"),!1):(this.#t+=e.length,this.#o.push(e),!0)}consumeFragments(){let e=this.#o;if(e.length===1)return this.#t=0,e.shift();let r=Buffer.concat(e,this.#t);return this.#o=[],this.#t=0,r}parseCloseBody(e){Gue(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!$ue(r))return{code:1002,reason:"Invalid status code",error:!0};let s=e.subarray(2);s[0]===239&&s[1]===187&&s[2]===191&&(s=s.subarray(3));try{s=Yue(s)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:r,reason:s,error:!1}}parseControlFrame(e){let{opcode:r,payloadLength:s}=this.#i;if(r===zl.CLOSE){if(s===1)return os(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#i.closeInfo=this.parseCloseBody(e),this.#i.closeInfo.error){let{code:n,reason:i}=this.#i.closeInfo;return Xq(this.ws,n,i,i.length),os(this.ws,i),!1}if(this.ws[Yq]!==Vq.SENT){let n=$q;this.#i.closeInfo.code&&(n=Buffer.allocUnsafe(2),n.writeUInt16BE(this.#i.closeInfo.code,0));let i=new Kq(n);this.ws[Jq].socket.write(i.createFrame(zl.CLOSE),a=>{a||(this.ws[Yq]=Vq.SENT)})}return this.ws[zue]=Hue.CLOSING,this.ws[Wq]=!0,!1}else if(r===zl.PING){if(!this.ws[Wq]){let n=new Kq(e);this.ws[Jq].socket.write(n.createFrame(zl.PONG)),ig.ping.hasSubscribers&&ig.ping.publish({payload:e})}}else r===zl.PONG&&ig.pong.hasSubscribers&&ig.pong.publish({payload:e});return!0}get closingInfo(){return this.#i.closeInfo}};Zq.exports={ByteParser:EQ}});var iG=g((w1e,nG)=>{"use strict";var{WebsocketFrameSend:jue}=tg(),{opcodes:tG,sendHints:$l}=Ja(),Kue=bb(),rG=Buffer[Symbol.species],yQ=class{static{o(this,"SendQueue")}#e=new Kue;#t=!1;#s;constructor(e){this.#s=e}add(e,r,s){if(s!==$l.blob){let i=sG(e,s);if(!this.#t)this.#s.write(i,r);else{let a={promise:null,callback:r,frame:i};this.#e.push(a)}return}let n={promise:e.arrayBuffer().then(i=>{n.promise=null,n.frame=sG(i,s)}),callback:r,frame:null};this.#e.push(n),this.#t||this.#r()}async#r(){this.#t=!0;let e=this.#e;for(;!e.isEmpty();){let r=e.shift();r.promise!==null&&await r.promise,this.#s.write(r.frame,r.callback),r.callback=r.frame=null}this.#t=!1}};function sG(t,e){return new jue(Xue(t,e)).createFrame(e===$l.string?tG.TEXT:tG.BINARY)}o(sG,"createFrame");function Xue(t,e){switch(e){case $l.string:return Buffer.from(t);case $l.arrayBuffer:case $l.blob:return new rG(t);case $l.typedArray:return new rG(t.buffer,t.byteOffset,t.byteLength)}}o(Xue,"toBuffer");nG.exports={SendQueue:yQ}});var hG=g((x1e,mG)=>{"use strict";var{webidl:te}=jt(),{URLSerializer:Zue}=vr(),{environmentSettingsObject:oG}=Xr(),{staticPropertyDescriptors:Go,states:xd,sentCloseFrameState:eAe,sendHints:og}=Ja(),{kWebSocketURL:aG,kReadyState:CQ,kController:cG,kBinaryType:ag,kResponse:lG,kSentClose:tAe,kByteParser:rAe}=fd(),{isConnecting:sAe,isEstablished:nAe,isClosing:iAe,isValidSubprotocol:oAe,fireEvent:uG}=yd(),{establishWebSocketConnection:aAe,closeWebSocketConnection:AG}=pQ(),{ByteParser:cAe}=eG(),{kEnumerableProperty:Rs,isBlobLike:dG}=de(),{getGlobalDispatcher:lAe}=Bf(),{types:pG}=require("node:util"),{ErrorEvent:uAe,CloseEvent:AAe}=ql(),{SendQueue:dAe}=iG(),as=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#s="";#r="";#n;constructor(e,r=[]){super(),te.util.markAsUncloneable(this);let s="WebSocket constructor";te.argumentLengthCheck(arguments,1,s);let n=te.converters["DOMString or sequence or WebSocketInit"](r,s,"options");e=te.converters.USVString(e,s,"url"),r=n.protocols;let i=oG.settingsObject.baseUrl,a;try{a=new URL(e,i)}catch(l){throw new DOMException(l,"SyntaxError")}if(a.protocol==="http:"?a.protocol="ws:":a.protocol==="https:"&&(a.protocol="wss:"),a.protocol!=="ws:"&&a.protocol!=="wss:")throw new DOMException(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError");if(a.hash||a.href.endsWith("#"))throw new DOMException("Got fragment","SyntaxError");if(typeof r=="string"&&(r=[r]),r.length!==new Set(r.map(l=>l.toLowerCase())).size)throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(r.length>0&&!r.every(l=>oAe(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[aG]=new URL(a.href);let c=oG.settingsObject;this[cG]=aAe(a,r,c,this,(l,u)=>this.#i(l,u),n),this[CQ]=t.CONNECTING,this[tAe]=eAe.NOT_SENT,this[ag]="blob"}close(e=void 0,r=void 0){te.brandCheck(this,t);let s="WebSocket.close";if(e!==void 0&&(e=te.converters["unsigned short"](e,s,"code",{clamp:!0})),r!==void 0&&(r=te.converters.USVString(r,s,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let n=0;if(r!==void 0&&(n=Buffer.byteLength(r),n>123))throw new DOMException(`Reason must be less than 123 bytes; received ${n}`,"SyntaxError");AG(this,e,r,n)}send(e){te.brandCheck(this,t);let r="WebSocket.send";if(te.argumentLengthCheck(arguments,1,r),e=te.converters.WebSocketSendData(e,r,"data"),sAe(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!nAe(this)||iAe(this)))if(typeof e=="string"){let s=Buffer.byteLength(e);this.#t+=s,this.#n.add(e,()=>{this.#t-=s},og.string)}else pG.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#n.add(e,()=>{this.#t-=e.byteLength},og.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#n.add(e,()=>{this.#t-=e.byteLength},og.typedArray)):dG(e)&&(this.#t+=e.size,this.#n.add(e,()=>{this.#t-=e.size},og.blob))}get readyState(){return te.brandCheck(this,t),this[CQ]}get bufferedAmount(){return te.brandCheck(this,t),this.#t}get url(){return te.brandCheck(this,t),Zue(this[aG])}get extensions(){return te.brandCheck(this,t),this.#r}get protocol(){return te.brandCheck(this,t),this.#s}get onopen(){return te.brandCheck(this,t),this.#e.open}set onopen(e){te.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 te.brandCheck(this,t),this.#e.error}set onerror(e){te.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 te.brandCheck(this,t),this.#e.close}set onclose(e){te.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 te.brandCheck(this,t),this.#e.message}set onmessage(e){te.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 te.brandCheck(this,t),this[ag]}set binaryType(e){te.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[ag]="blob":this[ag]=e}#i(e,r){this[lG]=e;let s=this[cG]?.dispatcher?.webSocketOptions,n=s?.maxFragments,i=s?.maxPayloadSize,a=new cAe(this,r,{maxFragments:n,maxPayloadSize:i});a.on("drain",pAe),a.on("error",mAe.bind(this)),e.socket.ws=this,this[rAe]=a,this.#n=new dAe(e.socket),this[CQ]=xd.OPEN;let c=e.headersList.get("sec-websocket-extensions");c!==null&&(this.#r=c);let l=e.headersList.get("sec-websocket-protocol");l!==null&&(this.#s=l),uG("open",this)}};as.CONNECTING=as.prototype.CONNECTING=xd.CONNECTING;as.OPEN=as.prototype.OPEN=xd.OPEN;as.CLOSING=as.prototype.CLOSING=xd.CLOSING;as.CLOSED=as.prototype.CLOSED=xd.CLOSED;Object.defineProperties(as.prototype,{CONNECTING:Go,OPEN:Go,CLOSING:Go,CLOSED:Go,url:Rs,readyState:Rs,bufferedAmount:Rs,onopen:Rs,onerror:Rs,onclose:Rs,close:Rs,onmessage:Rs,binaryType:Rs,send:Rs,extensions:Rs,protocol:Rs,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(as,{CONNECTING:Go,OPEN:Go,CLOSING:Go,CLOSED:Go});te.converters["sequence"]=te.sequenceConverter(te.converters.DOMString);te.converters["DOMString or sequence"]=function(t,e,r){return te.util.Type(t)==="Object"&&Symbol.iterator in t?te.converters["sequence"](t):te.converters.DOMString(t,e,r)};te.converters.WebSocketInit=te.dictionaryConverter([{key:"protocols",converter:te.converters["DOMString or sequence"],defaultValue:o(()=>new Array(0),"defaultValue")},{key:"dispatcher",converter:te.converters.any,defaultValue:o(()=>lAe(),"defaultValue")},{key:"headers",converter:te.nullableConverter(te.converters.HeadersInit)}]);te.converters["DOMString or sequence or WebSocketInit"]=function(t){return te.util.Type(t)==="Object"&&!(Symbol.iterator in t)?te.converters.WebSocketInit(t):{protocols:te.converters["DOMString or sequence"](t)}};te.converters.WebSocketSendData=function(t){if(te.util.Type(t)==="Object"){if(dG(t))return te.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||pG.isArrayBuffer(t))return te.converters.BufferSource(t)}return te.converters.USVString(t)};function pAe(){this.ws[lG].socket.resume()}o(pAe,"onParserDrain");function mAe(t){let e,r;t instanceof AAe?(e=t.reason,r=t.code):e=t.message,uG("error",this,()=>new uAe("error",{error:t,message:e})),AG(this,r)}o(mAe,"onParserError");mG.exports={WebSocket:as}});var IQ=g((N1e,fG)=>{"use strict";function hAe(t){return t.indexOf("\0")===-1}o(hAe,"isValidLastEventId");function fAe(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}o(fAe,"isASCIINumber");function gAe(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(gAe,"delay");fG.exports={isValidLastEventId:hAe,isASCIINumber:fAe,delay:gAe}});var EG=g((R1e,gG)=>{"use strict";var{Transform:EAe}=require("node:stream"),{isASCIINumber:yAe,isValidLastEventId:CAe}=IQ(),Vl=[239,187,191],BQ=10,cg=13,IAe=58,BAe=32,wAe=Buffer.from("data"),bAe=Buffer.from("event"),xAe=Buffer.from("id"),QAe=Buffer.from("retry");function NAe(t,e){if(e>=t.length)return!1;for(let r=e;r57)return!1;return!0}o(NAe,"isASCIINumberBytes");function SAe(t,e){for(let r=e;r0&&(r.event=a)}}processEvent(e){e.retry&&yAe(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&CAe(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event.data=void 0,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0}hasPendingEvent(){return this.event.data!==void 0||this.event.event!==void 0||this.event.id!==void 0||this.event.retry!==void 0}hasCurrentByte(){return this.chunkIndex=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.dropConsumedChunks()}dropConsumedChunks(){for(;this.lineChunkIndex>0;)this.chunks.shift(),this.lineChunkIndex--,this.chunkIndex--;this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],r=0;for(let s=this.lineChunkIndex;s<=this.chunkIndex;s++){let n=this.chunks[s],i=s===this.lineChunkIndex?this.linePos:0,a=s===this.chunkIndex?this.pos:n.length,c=n.subarray(i,a);r+=c.length,e.push(c)}return Buffer.concat(e,r)}peekBufferedByte(e){let r=this.lineChunkIndex,s=this.linePos;for(;r0&&this.lineChunkIndex{"use strict";var{pipeline:RAe}=require("node:stream"),{fetching:TAe}=dd(),{makeRequest:vAe}=_l(),{webidl:Wi}=jt(),{EventSourceStream:PAe}=EG(),{parseMIMEType:kAe}=vr(),{createFastMessageEvent:DAe}=ql(),{isNetworkError:yG}=ud(),{delay:_Ae}=IQ(),{kEnumerableProperty:Wa}=de(),{environmentSettingsObject:CG}=Xr(),IG=!1,BG=3e3,Qd=0,wG=1,Nd=2,LAe="anonymous",MAe="use-credentials",Yl=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#s=!1;#r=Qd;#n=null;#i=null;#o;#a;constructor(e,r={}){super(),Wi.util.markAsUncloneable(this);let s="EventSource constructor";Wi.argumentLengthCheck(arguments,1,s),IG||(IG=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Wi.converters.USVString(e,s,"url"),r=Wi.converters.EventSourceInitDict(r,s,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:BG};let n=CG,i;try{i=new URL(e,n.settingsObject.baseUrl),this.#a.origin=i.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=i.href;let a=LAe;r.withCredentials&&(a=MAe,this.#s=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=CG.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#n=vAe(c),this.#l()}get readyState(){return this.#r}get url(){return this.#t}get withCredentials(){return this.#s}#l(){if(this.#r===Nd)return;this.#r=Qd;let e={request:this.#n,dispatcher:this.#o},r=o(s=>{yG(s)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=s=>{if(yG(s))if(s.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#c();return}let n=s.headersList.get("content-type",!0),i=n!==null?kAe(n):"failure",a=i!=="failure"&&i.essence==="text/event-stream";if(s.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#r=wG,this.dispatchEvent(new Event("open")),this.#a.origin=s.urlList[s.urlList.length-1].origin;let c=new PAe({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(DAe(l.type,l.options))},"push")});RAe(s.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#i=TAe(e)}async#c(){this.#r!==Nd&&(this.#r=Qd,this.dispatchEvent(new Event("error")),await _Ae(this.#a.reconnectionTime),this.#r===Qd&&(this.#a.lastEventId.length&&this.#n.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#l()))}close(){Wi.brandCheck(this,t),this.#r!==Nd&&(this.#r=Nd,this.#i.abort(),this.#n=null)}get onopen(){return this.#e.open}set onopen(e){this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}},bG={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:Qd,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:wG,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:Nd,writable:!1}};Object.defineProperties(Yl,bG);Object.defineProperties(Yl.prototype,bG);Object.defineProperties(Yl.prototype,{close:Wa,onerror:Wa,onmessage:Wa,onopen:Wa,readyState:Wa,url:Wa,withCredentials:Wa});Wi.converters.EventSourceInitDict=Wi.dictionaryConverter([{key:"withCredentials",converter:Wi.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:Wi.converters.any}]);xG.exports={EventSource:Yl,defaultReconnectionTime:BG}});var Wl=g((k1e,ee)=>{"use strict";var OAe=Il(),NG=TA(),FAe=Bl(),UAe=QF(),qAe=wl(),GAe=zb(),HAe=jF(),zAe=sU(),SG=Be(),Ag=de(),{InvalidArgumentError:ug}=SG,Jl=HU(),$Ae=PA(),VAe=xx(),YAe=x1(),JAe=Sx(),WAe=dx(),jAe=df(),{getGlobalDispatcher:RG,setGlobalDispatcher:KAe}=Bf(),XAe=wf(),ZAe=ef(),ede=tf();Object.assign(NG.prototype,Jl);ee.exports.Dispatcher=NG;ee.exports.Client=OAe;ee.exports.Pool=FAe;ee.exports.BalancedPool=UAe;ee.exports.Agent=qAe;ee.exports.ProxyAgent=GAe;ee.exports.EnvHttpProxyAgent=HAe;ee.exports.RetryAgent=zAe;ee.exports.RetryHandler=jAe;ee.exports.DecoratorHandler=XAe;ee.exports.RedirectHandler=ZAe;ee.exports.createRedirectInterceptor=ede;ee.exports.interceptors={redirect:P1(),retry:D1(),dump:L1(),dns:F1()};ee.exports.buildConnector=$Ae;ee.exports.errors=SG;ee.exports.util={parseHeaders:Ag.parseHeaders,headerNameToString:Ag.headerNameToString};function Sd(t){return(e,r,s)=>{if(typeof r=="function"&&(s=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new ug("invalid url");if(r!=null&&typeof r!="object")throw new ug("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new ug("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(Ag.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=Ag.parseURL(e);let{agent:n,dispatcher:i=RG()}=r;if(n)throw new ug("unsupported opts.agent. Did you mean opts.client?");return t.call(i,{...r,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:r.method||(r.body?"PUT":"GET")},s)}}o(Sd,"makeDispatcher");ee.exports.setGlobalDispatcher=KAe;ee.exports.getGlobalDispatcher=RG;var tde=dd().fetch;ee.exports.fetch=o(async function(e,r=void 0){try{return await tde(e,r)}catch(s){throw s&&typeof s=="object"&&Error.captureStackTrace(s),s}},"fetch");ee.exports.Headers=Ga().Headers;ee.exports.Response=ud().Response;ee.exports.Request=_l().Request;ee.exports.FormData=FA().FormData;ee.exports.File=globalThis.File??require("node:buffer").File;ee.exports.FileReader=tq().FileReader;var{setGlobalOrigin:rde,getGlobalOrigin:sde}=$w();ee.exports.setGlobalOrigin=rde;ee.exports.getGlobalOrigin=sde;var{CacheStorage:nde}=uq(),{kConstruct:ide}=zf();ee.exports.caches=new nde(ide);var{deleteCookie:ode,getCookies:ade,getSetCookies:cde,setCookie:lde}=Iq();ee.exports.deleteCookie=ode;ee.exports.getCookies=ade;ee.exports.getSetCookies=cde;ee.exports.setCookie=lde;var{parseMIMEType:ude,serializeAMimeType:Ade}=vr();ee.exports.parseMIMEType=ude;ee.exports.serializeAMimeType=Ade;var{CloseEvent:dde,ErrorEvent:pde,MessageEvent:mde}=ql();ee.exports.WebSocket=hG().WebSocket;ee.exports.CloseEvent=dde;ee.exports.ErrorEvent=pde;ee.exports.MessageEvent=mde;ee.exports.request=Sd(Jl.request);ee.exports.stream=Sd(Jl.stream);ee.exports.pipeline=Sd(Jl.pipeline);ee.exports.connect=Sd(Jl.connect);ee.exports.upgrade=Sd(Jl.upgrade);ee.exports.MockClient=VAe;ee.exports.MockPool=JAe;ee.exports.MockAgent=YAe;ee.exports.mockErrors=WAe;var{EventSource:hde}=QG();ee.exports.EventSource=hde});var Fd=g((iqe,lH)=>{"use strict";var Ude="2.0.0",qde=Number.MAX_SAFE_INTEGER||9007199254740991,Gde=16,Hde=250,zde=["major","premajor","minor","preminor","patch","prepatch","prerelease"];lH.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Gde,MAX_SAFE_BUILD_LENGTH:Hde,MAX_SAFE_INTEGER:qde,RELEASE_TYPES:zde,SEMVER_SPEC_VERSION:Ude,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Ud=g((oqe,uH)=>{"use strict";var $de=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};uH.exports=$de});var ru=g((Vn,AH)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:YQ,MAX_SAFE_BUILD_LENGTH:Vde,MAX_LENGTH:Yde}=Fd(),Jde=Ud();Vn=AH.exports={};var Wde=Vn.re=[],jde=Vn.safeRe=[],_=Vn.src=[],Kde=Vn.safeSrc=[],L=Vn.t={},Xde=0,JQ="[a-zA-Z0-9-]",Zde=[["\\s",1],["\\d",Yde],[JQ,Vde]],epe=o(t=>{for(let[e,r]of Zde)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),se=o((t,e,r)=>{let s=epe(e),n=Xde++;Jde(t,n,e),L[t]=n,_[n]=e,Kde[n]=s,Wde[n]=new RegExp(e,r?"g":void 0),jde[n]=new RegExp(s,r?"g":void 0)},"createToken");se("NUMERICIDENTIFIER","0|[1-9]\\d*");se("NUMERICIDENTIFIERLOOSE","\\d+");se("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${JQ}*`);se("MAINVERSION",`(${_[L.NUMERICIDENTIFIER]})\\.(${_[L.NUMERICIDENTIFIER]})\\.(${_[L.NUMERICIDENTIFIER]})`);se("MAINVERSIONLOOSE",`(${_[L.NUMERICIDENTIFIERLOOSE]})\\.(${_[L.NUMERICIDENTIFIERLOOSE]})\\.(${_[L.NUMERICIDENTIFIERLOOSE]})`);se("PRERELEASEIDENTIFIER",`(?:${_[L.NONNUMERICIDENTIFIER]}|${_[L.NUMERICIDENTIFIER]})`);se("PRERELEASEIDENTIFIERLOOSE",`(?:${_[L.NONNUMERICIDENTIFIER]}|${_[L.NUMERICIDENTIFIERLOOSE]})`);se("PRERELEASE",`(?:-(${_[L.PRERELEASEIDENTIFIER]}(?:\\.${_[L.PRERELEASEIDENTIFIER]})*))`);se("PRERELEASELOOSE",`(?:-?(${_[L.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${_[L.PRERELEASEIDENTIFIERLOOSE]})*))`);se("BUILDIDENTIFIER",`${JQ}+`);se("BUILD",`(?:\\+(${_[L.BUILDIDENTIFIER]}(?:\\.${_[L.BUILDIDENTIFIER]})*))`);se("FULLPLAIN",`v?${_[L.MAINVERSION]}${_[L.PRERELEASE]}?${_[L.BUILD]}?`);se("FULL",`^${_[L.FULLPLAIN]}$`);se("LOOSEPLAIN",`[v=\\s]*${_[L.MAINVERSIONLOOSE]}${_[L.PRERELEASELOOSE]}?${_[L.BUILD]}?`);se("LOOSE",`^${_[L.LOOSEPLAIN]}$`);se("GTLT","((?:<|>)?=?)");se("XRANGEIDENTIFIERLOOSE",`${_[L.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);se("XRANGEIDENTIFIER",`${_[L.NUMERICIDENTIFIER]}|x|X|\\*`);se("XRANGEPLAIN",`[v=\\s]*(${_[L.XRANGEIDENTIFIER]})(?:\\.(${_[L.XRANGEIDENTIFIER]})(?:\\.(${_[L.XRANGEIDENTIFIER]})(?:${_[L.PRERELEASE]})?${_[L.BUILD]}?)?)?`);se("XRANGEPLAINLOOSE",`[v=\\s]*(${_[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${_[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${_[L.XRANGEIDENTIFIERLOOSE]})(?:${_[L.PRERELEASELOOSE]})?${_[L.BUILD]}?)?)?`);se("XRANGE",`^${_[L.GTLT]}\\s*${_[L.XRANGEPLAIN]}$`);se("XRANGELOOSE",`^${_[L.GTLT]}\\s*${_[L.XRANGEPLAINLOOSE]}$`);se("COERCEPLAIN",`(^|[^\\d])(\\d{1,${YQ}})(?:\\.(\\d{1,${YQ}}))?(?:\\.(\\d{1,${YQ}}))?`);se("COERCE",`${_[L.COERCEPLAIN]}(?:$|[^\\d])`);se("COERCEFULL",_[L.COERCEPLAIN]+`(?:${_[L.PRERELEASE]})?(?:${_[L.BUILD]})?(?:$|[^\\d])`);se("COERCERTL",_[L.COERCE],!0);se("COERCERTLFULL",_[L.COERCEFULL],!0);se("LONETILDE","(?:~>?)");se("TILDETRIM",`(\\s*)${_[L.LONETILDE]}\\s+`,!0);Vn.tildeTrimReplace="$1~";se("TILDE",`^${_[L.LONETILDE]}${_[L.XRANGEPLAIN]}$`);se("TILDELOOSE",`^${_[L.LONETILDE]}${_[L.XRANGEPLAINLOOSE]}$`);se("LONECARET","(?:\\^)");se("CARETTRIM",`(\\s*)${_[L.LONECARET]}\\s+`,!0);Vn.caretTrimReplace="$1^";se("CARET",`^${_[L.LONECARET]}${_[L.XRANGEPLAIN]}$`);se("CARETLOOSE",`^${_[L.LONECARET]}${_[L.XRANGEPLAINLOOSE]}$`);se("COMPARATORLOOSE",`^${_[L.GTLT]}\\s*(${_[L.LOOSEPLAIN]})$|^$`);se("COMPARATOR",`^${_[L.GTLT]}\\s*(${_[L.FULLPLAIN]})$|^$`);se("COMPARATORTRIM",`(\\s*)${_[L.GTLT]}\\s*(${_[L.LOOSEPLAIN]}|${_[L.XRANGEPLAIN]})`,!0);Vn.comparatorTrimReplace="$1$2$3";se("HYPHENRANGE",`^\\s*(${_[L.XRANGEPLAIN]})\\s+-\\s+(${_[L.XRANGEPLAIN]})\\s*$`);se("HYPHENRANGELOOSE",`^\\s*(${_[L.XRANGEPLAINLOOSE]})\\s+-\\s+(${_[L.XRANGEPLAINLOOSE]})\\s*$`);se("STAR","(<|>)?=?\\s*\\*");se("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");se("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var fg=g((cqe,dH)=>{"use strict";var tpe=Object.freeze({loose:!0}),rpe=Object.freeze({}),spe=o(t=>t?typeof t!="object"?tpe:t:rpe,"parseOptions");dH.exports=spe});var WQ=g((uqe,hH)=>{"use strict";var pH=/^[0-9]+$/,mH=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tmH(e,t),"rcompareIdentifiers");hH.exports={compareIdentifiers:mH,rcompareIdentifiers:npe}});var ir=g((dqe,gH)=>{"use strict";var gg=Ud(),{MAX_LENGTH:fH,MAX_SAFE_INTEGER:Eg}=Fd(),{safeRe:yg,t:Cg}=ru(),ipe=fg(),{compareIdentifiers:jQ}=WQ(),KQ=class t{static{o(this,"SemVer")}constructor(e,r){if(r=ipe(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>fH)throw new TypeError(`version is longer than ${fH} characters`);gg("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?yg[Cg.LOOSE]:yg[Cg.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>Eg||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Eg||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Eg||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&ie.major?1:this.minore.minor?1:this.patche.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(gg("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return jQ(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(gg("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return jQ(s,n)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?yg[Cg.PRERELEASELOOSE]:yg[Cg.PRERELEASE]);if(!n||n[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let i=[r,n];s===!1&&(i=[r]),jQ(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};gH.exports=KQ});var tc=g((mqe,yH)=>{"use strict";var EH=ir(),ope=o((t,e,r=!1)=>{if(t instanceof EH)return t;try{return new EH(t,e)}catch(s){if(!r)return null;throw s}},"parse");yH.exports=ope});var IH=g((fqe,CH)=>{"use strict";var ape=tc(),cpe=o((t,e)=>{let r=ape(t,e);return r?r.version:null},"valid");CH.exports=cpe});var wH=g((Eqe,BH)=>{"use strict";var lpe=tc(),upe=o((t,e)=>{let r=lpe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");BH.exports=upe});var QH=g((Cqe,xH)=>{"use strict";var bH=ir(),Ape=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new bH(t instanceof bH?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");xH.exports=Ape});var RH=g((Bqe,SH)=>{"use strict";var NH=tc(),dpe=o((t,e)=>{let r=NH(t,null,!0),s=NH(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,a=i?r:s,c=i?s:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let A=l?"pre":"";return r.major!==s.major?A+"major":r.minor!==s.minor?A+"minor":r.patch!==s.patch?A+"patch":"prerelease"},"diff");SH.exports=dpe});var vH=g((bqe,TH)=>{"use strict";var ppe=ir(),mpe=o((t,e)=>new ppe(t,e).major,"major");TH.exports=mpe});var kH=g((Qqe,PH)=>{"use strict";var hpe=ir(),fpe=o((t,e)=>new hpe(t,e).minor,"minor");PH.exports=fpe});var _H=g((Sqe,DH)=>{"use strict";var gpe=ir(),Epe=o((t,e)=>new gpe(t,e).patch,"patch");DH.exports=Epe});var MH=g((Tqe,LH)=>{"use strict";var ype=tc(),Cpe=o((t,e)=>{let r=ype(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");LH.exports=Cpe});var Ps=g((Pqe,FH)=>{"use strict";var OH=ir(),Ipe=o((t,e,r)=>new OH(t,r).compare(new OH(e,r)),"compare");FH.exports=Ipe});var qH=g((Dqe,UH)=>{"use strict";var Bpe=Ps(),wpe=o((t,e,r)=>Bpe(e,t,r),"rcompare");UH.exports=wpe});var HH=g((Lqe,GH)=>{"use strict";var bpe=Ps(),xpe=o((t,e)=>bpe(t,e,!0),"compareLoose");GH.exports=xpe});var Ig=g((Oqe,$H)=>{"use strict";var zH=ir(),Qpe=o((t,e,r)=>{let s=new zH(t,r),n=new zH(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");$H.exports=Qpe});var YH=g((Uqe,VH)=>{"use strict";var Npe=Ig(),Spe=o((t,e)=>t.sort((r,s)=>Npe(r,s,e)),"sort");VH.exports=Spe});var WH=g((Gqe,JH)=>{"use strict";var Rpe=Ig(),Tpe=o((t,e)=>t.sort((r,s)=>Rpe(s,r,e)),"rsort");JH.exports=Tpe});var qd=g((zqe,jH)=>{"use strict";var vpe=Ps(),Ppe=o((t,e,r)=>vpe(t,e,r)>0,"gt");jH.exports=Ppe});var Bg=g((Vqe,KH)=>{"use strict";var kpe=Ps(),Dpe=o((t,e,r)=>kpe(t,e,r)<0,"lt");KH.exports=Dpe});var XQ=g((Jqe,XH)=>{"use strict";var _pe=Ps(),Lpe=o((t,e,r)=>_pe(t,e,r)===0,"eq");XH.exports=Lpe});var ZQ=g((jqe,ZH)=>{"use strict";var Mpe=Ps(),Ope=o((t,e,r)=>Mpe(t,e,r)!==0,"neq");ZH.exports=Ope});var wg=g((Xqe,ez)=>{"use strict";var Fpe=Ps(),Upe=o((t,e,r)=>Fpe(t,e,r)>=0,"gte");ez.exports=Upe});var bg=g((eGe,tz)=>{"use strict";var qpe=Ps(),Gpe=o((t,e,r)=>qpe(t,e,r)<=0,"lte");tz.exports=Gpe});var e0=g((rGe,rz)=>{"use strict";var Hpe=XQ(),zpe=ZQ(),$pe=qd(),Vpe=wg(),Ype=Bg(),Jpe=bg(),Wpe=o((t,e,r,s)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return Hpe(t,r,s);case"!=":return zpe(t,r,s);case">":return $pe(t,r,s);case">=":return Vpe(t,r,s);case"<":return Ype(t,r,s);case"<=":return Jpe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");rz.exports=Wpe});var nz=g((nGe,sz)=>{"use strict";var jpe=ir(),Kpe=tc(),{safeRe:xg,t:Qg}=ru(),Xpe=o((t,e)=>{if(t instanceof jpe)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?xg[Qg.COERCEFULL]:xg[Qg.COERCE]);else{let l=e.includePrerelease?xg[Qg.COERCERTLFULL]:xg[Qg.COERCERTL],u;for(;(u=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||u.index+u[0].length!==r.index+r[0].length)&&(r=u),l.lastIndex=u.index+u[1].length+u[2].length;l.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return Kpe(`${s}.${n}.${i}${a}${c}`,e)},"coerce");sz.exports=Xpe});var oz=g((oGe,iz)=>{"use strict";var t0=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,r)}return this}};iz.exports=t0});var ks=g((cGe,uz)=>{"use strict";var Zpe=/\s+/g,r0=class t{static{o(this,"Range")}constructor(e,r){if(r=tme(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof s0)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(Zpe," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(n=>!cz(n[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&cme(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let s=((this.options.includePrerelease&&ome)|(this.options.loose&&ame))+":"+e,n=az.get(s);if(n)return n;let i=this.options.loose,a=i?fr[or.HYPHENRANGELOOSE]:fr[or.HYPHENRANGE];e=e.replace(a,Eme(this.options.includePrerelease)),qe("hyphen replace",e),e=e.replace(fr[or.COMPARATORTRIM],sme),qe("comparator trim",e),e=e.replace(fr[or.TILDETRIM],nme),qe("tilde trim",e),e=e.replace(fr[or.CARETTRIM],ime),qe("caret trim",e);let c=e.split(" ").map(d=>lme(d,this.options)).join(" ").split(/\s+/).map(d=>gme(d,this.options));i&&(c=c.filter(d=>(qe("loose invalid filter",d,this.options),!!d.match(fr[or.COMPARATORLOOSE])))),qe("range list",c);let l=new Map,u=c.map(d=>new s0(d,this.options));for(let d of u){if(cz(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return az.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>lz(s,r)&&e.set.some(n=>lz(n,r)&&s.every(i=>n.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new rme(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),cme=o(t=>t.value==="","isAny"),lz=o((t,e)=>{let r=!0,s=t.slice(),n=s.pop();for(;r&&s.length;)r=s.every(i=>n.intersects(i,e)),n=s.pop();return r},"isSatisfiable"),lme=o((t,e)=>(t=t.replace(fr[or.BUILD],""),qe("comp",t,e),t=dme(t,e),qe("caret",t),t=ume(t,e),qe("tildes",t),t=mme(t,e),qe("xrange",t),t=fme(t,e),qe("stars",t),t),"parseComparator"),gr=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),ume=o((t,e)=>t.trim().split(/\s+/).map(r=>Ame(r,e)).join(" "),"replaceTildes"),Ame=o((t,e)=>{let r=e.loose?fr[or.TILDELOOSE]:fr[or.TILDE];return t.replace(r,(s,n,i,a,c)=>{qe("tilde",t,s,n,i,a,c);let l;return gr(n)?l="":gr(i)?l=`>=${n}.0.0 <${+n+1}.0.0-0`:gr(a)?l=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:c?(qe("replaceTilde pr",c),l=`>=${n}.${i}.${a}-${c} <${n}.${+i+1}.0-0`):l=`>=${n}.${i}.${a} <${n}.${+i+1}.0-0`,qe("tilde return",l),l})},"replaceTilde"),dme=o((t,e)=>t.trim().split(/\s+/).map(r=>pme(r,e)).join(" "),"replaceCarets"),pme=o((t,e)=>{qe("caret",t,e);let r=e.loose?fr[or.CARETLOOSE]:fr[or.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{qe("caret",t,n,i,a,c,l);let u;return gr(i)?u="":gr(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:gr(c)?i==="0"?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.0${s} <${+i+1}.0.0-0`:l?(qe("replaceCaret pr",l),i==="0"?a==="0"?u=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):(qe("no pr"),i==="0"?a==="0"?u=`>=${i}.${a}.${c}${s} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c}${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),qe("caret return",u),u})},"replaceCaret"),mme=o((t,e)=>(qe("replaceXRanges",t,e),t.split(/\s+/).map(r=>hme(r,e)).join(" ")),"replaceXRanges"),hme=o((t,e)=>{t=t.trim();let r=e.loose?fr[or.XRANGELOOSE]:fr[or.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{qe("xRange",t,s,n,i,a,c,l);let u=gr(i),A=u||gr(a),d=A||gr(c),p=d;return n==="="&&p&&(n=""),l=e.includePrerelease?"-0":"",u?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&p?(A&&(a=0),c=0,n===">"?(n=">=",A?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):n==="<="&&(n="<",A?i=+i+1:a=+a+1),n==="<"&&(l="-0"),s=`${n+i}.${a}.${c}${l}`):A?s=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(s=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),qe("xRange return",s),s})},"replaceXRange"),fme=o((t,e)=>(qe("replaceStars",t,e),t.trim().replace(fr[or.STAR],"")),"replaceStars"),gme=o((t,e)=>(qe("replaceGTE0",t,e),t.trim().replace(fr[e.includePrerelease?or.GTE0PRE:or.GTE0],"")),"replaceGTE0"),Eme=o(t=>(e,r,s,n,i,a,c,l,u,A,d,p)=>(gr(s)?r="":gr(n)?r=`>=${s}.0.0${t?"-0":""}`:gr(i)?r=`>=${s}.${n}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,gr(u)?l="":gr(A)?l=`<${+u+1}.0.0-0`:gr(d)?l=`<${u}.${+A+1}.0-0`:p?l=`<=${u}.${A}.${d}-${p}`:t?l=`<${u}.${A}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),yme=o((t,e,r)=>{for(let s=0;s0){let n=t[s].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0},"testSet")});var Gd=g((uGe,fz)=>{"use strict";var Hd=Symbol("SemVer ANY"),o0=class t{static{o(this,"Comparator")}static get ANY(){return Hd}constructor(e,r){if(r=Az(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),i0("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Hd?this.value="":this.value=this.operator+this.semver.version,i0("comp",this)}parse(e){let r=this.options.loose?dz[pz.COMPARATORLOOSE]:dz[pz.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new mz(s[2],this.options.loose):this.semver=Hd}toString(){return this.value}test(e){if(i0("Comparator.test",e,this.options.loose),this.semver===Hd||e===Hd)return!0;if(typeof e=="string")try{e=new mz(e,this.options)}catch{return!1}return n0(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 hz(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new hz(this.value,r).test(e.semver):(r=Az(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("=")||n0(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||n0(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};fz.exports=o0;var Az=fg(),{safeRe:dz,t:pz}=ru(),n0=e0(),i0=Ud(),mz=ir(),hz=ks()});var zd=g((dGe,gz)=>{"use strict";var Cme=ks(),Ime=o((t,e,r)=>{try{e=new Cme(e,r)}catch{return!1}return e.test(t)},"satisfies");gz.exports=Ime});var yz=g((mGe,Ez)=>{"use strict";var Bme=ks(),wme=o((t,e)=>new Bme(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");Ez.exports=wme});var Iz=g((fGe,Cz)=>{"use strict";var bme=ir(),xme=ks(),Qme=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new xme(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new bme(s,r))}),s},"maxSatisfying");Cz.exports=Qme});var wz=g((EGe,Bz)=>{"use strict";var Nme=ir(),Sme=ks(),Rme=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new Sme(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new Nme(s,r))}),s},"minSatisfying");Bz.exports=Rme});var Qz=g((CGe,xz)=>{"use strict";var a0=ir(),Tme=ks(),bz=qd(),vme=o((t,e)=>{t=new Tme(t,e);let r=new a0("0.0.0");if(t.test(r)||(r=new a0("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new a0(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||bz(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||bz(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");xz.exports=vme});var Sz=g((BGe,Nz)=>{"use strict";var Pme=ks(),kme=o((t,e)=>{try{return new Pme(t,e).range||"*"}catch{return null}},"validRange");Nz.exports=kme});var Ng=g((bGe,Pz)=>{"use strict";var Dme=ir(),vz=Gd(),{ANY:_me}=vz,Lme=ks(),Mme=zd(),Rz=qd(),Tz=Bg(),Ome=bg(),Fme=wg(),Ume=o((t,e,r,s)=>{t=new Dme(t,s),e=new Lme(e,s);let n,i,a,c,l;switch(r){case">":n=Rz,i=Ome,a=Tz,c=">",l=">=";break;case"<":n=Tz,i=Fme,a=Rz,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Mme(t,e,s))return!1;for(let u=0;u{m.semver===_me&&(m=new vz(">=0.0.0")),d=d||m,p=p||m,n(m.semver,d.semver,s)?d=m:a(m.semver,p.semver,s)&&(p=m)}),d.operator===c||d.operator===l||(!p.operator||p.operator===c)&&i(t,p.semver))return!1;if(p.operator===l&&a(t,p.semver))return!1}return!0},"outside");Pz.exports=Ume});var Dz=g((QGe,kz)=>{"use strict";var qme=Ng(),Gme=o((t,e,r)=>qme(t,e,">",r),"gtr");kz.exports=Gme});var Lz=g((SGe,_z)=>{"use strict";var Hme=Ng(),zme=o((t,e,r)=>Hme(t,e,"<",r),"ltr");_z.exports=zme});var Fz=g((TGe,Oz)=>{"use strict";var Mz=ks(),$me=o((t,e,r)=>(t=new Mz(t,r),e=new Mz(e,r),t.intersects(e,r)),"intersects");Oz.exports=$me});var qz=g((PGe,Uz)=>{"use strict";var Vme=zd(),Yme=Ps();Uz.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>Yme(A,d,r));for(let A of a)Vme(A,e,r)?(i=A,n||(n=A)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let c=[];for(let[A,d]of s)A===d?c.push(A):!d&&A===a[0]?c.push("*"):d?A===a[0]?c.push(`<=${d}`):c.push(`${A} - ${d}`):c.push(`>=${A}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var Gz=ks(),l0=Gd(),{ANY:c0}=l0,$d=zd(),u0=Ps(),Jme=o((t,e,r={})=>{if(t===e)return!0;t=new Gz(t,r),e=new Gz(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=jme(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),Wme=[new l0(">=0.0.0-0")],Hz=[new l0(">=0.0.0")],jme=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===c0){if(e.length===1&&e[0].semver===c0)return!0;r.includePrerelease?t=Wme:t=Hz}if(e.length===1&&e[0].semver===c0){if(r.includePrerelease)return!0;e=Hz}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=zz(n,m,r):m.operator==="<"||m.operator==="<="?i=$z(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=u0(n.semver,i.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let m of s){if(n&&!$d(m,String(n),r)||i&&!$d(m,String(i),r))return null;for(let h of e)if(!$d(m,String(h),r))return!1;return!0}let c,l,u,A,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,p=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let m of e){if(A=A||m.operator===">"||m.operator===">=",u=u||m.operator==="<"||m.operator==="<=",n){if(p&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===p.major&&m.semver.minor===p.minor&&m.semver.patch===p.patch&&(p=!1),m.operator===">"||m.operator===">="){if(c=zz(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!$d(n.semver,String(m),r))return!1}if(i){if(d&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===d.major&&m.semver.minor===d.minor&&m.semver.patch===d.patch&&(d=!1),m.operator==="<"||m.operator==="<="){if(l=$z(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!$d(i.semver,String(m),r))return!1}if(!m.operator&&(i||n)&&a!==0)return!1}return!(n&&u&&!i&&a!==0||i&&A&&!n&&a!==0||p||d)},"simpleSubset"),zz=o((t,e,r)=>{if(!t)return e;let s=u0(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),$z=o((t,e,r)=>{if(!t)return e;let s=u0(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");Vz.exports=Jme});var d0=g((_Ge,jz)=>{"use strict";var A0=ru(),Jz=Fd(),Kme=ir(),Wz=WQ(),Xme=tc(),Zme=IH(),ehe=wH(),the=QH(),rhe=RH(),she=vH(),nhe=kH(),ihe=_H(),ohe=MH(),ahe=Ps(),che=qH(),lhe=HH(),uhe=Ig(),Ahe=YH(),dhe=WH(),phe=qd(),mhe=Bg(),hhe=XQ(),fhe=ZQ(),ghe=wg(),Ehe=bg(),yhe=e0(),Che=nz(),Ihe=Gd(),Bhe=ks(),whe=zd(),bhe=yz(),xhe=Iz(),Qhe=wz(),Nhe=Qz(),She=Sz(),Rhe=Ng(),The=Dz(),vhe=Lz(),Phe=Fz(),khe=qz(),Dhe=Yz();jz.exports={parse:Xme,valid:Zme,clean:ehe,inc:the,diff:rhe,major:she,minor:nhe,patch:ihe,prerelease:ohe,compare:ahe,rcompare:che,compareLoose:lhe,compareBuild:uhe,sort:Ahe,rsort:dhe,gt:phe,lt:mhe,eq:hhe,neq:fhe,gte:ghe,lte:Ehe,cmp:yhe,coerce:Che,Comparator:Ihe,Range:Bhe,satisfies:whe,toComparators:bhe,maxSatisfying:xhe,minSatisfying:Qhe,minVersion:Nhe,validRange:She,outside:Rhe,gtr:The,ltr:vhe,intersects:Phe,simplifyRange:khe,subset:Dhe,SemVer:Kme,re:A0.re,src:A0.src,tokens:A0.t,SEMVER_SPEC_VERSION:Jz.SEMVER_SPEC_VERSION,RELEASE_TYPES:Jz.RELEASE_TYPES,compareIdentifiers:Wz.compareIdentifiers,rcompareIdentifiers:Wz.rcompareIdentifiers}});var au=g((Pze,D$)=>{"use strict";var mge="2.0.0",hge=Number.MAX_SAFE_INTEGER||9007199254740991,fge=16,gge=250,Ege=["major","premajor","minor","preminor","patch","prepatch","prerelease"];D$.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:fge,MAX_SAFE_BUILD_LENGTH:gge,MAX_SAFE_INTEGER:hge,RELEASE_TYPES:Ege,SEMVER_SPEC_VERSION:mge,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var tp=g((kze,_$)=>{"use strict";var yge=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};_$.exports=yge});var cu=g((Jn,L$)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:k0,MAX_SAFE_BUILD_LENGTH:Cge,MAX_LENGTH:Ige}=au(),Bge=tp();Jn=L$.exports={};var wge=Jn.re=[],bge=Jn.safeRe=[],M=Jn.src=[],xge=Jn.safeSrc=[],O=Jn.t={},Qge=0,D0="[a-zA-Z0-9-]",Nge=[["\\s",1],["\\d",Ige],[D0,Cge]],Sge=o(t=>{for(let[e,r]of Nge)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ne=o((t,e,r)=>{let s=Sge(e),n=Qge++;Bge(t,n,e),O[t]=n,M[n]=e,xge[n]=s,wge[n]=new RegExp(e,r?"g":void 0),bge[n]=new RegExp(s,r?"g":void 0)},"createToken");ne("NUMERICIDENTIFIER","0|[1-9]\\d*");ne("NUMERICIDENTIFIERLOOSE","\\d+");ne("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${D0}*`);ne("MAINVERSION",`(${M[O.NUMERICIDENTIFIER]})\\.(${M[O.NUMERICIDENTIFIER]})\\.(${M[O.NUMERICIDENTIFIER]})`);ne("MAINVERSIONLOOSE",`(${M[O.NUMERICIDENTIFIERLOOSE]})\\.(${M[O.NUMERICIDENTIFIERLOOSE]})\\.(${M[O.NUMERICIDENTIFIERLOOSE]})`);ne("PRERELEASEIDENTIFIER",`(?:${M[O.NONNUMERICIDENTIFIER]}|${M[O.NUMERICIDENTIFIER]})`);ne("PRERELEASEIDENTIFIERLOOSE",`(?:${M[O.NONNUMERICIDENTIFIER]}|${M[O.NUMERICIDENTIFIERLOOSE]})`);ne("PRERELEASE",`(?:-(${M[O.PRERELEASEIDENTIFIER]}(?:\\.${M[O.PRERELEASEIDENTIFIER]})*))`);ne("PRERELEASELOOSE",`(?:-?(${M[O.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${M[O.PRERELEASEIDENTIFIERLOOSE]})*))`);ne("BUILDIDENTIFIER",`${D0}+`);ne("BUILD",`(?:\\+(${M[O.BUILDIDENTIFIER]}(?:\\.${M[O.BUILDIDENTIFIER]})*))`);ne("FULLPLAIN",`v?${M[O.MAINVERSION]}${M[O.PRERELEASE]}?${M[O.BUILD]}?`);ne("FULL",`^${M[O.FULLPLAIN]}$`);ne("LOOSEPLAIN",`[v=\\s]*${M[O.MAINVERSIONLOOSE]}${M[O.PRERELEASELOOSE]}?${M[O.BUILD]}?`);ne("LOOSE",`^${M[O.LOOSEPLAIN]}$`);ne("GTLT","((?:<|>)?=?)");ne("XRANGEIDENTIFIERLOOSE",`${M[O.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ne("XRANGEIDENTIFIER",`${M[O.NUMERICIDENTIFIER]}|x|X|\\*`);ne("XRANGEPLAIN",`[v=\\s]*(${M[O.XRANGEIDENTIFIER]})(?:\\.(${M[O.XRANGEIDENTIFIER]})(?:\\.(${M[O.XRANGEIDENTIFIER]})(?:${M[O.PRERELEASE]})?${M[O.BUILD]}?)?)?`);ne("XRANGEPLAINLOOSE",`[v=\\s]*(${M[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[O.XRANGEIDENTIFIERLOOSE]})(?:${M[O.PRERELEASELOOSE]})?${M[O.BUILD]}?)?)?`);ne("XRANGE",`^${M[O.GTLT]}\\s*${M[O.XRANGEPLAIN]}$`);ne("XRANGELOOSE",`^${M[O.GTLT]}\\s*${M[O.XRANGEPLAINLOOSE]}$`);ne("COERCEPLAIN",`(^|[^\\d])(\\d{1,${k0}})(?:\\.(\\d{1,${k0}}))?(?:\\.(\\d{1,${k0}}))?`);ne("COERCE",`${M[O.COERCEPLAIN]}(?:$|[^\\d])`);ne("COERCEFULL",M[O.COERCEPLAIN]+`(?:${M[O.PRERELEASE]})?(?:${M[O.BUILD]})?(?:$|[^\\d])`);ne("COERCERTL",M[O.COERCE],!0);ne("COERCERTLFULL",M[O.COERCEFULL],!0);ne("LONETILDE","(?:~>?)");ne("TILDETRIM",`(\\s*)${M[O.LONETILDE]}\\s+`,!0);Jn.tildeTrimReplace="$1~";ne("TILDE",`^${M[O.LONETILDE]}${M[O.XRANGEPLAIN]}$`);ne("TILDELOOSE",`^${M[O.LONETILDE]}${M[O.XRANGEPLAINLOOSE]}$`);ne("LONECARET","(?:\\^)");ne("CARETTRIM",`(\\s*)${M[O.LONECARET]}\\s+`,!0);Jn.caretTrimReplace="$1^";ne("CARET",`^${M[O.LONECARET]}${M[O.XRANGEPLAIN]}$`);ne("CARETLOOSE",`^${M[O.LONECARET]}${M[O.XRANGEPLAINLOOSE]}$`);ne("COMPARATORLOOSE",`^${M[O.GTLT]}\\s*(${M[O.LOOSEPLAIN]})$|^$`);ne("COMPARATOR",`^${M[O.GTLT]}\\s*(${M[O.FULLPLAIN]})$|^$`);ne("COMPARATORTRIM",`(\\s*)${M[O.GTLT]}\\s*(${M[O.LOOSEPLAIN]}|${M[O.XRANGEPLAIN]})`,!0);Jn.comparatorTrimReplace="$1$2$3";ne("HYPHENRANGE",`^\\s*(${M[O.XRANGEPLAIN]})\\s+-\\s+(${M[O.XRANGEPLAIN]})\\s*$`);ne("HYPHENRANGELOOSE",`^\\s*(${M[O.XRANGEPLAINLOOSE]})\\s+-\\s+(${M[O.XRANGEPLAINLOOSE]})\\s*$`);ne("STAR","(<|>)?=?\\s*\\*");ne("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ne("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Ug=g((_ze,M$)=>{"use strict";var Rge=Object.freeze({loose:!0}),Tge=Object.freeze({}),vge=o(t=>t?typeof t!="object"?Rge:t:Tge,"parseOptions");M$.exports=vge});var _0=g((Mze,U$)=>{"use strict";var O$=/^[0-9]+$/,F$=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tF$(e,t),"rcompareIdentifiers");U$.exports={compareIdentifiers:F$,rcompareIdentifiers:Pge}});var Kt=g((Fze,G$)=>{"use strict";var qg=tp(),{MAX_LENGTH:q$,MAX_SAFE_INTEGER:Gg}=au(),{safeRe:Hg,t:zg}=cu(),kge=Ug(),{compareIdentifiers:L0}=_0(),Dge=o((t,e)=>{let r=e.split(".");if(r.length>t.length)return!1;for(let s=0;sq$)throw new TypeError(`version is longer than ${q$} characters`);qg("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?Hg[zg.LOOSE]:Hg[zg.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>Gg||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Gg||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Gg||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&ie.major?1:this.minore.minor?1:this.patche.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(qg("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return L0(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(qg("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return L0(s,n)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?Hg[zg.PRERELEASELOOSE]:Hg[zg.PRERELEASE]);if(!n||n[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let i=[r,n];if(s===!1&&(i=[r]),Dge(this.prerelease,r)){let a=this.prerelease[r.split(".").length];isNaN(a)&&(this.prerelease=i)}else this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};G$.exports=M0});var Ko=g((qze,z$)=>{"use strict";var H$=Kt(),_ge=o((t,e,r=!1)=>{if(t instanceof H$)return t;try{return new H$(t,e)}catch(s){if(!r)return null;throw s}},"parse");z$.exports=_ge});var V$=g((Hze,$$)=>{"use strict";var Lge=Ko(),Mge=o((t,e)=>{let r=Lge(t,e);return r?r.version:null},"valid");$$.exports=Mge});var J$=g(($ze,Y$)=>{"use strict";var Oge=Ko(),Fge=o((t,e)=>{let r=Oge(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");Y$.exports=Fge});var K$=g((Yze,j$)=>{"use strict";var W$=Kt(),Uge=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new W$(t instanceof W$?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");j$.exports=Uge});var eV=g((Wze,Z$)=>{"use strict";var X$=Ko(),qge=o((t,e)=>{let r=X$(t,null,!0),s=X$(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,a=i?r:s,c=i?s:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let A=l?"pre":"";return r.major!==s.major?A+"major":r.minor!==s.minor?A+"minor":r.patch!==s.patch?A+"patch":"prerelease"},"diff");Z$.exports=qge});var rV=g((Kze,tV)=>{"use strict";var Gge=Kt(),Hge=o((t,e)=>new Gge(t,e).major,"major");tV.exports=Hge});var nV=g((Zze,sV)=>{"use strict";var zge=Kt(),$ge=o((t,e)=>new zge(t,e).minor,"minor");sV.exports=$ge});var oV=g((t$e,iV)=>{"use strict";var Vge=Kt(),Yge=o((t,e)=>new Vge(t,e).patch,"patch");iV.exports=Yge});var cV=g((s$e,aV)=>{"use strict";var Jge=Ko(),Wge=o((t,e)=>{let r=Jge(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");aV.exports=Wge});var Ms=g((i$e,uV)=>{"use strict";var lV=Kt(),jge=o((t,e,r)=>new lV(t,r).compare(new lV(e,r)),"compare");uV.exports=jge});var dV=g((a$e,AV)=>{"use strict";var Kge=Ms(),Xge=o((t,e,r)=>Kge(e,t,r),"rcompare");AV.exports=Xge});var mV=g((l$e,pV)=>{"use strict";var Zge=Ms(),eEe=o((t,e)=>Zge(t,e,!0),"compareLoose");pV.exports=eEe});var $g=g((A$e,fV)=>{"use strict";var hV=Kt(),tEe=o((t,e,r)=>{let s=new hV(t,r),n=new hV(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");fV.exports=tEe});var EV=g((p$e,gV)=>{"use strict";var rEe=$g(),sEe=o((t,e)=>t.sort((r,s)=>rEe(r,s,e)),"sort");gV.exports=sEe});var CV=g((h$e,yV)=>{"use strict";var nEe=$g(),iEe=o((t,e)=>t.sort((r,s)=>nEe(s,r,e)),"rsort");yV.exports=iEe});var rp=g((g$e,IV)=>{"use strict";var oEe=Ms(),aEe=o((t,e,r)=>oEe(t,e,r)>0,"gt");IV.exports=aEe});var Vg=g((y$e,BV)=>{"use strict";var cEe=Ms(),lEe=o((t,e,r)=>cEe(t,e,r)<0,"lt");BV.exports=lEe});var O0=g((I$e,wV)=>{"use strict";var uEe=Ms(),AEe=o((t,e,r)=>uEe(t,e,r)===0,"eq");wV.exports=AEe});var F0=g((w$e,bV)=>{"use strict";var dEe=Ms(),pEe=o((t,e,r)=>dEe(t,e,r)!==0,"neq");bV.exports=pEe});var Yg=g((x$e,xV)=>{"use strict";var mEe=Ms(),hEe=o((t,e,r)=>mEe(t,e,r)>=0,"gte");xV.exports=hEe});var Jg=g((N$e,QV)=>{"use strict";var fEe=Ms(),gEe=o((t,e,r)=>fEe(t,e,r)<=0,"lte");QV.exports=gEe});var U0=g((R$e,NV)=>{"use strict";var EEe=O0(),yEe=F0(),CEe=rp(),IEe=Yg(),BEe=Vg(),wEe=Jg(),bEe=o((t,e,r,s)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return EEe(t,r,s);case"!=":return yEe(t,r,s);case">":return CEe(t,r,s);case">=":return IEe(t,r,s);case"<":return BEe(t,r,s);case"<=":return wEe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");NV.exports=bEe});var RV=g((v$e,SV)=>{"use strict";var xEe=Kt(),QEe=Ko(),{safeRe:Wg,t:jg}=cu(),NEe=o((t,e)=>{if(t instanceof xEe)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?Wg[jg.COERCEFULL]:Wg[jg.COERCE]);else{let l=e.includePrerelease?Wg[jg.COERCERTLFULL]:Wg[jg.COERCERTL],u;for(;(u=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||u.index+u[0].length!==r.index+r[0].length)&&(r=u),l.lastIndex=u.index+u[1].length+u[2].length;l.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return QEe(`${s}.${n}.${i}${a}${c}`,e)},"coerce");SV.exports=NEe});var vV=g((k$e,TV)=>{"use strict";var SEe=Ko(),REe=au(),TEe=Kt(),vEe=o((t,e,r)=>{if(!REe.RELEASE_TYPES.includes(e))return null;let s=PEe(t,r);return s&&kEe(s,e)},"truncate"),PEe=o((t,e)=>{let r=t instanceof TEe?t.version:t;return SEe(r,e)},"cloneInputVersion"),kEe=o((t,e)=>{if(DEe(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"),DEe=o(t=>t.startsWith("pre"),"isPrerelease");TV.exports=vEe});var kV=g((_$e,PV)=>{"use strict";var q0=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,r)}return this}};PV.exports=q0});var Os=g((M$e,MV)=>{"use strict";var _Ee=/\s+/g,G0=class t{static{o(this,"Range")}constructor(e,r){if(r=MEe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof H0)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(_Ee," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(n=>!_V(n[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&VEe(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace($Ee,"");let s=((this.options.includePrerelease&&HEe)|(this.options.loose&&zEe))+":"+e,n=DV.get(s);if(n)return n;let i=this.options.loose,a=i?yr[Xt.HYPHENRANGELOOSE]:yr[Xt.HYPHENRANGE];e=e.replace(a,sye(this.options.includePrerelease)),Ge("hyphen replace",e),e=e.replace(yr[Xt.COMPARATORTRIM],UEe),Ge("comparator trim",e),e=e.replace(yr[Xt.TILDETRIM],qEe),Ge("tilde trim",e),e=e.replace(yr[Xt.CARETTRIM],GEe),Ge("caret trim",e);let c=e.split(" ").map(d=>YEe(d,this.options)).join(" ").split(/\s+/).map(d=>rye(d,this.options));i&&(c=c.filter(d=>(Ge("loose invalid filter",d,this.options),!!d.match(yr[Xt.COMPARATORLOOSE])))),Ge("range list",c);let l=new Map,u=c.map(d=>new H0(d,this.options));for(let d of u){if(_V(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return DV.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>LV(s,r)&&e.set.some(n=>LV(n,r)&&s.every(i=>n.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new OEe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),VEe=o(t=>t.value==="","isAny"),LV=o((t,e)=>{let r=!0,s=t.slice(),n=s.pop();for(;r&&s.length;)r=s.every(i=>n.intersects(i,e)),n=s.pop();return r},"isSatisfiable"),YEe=o((t,e)=>(t=t.replace(yr[Xt.BUILD],""),Ge("comp",t,e),t=KEe(t,e),Ge("caret",t),t=WEe(t,e),Ge("tildes",t),t=ZEe(t,e),Ge("xrange",t),t=tye(t,e),Ge("stars",t),t),"parseComparator"),Pt=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),JEe=o((t,e,r)=>Pt(t)&&!Pt(e)||Pt(e)&&r&&!Pt(r),"invalidXRangeOrder"),WEe=o((t,e)=>t.trim().split(/\s+/).map(r=>jEe(r,e)).join(" "),"replaceTildes"),jEe=o((t,e)=>{let r=e.loose?yr[Xt.TILDELOOSE]:yr[Xt.TILDE],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{Ge("tilde",t,n,i,a,c,l);let u;return Pt(i)?u="":Pt(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:Pt(c)?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:l?(Ge("replaceTilde pr",l),u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`):u=`>=${i}.${a}.${c} <${i}.${+a+1}.0-0`,Ge("tilde return",u),u})},"replaceTilde"),KEe=o((t,e)=>t.trim().split(/\s+/).map(r=>XEe(r,e)).join(" "),"replaceCarets"),XEe=o((t,e)=>{Ge("caret",t,e);let r=e.loose?yr[Xt.CARETLOOSE]:yr[Xt.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{Ge("caret",t,n,i,a,c,l);let u;return Pt(i)?u="":Pt(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:Pt(c)?i==="0"?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.0${s} <${+i+1}.0.0-0`:l?(Ge("replaceCaret pr",l),i==="0"?a==="0"?u=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):(Ge("no pr"),i==="0"?a==="0"?u=`>=${i}.${a}.${c} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),Ge("caret return",u),u})},"replaceCaret"),ZEe=o((t,e)=>(Ge("replaceXRanges",t,e),t.split(/\s+/).map(r=>eye(r,e)).join(" ")),"replaceXRanges"),eye=o((t,e)=>{t=t.trim();let r=e.loose?yr[Xt.XRANGELOOSE]:yr[Xt.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{if(Ge("xRange",t,s,n,i,a,c,l),JEe(i,a,c))return t;let u=Pt(i),A=u||Pt(a),d=A||Pt(c),p=d;return n==="="&&p&&(n=""),l=e.includePrerelease?"-0":"",u?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&p?(A&&(a=0),c=0,n===">"?(n=">=",A?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):n==="<="&&(n="<",A?i=+i+1:a=+a+1),n==="<"&&(l="-0"),s=`${n+i}.${a}.${c}${l}`):A?s=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(s=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),Ge("xRange return",s),s})},"replaceXRange"),tye=o((t,e)=>(Ge("replaceStars",t,e),t.trim().replace(yr[Xt.STAR],"")),"replaceStars"),rye=o((t,e)=>(Ge("replaceGTE0",t,e),t.trim().replace(yr[e.includePrerelease?Xt.GTE0PRE:Xt.GTE0],"")),"replaceGTE0"),sye=o(t=>(e,r,s,n,i,a,c,l,u,A,d,p)=>(Pt(s)?r="":Pt(n)?r=`>=${s}.0.0${t?"-0":""}`:Pt(i)?r=`>=${s}.${n}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Pt(u)?l="":Pt(A)?l=`<${+u+1}.0.0-0`:Pt(d)?l=`<${u}.${+A+1}.0-0`:p?l=`<=${u}.${A}.${d}-${p}`:t?l=`<${u}.${A}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),nye=o((t,e,r)=>{for(let s=0;s0){let n=t[s].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0},"testSet")});var sp=g((F$e,HV)=>{"use strict";var np=Symbol("SemVer ANY"),V0=class t{static{o(this,"Comparator")}static get ANY(){return np}constructor(e,r){if(r=OV(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),$0("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===np?this.value="":this.value=this.operator+this.semver.version,$0("comp",this)}parse(e){let r=this.options.loose?FV[UV.COMPARATORLOOSE]:FV[UV.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new qV(s[2],this.options.loose):this.semver=np}toString(){return this.value}test(e){if($0("Comparator.test",e,this.options.loose),this.semver===np||e===np)return!0;if(typeof e=="string")try{e=new qV(e,this.options)}catch{return!1}return z0(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 GV(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new GV(this.value,r).test(e.semver):(r=OV(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("=")||z0(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||z0(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};HV.exports=V0;var OV=Ug(),{safeRe:FV,t:UV}=cu(),z0=U0(),$0=tp(),qV=Kt(),GV=Os()});var ip=g((q$e,zV)=>{"use strict";var iye=Os(),oye=o((t,e,r)=>{try{e=new iye(e,r)}catch{return!1}return e.test(t)},"satisfies");zV.exports=oye});var VV=g((H$e,$V)=>{"use strict";var aye=Os(),cye=o((t,e)=>new aye(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");$V.exports=cye});var JV=g(($$e,YV)=>{"use strict";var lye=Kt(),uye=Os(),Aye=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new uye(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new lye(s,r))}),s},"maxSatisfying");YV.exports=Aye});var jV=g((Y$e,WV)=>{"use strict";var dye=Kt(),pye=Os(),mye=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new pye(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new dye(s,r))}),s},"minSatisfying");WV.exports=mye});var ZV=g((W$e,XV)=>{"use strict";var Y0=Kt(),hye=Os(),KV=rp(),fye=o((t,e)=>{t=new hye(t,e);let r=new Y0("0.0.0");if(t.test(r)||(r=new Y0("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new Y0(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||KV(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||KV(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");XV.exports=fye});var tY=g((K$e,eY)=>{"use strict";var gye=Os(),Eye=o((t,e)=>{try{return new gye(t,e).range||"*"}catch{return null}},"validRange");eY.exports=Eye});var Kg=g((Z$e,iY)=>{"use strict";var yye=Kt(),nY=sp(),{ANY:Cye}=nY,Iye=Os(),Bye=ip(),rY=rp(),sY=Vg(),wye=Jg(),bye=Yg(),xye=o((t,e,r,s)=>{t=new yye(t,s),e=new Iye(e,s);let n,i,a,c,l;switch(r){case">":n=rY,i=wye,a=sY,c=">",l=">=";break;case"<":n=sY,i=bye,a=rY,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Bye(t,e,s))return!1;for(let u=0;u{m.semver===Cye&&(m=new nY(">=0.0.0")),d=d||m,p=p||m,n(m.semver,d.semver,s)?d=m:a(m.semver,p.semver,s)&&(p=m)}),d.operator===c||d.operator===l||(!p.operator||p.operator===c)&&i(t,p.semver))return!1;if(p.operator===l&&a(t,p.semver))return!1}return!0},"outside");iY.exports=xye});var aY=g((tVe,oY)=>{"use strict";var Qye=Kg(),Nye=o((t,e,r)=>Qye(t,e,">",r),"gtr");oY.exports=Nye});var lY=g((sVe,cY)=>{"use strict";var Sye=Kg(),Rye=o((t,e,r)=>Sye(t,e,"<",r),"ltr");cY.exports=Rye});var dY=g((iVe,AY)=>{"use strict";var uY=Os(),Tye=o((t,e,r)=>(t=new uY(t,r),e=new uY(e,r),t.intersects(e,r)),"intersects");AY.exports=Tye});var mY=g((aVe,pY)=>{"use strict";var vye=ip(),Pye=Ms();pY.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>Pye(A,d,r));for(let A of a)vye(A,e,r)?(i=A,n||(n=A)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let c=[];for(let[A,d]of s)A===d?c.push(A):!d&&A===a[0]?c.push("*"):d?A===a[0]?c.push(`<=${d}`):c.push(`${A} - ${d}`):c.push(`>=${A}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var hY=Os(),j0=sp(),{ANY:J0}=j0,W0=ip(),K0=Ms(),kye=o((t,e,r={})=>{if(t===e)return!0;t=new hY(t,r),e=new hY(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=_ye(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),Dye=[new j0(">=0.0.0-0")],fY=[new j0(">=0.0.0")],_ye=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===J0){if(e.length===1&&e[0].semver===J0)return!0;r.includePrerelease?t=Dye:t=fY}if(e.length===1&&e[0].semver===J0){if(r.includePrerelease)return!0;e=fY}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=gY(n,m,r):m.operator==="<"||m.operator==="<="?i=EY(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=K0(n.semver,i.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let m of s){if(n&&!W0(m,String(n),r)||i&&!W0(m,String(i),r))return null;for(let h of e)if(!W0(m,String(h),r))return!1;return!0}let c,l,u,A,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,p=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let m of e){if(A=A||m.operator===">"||m.operator===">=",u=u||m.operator==="<"||m.operator==="<=",n){if(p&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===p.major&&m.semver.minor===p.minor&&m.semver.patch===p.patch&&(p=!1),m.operator===">"||m.operator===">="){if(c=gY(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!m.test(n.semver))return!1}if(i){if(d&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===d.major&&m.semver.minor===d.minor&&m.semver.patch===d.patch&&(d=!1),m.operator==="<"||m.operator==="<="){if(l=EY(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!m.test(i.semver))return!1}if(!m.operator&&(i||n)&&a!==0)return!1}return!(n&&u&&!i&&a!==0||i&&A&&!n&&a!==0||p||d)},"simpleSubset"),gY=o((t,e,r)=>{if(!t)return e;let s=K0(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),EY=o((t,e,r)=>{if(!t)return e;let s=K0(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");yY.exports=kye});var bY=g((uVe,wY)=>{"use strict";var X0=cu(),IY=au(),Lye=Kt(),BY=_0(),Mye=Ko(),Oye=V$(),Fye=J$(),Uye=K$(),qye=eV(),Gye=rV(),Hye=nV(),zye=oV(),$ye=cV(),Vye=Ms(),Yye=dV(),Jye=mV(),Wye=$g(),jye=EV(),Kye=CV(),Xye=rp(),Zye=Vg(),eCe=O0(),tCe=F0(),rCe=Yg(),sCe=Jg(),nCe=U0(),iCe=RV(),oCe=vV(),aCe=sp(),cCe=Os(),lCe=ip(),uCe=VV(),ACe=JV(),dCe=jV(),pCe=ZV(),mCe=tY(),hCe=Kg(),fCe=aY(),gCe=lY(),ECe=dY(),yCe=mY(),CCe=CY();wY.exports={parse:Mye,valid:Oye,clean:Fye,inc:Uye,diff:qye,major:Gye,minor:Hye,patch:zye,prerelease:$ye,compare:Vye,rcompare:Yye,compareLoose:Jye,compareBuild:Wye,sort:jye,rsort:Kye,gt:Xye,lt:Zye,eq:eCe,neq:tCe,gte:rCe,lte:sCe,cmp:nCe,coerce:iCe,truncate:oCe,Comparator:aCe,Range:cCe,satisfies:lCe,toComparators:uCe,maxSatisfying:ACe,minSatisfying:dCe,minVersion:pCe,validRange:mCe,outside:hCe,gtr:fCe,ltr:gCe,intersects:ECe,simplifyRange:yCe,subset:CCe,SemVer:Lye,re:X0.re,src:X0.src,tokens:X0.t,SEMVER_SPEC_VERSION:IY.SEMVER_SPEC_VERSION,RELEASE_TYPES:IY.RELEASE_TYPES,compareIdentifiers:BY.compareIdentifiers,rcompareIdentifiers:BY.rcompareIdentifiers}});var dJ=g((hJe,AJ)=>{var hu=1e3,fu=hu*60,gu=fu*60,pc=gu*24,rIe=pc*7,sIe=pc*365.25;AJ.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return nIe(t);if(r==="number"&&isFinite(t))return e.long?oIe(t):iIe(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function nIe(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),s=(e[2]||"ms").toLowerCase();switch(s){case"years":case"year":case"yrs":case"yr":case"y":return r*sIe;case"weeks":case"week":case"w":return r*rIe;case"days":case"day":case"d":return r*pc;case"hours":case"hour":case"hrs":case"hr":case"h":return r*gu;case"minutes":case"minute":case"mins":case"min":case"m":return r*fu;case"seconds":case"second":case"secs":case"sec":case"s":return r*hu;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(nIe,"parse");function iIe(t){var e=Math.abs(t);return e>=pc?Math.round(t/pc)+"d":e>=gu?Math.round(t/gu)+"h":e>=fu?Math.round(t/fu)+"m":e>=hu?Math.round(t/hu)+"s":t+"ms"}o(iIe,"fmtShort");function oIe(t){var e=Math.abs(t);return e>=pc?wE(t,e,pc,"day"):e>=gu?wE(t,e,gu,"hour"):e>=fu?wE(t,e,fu,"minute"):e>=hu?wE(t,e,hu,"second"):t+" ms"}o(oIe,"fmtLong");function wE(t,e,r,s){var n=e>=r*1.5;return Math.round(t/r)+" "+s+(n?"s":"")}o(wE,"plural")});var wN=g((gJe,pJ)=>{function aIe(t){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=n,r.enabled=a,r.humanize=dJ(),r.destroy=u,Object.keys(t).forEach(A=>{r[A]=t[A]}),r.names=[],r.skips=[],r.formatters={};function e(A){let d=0;for(let p=0;p{if(R==="%%")return"%";B++;let we=r.formatters[q];if(typeof we=="function"){let et=C[B];R=we.call(E,et),C.splice(B,1),B--}return R}),r.formatArgs.call(E,C),(E.log||r.log).apply(E,C)}return o(f,"debug"),f.namespace=A,f.useColors=r.useColors(),f.color=r.selectColor(A),f.extend=s,f.destroy=r.destroy,Object.defineProperty(f,"enabled",{enumerable:!0,configurable:!1,get:o(()=>p!==null?p:(m!==r.namespaces&&(m=r.namespaces,h=r.enabled(A)),h),"get"),set:o(C=>{p=C},"set")}),typeof r.init=="function"&&r.init(f),f}o(r,"createDebug");function s(A,d){let p=r(this.namespace+(typeof d>"u"?":":d)+A);return p.log=this.log,p}o(s,"extend");function n(A){r.save(A),r.namespaces=A,r.names=[],r.skips=[];let d,p=(typeof A=="string"?A:"").split(/[\s,]+/),m=p.length;for(d=0;d"-"+d)].join(",");return r.enable(""),A}o(i,"disable");function a(A){if(A[A.length-1]==="*")return!0;let d,p;for(d=0,p=r.skips.length;d{ds.formatArgs=lIe;ds.save=uIe;ds.load=AIe;ds.useColors=cIe;ds.storage=dIe();ds.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`."))}})();ds.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 cIe(){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(cIe,"useColors");function lIe(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+bE.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,n=>{n!=="%%"&&(r++,n==="%c"&&(s=r))}),t.splice(s,0,e)}o(lIe,"formatArgs");ds.log=console.debug||console.log||(()=>{});function uIe(t){try{t?ds.storage.setItem("debug",t):ds.storage.removeItem("debug")}catch{}}o(uIe,"save");function AIe(){let t;try{t=ds.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(AIe,"load");function dIe(){try{return localStorage}catch{}}o(dIe,"localstorage");bE.exports=wN()(ds);var{formatters:pIe}=bE.exports;pIe.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var fJ=g((CJe,hJ)=>{"use strict";hJ.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",s=e.indexOf(r+t),n=e.indexOf("--");return s!==-1&&(n===-1||s{"use strict";var mIe=require("os"),gJ=require("tty"),Us=fJ(),{env:Ht}=process,ea;Us("no-color")||Us("no-colors")||Us("color=false")||Us("color=never")?ea=0:(Us("color")||Us("colors")||Us("color=true")||Us("color=always"))&&(ea=1);"FORCE_COLOR"in Ht&&(Ht.FORCE_COLOR==="true"?ea=1:Ht.FORCE_COLOR==="false"?ea=0:ea=Ht.FORCE_COLOR.length===0?1:Math.min(parseInt(Ht.FORCE_COLOR,10),3));function bN(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(bN,"translateLevel");function xN(t,e){if(ea===0)return 0;if(Us("color=16m")||Us("color=full")||Us("color=truecolor"))return 3;if(Us("color=256"))return 2;if(t&&!e&&ea===void 0)return 0;let r=ea||0;if(Ht.TERM==="dumb")return r;if(process.platform==="win32"){let s=mIe.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in Ht)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(s=>s in Ht)||Ht.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Ht)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ht.TEAMCITY_VERSION)?1:0;if(Ht.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Ht){let s=parseInt((Ht.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ht.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ht.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ht.TERM)||"COLORTERM"in Ht?1:r}o(xN,"supportsColor");function hIe(t){let e=xN(t,t&&t.isTTY);return bN(e)}o(hIe,"getSupportLevel");EJ.exports={supportsColor:hIe,stdout:bN(xN(!0,gJ.isatty(1))),stderr:bN(xN(!0,gJ.isatty(2)))}});var IJ=g((Zt,QE)=>{var fIe=require("tty"),xE=require("util");Zt.init=wIe;Zt.log=CIe;Zt.formatArgs=EIe;Zt.save=IIe;Zt.load=BIe;Zt.useColors=gIe;Zt.destroy=xE.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Zt.colors=[6,2,3,4,5,1];try{let t=yJ();t&&(t.stderr||t).level>=2&&(Zt.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{}Zt.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(n,i)=>i.toUpperCase()),s=process.env[e];return/^(yes|on|true|enabled)$/i.test(s)?s=!0:/^(no|off|false|disabled)$/i.test(s)?s=!1:s==="null"?s=null:s=Number(s),t[r]=s,t},{});function gIe(){return"colors"in Zt.inspectOpts?!!Zt.inspectOpts.colors:fIe.isatty(process.stderr.fd)}o(gIe,"useColors");function EIe(t){let{namespace:e,useColors:r}=this;if(r){let s=this.color,n="\x1B[3"+(s<8?s:"8;5;"+s),i=` ${n};1m${e} \x1B[0m`;t[0]=i+t[0].split(` `).join(` `+i),t.push(n+"m+"+QE.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=yIe()+e+" "+t[0]}o(EIe,"formatArgs");function yIe(){return Zt.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(yIe,"getDate");function CIe(...t){return process.stderr.write(xE.format(...t)+` `)}o(CIe,"log");function IIe(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(IIe,"save");function BIe(){return process.env.DEBUG}o(BIe,"load");function wIe(t){t.inspectOpts={};let e=Object.keys(Zt.inspectOpts);for(let r=0;re.trim()).join(" ")};CJ.O=function(t){return this.inspectOpts.colors=this.useColors,xE.inspect(t,this.inspectOpts)}});var NE=g((bJe,QN)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?QN.exports=mJ():QN.exports=IJ()});var bJ=g(Fr=>{"use strict";var bIe=Fr&&Fr.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),xIe=Fr&&Fr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),BJ=Fr&&Fr.__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)&&bIe(e,t,r);return xIe(e,t),e};Object.defineProperty(Fr,"__esModule",{value:!0});Fr.req=Fr.json=Fr.toBuffer=void 0;var QIe=BJ(require("http")),NIe=BJ(require("https"));async function wJ(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}o(wJ,"toBuffer");Fr.toBuffer=wJ;async function SIe(t){let r=(await wJ(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let n=s;throw n.message+=` (input: ${r})`,n}}o(SIe,"json");Fr.json=SIe;function RIe(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?NIe:QIe).request(t,e),n=new Promise((i,a)=>{s.once("response",i).once("error",a).end()});return s.then=n.then.bind(n),s}o(RIe,"req");Fr.req=RIe});var SN=g(ps=>{"use strict";var QJ=ps&&ps.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),TIe=ps&&ps.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),NJ=ps&&ps.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&QJ(e,t,r);return TIe(e,t),e},vIe=ps&&ps.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&QJ(e,t,r)};Object.defineProperty(ps,"__esModule",{value:!0});ps.Agent=void 0;var PIe=NJ(require("net")),xJ=NJ(require("http")),kIe=require("https");vIe(bJ(),ps);var Xn=Symbol("AgentBaseInternalState"),NN=class extends xJ.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Xn]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(` `).some(s=>s.indexOf("(https.js:")!==-1||s.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new PIe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let s=this.sockets[e],n=s.indexOf(r);n!==-1&&(s.splice(n,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?kIe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let n={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(n),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,n)).then(c=>{if(this.decrementSockets(i,a),c instanceof xJ.Agent)return c.addRequest(e,n);this[Xn].currentSocket=c,super.createSocket(e,r,s)},c=>{this.decrementSockets(i,a),s(c)})}createConnection(){let e=this[Xn].currentSocket;if(this[Xn].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Xn].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Xn]&&(this[Xn].defaultPort=e)}get protocol(){return this[Xn].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Xn]&&(this[Xn].protocol=e)}};ps.Agent=NN});var SJ=g(Eu=>{"use strict";var DIe=Eu&&Eu.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Eu,"__esModule",{value:!0});Eu.parseProxyResponse=void 0;var _Ie=DIe(NE()),SE=(0,_Ie.default)("https-proxy-agent:parse-proxy-response");function LIe(t){return new Promise((e,r)=>{let s=0,n=[];function i(){let A=t.read();A?u(A):t.once("readable",i)}o(i,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",i)}o(a,"cleanup");function c(){a(),SE("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(A){a(),SE("onerror %o",A),r(A)}o(l,"onerror");function u(A){n.push(A),s+=A.length;let d=Buffer.concat(n,s),p=d.indexOf(`\r \r `);if(p===-1){SE("have not received end of HTTP headers yet..."),i();return}let m=d.slice(0,p).toString("ascii").split(`\r `),h=m.shift();if(!h)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let f=h.split(" "),C=+f[1],E=f.slice(2).join(" "),y={};for(let I of m){if(!I)continue;let B=I.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${I}"`));let S=I.slice(0,B).toLowerCase(),R=I.slice(B+1).trimStart(),q=y[S];typeof q=="string"?y[S]=[q,R]:Array.isArray(q)?q.push(R):y[S]=R}SE("got proxy server response: %o %o",h,y),a(),e({connect:{statusCode:C,statusText:E,headers:y},buffered:d})}o(u,"ondata"),t.on("error",l),t.on("end",c),i()})}o(LIe,"parseProxyResponse");Eu.parseProxyResponse=LIe});var kJ=g(qs=>{"use strict";var MIe=qs&&qs.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),OIe=qs&&qs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),vJ=qs&&qs.__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)&&MIe(e,t,r);return OIe(e,t),e},PJ=qs&&qs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(qs,"__esModule",{value:!0});qs.HttpsProxyAgent=void 0;var hp=vJ(require("net")),RJ=vJ(require("tls")),FIe=PJ(require("assert")),UIe=PJ(NE()),qIe=SN(),GIe=require("url"),HIe=SJ(),fp=(0,UIe.default)("https-proxy-agent"),RE=class extends qIe.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new GIe.URL(e):e,this.proxyHeaders=r?.headers??{},fp("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?TJ(r,"headers"):null,host:s,port:n}}async connect(e,r){let{proxy:s}=this;if(!r.host)throw new TypeError('No "host" provided');let n;if(s.protocol==="https:"){fp("Creating `tls.Socket`: %o",this.connectOpts);let p=this.connectOpts.servername||this.connectOpts.host;n=RJ.connect({...this.connectOpts,servername:p&&hp.isIP(p)?void 0:p})}else fp("Creating `net.Socket`: %o",this.connectOpts),n=hp.connect(this.connectOpts);let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=hp.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r `;if(s.username||s.password){let p=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(p).toString("base64")}`}i.Host=`${a}:${r.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let p of Object.keys(i))c+=`${p}: ${i[p]}\r `;let l=(0,HIe.parseProxyResponse)(n);n.write(`${c}\r `);let{connect:u,buffered:A}=await l;if(e.emit("proxyConnect",u),this.emit("proxyConnect",u,e),u.statusCode===200){if(e.once("socket",zIe),r.secureEndpoint){fp("Upgrading socket connection to TLS");let p=r.servername||r.host;return RJ.connect({...TJ(r,"host","path","port"),socket:n,servername:hp.isIP(p)?void 0:p})}return n}n.destroy();let d=new hp.Socket({writable:!1});return d.readable=!0,e.once("socket",p=>{fp("Replaying proxy buffer for failed request"),(0,FIe.default)(p.listenerCount("data")>0),p.push(A),p.push(null)}),d}};RE.protocols=["http","https"];qs.HttpsProxyAgent=RE;function zIe(t){t.resume()}o(zIe,"resume");function TJ(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(TJ,"omit")});var LJ=g(Gs=>{"use strict";var $Ie=Gs&&Gs.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),VIe=Gs&&Gs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),_J=Gs&&Gs.__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)&&$Ie(e,t,r);return VIe(e,t),e},YIe=Gs&&Gs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Gs,"__esModule",{value:!0});Gs.HttpProxyAgent=void 0;var JIe=_J(require("net")),WIe=_J(require("tls")),jIe=YIe(NE()),KIe=require("events"),XIe=SN(),DJ=require("url"),yu=(0,jIe.default)("http-proxy-agent"),TE=class extends XIe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new DJ.URL(e):e,this.proxyHeaders=r?.headers??{},yu("Creating new HttpProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?ZIe(r,"headers"):null,host:s,port:n}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:s}=this,n=r.secureEndpoint?"https:":"http:",i=e.getHeader("host")||"localhost",a=`${n}//${i}`,c=new DJ.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let l=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(s.username||s.password){let u=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;l["Proxy-Authorization"]=`Basic ${Buffer.from(u).toString("base64")}`}l["Proxy-Connection"]||(l["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let u of Object.keys(l)){let A=l[u];A&&e.setHeader(u,A)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let s,n;yu("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(yu("Patching connection write() output buffer with updated header"),s=e.outputData[0].data,n=s.indexOf(`\r \r `)+4,e.outputData[0].data=e._header+s.substring(n),yu("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(yu("Creating `tls.Socket`: %o",this.connectOpts),i=WIe.connect(this.connectOpts)):(yu("Creating `net.Socket`: %o",this.connectOpts),i=JIe.connect(this.connectOpts)),await(0,KIe.once)(i,"connect"),i}};TE.protocols=["http","https"];Gs.HttpProxyAgent=TE;function ZIe(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(ZIe,"omit")});var n3=g(zE=>{"use strict";Object.defineProperty(zE,"__esModule",{value:!0});zE.state=void 0;zE.state={instrumenterImplementation:void 0}});var I3=g(WE=>{"use strict";Object.defineProperty(WE,"__esModule",{value:!0});WE.state=void 0;WE.state={operationRequestMap:new WeakMap}});var ZW=g(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});var E0e=require("os"),y0e=require("util");function C0e(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(C0e,"_interopDefaultLegacy");var I0e=C0e(y0e);function B0e(t,...e){process.stderr.write(`${I0e.default.format(t,...e)}${E0e.EOL}`)}o(B0e,"log");var HW=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,$W,nP=[],iP=[],hC=[];HW&&oP(HW);var VW=Object.assign(t=>YW(t),{enable:oP,enabled:aP,disable:w0e,log:B0e});function oP(t){$W=t,nP=[],iP=[];let e=/\*/g,r=t.split(",").map(s=>s.trim().replace(e,".*?"));for(let s of r)s.startsWith("-")?iP.push(new RegExp(`^${s.substr(1)}$`)):nP.push(new RegExp(`^${s}$`));for(let s of hC)s.enabled=aP(s.namespace)}o(oP,"enable");function aP(t){if(t.endsWith("*"))return!0;for(let e of iP)if(e.test(t))return!1;for(let e of nP)if(e.test(t))return!0;return!1}o(aP,"enabled");function w0e(){let t=$W||"";return oP(""),t}o(w0e,"disable");function YW(t){let e=Object.assign(r,{enabled:aP(t),destroy:b0e,log:VW.log,namespace:t,extend:x0e});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return o(r,"debug"),hC.push(e),e}o(YW,"createDebugger");function b0e(){let t=hC.indexOf(this);return t>=0?(hC.splice(t,1),!0):!1}o(b0e,"destroy");function x0e(t){let e=YW(`${this.namespace}:${t}`);return e.log=this.log,e}o(x0e,"extend");var sm=VW,JW=new Set,pC=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,fC,gC=sm("azure");gC.log=(...t)=>{sm.log(...t)};var cP=["verbose","info","warning","error"];pC&&(XW(pC)?WW(pC):console.error(`AZURE_LOG_LEVEL set to unknown log level '${pC}'; logging is not enabled. Acceptable values: ${cP.join(", ")}.`));function WW(t){if(t&&!XW(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${cP.join(",")}`);fC=t;let e=[];for(let r of JW)KW(r)&&e.push(r.namespace);sm.enable(e.join(","))}o(WW,"setLogLevel");function Q0e(){return fC}o(Q0e,"getLogLevel");var zW={verbose:400,info:300,warning:200,error:100};function N0e(t){let e=gC.extend(t);return jW(gC,e),{error:mC(e,"error"),warning:mC(e,"warning"),info:mC(e,"info"),verbose:mC(e,"verbose")}}o(N0e,"createClientLogger");function jW(t,e){e.log=(...r)=>{t.log(...r)}}o(jW,"patchLogMethod");function mC(t,e){let r=Object.assign(t.extend(e),{level:e});if(jW(t,r),KW(r)){let s=sm.disable();sm.enable(s+","+r.namespace)}return JW.add(r),r}o(mC,"createLogger");function KW(t){return!!(fC&&zW[t.level]<=zW[fC])}o(KW,"shouldEnable");function XW(t){return cP.includes(t)}o(XW,"isAzureLogLevel");Ou.AzureLogger=gC;Ou.createClientLogger=N0e;Ou.getLogLevel=Q0e;Ou.setLogLevel=WW});var AP=g(im=>{"use strict";Object.defineProperty(im,"__esModule",{value:!0});var Fu=new WeakMap,EC=new WeakMap,nm=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,Fu.set(this,[]),EC.set(this,!1)}get aborted(){if(!EC.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return EC.get(this)}static get none(){return new t}addEventListener(e,r){if(!Fu.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Fu.get(this).push(r)}removeEventListener(e,r){if(!Fu.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let s=Fu.get(this),n=s.indexOf(r);n>-1&&s.splice(n,1)}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}};function e8(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=Fu.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),EC.set(t,!0)}o(e8,"abortSignal");var lP=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},uP=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new nm,!!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(){e8(this._signal)}static timeout(e){let r=new nm,s=setTimeout(e8,e,r);return typeof s.unref=="function"&&s.unref(),r}};im.AbortController=uP;im.AbortError=lP;im.AbortSignal=nm});var i8=g(lt=>{"use strict";Object.defineProperty(lt,"__esModule",{value:!0});var S0e=AP(),EP=require("crypto");function t8(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,a)=>{function c(){a(new S0e.AbortError(n??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){s?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),s?.aborted)return c();try{t(A=>{l(),i(A)},A=>{l(),a(A)})}catch(A){a(A)}s?.addEventListener("abort",u)})}o(t8,"createAbortablePromise");var R0e="The delay was aborted.";function T0e(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return t8(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??R0e})}o(T0e,"delay");function v0e(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(v0e,"getRandomIntegerInclusive");function r8(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(r8,"isObject");function s8(t){if(r8(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(s8,"isError");function P0e(t){if(s8(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(P0e,"getErrorMessage");async function k0e(t,e,r){let s=Buffer.from(t,"base64");return EP.createHmac("sha256",s).update(e).digest(r)}o(k0e,"computeSha256Hmac");async function D0e(t,e){return EP.createHash("sha256").update(t).digest(e)}o(D0e,"computeSha256Hash");function yP(t){return typeof t<"u"&&t!==null}o(yP,"isDefined");function _0e(t,e){if(!yP(t)||typeof t!="object")return!1;for(let r of e)if(!n8(t,r))return!1;return!0}o(_0e,"isObjectWithProperties");function n8(t,e){return yP(t)&&typeof t=="object"&&e in t}o(n8,"objectHasProperty");function L0e(){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(L0e,"generateUUID");var dP,gP=typeof((dP=globalThis?.crypto)===null||dP===void 0?void 0:dP.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):EP.randomUUID;gP||(gP=L0e);function M0e(){return gP()}o(M0e,"randomUUID");var pP,mP,hP,fP,O0e=typeof window<"u"&&typeof window.document<"u",F0e=typeof self=="object"&&typeof self?.importScripts=="function"&&(((pP=self.constructor)===null||pP===void 0?void 0:pP.name)==="DedicatedWorkerGlobalScope"||((mP=self.constructor)===null||mP===void 0?void 0:mP.name)==="ServiceWorkerGlobalScope"||((hP=self.constructor)===null||hP===void 0?void 0:hP.name)==="SharedWorkerGlobalScope"),U0e=typeof process<"u"&&!!process.version&&!!(!((fP=process.versions)===null||fP===void 0)&&fP.node),q0e=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",G0e=typeof Bun<"u"&&typeof Bun.version<"u",H0e=typeof navigator<"u"&&navigator?.product==="ReactNative";function z0e(t,e){switch(e){case"utf-8":return J0e(t);case"base64":return V0e(t);case"base64url":return Y0e(t)}}o(z0e,"uint8ArrayToString");function $0e(t,e){switch(e){case"utf-8":return W0e(t);case"base64":return j0e(t);case"base64url":return K0e(t)}}o($0e,"stringToUint8Array");function V0e(t){return Buffer.from(t).toString("base64")}o(V0e,"uint8ArrayToBase64");function Y0e(t){return Buffer.from(t).toString("base64url")}o(Y0e,"uint8ArrayToBase64Url");function J0e(t){return Buffer.from(t).toString("utf-8")}o(J0e,"uint8ArrayToUtf8String");function W0e(t){return Buffer.from(t)}o(W0e,"utf8StringToUint8Array");function j0e(t){return Buffer.from(t,"base64")}o(j0e,"base64ToUint8Array");function K0e(t){return Buffer.from(t,"base64url")}o(K0e,"base64UrlToUint8Array");lt.computeSha256Hash=D0e;lt.computeSha256Hmac=k0e;lt.createAbortablePromise=t8;lt.delay=T0e;lt.getErrorMessage=P0e;lt.getRandomIntegerInclusive=v0e;lt.isBrowser=O0e;lt.isBun=G0e;lt.isDefined=yP;lt.isDeno=q0e;lt.isError=s8;lt.isNode=U0e;lt.isObject=r8;lt.isObjectWithProperties=_0e;lt.isReactNative=H0e;lt.isWebWorker=F0e;lt.objectHasProperty=n8;lt.randomUUID=M0e;lt.stringToUint8Array=$0e;lt.uint8ArrayToString=z0e});var Q8=g(vc=>{"use strict";Object.defineProperty(vc,"__esModule",{value:!0});var X0e=ZW(),o8=AP(),Z0e=i8(),Tc=X0e.createClientLogger("core-lro"),c8=2e3,l8=["succeeded","canceled","failed"];function u8(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(u8,"deserializeState");function a8(t){let{state:e,stateProxy:r,isOperationError:s}=t;return n=>{throw s(n)&&(r.setError(e,n),r.setFailed(e)),n}}o(a8,"setStateError");function eNe(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(eNe,"appendReadableErrorMessage");function tNe(t){let e=t.message,r=t.code,s=t;for(;s.innererror;)s=s.innererror,r=s.code,e=eNe(e,s.message);return{code:r,message:e}}o(tNe,"simplifyError");function A8(t){let{state:e,stateProxy:r,status:s,isDone:n,processResult:i,getError:a,response:c,setErrorAsResult:l}=t;switch(s){case"succeeded":{r.setSucceeded(e);break}case"failed":{let u=a?.(c),A="";if(u){let{code:p,message:m}=tNe(u);A=`. ${p}. ${m}`}let d=`The long-running operation has failed${A}`;r.setError(e,new Error(d)),r.setFailed(e),Tc.warning(d);break}case"canceled":{r.setCanceled(e);break}}(n?.(c,e)||n===void 0&&["succeeded","canceled"].concat(l?[]:["failed"]).includes(s))&&r.setResult(e,rNe({response:c,state:e,processResult:i}))}o(A8,"processOperationStatus");function rNe(t){let{processResult:e,response:r,state:s}=t;return e?e(r,s):r}o(rNe,"buildResult");async function d8(t){let{init:e,stateProxy:r,processResult:s,getOperationStatus:n,withOperationLocation:i,setErrorAsResult:a}=t,{operationLocation:c,resourceLocation:l,metadata:u,response:A}=await e();c&&i?.(c,!1);let d={metadata:u,operationLocation:c,resourceLocation:l};Tc.verbose("LRO: Operation description:",d);let p=r.initState(d),m=n({response:A,state:p,operationLocation:c});return A8({state:p,status:m,stateProxy:r,response:A,setErrorAsResult:a,processResult:s}),p}o(d8,"initOperation");async function sNe(t){let{poll:e,state:r,stateProxy:s,operationLocation:n,getOperationStatus:i,getResourceLocation:a,isOperationError:c,options:l}=t,u=await e(n,l).catch(a8({state:r,stateProxy:s,isOperationError:c})),A=i(u,r);if(Tc.verbose(`LRO: Status: Polling from: ${r.config.operationLocation} Operation status: ${A} Polling status: ${l8.includes(A)?"Stopped":"Running"}`),A==="succeeded"){let d=a(u,r);if(d!==void 0)return{response:await e(d).catch(a8({state:r,stateProxy:s,isOperationError:c})),status:A}}return{response:u,status:A}}o(sNe,"pollOperationHelper");async function p8(t){let{poll:e,state:r,stateProxy:s,options:n,getOperationStatus:i,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:u,getPollingInterval:A,processResult:d,getError:p,updateState:m,setDelay:h,isDone:f,setErrorAsResult:C}=t,{operationLocation:E}=r.config;if(E!==void 0){let{response:y,status:I}=await sNe({poll:e,getOperationStatus:i,state:r,stateProxy:s,operationLocation:E,getResourceLocation:a,isOperationError:l,options:n});if(A8({status:I,response:y,state:r,stateProxy:s,isDone:f,processResult:d,getError:p,setErrorAsResult:C}),!l8.includes(I)){let B=A?.(y);B&&h(B);let S=c?.(y,r);if(S!==void 0){let R=E!==S;r.config.operationLocation=S,u?.(S,R)}else u?.(E,!1)}m?.(r,y)}}o(p8,"pollOperation");function m8(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(m8,"getOperationLocationPollingUrl");function h8(t){return t.headers.location}o(h8,"getLocationHeader");function f8(t){return t.headers["operation-location"]}o(f8,"getOperationLocationHeader");function g8(t){return t.headers["azure-asyncoperation"]}o(g8,"getAzureAsyncOperationHeader");function nNe(t){var e;let{location:r,requestMethod:s,requestPath:n,resourceLocationConfig:i}=t;switch(s){case"PUT":return n;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:n;default:return a()}function a(){switch(i){case"azure-async-operation":return;case"original-uri":return n;default:return r}}o(a,"getDefault")}o(nNe,"findResourceLocation");function E8(t){let{rawResponse:e,requestMethod:r,requestPath:s,resourceLocationConfig:n}=t,i=f8(e),a=g8(e),c=m8({operationLocation:i,azureAsyncOperation:a}),l=h8(e),u=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:nNe({requestMethod:u,location:l,requestPath:s,resourceLocationConfig:n})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:u==="PUT"&&s?{mode:"Body",operationLocation:s}:void 0}o(E8,"inferLroMode");function y8(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 BP(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 Tc.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(y8,"transformStatus");function iNe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return y8({status:r,statusCode:t.statusCode})}o(iNe,"getStatus");function oNe(t){var e,r;let{properties:s,provisioningState:n}=(e=t.body)!==null&&e!==void 0?e:{},i=(r=s?.provisioningState)!==null&&r!==void 0?r:n;return y8({status:i,statusCode:t.statusCode})}o(oNe,"getProvisioningState");function BP(t){return t===202?"running":t<300?"succeeded":"failed"}o(BP,"toOperationStatus");function C8({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?aNe(new Date(e)):r*1e3}}o(C8,"parseRetryAfter");function I8(t){let e=t.flatResponse.error;if(!e){Tc.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Tc.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(I8,"getErrorFromResponse");function aNe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let a=await n.sendInitialRequest(),c=E8({rawResponse:a.rawResponse,requestPath:n.requestPath,requestMethod:n.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},"init"),stateProxy:e,processResult:s?({flatResponse:a},c)=>s(a,c):({flatResponse:a})=>a,getOperationStatus:B8,setErrorAsResult:i})}o(cNe,"initHttpOperation");function w8({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return m8({operationLocation:f8(t),azureAsyncOperation:g8(t)});case"ResourceLocation":return h8(t);default:return}}o(w8,"getOperationLocation");function wP({rawResponse:t},e){var r;let s=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(s){case"OperationLocation":return iNe(t);case"ResourceLocation":return BP(t.statusCode);case"Body":return oNe(t);default:throw new Error(`Internal error: Unexpected operation mode: ${s}`)}}o(wP,"getOperationStatus");function b8({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(b8,"getResourceLocation");function x8(t){return t.name==="RestError"}o(x8,"isOperationError");async function lNe(t){let{lro:e,stateProxy:r,options:s,processResult:n,updateState:i,setDelay:a,state:c,setErrorAsResult:l}=t;return p8({state:c,stateProxy:r,setDelay:a,processResult:n?({flatResponse:u},A)=>n(u,A):({flatResponse:u})=>u,getError:I8,updateState:i,getPollingInterval:C8,getOperationLocation:w8,getOperationStatus:wP,isOperationError:x8,getResourceLocation:b8,options:s,poll:o(async(u,A)=>e.sendPollRequest(u,A),"poll"),setErrorAsResult:l})}o(lNe,"pollHttpOperation");var uNe=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 ANe(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:s,isOperationError:n,getResourceLocation:i,getPollingInterval:a,getError:c,resolveOnUnsuccessful:l}=t;return async({init:u,poll:A},d)=>{let{processResult:p,updateState:m,withOperationLocation:h,intervalInMs:f=c8,restoreFrom:C}=d||{},E=uNe(),y=h?(()=>{let _e=!1;return(pe,bt)=>{bt?h(pe):_e||h(pe),_e=!0}})():void 0,I=C?u8(C):await d8({init:u,stateProxy:E,processResult:p,getOperationStatus:r,withOperationLocation:y,setErrorAsResult:!l}),B,S=new o8.AbortController,R=new Map,q=o(async()=>R.forEach(_e=>_e(I)),"handleProgressEvents"),we="Operation was canceled",et=f,ke={getOperationState:o(()=>I,"getOperationState"),getResult:o(()=>I.result,"getResult"),isDone:o(()=>["succeeded","failed","canceled"].includes(I.status),"isDone"),isStopped:o(()=>B===void 0,"isStopped"),stopPolling:o(()=>{S.abort()},"stopPolling"),toString:o(()=>JSON.stringify({state:I}),"toString"),onProgress:o(_e=>{let pe=Symbol();return R.set(pe,_e),()=>R.delete(pe)},"onProgress"),pollUntilDone:o(_e=>B??(B=(async()=>{let{abortSignal:pe}=_e||{},{signal:bt}=pe?new o8.AbortController([pe,S.signal]):S;if(!ke.isDone())for(await ke.poll({abortSignal:bt});!ke.isDone();)await Z0e.delay(et,{abortSignal:bt}),await ke.poll({abortSignal:bt});if(l)return ke.getResult();switch(I.status){case"succeeded":return ke.getResult();case"canceled":throw new Error(we);case"failed":throw I.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{B=void 0})),"pollUntilDone"),async poll(_e){if(l){if(ke.isDone())return}else switch(I.status){case"succeeded":return;case"canceled":throw new Error(we);case"failed":throw I.error}if(await p8({poll:A,state:I,stateProxy:E,getOperationLocation:e,isOperationError:n,withOperationLocation:y,getPollingInterval:a,getOperationStatus:s,getResourceLocation:i,processResult:p,getError:c,updateState:m,options:_e,setDelay:o(pe=>{et=pe},"setDelay"),setErrorAsResult:!l}),await q(),!l)switch(I.status){case"canceled":throw new Error(we);case"failed":throw I.error}}};return ke}}o(ANe,"buildCreatePoller");async function dNe(t,e){let{resourceLocationConfig:r,intervalInMs:s,processResult:n,restoreFrom:i,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return ANe({getStatusFromInitialResponse:B8,getStatusFromPollResponse:wP,isOperationError:x8,getOperationLocation:w8,getResourceLocation:b8,getPollingInterval:C8,getError:I8,resolveOnUnsuccessful:l})({init:o(async()=>{let u=await t.sendInitialRequest(),A=E8({rawResponse:u.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:u,operationLocation:A?.operationLocation,resourceLocation:A?.resourceLocation},A?.mode?{metadata:{mode:A.mode}}:{})},"init"),poll:t.sendPollRequest},{intervalInMs:s,withOperationLocation:c,restoreFrom:i,updateState:a,processResult:n?({flatResponse:u},A)=>n(u,A):({flatResponse:u})=>u})}o(dNe,"createHttpPoller");var pNe=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"),CP=class{static{o(this,"GenericPollOperation")}constructor(e,r,s,n,i,a,c){this.state=e,this.lro=r,this.setErrorAsResult=s,this.lroResourceLocationConfig=n,this.processResult=i,this.updateState=a,this.isDone=c}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let s=pNe();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await cNe({lro:this.lro,stateProxy:s,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let n=this.updateState,i=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await lNe({lro:this.lro,state:this.state,stateProxy:s,processResult:this.processResult,updateState:n?(a,{rawResponse:c})=>n(a,c):void 0,isDone:i?({flatResponse:a},c)=>i(a,c):void 0,options:e,setDelay:o(a=>{this.pollerConfig.intervalInMs=a},"setDelay"),setErrorAsResult:this.setErrorAsResult}),(r=e?.fireProgress)===null||r===void 0||r.call(e,this.state),this}async cancel(){return Tc.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},yC=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},CC=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},IC=class{static{o(this,"Poller")}constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((r,s)=>{this.resolve=r,this.reject=s}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let r of this.pollProgressCallbacks)r(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let r=o(()=>{this.pollOncePromise=void 0},"clearPollOncePromise");this.pollOncePromise.then(r,r).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new CC("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 yC("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()}},IP=class extends IC{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:s=c8,resumeFrom:n,resolveOnUnsuccessful:i=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:u}=r||{},A=n?u8(n):{},d=new CP(A,e,!i,c,l,u,a);super(d),this.resolveOnUnsuccessful=i,this.config={intervalInMs:s},d.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};vc.LroEngine=IP;vc.Poller=IC;vc.PollerCancelledError=CC;vc.PollerStoppedError=yC;vc.createHttpPoller=dNe});var J8=g((Pot,DNe)=>{DNe.exports={name:"@actions/cache",version:"6.3.0",description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",type:"module",main:"lib/cache.js",types:"lib/cache.d.ts",exports:{".":{types:"./lib/cache.d.ts",import:"./lib/cache.js"}},directories:{lib:"lib",test:"__tests__"},files:["lib","!.DS_Store"],publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/actions/toolkit.git",directory:"packages/cache"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:'echo "Error: run tests from root" && exit 1',tsc:"tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^3.0.1","@actions/exec":"^3.0.0","@actions/glob":"^0.7.0","@actions/http-client":"^4.0.1","@actions/io":"^3.0.2","@azure/core-rest-pipeline":"~1.23.0","@azure/storage-blob":"~12.31.0","@protobuf-ts/runtime-rpc":"^2.11.1",semver:"^7.8.5"},devDependencies:{"@protobuf-ts/plugin":"^2.11.1","@types/node":"^25.9.8","@types/semver":"^7.8.0",typescript:"^5.9.3"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var j8=g((kot,W8)=>{var _Ne=J8();W8.exports={version:_Ne.version}});var DC=g(zu=>{"use strict";Object.defineProperty(zu,"__esModule",{value:!0});zu.isJsonObject=zu.typeofJsonValue=void 0;function HNe(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(HNe,"typeofJsonValue");zu.typeofJsonValue=HNe;function zNe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(zNe,"isJsonObject");zu.isJsonObject=zNe});var LC=g($u=>{"use strict";Object.defineProperty($u,"__esModule",{value:!0});$u.base64encode=$u.base64decode=void 0;var fo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),_C=[];for(let t=0;t>4,a=i,n=2;break;case 2:r[s++]=(a&15)<<4|(i&60)>>2,a=i,n=3;break;case 3:r[s++]=(a&3)<<6|i,n=0;break}}if(n==1)throw Error("invalid base64 string.");return r.subarray(0,s)}o($Ne,"base64decode");$u.base64decode=$Ne;function VNe(t){let e="",r=0,s,n=0;for(let i=0;i>2],n=(s&3)<<4,r=1;break;case 1:e+=fo[n|s>>4],n=(s&15)<<2,r=2;break;case 2:e+=fo[n|s>>6],e+=fo[s&63],r=0;break}return r&&(e+=fo[n],e+="=",r==1&&(e+="=")),e}o(VNe,"base64encode");$u.base64encode=VNe});var r5=g(MC=>{"use strict";Object.defineProperty(MC,"__esModule",{value:!0});MC.utf8read=void 0;var DP=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function YNe(t){if(t.length<1)return"";let e=0,r=[],s=[],n=0,i,a=t.length;for(;e191&&i<224?s[n++]=(i&31)<<6|t[e++]&63:i>239&&i<365?(i=((i&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,s[n++]=55296+(i>>10),s[n++]=56320+(i&1023)):s[n++]=(i&15)<<12|(t[e++]&63)<<6|t[e++]&63,n>8191&&(r.push(DP(s)),n=0);return r.length?(n&&r.push(DP(s.slice(0,n))),r.join("")):DP(s.slice(0,n))}o(YNe,"utf8read");MC.utf8read=YNe});var pm=g(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.WireType=bi.mergeBinaryOptions=bi.UnknownFieldHandler=void 0;var JNe;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,s,n,i,a)=>{(e(s)?s[t.symbol]:s[t.symbol]=[]).push({no:n,wireType:i,data:a})},t.onWrite=(r,s,n)=>{for(let{no:i,wireType:a,data:c}of t.list(s))n.tag(i,a).raw(c)},t.list=(r,s)=>{if(e(r)){let n=r[t.symbol];return s?n.filter(i=>i.no==s):n}return[]},t.last=(r,s)=>t.list(r,s).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(JNe=bi.UnknownFieldHandler||(bi.UnknownFieldHandler={}));function WNe(t,e){return Object.assign(Object.assign({},t),e)}o(WNe,"mergeBinaryOptions");bi.mergeBinaryOptions=WNe;var jNe;(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"})(jNe=bi.WireType||(bi.WireType={}))});var FC=g(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Vr.varint32read=Vr.varint32write=Vr.int64toString=Vr.int64fromString=Vr.varint64write=Vr.varint64read=void 0;function KNe(){let t=0,e=0;for(let s=0;s<28;s+=7){let n=this.buf[this.pos++];if(t|=(n&127)<>4,(r&128)==0)return this.assertBounds(),[t,e];for(let s=3;s<=31;s+=7){let n=this.buf[this.pos++];if(e|=(n&127)<>>i,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let s=t>>>28&15|(e&7)<<4,n=e>>3!=0;if(r.push((n?s|128:s)&255),!!n){for(let i=3;i<31;i=i+7){let a=e>>>i,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(XNe,"varint64write");Vr.varint64write=XNe;var OC=65536*65536;function ZNe(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,s=0,n=0;function i(a,c){let l=Number(t.slice(a,c));n*=r,s=s*r+l,s>=OC&&(n=n+(s/OC|0),s=s%OC)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,s,n]}o(ZNe,"int64fromString");Vr.int64fromString=ZNe;function eSe(t,e){if(e>>>0<=2097151)return""+(OC*e+(t>>>0));let r=t&16777215,s=(t>>>24|e<<8)>>>0&16777215,n=e>>16&65535,i=r+s*6777216+n*6710656,a=s+n*8147497,c=n*2,l=1e7;i>=l&&(a+=Math.floor(i/l),i%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function u(A,d){let p=A?String(A):"";return d?"0000000".slice(p.length)+p:p}return o(u,"decimalFrom1e7"),u(c,0)+u(a,c)+u(i,1)}o(eSe,"int64toString");Vr.int64toString=eSe;function tSe(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(tSe,"varint32write");Vr.varint32write=tSe;function rSe(){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(rSe,"varint32read");Vr.varint32read=rSe});var pa=g(da=>{"use strict";Object.defineProperty(da,"__esModule",{value:!0});da.PbLong=da.PbULong=da.detectBi=void 0;var mm=FC(),De;function s5(){let t=new DataView(new ArrayBuffer(8));De=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(s5,"detectBi");da.detectBi=s5;s5();function n5(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(n5,"assertBi");var i5=/^-?[0-9]+$/,qC=4294967296,UC=2147483648,GC=class{static{o(this,"SharedPbLong")}constructor(e,r){this.lo=e|0,this.hi=r|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*qC+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},hm=class t extends GC{static{o(this,"PbULong")}static from(e){if(De)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=De.C(e);case"number":if(e===0)return this.ZERO;e=De.C(e);case"bigint":if(!e)return this.ZERO;if(eDe.UMAX)throw new Error("ulong too large");return De.V.setBigUint64(0,e,!0),new t(De.V.getInt32(0,!0),De.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!i5.test(e))throw new Error("string is no integer");let[r,s,n]=mm.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(s,n);case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");if(e<0)throw new Error("signed value for ulong");return new t(e,e/qC)}throw new Error("unknown value "+typeof e)}toString(){return De?this.toBigInt().toString():mm.int64toString(this.lo,this.hi)}toBigInt(){return n5(De),De.V.setInt32(0,this.lo,!0),De.V.setInt32(4,this.hi,!0),De.V.getBigUint64(0,!0)}};da.PbULong=hm;hm.ZERO=new hm(0,0);var fm=class t extends GC{static{o(this,"PbLong")}static from(e){if(De)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=De.C(e);case"number":if(e===0)return this.ZERO;e=De.C(e);case"bigint":if(!e)return this.ZERO;if(eDe.MAX)throw new Error("signed long too large");return De.V.setBigInt64(0,e,!0),new t(De.V.getInt32(0,!0),De.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!i5.test(e))throw new Error("string is no integer");let[r,s,n]=mm.int64fromString(e);if(r){if(n>UC||n==UC&&s!=0)throw new Error("signed long too small")}else if(n>=UC)throw new Error("signed long too large");let i=new t(s,n);return r?i.negate():i;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new t(e,e/qC):new t(-e,-e/qC).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&UC)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(De)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+mm.int64toString(e.lo,e.hi)}return mm.int64toString(this.lo,this.hi)}toBigInt(){return n5(De),De.V.setInt32(0,this.lo,!0),De.V.setInt32(4,this.hi,!0),De.V.getBigInt64(0,!0)}};da.PbLong=fm;fm.ZERO=new fm(0,0)});var _P=g(Yu=>{"use strict";Object.defineProperty(Yu,"__esModule",{value:!0});Yu.BinaryReader=Yu.binaryReadOptions=void 0;var Vu=pm(),gm=pa(),o5=FC(),a5={readUnknownField:!0,readerFactory:o(t=>new HC(t),"readerFactory")};function sSe(t){return t?Object.assign(Object.assign({},a5),t):a5}o(sSe,"binaryReadOptions");Yu.binaryReadOptions=sSe;var HC=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=o5.varint64read,this.uint32=o5.varint32read,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.textDecoder=r??new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0})}tag(){let e=this.uint32(),r=e>>>3,s=e&7;if(r<=0||s<0||s>5)throw new Error("illegal tag: field no "+r+" wire type "+s);return[r,s]}skip(e){let r=this.pos;switch(e){case Vu.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Vu.WireType.Bit64:this.pos+=4;case Vu.WireType.Bit32:this.pos+=4;break;case Vu.WireType.LengthDelimited:let s=this.uint32();this.pos+=s;break;case Vu.WireType.StartGroup:let n;for(;(n=this.tag()[1])!==Vu.WireType.EndGroup;)this.skip(n);break;default:throw new Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(r,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return new gm.PbLong(...this.varint64())}uint64(){return new gm.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),s=-(e&1);return e=(e>>>1|(r&1)<<31)^s,r=r>>>1^s,new gm.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 gm.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new gm.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())}};Yu.BinaryReader=HC});var Ju=g(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.assertFloat32=Ws.assertUInt32=Ws.assertInt32=Ws.assertNever=Ws.assert=void 0;function nSe(t,e){if(!t)throw new Error(e)}o(nSe,"assert");Ws.assert=nSe;function iSe(t,e){throw new Error(e??"Unexpected object: "+t)}o(iSe,"assertNever");Ws.assertNever=iSe;var oSe=34028234663852886e22,aSe=-34028234663852886e22,cSe=4294967295,lSe=2147483647,uSe=-2147483648;function ASe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>lSe||tcSe||t<0)throw new Error("invalid uint 32: "+t)}o(dSe,"assertUInt32");Ws.assertUInt32=dSe;function pSe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>oSe||t{"use strict";Object.defineProperty(ju,"__esModule",{value:!0});ju.BinaryWriter=ju.binaryWriteOptions=void 0;var Em=pa(),ym=FC(),Wu=Ju(),c5={writeUnknownFields:!0,writerFactory:o(()=>new zC,"writerFactory")};function mSe(t){return t?Object.assign(Object.assign({},c5),t):c5}o(mSe,"binaryWriteOptions");ju.binaryWriteOptions=mSe;var zC=class{static{o(this,"BinaryWriter")}constructor(e){this.stack=[],this.textEncoder=e??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let n=0;n>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(Wu.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Wu.assertInt32(e),ym.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){Wu.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){Wu.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Wu.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Wu.assertInt32(e),e=(e<<1^e>>31)>>>0,ym.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),s=new DataView(r.buffer),n=Em.PbLong.from(e);return s.setInt32(0,n.lo,!0),s.setInt32(4,n.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),s=new DataView(r.buffer),n=Em.PbULong.from(e);return s.setInt32(0,n.lo,!0),s.setInt32(4,n.hi,!0),this.raw(r)}int64(e){let r=Em.PbLong.from(e);return ym.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=Em.PbLong.from(e),s=r.hi>>31,n=r.lo<<1^s,i=(r.hi<<1|r.lo>>>31)^s;return ym.varint64write(n,i,this.buf),this}uint64(e){let r=Em.PbULong.from(e);return ym.varint64write(r.lo,r.hi,this.buf),this}};ju.BinaryWriter=zC});var MP=g(ma=>{"use strict";Object.defineProperty(ma,"__esModule",{value:!0});ma.mergeJsonOptions=ma.jsonWriteOptions=ma.jsonReadOptions=void 0;var l5={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},u5={ignoreUnknownFields:!1};function hSe(t){return t?Object.assign(Object.assign({},u5),t):u5}o(hSe,"jsonReadOptions");ma.jsonReadOptions=hSe;function fSe(t){return t?Object.assign(Object.assign({},l5),t):l5}o(fSe,"jsonWriteOptions");ma.jsonWriteOptions=fSe;function gSe(t,e){var r,s;let n=Object.assign(Object.assign({},t),e);return n.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(s=e?.typeRegistry)!==null&&s!==void 0?s:[]],n}o(gSe,"mergeJsonOptions");ma.mergeJsonOptions=gSe});var Cm=g($C=>{"use strict";Object.defineProperty($C,"__esModule",{value:!0});$C.MESSAGE_TYPE=void 0;$C.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var OP=g(VC=>{"use strict";Object.defineProperty(VC,"__esModule",{value:!0});VC.lowerCamelCase=void 0;function ESe(t){let e=!1,r=[];for(let s=0;s{"use strict";Object.defineProperty(Mt,"__esModule",{value:!0});Mt.readMessageOption=Mt.readFieldOption=Mt.readFieldOptions=Mt.normalizeFieldInfo=Mt.RepeatType=Mt.LongType=Mt.ScalarType=void 0;var A5=OP(),ySe;(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"})(ySe=Mt.ScalarType||(Mt.ScalarType={}));var CSe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(CSe=Mt.LongType||(Mt.LongType={}));var d5;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(d5=Mt.RepeatType||(Mt.RepeatType={}));function ISe(t){var e,r,s,n;return t.localName=(e=t.localName)!==null&&e!==void 0?e:A5.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:A5.lowerCamelCase(t.name),t.repeat=(s=t.repeat)!==null&&s!==void 0?s:d5.NO,t.opt=(n=t.opt)!==null&&n!==void 0?n:t.repeat||t.oneof?!1:t.kind=="message",t}o(ISe,"normalizeFieldInfo");Mt.normalizeFieldInfo=ISe;function BSe(t,e,r,s){var n;let i=(n=t.fields.find((a,c)=>a.localName==e||c==e))===null||n===void 0?void 0:n.options;return i&&i[r]?s.fromJson(i[r]):void 0}o(BSe,"readFieldOptions");Mt.readFieldOptions=BSe;function wSe(t,e,r,s){var n;let i=(n=t.fields.find((c,l)=>c.localName==e||l==e))===null||n===void 0?void 0:n.options;if(!i)return;let a=i[r];return a===void 0?a:s?s.fromJson(a):a}o(wSe,"readFieldOption");Mt.readFieldOption=wSe;function bSe(t,e,r){let n=t.options[e];return n===void 0?n:r?r.fromJson(n):n}o(bSe,"readMessageOption");Mt.readMessageOption=bSe});var FP=g(Yr=>{"use strict";Object.defineProperty(Yr,"__esModule",{value:!0});Yr.getSelectedOneofValue=Yr.clearOneofValue=Yr.setUnknownOneofValue=Yr.setOneofValue=Yr.getOneofValue=Yr.isOneofGroup=void 0;function xSe(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(xSe,"isOneofGroup");Yr.isOneofGroup=xSe;function QSe(t,e){return t[e]}o(QSe,"getOneofValue");Yr.getOneofValue=QSe;function NSe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(NSe,"setOneofValue");Yr.setOneofValue=NSe;function SSe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(SSe,"setUnknownOneofValue");Yr.setUnknownOneofValue=SSe;function RSe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(RSe,"clearOneofValue");Yr.clearOneofValue=RSe;function TSe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(TSe,"getSelectedOneofValue");Yr.getSelectedOneofValue=TSe});var qP=g(YC=>{"use strict";Object.defineProperty(YC,"__esModule",{value:!0});YC.ReflectionTypeCheck=void 0;var ut=Sn(),vSe=FP(),UP=class{static{o(this,"ReflectionTypeCheck")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}prepare(){if(this.data)return;let e=[],r=[],s=[];for(let n of this.fields)if(n.oneof)s.includes(n.oneof)||(s.push(n.oneof),e.push(n.oneof),r.push(n.oneof));else switch(r.push(n.localName),n.kind){case"scalar":case"enum":(!n.opt||n.repeat)&&e.push(n.localName);break;case"message":n.repeat&&e.push(n.localName);break;case"map":e.push(n.localName);break}this.data={req:e,known:r,oneofs:Object.values(s)}}is(e,r,s=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let n=Object.keys(e),i=this.data;if(n.length!n.includes(a))||!s&&n.some(a=>!i.known.includes(a)))return!1;if(r<1)return!0;for(let a of i.oneofs){let c=e[a];if(!vSe.isOneofGroup(c))return!1;if(c.oneofKind===void 0)continue;let l=this.fields.find(u=>u.localName===c.oneofKind);if(!l||!this.field(c[c.oneofKind],l,s,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,s,r))return!1;return!0}field(e,r,s,n){let i=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:i?this.scalars(e,r.T,n,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:i?this.scalars(e,ut.ScalarType.INT32,n):this.scalar(e,ut.ScalarType.INT32);case"message":return e===void 0?!0:i?this.messages(e,r.T(),s,n):this.message(e,r.T(),s,n);case"map":if(typeof e!="object"||e===null)return!1;if(n<2)return!0;if(!this.mapKeys(e,r.K,n))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,n,r.V.L);case"enum":return this.scalars(Object.values(e),ut.ScalarType.INT32,n);case"message":return this.messages(Object.values(e),r.V.T(),s,n)}break}return!0}message(e,r,s,n){return s?r.isAssignable(e,n):r.is(e,n)}messages(e,r,s,n){if(!Array.isArray(e))return!1;if(n<2)return!0;if(s){for(let i=0;iparseInt(i)),r,s);case ut.ScalarType.BOOL:return this.scalars(n.slice(0,s).map(i=>i=="true"?!0:i=="false"?!1:i),r,s);default:return this.scalars(n,r,s,ut.LongType.STRING)}}};YC.ReflectionTypeCheck=UP});var WC=g(JC=>{"use strict";Object.defineProperty(JC,"__esModule",{value:!0});JC.reflectionLongConvert=void 0;var p5=Sn();function PSe(t,e){switch(e){case p5.LongType.BIGINT:return t.toBigInt();case p5.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(PSe,"reflectionLongConvert");JC.reflectionLongConvert=PSe});var HP=g(XC=>{"use strict";Object.defineProperty(XC,"__esModule",{value:!0});XC.ReflectionJsonReader=void 0;var m5=DC(),kSe=LC(),Ot=Sn(),jC=pa(),kc=Ju(),KC=WC(),GP=class{static{o(this,"ReflectionJsonReader")}constructor(e){this.info=e}prepare(){var e;if(this.fMap===void 0){this.fMap={};let r=(e=this.info.fields)!==null&&e!==void 0?e:[];for(let s of r)this.fMap[s.name]=s,this.fMap[s.jsonName]=s,this.fMap[s.localName]=s}}assert(e,r,s){if(!e){let n=m5.typeofJsonValue(s);throw(n=="number"||n=="boolean")&&(n=s.toString()),new Error(`Cannot parse JSON ${n} for ${this.info.typeName}#${r}`)}}read(e,r,s){this.prepare();let n=[];for(let[i,a]of Object.entries(e)){let c=this.fMap[i];if(!c){if(!s.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${i}`);continue}let l=c.localName,u;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(n.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);n.push(c.oneof),u=r[c.oneof]={oneofKind:l}}else u=r;if(c.kind=="map"){if(a===null)continue;this.assert(m5.isJsonObject(a),c.name,a);let A=u[l];for(let[d,p]of Object.entries(a)){this.assert(p!==null,c.name+" map value",null);let m;switch(c.V.kind){case"message":m=c.V.T().internalJsonRead(p,s);break;case"enum":if(m=this.enum(c.V.T(),p,c.name,s.ignoreUnknownFields),m===!1)continue;break;case"scalar":m=this.scalar(p,c.V.T,c.V.L,c.name);break}this.assert(m!==void 0,c.name+" map value",p);let h=d;c.K==Ot.ScalarType.BOOL&&(h=h=="true"?!0:h=="false"?!1:h),h=this.scalar(h,c.K,Ot.LongType.STRING,c.name).toString(),A[h]=m}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let A=u[l];for(let d of a){this.assert(d!==null,c.name,null);let p;switch(c.kind){case"message":p=c.T().internalJsonRead(d,s);break;case"enum":if(p=this.enum(c.T(),d,c.name,s.ignoreUnknownFields),p===!1)continue;break;case"scalar":p=this.scalar(d,c.T,c.L,c.name);break}this.assert(p!==void 0,c.name,a),A.push(p)}}else switch(c.kind){case"message":if(a===null&&c.T().typeName!="google.protobuf.Value"){this.assert(c.oneof===void 0,c.name+" (oneof member)",null);continue}u[l]=c.T().internalJsonRead(a,s,u[l]);break;case"enum":if(a===null)continue;let A=this.enum(c.T(),a,c.name,s.ignoreUnknownFields);if(A===!1)continue;u[l]=A;break;case"scalar":if(a===null)continue;u[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,s,n){if(e[0]=="google.protobuf.NullValue"&&kc.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${s}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return kc.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${s}, enum can only be integral number, got ${r}.`),r;case"string":let i=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(i=r.substring(e[2].length));let a=e[1][i];return typeof a>"u"&&n?!1:(kc.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${s}, enum ${e[0]} has no value for "${r}".`),a)}kc.assert(!1,`Unable to parse field ${this.info.typeName}#${s}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,s,n){let i;try{switch(r){case Ot.ScalarType.DOUBLE:case Ot.ScalarType.FLOAT:if(e===null)return 0;if(e==="NaN")return Number.NaN;if(e==="Infinity")return Number.POSITIVE_INFINITY;if(e==="-Infinity")return Number.NEGATIVE_INFINITY;if(e===""){i="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){i="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let a=Number(e);if(Number.isNaN(a)){i="not a number";break}if(!Number.isFinite(a)){i="too large or small";break}return r==Ot.ScalarType.FLOAT&&kc.assertFloat32(a),a;case Ot.ScalarType.INT32:case Ot.ScalarType.FIXED32:case Ot.ScalarType.SFIXED32:case Ot.ScalarType.SINT32:case Ot.ScalarType.UINT32:if(e===null)return 0;let c;if(typeof e=="number"?c=e:e===""?i="empty string":typeof e=="string"&&(e.trim().length!==e.length?i="extra whitespace":c=Number(e)),c===void 0)break;return r==Ot.ScalarType.UINT32?kc.assertUInt32(c):kc.assertInt32(c),c;case Ot.ScalarType.INT64:case Ot.ScalarType.SFIXED64:case Ot.ScalarType.SINT64:if(e===null)return KC.reflectionLongConvert(jC.PbLong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return KC.reflectionLongConvert(jC.PbLong.from(e),s);case Ot.ScalarType.FIXED64:case Ot.ScalarType.UINT64:if(e===null)return KC.reflectionLongConvert(jC.PbULong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return KC.reflectionLongConvert(jC.PbULong.from(e),s);case Ot.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Ot.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){i="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case Ot.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return kSe.base64decode(e)}}catch(a){i=a.message}this.assert(!1,n+(i?" - "+i:""),e)}};XC.ReflectionJsonReader=GP});var $P=g(ZC=>{"use strict";Object.defineProperty(ZC,"__esModule",{value:!0});ZC.ReflectionJsonWriter=void 0;var DSe=LC(),h5=pa(),xr=Sn(),je=Ju(),zP=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let s={},n=e;for(let i of this.fields){if(!i.oneof){let u=this.field(i,n[i.localName],r);u!==void 0&&(s[r.useProtoFieldName?i.name:i.jsonName]=u);continue}let a=n[i.oneof];if(a.oneofKind!==i.localName)continue;let c=i.kind=="scalar"||i.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,l=this.field(i,a[i.localName],c);je.assert(l!==void 0),s[r.useProtoFieldName?i.name:i.jsonName]=l}return s}field(e,r,s){let n;if(e.kind=="map"){je.assert(typeof r=="object"&&r!==null);let i={};switch(e.V.kind){case"scalar":for(let[l,u]of Object.entries(r)){let A=this.scalar(e.V.T,u,e.name,!1,!0);je.assert(A!==void 0),i[l.toString()]=A}break;case"message":let a=e.V.T();for(let[l,u]of Object.entries(r)){let A=this.message(a,u,e.name,s);je.assert(A!==void 0),i[l.toString()]=A}break;case"enum":let c=e.V.T();for(let[l,u]of Object.entries(r)){je.assert(u===void 0||typeof u=="number");let A=this.enum(c,u,e.name,!1,!0,s.enumAsInteger);je.assert(A!==void 0),i[l.toString()]=A}break}(s.emitDefaultValues||Object.keys(i).length>0)&&(n=i)}else if(e.repeat){je.assert(Array.isArray(r));let i=[];switch(e.kind){case"scalar":for(let l=0;l0||s.emitDefaultValues)&&(n=i)}else switch(e.kind){case"scalar":n=this.scalar(e.T,r,e.name,e.opt,s.emitDefaultValues);break;case"enum":n=this.enum(e.T(),r,e.name,e.opt,s.emitDefaultValues,s.enumAsInteger);break;case"message":n=this.message(e.T(),r,e.name,s);break}return n}enum(e,r,s,n,i,a){if(e[0]=="google.protobuf.NullValue")return!i&&!n?void 0:null;if(r===void 0){je.assert(n);return}if(!(r===0&&!i&&!n))return je.assert(typeof r=="number"),je.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,s,n){return r===void 0?n.emitDefaultValues?null:void 0:e.internalJsonWrite(r,n)}scalar(e,r,s,n,i){if(r===void 0){je.assert(n);return}let a=i||n;switch(e){case xr.ScalarType.INT32:case xr.ScalarType.SFIXED32:case xr.ScalarType.SINT32:return r===0?a?0:void 0:(je.assertInt32(r),r);case xr.ScalarType.FIXED32:case xr.ScalarType.UINT32:return r===0?a?0:void 0:(je.assertUInt32(r),r);case xr.ScalarType.FLOAT:je.assertFloat32(r);case xr.ScalarType.DOUBLE:return r===0?a?0:void 0:(je.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case xr.ScalarType.STRING:return r===""?a?"":void 0:(je.assert(typeof r=="string"),r);case xr.ScalarType.BOOL:return r===!1?a?!1:void 0:(je.assert(typeof r=="boolean"),r);case xr.ScalarType.UINT64:case xr.ScalarType.FIXED64:je.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=h5.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case xr.ScalarType.INT64:case xr.ScalarType.SFIXED64:case xr.ScalarType.SINT64:je.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=h5.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case xr.ScalarType.BYTES:return je.assert(r instanceof Uint8Array),r.byteLength?DSe.base64encode(r):a?"":void 0}}};ZC.ReflectionJsonWriter=zP});var tI=g(eI=>{"use strict";Object.defineProperty(eI,"__esModule",{value:!0});eI.reflectionScalarDefault=void 0;var Rn=Sn(),f5=WC(),g5=pa();function _Se(t,e=Rn.LongType.STRING){switch(t){case Rn.ScalarType.BOOL:return!1;case Rn.ScalarType.UINT64:case Rn.ScalarType.FIXED64:return f5.reflectionLongConvert(g5.PbULong.ZERO,e);case Rn.ScalarType.INT64:case Rn.ScalarType.SFIXED64:case Rn.ScalarType.SINT64:return f5.reflectionLongConvert(g5.PbLong.ZERO,e);case Rn.ScalarType.DOUBLE:case Rn.ScalarType.FLOAT:return 0;case Rn.ScalarType.BYTES:return new Uint8Array(0);case Rn.ScalarType.STRING:return"";default:return 0}}o(_Se,"reflectionScalarDefault");eI.reflectionScalarDefault=_Se});var YP=g(rI=>{"use strict";Object.defineProperty(rI,"__esModule",{value:!0});rI.ReflectionBinaryReader=void 0;var E5=pm(),yt=Sn(),Im=WC(),y5=tI(),VP=class{static{o(this,"ReflectionBinaryReader")}constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){let r=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(r.map(s=>[s.no,s]))}}read(e,r,s,n){this.prepare();let i=n===void 0?e.len:e.pos+n;for(;e.pos{"use strict";Object.defineProperty(sI,"__esModule",{value:!0});sI.ReflectionBinaryWriter=void 0;var ys=pm(),Oe=Sn(),Ku=Ju(),Bm=pa(),JP=class{static{o(this,"ReflectionBinaryWriter")}constructor(e){this.info=e}prepare(){if(!this.fields){let e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort((r,s)=>r.no-s.no)}}write(e,r,s){this.prepare();for(let i of this.fields){let a,c,l=i.repeat,u=i.localName;if(i.oneof){let A=e[i.oneof];if(A.oneofKind!==u)continue;a=A[u],c=!0}else a=e[u],c=!1;switch(i.kind){case"scalar":case"enum":let A=i.kind=="enum"?Oe.ScalarType.INT32:i.T;if(l)if(Ku.assert(Array.isArray(a)),l==Oe.RepeatType.PACKED)this.packed(r,A,i.no,a);else for(let d of a)this.scalar(r,A,i.no,d,!0);else a===void 0?Ku.assert(i.opt):this.scalar(r,A,i.no,a,c||i.opt);break;case"message":if(l){Ku.assert(Array.isArray(a));for(let d of a)this.message(r,s,i.T(),i.no,d)}else this.message(r,s,i.T(),i.no,a);break;case"map":Ku.assert(typeof a=="object"&&a!==null);for(let[d,p]of Object.entries(a))this.mapEntry(r,s,i,d,p);break}}let n=s.writeUnknownFields;n!==!1&&(n===!0?ys.UnknownFieldHandler.onWrite:n)(this.info.typeName,e,r)}mapEntry(e,r,s,n,i){e.tag(s.no,ys.WireType.LengthDelimited),e.fork();let a=n;switch(s.K){case Oe.ScalarType.INT32:case Oe.ScalarType.FIXED32:case Oe.ScalarType.UINT32:case Oe.ScalarType.SFIXED32:case Oe.ScalarType.SINT32:a=Number.parseInt(n);break;case Oe.ScalarType.BOOL:Ku.assert(n=="true"||n=="false"),a=n=="true";break}switch(this.scalar(e,s.K,1,a,!0),s.V.kind){case"scalar":this.scalar(e,s.V.T,2,i,!0);break;case"enum":this.scalar(e,Oe.ScalarType.INT32,2,i,!0);break;case"message":this.message(e,r,s.V.T(),2,i);break}e.join()}message(e,r,s,n,i){i!==void 0&&(s.internalBinaryWrite(i,e.tag(n,ys.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,s,n,i){let[a,c,l]=this.scalarInfo(r,n);(!l||i)&&(e.tag(s,a),e[c](n))}packed(e,r,s,n){if(!n.length)return;Ku.assert(r!==Oe.ScalarType.BYTES&&r!==Oe.ScalarType.STRING),e.tag(s,ys.WireType.LengthDelimited),e.fork();let[,i]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(nI,"__esModule",{value:!0});nI.reflectionCreate=void 0;var LSe=tI(),MSe=Cm();function OSe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},MSe.MESSAGE_TYPE,{value:t});for(let r of t.fields){let s=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[s]=[];else switch(r.kind){case"scalar":e[s]=LSe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[s]=0;break;case"map":e[s]={};break}}return e}o(OSe,"reflectionCreate");nI.reflectionCreate=OSe});var KP=g(iI=>{"use strict";Object.defineProperty(iI,"__esModule",{value:!0});iI.reflectionMergePartial=void 0;function FSe(t,e,r){let s,n=r,i;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=n[a.oneof];if(l?.oneofKind==null)continue;if(s=l[c],i=e[a.oneof],i.oneofKind=l.oneofKind,s==null){delete i[c];continue}}else if(s=n[c],i=e,s==null)continue;switch(a.repeat&&(i[c].length=s.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let u=0;u{"use strict";Object.defineProperty(aI,"__esModule",{value:!0});aI.reflectionEquals=void 0;var XP=Sn();function USe(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let s of t.fields){let n=s.localName,i=s.oneof?e[s.oneof][n]:e[n],a=s.oneof?r[s.oneof][n]:r[n];switch(s.kind){case"enum":case"scalar":let c=s.kind=="enum"?XP.ScalarType.INT32:s.T;if(!(s.repeat?C5(c,i,a):B5(c,i,a)))return!1;break;case"map":if(!(s.V.kind=="message"?I5(s.V.T(),oI(i),oI(a)):C5(s.V.kind=="enum"?XP.ScalarType.INT32:s.V.T,oI(i),oI(a))))return!1;break;case"message":let l=s.T();if(!(s.repeat?I5(l,i,a):l.equals(i,a)))return!1;break}}return!0}o(USe,"reflectionEquals");aI.reflectionEquals=USe;var oI=Object.values;function B5(t,e,r){if(e===r)return!0;if(t!==XP.ScalarType.BYTES)return!1;let s=e,n=r;if(s.length!==n.length)return!1;for(let i=0;i{"use strict";Object.defineProperty(cI,"__esModule",{value:!0});cI.MessageType=void 0;var qSe=Cm(),GSe=Sn(),HSe=qP(),zSe=HP(),$Se=$P(),VSe=YP(),YSe=WP(),JSe=jP(),ek=KP(),WSe=DC(),w5=MP(),jSe=ZP(),KSe=LP(),XSe=_P(),b5=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),ZSe=b5[qSe.MESSAGE_TYPE]={},tk=class{static{o(this,"MessageType")}constructor(e,r,s){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(GSe.normalizeFieldInfo),this.options=s??{},ZSe.value=this,this.messagePrototype=Object.create(null,b5),this.refTypeCheck=new HSe.ReflectionTypeCheck(this),this.refJsonReader=new zSe.ReflectionJsonReader(this),this.refJsonWriter=new $Se.ReflectionJsonWriter(this),this.refBinReader=new VSe.ReflectionBinaryReader(this),this.refBinWriter=new YSe.ReflectionBinaryWriter(this)}create(e){let r=JSe.reflectionCreate(this);return e!==void 0&&ek.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return ek.reflectionMergePartial(this,r,e),r}equals(e,r){return jSe.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){ek.reflectionMergePartial(this,e,r)}fromBinary(e,r){let s=XSe.binaryReadOptions(r);return this.internalBinaryRead(s.readerFactory(e),e.byteLength,s)}fromJson(e,r){return this.internalJsonRead(e,w5.jsonReadOptions(r))}fromJsonString(e,r){let s=JSON.parse(e);return this.fromJson(s,r)}toJson(e,r){return this.internalJsonWrite(e,w5.jsonWriteOptions(r))}toJsonString(e,r){var s;let n=this.toJson(e,r);return JSON.stringify(n,null,(s=r?.prettySpaces)!==null&&s!==void 0?s:0)}toBinary(e,r){let s=KSe.binaryWriteOptions(r);return this.internalBinaryWrite(e,s.writerFactory(),s).finish()}internalJsonRead(e,r,s){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let n=s??this.create();return this.refJsonReader.read(e,n,r),n}throw new Error(`Unable to parse message ${this.typeName} from JSON ${WSe.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,s){return this.refBinWriter.write(e,r,s),r}internalBinaryRead(e,r,s,n){let i=n??this.create();return this.refBinReader.read(e,i,s,r),i}};cI.MessageType=tk});var Q5=g(lI=>{"use strict";Object.defineProperty(lI,"__esModule",{value:!0});lI.containsMessageType=void 0;var eRe=Cm();function tRe(t){return t[eRe.MESSAGE_TYPE]!=null}o(tRe,"containsMessageType");lI.containsMessageType=tRe});var S5=g(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.listEnumNumbers=xi.listEnumNames=xi.listEnumValues=xi.isEnumObject=void 0;function N5(t){if(typeof t!="object"||t===null||!t.hasOwnProperty(0))return!1;for(let e of Object.keys(t)){let r=parseInt(e);if(Number.isNaN(r)){let s=t[e];if(s===void 0||typeof s!="number"||t[s]===void 0)return!1}else{let s=t[r];if(s===void 0||t[s]!==r)return!1}}return!0}o(N5,"isEnumObject");xi.isEnumObject=N5;function rk(t){if(!N5(t))throw new Error("not a typescript enum object");let e=[];for(let[r,s]of Object.entries(t))typeof s=="number"&&e.push({name:r,number:s});return e}o(rk,"listEnumValues");xi.listEnumValues=rk;function rRe(t){return rk(t).map(e=>e.name)}o(rRe,"listEnumNames");xi.listEnumNames=rRe;function sRe(t){return rk(t).map(e=>e.number).filter((e,r,s)=>s.indexOf(e)==r)}o(sRe,"listEnumNumbers");xi.listEnumNumbers=sRe});var Ct=g(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});var R5=DC();Object.defineProperty(j,"typeofJsonValue",{enumerable:!0,get:o(function(){return R5.typeofJsonValue},"get")});Object.defineProperty(j,"isJsonObject",{enumerable:!0,get:o(function(){return R5.isJsonObject},"get")});var T5=LC();Object.defineProperty(j,"base64decode",{enumerable:!0,get:o(function(){return T5.base64decode},"get")});Object.defineProperty(j,"base64encode",{enumerable:!0,get:o(function(){return T5.base64encode},"get")});var nRe=r5();Object.defineProperty(j,"utf8read",{enumerable:!0,get:o(function(){return nRe.utf8read},"get")});var sk=pm();Object.defineProperty(j,"WireType",{enumerable:!0,get:o(function(){return sk.WireType},"get")});Object.defineProperty(j,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return sk.mergeBinaryOptions},"get")});Object.defineProperty(j,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return sk.UnknownFieldHandler},"get")});var v5=_P();Object.defineProperty(j,"BinaryReader",{enumerable:!0,get:o(function(){return v5.BinaryReader},"get")});Object.defineProperty(j,"binaryReadOptions",{enumerable:!0,get:o(function(){return v5.binaryReadOptions},"get")});var P5=LP();Object.defineProperty(j,"BinaryWriter",{enumerable:!0,get:o(function(){return P5.BinaryWriter},"get")});Object.defineProperty(j,"binaryWriteOptions",{enumerable:!0,get:o(function(){return P5.binaryWriteOptions},"get")});var k5=pa();Object.defineProperty(j,"PbLong",{enumerable:!0,get:o(function(){return k5.PbLong},"get")});Object.defineProperty(j,"PbULong",{enumerable:!0,get:o(function(){return k5.PbULong},"get")});var nk=MP();Object.defineProperty(j,"jsonReadOptions",{enumerable:!0,get:o(function(){return nk.jsonReadOptions},"get")});Object.defineProperty(j,"jsonWriteOptions",{enumerable:!0,get:o(function(){return nk.jsonWriteOptions},"get")});Object.defineProperty(j,"mergeJsonOptions",{enumerable:!0,get:o(function(){return nk.mergeJsonOptions},"get")});var iRe=Cm();Object.defineProperty(j,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return iRe.MESSAGE_TYPE},"get")});var oRe=x5();Object.defineProperty(j,"MessageType",{enumerable:!0,get:o(function(){return oRe.MessageType},"get")});var Dc=Sn();Object.defineProperty(j,"ScalarType",{enumerable:!0,get:o(function(){return Dc.ScalarType},"get")});Object.defineProperty(j,"LongType",{enumerable:!0,get:o(function(){return Dc.LongType},"get")});Object.defineProperty(j,"RepeatType",{enumerable:!0,get:o(function(){return Dc.RepeatType},"get")});Object.defineProperty(j,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return Dc.normalizeFieldInfo},"get")});Object.defineProperty(j,"readFieldOptions",{enumerable:!0,get:o(function(){return Dc.readFieldOptions},"get")});Object.defineProperty(j,"readFieldOption",{enumerable:!0,get:o(function(){return Dc.readFieldOption},"get")});Object.defineProperty(j,"readMessageOption",{enumerable:!0,get:o(function(){return Dc.readMessageOption},"get")});var aRe=qP();Object.defineProperty(j,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return aRe.ReflectionTypeCheck},"get")});var cRe=jP();Object.defineProperty(j,"reflectionCreate",{enumerable:!0,get:o(function(){return cRe.reflectionCreate},"get")});var lRe=tI();Object.defineProperty(j,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return lRe.reflectionScalarDefault},"get")});var uRe=KP();Object.defineProperty(j,"reflectionMergePartial",{enumerable:!0,get:o(function(){return uRe.reflectionMergePartial},"get")});var ARe=ZP();Object.defineProperty(j,"reflectionEquals",{enumerable:!0,get:o(function(){return ARe.reflectionEquals},"get")});var dRe=YP();Object.defineProperty(j,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return dRe.ReflectionBinaryReader},"get")});var pRe=WP();Object.defineProperty(j,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return pRe.ReflectionBinaryWriter},"get")});var mRe=HP();Object.defineProperty(j,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return mRe.ReflectionJsonReader},"get")});var hRe=$P();Object.defineProperty(j,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return hRe.ReflectionJsonWriter},"get")});var fRe=Q5();Object.defineProperty(j,"containsMessageType",{enumerable:!0,get:o(function(){return fRe.containsMessageType},"get")});var wm=FP();Object.defineProperty(j,"isOneofGroup",{enumerable:!0,get:o(function(){return wm.isOneofGroup},"get")});Object.defineProperty(j,"setOneofValue",{enumerable:!0,get:o(function(){return wm.setOneofValue},"get")});Object.defineProperty(j,"getOneofValue",{enumerable:!0,get:o(function(){return wm.getOneofValue},"get")});Object.defineProperty(j,"clearOneofValue",{enumerable:!0,get:o(function(){return wm.clearOneofValue},"get")});Object.defineProperty(j,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return wm.getSelectedOneofValue},"get")});var uI=S5();Object.defineProperty(j,"listEnumValues",{enumerable:!0,get:o(function(){return uI.listEnumValues},"get")});Object.defineProperty(j,"listEnumNames",{enumerable:!0,get:o(function(){return uI.listEnumNames},"get")});Object.defineProperty(j,"listEnumNumbers",{enumerable:!0,get:o(function(){return uI.listEnumNumbers},"get")});Object.defineProperty(j,"isEnumObject",{enumerable:!0,get:o(function(){return uI.isEnumObject},"get")});var gRe=OP();Object.defineProperty(j,"lowerCamelCase",{enumerable:!0,get:o(function(){return gRe.lowerCamelCase},"get")});var bm=Ju();Object.defineProperty(j,"assert",{enumerable:!0,get:o(function(){return bm.assert},"get")});Object.defineProperty(j,"assertNever",{enumerable:!0,get:o(function(){return bm.assertNever},"get")});Object.defineProperty(j,"assertInt32",{enumerable:!0,get:o(function(){return bm.assertInt32},"get")});Object.defineProperty(j,"assertUInt32",{enumerable:!0,get:o(function(){return bm.assertUInt32},"get")});Object.defineProperty(j,"assertFloat32",{enumerable:!0,get:o(function(){return bm.assertFloat32},"get")})});var ik=g(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.readServiceOption=Qi.readMethodOption=Qi.readMethodOptions=Qi.normalizeMethodInfo=void 0;var ERe=Ct();function yRe(t,e){var r,s,n;let i=t;return i.service=e,i.localName=(r=i.localName)!==null&&r!==void 0?r:ERe.lowerCamelCase(i.name),i.serverStreaming=!!i.serverStreaming,i.clientStreaming=!!i.clientStreaming,i.options=(s=i.options)!==null&&s!==void 0?s:{},i.idempotency=(n=i.idempotency)!==null&&n!==void 0?n:void 0,i}o(yRe,"normalizeMethodInfo");Qi.normalizeMethodInfo=yRe;function CRe(t,e,r,s){var n;let i=(n=t.methods.find((a,c)=>a.localName===e||c===e))===null||n===void 0?void 0:n.options;return i&&i[r]?s.fromJson(i[r]):void 0}o(CRe,"readMethodOptions");Qi.readMethodOptions=CRe;function IRe(t,e,r,s){var n;let i=(n=t.methods.find((c,l)=>c.localName===e||l===e))===null||n===void 0?void 0:n.options;if(!i)return;let a=i[r];return a===void 0?a:s?s.fromJson(a):a}o(IRe,"readMethodOption");Qi.readMethodOption=IRe;function BRe(t,e,r){let s=t.options;if(!s)return;let n=s[e];return n===void 0?n:r?r.fromJson(n):n}o(BRe,"readServiceOption");Qi.readServiceOption=BRe});var D5=g(AI=>{"use strict";Object.defineProperty(AI,"__esModule",{value:!0});AI.ServiceType=void 0;var wRe=ik(),ok=class{static{o(this,"ServiceType")}constructor(e,r,s){this.typeName=e,this.methods=r.map(n=>wRe.normalizeMethodInfo(n,this)),this.options=s??{}}};AI.ServiceType=ok});var ck=g(dI=>{"use strict";Object.defineProperty(dI,"__esModule",{value:!0});dI.RpcError=void 0;var ak=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",s){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=s??{}}toString(){let e=[this.name+": "+this.message];this.code&&(e.push(""),e.push("Code: "+this.code)),this.serviceName&&this.methodName&&e.push("Method: "+this.serviceName+"/"+this.methodName);let r=Object.entries(this.meta);if(r.length){e.push(""),e.push("Meta:");for(let[s,n]of r)e.push(` ${s}: ${n}`)}return e.join(` `)}};dI.RpcError=ak});var lk=g(mI=>{"use strict";Object.defineProperty(mI,"__esModule",{value:!0});mI.mergeRpcOptions=void 0;var _5=Ct();function bRe(t,e){if(!e)return t;let r={};pI(t,r),pI(e,r);for(let s of Object.keys(e)){let n=e[s];switch(s){case"jsonOptions":r.jsonOptions=_5.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=_5.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},pI(t.meta,r.meta),pI(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(n):n.concat();break}}return r}o(bRe,"mergeRpcOptions");mI.mergeRpcOptions=bRe;function pI(t,e){if(!t)return;let r=e;for(let[s,n]of Object.entries(t))n instanceof Date?r[s]=new Date(n.getTime()):Array.isArray(n)?r[s]=n.concat():r[s]=n}o(pI,"copy")});var Ak=g(_c=>{"use strict";Object.defineProperty(_c,"__esModule",{value:!0});_c.Deferred=_c.DeferredState=void 0;var Ni;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Ni=_c.DeferredState||(_c.DeferredState={}));var uk=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Ni.PENDING,this._promise=new Promise((r,s)=>{this._resolve=r,this._reject=s}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==Ni.PENDING)throw new Error(`cannot resolve ${Ni[this.state].toLowerCase()}`);this._resolve(e),this._state=Ni.RESOLVED}reject(e){if(this.state!==Ni.PENDING)throw new Error(`cannot reject ${Ni[this.state].toLowerCase()}`);this._reject(e),this._state=Ni.REJECTED}resolvePending(e){this._state===Ni.PENDING&&this.resolve(e)}rejectPending(e){this._state===Ni.PENDING&&this.reject(e)}};_c.Deferred=uk});var pk=g(hI=>{"use strict";Object.defineProperty(hI,"__esModule",{value:!0});hI.RpcOutputStreamController=void 0;var L5=Ak(),Lc=Ct(),dk=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,r){return r.push(e),()=>{let s=r.indexOf(e);s>=0&&r.splice(s,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,s){Lc.assert((e?1:0)+(r?1:0)+(s?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),s&&this.notifyComplete()}notifyMessage(e){Lc.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){Lc.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(){Lc.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;Lc.assert(e,"bad state"),Lc.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 L5.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let s=r.p;Lc.assert(s.state==L5.DeferredState.PENDING,"iterator contract broken"),"value"in e?s.resolve(e):s.reject(e),delete r.p}else r.q.push(e)}};hI.RpcOutputStreamController=dk});var hk=g(Xu=>{"use strict";var xRe=Xu&&Xu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(Xu,"__esModule",{value:!0});Xu.UnaryCall=void 0;var mk=class{static{o(this,"UnaryCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.request=s,this.headers=n,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return xRe(this,void 0,void 0,function*(){let[e,r,s,n]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:s,trailers:n}})}};Xu.UnaryCall=mk});var gk=g(Zu=>{"use strict";var QRe=Zu&&Zu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(Zu,"__esModule",{value:!0});Zu.ServerStreamingCall=void 0;var fk=class{static{o(this,"ServerStreamingCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.request=s,this.headers=n,this.responses=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return QRe(this,void 0,void 0,function*(){let[e,r,s]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:s}})}};Zu.ServerStreamingCall=fk});var yk=g(eA=>{"use strict";var NRe=eA&&eA.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(eA,"__esModule",{value:!0});eA.ClientStreamingCall=void 0;var Ek=class{static{o(this,"ClientStreamingCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.requests=s,this.headers=n,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return NRe(this,void 0,void 0,function*(){let[e,r,s,n]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:s,trailers:n}})}};eA.ClientStreamingCall=Ek});var Ik=g(tA=>{"use strict";var SRe=tA&&tA.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(tA,"__esModule",{value:!0});tA.DuplexStreamingCall=void 0;var Ck=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.requests=s,this.headers=n,this.responses=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return SRe(this,void 0,void 0,function*(){let[e,r,s]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:s}})}};tA.DuplexStreamingCall=Ck});var O5=g(nA=>{"use strict";var RRe=nA&&nA.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(nA,"__esModule",{value:!0});nA.TestTransport=void 0;var js=ck(),fI=Ct(),M5=pk(),TRe=lk(),vRe=hk(),PRe=gk(),kRe=yk(),DRe=Ik(),sA=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 rA?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof rA?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 js.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof js.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(fI.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),fI.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,s){return RRe(this,void 0,void 0,function*(){let n=[];if(this.data.response===void 0)n.push(e.O.create());else if(Array.isArray(this.data.response))for(let i of this.data.response)fI.assert(e.O.is(i)),n.push(i);else this.data.response instanceof js.RpcError||(fI.assert(e.O.is(this.data.response)),n.push(this.data.response));try{yield Jt(this.responseDelay,s)(void 0)}catch(i){r.notifyError(i);return}if(this.data.response instanceof js.RpcError){r.notifyError(this.data.response);return}for(let i of n){r.notifyMessage(i);try{yield Jt(this.betweenResponseDelay,s)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof js.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof js.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 js.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 js.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return TRe.mergeRpcOptions({},e)}unary(e,r,s){var n;let i=(n=s.meta)!==null&&n!==void 0?n:{},a=this.promiseHeaders().then(Jt(this.headerDelay,s.abort)),c=a.catch(A=>{}).then(Jt(this.responseDelay,s.abort)).then(A=>this.promiseSingleResponse(e)),l=c.catch(A=>{}).then(Jt(this.afterResponseDelay,s.abort)).then(A=>this.promiseStatus()),u=c.catch(A=>{}).then(Jt(this.afterResponseDelay,s.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new vRe.UnaryCall(e,i,r,a,c,l,u)}serverStreaming(e,r,s){var n;let i=(n=s.meta)!==null&&n!==void 0?n:{},a=this.promiseHeaders().then(Jt(this.headerDelay,s.abort)),c=new M5.RpcOutputStreamController,l=a.then(Jt(this.responseDelay,s.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,s.abort)).then(Jt(this.afterResponseDelay,s.abort)),u=l.then(()=>this.promiseStatus()),A=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(u,A),this.lastInput={single:r},new PRe.ServerStreamingCall(e,i,r,a,c,u,A)}clientStreaming(e,r){var s;let n=(s=r.meta)!==null&&s!==void 0?s:{},i=this.promiseHeaders().then(Jt(this.headerDelay,r.abort)),a=i.catch(u=>{}).then(Jt(this.responseDelay,r.abort)).then(u=>this.promiseSingleResponse(e)),c=a.catch(u=>{}).then(Jt(this.afterResponseDelay,r.abort)).then(u=>this.promiseStatus()),l=a.catch(u=>{}).then(Jt(this.afterResponseDelay,r.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new rA(this.data,r.abort),new kRe.ClientStreamingCall(e,n,this.lastInput,i,a,c,l)}duplex(e,r){var s;let n=(s=r.meta)!==null&&s!==void 0?s:{},i=this.promiseHeaders().then(Jt(this.headerDelay,r.abort)),a=new M5.RpcOutputStreamController,c=i.then(Jt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(Jt(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput=new rA(this.data,r.abort),new DRe.DuplexStreamingCall(e,n,this.lastInput,i,a,l,u)}};nA.TestTransport=sA;sA.defaultHeaders={responseHeader:"test"};sA.defaultStatus={code:"OK",detail:"all good"};sA.defaultTrailers={responseTrailer:"test"};function Jt(t,e){return r=>new Promise((s,n)=>{if(e?.aborted)n(new js.RpcError("user cancel","CANCELLED"));else{let i=setTimeout(()=>s(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(i),n(new js.RpcError("user cancel","CANCELLED"))})}})}o(Jt,"delay");var rA=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 js.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(Jt(r,this.abort))}complete(){if(this.data.inputComplete instanceof js.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(Jt(e,this.abort))}}});var F5=g(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.stackDuplexStreamingInterceptors=Ks.stackClientStreamingInterceptors=Ks.stackServerStreamingInterceptors=Ks.stackUnaryInterceptors=Ks.stackIntercept=void 0;var _Re=Ct();function xm(t,e,r,s,n){var i,a,c,l;if(t=="unary"){let u=o((A,d,p)=>e.unary(A,d,p),"tail");for(let A of((i=s.interceptors)!==null&&i!==void 0?i:[]).filter(d=>d.interceptUnary).reverse()){let d=u;u=o((p,m,h)=>A.interceptUnary(d,p,m,h),"tail")}return u(r,n,s)}if(t=="serverStreaming"){let u=o((A,d,p)=>e.serverStreaming(A,d,p),"tail");for(let A of((a=s.interceptors)!==null&&a!==void 0?a:[]).filter(d=>d.interceptServerStreaming).reverse()){let d=u;u=o((p,m,h)=>A.interceptServerStreaming(d,p,m,h),"tail")}return u(r,n,s)}if(t=="clientStreaming"){let u=o((A,d)=>e.clientStreaming(A,d),"tail");for(let A of((c=s.interceptors)!==null&&c!==void 0?c:[]).filter(d=>d.interceptClientStreaming).reverse()){let d=u;u=o((p,m)=>A.interceptClientStreaming(d,p,m),"tail")}return u(r,s)}if(t=="duplex"){let u=o((A,d)=>e.duplex(A,d),"tail");for(let A of((l=s.interceptors)!==null&&l!==void 0?l:[]).filter(d=>d.interceptDuplex).reverse()){let d=u;u=o((p,m)=>A.interceptDuplex(d,p,m),"tail")}return u(r,s)}_Re.assertNever(t)}o(xm,"stackIntercept");Ks.stackIntercept=xm;function LRe(t,e,r,s){return xm("unary",t,e,s,r)}o(LRe,"stackUnaryInterceptors");Ks.stackUnaryInterceptors=LRe;function MRe(t,e,r,s){return xm("serverStreaming",t,e,s,r)}o(MRe,"stackServerStreamingInterceptors");Ks.stackServerStreamingInterceptors=MRe;function ORe(t,e,r){return xm("clientStreaming",t,e,r)}o(ORe,"stackClientStreamingInterceptors");Ks.stackClientStreamingInterceptors=ORe;function FRe(t,e,r){return xm("duplex",t,e,r)}o(FRe,"stackDuplexStreamingInterceptors");Ks.stackDuplexStreamingInterceptors=FRe});var U5=g(gI=>{"use strict";Object.defineProperty(gI,"__esModule",{value:!0});gI.ServerCallContextController=void 0;var Bk=class{static{o(this,"ServerCallContextController")}constructor(e,r,s,n,i={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=s,this.trailers={},this._sendRH=n,this.status=i}notifyCancelled(){if(!this._cancelled){this._cancelled=!0;for(let e of this._listeners)e()}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){let r=this._listeners;return r.push(e),()=>{let s=r.indexOf(e);s>=0&&r.splice(s,1)}}};gI.ServerCallContextController=Bk});var G5=g(At=>{"use strict";Object.defineProperty(At,"__esModule",{value:!0});var URe=D5();Object.defineProperty(At,"ServiceType",{enumerable:!0,get:o(function(){return URe.ServiceType},"get")});var wk=ik();Object.defineProperty(At,"readMethodOptions",{enumerable:!0,get:o(function(){return wk.readMethodOptions},"get")});Object.defineProperty(At,"readMethodOption",{enumerable:!0,get:o(function(){return wk.readMethodOption},"get")});Object.defineProperty(At,"readServiceOption",{enumerable:!0,get:o(function(){return wk.readServiceOption},"get")});var qRe=ck();Object.defineProperty(At,"RpcError",{enumerable:!0,get:o(function(){return qRe.RpcError},"get")});var GRe=lk();Object.defineProperty(At,"mergeRpcOptions",{enumerable:!0,get:o(function(){return GRe.mergeRpcOptions},"get")});var HRe=pk();Object.defineProperty(At,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return HRe.RpcOutputStreamController},"get")});var zRe=O5();Object.defineProperty(At,"TestTransport",{enumerable:!0,get:o(function(){return zRe.TestTransport},"get")});var q5=Ak();Object.defineProperty(At,"Deferred",{enumerable:!0,get:o(function(){return q5.Deferred},"get")});Object.defineProperty(At,"DeferredState",{enumerable:!0,get:o(function(){return q5.DeferredState},"get")});var $Re=Ik();Object.defineProperty(At,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return $Re.DuplexStreamingCall},"get")});var VRe=yk();Object.defineProperty(At,"ClientStreamingCall",{enumerable:!0,get:o(function(){return VRe.ClientStreamingCall},"get")});var YRe=gk();Object.defineProperty(At,"ServerStreamingCall",{enumerable:!0,get:o(function(){return YRe.ServerStreamingCall},"get")});var JRe=hk();Object.defineProperty(At,"UnaryCall",{enumerable:!0,get:o(function(){return JRe.UnaryCall},"get")});var Qm=F5();Object.defineProperty(At,"stackIntercept",{enumerable:!0,get:o(function(){return Qm.stackIntercept},"get")});Object.defineProperty(At,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return Qm.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(At,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return Qm.stackClientStreamingInterceptors},"get")});Object.defineProperty(At,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return Qm.stackServerStreamingInterceptors},"get")});Object.defineProperty(At,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return Qm.stackUnaryInterceptors},"get")});var WRe=U5();Object.defineProperty(At,"ServerCallContextController",{enumerable:!0,get:o(function(){return WRe.ServerCallContextController},"get")})});var lj=g((ilt,cj)=>{function Xs(t,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}o(Xs,"RetryOperation");cj.exports=Xs;Xs.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};Xs.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};Xs.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.push(t),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1);else return!1;var s=this;return this._timer=setTimeout(function(){s._attempts++,s._operationTimeoutCb&&(s._timeout=setTimeout(function(){s._operationTimeoutCb(s._attempts)},s._operationTimeout),s._options.unref&&s._timeout.unref()),s._fn(s._attempts)},r),this._options.unref&&this._timer.unref(),!0};Xs.prototype.attempt=function(t,e){this._fn=t,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};Xs.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};Xs.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};Xs.prototype.start=Xs.prototype.try;Xs.prototype.errors=function(){return this._errors};Xs.prototype.attempts=function(){return this._attempts};Xs.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,s=0;s=r&&(e=n,r=a)}return e}});var uj=g(qc=>{var aTe=lj();qc.operation=function(t){var e=qc.timeouts(t);return new aTe(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};qc.timeouts=function(t){if(t instanceof Array)return[].concat(t);var e={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in t)e[r]=t[r];if(e.minTimeout>e.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var s=[],n=0;n{Aj.exports=uj()});var Zk=g((ult,pj)=>{var cTe=dj();function lTe(t,e){function r(s,n){var i=e||{},a;"randomize"in i||(i.randomize=!0),a=cTe.operation(i);function c(A){n(A||new Error("Aborted"))}o(c,"bail");function l(A,d){if(A.bail){c(A);return}a.retry(A)?i.onRetry&&i.onRetry(A,d):n(a.mainError())}o(l,"onError");function u(A){var d;try{d=t(c,A)}catch(p){l(p,A);return}Promise.resolve(d).then(s).catch(o(function(m){l(m,A)},"catchIt"))}o(u,"runAttempt"),a.attempt(u)}return o(r,"run"),new Promise(r)}o(lTe,"retry");pj.exports=lTe});var Qr=g(Is=>{"use strict";Is.__esModule=!0;Is.extend=mj;Is.indexOf=mTe;Is.escapeExpression=hTe;Is.isEmpty=fTe;Is.createFrame=gTe;Is.blockParams=ETe;Is.appendContextPath=yTe;var uTe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},ATe=/[&<>"'`=]/g,dTe=/[&<>"'`=]/;function pTe(t){return uTe[t]}o(pTe,"escapeChar");function mj(t){for(var e=1;e{"use strict";xI.__esModule=!0;var rD=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function sD(t,e){var r=e&&e.loc,s=void 0,n=void 0,i=void 0,a=void 0;r&&(s=r.start.line,n=r.end.line,i=r.start.column,a=r.end.column,t+=" - "+s+":"+i);for(var c=Error.prototype.constructor.call(this,t),l=0;l{"use strict";QI.__esModule=!0;var nD=Qr();QI.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var s=r.inverse,n=r.fn;if(e===!0)return n(this);if(e===!1||e==null)return s(this);if(nD.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):s(this);if(r.data&&r.ids){var i=nD.createFrame(r.data);i.contextPath=nD.appendContextPath(r.data.contextPath,r.name),r={data:i}}return n(e,r)})};gj.exports=QI.default});var Cj=g((NI,yj)=>{"use strict";NI.__esModule=!0;function CTe(t){return t&&t.__esModule?t:{default:t}}o(CTe,"_interopRequireDefault");var Tm=Qr(),ITe=Bs(),BTe=CTe(ITe);NI.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new BTe.default("Must pass iterator to #each");var s=r.fn,n=r.inverse,i=0,a="",c=void 0,l=void 0;r.data&&r.ids&&(l=Tm.appendContextPath(r.data.contextPath,r.ids[0])+"."),Tm.isFunction(e)&&(e=e.call(this)),r.data&&(c=Tm.createFrame(r.data));function u(h,f,C){c&&(c.key=h,c.index=f,c.first=f===0,c.last=!!C,l&&(c.contextPath=l+h)),a=a+s(e[h],{data:c,blockParams:Tm.blockParams([e[h],h],[l+h,null])})}if(o(u,"execIteration"),e&&typeof e=="object")if(Tm.isArray(e))for(var A=e.length;i{"use strict";SI.__esModule=!0;function wTe(t){return t&&t.__esModule?t:{default:t}}o(wTe,"_interopRequireDefault");var bTe=Bs(),xTe=wTe(bTe);SI.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new xTe.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};Ij.exports=SI.default});var Qj=g((RI,xj)=>{"use strict";RI.__esModule=!0;function QTe(t){return t&&t.__esModule?t:{default:t}}o(QTe,"_interopRequireDefault");var wj=Qr(),NTe=Bs(),bj=QTe(NTe);RI.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new bj.default("#if requires exactly one argument");return wj.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||wj.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new bj.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};xj.exports=RI.default});var Sj=g((TI,Nj)=>{"use strict";TI.__esModule=!0;TI.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],s=0;s{"use strict";vI.__esModule=!0;vI.default=function(t){t.registerHelper("lookup",function(e,r,s){return e&&s.lookupProperty(e,r)})};Rj.exports=vI.default});var Pj=g((PI,vj)=>{"use strict";PI.__esModule=!0;function STe(t){return t&&t.__esModule?t:{default:t}}o(STe,"_interopRequireDefault");var vm=Qr(),RTe=Bs(),TTe=STe(RTe);PI.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new TTe.default("#with requires exactly one argument");vm.isFunction(e)&&(e=e.call(this));var s=r.fn;if(vm.isEmpty(e))return r.inverse(this);var n=r.data;return r.data&&r.ids&&(n=vm.createFrame(r.data),n.contextPath=vm.appendContextPath(r.data.contextPath,r.ids[0])),s(e,{data:n,blockParams:vm.blockParams([e],[n&&n.contextPath])})})};vj.exports=PI.default});var iD=g(kI=>{"use strict";kI.__esModule=!0;kI.registerDefaultHelpers=$Te;kI.moveHelperToHooks=VTe;function Gc(t){return t&&t.__esModule?t:{default:t}}o(Gc,"_interopRequireDefault");var vTe=Ej(),PTe=Gc(vTe),kTe=Cj(),DTe=Gc(kTe),_Te=Bj(),LTe=Gc(_Te),MTe=Qj(),OTe=Gc(MTe),FTe=Sj(),UTe=Gc(FTe),qTe=Tj(),GTe=Gc(qTe),HTe=Pj(),zTe=Gc(HTe);function $Te(t){PTe.default(t),DTe.default(t),LTe.default(t),OTe.default(t),UTe.default(t),GTe.default(t),zTe.default(t)}o($Te,"registerDefaultHelpers");function VTe(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(VTe,"moveHelperToHooks")});var Dj=g((DI,kj)=>{"use strict";DI.__esModule=!0;var YTe=Qr();DI.default=function(t){t.registerDecorator("inline",function(e,r,s,n){var i=e;return r.partials||(r.partials={},i=o(function(a,c){var l=s.partials;s.partials=YTe.extend({},l,r.partials);var u=e(a,c);return s.partials=l,u},"ret")),r.partials[n.args[0]]=n.fn,i})};kj.exports=DI.default});var _j=g(oD=>{"use strict";oD.__esModule=!0;oD.registerDefaultDecorators=KTe;function JTe(t){return t&&t.__esModule?t:{default:t}}o(JTe,"_interopRequireDefault");var WTe=Dj(),jTe=JTe(WTe);function KTe(t){jTe.default(t)}o(KTe,"registerDefaultDecorators")});var aD=g((_I,Lj)=>{"use strict";_I.__esModule=!0;var XTe=Qr(),oA={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=XTe.indexOf(oA.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=oA.lookupLevel(e),typeof console<"u"&&oA.lookupLevel(oA.level)<=e){var r=oA.methodMap[e];console[r]||(r="log");for(var s=arguments.length,n=Array(s>1?s-1:0),i=1;i{"use strict";Pm.__esModule=!0;Pm.createProtoAccessControl=rve;Pm.resultIsAllowed=sve;Pm.resetLoggedProperties=ive;function ZTe(t){return t&&t.__esModule?t:{default:t}}o(ZTe,"_interopRequireDefault");var Mj=Qr(),eve=aD(),tve=ZTe(eve),LI=Object.create(null);function rve(t){var e=Object.create(null);e.__proto__=!1,Mj.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,Mj.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(rve,"createProtoAccessControl");function sve(t,e,r){return Oj(typeof t=="function"?e.methods:e.properties,r)}o(sve,"resultIsAllowed");function Oj(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(nve(e),!1)}o(Oj,"checkWhiteList");function nve(t){LI[t]!==!0&&(LI[t]=!0,tve.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(nve,"logUnexpecedPropertyAccessOnce");function ive(){Object.keys(LI).forEach(function(t){delete LI[t]})}o(ive,"resetLoggedProperties")});var OI=g(vi=>{"use strict";vi.__esModule=!0;vi.HandlebarsEnvironment=AD;function Fj(t){return t&&t.__esModule?t:{default:t}}o(Fj,"_interopRequireDefault");var Hc=Qr(),ove=Bs(),lD=Fj(ove),ave=iD(),cve=_j(),lve=aD(),MI=Fj(lve),uve=cD(),Ave="4.7.9";vi.VERSION=Ave;var dve=8;vi.COMPILER_REVISION=dve;var pve=7;vi.LAST_COMPATIBLE_COMPILER_REVISION=pve;var mve={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"};vi.REVISION_CHANGES=mve;var uD="[object Object]";function AD(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},ave.registerDefaultHelpers(this),cve.registerDefaultDecorators(this)}o(AD,"HandlebarsEnvironment");AD.prototype={constructor:AD,logger:MI.default,log:MI.default.log,registerHelper:o(function(e,r){if(Hc.toString.call(e)===uD){if(r)throw new lD.default("Arg not supported with multiple helpers");Hc.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(Hc.toString.call(e)===uD)Hc.extend(this.partials,e);else{if(typeof r>"u")throw new lD.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(Hc.toString.call(e)===uD){if(r)throw new lD.default("Arg not supported with multiple decorators");Hc.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){uve.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var hve=MI.default.log;vi.log=hve;vi.createFrame=Hc.createFrame;vi.logger=MI.default});var qj=g((FI,Uj)=>{"use strict";FI.__esModule=!0;function dD(t){this.string=t}o(dD,"SafeString");dD.prototype.toString=dD.prototype.toHTML=function(){return""+this.string};FI.default=dD;Uj.exports=FI.default});var Gj=g(pD=>{"use strict";pD.__esModule=!0;pD.wrapHelper=fve;function fve(t,e){if(typeof t!="function")return t;var r=o(function(){var n=arguments[arguments.length-1];return arguments[arguments.length-1]=e(n),t.apply(this,arguments)},"wrapper");return r}o(fve,"wrapHelper")});var Jj=g(fa=>{"use strict";fa.__esModule=!0;fa.checkRevision=Bve;fa.template=wve;fa.wrapProgram=UI;fa.resolvePartial=bve;fa.invokePartial=xve;fa.noop=Vj;function gve(t){return t&&t.__esModule?t:{default:t}}o(gve,"_interopRequireDefault");function Eve(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(Eve,"_interopRequireWildcard");var yve=Qr(),aA=Eve(yve),Cve=Bs(),go=gve(Cve),Eo=OI(),Hj=iD(),Ive=Gj(),zj=cD();function Bve(t){var e=t&&t[0]||1,r=Eo.COMPILER_REVISION;if(!(e>=Eo.LAST_COMPATIBLE_COMPILER_REVISION&&e<=Eo.COMPILER_REVISION))if(e{"use strict";GI.__esModule=!0;GI.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}};Wj.exports=GI.default});var e9=g((HI,Zj)=>{"use strict";HI.__esModule=!0;function fD(t){return t&&t.__esModule?t:{default:t}}o(fD,"_interopRequireDefault");function gD(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(gD,"_interopRequireWildcard");var Sve=OI(),jj=gD(Sve),Rve=qj(),Tve=fD(Rve),vve=Bs(),Pve=fD(vve),kve=Qr(),hD=gD(kve),Dve=Jj(),Kj=gD(Dve),_ve=mD(),Lve=fD(_ve);function Xj(){var t=new jj.HandlebarsEnvironment;return hD.extend(t,jj),t.SafeString=Tve.default,t.Exception=Pve.default,t.Utils=hD,t.escapeExpression=hD.escapeExpression,t.VM=Kj,t.template=function(e){return Kj.template(e,t)},t}o(Xj,"create");var km=Xj();km.create=Xj;Lve.default(km);km.default=km;HI.default=km;Zj.exports=HI.default});var ED=g((zI,r9)=>{"use strict";zI.__esModule=!0;var t9={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&&!t9.helpers.scopedId(e)&&!e.depth},"simpleId")}};zI.default=t9;r9.exports=zI.default});var n9=g(($I,s9)=>{"use strict";$I.__esModule=!0;var Mve=(function(){var t={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:o(function(n,i,a,c,l,u,A){var d=u.length-1;switch(l){case 1:return u[d-1];case 2:this.$=c.prepareProgram(u[d]);break;case 3:this.$=u[d];break;case 4:this.$=u[d];break;case 5:this.$=u[d];break;case 6:this.$=u[d];break;case 7:this.$=u[d];break;case 8:this.$=u[d];break;case 9:this.$={type:"CommentStatement",value:c.stripComment(u[d]),strip:c.stripFlags(u[d],u[d]),loc:c.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:u[d],value:u[d],loc:c.locInfo(this._$)};break;case 11:this.$=c.prepareRawBlock(u[d-2],u[d-1],u[d],this._$);break;case 12:this.$={path:u[d-3],params:u[d-2],hash:u[d-1]};break;case 13:this.$=c.prepareBlock(u[d-3],u[d-2],u[d-1],u[d],!1,this._$);break;case 14:this.$=c.prepareBlock(u[d-3],u[d-2],u[d-1],u[d],!0,this._$);break;case 15:this.$={open:u[d-5],path:u[d-4],params:u[d-3],hash:u[d-2],blockParams:u[d-1],strip:c.stripFlags(u[d-5],u[d])};break;case 16:this.$={path:u[d-4],params:u[d-3],hash:u[d-2],blockParams:u[d-1],strip:c.stripFlags(u[d-5],u[d])};break;case 17:this.$={path:u[d-4],params:u[d-3],hash:u[d-2],blockParams:u[d-1],strip:c.stripFlags(u[d-5],u[d])};break;case 18:this.$={strip:c.stripFlags(u[d-1],u[d-1]),program:u[d]};break;case 19:var p=c.prepareBlock(u[d-2],u[d-1],u[d],u[d],!1,this._$),m=c.prepareProgram([p],u[d-1].loc);m.chained=!0,this.$={strip:u[d-2].strip,program:m,chain:!0};break;case 20:this.$=u[d];break;case 21:this.$={path:u[d-1],strip:c.stripFlags(u[d-2],u[d])};break;case 22:this.$=c.prepareMustache(u[d-3],u[d-2],u[d-1],u[d-4],c.stripFlags(u[d-4],u[d]),this._$);break;case 23:this.$=c.prepareMustache(u[d-3],u[d-2],u[d-1],u[d-4],c.stripFlags(u[d-4],u[d]),this._$);break;case 24:this.$={type:"PartialStatement",name:u[d-3],params:u[d-2],hash:u[d-1],indent:"",strip:c.stripFlags(u[d-4],u[d]),loc:c.locInfo(this._$)};break;case 25:this.$=c.preparePartialBlock(u[d-2],u[d-1],u[d],this._$);break;case 26:this.$={path:u[d-3],params:u[d-2],hash:u[d-1],strip:c.stripFlags(u[d-4],u[d])};break;case 27:this.$=u[d];break;case 28:this.$=u[d];break;case 29:this.$={type:"SubExpression",path:u[d-3],params:u[d-2],hash:u[d-1],loc:c.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:u[d],loc:c.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:c.id(u[d-2]),value:u[d],loc:c.locInfo(this._$)};break;case 32:this.$=c.id(u[d-1]);break;case 33:this.$=u[d];break;case 34:this.$=u[d];break;case 35:this.$={type:"StringLiteral",value:u[d],original:u[d],loc:c.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(u[d]),original:Number(u[d]),loc:c.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:u[d]==="true",original:u[d]==="true",loc:c.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:c.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:c.locInfo(this._$)};break;case 40:this.$=u[d];break;case 41:this.$=u[d];break;case 42:this.$=c.preparePath(!0,u[d],this._$);break;case 43:this.$=c.preparePath(!1,u[d],this._$);break;case 44:u[d-2].push({part:c.id(u[d]),original:u[d],separator:u[d-1]}),this.$=u[d-2];break;case 45:this.$=[{part:c.id(u[d]),original:u[d]}];break;case 46:this.$=[];break;case 47:u[d-1].push(u[d]);break;case 48:this.$=[];break;case 49:u[d-1].push(u[d]);break;case 50:this.$=[];break;case 51:u[d-1].push(u[d]);break;case 58:this.$=[];break;case 59:u[d-1].push(u[d]);break;case 64:this.$=[];break;case 65:u[d-1].push(u[d]);break;case 70:this.$=[];break;case 71:u[d-1].push(u[d]);break;case 78:this.$=[];break;case 79:u[d-1].push(u[d]);break;case 82:this.$=[];break;case 83:u[d-1].push(u[d]);break;case 86:this.$=[];break;case 87:u[d-1].push(u[d]);break;case 90:this.$=[];break;case 91:u[d-1].push(u[d]);break;case 94:this.$=[];break;case 95:u[d-1].push(u[d]);break;case 98:this.$=[u[d]];break;case 99:u[d-1].push(u[d]);break;case 100:this.$=[u[d]];break;case 101:u[d-1].push(u[d]);break}},"anonymous"),table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:o(function(n,i){throw new Error(n)},"parseError"),parse:o(function(n){var i=this,a=[0],c=[null],l=[],u=this.table,A="",d=0,p=0,m=0,h=2,f=1;this.lexer.setInput(n),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var C=this.lexer.yylloc;l.push(C);var E=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function y($){a.length=a.length-2*$,c.length=c.length-$,l.length=l.length-$}o(y,"popStack");function I(){var $;return $=i.lexer.lex()||1,typeof $!="number"&&($=i.symbols_[$]||$),$}o(I,"lex");for(var B,S,R,q,we,et,ke={},_e,pe,bt,ce;;){if(R=a[a.length-1],this.defaultActions[R]?q=this.defaultActions[R]:((B===null||typeof B>"u")&&(B=I()),q=u[R]&&u[R][B]),typeof q>"u"||!q.length||!q[0]){var on="";if(!m){ce=[];for(_e in u[R])this.terminals_[_e]&&_e>2&&ce.push("'"+this.terminals_[_e]+"'");this.lexer.showPosition?on="Parse error on line "+(d+1)+`: `+this.lexer.showPosition()+` Expecting `+ce.join(", ")+", got '"+(this.terminals_[B]||B)+"'":on="Parse error on line "+(d+1)+": Unexpected "+(B==1?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(on,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:C,expected:ce})}}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+B);switch(q[0]){case 1:a.push(B),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(q[1]),B=null,S?(B=S,S=null):(p=this.lexer.yyleng,A=this.lexer.yytext,d=this.lexer.yylineno,C=this.lexer.yylloc,m>0&&m--);break;case 2:if(pe=this.productions_[q[1]][1],ke.$=c[c.length-pe],ke._$={first_line:l[l.length-(pe||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(pe||1)].first_column,last_column:l[l.length-1].last_column},E&&(ke._$.range=[l[l.length-(pe||1)].range[0],l[l.length-1].range[1]]),et=this.performAction.call(ke,A,p,d,this.yy,q[1],c,l),typeof et<"u")return et;pe&&(a=a.slice(0,-1*pe*2),c=c.slice(0,-1*pe),l=l.slice(0,-1*pe)),a.push(this.productions_[q[1]][0]),c.push(ke.$),l.push(ke._$),bt=u[a[a.length-2]][a[a.length-1]],a.push(bt);break;case 3:return!0}}return!0},"parse")},e=(function(){var s={EOF:1,parseError:o(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw new Error(i)},"parseError"),setInput:o(function(i){return this._input=i,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:o(function(i){var a=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a-1),this.offset-=a;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===l.length?this.yylloc.first_column:0)+l[l.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-a]),this},"unput"),more:o(function(){return this._more=!0,this},"more"),less:o(function(i){this.unput(this.match.slice(i))},"less"),pastInput:o(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+` `+a+"^"},"showPosition"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,a,c,l,u,A;this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),p=0;pa[0].length)&&(a=c,l=p,!this.options.flex)));p++);return a?(A=a[0].match(/(?:\r\n?|\n).*/g),A&&(this.yylineno+=A.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:A?A[A.length-1].length-A[A.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],i=this.performAction.call(this,this.yy,this,d[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var i=this.next();return typeof i<"u"?i:this.lex()},"lex"),begin:o(function(i){this.conditionStack.push(i)},"begin"),popState:o(function(){return this.conditionStack.pop()},"popState"),_currentRules:o(function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},"_currentRules"),topState:o(function(){return this.conditionStack[this.conditionStack.length-2]},"topState"),pushState:o(function(i){this.begin(i)},"begin")};return s.options={},s.performAction=o(function(i,a,c,l){function u(d,p){return a.yytext=a.yytext.substring(d,a.yyleng-p+d)}o(u,"strip");var A=l;switch(c){case 0:if(a.yytext.slice(-2)==="\\\\"?(u(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(u(0,1),this.begin("emu")):this.begin("mu"),a.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(u(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(a.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return a.yytext=u(1,2).replace(/\\"/g,'"'),80;break;case 32:return a.yytext=u(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return a.yytext=a.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},"anonymous"),s.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],s.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},s})();t.lexer=e;function r(){this.yy={}}return o(r,"Parser"),r.prototype=t,t.Parser=r,new r})();$I.default=Mve;s9.exports=$I.default});var WI=g((JI,a9)=>{"use strict";JI.__esModule=!0;function Ove(t){return t&&t.__esModule?t:{default:t}}o(Ove,"_interopRequireDefault");var Fve=Bs(),yD=Ove(Fve);function VI(){this.parents=[]}o(VI,"Visitor");VI.prototype={constructor:VI,mutating:!1,acceptKey:o(function(e,r){var s=this.accept(e[r]);if(this.mutating){if(s&&!VI.prototype[s.type])throw new yD.default('Unexpected node type "'+s.type+'" found when accepting '+r+" on "+e.type);e[r]=s}},"acceptKey"),acceptRequired:o(function(e,r){if(this.acceptKey(e,r),!e[r])throw new yD.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,s=e.length;r{"use strict";jI.__esModule=!0;function Uve(t){return t&&t.__esModule?t:{default:t}}o(Uve,"_interopRequireDefault");var qve=WI(),Gve=Uve(qve);function Pi(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(Pi,"WhitespaceControl");Pi.prototype=new Gve.default;Pi.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var s=t.body,n=0,i=s.length;n{"use strict";Zs.__esModule=!0;Zs.SourceLocation=$ve;Zs.id=Vve;Zs.stripFlags=Yve;Zs.stripComment=Jve;Zs.preparePath=Wve;Zs.prepareMustache=jve;Zs.prepareRawBlock=Kve;Zs.prepareBlock=Xve;Zs.prepareProgram=Zve;Zs.preparePartialBlock=ePe;function Hve(t){return t&&t.__esModule?t:{default:t}}o(Hve,"_interopRequireDefault");var zve=Bs(),BD=Hve(zve);function wD(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new BD.default(t.path.original+" doesn't match "+e,r)}}o(wD,"validateClose");function $ve(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($ve,"SourceLocation");function Vve(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(Vve,"id");function Yve(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(Yve,"stripFlags");function Jve(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(Jve,"stripComment");function Wve(t,e,r){r=this.locInfo(r);for(var s=t?"@":"",n=[],i=0,a=0,c=e.length;a0)throw new BD.default("Invalid path: "+s,{loc:r});l===".."&&i++}else n.push(l)}return{type:"PathExpression",data:t,depth:i,parts:n,original:s,loc:r}}o(Wve,"preparePath");function jve(t,e,r,s,n,i){var a=s.charAt(3)||s.charAt(2),c=a!=="{"&&a!=="&",l=/\*/.test(s);return{type:l?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:c,strip:n,loc:this.locInfo(i)}}o(jve,"prepareMustache");function Kve(t,e,r,s){wD(t,r),s=this.locInfo(s);var n={type:"Program",body:e,strip:{},loc:s};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:n,openStrip:{},inverseStrip:{},closeStrip:{},loc:s}}o(Kve,"prepareRawBlock");function Xve(t,e,r,s,n,i){s&&s.path&&wD(t,s);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new BD.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=s.strip),l=r.strip,c=r.program}return n&&(n=c,c=e,e=n),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:c,openStrip:t.strip,inverseStrip:l,closeStrip:s&&s.strip,loc:this.locInfo(i)}}o(Xve,"prepareBlock");function Zve(t,e){if(!e&&t.length){var r=t[0].loc,s=t[t.length-1].loc;r&&s&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:s.end.line,column:s.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}o(Zve,"prepareProgram");function ePe(t,e,r,s){return wD(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(s)}}o(ePe,"preparePartialBlock")});var d9=g(_m=>{"use strict";_m.__esModule=!0;_m.parseWithoutProcessing=A9;_m.parse=lPe;function tPe(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(tPe,"_interopRequireWildcard");function QD(t){return t&&t.__esModule?t:{default:t}}o(QD,"_interopRequireDefault");var rPe=n9(),bD=QD(rPe),sPe=l9(),nPe=QD(sPe),iPe=u9(),oPe=tPe(iPe),aPe=Bs(),Dm=QD(aPe),cPe=Qr();_m.parser=bD.default;var KI={};cPe.extend(KI,oPe);function A9(t,e){if(t.type==="Program")return uPe(t),t;bD.default.yy=KI,KI.locInfo=function(s){return new KI.SourceLocation(e&&e.srcName,s)};var r=bD.default.parse(t);return r}o(A9,"parseWithoutProcessing");function lPe(t,e){var r=A9(t,e),s=new nPe.default(e);return s.accept(r)}o(lPe,"parse");function uPe(t){xD(t)}o(uPe,"validateInputAst");function xD(t){if(t!=null){if(Array.isArray(t)){t.forEach(xD);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!APe(t.depth))throw new Dm.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new Dm.default("Invalid AST: PathExpression.parts must be an array");for(var e=0;e=0}o(APe,"isValidDepth")});var f9=g(Fm=>{"use strict";Fm.__esModule=!0;Fm.Compiler=ND;Fm.precompile=hPe;Fm.compile=fPe;function m9(t){return t&&t.__esModule?t:{default:t}}o(m9,"_interopRequireDefault");var dPe=Bs(),Mm=m9(dPe),Om=Qr(),pPe=ED(),Lm=m9(pPe),mPe=[].slice;function ND(){}o(ND,"Compiler");ND.prototype={compiler:ND,equals:o(function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var s=0;s1)throw new Mm.default("Unsupported number of partial arguments: "+s.length,e);s.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):s.push({type:"PathExpression",parts:[],depth:0}));var n=e.name.original,i=e.name.type==="SubExpression";i&&this.accept(e.name),this.setupFullMustacheParams(e,r,void 0,!0);var a=e.indent||"";this.options.preventIndent&&a&&(this.opcode("appendContent",a),a=""),this.opcode("invokePartial",i,n,a),this.opcode("append")},"PartialStatement"),PartialBlockStatement:o(function(e){this.PartialStatement(e)},"PartialBlockStatement"),MustacheStatement:o(function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},"MustacheStatement"),Decorator:o(function(e){this.DecoratorBlock(e)},"Decorator"),ContentStatement:o(function(e){e.value&&this.opcode("appendContent",e.value)},"ContentStatement"),CommentStatement:o(function(){},"CommentStatement"),SubExpression:o(function(e){p9(e);var r=this.classifySexpr(e);r==="simple"?this.simpleSexpr(e):r==="helper"?this.helperSexpr(e):this.ambiguousSexpr(e)},"SubExpression"),ambiguousSexpr:o(function(e,r,s){var n=e.path,i=n.parts[0],a=r!=null||s!=null;this.opcode("getContext",n.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",s),n.strict=!0,this.accept(n),this.opcode("invokeAmbiguous",i,a)},"ambiguousSexpr"),simpleSexpr:o(function(e){var r=e.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},"simpleSexpr"),helperSexpr:o(function(e,r,s){var n=this.setupFullMustacheParams(e,r,s),i=e.path,a=i.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",n.length,a);else{if(this.options.knownHelpersOnly)throw new Mm.default("You specified knownHelpersOnly, but used the unknown helper "+a,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",n.length,i.original,Lm.default.helpers.simpleId(i))}},"helperSexpr"),PathExpression:o(function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],s=Lm.default.helpers.scopedId(e),n=!e.depth&&!s&&this.blockParamIndex(r);n?this.opcode("lookupBlockParam",n,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,s):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,s=0,n=r.length;for(this.opcode("pushHash");s=0)return[r,i]}},"blockParamIndex")};function hPe(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new Mm.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);e=e||{},"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var s=r.parse(t,e),n=new r.Compiler().compile(s,e);return new r.JavaScriptCompiler().compile(n,e)}o(hPe,"precompile");function fPe(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new Mm.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=Om.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var s=void 0;function n(){var a=r.parse(t,e),c=new r.Compiler().compile(a,e),l=new r.JavaScriptCompiler().compile(c,e,void 0,!0);return r.template(l)}o(n,"compileInput");function i(a,c){return s||(s=n()),s.call(this,a,c)}return o(i,"ret"),i._setup=function(a){return s||(s=n()),s._setup(a)},i._child=function(a,c,l,u){return s||(s=n()),s._child(a,c,l,u)},i}o(fPe,"compile");function h9(t,e){if(t===e)return!0;if(Om.isArray(t)&&Om.isArray(e)&&t.length===e.length){for(var r=0;r{var g9="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");SD.encode=function(t){if(0<=t&&t{var y9=E9(),RD=5,C9=1<>1;return e?-r:r}o(EPe,"fromVLQSigned");TD.encode=o(function(e){var r="",s,n=gPe(e);do s=n&I9,n>>>=RD,n>0&&(s|=B9),r+=y9.encode(s);while(n>0);return r},"base64VLQ_encode");TD.decode=o(function(e,r,s){var n=e.length,i=0,a=0,c,l;do{if(r>=n)throw new Error("Expected more digits in base 64 VLQ value.");if(l=y9.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&B9),l&=I9,i=i+(l<{function yPe(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(yPe,"getArg");ur.getArg=yPe;var w9=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,CPe=/^data:.+\,.+$/;function Um(t){var e=t.match(w9);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o(Um,"urlParse");ur.urlParse=Um;function cA(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(cA,"urlGenerate");ur.urlGenerate=cA;function PD(t){var e=t,r=Um(t);if(r){if(!r.path)return t;e=r.path}for(var s=ur.isAbsolute(e),n=e.split(/\/+/),i,a=0,c=n.length-1;c>=0;c--)i=n[c],i==="."?n.splice(c,1):i===".."?a++:a>0&&(i===""?(n.splice(c+1,a),a=0):(n.splice(c,2),a--));return e=n.join("/"),e===""&&(e=s?"/":"."),r?(r.path=e,cA(r)):e}o(PD,"normalize");ur.normalize=PD;function b9(t,e){t===""&&(t="."),e===""&&(e=".");var r=Um(e),s=Um(t);if(s&&(t=s.path||"/"),r&&!r.scheme)return s&&(r.scheme=s.scheme),cA(r);if(r||e.match(CPe))return e;if(s&&!s.host&&!s.path)return s.host=e,cA(s);var n=e.charAt(0)==="/"?e:PD(t.replace(/\/+$/,"")+"/"+e);return s?(s.path=n,cA(s)):n}o(b9,"join");ur.join=b9;ur.isAbsolute=function(t){return t.charAt(0)==="/"||w9.test(t)};function IPe(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var s=t.lastIndexOf("/");if(s<0||(t=t.slice(0,s),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}o(IPe,"relative");ur.relative=IPe;var x9=(function(){var t=Object.create(null);return!("__proto__"in t)})();function Q9(t){return t}o(Q9,"identity");function BPe(t){return N9(t)?"$"+t:t}o(BPe,"toSetString");ur.toSetString=x9?Q9:BPe;function wPe(t){return N9(t)?t.slice(1):t}o(wPe,"fromSetString");ur.fromSetString=x9?Q9:wPe;function N9(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(N9,"isProtoString");function bPe(t,e,r){var s=lA(t.source,e.source);return s!==0||(s=t.originalLine-e.originalLine,s!==0)||(s=t.originalColumn-e.originalColumn,s!==0||r)||(s=t.generatedColumn-e.generatedColumn,s!==0)||(s=t.generatedLine-e.generatedLine,s!==0)?s:lA(t.name,e.name)}o(bPe,"compareByOriginalPositions");ur.compareByOriginalPositions=bPe;function xPe(t,e,r){var s=t.generatedLine-e.generatedLine;return s!==0||(s=t.generatedColumn-e.generatedColumn,s!==0||r)||(s=lA(t.source,e.source),s!==0)||(s=t.originalLine-e.originalLine,s!==0)||(s=t.originalColumn-e.originalColumn,s!==0)?s:lA(t.name,e.name)}o(xPe,"compareByGeneratedPositionsDeflated");ur.compareByGeneratedPositionsDeflated=xPe;function lA(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(lA,"strcmp");function QPe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=lA(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:lA(t.name,e.name)}o(QPe,"compareByGeneratedPositionsInflated");ur.compareByGeneratedPositionsInflated=QPe;function NPe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(NPe,"parseSourceMapInput");ur.parseSourceMapInput=NPe;function SPe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var s=Um(r);if(!s)throw new Error("sourceMapURL could not be parsed");if(s.path){var n=s.path.lastIndexOf("/");n>=0&&(s.path=s.path.substring(0,n+1))}e=b9(cA(s),e)}return PD(e)}o(SPe,"computeSourceURL");ur.computeSourceURL=SPe});var _D=g(S9=>{var kD=uA(),DD=Object.prototype.hasOwnProperty,$c=typeof Map<"u";function yo(){this._array=[],this._set=$c?new Map:Object.create(null)}o(yo,"ArraySet");yo.fromArray=o(function(e,r){for(var s=new yo,n=0,i=e.length;n=0)return r}else{var s=kD.toSetString(e);if(DD.call(this._set,s))return this._set[s]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");yo.prototype.at=o(function(e){if(e>=0&&e{var R9=uA();function RPe(t,e){var r=t.generatedLine,s=e.generatedLine,n=t.generatedColumn,i=e.generatedColumn;return s>r||s==r&&i>=n||R9.compareByGeneratedPositionsInflated(t,e)<=0}o(RPe,"generatedPositionAfter");function XI(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(XI,"MappingList");XI.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");XI.prototype.add=o(function(e){RPe(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");XI.prototype.toArray=o(function(){return this._sorted||(this._array.sort(R9.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");T9.MappingList=XI});var LD=g(P9=>{var qm=vD(),Rt=uA(),ZI=_D().ArraySet,TPe=v9().MappingList;function en(t){t||(t={}),this._file=Rt.getArg(t,"file",null),this._sourceRoot=Rt.getArg(t,"sourceRoot",null),this._skipValidation=Rt.getArg(t,"skipValidation",!1),this._sources=new ZI,this._names=new ZI,this._mappings=new TPe,this._sourcesContents=null}o(en,"SourceMapGenerator");en.prototype._version=3;en.fromSourceMap=o(function(e){var r=e.sourceRoot,s=new en({file:e.file,sourceRoot:r});return e.eachMapping(function(n){var i={generated:{line:n.generatedLine,column:n.generatedColumn}};n.source!=null&&(i.source=n.source,r!=null&&(i.source=Rt.relative(r,i.source)),i.original={line:n.originalLine,column:n.originalColumn},n.name!=null&&(i.name=n.name)),s.addMapping(i)}),e.sources.forEach(function(n){var i=n;r!==null&&(i=Rt.relative(r,n)),s._sources.has(i)||s._sources.add(i);var a=e.sourceContentFor(n);a!=null&&s.setSourceContent(n,a)}),s},"SourceMapGenerator_fromSourceMap");en.prototype.addMapping=o(function(e){var r=Rt.getArg(e,"generated"),s=Rt.getArg(e,"original",null),n=Rt.getArg(e,"source",null),i=Rt.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,s,n,i),n!=null&&(n=String(n),this._sources.has(n)||this._sources.add(n)),i!=null&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:s!=null&&s.line,originalColumn:s!=null&&s.column,source:n,name:i})},"SourceMapGenerator_addMapping");en.prototype.setSourceContent=o(function(e,r){var s=e;this._sourceRoot!=null&&(s=Rt.relative(this._sourceRoot,s)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Rt.toSetString(s)]=r):this._sourcesContents&&(delete this._sourcesContents[Rt.toSetString(s)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},"SourceMapGenerator_setSourceContent");en.prototype.applySourceMap=o(function(e,r,s){var n=r;if(r==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);n=e.file}var i=this._sourceRoot;i!=null&&(n=Rt.relative(i,n));var a=new ZI,c=new ZI;this._mappings.unsortedForEach(function(l){if(l.source===n&&l.originalLine!=null){var u=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});u.source!=null&&(l.source=u.source,s!=null&&(l.source=Rt.join(s,l.source)),i!=null&&(l.source=Rt.relative(i,l.source)),l.originalLine=u.line,l.originalColumn=u.column,u.name!=null&&(l.name=u.name))}var A=l.source;A!=null&&!a.has(A)&&a.add(A);var d=l.name;d!=null&&!c.has(d)&&c.add(d)},this),this._sources=a,this._names=c,e.sources.forEach(function(l){var u=e.sourceContentFor(l);u!=null&&(s!=null&&(l=Rt.join(s,l)),i!=null&&(l=Rt.relative(i,l)),this.setSourceContent(l,u))},this)},"SourceMapGenerator_applySourceMap");en.prototype._validateMapping=o(function(e,r,s,n){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!s&&!n)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&s)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:s,original:r,name:n}))}},"SourceMapGenerator_validateMapping");en.prototype._serializeMappings=o(function(){for(var e=0,r=1,s=0,n=0,i=0,a=0,c="",l,u,A,d,p=this._mappings.toArray(),m=0,h=p.length;m0){if(!Rt.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=","}l+=qm.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(d=this._sources.indexOf(u.source),l+=qm.encode(d-a),a=d,l+=qm.encode(u.originalLine-1-n),n=u.originalLine-1,l+=qm.encode(u.originalColumn-s),s=u.originalColumn,u.name!=null&&(A=this._names.indexOf(u.name),l+=qm.encode(A-i),i=A)),c+=l}return c},"SourceMapGenerator_serializeMappings");en.prototype._generateSourcesContent=o(function(e,r){return e.map(function(s){if(!this._sourcesContents)return null;r!=null&&(s=Rt.relative(r,s));var n=Rt.toSetString(s);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},"SourceMapGenerator_generateSourcesContent");en.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");en.prototype.toString=o(function(){return JSON.stringify(this.toJSON())},"SourceMapGenerator_toString");P9.SourceMapGenerator=en});var k9=g(Vc=>{Vc.GREATEST_LOWER_BOUND=1;Vc.LEAST_UPPER_BOUND=2;function MD(t,e,r,s,n,i){var a=Math.floor((e-t)/2)+t,c=n(r,s[a],!0);return c===0?a:c>0?e-a>1?MD(a,e,r,s,n,i):i==Vc.LEAST_UPPER_BOUND?e1?MD(t,a,r,s,n,i):i==Vc.LEAST_UPPER_BOUND?a:t<0?-1:t}o(MD,"recursiveSearch");Vc.search=o(function(e,r,s,n){if(r.length===0)return-1;var i=MD(-1,r.length,e,r,s,n||Vc.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&s(r[i],r[i-1],!0)===0;)--i;return i},"search")});var _9=g(D9=>{function OD(t,e,r){var s=t[e];t[e]=t[r],t[r]=s}o(OD,"swap");function vPe(t,e){return Math.round(t+Math.random()*(e-t))}o(vPe,"randomIntInRange");function FD(t,e,r,s){if(r{var H=uA(),UD=k9(),AA=_D().ArraySet,PPe=vD(),Gm=_9().quickSort;function He(t,e){var r=t;return typeof t=="string"&&(r=H.parseSourceMapInput(t)),r.sections!=null?new vn(r,e):new er(r,e)}o(He,"SourceMapConsumer");He.fromSourceMap=function(t,e){return er.fromSourceMap(t,e)};He.prototype._version=3;He.prototype.__generatedMappings=null;Object.defineProperty(He.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings},"get")});He.prototype.__originalMappings=null;Object.defineProperty(He.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings},"get")});He.prototype._charIsMappingSeparator=o(function(e,r){var s=e.charAt(r);return s===";"||s===","},"SourceMapConsumer_charIsMappingSeparator");He.prototype._parseMappings=o(function(e,r){throw new Error("Subclasses must implement _parseMappings")},"SourceMapConsumer_parseMappings");He.GENERATED_ORDER=1;He.ORIGINAL_ORDER=2;He.GREATEST_LOWER_BOUND=1;He.LEAST_UPPER_BOUND=2;He.prototype.eachMapping=o(function(e,r,s){var n=r||null,i=s||He.GENERATED_ORDER,a;switch(i){case He.GENERATED_ORDER:a=this._generatedMappings;break;case He.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=H.computeSourceURL(c,u,this._sourceMapURL),{source:u,generatedLine:l.generatedLine,generatedColumn:l.generatedColumn,originalLine:l.originalLine,originalColumn:l.originalColumn,name:l.name===null?null:this._names.at(l.name)}},this).forEach(e,n)},"SourceMapConsumer_eachMapping");He.prototype.allGeneratedPositionsFor=o(function(e){var r=H.getArg(e,"line"),s={source:H.getArg(e,"source"),originalLine:r,originalColumn:H.getArg(e,"column",0)};if(s.source=this._findSourceIndex(s.source),s.source<0)return[];var n=[],i=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",H.compareByOriginalPositions,UD.LEAST_UPPER_BOUND);if(i>=0){var a=this._originalMappings[i];if(e.column===void 0)for(var c=a.originalLine;a&&a.originalLine===c;)n.push({line:H.getArg(a,"generatedLine",null),column:H.getArg(a,"generatedColumn",null),lastColumn:H.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)n.push({line:H.getArg(a,"generatedLine",null),column:H.getArg(a,"generatedColumn",null),lastColumn:H.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i]}return n},"SourceMapConsumer_allGeneratedPositionsFor");eB.SourceMapConsumer=He;function er(t,e){var r=t;typeof t=="string"&&(r=H.parseSourceMapInput(t));var s=H.getArg(r,"version"),n=H.getArg(r,"sources"),i=H.getArg(r,"names",[]),a=H.getArg(r,"sourceRoot",null),c=H.getArg(r,"sourcesContent",null),l=H.getArg(r,"mappings"),u=H.getArg(r,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);a&&(a=H.normalize(a)),n=n.map(String).map(H.normalize).map(function(A){return a&&H.isAbsolute(a)&&H.isAbsolute(A)?H.relative(a,A):A}),this._names=AA.fromArray(i.map(String),!0),this._sources=AA.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map(function(A){return H.computeSourceURL(a,A,e)}),this.sourceRoot=a,this.sourcesContent=c,this._mappings=l,this._sourceMapURL=e,this.file=u}o(er,"BasicSourceMapConsumer");er.prototype=Object.create(He.prototype);er.prototype.consumer=He;er.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=H.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r1&&(f.source=c+E[1],c+=E[1],f.originalLine=i+E[2],i=f.originalLine,f.originalLine+=1,f.originalColumn=a+E[3],a=f.originalColumn,E.length>4&&(f.name=l+E[4],l+=E[4])),h.push(f),typeof f.originalLine=="number"&&m.push(f)}Gm(h,H.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,Gm(m,H.compareByOriginalPositions),this.__originalMappings=m},"SourceMapConsumer_parseMappings");er.prototype._findMapping=o(function(e,r,s,n,i,a){if(e[s]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[s]);if(e[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[n]);return UD.search(e,r,i,a)},"SourceMapConsumer_findMapping");er.prototype.computeColumnSpans=o(function(){for(var e=0;e=0){var n=this._generatedMappings[s];if(n.generatedLine===r.generatedLine){var i=H.getArg(n,"source",null);i!==null&&(i=this._sources.at(i),i=H.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var a=H.getArg(n,"name",null);return a!==null&&(a=this._names.at(a)),{source:i,line:H.getArg(n,"originalLine",null),column:H.getArg(n,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},"SourceMapConsumer_originalPositionFor");er.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");er.prototype.sourceContentFor=o(function(e,r){if(!this.sourcesContent)return null;var s=this._findSourceIndex(e);if(s>=0)return this.sourcesContent[s];var n=e;this.sourceRoot!=null&&(n=H.relative(this.sourceRoot,n));var i;if(this.sourceRoot!=null&&(i=H.urlParse(this.sourceRoot))){var a=n.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!i.path||i.path=="/")&&this._sources.has("/"+n))return this.sourcesContent[this._sources.indexOf("/"+n)]}if(r)return null;throw new Error('"'+n+'" is not in the SourceMap.')},"SourceMapConsumer_sourceContentFor");er.prototype.generatedPositionFor=o(function(e){var r=H.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var s={source:r,originalLine:H.getArg(e,"line"),originalColumn:H.getArg(e,"column")},n=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",H.compareByOriginalPositions,H.getArg(e,"bias",He.GREATEST_LOWER_BOUND));if(n>=0){var i=this._originalMappings[n];if(i.source===s.source)return{line:H.getArg(i,"generatedLine",null),column:H.getArg(i,"generatedColumn",null),lastColumn:H.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},"SourceMapConsumer_generatedPositionFor");eB.BasicSourceMapConsumer=er;function vn(t,e){var r=t;typeof t=="string"&&(r=H.parseSourceMapInput(t));var s=H.getArg(r,"version"),n=H.getArg(r,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new AA,this._names=new AA;var i={line:-1,column:0};this._sections=n.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var c=H.getArg(a,"offset"),l=H.getArg(c,"line"),u=H.getArg(c,"column");if(l{var kPe=LD().SourceMapGenerator,tB=uA(),DPe=/(\r?\n)/,_Pe=10,dA="$$$isSourceNode$$$";function ws(t,e,r,s,n){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=n??null,this[dA]=!0,s!=null&&this.add(s)}o(ws,"SourceNode");ws.fromStringWithSourceMap=o(function(e,r,s){var n=new ws,i=e.split(DPe),a=0,c=o(function(){var p=h(),m=h()||"";return p+m;function h(){return a=0;r--)this.prepend(e[r]);else if(e[dA]||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");ws.prototype.walk=o(function(e){for(var r,s=0,n=this.children.length;s0){for(r=[],s=0;s{rB.SourceMapGenerator=LD().SourceMapGenerator;rB.SourceMapConsumer=M9().SourceMapConsumer;rB.SourceNode=F9().SourceNode});var z9=g((sB,H9)=>{"use strict";sB.__esModule=!0;var GD=Qr(),Yc=void 0;try{(typeof define!="function"||!define.amd)&&(q9=U9(),Yc=q9.SourceNode)}catch{}var q9;Yc||(Yc=o(function(t,e,r,s){this.src="",s&&this.add(s)},"SourceNode"),Yc.prototype={add:o(function(e){GD.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){GD.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 qD(t,e,r){if(GD.isArray(t)){for(var s=[],n=0,i=t.length;n{"use strict";nB.__esModule=!0;function Y9(t){return t&&t.__esModule?t:{default:t}}o(Y9,"_interopRequireDefault");var $9=OI(),LPe=Bs(),HD=Y9(LPe),MPe=Qr(),OPe=z9(),V9=Y9(OPe);function pA(t){this.value=t}o(pA,"Literal");function mA(){}o(mA,"JavaScriptCompiler");mA.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=$9.COMPILER_REVISION,r=$9.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,s){return MPe.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:s?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},"appendToBuffer"),initializeBuffer:o(function(){return this.quotedString("")},"initializeBuffer"),internalNameLookup:o(function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(r),")"]},"internalNameLookup"),lookupPropertyFunctionIsUsed:!1,compile:o(function(e,r,s,n){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!n,this.name=this.environment.name,this.isChild=!!s,this.context=s||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,r),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,a=void 0,c=void 0,l=void 0,u=void 0;for(l=0,u=i.length;l0&&(s+=", "+n.join(", "));var i=0;Object.keys(this.aliases).forEach(function(l){var u=r.aliases[l];u.children&&u.referenceCount>1&&(s+=", alias"+ ++i+"="+l,u.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(s+=", "+this.lookupPropertyFunctionVarDeclaration());var a=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var c=this.mergeSource(s);return e?(a.push(c),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),`) { `,c,"}"])},"createFunctionContext"),mergeSource:o(function(e){var r=this.environment.isSimple,s=!this.forceBuffer,n=void 0,i=void 0,a=void 0,c=void 0;return this.source.each(function(l){l.appendToBuffer?(a?l.prepend(" + "):a=l,c=l):(a&&(i?a.prepend("buffer += "):n=!0,c.add(";"),a=c=void 0),i=!0,r||(s=!1))}),s?a?(a.prepend("return "),c.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(n?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),c.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(n?"":`; `)),this.source.merge()},"mergeSource"),lookupPropertyFunctionVarDeclaration:o(function(){return` lookupProperty = container.lookupProperty || function(parent, propertyName) { if (Object.prototype.hasOwnProperty.call(parent, propertyName)) { return parent[propertyName]; } return undefined } `.trim()},"lookupPropertyFunctionVarDeclaration"),blockValue:o(function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),s=[this.contextName(0)];this.setupHelperArgs(e,0,s);var n=this.popStack();s.splice(1,0,n),this.push(this.source.functionCall(r,"call",s))},"blockValue"),ambiguousBlockValue:o(function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var s=this.topStack();r.splice(1,0,s),this.pushSource(["if (!",this.lastHelper,") { ",s," = ",this.source.functionCall(e,"call",r),"}"])},"ambiguousBlockValue"),appendContent:o(function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},"appendContent"),append:o(function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},"append"),appendEscaped:o(function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},"appendEscaped"),getContext:o(function(e){this.lastContext=e},"getContext"),pushContext:o(function(){this.pushStackLiteral(this.contextName(this.lastContext))},"pushContext"),lookupOnContext:o(function(e,r,s,n){var i=0;!n&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath("context",e,i,r,s)},"lookupOnContext"),lookupBlockParam:o(function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},"lookupBlockParam"),lookupData:o(function(e,r,s){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,s)},"lookupData"),resolvePath:o(function(e,r,s,n,i){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(FPe(this.options.strict&&i,this,r,s,e));return}for(var c=r.length,l=o(function(A){a.replaceStack(function(d){var p=a.nameLookup(d,r[A],e);return n?[" && ",p]:[" != null ? ",p," : ",d]})},"_loop"),u=s;uthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},"incrStack"),topStackName:o(function(){return"stack"+this.stackSlot},"topStackName"),flushInline:o(function(){var e=this.inlineStack;this.inlineStack=[];for(var r=0,s=e.length;r{"use strict";iB.__esModule=!0;function Hm(t){return t&&t.__esModule?t:{default:t}}o(Hm,"_interopRequireDefault");var UPe=e9(),qPe=Hm(UPe),GPe=ED(),HPe=Hm(GPe),zD=d9(),$D=f9(),zPe=W9(),$Pe=Hm(zPe),VPe=WI(),YPe=Hm(VPe),JPe=mD(),WPe=Hm(JPe),jPe=qPe.default.create;function j9(){var t=jPe();return t.compile=function(e,r){return $D.compile(e,r,t)},t.precompile=function(e,r){return $D.precompile(e,r,t)},t.AST=HPe.default,t.Compiler=$D.Compiler,t.JavaScriptCompiler=$Pe.default,t.Parser=zD.parser,t.parse=zD.parse,t.parseWithoutProcessing=zD.parseWithoutProcessing,t}o(j9,"create");var hA=j9();hA.create=j9;WPe.default(hA);hA.Visitor=YPe.default;hA.default=hA;iB.default=hA;K9.exports=iB.default});var Z9=g(oB=>{"use strict";oB.__esModule=!0;oB.print=eke;oB.PrintVisitor=dt;function KPe(t){return t&&t.__esModule?t:{default:t}}o(KPe,"_interopRequireDefault");var XPe=WI(),ZPe=KPe(XPe);function eke(t){return new dt().accept(t)}o(eke,"print");function dt(){this.padding=0}o(dt,"PrintVisitor");dt.prototype=new ZPe.default;dt.prototype.pad=function(t){for(var e="",r=0,s=this.padding;r "+e+" }}")};dt.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+" }}")};dt.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};dt.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};dt.prototype.SubExpression=function(t){for(var e=t.params,r=[],s=void 0,n=0,i=e.length;n{var Pe=require("fs"),lB=require("os"),Ft=require("path"),s6=require("crypto"),ki={fs:Pe.constants,os:lB.constants},n6="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",c6=/XXXXXX/,tke=3,l6=(ki.O_CREAT||ki.fs.O_CREAT)|(ki.O_EXCL||ki.fs.O_EXCL)|(ki.O_RDWR||ki.fs.O_RDWR),rke=lB.platform()==="win32",ske=ki.EBADF||ki.os.errno.EBADF,nke=ki.ENOENT||ki.os.errno.ENOENT,u6=448,A6=384,ike="exit",fA=[],d6=Pe.rmdirSync.bind(Pe),p6=!1;function oke(t,e){return Pe.rm(t,{recursive:!0},e)}o(oke,"rimraf");function m6(t){return Pe.rmSync(t,{recursive:!0})}o(m6,"FN_RIMRAF_SYNC");function jD(t,e){let r=gA(t,e),s=r[0],n=r[1];fke(s,function(i,a){if(i)return n(i);let c=a.tries;o((function l(){try{let u=f6(a);Pe.stat(u,function(A){if(!A)return c-- >0?l():n(new Error("Could not get a unique tmp filename, max tries reached "+u));n(null,u)})}catch(u){n(u)}}),"_getUniqueName")()})}o(jD,"tmpName");function KD(t){let e=gA(t),r=e[0],s=gke(r),n=s.tries;do{let i=f6(s);try{Pe.statSync(i)}catch{return i}}while(n-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(KD,"tmpNameSync");function ake(t,e){let r=gA(t,e),s=r[0],n=r[1];jD(s,o(function(a,c){if(a)return n(a);Pe.open(c,l6,s.mode||A6,o(function(u,A){if(u)return n(u);if(s.discardDescriptor)return Pe.close(A,o(function(p){return n(p,c,void 0,JD(c,-1,s,!1))},"_discardCallback"));{let d=s.discardDescriptor||s.detachDescriptor;n(null,c,A,JD(c,d?-1:A,s,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(ake,"file");function cke(t){let e=gA(t),r=e[0],s=r.discardDescriptor||r.detachDescriptor,n=KD(r),i=Pe.openSync(n,l6,r.mode||A6);return r.discardDescriptor&&(Pe.closeSync(i),i=void 0),{name:n,fd:i,removeCallback:JD(n,s?-1:i,r,!0)}}o(cke,"fileSync");function lke(t,e){let r=gA(t,e),s=r[0],n=r[1];jD(s,o(function(a,c){if(a)return n(a);Pe.mkdir(c,s.mode||u6,o(function(u){if(u)return n(u);n(null,c,h6(c,s,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(lke,"dir");function uke(t){let e=gA(t),r=e[0],s=KD(r);return Pe.mkdirSync(s,r.mode||u6),{name:s,removeCallback:h6(s,r,!0)}}o(uke,"dirSync");function Ake(t,e){let r=o(function(s){if(s&&!WD(s))return e(s);e()},"_handler");0<=t[0]?Pe.close(t[0],function(){Pe.unlink(t[1],r)}):Pe.unlink(t[1],r)}o(Ake,"_removeFileAsync");function dke(t){let e=null;try{0<=t[0]&&Pe.closeSync(t[0])}catch(r){if(!Eke(r)&&!WD(r))throw r}finally{try{Pe.unlinkSync(t[1])}catch(r){WD(r)||(e=r)}}if(e!==null)throw e}o(dke,"_removeFileSync");function JD(t,e,r,s){let n=cB(dke,[e,t],s),i=cB(Ake,[e,t],s,n);return r.keep||fA.unshift(n),s?n:i}o(JD,"_prepareTmpFileRemoveCallback");function h6(t,e,r){let s=e.unsafeCleanup?oke:Pe.rmdir.bind(Pe),n=e.unsafeCleanup?m6:d6,i=cB(n,t,r),a=cB(s,t,r,i);return e.keep||fA.unshift(i),r?i:a}o(h6,"_prepareTmpDirRemoveCallback");function cB(t,e,r,s){let n=!1;return o(function i(a){if(!n){let c=s||i,l=fA.indexOf(c);return l>=0&&fA.splice(l,1),n=!0,r||t===d6||t===m6?t(e):t(e,a||function(){})}},"_cleanupCallback")}o(cB,"_prepareRemoveCallback");function pke(){if(p6)for(;fA.length;)try{fA[0]()}catch{}}o(pke,"_garbageCollector");function i6(t){let e=[],r=null;try{r=s6.randomBytes(t)}catch{r=s6.pseudoRandomBytes(t)}for(let s=0;s"u"}o(Wr,"_isUndefined");function gA(t,e){if(typeof t=="function")return[{},t];if(Wr(t))return[{},e];let r={};for(let s of Object.getOwnPropertyNames(t))r[s]=t[s];return[r,e]}o(gA,"_parseArguments");function mke(t,e,r){let s=Ft.isAbsolute(t)?t:Ft.join(e,t);Pe.stat(s,function(n){n?Pe.realpath(Ft.dirname(s),function(i,a){if(i)return r(i);r(null,Ft.join(a,Ft.basename(s)))}):Pe.realpath(s,r)})}o(mke,"_resolvePath");function hke(t,e){let r=Ft.isAbsolute(t)?t:Ft.join(e,t);try{return Pe.statSync(r),Pe.realpathSync(r)}catch{let n=Pe.realpathSync(Ft.dirname(r));return Ft.join(n,Ft.basename(r))}}o(hke,"_resolvePathSync");function f6(t){let e=t.tmpdir;if(!Wr(t.name))return Ft.join(e,t.dir,t.name);if(!Wr(t.template))return Ft.join(e,t.dir,t.template).replace(c6,i6(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",i6(12),t.postfix?"-"+t.postfix:""].join("");return Ft.join(e,t.dir,r)}o(f6,"_generateTmpName");function YD(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(YD,"_assertPath");function g6(t){if(!Wr(t.name)){let e=t.name;if(Ft.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=Ft.basename(e);if(r===".."||r==="."||r!==e)throw new Error(`name option must not contain a path, found "${e}".`)}if(!Wr(t.template)){if(typeof t.template!="string")throw new Error(`template option must be a string, got "${typeof t.template}".`);if(!t.template.match(c6))throw new Error(`Invalid template, found "${t.template}".`)}if(!Wr(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=Wr(t.name)?t.tries||tke:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Wr(t.prefix)?"":YD("prefix",t.prefix),t.postfix=Wr(t.postfix)?"":YD("postfix",t.postfix),t.template=Wr(t.template)?void 0:YD("template",t.template)}o(g6,"_assertOptionsBase");function o6(t,e,r,s){if(Wr(e))return s(null);mke(e,r,function(n,i){if(n)return s(n);let a=Ft.relative(r,i);if(a.startsWith("..")||Ft.isAbsolute(a))return s(new Error(`${t} option must be relative to "${r}", found "${a}".`));s(null,a)})}o(o6,"_getRelativePath");function a6(t,e,r){if(Wr(e))return;let s=hke(e,r),n=Ft.relative(r,s);if(n.startsWith("..")||Ft.isAbsolute(n))throw new Error(`${t} option must be relative to "${r}", found "${n}".`);return n}o(a6,"_getRelativePathSync");function fke(t,e){Cke(t,function(r,s){if(r)return e(r);t.tmpdir=s;try{g6(t,s)}catch(n){return e(n)}o6("dir",t.dir,s,function(n,i){if(n)return e(n);t.dir=Wr(i)?"":i,o6("template",t.template,s,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(fke,"_assertAndSanitizeOptions");function gke(t){let e=t.tmpdir=y6(t);g6(t,e);let r=a6("dir",t.dir,e);return t.dir=Wr(r)?"":r,t.template=a6("template",t.template,e),t}o(gke,"_assertAndSanitizeOptionsSync");function Eke(t){return E6(t,-ske,"EBADF")}o(Eke,"_isEBADF");function WD(t){return E6(t,-nke,"ENOENT")}o(WD,"_isENOENT");function E6(t,e,r){return rke?t.code===r:t.code===r&&t.errno===e}o(E6,"_isExpectedError");function yke(){p6=!0}o(yke,"setGracefulCleanup");function Cke(t,e){return Pe.realpath(t&&t.tmpdir||lB.tmpdir(),e)}o(Cke,"_getTmpDir");function y6(t){return Pe.realpathSync(t&&t.tmpdir||lB.tmpdir())}o(y6,"_getTmpDirSync");process.addListener(ike,pke);Object.defineProperty(Co.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return y6()},"get")});Co.exports.dir=lke;Co.exports.dirSync=uke;Co.exports.file=ake;Co.exports.fileSync=cke;Co.exports.tmpName=jD;Co.exports.tmpNameSync=KD;Co.exports.setGracefulCleanup=yke});var L6=g(hB=>{"use strict";Object.defineProperty(hB,"__esModule",{value:!0});hB.getProxyUrl=bke;hB.checkBypass=_6;function bke(t){let e=t.protocol==="https:";if(_6(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new mB(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new mB(`http://${r}`)}else return}o(bke,"getProxyUrl");function _6(t){if(!t.hostname)return!1;let e=t.hostname;if(xke(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(_6,"checkBypass");function xke(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(xke,"isLoopbackAddress");var mB=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}});var O6=g(Ke=>{"use strict";var Qke=Ke&&Ke.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),Nke=Ke&&Ke.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),yB=Ke&&Ke.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(s[s.length]=n);return s},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),n=0;nBt(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return Bt(this,void 0,void 0,function*(){return new Promise(e=>Bt(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};Ke.HttpClientResponse=EB;function _ke(t){return new URL(t).protocol==="https:"}o(_ke,"isHttps");var i_=class{static{o(this,"HttpClient")}constructor(e,r,s){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return Bt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Bt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Bt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return Bt(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return Bt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return Bt(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return Bt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return Bt(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return Bt(this,arguments,void 0,function*(r,s={}){s[Sr.Accept]=this._getExistingOrDefaultHeader(s,Sr.Accept,Io.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return Bt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Sr.Accept]=this._getExistingOrDefaultHeader(i,Sr.Accept,Io.ApplicationJson),i[Sr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Io.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return Bt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Sr.Accept]=this._getExistingOrDefaultHeader(i,Sr.Accept,Io.ApplicationJson),i[Sr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Io.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return Bt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Sr.Accept]=this._getExistingOrDefaultHeader(i,Sr.Accept,Io.ApplicationJson),i[Sr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Io.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return Bt(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),a=this._prepareRequest(e,i,n),c=this._allowRetries&&Pke.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===tn.Unauthorized){let d;for(let p of this.handlers)if(p.canHandleAuthentication(u)){d=p;break}return d?d.handleAuthentication(this,a,s):u}let A=this._maxRedirects;for(;u.message.statusCode&&Tke.includes(u.message.statusCode)&&this._allowRedirects&&A>0;){let d=u.message.headers.location;if(!d)break;let p=new URL(d);if(i.protocol==="https:"&&i.protocol!==p.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield u.readBody(),p.hostname!==i.hostname)for(let m in n)m.toLowerCase()==="authorization"&&delete n[m];a=this._prepareRequest(e,p,n),u=yield this.requestRaw(a,s),A--}if(!u.message.statusCode||!vke.includes(u.message.statusCode))return u;l+=1,l{function i(a,c){a?n(a):c?s(c):n(new Error("Unknown error"))}o(i,"callbackForResult"),this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(l,u){n||(n=!0,s(l,u))}o(i,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new EB(l);i(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){i(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),s=n_.getProxyUrl(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?M6:s_;let a=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Ym(this.requestOptions.headers),Ym(e||{})):Ym(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=Ym(this.requestOptions.headers)[r];a&&(n=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=Ym(this.requestOptions.headers)[Sr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[Sr.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=n_.getProxyUrl(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||s_.globalAgent.maxSockets),s&&s.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},l,u=s.protocol==="https:";i?l=u?fB.httpsOverHttps:fB.httpsOverHttp:l=u?fB.httpOverHttps:fB.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new M6.Agent(c):new s_.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new Ske.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return Bt(this,void 0,void 0,function*(){e=Math.min(kke,e);let r=Dke*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return Bt(this,void 0,void 0,function*(){return new Promise((s,n)=>Bt(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===tn.NotFound&&s(a);function c(A,d){if(typeof d=="string"){let p=new Date(d);if(!isNaN(p.valueOf()))return p}return d}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let A;l&&l.message?A=l.message:u&&u.length>0?A=u:A=`Failed request: (${i})`;let d=new gB(A,i);d.result=a.result,n(d)}else s(a)}))})}};Ke.HttpClient=i_;var Ym=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var oK=g((MAt,Wm)=>{"use strict";var wB=o(function(){},"NullObject");wB.prototype=Object.create(null);var IB=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,BB=/\\([\v\u0020-\u00ff])/gu,sK=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,Jc={type:"",parameters:new wB};Object.freeze(Jc.parameters);Object.freeze(Jc);function nK(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(sK.test(r)===!1)throw new TypeError("invalid media type");let s={type:r.toLowerCase(),parameters:new wB};if(e===-1)return s;let n,i,a;for(IB.lastIndex=e;i=IB.exec(t);){if(i.index!==e)throw new TypeError("invalid parameter format");e+=i[0].length,n=i[1].toLowerCase(),a=i[2],a[0]==='"'&&(a=a.slice(1,a.length-1),BB.test(a)&&(a=a.replace(BB,"$1"))),s.parameters[n]=a}if(e!==t.length)throw new TypeError("invalid parameter format");return s}o(nK,"parse");function iK(t){if(typeof t!="string")return Jc;let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(sK.test(r)===!1)return Jc;let s={type:r.toLowerCase(),parameters:new wB};if(e===-1)return s;let n,i,a;for(IB.lastIndex=e;i=IB.exec(t);){if(i.index!==e)return Jc;e+=i[0].length,n=i[1].toLowerCase(),a=i[2],a[0]==='"'&&(a=a.slice(1,a.length-1),BB.test(a)&&(a=a.replace(BB,"$1"))),s.parameters[n]=a}return e!==t.length?Jc:s}o(iK,"safeParse");Wm.exports.default={parse:nK,safeParse:iK};Wm.exports.parse=nK;Wm.exports.safeParse=iK;Wm.exports.defaultContentType=Jc});var bA=g((Gdt,vK)=>{"use strict";var UDe="2.0.0",qDe=Number.MAX_SAFE_INTEGER||9007199254740991,GDe=16,HDe=250,zDe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];vK.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:GDe,MAX_SAFE_BUILD_LENGTH:HDe,MAX_SAFE_INTEGER:qDe,RELEASE_TYPES:zDe,SEMVER_SPEC_VERSION:UDe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Zm=g((Hdt,PK)=>{"use strict";var $De=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};PK.exports=$De});var xA=g((Di,kK)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Q_,MAX_SAFE_BUILD_LENGTH:VDe,MAX_LENGTH:YDe}=bA(),JDe=Zm();Di=kK.exports={};var WDe=Di.re=[],jDe=Di.safeRe=[],F=Di.src=[],KDe=Di.safeSrc=[],U=Di.t={},XDe=0,N_="[a-zA-Z0-9-]",ZDe=[["\\s",1],["\\d",YDe],[N_,VDe]],e_e=o(t=>{for(let[e,r]of ZDe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ae=o((t,e,r)=>{let s=e_e(e),n=XDe++;JDe(t,n,e),U[t]=n,F[n]=e,KDe[n]=s,WDe[n]=new RegExp(e,r?"g":void 0),jDe[n]=new RegExp(s,r?"g":void 0)},"createToken");ae("NUMERICIDENTIFIER","0|[1-9]\\d*");ae("NUMERICIDENTIFIERLOOSE","\\d+");ae("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${N_}*`);ae("MAINVERSION",`(${F[U.NUMERICIDENTIFIER]})\\.(${F[U.NUMERICIDENTIFIER]})\\.(${F[U.NUMERICIDENTIFIER]})`);ae("MAINVERSIONLOOSE",`(${F[U.NUMERICIDENTIFIERLOOSE]})\\.(${F[U.NUMERICIDENTIFIERLOOSE]})\\.(${F[U.NUMERICIDENTIFIERLOOSE]})`);ae("PRERELEASEIDENTIFIER",`(?:${F[U.NONNUMERICIDENTIFIER]}|${F[U.NUMERICIDENTIFIER]})`);ae("PRERELEASEIDENTIFIERLOOSE",`(?:${F[U.NONNUMERICIDENTIFIER]}|${F[U.NUMERICIDENTIFIERLOOSE]})`);ae("PRERELEASE",`(?:-(${F[U.PRERELEASEIDENTIFIER]}(?:\\.${F[U.PRERELEASEIDENTIFIER]})*))`);ae("PRERELEASELOOSE",`(?:-?(${F[U.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${F[U.PRERELEASEIDENTIFIERLOOSE]})*))`);ae("BUILDIDENTIFIER",`${N_}+`);ae("BUILD",`(?:\\+(${F[U.BUILDIDENTIFIER]}(?:\\.${F[U.BUILDIDENTIFIER]})*))`);ae("FULLPLAIN",`v?${F[U.MAINVERSION]}${F[U.PRERELEASE]}?${F[U.BUILD]}?`);ae("FULL",`^${F[U.FULLPLAIN]}$`);ae("LOOSEPLAIN",`[v=\\s]*${F[U.MAINVERSIONLOOSE]}${F[U.PRERELEASELOOSE]}?${F[U.BUILD]}?`);ae("LOOSE",`^${F[U.LOOSEPLAIN]}$`);ae("GTLT","((?:<|>)?=?)");ae("XRANGEIDENTIFIERLOOSE",`${F[U.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ae("XRANGEIDENTIFIER",`${F[U.NUMERICIDENTIFIER]}|x|X|\\*`);ae("XRANGEPLAIN",`[v=\\s]*(${F[U.XRANGEIDENTIFIER]})(?:\\.(${F[U.XRANGEIDENTIFIER]})(?:\\.(${F[U.XRANGEIDENTIFIER]})(?:${F[U.PRERELEASE]})?${F[U.BUILD]}?)?)?`);ae("XRANGEPLAINLOOSE",`[v=\\s]*(${F[U.XRANGEIDENTIFIERLOOSE]})(?:\\.(${F[U.XRANGEIDENTIFIERLOOSE]})(?:\\.(${F[U.XRANGEIDENTIFIERLOOSE]})(?:${F[U.PRERELEASELOOSE]})?${F[U.BUILD]}?)?)?`);ae("XRANGE",`^${F[U.GTLT]}\\s*${F[U.XRANGEPLAIN]}$`);ae("XRANGELOOSE",`^${F[U.GTLT]}\\s*${F[U.XRANGEPLAINLOOSE]}$`);ae("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Q_}})(?:\\.(\\d{1,${Q_}}))?(?:\\.(\\d{1,${Q_}}))?`);ae("COERCE",`${F[U.COERCEPLAIN]}(?:$|[^\\d])`);ae("COERCEFULL",F[U.COERCEPLAIN]+`(?:${F[U.PRERELEASE]})?(?:${F[U.BUILD]})?(?:$|[^\\d])`);ae("COERCERTL",F[U.COERCE],!0);ae("COERCERTLFULL",F[U.COERCEFULL],!0);ae("LONETILDE","(?:~>?)");ae("TILDETRIM",`(\\s*)${F[U.LONETILDE]}\\s+`,!0);Di.tildeTrimReplace="$1~";ae("TILDE",`^${F[U.LONETILDE]}${F[U.XRANGEPLAIN]}$`);ae("TILDELOOSE",`^${F[U.LONETILDE]}${F[U.XRANGEPLAINLOOSE]}$`);ae("LONECARET","(?:\\^)");ae("CARETTRIM",`(\\s*)${F[U.LONECARET]}\\s+`,!0);Di.caretTrimReplace="$1^";ae("CARET",`^${F[U.LONECARET]}${F[U.XRANGEPLAIN]}$`);ae("CARETLOOSE",`^${F[U.LONECARET]}${F[U.XRANGEPLAINLOOSE]}$`);ae("COMPARATORLOOSE",`^${F[U.GTLT]}\\s*(${F[U.LOOSEPLAIN]})$|^$`);ae("COMPARATOR",`^${F[U.GTLT]}\\s*(${F[U.FULLPLAIN]})$|^$`);ae("COMPARATORTRIM",`(\\s*)${F[U.GTLT]}\\s*(${F[U.LOOSEPLAIN]}|${F[U.XRANGEPLAIN]})`,!0);Di.comparatorTrimReplace="$1$2$3";ae("HYPHENRANGE",`^\\s*(${F[U.XRANGEPLAIN]})\\s+-\\s+(${F[U.XRANGEPLAIN]})\\s*$`);ae("HYPHENRANGELOOSE",`^\\s*(${F[U.XRANGEPLAINLOOSE]})\\s+-\\s+(${F[U.XRANGEPLAINLOOSE]})\\s*$`);ae("STAR","(<|>)?=?\\s*\\*");ae("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ae("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var SB=g(($dt,DK)=>{"use strict";var t_e=Object.freeze({loose:!0}),r_e=Object.freeze({}),s_e=o(t=>t?typeof t!="object"?t_e:t:r_e,"parseOptions");DK.exports=s_e});var S_=g((Ydt,MK)=>{"use strict";var _K=/^[0-9]+$/,LK=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tLK(e,t),"rcompareIdentifiers");MK.exports={compareIdentifiers:LK,rcompareIdentifiers:n_e}});var tr=g((Wdt,FK)=>{"use strict";var RB=Zm(),{MAX_LENGTH:OK,MAX_SAFE_INTEGER:TB}=bA(),{safeRe:vB,t:PB}=xA(),i_e=SB(),{compareIdentifiers:R_}=S_(),o_e=o((t,e)=>{let r=e.split(".");if(r.length>t.length)return!1;for(let s=0;sOK)throw new TypeError(`version is longer than ${OK} characters`);RB("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?vB[PB.LOOSE]:vB[PB.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>TB||this.major<0)throw new TypeError("Invalid major version");if(this.minor>TB||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>TB||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&ie.major?1:this.minore.minor?1:this.patche.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(RB("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return R_(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(RB("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return R_(s,n)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?vB[PB.PRERELEASELOOSE]:vB[PB.PRERELEASE]);if(!n||n[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let i=[r,n];if(s===!1&&(i=[r]),o_e(this.prerelease,r)){let a=this.prerelease[r.split(".").length];isNaN(a)&&(this.prerelease=i)}else this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};FK.exports=T_});var Ia=g((Kdt,qK)=>{"use strict";var UK=tr(),a_e=o((t,e,r=!1)=>{if(t instanceof UK)return t;try{return new UK(t,e)}catch(s){if(!r)return null;throw s}},"parse");qK.exports=a_e});var HK=g((Zdt,GK)=>{"use strict";var c_e=Ia(),l_e=o((t,e)=>{let r=c_e(t,e);return r?r.version:null},"valid");GK.exports=l_e});var $K=g((tpt,zK)=>{"use strict";var u_e=Ia(),A_e=o((t,e)=>{let r=u_e(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");zK.exports=A_e});var JK=g((spt,YK)=>{"use strict";var VK=tr(),d_e=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new VK(t instanceof VK?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");YK.exports=d_e});var KK=g((ipt,jK)=>{"use strict";var WK=Ia(),p_e=o((t,e)=>{let r=WK(t,null,!0),s=WK(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,a=i?r:s,c=i?s:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let A=l?"pre":"";return r.major!==s.major?A+"major":r.minor!==s.minor?A+"minor":r.patch!==s.patch?A+"patch":"prerelease"},"diff");jK.exports=p_e});var ZK=g((apt,XK)=>{"use strict";var m_e=tr(),h_e=o((t,e)=>new m_e(t,e).major,"major");XK.exports=h_e});var tX=g((lpt,eX)=>{"use strict";var f_e=tr(),g_e=o((t,e)=>new f_e(t,e).minor,"minor");eX.exports=g_e});var sX=g((Apt,rX)=>{"use strict";var E_e=tr(),y_e=o((t,e)=>new E_e(t,e).patch,"patch");rX.exports=y_e});var iX=g((ppt,nX)=>{"use strict";var C_e=Ia(),I_e=o((t,e)=>{let r=C_e(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");nX.exports=I_e});var sn=g((hpt,aX)=>{"use strict";var oX=tr(),B_e=o((t,e,r)=>new oX(t,r).compare(new oX(e,r)),"compare");aX.exports=B_e});var lX=g((gpt,cX)=>{"use strict";var w_e=sn(),b_e=o((t,e,r)=>w_e(e,t,r),"rcompare");cX.exports=b_e});var AX=g((ypt,uX)=>{"use strict";var x_e=sn(),Q_e=o((t,e)=>x_e(t,e,!0),"compareLoose");uX.exports=Q_e});var kB=g((Ipt,pX)=>{"use strict";var dX=tr(),N_e=o((t,e,r)=>{let s=new dX(t,r),n=new dX(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");pX.exports=N_e});var hX=g((wpt,mX)=>{"use strict";var S_e=kB(),R_e=o((t,e)=>t.sort((r,s)=>S_e(r,s,e)),"sort");mX.exports=R_e});var gX=g((xpt,fX)=>{"use strict";var T_e=kB(),v_e=o((t,e)=>t.sort((r,s)=>T_e(s,r,e)),"rsort");fX.exports=v_e});var eh=g((Npt,EX)=>{"use strict";var P_e=sn(),k_e=o((t,e,r)=>P_e(t,e,r)>0,"gt");EX.exports=k_e});var DB=g((Rpt,yX)=>{"use strict";var D_e=sn(),__e=o((t,e,r)=>D_e(t,e,r)<0,"lt");yX.exports=__e});var v_=g((vpt,CX)=>{"use strict";var L_e=sn(),M_e=o((t,e,r)=>L_e(t,e,r)===0,"eq");CX.exports=M_e});var P_=g((kpt,IX)=>{"use strict";var O_e=sn(),F_e=o((t,e,r)=>O_e(t,e,r)!==0,"neq");IX.exports=F_e});var _B=g((_pt,BX)=>{"use strict";var U_e=sn(),q_e=o((t,e,r)=>U_e(t,e,r)>=0,"gte");BX.exports=q_e});var LB=g((Mpt,wX)=>{"use strict";var G_e=sn(),H_e=o((t,e,r)=>G_e(t,e,r)<=0,"lte");wX.exports=H_e});var k_=g((Fpt,bX)=>{"use strict";var z_e=v_(),$_e=P_(),V_e=eh(),Y_e=_B(),J_e=DB(),W_e=LB(),j_e=o((t,e,r,s)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return z_e(t,r,s);case"!=":return $_e(t,r,s);case">":return V_e(t,r,s);case">=":return Y_e(t,r,s);case"<":return J_e(t,r,s);case"<=":return W_e(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");bX.exports=j_e});var QX=g((qpt,xX)=>{"use strict";var K_e=tr(),X_e=Ia(),{safeRe:MB,t:OB}=xA(),Z_e=o((t,e)=>{if(t instanceof K_e)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?MB[OB.COERCEFULL]:MB[OB.COERCE]);else{let l=e.includePrerelease?MB[OB.COERCERTLFULL]:MB[OB.COERCERTL],u;for(;(u=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||u.index+u[0].length!==r.index+r[0].length)&&(r=u),l.lastIndex=u.index+u[1].length+u[2].length;l.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return X_e(`${s}.${n}.${i}${a}${c}`,e)},"coerce");xX.exports=Z_e});var SX=g((Hpt,NX)=>{"use strict";var eLe=Ia(),tLe=bA(),rLe=tr(),sLe=o((t,e,r)=>{if(!tLe.RELEASE_TYPES.includes(e))return null;let s=nLe(t,r);return s&&iLe(s,e)},"truncate"),nLe=o((t,e)=>{let r=t instanceof rLe?t.version:t;return eLe(r,e)},"cloneInputVersion"),iLe=o((t,e)=>{if(oLe(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"),oLe=o(t=>t.startsWith("pre"),"isPrerelease");NX.exports=sLe});var TX=g(($pt,RX)=>{"use strict";var D_=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,r)}return this}};RX.exports=D_});var nn=g((Ypt,DX)=>{"use strict";var aLe=/\s+/g,__=class t{static{o(this,"Range")}constructor(e,r){if(r=lLe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof L_)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(aLe," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(n=>!PX(n[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&ELe(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(gLe,"");let s=((this.options.includePrerelease&&hLe)|(this.options.loose&&fLe))+":"+e,n=vX.get(s);if(n)return n;let i=this.options.loose,a=i?Tr[rr.HYPHENRANGELOOSE]:Tr[rr.HYPHENRANGE];e=e.replace(a,RLe(this.options.includePrerelease)),ze("hyphen replace",e),e=e.replace(Tr[rr.COMPARATORTRIM],dLe),ze("comparator trim",e),e=e.replace(Tr[rr.TILDETRIM],pLe),ze("tilde trim",e),e=e.replace(Tr[rr.CARETTRIM],mLe),ze("caret trim",e);let c=e.split(" ").map(d=>yLe(d,this.options)).join(" ").split(/\s+/).map(d=>SLe(d,this.options));i&&(c=c.filter(d=>(ze("loose invalid filter",d,this.options),!!d.match(Tr[rr.COMPARATORLOOSE])))),ze("range list",c);let l=new Map,u=c.map(d=>new L_(d,this.options));for(let d of u){if(PX(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return vX.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>kX(s,r)&&e.set.some(n=>kX(n,r)&&s.every(i=>n.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new uLe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),ELe=o(t=>t.value==="","isAny"),kX=o((t,e)=>{let r=!0,s=t.slice(),n=s.pop();for(;r&&s.length;)r=s.every(i=>n.intersects(i,e)),n=s.pop();return r},"isSatisfiable"),yLe=o((t,e)=>(t=t.replace(Tr[rr.BUILD],""),ze("comp",t,e),t=wLe(t,e),ze("caret",t),t=ILe(t,e),ze("tildes",t),t=xLe(t,e),ze("xrange",t),t=NLe(t,e),ze("stars",t),t),"parseComparator"),Ut=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),CLe=o((t,e,r)=>Ut(t)&&!Ut(e)||Ut(e)&&r&&!Ut(r),"invalidXRangeOrder"),ILe=o((t,e)=>t.trim().split(/\s+/).map(r=>BLe(r,e)).join(" "),"replaceTildes"),BLe=o((t,e)=>{let r=e.loose?Tr[rr.TILDELOOSE]:Tr[rr.TILDE],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{ze("tilde",t,n,i,a,c,l);let u;return Ut(i)?u="":Ut(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:Ut(c)?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:l?(ze("replaceTilde pr",l),u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`):u=`>=${i}.${a}.${c} <${i}.${+a+1}.0-0`,ze("tilde return",u),u})},"replaceTilde"),wLe=o((t,e)=>t.trim().split(/\s+/).map(r=>bLe(r,e)).join(" "),"replaceCarets"),bLe=o((t,e)=>{ze("caret",t,e);let r=e.loose?Tr[rr.CARETLOOSE]:Tr[rr.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{ze("caret",t,n,i,a,c,l);let u;return Ut(i)?u="":Ut(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:Ut(c)?i==="0"?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.0${s} <${+i+1}.0.0-0`:l?(ze("replaceCaret pr",l),i==="0"?a==="0"?u=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):(ze("no pr"),i==="0"?a==="0"?u=`>=${i}.${a}.${c} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),ze("caret return",u),u})},"replaceCaret"),xLe=o((t,e)=>(ze("replaceXRanges",t,e),t.split(/\s+/).map(r=>QLe(r,e)).join(" ")),"replaceXRanges"),QLe=o((t,e)=>{t=t.trim();let r=e.loose?Tr[rr.XRANGELOOSE]:Tr[rr.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{if(ze("xRange",t,s,n,i,a,c,l),CLe(i,a,c))return t;let u=Ut(i),A=u||Ut(a),d=A||Ut(c),p=d;return n==="="&&p&&(n=""),l=e.includePrerelease?"-0":"",u?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&p?(A&&(a=0),c=0,n===">"?(n=">=",A?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):n==="<="&&(n="<",A?i=+i+1:a=+a+1),n==="<"&&(l="-0"),s=`${n+i}.${a}.${c}${l}`):A?s=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(s=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),ze("xRange return",s),s})},"replaceXRange"),NLe=o((t,e)=>(ze("replaceStars",t,e),t.trim().replace(Tr[rr.STAR],"")),"replaceStars"),SLe=o((t,e)=>(ze("replaceGTE0",t,e),t.trim().replace(Tr[e.includePrerelease?rr.GTE0PRE:rr.GTE0],"")),"replaceGTE0"),RLe=o(t=>(e,r,s,n,i,a,c,l,u,A,d,p)=>(Ut(s)?r="":Ut(n)?r=`>=${s}.0.0${t?"-0":""}`:Ut(i)?r=`>=${s}.${n}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Ut(u)?l="":Ut(A)?l=`<${+u+1}.0.0-0`:Ut(d)?l=`<${u}.${+A+1}.0-0`:p?l=`<=${u}.${A}.${d}-${p}`:t?l=`<${u}.${A}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),TLe=o((t,e,r)=>{for(let s=0;s0){let n=t[s].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0},"testSet")});var th=g((Wpt,UX)=>{"use strict";var rh=Symbol("SemVer ANY"),F_=class t{static{o(this,"Comparator")}static get ANY(){return rh}constructor(e,r){if(r=_X(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),O_("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===rh?this.value="":this.value=this.operator+this.semver.version,O_("comp",this)}parse(e){let r=this.options.loose?LX[MX.COMPARATORLOOSE]:LX[MX.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new OX(s[2],this.options.loose):this.semver=rh}toString(){return this.value}test(e){if(O_("Comparator.test",e,this.options.loose),this.semver===rh||e===rh)return!0;if(typeof e=="string")try{e=new OX(e,this.options)}catch{return!1}return M_(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 FX(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new FX(this.value,r).test(e.semver):(r=_X(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("=")||M_(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||M_(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};UX.exports=F_;var _X=SB(),{safeRe:LX,t:MX}=xA(),M_=k_(),O_=Zm(),OX=tr(),FX=nn()});var sh=g((Kpt,qX)=>{"use strict";var vLe=nn(),PLe=o((t,e,r)=>{try{e=new vLe(e,r)}catch{return!1}return e.test(t)},"satisfies");qX.exports=PLe});var HX=g((Zpt,GX)=>{"use strict";var kLe=nn(),DLe=o((t,e)=>new kLe(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");GX.exports=DLe});var $X=g((tmt,zX)=>{"use strict";var _Le=tr(),LLe=nn(),MLe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new LLe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new _Le(s,r))}),s},"maxSatisfying");zX.exports=MLe});var YX=g((smt,VX)=>{"use strict";var OLe=tr(),FLe=nn(),ULe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new FLe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new OLe(s,r))}),s},"minSatisfying");VX.exports=ULe});var jX=g((imt,WX)=>{"use strict";var U_=tr(),qLe=nn(),JX=eh(),GLe=o((t,e)=>{t=new qLe(t,e);let r=new U_("0.0.0");if(t.test(r)||(r=new U_("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new U_(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||JX(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||JX(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");WX.exports=GLe});var XX=g((amt,KX)=>{"use strict";var HLe=nn(),zLe=o((t,e)=>{try{return new HLe(t,e).range||"*"}catch{return null}},"validRange");KX.exports=zLe});var FB=g((lmt,rZ)=>{"use strict";var $Le=tr(),tZ=th(),{ANY:VLe}=tZ,YLe=nn(),JLe=sh(),ZX=eh(),eZ=DB(),WLe=LB(),jLe=_B(),KLe=o((t,e,r,s)=>{t=new $Le(t,s),e=new YLe(e,s);let n,i,a,c,l;switch(r){case">":n=ZX,i=WLe,a=eZ,c=">",l=">=";break;case"<":n=eZ,i=jLe,a=ZX,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(JLe(t,e,s))return!1;for(let u=0;u{m.semver===VLe&&(m=new tZ(">=0.0.0")),d=d||m,p=p||m,n(m.semver,d.semver,s)?d=m:a(m.semver,p.semver,s)&&(p=m)}),d.operator===c||d.operator===l||(!p.operator||p.operator===c)&&i(t,p.semver))return!1;if(p.operator===l&&a(t,p.semver))return!1}return!0},"outside");rZ.exports=KLe});var nZ=g((Amt,sZ)=>{"use strict";var XLe=FB(),ZLe=o((t,e,r)=>XLe(t,e,">",r),"gtr");sZ.exports=ZLe});var oZ=g((pmt,iZ)=>{"use strict";var eMe=FB(),tMe=o((t,e,r)=>eMe(t,e,"<",r),"ltr");iZ.exports=tMe});var lZ=g((hmt,cZ)=>{"use strict";var aZ=nn(),rMe=o((t,e,r)=>(t=new aZ(t,r),e=new aZ(e,r),t.intersects(e,r)),"intersects");cZ.exports=rMe});var AZ=g((gmt,uZ)=>{"use strict";var sMe=sh(),nMe=sn();uZ.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>nMe(A,d,r));for(let A of a)sMe(A,e,r)?(i=A,n||(n=A)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let c=[];for(let[A,d]of s)A===d?c.push(A):!d&&A===a[0]?c.push("*"):d?A===a[0]?c.push(`<=${d}`):c.push(`${A} - ${d}`):c.push(`>=${A}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var dZ=nn(),H_=th(),{ANY:q_}=H_,G_=sh(),z_=sn(),iMe=o((t,e,r={})=>{if(t===e)return!0;t=new dZ(t,r),e=new dZ(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=aMe(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),oMe=[new H_(">=0.0.0-0")],pZ=[new H_(">=0.0.0")],aMe=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===q_){if(e.length===1&&e[0].semver===q_)return!0;r.includePrerelease?t=oMe:t=pZ}if(e.length===1&&e[0].semver===q_){if(r.includePrerelease)return!0;e=pZ}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=mZ(n,m,r):m.operator==="<"||m.operator==="<="?i=hZ(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=z_(n.semver,i.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let m of s){if(n&&!G_(m,String(n),r)||i&&!G_(m,String(i),r))return null;for(let h of e)if(!G_(m,String(h),r))return!1;return!0}let c,l,u,A,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,p=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let m of e){if(A=A||m.operator===">"||m.operator===">=",u=u||m.operator==="<"||m.operator==="<=",n){if(p&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===p.major&&m.semver.minor===p.minor&&m.semver.patch===p.patch&&(p=!1),m.operator===">"||m.operator===">="){if(c=mZ(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!m.test(n.semver))return!1}if(i){if(d&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===d.major&&m.semver.minor===d.minor&&m.semver.patch===d.patch&&(d=!1),m.operator==="<"||m.operator==="<="){if(l=hZ(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!m.test(i.semver))return!1}if(!m.operator&&(i||n)&&a!==0)return!1}return!(n&&u&&!i&&a!==0||i&&A&&!n&&a!==0||p||d)},"simpleSubset"),mZ=o((t,e,r)=>{if(!t)return e;let s=z_(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),hZ=o((t,e,r)=>{if(!t)return e;let s=z_(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");fZ.exports=iMe});var nh=g((Cmt,CZ)=>{"use strict";var $_=xA(),EZ=bA(),cMe=tr(),yZ=S_(),lMe=Ia(),uMe=HK(),AMe=$K(),dMe=JK(),pMe=KK(),mMe=ZK(),hMe=tX(),fMe=sX(),gMe=iX(),EMe=sn(),yMe=lX(),CMe=AX(),IMe=kB(),BMe=hX(),wMe=gX(),bMe=eh(),xMe=DB(),QMe=v_(),NMe=P_(),SMe=_B(),RMe=LB(),TMe=k_(),vMe=QX(),PMe=SX(),kMe=th(),DMe=nn(),_Me=sh(),LMe=HX(),MMe=$X(),OMe=YX(),FMe=jX(),UMe=XX(),qMe=FB(),GMe=nZ(),HMe=oZ(),zMe=lZ(),$Me=AZ(),VMe=gZ();CZ.exports={parse:lMe,valid:uMe,clean:AMe,inc:dMe,diff:pMe,major:mMe,minor:hMe,patch:fMe,prerelease:gMe,compare:EMe,rcompare:yMe,compareLoose:CMe,compareBuild:IMe,sort:BMe,rsort:wMe,gt:bMe,lt:xMe,eq:QMe,neq:NMe,gte:SMe,lte:RMe,cmp:TMe,coerce:vMe,truncate:PMe,Comparator:kMe,Range:DMe,satisfies:_Me,toComparators:LMe,maxSatisfying:MMe,minSatisfying:OMe,minVersion:FMe,validRange:UMe,outside:qMe,gtr:GMe,ltr:HMe,intersects:zMe,simplifyRange:$Me,subset:VMe,SemVer:cMe,re:$_.re,src:$_.src,tokens:$_.t,SEMVER_SPEC_VERSION:EZ.SEMVER_SPEC_VERSION,RELEASE_TYPES:EZ.RELEASE_TYPES,compareIdentifiers:yZ.compareIdentifiers,rcompareIdentifiers:yZ.rcompareIdentifiers}});var _Z=w(require("crypto"),1),LZ=w(require("path"),1);var Z_=w(require("os"),1);function kn(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(kn,"toCommandValue");function JB(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(JB,"toCommandProperties");function Dn(t,e,r){let s=new WB(t,e,r);process.stdout.write(s.toString()+Z_.EOL)}o(Dn,"issueCommand");function jB(t,e=""){Dn(t,{},e)}o(jB,"issue");var X_="::",WB=class{static{o(this,"Command")}constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=X_+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${$Z(n)}`)}}return e+=`${X_}${zZ(this.message)}`,e}};function zZ(t){return kn(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(zZ,"escapeData");function $Z(t){return kn(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o($Z,"escapeProperty");var eL=w(require("crypto"),1),ph=w(require("fs"),1),dh=w(require("os"),1);function QA(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!ph.existsSync(r))throw new Error(`Missing file at path: ${r}`);ph.appendFileSync(r,`${kn(e)}${dh.EOL}`,{encoding:"utf8"})}o(QA,"issueFileCommand");function mh(t,e){let r=`ghadelimiter_${eL.randomUUID()}`,s=kn(e);if(t.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(s.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${t}<<${r}${dh.EOL}${s}${dh.EOL}${r}`}o(mh,"prepareKeyValueMessage");var FQ=w(require("os"),1),KG=w(require("path"),1);var Td=w(require("http"),1),QQ=w(require("https"),1);function KB(t){let e=t.protocol==="https:";if(VZ(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 hh(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new hh(`http://${r}`)}else return}o(KB,"getProxyUrl");function VZ(t){if(!t.hostname)return!1;let e=t.hostname;if(YZ(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(VZ,"checkBypass");function YZ(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(YZ,"isLoopbackAddress");var hh=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}};var Ho=w(NA(),1),TG=w(Wl(),1);var ht=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Ts;(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"})(Ts||(Ts={}));var hr;(function(t){t.Accept="accept",t.ContentType="content-type"})(hr||(hr={}));var ji;(function(t){t.ApplicationJson="application/json"})(ji||(ji={}));var fde=[Ts.MovedPermanently,Ts.ResourceMoved,Ts.SeeOther,Ts.TemporaryRedirect,Ts.PermanentRedirect],gde=[Ts.BadGateway,Ts.ServiceUnavailable,Ts.GatewayTimeout],Ede=["OPTIONS","GET","DELETE","HEAD"],yde=10,Cde=5,bQ=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},xQ=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return ht(this,void 0,void 0,function*(){return new Promise(e=>ht(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return ht(this,void 0,void 0,function*(){return new Promise(e=>ht(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var ja=class{static{o(this,"HttpClient")}constructor(e,r,s){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return ht(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return ht(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return ht(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return ht(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return ht(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return ht(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return ht(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return ht(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return ht(this,arguments,void 0,function*(r,s={}){s[hr.Accept]=this._getExistingOrDefaultHeader(s,hr.Accept,ji.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return ht(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[hr.Accept]=this._getExistingOrDefaultHeader(i,hr.Accept,ji.ApplicationJson),i[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,ji.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return ht(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[hr.Accept]=this._getExistingOrDefaultHeader(i,hr.Accept,ji.ApplicationJson),i[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,ji.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return ht(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[hr.Accept]=this._getExistingOrDefaultHeader(i,hr.Accept,ji.ApplicationJson),i[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,ji.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return ht(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),a=this._prepareRequest(e,i,n),c=this._allowRetries&&Ede.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===Ts.Unauthorized){let d;for(let p of this.handlers)if(p.canHandleAuthentication(u)){d=p;break}return d?d.handleAuthentication(this,a,s):u}let A=this._maxRedirects;for(;u.message.statusCode&&fde.includes(u.message.statusCode)&&this._allowRedirects&&A>0;){let d=u.message.headers.location;if(!d)break;let p=new URL(d);if(i.protocol==="https:"&&i.protocol!==p.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield u.readBody(),p.hostname!==i.hostname)for(let m in n)m.toLowerCase()==="authorization"&&delete n[m];a=this._prepareRequest(e,p,n),u=yield this.requestRaw(a,s),A--}if(!u.message.statusCode||!gde.includes(u.message.statusCode))return u;l+=1,l{function i(a,c){a?n(a):c?s(c):n(new Error("Unknown error"))}o(i,"callbackForResult"),this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(l,u){n||(n=!0,s(l,u))}o(i,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new xQ(l);i(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){i(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),s=KB(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?QQ:Td;let a=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Rd(this.requestOptions.headers),Rd(e||{})):Rd(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=Rd(this.requestOptions.headers)[r];a&&(n=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=Rd(this.requestOptions.headers)[hr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[hr.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=KB(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||Td.globalAgent.maxSockets),s&&s.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},l,u=s.protocol==="https:";i?l=u?Ho.httpsOverHttps:Ho.httpsOverHttp:l=u?Ho.httpOverHttps:Ho.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new QQ.Agent(c):new Td.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new TG.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return ht(this,void 0,void 0,function*(){e=Math.min(yde,e);let r=Cde*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return ht(this,void 0,void 0,function*(){return new Promise((s,n)=>ht(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===Ts.NotFound&&s(a);function c(A,d){if(typeof d=="string"){let p=new Date(d);if(!isNaN(p.valueOf()))return p}return d}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let A;l&&l.message?A=l.message:u&&u.length>0?A=u:A=`Failed request: (${i})`;let d=new bQ(A,i);d.result=a.result,n(d)}else s(a)}))})}},Rd=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var kG=require("os"),vd=require("fs");var NQ=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{access:Bde,appendFile:wde,writeFile:bde}=vd.promises,PG="GITHUB_STEP_SUMMARY";var SQ=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return NQ(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[PG];if(!e)throw new Error(`Unable to find environment variable for $${PG}. Check if your runtime environment supports job summaries.`);try{yield Bde(e,vd.constants.R_OK|vd.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return NQ(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?bde:wde)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return NQ(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(kG.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:A}=a,d=c?"th":"td",p=Object.assign(Object.assign({},u&&{colspan:u}),A&&{rowspan:A});return this.wrap(d,l,p)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},a=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}addLink(e,r){let s=this.wrap("a",e,{href:r});return this.addRaw(s).addEOL()}},H1e=new SQ;var MQ=w(require("os"),1);var LQ=require("string_decoder");var kd=w(require("os"),1),_Q=w(require("events"),1),VG=w(require("child_process"),1),YG=w(require("path"),1);var qG=require("assert"),cs=w(require("path"),1);var Pd=w(require("fs"),1),zo=w(require("path"),1);var RQ=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{chmod:TQ,copyFile:_G,lstat:dg,mkdir:LG,open:J1e,readdir:vQ,rename:xde,rm:MG,rmdir:W1e,stat:Ka,symlink:OG,unlink:PQ}=Pd.promises,$n=process.platform==="win32";function FG(t){return RQ(this,void 0,void 0,function*(){let e=yield Pd.promises.readlink(t);return $n&&!e.endsWith("\\")?`${e}\\`:e})}o(FG,"readlink");var j1e=Pd.constants.O_RDONLY;function Kl(t){return RQ(this,void 0,void 0,function*(){try{yield Ka(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(Kl,"exists");function pg(t){if(t=Qde(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return $n?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(pg,"isRooted");function kQ(t,e){return RQ(this,void 0,void 0,function*(){let r;try{r=yield Ka(t)}catch(n){n.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${n}`)}if(r&&r.isFile()){if($n){let n=zo.extname(t).toUpperCase();if(e.some(i=>i.toUpperCase()===n))return t}else if(DG(r))return t}let s=t;for(let n of e){t=s+n,r=void 0;try{r=yield Ka(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if($n){try{let i=zo.dirname(t),a=zo.basename(t).toUpperCase();for(let c of yield vQ(i))if(a===c.toUpperCase()){t=zo.join(i,c);break}}catch(i){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${i}`)}return t}else if(DG(r))return t}}return""})}o(kQ,"tryGetExecutablePath");function Qde(t){return t=t||"",$n?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(Qde,"normalizeSeparators");function DG(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(DG,"isUnixExecutable");var Xa=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function GG(t,e){return Xa(this,arguments,void 0,function*(r,s,n={}){let{force:i,recursive:a,copySourceDirectory:c}=Sde(n),l=(yield Kl(s))?yield Ka(s):null;if(l&&l.isFile()&&!i)return;let u=l&&l.isDirectory()&&c?cs.join(s,cs.basename(r)):s;if(!(yield Kl(r)))throw new Error(`no such file or directory: ${r}`);if((yield Ka(r)).isDirectory())if(a)yield HG(r,u,0,i);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(cs.relative(r,u)==="")throw new Error(`'${u}' and '${r}' are the same file`);yield zG(r,u,i)}})}o(GG,"cp");function Xl(t){return Xa(this,void 0,void 0,function*(){if($n&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield MG(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(Xl,"rmRF");function vs(t){return Xa(this,void 0,void 0,function*(){(0,qG.ok)(t,"a path argument must be provided"),yield LG(t,{recursive:!0})})}o(vs,"mkdirP");function rt(t,e){return Xa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let s=yield rt(t,!1);if(!s)throw $n?new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`):new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return s}let r=yield Nde(t);return r&&r.length>0?r[0]:""})}o(rt,"which");function Nde(t){return Xa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if($n&&process.env.PATHEXT)for(let n of process.env.PATHEXT.split(cs.delimiter))n&&e.push(n);if(pg(t)){let n=yield kQ(t,e);return n?[n]:[]}if(t.includes(cs.sep))return[];let r=[];if(process.env.PATH)for(let n of process.env.PATH.split(cs.delimiter))n&&r.push(n);let s=[];for(let n of r){let i=yield kQ(cs.join(n,t),e);i&&s.push(i)}return s})}o(Nde,"findInPath");function Sde(t){let e=t.force==null?!0:t.force,r=!!t.recursive,s=t.copySourceDirectory==null?!0:!!t.copySourceDirectory;return{force:e,recursive:r,copySourceDirectory:s}}o(Sde,"readCopyOptions");function HG(t,e,r,s){return Xa(this,void 0,void 0,function*(){if(r>=255)return;r++,yield vs(e);let n=yield vQ(t);for(let i of n){let a=`${t}/${i}`,c=`${e}/${i}`;(yield dg(a)).isDirectory()?yield HG(a,c,r,s):yield zG(a,c,s)}yield TQ(e,(yield Ka(t)).mode)})}o(HG,"cpDirRecursive");function zG(t,e,r){return Xa(this,void 0,void 0,function*(){if((yield dg(t)).isSymbolicLink()){try{yield dg(e),yield PQ(e)}catch(n){n.code==="EPERM"&&(yield TQ(e,"0666"),yield PQ(e))}let s=yield FG(t);yield OG(s,e,$n?"junction":null)}else(!(yield Kl(e))||r)&&(yield _G(t,e))})}o(zG,"copyFile");var JG=require("timers");var $G=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},mg=process.platform==="win32",hg=class extends _Q.EventEmitter{static{o(this,"ToolRunner")}constructor(e,r,s){if(super(),!e)throw new Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=r||[],this.options=s||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,r){let s=this._getSpawnFileName(),n=this._getSpawnArgs(e),i=r?"":"[command]";if(mg)if(this._isCmdFile()){i+=s;for(let a of n)i+=` ${a}`}else if(e.windowsVerbatimArguments){i+=`"${s}"`;for(let a of n)i+=` ${a}`}else{i+=this._windowsQuoteCmdArg(s);for(let a of n)i+=` ${this._windowsQuoteCmdArg(a)}`}else{i+=s;for(let a of n)i+=` ${a}`}return i}_processLineBuffer(e,r,s){try{let n=r+e.toString(),i=n.indexOf(kd.EOL);for(;i>-1;){let a=n.substring(0,i);s(a),n=n.substring(i+kd.EOL.length),i=n.indexOf(kd.EOL)}return n}catch(n){return this._debug(`error processing line. Failed with error ${n}`),""}}_getSpawnFileName(){return mg&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(mg&&this._isCmdFile()){let r=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let s of this.args)r+=" ",r+=e.windowsVerbatimArguments?s:this._windowsQuoteCmdArg(s);return r+='"',[r]}return this.args}_endsWith(e,r){return e.endsWith(r)}_isCmdFile(){let e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';let r=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],s=!1;for(let a of e)if(r.some(c=>c===a)){s=!0;break}if(!s)return e;let n='"',i=!0;for(let a=e.length;a>0;a--)n+=e[a-1],i&&e[a-1]==="\\"?n+="\\":e[a-1]==='"'?(i=!0,n+='"'):i=!1;return n+='"',n.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let r='"',s=!0;for(let n=e.length;n>0;n--)r+=e[n-1],s&&e[n-1]==="\\"?r+="\\":e[n-1]==='"'?(s=!0,r+="\\"):s=!1;return r+='"',r.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};let r={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return r.outStream=e.outStream||process.stdout,r.errStream=e.errStream||process.stderr,r}_getSpawnOptions(e,r){e=e||{};let s={};return s.cwd=e.cwd,s.env=e.env,s.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(s.argv0=`"${r}"`),s}exec(){return $G(this,void 0,void 0,function*(){return!pg(this.toolPath)&&(this.toolPath.includes("/")||mg&&this.toolPath.includes("\\"))&&(this.toolPath=YG.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield rt(this.toolPath,!0),new Promise((e,r)=>$G(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let u of this.args)this._debug(` ${u}`);let s=this._cloneExecOptions(this.options);!s.silent&&s.outStream&&s.outStream.write(this._getCommandString(s)+kd.EOL);let n=new DQ(s,this.toolPath);if(n.on("debug",u=>{this._debug(u)}),this.options.cwd&&!(yield Kl(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),a=VG.spawn(i,this._getSpawnArgs(s),this._getSpawnOptions(this.options,i)),c="";a.stdout&&a.stdout.on("data",u=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(u),!s.silent&&s.outStream&&s.outStream.write(u),c=this._processLineBuffer(u,c,A=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(A)})});let l="";if(a.stderr&&a.stderr.on("data",u=>{n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(u),!s.silent&&s.errStream&&s.outStream&&(s.failOnStdErr?s.errStream:s.outStream).write(u),l=this._processLineBuffer(u,l,A=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(A)})}),a.on("error",u=>{n.processError=u.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete()}),a.on("exit",u=>{n.processExitCode=u,n.processExited=!0,this._debug(`Exit code ${u} received from tool '${this.toolPath}'`),n.CheckComplete()}),a.on("close",u=>{n.processExitCode=u,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete()}),n.on("done",(u,A)=>{c.length>0&&this.emit("stdline",c),l.length>0&&this.emit("errline",l),a.removeAllListeners(),u?r(u):e(A)}),this.options.input){if(!a.stdin)throw new Error("child process missing stdin");a.stdin.end(this.options.input)}}))})}};function WG(t){let e=[],r=!1,s=!1,n="";function i(a){s&&a!=='"'&&(n+="\\"),n+=a,s=!1}o(i,"append");for(let a=0;a0&&(e.push(n),n="");continue}i(c)}return n.length>0&&e.push(n.trim()),e}o(WG,"argStringToArray");var DQ=class t extends _Q.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,JG.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 jG=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function ls(t,e,r){return jG(this,void 0,void 0,function*(){let s=WG(t);if(s.length===0)throw new Error("Parameter 'commandLine' cannot be null or empty.");let n=s[0];return e=s.slice(1).concat(e||[]),new hg(n,e,r).exec()})}o(ls,"exec");function Dd(t,e,r){return jG(this,void 0,void 0,function*(){var s,n;let i="",a="",c=new LQ.StringDecoder("utf8"),l=new LQ.StringDecoder("utf8"),u=(s=r?.listeners)===null||s===void 0?void 0:s.stdout,A=(n=r?.listeners)===null||n===void 0?void 0:n.stderr,d=o(f=>{a+=l.write(f),A&&A(f)},"stdErrListener"),p=o(f=>{i+=c.write(f),u&&u(f)},"stdOutListener"),m=Object.assign(Object.assign({},r?.listeners),{stdout:p,stderr:d}),h=yield ls(t,e,Object.assign(Object.assign({},r),{listeners:m}));return i+=c.end(),a+=l.end(),{exitCode:h,stdout:i,stderr:a}})}o(Dd,"getExecOutput");var r2e=MQ.default.platform(),s2e=MQ.default.arch();var vde=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},OQ;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(OQ||(OQ={}));function XG(t,e){let r=kn(e);if(process.env[t]=r,process.env.GITHUB_ENV||"")return QA("ENV",mh(t,e));Dn("set-env",{name:t},r)}o(XG,"exportVariable");function jl(t){Dn("add-mask",{},t)}o(jl,"setSecret");function Zl(t){process.env.GITHUB_PATH||""?QA("PATH",t):Dn("add-path",{},t),process.env.PATH=`${t}${KG.delimiter}${process.env.PATH}`}o(Zl,"addPath");function gn(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(gn,"getInput");function Ld(t,e){let r=["true","True","TRUE"],s=["false","False","FALSE"],n=gn(t,e);if(r.includes(n))return!0;if(s.includes(n))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(Ld,"getBooleanInput");function UQ(t,e){if(process.env.GITHUB_OUTPUT||"")return QA("OUTPUT",mh(t,e));process.stdout.write(FQ.EOL),Dn("set-output",{name:t},kn(e))}o(UQ,"setOutput");function ZG(t){process.exitCode=OQ.Failure,eu(t)}o(ZG,"setFailed");function ec(){return process.env.RUNNER_DEBUG==="1"}o(ec,"isDebug");function b(t){Dn("debug",{},t)}o(b,"debug");function eu(t,e={}){Dn("error",JB(e),t instanceof Error?t.toString():t)}o(eu,"error");function Xe(t,e={}){Dn("warning",JB(e),t instanceof Error?t.toString():t)}o(Xe,"warning");function N(t){process.stdout.write(t+FQ.EOL)}o(N,"info");function Pde(t){jB("group",t)}o(Pde,"startGroup");function kde(){jB("endgroup")}o(kde,"endGroup");function me(t,e){return vde(this,void 0,void 0,function*(){Pde(t);let r;try{r=yield e()}finally{kde()}return r})}o(me,"group");function tu(t,e){if(process.env.GITHUB_STATE||"")return QA("STATE",mh(t,e));Dn("save-state",{name:t},kn(e))}o(tu,"saveState");function eH(t){return process.env[`STATE_${t}`]||""}o(eH,"getState");var Rm=w(require("fs"),1),Kk=w(require("os"),1),Xk=w(require("path"),1);var rH=w(require("os"),1);function Md(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Md,"toCommandValue");function sH(t,e,r){let s=new qQ(t,e,r);process.stdout.write(s.toString()+rH.EOL)}o(sH,"issueCommand");var tH="::",qQ=class{static{o(this,"Command")}constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=tH+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${_de(n)}`)}}return e+=`${tH}${Dde(this.message)}`,e}};function Dde(t){return Md(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Dde,"escapeData");function _de(t){return Md(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(_de,"escapeProperty");var aH=w(require("os"),1);var iH=require("os"),Od=require("fs");var GQ=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{access:Lde,appendFile:Mde,writeFile:Ode}=Od.promises,nH="GITHUB_STEP_SUMMARY";var HQ=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return GQ(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[nH];if(!e)throw new Error(`Unable to find environment variable for $${nH}. Check if your runtime environment supports job summaries.`);try{yield Lde(e,Od.constants.R_OK|Od.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return GQ(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?Ode:Mde)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return GQ(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(iH.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:A}=a,d=c?"th":"td",p=Object.assign(Object.assign({},u&&{colspan:u}),A&&{rowspan:A});return this.wrap(d,l,p)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},a=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}addLink(e,r){let s=this.wrap("a",e,{href:r});return this.addRaw(s).addEOL()}},k2e=new HQ;var zQ=w(require("os"),1);var O2e=zQ.default.platform(),F2e=zQ.default.arch();var oH;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(oH||(oH={}));function $Q(){return process.env.RUNNER_DEBUG==="1"}o($Q,"isDebug");function Me(t){sH("debug",{},t)}o(Me,"debug");function VQ(t){process.stdout.write(t+aH.EOL)}o(VQ,"info");var m0=w(require("crypto"),1),ar=w(require("fs"),1);var _he=w(d0(),1);var Tg=w(require("os"),1),En=w(require("path"),1);var Ds=w(d0(),1),Xz=w(require("stream"),1),Zz=w(require("util"),1),h0=require("assert");var Kz=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Sg=class{static{o(this,"RetryHelper")}constructor(e,r,s){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(s),this.minSeconds>this.maxSeconds)throw new Error("min seconds should be less than or equal to max seconds")}execute(e,r){return Kz(this,void 0,void 0,function*(){let s=1;for(;ssetTimeout(r,e*1e3))})}};var Yn=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Rg=class extends Error{static{o(this,"HTTPError")}constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}},e$=process.platform==="win32",HGe=process.platform==="darwin",Mhe="actions/tool-cache";function rc(t,e,r,s){return Yn(this,void 0,void 0,function*(){e=e||En.join(n$(),m0.randomUUID()),yield vs(En.dirname(e)),Me(`Downloading ${t}`),Me(`Destination ${e}`);let n=3,i=p0("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=p0("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);return yield new Sg(n,i,a).execute(()=>Yn(this,void 0,void 0,function*(){return yield Ohe(t,e||"",r,s)}),l=>!(l instanceof Rg&&l.httpStatusCode&&l.httpStatusCode<500&&l.httpStatusCode!==408&&l.httpStatusCode!==429))})}o(rc,"downloadTool");function Ohe(t,e,r,s){return Yn(this,void 0,void 0,function*(){if(ar.existsSync(e))throw new Error(`Destination file path ${e} already exists`);let n=new ja(Mhe,[],{allowRetries:!1});r&&(Me("set auth"),s===void 0&&(s={}),s.authorization=r);let i=yield n.get(t,s);if(i.message.statusCode!==200){let A=new Rg(i.message.statusCode);throw Me(`Failed to download from "${t}". Code(${i.message.statusCode}) Message(${i.message.statusMessage})`),A}let a=Zz.promisify(Xz.pipeline),l=p0("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>i.message)(),u=!1;try{return yield a(l,ar.createWriteStream(e)),Me("download complete"),u=!0,e}finally{if(!u){Me("download failed");try{yield Xl(e)}catch(A){Me(`Failed to delete '${e}'. ${A.message}`)}}}})}o(Ohe,"downloadToolAttempt");function vg(t,e){return Yn(this,arguments,void 0,function*(r,s,n="xz"){if(!r)throw new Error("parameter 'file' is required");s=yield r$(s),Me("Checking tar --version");let i="";yield ls("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(A=>i+=A.toString(),"stdout"),stderr:o(A=>i+=A.toString(),"stderr")}}),Me(i.trim());let a=i.toUpperCase().includes("GNU TAR"),c;n instanceof Array?c=n:c=[n],$Q()&&!n.includes("v")&&c.push("-v");let l=s,u=r;return e$&&a&&(c.push("--force-local"),l=s.replace(/\\/g,"/"),u=r.replace(/\\/g,"/")),a&&(c.push("--warning=no-unknown-keyword"),c.push("--overwrite")),c.push("-C",l,"-f",u),yield ls("tar",c),s})}o(vg,"extractTar");function Pg(t,e){return Yn(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'file' is required");return e=yield r$(e),e$?yield Fhe(t,e):yield Uhe(t,e),e})}o(Pg,"extractZip");function Fhe(t,e){return Yn(this,void 0,void 0,function*(){let r=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=yield rt("pwsh",!1);if(n){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}', '${s}', $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 '${s}' -Force } else { throw $_ } } ;`].join(" ")];Me(`Using pwsh at path: ${n}`),yield ls(`"${n}"`,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 '${s}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${s}', $true) }`].join(" ")],c=yield rt("powershell",!0);Me(`Using powershell at path: ${c}`),yield ls(`"${c}"`,a)}})}o(Fhe,"extractZipWin");function Uhe(t,e){return Yn(this,void 0,void 0,function*(){let r=yield rt("unzip",!0),s=[t];$Q()||s.unshift("-q"),s.unshift("-o"),yield ls(`"${r}"`,s,{cwd:e})})}o(Uhe,"extractZipNix");function kg(t,e,r,s){return Yn(this,void 0,void 0,function*(){if(r=Ds.clean(r)||r,s=s||Tg.arch(),Me(`Caching tool ${e} ${r} ${s}`),Me(`source dir: ${t}`),!ar.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let n=yield Ghe(e,r,s);for(let i of ar.readdirSync(t)){let a=En.join(t,i);yield GG(a,n,{recursive:!0})}return Hhe(e,r,s),n})}o(kg,"cacheDir");function t$(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||Tg.arch(),!s$(e)){let n=qhe(t,r);e=zhe(n,e)}let s="";if(e){e=Ds.clean(e)||"";let n=En.join(Dg(),t,e,r);Me(`checking cache: ${n}`),ar.existsSync(n)&&ar.existsSync(`${n}.complete`)?(Me(`Found tool in cache ${t} ${e} ${r}`),s=n):Me("not found")}return s}o(t$,"find");function qhe(t,e){let r=[];e=e||Tg.arch();let s=En.join(Dg(),t);if(ar.existsSync(s)){let n=ar.readdirSync(s);for(let i of n)if(s$(i)){let a=En.join(s,i,e||"");ar.existsSync(a)&&ar.existsSync(`${a}.complete`)&&r.push(i)}}return r}o(qhe,"findAllVersions");function r$(t){return Yn(this,void 0,void 0,function*(){return t||(t=En.join(n$(),m0.randomUUID())),yield vs(t),t})}o(r$,"_createExtractFolder");function Ghe(t,e,r){return Yn(this,void 0,void 0,function*(){let s=En.join(Dg(),t,Ds.clean(e)||e,r||"");Me(`destination ${s}`);let n=`${s}.complete`;return yield Xl(s),yield Xl(n),yield vs(s),s})}o(Ghe,"_createToolPath");function Hhe(t,e,r){let n=`${En.join(Dg(),t,Ds.clean(e)||e,r||"")}.complete`;ar.writeFileSync(n,""),Me("finished caching tool")}o(Hhe,"_completeToolPath");function s$(t){let e=Ds.clean(t)||"";Me(`isExplicit: ${e}`);let r=Ds.valid(e)!=null;return Me(`explicit? ${r}`),r}o(s$,"isExplicitVersion");function zhe(t,e){let r="";Me(`evaluating ${t.length} versions`),t=t.sort((s,n)=>Ds.gt(s,n)?1:-1);for(let s=t.length-1;s>=0;s--){let n=t[s];if(Ds.satisfies(n,e)){r=n;break}}return r?Me(`matched: ${r}`):Me("match not found"),r}o(zhe,"evaluateVersions");function Dg(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,h0.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(Dg,"_getCacheDirectory");function n$(){let t=process.env.RUNNER_TEMP||"";return(0,h0.ok)(t,"Expected RUNNER_TEMP to be defined"),t}o(n$,"_getTempDirectory");function p0(t,e){let r=global[t];return r!==void 0?r:e}o(p0,"_getGlobal");var Sm=w(require("path"),1);var o$=w(require("os"),1);function Vd(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Vd,"toCommandValue");function a$(t,e,r){let s=new f0(t,e,r);process.stdout.write(s.toString()+o$.EOL)}o(a$,"issueCommand");var i$="::",f0=class{static{o(this,"Command")}constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=i$+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${Vhe(n)}`)}}return e+=`${i$}${$he(this.message)}`,e}};function $he(t){return Vd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o($he,"escapeData");function Vhe(t){return Vd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(Vhe,"escapeProperty");var l$=require("os"),Yd=require("fs");var g0=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{access:Yhe,appendFile:Jhe,writeFile:Whe}=Yd.promises,c$="GITHUB_STEP_SUMMARY";var E0=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return g0(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[c$];if(!e)throw new Error(`Unable to find environment variable for $${c$}. Check if your runtime environment supports job summaries.`);try{yield Yhe(e,Yd.constants.R_OK|Yd.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return g0(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?Whe:Jhe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return g0(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(l$.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:A}=a,d=c?"th":"td",p=Object.assign(Object.assign({},u&&{colspan:u}),A&&{rowspan:A});return this.wrap(d,l,p)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},a=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}addLink(e,r){let s=this.wrap("a",e,{href:r});return this.addRaw(s).addEOL()}},iHe=new E0;var y0=w(require("os"),1);var uHe=y0.default.platform(),AHe=y0.default.arch();var u$;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(u$||(u$={}));function _s(t){a$("debug",{},t)}o(_s,"debug");var ou=w(require("fs"),1);function I0(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,_s(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,_s(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,_s(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,_s(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,_s(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(I0,"getOptions");var Fg=w(require("path"),1);var su=w(require("path"),1),$o=w(require("assert"),1);var Vo=process.platform==="win32";function Xi(t){if(t=Ki(t),Vo&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=su.dirname(t);return Vo&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Ki(e)),e}o(Xi,"dirname");function Lg(t,e){if((0,$o.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,$o.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Jd(e))return e;if(Vo){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,$o.default)(r.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${r}'`),e[0].toUpperCase()===r[0].toUpperCase()?e.length===2?`${e[0]}:\\${r.substr(3)}`:(r.endsWith("\\")||(r+="\\"),`${e[0]}:\\${r.substr(3)}${e.substr(2)}`):`${e[0]}:\\${e.substr(2)}`}else if(yn(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,$o.default)(r.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${r}'`),`${r[0]}:\\${e.substr(1)}`}}return(0,$o.default)(Jd(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||Vo&&t.endsWith("\\")||(t+=su.sep),t+e}o(Lg,"ensureAbsoluteRoot");function Jd(t){return(0,$o.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=yn(t),Vo?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(Jd,"hasAbsoluteRoot");function Wd(t){return(0,$o.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=yn(t),Vo?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(Wd,"hasRoot");function yn(t){return t=t||"",Vo?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(yn,"normalizeSeparators");function Ki(t){return t?(t=yn(t),!t.endsWith(su.sep)||t===su.sep||Vo&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(Ki,"safeTrimTrailingSeparator");var Cn;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(Cn||(Cn={}));var A$=process.platform==="win32";function w0(t){t=t.filter(s=>!s.negate);let e={};for(let s of t){let n=A$?s.searchPath.toUpperCase():s.searchPath;e[n]="candidate"}let r=[];for(let s of t){let n=A$?s.searchPath.toUpperCase():s.searchPath;if(e[n]==="included")continue;let i=!1,a=n,c=Xi(a);for(;c!==a;){if(e[c]){i=!0;break}a=c,c=Xi(a)}i||(r.push(s.searchPath),e[n]="included")}return r}o(w0,"getSearchPaths");function d$(t,e){let r=Cn.None;for(let s of t)s.negate?r&=~s.match(e):r|=s.match(e);return r}o(d$,"match");function p$(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(p$,"partialMatch");var P$=w(require("os"),1),iu=w(require("path"),1);var Wo=w(require("assert"),1);var b0=o((t,e,r)=>{let s=t instanceof RegExp?m$(t,r):t,n=e instanceof RegExp?m$(e,r):e,i=s!==null&&n!=null&&Zhe(s,n,r);return i&&{start:i[0],end:i[1],pre:r.slice(0,i[0]),body:r.slice(i[0]+s.length,i[1]),post:r.slice(i[1]+n.length)}},"balanced"),m$=o((t,e)=>{let r=e.match(t);return r?r[0]:null},"maybeMatch"),Zhe=o((t,e,r)=>{let s,n,i,a,c,l=r.indexOf(t),u=r.indexOf(e,l+1),A=l;if(l>=0&&u>0){if(t===e)return[l,u];for(s=[],i=r.length;A>=0&&!c;){if(A===l)s.push(A),l=r.indexOf(t,A+1);else if(s.length===1){let d=s.pop();d!==void 0&&(c=[d,u])}else n=s.pop(),n!==void 0&&n=0?l:u}s.length&&a!==void 0&&(c=[i,a])}return c},"range");var h$="\0SLASH"+Math.random()+"\0",f$="\0OPEN"+Math.random()+"\0",S0="\0CLOSE"+Math.random()+"\0",g$="\0COMMA"+Math.random()+"\0",E$="\0PERIOD"+Math.random()+"\0",efe=new RegExp(h$,"g"),tfe=new RegExp(f$,"g"),rfe=new RegExp(S0,"g"),sfe=new RegExp(g$,"g"),nfe=new RegExp(E$,"g"),ife=/\\\\/g,ofe=/\\{/g,afe=/\\}/g,cfe=/\\,/g,lfe=/\\\./g,ufe=1e5,Afe=4e6,dfe=1e3,pfe=1e3;function x0(t){return isNaN(t)?t.charCodeAt(0):parseInt(t,10)}o(x0,"numeric");function mfe(t){return t.replace(ife,h$).replace(ofe,f$).replace(afe,S0).replace(cfe,g$).replace(lfe,E$)}o(mfe,"escapeBraces");function hfe(t){return t.replace(efe,"\\").replace(tfe,"{").replace(rfe,"}").replace(sfe,",").replace(nfe,".")}o(hfe,"unescapeBraces");function Q0(t,e){for(let r=0;r=e}o(Cfe,"gte");function jd(t,e,r,s,n,i){let a=[],c=0;for(let l=0;l=s)return a;let A=t[l]+e+r[u];if(!(i&&!A)){if(c+A.length>n)return a;a.push(A),c+=A.length}}return a}o(jd,"combine");function Ife(t,e,r,s){let n=t.split(/\.\./),i=[];if(n[0]===void 0||n[1]===void 0)return i;let a=x0(n[0]),c=x0(n[1]),l=Math.max(n[0].length,n[1].length),u=n.length===3&&n[2]!==void 0?Math.max(Math.abs(x0(n[2])),1):1,A=yfe;c0){let E=new Array(C+1).join("0");h<0?f="-"+E+f.slice(1):f=E+f}}if(m+f.length>s)break;i.push(f),m+=f.length}return i}o(Ife,"expandSequence");function N0(t,e,r,s,n,i,a){if(n>s)return[t];let c=[""],l=0,u=!1,A=!0;for(;;){let d=b0("{","}",t);if(!d)return jd(c,t,[""],e,r,u);let p=d.pre;if(/\$$/.test(p)){if(c=jd(c,p+"{"+d.body+"}",[""],e,r,u&&!d.post.length),A=!1,!d.post.length)break;t=d.post;continue}let m=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(d.body),h=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(d.body),f=m||h,C=d.body.indexOf(",")>=0;if(!f&&!C){if(l=e||B+we.length>r)break e;E.push(we),B+=we.length}}}}if(c=jd(c,p,E,e,r,u&&!d.post.length),!d.post.length)break;t=d.post}return c}o(N0,"expand_");var Kd=o(t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},"assertValidPattern");var Bfe={"[: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]},Xd=o(t=>t.replace(/[[\]\\-]/g,"\\$&"),"braceEscape"),wfe=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regexpEscape"),C$=o(t=>t.join(""),"rangesToString"),I$=o((t,e)=>{let r=e;if(t.charAt(r)!=="[")throw new Error("not in a brace expression");let s=[],n=[],i=r+1,a=!1,c=!1,l=!1,u=!1,A=r,d="";e:for(;id?s.push(Xd(d)+"-"+Xd(f)):f===d&&s.push(Xd(f)),d="",i++;continue}if(t.startsWith("-]",i+1)){s.push(Xd(f+"-")),i+=2;continue}if(t.startsWith("-",i+1)){d=f,i+=2;continue}s.push(Xd(f)),i++}if(Ar?e?t.replace(/\[([^/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^/\\])\]/g,"$1$2").replace(/\\([^/])/g,"$1"):e?t.replace(/\[([^/\\{}])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^/\\{}])\]/g,"$1$2").replace(/\\([^/{}])/g,"$1"),"unescape");var Mr,bfe=new Set(["!","?","+","*","@"]),R0=o(t=>bfe.has(t),"isExtglobType"),B$=o(t=>R0(t.type),"isExtglobAST"),xfe=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),Qfe=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),Nfe=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),w$=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),Sfe="(?!(?:^|/)\\.\\.?(?:$|/))",Mg="(?!\\.)",Rfe=new Set(["[","."]),Tfe=new Set(["..","."]),vfe=new Set("().*{}+?[]^$\\!"),Pfe=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),T0="[^/]",b$=T0+"*?",x$=T0+"+?",kfe=0,sc=class{static{o(this,"AST")}type;#e;#t;#s=!1;#r=[];#n;#i;#o;#a=!1;#l;#c;#u=!1;id=++kfe;get depth(){return(this.#n?.depth??-1)+1}[Symbol.for("nodejs.util.inspect.custom")](){return{"@@type":"AST",id:this.id,type:this.type,root:this.#e.id,parent:this.#n?.id,depth:this.depth,partsLength:this.#r.length,parts:this.#r}}constructor(e,r,s={}){this.type=e,e&&(this.#t=!0),this.#n=r,this.#e=this.#n?this.#n.#e:this,this.#l=this.#e===this?s:this.#e.#l,this.#o=this.#e===this?[]:this.#e.#o,e==="!"&&!this.#e.#a&&this.#o.push(this),this.#i=this.#n?this.#n.#r.length:0}get hasMagic(){if(this.#t!==void 0)return this.#t;for(let e of this.#r)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#t=!0;return this.#t}toString(){return this.#c!==void 0?this.#c:this.type?this.#c=this.type+"("+this.#r.map(e=>String(e)).join("|")+")":this.#c=this.#r.map(e=>String(e)).join("")}#g(){if(this!==this.#e)throw new Error("should only call on root");if(this.#a)return this;this.toString(),this.#a=!0;let e;for(;e=this.#o.pop();){if(e.type!=="!")continue;let r=e,s=r.#n;for(;s;){for(let n=r.#i+1;!s.type&&ntypeof r=="string"?r:r.toJSON()):[this.type,...this.#r.map(r=>r.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#a&&this.#n?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#n?.isStart())return!1;if(this.#i===0)return!0;let e=this.#n;for(let r=0;rtypeof m!="string"),u=this.#r.map(m=>{let[h,f,C,E]=typeof m=="string"?Mr.#w(m,this.#t,l):m.toRegExpSource(e);return this.#t=this.#t||C,this.#s=this.#s||E,h}).join(""),A="";if(this.isStart()&&typeof this.#r[0]=="string"&&!(this.#r.length===1&&Tfe.has(this.#r[0]))){let h=Rfe,f=r&&h.has(u.charAt(0))||u.startsWith("\\.")&&h.has(u.charAt(2))||u.startsWith("\\.\\.")&&h.has(u.charAt(4)),C=!r&&!e&&h.has(u.charAt(0));A=f?Sfe:C?Mg:""}let d="";return this.isEnd()&&this.#e.#a&&this.#n?.type==="!"&&(d="(?:$|\\/)"),[A+u+d,Yo(u),this.#t=!!this.#t,this.#s]}let s=this.type==="*"||this.type==="+",n=this.type==="!"?"(?:(?!(?:":"(?:",i=this.#f(r);if(this.isStart()&&this.isEnd()&&!i&&this.type!=="!"){let l=this.toString(),u=this;return u.#r=[l],u.type=null,u.#t=void 0,[l,Yo(this.toString()),!1,!1]}let a=!s||e||r||!Mg?"":this.#f(!0);a===i&&(a=""),a&&(i=`(?:${i})(?:${a})*?`);let c="";if(this.type==="!"&&this.#u)c=(this.isStart()&&!r?Mg:"")+x$;else{let l=this.type==="!"?"))"+(this.isStart()&&!r&&!e?Mg:"")+b$+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;c=n+i+l}return[c,Yo(i),this.#t=!!this.#t,this.#s]}#p(){if(B$(this)){let e=0,r=!1;do{r=!0;for(let s=0;s{if(typeof r=="string")throw new Error("string type in extglob ast??");let[s,n,i,a]=r.toRegExpSource(e);return this.#s=this.#s||a,s}).filter(r=>!(this.isStart()&&this.isEnd())||!!r).join("|")}static#w(e,r,s=!1){let n=!1,i="",a=!1,c=!1;for(let l=0;lr?e?t.replace(/[?*()[\]{}]/g,"[$&]"):t.replace(/[?*()[\]\\{}]/g,"\\$&"):e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),"escape");var Er=o((t,e,r={})=>(Kd(e),!r.nocomment&&e.charAt(0)==="#"?!1:new Jo(e,r).match(t)),"minimatch"),Dfe=/^\*+([^+@!?*[(]*)$/,_fe=o(t=>e=>!e.startsWith(".")&&e.endsWith(t),"starDotExtTest"),Lfe=o(t=>e=>e.endsWith(t),"starDotExtTestDot"),Mfe=o(t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),"starDotExtTestNocase"),Ofe=o(t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),"starDotExtTestNocaseDot"),Ffe=/^\*+\.\*+$/,Ufe=o(t=>!t.startsWith(".")&&t.includes("."),"starDotStarTest"),qfe=o(t=>t!=="."&&t!==".."&&t.includes("."),"starDotStarTestDot"),Gfe=/^\.\*+$/,Hfe=o(t=>t!=="."&&t!==".."&&t.startsWith("."),"dotStarTest"),zfe=/^\*+$/,$fe=o(t=>t.length!==0&&!t.startsWith("."),"starTest"),Vfe=o(t=>t.length!==0&&t!=="."&&t!=="..","starTestDot"),Yfe=/^\?+([^+@!?*[(]*)?$/,Jfe=o(([t,e=""])=>{let r=S$([t]);return e?(e=e.toLowerCase(),s=>r(s)&&s.toLowerCase().endsWith(e)):r},"qmarksTestNocase"),Wfe=o(([t,e=""])=>{let r=R$([t]);return e?(e=e.toLowerCase(),s=>r(s)&&s.toLowerCase().endsWith(e)):r},"qmarksTestNocaseDot"),jfe=o(([t,e=""])=>{let r=R$([t]);return e?s=>r(s)&&s.endsWith(e):r},"qmarksTestDot"),Kfe=o(([t,e=""])=>{let r=S$([t]);return e?s=>r(s)&&s.endsWith(e):r},"qmarksTest"),S$=o(([t])=>{let e=t.length;return r=>r.length===e&&!r.startsWith(".")},"qmarksTestNoExt"),R$=o(([t])=>{let e=t.length;return r=>r.length===e&&r!=="."&&r!==".."},"qmarksTestNoExtDot"),T$=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",Q$={win32:{sep:"\\"},posix:{sep:"/"}},Xfe=T$==="win32"?Q$.win32.sep:Q$.posix.sep;Er.sep=Xfe;var cr=Symbol("globstar **");Er.GLOBSTAR=cr;var Zfe="[^/]",ege=Zfe+"*?",tge="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",rge="(?:(?!(?:\\/|^)\\.).)*?",sge=o((t,e={})=>r=>Er(r,t,e),"filter");Er.filter=sge;var Ls=o((t,e={})=>Object.assign({},t,e),"ext"),nge=o(t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return Er;let e=Er;return Object.assign(o((s,n,i={})=>e(s,n,Ls(t,i)),"m"),{Minimatch:class extends e.Minimatch{static{o(this,"Minimatch")}constructor(n,i={}){super(n,Ls(t,i))}static defaults(n){return e.defaults(Ls(t,n)).Minimatch}},AST:class extends e.AST{static{o(this,"AST")}constructor(n,i,a={}){super(n,i,Ls(t,a))}static fromGlob(n,i={}){return e.AST.fromGlob(n,Ls(t,i))}},unescape:o((s,n={})=>e.unescape(s,Ls(t,n)),"unescape"),escape:o((s,n={})=>e.escape(s,Ls(t,n)),"escape"),filter:o((s,n={})=>e.filter(s,Ls(t,n)),"filter"),defaults:o(s=>e.defaults(Ls(t,s)),"defaults"),makeRe:o((s,n={})=>e.makeRe(s,Ls(t,n)),"makeRe"),braceExpand:o((s,n={})=>e.braceExpand(s,Ls(t,n)),"braceExpand"),match:o((s,n,i={})=>e.match(s,n,Ls(t,i)),"match"),sep:e.sep,GLOBSTAR:cr})},"defaults");Er.defaults=nge;var v$=o((t,e={})=>(Kd(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:y$(t,{max:e.braceExpandMax})),"braceExpand");Er.braceExpand=v$;var ige=o((t,e={})=>new Jo(t,e).makeRe(),"makeRe");Er.makeRe=ige;var oge=o((t,e,r={})=>{let s=new Jo(e,r);return t=t.filter(n=>s.match(n)),s.options.nonull&&!t.length&&t.push(e),t},"match");Er.match=oge;var N$=/[?*]|[+@!]\(.*?\)|\[|\]/,age=o(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"regExpEscape"),Jo=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={}){Kd(e),r=r||{},this.options=r,this.maxGlobstarRecursion=r.maxGlobstarRecursion??200,this.pattern=e,this.platform=r.platform||T$,this.isWindows=this.platform==="win32";let s="allowWindowsEscape";this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r[s]===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!r.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!r.nonegate,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=r.windowsNoMagicRoot!==void 0?r.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let r of e)if(typeof r!="string")return!0;return!1}debug(...e){}make(){let e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],r.debug&&(this.debug=(...i)=>console.error(...i)),this.debug(this.pattern,this.globSet);let s=this.globSet.map(i=>this.slashSplit(i));this.globParts=this.preprocess(s),this.debug(this.pattern,this.globParts);let n=this.globParts.map((i,a,c)=>{if(this.isWindows&&this.windowsNoMagicRoot){let l=i[0]===""&&i[1]===""&&(i[2]==="?"||!N$.test(i[2]))&&!N$.test(i[3]),u=/^[a-z]:/i.test(i[0]);if(l)return[...i.slice(0,4),...i.slice(4).map(A=>this.parse(A))];if(u)return[i[0],...i.slice(1).map(A=>this.parse(A))]}return i.map(l=>this.parse(l))});if(this.debug(this.pattern,n),this.set=n.filter(i=>i.indexOf(!1)===-1),this.isWindows)for(let i=0;i=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):r>=1?e=this.levelOneOptimize(e):e=this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(r=>{let s=-1;for(;(s=r.indexOf("**",s+1))!==-1;){let n=s;for(;r[n+1]==="**";)n++;n!==s&&r.splice(s,n-s)}return r})}levelOneOptimize(e){return e.map(r=>(r=r.reduce((s,n)=>{let i=s[s.length-1];return n==="**"&&i==="**"?s:n===".."&&i&&i!==".."&&i!=="."&&i!=="**"?(s.pop(),s):(s.push(n),s)},[]),r.length===0?[""]:r))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let n=1;nn&&s.splice(n+1,a-n);let c=s[n+1],l=s[n+2],u=s[n+3];if(c!==".."||!l||l==="."||l===".."||!u||u==="."||u==="..")continue;r=!0,s.splice(n,1);let A=s.slice(0);A[n]="**",e.push(A),n--}if(!this.preserveMultipleSlashes){for(let a=1;ar.length)}partsMatch(e,r,s=!1){let n=0,i=0,a=[],c="";for(;n=2&&(e=this.levelTwoFileOptimize(e)),r.includes(cr)?this.#e(e,r,s,n,i):this.#s(e,r,s,n,i)}#e(e,r,s,n,i){let a=r.indexOf(cr,i),c=r.lastIndexOf(cr),[l,u,A]=s?[r.slice(i,a),r.slice(a+1),[]]:[r.slice(i,a),r.slice(a+1,c),r.slice(c+1)];if(l.length){let y=e.slice(n,n+l.length);if(!this.#s(y,l,s,0,0))return!1;n+=l.length,i+=l.length}let d=0;if(A.length){if(A.length+n>e.length)return!1;let y=e.length-A.length;if(this.#s(e,A,s,y,0))d=A.length;else{if(e[e.length-1]!==""||n+A.length===e.length||(y--,!this.#s(e,A,s,y,0)))return!1;d=A.length+1}}if(!u.length){let y=!!d;for(let I=n;I{let u=l.map(d=>{if(d instanceof RegExp)for(let p of d.flags.split(""))n.add(p);return typeof d=="string"?age(d):d===cr?cr:d._src});u.forEach((d,p)=>{let m=u[p+1],h=u[p-1];d!==cr||h===cr||(h===void 0?m!==void 0&&m!==cr?u[p+1]="(?:\\/|"+s+"\\/)?"+m:u[p]=s:m===void 0?u[p-1]=h+"(?:\\/|\\/"+s+")?":m!==cr&&(u[p-1]=h+"(?:\\/|\\/"+s+"\\/)"+m,u[p+1]=cr))});let A=u.filter(d=>d!==cr);if(this.partial&&A.length>=1){let d=[];for(let p=1;p<=A.length;p++)d.push(A.slice(0,p).join("/"));return"(?:"+d.join("|")+")"}return A.join("/")}).join("|"),[a,c]=e.length>1?["(?:",")"]:["",""];i="^"+a+i+c+"$",this.partial&&(i="^(?:\\/|"+a+i.slice(1,-1)+c+")$"),this.negate&&(i="^(?!"+i+").+$");try{this.regexp=new RegExp(i,[...n].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,r=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;let s=this.options;this.isWindows&&(e=e.split("\\").join("/"));let n=this.slashSplit(e);this.debug(this.pattern,"split",n);let i=this.set;this.debug(this.pattern,"set",i);let a=n[n.length-1];if(!a)for(let c=n.length-2;!a&&c>=0;c--)a=n[c];for(let c of i){let l=n;if(s.matchBase&&c.length===1&&(l=[a]),this.matchOne(l,c,r))return s.flipNegate?!0:!this.negate}return s.flipNegate?!1:this.negate}static defaults(e){return Er.defaults(e).Minimatch}};Er.AST=sc;Er.Minimatch=Jo;Er.escape=v0;Er.unescape=Yo;var nc=w(require("path"),1);var nu=w(require("assert"),1);var cge=process.platform==="win32",ic=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,nu.default)(e,"Parameter 'itemPath' must not be empty"),e=Ki(e),!Wd(e))this.segments=e.split(nc.sep);else{let r=e,s=Xi(r);for(;s!==r;){let n=nc.basename(r);this.segments.unshift(n),r=s,s=Xi(r)}this.segments.unshift(r)}else{(0,nu.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 ic(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),Zi?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:Zi,nocomment:!0,noext:!0,nonegate:!0};i=Zi?i.replace(/\\/g,"/"):i,this.minimatch=new Jo(i,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=yn(e),!e.endsWith(iu.sep)&&this.isImplicitPattern===!1&&(e=`${e}${iu.sep}`)):e=Ki(e),this.minimatch.match(e)?this.trailingSeparator?Cn.Directory:Cn.All:Cn.None}partialMatch(e){return e=Ki(e),Xi(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Zi?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Zi?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,Wo.default)(e,"pattern cannot be empty");let s=new ic(e).segments.map(n=>t.getLiteral(n));if((0,Wo.default)(s.every((n,i)=>(n!=="."||i===0)&&n!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,Wo.default)(!Wd(e)||s[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=yn(e),e==="."||e.startsWith(`.${iu.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${iu.sep}`))r=r||P$.homedir(),(0,Wo.default)(r,"Unable to determine HOME directory"),(0,Wo.default)(Jd(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Zi&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let n=Lg("C:\\dummy-root",e.substr(0,2));e.length>2&&!n.endsWith("\\")&&(n+="\\"),e=t.globEscape(n)+e.substr(2)}else if(Zi&&(e==="\\"||e.match(/^\\[^\\]/))){let n=Lg("C:\\dummy-root","\\");n.endsWith("\\")||(n+="\\"),e=t.globEscape(n)+e.substr(1)}else e=Lg(t.globEscape(process.cwd()),e);return yn(e)}static getLiteral(e){let r="";for(let s=0;s=0){if(i.length>1)return"";if(i){r+=i,s=a;continue}}}}r+=n}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};var ep=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};var P0=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},lge=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),n(c,l,a.done,a.value)})}}function n(i,a,c,l){Promise.resolve(l).then(function(u){i({value:u,done:c})},a)}},jo=function(t){return this instanceof jo?(this.v=t,this):new jo(t)},uge=function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=r.apply(t,e||[]),n,i=[];return n=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),n[Symbol.asyncIterator]=function(){return this},n;function a(m){return function(h){return Promise.resolve(h).then(m,d)}}function c(m,h){s[m]&&(n[m]=function(f){return new Promise(function(C,E){i.push([m,f,C,E])>1||l(m,f)})},h&&(n[m]=h(n[m])))}function l(m,h){try{u(s[m](h))}catch(f){p(i[0][3],f)}}function u(m){m.value instanceof jo?Promise.resolve(m.value.v).then(A,d):p(i[0][2],m)}function A(m){l("next",m)}function d(m){l("throw",m)}function p(m,h){m(h),i.shift(),i.length&&l(i[0][0],i[0][1])}},Age=process.platform==="win32",Og=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=I0(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return P0(this,void 0,void 0,function*(){var e,r,s,n;let i=[];try{for(var a=!0,c=lge(this.globGenerator()),l;l=yield c.next(),e=l.done,!e;a=!0){n=l.value,a=!1;let u=n;i.push(u)}}catch(u){r={error:u}}finally{try{!a&&!e&&(s=c.return)&&(yield s.call(c))}finally{if(r)throw r.error}}return i})}globGenerator(){return uge(this,arguments,o(function*(){let r=I0(this.options),s=[];for(let a of this.patterns)s.push(a),r.implicitDescendants&&(a.trailingSeparator||a.segments[a.segments.length-1]!=="**")&&s.push(new Zd(a.negate,!0,a.segments.concat("**")));let n=[];for(let a of w0(s)){_s(`Search path '${a}'`);try{yield jo(ou.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}n.unshift(new ep(a,1))}let i=[];for(;n.length;){let a=n.pop(),c=d$(s,a.path),l=!!c||p$(s,a.path);if(!c&&!l)continue;let u=yield jo(t.stat(a,r,i));if(u&&!(r.excludeHiddenFiles&&Fg.basename(a.path).match(/^\./)))if(u.isDirectory()){if(c&Cn.Directory&&r.matchDirectories)yield yield jo(a.path);else if(!l)continue;let A=a.level+1,d=(yield jo(ou.promises.readdir(a.path))).map(p=>new ep(Fg.join(a.path,p),A));n.push(...d.reverse())}else c&Cn.File&&(yield yield jo(a.path))}},"globGenerator_1"))}static create(e,r){return P0(this,void 0,void 0,function*(){let s=new t(r);Age&&(e=e.replace(/\r\n/g,` `),e=e.replace(/\r/g,` `));let n=e.split(` `).map(i=>i.trim());for(let i of n)!i||i.startsWith("#")||s.patterns.push(new Zd(i));return s.searchPaths.push(...w0(s.patterns)),s})}static stat(e,r,s){return P0(this,void 0,void 0,function*(){let n;if(r.followSymbolicLinks)try{n=yield ou.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){_s(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw i}else n=yield ou.promises.lstat(e.path);if(n.isDirectory()&&r.followSymbolicLinks){let i=yield ou.promises.realpath(e.path);for(;s.length>=e.level;)s.pop();if(s.some(a=>a===i)){_s(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}s.push(i)}return n})}};var dge=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function k$(t,e){return dge(this,void 0,void 0,function*(){return yield Og.create(t,e)})}o(k$,"create");var tE=w(require("crypto"),1),uu=w(require("fs"),1),oc=w(require("path"),1),QY=w(bY(),1),NY=w(require("util"),1);var op;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(op||(op={}));var Cr;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(Cr||(Cr={}));var us;(function(t){t.GNU="gnu",t.BSD="bsd"})(us||(us={}));var Xg=2,Zg=5e3,Z0=5e3,eN=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,xY=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,ap="cache.tar",tN="manifest.txt",AVe=10*Math.pow(1024,3),eE="cache read denied:";var lu=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},ICe=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),n(c,l,a.done,a.value)})}}function n(i,a,c,l){Promise.resolve(l).then(function(u){i({value:u,done:c})},a)}},BCe="1.0";function ac(){return lu(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let s;t?s=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?s="/Users":s="/home",e=oc.join(s,"actions","temp")}let r=oc.join(e,tE.randomUUID());return yield vs(r),r})}o(ac,"createTempDirectory");function Wn(t){return uu.statSync(t).size}o(Wn,"getArchiveFileSizeInBytes");function rN(t){return lu(this,void 0,void 0,function*(){var e,r,s,n,i;let a=[],c=(i=process.env.GITHUB_WORKSPACE)!==null&&i!==void 0?i:process.cwd(),l=yield k$(t.join(` `),{implicitDescendants:!1});try{for(var u=!0,A=ICe(l.globGenerator()),d;d=yield A.next(),e=d.done,!e;u=!0){n=d.value,u=!1;let m=oc.relative(c,n).replace(new RegExp(`\\${oc.sep}`,"g"),"/");b(`Matched: ${m}`),m===""?a.push("."):a.push(`${m}`)}}catch(p){r={error:p}}finally{try{!u&&!e&&(s=A.return)&&(yield s.call(A))}finally{if(r)throw r.error}}return a})}o(rN,"resolvePaths");function cp(t){return lu(this,void 0,void 0,function*(){return NY.promisify(uu.unlink)(t)})}o(cp,"unlinkFile");function SY(t){return lu(this,arguments,void 0,function*(e,r=[]){let s="";r.push("--version"),b(`Checking ${e} ${r.join(" ")}`);try{yield ls(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(n=>s+=n.toString(),"stdout"),stderr:o(n=>s+=n.toString(),"stderr")}})}catch(n){b(n.message)}return s=s.trim(),b(s),s})}o(SY,"getVersion");function lp(){return lu(this,void 0,void 0,function*(){let t=yield SY("zstd",["--quiet"]),e=QY.clean(t);return b(`zstd version: ${e}`),t===""?Cr.Gzip:Cr.ZstdWithoutLong})}o(lp,"getCompressionMethod");function Xo(t){return t===Cr.Gzip?op.Gzip:op.Zstd}o(Xo,"getCacheFileName");function RY(){return lu(this,void 0,void 0,function*(){return uu.existsSync(eN)?eN:(yield SY("tar")).toLowerCase().includes("gnu tar")?rt("tar"):""})}o(RY,"getGnuTarPathOnWindows");function sN(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(sN,"assertDefined");function Au(t,e,r=!1){let s=t.slice();return e&&s.push(e),process.platform==="win32"&&!r&&s.push("windows-only"),s.push(BCe),tE.createHash("sha256").update(s.join("|")).digest("hex")}o(Au,"getCacheVersion");function TY(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(TY,"getRuntimeToken");var Ap=w(require("http"),1),oN=w(require("https"),1);function nN(t){let e=t.protocol==="https:";if(wCe(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 sE(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new sE(`http://${r}`)}else return}o(nN,"getProxyUrl");function wCe(t){if(!t.hostname)return!1;let e=t.hostname;if(bCe(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(wCe,"checkBypass");function bCe(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(bCe,"isLoopbackAddress");var sE=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 Zo=w(NA(),1),vY=w(Wl(),1);var ft=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},nt;(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"})(nt||(nt={}));var Ir;(function(t){t.Accept="accept",t.ContentType="content-type"})(Ir||(Ir={}));var eo;(function(t){t.ApplicationJson="application/json"})(eo||(eo={}));var QCe=[nt.MovedPermanently,nt.ResourceMoved,nt.SeeOther,nt.TemporaryRedirect,nt.PermanentRedirect],NCe=[nt.BadGateway,nt.ServiceUnavailable,nt.GatewayTimeout],SCe=["OPTIONS","GET","DELETE","HEAD"],RCe=10,TCe=5,jn=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},iN=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return ft(this,void 0,void 0,function*(){return new Promise(e=>ft(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return ft(this,void 0,void 0,function*(){return new Promise(e=>ft(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var to=class{static{o(this,"HttpClient")}constructor(e,r,s){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return ft(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return ft(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return ft(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return ft(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return ft(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return ft(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return ft(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return ft(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return ft(this,arguments,void 0,function*(r,s={}){s[Ir.Accept]=this._getExistingOrDefaultHeader(s,Ir.Accept,eo.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return ft(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Ir.Accept]=this._getExistingOrDefaultHeader(i,Ir.Accept,eo.ApplicationJson),i[Ir.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,eo.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return ft(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Ir.Accept]=this._getExistingOrDefaultHeader(i,Ir.Accept,eo.ApplicationJson),i[Ir.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,eo.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return ft(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Ir.Accept]=this._getExistingOrDefaultHeader(i,Ir.Accept,eo.ApplicationJson),i[Ir.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,eo.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return ft(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),a=this._prepareRequest(e,i,n),c=this._allowRetries&&SCe.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===nt.Unauthorized){let d;for(let p of this.handlers)if(p.canHandleAuthentication(u)){d=p;break}return d?d.handleAuthentication(this,a,s):u}let A=this._maxRedirects;for(;u.message.statusCode&&QCe.includes(u.message.statusCode)&&this._allowRedirects&&A>0;){let d=u.message.headers.location;if(!d)break;let p=new URL(d);if(i.protocol==="https:"&&i.protocol!==p.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield u.readBody(),p.hostname!==i.hostname)for(let m in n)m.toLowerCase()==="authorization"&&delete n[m];a=this._prepareRequest(e,p,n),u=yield this.requestRaw(a,s),A--}if(!u.message.statusCode||!NCe.includes(u.message.statusCode))return u;l+=1,l{function i(a,c){a?n(a):c?s(c):n(new Error("Unknown error"))}o(i,"callbackForResult"),this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(l,u){n||(n=!0,s(l,u))}o(i,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new iN(l);i(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){i(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),s=nN(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?oN:Ap;let a=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},up(this.requestOptions.headers),up(e||{})):up(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=up(this.requestOptions.headers)[r];a&&(n=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=up(this.requestOptions.headers)[Ir.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[Ir.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=nN(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||Ap.globalAgent.maxSockets),s&&s.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},l,u=s.protocol==="https:";i?l=u?Zo.httpsOverHttps:Zo.httpsOverHttp:l=u?Zo.httpOverHttps:Zo.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new oN.Agent(c):new Ap.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new vY.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return ft(this,void 0,void 0,function*(){e=Math.min(RCe,e);let r=TCe*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return ft(this,void 0,void 0,function*(){return new Promise((s,n)=>ft(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===nt.NotFound&&s(a);function c(A,d){if(typeof d=="string"){let p=new Date(d);if(!isNaN(p.valueOf()))return p}return d}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let A;l&&l.message?A=l.message:u&&u.length>0?A=u:A=`Failed request: (${i})`;let d=new jn(A,i);d.result=a.result,n(d)}else s(a)}))})}},up=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var vCe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};var du=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 vCe(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var Hu=w(require("fs"),1),Z8=require("url");var Kn=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var PY=require("node:os"),kY=w(require("node:util"),1),DY=w(require("node:process"),1);function _Y(t,...e){DY.default.stderr.write(`${kY.default.format(t,...e)}${PY.EOL}`)}o(_Y,"log");var LY=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,OY,aN=[],cN=[],nE=[];LY&&lN(LY);var FY=Object.assign(t=>UY(t),{enable:lN,enabled:uN,disable:PCe,log:_Y});function lN(t){OY=t,aN=[],cN=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?cN.push(r.substring(1)):aN.push(r);for(let r of nE)r.enabled=uN(r.namespace)}o(lN,"enable");function uN(t){if(t.endsWith("*"))return!0;for(let e of cN)if(MY(t,e))return!1;for(let e of aN)if(MY(t,e))return!0;return!1}o(uN,"enabled");function MY(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let p=[],m="";for(let h of e)h==="*"&&m==="*"||(m=h,p.push(h));r=p.join("")}let s=0,n=0,i=r.length,a=t.length,c=-1,l=-1;for(;s=0){if(n=c+1,s=l+1,s===a)return!1;for(;t[s]!==r[n];)if(s++,s===a)return!1;l=s,s++,n++;continue}else return!1;let u=s===t.length,A=n===r.length,d=n===r.length-1&&r[n]==="*";return u&&(A||d)}o(MY,"namespaceMatches");function PCe(){let t=OY||"";return lN(""),t}o(PCe,"disable");function UY(t){let e=Object.assign(r,{enabled:uN(t),destroy:kCe,log:FY.log,namespace:t,extend:DCe});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return o(r,"debug"),nE.push(e),e}o(UY,"createDebugger");function kCe(){let t=nE.indexOf(this);return t>=0?(nE.splice(t,1),!0):!1}o(kCe,"destroy");function DCe(t){let e=UY(`${this.namespace}:${t}`);return e.log=this.log,e}o(DCe,"extend");var pu=FY;var AN=["verbose","info","warning","error"],qY={verbose:400,info:300,warning:200,error:100};function GY(t,e){e.log=(...r)=>{t.log(...r)}}o(GY,"patchLogMethod");function HY(t){return AN.includes(t)}o(HY,"isTypeSpecRuntimeLogLevel");function iE(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,s,n=pu(t.namespace);n.log=(...A)=>{pu.log(...A)};function i(A){if(A&&!HY(A))throw new Error(`Unknown log level '${A}'. Acceptable values: ${AN.join(",")}`);s=A;let d=[];for(let p of e)a(p)&&d.push(p.namespace);pu.enable(d.join(","))}o(i,"contextSetLogLevel"),r&&(HY(r)?i(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${AN.join(", ")}.`));function a(A){return!!(s&&qY[A.level]<=qY[s])}o(a,"shouldEnable");function c(A,d){let p=Object.assign(A.extend(d),{level:d});if(GY(A,p),a(p)){let m=pu.disable();pu.enable(m+","+p.namespace)}return e.add(p),p}o(c,"createLogger");function l(){return s}o(l,"contextGetLogLevel");function u(A){let d=n.extend(A);return GY(n,d),{error:c(d,"error"),warning:c(d,"warning"),info:c(d,"info"),verbose:c(d,"verbose")}}return o(u,"contextCreateClientLogger"),{setLogLevel:i,getLogLevel:l,createClientLogger:u,logger:n}}o(iE,"createLoggerContext");var zY=iE({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),_Ce=zY.logger;function dp(t){return zY.createClientLogger(t)}o(dp,"createClientLogger");function oE(t){return t.toLowerCase()}o(oE,"normalizeName");function*LCe(t){for(let e of t.values())yield[e.name,e.value]}o(LCe,"headerIterator");var dN=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(oE(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(oE(e))?.value}has(e){return this._headersMap.has(oE(e))}delete(e){this._headersMap.delete(oE(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let s of this._headersMap.values())r[s.name]=s.value;else for(let[s,n]of this._headersMap)r[s]=n.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return LCe(this._headersMap)}};function As(t){return new dN(t)}o(As,"createHttpHeaders");function cc(){return crypto.randomUUID()}o(cc,"randomUUID");var pN=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??As(),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||cc(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function aE(t){return new pN(t)}o(aE,"createPipelineRequest");var $Y=new Set(["Deserialize","Serialize","Retry","Sign"]),mN=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&&!$Y.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!$Y.has(r.afterPhase))throw new Error(`Invalid afterPhase name: ${r.afterPhase}`);this._policies.push({policy:e,options:r}),this._orderedPolicies=void 0}removePolicy(e){let r=[];return this._policies=this._policies.filter(s=>e.name&&s.policy.name===e.name||e.phase&&s.options.phase===e.phase?(r.push(s.policy),!1):!0),this._orderedPolicies=void 0,r}sendRequest(e,r){return this.getOrderedPolicies().reduceRight((i,a)=>c=>a.sendRequest(c,i),i=>e.sendRequest(i))(r)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new t(this._policies)}static create(){return new t}orderPolicies(){let e=[],r=new Map;function s(h){return{name:h,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}o(s,"createPhase");let n=s("Serialize"),i=s("None"),a=s("Deserialize"),c=s("Retry"),l=s("Sign"),u=[n,i,a,c,l];function A(h){return h==="Retry"?c:h==="Serialize"?n:h==="Deserialize"?a:h==="Sign"?l:i}o(A,"getPhase");for(let h of this._policies){let f=h.policy,C=h.options,E=f.name;if(r.has(E))throw new Error("Duplicate policy names not allowed in pipeline");let y={policy:f,dependsOn:new Set,dependants:new Set};C.afterPhase&&(y.afterPhase=A(C.afterPhase),y.afterPhase.hasAfterPolicies=!0),r.set(E,y),A(C.phase).policies.add(y)}for(let h of this._policies){let{policy:f,options:C}=h,E=f.name,y=r.get(E);if(!y)throw new Error(`Missing node for policy ${E}`);if(C.afterPolicies)for(let I of C.afterPolicies){let B=r.get(I);B&&(y.dependsOn.add(B),B.dependants.add(y))}if(C.beforePolicies)for(let I of C.beforePolicies){let B=r.get(I);B&&(B.dependsOn.add(y),y.dependants.add(B))}}function d(h){h.hasRun=!0;for(let f of h.policies)if(!(f.afterPhase&&(!f.afterPhase.hasRun||f.afterPhase.policies.size))&&f.dependsOn.size===0){e.push(f.policy);for(let C of f.dependants)C.dependsOn.delete(f);r.delete(f.policy.name),h.policies.delete(f)}}o(d,"walkPhase");function p(){for(let h of u){if(d(h),h.policies.size>0&&h!==i){i.hasRun||d(i);return}h.hasAfterPolicies&&d(i)}}o(p,"walkPhases");let m=0;for(;r.size>0;){m++;let h=e.length;if(p(),e.length<=h&&m>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function cE(){return mN.create()}o(cE,"createEmptyPipeline");function mu(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(mu,"isObject");function lc(t){if(mu(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(lc,"isError");var VY=require("node:util"),YY=VY.inspect.custom;var hN="REDACTED",MCe=["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"],OCe=["api-version"],In=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=MCe.concat(e),r=OCe.concat(r),this.allowedHeaderNames=new Set(e.map(s=>s.toLowerCase())),this.allowedQueryParameters=new Set(r.map(s=>s.toLowerCase()))}sanitize(e){let r=new Set;return JSON.stringify(e,(s,n)=>{if(n instanceof Error)return{...n,name:n.name,message:n.message};if(s==="headers")return this.sanitizeHeaders(n);if(s==="url")return this.sanitizeUrl(n);if(s==="query")return this.sanitizeQuery(n);if(s==="body")return;if(s==="response")return;if(s==="operationSpec")return;if(Array.isArray(n)||mu(n)){if(r.has(n))return"[Circular]";r.add(n)}return n},2)}sanitizeUrl(e){if(typeof e!="string"||e===null||e==="")return e;let r=new URL(e);if(!r.search)return e;for(let[s]of r.searchParams)this.allowedQueryParameters.has(s.toLowerCase())||r.searchParams.set(s,hN);return r.toString()}sanitizeHeaders(e){let r={};for(let s of Object.keys(e))this.allowedHeaderNames.has(s.toLowerCase())?r[s]=e[s]:r[s]=hN;return r}sanitizeQuery(e){if(typeof e!="object"||e===null)return e;let r={};for(let s of Object.keys(e))this.allowedQueryParameters.has(s.toLowerCase())?r[s]=e[s]:r[s]=hN;return r}};var FCe=new In,Br=class t extends Error{static{o(this,"RestError")}static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,r={}){super(e),this.name="RestError",this.code=r.code,this.statusCode=r.statusCode,Object.defineProperty(this,"request",{value:r.request,enumerable:!1}),Object.defineProperty(this,"response",{value:r.response,enumerable:!1});let s=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,YY,{value:o(()=>`RestError: ${this.message} ${FCe.sanitize({...this,request:{...this.request,agent:s},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function lE(t){return t instanceof Br?!0:lc(t)&&t.name==="RestError"}o(lE,"isRestError");function Or(t,e){return Buffer.from(t,e)}o(Or,"stringToUint8Array");var uE=w(require("node:http"),1),AE=w(require("node:https"),1),fN=w(require("node:zlib"),1),WY=require("node:stream");var Fs=dp("ts-http-runtime");var UCe={};function pp(t){return t&&typeof t.pipe=="function"}o(pp,"isReadableStream");function JY(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(JY,"isStreamComplete");function jY(t){return t&&typeof t.byteLength=="number"}o(jY,"isArrayBuffer");var dE=class extends WY.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,s){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),s()}catch(n){s(n)}}constructor(e){super(),this.progressCallback=e}},gN=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,s;if(e.abortSignal){if(e.abortSignal.aborted)throw new Kn("The operation was aborted. Request has already been canceled.");s=o(u=>{u.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",s)}let n;e.timeout>0&&(n=setTimeout(()=>{let u=new In;Fs.info(`request to '${u.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let i=e.headers.get("Accept-Encoding"),a=i?.includes("gzip")||i?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let u=zCe(c);u!==null&&e.headers.set("Content-Length",u)}let l;try{if(c&&e.onUploadProgress){let h=e.onUploadProgress,f=new dE(h);f.on("error",C=>{Fs.error("Error in upload progress",C)}),pp(c)?c.pipe(f):f.end(c),c=f}let u=await this.makeRequest(e,r,c);n!==void 0&&clearTimeout(n);let A=qCe(u),p={status:u.statusCode??0,headers:A,request:e};if(e.method==="HEAD")return u.resume(),p;l=a?GCe(u,A):u;let m=e.onDownloadProgress;if(m){let h=new dE(m);h.on("error",f=>{Fs.error("Error in download progress",f)}),l.pipe(h),l=h}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(p.status)?p.readableStreamBody=l:p.bodyAsText=await HCe(l),p}finally{if(e.abortSignal&&s){let u=Promise.resolve();pp(c)&&(u=JY(c));let A=Promise.resolve();pp(l)&&(A=JY(l)),Promise.all([u,A]).then(()=>{s&&e.abortSignal?.removeEventListener("abort",s)}).catch(d=>{Fs.warning("Error when cleaning up abortListener on httpRequest",d)})}}}makeRequest(e,r,s){let n=new URL(e.url),i=n.protocol!=="https:";if(i&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,i),hostname:n.hostname,path:`${n.pathname}${n.search}`,port:n.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,u)=>{let A=i?uE.default.request(c,l):AE.default.request(c,l);A.once("error",d=>{u(new Br(d.message,{code:d.code??Br.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new Kn("The operation was aborted. Rejecting from abort signal callback while making request.");A.destroy(d),u(d)}),s&&pp(s)?s.pipe(A):s?typeof s=="string"||Buffer.isBuffer(s)?A.end(s):jY(s)?A.end(ArrayBuffer.isView(s)?Buffer.from(s.buffer):Buffer.from(s)):(Fs.error("Unrecognized body type",s),u(new Br("Unrecognized body type"))):A.end()})}getOrCreateAgent(e,r){let s=e.disableKeepAlive;if(r)return s?uE.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new uE.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(s&&!e.tlsSettings)return AE.default.globalAgent;let n=e.tlsSettings??UCe,i=this.cachedHttpsAgents.get(n);return i&&i.options.keepAlive===!s||(Fs.info("No cached TLS Agent exist, creating a new Agent"),i=new AE.default.Agent({keepAlive:!s,...n}),this.cachedHttpsAgents.set(n,i)),i}}};function qCe(t){let e=As();for(let r of Object.keys(t.headers)){let s=t.headers[r];Array.isArray(s)?s.length>0&&e.set(r,s[0]):s&&e.set(r,s)}return e}o(qCe,"getResponseHeaders");function GCe(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let s=fN.default.createGunzip();return t.pipe(s),s}else if(r==="deflate"){let s=fN.default.createInflate();return t.pipe(s),s}return t}o(GCe,"getDecodedResponseStream");function HCe(t){return new Promise((e,r)=>{let s=[];t.on("data",n=>{Buffer.isBuffer(n)?s.push(n):s.push(Buffer.from(n))}),t.on("end",()=>{e(Buffer.concat(s).toString("utf8"))}),t.on("error",n=>{n&&n?.name==="AbortError"?r(n):r(new Br(`Error reading response as text: ${n.message}`,{code:Br.PARSE_ERROR}))})})}o(HCe,"streamToText");function zCe(t){return t?Buffer.isBuffer(t)?t.length:pp(t)?null:jY(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(zCe,"getBodyLength");function KY(){return new gN}o(KY,"createNodeHttpClient");function pE(){return KY()}o(pE,"createDefaultHttpClient");var EN="logPolicy";function mE(t={}){let e=t.logger??Fs.info,r=new In({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:EN,async sendRequest(s,n){if(!e.enabled)return n(s);e(`Request: ${r.sanitize(s)}`);let i=await n(s);return e(`Response status code: ${i.status}`),e(`Headers: ${r.sanitize(i.headers)}`),i}}}o(mE,"logPolicy");var hE="redirectPolicy",XY=["GET","HEAD"];function fE(t={}){let{maxRetries:e=20}=t;return{name:hE,async sendRequest(r,s){let n=await s(r);return ZY(s,n,e)}}}o(fE,"redirectPolicy");async function ZY(t,e,r,s=0){let{request:n,status:i,headers:a}=e,c=a.get("location");if(c&&(i===300||i===301&&XY.includes(n.method)||i===302&&XY.includes(n.method)||i===303&&n.method==="POST"||i===307)&&s{let i,a,c=o(()=>n(new Kn(r?.abortErrorMsg?r?.abortErrorMsg:$Ce)),"rejectOnAbort"),l=o(()=>{r?.abortSignal&&a&&r.abortSignal.removeEventListener("abort",a)},"removeListeners");if(a=o(()=>(i&&clearTimeout(i),l(),c()),"onAborted"),r?.abortSignal&&r.abortSignal.aborted)return c();i=setTimeout(()=>{l(),s(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}o(rJ,"delay");function sJ(t,e){let r=t.headers.get(e);if(!r)return;let s=Number(r);if(!Number.isNaN(s))return s}o(sJ,"parseHeaderValueAsNumber");var yN="Retry-After",VCe=["retry-after-ms","x-ms-retry-after-ms",yN];function nJ(t){if(t&&[429,503].includes(t.status))try{for(let n of VCe){let i=sJ(t,n);if(i===0||i)return i*(n===yN?1e3:1)}let e=t.headers.get(yN);if(!e)return;let s=Date.parse(e)-Date.now();return Number.isFinite(s)?Math.max(0,s):void 0}catch{return}}o(nJ,"getRetryAfterInMs");function iJ(t){return Number.isFinite(nJ(t))}o(iJ,"isThrottlingRetryResponse");function CN(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=nJ(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(CN,"throttlingRetryStrategy");var YCe=1e3,JCe=1e3*64;function CE(t={}){let e=t.retryDelayInMs??YCe,r=t.maxRetryDelayInMs??JCe;return{name:"exponentialRetryStrategy",retry({retryCount:s,response:n,responseError:i}){let a=jCe(i),c=a&&t.ignoreSystemErrors,l=WCe(n),u=l&&t.ignoreHttpStatusCodes;return n&&(iJ(n)||!l)||u||c?{skipStrategy:!0}:i&&!a&&!l?{errorToThrow:i}:yE(s,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(CE,"exponentialRetryStrategy");function WCe(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(WCe,"isExponentialRetryResponse");function jCe(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(jCe,"isSystemError");var KCe=dp("ts-http-runtime retryPolicy"),XCe="retryPolicy";function Ac(t,e={maxRetries:3}){let r=e.logger||KCe;return{name:XCe,async sendRequest(s,n){let i,a,c=-1;e:for(;;){c+=1,i=void 0,a=void 0;try{r.info(`Retry ${c}: Attempting to send request`,s.requestId),i=await n(s),r.info(`Retry ${c}: Received a response from request`,s.requestId)}catch(l){if(r.error(`Retry ${c}: Received an error from request`,s.requestId),a=l,!l||a.name!=="RestError")throw l;i=a.response}if(s.abortSignal?.aborted)throw r.error(`Retry ${c}: Request aborted.`),new Kn;if(c>=(e.maxRetries??3)){if(r.info(`Retry ${c}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),a)throw a;if(i)return i;throw new Error("Maximum retries reached with no response or error to throw")}r.info(`Retry ${c}: Processing ${t.length} retry strategies.`);t:for(let l of t){let u=l.logger||r;u.info(`Retry ${c}: Processing retry strategy ${l.name}.`);let A=l.retry({retryCount:c,response:i,responseError:a});if(A.skipStrategy){u.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:d,retryAfterInMs:p,redirectTo:m}=A;if(d)throw u.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,d),d;if(p||p===0){u.info(`Retry ${c}: Retry strategy ${l.name} retries after ${p}`),await rJ(p,void 0,{abortSignal:s.abortSignal});continue e}if(m){u.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${m}`),s.url=m;continue e}}if(a)throw r.info("None of the retry strategies could work with the received error. Throwing it."),a;if(i)return r.info("None of the retry strategies could work with the received response. Returning it."),i}}}}o(Ac,"retryPolicy");var IN="defaultRetryPolicy";function IE(t={}){return{name:IN,sendRequest:Ac([CN(),CE(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(IE,"defaultRetryPolicy");var oJ=typeof window<"u"&&typeof window.document<"u",aJ=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),cJ=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",lJ=typeof Bun<"u"&&typeof Bun.version<"u",dc=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var uJ=typeof navigator<"u"&&navigator?.product==="ReactNative";var BN="formDataPolicy";function ZCe(t){let e={};for(let[r,s]of t.entries())e[r]??=[],e[r].push(s);return e}o(ZCe,"formDataToFormDataMap");function BE(){return{name:BN,async sendRequest(t,e){if(dc&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=ZCe(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=eIe(t.formData):await tIe(t.formData,t),t.formData=void 0}return e(t)}}}o(BE,"formDataPolicy");function eIe(t){let e=new URLSearchParams;for(let[r,s]of Object.entries(t))if(Array.isArray(s))for(let n of s)e.append(r,n.toString());else e.append(r,s.toString());return e.toString()}o(eIe,"wwwFormUrlEncode");async function tIe(t,e){let r=e.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;e.headers.set("Content-Type",r??"multipart/form-data");let s=[];for(let[n,i]of Object.entries(t))for(let a of Array.isArray(i)?i:[i])if(typeof a=="string")s.push({headers:As({"Content-Disposition":`form-data; name="${n}"`}),body:Or(a,"utf-8")});else{if(a==null||typeof a!="object")throw new Error(`Unexpected value for key ${n}: ${a}. Value should be serialized to string first.`);{let c=a.name||"blob",l=As();l.set("Content-Disposition",`form-data; name="${n}"; filename="${c}"`),l.set("Content-Type",a.type||"application/octet-stream"),s.push({headers:l,body:a})}}e.multipartBody={parts:s}}o(tIe,"prepareFormData");var UJ=w(kJ(),1),qJ=w(LJ(),1);var eBe="HTTPS_PROXY",tBe="HTTP_PROXY",rBe="ALL_PROXY",sBe="NO_PROXY",RN="proxyPolicy",MJ=[],GJ=!1,nBe=new Map;function vE(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(vE,"getEnvironmentValue");function HJ(){if(!process)return;let t=vE(eBe),e=vE(rBe),r=vE(tBe);return t||e||r}o(HJ,"loadEnvironmentProxyValue");function iBe(t,e,r){if(e.length===0)return!1;let s=new URL(t).hostname;if(r?.has(s))return r.get(s);let n=!1;for(let i of e)i[0]==="."?(s.endsWith(i)||s.length===i.length-1&&s===i.slice(1))&&(n=!0):s===i&&(n=!0);return r?.set(s,n),n}o(iBe,"isBypassed");function oBe(){let t=vE(sBe);return GJ=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(oBe,"loadNoProxy");function TN(t){if(!t&&(t=HJ(),!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(TN,"getDefaultProxySettings");function aBe(){let t=HJ();return t?new URL(t):void 0}o(aBe,"getDefaultProxySettingsInternal");function OJ(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(OJ,"getUrlFromProxySettings");function FJ(t,e,r){if(t.agent)return;let n=new URL(t.url).protocol!=="https:";t.tlsSettings&&Fs.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let i=t.headers.toJSON();n?(e.httpProxyAgent||(e.httpProxyAgent=new qJ.HttpProxyAgent(r,{headers:i})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new UJ.HttpsProxyAgent(r,{headers:i})),t.agent=e.httpsProxyAgent)}o(FJ,"setProxyAgentOnRequest");function PE(t,e){GJ||MJ.push(...oBe());let r=t?OJ(t):aBe(),s={};return{name:RN,async sendRequest(n,i){return!n.proxySettings&&r&&!iBe(n.url,e?.customNoProxyList??MJ,e?.customNoProxyList?void 0:nBe)?FJ(n,s,r):n.proxySettings&&FJ(n,s,OJ(n.proxySettings)),i(n)}}}o(PE,"proxyPolicy");var vN="agentPolicy";function kE(t){return{name:vN,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(kE,"agentPolicy");var PN="tlsPolicy";function DE(t){return{name:PN,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(DE,"tlsPolicy");function _E(t){return typeof t.stream=="function"}o(_E,"isBlob");var LE=require("stream");async function*zJ(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(zJ,"streamAsyncIterator");function cBe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=zJ.bind(t)),t.values||(t.values=zJ.bind(t))}o(cBe,"makeAsyncIterable");function $J(t){return t instanceof ReadableStream?(cBe(t),LE.Readable.fromWeb(t)):t}o($J,"ensureNodeStream");function lBe(t){return t instanceof Uint8Array?LE.Readable.from(Buffer.from(t)):_E(t)?$J(t.stream()):$J(t)}o(lBe,"toStream");async function VJ(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(lBe);return LE.Readable.from((async function*(){for(let r of e)for await(let s of r)yield s})())}}o(VJ,"concat");function uBe(){return`----AzSDKFormBoundary${cc()}`}o(uBe,"generateBoundary");function ABe(t){let e="";for(let[r,s]of t)e+=`${r}: ${s}\r `;return e}o(ABe,"encodeHeaders");function dBe(t){return t instanceof Uint8Array?t.byteLength:_E(t)?t.size===-1?void 0:t.size:void 0}o(dBe,"getLength");function pBe(t){let e=0;for(let r of t){let s=dBe(r);if(s===void 0)return;e+=s}return e}o(pBe,"getTotalLength");async function mBe(t,e,r){let s=[Or(`--${r}`,"utf-8"),...e.flatMap(i=>[Or(`\r `,"utf-8"),Or(ABe(i.headers),"utf-8"),Or(`\r `,"utf-8"),i.body,Or(`\r --${r}`,"utf-8")]),Or(`--\r \r `,"utf-8")],n=pBe(s);n&&t.headers.set("Content-Length",n),t.body=await VJ(s)}o(mBe,"buildRequestBody");var gp="multipartPolicy",hBe=70,fBe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function gBe(t){if(t.length>hBe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!fBe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(gBe,"assertValidBoundary");function ME(){return{name:gp,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,s=t.headers.get("Content-Type")??"multipart/mixed",n=s.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!n)throw new Error(`Got multipart request body, but content-type header was not multipart: ${s}`);let[,i,a]=n;if(a&&r&&a!==r)throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);return r??=a,r?gBe(r):r=uBe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await mBe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(ME,"multipartPolicy");function OE(){return cE()}o(OE,"createEmptyPipeline");var YJ=iE({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),iWe=YJ.logger;function Zn(t){return YJ.createClientLogger(t)}o(Zn,"createClientLogger");var ei=Zn("core-rest-pipeline");function _N(t={}){return mE({logger:ei.info,...t})}o(_N,"logPolicy");var LN=hE;function MN(t={}){return fE(t)}o(MN,"redirectPolicy");var FE=w(require("node:os"),1),UE=w(require("node:process"),1);function JJ(){return"User-Agent"}o(JJ,"getHeaderName");async function WJ(t){if(UE.default&&UE.default.versions){let e=`${FE.default.type()} ${FE.default.release()}; ${FE.default.arch()}`,r=UE.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(WJ,"setPlatformSpecificData");var qE="1.22.2";function xBe(t){let e=[];for(let[r,s]of t){let n=s?`${r}/${s}`:r;e.push(n)}return e.join(" ")}o(xBe,"getUserAgentString");function jJ(){return JJ()}o(jJ,"getUserAgentHeaderName");async function GE(t){let e=new Map;e.set("core-rest-pipeline",qE),await WJ(e);let r=xBe(e);return t?`${t} ${r}`:r}o(GE,"getUserAgentValue");var KJ=jJ(),XJ="userAgentPolicy";function ON(t={}){let e=GE(t.userAgentPrefix);return{name:XJ,async sendRequest(r,s){return r.headers.has(KJ)||r.headers.set(KJ,await e),s(r)}}}o(ON,"userAgentPolicy");var ms=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function FN(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,a)=>{function c(){a(new ms(n??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){s?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),s?.aborted)return c();try{t(A=>{l(),i(A)},A=>{l(),a(A)})}catch(A){a(A)}s?.addEventListener("abort",u)})}o(FN,"createAbortablePromise");var TBe="The delay was aborted.";function Ep(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return FN(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??TBe})}o(Ep,"delay");function ta(t){if(lc(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(ta,"getErrorMessage");function ZJ(t){return lc(t)}o(ZJ,"isError");function Cu(){return cc()}o(Cu,"randomUUID");var xe=dc;var e3=Symbol("rawContent");function qN(t){return typeof t[e3]=="function"}o(qN,"hasRawContent");function t3(t){return qN(t)?t[e3]():t}o(t3,"getRawContent");var HE=gp;function GN(){let t=ME();return{name:HE,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let s of e.multipartBody.parts)qN(s.body)&&(s.body=t3(s.body));return t.sendRequest(e,r)},"sendRequest")}}o(GN,"multipartPolicy");var HN=gE;function zN(){return EE()}o(zN,"decompressResponsePolicy");function $N(t={}){return IE(t)}o($N,"defaultRetryPolicy");function VN(){return BE()}o(VN,"formDataPolicy");function ra(t){return TN(t)}o(ra,"getDefaultProxySettings");function YN(t,e){return PE(t,e)}o(YN,"proxyPolicy");var r3="setClientRequestIdPolicy";function JN(t="x-ms-client-request-id"){return{name:r3,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(JN,"setClientRequestIdPolicy");function WN(t){return kE(t)}o(WN,"agentPolicy");function jN(t){return DE(t)}o(jN,"tlsPolicy");var Iu={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function s3(t={}){let e=new KN(t.parentContext);return t.span&&(e=e.setValue(Iu.span,t.span)),t.namespace&&(e=e.setValue(Iu.namespace,t.namespace)),e}o(s3,"createTracingContext");var KN=class t{static{o(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._contextMap):new Map}setValue(e,r){let s=new t(this);return s._contextMap.set(e,r),s}getValue(e){return this._contextMap.get(e)}deleteValue(e){let r=new t(this);return r._contextMap.delete(e),r}};var i3=w(n3(),1),$E=i3.state;function vBe(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(vBe,"createDefaultTracingSpan");function PBe(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:vBe(),tracingContext:s3({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(PBe,"createDefaultInstrumenter");function yp(){return $E.instrumenterImplementation||($E.instrumenterImplementation=PBe()),$E.instrumenterImplementation}o(yp,"getInstrumenter");function Cp(t){let{namespace:e,packageName:r,packageVersion:s}=t;function n(u,A,d){let p=yp().startSpan(u,{...d,packageName:r,packageVersion:s,tracingContext:A?.tracingOptions?.tracingContext}),m=p.tracingContext,h=p.span;m.getValue(Iu.namespace)||(m=m.setValue(Iu.namespace,e)),h.setAttribute("az.namespace",m.getValue(Iu.namespace));let f=Object.assign({},A,{tracingOptions:{...A?.tracingOptions,tracingContext:m}});return{span:h,updatedOptions:f}}o(n,"startSpan");async function i(u,A,d,p){let{span:m,updatedOptions:h}=n(u,A,p);try{let f=await a(h.tracingOptions.tracingContext,()=>Promise.resolve(d(h,m)));return m.setStatus({status:"success"}),f}catch(f){throw m.setStatus({status:"error",error:f}),f}finally{m.end()}}o(i,"withSpan");function a(u,A,...d){return yp().withContext(u,A,...d)}o(a,"withContext");function c(u){return yp().parseTraceparentHeader(u)}o(c,"parseTraceparentHeader");function l(u){return yp().createRequestHeaders(u)}return o(l,"createRequestHeaders"),{startSpan:n,withSpan:i,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(Cp,"createTracingClient");var ro=Br;function mc(t){return lE(t)}o(mc,"isRestError");var o3="tracingPolicy";function XN(t={}){let e=GE(t.userAgentPrefix),r=new In({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),s=kBe();return{name:o3,async sendRequest(n,i){if(!s)return i(n);let a=await e,c={"http.url":r.sanitizeUrl(n.url),"http.method":n.method,"http.user_agent":a,requestId:n.requestId};a&&(c["http.user_agent"]=a);let{span:l,tracingContext:u}=DBe(s,n,c)??{};if(!l||!u)return i(n);try{let A=await s.withContext(u,i,n);return LBe(l,A),A}catch(A){throw _Be(l,A),A}}}}o(XN,"tracingPolicy");function kBe(){try{return Cp({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:qE})}catch(t){ei.warning(`Error when creating the TracingClient: ${ta(t)}`);return}}o(kBe,"tryCreateTracingClient");function DBe(t,e,r){try{let{span:s,updatedOptions:n}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!s.isRecording()){s.end();return}let i=t.createRequestHeaders(n.tracingOptions.tracingContext);for(let[a,c]of Object.entries(i))e.headers.set(a,c);return{span:s,tracingContext:n.tracingOptions.tracingContext}}catch(s){ei.warning(`Skipping creating a tracing span due to an error: ${ta(s)}`);return}}o(DBe,"tryCreateSpan");function _Be(t,e){try{t.setStatus({status:"error",error:ZJ(e)?e:void 0}),mc(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){ei.warning(`Skipping tracing span processing due to an error: ${ta(r)}`)}}o(_Be,"tryProcessError");function LBe(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){ei.warning(`Skipping tracing span processing due to an error: ${ta(r)}`)}}o(LBe,"tryProcessResponse");function VE(t){if(t instanceof AbortSignal)return{abortSignal:t};if(t.aborted)return{abortSignal:AbortSignal.abort(t.reason)};let e=new AbortController,r=!0;function s(){r&&(t.removeEventListener("abort",n),r=!1)}o(s,"cleanup");function n(){e.abort(t.reason),s()}return o(n,"listener"),t.addEventListener("abort",n),{abortSignal:e.signal,cleanup:s}}o(VE,"wrapAbortSignalLike");var MBe="wrapAbortSignalLikePolicy";function a3(){return{name:MBe,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:s}=VE(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{s?.()}},"sendRequest")}}o(a3,"wrapAbortSignalLikePolicy");function ZN(t){let e=OE();return xe&&(t.agent&&e.addPolicy(WN(t.agent)),t.tlsOptions&&e.addPolicy(jN(t.tlsOptions)),e.addPolicy(YN(t.proxyOptions)),e.addPolicy(zN())),e.addPolicy(a3()),e.addPolicy(VN(),{beforePolicies:[HE]}),e.addPolicy(ON(t.userAgentOptions)),e.addPolicy(JN(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(GN(),{afterPhase:"Deserialize"}),e.addPolicy($N(t.retryOptions),{phase:"Retry"}),e.addPolicy(XN({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),xe&&e.addPolicy(MN(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(_N(t.loggingOptions),{afterPhase:"Sign"}),e}o(ZN,"createPipelineFromOptions");function Ip(){let t=pE();return{async sendRequest(e){let{abortSignal:r,cleanup:s}=e.abortSignal?VE(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{s?.()}}}}o(Ip,"createDefaultHttpClient");function so(t){return As(t)}o(so,"createHttpHeaders");function Bp(t){return aE(t)}o(Bp,"createPipelineRequest");var _je=Zn("core-rest-pipeline retryPolicy");var OBe={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function FBe(t,e,r){async function s(){if(Date.now()t.getToken(l,u),"tryGetAccessToken"),i.retryIntervalInMs,s?.expiresOnTimestamp??Date.now()).then(d=>(r=null,s=d,n=u.tenantId,s)).catch(d=>{throw r=null,s=null,n=void 0,d})),r}return o(c,"refresh"),async(l,u)=>{let A=!!u.claims,d=n!==u.tenantId;return A&&(s=null),d||A||a.mustRefresh?c(l,u):(a.shouldRefresh&&c(l,u),s)}}o(eS,"createTokenCycler");var A3="bearerTokenAuthenticationPolicy";async function YE(t,e){try{return[await e(t),void 0]}catch(r){if(mc(r)&&r.response)return[r.response,r];throw r}}o(YE,"trySendRequest");async function UBe(t){let{scopes:e,getAccessToken:r,request:s}=t,n={abortSignal:s.abortSignal,tracingOptions:s.tracingOptions,enableCae:!0},i=await r(e,n);i&&t.request.headers.set("Authorization",`Bearer ${i.token}`)}o(UBe,"defaultAuthorizeRequest");function c3(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(c3,"isChallengeResponse");async function l3(t,e){let{scopes:r}=t,s=await t.getAccessToken(r,{enableCae:!0,claims:e});return s?(t.request.headers.set("Authorization",`${s.tokenType??"Bearer"} ${s.token}`),!0):!1}o(l3,"authorizeRequestOnCaeChallenge");function Bu(t){let{credential:e,scopes:r,challengeCallbacks:s}=t,n=t.logger||ei,i={authorizeRequest:s?.authorizeRequest?.bind(s)??UBe,authorizeRequestOnChallenge:s?.authorizeRequestOnChallenge?.bind(s)},a=e?eS(e):()=>Promise.resolve(null);return{name:A3,async sendRequest(c,l){if(!c.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");await i.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:c,getAccessToken:a,logger:n});let u,A,d;if([u,A]=await YE(c,l),c3(u)){let p=u3(u.headers.get("WWW-Authenticate"));if(p){let m;try{m=atob(p)}catch{return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${p}`),u}d=await l3({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:n},m),d&&([u,A]=await YE(c,l))}else if(i.authorizeRequestOnChallenge&&(d=await i.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:c,response:u,getAccessToken:a,logger:n}),d&&([u,A]=await YE(c,l)),c3(u)&&(p=u3(u.headers.get("WWW-Authenticate")),p))){let m;try{m=atob(p)}catch{return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${p}`),u}d=await l3({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:n},m),d&&([u,A]=await YE(c,l))}}if(A)throw A;return u}}}o(Bu,"bearerTokenAuthenticationPolicy");function qBe(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,s=[],n;for(;(n=e.exec(t))!==null;){let i=n[1],a=n[2],c={},l;for(;(l=r.exec(a))!==null;)c[l[1]]=l[2];s.push({scheme:i,params:c})}return s}o(qBe,"parseChallenges");function u3(t){return t?qBe(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(u3,"getCaeChallengeClaims");function hs(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(hs,"isTokenCredential");var tS="DisableKeepAlivePolicy";function d3(){return{name:tS,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(d3,"createDisableKeepAlivePolicy");function p3(t){return t.getOrderedPolicies().some(e=>e.name===tS)}o(p3,"pipelineContainsDisableKeepAlivePolicy");function rS(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(rS,"encodeByteArray");function sS(t){return Buffer.from(t,"base64")}o(sS,"decodeString");function HBe(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(HBe,"isPrimitiveBody");var zBe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function m3(t){return zBe.test(t)}o(m3,"isDuration");var $Be=/^[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 h3(t){return $Be.test(t)}o(h3,"isValidUuid");function VBe(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(VBe,"handleNullableResponseAndWrappableBody");function nS(t,e){let r=t.parsedHeaders;if(t.request.method==="HEAD")return{...r,body:t.parsedBody};let s=e&&e.bodyMapper,n=!!s?.nullable,i=s?.type.name;if(i==="Stream")return{...r,blobBody:t.blobBody,readableStreamBody:t.readableStreamBody};let a=i==="Composite"&&s.type.modelProperties||{},c=Object.keys(a).some(l=>a[l].serializedName==="");if(i==="Sequence"||c){let l=t.parsedBody??[];for(let u of Object.keys(a))a[u].serializedName&&(l[u]=t.parsedBody?.[u]);if(r)for(let u of Object.keys(r))l[u]=r[u];return n&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(a).length===0?null:l}return VBe({body:t.parsedBody,headers:r,hasNullableType:n,shouldWrapBody:HBe(t.parsedBody,i)})}o(nS,"flattenResponse");var iS=class{static{o(this,"SerializerImpl")}modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,s){let n=o((i,a)=>{throw new Error(`"${s}" with value "${r}" should satisfy the constraint "${i}": ${a}.`)},"failValidation");if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:i,ExclusiveMinimum:a,InclusiveMaximum:c,InclusiveMinimum:l,MaxItems:u,MaxLength:A,MinItems:d,MinLength:p,MultipleOf:m,Pattern:h,UniqueItems:f}=e.constraints;if(i!==void 0&&r>=i&&n("ExclusiveMaximum",i),a!==void 0&&r<=a&&n("ExclusiveMinimum",a),c!==void 0&&r>c&&n("InclusiveMaximum",c),l!==void 0&&ru&&n("MaxItems",u),A!==void 0&&r.length>A&&n("MaxLength",A),d!==void 0&&r.lengthy.indexOf(C)!==E)&&n("UniqueItems",f)}}serialize(e,r,s,n={xml:{}}){let i={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??!1,xmlCharKey:n.xml.xmlCharKey??"_"}},a={},c=e.type.name;s||(s=e.serializedName),c.match(/^Sequence$/i)!==null&&(a=[]),e.isConstant&&(r=e.defaultValue);let{required:l,nullable:u}=e;if(l&&u&&r===void 0)throw new Error(`${s} cannot be undefined.`);if(l&&!u&&r==null)throw new Error(`${s} cannot be null or undefined.`);if(!l&&u===!1&&r===null)throw new Error(`${s} cannot be null.`);return r==null||c.match(/^any$/i)!==null?a=r:c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?a=XBe(c,s,r):c.match(/^Enum$/i)!==null?a=ZBe(s,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=rwe(c,r,s):c.match(/^ByteArray$/i)!==null?a=ewe(s,r):c.match(/^Base64Url$/i)!==null?a=twe(s,r):c.match(/^Sequence$/i)!==null?a=swe(this,e,r,s,!!this.isXML,i):c.match(/^Dictionary$/i)!==null?a=nwe(this,e,r,s,!!this.isXML,i):c.match(/^Composite$/i)!==null&&(a=owe(this,e,r,s,!!this.isXML,i)),a}deserialize(e,r,s,n={xml:{}}){let i={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??!1,xmlCharKey:n.xml.xmlCharKey??"_"},ignoreUnknownProperties:n.ignoreUnknownProperties??!1};if(r==null)return this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped&&(r=[]),e.defaultValue!==void 0&&(r=e.defaultValue),r;let a,c=e.type.name;if(s||(s=e.serializedName),c.match(/^Composite$/i)!==null)a=cwe(this,e,r,s,i);else{if(this.isXML){let l=i.xml.xmlCharKey;r["$"]!==void 0&&r[l]!==void 0&&(r=r[l])}c.match(/^Number$/i)!==null?(a=parseFloat(r),isNaN(a)&&(a=r)):c.match(/^Boolean$/i)!==null?r==="true"?a=!0:r==="false"?a=!1:a=r:c.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null?a=r:c.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null?a=new Date(r):c.match(/^UnixTime$/i)!==null?a=KBe(r):c.match(/^ByteArray$/i)!==null?a=sS(r):c.match(/^Base64Url$/i)!==null?a=WBe(r):c.match(/^Sequence$/i)!==null?a=uwe(this,e,r,s,i):c.match(/^Dictionary$/i)!==null&&(a=lwe(this,e,r,s,i))}return e.isConstant&&(a=e.defaultValue),a}};function fs(t={},e=!1){return new iS(t,e)}o(fs,"createSerializer");function YBe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(YBe,"trimEnd");function JBe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=rS(t);return YBe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(JBe,"bufferToBase64Url");function WBe(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,"/"),sS(t)}}o(WBe,"base64UrlToByteArray");function oS(t){let e=[],r="";if(t){let s=t.split(".");for(let n of s)n.charAt(n.length-1)==="\\"?r+=n.substr(0,n.length-1)+".":(r+=n,e.push(r),r="")}return e}o(oS,"splitSerializeName");function jBe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(jBe,"dateToUnixTime");function KBe(t){if(t)return new Date(t*1e3)}o(KBe,"unixTimeToDate");function XBe(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"&&h3(r)))throw new Error(`${e} with value "${r}" must be of type string and a valid uuid.`)}else if(t.match(/^Boolean$/i)!==null){if(typeof r!="boolean")throw new Error(`${e} with value ${r} must be of type boolean.`)}else if(t.match(/^Stream$/i)!==null){let s=typeof r;if(s!=="string"&&typeof r.pipe!="function"&&typeof r.tee!="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob=="function"||typeof Blob=="object")&&r instanceof Blob)&&s!=="function")throw new Error(`${e} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}o(XBe,"serializeBasicTypes");function ZBe(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(n=>typeof n.valueOf()=="string"?n.toLowerCase()===r.toLowerCase():n===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}o(ZBe,"serializeEnumType");function ewe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=rS(e)}return e}o(ewe,"serializeByteArrayType");function twe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=JBe(e)}return e}o(twe,"serializeBase64UrlType");function rwe(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=jBe(e)}else if(t.match(/^TimeSpan$/i)!==null&&!m3(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(rwe,"serializeDateTypes");function swe(t,e,r,s,n,i){if(!Array.isArray(r))throw new Error(`${s} must be of type Array.`);let a=e.type.element;if(!a||typeof a!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${s}.`);a.type.name==="Composite"&&a.type.className&&(a=t.modelMappers[a.type.className]??a);let c=[];for(let l=0;lp!==A)&&(a[A]=t.serialize(l,r[A],s+'["'+A+'"]',i))}return a}return r}o(owe,"serializeCompositeType");function y3(t,e,r,s){if(!r||!t.xmlNamespace)return e;let i={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace};if(["Composite"].includes(t.type.name)){if(e["$"])return e;{let c={...e};return c["$"]=i,c}}let a={};return a[s.xml.xmlCharKey]=e,a["$"]=i,a}o(y3,"getXmlObjectValue");function awe(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(awe,"isSpecialXmlProperty");function cwe(t,e,r,s,n){let i=n.xml.xmlCharKey??"_";JE(t,e)&&(e=C3(t,e,r,"serializedName"));let a=E3(t,e,s),c={},l=[];for(let A of Object.keys(a)){let d=a[A],p=oS(a[A].serializedName);l.push(p[0]);let{serializedName:m,xmlName:h,xmlElementName:f}=d,C=s;m!==""&&m!==void 0&&(C=s+"."+m);let E=d.headerCollectionPrefix;if(E){let y={};for(let I of Object.keys(r))I.startsWith(E)&&(y[I.substring(E.length)]=t.deserialize(d.type.value,r[I],C,n)),l.push(I);c[A]=y}else if(t.isXML)if(d.xmlIsAttribute&&r["$"])c[A]=t.deserialize(d,r["$"][h],C,n);else if(d.xmlIsMsText)r[i]!==void 0?c[A]=r[i]:typeof r=="string"&&(c[A]=r);else{let y=f||h||m;if(d.xmlIsWrapped){let B=r[h]?.[f]??[];c[A]=t.deserialize(d,B,C,n),l.push(h)}else{let I=r[y];c[A]=t.deserialize(d,I,C,n),l.push(y)}}else{let y,I=r,B=0;for(let q of p){if(!I)break;B++,I=I[q]}I===null&&B{for(let p in a)if(oS(a[p].serializedName)[0]===d)return!1;return!0},"isAdditionalProperty");for(let d in r)A(d)&&(c[d]=t.deserialize(u,r[d],s+'["'+d+'"]',n))}else if(r&&!n.ignoreUnknownProperties)for(let A of Object.keys(r))c[A]===void 0&&!l.includes(A)&&!awe(A,n)&&(c[A]=r[A]);return c}o(cwe,"deserializeCompositeType");function lwe(t,e,r,s,n){let i=e.type.value;if(!i||typeof i!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${s}`);if(r){let a={};for(let c of Object.keys(r))a[c]=t.deserialize(i,r[c],s,n);return a}return r}o(lwe,"deserializeDictionaryType");function uwe(t,e,r,s,n){let i=e.type.element;if(!i||typeof i!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${s}`);if(r){Array.isArray(r)||(r=[r]),i.type.name==="Composite"&&i.type.className&&(i=t.modelMappers[i.type.className]??i);let a=[];for(let c=0;c0)if(n.isConstant)i=n.defaultValue;else{let a=w3(t,s);!a.propertyFound&&r&&(a=w3(r,s));let c=!1;a.propertyFound||(c=n.required||s[0]==="options"&&s.length===2),i=c?n.defaultValue:a.propertyValue}}else{n.required&&(i={});for(let a in s){let c=n.type.modelProperties[a],l=s[a],u=na(t,{parameterPath:l,mapper:c},r);u!==void 0&&(i||(i={}),i[a]=u)}}return i}o(na,"getOperationArgumentValueFromParameter");function w3(t,e){let r={propertyFound:!1},s=0;for(;s=200&&r.status<300);l.headersMapper&&(i.parsedHeaders=c.serializer.deserialize(l.headersMapper,i.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return i}o(gwe,"deserializeResponseBody");function Ewe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(Ewe,"isOperationSpecEmpty");function ywe(t,e,r,s){let n=200<=t.status&&t.status<300;if(Ewe(e)?n:!!r)if(r){if(!r.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let a=r??e.responses.default,c=t.request.streamResponseStatusCodes?.has(t.status)?`Unexpected status code: ${t.status}`:t.bodyAsText,l=new ro(c,{statusCode:t.status,request:t.request,response:t});if(!a&&!(t.parsedBody?.error?.code&&t.parsedBody?.error?.message))throw l;let u=a?.bodyMapper,A=a?.headersMapper;try{if(t.parsedBody){let d=t.parsedBody,p;if(u){let h=d;if(e.isXML&&u.type.name===ti.Sequence){h=[];let f=u.xmlElementName;typeof d=="object"&&f&&(h=d[f])}p=e.serializer.deserialize(u,h,"error.response.parsedBody",s)}let m=d.error||p||d;l.code=m.code,m.message&&(l.message=m.message),u&&(l.response.parsedBody=p)}t.headers&&A&&(l.response.parsedHeaders=e.serializer.deserialize(A,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(d){l.message=`Error "${d.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:l,shouldReturnResponse:!1}}o(ywe,"handleErrorResponse");async function Cwe(t,e,r,s,n){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let i=r.bodyAsText,a=r.headers.get("Content-Type")||"",c=a?a.split(";").map(l=>l.toLowerCase()):[];try{if(c.length===0||c.some(l=>t.indexOf(l)!==-1))return r.parsedBody=JSON.parse(i),r;if(c.some(l=>e.indexOf(l)!==-1)){if(!n)throw new Error("Parsing XML not supported.");let l=await n(i,s.xml);return r.parsedBody=l,r}}catch(l){let u=`Error "${l}" occurred while parsing the response body - ${r.bodyAsText}.`,A=l.code||ro.PARSE_ERROR;throw new ro(u,{code:A,statusCode:r.status,request:r.request,response:r})}}return r}o(Cwe,"parse");function Q3(t){let e=new Set;for(let r in t.responses){let s=t.responses[r];s.bodyMapper&&s.bodyMapper.type.name===ti.Stream&&e.add(Number(r))}return e}o(Q3,"getStreamingResponseStatusCodes");function ri(t){let{parameterPath:e,mapper:r}=t,s;return typeof e=="string"?s=e:Array.isArray(e)?s=e.join("."):s=r.serializedName,s}o(ri,"getPathStringFromParameter");var N3="serializationPolicy";function jE(t={}){let e=t.stringifyXML;return{name:N3,async sendRequest(r,s){let n=no(r),i=n?.operationSpec,a=n?.operationArguments;return i&&a&&(Iwe(r,a,i),Bwe(r,a,i,e)),s(r)}}}o(jE,"serializationPolicy");function Iwe(t,e,r){if(r.headerParameters)for(let n of r.headerParameters){let i=na(e,n);if(i!=null||n.mapper.required){i=r.serializer.serialize(n.mapper,i,ri(n));let a=n.mapper.headerCollectionPrefix;if(a)for(let c of Object.keys(i))t.headers.set(a+c,i[c]);else t.headers.set(n.mapper.serializedName||ri(n),i)}}let s=e.options?.requestOptions?.customHeaders;if(s)for(let n of Object.keys(s))t.headers.set(n,s[n])}o(Iwe,"serializeHeaders");function Bwe(t,e,r,s=function(){throw new Error("XML serialization unsupported!")}){let n=e.options?.serializerOptions,i={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}},a=i.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=na(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:u,xmlName:A,xmlElementName:d,xmlNamespace:p,xmlNamespacePrefix:m,nullable:h}=c,f=c.type.name;try{if(t.body!==void 0&&t.body!==null||h&&t.body===null||l){let C=ri(r.requestBody);t.body=r.serializer.serialize(c,t.body,C,i);let E=f===ti.Stream;if(r.isXML){let y=m?`xmlns:${m}`:"xmlns",I=wwe(p,y,f,t.body,i);f===ti.Sequence?t.body=s(bwe(I,d||A||u,y,p),{rootName:A||u,xmlCharKey:a}):E||(t.body=s(I,{rootName:A||u,xmlCharKey:a}))}else{if(f===ti.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;E||(t.body=JSON.stringify(t.body))}}}catch(C){throw new Error(`Error "${C.message}" occurred in serializing the payload - ${JSON.stringify(u,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let c of r.formDataParameters){let l=na(e,c);if(l!=null){let u=c.mapper.serializedName||ri(c);t.formData[u]=r.serializer.serialize(c.mapper,l,ri(c),i)}}}}o(Bwe,"serializeRequestBody");function wwe(t,e,r,s,n){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let i={};return i[n.xml.xmlCharKey]=s,i["$"]={[e]:t},i}return s}o(wwe,"getXmlValueWithNamespace");function bwe(t,e,r,s){if(Array.isArray(t)||(t=[t]),!r||!s)return{[e]:t};let n={[e]:t};return n["$"]={[r]:s},n}o(bwe,"prepareXMLRootList");function wp(t={}){let e=ZN(t??{});return t.credentialOptions&&e.addPolicy(Bu({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(jE(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(cS(t.deserializationOptions),{phase:"Deserialize"}),e}o(wp,"createClientPipeline");var lS;function S3(){return lS||(lS=Ip()),lS}o(S3,"getCachedDefaultHttpClient");var xwe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function T3(t,e,r,s){let n=Qwe(e,r,s),i=!1,a=R3(t,n);if(e.path){let u=R3(e.path,n);e.path==="/{nextLink}"&&u.startsWith("/")&&(u=u.substring(1)),Nwe(u)?(a=u,i=!0):a=Swe(a,u)}let{queryParams:c,sequenceParams:l}=Rwe(e,r,s);return a=vwe(a,c,l,i),a}o(T3,"getRequestUrl");function R3(t,e){let r=t;for(let[s,n]of e)r=r.split(s).join(n);return r}o(R3,"replaceAll");function Qwe(t,e,r){let s=new Map;if(t.urlParameters?.length)for(let n of t.urlParameters){let i=na(e,n,r),a=ri(n);i=t.serializer.serialize(n.mapper,i,a),n.skipEncoding||(i=encodeURIComponent(i)),s.set(`{${n.mapper.serializedName||a}}`,i)}return s}o(Qwe,"calculateUrlReplacements");function Nwe(t){return t.includes("://")}o(Nwe,"isAbsoluteUrl");function Swe(t,e){if(!e)return t;let r=new URL(t),s=r.pathname;s.endsWith("/")||(s=`${s}/`),e.startsWith("/")&&(e=e.substring(1));let n=e.indexOf("?");if(n!==-1){let i=e.substring(0,n),a=e.substring(n+1);s=s+i,a&&(r.search=r.search?`${r.search}&${a}`:a)}else s=s+e;return r.pathname=s,r.toString()}o(Swe,"appendPath");function Rwe(t,e,r){let s=new Map,n=new Set;if(t.queryParameters?.length)for(let i of t.queryParameters){i.mapper.type.name==="Sequence"&&i.mapper.serializedName&&n.add(i.mapper.serializedName);let a=na(e,i,r);if(a!=null||i.mapper.required){a=t.serializer.serialize(i.mapper,a,ri(i));let c=i.collectionFormat?xwe[i.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(l=>l??"")),i.collectionFormat==="Multi"&&a.length===0)continue;Array.isArray(a)&&(i.collectionFormat==="SSV"||i.collectionFormat==="TSV")&&(a=a.join(c)),i.skipEncoding||(Array.isArray(a)?a=a.map(l=>encodeURIComponent(l)):a=encodeURIComponent(a)),Array.isArray(a)&&(i.collectionFormat==="CSV"||i.collectionFormat==="Pipes")&&(a=a.join(c)),s.set(i.mapper.serializedName||ri(i),a)}}return{queryParams:s,sequenceParams:n}}o(Rwe,"calculateQueryParameters");function Twe(t){let e=new Map;if(!t||t[0]!=="?")return e;t=t.slice(1);let r=t.split("&");for(let s of r){let[n,i]=s.split("=",2),a=e.get(n);a?Array.isArray(a)?a.push(i):e.set(n,[a,i]):e.set(n,i)}return e}o(Twe,"simpleParseQueryParams");function vwe(t,e,r,s=!1){if(e.size===0)return t;let n=new URL(t),i=Twe(n.search);for(let[c,l]of e){let u=i.get(c);if(Array.isArray(u))if(Array.isArray(l)){u.push(...l);let A=new Set(u);i.set(c,Array.from(A))}else u.push(l);else u?(Array.isArray(l)?l.unshift(u):r.has(c)&&i.set(c,[u,l]),s||i.set(c,l)):i.set(c,l)}let a=[];for(let[c,l]of i)if(typeof l=="string")a.push(`${c}=${l}`);else if(Array.isArray(l))for(let u of l)a.push(`${c}=${u}`);else a.push(`${c}=${l}`);return n.search=a.length?`?${a.join("&")}`:"",n.toString()}o(vwe,"appendQueryParams");var uS=Zn("core-client");var bp=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&&uS.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||S3(),this.pipeline=e.pipeline||Pwe(e),e.additionalPolicies?.length)for(let{policy:r,position:s}of e.additionalPolicies){let n=s==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(r,{afterPhase:n})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,r){let s=r.baseUrl||this._endpoint;if(!s)throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let n=T3(s,r,e,this),i=Bp({url:n});i.method=r.httpMethod;let a=no(i);a.operationSpec=r,a.operationArguments=e;let c=r.contentType||this._requestContentType;c&&r.requestBody&&i.headers.set("Content-Type",c);let l=e.options;if(l){let u=l.requestOptions;u&&(u.timeout&&(i.timeout=u.timeout),u.onUploadProgress&&(i.onUploadProgress=u.onUploadProgress),u.onDownloadProgress&&(i.onDownloadProgress=u.onDownloadProgress),u.shouldDeserialize!==void 0&&(a.shouldDeserialize=u.shouldDeserialize),u.allowInsecureConnection&&(i.allowInsecureConnection=!0)),l.abortSignal&&(i.abortSignal=l.abortSignal),l.tracingOptions&&(i.tracingOptions=l.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),i.streamResponseStatusCodes===void 0&&(i.streamResponseStatusCodes=Q3(r));try{let u=await this.sendRequest(i),A=nS(u,r.responses[u.status]);return l?.onResponse&&l.onResponse(u,A),A}catch(u){if(typeof u=="object"&&u?.response){let A=u.response,d=nS(A,r.responses[u.statusCode]||r.responses.default);u.details=d,l?.onResponse&&l.onResponse(A,d,u)}throw u}}};function Pwe(t){let e=kwe(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return wp({...t,credentialOptions:r})}o(Pwe,"createDefaultPipeline");function kwe(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(kwe,"getCredentialScopes");var v3={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function Dwe(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(Dwe,"isUuid");var KE=o(async t=>{let e=Fwe(t.request),r=Mwe(t.response);if(r){let s=Owe(r),n=Lwe(t,s),i=_we(s);if(!i)return!1;let a=await t.getAccessToken(n,{...e,tenantId:i});return a?(t.request.headers.set(v3.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function _we(t){let s=new URL(t.authorization_uri).pathname.split("/")[1];if(s&&Dwe(s))return s}o(_we,"extractTenantId");function Lwe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=v3.DefaultScope;let s=r.toString();return s==="https://disk.azure.com/.default"&&(s="https://disk.azure.com//.default"),[s]}o(Lwe,"buildScopes");function Mwe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(Mwe,"getChallenge");function Owe(t){return`${t.slice(7).trim()} `.split(" ").filter(n=>n).map(n=>(([i,a])=>({[i]:a}))(n.trim().split("="))).reduce((n,i)=>({...n,...i}),{})}o(Owe,"parseChallenge");function Fwe(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(Fwe,"requestToOptions");var P3=Symbol("Original PipelineRequest"),Uwe=Symbol.for("@azure/core-client original request");function Qp(t,e={}){let s=t[P3],n=so(t.headers.toJson({preserveCase:!0}));if(s)return s.headers=n,s;{let i=Bp({url:t.url,method:t.method,headers:n,withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,disableKeepAlive:!!t.keepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides});return e.originalRequest&&(i[Uwe]=e.originalRequest),i}}o(Qp,"toPipelineRequest");function hc(t,e){let r=e?.originalRequest??t,s={url:t.url,method:t.method,headers:Np(t.headers),withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.headers.get("x-ms-client-request-id")||t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,keepAlive:!!t.disableKeepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return e?.createProxy?new Proxy(s,{get(n,i,a){return i===P3?t:i==="clone"?()=>hc(Qp(s,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(n,i,a)},set(n,i,a,c){return i==="keepAlive"&&(t.disableKeepAlive=!a),typeof i=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(i)&&(t[i]=a),Reflect.set(n,i,a,c)}}):s}o(hc,"toWebResourceLike");function Np(t){return new AS(t.toJSON({preserveCase:!0}))}o(Np,"toHttpHeadersLike");function xp(t){return t.toLowerCase()}o(xp,"getHeaderKey");var AS=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[xp(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[xp(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[xp(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[xp(e)],r}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let r in this._headersMap)e.push(this._headersMap[r]);return e}headerNames(){let e=[],r=this.headersArray();for(let s=0;s{let r=await t.sendRequest(hc(e,{createProxy:!0}));return ZE(r)},"sendRequest")}}o(mS,"convertHttpClient");var _3=":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",Hwe=_3+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",zwe="["+_3+"]["+Hwe+"]*",$we=new RegExp("^"+zwe+"$");function ey(t,e){let r=[],s=e.exec(t);for(;s;){let n=[];n.startIndex=e.lastIndex-s[0].length;let i=s.length;for(let a=0;a"u")},"isName");function L3(t){return typeof t<"u"}o(L3,"isExist");var Rp=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],ty=["__proto__","constructor","prototype"];var Vwe={allowBooleanAttributes:!1,unpairedTags:[]};function ry(t,e){e=Object.assign({},Vwe,e);let r=[],s=!1,n=!1;t[0]==="\uFEFF"&&(t=t.substr(1));for(let i=0;i"&&t[i]!==" "&&t[i]!==" "&&t[i]!==` `&&t[i]!=="\r";i++)l+=t[i];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),i--),!ebe(l)){let d;return l.trim().length===0?d="Invalid space after '<'.":d="Tag '"+l+"' is an invalid name.",gt("InvalidTag",d,wr(t,i))}let u=Wwe(t,i);if(u===!1)return gt("InvalidAttr","Attributes for '"+l+"' have open quote.",wr(t,i));let A=u.value;if(i=u.index,A[A.length-1]==="/"){let d=i-A.length;A=A.substring(0,A.length-1);let p=U3(A,e);if(p===!0)s=!0;else return gt(p.err.code,p.err.msg,wr(t,d+p.err.line))}else if(c)if(u.tagClosed){if(A.trim().length>0)return gt("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",wr(t,a));if(r.length===0)return gt("InvalidTag","Closing tag '"+l+"' has not been opened.",wr(t,a));{let d=r.pop();if(l!==d.tagName){let p=wr(t,d.tagStartPos);return gt("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+p.line+", col "+p.col+") instead of closing tag '"+l+"'.",wr(t,a))}r.length==0&&(n=!0)}}else return gt("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",wr(t,i));else{let d=U3(A,e);if(d!==!0)return gt(d.err.code,d.err.msg,wr(t,i-A.length+d.err.line));if(n===!0)return gt("InvalidXml","Multiple possible root nodes found.",wr(t,i));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:a}),s=!0}for(i++;i0)return gt("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return gt("InvalidXml","Start tag expected.",1);return!0}o(ry,"validate");function M3(t){return t===" "||t===" "||t===` `||t==="\r"}o(M3,"isWhiteSpace");function O3(t,e){let r=e;for(;e5&&s==="xml")return gt("InvalidXml","XML declaration allowed only at the start of the document.",wr(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(O3,"readPI");function F3(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(F3,"readCommentAndCDATA");var Ywe='"',Jwe="'";function Wwe(t,e){let r="",s="",n=!1;for(;e"&&s===""){n=!0;break}r+=t[e]}return s!==""?!1:{value:r,index:e,tagClosed:n}}o(Wwe,"readAttributeStr");var jwe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function U3(t,e){let r=ey(t,jwe),s={};for(let n=0;n",GT:">",quot:'"',QUOT:'"',apos:"'",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",lsquor:"\u201A",rsquor:"\u2019",ldquor:"\u201E",bdquo:"\u201E",comma:",",period:".",colon:":",semi:";",excl:"!",quest:"?",num:"#",dollar:"$",percent:"%",amp:"&",ast:"*",commat:"@",lowbar:"_",verbar:"|",vert:"|",sol:"/",bsol:"\\",lbrace:"{",rbrace:"}",lbrack:"[",rbrack:"]",lpar:"(",rpar:")",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",COPY:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",REG:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",half:"\xBD",frac34:"\xBE",iquest:"\xBF",times:"\xD7",div:"\xF7",divide:"\xF7"},G3={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"},H3={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"},z3={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"},$3={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"},V3={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:"<"},Y3={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"},J3={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"},W3={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"},j3={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"},sy={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"},K3={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"},X3={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"},tbe={...q3,...G3,...H3,...z3,...$3,...V3,...Y3,...J3,...W3,...j3,...sy,...K3,...X3},vp={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},hS={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 rbe=new Set("!?\\\\/[]$%{}^&*()<>|+");function Z3(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(rbe.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}o(Z3,"validateEntityName");function fS(...t){let e=Object.create(null);for(let r of t)if(r)for(let s of Object.keys(r)){let n=r[s];if(typeof n=="string")e[s]=n;else if(n&&typeof n=="object"&&n.val!==void 0){let i=n.val;typeof i=="string"&&(e[s]=i)}}return e}o(fS,"mergeEntityMaps");var fc="external",ny="base",gS="all";function sbe(t){return!t||t===fc?new Set([fc]):t===gS?new Set([gS]):t===ny?new Set([ny]):Array.isArray(t)?new Set(t):new Set([fc])}o(sbe,"parseLimitTiers");var Ur=Object.freeze({allow:0,leave:1,remove:2,throw:3}),nbe=new Set([9,10,13]);function ibe(t){if(!t)return{xmlVersion:1,onLevel:Ur.allow,nullLevel:Ur.remove};let e=t.xmlVersion===1.1?1.1:1,r=Ur[t.onNCR]??Ur.allow,s=Ur[t.nullNCR]??Ur.remove,n=Math.max(s,Ur.remove);return{xmlVersion:e,onLevel:r,nullLevel:n}}o(ibe,"parseNCRConfig");var xu=class{static{o(this,"EntityDecoder")}constructor(e={}){this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck=typeof e.postCheck=="function"?e.postCheck:s=>s,this._limitTiers=sbe(this._limit.applyLimitsTo??fc),this._numericAllowed=e.numericAllowed??!0,this._baseMap=fS(vp,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=ibe(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))Z3(r);this._externalMap=fS(e)}addExternalEntity(e,r){Z3(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=fS(e)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=e===1.1?1.1:1}decode(e){if(typeof e!="string"||e.length===0)return e;let r=e,s=[],n=e.length,i=0,a=0,c=this._maxTotalExpansions>0,l=this._maxExpandedLength>0,u=c||l;for(;a=n||e.charCodeAt(d)!==59){a++;continue}let p=e.slice(a+1,d);if(p.length===0){a++;continue}let m,h;if(this._removeSet.has(p))m="",h===void 0&&(h=fc);else if(this._leaveSet.has(p)){a++;continue}else if(p.charCodeAt(0)===35){let f=this._resolveNCR(p);if(f===void 0){a++;continue}m=f,h=ny}else{let f=this._resolveName(p);m=f?.value,h=f?.tier}if(m===void 0){a++;continue}if(a>i&&s.push(e.slice(i,a)),s.push(m),i=d+1,a=i,u&&this._tierCounts(h)){if(c&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(l){let f=m.length-(p.length+2);if(f>0&&(this._expandedLength+=f,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!nbe.has(e)?Ur.remove:-1}_applyNCRAction(e,r,s){switch(e){case Ur.allow:return String.fromCodePoint(s);case Ur.remove:return"";case Ur.leave:return;case Ur.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${r}; (U+${s.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(s)}}_resolveNCR(e){let r=e.charCodeAt(1),s;if(r===120||r===88?s=parseInt(e.slice(2),16):s=parseInt(e.slice(1),10),Number.isNaN(s)||s<0||s>1114111)return;let n=this._classifyNCR(s);if(!this._numericAllowed&&nRp.includes(t)?"__"+t:t,"defaultOnDangerousProperty"),obe={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:e4};function abe(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(Rp.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(ty.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(abe,"validatePropertyName");function t4(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"}:t4(!0)}o(t4,"normalizeProcessEntities");var r4=o(function(t){let e=Object.assign({},obe,t),r=[{value:e.attributeNamePrefix,name:"attributeNamePrefix"},{value:e.attributesGroupName,name:"attributesGroupName"},{value:e.textNodeName,name:"textNodeName"},{value:e.cdataPropName,name:"cdataPropName"},{value:e.commentPropName,name:"commentPropName"}];for(let{value:s,name:n}of r)s&&abe(s,n);return e.onDangerousProperty===null&&(e.onDangerousProperty=e4),e.processEntities=t4(e.processEntities,e.htmlEntities),e.unpairedTagsSet=new Set(e.unpairedTags),e.stopNodes&&Array.isArray(e.stopNodes)&&(e.stopNodes=e.stopNodes.map(s=>typeof s=="string"&&s.startsWith("*.")?".."+s.substring(2):s)),e},"buildOptions");var iy;typeof Symbol!="function"?iy="@@xmlMetadata":iy=Symbol("XML Node Metadata");var qr=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][iy]={startIndex:r})}static getMetaDataSymbol(){return iy}};var kp=class{static{o(this,"DocTypeReader")}constructor(e){this.suppressValidationErr=!e,this.options=e}readDocType(e,r){let s=Object.create(null),n=0;if(e[r+3]==="O"&&e[r+4]==="C"&&e[r+5]==="T"&&e[r+6]==="Y"&&e[r+7]==="P"&&e[r+8]==="E"){r=r+9;let i=1,a=!1,c=!1,l="";for(;r=this.options.maxEntityCount)throw new Error(`Entity count (${n+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);s[u]=A,n++}}else if(a&&gc(e,"!ELEMENT",r)){r+=8;let{index:u}=this.readElementExp(e,r+1);r=u}else if(a&&gc(e,"!ATTLIST",r))r+=8;else if(a&&gc(e,"!NOTATION",r)){r+=9;let{index:u}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=u}else if(gc(e,"!--",r))c=!0;else throw new Error("Invalid DOCTYPE");i++,l=""}else if(e[r]===">"){if(c?e[r-1]==="-"&&e[r-2]==="-"&&(c=!1,i--):i--,i===0)break}else e[r]==="["?a=!0:l+=e[r];if(i!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:s,i:r}}readEntityExp(e,r){r=Gr(e,r);let s=r;for(;rthis.options.maxEntitySize)throw new Error(`Entity "${n}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return r--,[n,i,r]}readNotationExp(e,r){r=Gr(e,r);let s=r;for(;r{for(;e1||i.length===1&&!c))return t;{let l=Number(r),u=String(l);if(l===0)return l;if(u.search(/[eE]/)!==-1)return e.eNotation?l:t;if(r.indexOf(".")!==-1)return u==="0"||u===a||u===`${n}${a}`?l:t;let A=i?a:r;return i?A===u||n+A===u?l:t:A===u||A===n+u?l:t}}else return t}}else return hbe(t,Number(r),e)}o(ES,"toNumber");var Abe=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function dbe(t,e,r){if(!r.eNotation)return t;let s=e.match(Abe);if(s){let n=s[1]||"",i=s[3].indexOf("e")===-1?"E":"e",a=s[2],c=n?t[a.length+1]===i:t[a.length]===i;return a.length>1&&c?t:a.length===1&&(s[3].startsWith(`.${i}`)||s[3][0]===i)?Number(e):a.length>0?r.leadingZeros&&!c?(e=(s[1]||"")+s[3],Number(e)):t:Number(e)}else return t}o(dbe,"resolveEnotation");function pbe(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(pbe,"trimZeros");function mbe(t,e){if(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(mbe,"parse_int");function hbe(t,e,r){let s=e===1/0;switch(r.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return s?"Infinity":"-Infinity";default:return t}}o(hbe,"handleInfinity");function yS(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(yS,"getIgnoreAttributesFn");var gs=class{static{o(this,"Expression")}constructor(e,r={},s){this.pattern=e,this.separator=r.separator||".",this.segments=this._parse(e),this.data=s,this._hasDeepWildcard=this.segments.some(n=>n.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(n=>n.attrName!==void 0),this._hasPositionSelector=this.segments.some(n=>n.position!==void 0)}_parse(e){let r=[],s=0,n="";for(;s0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let r=this._matcher.path;if(r.length!==0)return r[r.length-1].values?.[e]}hasAttr(e){let r=this._matcher.path;if(r.length===0)return!1;let s=r[r.length-1];return s.values!==void 0&&e in s.values}getPosition(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,r=!0){return this._matcher.toString(e,r)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}},si=class{static{o(this,"Matcher")}constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new CS(this)}push(e,r=null,s=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let n=this.path.length;this.siblingStacks[n]||(this.siblingStacks[n]=new Map);let i=this.siblingStacks[n],a=s?`${s}:${e}`:e,c=i.get(a)||0,l=0;for(let A of i.values())l+=A;i.set(a,c+1);let u={tag:e,position:l,counter:c};s!=null&&(u.namespace=s),r!=null&&(u.values=r),this.path.push(u)}pop(){if(this.path.length===0)return;this._pathStringCache=null;let e=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),e}updateCurrent(e){if(this.path.length>0){let r=this.path[this.path.length-1];e!=null&&(r.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(this.path.length!==0)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return!1;let r=this.path[this.path.length-1];return r.values!==void 0&&e in r.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,r=!0){let s=e||this.separator;if(s===this.separator&&r===!0){if(this._pathStringCache!==null)return this._pathStringCache;let i=this.path.map(a=>a.namespace?`${a.namespace}:${a.tag}`:a.tag).join(s);return this._pathStringCache=i,i}return this.path.map(i=>r&&i.namespace?`${i.namespace}:${i.tag}`:i.tag).join(s)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(e){let r=e.segments;return r.length===0?!1:e.hasDeepWildcard()?this._matchWithDeepWildcard(r):this._matchSimple(r)}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let r=0;r=0&&r>=0;){let n=e[s];if(n.type==="deep-wildcard"){if(s--,s<0)return!0;let i=e[s],a=!1;for(let c=r;c>=0;c--)if(this._matchSegment(i,this.path[c],c===this.path.length-1)){r=c-1,s--,a=!0;break}if(!a)return!1}else{if(!this._matchSegment(n,this.path[r],r===this.path.length-1))return!1;r--,s--}}return s<0}_matchSegment(e,r,s){if(e.tag!=="*"&&e.tag!==r.tag||e.namespace!==void 0&&e.namespace!=="*"&&e.namespace!==r.namespace||e.attrName!==void 0&&(!s||!r.values||!(e.attrName in r.values)||e.attrValue!==void 0&&String(r.values[e.attrName])!==String(e.attrValue)))return!1;if(e.position!==void 0){if(!s)return!1;let n=r.counter??0;if(e.position==="first"&&n!==0)return!1;if(e.position==="odd"&&n%2!==1)return!1;if(e.position==="even"&&n%2!==0)return!1;if(e.position==="nth"&&n!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>new Map(e))}}restore(e){this._pathStringCache=null,this.path=e.path.map(r=>({...r})),this.siblingStacks=e.siblingStacks.map(r=>new Map(r))}readOnly(){return this._view}};function fbe(t,e){if(!t)return{};let r=e.attributesGroupName?t[e.attributesGroupName]:t;if(!r)return{};let s={};for(let n in r)if(n.startsWith(e.attributeNamePrefix)){let i=n.substring(e.attributeNamePrefix.length);s[i]=r[n]}else s[n]=r[n];return s}o(fbe,"extractRawAttributes");function gbe(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(gbe,"extractNamespace");var Dp=class{static{o(this,"OrderedObjParser")}constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=Bbe,this.parseTextData=Ebe,this.resolveNameSpace=ybe,this.buildAttributesMap=Ibe,this.isItStopNode=Qbe,this.replaceEntitiesValue=bbe,this.readStopNodeData=Rbe,this.saveTextToParentTag=xbe,this.addChild=wbe,this.ignoreAttributesFn=yS(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let r={...vp};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?r=this.options.htmlEntities:this.options.htmlEntities===!0&&(r={...hS,...sy}),this.entityDecoder=new xu({namedEntities:r,numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new si,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new Qu;let s=this.options.stopNodes;if(s&&s.length>0){for(let n=0;n0)){a||(t=this.replaceEntitiesValue(t,e,r));let l=c.jPath?r.toString():r,u=c.tagValueProcessor(e,t,l,n,i);return u==null?t:typeof u!=typeof t||u!==t?u:c.trimValues||t.trim()===t?wS(t,c.parseTagValue,c.numberParseOptions):t}}o(Ebe,"parseTextData");function ybe(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(ybe,"resolveNameSpace");var Cbe=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Ibe(t,e,r,s=!1){let n=this.options;if(s===!0||n.ignoreAttributes!==!0&&typeof t=="string"){let i=ey(t,Cbe),a=i.length,c={},l=new Array(a),u=!1,A={};for(let m=0;m",c,"Closing Tag is not closed."),d=t.substring(c+2,A).trim();if(n.removeNSPrefix){let m=d.indexOf(":");m!==-1&&(d=d.substr(m+1))}d=IS(n.transformTagName,d,"",n).tagName,r&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher));let p=this.matcher.getCurrentTag();if(d&&n.unpairedTagsSet.has(d))throw new Error(`Unpaired tag can not be used as closing tag: `);p&&n.unpairedTagsSet.has(p)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),s="",c=A}else if(u===63){let A=BS(t,c,!1,"?>");if(!A)throw new Error("Pi Tag is not closed.");s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let d=this.buildAttributesMap(A.tagExp,this.matcher,A.tagName,!0);if(d){let p=d[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(p)||1)}if(!(n.ignoreDeclaration&&A.tagName==="?xml"||n.ignorePiTags)){let p=new qr(A.tagName);p.add(n.textNodeName,""),A.tagName!==A.tagExp&&A.attrExpPresent&&n.ignoreAttributes!==!0&&(p[":@"]=d),this.addChild(r,p,this.readonlyMatcher,c)}c=A.closeIndex+1}else if(u===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let A=Nu(t,"-->",c+4,"Comment is not closed.");if(n.commentPropName){let d=t.substring(c+4,A-2);s=this.saveTextToParentTag(s,r,this.readonlyMatcher),r.add(n.commentPropName,[{[n.textNodeName]:d}])}c=A}else if(u===33&&t.charCodeAt(c+2)===68){let A=i.readDocType(t,c);this.entityDecoder.addInputEntities(A.entities),c=A.i}else if(u===33&&t.charCodeAt(c+2)===91){let A=Nu(t,"]]>",c,"CDATA is not closed.")-2,d=t.substring(c+9,A);s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let p=this.parseTextData(d,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);p==null&&(p=""),n.cdataPropName?r.add(n.cdataPropName,[{[n.textNodeName]:d}]):r.add(n.textNodeName,p),c=A+2}else{let A=BS(t,c,n.removeNSPrefix);if(!A){let R=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${R}"`)}let d=A.tagName,p=A.rawTagName,m=A.tagExp,h=A.attrExpPresent,f=A.closeIndex;if({tagName:d,tagExp:m}=IS(n.transformTagName,d,m,n),n.strictReservedNames&&(d===n.commentPropName||d===n.cdataPropName||d===n.textNodeName||d===n.attributesGroupName))throw new Error(`Invalid tag name: ${d}`);r&&s&&r.tagname!=="!xml"&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher,!1));let C=r;C&&n.unpairedTagsSet.has(C.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let E=!1;m.length>0&&m.lastIndexOf("/")===m.length-1&&(E=!0,d[d.length-1]==="/"?(d=d.substr(0,d.length-1),m=d):m=m.substr(0,m.length-1),h=d!==m);let y=null,I={},B;B=gbe(p),d!==e.tagname&&this.matcher.push(d,{},B),d!==m&&h&&(y=this.buildAttributesMap(m,this.matcher,d),y&&(I=fbe(y,n))),d!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let S=c;if(this.isCurrentNodeStopNode){let R="";if(E)c=A.closeIndex;else if(n.unpairedTagsSet.has(d))c=A.closeIndex;else{let we=this.readStopNodeData(t,p,f+1);if(!we)throw new Error(`Unexpected end of ${p}`);c=we.i,R=we.tagContent}let q=new qr(d);y&&(q[":@"]=y),q.add(n.textNodeName,R),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,q,this.readonlyMatcher,S)}else{if(E){({tagName:d,tagExp:m}=IS(n.transformTagName,d,m,n));let R=new qr(d);y&&(R[":@"]=y),this.addChild(r,R,this.readonlyMatcher,S),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(d)){let R=new qr(d);y&&(R[":@"]=y),this.addChild(r,R,this.readonlyMatcher,S),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=A.closeIndex;continue}else{let R=new qr(d);if(this.tagsNodeStack.length>n.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),y&&(R[":@"]=y),this.addChild(r,R,this.readonlyMatcher,S),r=R}s="",c=f}}}else s+=t[c];return e.child},"parseXml");function wbe(t,e,r,s){this.options.captureMetaData||(s=void 0);let n=this.options.jPath?r.toString():r,i=this.options.updateTag(e.tagname,n,e[":@"]);i===!1||(typeof i=="string"&&(e.tagname=i),t.addChild(e,s))}o(wbe,"addChild");function bbe(t,e,r){let s=this.options.processEntities;if(!s||!s.enabled)return t;if(s.allowedTags){let n=this.options.jPath?r.toString():r;if(!(Array.isArray(s.allowedTags)?s.allowedTags.includes(e):s.allowedTags(e,n)))return t}if(s.tagFilter){let n=this.options.jPath?r.toString():r;if(!s.tagFilter(e,n))return t}return this.entityDecoder.decode(t)}o(bbe,"replaceEntitiesValue");function xbe(t,e,r,s){return t&&(s===void 0&&(s=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,s),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}o(xbe,"saveTextToParentTag");function Qbe(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(Qbe,"isItStopNode");function Nbe(t,e,r=">"){let s=0,n=[],i=t.length,a=r.charCodeAt(0),c=r.length>1?r.charCodeAt(1):-1;for(let l=e;l",r,`${e} is not closed`);if(t.substring(r+2,c).trim()===e&&(n--,n===0))return{tagContent:t.substring(s,r),i:c};r=c}else if(a===63)r=Nu(t,"?>",r+1,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=Nu(t,"-->",r+3,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===91)r=Nu(t,"]]>",r,"StopNode is not closed.")-2;else{let c=BS(t,r,">");c&&((c&&c.tagName)===e&&c.tagExp[c.tagExp.length-1]!=="/"&&n++,r=c.closeIndex)}}}o(Rbe,"readStopNodeData");function wS(t,e,r){if(e&&typeof t=="string"){let s=t.trim();return s==="true"?!0:s==="false"?!1:ES(t,r)}else return L3(t)?t:""}o(wS,"parseValue");function IS(t,e,r,s){if(t){let n=t(e);r===e&&(r=n),e=n}return e=s4(e,s),{tagName:e,tagExp:r}}o(IS,"transformTagName");function s4(t,e){if(ty.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return Rp.includes(t)?e.onDangerousProperty(t):t}o(s4,"sanitizeName");var bS=qr.getMetaDataSymbol();function Tbe(t,e){if(!t||typeof t!="object")return{};if(!e)return t;let r={};for(let s in t)if(s.startsWith(e)){let n=s.substring(e.length);r[n]=t[s]}else r[s]=t[s];return r}o(Tbe,"stripAttributePrefix");function xS(t,e,r,s){return n4(t,e,r,s)}o(xS,"prettify");function n4(t,e,r,s){let n,i={};for(let a=0;a0&&(i[e.textNodeName]=n):n!==void 0&&(i[e.textNodeName]=n),i}o(n4,"compress");function vbe(t){let e=Object.keys(t);for(let r=0;r/g,"]]]]>")}o(ay,"safeCdata");function ia(t){return String(t).replace(/"/g,""").replace(/'/g,"'")}o(ia,"escapeAttribute");var i4=":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",Dbe=i4+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",o4=":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}",_be=o4+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",a4=o((t,e,r="")=>{let s=t.replace(":",""),n=e.replace(":",""),i=`[${s}][${n}]*`;return{name:new RegExp(`^[${t}][${e}]*$`,r),ncName:new RegExp(`^${i}$`,r),qName:new RegExp(`^${i}(?::${i})?$`,r),nmToken:new RegExp(`^[${e}]+$`,r),nmTokens:new RegExp(`^[${e}]+(?:\\s+[${e}]+)*$`,r)}},"buildRegexes"),Lbe=a4(i4,Dbe),Mbe=a4(o4,_be,"u"),Obe=o((t="1.0")=>t==="1.1"?Mbe:Lbe,"getRegexes");var cy=o((t,{xmlVersion:e="1.0"}={})=>Obe(e).qName.test(t),"qName");var Fbe=` `;function Ube(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(SS(r)==="?xml"){let n=r[":@"];if(n){let i=e.attributeNamePrefix+"version";if(n[i])return n[i]}}return"1.0"}o(Ube,"detectXmlVersionFromArray");function l4(t,e,r,s,n){return!r.sanitizeName||cy(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(l4,"resolveTagName");function NS(t,e){let r="";e.format&&(r=Fbe);let s=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let a=0;ae.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let l=t.toString();return l=QS(l,e),l}return""}for(let l=0;l`,c=!1,s.pop();continue}else if(p===e.commentPropName){let I=u[A][0][e.textNodeName],B=oy(I);a+=r+``,c=!0,s.pop();continue}else if(p[0]==="?"){let I=c4(u[":@"],e,h,s,i);a+=(p==="?xml"?"":r)+`<${p}${I}?>`,c=!0,s.pop();continue}let f=r;f!==""&&(f+=e.indentBy);let C=c4(u[":@"],e,h,s,i),E=r+`<${p}${C}`,y;h?y=A4(u[A],e):y=u4(u[A],e,f,s,n,i),e.unpairedTags.indexOf(p)!==-1?e.suppressUnpairedNode?a+=E+">":a+=E+"/>":(!y||y.length===0)&&e.suppressEmptyNode?a+=E+"/>":y&&y.endsWith(">")?a+=E+`>${y}${r}`:(a+=E+">",y&&r!==""&&(y.includes("/>")||y.includes("`),c=!0,s.pop()}return a}o(u4,"arrToStr");function qbe(t,e){if(!t||e.ignoreAttributes)return null;let r={},s=!1;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=n.startsWith(e.attributeNamePrefix)?n.substr(e.attributeNamePrefix.length):n;r[i]=ia(t[n]),s=!0}return s?r:null}o(qbe,"extractAttributeValues");function A4(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let s=0;s`:r+=`<${i}${a}>${c}`}}}return r}o(A4,"getRawContent");function Gbe(t,e){let r="";if(t&&!e.ignoreAttributes)for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let n=t[s];n===!0&&e.suppressBooleanAttributes?r+=` ${s.substr(e.attributeNamePrefix.length)}`:r+=` ${s.substr(e.attributeNamePrefix.length)}="${ia(n)}"`}return r}o(Gbe,"attr_to_str_raw");function SS(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(RS,"getIgnoreAttributesFn");var zbe={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 Hr(t){if(this.options=Object.assign({},zbe,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(Hr,"Builder");function $be(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let n=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(n)return n}let s=r[e.attributeNamePrefix+"version"];if(s)return s}return"1.0"}o($be,"detectXmlVersionFromObj");function TS(t,e,r,s,n){return!r.sanitizeName||cy(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(TS,"resolveTagName");Hr.prototype.build=function(t){if(this.options.preserveOrder)return NS(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new si,r=$be(t,this.options);return this.j2x(t,0,e,r).val}};Hr.prototype.j2x=function(t,e,r,s){let n="",i="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");let a=this.options.jPath?r.toString():r,c=this.checkStopNode(r);for(let l in t){if(!Object.prototype.hasOwnProperty.call(t,l))continue;let A=l===this.options.textNodeName||l===this.options.cdataPropName||l===this.options.commentPropName||this.options.attributesGroupName&&l===this.options.attributesGroupName||this.isAttribute(l)||l[0]==="?"?l:TS(l,!1,this.options,r,s);if(typeof t[l]>"u")this.isAttribute(l)&&(i+="");else if(t[l]===null)this.isAttribute(l)||A===this.options.cdataPropName||A===this.options.commentPropName?i+="":A[0]==="?"?i+=this.indentate(e)+"<"+A+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+A+"/"+this.tagEndChar;else if(t[l]instanceof Date)i+=this.buildTextValNode(t[l],A,"",e,r);else if(typeof t[l]!="object"){let d=this.isAttribute(l);if(d&&!this.ignoreAttributesFn(d,a)){let p=TS(d,!0,this.options,r,s);n+=this.buildAttrPairStr(p,""+t[l],c)}else if(!d)if(l===this.options.textNodeName){let p=this.options.tagValueProcessor(l,""+t[l]);i+=this.replaceEntitiesValue(p)}else{r.push(A);let p=this.checkStopNode(r);if(r.pop(),p){let m=""+t[l];m===""?i+=this.indentate(e)+"<"+A+this.closeTag(A)+this.tagEndChar:i+=this.indentate(e)+"<"+A+">"+m+""u"))if(f===null)A[0]==="?"?i+=this.indentate(e)+"<"+A+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+A+"/"+this.tagEndChar;else if(typeof f=="object")if(this.options.oneListGroup){r.push(A);let C=this.j2x(f,e+1,r,s);r.pop(),p+=C.val,this.options.attributesGroupName&&f.hasOwnProperty(this.options.attributesGroupName)&&(m+=C.attrStr)}else p+=this.processTextOrObjNode(f,A,e,r,s);else if(this.options.oneListGroup){let C=this.options.tagValueProcessor(A,f);C=this.replaceEntitiesValue(C),p+=C}else{r.push(A);let C=this.checkStopNode(r);if(r.pop(),C){let E=""+f;E===""?p+=this.indentate(e)+"<"+A+this.closeTag(A)+this.tagEndChar:p+=this.indentate(e)+"<"+A+">"+E+"${n}`;else if(typeof n=="object"&&n!==null){let i=this.buildRawContent(n),a=this.buildAttributesForStopNode(n);i===""?e+=`<${r}${a}/>`:e+=`<${r}${a}>${i}`}}else if(typeof s=="object"&&s!==null){let n=this.buildRawContent(s),i=this.buildAttributesForStopNode(s);n===""?e+=`<${r}${i}/>`:e+=`<${r}${i}>${n}`}else e+=`<${r}>${s}`}return e};Hr.prototype.buildAttributesForStopNode=function(t){if(!t||typeof t!="object")return"";let e="";if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){let r=t[this.options.attributesGroupName];for(let s in r){if(!Object.prototype.hasOwnProperty.call(r,s))continue;let n=s.startsWith(this.options.attributeNamePrefix)?s.substring(this.options.attributeNamePrefix.length):s,i=r[s];i===!0&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+i+'"'}}else for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let s=this.isAttribute(r);if(s){let n=t[r];n===!0&&this.options.suppressBooleanAttributes?e+=" "+s:e+=" "+s+'="'+n+'"'}}return e};Hr.prototype.buildObjectNode=function(t,e,r,s){if(t==="")return e[0]==="?"?this.indentate(s)+"<"+e+r+"?"+this.tagEndChar:this.indentate(s)+"<"+e+r+this.closeTag(e)+this.tagEndChar;if(e[0]==="?")return this.indentate(s)+"<"+e+r+"?"+this.tagEndChar;{let n=""+t+n:this.options.commentPropName!==!1&&e===this.options.commentPropName&&i.length===0?this.indentate(s)+``+this.newLine:this.indentate(s)+"<"+e+r+i+this.tagEndChar+t+this.indentate(s)+n}};Hr.prototype.closeTag=function(t){let e="";return this.options.unpairedTags.indexOf(t)!==-1?this.options.suppressUnpairedNode||(e="/"):this.options.suppressEmptyNode?e="/":e=`>`+this.newLine}else if(this.options.commentPropName!==!1&&e===this.options.commentPropName){let i=oy(t);return this.indentate(s)+``+this.newLine}else{if(e[0]==="?")return this.indentate(s)+"<"+e+r+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(e,t);return i=this.replaceEntitiesValue(i),i===""?this.indentate(s)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(s)+"<"+e+r+">"+i+"0&&this.options.processEntities)for(let e=0;e${s.build(n)}`.replace(/\n/g,"")}o(ly,"stringifyXML");async function PS(t,e={}){if(!t)throw new Error("Document is empty");let r=d4.validate(t);if(r!==!0)throw r;let n=new Su(jbe(e)).parse(t);if(n["?xml"]&&delete n["?xml"],!e.includeRoot)for(let i of Object.keys(n)){let a=n[i];return typeof a=="object"?Object.assign({},a):a}return n}o(PS,"parseXML");var uy=Zn("storage-blob");var E4=require("events");var f4=require("node:stream");var Ay=class extends f4.Readable{static{o(this,"BuffersStream")}buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,r,s){super(s),this.buffers=e,this.byteLength=r,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let n=0;for(let i of this.buffers)n+=i.byteLength;if(n=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let r=[],s=0;for(;se-s){let c=this.byteOffsetInCurrentBuffer+e-s;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),this.pushedBytesLength+=e-s,this.byteOffsetInCurrentBuffer=c,s=e;break}else{let c=this.byteOffsetInCurrentBuffer+a;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),a===i?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=c,this.pushedBytesLength+=a,s+=a}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};var g4=w(require("node:buffer"),1);var dy=g4.default.constants.MAX_LENGTH,py=class{static{o(this,"PooledBuffer")}buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,s){this.capacity=e,this._size=0;let n=Math.ceil(e/dy);for(let i=0;i0&&(e[0]=e[0].slice(a))}getReadableStream(){return new Ay(this.buffers,this.size)}};var my=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new E4.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,s,n,i,a){if(r<=0)throw new RangeError(`bufferSize must be larger than 0, current is ${r}`);if(s<=0)throw new RangeError(`maxBuffers must be larger than 0, current is ${s}`);if(i<=0)throw new RangeError(`concurrency must be larger than 0, current is ${i}`);this.bufferSize=r,this.maxBuffers=s,this.readable=e,this.outgoingHandler=n,this.concurrency=i,this.encoding=a}async do(){return new Promise((e,r)=>{this.readable.on("data",s=>{s=typeof s=="string"?Buffer.from(s,this.encoding):s,this.appendUnresolvedData(s),this.resolveData()||this.readable.pause()}),this.readable.on("error",s=>{this.emitter.emit("error",s)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",s=>{this.isError=!0,this.readable.pause(),r(s)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0)if(this.unresolvedLength>0&&this.unresolvedLengths.getReadableStream(),s.size,this.offset).then(e).catch(r)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new py(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else if(this.numBuffers=this.concurrency)return;e=this.outgoing.shift(),e&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let r=e.size;this.executingOutgoingHandlers++,this.offset+=r;try{await this.outgoingHandler(()=>e.getReadableStream(),r,this.offset-r)}catch(s){this.emitter.emit("error",s);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}};var kS;function DS(){return kS||(kS=Ip()),kS}o(DS,"getCachedDefaultHttpClient");var ni=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 io={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}},re={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 oa(t,e,r){let s=new URL(t),n=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,a=s.search===""?"?":s.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[u]=l.split("=",2);u!==n&&c.push(l)}return i&&c.push(`${n}=${i}`),s.search=c.length?`?${c.join("&")}`:"",s.toString()}o(oa,"setURLParameter");function hy(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(hy,"setURLHost");function fy(t){try{return new URL(t).pathname}catch{return}}o(fy,"getURLPath");function gy(t){let e=new URL(t).search;if(!e)return{};e=e.trim(),e=e.startsWith("?")?e.substring(1):e;let r=e.split("&");r=r.filter(n=>{let i=n.indexOf("="),a=n.lastIndexOf("=");return i>0&&i===a&&a{let i,a=o(()=>{i!==void 0&&clearTimeout(i),n(r)},"abortHandler");i=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),s()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(Ey,"delay");var _p=class extends ni{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return xe?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=oa(e.url,io.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(re.COOKIE),e.headers.remove(re.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};var Lp=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new _p(e,r)}};var Ec=class extends ni{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var Mp=class extends Ec{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var yc=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var Je=class extends yc{static{o(this,"AnonymousCredential")}create(e,r){return new Mp(e,r)}};var y4=require("node:crypto");var Kbe=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]),Xbe=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]),Zbe=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 yy(t,e){return exe(t,e)?-1:1}o(yy,"compareHeader");function exe(t,e){let r=[Kbe,Xbe,Zbe],s=0,n=0,i=0;for(;si;let a=n0&&e.headers.set(re.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,re.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,re.CONTENT_ENCODING),this.getHeaderValueToSign(e,re.CONTENT_LENGTH),this.getHeaderValueToSign(e,re.CONTENT_MD5),this.getHeaderValueToSign(e,re.CONTENT_TYPE),this.getHeaderValueToSign(e,re.DATE),this.getHeaderValueToSign(e,re.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,re.IF_MATCH),this.getHeaderValueToSign(e,re.IF_NONE_MATCH),this.getHeaderValueToSign(e,re.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,re.RANGE)].join(` `)+` `+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),s=this.factory.computeHMACSHA256(r);return e.headers.set(re.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${s}`),e}getHeaderValueToSign(e,r){let s=e.headers.get(r);return!s||r===re.CONTENT_LENGTH&&s==="0"?"":s}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(n=>n.name.toLowerCase().startsWith(re.PREFIX_FOR_STORAGE));r.sort((n,i)=>yy(n.name.toLowerCase(),i.name.toLowerCase())),r=r.filter((n,i,a)=>!(i>0&&n.name.toLowerCase()===a[i-1].name.toLowerCase()));let s="";return r.forEach(n=>{s+=`${n.name.toLowerCase().trimRight()}:${n.value.trimLeft()} `}),s}getCanonicalizedResourceString(e){let r=fy(e.url)||"/",s="";s+=`/${this.factory.accountName}${r}`;let n=gy(e.url),i={};if(n){let a=[];for(let c in n)if(Object.prototype.hasOwnProperty.call(n,c)){let l=c.toLowerCase();i[l]=n[c],a.push(l)}a.sort();for(let c of a)s+=` ${c}:${decodeURIComponent(i[c])}`}return s}};var it=class extends yc{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new Op(e,r,this)}computeHMACSHA256(e){return(0,y4.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var Dt=Zn("storage-common");var Hs;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(Hs||(Hs={}));var aa={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Hs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},txe=new ms("The operation was aborted."),Fp=class extends ni{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,s=aa){super(e,r),this.retryOptions={retryPolicyType:s.retryPolicyType?s.retryPolicyType:aa.retryPolicyType,maxTries:s.maxTries&&s.maxTries>=1?Math.floor(s.maxTries):aa.maxTries,tryTimeoutInMs:s.tryTimeoutInMs&&s.tryTimeoutInMs>=0?s.tryTimeoutInMs:aa.tryTimeoutInMs,retryDelayInMs:s.retryDelayInMs&&s.retryDelayInMs>=0?Math.min(s.retryDelayInMs,s.maxRetryDelayInMs?s.maxRetryDelayInMs:aa.maxRetryDelayInMs):aa.retryDelayInMs,maxRetryDelayInMs:s.maxRetryDelayInMs&&s.maxRetryDelayInMs>=0?s.maxRetryDelayInMs:aa.maxRetryDelayInMs,secondaryHost:s.secondaryHost?s.secondaryHost:aa.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,s){let n=e.clone(),i=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||s%2===1;i||(n.url=hy(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=oa(n.url,io.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Dt.info(`RetryPolicy: =====> Try=${s} ${i?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(n),!this.shouldRetry(i,s,a))return a;r=r||!i&&a.status===404}catch(c){if(Dt.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(i,s,a,c))throw c}return await this.delay(i,s,e.abortSignal),this.attemptSendRequest(e,r,++s)}shouldRetry(e,r,s,n){if(r>=this.retryOptions.maxTries)return Dt.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let i=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(n){for(let a of i)if(n.name.toUpperCase().includes(a)||n.message.toUpperCase().includes(a)||n.code&&n.code.toString().toUpperCase()===a)return Dt.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(s||n){let a=s?s.status:n?n.statusCode:0;if(!e&&a===404)return Dt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Dt.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(s&&s?.status>=400){let a=s.headers.get(re.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag')?(Dt.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,s){let n=0;if(e)switch(this.retryOptions.retryPolicyType){case Hs.EXPONENTIAL:n=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Hs.FIXED:n=this.retryOptions.retryDelayInMs;break}else n=Math.random()*1e3;return Dt.info(`RetryPolicy: Delay for ${n}ms`),Ey(n,s,txe)}};var Up=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new Fp(e,r,this.retryOptions)}};var rxe="storageBrowserPolicy";function C4(){return{name:rxe,async sendRequest(t,e){return xe||((t.method==="GET"||t.method==="HEAD")&&(t.url=oa(t.url,io.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(re.COOKIE),t.headers.delete(re.CONTENT_LENGTH)),e(t)}}}o(C4,"storageBrowserPolicy");var sxe="StorageCorrectContentLengthPolicy";function I4(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(re.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:sxe,async sendRequest(e,r){return t(e),r(e)}}}o(I4,"storageCorrectContentLengthPolicy");var nxe="storageRetryPolicy",Ru={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Hs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},ixe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],oxe=new ms("The operation was aborted.");function B4(t={}){let e=t.retryPolicyType??Ru.retryPolicyType,r=t.maxTries??Ru.maxTries,s=t.retryDelayInMs??Ru.retryDelayInMs,n=t.maxRetryDelayInMs??Ru.maxRetryDelayInMs,i=t.secondaryHost??Ru.secondaryHost,a=t.tryTimeoutInMs??Ru.tryTimeoutInMs;function c({isPrimaryRetry:u,attempt:A,response:d,error:p}){if(A>=r)return Dt.info(`RetryPolicy: Attempt(s) ${A} >= maxTries ${r}, no further try.`),!1;if(p){for(let m of ixe)if(p.name.toUpperCase().includes(m)||p.message.toUpperCase().includes(m)||p.code&&p.code.toString().toUpperCase()===m)return Dt.info(`RetryPolicy: Network error ${m} found, will retry.`),!0;if(p?.code==="PARSE_ERROR"&&p?.message.startsWith('Error "Error: Unclosed root tag'))return Dt.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(d||p){let m=d?.status??p?.statusCode??0;if(!u&&m===404)return Dt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(m===503||m===500)return Dt.info(`RetryPolicy: Will retry for status code ${m}.`),!0}if(d&&d?.status>=400){let m=d.headers.get(re.X_MS_CopySourceErrorCode);if(m!==void 0)switch(m){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}o(c,"shouldRetry");function l(u,A){let d=0;if(u)switch(e){case Hs.EXPONENTIAL:d=Math.min((Math.pow(2,A-1)-1)*s,n);break;case Hs.FIXED:d=s;break}else d=Math.random()*1e3;return Dt.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:nxe,async sendRequest(u,A){a&&(u.url=oa(u.url,io.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=u.url,p=i?hy(u.url,i):void 0,m=!1,h=1,f=!0,C,E;for(;f;){let y=m||!p||!["GET","HEAD","OPTIONS"].includes(u.method)||h%2===1;u.url=y?d:p,C=void 0,E=void 0;try{Dt.info(`RetryPolicy: =====> Try=${h} ${y?"Primary":"Secondary"}`),C=await A(u),m=m||!y&&C.status===404}catch(I){if(mc(I))Dt.error(`RetryPolicy: Caught error, message: ${I.message}, code: ${I.code}`),E=I;else throw Dt.error(`RetryPolicy: Caught error, message: ${ta(I)}`),I}f=c({isPrimaryRetry:y,attempt:h,response:C,error:E}),f&&await Ey(l(y,h),u.abortSignal,oxe),h++}if(C)return C;throw E??new ro("RetryPolicy failed without known error.")}}}o(B4,"storageRetryPolicy");var w4=require("node:crypto");var axe="storageSharedKeyCredentialPolicy";function _S(t){function e(i){i.headers.set(re.X_MS_DATE,new Date().toUTCString()),i.body&&(typeof i.body=="string"||Buffer.isBuffer(i.body))&&i.body.length>0&&i.headers.set(re.CONTENT_LENGTH,Buffer.byteLength(i.body));let a=[i.method.toUpperCase(),r(i,re.CONTENT_LANGUAGE),r(i,re.CONTENT_ENCODING),r(i,re.CONTENT_LENGTH),r(i,re.CONTENT_MD5),r(i,re.CONTENT_TYPE),r(i,re.DATE),r(i,re.IF_MODIFIED_SINCE),r(i,re.IF_MATCH),r(i,re.IF_NONE_MATCH),r(i,re.IF_UNMODIFIED_SINCE),r(i,re.RANGE)].join(` `)+` `+s(i)+n(i),c=(0,w4.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");i.headers.set(re.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(i,a){let c=i.headers.get(a);return!c||a===re.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function s(i){let a=[];for(let[l,u]of i.headers)l.toLowerCase().startsWith(re.PREFIX_FOR_STORAGE)&&a.push({name:l,value:u});a.sort((l,u)=>yy(l.name.toLowerCase(),u.name.toLowerCase())),a=a.filter((l,u,A)=>!(u>0&&l.name.toLowerCase()===A[u-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()} `}),c}o(s,"getCanonicalizedHeadersString");function n(i){let a=fy(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=gy(i.url),u={};if(l){let A=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let p=d.toLowerCase();u[p]=l[d],A.push(p)}A.sort();for(let d of A)c+=` ${d}:${decodeURIComponent(u[d])}`}return c}return o(n,"getCanonicalizedResourceString"),{name:axe,async sendRequest(i,a){return e(i),a(i)}}}o(_S,"storageSharedKeyCredentialPolicy");var cxe="storageRequestFailureDetailsParserPolicy";function b4(){return{name:cxe,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(b4,"storageRequestFailureDetailsParserPolicy");var x4=require("node:crypto");var Cy=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,x4.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var Iy="12.31.0",By="2026-02-06";var wy="https://storage.azure.com/.default",oo={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var Bn="",LS="*",lxe=1*1024*1024;var uxe=4*lxe;var Q4="AES256",N4="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",S4=["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"],R4=["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"],T4="BlobUsesCustomerSpecifiedEncryption",v4="BlobDoesNotUseCustomerSpecifiedEncryption",P4=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function ao(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(ao,"isPipelineLike");var qp=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 Et(t,e={}){t||(t=new Je);let r=new qp([],e);return r._credential=t,r}o(Et,"newPipeline");function Axe(t){let e=[dxe,k4,pxe,mxe,hxe,fxe,Exe];if(t.factories.length){let r=t.factories.filter(s=>!e.some(n=>n(s)));if(r.length){let s=r.some(n=>gxe(n));return{wrappedPolicies:pS(r),afterRetry:s}}}}o(Axe,"processDownlevelPipeline");function MS(t){let{httpClient:e,...r}=t.options,s=t._coreHttpClient;s||(s=e?mS(e):DS(),t._coreHttpClient=s);let n=t._corePipeline;if(!n){let i=`azsdk-js-azure-storage-blob/${Iy}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;n=wp({...r,loggingOptions:{additionalAllowedHeaderNames:S4,additionalAllowedQueryParameters:R4,logger:uy.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:ly,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:PS,serializerOptions:{xml:{xmlCharKey:"#"}}}}),n.removePolicy({phase:"Retry"}),n.removePolicy({name:HN}),n.addPolicy(I4()),n.addPolicy(B4(r.retryOptions),{phase:"Retry"}),n.addPolicy(b4()),n.addPolicy(C4());let c=Axe(t);c&&n.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=OS(t);hs(l)?n.addPolicy(Bu({credential:l,scopes:r.audience??wy,challengeCallbacks:{authorizeRequestOnChallenge:KE}}),{phase:"Sign"}):l instanceof it&&n.addPolicy(_S({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=n}return{...r,allowInsecureConnection:!0,httpClient:s,pipeline:n}}o(MS,"getCoreClientOptions");function OS(t){if(t._credential)return t._credential;let e=new Je;for(let r of t.factories)if(hs(r.credential))e=r.credential;else if(k4(r))return r;return e}o(OS,"getCredentialFromPipeline");function k4(t){return t instanceof it?!0:t.constructor.name==="StorageSharedKeyCredential"}o(k4,"isStorageSharedKeyCredential");function dxe(t){return t instanceof Je?!0:t.constructor.name==="AnonymousCredential"}o(dxe,"isAnonymousCredential");function pxe(t){return hs(t.credential)}o(pxe,"isCoreHttpBearerTokenFactory");function mxe(t){return t instanceof Lp?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(mxe,"isStorageBrowserPolicyFactory");function hxe(t){return t instanceof Up?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(hxe,"isStorageRetryPolicyFactory");function fxe(t){return t.constructor.name==="TelemetryPolicyFactory"}o(fxe,"isStorageTelemetryPolicyFactory");function gxe(t){return t.constructor.name==="InjectorPolicyFactory"}o(gxe,"isInjectorPolicyFactory");function Exe(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:o(async a=>({request:a,headers:a.headers.clone(),status:500}),"sendRequest")},s={log(a,c){},shouldLog(a){return!1}},i=t.create(r,s).constructor.name;return e.some(a=>i.startsWith(a))}o(Exe,"isCoreHttpPolicyFactory");var D4;(function(t){t.AES256="AES256"})(D4||(D4={}));var _4;(function(t){t.Backup="backup"})(_4||(_4={}));var L4;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(L4||(L4={}));var M4;(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"})(M4||(M4={}));var Es={};GZ(Es,{AccessPolicy:()=>Txe,AppendBlobAppendBlockExceptionHeaders:()=>nv,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>ov,AppendBlobAppendBlockFromUrlHeaders:()=>iv,AppendBlobAppendBlockHeaders:()=>sv,AppendBlobCreateExceptionHeaders:()=>rv,AppendBlobCreateHeaders:()=>tv,AppendBlobSealExceptionHeaders:()=>cv,AppendBlobSealHeaders:()=>av,ArrowConfiguration:()=>zxe,ArrowField:()=>$xe,BlobAbortCopyFromURLExceptionHeaders:()=>ST,BlobAbortCopyFromURLHeaders:()=>NT,BlobAcquireLeaseExceptionHeaders:()=>dT,BlobAcquireLeaseHeaders:()=>AT,BlobBreakLeaseExceptionHeaders:()=>CT,BlobBreakLeaseHeaders:()=>yT,BlobChangeLeaseExceptionHeaders:()=>ET,BlobChangeLeaseHeaders:()=>gT,BlobCopyFromURLExceptionHeaders:()=>QT,BlobCopyFromURLHeaders:()=>xT,BlobCreateSnapshotExceptionHeaders:()=>BT,BlobCreateSnapshotHeaders:()=>IT,BlobDeleteExceptionHeaders:()=>jR,BlobDeleteHeaders:()=>WR,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>oT,BlobDeleteImmutabilityPolicyHeaders:()=>iT,BlobDownloadExceptionHeaders:()=>VR,BlobDownloadHeaders:()=>xy,BlobFlatListSegment:()=>vxe,BlobGetAccountInfoExceptionHeaders:()=>vT,BlobGetAccountInfoHeaders:()=>TT,BlobGetPropertiesExceptionHeaders:()=>JR,BlobGetPropertiesHeaders:()=>YR,BlobGetTagsExceptionHeaders:()=>DT,BlobGetTagsHeaders:()=>kT,BlobHierarchyListSegment:()=>_xe,BlobItemInternal:()=>Pxe,BlobName:()=>kxe,BlobPrefix:()=>Lxe,BlobPropertiesInternal:()=>Dxe,BlobQueryExceptionHeaders:()=>PT,BlobQueryHeaders:()=>Ny,BlobReleaseLeaseExceptionHeaders:()=>mT,BlobReleaseLeaseHeaders:()=>pT,BlobRenewLeaseExceptionHeaders:()=>fT,BlobRenewLeaseHeaders:()=>hT,BlobServiceProperties:()=>Gp,BlobServiceStatistics:()=>FS,BlobSetExpiryExceptionHeaders:()=>eT,BlobSetExpiryHeaders:()=>ZR,BlobSetHttpHeadersExceptionHeaders:()=>rT,BlobSetHttpHeadersHeaders:()=>tT,BlobSetImmutabilityPolicyExceptionHeaders:()=>nT,BlobSetImmutabilityPolicyHeaders:()=>sT,BlobSetLegalHoldExceptionHeaders:()=>cT,BlobSetLegalHoldHeaders:()=>aT,BlobSetMetadataExceptionHeaders:()=>uT,BlobSetMetadataHeaders:()=>lT,BlobSetTagsExceptionHeaders:()=>LT,BlobSetTagsHeaders:()=>_T,BlobSetTierExceptionHeaders:()=>RT,BlobSetTierHeaders:()=>Qy,BlobStartCopyFromURLExceptionHeaders:()=>bT,BlobStartCopyFromURLHeaders:()=>wT,BlobTag:()=>Sxe,BlobTags:()=>zp,BlobUndeleteExceptionHeaders:()=>XR,BlobUndeleteHeaders:()=>KR,Block:()=>Mxe,BlockBlobCommitBlockListExceptionHeaders:()=>Ev,BlockBlobCommitBlockListHeaders:()=>gv,BlockBlobGetBlockListExceptionHeaders:()=>Cv,BlockBlobGetBlockListHeaders:()=>yv,BlockBlobPutBlobFromUrlExceptionHeaders:()=>dv,BlockBlobPutBlobFromUrlHeaders:()=>Av,BlockBlobStageBlockExceptionHeaders:()=>mv,BlockBlobStageBlockFromURLExceptionHeaders:()=>fv,BlockBlobStageBlockFromURLHeaders:()=>hv,BlockBlobStageBlockHeaders:()=>pv,BlockBlobUploadExceptionHeaders:()=>uv,BlockBlobUploadHeaders:()=>lv,BlockList:()=>VS,BlockLookupList:()=>$S,ClearRange:()=>Fxe,ContainerAcquireLeaseExceptionHeaders:()=>vR,ContainerAcquireLeaseHeaders:()=>TR,ContainerBreakLeaseExceptionHeaders:()=>MR,ContainerBreakLeaseHeaders:()=>LR,ContainerChangeLeaseExceptionHeaders:()=>FR,ContainerChangeLeaseHeaders:()=>OR,ContainerCreateExceptionHeaders:()=>AR,ContainerCreateHeaders:()=>uR,ContainerDeleteExceptionHeaders:()=>hR,ContainerDeleteHeaders:()=>mR,ContainerFilterBlobsExceptionHeaders:()=>RR,ContainerFilterBlobsHeaders:()=>SR,ContainerGetAccessPolicyExceptionHeaders:()=>yR,ContainerGetAccessPolicyHeaders:()=>ER,ContainerGetAccountInfoExceptionHeaders:()=>$R,ContainerGetAccountInfoHeaders:()=>zR,ContainerGetPropertiesExceptionHeaders:()=>pR,ContainerGetPropertiesHeaders:()=>dR,ContainerItem:()=>xxe,ContainerListBlobFlatSegmentExceptionHeaders:()=>qR,ContainerListBlobFlatSegmentHeaders:()=>UR,ContainerListBlobHierarchySegmentExceptionHeaders:()=>HR,ContainerListBlobHierarchySegmentHeaders:()=>GR,ContainerProperties:()=>Qxe,ContainerReleaseLeaseExceptionHeaders:()=>kR,ContainerReleaseLeaseHeaders:()=>PR,ContainerRenameExceptionHeaders:()=>xR,ContainerRenameHeaders:()=>bR,ContainerRenewLeaseExceptionHeaders:()=>_R,ContainerRenewLeaseHeaders:()=>DR,ContainerRestoreExceptionHeaders:()=>wR,ContainerRestoreHeaders:()=>BR,ContainerSetAccessPolicyExceptionHeaders:()=>IR,ContainerSetAccessPolicyHeaders:()=>CR,ContainerSetMetadataExceptionHeaders:()=>gR,ContainerSetMetadataHeaders:()=>fR,ContainerSubmitBatchExceptionHeaders:()=>NR,ContainerSubmitBatchHeaders:()=>QR,CorsRule:()=>Bxe,DelimitedTextConfiguration:()=>Gxe,FilterBlobItem:()=>Nxe,FilterBlobSegment:()=>Hp,GeoReplication:()=>bxe,JsonTextConfiguration:()=>Hxe,KeyInfo:()=>qS,ListBlobsFlatSegmentResponse:()=>HS,ListBlobsHierarchySegmentResponse:()=>zS,ListContainersSegmentResponse:()=>US,Logging:()=>yxe,Metrics:()=>Ixe,PageBlobClearPagesExceptionHeaders:()=>GT,PageBlobClearPagesHeaders:()=>qT,PageBlobCopyIncrementalExceptionHeaders:()=>ev,PageBlobCopyIncrementalHeaders:()=>ZT,PageBlobCreateExceptionHeaders:()=>OT,PageBlobCreateHeaders:()=>MT,PageBlobGetPageRangesDiffExceptionHeaders:()=>JT,PageBlobGetPageRangesDiffHeaders:()=>YT,PageBlobGetPageRangesExceptionHeaders:()=>VT,PageBlobGetPageRangesHeaders:()=>$T,PageBlobResizeExceptionHeaders:()=>jT,PageBlobResizeHeaders:()=>WT,PageBlobUpdateSequenceNumberExceptionHeaders:()=>XT,PageBlobUpdateSequenceNumberHeaders:()=>KT,PageBlobUploadPagesExceptionHeaders:()=>UT,PageBlobUploadPagesFromURLExceptionHeaders:()=>zT,PageBlobUploadPagesFromURLHeaders:()=>HT,PageBlobUploadPagesHeaders:()=>FT,PageList:()=>by,PageRange:()=>Oxe,QueryFormat:()=>qxe,QueryRequest:()=>YS,QuerySerialization:()=>Uxe,RetentionPolicy:()=>Cxe,ServiceFilterBlobsExceptionHeaders:()=>lR,ServiceFilterBlobsHeaders:()=>cR,ServiceGetAccountInfoExceptionHeaders:()=>iR,ServiceGetAccountInfoHeaders:()=>nR,ServiceGetPropertiesExceptionHeaders:()=>KS,ServiceGetPropertiesHeaders:()=>jS,ServiceGetStatisticsExceptionHeaders:()=>ZS,ServiceGetStatisticsHeaders:()=>XS,ServiceGetUserDelegationKeyExceptionHeaders:()=>sR,ServiceGetUserDelegationKeyHeaders:()=>rR,ServiceListContainersSegmentExceptionHeaders:()=>tR,ServiceListContainersSegmentHeaders:()=>eR,ServiceSetPropertiesExceptionHeaders:()=>WS,ServiceSetPropertiesHeaders:()=>JS,ServiceSubmitBatchExceptionHeaders:()=>aR,ServiceSubmitBatchHeaders:()=>oR,SignedIdentifier:()=>Rxe,StaticWebsite:()=>wxe,StorageError:()=>T,UserDelegationKey:()=>GS});var Gp={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"}}}}},yxe={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"}}}}},Cxe={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"}}}}},Ixe={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"}}}}},Bxe={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"}}}}},wxe={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"}}}}},T={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"}}}}},FS={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},bxe={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"}}}}},US={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"}}}}},xxe={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"}}}}}}},Qxe={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"}}}}},qS={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"}}}}},GS={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"}}}}},Hp={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"}}}}},Nxe={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"}}}}},zp={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"}}}}}}},Sxe={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"}}}}},Rxe={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"}}}}},Txe={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"}}}}},HS={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"}}}}},vxe={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"}}}}}}},Pxe={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"}}}}},kxe={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"}}}}},Dxe={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"}}}}},zS={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"}}}}},_xe={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"}}}}}}},Lxe={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},$S={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"}}}}}}},VS={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"}}}}}}},Mxe={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"}}}}},by={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"}}}}},Oxe={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"}}}}},Fxe={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"}}}}},YS={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"}}}}},Uxe={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},qxe={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"}}}}}}},Gxe={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"}}}}},Hxe={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},zxe={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"}}}}}}},$xe={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"}}}}},JS={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"}}}}},WS={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jS={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"}}}}},KS={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XS={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"}}}}},ZS={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eR={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"}}}}},tR={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rR={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"}}}}},sR={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nR={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"}}}}},iR={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oR={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"}}}}},aR={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cR={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"}}}}},lR={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uR={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"}}}}},AR={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dR={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"}}}}},pR={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mR={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"}}}}},hR={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fR={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"}}}}},gR={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ER={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"}}}}},yR={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CR={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"}}}}},IR={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BR={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"}}}}},wR={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bR={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"}}}}},xR={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QR={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"}}}}},NR={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SR={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"}}}}},RR={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TR={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"}}}}},vR={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PR={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"}}}}},kR={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DR={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"}}}}},_R={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LR={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"}}}}},MR={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OR={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"}}}}},FR={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},UR={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"}}}}},qR={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GR={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"}}}}},HR={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zR={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"}}}}},$R={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xy={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"}}}}},VR={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YR={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"}}}}},JR={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WR={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"}}}}},jR={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KR={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"}}}}},XR={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZR={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"}}}}},eT={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tT={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"}}}}},rT={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sT={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"]}}}}},nT={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iT={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"}}}}},oT={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aT={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"}}}}},cT={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lT={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"}}}}},uT={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AT={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"}}}}},dT={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pT={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"}}}}},mT={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hT={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"}}}}},fT={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gT={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"}}}}},ET={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yT={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"}}}}},CT={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IT={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"}}}}},BT={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wT={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"}}}}},bT={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"}}}}},xT={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"}}}}},QT={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"}}}}},NT={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"}}}}},ST={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qy={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"}}}}},RT={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TT={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"}}}}},vT={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ny={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"}}}}},PT={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kT={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"}}}}},DT={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_T={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"}}}}},LT={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MT={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"}}}}},OT={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FT={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"}}}}},UT={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qT={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"}}}}},GT={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HT={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"}}}}},zT={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"}}}}},$T={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"}}}}},VT={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YT={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"}}}}},JT={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WT={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"}}}}},jT={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KT={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"}}}}},XT={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZT={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"}}}}},ev={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tv={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"}}}}},rv={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sv={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"}}}}},nv={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iv={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"}}}}},ov={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"}}}}},av={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"}}}}},cv={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lv={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"}}}}},uv={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Av={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"}}}}},dv={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"}}}}},pv={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"}}}}},mv={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hv={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"}}}}},fv={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"}}}}},gv={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"}}}}},Ev={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yv={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"}}}}},Cv={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var ii={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},O4={parameterPath:"blobServiceProperties",mapper:Gp},zs={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},v={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},$p={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},$s={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},P={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},k={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},D={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},G={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},F4={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Vp={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Yp={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},oi={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},ai={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},U4={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},q4={parameterPath:"keyInfo",mapper:qS},G4={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Tu={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Sy={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Ry={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},zt={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},Ty={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},vy={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Py={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},$t={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},lr={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},Iv={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},H4={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},z4={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},ue={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},ie={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},oe={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},ky={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Bv={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},$4={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},Dy={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},V4={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},Y4={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},J4={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},W4={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},j4={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},Vs={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},_y={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Ly={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},My={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},Oy={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},ca={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},Fy={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Uy={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},qy={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},Gy={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Hy={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},wv={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"},bv={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},K4={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},br={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},ci={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},Cc={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},X4={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},Z4={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},ot={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},at={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},ct={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},Ce={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},Ie={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},he={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},eW={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},tW={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},rW={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},sW={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},nW={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},li={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},ui={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},Ai={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},di={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},pi={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},mi={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},xv={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},wn={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},bn={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},iW={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},oW={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},St={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},aW={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},co={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"]}}},Qv={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},hi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},fi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},gi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},Ei={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},zy={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},Ic={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},xn={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},cW={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},yi={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},lW={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},lo={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},uo={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},$y={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},Ao={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},uW={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AW={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},dW={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},pW={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},mW={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"]}}},hW={parameterPath:["options","queryRequest"],mapper:YS},fW={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Nv={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Sv={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},Rv={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},Tv={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},vv={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},gW={parameterPath:["options","tags"],mapper:zp},Ys={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},Ci={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},EW={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},Pv={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},kv={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Bc={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},wc={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},bc={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Vy={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Dv={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Yy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},Jy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},Wy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},yW={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},vu={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},CW={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},Pu={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},IW={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},_v={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},BW={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},wW={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},bW={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},xW={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},QW={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},Lv={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Mv={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},jy={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},Ky={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},NW={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ov={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},SW={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},Fv={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Uv={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},RW={parameterPath:"blocks",mapper:$S},qv={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},TW={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var Xy=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},Vxe)}getProperties(e){return this.client.sendOperationRequest({options:e},Yxe)}getStatistics(e){return this.client.sendOperationRequest({options:e},Jxe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},Wxe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},jxe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Kxe)}submitBatch(e,r,s,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:s,options:n},Xxe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Zxe)}},la=fs(Es,!0),Vxe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:JS},default:{bodyMapper:T,headersMapper:WS}},requestBody:O4,queryParameters:[$p,$s,P],urlParameters:[v],headerParameters:[ii,zs,k,D],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:la},Yxe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Gp,headersMapper:jS},default:{bodyMapper:T,headersMapper:KS}},queryParameters:[$p,$s,P],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:la},Jxe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:FS,headersMapper:XS},default:{bodyMapper:T,headersMapper:ZS}},queryParameters:[$p,P,F4],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:la},Wxe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:US,headersMapper:eR},default:{bodyMapper:T,headersMapper:tR}},queryParameters:[P,Vp,Yp,oi,ai,U4],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:la},jxe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:GS,headersMapper:rR},default:{bodyMapper:T,headersMapper:sR}},requestBody:q4,queryParameters:[$p,P,G4],urlParameters:[v],headerParameters:[ii,zs,k,D],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:la},Kxe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:nR},default:{bodyMapper:T,headersMapper:iR}},queryParameters:[$s,P,Tu],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:la},Xxe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:oR},default:{bodyMapper:T,headersMapper:aR}},requestBody:Sy,queryParameters:[P,Ry],urlParameters:[v],headerParameters:[zs,k,D,zt,Ty],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:la},Zxe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Hp,headersMapper:cR},default:{bodyMapper:T,headersMapper:lR}},queryParameters:[P,oi,ai,vy,Py],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:la};var Zy=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},eQe)}getProperties(e){return this.client.sendOperationRequest({options:e},tQe)}delete(e){return this.client.sendOperationRequest({options:e},rQe)}setMetadata(e){return this.client.sendOperationRequest({options:e},sQe)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},nQe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},iQe)}restore(e){return this.client.sendOperationRequest({options:e},oQe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},aQe)}submitBatch(e,r,s,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:s,options:n},cQe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},lQe)}acquireLease(e){return this.client.sendOperationRequest({options:e},uQe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},AQe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},dQe)}breakLease(e){return this.client.sendOperationRequest({options:e},pQe)}changeLease(e,r,s){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:s},mQe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},hQe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},fQe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},gQe)}},Vt=fs(Es,!0),eQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:uR},default:{bodyMapper:T,headersMapper:AR}},queryParameters:[P,$t],urlParameters:[v],headerParameters:[k,D,G,lr,Iv,H4,z4],isXML:!0,serializer:Vt},tQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:dR},default:{bodyMapper:T,headersMapper:pR}},queryParameters:[P,$t],urlParameters:[v],headerParameters:[k,D,G,ue],isXML:!0,serializer:Vt},rQe={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:mR},default:{bodyMapper:T,headersMapper:hR}},queryParameters:[P,$t],urlParameters:[v],headerParameters:[k,D,G,ue,ie,oe],isXML:!0,serializer:Vt},sQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:fR},default:{bodyMapper:T,headersMapper:gR}},queryParameters:[P,$t,ky],urlParameters:[v],headerParameters:[k,D,G,lr,ue,ie],isXML:!0,serializer:Vt},nQe={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:ER},default:{bodyMapper:T,headersMapper:yR}},queryParameters:[P,$t,Bv],urlParameters:[v],headerParameters:[k,D,G,ue],isXML:!0,serializer:Vt},iQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:CR},default:{bodyMapper:T,headersMapper:IR}},requestBody:$4,queryParameters:[P,$t,Bv],urlParameters:[v],headerParameters:[ii,zs,k,D,Iv,ue,ie,oe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Vt},oQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:BR},default:{bodyMapper:T,headersMapper:wR}},queryParameters:[P,$t,Dy],urlParameters:[v],headerParameters:[k,D,G,V4,Y4],isXML:!0,serializer:Vt},aQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:bR},default:{bodyMapper:T,headersMapper:xR}},queryParameters:[P,$t,J4],urlParameters:[v],headerParameters:[k,D,G,W4,j4],isXML:!0,serializer:Vt},cQe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:QR},default:{bodyMapper:T,headersMapper:NR}},requestBody:Sy,queryParameters:[P,Ry,$t],urlParameters:[v],headerParameters:[zs,k,D,zt,Ty],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Vt},lQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Hp,headersMapper:SR},default:{bodyMapper:T,headersMapper:RR}},queryParameters:[P,oi,ai,vy,Py,$t],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:Vt},uQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:TR},default:{bodyMapper:T,headersMapper:vR}},queryParameters:[P,$t,Vs],urlParameters:[v],headerParameters:[k,D,G,ie,oe,_y,Ly,My],isXML:!0,serializer:Vt},AQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:PR},default:{bodyMapper:T,headersMapper:kR}},queryParameters:[P,$t,Vs],urlParameters:[v],headerParameters:[k,D,G,ie,oe,Oy,ca],isXML:!0,serializer:Vt},dQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:DR},default:{bodyMapper:T,headersMapper:_R}},queryParameters:[P,$t,Vs],urlParameters:[v],headerParameters:[k,D,G,ie,oe,ca,Fy],isXML:!0,serializer:Vt},pQe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:LR},default:{bodyMapper:T,headersMapper:MR}},queryParameters:[P,$t,Vs],urlParameters:[v],headerParameters:[k,D,G,ie,oe,Uy,qy],isXML:!0,serializer:Vt},mQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:OR},default:{bodyMapper:T,headersMapper:FR}},queryParameters:[P,$t,Vs],urlParameters:[v],headerParameters:[k,D,G,ie,oe,ca,Gy,Hy],isXML:!0,serializer:Vt},hQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:HS,headersMapper:UR},default:{bodyMapper:T,headersMapper:qR}},queryParameters:[P,Vp,Yp,oi,ai,$t,wv,bv],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:Vt},fQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:zS,headersMapper:GR},default:{bodyMapper:T,headersMapper:HR}},queryParameters:[P,Vp,Yp,oi,ai,$t,wv,bv,K4],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:Vt},gQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:zR},default:{bodyMapper:T,headersMapper:$R}},queryParameters:[$s,P,Tu],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:Vt};var eC=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},EQe)}getProperties(e){return this.client.sendOperationRequest({options:e},yQe)}delete(e){return this.client.sendOperationRequest({options:e},CQe)}undelete(e){return this.client.sendOperationRequest({options:e},IQe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},BQe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},wQe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},bQe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},xQe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},QQe)}setMetadata(e){return this.client.sendOperationRequest({options:e},NQe)}acquireLease(e){return this.client.sendOperationRequest({options:e},SQe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},RQe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},TQe)}changeLease(e,r,s){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:s},vQe)}breakLease(e){return this.client.sendOperationRequest({options:e},PQe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},kQe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},DQe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},_Qe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},LQe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},MQe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},OQe)}query(e){return this.client.sendOperationRequest({options:e},FQe)}getTags(e){return this.client.sendOperationRequest({options:e},UQe)}setTags(e){return this.client.sendOperationRequest({options:e},qQe)}},We=fs(Es,!0),EQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:xy},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:xy},default:{bodyMapper:T,headersMapper:VR}},queryParameters:[P,br,ci],urlParameters:[v],headerParameters:[k,D,G,ue,ie,oe,Cc,X4,Z4,ot,at,ct,Ce,Ie,he],isXML:!0,serializer:We},yQe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:YR},default:{bodyMapper:T,headersMapper:JR}},queryParameters:[P,br,ci],urlParameters:[v],headerParameters:[k,D,G,ue,ie,oe,ot,at,ct,Ce,Ie,he],isXML:!0,serializer:We},CQe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:WR},default:{bodyMapper:T,headersMapper:jR}},queryParameters:[P,br,ci,tW],urlParameters:[v],headerParameters:[k,D,G,ue,ie,oe,Ce,Ie,he,eW],isXML:!0,serializer:We},IQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:KR},default:{bodyMapper:T,headersMapper:XR}},queryParameters:[P,Dy],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:We},BQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ZR},default:{bodyMapper:T,headersMapper:eT}},queryParameters:[P,rW],urlParameters:[v],headerParameters:[k,D,G,sW,nW],isXML:!0,serializer:We},wQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:tT},default:{bodyMapper:T,headersMapper:rT}},queryParameters:[$s,P],urlParameters:[v],headerParameters:[k,D,G,ue,ie,oe,Ce,Ie,he,li,ui,Ai,di,pi,mi],isXML:!0,serializer:We},bQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:sT},default:{bodyMapper:T,headersMapper:nT}},queryParameters:[P,br,ci,xv],urlParameters:[v],headerParameters:[k,D,G,oe,wn,bn],isXML:!0,serializer:We},xQe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:iT},default:{bodyMapper:T,headersMapper:oT}},queryParameters:[P,br,ci,xv],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:We},QQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:aT},default:{bodyMapper:T,headersMapper:cT}},queryParameters:[P,br,ci,iW],urlParameters:[v],headerParameters:[k,D,G,oW],isXML:!0,serializer:We},NQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:lT},default:{bodyMapper:T,headersMapper:uT}},queryParameters:[P,ky],urlParameters:[v],headerParameters:[k,D,G,lr,ue,ie,oe,ot,at,ct,Ce,Ie,he,St],isXML:!0,serializer:We},SQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:AT},default:{bodyMapper:T,headersMapper:dT}},queryParameters:[P,Vs],urlParameters:[v],headerParameters:[k,D,G,ie,oe,_y,Ly,My,Ce,Ie,he],isXML:!0,serializer:We},RQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:pT},default:{bodyMapper:T,headersMapper:mT}},queryParameters:[P,Vs],urlParameters:[v],headerParameters:[k,D,G,ie,oe,Oy,ca,Ce,Ie,he],isXML:!0,serializer:We},TQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:hT},default:{bodyMapper:T,headersMapper:fT}},queryParameters:[P,Vs],urlParameters:[v],headerParameters:[k,D,G,ie,oe,ca,Fy,Ce,Ie,he],isXML:!0,serializer:We},vQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:gT},default:{bodyMapper:T,headersMapper:ET}},queryParameters:[P,Vs],urlParameters:[v],headerParameters:[k,D,G,ie,oe,ca,Gy,Hy,Ce,Ie,he],isXML:!0,serializer:We},PQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:yT},default:{bodyMapper:T,headersMapper:CT}},queryParameters:[P,Vs],urlParameters:[v],headerParameters:[k,D,G,ie,oe,Uy,qy,Ce,Ie,he],isXML:!0,serializer:We},kQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:IT},default:{bodyMapper:T,headersMapper:BT}},queryParameters:[P,aW],urlParameters:[v],headerParameters:[k,D,G,lr,ue,ie,oe,ot,at,ct,Ce,Ie,he,St],isXML:!0,serializer:We},DQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:wT},default:{bodyMapper:T,headersMapper:bT}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,lr,ue,ie,oe,Ce,Ie,he,wn,bn,co,Qv,hi,fi,gi,Ei,zy,Ic,xn,cW,yi],isXML:!0,serializer:We},_Qe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:xT},default:{bodyMapper:T,headersMapper:QT}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,lr,ue,ie,oe,Ce,Ie,he,wn,bn,St,co,hi,fi,gi,Ei,Ic,xn,yi,lW,lo,uo,$y,Ao],isXML:!0,serializer:We},LQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:NT},default:{bodyMapper:T,headersMapper:ST}},queryParameters:[P,uW,dW],urlParameters:[v],headerParameters:[k,D,G,ue,AW],isXML:!0,serializer:We},MQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Qy},202:{headersMapper:Qy},default:{bodyMapper:T,headersMapper:RT}},queryParameters:[P,br,ci,pW],urlParameters:[v],headerParameters:[k,D,G,ue,he,Qv,mW],isXML:!0,serializer:We},OQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:TT},default:{bodyMapper:T,headersMapper:vT}},queryParameters:[$s,P,Tu],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:We},FQe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Ny},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Ny},default:{bodyMapper:T,headersMapper:PT}},requestBody:hW,queryParameters:[P,br,fW],urlParameters:[v],headerParameters:[ii,zs,k,D,ue,ie,oe,ot,at,ct,Ce,Ie,he],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:We},UQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:zp,headersMapper:kT},default:{bodyMapper:T,headersMapper:DT}},queryParameters:[P,br,ci,Nv],urlParameters:[v],headerParameters:[k,D,G,ue,he,Sv,Rv,Tv,vv],isXML:!0,serializer:We},qQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:_T},default:{bodyMapper:T,headersMapper:LT}},requestBody:gW,queryParameters:[P,ci,Nv],urlParameters:[v],headerParameters:[ii,zs,k,D,ue,he,Sv,Rv,Tv,vv,Ys,Ci],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:We};var tC=class{static{o(this,"PageBlobImpl")}client;constructor(e){this.client=e}create(e,r,s){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:s},GQe)}uploadPages(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},HQe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},zQe)}uploadPagesFromURL(e,r,s,n,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:s,range:n,options:i},$Qe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},VQe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},YQe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},JQe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},WQe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},jQe)}},po=fs(Es,!0),GQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:MT},default:{bodyMapper:T,headersMapper:OT}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,zt,lr,ue,ie,oe,ot,at,ct,Ce,Ie,he,li,ui,Ai,di,pi,mi,wn,bn,St,co,xn,yi,EW,Pv,kv],isXML:!0,serializer:po},HQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:FT},default:{bodyMapper:T,headersMapper:UT}},requestBody:wc,queryParameters:[P,Vy],urlParameters:[v],headerParameters:[k,D,zt,ue,ie,oe,Cc,ot,at,ct,Ce,Ie,he,St,Ys,Ci,Bc,bc,Dv,Yy,Jy,Wy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:po},zQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:qT},default:{bodyMapper:T,headersMapper:GT}},queryParameters:[P,Vy],urlParameters:[v],headerParameters:[k,D,G,zt,ue,ie,oe,Cc,ot,at,ct,Ce,Ie,he,St,Yy,Jy,Wy,yW],isXML:!0,serializer:po},$Qe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:HT},default:{bodyMapper:T,headersMapper:zT}},queryParameters:[P,Vy],urlParameters:[v],headerParameters:[k,D,G,zt,ue,ie,oe,ot,at,ct,Ce,Ie,he,St,hi,fi,gi,Ei,lo,uo,Ao,Dv,Yy,Jy,Wy,vu,CW,Pu,IW],isXML:!0,serializer:po},VQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:by,headersMapper:$T},default:{bodyMapper:T,headersMapper:VT}},queryParameters:[P,oi,ai,br,_v],urlParameters:[v],headerParameters:[k,D,G,ue,ie,oe,Cc,Ce,Ie,he],isXML:!0,serializer:po},YQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:by,headersMapper:YT},default:{bodyMapper:T,headersMapper:JT}},queryParameters:[P,oi,ai,br,_v,BW],urlParameters:[v],headerParameters:[k,D,G,ue,ie,oe,Cc,Ce,Ie,he,wW],isXML:!0,serializer:po},JQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:WT},default:{bodyMapper:T,headersMapper:jT}},queryParameters:[$s,P],urlParameters:[v],headerParameters:[k,D,G,ue,ie,oe,ot,at,ct,Ce,Ie,he,St,Pv],isXML:!0,serializer:po},WQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:KT},default:{bodyMapper:T,headersMapper:XT}},queryParameters:[$s,P],urlParameters:[v],headerParameters:[k,D,G,ue,ie,oe,Ce,Ie,he,kv,bW],isXML:!0,serializer:po},jQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:ZT},default:{bodyMapper:T,headersMapper:ev}},queryParameters:[P,xW],urlParameters:[v],headerParameters:[k,D,G,ie,oe,Ce,Ie,he,Ic],isXML:!0,serializer:po};var rC=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},KQe)}appendBlock(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},XQe)}appendBlockFromUrl(e,r,s){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:s},ZQe)}seal(e){return this.client.sendOperationRequest({options:e},e0e)}},sC=fs(Es,!0),KQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:tv},default:{bodyMapper:T,headersMapper:rv}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,zt,lr,ue,ie,oe,ot,at,ct,Ce,Ie,he,li,ui,Ai,di,pi,mi,wn,bn,St,xn,yi,QW],isXML:!0,serializer:sC},XQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:sv},default:{bodyMapper:T,headersMapper:nv}},requestBody:wc,queryParameters:[P,Lv],urlParameters:[v],headerParameters:[k,D,zt,ue,ie,oe,ot,at,ct,Ce,Ie,he,St,Ys,Ci,Bc,bc,Mv,jy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:sC},ZQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:iv},default:{bodyMapper:T,headersMapper:ov}},queryParameters:[P,Lv],urlParameters:[v],headerParameters:[k,D,G,zt,ue,ie,oe,ot,at,ct,Ce,Ie,he,St,hi,fi,gi,Ei,lo,uo,Ao,Ys,vu,Pu,Mv,jy,Ky],isXML:!0,serializer:sC},e0e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:av},default:{bodyMapper:T,headersMapper:cv}},queryParameters:[P,NW],urlParameters:[v],headerParameters:[k,D,G,ue,ie,oe,Ce,Ie,jy],isXML:!0,serializer:sC};var nC=class{static{o(this,"BlockBlobImpl")}client;constructor(e){this.client=e}upload(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},t0e)}putBlobFromUrl(e,r,s){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:s},r0e)}stageBlock(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:s,options:n},s0e)}stageBlockFromURL(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:s,options:n},n0e)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},i0e)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},o0e)}},Du=fs(Es,!0),t0e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:lv},default:{bodyMapper:T,headersMapper:uv}},requestBody:wc,queryParameters:[P],urlParameters:[v],headerParameters:[k,D,zt,lr,ue,ie,oe,ot,at,ct,Ce,Ie,he,li,ui,Ai,di,pi,mi,wn,bn,St,co,xn,yi,Ys,Ci,Bc,bc,Ov],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Du},r0e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Av},default:{bodyMapper:T,headersMapper:dv}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,zt,lr,ue,ie,oe,ot,at,ct,Ce,Ie,he,li,ui,Ai,di,pi,mi,St,co,hi,fi,gi,Ei,zy,Ic,xn,lo,uo,$y,Ao,Ys,Ov,SW],isXML:!0,serializer:Du},s0e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:pv},default:{bodyMapper:T,headersMapper:mv}},requestBody:wc,queryParameters:[P,Fv,Uv],urlParameters:[v],headerParameters:[k,D,zt,ue,ot,at,ct,St,Ys,Ci,Bc,bc],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Du},n0e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:hv},default:{bodyMapper:T,headersMapper:fv}},queryParameters:[P,Fv,Uv],urlParameters:[v],headerParameters:[k,D,G,zt,ue,ot,at,ct,St,hi,fi,gi,Ei,lo,uo,Ao,vu,Pu,Ky],isXML:!0,serializer:Du},i0e={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:gv},default:{bodyMapper:T,headersMapper:Ev}},requestBody:RW,queryParameters:[P,qv],urlParameters:[v],headerParameters:[ii,zs,k,D,lr,ue,ie,oe,ot,at,ct,Ce,Ie,he,li,ui,Ai,di,pi,mi,wn,bn,St,co,xn,yi,Ys,Ci],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Du},o0e={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:VS,headersMapper:yv},default:{bodyMapper:T,headersMapper:Cv}},queryParameters:[P,br,qv,TW],urlParameters:[v],headerParameters:[k,D,G,ue,he],isXML:!0,serializer:Du};var Jp=class extends Sp{static{o(this,"StorageClient")}url;version;constructor(e,r){if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let s={requestContentType:"application/json; charset=utf-8"},n="azsdk-js-azure-storage-blob/12.30.0",i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${n}`:`${n}`,a={...s,...r,userAgentOptions:{userAgentPrefix:i},endpoint:r.endpoint??r.baseUri??"{url}"};super(a),this.url=e,this.version=r.version||"2026-02-06",this.service=new Xy(this),this.container=new Zy(this),this.blob=new eC(this),this.pageBlob=new tC(this),this.appendBlob=new rC(this),this.blockBlob=new nC(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var Wp=class extends Jp{static{o(this,"StorageContextClient")}async sendOperationRequest(e,r){let s={...r};return(s.path==="/{containerName}"||s.path==="/{containerName}/{blob}")&&(s.path=""),super.sendOperationRequest(e,s)}};function PW(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=c0e(r),e.pathname=r,e.toString()}o(PW,"escapeURLPath");function a0e(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let s of r)s.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=s.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(a0e,"getProxyUriFromDevConnString");function xc(t,e){let r=t.split(";");for(let s of r)if(s.trim().startsWith(e))return s.trim().match(e+"=(.*)")[1];return""}o(xc,"getValueInConnString");function Qc(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=a0e(t),t=N4);let r=xc(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let s="",n="",i=Buffer.from("accountKey","base64"),a="";if(n=xc(t,"AccountName"),i=Buffer.from(xc(t,"AccountKey"),"base64"),!r){s=xc(t,"DefaultEndpointsProtocol");let c=s.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=xc(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${s}://${n}.blob.${a}`}if(n){if(i.length===0)throw new Error("Invalid AccountKey in the provided Connection String")}else throw new Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:n,accountKey:i,proxyUri:e}}else{let s=xc(t,"SharedAccessSignature"),n=xc(t,"AccountName");if(n||(n=$v(r)),r){if(!s)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return s.startsWith("?")&&(s=s.substring(1)),{kind:"SASConnString",url:r,accountName:n,accountSas:s}}}o(Qc,"extractConnectionStringParts");function c0e(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(c0e,"escape");function _t(t,e){let r=new URL(t),s=r.pathname;return s=s?s.endsWith("/")?`${s}${e}`:`${s}/${e}`:e,r.pathname=s,r.toString()}o(_t,"appendToURLPath");function _u(t,e,r){let s=new URL(t),n=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,a=s.search===""?"?":s.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[u]=l.split("=",2);u!==n&&c.push(l)}return i&&c.push(`${n}=${i}`),s.search=c.length?`?${c.join("&")}`:"",s.toString()}o(_u,"setURLParameter");function Gv(t,e){return new URL(t).searchParams.get(e)??void 0}o(Gv,"getURLParameter");function kW(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(kW,"getURLScheme");function jp(t,e){let r=new URL(t),s=r.search;return s?s+="&"+e:s=e,r.search=s,r.toString()}o(jp,"appendToURLQuery");function Qe(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(Qe,"truncatedISO8061Date");function l0e(t){return xe?Buffer.from(t).toString("base64"):btoa(t)}o(l0e,"base64encode");function Hv(t,e){t.length>42&&(t=t.slice(0,42));let i=t+u0e(e.toString(),48-t.length,"0");return l0e(i)}o(Hv,"generateBlockID");function u0e(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(u0e,"padStart");function zv(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(zv,"iEqual");function $v(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:iC(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o($v,"getAccountNameFromUrl");function iC(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&&P4.includes(t.port)}o(iC,"isIpEndpointStyle");function ua(t){if(t===void 0)return;let e=[];for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let s=t[r];e.push(`${encodeURIComponent(r)}=${encodeURIComponent(s)}`)}return e.join("&")}o(ua,"toBlobTagsString");function DW(t){if(t===void 0)return;let e={blobTagSet:[]};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let s=t[r];e.blobTagSet.push({key:r,value:s})}return e}o(DW,"toBlobTags");function oC(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(oC,"toTags");function Vv(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(Vv,"toQuerySerialization");function aC(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let s=r.split("_"),n="or-";s[0].startsWith(n)&&(s[0]=s[0].substring(n.length));let i={ruleId:s[1],replicationStatus:t[r]},a=e.findIndex(c=>c.policyId===s[0]);a>-1?e[a].rules.push(i):e.push({policyId:s[0],rules:[i]})}return e}o(aC,"parseObjectReplicationRecord");function Lu(t){return t?t.scheme+" "+t.value:void 0}o(Lu,"httpAuthorizationToString");function*Yv(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let s=0,n=0;for(;s0&&s.length>0&&e.push(`${r}=${s}`))}};function Kp(t,e,r){return Xp(t,e,r).sasQueryParameters}o(Kp,"generateBlobSASQueryParameters");function Xp(t,e,r){let s=t.version?t.version:By,n=e instanceof it?e:void 0,i;if(n===void 0&&r!==void 0&&(i=new Cy(r,e)),n===void 0&&i===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(s>="2020-12-06")return n!==void 0?p0e(t,n):s>="2025-07-05"?g0e(t,i):f0e(t,i);if(s>="2018-11-09")return n!==void 0?d0e(t,n):s>="2020-02-10"?h0e(t,i):m0e(t,i);if(s>="2015-04-05"){if(n!==void 0)return A0e(t,n);throw new RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.")}throw new RangeError("'version' must be >= '2015-04-05'.")}o(Xp,"generateBlobSASQueryParametersInternal");function A0e(t,e){if(t=Sc(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";t.blobName&&(r="b");let s;t.permissions&&(t.blobName?s=Ii.parse(t.permissions.toString()).toString():s=Bi.parse(t.permissions.toString()).toString());let n=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Nc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` `),i=e.computeHMACSHA256(n);return{sasQueryParameters:new Nn(t.version,i,s,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:n}}o(A0e,"generateBlobSASQueryParameters20150405");function d0e(t,e){if(t=Sc(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Ii.parse(t.permissions.toString()).toString():n=Bi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Nc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` `),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Nn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}o(d0e,"generateBlobSASQueryParameters20181109");function p0e(t,e){if(t=Sc(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Ii.parse(t.permissions.toString()).toString():n=Bi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Nc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` `),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Nn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope),stringToSign:i}}o(p0e,"generateBlobSASQueryParameters20201206");function m0e(t,e){if(t=Sc(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Ii.parse(t.permissions.toString()).toString():n=Bi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Nc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` `),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Nn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey),stringToSign:i}}o(m0e,"generateBlobSASQueryParametersUDK20181109");function h0e(t,e){if(t=Sc(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Ii.parse(t.permissions.toString()).toString():n=Bi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Nc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` `),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Nn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:i}}o(h0e,"generateBlobSASQueryParametersUDK20200210");function f0e(t,e){if(t=Sc(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Ii.parse(t.permissions.toString()).toString():n=Bi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Nc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` `),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Nn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:i}}o(f0e,"generateBlobSASQueryParametersUDK20201206");function g0e(t,e){if(t=Sc(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Ii.parse(t.permissions.toString()).toString():n=Bi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Nc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` `),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Nn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:i}}o(g0e,"generateBlobSASQueryParametersUDK20250705");function Nc(t,e,r){let s=[`/blob/${t}/${e}`];return r&&s.push(`/${r}`),s.join("")}o(Nc,"getCanonicalName");function Sc(t){let e=t.version?t.version:By;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(Sc,"SASSignatureValuesSanityCheckAndAutofill");var Zp=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let s=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=s.container):(this._isContainer=!1,this._containerOrBlobOperation=s.blob),r||(r=Cu()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Bn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Bn||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 z.withSpan("BlobLeaseClient-acquireLease",r,async s=>J(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:s.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Bn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Bn||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 z.withSpan("BlobLeaseClient-changeLease",r,async s=>{let n=J(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions}));return this._leaseId=e,n})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Bn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Bn||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 z.withSpan("BlobLeaseClient-releaseLease",e,async r=>J(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!==Bn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Bn||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 z.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!==Bn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Bn||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 z.withSpan("BlobLeaseClient-breakLease",r,async s=>{let n={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions};return J(await this._containerOrBlobOperation.breakLease(n))})}};var LW=require("node:stream");var cC=class extends LW.Readable{static{o(this,"RetriableReadableStream")}start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,r,s,n,i={}){super({highWaterMark:i.highWaterMark}),this.getter=r,this.source=e,this.start=s,this.offset=s,this.end=s+n-1,this.maxRetryRequests=i.maxRetryRequests&&i.maxRetryRequests>=0?i.maxRetryRequests:0,this.onProgress=i.onProgress,this.options=i,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=o(e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()},"sourceDataHandler");sourceAbortedHandler=o(()=>{let e=new ms("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 lC=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 xe?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,s,n,i={}){this.originalResponse=e,this.blobDownloadStream=new cC(this.originalResponse.readableStreamBody,r,s,n,i)}};var GW=require("node:stream");var Jv=new Uint8Array([79,98,106,1]),MW="avro.codec",OW="avro.schema";var Ze=class t{static{o(this,"AvroParser")}static async readFixedBytes(e,r,s={}){let n=await e.read(r,{abortSignal:s.abortSignal});if(n.length!==r)throw new Error("Hit stream end.");return n}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let s=0,n=0,i,a,c;do i=await t.readByte(e,r),a=i&128,s|=(i&127)<Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return l}return s>>1^-(s&1)}static async readLong(e,r={}){return t.readZigZagLong(e,r)}static async readInt(e,r={}){return t.readZigZagLong(e,r)}static async readNull(){return null}static async readBoolean(e,r={}){let s=await t.readByte(e,r);if(s===1)return!0;if(s===0)return!1;throw new Error("Byte was not a boolean.")}static async readFloat(e,r={}){let s=await t.readFixedBytes(e,4,r);return new DataView(s.buffer,s.byteOffset,s.byteLength).getFloat32(0,!0)}static async readDouble(e,r={}){let s=await t.readFixedBytes(e,8,r);return new DataView(s.buffer,s.byteOffset,s.byteLength).getFloat64(0,!0)}static async readBytes(e,r={}){let s=await t.readLong(e,r);if(s<0)throw new Error("Bytes size was negative.");return e.read(s,{abortSignal:r.abortSignal})}static async readString(e,r={}){let s=await t.readBytes(e,r);return new TextDecoder().decode(s)}static async readMapPair(e,r,s={}){let n=await t.readString(e,s),i=await r(e,s);return{key:n,value:i}}static async readMap(e,r,s={}){let n=o((c,l={})=>t.readMapPair(c,r,l),"readPairMethod"),i=await t.readArray(e,n,s),a={};for(let c of i)a[c.key]=c.value;return a}static async readArray(e,r,s={}){let n=[];for(let i=await t.readLong(e,s);i!==0;i=await t.readLong(e,s))for(i<0&&(await t.readLong(e,s),i=-i);i--;){let a=await r(e,s);n.push(a)}return n}},Rc;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(Rc||(Rc={}));var Yt;(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"})(Yt||(Yt={}));var mo=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 Yt.NULL:case Yt.BOOLEAN:case Yt.INT:case Yt.LONG:case Yt.FLOAT:case Yt.DOUBLE:case Yt.BYTES:case Yt.STRING:return new Wv(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new Kv(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case Rc.RECORD:if(e.aliases)throw new Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw new Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let s={};if(!e.fields)throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let n of e.fields)s[n.name]=t.fromSchema(n.type);return new Zv(s,e.name);case Rc.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 jv(e.symbols);case Rc.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new Xv(t.fromSchema(e.values));case Rc.ARRAY:case Rc.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},Wv=class extends mo{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Yt.NULL:return Ze.readNull();case Yt.BOOLEAN:return Ze.readBoolean(e,r);case Yt.INT:return Ze.readInt(e,r);case Yt.LONG:return Ze.readLong(e,r);case Yt.FLOAT:return Ze.readFloat(e,r);case Yt.DOUBLE:return Ze.readDouble(e,r);case Yt.BYTES:return Ze.readBytes(e,r);case Yt.STRING:return Ze.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},jv=class extends mo{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let s=await Ze.readInt(e,r);return this._symbols[s]}},Kv=class extends mo{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let s=await Ze.readInt(e,r);return this._types[s].read(e,r)}},Xv=class extends mo{static{o(this,"AvroMapType")}_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let s=o((n,i)=>this._itemType.read(n,i),"readItemMethod");return Ze.readMap(e,s,r)}},Zv=class extends mo{static{o(this,"AvroRecordType")}_name;_fields;constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let s={};s.$schema=this._name;for(let n in this._fields)Object.prototype.hasOwnProperty.call(this._fields,n)&&(s[n]=await this._fields[n].read(e,r));return s}};function eP(t,e){if(t===e)return!0;if(t==null||e==null||t.length!==e.length)return!1;for(let r=0;r0)for(let i=0;i0}async*parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let r=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,this._itemsRemainingInBlock===0){let s=await Ze.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!eP(this._syncMarker,s))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await Ze.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await Ze.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};var tm=class{static{o(this,"AvroReadable")}};var qW=require("buffer");var UW=new ms("Reading from the avro stream was aborted."),rm=class extends tm{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?qW.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 UW;if(e<0)throw new Error(`size parameter should be positive: ${e}`);if(e===0)return new Uint8Array;if(!this._readable.readable)throw new Error("Stream no longer readable.");let s=this._readable.read(e);return s?(this._position+=s.length,this.toUint8Array(s)):new Promise((n,i)=>{let a=o(()=>{this._readable.removeListener("readable",c),this._readable.removeListener("error",l),this._readable.removeListener("end",l),this._readable.removeListener("close",l),r.abortSignal&&r.abortSignal.removeEventListener("abort",u)},"cleanUp"),c=o(()=>{let A=this._readable.read(e);A&&(this._position+=A.length,a(),n(this.toUint8Array(A)))},"readableCallback"),l=o(()=>{a(),i()},"rejectCallback"),u=o(()=>{a(),i(UW)},"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 uC=class extends GW.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 em(new rm(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:r.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){this.avroPaused=!1;let e;do{if(e=await this.avroIter.next(),e.done)break;let r=e.value,s=r.$schema;if(typeof s!="string")throw Error("Missing schema in avro record.");switch(s){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let n=r.data;if(!(n instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(n))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let n=r.bytesScanned;if(typeof n!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:n})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let n=r.totalBytes;if(typeof n!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:n})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let n=r.fatal;if(typeof n!="boolean")throw Error("Invalid fatal in avro error record.");let i=r.name;if(typeof i!="string")throw Error("Invalid name in avro error record.");let a=r.description;if(typeof a!="string")throw Error("Invalid description in avro error record.");let c=r.position;if(typeof c!="number")throw Error("Invalid position in avro error record.");this.onError({position:c,name:i,isFatal:n,description:a})}break;default:throw Error(`Unknown schema ${s} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};var AC=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 xe?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new uC(this.originalResponse.readableStreamBody,r)}};var tP;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(tP||(tP={}));var rP;(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"})(rP||(rP={}));function Aa(t){if(t!==void 0)return t}o(Aa,"toAccessTier");function Lt(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=Q4)}o(Lt,"ensureCpkIfSpecified");var sP;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(sP||(sP={}));function dC(t){let e=(t._response.parsedBody.pageRange||[]).map(s=>({offset:s.start,count:s.end-s.start})),r=(t._response.parsedBody.clearRange||[]).map(s=>({offset:s.start,count:s.end-s.start}));return{...t,pageRange:e,clearRange:r,_response:{...t._response,parsedBody:{pageRange:e,clearRange:r}}}}o(dC,"rangeResponseFromModel");var N8=w(Q8(),1);var BC=class extends N8.Poller{static{o(this,"BlobBeginCopyFromUrlPoller")}intervalInMs;constructor(e){let{blobClient:r,copySource:s,intervalInMs:n=15e3,onProgress:i,resumeFrom:a,startCopyFromURLOptions:c}=e,l;a&&(l=JSON.parse(a).state);let u=om({...l,blobClient:r,copySource:s,startCopyFromURLOptions:c});super(u),typeof i=="function"&&this.onProgress(i),this.intervalInMs=n}delay(){return Ep(this.intervalInMs)}},mNe=o(async function(e={}){let r=this.state,{copyId:s}=r;return r.isCompleted?om(r):s?(await r.blobClient.abortCopyFromURL(s,{abortSignal:e.abortSignal}),r.isCancelled=!0,om(r)):(r.isCancelled=!0,om(r))},"cancel"),hNe=o(async function(e={}){let r=this.state,{blobClient:s,copySource:n,startCopyFromURLOptions:i}=r;if(r.isStarted){if(!r.isCompleted)try{let a=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:c,copyProgress:l}=a,u=r.copyProgress;l&&(r.copyProgress=l),c==="pending"&&l!==u&&typeof e.fireProgress=="function"?e.fireProgress(r):c==="success"?(r.result=a,r.isCompleted=!0):c==="failed"&&(r.error=new Error(`Blob copy failed with reason: "${a.copyStatusDescription||"unknown"}"`),r.isCompleted=!0)}catch(a){r.error=a,r.isCompleted=!0}}else{r.isStarted=!0;let a=await s.startCopyFromURL(n,i);r.copyId=a.copyId,a.copyStatus==="success"&&(r.result=a,r.isCompleted=!0)}return om(r)},"update"),fNe=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function om(t){return{state:{...t},cancel:mNe,toString:fNe,update:hNe}}o(om,"makeBlobBeginCopyFromURLPollOperation");function zr(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(zr,"rangeToString");var S8=require("events");var am;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(am||(am={}));var cm=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=am.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new S8.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(r){this.emitter.emit("error",r)}})}async do(){return this.operations.length===0?Promise.resolve():(this.parallelExecute(),new Promise((e,r)=>{this.emitter.on("finish",e),this.emitter.on("error",s=>{this.state=am.Error,r(s)})}))}nextOperation(){return this.offset=this.operations.length){this.emitter.emit("finish");return}for(;this.actives{let u=setTimeout(()=>l(new Error("The operation cannot be completed in timeout.")),1e5);t.on("readable",()=>{if(i>=a){clearTimeout(u),c();return}let A=t.read();if(!A)return;typeof A=="string"&&(A=Buffer.from(A,n));let d=i+A.length>a?a-i:A.length;e.fill(A.slice(0,d),r+i,r+i+d),i+=d}),t.on("end",()=>{clearTimeout(u),i{clearTimeout(u),l(A)})})}o(T8,"streamToBuffer");async function v8(t,e){return new Promise((r,s)=>{let n=wC.default.createWriteStream(e);t.on("error",i=>{s(i)}),n.on("error",i=>{s(i)}),n.on("close",r),t.pipe(n)})}o(v8,"readStreamToLocalFile");var P8=R8.default.promisify(wC.default.stat),k8=wC.default.createReadStream;var ho=class t extends Mu{static{o(this,"BlobClient")}blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,s,n){n=n||{};let i,a;if(ao(r))a=e,i=r;else if(xe&&r instanceof it||r instanceof Je||hs(r))a=e,n=s,i=Et(r,n);else if(!r&&typeof r!="string")a=e,s&&typeof s!="string"&&(n=s),i=Et(new Je,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=Qc(e);if(u.kind==="AccountConnString")if(xe){let A=new it(u.accountName,u.accountKey);a=_t(_t(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=ra(u.proxyUri)),i=Et(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=_t(_t(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=Et(new Je,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=Gv(this.url,oo.Parameters.SNAPSHOT),this._versionId=Gv(this.url,oo.Parameters.VERSIONID)}withSnapshot(e){return new t(_u(this.url,oo.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(_u(this.url,oo.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new xC(this.url,this.pipeline)}getBlockBlobClient(){return new Uu(this.url,this.pipeline)}getPageBlobClient(){return new QC(this.url,this.pipeline)}async download(e=0,r,s={}){return s.conditions=s.conditions||{},s.conditions=s.conditions||{},Lt(s.customerProvidedKey,this.isHttps),z.withSpan("BlobClient-download",s,async n=>{let i=J(await this.blobContext.download({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onDownloadProgress:xe?void 0:s.onProgress},range:e===0&&!r?void 0:zr({offset:e,count:r}),rangeGetContentMD5:s.rangeGetContentMD5,rangeGetContentCRC64:s.rangeGetContentCrc64,snapshot:s.snapshot,cpkInfo:s.customerProvidedKey,tracingOptions:n.tracingOptions})),a={...i,_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:aC(i.objectReplicationRules)};if(!xe)return a;if((s.maxRetryRequests===void 0||s.maxRetryRequests<0)&&(s.maxRetryRequests=5),i.contentLength===void 0)throw new RangeError("File download response doesn't contain valid content length header");if(!i.etag)throw new RangeError("File download response doesn't contain valid etag header");return new lC(a,async c=>{let l={leaseAccessConditions:s.conditions,modifiedAccessConditions:{ifMatch:s.conditions.ifMatch||i.etag,ifModifiedSince:s.conditions.ifModifiedSince,ifNoneMatch:s.conditions.ifNoneMatch,ifUnmodifiedSince:s.conditions.ifUnmodifiedSince,ifTags:s.conditions?.tagConditions},range:zr({count:e+i.contentLength-c,offset:c}),rangeGetContentMD5:s.rangeGetContentMD5,rangeGetContentCRC64:s.rangeGetContentCrc64,snapshot:s.snapshot,cpkInfo:s.customerProvidedKey};return(await this.blobContext.download({abortSignal:s.abortSignal,...l})).readableStreamBody},e,i.contentLength,{maxRetryRequests:s.maxRetryRequests,onProgress:s.onProgress})})}async exists(e={}){return z.withSpan("BlobClient-exists",e,async r=>{try{return Lt(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions}),!0}catch(s){if(s.statusCode===404)return!1;if(s.statusCode===409&&(s.details.errorCode===T4||s.details.errorCode===v4))return!0;throw s}})}async getProperties(e={}){return e.conditions=e.conditions||{},Lt(e.customerProvidedKey,this.isHttps),z.withSpan("BlobClient-getProperties",e,async r=>{let s=J(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return{...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:aC(s.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},z.withSpan("BlobClient-delete",e,async r=>J(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 z.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let s=J(await this.delete(r));return{succeeded:!0,...s,_response:s._response}}catch(s){if(s.details?.errorCode==="BlobNotFound")return{succeeded:!1,...s.response?.parsedHeaders,_response:s.response};throw s}})}async undelete(e={}){return z.withSpan("BlobClient-undelete",e,async r=>J(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},Lt(r.customerProvidedKey,this.isHttps),z.withSpan("BlobClient-setHTTPHeaders",r,async s=>J(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions})))}async setMetadata(e,r={}){return r.conditions=r.conditions||{},Lt(r.customerProvidedKey,this.isHttps),z.withSpan("BlobClient-setMetadata",r,async s=>J(await this.blobContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions})))}async setTags(e,r={}){return z.withSpan("BlobClient-setTags",r,async s=>J(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:s.tracingOptions,tags:DW(e)})))}async getTags(e={}){return z.withSpan("BlobClient-getTags",e,async r=>{let s=J(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions}));return{...s,_response:s._response,tags:oC({blobTagSet:s.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Zp(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},Lt(e.customerProvidedKey,this.isHttps),z.withSpan("BlobClient-createSnapshot",e,async r=>J(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:r.tracingOptions})))}async beginCopyFromURL(e,r={}){let s={abortCopyFromURL:o((...i)=>this.abortCopyFromURL(...i),"abortCopyFromURL"),getProperties:o((...i)=>this.getProperties(...i),"getProperties"),startCopyFromURL:o((...i)=>this.startCopyFromURL(...i),"startCopyFromURL")},n=new BC({blobClient:s,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await n.poll(),n}async abortCopyFromURL(e,r={}){return z.withSpan("BlobClient-abortCopyFromURL",r,async s=>J(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:s.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},z.withSpan("BlobClient-syncCopyFromURL",r,async s=>J(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:Lu(r.sourceAuthorization),tier:Aa(r.tier),blobTagsString:ua(r.tags),immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}async setAccessTier(e,r={}){return z.withSpan("BlobClient-setAccessTier",r,async s=>J(await this.blobContext.setTier(Aa(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},rehydratePriority:r.rehydratePriority,tracingOptions:s.tracingOptions})))}async downloadToBuffer(e,r,s,n={}){let i,a=0,c=0,l=n;e instanceof Buffer?(i=e,a=r||0,c=typeof s=="number"?s:0):(a=typeof e=="number"?e:0,c=typeof r=="number"?r:0,l=s||{});let u=l.blockSize??0;if(u<0)throw new RangeError("blockSize option must be >= 0");if(u===0&&(u=4194304),a<0)throw new RangeError("offset option must be >= 0");if(c&&c<=0)throw new RangeError("count option must be greater than 0");return l.conditions||(l.conditions={}),z.withSpan("BlobClient-downloadToBuffer",l,async A=>{if(!c){let m=await this.getProperties({...l,tracingOptions:A.tracingOptions});if(c=m.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${m.contentLength}`)}if(!i)try{i=Buffer.alloc(c)}catch(m){throw new Error(`Unable to allocate the buffer of size: ${c}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${m.message}`)}if(i.length{let h=a+c;m+u{let a=await this.download(r,s,{...n,tracingOptions:i.tracingOptions});return a.readableStreamBody&&await v8(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,r;try{let s=new URL(this.url);if(s.host.split(".")[1]==="blob"){let n=s.pathname.match("/([^/]*)(/(.*))?");e=n[1],r=n[3]}else if(iC(s)){let n=s.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=n[2],r=n[4]}else{let n=s.pathname.match("/([^/]*)(/(.*))?");e=n[1],r=n[3]}if(e=decodeURIComponent(e),r=decodeURIComponent(r),r=r.replace(/\\/g,"/"),!e)throw new Error("Provided containerName is invalid.");return{blobName:r,containerName:e}}catch{throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,r={}){return z.withSpan("BlobClient-startCopyFromURL",r,async s=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},J(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:Aa(r.tier),blobTagsString:ua(r.tags),sealBlob:r.sealBlob,tracingOptions:s.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof it))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let s=Kp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(jp(this.url,s))})}generateSasStringToSign(e){if(!(this.credential instanceof it))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return Xp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(s=>{let n=Kp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();s(jp(this.url,n))})}generateUserDelegationSasStringToSign(e,r){return Xp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return z.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>J(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return z.withSpan("BlobClient-setImmutabilityPolicy",r,async s=>J(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:s.tracingOptions})))}async setLegalHold(e,r={}){return z.withSpan("BlobClient-setLegalHold",r,async s=>J(await this.blobContext.setLegalHold(e,{tracingOptions:s.tracingOptions})))}async getAccountInfo(e={}){return z.withSpan("BlobClient-getAccountInfo",e,async r=>J(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},xC=class t extends ho{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},ao(r))a=e,i=r;else if(xe&&r instanceof it||r instanceof Je||hs(r))a=e,n=s,i=Et(r,n);else if(!r&&typeof r!="string")a=e,i=Et(new Je,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=Qc(e);if(u.kind==="AccountConnString")if(xe){let A=new it(u.accountName,u.accountKey);a=_t(_t(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=ra(u.proxyUri)),i=Et(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=_t(_t(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=Et(new Je,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t(_u(this.url,oo.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},Lt(e.customerProvidedKey,this.isHttps),z.withSpan("AppendBlobClient-create",e,async r=>J(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:ua(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:LS};return z.withSpan("AppendBlobClient-createIfNotExists",e,async s=>{try{let n=J(await this.create({...s,conditions:r}));return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async seal(e={}){return e.conditions=e.conditions||{},z.withSpan("AppendBlobClient-seal",e,async r=>J(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async appendBlock(e,r,s={}){return s.conditions=s.conditions||{},Lt(s.customerProvidedKey,this.isHttps),z.withSpan("AppendBlobClient-appendBlock",s,async n=>J(await this.appendBlobContext.appendBlock(r,e,{abortSignal:s.abortSignal,appendPositionAccessConditions:s.conditions,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onUploadProgress:s.onProgress},transactionalContentMD5:s.transactionalContentMD5,transactionalContentCrc64:s.transactionalContentCrc64,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:n.tracingOptions})))}async appendBlockFromURL(e,r,s,n={}){return n.conditions=n.conditions||{},n.sourceConditions=n.sourceConditions||{},Lt(n.customerProvidedKey,this.isHttps),z.withSpan("AppendBlobClient-appendBlockFromURL",n,async i=>J(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:n.abortSignal,sourceRange:zr({offset:r,count:s}),sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,appendPositionAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:n.sourceConditions?.ifMatch,sourceIfModifiedSince:n.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:n.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:n.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:Lu(n.sourceAuthorization),cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:i.tracingOptions})))}},Uu=class t extends ho{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},ao(r))a=e,i=r;else if(xe&&r instanceof it||r instanceof Je||hs(r))a=e,n=s,i=Et(r,n);else if(!r&&typeof r!="string")a=e,s&&typeof s!="string"&&(n=s),i=Et(new Je,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=Qc(e);if(u.kind==="AccountConnString")if(xe){let A=new it(u.accountName,u.accountKey);a=_t(_t(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=ra(u.proxyUri)),i=Et(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=_t(_t(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=Et(new Je,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t(_u(this.url,oo.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(Lt(r.customerProvidedKey,this.isHttps),!xe)throw new Error("This operation currently is only supported in Node.js.");return z.withSpan("BlockBlobClient-query",r,async s=>{let n=J(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:Vv(r.inputTextConfiguration),outputSerialization:Vv(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:s.tracingOptions}));return new AC(n,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,s={}){return s.conditions=s.conditions||{},Lt(s.customerProvidedKey,this.isHttps),z.withSpan("BlockBlobClient-upload",s,async n=>J(await this.blockBlobContext.upload(r,e,{abortSignal:s.abortSignal,blobHttpHeaders:s.blobHTTPHeaders,leaseAccessConditions:s.conditions,metadata:s.metadata,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onUploadProgress:s.onProgress},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,immutabilityPolicyExpiry:s.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:s.immutabilityPolicy?.policyMode,legalHold:s.legalHold,tier:Aa(s.tier),blobTagsString:ua(s.tags),tracingOptions:n.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},Lt(r.customerProvidedKey,this.isHttps),z.withSpan("BlockBlobClient-syncUploadFromURL",r,async s=>J(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:Lu(r.sourceAuthorization),tier:Aa(r.tier),blobTagsString:ua(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}async stageBlock(e,r,s,n={}){return Lt(n.customerProvidedKey,this.isHttps),z.withSpan("BlockBlobClient-stageBlock",n,async i=>J(await this.blockBlobContext.stageBlock(e,s,r,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async stageBlockFromURL(e,r,s=0,n,i={}){return Lt(i.customerProvidedKey,this.isHttps),z.withSpan("BlockBlobClient-stageBlockFromURL",i,async a=>J(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,sourceRange:s===0&&!n?void 0:zr({offset:s,count:n}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:Lu(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},Lt(r.customerProvidedKey,this.isHttps),z.withSpan("BlockBlobClient-commitBlockList",r,async s=>J(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:Aa(r.tier),blobTagsString:ua(r.tags),tracingOptions:s.tracingOptions})))}async getBlockList(e,r={}){return z.withSpan("BlockBlobClient-getBlockList",r,async s=>{let n=J(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions}));return n.committedBlocks||(n.committedBlocks=[]),n.uncommittedBlocks||(n.uncommittedBlocks=[]),n})}async uploadData(e,r={}){return z.withSpan("BlockBlobClient-uploadData",r,async s=>{if(xe){let n;return e instanceof Buffer?n=e:e instanceof ArrayBuffer?n=Buffer.from(e):(e=e,n=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((i,a)=>n.slice(i,i+a),n.byteLength,s)}else{let n=new Blob([e]);return this.uploadSeekableInternal((i,a)=>n.slice(i,i+a),n.size,s)}})}async uploadBrowserData(e,r={}){return z.withSpan("BlockBlobClient-uploadBrowserData",r,async s=>{let n=new Blob([e]);return this.uploadSeekableInternal((i,a)=>n.slice(i,i+a),n.size,s)})}async uploadSeekableInternal(e,r,s={}){let n=s.blockSize??0;if(n<0||n>4194304e3)throw new RangeError(`blockSize option must be >= 0 and <= ${4194304e3}`);let i=s.maxSingleShotSize??268435456;if(i<0||i>268435456)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${268435456}`);if(n===0){if(r>4194304e3*5e4)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>i&&(n=Math.ceil(r/5e4),n<4194304&&(n=4194304))}return s.blobHTTPHeaders||(s.blobHTTPHeaders={}),s.conditions||(s.conditions={}),z.withSpan("BlockBlobClient-uploadSeekableInternal",s,async a=>{if(r<=i)return J(await this.upload(e(0,r),r,a));let c=Math.floor((r-1)/n)+1;if(c>5e4)throw new RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${5e4}`);let l=[],u=Cu(),A=0,d=new cm(s.concurrency);for(let p=0;p{let m=Hv(u,p),h=n*p,C=(p===c-1?r:h+n)-h;l.push(m),await this.stageBlock(m,e(h,C),C,{abortSignal:s.abortSignal,conditions:s.conditions,encryptionScope:s.encryptionScope,tracingOptions:a.tracingOptions}),A+=C,s.onProgress&&s.onProgress({loadedBytes:A})});return await d.do(),this.commitBlockList(l,a)})}async uploadFile(e,r={}){return z.withSpan("BlockBlobClient-uploadFile",r,async s=>{let n=(await P8(e)).size;return this.uploadSeekableInternal((i,a)=>()=>k8(e,{autoClose:!0,end:a?i+a-1:1/0,start:i}),n,{...r,tracingOptions:s.tracingOptions})})}async uploadStream(e,r=8388608,s=5,n={}){return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),z.withSpan("BlockBlobClient-uploadStream",n,async i=>{let a=0,c=Cu(),l=0,u=[];return await new my(e,r,s,async(d,p)=>{let m=Hv(c,a);u.push(m),a++,await this.stageBlock(m,d,p,{customerProvidedKey:n.customerProvidedKey,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions}),l+=p,n.onProgress&&n.onProgress({loadedBytes:l})},Math.ceil(s/4*3)).do(),J(await this.commitBlockList(u,{...n,tracingOptions:i.tracingOptions}))})}},QC=class t extends ho{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},ao(r))a=e,i=r;else if(xe&&r instanceof it||r instanceof Je||hs(r))a=e,n=s,i=Et(r,n);else if(!r&&typeof r!="string")a=e,i=Et(new Je,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=Qc(e);if(u.kind==="AccountConnString")if(xe){let A=new it(u.accountName,u.accountKey);a=_t(_t(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=ra(u.proxyUri)),i=Et(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=_t(_t(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=Et(new Je,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t(_u(this.url,oo.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},Lt(r.customerProvidedKey,this.isHttps),z.withSpan("PageBlobClient-create",r,async s=>J(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:Aa(r.tier),blobTagsString:ua(r.tags),tracingOptions:s.tracingOptions})))}async createIfNotExists(e,r={}){return z.withSpan("PageBlobClient-createIfNotExists",r,async s=>{try{let n={ifNoneMatch:LS},i=J(await this.create(e,{...r,conditions:n,tracingOptions:s.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(n){if(n.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async uploadPages(e,r,s,n={}){return n.conditions=n.conditions||{},Lt(n.customerProvidedKey,this.isHttps),z.withSpan("PageBlobClient-uploadPages",n,async i=>J(await this.pageBlobContext.uploadPages(s,e,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},range:zr({offset:r,count:s}),sequenceNumberAccessConditions:n.conditions,transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async uploadPagesFromURL(e,r,s,n,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},Lt(i.customerProvidedKey,this.isHttps),z.withSpan("PageBlobClient-uploadPagesFromURL",i,async a=>J(await this.pageBlobContext.uploadPagesFromURL(e,zr({offset:r,count:n}),0,zr({offset:s,count:n}),{abortSignal:i.abortSignal,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,sequenceNumberAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:Lu(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,s={}){return s.conditions=s.conditions||{},z.withSpan("PageBlobClient-clearPages",s,async n=>J(await this.pageBlobContext.clearPages(0,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},range:zr({offset:e,count:r}),sequenceNumberAccessConditions:s.conditions,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:n.tracingOptions})))}async getPageRanges(e=0,r,s={}){return s.conditions=s.conditions||{},z.withSpan("PageBlobClient-getPageRanges",s,async n=>{let i=J(await this.pageBlobContext.getPageRanges({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},range:zr({offset:e,count:r}),tracingOptions:n.tracingOptions}));return dC(i)})}async listPageRangesSegment(e=0,r,s,n={}){return z.withSpan("PageBlobClient-getPageRangesSegment",n,async i=>J(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:zr({offset:e,count:r}),marker:s,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,s,n={}){let i;if(s||s===void 0)do i=await this.listPageRangesSegment(e,r,s,n),s=i.continuationToken,yield await i;while(s)}async*listPageRangeItems(e=0,r,s={}){let n;for await(let i of this.listPageRangeItemSegments(e,r,n,s))yield*Yv(i)}listPageRanges(e=0,r,s={}){s.conditions=s.conditions||{};let n=this.listPageRangeItems(e,r,s);return{next(){return n.next()},[Symbol.asyncIterator](){return this},byPage:o((i={})=>this.listPageRangeItemSegments(e,r,i.continuationToken,{maxPageSize:i.maxPageSize,...s}),"byPage")}}async getPageRangesDiff(e,r,s,n={}){return n.conditions=n.conditions||{},z.withSpan("PageBlobClient-getPageRangesDiff",n,async i=>{let a=J(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevsnapshot:s,range:zr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return dC(a)})}async listPageRangesDiffSegment(e,r,s,n,i={}){return z.withSpan("PageBlobClient-getPageRangesDiffSegment",i,async a=>J(await this.pageBlobContext.getPageRangesDiff({abortSignal:i?.abortSignal,leaseAccessConditions:i?.conditions,modifiedAccessConditions:{...i?.conditions,ifTags:i?.conditions?.tagConditions},prevsnapshot:s,range:zr({offset:e,count:r}),marker:n,maxPageSize:i?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,s,n,i){let a;if(n||n===void 0)do a=await this.listPageRangesDiffSegment(e,r,s,n,i),n=a.continuationToken,yield await a;while(n)}async*listPageRangeDiffItems(e,r,s,n){let i;for await(let a of this.listPageRangeDiffItemSegments(e,r,s,i,n))yield*Yv(a)}listPageRangesDiff(e,r,s,n={}){n.conditions=n.conditions||{};let i=this.listPageRangeDiffItems(e,r,s,{...n});return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:o((a={})=>this.listPageRangeDiffItemSegments(e,r,s,a.continuationToken,{maxPageSize:a.maxPageSize,...n}),"byPage")}}async getPageRangesDiffForManagedDisks(e,r,s,n={}){return n.conditions=n.conditions||{},z.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",n,async i=>{let a=J(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevSnapshotUrl:s,range:zr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return dC(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},z.withSpan("PageBlobClient-resize",r,async s=>J(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions})))}async updateSequenceNumber(e,r,s={}){return s.conditions=s.conditions||{},z.withSpan("PageBlobClient-updateSequenceNumber",s,async n=>J(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:s.abortSignal,blobSequenceNumber:r,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async startCopyIncremental(e,r={}){return z.withSpan("PageBlobClient-startCopyIncremental",r,async s=>J(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions})))}};var D8;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(D8||(D8={}));var _8;(function(t){t.AES256="AES256"})(_8||(_8={}));var NC=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};var qu=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"}};qu.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Pc=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"}};Pc.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var lm=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var NNe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},NP=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,r=(100*(e/this.contentLength)).toFixed(1),s=Date.now()-this.startTime,n=(e/(1024*1024)/(s/1e3)).toFixed(1);N(`Sent ${e} of ${this.contentLength} (${r}%), ${n} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function L8(t,e,r){return NNe(this,void 0,void 0,function*(){var s;let n=new ho(t),i=n.getBlockBlobClient(),a=new NP((s=r?.archiveSizeBytes)!==null&&s!==void 0?s:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),b(`BlobClient: ${n.name}:${n.accountName}:${n.containerName}`);let l=yield i.uploadFile(e,c);if(l._response.status>=400)throw new NC(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw Xe(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(L8,"uploadCacheArchiveSDK");var O8=w(require("buffer"),1),wi=w(require("fs"),1),F8=w(require("stream"),1),U8=w(require("util"),1);var SC=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function RC(t){return t?t>=200&&t<300:!1}o(RC,"isSuccessStatusCode");function SNe(t){return t?t>=500:!0}o(SNe,"isServerErrorStatusCode");function RNe(t){return t?[nt.BadGateway,nt.ServiceUnavailable,nt.GatewayTimeout].includes(t):!1}o(RNe,"isRetryableStatusCode");function TNe(t){return SC(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(TNe,"sleep");function M8(t,e,r){return SC(this,arguments,void 0,function*(s,n,i,a=Xg,c=Zg,l=void 0){let u="",A=1;for(;A<=a;){let d,p,m=!1;try{d=yield n()}catch(h){l&&(d=l(h)),m=!0,u=h.message}if(d&&(p=i(d),!SNe(p)))return d;if(p&&(m=RNe(p),u=`Cache service responded with ${p}`),b(`${s} - Attempt ${A} of ${a} failed with error: ${u}`),!m){b(`${s} - Error is not retryable`);break}yield TNe(c),A++}throw Error(`${s} failed: ${u}`)})}o(M8,"retry");function um(t,e){return SC(this,arguments,void 0,function*(r,s,n=Xg,i=Zg){return yield M8(r,s,a=>a.statusCode,n,i,a=>{if(a instanceof jn)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(um,"retryTypedResponse");function Gu(t,e){return SC(this,arguments,void 0,function*(r,s,n=Xg,i=Zg){return yield M8(r,s,a=>a.message.statusCode,n,i)})}o(Gu,"retryHttpClientResponse");var Js=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function vNe(t,e){return Js(this,void 0,void 0,function*(){yield U8.promisify(F8.pipeline)(t.message,e)})}o(vNe,"pipeResponseToStream");var TC=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,b(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(e){this.receivedBytes=e}getTransferredBytes(){return this.segmentOffset+this.receivedBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.segmentOffset+this.receivedBytes,r=(100*(e/this.contentLength)).toFixed(1),s=Date.now()-this.startTime,n=(e/(1024*1024)/(s/1e3)).toFixed(1);N(`Received ${e} of ${this.contentLength} (${r}%), ${n} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setReceivedBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function vC(t,e){return Js(this,void 0,void 0,function*(){let r=wi.createWriteStream(e),s=new to("actions/cache"),n=yield Gu("downloadCache",()=>Js(this,void 0,void 0,function*(){return s.get(t)}));n.message.socket.setTimeout(Z0,()=>{n.message.destroy(),b(`Aborting download, socket timed out after ${Z0} ms`)}),yield vNe(n,r);let i=n.message.headers["content-length"];if(i){let a=parseInt(i),c=Wn(e);if(c!==a)throw new Error(`Incomplete download. Expected file size: ${a}, actual file size: ${c}`)}else b("Unable to validate download, no Content-Length header")})}o(vC,"downloadCacheHttpClient");function q8(t,e,r){return Js(this,void 0,void 0,function*(){var s;let n=yield wi.promises.open(e,"w"),i=new to("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield Gu("downloadCacheMetadata",()=>Js(this,void 0,void 0,function*(){return yield i.request("HEAD",t,null,{})}))).message.headers["content-length"];if(c==null)throw new Error("Content-Length not found on blob response");let l=parseInt(c);if(Number.isNaN(l))throw new Error(`Could not interpret Content-Length: ${l}`);let u=[],A=4*1024*1024;for(let y=0;yJs(this,void 0,void 0,function*(){return yield PNe(i,t,y,I)}),"promiseGetter")})}u.reverse();let d=0,p=0,m=new TC(l);m.startDisplayTimer();let h=m.onProgress(),f=[],C,E=o(()=>Js(this,void 0,void 0,function*(){let y=yield Promise.race(Object.values(f));yield n.write(y.buffer,0,y.count,y.offset),d--,delete f[y.offset],p+=y.count,h({loadedBytes:p})}),"waitAndWrite");for(;C=u.pop();)f[C.offset]=C.promiseGetter(),d++,d>=((s=r.downloadConcurrency)!==null&&s!==void 0?s:10)&&(yield E());for(;d>0;)yield E()}finally{i.dispose(),yield n.close()}})}o(q8,"downloadCacheHttpClientConcurrent");function PNe(t,e,r,s){return Js(this,void 0,void 0,function*(){let i=0;for(;;)try{let c=yield H8(3e4,kNe(t,e,r,s));if(typeof c=="string")throw new Error("downloadSegmentRetry failed due to timeout");return c}catch(a){if(i>=5)throw a;i++}})}o(PNe,"downloadSegmentRetry");function kNe(t,e,r,s){return Js(this,void 0,void 0,function*(){let n=yield Gu("downloadCachePart",()=>Js(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+s-1}`})}));if(!n.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:s,buffer:yield n.readBodyBuffer()}})}o(kNe,"downloadSegment");function G8(t,e,r){return Js(this,void 0,void 0,function*(){var s;let n=new Uu(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),a=(s=(yield n.getProperties()).contentLength)!==null&&s!==void 0?s:-1;if(a<0)b("Unable to determine content length, downloading file with http-client..."),yield vC(t,e);else{let c=Math.min(134217728,O8.constants.MAX_LENGTH),l=new TC(a),u=wi.openSync(e,"w");try{l.startDisplayTimer();let A=new AbortController,d=A.signal;for(;!l.isDone();){let p=l.segmentOffset+l.segmentSize,m=Math.min(c,a-p);l.nextSegment(m);let h=yield H8(r.segmentTimeoutInMs||36e5,n.downloadToBuffer(p,m,{abortSignal:d,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(h==="timeout")throw A.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(h)&&wi.writeFileSync(u,h)}}finally{l.stopDisplayTimer(),wi.closeSync(u)}}})}o(G8,"downloadCacheStorageSDK");var H8=o((t,e)=>Js(void 0,void 0,void 0,function*(){let r,s=new Promise(n=>{r=setTimeout(()=>n("timeout"),t)});return Promise.race([e,s]).then(n=>(clearTimeout(r),n))}),"promiseWithTimeout");function SP(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),b(`Use Azure SDK: ${e.useAzureSdk}`),b(`Upload concurrency: ${e.uploadConcurrency}`),b(`Upload chunk size: ${e.uploadChunkSize}`),e}o(SP,"getUploadOptions");function z8(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),b(`Use Azure SDK: ${e.useAzureSdk}`),b(`Download concurrency: ${e.downloadConcurrency}`),b(`Request timeout (ms): ${e.timeoutInMs}`),b(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),b(`Segment download timeout (ms): ${e.segmentTimeoutInMs}`),b(`Lookup only: ${e.lookupOnly}`),e}o(z8,"getDownloadOptions");function RP(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",s=e.endsWith(".GHE.COM"),n=e.endsWith(".LOCALHOST");return!r&&!s&&!n}o(RP,"isGhes");function Am(){return RP()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(Am,"getCacheServiceVersion");var $8=["none","read","write","write-only"];function TP(){return(process.env.ACTIONS_CACHE_MODE||"").trim().toLowerCase()}o(TP,"getCacheMode");function V8(t){return $8.includes(t)?t==="read"||t==="write":!0}o(V8,"isCacheReadable");function Y8(t){return $8.includes(t)?t==="write"||t==="write-only":!0}o(Y8,"isCacheWritable");function PC(){let t=Am();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(PC,"getCacheServiceURL");var K8=w(j8(),1);function kC(){return`@actions/cache-${K8.version}`}o(kC,"getUserAgentString");var $r=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function dm(t){let e=PC();if(!e)throw new Error("Cache Service Url not found, unable to restore cache.");let r=`${e}_apis/artifactcache/${t}`;return b(`Resource Url: ${r}`),r}o(dm,"getCacheApiUrl");function LNe(t,e){return`${t};api-version=${e}`}o(LNe,"createAcceptHeader");function MNe(){return{headers:{Accept:LNe("application/json","6.0-preview.1")}}}o(MNe,"getRequestOptions");function vP(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new du(t);return new to(kC(),[e],MNe())}o(vP,"createHttpClient");function e5(t,e,r){return $r(this,void 0,void 0,function*(){var s;let n=vP(),i=Au(e,r?.compressionMethod,r?.enableCrossOsArchive),a=`cache?keys=${encodeURIComponent(t.join(","))}&version=${i}`,c=yield um("getCacheEntry",()=>$r(this,void 0,void 0,function*(){return n.getJson(dm(a))}));if(c.statusCode===204)return ec()&&(yield ONe(t[0],n,i)),null;if(!RC(c.statusCode)){let A=(s=c.error)===null||s===void 0?void 0:s.message;throw A?.includes(eE)?new Error(A):new Error(`Cache service responded with ${c.statusCode}`)}let l=c.result,u=l?.archiveLocation;if(!u)throw new Error("Cache not found.");return jl(u),b("Cache Result:"),b(JSON.stringify(l)),l})}o(e5,"getCacheEntry");function ONe(t,e,r){return $r(this,void 0,void 0,function*(){let s=`caches?key=${encodeURIComponent(t)}`,n=yield um("listCache",()=>$r(this,void 0,void 0,function*(){return e.getJson(dm(s))}));if(n.statusCode===200){let i=n.result,a=i?.totalCount;if(a&&a>0){b(`No matching cache found for cache key '${t}', version '${r} and scope ${process.env.GITHUB_REF}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key Other caches with similar key:`);for(let c of i?.artifactCaches||[])b(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(ONe,"printCachesListForDiagnostics");function PP(t,e,r){return $r(this,void 0,void 0,function*(){let s=new Z8.URL(t),n=z8(r);s.hostname.endsWith(".blob.core.windows.net")?n.useAzureSdk?yield G8(t,e,n):n.concurrentBlobDownloads?yield q8(t,e,n):yield vC(t,e):yield vC(t,e)})}o(PP,"downloadCache");function t5(t,e,r){return $r(this,void 0,void 0,function*(){let s=vP(),n=Au(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:n,cacheSize:r?.cacheSize};return yield um("reserveCache",()=>$r(this,void 0,void 0,function*(){return s.postJson(dm("caches"),i)}))})}o(t5,"reserveCache");function X8(t,e){return`bytes ${t}-${e}/*`}o(X8,"getContentRange");function FNe(t,e,r,s,n){return $r(this,void 0,void 0,function*(){b(`Uploading chunk of size ${n-s+1} bytes at offset ${s} with content range: ${X8(s,n)}`);let i={"Content-Type":"application/octet-stream","Content-Range":X8(s,n)},a=yield Gu(`uploadChunk (start: ${s}, end: ${n})`,()=>$r(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!RC(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(FNe,"uploadChunk");function UNe(t,e,r,s){return $r(this,void 0,void 0,function*(){let n=Wn(r),i=dm(`caches/${e.toString()}`),a=Hu.openSync(r,"r"),c=SP(s),l=sN("uploadConcurrency",c.uploadConcurrency),u=sN("uploadChunkSize",c.uploadChunkSize),A=[...new Array(l).keys()];b("Awaiting all uploads");let d=0;try{yield Promise.all(A.map(()=>$r(this,void 0,void 0,function*(){for(;dHu.createReadStream(r,{fd:a,start:m,end:h,autoClose:!1}).on("error",f=>{throw new Error(`Cache upload failed because file read failed with ${f.message}`)}),m,h)}})))}finally{Hu.closeSync(a)}})}o(UNe,"uploadFile");function qNe(t,e,r){return $r(this,void 0,void 0,function*(){let s={size:r};return yield um("commitCache",()=>$r(this,void 0,void 0,function*(){return t.postJson(dm(`caches/${e.toString()}`),s)}))})}o(qNe,"commitCache");function kP(t,e,r,s){return $r(this,void 0,void 0,function*(){if(SP(s).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield L8(r,e,s)}else{let i=vP();b("Upload cache"),yield UNe(i,t,e,s),b("Commiting cache");let a=Wn(e);N(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield qNe(i,t,a);if(!RC(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);N("Cache saved successfully")}})}o(kP,"saveCache");var W5=w(G5(),1),It=w(Ct(),1),Cs=w(Ct(),1),Mc=w(Ct(),1),Oc=w(Ct(),1),Fc=w(Ct(),1);var Nk=w(Ct(),1),Sk=w(Ct(),1),V5=w(Ct(),1),Y5=w(Ct(),1),J5=w(Ct(),1);var bk=w(Ct(),1),xk=w(Ct(),1),H5=w(Ct(),1),z5=w(Ct(),1),$5=w(Ct(),1);var Qk=class extends $5.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,z5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,H5.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posEI,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,Y5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,V5.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posSi,"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,Oc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Mc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posSi,"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,Oc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Mc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posSi,"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,Oc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Mc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posMk.fromJson(n,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=Ok.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(n=>Fk.fromJson(n,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=Uk.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(n=>qk.fromJson(n,{ignoreUnknownFields:!0}))}};function j5(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(jl(r),jl(encodeURIComponent(r)))}catch(e){b(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(j5,"maskSigUrl");function K5(t){if(typeof t!="object"||t===null){b("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&j5(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&j5(t.signed_download_url)}o(K5,"maskSecretUrls");var CI=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Gk=class{static{o(this,"CacheServiceClient")}constructor(e,r,s,n){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=TY();this.baseUrl=PC(),r&&(this.maxAttempts=r),s&&(this.baseRetryIntervalMilliseconds=s),n&&(this.retryMultiplier=n),this.httpClient=new to(e,[new du(i)])}request(e,r,s,n){return CI(this,void 0,void 0,function*(){let i=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;b(`[Request] ${r} ${i}`);let a={"Content-Type":s};try{let{body:c}=yield this.retryableRequest(()=>CI(this,void 0,void 0,function*(){return this.httpClient.post(i,JSON.stringify(n),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return CI(this,void 0,void 0,function*(){let r=0,s="",n="";for(;r0&&Xe(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new lm(`Rate limited: ${s}`)}}catch(c){if(c instanceof SyntaxError&&b(`Raw Body: ${n}`),c instanceof Pc||c instanceof lm)throw c;if(qu.isNetworkErrorCode(c?.code))throw new qu(c?.code);i=!0,s=c.message}if(!i)throw new Error(`Received non-retryable error: ${s}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${s}`);let a=this.getExponentialRetryTimeMilliseconds(r);N(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${s}. Retrying request in ${a} ms...`),yield this.sleep(a),r++}throw new Error("Request failed")})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[nt.BadGateway,nt.GatewayTimeout,nt.InternalServerError,nt.ServiceUnavailable].includes(e):!1}sleep(e){return CI(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e))})}getExponentialRetryTimeMilliseconds(e){if(e<0)throw new Error("attempt should be a positive integer");if(e===0)return this.baseRetryIntervalMilliseconds;let r=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e),s=r*this.retryMultiplier;return Math.trunc(Math.random()*(s-r)+r)}};function Hk(t){let e=new Gk(kC(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new yI(e)}o(Hk,"internalCacheTwirpClient");var II=require("fs"),Jr=w(require("path"),1);var Ri=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},ha=process.platform==="win32";function KRe(){return Ri(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield RY(),e=xY;if(t)return{path:t,type:us.GNU};if((0,II.existsSync)(e))return{path:e,type:us.BSD};break}case"darwin":{let t=yield rt("gtar",!1);return t?{path:t,type:us.GNU}:{path:yield rt("tar",!0),type:us.BSD}}default:break}return{path:yield rt("tar",!0),type:us.GNU}})}o(KRe,"getTarPath");function XRe(t,e,r){return Ri(this,arguments,void 0,function*(s,n,i,a=""){let c=[`"${s.path}"`],l=Xo(n),u="cache.tar",A=Z5(),d=s.type===us.BSD&&n!==Cr.Gzip&&ha;switch(i){case"create":c.push("--posix","-cf",d?u:l.replace(new RegExp(`\\${Jr.sep}`,"g"),"/"),"--exclude",d?u:l.replace(new RegExp(`\\${Jr.sep}`,"g"),"/"),"-P","-C",A.replace(new RegExp(`\\${Jr.sep}`,"g"),"/"),"--files-from",tN);break;case"extract":c.push("-xf",d?u:a.replace(new RegExp(`\\${Jr.sep}`,"g"),"/"),"-P","-C",d?zk(A):A.replace(new RegExp(`\\${Jr.sep}`,"g"),"/"));break;case"list":c.push("-tf",d?u:a.replace(new RegExp(`\\${Jr.sep}`,"g"),"/"),"-P");break}if(s.type===us.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(XRe,"getTarArgs");function X5(t,e){return Ri(this,arguments,void 0,function*(r,s,n=""){let i,a=yield KRe(),c=yield XRe(a,r,s,n),l=s!=="create"?yield ZRe(a,r,n):yield eTe(a,r),u=a.type===us.BSD&&r!==Cr.Gzip&&ha;return u&&s!=="create"?i=[[...l].join(" "),[...c].join(" ")]:i=[[...c].join(" "),[...l].join(" ")],{commands:u?i:[i.join(" ")],requiresTempDirectory:u&&s!=="create"}})}o(X5,"getCommands");function Z5(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(Z5,"getWorkingDirectory");function zk(t){return`"${Jr.resolve(t).replace(new RegExp(`\\${Jr.sep}`,"g"),"/")}"`}o(zk,"quoteAbsolutePath");function ZRe(t,e,r){return Ri(this,void 0,void 0,function*(){let s=t.type===us.BSD&&e!==Cr.Gzip&&ha;switch(e){case Cr.Zstd:return s?["zstd -d --long=30 --force -o",ap,zk(r)]:["--use-compress-program",ha?'"zstd -d --long=30"':"unzstd --long=30"];case Cr.ZstdWithoutLong:return s?["zstd -d --force -o",ap,zk(r)]:["--use-compress-program",ha?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(ZRe,"getDecompressionProgram");function eTe(t,e){return Ri(this,void 0,void 0,function*(){let r=Xo(e),s=t.type===us.BSD&&e!==Cr.Gzip&&ha;switch(e){case Cr.Zstd:return s?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${Jr.sep}`,"g"),"/"),ap]:["--use-compress-program",ha?'"zstd -T0 --long=30"':"zstdmt --long=30"];case Cr.ZstdWithoutLong:return s?["zstd -T0 --force -o",r.replace(new RegExp(`\\${Jr.sep}`,"g"),"/"),ap]:["--use-compress-program",ha?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(eTe,"getCompressionProgram");function ej(t,e){return Ri(this,void 0,void 0,function*(){for(let r of t)try{yield ls(r,void 0,{cwd:e,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(s){throw new Error(`${r.split(" ")[0]} failed with error: ${s?.message}`)}})}o(ej,"execCommands");function tj(t,e,r){return Ri(this,void 0,void 0,function*(){let{commands:s,requiresTempDirectory:n}=yield X5(e,r,t),i=n?yield ac():void 0;try{yield ej(s,i)}finally{if(i)try{yield Xl(i)}catch(a){b(`Failed to delete temporary tar directory: ${a}`)}}})}o(tj,"execReadCommands");function Nm(t,e){return Ri(this,void 0,void 0,function*(){yield tj(t,e,"list")})}o(Nm,"listTar");function $k(t,e){return Ri(this,void 0,void 0,function*(){let r=Z5();yield vs(r),yield tj(t,e,"extract")})}o($k,"extractTar");function Vk(t,e,r){return Ri(this,void 0,void 0,function*(){(0,II.writeFileSync)(Jr.join(t,tN),e.join(` `));let{commands:s}=yield X5(r,"create");yield ej(s,t)})}o(Vk,"createTar");var iA=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Tn=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Uc=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},Yk="cache write denied:",BI=class t extends Uc{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},rj=eE,wI=class t extends Error{static{o(this,"CacheReadDeniedError")}constructor(e){super(e),this.name="CacheReadDeniedError",Object.setPrototypeOf(this,t.prototype)}},bI=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function sj(t){if(!t||t.length===0)throw new Tn("Path Validation Error: At least one directory or file path is required")}o(sj,"checkPaths");function Jk(t){if(t.length>512)throw new Tn(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Tn(`Key Validation Error: ${t} cannot contain commas.`)}o(Jk,"checkKey");function Wk(){return Am()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(Wk,"isFeatureAvailable");function nj(t,e,r,s){return iA(this,arguments,void 0,function*(n,i,a,c,l=!1){let u=Am();b(`Cache service version: ${u}`),sj(n);let A=TP();if(!V8(A)){N(`Cache restore skipped: the effective cache-mode '${A}' does not permit reads.`),b(`Skipped restore for paths [${n.join(", ")}] with primary key '${i}'.`);return}return u==="v2"?yield rTe(n,i,a,c,l):yield tTe(n,i,a,c,l)})}o(nj,"restoreCache");function tTe(t,e,r,s){return iA(this,arguments,void 0,function*(n,i,a,c,l=!1){var u;a=a||[];let A=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(A)),A.length>10)throw new Tn("Key Validation Error: Keys are limited to a maximum of 10.");for(let m of A)Jk(m);let d=yield lp(),p="";try{let m;try{m=yield e5(A,n,{compressionMethod:d,enableCrossOsArchive:l})}catch(f){let C=(u=f?.message)!==null&&u!==void 0?u:"";throw C.includes(rj)?new wI(C):f}if(!m?.archiveLocation)return;if(c?.lookupOnly)return N("Lookup only - skipping download"),m.cacheKey;p=Sm.join(yield ac(),Xo(d)),b(`Archive Path: ${p}`),yield PP(m.archiveLocation,p,c),ec()&&(yield Nm(p,d));let h=Wn(p);return N(`Cache Size: ~${Math.round(h/(1024*1024))} MB (${h} B)`),yield $k(p,d),N("Cache restored successfully"),m.cacheKey}catch(m){let h=m;if(h.name===Tn.name)throw m;h instanceof jn&&typeof h.statusCode=="number"&&h.statusCode>=500?eu(`Failed to restore: ${m.message}`):Xe(`Failed to restore: ${m.message}`)}finally{try{yield cp(p)}catch(m){b(`Failed to delete archive: ${m}`)}}})}o(tTe,"restoreCacheV1");function rTe(t,e,r,s){return iA(this,arguments,void 0,function*(n,i,a,c,l=!1){var u;c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let A=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(A)),A.length>10)throw new Tn("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of A)Jk(p);let d="";try{let p=Hk(),m=yield lp(),h={key:i,restoreKeys:a,version:Au(n,m,l)},f;try{f=yield p.GetCacheEntryDownloadURL(h)}catch(y){let I=(u=y?.message)!==null&&u!==void 0?u:"";throw I.includes(rj)?new wI(I):y}if(!f.ok){b(`Cache not found for version ${h.version} of keys: ${A.join(", ")}`);return}if(h.key!==f.matchedKey?N(`Cache hit for restore-key: ${f.matchedKey}`):N(`Cache hit for: ${f.matchedKey}`),c?.lookupOnly)return N("Lookup only - skipping download"),f.matchedKey;d=Sm.join(yield ac(),Xo(m)),b(`Archive path: ${d}`),b(`Starting download of archive to: ${d}`),yield PP(f.signedDownloadUrl,d,c);let E=Wn(d);return N(`Cache Size: ~${Math.round(E/(1024*1024))} MB (${E} B)`),ec()&&(yield Nm(d,m)),yield $k(d,m),N("Cache restored successfully"),f.matchedKey}catch(p){let m=p;if(m.name===Tn.name)throw p;m instanceof jn&&typeof m.statusCode=="number"&&m.statusCode>=500?eu(`Failed to restore: ${p.message}`):Xe(`Failed to restore: ${p.message}`)}finally{try{d&&(yield cp(d))}catch(p){b(`Failed to delete archive: ${p}`)}}})}o(rTe,"restoreCacheV2");function jk(t,e,r){return iA(this,arguments,void 0,function*(s,n,i,a=!1){let c=Am();b(`Cache service version: ${c}`),sj(s),Jk(n);let l=TP();return Y8(l)?c==="v2"?yield nTe(s,n,i,a):yield sTe(s,n,i,a):(N(`Cache save skipped: the effective cache-mode '${l}' does not permit writes.`),b(`Skipped save for paths [${s.join(", ")}] with key '${n}'.`),-1)})}o(jk,"saveCache");function sTe(t,e,r){return iA(this,arguments,void 0,function*(s,n,i,a=!1){var c,l,u,A,d,p;let m=yield lp(),h=-1,f=yield rN(s);if(b("Cache Paths:"),b(`${JSON.stringify(f)}`),f.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let C=yield ac(),E=Sm.join(C,Xo(m));b(`Archive Path: ${E}`);try{yield Vk(C,f,m),ec()&&(yield Nm(E,m));let y=10*1024*1024*1024,I=Wn(E);if(b(`File Size: ${I}`),I>y&&!RP())throw new Error(`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the 10GB limit, not saving cache.`);b("Reserving Cache");let B=yield t5(n,s,{compressionMethod:m,enableCrossOsArchive:a,cacheSize:I});if(!((c=B?.result)===null||c===void 0)&&c.cacheId)h=(l=B?.result)===null||l===void 0?void 0:l.cacheId;else{if(B?.statusCode===400)throw new Error((A=(u=B?.error)===null||u===void 0?void 0:u.message)!==null&&A!==void 0?A:`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the data cap limit, not saving cache.`);{let S=(d=B?.error)===null||d===void 0?void 0:d.message;throw S?.startsWith(Yk)?new BI(`Unable to reserve cache with key ${n}. More details: ${S}`):new Uc(`Unable to reserve cache with key ${n}, another job may be creating this cache. More details: ${(p=B?.error)===null||p===void 0?void 0:p.message}`)}}b(`Saving Cache (ID: ${h})`),yield kP(h,E,"",i)}catch(y){let I=y;if(I.name===Tn.name)throw y;I.name===Uc.name?N(`Failed to save: ${I.message}`):I instanceof jn&&typeof I.statusCode=="number"&&I.statusCode>=500?eu(`Failed to save: ${I.message}`):Xe(`Failed to save: ${I.message}`)}finally{try{yield cp(E)}catch(y){b(`Failed to delete archive: ${y}`)}}return h})}o(sTe,"saveCacheV1");function nTe(t,e,r){return iA(this,arguments,void 0,function*(s,n,i,a=!1){var c;i=Object.assign(Object.assign({},i),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let l=yield lp(),u=Hk(),A=-1,d=yield rN(s);if(b("Cache Paths:"),b(`${JSON.stringify(d)}`),d.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let p=yield ac(),m=Sm.join(p,Xo(l));b(`Archive Path: ${m}`);try{yield Vk(p,d,l),ec()&&(yield Nm(m,l));let h=Wn(m);b(`File Size: ${h}`),i.archiveSizeBytes=h,b("Reserving Cache");let f=Au(s,l,a),C={key:n,version:f},E;try{let B=yield u.CreateCacheEntry(C);if(!B.ok)throw B.message&&!B.message.startsWith(Yk)&&Xe(`Cache reservation failed: ${B.message}`),new Error(B.message||"Response was not ok");E=B.signedUploadUrl}catch(B){b(`Failed to reserve cache: ${B}`);let S=(c=B?.message)!==null&&c!==void 0?c:"";throw S.startsWith(Yk)?new BI(`Unable to reserve cache with key ${n}. More details: ${S}`):new Uc(`Unable to reserve cache with key ${n}, another job may be creating this cache.`)}b(`Attempting to upload cache located at: ${m}`),yield kP(A,m,E,i);let y={key:n,version:f,sizeBytes:`${h}`},I=yield u.FinalizeCacheEntryUpload(y);if(b(`FinalizeCacheEntryUploadResponse: ${I.ok}`),!I.ok)throw I.message?new bI(I.message):new Error(`Unable to finalize cache with key ${n}, another job may be finalizing this cache.`);A=parseInt(I.entryId)}catch(h){let f=h;if(f.name===Tn.name)throw h;f.name===Uc.name?N(`Failed to save: ${f.message}`):f.name===bI.name?Xe(f.message):f instanceof jn&&typeof f.statusCode=="number"&&f.statusCode>=500?eu(`Failed to save: ${f.message}`):Xe(`Failed to save: ${f.message}`)}finally{try{yield cp(m)}catch(h){b(`Failed to delete archive: ${h}`)}}return A})}o(nTe,"saveCacheV2");var ij=w(require("util"),1);var Ti=class t{static{o(this,"Cache")}opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=ij.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=Xk.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=Xk.default.join(this.cacheDir,this.opts.cacheFile),Rm.default.existsSync(this.cacheDir)||Rm.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){b(`Cache.save ${e}`);let s=this.copyToCache(e),n=await this.cacheToHostedToolCache();if(n&&b(`Cache.save cached to hosted tool cache ${n}`),!this.ghaNoCache&&Wk())if(r)try{b(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await jk([this.cacheDir],this.ghaCacheKey)}catch(i){Xe(`Failed to save cache: ${i}`)}else b(`Cache.save sending ${this.ghaCacheKey} to post state`),tu(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return s}async find(){try{let e=t$(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return N(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&Wk()){if(b("GitHub Actions cache feature available"),await nj([this.cacheDir],this.ghaCacheKey)){if(N(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),!Rm.default.existsSync(this.cachePath))return Xe(`Cache file ${this.cachePath} does not exist`),"";let r=await this.cacheToHostedToolCache();return r&&N(`Cached to hosted tool cache ${r}`),this.cachePath}}else this.ghaNoCache?N("GitHub Actions cache disabled"):N("GitHub Actions cache feature not available")}catch(e){Xe(`Failed to restore cache: ${e}`)}return""}static async post(){let e=eH(t.POST_CACHE_KEY);if(!e)return N("State not set"),Promise.resolve(void 0);let r;try{r=JSON.parse(e)}catch(s){throw new Error(`Failed to parse cache post state: ${s}`)}if(!r.dir||!r.key)throw new Error(`Invalid cache post state: ${e}`);try{N(`Caching ${r.key} to GitHub Actions cache`),await jk([r.dir],r.key)}catch(s){Xe(`Failed to save cache: ${s}`)}return r}copyToCache(e){return N(`Copying ${e} to ${this.cachePath}`),Rm.default.copyFileSync(e,this.cachePath),this.cachePath}async cacheToHostedToolCache(){try{return await kg(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform())}catch(e){N(`Failed to cache to hosted tool cache: ${e}`)}return""}platform(){let e=process.config.variables.arm_version;return`${Kk.default.platform()}-${Kk.default.arch()}${e?"v"+e:""}`}};var oj=!!process.env.STATE_isPost;oj||tu("isPost","true");async function aj(t,e){if(oj)e&&await e(),await me("Post cache",async()=>{await Ti.post()});else try{await t()}catch(r){ZG(r.message)}}o(aj,"run");var NZ=w(require("child_process"),1),Wt=w(require("fs"),1),SZ=w(require("fs/promises"),1),Kr=w(require("os"),1),Tt=w(require("path"),1),RZ=require("util"),TZ=w(Zk(),1),GB=w(VD(),1);var XD=w(require("fs"),1),I6=w(require("os"),1),B6=w(require("path"),1),w6=w(C6(),1);var jr=class t{static{o(this,"Context")}static _tmpDir=XD.default.mkdtempSync(B6.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||I6.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return XD.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return w6.tmpNameSync(e)}};var r_=w(require("fs"),1),T6=w(require("os"),1),Vm=w(require("path"),1),v6=require("util"),P6=w(Zk(),1);var Ae=class{static{o(this,"Exec")}static async exec(e,r,s){return b(`Exec.exec: ${e} ${r?.join(" ")}`),ls(e,r,s)}static async getExecOutput(e,r,s){return b(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),Dd(e,r,s)}};var t_=w(require("crypto"),1),S6=w(require("fs"),1),$m=w(require("path"),1),R6=w(VD(),1);var fe=class t extends Error{static{o(this,"CsvError")}constructor(e,r,s,...n){Array.isArray(r)&&(r=r.join(" ").trim()),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,t),this.code=e;for(let i of n)for(let a in i){let c=i[a];this[a]=Buffer.isBuffer(c)?c.toString(s.encoding):c==null?c:JSON.parse(JSON.stringify(c))}}};var zm=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var uB=o(function(t){let e=[];for(let r=0,s=t.length;r=this.size&&(this.resize(),r>=this.size))throw Error("INVALID_BUFFER_STATE");let s=this.buf;this.buf=Buffer.allocUnsafe(this.size),e.copy(this.buf,0),s.copy(this.buf,e.length),this.length+=e.length}else{let r=this.length++;r===this.size&&this.resize();let s=this.clone();this.buf[0]=e,s.copy(this.buf,1,0,r)}}append(e){let r=this.length++;r===this.size&&this.resize(),this.buf[r]=e}clone(){return Buffer.from(this.buf.slice(0,this.length))}resize(){let e=this.length;this.size=this.size*2;let r=Buffer.allocUnsafe(this.size);this.buf.copy(r,0,0,e),this.buf=r}toString(e){return e?this.buf.toString(e,0,this.length):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}},e_=ZD;var b6=o(function(t){let e=[32,9,10,13,12,11,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288,65279].reduce((s,n)=>{let i=Buffer.from(String.fromCharCode(n),t.encoding);return n!==63&&i.length===1&&i[0]===63||s.push(i),s},[]),r=new Uint8Array(256);for(let s of e)r[s[0]]=1;return{bomSkipped:!1,bufBytesStart:0,castField:t.cast_function,commenting:!1,delimiterBufPrevious:void 0,delimiterDiscovered:!1,error:void 0,enabled:t.from_line===1,escaping:!1,escapeIsQuote:Buffer.isBuffer(t.escape)&&Buffer.isBuffer(t.quote)&&Buffer.compare(t.escape,t.quote)===0,expectedRecordLength:Array.isArray(t.columns)?t.columns.length:void 0,field:new e_(20),firstLineToHeaders:t.cast_first_line_to_header,needMoreDataSize:Math.max(t.comment!==null?t.comment.length:0,...t.delimiter?t.delimiter.map(s=>s.length):[],t.delimiter_auto?1:0,t.quote!==null?t.quote.length:0,...e.map(s=>s.length)),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new e_(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:t.record_delimiter.length===0?0:Math.max(...t.record_delimiter.map(s=>s.length)),trimChars:[Buffer.from(" ",t.encoding)[0],Buffer.from(" ",t.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:e,timcharFirstBytes:r}},"init_state");var x6=o(function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})},"underscore");var EA=o(function(t){let e={};for(let s in t)e[x6(s)]=t[s];if(e.encoding===void 0||e.encoding===!0)e.encoding="utf8";else if(e.encoding===null||e.encoding===!1)e.encoding=null;else if(typeof e.encoding!="string"&&e.encoding!==null)throw new fe("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 fe("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 fe("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(e.cast)}`],e);if(e.cast_date===void 0||e.cast_date===null||e.cast_date===!1||e.cast_date==="")e.cast_date=!1;else if(e.cast_date===!0)e.cast_date=function(s){let n=Date.parse(s);return isNaN(n)?s:new Date(n)};else if(typeof e.cast_date!="function")throw new fe("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=uB(e.columns);else if(e.columns===void 0||e.columns===null||e.columns===!1)e.columns=!1;else throw new fe("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 fe("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 fe("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 fe("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 fe("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(!zm(e.delimiter_auto))throw new fe("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(!zm(e.delimiter_auto.preferred))throw new fe("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","preferred must be an object,",`got ${JSON.stringify(e.delimiter_auto.preferred)}`],e);if(e.delimiter_auto.score===void 0)e.delimiter_auto.score=(s,n)=>(s.total-s.std)*(n.preferred[s.char_code]||1);else if(typeof e.delimiter_auto.score!="function")throw new fe("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 fe("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","size must be a number,",`got ${JSON.stringify(e.delimiter_auto.size)}`],e)}let r=JSON.stringify(e.delimiter);if(e.delimiter_auto!==!1&&(e.delimiter=[]),Array.isArray(e.delimiter)||((e.delimiter===void 0||e.delimiter===null||e.delimiter===!1)&&(e.delimiter=Buffer.from(",",e.encoding)),e.delimiter=[e.delimiter]),e.delimiter=e.delimiter.map(function(s){if(typeof s=="string"&&(s=Buffer.from(s,e.encoding)),!Buffer.isBuffer(s)||s.length===0)throw new fe("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],e);return s}),e.escape===void 0||e.escape===!0?e.escape=Buffer.from('"',e.encoding):typeof e.escape=="string"?e.escape=Buffer.from(e.escape,e.encoding):(e.escape===null||e.escape===!1)&&(e.escape=null),e.escape!==null&&!Buffer.isBuffer(e.escape))throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(e.escape)}`);if(e.from===void 0||e.from===null)e.from=1;else if(typeof e.from=="string"&&/\d+/.test(e.from)&&(e.from=parseInt(e.from)),Number.isInteger(e.from)){if(e.from<0)throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(t.from)}`)}else throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(e.from)}`);if(e.from_line===void 0||e.from_line===null)e.from_line=1;else if(typeof e.from_line=="string"&&/\d+/.test(e.from_line)&&(e.from_line=parseInt(e.from_line)),Number.isInteger(e.from_line)){if(e.from_line<=0)throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(t.from_line)}`)}else throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(t.from_line)}`);if(e.ignore_last_delimiters===void 0||e.ignore_last_delimiters===null)e.ignore_last_delimiters=!1;else if(typeof e.ignore_last_delimiters=="number")e.ignore_last_delimiters=Math.floor(e.ignore_last_delimiters),e.ignore_last_delimiters===0&&(e.ignore_last_delimiters=!1);else if(typeof e.ignore_last_delimiters!="boolean")throw new fe("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 fe("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 fe("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 fe("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 fe("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);if(e.record_delimiter=e.record_delimiter.map(function(s,n){if(typeof s!="string"&&!Buffer.isBuffer(s))throw new fe("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${n},`,`got ${JSON.stringify(s)}`],e);if(s.length===0)throw new fe("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${n},`,`got ${JSON.stringify(s)}`],e);return typeof s=="string"&&(s=Buffer.from(s,e.encoding)),s}),typeof e.relax_column_count!="boolean")if(e.relax_column_count===void 0||e.relax_column_count===null)e.relax_column_count=!1;else throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(e.relax_column_count)}`);if(typeof e.relax_column_count_less!="boolean")if(e.relax_column_count_less===void 0||e.relax_column_count_less===null)e.relax_column_count_less=!1;else throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(e.relax_column_count_less)}`);if(typeof e.relax_column_count_more!="boolean")if(e.relax_column_count_more===void 0||e.relax_column_count_more===null)e.relax_column_count_more=!1;else throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(e.relax_column_count_more)}`);if(typeof e.relax_quotes!="boolean")if(e.relax_quotes===void 0||e.relax_quotes===null)e.relax_quotes=!1;else throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(e.relax_quotes)}`);if(typeof e.skip_empty_lines!="boolean")if(e.skip_empty_lines===void 0||e.skip_empty_lines===null)e.skip_empty_lines=!1;else throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(e.skip_empty_lines)}`);if(typeof e.skip_records_with_empty_values!="boolean")if(e.skip_records_with_empty_values===void 0||e.skip_records_with_empty_values===null)e.skip_records_with_empty_values=!1;else throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(e.skip_records_with_empty_values)}`);if(typeof e.skip_records_with_error!="boolean")if(e.skip_records_with_error===void 0||e.skip_records_with_error===null)e.skip_records_with_error=!1;else throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(e.skip_records_with_error)}`);if(e.rtrim===void 0||e.rtrim===null||e.rtrim===!1)e.rtrim=!1;else if(e.rtrim!==!0)throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(e.rtrim)}`);if(e.ltrim===void 0||e.ltrim===null||e.ltrim===!1)e.ltrim=!1;else if(e.ltrim!==!0)throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(e.ltrim)}`);if(e.trim===void 0||e.trim===null||e.trim===!1)e.trim=!1;else if(e.trim!==!0)throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(e.trim)}`);if(e.trim===!0&&t.ltrim!==!1?e.ltrim=!0:e.ltrim!==!0&&(e.ltrim=!1),e.trim===!0&&t.rtrim!==!1?e.rtrim=!0:e.rtrim!==!0&&(e.rtrim=!1),e.to===void 0||e.to===null)e.to=-1;else if(e.to!==-1)if(typeof e.to=="string"&&/\d+/.test(e.to)&&(e.to=parseInt(e.to)),Number.isInteger(e.to)){if(e.to<=0)throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(t.to)}`)}else throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(t.to)}`);if(e.to_line===void 0||e.to_line===null)e.to_line=-1;else if(e.to_line!==-1)if(typeof e.to_line=="string"&&/\d+/.test(e.to_line)&&(e.to_line=parseInt(e.to_line)),Number.isInteger(e.to_line)){if(e.to_line<=0)throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(t.to_line)}`)}else throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(t.to_line)}`);return e},"normalize_options");var Q6=o(function(t,e){e||({delimiter_auto:e}=EA({delimiter_auto:!0})),typeof t=="string"&&(t=Buffer.from(t)),Buffer.isBuffer(t)&&(t=(n=>{let i=[],a=AB({delimiter:[]}),c=o(A=>i.push(A),"push"),l=o(()=>{},"close"),u=a.parse(n,!0,c,l);if(u!==void 0)throw u;return i})(t));let r=Array(127).fill().map(()=>({lines:[]}));t.map(([n],i)=>{for(let a=0,c=n.length;a{n.char_code=i,n.std=Ike(n.lines),n.total=n.lines.reduce((a,c)=>a+c,0),n.preferred=!!e.preferred[i],n.score=e.score(n,e)});let s=r.reduce((n,i)=>n.score>i.score?n:i,{});return String.fromCharCode(s.char_code)},"delimiter_discover"),Ike=o(function(t){let e=t.length;if(e===0)return 0;let r=t.reduce((s,n)=>s+n)/e;return Math.sqrt(t.map(s=>Math.pow(s-r,2)).reduce((s,n)=>s+n)/e)},"std");var N6=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),Bke=13,wke=10,yA={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},AB=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=EA(t);return{info:e,original_options:t,options:r,state:b6(r),__needMoreData:o(function(s,n,i){if(i)return!1;let{encoding:a,escape:c,quote:l}=this.options,{quoting:u,needMoreDataSize:A,recordDelimiterMaxLength:d}=this.state,p=n-s-1,m=Math.max(A,d===0?Buffer.from(`\r `,a).length:d,u?(c===null?0:c.length)+l.length:0,u?l.length+d:0);return pu.size)this.options.delimiter=[Buffer.from(Q6(Re,this.options.delimiter_auto))],this.state.previousBuf=Re,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=Re;return}}let{previousBuf:bt}=this.state,ce;if(bt===void 0)if(s===void 0){a();return}else ce=s;else bt!==void 0&&s===void 0?ce=bt:ce=Buffer.concat([bt,s]);if(we===!1)if(c===!1)this.state.bomSkipped=!0;else if(ce.length<3){if(n===!1){this.state.previousBuf=ce;return}}else{for(let Re in yA)if(yA[Re].compare(ce,0,yA[Re].length)===0){let bo=yA[Re].length;this.state.bufBytesStart+=bo,ce=ce.slice(bo);let lh=EA({...this.original_options,encoding:Re});for(let vt in lh)this.options[vt]=lh[vt];({comment:B,escape:S,quote:R}=this.options);break}this.state.bomSkipped=!0}let on=ce.length,$;for($=0;$I){this.state.stop=!0,a();return}this.state.quoting===!1&&q.length===0&&this.__autoDiscoverRecordDelimiter(ce,$)&&(q=this.options.record_delimiter);let Re=ce[$];if(h===!0&&_e.append(Re),(Re===Bke||Re===wke)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(S!==null&&this.state.quoting===!0&&this.__isEscape(ce,$,Re)&&$+S.lengthyA[wa].equals(this.state.field.toString())?wa:!1).filter(Boolean)[0],_i=this.__error(new fe("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(vt.column)} at line ${vt.lines}, value is ${JSON.stringify(this.state.field.toString(A))}`,Ba?`(${Ba} bom)`:void 0],this.options,vt,{field:this.state.field}));if(_i!==void 0)return _i}}else{this.state.quoting=!0,$+=R.length-1;continue}if(this.state.quoting===!1){let vt=this.__isRecordDelimiter(Re,ce,$);if(vt!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=d){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),$+=vt-1;continue}if(E===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,$+=vt-1;continue}this.info.bytes=this.state.bufBytesStart+$;let wa=this.__onField();if(wa!==void 0)return wa;this.info.bytes=this.state.bufBytesStart+$+vt;let uh=this.__onRecord(i);if(uh!==void 0)return uh;if(y!==-1&&this.info.records>=y){this.state.stop=!0,a();return}}this.state.commenting=!1,$+=vt-1;continue}if(this.state.commenting)continue;if(B!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(B,ce,$,Re)!==0){this.state.commenting=!0;continue}let Ba=this.__isDelimiter(ce,$,Re);if(Ba!==0){this.info.bytes=this.state.bufBytesStart+$;let _i=this.__onField();if(_i!==void 0)return _i;$+=Ba-1;continue}}}if(this.state.commenting===!1&&m!==0&&this.state.record_length+this.state.field.length>m)return this.__error(new fe("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${m}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let bo=p===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(ce,$),lh=C===!1||this.state.wasQuoting===!1;if(bo===!0&&lh===!0)this.state.field.append(Re);else{if(C===!0&&!this.__isCharTrimable(ce,$))return this.__error(new fe("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()));bo===!1&&($+=this.__isCharTrimable(ce,$)-1);continue}}if(n===!0)if(this.state.quoting===!0){let Re=this.__error(new fe("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(Re!==void 0)return Re}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+$;let Re=this.__onField();if(Re!==void 0)return Re;let bo=this.__onRecord(i);if(bo!==void 0)return bo}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=$,this.state.previousBuf=ce.slice($);this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1)},"parse"),__onRecord:o(function(s){let{columns:n,group_columns_by_name:i,encoding:a,info:c,from:l,relax_column_count:u,relax_column_count_less:A,relax_column_count_more:d,raw:p,skip_records_with_empty_values:m}=this.options,{enabled:h,record:f}=this.state;if(h===!1)return this.__resetRecord();let C=f.length;if(n===!0){if(m===!0&&N6(f)){this.__resetRecord();return}return this.__firstLineToColumns(f)}if(n===!1&&this.info.records===0&&(this.state.expectedRecordLength=C),C!==this.state.expectedRecordLength){let E=n===!1?new fe("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${C} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f}):new fe("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${n.length},`,`got ${C} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f});if(u===!0||A===!0&&Cthis.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=E;else{let y=this.__error(E);if(y)return y}}if(m===!0&&N6(f)){this.__resetRecord();return}if(this.state.recordHasError===!0){this.__resetRecord(),this.state.recordHasError=!1;return}if(this.info.records++,l===1||this.info.records>=l){let{objname:E}=this.options;if(n!==!1){let y={};for(let I=0,B=f.length;I=0},"__isFloat"),__isQuote:o(function(s,n){let{quote:i}=this.options;if(i===null)return!1;let a=i.length;for(let c=0;cthis.state.record.length?s[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var dB=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],s=AB(e),n=o(c=>{s.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),i=o(()=>{},"close"),a=s.parse(t,!0,n,i);if(a!==void 0)throw a;return r},"parse");var Nr=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(gn(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let s=[];if(e=="")return s;let n=dB(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let i of n)i.length==1?r?.ignoreComma?s.push(i[0]):s.push(...i[0].split(",")):r?.ignoreComma?s.push(i.join(",")):s.push(...i);return s.filter(i=>i).map(i=>r?.trimWhitespace===!1?i:i.trim())}static getInputNumber(e){let r=gn(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let s=0;ssetTimeout(r,e*1e3))}static hash(e){return t_.default.createHash("sha256").update(e).digest("hex")}static parseBool(e){if(e===void 0)return!1;switch(e){case"1":case"t":case"T":case"true":case"TRUE":case"True":return!0;case"0":case"f":case"F":case"false":case"FALSE":case"False":return!1;default:throw new Error(`parseBool syntax error: ${e}`)}}static parseBoolOrDefault(e,r=!1){try{return this.parseBool(e)}catch{return r}}static formatFileSize(e){if(e===0)return"0 Bytes";let r=1024,s=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],n=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,n)).toFixed(2))+" "+s[n]}static generateRandomString(e=10){return t_.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,s){return R6.default.compile(e,r)(s)}static stringToUnicodeEntities(e){return Array.from(e).map(r=>`&#x${r.charCodeAt(0).toString(16)};`).join("")}static countLines(e){return e.split(/\r\n|\r|\n/).length}static isPathRelativeTo(e,r){let s=$m.default.resolve(e);return $m.default.resolve(r).startsWith(s.endsWith($m.default.sep)?s:`${s}${$m.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),s=Math.floor(r/3600),n=Math.floor(r%3600/60),i=r%60,a=[];return s&&a.push(`${s}h`),n&&a.push(`${n}m`),(i||a.length===0)&&a.push(`${i}s`),a.join("")}};var Ar=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||Vm.default.join(T6.default.homedir(),".docker")}static configFile(){let e=Vm.default.join(t.configDir,"config.json");if(r_.default.existsSync(e))return JSON.parse(r_.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await rt("docker",!0).then(e=>(b(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(b(`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 Ae.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return Ae.getExecOutput("docker",e,t.execOptions(r))}static getErrorMessage(e){let r=(0,v6.stripVTControlCharacters)(e).split(/[\r\n]/);for(let s=r.length-1;s>=0;s--){let n=r[s].trim();if(n)return n}return"unknown error"}static execOptions(e){return e||(e={}),e.env?e.env.DOCKER_CONTENT_TRUST="false":e.env=Object.assign({},process.env,{DOCKER_CONTENT_TRUST:"false"}),e}static async context(e){let r=["context","inspect","--format","{{.Name}}"];return e&&r.push(e),await t.getExecOutput(r,{ignoreReturnCode:!0,silent:!0}).then(s=>{if(s.stderr.length>0&&s.exitCode!=0)throw new Error(s.stderr);return s.stdout.trim()})}static async contextInspect(e){let r=["context","inspect","--format=json"];return e&&r.push(e),await t.getExecOutput(r,{ignoreReturnCode:!0,silent:!0}).then(s=>{if(s.stderr.length>0&&s.exitCode!=0)throw new Error(s.stderr.trim());return JSON.parse(s.stdout.trim())[0]})}static async printVersion(){await t.exec(["version"])}static async printInfo(){await t.exec(["info"])}static parseRepoTag(e){let r,s=e.indexOf("@"),n=e.lastIndexOf(":");if(s>=0)r=s;else if(n>=0)r=n;else return{repository:e,tag:"latest"};let i=e.slice(r+1);return i.indexOf("/")===-1?{repository:e.slice(0,r),tag:i}:{repository:e,tag:"latest"}}static async pull(e,r,s){let n=[];if(s)try{await t.contextInspect(s),n.push("--context",s)}catch{n.push("--host",s)}let i=t.parseRepoTag(e),a=i.repository.replace(/[^a-zA-Z0-9.]+/g,"--"),c=i.tag.replace(/[^a-zA-Z0-9.]+/g,"--"),l=new Ti({htcName:a,htcVersion:c,baseCacheDir:Vm.default.join(t.configDir,".cache","images",a),cacheFile:"image.tar"}),u;r&&(u=await l.find(),u&&(N(`Image found from cache in ${u}`),await t.getExecOutput([...n,"load","-i",u],{ignoreReturnCode:!0}).then(d=>{d.stderr.length>0&&d.exitCode!=0&&Xe(`Failed to load image from cache: ${t.getErrorMessage(d.stderr)}`)})));let A=!0;try{await t.pullWithRetry(e,n)}catch(d){if(A=!1,u)Xe(`Failed to pull image, using one from cache: ${d.message}`);else throw d}if(r&&A){let d=Vm.default.join(jr.tmpDir(),`${Nr.hash(e)}.tar`);await t.getExecOutput([...n,"save","-o",d,e],{ignoreReturnCode:!0}).then(async p=>{if(p.stderr.length>0&&p.exitCode!=0)Xe(`Failed to save image: ${t.getErrorMessage(p.stderr)}`);else{let m=await l.save(d);N(`Image cached to ${m}`)}})}}static async pullWithRetry(e,r){await(0,P6.default)(async n=>{let i=await t.getExecOutput([...r,"pull",e],{ignoreReturnCode:!0});if(i.stderr.length>0&&i.exitCode!=0){let a=t.getErrorMessage(i.stderr);if(!t.isPullTransientError(a)){n(new Error(a));return}throw new Error(a)}},{retries:4,minTimeout:1e3,factor:2,onRetry:o((n,i)=>{b(`Docker pull failed, retrying (${i}/5)... ${n}`)},"onRetry")})}static isPullTransientError(e){return/Client\.Timeout exceeded|TLS handshake timeout|i\/o timeout|context deadline exceeded|request canceled|connection reset by peer|connection refused|connection timed out|temporary failure|unexpected EOF|\bEOF\b|server misbehaving/i.test(e)||/\b(500|502|503|504)\b/.test(e)||/\b(service unavailable|bad gateway|gateway timeout|internal server error)\b/i.test(e)}};var RK=w(require("crypto"),1);var pB=require("fs"),k6=require("os");var CA=class{static{o(this,"Context")}constructor(){var e,r,s;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,pB.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,pB.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));else{let n=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${n} does not exist${k6.EOL}`)}this.eventName=process.env.GITHUB_EVENT_NAME,this.sha=process.env.GITHUB_SHA,this.ref=process.env.GITHUB_REF,this.workflow=process.env.GITHUB_WORKFLOW,this.action=process.env.GITHUB_ACTION,this.actor=process.env.GITHUB_ACTOR,this.job=process.env.GITHUB_JOB,this.runAttempt=parseInt(process.env.GITHUB_RUN_ATTEMPT,10),this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10),this.runId=parseInt(process.env.GITHUB_RUN_ID,10),this.apiUrl=(e=process.env.GITHUB_API_URL)!==null&&e!==void 0?e:"https://api.github.com",this.serverUrl=(r=process.env.GITHUB_SERVER_URL)!==null&&r!==void 0?r:"https://github.com",this.graphqlUrl=(s=process.env.GITHUB_GRAPHQL_URL)!==null&&s!==void 0?s:"https://api.github.com/graphql"}get issue(){let e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){let[e,r]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:r}}if(this.payload.repository)return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name};throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}};var o_=w(O6(),1),F6=w(Wl(),1);var Lke=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function U6(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(U6,"getAuthString");function q6(t){return new o_.HttpClient().getAgent(t)}o(q6,"getProxyAgent");function Mke(t){return new o_.HttpClient().getAgentDispatcher(t)}o(Mke,"getProxyAgentDispatcher");function G6(t){let e=Mke(t);return o((s,n)=>Lke(this,void 0,void 0,function*(){return(0,F6.fetch)(s,Object.assign(Object.assign({},n),{dispatcher:e}))}),"proxyFetch")}o(G6,"getProxyFetch");function H6(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(H6,"getApiBaseUrl");function a_(t){var e;let r=(e=process.env.ACTIONS_ORCHESTRATION_ID)===null||e===void 0?void 0:e.trim();if(r){let n=`actions_orchestration_id/${r.replace(/[^a-z0-9_.-]/gi,"_")}`;return t?.includes(n)?t:`${t?`${t} `:""}${n}`}return t}o(a_,"getUserAgentWithOrchestrationId");function Ea(){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(Ea,"getUserAgent");function CB(t,e,r,s){if(typeof r!="function")throw new Error("method for before hook must be a function");return s||(s={}),Array.isArray(e)?e.reverse().reduce((n,i)=>CB.bind(null,t,i,n,s),r)():Promise.resolve().then(()=>t.registry[e]?t.registry[e].reduce((n,i)=>i.hook.bind(null,n,s),r)():r(s))}o(CB,"register");function z6(t,e,r,s){let n=s;t.registry[r]||(t.registry[r]=[]),e==="before"&&(s=o((i,a)=>Promise.resolve().then(n.bind(null,a)).then(i.bind(null,a)),"hook")),e==="after"&&(s=o((i,a)=>{let c;return Promise.resolve().then(i.bind(null,a)).then(l=>(c=l,n(c,a))).then(()=>c)},"hook")),e==="error"&&(s=o((i,a)=>Promise.resolve().then(i.bind(null,a)).catch(c=>n(c,a)),"hook")),t.registry[r].push({hook:s,orig:n})}o(z6,"addHook");function $6(t,e,r){if(!t.registry[e])return;let s=t.registry[e].map(n=>n.orig).indexOf(r);s!==-1&&t.registry[e].splice(s,1)}o($6,"removeHook");var V6=Function.bind,Y6=V6.bind(V6);function J6(t,e,r){let s=Y6($6,null).apply(null,r?[e,r]:[e]);t.api={remove:s},t.remove=s,["before","error","after","wrap"].forEach(n=>{let i=r?[e,n,r]:[e,n];t[n]=t.api[n]=Y6(z6,null).apply(null,i)})}o(J6,"bindApi");function Fke(){let t=Symbol("Singular"),e={registry:{}},r=CB.bind(null,e,t);return J6(r,e,t),r}o(Fke,"Singular");function Uke(){let t={registry:{}},e=CB.bind(null,t);return J6(e,t),e}o(Uke,"Collection");var W6={Singular:Fke,Collection:Uke};var qke="0.0.0-development",Gke=`octokit-endpoint.js/${qke} ${Ea()}`,Hke={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":Gke},mediaType:{format:""}};function zke(t){return t?Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}):{}}o(zke,"lowercaseKeys");function $ke(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($ke,"isPlainObject");function X6(t,e){let r=Object.assign({},t);return Object.keys(e).forEach(s=>{$ke(e[s])?s in t?r[s]=X6(t[s],e[s]):Object.assign(r,{[s]:e[s]}):Object.assign(r,{[s]:e[s]})}),r}o(X6,"mergeDeep");function j6(t){for(let e in t)t[e]===void 0&&delete t[e];return t}o(j6,"removeUndefinedProperties");function l_(t,e,r){if(typeof e=="string"){let[n,i]=e.split(" ");r=Object.assign(i?{method:n,url:i}:{url:n},r)}else r=Object.assign({},e);r.headers=zke(r.headers),j6(r),j6(r.headers);let s=X6(t||{},r);return r.url==="/graphql"&&(t&&t.mediaType.previews?.length&&(s.mediaType.previews=t.mediaType.previews.filter(n=>!s.mediaType.previews.includes(n)).concat(s.mediaType.previews)),s.mediaType.previews=(s.mediaType.previews||[]).map(n=>n.replace(/-preview/,""))),s}o(l_,"merge");function Vke(t,e){let r=/\?/.test(t)?"&":"?",s=Object.keys(e);return s.length===0?t:t+r+s.map(n=>n==="q"?"q="+e.q.split("+").map(encodeURIComponent).join("+"):`${n}=${encodeURIComponent(e[n])}`).join("&")}o(Vke,"addQueryParameters");var Yke=/\{[^{}}]+\}/g;function Jke(t){return t.replace(/(?:^\W+)|(?:(?r.concat(s),[]):[]}o(Wke,"extractUrlVariableNames");function K6(t,e){let r={__proto__:null};for(let s of Object.keys(t))e.indexOf(s)===-1&&(r[s]=t[s]);return r}o(K6,"omit");function Z6(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(Z6,"encodeReserved");function BA(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}o(BA,"encodeUnreserved");function Jm(t,e,r){return e=t==="+"||t==="#"?Z6(e):BA(e),r?BA(r)+"="+e:e}o(Jm,"encodeValue");function IA(t){return t!=null}o(IA,"isDefined");function c_(t){return t===";"||t==="&"||t==="?"}o(c_,"isKeyOperator");function jke(t,e,r,s){var n=t[r],i=[];if(IA(n)&&n!=="")if(typeof n=="string"||typeof n=="number"||typeof n=="bigint"||typeof n=="boolean")n=n.toString(),s&&s!=="*"&&(n=n.substring(0,parseInt(s,10))),i.push(Jm(e,n,c_(e)?r:""));else if(s==="*")Array.isArray(n)?n.filter(IA).forEach(function(a){i.push(Jm(e,a,c_(e)?r:""))}):Object.keys(n).forEach(function(a){IA(n[a])&&i.push(Jm(e,n[a],a))});else{let a=[];Array.isArray(n)?n.filter(IA).forEach(function(c){a.push(Jm(e,c))}):Object.keys(n).forEach(function(c){IA(n[c])&&(a.push(BA(c)),a.push(Jm(e,n[c].toString())))}),c_(e)?i.push(BA(r)+"="+a.join(",")):a.length!==0&&i.push(a.join(","))}else e===";"?IA(n)&&i.push(BA(r)):n===""&&(e==="&"||e==="?")?i.push(BA(r)+"="):n===""&&i.push("");return i}o(jke,"getValues");function Kke(t){return{expand:Xke.bind(null,t)}}o(Kke,"parseUrl");function Xke(t,e){var r=["+","#",".","/",";","?","&"];return t=t.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(s,n,i){if(n){let c="",l=[];if(r.indexOf(n.charAt(0))!==-1&&(c=n.charAt(0),n=n.substr(1)),n.split(/,/g).forEach(function(u){var A=/([^:\*]*)(?::(\d+)|(\*))?/.exec(u);l.push(jke(e,c,A[1],A[2]||A[3]))}),c&&c!=="+"){var a=",";return c==="?"?a="&":c!=="#"&&(a=c),(l.length!==0?c:"")+l.join(a)}else return l.join(",")}else return Z6(i)}),t==="/"?t:t.replace(/\/$/,"")}o(Xke,"expand");function eK(t){let e=t.method.toUpperCase(),r=(t.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),s=Object.assign({},t.headers),n,i=K6(t,["method","baseUrl","url","headers","request","mediaType"]),a=Wke(r);r=Kke(r).expand(i),/^http/.test(r)||(r=t.baseUrl+r);let c=Object.keys(t).filter(A=>a.includes(A)).concat("baseUrl"),l=K6(i,c);if(!/application\/octet-stream/i.test(s.accept)&&(t.mediaType.format&&(s.accept=s.accept.split(/,/).map(A=>A.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${t.mediaType.format}`)).join(",")),r.endsWith("/graphql")&&t.mediaType.previews?.length)){let A=s.accept.match(/(?{let p=t.mediaType.format?`.${t.mediaType.format}`:"+json";return`application/vnd.github.${d}-preview${p}`}).join(",")}return["GET","HEAD"].includes(e)?r=Vke(r,l):"data"in l?n=l.data:Object.keys(l).length&&(n=l),!s["content-type"]&&typeof n<"u"&&(s["content-type"]="application/json; charset=utf-8"),["PATCH","PUT"].includes(e)&&typeof n>"u"&&(n=""),Object.assign({method:e,url:r,headers:s},typeof n<"u"?{body:n}:null,t.request?{request:t.request}:null)}o(eK,"parse");function Zke(t,e,r){return eK(l_(t,e,r))}o(Zke,"endpointWithDefaults");function tK(t,e){let r=l_(t,e),s=Zke.bind(null,r);return Object.assign(s,{DEFAULTS:r,defaults:tK.bind(null,r),merge:l_.bind(null,r),parse:eK})}o(tK,"withDefaults");var rK=tK(null,Hke);var pK=w(oK(),1);var cK=/^-?\d+n+$/,u_=JSON.stringify,aK=JSON.parse,lK=o((t,e,r)=>{if("rawJSON"in JSON)return u_(t,(l,u)=>typeof u=="bigint"?JSON.rawJSON(u.toString()):typeof e=="function"?e(l,u):(Array.isArray(e)&&e.includes(l),u),r);if(!t)return u_(t,e,r);let s=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,n=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g;return u_(t,(l,u)=>typeof u=="string"&&!!u.match(cK)||typeof u=="bigint"?u.toString()+"n":typeof e=="function"?e(l,u):(Array.isArray(e)&&e.includes(l),u),r).replace(s,"$1$2$3").replace(n,"$1$2$3")},"JSONStringify"),eDe=o(()=>JSON.parse("1",(t,e,r)=>!!r&&r.source==="1"),"isContextSourceSupported"),tDe=o((t,e)=>{let r=/^-?\d+$/;return JSON.parse(t,(s,n,i)=>{let a=typeof n=="number"&&(n>Number.MAX_SAFE_INTEGER||n{if(!t)return aK(t,e);if(eDe())return tDe(t,e);let r=Number.MAX_SAFE_INTEGER.toString(),s=r.length,n=/"(?:\\.|[^"])*"|-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][+-]?[0-9]+)?/g,i=/^"-?\d+n+"$/,a=/^-?\d+n$/,c=t.replace(n,(l,u,A,d)=>{let p=l[0]==='"';if(p&&!!l.match(i))return l.substring(0,l.length-1)+'n"';let h=A||d,f=u&&(u.lengthtypeof u=="string"&&!!u.match(a)?BigInt(u.substring(0,u.length-1)):typeof u=="string"&&!!u.match(cK)?u.substring(0,u.length-1):typeof e!="function"?u:e(l,u,A))},"JSONParse");var Wc=class extends Error{static{o(this,"RequestError")}name;status;request;response;constructor(e,r,s){super(e,{cause:s.cause}),this.name="HttpError",this.status=Number.parseInt(r),Number.isNaN(this.status)&&(this.status=0);"response"in s&&(this.response=s.response);let n=Object.assign({},s.request);s.request.headers.authorization&&(n.headers=Object.assign({},s.request.headers,{authorization:s.request.headers.authorization.replace(/(?"","noop");async function dK(t){let e=t.request?.fetch||globalThis.fetch;if(!e)throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing");let r=t.request?.log||console,s=t.request?.parseSuccessResponseBody!==!1,n=nDe(t.body)||Array.isArray(t.body)?lK(t.body):t.body,i=Object.fromEntries(Object.entries(t.headers).map(([d,p])=>[d,String(p)])),a;try{a=await e(t.url,{method:t.method,body:n,redirect:t.request?.redirect,headers:i,signal:t.request?.signal,...t.body&&{duplex:"half"}})}catch(d){let p="Unknown Error";if(d instanceof Error){if(d.name==="AbortError")throw d.status=500,d;p=d.message,d.name==="TypeError"&&"cause"in d&&(d.cause instanceof Error?p=d.cause.message:typeof d.cause=="string"&&(p=d.cause))}let m=new Wc(p,500,{request:t});throw m.cause=d,m}let c=a.status,l=a.url,u={};for(let[d,p]of a.headers)u[d]=p;let A={url:l,status:c,headers:u,data:""};if("deprecation"in u){let d=u.link&&u.link.match(/<([^<>]+)>; rel="deprecation"/),p=d&&d.pop();r.warn(`[@octokit/request] "${t.method} ${t.url}" is deprecated. It is scheduled to be removed on ${u.sunset}${p?`. See ${p}`:""}`)}if(c===204||c===205)return A;if(t.method==="HEAD"){if(c<400)return A;throw new Wc(a.statusText,c,{response:A,request:t})}if(c===304)throw A.data=await A_(a),new Wc("Not modified",c,{response:A,request:t});if(c>=400)throw A.data=await A_(a),new Wc(oDe(A.data),c,{response:A,request:t});return A.data=s?await A_(a):a.body,A}o(dK,"fetchWrapper");async function A_(t){let e=t.headers.get("content-type");if(!e)return t.text().catch(AK);let r=(0,pK.safeParse)(e);if(iDe(r)){let s="";try{return s=await t.text(),uK(s)}catch{return s}}else return r.type.startsWith("text/")||r.parameters.charset?.toLowerCase()==="utf-8"?t.text().catch(AK):t.arrayBuffer().catch(()=>new ArrayBuffer(0))}o(A_,"getResponseData");function iDe(t){return t.type==="application/json"||t.type==="application/scim+json"}o(iDe,"isJSONResponse");function oDe(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(oDe,"toErrorMessage");function d_(t,e){let r=t.defaults(e);return Object.assign(o(function(n,i){let a=r.merge(n,i);if(!a.request||!a.request.hook)return dK(r.parse(a));let c=o((l,u)=>dK(r.parse(r.merge(l,u))),"request2");return Object.assign(c,{endpoint:r,defaults:d_.bind(null,r)}),a.request.hook(c,a)},"newApi"),{endpoint:r,defaults:d_.bind(null,r)})}o(d_,"withDefaults");var jm=d_(rK,sDe);var aDe="0.0.0-development";function cDe(t){return`Request failed due to following response errors: `+t.errors.map(e=>` - ${e.message}`).join(` `)}o(cDe,"_buildMessageForResponseErrors");var lDe=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super(cDe(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},uDe=["method","baseUrl","url","headers","request","query","mediaType","operationName"],ADe=["query","method","url"],mK=/\/api\/v3\/?$/;function dDe(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(ADe.includes(a))return Promise.reject(new Error(`[@octokit/graphql] "${a}" cannot be used as variable name`))}let s=typeof e=="string"?Object.assign({query:e},r):e,n=Object.keys(s).reduce((a,c)=>uDe.includes(c)?(a[c]=s[c],a):(a.variables||(a.variables={}),a.variables[c]=s[c],a),{}),i=s.baseUrl||t.endpoint.DEFAULTS.baseUrl;return mK.test(i)&&(n.url=i.replace(mK,"/api/graphql")),t(n).then(a=>{if(a.data.errors){let c={};for(let l of Object.keys(a.headers))c[l]=a.headers[l];throw new lDe(n,c,a.data)}return a.data.data})}o(dDe,"graphql");function p_(t,e){let r=t.defaults(e);return Object.assign(o((n,i)=>dDe(r,n,i),"newApi"),{defaults:p_.bind(null,r),endpoint:r.endpoint})}o(p_,"withDefaults");var KAt=p_(jm,{headers:{"user-agent":`octokit-graphql.js/${aDe} ${Ea()}`},method:"POST",url:"/graphql"});function hK(t){return p_(t,{method:"POST",url:"/graphql"})}o(hK,"withCustomRequest");var m_="(?:[a-zA-Z0-9_-]+)",fK="\\.",gK=new RegExp(`^${m_}${fK}${m_}${fK}${m_}$`),pDe=gK.test.bind(gK);async function mDe(t){let e=pDe(t),r=t.startsWith("v1.")||t.startsWith("ghs_"),s=t.startsWith("ghu_");return{type:"token",token:t,tokenType:e?"app":r?"installation":s?"user-to-server":"oauth"}}o(mDe,"auth");function hDe(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(hDe,"withAuthorizationPrefix");async function fDe(t,e,r,s){let n=e.endpoint.merge(r,s);return n.headers.authorization=hDe(t),e(n)}o(fDe,"hook");var EK=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(mDe.bind(null,e),{hook:fDe.bind(null,e)})},"createTokenAuth2");var h_="7.0.6";var yK=o(()=>{},"noop"),gDe=console.warn.bind(console),EDe=console.error.bind(console);function yDe(t={}){return typeof t.debug!="function"&&(t.debug=yK),typeof t.info!="function"&&(t.info=yK),typeof t.warn!="function"&&(t.warn=gDe),typeof t.error!="function"&&(t.error=EDe),t}o(yDe,"createLogger");var CK=`octokit-core.js/${h_} ${Ea()}`,bB=class{static{o(this,"Octokit")}static VERSION=h_;static defaults(e){return class extends this{static{o(this,"OctokitWithDefaults")}constructor(...s){let n=s[0]||{};if(typeof e=="function"){super(e(n));return}super(Object.assign({},e,n,n.userAgent&&e.userAgent?{userAgent:`${n.userAgent} ${e.userAgent}`}:null))}}}static plugins=[];static plugin(...e){let r=this.plugins;return class extends this{static{o(this,"NewOctokit")}static plugins=r.concat(e.filter(n=>!r.includes(n)))}}constructor(e={}){let r=new W6.Collection,s={baseUrl:jm.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};if(s.headers["user-agent"]=e.userAgent?`${e.userAgent} ${CK}`:CK,e.baseUrl&&(s.baseUrl=e.baseUrl),e.previews&&(s.mediaType.previews=e.previews),e.timeZone&&(s.headers["time-zone"]=e.timeZone),this.request=jm.defaults(s),this.graphql=hK(this.request).defaults(s),this.log=yDe(e.log),this.hook=r,e.authStrategy){let{authStrategy:i,...a}=e,c=i(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:a},e.auth));r.wrap("request",c.hook),this.auth=c}else if(!e.auth)this.auth=async()=>({type:"unauthenticated"});else{let i=EK(e.auth);r.wrap("request",i.hook),this.auth=i}let n=this.constructor;for(let i=0;i({async next(){if(!c)return{done:!0};try{let l=await n({method:i,url:c,headers:a}),u=xDe(l);if(c=((u.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1],!c&&"total_commits"in u.data){let A=new URL(u.url),d=A.searchParams,p=parseInt(d.get("page")||"1",10),m=parseInt(d.get("per_page")||"250",10);p*m{if(n.done)return e;let i=!1;function a(){i=!0}return o(a,"done"),e=e.concat(s?s(n.value,a):n.value.data),i?e:wK(t,e,r,s)})}o(wK,"gather");var wdt=Object.assign(BK,{iterator:y_});function C_(t){return{paginate:Object.assign(BK.bind(null,t),{iterator:y_.bind(null,t)})}}o(C_,"paginateRest");C_.VERSION=bDe;var Rdt=new CA,I_=H6(),QDe={baseUrl:I_,request:{agent:q6(I_),fetch:G6(I_)}},bK=bB.plugin(E_,C_).defaults(QDe);function xK(t,e){let r=Object.assign({},e||{}),s=U6(t,r);s&&(r.auth=s);let n=a_(r.userAgent);return n&&(r.userAgent=n),r}o(xK,"getOctokitOptions");var wA=new CA;function QK(t,e,...r){let s=bK.plugin(...r);return new s(xK(t,e))}o(QK,"getOctokit");var Xm=w(require("http"),1),x_=w(require("https"),1);function B_(t){let e=t.protocol==="https:";if(SDe(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 xB(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new xB(`http://${r}`)}else return}o(B_,"getProxyUrl");function SDe(t){if(!t.hostname)return!1;let e=t.hostname;if(RDe(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(SDe,"checkBypass");function RDe(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(RDe,"isLoopbackAddress");var xB=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 ya=w(NA(),1),NK=w(Wl(),1);var wt=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},rn;(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"})(rn||(rn={}));var Rr;(function(t){t.Accept="accept",t.ContentType="content-type"})(Rr||(Rr={}));var Bo;(function(t){t.ApplicationJson="application/json"})(Bo||(Bo={}));var vDe=[rn.MovedPermanently,rn.ResourceMoved,rn.SeeOther,rn.TemporaryRedirect,rn.PermanentRedirect],PDe=[rn.BadGateway,rn.ServiceUnavailable,rn.GatewayTimeout],kDe=["OPTIONS","GET","DELETE","HEAD"],DDe=10,_De=5,w_=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},b_=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return wt(this,void 0,void 0,function*(){return new Promise(e=>wt(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return wt(this,void 0,void 0,function*(){return new Promise(e=>wt(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var QB=class{static{o(this,"HttpClient")}constructor(e,r,s){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return wt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return wt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return wt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return wt(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return wt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return wt(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return wt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return wt(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return wt(this,arguments,void 0,function*(r,s={}){s[Rr.Accept]=this._getExistingOrDefaultHeader(s,Rr.Accept,Bo.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return wt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Rr.Accept]=this._getExistingOrDefaultHeader(i,Rr.Accept,Bo.ApplicationJson),i[Rr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Bo.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return wt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Rr.Accept]=this._getExistingOrDefaultHeader(i,Rr.Accept,Bo.ApplicationJson),i[Rr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Bo.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return wt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Rr.Accept]=this._getExistingOrDefaultHeader(i,Rr.Accept,Bo.ApplicationJson),i[Rr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Bo.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return wt(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),a=this._prepareRequest(e,i,n),c=this._allowRetries&&kDe.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===rn.Unauthorized){let d;for(let p of this.handlers)if(p.canHandleAuthentication(u)){d=p;break}return d?d.handleAuthentication(this,a,s):u}let A=this._maxRedirects;for(;u.message.statusCode&&vDe.includes(u.message.statusCode)&&this._allowRedirects&&A>0;){let d=u.message.headers.location;if(!d)break;let p=new URL(d);if(i.protocol==="https:"&&i.protocol!==p.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield u.readBody(),p.hostname!==i.hostname)for(let m in n)m.toLowerCase()==="authorization"&&delete n[m];a=this._prepareRequest(e,p,n),u=yield this.requestRaw(a,s),A--}if(!u.message.statusCode||!PDe.includes(u.message.statusCode))return u;l+=1,l{function i(a,c){a?n(a):c?s(c):n(new Error("Unknown error"))}o(i,"callbackForResult"),this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(l,u){n||(n=!0,s(l,u))}o(i,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new b_(l);i(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){i(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),s=B_(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?x_:Xm;let a=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Km(this.requestOptions.headers),Km(e||{})):Km(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=Km(this.requestOptions.headers)[r];a&&(n=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=Km(this.requestOptions.headers)[Rr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[Rr.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=B_(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||Xm.globalAgent.maxSockets),s&&s.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},l,u=s.protocol==="https:";i?l=u?ya.httpsOverHttps:ya.httpsOverHttp:l=u?ya.httpOverHttps:ya.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new x_.Agent(c):new Xm.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new NK.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return wt(this,void 0,void 0,function*(){e=Math.min(DDe,e);let r=_De*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return wt(this,void 0,void 0,function*(){return new Promise((s,n)=>wt(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===rn.NotFound&&s(a);function c(A,d){if(typeof d=="string"){let p=new Date(d);if(!isNaN(p.valueOf()))return p}return d}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let A;l&&l.message?A=l.message:u&&u.length>0?A=u:A=`Failed request: (${i})`;let d=new w_(A,i);d.result=a.result,n(d)}else s(a)}))})}},Km=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var TK=require("stream/consumers");var Kc=class extends Error{static{o(this,"InvalidTokenError")}};Kc.prototype.name="InvalidTokenError";function MDe(t){return decodeURIComponent(atob(t).replace(/(.)/g,(e,r)=>{let s=r.charCodeAt(0).toString(16).toUpperCase();return s.length<2&&(s="0"+s),"%"+s}))}o(MDe,"b64DecodeUnicode");function ODe(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 MDe(e)}catch{return atob(e)}}o(ODe,"base64UrlDecode");function SK(t,e){if(typeof t!="string")throw new Kc("Invalid token specified: must be a string");e||(e={});let r=e.header===!0?0:1,s=t.split(".")[r];if(typeof s!="string")throw new Kc(`Invalid token specified: missing part #${r+1}`);let n;try{n=ODe(s)}catch(i){throw new Kc(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(n)}catch(i){throw new Kc(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}o(SK,"jwtDecode");var NB=[1e3,3e3],FDe=new Set(["ECONNRESET","ETIMEDOUT","EAI_AGAIN","ECONNREFUSED","EPIPE","ERR_STREAM_PREMATURE_CLOSE"]),Ca=class t{static{o(this,"GitHub")}githubToken;octokit;constructor(e){this.githubToken=e?.token||process.env.GITHUB_TOKEN,this.octokit=QK(`${this.githubToken}`)}repoData(){return this.octokit.rest.repos.get({...wA.repo}).then(e=>e.data)}async releases(e,r){let s;try{s=await this.releasesRaw(e,r)}catch(n){if(!this.githubToken)throw n;s=await this.releasesRaw(e,r,this.githubToken)}return s}async releasesRaw(e,r,s){let n=`https://raw.githubusercontent.com/${r.owner}/${r.repo}/${r.ref}/${r.path}`,i=s?{Authorization:`token ${s}`}:void 0,a;for(let c=0;c<=NB.length;c++)try{let u=await new QB("docker-actions-toolkit").get(n,i),A=await(0,TK.text)(u.message),d=u.message.statusCode||500;if(d>=400){let p=new Error(`Failed to get ${e} releases from ${n} with status code ${d}: ${A}`);throw p.statusCode=d,p}return JSON.parse(A)}catch(l){if(a=l instanceof Error?l:new Error(`${l}`),!t.isRetryableReleaseError(a)||c===NB.length)throw a;N(`${a.message}. Retrying (${c+1}/${NB.length})...`),await new Promise(u=>setTimeout(u,NB[c]))}throw a||new Error(`Failed to get ${e} releases from ${n}`)}static isRetryableReleaseError(e){let r=e.statusCode;if(r)return r===408||r===429||r>=500;let s=e.code,n=e.message.toLowerCase();return s&&FDe.has(s)||n.includes("socket hang up")||n.includes("read econnreset")}static get context(){return wA}static get serverURL(){return process.env.GITHUB_SERVER_URL||"https://github.com"}static get apiURL(){return process.env.GITHUB_API_URL||"https://api.github.com"}static get isGHES(){let r=new URL(t.serverURL).hostname.trimEnd().toUpperCase(),s=r==="GITHUB.COM",n=r.endsWith(".GHE.COM"),i=r.endsWith(".LOCALHOST");return!s&&!n&&!i}static get repository(){return`${wA.repo.owner}/${wA.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:wA.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?SK(e):void 0}static printUntrusted(e){let r=RK.randomUUID();N(`::stop-commands::${r}`);try{N(e)}finally{N(`::${r}::`)}}static async printActionsRuntimeTokenACs(){let e;try{e=t.actionsRuntimeToken}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token: ${r.message}`)}if(!e)throw new Error("ACTIONS_RUNTIME_TOKEN not set");try{JSON.parse(`${e.ac}`).forEach(r=>{let s;switch(r.Permission){case 1:s="read";break;case 2:s="write";break;case 3:s="read/write";break;default:s=`unimplemented (${r.Permission})`}N(`${r.Scope}: ${s}`)})}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${r.message}`)}}};var IZ=w(nh(),1);var UB=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 Ae.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 Ae.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 Ae.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(b(`Regctl.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(b(`Regctl.isAvailable error: ${r}`),!1));return b(`Regctl.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await Ae.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 Ae.exec(this.binPath,["version"],{failOnStdErr:!1})}async versionSatisfies(e,r){let s=r??await this.version();if(!s)return b("Regctl.versionSatisfies false: undefined version"),!1;let n=IZ.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return b(`Regctl.versionSatisfies ${s} statisfies ${e}: ${n}`),n}};var BZ=w(nh(),1);var qB=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(s=>{r.push(`--include=${s}`)}),e.insecure&&r.push("--insecure"),e.rmDist&&r.push("--rm-dist"),e.wrap&&r.push("--wrap"),r.push(e.source,e.dist),await Ae.exec(this.binPath,r,{failOnStdErr:!1})}async isAvailable(){let e=await Ae.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(b(`Undock.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(b(`Undock.isAvailable error: ${r}`),!1));return b(`Undock.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await Ae.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 Ae.exec(this.binPath,["--version"],{failOnStdErr:!1})}async versionSatisfies(e,r){let s=r??await this.version();if(!s)return b("Undock.versionSatisfies false: undefined version"),!1;let n=BZ.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return b(`Undock.versionSatisfies ${s} statisfies ${e}: ${n}`),n}};var V_=w(require("fs"),1);var wZ=o(()=>xZ("docker-setup-win.ps1",YMe),"setupDockerWinPs1"),Y_=o(()=>xZ("docker-service-logs.ps1",JMe),"dockerServiceLogsPs1");var bZ="0.14.0",xZ=o((t,e,r)=>{let s=jr.tmpName({template:`docker-asset-XXXXXX-${t}`,tmpdir:jr.tmpDir()});return V_.default.writeFileSync(s,e),r&&V_.default.chmodSync(s,r),s},"get"),YMe=` [CmdletBinding()] param( [Parameter(Mandatory = $true)] [string]$ToolDir, [Parameter(Mandatory = $true)] [string]$RunDir, [Parameter(Mandatory = $true)] [string]$DockerHostSocket, [Parameter(Mandatory = $false)] [string]$DockerHostTCP, [Parameter(Mandatory = $false)] [string]$DaemonConfig) $pwver = (Get-ItemProperty -Path HKLM:\\SOFTWARE\\Microsoft\\PowerShell\\3\\PowerShellEngine -Name 'PowerShellVersion').PowerShellVersion Write-Host "PowerShell version: $pwver" # Create run directory New-Item -ItemType Directory "$RunDir" -ErrorAction SilentlyContinue | Out-Null # Remove existing service if (Get-Service docker -ErrorAction SilentlyContinue) { $dockerVersion = (docker version -f "{{.Server.Version}}") Write-Host "Current installed Docker version: $dockerVersion" # stop service Stop-Service -Force -Name docker Write-Host "Service stopped" # remove service sc.exe delete "docker" # removes event log entry. we could use "Remove-EventLog -LogName -Source docker" # but this cmd is not available atm $ErrorActionPreference = "SilentlyContinue" & reg delete "HKLM\\SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\docker" /f 2>&1 | Out-Null $ErrorActionPreference = "Stop" Write-Host "Service removed" } $env:Path = "$ToolDir;" + [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") Write-Host "Path: $env:Path" $env:DOCKER_HOST = $DockerHostSocket Write-Host "DOCKER_HOST: $env:DOCKER_HOST" if ($DaemonConfig) { Write-Host "Writing Docker daemon config" New-Item -ItemType Directory -Force -Path "$env:ProgramData\\Docker\\config" $DaemonConfig | Out-File -FilePath "$env:ProgramData\\Docker\\config\\daemon.json" } $arguments = @( "--host=$DockerHostSocket", "--data-root=$RunDir\\\\moby-root", "--exec-root=$RunDir\\\\moby-exec", "--pidfile=$RunDir\\\\docker.pid", "--register-service" ) if ($DockerHostTCP) { $arguments += "--host=$DockerHostTCP" } Write-Host "Creating service" New-Item -ItemType Directory "$RunDir\\moby-root" -ErrorAction SilentlyContinue | Out-Null New-Item -ItemType Directory "$RunDir\\moby-exec" -ErrorAction SilentlyContinue | Out-Null Start-Process -Wait -NoNewWindow "$ToolDir\\dockerd" -ArgumentList $arguments Write-Host "Starting service" Start-Service -Name docker Write-Host "Service started successfully!" $tries=20 Write-Host "Waiting for Docker daemon to start..." While ($true) { $ErrorActionPreference = "SilentlyContinue" & "$ToolDir\\docker" version | Out-Null $ErrorActionPreference = "Stop" If ($LastExitCode -eq 0) { break } $tries-- If ($tries -le 0) { Throw "Failed to get a response from Docker daemon" } Write-Host -NoNewline "." Start-Sleep -Seconds 1 } Write-Host "Docker daemon started successfully!" `,JMe=` Get-WinEvent -ea SilentlyContinue \` -FilterHashtable @{ProviderName= "docker"; LogName = "application"} | Sort-Object @{Expression="TimeCreated";Descending=$false} | ForEach-Object {"$($_.TimeCreated.ToUniversalTime().ToString("o")) [$($_.LevelDisplayName)] $($_.Message)"} `,QZ=` # Source: # - https://github.com/lima-vm/lima/blob/master/templates/docker-rootful.yaml # - https://github.com/lima-vm/lima/blob/master/templates/_images/ubuntu-lts.yaml # - https://github.com/lima-vm/lima/blob/master/templates/_images/ubuntu-24.04.yaml # VM type: "qemu" or "vz" (on macOS 13 and later). # The vmType can be specified only on creating the instance. # The vmType of existing instances cannot be changed. # Builtin default: "qemu" vmType: qemu # OS: "Linux". # Builtin default: "Linux" os: null # Arch: "default", "x86_64", "aarch64". # Builtin default: "default" (corresponds to the host architecture) arch: null images: {{#each customImages}} - location: "{{location}}" arch: "{{arch}}" digest: "{{digest}}" {{/each}} - location: "https://cloud-images.ubuntu.com/releases/noble/release-20260705/ubuntu-24.04-server-cloudimg-amd64.img" arch: "x86_64" digest: "sha256:ffe6203da54deeb6db5d2a98a83f9ec8e55f149d3f7ba622e1abe5fa966ee3d6" kernel: location: "https://cloud-images.ubuntu.com/releases/noble/release-20260705/unpacked/ubuntu-24.04-server-cloudimg-amd64-vmlinuz-generic" digest: "sha256:72526aac4c8c3f63d30fe0741f0c3b1923e700585750cb135815d5c2f831b691" cmdline: "root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyAMA0 no_timer_check" initrd: location: "https://cloud-images.ubuntu.com/releases/noble/release-20260705/unpacked/ubuntu-24.04-server-cloudimg-amd64-initrd-generic" digest: "sha256:edda2af6677cc93c3a8e6056dd3b4e3bf541d4076faa408991598069d9c0854f" - location: "https://cloud-images.ubuntu.com/releases/noble/release-20260705/ubuntu-24.04-server-cloudimg-arm64.img" arch: "aarch64" digest: "sha256:7df0201546f75b8bcc1044594c806c35749421ad3c9bc1be2a3ab806cfae39cc" # Fallback to the latest release image. # Hint: run \`limactl prune\` to invalidate the cache - location: https://cloud-images.ubuntu.com/releases/noble/release/ubuntu-24.04-server-cloudimg-amd64.img arch: "x86_64" - location: https://cloud-images.ubuntu.com/releases/noble/release/ubuntu-24.04-server-cloudimg-arm64.img arch: "aarch64" # CPUs # Builtin default: min(4, host CPU cores) cpus: null # Memory size # Builtin default: min("4GiB", half of host memory) memory: null # Disk size # Builtin default: "100GiB" disk: 60GiB # Expose host directories to the guest, the mount point might be accessible from all UIDs in the guest # Builtin default: null (Mount nothing) # This file: Mount the home as read-only, /tmp/lima as writable mounts: - location: "~" - location: "/tmp/lima" writable: true # Mount type for above mounts, such as "reverse-sshfs" (from sshocker), "9p" (EXPERIMENTAL, from QEMU\u2019s virtio-9p-pci, aka virtfs), # or "virtiofs" (EXPERIMENTAL, needs \`vmType: vz\`) # Builtin default: "reverse-sshfs" (for QEMU), "virtiofs" (for vz) mountType: null containerd: system: false user: false provision: - mode: system # This script defines the host.docker.internal hostname when hostResolver is disabled. # It is also needed for lima 0.8.2 and earlier, which does not support hostResolver.hosts. # Names defined in /etc/hosts inside the VM are not resolved inside containers when # using the hostResolver; use hostResolver.hosts instead (requires lima 0.8.3 or later). script: | #!/bin/sh sed -i 's/host.lima.internal.*/host.lima.internal host.docker.internal/' /etc/hosts - mode: system script: | #!/bin/sh apt-get install -f -y iptables - mode: system script: | #!/bin/bash set -eux -o pipefail archiveInstallLog=/var/log/docker-actions-toolkit-archive-install.log command -v docker >/dev/null 2>&1 && exit 0 if [ ! -e /etc/systemd/system/docker.socket.d/override.conf ]; then mkdir -p /etc/systemd/system/docker.socket.d # Alternatively we could just add the user to the "docker" group, but that requires restarting the user session cat <<-EOF >/etc/systemd/system/docker.socket.d/override.conf [Socket] SocketUser=\${LIMA_CIDATA_USER} EOF fi if [ ! -e /etc/docker/daemon.json ]; then mkdir -p /etc/docker cat <<-EOF >/etc/docker/daemon.json {{stringify daemonConfig}} EOF fi export DEBIAN_FRONTEND=noninteractive if [ "{{srcType}}" == "archive" ]; then { getDockerScript=$(mktemp) curl --retry 3 --retry-all-errors --retry-delay 5 -fsSL -o "$getDockerScript" https://get.docker.com attempt=1 max_attempts=3 until [ "$attempt" -gt "$max_attempts" ]; do echo "Docker install attempt $attempt/$max_attempts" if sh "$getDockerScript" --channel {{srcArchiveChannel}} --version {{srcArchiveVersion}}; then break fi if [ "$attempt" -eq "$max_attempts" ]; then echo >&2 "Docker install failed after $max_attempts attempts" exit 1 fi echo >&2 "Docker install attempt $attempt failed, retrying after $((attempt * 30))s" rm -rf /var/lib/apt/lists/partial/* || true apt-get clean || true sleep $((attempt * 30)) attempt=$((attempt + 1)) done sed -i 's|^ExecStart=.*|ExecStart=/usr/bin/dockerd -H fd://{{#if localTCPPort}} -H tcp://0.0.0.0:2375{{/if}} --containerd=/run/containerd/containerd.sock|' /usr/lib/systemd/system/docker.service systemctl daemon-reload systemctl restart docker systemctl status docker.socket || true systemctl status docker.service || true } 2>&1 | tee "$archiveInstallLog" elif [ "{{srcType}}" == "image" ]; then arch=$(uname -m) case $arch in x86_64) arch=amd64;; aarch64) arch=arm64;; esac url="https://github.com/crazy-max/undock/releases/download/v{{undockVersion}}/undock_{{undockVersion}}_linux_$arch.tar.gz" wget "$url" -O /tmp/undock.tar.gz tar -C /usr/local/bin -xvf /tmp/undock.tar.gz undock --version HOME=/tmp undock moby/moby-bin:{{srcImageTag}} /usr/local/bin wget https://raw.githubusercontent.com/moby/moby/{{gitCommit}}/contrib/init/systemd/docker.service -O /etc/systemd/system/docker.service wget https://raw.githubusercontent.com/moby/moby/{{gitCommit}}/contrib/init/systemd/docker.socket -O /etc/systemd/system/docker.socket sed -i 's|^ExecStart=.*|ExecStart=/usr/local/bin/dockerd -H fd://{{#if localTCPPort}} -H tcp://0.0.0.0:2375{{/if}}|' /etc/systemd/system/docker.service sed -i 's|containerd.service||' /etc/systemd/system/docker.service if ! getent group docker; then groupadd --system docker fi systemctl daemon-reload fail=0 if ! systemctl enable --now docker; then fail=1 fi systemctl status docker.socket || true systemctl status docker.service || true exit $fail fi probes: - script: | #!/bin/bash set -eux -o pipefail # Don't check for docker CLI as it's not installed in the VM (only on the host) if ! timeout 60s bash -c "until pgrep dockerd; do sleep 3; done"; then echo >&2 "dockerd is not running" exit 1 fi hint: See "/var/log/cloud-init-output.log". in the guest hostResolver: # Don't use local system resolver enabled: false # hostResolver.hosts requires lima 0.8.3 or later. Names defined here will also # resolve inside containers, and not just inside the VM itself. hosts: host.docker.internal: host.lima.internal # Use custom DNS servers instead of the host's DNS settings dns: - 1.1.1.1 - 1.0.0.1 portForwards: - guestSocket: "/var/run/docker.sock" hostSocket: "{{dockerSock}}" {{#if localTCPPort}} - guestPort: 2375 hostPort: {{localTCPPort}} {{/if}} audio: # EXPERIMENTAL # QEMU audiodev, e.g., "none", "coreaudio", "pa", "alsa", "oss". # VZ driver, use "vz" as device name # Choosing "none" will mute the audio output, and not play any sound. # Builtin default: "" device: none `;var ih=class t{static{o(this,"Install")}runDir;source;contextName;daemonConfig;rootless;localTCPPort;regctl;undock;githubToken;_version;_toolDir;gitCommit;limaInstanceName="docker-actions-toolkit";constructor(e){this.runDir=e.runDir,this.source=e.source||{type:"archive",version:"latest",channel:"stable"},this.contextName=e.contextName||"setup-docker-action",this.daemonConfig=e.daemonConfig,this.rootless=e.rootless||!1,this.localTCPPort=e.localTCPPort,this.regctl=e.regctl||new UB,this.undock=e.undock||new qB,this.githubToken=e.githubToken||process.env.GITHUB_TOKEN}get toolDir(){return this._toolDir||jr.tmpDir()}async download(){let e,r,s=Kr.default.platform();switch(this.source.type){case"image":{this._version=this.source.tag,r="docker-image",e=await this.downloadSourceImage(s);break}case"archive":{let i=this.source.version;if(r=`docker-archive-${this.source.channel}`,this._version=i,N(`Downloading Docker ${i} from ${this.source.channel} at download.docker.com`),e=await this.downloadSourceArchive("docker",this.source),this.rootless){N(`Downloading Docker rootless extras ${i} from ${this.source.channel} at download.docker.com`);let c=await this.downloadSourceArchive("docker-rootless-extras",this.source);Wt.default.readdirSync(c).forEach(l=>{let u=Tt.default.join(c,l),A=Tt.default.join(e,l);Wt.default.copyFileSync(u,A)})}break}}N("Fixing perms"),Wt.default.readdir(Tt.default.join(e),function(i,a){if(i)throw i;a.forEach(function(c,l){Nr.isDirectory(Tt.default.join(e,c))||Wt.default.chmodSync(Tt.default.join(e,c),"0755")})});let n=await kg(e,r,this._version.replace(/(0+)([1-9]+)/,"$2"));return Zl(n),N("Added Docker to PATH"),this._toolDir=n,n}async downloadSourceImage(e){let r=Tt.default.join(jr.tmpDir(),"docker-install-image"),s=`dockereng/cli-bin:${this._version}`,n=`moby/moby-bin:${this._version}`;if(N(`Downloading Docker CLI from ${s}`),await this.undock.run({source:s,dist:r}),["win32","linux"].includes(e))N(`Downloading Docker engine from ${n}`),await this.undock.run({source:n,dist:r});else if(e=="darwin"){try{let i=await this.imageConfig(n,"linux/arm64");if(b(`docker.Install.downloadSourceImage engineImageConfig: ${JSON.stringify(i)}`),this.gitCommit=i.config?.Labels?.["org.opencontainers.image.revision"],!this.gitCommit)throw new Error("No git revision can be determined from the image")}catch(i){Xe(i),this.gitCommit="master"}b(`docker.Install.downloadSourceImage gitCommit: ${this.gitCommit}`)}else Xe(`Docker engine not supported on ${e}, only the Docker cli will be available`);return r}async downloadSourceArchive(e,r){let s=await t.getRelease(r.version,this.githubToken);this._version=s.tag_name.replace(/^(docker-)?v+/,""),b(`docker.Install.downloadSourceArchive version: ${this._version}`);let n=this.downloadURL(e,this._version,r.channel);N(`Downloading ${n}`);let i=await rc(n);b(`docker.Install.downloadSourceArchive downloadPath: ${i}`);let a;return Kr.default.platform()=="win32"?a=await Pg(i,a):a=await vg(i,a),Nr.isDirectory(Tt.default.join(a,e))&&(a=Tt.default.join(a,e)),b(`docker.Install.downloadSourceArchive extractFolder: ${a}`),a}async install(){if(!this.toolDir)throw new Error("toolDir must be set. Run download first.");if(!this.runDir)throw new Error("runDir must be set");let e=Kr.default.platform();if(this.rootless&&e!="linux")throw new Error("rootless is only supported on linux");switch(e){case"darwin":return await this.installDarwin();case"linux":return await this.installLinux();case"win32":return await this.installWindows();default:throw new Error(`Unsupported platform: ${Kr.default.platform()}`)}}async installDarwin(){if(this.source.type=="image"&&!this.gitCommit)throw new Error("gitCommit must be set. Run download first.");let e=this.source,r=Tt.default.join(Kr.default.homedir(),".lima",this.limaInstanceName);await vs(r);let s=`unix://${r}/docker.sock`;if(await t.limaInstalled()||await this.brewInstall("lima"),await me("Lima version",async()=>{await Ae.exec("lima",["--version"])}),await me("Creating lima config",async()=>{let i={};this.daemonConfig&&(i=JSON.parse(this.daemonConfig)),GB.default.registerHelper("stringify",function(l){return new GB.default.SafeString(JSON.stringify(l))});let a=e,c=GB.default.compile(QZ)({customImages:t.limaCustomImages(),daemonConfig:i,dockerSock:`${r}/docker.sock`,localTCPPort:this.localTCPPort,gitCommit:this.gitCommit,srcType:e.type,srcArchiveVersion:this._version,srcArchiveChannel:a.channel,srcImageTag:e.tag,undockVersion:bZ});N(`Writing lima config to ${Tt.default.join(r,"lima.yaml")}`),Wt.default.writeFileSync(Tt.default.join(r,"lima.yaml"),c),N(c)}),t.limaNeedsQemu()){await t.qemuInstalled()||await this.brewInstall("qemu");let i=await t.qemuBin();await me("QEMU version",async()=>{await Ae.exec(i,["--version"])})}let n=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`});return await me("Starting lima instance",async()=>{let i=["start",`--name=${this.limaInstanceName}`,`--timeout=${process.env.LIMA_START_TIMEOUT??"15m"}`];process.env.LIMA_START_ARGS&&i.push(process.env.LIMA_START_ARGS);try{await Ae.exec(`limactl ${i.join(" ")}`,[],{env:n})}catch(a){throw await this.printDarwinDiagnostics(),SZ.default.readdir(r).then(c=>{c.filter(l=>Tt.default.extname(l)===".log").forEach(l=>{let u=Tt.default.join(r,l),A=Wt.default.readFileSync(u,{encoding:"utf8"}).trim();A.length>0&&N(`### ${u}: ${A}`)})}).catch(()=>{}),a}}),await me("Create Docker context",async()=>{await Ar.exec(["context","create",this.contextName,"--docker",`host=${s}`]),await Ar.exec(["context","use",this.contextName])}),s}async installLinux(){let e=`unix://${Tt.default.join(this.runDir,"docker.sock")}`;await vs(this.runDir);let r=Tt.default.join(this.runDir,"daemon.json");await Wt.default.writeFileSync(r,"{}");let s,n="/etc/docker/daemon.json";if(Wt.default.existsSync(n)&&(await me("Default Docker daemon config found",async()=>{N(JSON.stringify(JSON.parse(Wt.default.readFileSync(n,{encoding:"utf8"})),null,2))}),s=JSON.parse(Wt.default.readFileSync(n,{encoding:"utf8"}))),this.daemonConfig&&(s=Object.assign(s||{},JSON.parse(this.daemonConfig))),s){let a=JSON.stringify(s,null,2);await me("Writing Docker daemon config",async()=>{Wt.default.writeFileSync(r,a),N(a)})}let i=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`,XDG_RUNTIME_DIR:this.rootless&&this.runDir||void 0});return await me("Start Docker daemon",async()=>{let a=await rt("bash",!0),c=`${this.toolDir}/dockerd`;this.rootless&&(c=`${this.toolDir}/dockerd-rootless.sh`,process.env.RUNNER_ENVIRONMENT==="github-hosted"&&Wt.default.existsSync("/proc/sys/kernel/apparmor_restrict_unprivileged_userns")&&await rt("sudo",!1)&&await Ae.exec("sudo",["-n","sh","-c","echo 0 > /proc/sys/kernel/apparmor_restrict_unprivileged_userns"],{ignoreReturnCode:!0}));let l=`${c} --host="${e}" --config-file="${r}" --exec-root="${this.runDir}/execroot" --data-root="${this.runDir}/data" --pidfile="${this.runDir}/docker.pid"`;this.localTCPPort&&(l+=` --host="tcp://127.0.0.1:${this.localTCPPort}"`),N(`[command] ${l}`);let u=this.rootless?"":"sudo ";(await NZ.spawn(`${u}env "PATH=$PATH" "XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR" ${a} << EOF ( ${l} 2>&1 | tee "${this.runDir}/dockerd.log" ) & EOF`,[],{env:i,detached:!0,shell:!0,stdio:["ignore",process.stdout,process.stderr]})).unref(),await Nr.sleep(3);let d=10;await(0,TZ.default)(async p=>{try{await Ae.getExecOutput("docker version",void 0,{silent:!0,env:Object.assign({},i,{DOCKER_HOST:e,DOCKER_CONTENT_TRUST:"false"})})}catch(m){p(m)}},{retries:d,minTimeout:1e3,onRetry:o((p,m)=>{N(`${p}. Retrying (${m}/${d})...`)},"onRetry")}),N("Docker daemon started started successfully")}),await me("Create Docker context",async()=>{await Ar.exec(["context","create",this.contextName,"--docker",`host=${e}`]),await Ar.exec(["context","use",this.contextName])}),e}async installWindows(){let e="npipe:////./pipe/setup_docker_action",r,s=Tt.default.join(this.runDir,"daemon.json");Wt.default.existsSync(s)&&(await me("Default Docker daemon config found",async()=>{N(JSON.stringify(JSON.parse(Wt.default.readFileSync(s,{encoding:"utf8"})),null,2))}),r=JSON.parse(Wt.default.readFileSync(s,{encoding:"utf8"}))),this.daemonConfig&&(r=Object.assign(r||{},JSON.parse(this.daemonConfig)));let n="{}";r&&(n=JSON.stringify(r,null,2),await me("Docker daemon config",async()=>{N(n)}));let i={ToolDir:this.toolDir,RunDir:this.runDir,DockerHostSocket:e,DaemonConfig:n};return this.localTCPPort&&(i.DockerHostTCP=`tcp://127.0.0.1:${this.localTCPPort}`),await me("Install Docker daemon service",async()=>{let a=await Nr.powershellCommand(wZ(),i);await Ae.exec(a.command,a.args);let c=await Nr.powershellCommand(Y_());await Ae.exec(c.command,c.args)}),await me("Create Docker context",async()=>{await Ar.exec(["context","create",this.contextName,"--docker",`host=${e}`]),await Ar.exec(["context","use",this.contextName])}),e}async tearDown(){if(!this.runDir)throw new Error("runDir must be set");switch(Kr.default.platform()){case"darwin":{await this.tearDownDarwin();break}case"linux":{await this.tearDownLinux();break}case"win32":{await this.tearDownWindows();break}default:throw new Error(`Unsupported platform: ${Kr.default.platform()}`)}await me("Cleaning up toolDir",async()=>{this._toolDir&&Wt.default.rmSync(this._toolDir,{recursive:!0,force:!0})})}async tearDownDarwin(){await this.printDarwinDiagnostics(),await me("Stopping lima instance",async()=>{await Ae.exec("limactl",["stop","--tty=false",this.limaInstanceName,"--force"])}),await me("Removing lima instance",async()=>{await Ae.exec("limactl",["delete","--tty=false",this.limaInstanceName,"--force"])}),await me("Removing Docker context",async()=>{await Ar.exec(["context","rm","-f",this.contextName])}),await me("Cleaning up runDir",async()=>{await Ae.exec("sudo",["rm","-rf",this.runDir])})}async printDarwinDiagnostics(){await this.printDarwinGuestCommandOutput("Cloud-init output log",["sudo","cat","/var/log/cloud-init-output.log"]),await this.printDarwinGuestCommandOutput("Cloud-init status",["sudo","timeout","300s","cloud-init","status","--wait"]),await this.printDarwinGuestCommandOutput("Docker unit file",["sudo","systemctl","cat","docker.service"]),await this.printDarwinGuestCommandOutput("Docker service status",["sudo","systemctl","status","docker.service","docker.socket","-l","--no-pager"]),await this.printDarwinGuestCommandOutput("Archive install script log",["sudo","cat","/var/log/docker-actions-toolkit-archive-install.log"]),await this.printDarwinGuestCommandOutput("Docker daemon logs",["sudo","journalctl","-u","docker.service","-l","--no-pager"])}async printDarwinGuestCommandOutput(e,r){await me(e,async()=>{let s=await Ae.getExecOutput("limactl",["shell","--tty=false",this.limaInstanceName,...r],{ignoreReturnCode:!0,silent:!0}).catch(i=>{N(`Failed to get ${e}: ${i}`)});if(!s)return;let n=[s.stdout.trim(),s.stderr.trim()].filter(Boolean).join(` `);n.length>0?N(n):s.exitCode!==0&&N(`${e} exited with code ${s.exitCode}`)})}async tearDownLinux(){await me("Docker daemon logs",async()=>{let e=[Tt.default.join(this.runDir,"dockerd.log")];await Ae.exec(this.rootless?"cat":"sudo",this.rootless?e:["cat",...e],{ignoreReturnCode:!0})}),await me("Stopping Docker daemon",async()=>{let e=["-s","SIGTERM",Wt.default.readFileSync(Tt.default.join(this.runDir,"docker.pid")).toString().trim()];await Ae.exec(this.rootless?"kill":"sudo",this.rootless?e:["kill",...e]),await Nr.sleep(5)}),await me("Removing Docker context",async()=>{await Ar.exec(["context","rm","-f",this.contextName])}),await me("Cleaning up runDir",async()=>{await Ae.exec(this.rootless?"rootlesskit":"sudo",["rm","-rf",this.runDir],{ignoreReturnCode:!0,failOnStdErr:!1})})}async tearDownWindows(){await me("Docker daemon logs",async()=>{let e=await Nr.powershellCommand(Y_());await Ae.exec(e.command,e.args)}),await me("Removing Docker context",async()=>{await Ar.exec(["context","rm","-f",this.contextName])}),await me("Stopping Docker daemon service",async()=>{await Ae.exec("powershell",["-Command","Stop-Service -Name docker -Force"])})}downloadURL(e,r,s){let n=t.platformOS(),i=t.platformArch();return`https://download.docker.com/${n}/static/${s}/${i}/${e}-${r}${n==="win"?".zip":".tgz"}`}static platformOS(){switch(Kr.default.platform()){case"darwin":return"mac";case"linux":return"linux";case"win32":return"win";default:return Kr.default.platform()}}static platformArch(){switch(Kr.default.arch()){case"x64":return"x86_64";case"ppc64":return"ppc64le";case"arm64":return"aarch64";case"arm":{let e=process.config.variables.arm_version;switch(e){case 6:return"armel";case 7:return"armhf";default:return`v${e}`}}default:return Kr.default.arch()}}static async limaInstalled(){return await rt("lima",!0).then(e=>(b(`docker.Install.limaInstalled ok: ${e}`),!0)).catch(e=>(b(`docker.Install.limaInstalled error: ${e}`),!1))}static async qemuBin(){switch(Kr.default.arch()){case"x64":return"qemu-system-x86_64";case"arm64":return"qemu-system-aarch64";default:return`qemu-system-${Kr.default.arch()}`}}static async qemuInstalled(){return await rt(await t.qemuBin(),!0).then(e=>(b(`docker.Install.qemuInstalled ok: ${e}`),!0)).catch(e=>(b(`docker.Install.qemuInstalled error: ${e}`),!1))}static async getRelease(e,r){let n=await new Ca({token:r}).releases("Docker",{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/docker-releases.json"});if(!n[e]){if(!n["v"+e])throw new Error(`Cannot find Docker release ${e} in releases JSON`);return n["v"+e]}return n[e]}static limaNeedsQemu(){let e=(process.env.LIMA_START_ARGS||"").match(/(?:[^\s"]|"[^"]*")+/g)||[],{values:r}=(0,RZ.parseArgs)({args:e.map(s=>s.replace(/"/g,"")),options:{"vm-type":{type:"string"},set:{type:"string"}},strict:!1,allowPositionals:!0});return r.set!==void 0||r["vm-type"]!=="vz"}static limaCustomImages(){let e=[],r=process.env.LIMA_IMAGES;if(!r)return e;for(let s of Nr.getList(r,{ignoreComma:!0,comment:"#"})){let n=s.indexOf(":"),i=s.substring(0,n).trim(),a=s.indexOf("@"),c=s.substring(n+1,a!==-1?a:void 0).trim(),l=a!==-1?s.substring(a+1).trim():"";e.push({location:c,arch:i,digest:l})}return e}async imageConfig(e,r){let n=(await this.regctl.manifestGet({image:e,platform:r}))?.config?.digest;if(!n)throw new Error(`No config digest found for image ${e}`);let i=await this.regctl.blobGet({repository:e,digest:n});return JSON.parse(i)}async brewInstall(e,r){let s=Object.assign({},process.env,{HOMEBREW_NO_AUTO_UPDATE:"1",HOMEBREW_NO_INSTALL_UPGRADE:"1",HOMEBREW_NO_INSTALL_CLEANUP:"1"});await me(`Installing ${e}`,async()=>{if(!r)await Ae.exec("brew",["install",e]);else{let n="docker-actions-toolkit/tap";await Ae.getExecOutput("brew",["tap"],{ignoreReturnCode:!0,silent:!0,env:s}).then(u=>{if(u.stderr.length>0&&u.exitCode!=0)throw new Error(u.stderr);for(let A of u.stdout.trim().split(` `))if(A.includes(n))return!0;return!1})||await Ae.exec("brew",["tap-new",n],{env:s});let a=await Ae.getExecOutput("brew",["--repo",n],{ignoreReturnCode:!0,silent:!0,env:s}).then(u=>{if(u.stderr.length>0&&u.exitCode!=0)throw new Error(u.stderr);return u.stdout.trim()}),c=`https://raw.githubusercontent.com/Homebrew/homebrew-core/${r}/Formula/${e.charAt(0)}/${e}.rb`;await rc(c,Tt.default.join(a,"Formula",`${e}.rb`)),await Ae.getExecOutput("brew",["ls","-1"],{ignoreReturnCode:!0,silent:!0,env:s}).then(u=>{if(u.stderr.length>0&&u.exitCode!=0)throw new Error(u.stderr);for(let A of u.stdout.trim().split(` `))if(A.trim()==e)return!0;return!1})&&await Ae.exec("brew",["uninstall",e,"--ignore-dependencies"],{env:s}),await Ae.exec("brew",["install",`${n}/${e}`],{env:s})}})}};var oh=w(require("fs"),1),wo=w(require("os"),1),HB=w(require("path"),1);var $B=w(nh(),1),J_=w(require("util"),1);var zB=class t{static{o(this,"Install")}githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let s=await t.getDownloadVersion(e);b(`Install.download version: ${s.version}`);let n=await t.getRelease(s,this.githubToken);b(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);b(`Install.download vspec: ${i}`);let a=$B.clean(i)||"";if(!$B.valid(a))throw new Error(`Invalid regclient version "${i}".`);let c=new Ti({htcName:"regctl-dl-bin",htcVersion:i,baseCacheDir:HB.default.join(wo.default.homedir(),".bin"),cacheFile:wo.default.platform()=="win32"?"regctl.exe":"regctl",ghaNoCache:r}),l=await c.find();if(l)return N(`regctl binary found in ${l}`),l;let u=J_.format(s.downloadURL,i,this.filename());N(`Downloading ${u}`);let A=await rc(u,void 0,this.githubToken);b(`Install.download htcDownloadPath: ${A}`);let d=await c.save(A);return N(`Cached to ${d}`),d}async install(e,r){r=r||jr.tmpDir();let s=HB.default.join(r,"regctl-bin");oh.default.existsSync(s)||oh.default.mkdirSync(s,{recursive:!0});let n=wo.default.platform()=="win32"?"regctl.exe":"regctl",i=HB.default.join(s,n);return oh.default.copyFileSync(e,i),N("Fixing perms"),oh.default.chmodSync(i,"0755"),Zl(s),N("Added regctl to PATH"),N(`Binary path: ${i}`),i}filename(){let e;switch(wo.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}case"arm":{let n=process.config.variables.arm_version;e=n?"armv"+n:"arm";break}default:{e=wo.default.arch();break}}let r=wo.default.platform()=="win32"?"windows":wo.default.platform(),s=wo.default.platform()=="win32"?".exe":"";return J_.format("regctl-%s-%s%s",r,e,s)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return N(`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 n=await new Ca({token:r}).releases("regclient",e.contentOpts);if(!n[e.version])throw new Error(`Cannot find regclient release ${e.version} in releases JSON`);return n[e.version]}};var ah=w(require("fs"),1),Pn=w(require("os"),1),ch=w(require("path"),1);var YB=w(nh(),1),W_=w(require("util"),1);var VB=class t{static{o(this,"Install")}githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let s=await t.getDownloadVersion(e);b(`Install.download version: ${s.version}`);let n=await t.getRelease(s,this.githubToken);b(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);b(`Install.download vspec: ${i}`);let a=YB.clean(i)||"";if(!YB.valid(a))throw new Error(`Invalid Undock version "${i}".`);let c=new Ti({htcName:"undock-dl-bin",htcVersion:i,baseCacheDir:ch.default.join(Pn.default.homedir(),".bin"),cacheFile:Pn.default.platform()=="win32"?"undock.exe":"undock",ghaNoCache:r}),l=await c.find();if(l)return N(`Undock binary found in ${l}`),l;let u=W_.format(s.downloadURL,i,this.filename(i));N(`Downloading ${u}`);let A=await rc(u,void 0,this.githubToken);b(`Install.download htcDownloadPath: ${A}`);let d;Pn.default.platform()=="win32"?d=await Pg(A):d=await vg(A),N(`Extracted to ${d}`);let p=ch.default.join(d,Pn.default.platform()=="win32"?"undock.exe":"undock");b(`Install.download exePath: ${p}`);let m=await c.save(p);return N(`Cached to ${m}`),m}async install(e,r){r=r||jr.tmpDir();let s=ch.default.join(r,"undock-bin");ah.default.existsSync(s)||ah.default.mkdirSync(s,{recursive:!0});let n=Pn.default.platform()=="win32"?"undock.exe":"undock",i=ch.default.join(s,n);return ah.default.copyFileSync(e,i),N("Fixing perms"),ah.default.chmodSync(i,"0755"),Zl(s),N("Added Undock to PATH"),N(`Binary path: ${i}`),i}filename(e){let r;switch(Pn.default.arch()){case"x64":{r="amd64";break}case"ppc64":{r="ppc64le";break}case"arm":{let i=process.config.variables.arm_version;r=i?"armv"+i:"arm";break}default:{r=Pn.default.arch();break}}let s=Pn.default.platform()=="win32"?"windows":Pn.default.platform(),n=Pn.default.platform()=="win32"?".zip":".tar.gz";return W_.format("undock_%s_%s_%s%s",e,s,r,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return N(`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 n=await new Ca({token:r}).releases("Undock",e.contentOpts);if(!n[e.version])throw new Error(`Cannot find Undock release ${e.version} in releases JSON`);return n[e.version]}};var vZ=w(require("os"),1),PZ=w(require("path"),1);function kZ(){let t=gn("version")||"latest",e=WMe(t),r=gn("channel");return r&&e.type==="archive"&&(e.channel=r),{source:e,daemonConfig:gn("daemon-config"),tcpPort:Nr.getInputNumber("tcp-port"),context:gn("context"),setHost:Ld("set-host"),rootless:Ld("rootless"),runtimeBasedir:gn("runtime-basedir")||PZ.default.join(vZ.default.homedir(),"setup-docker-action"),githubToken:gn("github-token")}}o(kZ,"getInputs");function WMe(t){let[e,r,s,n]=["archive","latest","stable","latest"],i=dB(t,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let c of i){let l=c.toString().split(/(?<=^[^=]+?)=/).map(u=>u.trim());switch(l[0]){case"type":e=l[1];break;case"version":r=l[1];break;case"channel":s=l[1];break;case"tag":n=l[1];break;default:if(i.length===1){r=l[0];break}throw new Error(`Invalid field: ${l[0]}`)}}if(!e)throw new Error(`Invalid type: ${e}`);if(!s)throw new Error(`Invalid channel: ${s}`);if(!r)throw new Error(`Invalid version: ${r}`);if(!n)throw new Error(`Invalid tag: ${n}`);let a;switch(e){case"archive":a={type:"archive",version:r,channel:s};break;case"image":a={type:"image",tag:n};break;default:throw new Error(`Invalid version: ${t}`)}return a}o(WMe,"parseSource");var j_=process.env.STATE_rundir||"";function DZ(t){tu("rundir",t)}o(DZ,"setRunDir");var XMe="v0.11.6",ZMe="v0.14.0";aj(async()=>{let t=kZ(),e=LZ.default.join(t.runtimeBasedir,`run-${_Z.randomUUID().slice(0,8)}`);if(t.context=="default")throw new Error("'default' context cannot be used.");t.source.type==="image"&&(await me("Download and install regctl",async()=>{let a=new zB({githubToken:t.githubToken}),c=await a.download(process.env.REGCTL_VERSION&&process.env.REGCTL_VERSION.trim()?process.env.REGCTL_VERSION:XMe,!0);await a.install(c)}),await me("Download and install undock",async()=>{let a=new VB({githubToken:t.githubToken}),c=await a.download(process.env.UNDOCK_VERSION&&process.env.UNDOCK_VERSION.trim()?process.env.UNDOCK_VERSION:ZMe,!0);await a.install(c)}));let r,s;t.tcpPort&&(r=t.tcpPort,s=`tcp://127.0.0.1:${r}`);let n=new ih({runDir:e,source:t.source,rootless:t.rootless,contextName:t.context||"setup-docker-action",daemonConfig:t.daemonConfig,localTCPPort:r,githubToken:t.githubToken}),i;if((!await Ar.isAvailable()||t.source)&&await me("Download docker",async()=>{i=await n.download()}),i){DZ(e);let a=await n.install();await me("Setting outputs",async()=>{N(`sock=${a}`),UQ("sock",a),s&&(N(`tcp=${s}`),UQ("tcp",s))}),t.setHost&&await me("Setting Docker host",async()=>{XG("DOCKER_HOST",a),N(`DOCKER_HOST=${a}`)})}await me("Docker info",async()=>{await Ar.printVersion(),await Ar.printInfo()})},async()=>{if(j_.length==0)return;await new ih({runDir:j_,rootless:Ld("rootless")}).tearDown()}); /*! Bundled license information: undici/lib/web/fetch/body.js: (*! formdata-polyfill. MIT License. Jimmy Wärting *) undici/lib/web/websocket/frame.js: (*! ws. MIT License. Einar Otto Stangvik *) tmp/lib/tmp.js: (*! * Tmp * * Copyright (c) 2011-2017 KARASZI Istvan * * MIT Licensed *) @octokit/request-error/dist-src/index.js: (* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist *) @octokit/request/dist-bundle/index.js: (* v8 ignore next -- @preserve *) (* v8 ignore else -- @preserve *) */ //# sourceMappingURL=index.cjs.map