var vZ=Object.create;var oh=Object.defineProperty;var PZ=Object.getOwnPropertyDescriptor;var kZ=Object.getOwnPropertyNames;var DZ=Object.getPrototypeOf,_Z=Object.prototype.hasOwnProperty;var o=(t,e)=>oh(t,"name",{value:e,configurable:!0});var f=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),LZ=(t,e)=>{for(var r in e)oh(t,r,{get:e[r],enumerable:!0})},MZ=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of kZ(e))!_Z.call(t,n)&&n!==r&&oh(t,n,{get:()=>e[n],enumerable:!(s=PZ(e,n))||s.enumerable});return t};var w=(t,e,r)=>(r=t!=null?vZ(DZ(t)):{},MZ(e||!t||!t.__esModule?oh(r,"default",{value:t,enumerable:!0}):r,t));var eL=f(Jc=>{"use strict";var uMe=require("net"),HZ=require("tls"),WB=require("http"),K_=require("https"),zZ=require("events"),AMe=require("assert"),$Z=require("util");Jc.httpOverHttp=VZ;Jc.httpsOverHttp=YZ;Jc.httpOverHttps=JZ;Jc.httpsOverHttps=WZ;function VZ(t){var e=new _i(t);return e.request=WB.request,e}o(VZ,"httpOverHttp");function YZ(t){var e=new _i(t);return e.request=WB.request,e.createSocket=X_,e.defaultPort=443,e}o(YZ,"httpsOverHttp");function JZ(t){var e=new _i(t);return e.request=K_.request,e}o(JZ,"httpOverHttps");function WZ(t){var e=new _i(t);return e.request=K_.request,e.createSocket=X_,e.defaultPort=443,e}o(WZ,"httpsOverHttps");function _i(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||WB.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(s,n,i,a){for(var c=Z_(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");_i.prototype.createSocket=o(function(e,r){var s=this,n={};s.sockets.push(n);var i=jB({},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")),Qo("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){Qo("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){Qo("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 Qo("tunneling connection has established"),s.sockets[s.sockets.indexOf(n)]=p,r(p)}o(u,"onConnect");function A(d){a.removeAllListeners(),Qo(`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");_i.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 X_(t,e){var r=this;_i.prototype.createSocket.call(r,t,function(s){var n=t.request.getHeader("host"),i=jB({},r.options,{socket:s,servername:n?n.replace(/:.*$/,""):t.host}),a=HZ.connect(0,i);r.sockets[r.sockets.indexOf(s)]=a,e(a)})}o(X_,"createSecureSocket");function Z_(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(Z_,"toOptions");function jB(t){for(var e=1,r=arguments.length;e{tL.exports=eL()});var Ye=f((hMe,rL)=>{rL.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 Qe=f((fMe,NL)=>{"use strict";var sL=Symbol.for("undici.error.UND_ERR"),Je=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[sL]===!0}[sL]=!0},nL=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),KB=class extends Je{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[nL]===!0}[nL]=!0},iL=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),XB=class extends Je{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[iL]===!0}[iL]=!0},oL=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),ZB=class extends Je{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[oL]===!0}[oL]=!0},aL=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),ew=class extends Je{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},cL=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),tw=class extends Je{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[cL]===!0}[cL]=!0},lL=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),rw=class extends Je{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[lL]===!0}[lL]=!0},uL=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),sw=class extends Je{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[uL]===!0}[uL]=!0},AL=Symbol.for("undici.error.UND_ERR_ABORT"),Ah=class extends Je{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[AL]===!0}[AL]=!0},dL=Symbol.for("undici.error.UND_ERR_ABORTED"),nw=class extends Ah{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[dL]===!0}[dL]=!0},pL=Symbol.for("undici.error.UND_ERR_INFO"),iw=class extends Je{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[pL]===!0}[pL]=!0},mL=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),ow=class extends Je{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[mL]===!0}[mL]=!0},hL=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),aw=class extends Je{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[hL]===!0}[hL]=!0},fL=Symbol.for("undici.error.UND_ERR_DESTROYED"),cw=class extends Je{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[fL]===!0}[fL]=!0},gL=Symbol.for("undici.error.UND_ERR_CLOSED"),lw=class extends Je{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[gL]===!0}[gL]=!0},EL=Symbol.for("undici.error.UND_ERR_SOCKET"),uw=class extends Je{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[EL]===!0}[EL]=!0},yL=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),Aw=class extends Je{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[yL]===!0}[yL]=!0},CL=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),dw=class extends Je{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[CL]===!0}[CL]=!0},IL=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),pw=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[IL]===!0}[IL]=!0},BL=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),mw=class extends Je{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[BL]===!0}[BL]=!0},wL=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),hw=class extends Je{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[wL]===!0}[wL]=!0},bL=Symbol.for("undici.error.UND_ERR_RESPONSE"),fw=class extends Je{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[bL]===!0}[bL]=!0},QL=Symbol.for("undici.error.UND_ERR_PRX_TLS"),gw=class extends Je{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[QL]===!0}[QL]=!0},xL=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),Ew=class extends Je{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[xL]===!0}get[xL](){return!0}};NL.exports={AbortError:Ah,HTTPParserError:pw,UndiciError:Je,HeadersTimeoutError:XB,HeadersOverflowError:ZB,BodyTimeoutError:ew,RequestContentLengthMismatchError:ow,ConnectTimeoutError:KB,ResponseStatusCodeError:tw,InvalidArgumentError:rw,InvalidReturnValueError:sw,RequestAbortedError:nw,ClientDestroyedError:cw,ClientClosedError:lw,InformationalError:iw,SocketError:uw,NotSupportedError:Aw,ResponseContentLengthMismatchError:aw,BalancedPoolMissingUpstreamError:dw,ResponseExceededMaxSizeError:mw,RequestRetryError:hw,ResponseError:fw,SecureProxyConnectionError:gw,MessageSizeExceededError:Ew}});var ph=f((EMe,SL)=>{"use strict";var dh={},yw=["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:RL,headerNameLowerCasedRecord:jZ}=ph(),Cw=class t{static{o(this,"TstNode")}value=null;left=null;middle=null;right=null;code;constructor(e,r,s){if(s===void 0||s>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(s))>127)throw new TypeError("key must be ascii string");e.length!==++s?this.middle=new t(e,r,s):this.value=r}add(e,r){let s=e.length;if(s===0)throw new TypeError("Unreachable");let n=0,i=this;for(;;){let a=e.charCodeAt(n);if(a>127)throw new TypeError("key must be ascii string");if(i.code===a)if(s===++n){i.value=r;break}else if(i.middle!==null)i=i.middle;else{i.middle=new t(e,r,n);break}else if(i.code=65&&(i|=32);n!==null;){if(i===n.code){if(r===++s)return n;n=n.middle;break}n=n.code{"use strict";var BA=require("node:assert"),{kDestroyed:DL,kBodyUsed:Wc,kListeners:Iw,kBody:kL}=Ye(),{IncomingMessage:KZ}=require("node:http"),gh=require("node:stream"),XZ=require("node:net"),{Blob:ZZ}=require("node:buffer"),e7=require("node:util"),{stringify:t7}=require("node:querystring"),{EventEmitter:r7}=require("node:events"),{InvalidArgumentError:Ut}=Qe(),{headerNameLowerCasedRecord:s7}=ph(),{tree:_L}=PL(),[n7,i7]=process.versions.node.split(".").map(t=>Number(t)),fh=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[kL]=e,this[Wc]=!1}async*[Symbol.asyncIterator](){BA(!this[Wc],"disturbed"),this[Wc]=!0,yield*this[kL]}};function o7(t){return Eh(t)?(UL(t)===0&&t.on("data",function(){BA(!1)}),typeof t.readableDidRead!="boolean"&&(t[Wc]=!1,r7.prototype.on.call(t,"data",function(){this[Wc]=!0})),t):t&&typeof t.pipeTo=="function"?new fh(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&FL(t)?new fh(t):t}o(o7,"wrapRequestBody");function a7(){}o(a7,"nop");function Eh(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(Eh,"isStream");function LL(t){if(t===null)return!1;if(t instanceof ZZ)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(LL,"isBlobLike");function c7(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=t7(e);return r&&(t+="?"+r),t}o(c7,"buildURL");function ML(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(ML,"isValidPort");function hh(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(hh,"isHttpOrHttpsPrefixed");function OL(t){if(typeof t=="string"){if(t=new URL(t),!hh(t.origin||t.protocol))throw new Ut("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new Ut("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&ML(t.port)===!1)throw new Ut("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 Ut("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new Ut("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new Ut("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new Ut("Invalid URL origin: the origin must be a string or null/undefined.");if(!hh(t.origin||t.protocol))throw new Ut("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(!hh(t.origin||t.protocol))throw new Ut("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(OL,"parseURL");function l7(t){if(t=OL(t),t.pathname!=="/"||t.search||t.hash)throw new Ut("invalid url");return t}o(l7,"parseOrigin");function u7(t){if(t[0]==="["){let r=t.indexOf("]");return BA(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(u7,"getHostname");function A7(t){if(!t)return null;BA(typeof t=="string");let e=u7(t);return XZ.isIP(e)?"":e}o(A7,"getServerName");function d7(t){return JSON.parse(JSON.stringify(t))}o(d7,"deepClone");function p7(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(p7,"isAsyncIterable");function FL(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(FL,"isIterable");function UL(t){if(t==null)return 0;if(Eh(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(LL(t))return t.size!=null?t.size:null;if(HL(t))return t.byteLength}return null}o(UL,"bodyLength");function qL(t){return t&&!!(t.destroyed||t[DL]||gh.isDestroyed?.(t))}o(qL,"isDestroyed");function m7(t,e){t==null||!Eh(t)||qL(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===KZ&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[DL]=!0))}o(m7,"destroy");var h7=/timeout=(\d+)/;function f7(t){let e=t.toString().match(h7);return e?parseInt(e[1],10)*1e3:null}o(f7,"parseKeepAliveTimeout");function GL(t){return typeof t=="string"?s7[t]??t.toLowerCase():_L.lookup(t)??t.toString("latin1").toLowerCase()}o(GL,"headerNameToString");function g7(t){return _L.lookup(t)??t.toString("latin1").toLowerCase()}o(g7,"bufferToLowerCasedHeaderName");function E7(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(E7,"parseHeaders");function y7(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(Q7,"ReadableStreamFrom");function x7(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(x7,"isFormDataLike");function N7(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(N7,"addAbortListener");var S7=typeof String.prototype.toWellFormed=="function",R7=typeof String.prototype.isWellFormed=="function";function zL(t){return S7?`${t}`.toWellFormed():e7.toUSVString(t)}o(zL,"toUSVString");function T7(t){return R7?`${t}`.isWellFormed():zL(t)===`${t}`}o(T7,"isUSVString");function $L(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($L,"isTokenCharCode");function v7(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var ve=require("node:diagnostics_channel"),bw=require("node:util"),yh=bw.debuglog("undici"),ww=bw.debuglog("fetch"),Ia=bw.debuglog("websocket"),WL=!1,O7={beforeConnect:ve.channel("undici:client:beforeConnect"),connected:ve.channel("undici:client:connected"),connectError:ve.channel("undici:client:connectError"),sendHeaders:ve.channel("undici:client:sendHeaders"),create:ve.channel("undici:request:create"),bodySent:ve.channel("undici:request:bodySent"),headers:ve.channel("undici:request:headers"),trailers:ve.channel("undici:request:trailers"),error:ve.channel("undici:request:error"),open:ve.channel("undici:websocket:open"),close:ve.channel("undici:websocket:close"),socketError:ve.channel("undici:websocket:socket_error"),ping:ve.channel("undici:websocket:ping"),pong:ve.channel("undici:websocket:pong")};if(yh.enabled||ww.enabled){let t=ww.enabled?ww:yh;ve.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)}),ve.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)}),ve.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)}),ve.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)}),ve.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)}),ve.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)}),ve.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)}),WL=!0}if(Ia.enabled){if(!WL){let t=yh.enabled?yh:Ia;ve.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)}),ve.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)}),ve.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)}),ve.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)})}ve.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;Ia("connection opened %s%s",e,r?`:${r}`:"")}),ve.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:s}=t;Ia("closed connection to %s - %s %s",e.url,r,s)}),ve.channel("undici:websocket:socket_error").subscribe(t=>{Ia("connection errored - %s",t.message)}),ve.channel("undici:websocket:ping").subscribe(t=>{Ia("ping received")}),ve.channel("undici:websocket:pong").subscribe(t=>{Ia("pong received")})}jL.exports={channels:O7}});var eM=f((bMe,ZL)=>{"use strict";var{InvalidArgumentError:ke,NotSupportedError:F7}=Qe(),Li=require("node:assert"),{isValidHTTPToken:XL,isValidHeaderValue:wA,isStream:U7,destroy:q7,isBuffer:G7,isFormDataLike:H7,isIterable:z7,isBlobLike:$7,buildURL:V7,validateHandler:Y7,getServerName:J7,normalizedMethodRecords:W7}=pe(),{channels:Ln}=jc(),{headerNameLowerCasedRecord:KL}=ph(),j7=/[^\u0021-\u00ff]/,Qs=Symbol("handler"),Qw=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:g},C){if(typeof r!="string")throw new ke("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&s!=="CONNECT")throw new ke("path must be an absolute URL or start with a slash");if(j7.test(r))throw new ke("invalid request path");if(typeof s!="string")throw new ke("method must be a string");if(W7[s]===void 0&&!XL(s))throw new ke("invalid request method");if(u&&typeof u!="string")throw new ke("upgrade must be a string");if(u&&!wA(u))throw new ke("invalid upgrade header");if(A!=null&&(!Number.isFinite(A)||A<0))throw new ke("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new ke("invalid bodyTimeout");if(p!=null&&typeof p!="boolean")throw new ke("invalid reset");if(h!=null&&typeof h!="boolean")throw new ke("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(U7(n)){this.body=n;let E=this.body._readableState;(!E||!E.autoDestroy)&&(this.endHandler=o(function(){q7(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(G7(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(H7(n)||z7(n)||$7(n))this.body=n;else throw new ke("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?V7(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 ke("headers array must be even");for(let E=0;E{"use strict";var K7=require("node:events"),Ih=class extends K7{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 xw(this,s)}},xw=class extends Ih{static{o(this,"ComposedDispatcher")}#e=null;#t=null;constructor(e,r){super(),this.#e=e,this.#t=r}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}};tM.exports=Ih});var el=f((SMe,rM)=>{"use strict";var X7=bA(),{ClientDestroyedError:Nw,ClientClosedError:Z7,InvalidArgumentError:Kc}=Qe(),{kDestroy:eee,kClose:tee,kClosed:QA,kDestroyed:Xc,kDispatch:Sw,kInterceptors:Ba}=Ye(),Mi=Symbol("onDestroyed"),Zc=Symbol("onClosed"),Bh=Symbol("Intercepted Dispatch"),Rw=Symbol("webSocketOptions"),Tw=class extends X7{static{o(this,"DispatcherBase")}constructor(e){super(),this[Xc]=!1,this[Mi]=null,this[QA]=!1,this[Zc]=[],this[Rw]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[Rw].maxFragments??131072,maxPayloadSize:this[Rw].maxPayloadSize??128*1024*1024}}get destroyed(){return this[Xc]}get closed(){return this[QA]}get interceptors(){return this[Ba]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Ba][r]!="function")throw new Kc("interceptor must be an function")}this[Ba]=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 Kc("invalid callback");if(this[Xc]){queueMicrotask(()=>e(new Nw,null));return}if(this[QA]){this[Zc]?this[Zc].push(e):queueMicrotask(()=>e(null,null));return}this[QA]=!0,this[Zc].push(e);let r=o(()=>{let s=this[Zc];this[Zc]=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 Kc("invalid callback");if(this[Xc]){this[Mi]?this[Mi].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new Nw),this[Xc]=!0,this[Mi]=this[Mi]||[],this[Mi].push(r);let s=o(()=>{let n=this[Mi];this[Mi]=null;for(let i=0;i{queueMicrotask(s)})}[Bh](e,r){if(!this[Ba]||this[Ba].length===0)return this[Bh]=this[Sw],this[Sw](e,r);let s=this[Sw].bind(this);for(let n=this[Ba].length-1;n>=0;n--)s=this[Ba][n](s);return this[Bh]=s,s(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new Kc("handler must be an object");try{if(!e||typeof e!="object")throw new Kc("opts must be an object.");if(this[Xc]||this[Mi])throw new Nw;if(this[QA])throw new Z7;return this[Bh](e,r)}catch(s){if(typeof r.onError!="function")throw new Kc("invalid onError method");return r.onError(s),!1}}};rM.exports=Tw});var Mw=f((TMe,oM)=>{"use strict";var tl=0,vw=1e3,Pw=(vw>>1)-1,Oi,kw=Symbol("kFastTimer"),Fi=[],Dw=-2,_w=-1,nM=0,sM=1;function Lw(){tl+=Pw;let t=0,e=Fi.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=_w,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===_w?(r._state=Dw,--e!==0&&(Fi[t]=Fi[e])):++t}Fi.length=e,Fi.length!==0&&iM()}o(Lw,"onTick");function iM(){Oi?Oi.refresh():(clearTimeout(Oi),Oi=setTimeout(Lw,Pw),Oi.unref&&Oi.unref())}o(iM,"refreshTimeout");var wh=class{static{o(this,"FastTimer")}[kw]=!0;_state=Dw;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,s){this._onTimeout=e,this._idleTimeout=r,this._timerArg=s,this.refresh()}refresh(){this._state===Dw&&Fi.push(this),(!Oi||Fi.length===1)&&iM(),this._state=nM}clear(){this._state=_w,this._idleStart=-1}};oM.exports={setTimeout(t,e,r){return e<=vw?setTimeout(t,e,r):new wh(t,e,r)},clearTimeout(t){t[kw]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new wh(t,e,r)},clearFastTimeout(t){t.clear()},now(){return tl},tick(t=0){tl+=t-vw+1,Lw(),Lw()},reset(){tl=0,Fi.length=0,clearTimeout(Oi),Oi=null},kFastTimer:kw}});var xA=f((DMe,AM)=>{"use strict";var ree=require("node:net"),aM=require("node:assert"),uM=pe(),{InvalidArgumentError:see,ConnectTimeoutError:nee}=Qe(),bh=Mw();function cM(){}o(cM,"noop");var Ow,Fw;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?Fw=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 iee({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:s,session:n,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new see("maxCachedSessions must be a positive integer or zero");let a={path:r,...i},c=new Fw(e??100);return s=s??1e4,t=t??!1,o(function({hostname:u,host:A,protocol:d,port:p,servername:m,localAddress:h,httpSocket:g},C){let E;if(d==="https:"){Ow||(Ow=require("node:tls")),m=m||a.servername||uM.getServerName(A)||null;let I=m||u;aM(I);let B=n||c.get(I)||null;p=p||443,E=Ow.connect({highWaterMark:16384,...a,servername:m,session:B,localAddress:h,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:g,port:p,host:u}),E.on("session",function(x){c.set(I,x)})}else aM(!g,"httpSocket can only be sent on TLS update"),p=p||80,E=ree.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=oee(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(iee,"buildConnector");var oee=process.platform==="win32"?(t,e)=>{if(!e.timeout)return cM;let r=null,s=null,n=bh.setFastTimeout(()=>{r=setImmediate(()=>{s=setImmediate(()=>lM(t.deref(),e))})},e.timeout);return()=>{bh.clearFastTimeout(n),clearImmediate(r),clearImmediate(s)}}:(t,e)=>{if(!e.timeout)return cM;let r=null,s=bh.setFastTimeout(()=>{r=setImmediate(()=>{lM(t.deref(),e)})},e.timeout);return()=>{bh.clearFastTimeout(s),clearImmediate(r)}};function lM(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)`,uM.destroy(t,new nee(r))}o(lM,"onConnectTimeout");AM.exports=iee});var dM=f(Qh=>{"use strict";Object.defineProperty(Qh,"__esModule",{value:!0});Qh.enumToMap=void 0;function aee(t){let e={};return Object.keys(t).forEach(r=>{let s=t[r];typeof s=="number"&&(e[r]=s)}),e}o(aee,"enumToMap");Qh.enumToMap=aee});var pM=f(N=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0});N.SPECIAL_HEADERS=N.HEADER_STATE=N.MINOR=N.MAJOR=N.CONNECTION_TOKEN_CHARS=N.HEADER_CHARS=N.TOKEN=N.STRICT_TOKEN=N.HEX=N.URL_CHAR=N.STRICT_URL_CHAR=N.USERINFO_CHARS=N.MARK=N.ALPHANUM=N.NUM=N.HEX_MAP=N.NUM_MAP=N.ALPHA=N.FINISH=N.H_METHOD_MAP=N.METHOD_MAP=N.METHODS_RTSP=N.METHODS_ICE=N.METHODS_HTTP=N.METHODS=N.LENIENT_FLAGS=N.FLAGS=N.TYPE=N.ERROR=void 0;var cee=dM(),lee;(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"})(lee=N.ERROR||(N.ERROR={}));var uee;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(uee=N.TYPE||(N.TYPE={}));var Aee;(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"})(Aee=N.FLAGS||(N.FLAGS={}));var dee;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(dee=N.LENIENT_FLAGS||(N.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=N.METHODS||(N.METHODS={}));N.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];N.METHODS_ICE=[K.SOURCE];N.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];N.METHOD_MAP=cee.enumToMap(K);N.H_METHOD_MAP={};Object.keys(N.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(N.H_METHOD_MAP[t]=N.METHOD_MAP[t])});var pee;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(pee=N.FINISH||(N.FINISH={}));N.ALPHA=[];for(let t=65;t<=90;t++)N.ALPHA.push(String.fromCharCode(t)),N.ALPHA.push(String.fromCharCode(t+32));N.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};N.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};N.NUM=["0","1","2","3","4","5","6","7","8","9"];N.ALPHANUM=N.ALPHA.concat(N.NUM);N.MARK=["-","_",".","!","~","*","'","(",")"];N.USERINFO_CHARS=N.ALPHANUM.concat(N.MARK).concat(["%",";",":","&","=","+","$",","]);N.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(N.ALPHANUM);N.URL_CHAR=N.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)N.URL_CHAR.push(t);N.HEX=N.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);N.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(N.ALPHANUM);N.TOKEN=N.STRICT_TOKEN.concat([" "]);N.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&N.HEADER_CHARS.push(t);N.CONNECTION_TOKEN_CHARS=N.HEADER_CHARS.filter(t=>t!==44);N.MAJOR=N.NUM_MAP;N.MINOR=N.MAJOR;var rl;(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"})(rl=N.HEADER_STATE||(N.HEADER_STATE={}));N.SPECIAL_HEADERS={connection:rl.CONNECTION,"content-length":rl.CONTENT_LENGTH,"proxy-connection":rl.CONNECTION,"transfer-encoding":rl.TRANSFER_ENCODING,up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E2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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C0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBk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BTQRAIARBeHFBtNAAaiEAAn9BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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QwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJA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gMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var NA=f((qMe,bM)=>{"use strict";var gM=["GET","HEAD","POST"],fee=new Set(gM),gee=[101,204,205,304],EM=[301,302,303,307,308],Eee=new Set(EM),yM=["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"],yee=new Set(yM),CM=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],Cee=new Set(CM),Iee=["follow","manual","error"],IM=["GET","HEAD","OPTIONS","TRACE"],Bee=new Set(IM),wee=["navigate","same-origin","no-cors","cors"],bee=["omit","same-origin","include"],Qee=["default","no-store","reload","no-cache","force-cache","only-if-cached"],xee=["content-encoding","content-language","content-location","content-type","content-length"],Nee=["half"],BM=["CONNECT","TRACE","TRACK"],See=new Set(BM),wM=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],Ree=new Set(wM);bM.exports={subresource:wM,forbiddenMethods:BM,requestBodyHeader:xee,referrerPolicy:CM,requestRedirect:Iee,requestMode:wee,requestCredentials:bee,requestCache:Qee,redirectStatus:EM,corsSafeListedMethods:gM,nullBodyStatus:gee,safeMethods:IM,badPorts:yM,requestDuplex:Nee,subresourceSet:Ree,badPortsSet:yee,redirectStatusSet:Eee,corsSafeListedMethodsSet:fee,safeMethodsSet:Bee,forbiddenMethodsSet:See,referrerPolicySet:Cee}});var Gw=f((GMe,QM)=>{"use strict";var qw=Symbol.for("undici.globalOrigin.1");function Tee(){return globalThis[qw]}o(Tee,"getGlobalOrigin");function vee(t){if(t===void 0){Object.defineProperty(globalThis,qw,{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,qw,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(vee,"setGlobalOrigin");QM.exports={getGlobalOrigin:Tee,setGlobalOrigin:vee}});var vr=f((zMe,PM)=>{"use strict";var Nh=require("node:assert"),Pee=new TextEncoder,SA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,kee=/[\u000A\u000D\u0009\u0020]/,Dee=/[\u0009\u000A\u000C\u000D\u0020]/g,_ee=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Lee(t){Nh(t.protocol==="data:");let e=SM(t,!0);e=e.slice(5);let r={position:0},s=sl(",",e,r),n=s.length;if(s=Gee(s,!0,!0),r.position>=e.length)return"failure";r.position++;let i=e.slice(n+1),a=RM(i);if(/;(\u0020){0,}base64$/i.test(s)){let l=vM(a);if(a=Oee(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=Hw(s);return c==="failure"&&(c=Hw("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(Lee,"dataURLProcessor");function SM(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(SM,"URLSerializer");function Sh(t,e,r){let s="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(xM,"isHexCharByte");function NM(t){return t>=48&&t<=57?t-48:(t&223)-55}o(NM,"hexByteToNumber");function Mee(t){let e=t.length,r=new Uint8Array(e),s=0;for(let n=0;nt.length)return"failure";e.position++;let s=sl(";",t,e);if(s=xh(s,!1,!0),s.length===0||!SA.test(s))return"failure";let n=r.toLowerCase(),i=s.toLowerCase(),a={type:n,subtype:i,parameters:new Map,essence:`${n}/${i}`};for(;e.positionkee.test(u),t,e);let c=Sh(u=>u!==";"&&u!=="=",t,e);if(c=c.toLowerCase(),e.positiont.length)break;let l=null;if(t[e.position]==='"')l=TM(t,e,!0),sl(";",t,e);else if(l=sl(";",t,e),l=xh(l,!1,!0),l.length===0)continue;c.length!==0&&SA.test(c)&&(l.length===0||_ee.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(Hw,"parseMIMEType");function Oee(t){t=t.replace(Dee,"");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(Oee,"forgivingBase64");function TM(t,e,r){let s=e.position,n="";for(Nh(t[e.position]==='"'),e.position++;n+=Sh(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{Nh(i==='"');break}}return r?n:t.slice(s,e.position)}o(TM,"collectAnHTTPQuotedString");function Fee(t){Nh(t!=="failure");let{parameters:e,essence:r}=t,s=r;for(let[n,i]of e.entries())s+=";",s+=n,s+="=",SA.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),s+=i;return s}o(Fee,"serializeAMimeType");function Uee(t){return t===13||t===10||t===9||t===32}o(Uee,"isHTTPWhiteSpace");function xh(t,e=!0,r=!0){return zw(t,e,r,Uee)}o(xh,"removeHTTPWhitespace");function qee(t){return t===13||t===10||t===9||t===12||t===32}o(qee,"isASCIIWhitespace");function Gee(t,e=!0,r=!0){return zw(t,e,r,qee)}o(Gee,"removeASCIIWhitespace");function zw(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(zw,"removeChars");function vM(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(vM,"isomorphicDecode");function Hee(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(Hee,"minimizeSupportedMimeType");PM.exports={dataURLProcessor:Lee,URLSerializer:SM,collectASequenceOfCodePoints:Sh,collectASequenceOfCodePointsFast:sl,stringPercentDecode:RM,parseMIMEType:Hw,collectAnHTTPQuotedString:TM,serializeAMimeType:Fee,removeChars:zw,removeHTTPWhitespace:xh,minimizeSupportedMimeType:Hee,HTTP_TOKEN_CODEPOINTS:SA,isomorphicDecode:vM}});var Wt=f((VMe,kM)=>{"use strict";var{types:Mn,inspect:zee}=require("node:util"),{markAsUncloneable:$ee}=require("node:worker_threads"),{toUSVString:Vee}=pe(),Q={};Q.converters={};Q.util={};Q.errors={};Q.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};Q.errors.conversionFailed=function(t){let e=t.types.length===1?"":" one of",r=`${t.argument} could not be converted to${e}: ${t.types.join(", ")}.`;return Q.errors.exception({header:t.prefix,message:r})};Q.errors.invalidArgument=function(t){return Q.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};Q.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let s=new TypeError("Illegal invocation");throw s.code="ERR_INVALID_THIS",s}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let s=new TypeError("Illegal invocation");throw s.code="ERR_INVALID_THIS",s}};Q.argumentLengthCheck=function({length:t},e,r){if(t{});Q.util.ConvertToInt=function(t,e,r,s){let n,i;e===64?(n=Math.pow(2,53)-1,r==="unsigned"?i=0:i=Math.pow(-2,53)+1):r==="unsigned"?(i=0,n=Math.pow(2,e)-1):(i=Math.pow(-2,e)-1,n=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),s?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw Q.errors.exception({header:"Integer conversion",message:`Could not convert ${Q.util.Stringify(t)} to an integer.`});if(a=Q.util.IntegerPart(a),an)throw Q.errors.exception({header:"Integer conversion",message:`Value must be between ${i}-${n}, got ${a}.`});return a}return!Number.isNaN(a)&&s?.clamp===!0?(a=Math.min(Math.max(a,i),n),Math.floor(a)%2===0?a=Math.floor(a):a=Math.ceil(a),a):Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY?0:(a=Q.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};Q.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};Q.util.Stringify=function(t){switch(Q.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return zee(t);case"String":return`"${t}"`;default:return`${t}`}};Q.sequenceConverter=function(t){return(e,r,s,n)=>{if(Q.util.Type(e)!=="Object")throw Q.errors.exception({header:r,message:`${s} (${Q.util.Stringify(e)}) is not iterable.`});let i=typeof n=="function"?n():e?.[Symbol.iterator]?.(),a=[],c=0;if(i===void 0||typeof i.next!="function")throw Q.errors.exception({header:r,message:`${s} is not iterable.`});for(;;){let{done:l,value:u}=i.next();if(l)break;a.push(t(u,r,`${s}[${c++}]`))}return a}};Q.recordConverter=function(t,e){return(r,s,n)=>{if(Q.util.Type(r)!=="Object")throw Q.errors.exception({header:s,message:`${n} ("${Q.util.Type(r)}") is not an Object.`});let i={};if(!Mn.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let l of c){let u=t(l,s,n),A=e(r[l],s,n);i[u]=A}return i}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let u=t(c,s,n),A=e(r[c],s,n);i[u]=A}return i}};Q.interfaceConverter=function(t){return(e,r,s,n)=>{if(n?.strict!==!1&&!(e instanceof t))throw Q.errors.exception({header:r,message:`Expected ${s} ("${Q.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};Q.dictionaryConverter=function(t){return(e,r,s)=>{let n=Q.util.Type(e),i={};if(n==="Null"||n==="Undefined")return i;if(n!=="Object")throw Q.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let a of t){let{key:c,defaultValue:l,required:u,converter:A}=a;if(u===!0&&!Object.hasOwn(e,c))throw Q.errors.exception({header:r,message:`Missing required key "${c}".`});let d=e[c],p=Object.hasOwn(a,"defaultValue");if(p&&d!==null&&(d??=l()),u||p||d!==void 0){if(d=A(d,r,`${s}.${c}`),a.allowedValues&&!a.allowedValues.includes(d))throw Q.errors.exception({header:r,message:`${d} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});i[c]=d}}return i}};Q.nullableConverter=function(t){return(e,r,s)=>e===null?e:t(e,r,s)};Q.converters.DOMString=function(t,e,r,s){if(t===null&&s?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw Q.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};Q.converters.ByteString=function(t,e,r){let s=Q.converters.DOMString(t,e,r);for(let n=0;n255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${n} has a value of ${s.charCodeAt(n)} which is greater than 255.`);return s};Q.converters.USVString=Vee;Q.converters.boolean=function(t){return!!t};Q.converters.any=function(t){return t};Q.converters["long long"]=function(t,e,r){return Q.util.ConvertToInt(t,64,"signed",void 0,e,r)};Q.converters["unsigned long long"]=function(t,e,r){return Q.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};Q.converters["unsigned long"]=function(t,e,r){return Q.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};Q.converters["unsigned short"]=function(t,e,r,s){return Q.util.ConvertToInt(t,16,"unsigned",s,e,r)};Q.converters.ArrayBuffer=function(t,e,r,s){if(Q.util.Type(t)!=="Object"||!Mn.isAnyArrayBuffer(t))throw Q.errors.conversionFailed({prefix:e,argument:`${r} ("${Q.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(s?.allowShared===!1&&Mn.isSharedArrayBuffer(t))throw Q.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw Q.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};Q.converters.TypedArray=function(t,e,r,s,n){if(Q.util.Type(t)!=="Object"||!Mn.isTypedArray(t)||t.constructor.name!==e.name)throw Q.errors.conversionFailed({prefix:r,argument:`${s} ("${Q.util.Stringify(t)}")`,types:[e.name]});if(n?.allowShared===!1&&Mn.isSharedArrayBuffer(t.buffer))throw Q.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw Q.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};Q.converters.DataView=function(t,e,r,s){if(Q.util.Type(t)!=="Object"||!Mn.isDataView(t))throw Q.errors.exception({header:e,message:`${r} is not a DataView.`});if(s?.allowShared===!1&&Mn.isSharedArrayBuffer(t.buffer))throw Q.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw Q.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};Q.converters.BufferSource=function(t,e,r,s){if(Mn.isAnyArrayBuffer(t))return Q.converters.ArrayBuffer(t,e,r,{...s,allowShared:!1});if(Mn.isTypedArray(t))return Q.converters.TypedArray(t,t.constructor,e,r,{...s,allowShared:!1});if(Mn.isDataView(t))return Q.converters.DataView(t,e,r,{...s,allowShared:!1});throw Q.errors.conversionFailed({prefix:e,argument:`${r} ("${Q.util.Stringify(t)}")`,types:["BufferSource"]})};Q.converters["sequence"]=Q.sequenceConverter(Q.converters.ByteString);Q.converters["sequence>"]=Q.sequenceConverter(Q.converters["sequence"]);Q.converters["record"]=Q.recordConverter(Q.converters.ByteString,Q.converters.ByteString);kM.exports={webidl:Q}});var Kr=f((YMe,YM)=>{"use strict";var{Transform:Yee}=require("node:stream"),DM=require("node:zlib"),{redirectStatusSet:Jee,referrerPolicySet:Wee,badPortsSet:jee}=NA(),{getGlobalOrigin:_M}=Gw(),{collectASequenceOfCodePoints:wa,collectAnHTTPQuotedString:Kee,removeChars:Xee,parseMIMEType:Zee}=vr(),{performance:ete}=require("node:perf_hooks"),{isBlobLike:tte,ReadableStreamFrom:rte,isValidHTTPToken:LM,normalizedMethodRecordsBase:ste}=pe(),ba=require("node:assert"),{isUint8Array:nte}=require("node:util/types"),{webidl:RA}=Wt(),MM=[],Th;try{Th=require("node:crypto");let t=["sha256","sha384","sha512"];MM=Th.getHashes().filter(e=>t.includes(e))}catch{}function OM(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(OM,"responseURL");function ite(t,e){if(!Jee.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&UM(r)&&(FM(r)||(r=ote(r)),r=new URL(r,OM(t))),r&&!r.hash&&(r.hash=e),r}o(ite,"responseLocationURL");function FM(t){for(let e=0;e126||r<32)return!1}return!0}o(FM,"isValidEncodedURL");function ote(t){return Buffer.from(t,"binary").toString("utf8")}o(ote,"normalizeBinaryStringToUtf8");function vA(t){return t.urlList[t.urlList.length-1]}o(vA,"requestCurrentURL");function ate(t){let e=vA(t);return $M(e)&&jee.has(e.port)?"blocked":"allowed"}o(ate,"requestBadPort");function cte(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(cte,"isErrorLike");function lte(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(lte,"isValidReasonPhrase");var ute=LM;function UM(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` `)||t.includes("\r")||t.includes("\0"))===!1}o(UM,"isValidHeaderValue");function Ate(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(Wee.has(a)){n=a;break}}n!==""&&(t.referrerPolicy=n)}o(Ate,"setRequestReferrerPolicyOnRedirect");function dte(){return"allowed"}o(dte,"crossOriginResourcePolicyCheck");function pte(){return"success"}o(pte,"corsCheck");function mte(){return"success"}o(mte,"TAOCheck");function hte(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(hte,"appendFetchMetadata");function fte(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&&Vw(t.origin)&&!Vw(vA(t))&&(e=null);break;case"same-origin":vh(t,vA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(fte,"appendRequestOriginHeader");function nl(t,e){return t}o(nl,"coarsenTime");function gte(t,e,r){return!t?.startTime||t.startTime4096&&(s=n);let i=vh(t,s),a=TA(s)&&!TA(t.url);switch(e){case"origin":return n??$w(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=vA(t);return vh(s,c)?s:TA(s)&&!TA(c)?"no-referrer":n}default:return a?"no-referrer":n}}o(Ite,"determineRequestsReferrer");function $w(t,e){return ba(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($w,"stripURLForReferrer");function TA(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let s=new URL(r);return!!(s.protocol==="https:"||s.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(s.hostname)||s.hostname==="localhost"||s.hostname.includes("localhost.")||s.hostname.endsWith(".localhost"))}}o(TA,"isURLPotentiallyTrustworthy");function Bte(t,e){if(Th===void 0)return!0;let r=GM(e);if(r==="no metadata"||r.length===0)return!0;let s=bte(r),n=Qte(r,s);for(let i of n){let a=i.algo,c=i.hash,l=Th.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)),xte(l,c))return!0}return!1}o(Bte,"bytesMatch");var wte=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function GM(t){let e=[],r=!0;for(let s of t.split(" ")){r=!1;let n=wte.exec(s);if(n===null||n.groups===void 0||n.groups.algo===void 0)continue;let i=n.groups.algo.toLowerCase();MM.includes(i)&&e.push(n.groups)}return r===!0?"no metadata":e}o(GM,"parseMetadata");function bte(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(Ste,"createDeferredPromise");function Rte(t){return t.controller.state==="aborted"}o(Rte,"isAborted");function Tte(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(Tte,"isCancelled");function vte(t){return ste[t.toLowerCase()]??t}o(vte,"normalizeMethod");function Pte(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return ba(typeof e=="string"),e}o(Pte,"serializeJavascriptValueToJSONString");var kte=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function HM(t,e,r=0,s=1){class n{static{o(this,"FastIterableIterator")}#e;#t;#r;constructor(a,c){this.#e=a,this.#t=c,this.#r=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.#r,c=this.#e[e],l=c.length;if(a>=l)return{value:void 0,done:!0};let{[r]:u,[s]:A}=c[a];this.#r=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,kte),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(HM,"createIterator");function Dte(t,e,r,s=0,n=1){let i=HM(t,r,s,n),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return RA.brandCheck(this,e),i(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return RA.brandCheck(this,e),i(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return RA.brandCheck(this,e),i(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,u=globalThis){if(RA.brandCheck(this,e),RA.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof l!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:A,1:d}of i(this,"key+value"))l.call(u,d,A,this)},"forEach")}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}o(Dte,"iteratorMixin");async function _te(t,e,r){let s=e,n=r,i;try{i=t.stream.getReader()}catch(a){n(a);return}try{s(await zM(i))}catch(a){n(a)}}o(_te,"fullyReadBody");function Lte(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(Lte,"isReadableStreamLike");function Mte(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(Mte,"readableStreamClose");var Ote=/[^\x00-\xFF]/;function Rh(t){return ba(!Ote.test(t)),t}o(Rh,"isomorphicEncode");async function zM(t){let e=[],r=0;for(;;){let{done:s,value:n}=await t.read();if(s)return Buffer.concat(e,r);if(!nte(n))throw new TypeError("Received non-Uint8Array chunk");e.push(n),r+=n.length}}o(zM,"readAllBytes");function Fte(t){ba("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(Fte,"urlIsLocal");function Vw(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(Vw,"urlHasHttpsScheme");function $M(t){ba("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o($M,"urlIsHttpHttpsScheme");function Ute(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let s={position:5};if(e&&wa(l=>l===" "||l===" ",r,s),r.charCodeAt(s.position)!==61)return"failure";s.position++,e&&wa(l=>l===" "||l===" ",r,s);let n=wa(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,s),i=n.length?Number(n):null;if(e&&wa(l=>l===" "||l===" ",r,s),r.charCodeAt(s.position)!==45)return"failure";s.position++,e&&wa(l=>l===" "||l===" ",r,s);let a=wa(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(Ute,"simpleRangeHeaderValue");function qte(t,e,r){let s="bytes ";return s+=Rh(`${t}`),s+="-",s+=Rh(`${e}`),s+="/",s+=Rh(`${r}`),s}o(qte,"buildContentRange");var Yw=class extends Yee{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?DM.createInflate(this.#e):DM.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 Gte(t){return new Yw(t)}o(Gte,"createInflate");function Hte(t){let e=null,r=null,s=null,n=VM("content-type",t);if(n===null)return"failure";for(let i of n){let a=Zee(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(Hte,"extractMimeType");function zte(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(zte,"gettingDecodingSplitting");function VM(t,e){let r=e.get(t,!0);return r===null?null:zte(r)}o(VM,"getDecodeSplit");var $te=new TextDecoder;function Vte(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),$te.decode(t))}o(Vte,"utf8DecodeBytes");var Jw=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return _M()}get origin(){return this.baseUrl?.origin}policyContainer=qM()},Ww=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new Jw},Yte=new Ww;YM.exports={isAborted:Rte,isCancelled:Tte,isValidEncodedURL:FM,createDeferredPromise:Ste,ReadableStreamFrom:rte,tryUpgradeRequestToAPotentiallyTrustworthyURL:Nte,clampAndCoarsenConnectionTimingInfo:gte,coarsenedSharedCurrentTime:Ete,determineRequestsReferrer:Ite,makePolicyContainer:qM,clonePolicyContainer:Cte,appendFetchMetadata:hte,appendRequestOriginHeader:fte,TAOCheck:mte,corsCheck:pte,crossOriginResourcePolicyCheck:dte,createOpaqueTimingInfo:yte,setRequestReferrerPolicyOnRedirect:Ate,isValidHTTPToken:LM,requestBadPort:ate,requestCurrentURL:vA,responseURL:OM,responseLocationURL:ite,isBlobLike:tte,isURLPotentiallyTrustworthy:TA,isValidReasonPhrase:lte,sameOrigin:vh,normalizeMethod:vte,serializeJavascriptValueToJSONString:Pte,iteratorMixin:Dte,createIterator:HM,isValidHeaderName:ute,isValidHeaderValue:UM,isErrorLike:cte,fullyReadBody:_te,bytesMatch:Bte,isReadableStreamLike:Lte,readableStreamClose:Mte,isomorphicEncode:Rh,urlIsLocal:Fte,urlHasHttpsScheme:Vw,urlIsHttpHttpsScheme:$M,readAllBytes:zM,simpleRangeHeaderValue:Ute,buildContentRange:qte,parseMetadata:GM,createInflate:Gte,extractMimeType:Hte,getDecodeSplit:VM,utf8DecodeBytes:Vte,environmentSettingsObject:Yte}});var xo=f((WMe,JM)=>{"use strict";JM.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var Kw=f((jMe,WM)=>{"use strict";var{Blob:Jte,File:Wte}=require("node:buffer"),{kState:Ui}=xo(),{webidl:On}=Wt(),jw=class t{static{o(this,"FileLike")}constructor(e,r,s={}){let n=r,i=s.type,a=s.lastModified??Date.now();this[Ui]={blobLike:e,name:n,type:i,lastModified:a}}stream(...e){return On.brandCheck(this,t),this[Ui].blobLike.stream(...e)}arrayBuffer(...e){return On.brandCheck(this,t),this[Ui].blobLike.arrayBuffer(...e)}slice(...e){return On.brandCheck(this,t),this[Ui].blobLike.slice(...e)}text(...e){return On.brandCheck(this,t),this[Ui].blobLike.text(...e)}get size(){return On.brandCheck(this,t),this[Ui].blobLike.size}get type(){return On.brandCheck(this,t),this[Ui].blobLike.type}get name(){return On.brandCheck(this,t),this[Ui].name}get lastModified(){return On.brandCheck(this,t),this[Ui].lastModified}get[Symbol.toStringTag](){return"File"}};On.converters.Blob=On.interfaceConverter(Jte);function jte(t){return t instanceof Wte||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(jte,"isFileLike");WM.exports={FileLike:jw,isFileLike:jte}});var kA=f((XMe,eO)=>{"use strict";var{isBlobLike:Ph,iteratorMixin:Kte}=Kr(),{kState:dr}=xo(),{kEnumerableProperty:il}=pe(),{FileLike:jM,isFileLike:Xte}=Kw(),{webidl:Oe}=Wt(),{File:ZM}=require("node:buffer"),KM=require("node:util"),XM=globalThis.File??ZM,PA=class t{static{o(this,"FormData")}constructor(e){if(Oe.util.markAsUncloneable(this),e!==void 0)throw Oe.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[dr]=[]}append(e,r,s=void 0){Oe.brandCheck(this,t);let n="FormData.append";if(Oe.argumentLengthCheck(arguments,2,n),arguments.length===3&&!Ph(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Oe.converters.USVString(e,n,"name"),r=Ph(r)?Oe.converters.Blob(r,n,"value",{strict:!1}):Oe.converters.USVString(r,n,"value"),s=arguments.length===3?Oe.converters.USVString(s,n,"filename"):void 0;let i=Xw(e,r,s);this[dr].push(i)}delete(e){Oe.brandCheck(this,t);let r="FormData.delete";Oe.argumentLengthCheck(arguments,1,r),e=Oe.converters.USVString(e,r,"name"),this[dr]=this[dr].filter(s=>s.name!==e)}get(e){Oe.brandCheck(this,t);let r="FormData.get";Oe.argumentLengthCheck(arguments,1,r),e=Oe.converters.USVString(e,r,"name");let s=this[dr].findIndex(n=>n.name===e);return s===-1?null:this[dr][s].value}getAll(e){Oe.brandCheck(this,t);let r="FormData.getAll";return Oe.argumentLengthCheck(arguments,1,r),e=Oe.converters.USVString(e,r,"name"),this[dr].filter(s=>s.name===e).map(s=>s.value)}has(e){Oe.brandCheck(this,t);let r="FormData.has";return Oe.argumentLengthCheck(arguments,1,r),e=Oe.converters.USVString(e,r,"name"),this[dr].findIndex(s=>s.name===e)!==-1}set(e,r,s=void 0){Oe.brandCheck(this,t);let n="FormData.set";if(Oe.argumentLengthCheck(arguments,2,n),arguments.length===3&&!Ph(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Oe.converters.USVString(e,n,"name"),r=Ph(r)?Oe.converters.Blob(r,n,"name",{strict:!1}):Oe.converters.USVString(r,n,"name"),s=arguments.length===3?Oe.converters.USVString(s,n,"name"):void 0;let i=Xw(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)}[KM.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=KM.formatWithOptions(r,s);return`FormData ${n.slice(n.indexOf("]")+2)}`}};Kte("FormData",PA,dr,"name","value");Object.defineProperties(PA.prototype,{append:il,delete:il,get:il,getAll:il,has:il,set:il,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function Xw(t,e,r){if(typeof e!="string"){if(Xte(e)||(e=e instanceof Blob?new XM([e],"blob",{type:e.type}):new jM(e,"blob",{type:e.type})),r!==void 0){let s={type:e.type,lastModified:e.lastModified};e=e instanceof ZM?new XM([e],r,s):new jM(e,r,s)}}return{name:t,value:e}}o(Xw,"makeEntry");eO.exports={FormData:PA,makeEntry:Xw}});var oO=f((eOe,iO)=>{"use strict";var{isUSVString:tO,bufferToLowerCasedHeaderName:Zte}=pe(),{utf8DecodeBytes:ere}=Kr(),{HTTP_TOKEN_CODEPOINTS:tre,isomorphicDecode:rO}=vr(),{isFileLike:rre}=Kw(),{makeEntry:sre}=kA(),kh=require("node:assert"),{File:nre}=require("node:buffer"),ire=globalThis.File??nre,ore=Buffer.from('form-data; name="'),sO=Buffer.from("; filename"),are=Buffer.from("--"),cre=Buffer.from(`--\r `);function lre(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(ure,"validateBoundary");function Are(t,e){kh(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&&Dh(t,are,i)||i.position===t.length-4&&Dh(t,cre,i))return n;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=dre(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",lre(A)||(A=""),m=new ire([p],u,{type:A})):m=ere(Buffer.from(p)),kh(tO(l)),kh(typeof m=="string"&&tO(m)||rre(m)),n.push(sre(l,m,u))}}o(Are,"multipartFormDataParser");function dre(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=ol(c=>c!==10&&c!==13&&c!==58,t,e);if(a=Zw(a,!0,!0,c=>c===9||c===32),!tre.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,ol(c=>c===32||c===9,t,e),Zte(a)){case"content-disposition":{if(r=s=null,!Dh(t,ore,e)||(e.position+=17,r=nO(t,e),r===null))return"failure";if(Dh(t,sO,e)){let c=e.position+sO.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,s=nO(t,e),s===null))return"failure"}break}case"content-type":{let c=ol(l=>l!==10&&l!==13,t,e);c=Zw(c,!1,!0,l=>l===9||l===32),n=rO(c);break}case"content-transfer-encoding":{let c=ol(l=>l!==10&&l!==13,t,e);c=Zw(c,!1,!0,l=>l===9||l===32),i=rO(c);break}default:ol(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(dre,"parseMultipartFormDataHeaders");function nO(t,e){kh(t[e.position-1]===34);let r=ol(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(nO,"parseMultipartFormDataName");function ol(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(Zw,"removeChars");function Dh(t,e,r){if(t.length{"use strict";var DA=pe(),{ReadableStreamFrom:pre,isBlobLike:aO,isReadableStreamLike:mre,readableStreamClose:hre,createDeferredPromise:fre,fullyReadBody:gre,extractMimeType:Ere,utf8DecodeBytes:uO}=Kr(),{FormData:cO}=kA(),{kState:cl}=xo(),{webidl:yre}=Wt(),{Blob:Cre}=require("node:buffer"),eb=require("node:assert"),{isErrored:AO,isDisturbed:Ire}=require("node:stream"),{isArrayBuffer:Bre}=require("node:util/types"),{serializeAMimeType:wre}=vr(),{multipartFormDataParser:bre}=oO(),tb;try{let t=require("node:crypto");tb=o(e=>t.randomInt(0,e),"random")}catch{tb=o(t=>Math.floor(Math.random(t)),"random")}var _h=new TextEncoder;function Qre(){}o(Qre,"noop");var dO=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,pO;dO&&(pO=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!Ire(e)&&!AO(e)&&e.cancel("Response object has been garbage collected").catch(Qre)}));function mO(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"?_h.encode(n):n;u.byteLength&&l.enqueue(u),queueMicrotask(()=>hre(l))},start(){},type:"bytes"}),eb(mre(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(Bre(t))n=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))n=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(DA.isFormDataLike(t)){let l=`----formdata-undici-0${`${tb(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=_h.encode(u+`; name="${A(d(C))}"\r \r ${d(E)}\r `);p.push(y),i+=y.byteLength}else{let y=_h.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 g=_h.encode(`--${l}--\r `);p.push(g),i+=g.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(DA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:pre(t)}if((typeof n=="string"||DA.isBuffer(n))&&(i=Buffer.byteLength(n)),s!=null){let l;r=new ReadableStream({async start(){l=s(t)[Symbol.asyncIterator]()},async pull(u){let{value:A,done:d}=await l.next();if(d)queueMicrotask(()=>{u.close(),u.byobRequest?.respond(0)});else if(!AO(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(mO,"extractBody");function xre(t,e=!1){return t instanceof ReadableStream&&(eb(!DA.isDisturbed(t),"The body has already been consumed."),eb(!t.locked,"The stream is locked.")),mO(t,e)}o(xre,"safelyExtractBody");function Nre(t,e){let[r,s]=e.stream.tee();return e.stream=r,{stream:s,length:e.length,source:e.source}}o(Nre,"cloneBody");function Sre(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(Sre,"throwIfAborted");function Rre(t){return{blob(){return al(this,r=>{let s=lO(this);return s===null?s="":s&&(s=wre(s)),new Cre([r],{type:s})},t)},arrayBuffer(){return al(this,r=>new Uint8Array(r).buffer,t)},text(){return al(this,uO,t)},json(){return al(this,vre,t)},formData(){return al(this,r=>{let s=lO(this);if(s!==null)switch(s.essence){case"multipart/form-data":{let n=bre(r,s);if(n==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new cO;return i[cl]=n,i}case"application/x-www-form-urlencoded":{let n=new URLSearchParams(r.toString()),i=new cO;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(Rre,"bodyMixinMethods");function Tre(t){Object.assign(t.prototype,Rre(t))}o(Tre,"mixinBody");async function al(t,e,r){if(yre.brandCheck(t,r),hO(t))throw new TypeError("Body is unusable: Body has already been read");Sre(t[cl]);let s=fre(),n=o(a=>s.reject(a),"errorSteps"),i=o(a=>{try{s.resolve(e(a))}catch(c){n(c)}},"successSteps");return t[cl].body==null?(i(Buffer.allocUnsafe(0)),s.promise):(await gre(t[cl].body,i,n),s.promise)}o(al,"consumeBody");function hO(t){let e=t[cl].body;return e!=null&&(e.stream.locked||DA.isDisturbed(e.stream))}o(hO,"bodyUnusable");function vre(t){return JSON.parse(uO(t))}o(vre,"parseJSONFromBytes");function lO(t){let e=t[cl].headersList,r=Ere(e);return r==="failure"?null:r}o(lO,"bodyMimeType");fO.exports={extractBody:mO,safelyExtractBody:xre,cloneBody:Nre,mixinBody:Tre,streamRegistry:pO,hasFinalizationRegistry:dO,bodyUnusable:hO}});var PO=f((nOe,vO)=>{"use strict";var W=require("node:assert"),X=pe(),{channels:gO}=jc(),rb=Mw(),{RequestContentLengthMismatchError:Qa,ResponseContentLengthMismatchError:EO,RequestAbortedError:xO,InvalidArgumentError:Pre,HeadersTimeoutError:kre,HeadersOverflowError:Dre,SocketError:ul,InformationalError:Al,BodyTimeoutError:_re,HTTPParserError:Lre,ResponseExceededMaxSizeError:Mre}=Qe(),{kUrl:NO,kReset:Pr,kClient:Fh,kParser:qe,kBlocking:MA,kRunning:xt,kPending:SO,kSize:yO,kWriting:No,kQueue:on,kNoRef:_A,kKeepAliveDefaultTimeout:Ore,kHostHeader:Fre,kPendingIdx:Ure,kRunningIdx:xs,kError:pr,kPipelining:Uh,kSocket:xa,kKeepAliveTimeoutValue:Gh,kMaxHeadersSize:sb,kKeepAliveMaxTimeout:qre,kKeepAliveTimeoutThreshold:Gre,kHeadersTimeout:Hre,kBodyTimeout:zre,kStrictContentLength:ob,kMaxRequests:CO,kCounter:$re,kMaxResponseSize:Vre,kOnError:IO,kResume:qi,kHTTPContext:RO}=Ye(),Xr=pM(),BO=Buffer.alloc(0),Lh=Buffer[Symbol.species],Mh=X.addListener,Yre=X.removeAllListeners,Na=Symbol("kIdleSocketValidation"),dl=Symbol("kIdleSocketValidationTimeout"),ub=Symbol("kSocketUsed"),nb;async function Jre(){let t=process.env.JEST_WORKER_ID?Uw():void 0,e;try{e=await WebAssembly.compile(fM())}catch{e=await WebAssembly.compile(t||Uw())}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(st.ptr===r);let i=s-Un+Fn.byteOffset;return st.onStatus(new Lh(Fn.buffer,i,n))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(W(st.ptr===r),st.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,s,n)=>{W(st.ptr===r);let i=s-Un+Fn.byteOffset;return st.onHeaderField(new Lh(Fn.buffer,i,n))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,s,n)=>{W(st.ptr===r);let i=s-Un+Fn.byteOffset;return st.onHeaderValue(new Lh(Fn.buffer,i,n))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,s,n,i)=>(W(st.ptr===r),st.onHeadersComplete(s,!!n,!!i)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,s,n)=>{W(st.ptr===r);let i=s-Un+Fn.byteOffset;return st.onBody(new Lh(Fn.buffer,i,n))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(W(st.ptr===r),st.onMessageComplete()||0),"wasm_on_message_complete")}})}o(Jre,"lazyllhttp");var ib=null,ab=Jre();ab.catch();var st=null,Fn=null,Oh=0,Un=null,Wre=0,LA=1,pl=2|LA,qh=4|LA,cb=8|Wre,lb=class{static{o(this,"Parser")}constructor(e,r,{exports:s}){W(Number.isFinite(e[sb])&&e[sb]>0),this.llhttp=s,this.ptr=this.llhttp.llhttp_alloc(Xr.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[sb],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[Vre]}setTimeout(e,r){e!==this.timeoutValue||r&LA^this.timeoutType&LA?(this.timeout&&(rb.clearTimeout(this.timeout),this.timeout=null),e&&(r&LA?this.timeout=rb.setFastTimeout(wO,e,new WeakRef(this)):(this.timeout=setTimeout(wO,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(st==null),this.llhttp.llhttp_resume(this.ptr),W(this.timeoutType===qh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||BO),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(st==null),W(!this.paused);let{socket:r,llhttp:s}=this;e.length>Oh&&(Un&&s.free(Un),Oh=Math.ceil(e.length/4096)*4096,Un=s.malloc(Oh)),new Uint8Array(s.memory.buffer,Un,Oh).set(e);try{let n;try{Fn=e,st=this,n=s.llhttp_execute(this.ptr,Un,e.length)}catch(a){throw a}finally{st=null,Fn=null}let i=s.llhttp_get_error_pos(this.ptr)-Un;if(n!==Xr.ERROR.OK){let a=e.subarray(i);if(n===Xr.ERROR.PAUSED_UPGRADE)this.onUpgrade(a);else if(n===Xr.ERROR.PAUSED)this.paused=!0,r.unshift(a);else throw this.createError(n,a)}}catch(n){X.destroy(r,n)}}finish(){W(st===null),W(this.ptr!=null),W(!this.paused);let{llhttp:e}=this,r;try{st=this,r=e.llhttp_finish(this.ptr)}finally{st=null}return r===Xr.ERROR.OK?null:r===Xr.ERROR.PAUSED||r===Xr.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,BO)}createError(e,r){let{llhttp:s,contentLength:n,bytesRead:i}=this;if(n&&i!==parseInt(n,10))return new EO;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 Lre(c,Xr.ERROR[e],r)}destroy(){W(this.ptr!=null),W(st==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&rb.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 ul("bad response",X.getSocketInfo(e))),-1;let s=r[on][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 Dre)}onUpgrade(e){let{upgrade:r,client:s,socket:n,headers:i,statusCode:a}=this;W(r),W(s[xa]===n),W(!n.destroyed),W(!this.paused),W((i.length&1)===0);let c=s[on][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[qe].destroy(),n[qe]=null,n[Fh]=null,n[pr]=null,Yre(n),s[xa]=null,s[RO]=null,s[on][s[xs]++]=null,s.emit("disconnect",s[NO],[s],new Al("upgrade"));try{c.onUpgrade(a,i,n)}catch(l){X.destroy(n,l)}s[qi]()}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 ul("bad response",X.getSocketInfo(i))),-1;let l=n[on][n[xs]];if(!l)return-1;if(W(!this.upgrade),W(this.statusCode<200),e===100)return X.destroy(i,new ul("bad response",X.getSocketInfo(i))),-1;if(r&&!l.upgrade)return X.destroy(i,new ul("bad upgrade",X.getSocketInfo(i))),-1;if(W(this.timeoutType===pl),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[zre];this.setTimeout(A,qh)}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[Uh]){let A=this.keepAlive?X.parseKeepAliveTimeout(this.keepAlive):null;if(A!=null){let d=Math.min(A-n[Gre],n[qre]);d<=0?i[Pr]=!0:n[Gh]=d}else n[Gh]=n[Ore]}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[MA]&&(i[MA]=!1,n[qi]()),u?Xr.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:s,statusCode:n,maxResponseSize:i}=this;if(s.destroyed)return-1;let a=r[on][r[xs]];if(W(a),W(this.timeoutType===qh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),W(n>=200),i>-1&&this.bytesRead+e.length>i)return X.destroy(s,new Mre),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return Xr.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[on][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 EO),-1;if(u.onComplete(i),e[on][e[xs]++]=null,r[ub]=!0,r[No])return W(e[xt]===0),X.destroy(r,new Al("reset")),Xr.ERROR.PAUSED;if(l){if(r[Pr]&&e[xt]===0)return X.destroy(r,new Al("reset")),Xr.ERROR.PAUSED;e[Uh]==null||e[Uh]===1?setImmediate(()=>e[qi]()):e[qi]()}else return X.destroy(r,new Al("reset")),Xr.ERROR.PAUSED}}};function wO(t){let{socket:e,timeoutType:r,client:s,paused:n}=t.deref();r===pl?(!e[No]||e.writableNeedDrain||s[xt]>1)&&(W(!n,"cannot be paused while waiting for headers"),X.destroy(e,new kre)):r===qh?n||X.destroy(e,new _re):r===cb&&(W(s[xt]===0&&s[Gh]),X.destroy(e,new Al("socket idle timeout")))}o(wO,"onParserTimeout");async function jre(t,e){t[xa]=e,ib||(ib=await ab,ab=null),e[_A]=!1,e[No]=!1,e[Pr]=!1,e[MA]=!1,e[Na]=0,e[dl]=null,e[ub]=!1,e[qe]=new lb(t,e,ib),Mh(e,"error",function(s){W(s.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let n=this[qe];if(s.code==="ECONNRESET"&&n.statusCode&&!n.shouldKeepAlive){let i=n.finish();i&&(this[pr]=i,this[Fh][IO](i));return}this[pr]=s,this[Fh][IO](s)}),Mh(e,"readable",function(){let s=this[qe];s&&s.readMore()}),Mh(e,"end",function(){let s=this[qe];if(s.statusCode&&!s.shouldKeepAlive){let n=s.finish();n&&X.destroy(this,n);return}X.destroy(this,new ul("other side closed",X.getSocketInfo(this)))}),Mh(e,"close",function(){let s=this[Fh],n=this[qe];TO(this),n&&(!this[pr]&&n.statusCode&&!n.shouldKeepAlive&&(this[pr]=n.finish()||this[pr]),this[qe].destroy(),this[qe]=null);let i=this[pr]||new ul("closed",X.getSocketInfo(this));if(s[xa]=null,s[RO]=null,s.destroyed){W(s[SO]===0);let a=s[on].splice(s[xs]);for(let c=0;c0&&i.code!=="UND_ERR_INFO"){let a=s[on][s[xs]];s[on][s[xs]++]=null,X.errorRequest(s,a,i)}s[Ure]=s[xs],W(s[xt]===0),s.emit("disconnect",s[NO],[s],i),s[qi]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...s){return ese(t,...s)},resume(){Xre(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[MA]||e[Na]===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(jre,"connectH1");function TO(t){t[dl]&&(clearImmediate(t[dl]),t[dl]=null),t[Na]=0}o(TO,"clearIdleSocketValidation");function Kre(t,e){e[Na]=1,e[dl]=setImmediate(()=>{e[dl]=null,e[Na]=2,t[xa]===e&&!e.destroyed&&t[qi]()})}o(Kre,"scheduleIdleSocketValidation");function Xre(t){let e=t[xa];if(e&&!e.destroyed){if(t[yO]===0?!e[_A]&&e.unref&&(e.unref(),e[_A]=!0):e[_A]&&e.ref&&(e.ref(),e[_A]=!1),t[xt]===0&&t[SO]>0&&e[ub]){if(e[Na]===0)return Kre(t,e),e[qe].readMore(),e.destroyed,void 0;if(e[Na]===1)return e[qe].readMore(),e.destroyed,void 0}if(t[xt]===0&&(e[qe].readMore(),e.destroyed))return;if(t[yO]===0)e[qe].timeoutType!==cb&&e[qe].setTimeout(t[Gh],cb);else if(t[xt]>0&&e[qe].statusCode<200&&e[qe].timeoutType!==pl){let r=t[on][t[xs]],s=r.headersTimeout!=null?r.headersTimeout:t[Hre];e[qe].setTimeout(s,pl)}}}o(Xre,"resumeH1");function Zre(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(Zre,"shouldSendContentLength");function ese(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)){nb||(nb=ll().extractBody);let[C,E]=nb(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 Pre("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),Zre(r)&&A>0&&e.contentLength!==null&&e.contentLength!==A){if(t[ob])return X.errorRequest(t,e,new Qa),!1;process.emitWarning(new Qa)}let m=t[xa];TO(m);let h=o(C=>{e.aborted||e.completed||(X.errorRequest(t,e,C||new xO),X.destroy(l),X.destroy(m,new Al("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[CO]&&m[$re]++>=t[CO]&&(m[Pr]=!0),a&&(m[MA]=!0);let g=`${r} ${s} HTTP/1.1\r `;if(typeof n=="string"?g+=`host: ${n}\r `:g+=t[Fre],i?g+=`connection: upgrade\r upgrade: ${i}\r `:t[Uh]&&!m[Pr]?g+=`connection: keep-alive\r `:g+=`connection: close\r `,Array.isArray(u))for(let C=0;C{e.removeListener("error",m)}),!l){let h=new xO;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(g){h=g}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(tse,"writeStream");function bO(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[qi]()}catch(l){t(l)}}o(bO,"writeBuffer");async function rse(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 Qa;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[qi]()}catch(l){t(l)}}o(rse,"writeBlob");async function QO(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 Hh({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(QO,"writeIterable");var Hh=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[ob])throw new Qa;process.emitWarning(new Qa)}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[qe].timeout&&r[qe].timeoutType===pl&&r[qe].timeout.refresh&&r[qe].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[ob])throw new Qa;process.emitWarning(new Qa)}e[qe].timeout&&e[qe].timeoutType===pl&&e[qe].timeout.refresh&&e[qe].timeout.refresh(),s[qi]()}}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))}};vO.exports=jre});var UO=f((oOe,FO)=>{"use strict";var Ns=require("node:assert"),{pipeline:sse}=require("node:stream"),ge=pe(),{RequestContentLengthMismatchError:Ab,RequestAbortedError:kO,SocketError:OA,InformationalError:db}=Qe(),{kUrl:zh,kReset:Vh,kClient:ml,kRunning:Yh,kPending:nse,kQueue:So,kPendingIdx:pb,kRunningIdx:an,kError:ln,kSocket:qt,kStrictContentLength:ise,kOnError:mb,kMaxConcurrentStreams:OO,kHTTP2Session:cn,kResume:Ro,kSize:ose,kHTTPContext:ase}=Ye(),Gi=Symbol("open streams"),DO,_O=!1,$h;try{$h=require("node:http2")}catch{$h={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:cse,HTTP2_HEADER_METHOD:lse,HTTP2_HEADER_PATH:use,HTTP2_HEADER_SCHEME:Ase,HTTP2_HEADER_CONTENT_LENGTH:dse,HTTP2_HEADER_EXPECT:pse,HTTP2_HEADER_STATUS:mse}}=$h;function hse(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(hse,"parseH2Headers");async function fse(t,e){t[qt]=e,_O||(_O=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=$h.connect(t[zh],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[OO]});r[Gi]=0,r[ml]=t,r[qt]=e,ge.addListener(r,"error",Ese),ge.addListener(r,"frameError",yse),ge.addListener(r,"end",Cse),ge.addListener(r,"goaway",Ise),ge.addListener(r,"close",function(){let{[ml]:n}=this,{[qt]:i}=n,a=this[qt][ln]||this[ln]||new OA("closed",ge.getSocketInfo(i));if(n[cn]=null,n.destroyed){Ns(n[nse]===0);let c=n[So].splice(n[an]);for(let l=0;l{s=!0}),{version:"h2",defaultPipelining:1/0,write(...n){return wse(t,...n)},resume(){gse(t)},destroy(n,i){s?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(fse,"connectH2");function gse(t){let e=t[qt];e?.destroyed===!1&&(t[ose]===0&&t[OO]===0?(e.unref(),t[cn].unref()):(e.ref(),t[cn].ref()))}o(gse,"resumeH2");function Ese(t){Ns(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[qt][ln]=t,this[ml][mb](t)}o(Ese,"onHttp2SessionError");function yse(t,e,r){if(r===0){let s=new db(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[qt][ln]=s,this[ml][mb](s)}}o(yse,"onHttp2FrameError");function Cse(){let t=new OA("other side closed",ge.getSocketInfo(this[qt]));this.destroy(t),ge.destroy(this[qt],t)}o(Cse,"onHttp2SessionEnd");function Ise(t){let e=this[ln]||new OA(`HTTP/2: "GOAWAY" frame received with code ${t}`,ge.getSocketInfo(this)),r=this[ml];if(r[qt]=null,r[ase]=null,this[cn]!=null&&(this[cn].destroy(e),this[cn]=null),ge.destroy(this[qt],e),r[an]{e.aborted||e.completed||(B=B||new kO,ge.errorRequest(t,e,B),p!=null&&ge.destroy(p,B),ge.destroy(A,B),t[So][t[an]++]=null,t[Ro]())},"abort");try{e.onConnect(g)}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[Gi],t[So][t[an]++]=null):p.once("ready",()=>{e.onUpgrade(null,null,p),++r[Gi],t[So][t[an]++]=null}),p.once("close",()=>{r[Gi]-=1,r[Gi]===0&&r.unref()}),!0;d[use]=n,d[Ase]="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)){DO??=ll().extractBody;let[B,x]=DO(A);d["content-type"]=x,A=B.stream,E=B.length}if(E==null&&(E=e.contentLength),(E===0||!C)&&(E=null),Bse(s)&&E>0&&e.contentLength!=null&&e.contentLength!==E){if(t[ise])return ge.errorRequest(t,e,new Ab),!1;process.emitWarning(new Ab)}E!=null&&(Ns(A,"no body must not have content length"),d[dse]=`${E}`),r.ref();let y=s==="GET"||s==="HEAD"||A===null;return c?(d[pse]="100-continue",p=r.request(d,{endStream:y,signal:l}),p.once("continue",I)):(p=r.request(d,{endStream:y,signal:l}),I()),++r[Gi],p.once("response",B=>{let{[mse]:x,...R}=B;if(e.onResponseStarted(),e.aborted){let q=new kO;ge.errorRequest(t,e,q),ge.destroy(p,q);return}e.onHeaders(Number(x),hse(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[Gi]===0&&r.unref(),g(new db("HTTP/2: stream half-closed (remote)")),t[So][t[an]++]=null,t[pb]=t[an],t[Ro]()}),p.once("close",()=>{r[Gi]-=1,r[Gi]===0&&r.unref()}),p.once("error",function(B){g(B)}),p.once("frameError",(B,x)=>{g(new db(`HTTP/2: "frameError" received - type ${B}, code ${x}`))}),!0;function I(){!A||E===0?LO(g,p,null,t,e,t[qt],E,C):ge.isBuffer(A)?LO(g,p,A,t,e,t[qt],E,C):ge.isBlobLike(A)?typeof A.stream=="function"?MO(g,p,A.stream(),t,e,t[qt],E,C):Qse(g,p,A,t,e,t[qt],E,C):ge.isStream(A)?bse(g,t[qt],C,p,A,t,e,E):ge.isIterable(A)?MO(g,p,A,t,e,t[qt],E,C):Ns(!1)}o(I,"writeBodyH2")}o(wse,"writeH2");function LO(t,e,r,s,n,i,a,c){try{r!=null&&ge.isBuffer(r)&&(Ns(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),n.onBodySent(r)),c||(i[Vh]=!0),n.onRequestSent(),s[Ro]()}catch(l){t(l)}}o(LO,"writeBuffer");function bse(t,e,r,s,n,i,a,c){Ns(c!==0||i[Yh]===0,"stream body cannot be pipelined");let l=sse(n,s,A=>{A?(ge.destroy(l,A),t(A)):(ge.removeAllListeners(l),a.onRequestSent(),r||(e[Vh]=!0),i[Ro]())});ge.addListener(l,"data",u);function u(A){a.onBodySent(A)}o(u,"onPipeData")}o(bse,"writeStream");async function Qse(t,e,r,s,n,i,a,c){Ns(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new Ab;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),n.onBodySent(l),n.onRequestSent(),c||(i[Vh]=!0),s[Ro]()}catch(l){t(l)}}o(Qse,"writeBlob");async function MO(t,e,r,s,n,i,a,c){Ns(a!==0||s[Yh]===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)=>{Ns(l===null),i[ln]?p(i[ln]):l=d}),"waitForDrain");e.on("close",u).on("drain",u);try{for await(let d of r){if(i[ln])throw i[ln];let p=e.write(d);n.onBodySent(d),p||await A()}e.end(),n.onRequestSent(),c||(i[Vh]=!0),s[Ro]()}catch(d){t(d)}finally{e.off("close",u).off("drain",u)}}o(MO,"writeIterable");FO.exports=fse});var Wh=f((cOe,HO)=>{"use strict";var qn=pe(),{kBodyUsed:FA}=Ye(),fb=require("node:assert"),{InvalidArgumentError:xse}=Qe(),Nse=require("node:events"),Sse=[300,301,302,303,307,308],qO=Symbol("body"),Jh=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[qO]=e,this[FA]=!1}async*[Symbol.asyncIterator](){fb(!this[FA],"disturbed"),this[FA]=!0,yield*this[qO]}},hb=class{static{o(this,"RedirectHandler")}constructor(e,r,s,n){if(r!=null&&(!Number.isInteger(r)||r<0))throw new xse("maxRedirections must be a positive number");qn.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,qn.isStream(this.opts.body)?(qn.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){fb(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[FA]=!1,Nse.prototype.on.call(this.opts.body,"data",function(){this[FA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Jh(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&qn.isIterable(this.opts.body)&&(this.opts.body=new Jh(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||qn.isDisturbed(this.opts.body)?null:Rse(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}=qn.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=Tse(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 Rse(t,e){if(Sse.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var vse=Wh();function Pse({maxRedirections:t}){return e=>o(function(s,n){let{maxRedirections:i=t}=s;if(!i)return e(s,n);let a=new vse(e,i,s,n);return s={...s,maxRedirections:0},e(s,a)},"Intercept")}o(Pse,"createRedirectInterceptor");zO.exports=Pse});var gl=f((dOe,eF)=>{"use strict";var Hi=require("node:assert"),jO=require("node:net"),kse=require("node:http"),Sa=pe(),{channels:hl}=jc(),Dse=eM(),_se=el(),{InvalidArgumentError:mt,InformationalError:Lse,ClientDestroyedError:Mse}=Qe(),Ose=xA(),{kUrl:Gn,kServerName:To,kClient:Fse,kBusy:gb,kConnect:Use,kResuming:Ra,kRunning:zA,kPending:$A,kSize:HA,kQueue:un,kConnected:qse,kConnecting:fl,kNeedDrain:Po,kKeepAliveDefaultTimeout:$O,kHostHeader:Gse,kPendingIdx:An,kRunningIdx:zi,kError:Hse,kPipelining:Kh,kKeepAliveTimeoutValue:zse,kMaxHeadersSize:$se,kKeepAliveMaxTimeout:Vse,kKeepAliveTimeoutThreshold:Yse,kHeadersTimeout:Jse,kBodyTimeout:Wse,kStrictContentLength:jse,kConnector:UA,kMaxRedirections:Kse,kMaxRequests:Eb,kCounter:Xse,kClose:Zse,kDestroy:ene,kDispatch:tne,kInterceptors:VO,kLocalAddress:qA,kMaxResponseSize:rne,kOnError:sne,kHTTPContext:ht,kMaxConcurrentStreams:nne,kResume:GA}=Ye(),ine=PO(),one=UO(),YO=!1,vo=Symbol("kClosedResolve"),JO=o(()=>{},"noop");function KO(t){return t[Kh]??t[ht]?.defaultPipelining??1}o(KO,"getPipelining");var yb=class extends _se{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:g,pipelining:C,tls:E,strictContentLength:y,maxCachedSessions:I,maxRedirections:B,connect:x,maxRequestsPerClient:R,localAddress:q,maxResponseSize:ye,autoSelectFamily:we,autoSelectFamilyAttemptTimeout:be,maxConcurrentStreams:xe,allowH2:se,webSocket:Me}={}){if(super({webSocket:Me}),A!==void 0)throw new mt("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new mt("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new mt("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(u!==void 0)throw new mt("unsupported idleTimeout, use keepAliveTimeout instead");if(p!==void 0)throw new mt("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(s!=null&&!Number.isFinite(s))throw new mt("invalid maxHeaderSize");if(g!=null&&typeof g!="string")throw new mt("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new mt("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new mt("invalid keepAliveTimeout");if(m!=null&&(!Number.isFinite(m)||m<=0))throw new mt("invalid keepAliveMaxTimeout");if(h!=null&&!Number.isFinite(h))throw new mt("invalid keepAliveTimeoutThreshold");if(n!=null&&(!Number.isInteger(n)||n<0))throw new mt("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new mt("bodyTimeout must be a positive integer or zero");if(x!=null&&typeof x!="function"&&typeof x!="object")throw new mt("connect must be a function or an object");if(B!=null&&(!Number.isInteger(B)||B<0))throw new mt("maxRedirections must be a positive number");if(R!=null&&(!Number.isInteger(R)||R<0))throw new mt("maxRequestsPerClient must be a positive number");if(q!=null&&(typeof q!="string"||jO.isIP(q)===0))throw new mt("localAddress must be valid string IP address");if(ye!=null&&(!Number.isInteger(ye)||ye<-1))throw new mt("maxResponseSize must be a positive number");if(be!=null&&(!Number.isInteger(be)||be<-1))throw new mt("autoSelectFamilyAttemptTimeout must be a positive number");if(se!=null&&typeof se!="boolean")throw new mt("allowH2 must be a valid boolean value");if(xe!=null&&(typeof xe!="number"||xe<1))throw new mt("maxConcurrentStreams must be a positive integer, greater than 0");typeof x!="function"&&(x=Ose({...E,maxCachedSessions:I,allowH2:se,socketPath:g,timeout:c,...we?{autoSelectFamily:we,autoSelectFamilyAttemptTimeout:be}:void 0,...x})),r?.Client&&Array.isArray(r.Client)?(this[VO]=r.Client,YO||(YO=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[VO]=[ane({maxRedirections:B})],this[Gn]=Sa.parseOrigin(e),this[UA]=x,this[Kh]=C??1,this[$se]=s||kse.maxHeaderSize,this[$O]=d??4e3,this[Vse]=m??6e5,this[Yse]=h??2e3,this[zse]=this[$O],this[To]=null,this[qA]=q??null,this[Ra]=0,this[Po]=0,this[Gse]=`host: ${this[Gn].hostname}${this[Gn].port?`:${this[Gn].port}`:""}\r `,this[Wse]=l??3e5,this[Jse]=n??3e5,this[jse]=y??!0,this[Kse]=B,this[Eb]=R,this[vo]=null,this[rne]=ye>-1?ye:-1,this[nne]=xe??100,this[ht]=null,this[un]=[],this[zi]=0,this[An]=0,this[GA]=ne=>Cb(this,ne),this[sne]=ne=>XO(this,ne)}get pipelining(){return this[Kh]}set pipelining(e){this[Kh]=e,this[GA](!0)}get[$A](){return this[un].length-this[An]}get[zA](){return this[An]-this[zi]}get[HA](){return this[un].length-this[zi]}get[qse](){return!!this[ht]&&!this[fl]&&!this[ht].destroyed}get[gb](){return!!(this[ht]?.busy(null)||this[HA]>=(KO(this)||1)||this[$A]>0)}[Use](e){ZO(this),this.once("connect",e)}[tne](e,r){let s=e.origin||this[Gn].origin,n=new Dse(s,e,r);return this[un].push(n),this[Ra]||(Sa.bodyLength(n.body)==null&&Sa.isIterable(n.body)?(this[Ra]=1,queueMicrotask(()=>Cb(this))):this[GA](!0)),this[Ra]&&this[Po]!==2&&this[gb]&&(this[Po]=2),this[Po]<2}async[Zse](){return new Promise(e=>{this[HA]?this[vo]=e:e(null)})}async[ene](e){return new Promise(r=>{let s=this[un].splice(this[An]);for(let i=0;i{this[vo]&&(this[vo](),this[vo]=null),r(null)},"callback");this[ht]?(this[ht].destroy(e,n),this[ht]=null):queueMicrotask(n),this[GA]()})}},ane=jh();function XO(t,e){if(t[zA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){Hi(t[An]===t[zi]);let r=t[un].splice(t[zi]);for(let s=0;s{t[UA]({host:e,hostname:r,protocol:s,port:n,servername:t[To],localAddress:t[qA]},(l,u)=>{l?c(l):a(u)})});if(t.destroyed){Sa.destroy(i.on("error",JO),new Mse);return}Hi(i);try{t[ht]=i.alpnProtocol==="h2"?await one(t,i):await ine(t,i)}catch(a){throw i.destroy().on("error",JO),a}t[fl]=!1,i[Xse]=0,i[Eb]=t[Eb],i[Fse]=t,i[Hse]=null,hl.connected.hasSubscribers&&hl.connected.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[ht]?.version,servername:t[To],localAddress:t[qA]},connector:t[UA],socket:i}),t.emit("connect",t[Gn],[t])}catch(i){if(t.destroyed)return;if(t[fl]=!1,hl.connectError.hasSubscribers&&hl.connectError.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[ht]?.version,servername:t[To],localAddress:t[qA]},connector:t[UA],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(Hi(t[zA]===0);t[$A]>0&&t[un][t[An]].servername===t[To];){let a=t[un][t[An]++];Sa.errorRequest(t,a,i)}else XO(t,i);t.emit("connectionError",t[Gn],[t],i)}t[GA]()}o(ZO,"connect");function WO(t){t[Po]=0,t.emit("drain",t[Gn],[t])}o(WO,"emitDrain");function Cb(t,e){t[Ra]!==2&&(t[Ra]=2,cne(t,e),t[Ra]=0,t[zi]>256&&(t[un].splice(0,t[zi]),t[An]-=t[zi],t[zi]=0))}o(Cb,"resume");function cne(t,e){for(;;){if(t.destroyed){Hi(t[$A]===0);return}if(t[vo]&&!t[HA]){t[vo](),t[vo]=null;return}if(t[ht]&&t[ht].resume(),t[gb])t[Po]=2;else if(t[Po]===2){e?(t[Po]=1,queueMicrotask(()=>WO(t))):WO(t);continue}if(t[$A]===0||t[zA]>=(KO(t)||1))return;let r=t[un][t[An]];if(t[Gn].protocol==="https:"&&t[To]!==r.servername){if(t[zA]>0)return;t[To]=r.servername,t[ht]?.destroy(new Lse("servername changed"),()=>{t[ht]=null,Cb(t)})}if(t[fl])return;if(!t[ht]){ZO(t);return}if(t[ht].destroyed||t[ht].busy(r))return;!r.aborted&&t[ht].write(r)?t[An]++:t[un].splice(t[An],1)}}o(cne,"_resume");eF.exports=yb});var Ib=f((hOe,tF)=>{"use strict";var Xh=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)}};tF.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new Xh}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new Xh),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var sF=f((gOe,rF)=>{var{kFree:lne,kConnected:une,kPending:Ane,kQueued:dne,kRunning:pne,kSize:mne}=Ye(),Ta=Symbol("pool"),Bb=class{static{o(this,"PoolStats")}constructor(e){this[Ta]=e}get connected(){return this[Ta][une]}get free(){return this[Ta][lne]}get pending(){return this[Ta][Ane]}get queued(){return this[Ta][dne]}get running(){return this[Ta][pne]}get size(){return this[Ta][mne]}};rF.exports=Bb});var Sb=f((yOe,pF)=>{"use strict";var hne=el(),fne=Ib(),{kConnected:wb,kSize:nF,kRunning:iF,kPending:oF,kQueued:VA,kBusy:gne,kFree:Ene,kUrl:yne,kClose:Cne,kDestroy:Ine,kDispatch:Bne}=Ye(),wne=sF(),kr=Symbol("clients"),mr=Symbol("needDrain"),YA=Symbol("queue"),bb=Symbol("closed resolve"),Qb=Symbol("onDrain"),aF=Symbol("onConnect"),cF=Symbol("onDisconnect"),lF=Symbol("onConnectionError"),xb=Symbol("get dispatcher"),AF=Symbol("add client"),dF=Symbol("remove client"),uF=Symbol("stats"),Nb=class extends hne{static{o(this,"PoolBase")}constructor(e){super(e),this[YA]=new fne,this[kr]=[],this[VA]=0;let r=this;this[Qb]=o(function(n,i){let a=r[YA],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[VA]--,c=!this.dispatch(l.opts,l.handler)}this[mr]=c,!this[mr]&&r[mr]&&(r[mr]=!1,r.emit("drain",n,[r,...i])),r[bb]&&a.isEmpty()&&Promise.all(r[kr].map(l=>l.close())).then(r[bb])},"onDrain"),this[aF]=(s,n)=>{r.emit("connect",s,[r,...n])},this[cF]=(s,n,i)=>{r.emit("disconnect",s,[r,...n],i)},this[lF]=(s,n,i)=>{r.emit("connectionError",s,[r,...n],i)},this[uF]=new wne(this)}get[gne](){return this[mr]}get[wb](){return this[kr].filter(e=>e[wb]).length}get[Ene](){return this[kr].filter(e=>e[wb]&&!e[mr]).length}get[oF](){let e=this[VA];for(let{[oF]:r}of this[kr])e+=r;return e}get[iF](){let e=0;for(let{[iF]:r}of this[kr])e+=r;return e}get[nF](){let e=this[VA];for(let{[nF]:r}of this[kr])e+=r;return e}get stats(){return this[uF]}async[Cne](){this[YA].isEmpty()?await Promise.all(this[kr].map(e=>e.close())):await new Promise(e=>{this[bb]=e})}async[Ine](e){for(;;){let r=this[YA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[kr].map(r=>r.destroy(e)))}[Bne](e,r){let s=this[xb]();return s?s.dispatch(e,r)||(s[mr]=!0,this[mr]=!this[xb]()):(this[mr]=!0,this[YA].push({opts:e,handler:r}),this[VA]++),!this[mr]}[AF](e){return e.on("drain",this[Qb]).on("connect",this[aF]).on("disconnect",this[cF]).on("connectionError",this[lF]),this[kr].push(e),this[mr]&&queueMicrotask(()=>{this[mr]&&this[Qb](e[yne],[this,e])}),this}[dF](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)}};pF.exports={PoolBase:Nb,kClients:kr,kNeedDrain:mr,kAddClient:AF,kRemoveClient:dF,kGetDispatcher:xb}});var El=f((IOe,gF)=>{"use strict";var{PoolBase:bne,kClients:Zh,kNeedDrain:Qne,kAddClient:xne,kGetDispatcher:Nne}=Sb(),Sne=gl(),{InvalidArgumentError:Rb}=Qe(),mF=pe(),{kUrl:hF,kInterceptors:Rne}=Ye(),Tne=xA(),Tb=Symbol("options"),vb=Symbol("connections"),fF=Symbol("factory");function vne(t,e){return new Sne(t,e)}o(vne,"defaultFactory");var Pb=class extends bne{static{o(this,"Pool")}constructor(e,{connections:r,factory:s=vne,connect:n,connectTimeout:i,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:u,autoSelectFamilyAttemptTimeout:A,allowH2:d,...p}={}){if(r!=null&&(!Number.isFinite(r)||r<0))throw new Rb("invalid connections");if(typeof s!="function")throw new Rb("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Rb("connect must be a function or an object");typeof n!="function"&&(n=Tne({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:i,...u?{autoSelectFamily:u,autoSelectFamilyAttemptTimeout:A}:void 0,...n})),super(p),this[Rne]=p.interceptors?.Pool&&Array.isArray(p.interceptors.Pool)?p.interceptors.Pool:[],this[vb]=r||null,this[hF]=mF.parseOrigin(e),this[Tb]={...mF.deepClone(p),connect:n,allowH2:d},this[Tb].interceptors=p.interceptors?{...p.interceptors}:void 0,this[fF]=s,this.on("connectionError",(m,h,g)=>{for(let C of h){let E=this[Zh].indexOf(C);E!==-1&&this[Zh].splice(E,1)}})}[Nne](){for(let e of this[Zh])if(!e[Qne])return e;if(!this[vb]||this[Zh].length{"use strict";var{BalancedPoolMissingUpstreamError:Pne,InvalidArgumentError:kne}=Qe(),{PoolBase:Dne,kClients:tr,kNeedDrain:JA,kAddClient:_ne,kRemoveClient:Lne,kGetDispatcher:Mne}=Sb(),One=El(),{kUrl:kb,kInterceptors:Fne}=Ye(),{parseOrigin:EF}=pe(),yF=Symbol("factory"),ef=Symbol("options"),CF=Symbol("kGreatestCommonDivisor"),va=Symbol("kCurrentWeight"),Pa=Symbol("kIndex"),Ss=Symbol("kWeight"),tf=Symbol("kMaxWeightPerServer"),rf=Symbol("kErrorPenalty");function Une(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(Une,"getGreatestCommonDivisor");function qne(t,e){return new One(t,e)}o(qne,"defaultFactory");var Db=class extends Dne{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=qne,...s}={}){if(super(),this[ef]=s,this[Pa]=-1,this[va]=0,this[tf]=this[ef].maxWeightPerServer||100,this[rf]=this[ef].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new kne("factory must be a function.");this[Fne]=s.interceptors?.BalancedPool&&Array.isArray(s.interceptors.BalancedPool)?s.interceptors.BalancedPool:[],this[yF]=r;for(let n of e)this.addUpstream(n);this._updateBalancedPoolStats()}addUpstream(e){let r=EF(e).origin;if(this[tr].find(n=>n[kb].origin===r&&n.closed!==!0&&n.destroyed!==!0))return this;let s=this[yF](r,Object.assign({},this[ef]));this[_ne](s),s.on("connect",()=>{s[Ss]=Math.min(this[tf],s[Ss]+this[rf])}),s.on("connectionError",()=>{s[Ss]=Math.max(1,s[Ss]-this[rf]),this._updateBalancedPoolStats()}),s.on("disconnect",(...n)=>{let i=n[2];i&&i.code==="UND_ERR_SOCKET"&&(s[Ss]=Math.max(1,s[Ss]-this[rf]),this._updateBalancedPoolStats())});for(let n of this[tr])n[Ss]=this[tf];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;rn[kb].origin===r&&n.closed!==!0&&n.destroyed!==!0);return s&&this[Lne](s),this}get upstreams(){return this[tr].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[kb].origin)}[Mne](){if(this[tr].length===0)throw new Pne;if(!this[tr].find(i=>!i[JA]&&i.closed!==!0&&i.destroyed!==!0)||this[tr].map(i=>i[JA]).reduce((i,a)=>i&&a,!0))return;let s=0,n=this[tr].findIndex(i=>!i[JA]);for(;s++this[tr][n][Ss]&&!i[JA]&&(n=this[Pa]),this[Pa]===0&&(this[va]=this[va]-this[CF],this[va]<=0&&(this[va]=this[tf])),i[Ss]>=this[va]&&!i[JA])return i}return this[va]=this[tr][n][Ss],this[Pa]=n,this[tr][n]}};IF.exports=Db});var yl=f((QOe,RF)=>{"use strict";var{InvalidArgumentError:sf}=Qe(),{kClients:ko,kRunning:wF,kClose:Gne,kDestroy:Hne,kDispatch:zne,kInterceptors:$ne}=Ye(),Vne=el(),Yne=El(),Jne=gl(),Wne=pe(),jne=jh(),bF=Symbol("onConnect"),QF=Symbol("onDisconnect"),xF=Symbol("onConnectionError"),Kne=Symbol("maxRedirections"),NF=Symbol("onDrain"),SF=Symbol("factory"),_b=Symbol("options");function Xne(t,e){return e&&e.connections===1?new Jne(t,e):new Yne(t,e)}o(Xne,"defaultFactory");var Lb=class extends Vne{static{o(this,"Agent")}constructor({factory:e=Xne,maxRedirections:r=0,connect:s,...n}={}){if(typeof e!="function")throw new sf("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new sf("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new sf("maxRedirections must be a positive number");super(n),s&&typeof s!="function"&&(s={...s}),this[$ne]=n.interceptors?.Agent&&Array.isArray(n.interceptors.Agent)?n.interceptors.Agent:[jne({maxRedirections:r})],this[_b]={...Wne.deepClone(n),connect:s},this[_b].interceptors=n.interceptors?{...n.interceptors}:void 0,this[Kne]=r,this[SF]=e,this[ko]=new Map,this[NF]=(i,a)=>{this.emit("drain",i,[this,...a])},this[bF]=(i,a)=>{this.emit("connect",i,[this,...a])},this[QF]=(i,a,c)=>{this.emit("disconnect",i,[this,...a],c)},this[xF]=(i,a,c)=>{this.emit("connectionError",i,[this,...a],c)}}get[wF](){let e=0;for(let r of this[ko].values())e+=r[wF];return e}[zne](e,r){let s;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))s=String(e.origin);else throw new sf("opts.origin must be a non-empty string or URL.");let n=this[ko].get(s);return n||(n=this[SF](e.origin,this[_b]).on("drain",this[NF]).on("connect",this[bF]).on("disconnect",this[QF]).on("connectionError",this[xF]),this[ko].set(s,n)),n.dispatch(e,r)}async[Gne](){let e=[];for(let r of this[ko].values())e.push(r.close());this[ko].clear(),await Promise.all(e)}async[Hne](e){let r=[];for(let s of this[ko].values())r.push(s.destroy(e));this[ko].clear(),await Promise.all(r)}};RF.exports=Lb});var qb=f((NOe,UF)=>{"use strict";var{kProxy:Mb,kClose:_F,kDestroy:LF,kDispatch:TF,kInterceptors:Zne}=Ye(),{URL:ka}=require("node:url"),eie=yl(),MF=El(),OF=el(),{InvalidArgumentError:Cl,RequestAbortedError:tie,SecureProxyConnectionError:rie}=Qe(),vF=xA(),FF=gl(),nf=Symbol("proxy agent"),of=Symbol("proxy client"),Do=Symbol("proxy headers"),Ob=Symbol("request tls settings"),PF=Symbol("proxy tls settings"),kF=Symbol("connect endpoint function"),DF=Symbol("tunnel proxy");function sie(t){return t==="https:"?443:80}o(sie,"defaultProtocolPort");function nie(t,e){return new MF(t,e)}o(nie,"defaultFactory");var iie=o(()=>{},"noop");function oie(t,e){return e.connections===1?new FF(t,e):new MF(t,e)}o(oie,"defaultAgentFactory");var Fb=class extends OF{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:s,factory:n}){if(super(),!e)throw new Cl("Proxy URL is mandatory");this[Do]=r,n?this.#e=n(e,{connect:s}):this.#e=new FF(e,{connect:s})}[TF](e,r){let s=r.onHeaders;r.onHeaders=function(c,l,u){if(c===407){typeof r.onError=="function"&&r.onError(new Cl("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 ka(n);a.host=c}return e.headers={...this[Do],...a},this.#e[TF](e,r)}async[_F](){return this.#e.close()}async[LF](e){return this.#e.destroy(e)}},Ub=class extends OF{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof ka)&&!e.uri)throw new Cl("Proxy uri is mandatory");let{clientFactory:r=nie}=e;if(typeof r!="function")throw new Cl("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[Mb]={uri:i,protocol:l},this[Zne]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[Ob]=e.requestTls,this[PF]=e.proxyTls,this[Do]=e.headers||{},this[DF]=s,e.auth&&e.token)throw new Cl("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=vF({...e.proxyTls});this[kF]=vF({...e.requestTls});let m=e.factory||oie,h=o((g,C)=>{let{protocol:E}=new ka(g);return!this[DF]&&E==="http:"&&this[Mb].protocol==="http:"?new Fb(this[Mb].uri,{headers:this[Do],connect:p,factory:m}):m(g,C)},"factory");this[of]=r(n,{connect:p}),this[nf]=new eie({...e,factory:h,connect:o(async(g,C)=>{let E=g.host;g.port||(E+=`:${sie(g.protocol)}`);try{let{socket:y,statusCode:I}=await this[of].connect({origin:a,port:c,path:E,signal:g.signal,headers:{...this[Do],host:g.host},servername:this[PF]?.servername||d});if(I!==200&&(y.on("error",iie).destroy(),C(new tie(`Proxy response (${I}) !== 200 when HTTP Tunneling`))),g.protocol!=="https:"){C(null,y);return}let B;this[Ob]?B=this[Ob].servername:B=g.servername,this[kF]({...g,servername:B,httpSocket:y},C)}catch(y){y.code==="ERR_TLS_CERT_ALTNAME_INVALID"?C(new rie(y)):C(y)}},"connect")})}dispatch(e,r){let s=aie(e.headers);if(cie(s),s&&!("host"in s)&&!("Host"in s)){let{host:n}=new ka(e.origin);s.host=n}return this[nf].dispatch({...e,headers:s},r)}#e(e){return typeof e=="string"?new ka(e):e instanceof ka?e:new ka(e.uri)}async[_F](){await this[nf].close(),await this[of].close()}async[LF](){await this[nf].destroy(),await this[of].destroy()}};function aie(t){if(Array.isArray(t)){let e={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new Cl("Proxy-Authorization should be sent in ProxyAgent constructor")}o(cie,"throwIfProxyAuthIsSent");UF.exports=Ub});var VF=f((ROe,$F)=>{"use strict";var lie=el(),{kClose:uie,kDestroy:Aie,kClosed:qF,kDestroyed:GF,kDispatch:die,kNoProxyAgent:WA,kHttpProxyAgent:_o,kHttpsProxyAgent:Da}=Ye(),HF=qb(),pie=yl(),mie={"http:":80,"https:":443},zF=!1,Gb=class extends lie{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#r=null;constructor(e={}){super(),this.#r=e,zF||(zF=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:s,noProxy:n,...i}=e;this[WA]=new pie(i);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[_o]=new HF({...i,uri:a}):this[_o]=this[WA];let c=s??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[Da]=new HF({...i,uri:c}):this[Da]=this[_o],this.#s()}[die](e,r){let s=new URL(e.origin);return this.#i(s).dispatch(e,r)}async[uie](){await this[WA].close(),this[_o][qF]||await this[_o].close(),this[Da][qF]||await this[Da].close()}async[Aie](e){await this[WA].destroy(e),this[_o][GF]||await this[_o].destroy(e),this[Da][GF]||await this[Da].destroy(e)}#i(e){let{protocol:r,host:s,port:n}=e;return s=s.replace(/:\d*$/,"").toLowerCase(),n=Number.parseInt(n,10)||mie[r]||0,this.#n(s,n)?r==="https:"?this[Da]:this[_o]:this[WA]}#n(e,r){if(this.#o&&this.#s(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let s=0;s{"use strict";var jA=require("node:assert"),{kRetryHandlerDefaultRetry:YF}=Ye(),{RequestRetryError:_a}=Qe(),{isDisturbed:JF,parseHeaders:hie,parseRangeHeader:WF,wrapRequestBody:fie}=pe();function gie(t){let e=Date.now();return new Date(t).getTime()-e}o(gie,"calculateRetryAfterHeader");function jF(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 _a("Content-Length mismatch",r,{headers:t,data:{count:s}}):null}o(jF,"validatePartialResponseContentLength");var Hb=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:fie(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[YF],retryAfter:p??!0,maxTimeout:c??30*1e3,minTimeout:l??500,timeoutFactor:u??2,maxRetries:a??5,methods:A??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:m??[500,502,503,504,429],errorCodes:d??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.headersSent=!1,this.handler.onConnect(h=>{this.aborted=!0,this.abort?this.abort(h):this.reason=h})}checkpointResponseEnd(e,r){if(this.end==null&&this.opts.method!=="HEAD"){let s=e["content-length"];this.end=s!=null?Number(s)-1:null,jA(this.end==null||Number.isFinite(this.end),"invalid content-length")}this.resume=this.end!=null?r:null}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,r,s){this.handler.onUpgrade&&this.handler.onUpgrade(e,r,s)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[YF](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:g,methods:C}=u,{counter:E}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!g.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)?gie(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=hie(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 _a("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 _a("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let c=WF(i["content-range"]);if(!c)return this.abort(new _a("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new _a("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let l=jF(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 _a("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1):(this.resume=s,!0)}if(this.end==null){if(e===206){let c=WF(i["content-range"]);if(c==null)return this.headersSent=!0,this.handler.onHeaders(e,r,s,n);let l=jF(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:A,end:d=A-1}=c;jA(u!=null&&Number.isFinite(u),"content-range mismatch"),jA(d!=null&&Number.isFinite(d),"invalid content-length"),this.start=u,this.end=d}if(this.end==null){let c=i["content-length"];this.end=c!=null?Number(c)-1:null}return jA(Number.isFinite(this.start)),jA(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=s,this.headersSent=!0,this.etag=i.etag!=null?i.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,s,n)}let a=new _a("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||JF(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||JF(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")}};KF.exports=Hb});var ZF=f((kOe,XF)=>{"use strict";var Eie=bA(),yie=af(),zb=class extends Eie{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 yie({...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()}};XF.exports=zb});var jb=f((_Oe,cU)=>{"use strict";var nU=require("node:assert"),{Readable:Cie}=require("node:stream"),{RequestAbortedError:iU,NotSupportedError:Iie,InvalidArgumentError:Bie,AbortError:$b}=Qe(),oU=pe(),{ReadableStreamFrom:wie}=pe(),Zr=Symbol("kConsume"),KA=Symbol("kReading"),Lo=Symbol("kBody"),eU=Symbol("kAbort"),aU=Symbol("kContentType"),tU=Symbol("kContentLength"),bie=o(()=>{},"noop"),Vb=class extends Cie{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[eU]=r,this[Zr]=null,this[Lo]=null,this[aU]=s,this[tU]=n,this[KA]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new iU),e&&this[eU](),super.destroy(e)}_destroy(e,r){this[KA]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[KA]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let s=super.off(e,...r);return(e==="data"||e==="readable")&&(this[KA]=this.listenerCount("data")>0||this.listenerCount("readable")>0),s}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Zr]&&e!==null?(Jb(this[Zr],e),this[KA]?super.push(e):!0):super.push(e)}async text(){return XA(this,"text")}async json(){return XA(this,"json")}async blob(){return XA(this,"blob")}async bytes(){return XA(this,"bytes")}async arrayBuffer(){return XA(this,"arrayBuffer")}async formData(){throw new Iie}get bodyUsed(){return oU.isDisturbed(this)}get body(){return this[Lo]||(this[Lo]=wie(this),this[Zr]&&(this[Lo].getReader(),nU(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 Bie("signal must be an AbortSignal");return s?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((n,i)=>{this[tU]>r&&this.destroy(new $b);let a=o(()=>{this.destroy(s.reason??new $b)},"onAbort");s?.addEventListener("abort",a),this.on("close",function(){s?.removeEventListener("abort",a),s?.aborted?i(s.reason??new $b):n(null)}).on("error",bie).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function Qie(t){return t[Lo]&&t[Lo].locked===!0||t[Zr]}o(Qie,"isLocked");function xie(t){return oU.isDisturbed(t)||Qie(t)}o(xie,"isUnusable");async function XA(t,e){return nU(!t[Zr]),new Promise((r,s)=>{if(xie(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[Zr]={type:e,stream:t,resolve:r,reject:s,length:0,body:[]},t.on("error",function(n){Wb(this[Zr],n)}).on("close",function(){this[Zr].body!==null&&Wb(this[Zr],new iU)}),Nie(t[Zr])})})}o(XA,"consume");function Nie(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(Yb,"chunksDecode");function rU(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 Sie=require("node:assert"),{ResponseStatusCodeError:lU}=Qe(),{chunksDecode:uU}=jb(),Rie=128*1024;async function Tie({callback:t,body:e,contentType:r,statusCode:s,statusMessage:n,headers:i}){Sie(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>Rie){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${s}${n?`: ${n}`:""}`;if(s===204||!r||!c){queueMicrotask(()=>t(new lU(l,s,i)));return}let u=Error.stackTraceLimit;Error.stackTraceLimit=0;let A;try{AU(r)?A=JSON.parse(uU(a,c)):dU(r)&&(A=uU(a,c))}catch{}finally{Error.stackTraceLimit=u}queueMicrotask(()=>t(new lU(l,s,i,A)))}o(Tie,"getResolveErrorBodyCallback");var AU=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"),dU=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");pU.exports={getResolveErrorBodyCallback:Tie,isContentTypeApplicationJson:AU,isContentTypeText:dU}});var fU=f((FOe,Xb)=>{"use strict";var vie=require("node:assert"),{Readable:Pie}=jb(),{InvalidArgumentError:Il,RequestAbortedError:mU}=Qe(),es=pe(),{getResolveErrorBodyCallback:kie}=Kb(),{AsyncResource:Die}=require("node:async_hooks"),cf=class extends Die{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Il("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 Il("invalid callback");if(A&&(typeof A!="number"||A<0))throw new Il("invalid highWaterMark");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new Il("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new Il("invalid method");if(c&&typeof c!="function")throw new Il("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw es.isStream(a)&&es.destroy(a.on("error",es.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,es.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new mU:this.removeAbortListener=es.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new mU,this.res?es.destroy(this.res.on("error",es.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}vie(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"?es.parseRawHeaders(r):es.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let p=u==="raw"?es.parseHeaders(r):d,m=p["content-type"],h=p["content-length"],g=new Pie({resume:s,abort:c,contentType:m,contentLength:this.method!=="HEAD"&&h?Number(h):null,highWaterMark:A});this.removeAbortListener&&g.on("close",this.removeAbortListener),this.callback=null,this.res=g,i!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(kie,null,{callback:i,body:g,contentType:m,statusCode:e,statusMessage:n,headers:d}):this.runInAsyncScope(i,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:g,context:l}))}onData(e){return this.res.push(e)}onComplete(e){es.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(()=>{es.destroy(r,e)})),n&&(this.body=null,es.destroy(n,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function hU(t,e){if(e===void 0)return new Promise((r,s)=>{hU.call(this,t,(n,i)=>n?s(n):r(i))});try{this.dispatch(t,new cf(t,e))}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}o(hU,"request");Xb.exports=hU;Xb.exports.RequestHandler=cf});var ZA=f((qOe,yU)=>{var{addAbortListener:_ie}=pe(),{RequestAbortedError:Lie}=Qe(),Bl=Symbol("kListener"),Hn=Symbol("kSignal");function gU(t){t.abort?t.abort(t[Hn]?.reason):t.reason=t[Hn]?.reason??new Lie,EU(t)}o(gU,"abort");function Mie(t,e){if(t.reason=null,t[Hn]=null,t[Bl]=null,!!e){if(e.aborted){gU(t);return}t[Hn]=e,t[Bl]=()=>{gU(t)},_ie(t[Hn],t[Bl])}}o(Mie,"addSignal");function EU(t){t[Hn]&&("removeEventListener"in t[Hn]?t[Hn].removeEventListener("abort",t[Bl]):t[Hn].removeListener("abort",t[Bl]),t[Hn]=null,t[Bl]=null)}o(EU,"removeSignal");yU.exports={addSignal:Mie,removeSignal:EU}});var wU=f((HOe,BU)=>{"use strict";var Oie=require("node:assert"),{finished:Fie,PassThrough:Uie}=require("node:stream"),{InvalidArgumentError:wl,InvalidReturnValueError:qie}=Qe(),dn=pe(),{getResolveErrorBodyCallback:Gie}=Kb(),{AsyncResource:Hie}=require("node:async_hooks"),{addSignal:zie,removeSignal:CU}=ZA(),Zb=class extends Hie{static{o(this,"StreamHandler")}constructor(e,r,s){if(!e||typeof e!="object")throw new wl("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 wl("invalid callback");if(typeof r!="function")throw new wl("invalid factory");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new wl("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new wl("invalid method");if(l&&typeof l!="function")throw new wl("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw dn.isStream(c)&&dn.destroy(c.on("error",dn.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,dn.isStream(c)&&c.on("error",d=>{this.onError(d)}),zie(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}Oie(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"?dn.parseRawHeaders(r):dn.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"?dn.parseHeaders(r):A)["content-type"];d=new Uie,this.callback=null,this.runInAsyncScope(Gie,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 qie("expected Writable");Fie(d,{readable:!1},m=>{let{callback:h,res:g,opaque:C,trailers:E,abort:y}=this;this.res=null,(m||!g.readable)&&dn.destroy(g,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;CU(this),r&&(this.trailers=dn.parseHeaders(e),r.end())}onError(e){let{res:r,callback:s,opaque:n,body:i}=this;CU(this),this.factory=null,r?(this.res=null,dn.destroy(r,e)):s&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(s,null,e,{opaque:n})})),i&&(this.body=null,dn.destroy(i,e))}};function IU(t,e,r){if(r===void 0)return new Promise((s,n)=>{IU.call(this,t,e,(i,a)=>i?n(i):s(a))});try{this.dispatch(t,new Zb(t,e,r))}catch(s){if(typeof r!="function")throw s;let n=t?.opaque;queueMicrotask(()=>r(s,{opaque:n}))}}o(IU,"stream");BU.exports=IU});var NU=f(($Oe,xU)=>{"use strict";var{Readable:QU,Duplex:$ie,PassThrough:Vie}=require("node:stream"),{InvalidArgumentError:ed,InvalidReturnValueError:Yie,RequestAbortedError:eQ}=Qe(),Rs=pe(),{AsyncResource:Jie}=require("node:async_hooks"),{addSignal:Wie,removeSignal:jie}=ZA(),bU=require("node:assert"),bl=Symbol("resume"),tQ=class extends QU{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[bl]=null}_read(){let{[bl]:e}=this;e&&(this[bl]=null,e())}_destroy(e,r){this._read(),r(e)}},rQ=class extends QU{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[bl]=e}_read(){this[bl]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new eQ),r(e)}},sQ=class extends Jie{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new ed("invalid opts");if(typeof r!="function")throw new ed("invalid handler");let{signal:s,method:n,opaque:i,onInfo:a,responseHeaders:c}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new ed("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new ed("invalid method");if(a&&typeof a!="function")throw new ed("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=i||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new tQ().on("error",Rs.nop),this.ret=new $ie({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[bl]=A},"write"),destroy:o((l,u)=>{let{body:A,req:d,res:p,ret:m,abort:h}=this;!l&&!m._readableState.endEmitted&&(l=new eQ),h&&l&&h(),Rs.destroy(A,l),Rs.destroy(d,l),Rs.destroy(p,l),jie(this),u(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,Wie(this,s)}onConnect(e,r){let{ret:s,res:n}=this;if(this.reason){e(this.reason);return}bU(!n,"pipeline cannot be retried"),bU(!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"?Rs.parseRawHeaders(r):Rs.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new rQ(s);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?Rs.parseRawHeaders(r):Rs.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",Rs.nop),l}if(!c||typeof c.on!="function")throw new Yie("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;Rs.destroy(u,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||Rs.destroy(l,new eQ)}),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,Rs.destroy(r,e)}};function Kie(t,e){try{let r=new sQ(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new Vie().destroy(r)}}o(Kie,"pipeline");xU.exports=Kie});var kU=f((YOe,PU)=>{"use strict";var{InvalidArgumentError:nQ,SocketError:Xie}=Qe(),{AsyncResource:Zie}=require("node:async_hooks"),SU=pe(),{addSignal:eoe,removeSignal:RU}=ZA(),TU=require("node:assert"),iQ=class extends Zie{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new nQ("invalid opts");if(typeof r!="function")throw new nQ("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new nQ("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,eoe(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}TU(this.callback),this.abort=e,this.context=null}onHeaders(){throw new Xie("bad upgrade",null)}onUpgrade(e,r,s){TU(e===101);let{callback:n,opaque:i,context:a}=this;RU(this),this.callback=null;let c=this.responseHeaders==="raw"?SU.parseRawHeaders(r):SU.parseHeaders(r);this.runInAsyncScope(n,null,null,{headers:c,socket:s,opaque:i,context:a})}onError(e){let{callback:r,opaque:s}=this;RU(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function vU(t,e){if(e===void 0)return new Promise((r,s)=>{vU.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new iQ(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(vU,"upgrade");PU.exports=vU});var OU=f((WOe,MU)=>{"use strict";var toe=require("node:assert"),{AsyncResource:roe}=require("node:async_hooks"),{InvalidArgumentError:oQ,SocketError:soe}=Qe(),DU=pe(),{addSignal:noe,removeSignal:_U}=ZA(),aQ=class extends roe{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new oQ("invalid opts");if(typeof r!="function")throw new oQ("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new oQ("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=n||null,this.responseHeaders=i||null,this.callback=r,this.abort=null,noe(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}toe(this.callback),this.abort=e,this.context=r}onHeaders(){throw new soe("bad connect",null)}onUpgrade(e,r,s){let{callback:n,opaque:i,context:a}=this;_U(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?DU.parseRawHeaders(r):DU.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;_U(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function LU(t,e){if(e===void 0)return new Promise((r,s)=>{LU.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new aQ(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(LU,"connect");MU.exports=LU});var FU=f((KOe,Ql)=>{"use strict";Ql.exports.request=fU();Ql.exports.stream=wU();Ql.exports.pipeline=NU();Ql.exports.upgrade=kU();Ql.exports.connect=OU()});var lQ=f((XOe,qU)=>{"use strict";var{UndiciError:ioe}=Qe(),UU=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),cQ=class t extends ioe{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[UU]===!0}[UU]=!0};qU.exports={MockNotMatchedError:cQ}});var xl=f((eFe,GU)=>{"use strict";GU.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}});var td=f((tFe,ZU)=>{"use strict";var{MockNotMatchedError:La}=lQ(),{kDispatches:lf,kMockAgent:ooe,kOriginalDispatch:aoe,kOrigin:coe,kGetNetConnect:loe}=xl(),{buildURL:uoe}=pe(),{STATUS_CODES:Aoe}=require("node:http"),{types:{isPromise:doe}}=require("node:util");function $i(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o($i,"matchValue");function zU(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(zU,"lowerCaseEntries");function $U(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=$U(e,r);if(!$i(s,n))return!1}return!0}o(VU,"matchHeaders");function HU(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(HU,"safeUrl");function poe(t,{path:e,method:r,body:s,headers:n}){let i=$i(t.path,e),a=$i(t.method,r),c=typeof t.body<"u"?$i(t.body,s):!0,l=VU(t,n);return i&&a&&c&&l}o(poe,"matchKey");function YU(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(YU,"getResponseData");function JU(t,e){let r=e.query?uoe(e.path,e.query):e.path,s=typeof r=="string"?HU(r):r,n=t.filter(({consumed:i})=>!i).filter(({path:i})=>$i(HU(i),s));if(n.length===0)throw new La(`Mock dispatch not matched for path '${s}'`);if(n=n.filter(({method:i})=>$i(i,e.method)),n.length===0)throw new La(`Mock dispatch not matched for method '${e.method}' on path '${s}'`);if(n=n.filter(({body:i})=>typeof i<"u"?$i(i,e.body):!0),n.length===0)throw new La(`Mock dispatch not matched for body '${e.body}' on path '${s}'`);if(n=n.filter(i=>VU(i,e.headers)),n.length===0){let i=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new La(`Mock dispatch not matched for headers '${i}' on path '${s}'`)}return n[0]}o(JU,"getMockDispatch");function moe(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(moe,"addMockDispatch");function uQ(t,e){let r=t.findIndex(s=>s.consumed?poe(s,e):!1);r!==-1&&t.splice(r,1)}o(uQ,"deleteMockDispatch");function WU(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(WU,"buildKey");function AQ(t){let e=Object.keys(t),r=[];for(let s=0;s=p,s.pending=d0?setTimeout(()=>{m(this[lf])},u):m(this[lf]);function m(g,C=i){let E=Array.isArray(t.headers)?dQ(t.headers):t.headers,y=typeof C=="function"?C({...t,headers:E}):C;if(doe(y)){y.then(R=>m(g,R));return}let I=YU(y),B=AQ(a),x=AQ(c);e.onConnect?.(R=>e.onError(R),null),e.onHeaders?.(n,B,h,jU(n)),e.onData?.(Buffer.from(I)),e.onComplete?.(x),uQ(g,r)}o(m,"handleReply");function h(){}return o(h,"resume"),!0}o(KU,"mockDispatch");function foe(){let t=this[ooe],e=this[coe],r=this[aoe];return o(function(n,i){if(t.isMockActive)try{KU.call(this,n,i)}catch(a){if(a instanceof La){let c=t[loe]();if(c===!1)throw new La(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(XU(c,e))r.call(this,n,i);else throw new La(`${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(foe,"buildMockDispatch");function XU(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(s=>$i(s,r.host)))}o(XU,"checkNetConnect");function goe(t){if(t){let{agent:e,...r}=t;return r}}o(goe,"buildMockOptions");ZU.exports={getResponseData:YU,getMockDispatch:JU,addMockDispatch:moe,deleteMockDispatch:uQ,buildKey:WU,generateKeyValues:AQ,matchValue:$i,getResponse:hoe,getStatusText:jU,mockDispatch:KU,buildMockDispatch:foe,checkNetConnect:XU,buildMockOptions:goe,getHeaderByName:$U,buildHeadersFromArray:dQ}});var yQ=f((sFe,EQ)=>{"use strict";var{getResponseData:Eoe,buildKey:yoe,addMockDispatch:pQ}=td(),{kDispatches:uf,kDispatchKey:Af,kDefaultHeaders:mQ,kDefaultTrailers:hQ,kContentLength:fQ,kMockDispatch:df}=xl(),{InvalidArgumentError:zn}=Qe(),{buildURL:Coe}=pe(),Nl=class{static{o(this,"MockScope")}constructor(e){this[df]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new zn("waitInMs must be a valid integer > 0");return this[df].delay=e,this}persist(){return this[df].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new zn("repeatTimes must be a valid integer > 0");return this[df].times=e,this}},gQ=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new zn("opts must be an object");if(typeof e.path>"u")throw new zn("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=Coe(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[Af]=yoe(e),this[uf]=r,this[mQ]={},this[hQ]={},this[fQ]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:s}){let n=Eoe(r),i=this[fQ]?{"content-length":n.length}:{},a={...this[mQ],...i,...s.headers},c={...this[hQ],...s.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new zn("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new zn("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 zn("reply options callback must return an object");let u={data:"",responseOptions:{},...l};return this.validateReplyParameters(u),{...this.createMockScopeDispatchData(u)}},"wrappedDefaultsCallback"),a=pQ(this[uf],this[Af],i);return new Nl(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=pQ(this[uf],this[Af],s);return new Nl(n)}replyWithError(e){if(typeof e>"u")throw new zn("error must be defined");let r=pQ(this[uf],this[Af],{error:e});return new Nl(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new zn("headers must be defined");return this[mQ]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new zn("trailers must be defined");return this[hQ]=e,this}replyContentLength(){return this[fQ]=!0,this}};EQ.exports.MockInterceptor=gQ;EQ.exports.MockScope=Nl});var BQ=f((iFe,o2)=>{"use strict";var{promisify:Ioe}=require("node:util"),Boe=gl(),{buildMockDispatch:woe}=td(),{kDispatches:e2,kMockAgent:t2,kClose:r2,kOriginalClose:s2,kOrigin:n2,kOriginalDispatch:boe,kConnected:CQ}=xl(),{MockInterceptor:Qoe}=yQ(),i2=Ye(),{InvalidArgumentError:xoe}=Qe(),IQ=class extends Boe{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new xoe("Argument opts.agent must implement Agent");this[t2]=r.agent,this[n2]=e,this[e2]=[],this[CQ]=1,this[boe]=this.dispatch,this[s2]=this.close.bind(this),this.dispatch=woe.call(this),this.close=this[r2]}get[i2.kConnected](){return this[CQ]}intercept(e){return new Qoe(e,this[e2])}async[r2](){await Ioe(this[s2])(),this[CQ]=0,this[t2][i2.kClients].delete(this[n2])}};o2.exports=IQ});var QQ=f((aFe,p2)=>{"use strict";var{promisify:Noe}=require("node:util"),Soe=El(),{buildMockDispatch:Roe}=td(),{kDispatches:a2,kMockAgent:c2,kClose:l2,kOriginalClose:u2,kOrigin:A2,kOriginalDispatch:Toe,kConnected:wQ}=xl(),{MockInterceptor:voe}=yQ(),d2=Ye(),{InvalidArgumentError:Poe}=Qe(),bQ=class extends Soe{static{o(this,"MockPool")}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[c2]=r.agent,this[A2]=e,this[a2]=[],this[wQ]=1,this[Toe]=this.dispatch,this[u2]=this.close.bind(this),this.dispatch=Roe.call(this),this.close=this[l2]}get[d2.kConnected](){return this[wQ]}intercept(e){return new voe(e,this[a2])}async[l2](){await Noe(this[u2])(),this[wQ]=0,this[c2][d2.kClients].delete(this[A2])}};p2.exports=bQ});var h2=f((uFe,m2)=>{"use strict";var koe={pronoun:"it",is:"is",was:"was",this:"this"},Doe={pronoun:"they",is:"are",was:"were",this:"these"};m2.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,s=r?koe:Doe,n=r?this.singular:this.plural;return{...s,count:e,noun:n}}}});var g2=f((pFe,f2)=>{"use strict";var{Transform:_oe}=require("node:stream"),{Console:Loe}=require("node:console"),Moe=process.versions.icu?"\u2705":"Y ",Ooe=process.versions.icu?"\u274C":"N ";f2.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new _oe({transform(r,s,n){n(null,r)}}),this.logger=new Loe({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?Moe:Ooe,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var I2=f((hFe,C2)=>{"use strict";var{kClients:Ma}=Ye(),Foe=yl(),{kAgent:xQ,kMockAgentSet:pf,kMockAgentGet:E2,kDispatches:NQ,kIsMockActive:mf,kNetConnect:Oa,kGetNetConnect:Uoe,kOptions:hf,kFactory:ff}=xl(),qoe=BQ(),Goe=QQ(),{matchValue:Hoe,buildMockOptions:zoe}=td(),{InvalidArgumentError:y2,UndiciError:$oe}=Qe(),Voe=bA(),Yoe=h2(),Joe=g2(),SQ=class extends Voe{static{o(this,"MockAgent")}constructor(e){if(super(e),this[Oa]=!0,this[mf]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new y2("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new Foe(e);this[xQ]=r,this[Ma]=r[Ma],this[hf]=zoe(e)}get(e){let r=this[E2](e);return r||(r=this[ff](e),this[pf](e,r)),r}dispatch(e,r){return this.get(e.origin),this[xQ].dispatch(e,r)}async close(){await this[xQ].close(),this[Ma].clear()}deactivate(){this[mf]=!1}activate(){this[mf]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[Oa])?this[Oa].push(e):this[Oa]=[e];else if(typeof e>"u")this[Oa]=!0;else throw new y2("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[Oa]=!1}get isMockActive(){return this[mf]}[pf](e,r){this[Ma].set(e,r)}[ff](e){let r=Object.assign({agent:this},this[hf]);return this[hf]&&this[hf].connections===1?new qoe(e,r):new Goe(e,r)}[E2](e){let r=this[Ma].get(e);if(r)return r;if(typeof e!="string"){let s=this[ff]("http://localhost:9999");return this[pf](e,s),s}for(let[s,n]of Array.from(this[Ma]))if(n&&typeof s!="string"&&Hoe(s,e)){let i=this[ff](e);return this[pf](e,i),i[NQ]=n[NQ],i}}[Uoe](){return this[Oa]}pendingInterceptors(){let e=this[Ma];return Array.from(e.entries()).flatMap(([r,s])=>s[NQ].map(n=>({...n,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new Joe}={}){let r=this.pendingInterceptors();if(r.length===0)return;let s=new Yoe("interceptor","interceptors").pluralize(r.length);throw new $oe(` ${s.count} ${s.noun} ${s.is} pending: ${e.format(r)} `.trim())}};C2.exports=SQ});var gf=f((gFe,Q2)=>{"use strict";var B2=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:Woe}=Qe(),joe=yl();b2()===void 0&&w2(new joe);function w2(t){if(!t||typeof t.dispatch!="function")throw new Woe("Argument agent must implement Agent");Object.defineProperty(globalThis,B2,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(w2,"setGlobalDispatcher");function b2(){return globalThis[B2]}o(b2,"getGlobalDispatcher");Q2.exports={setGlobalDispatcher:w2,getGlobalDispatcher:b2}});var Ef=f((CFe,x2)=>{"use strict";x2.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 S2=f((BFe,N2)=>{"use strict";var Koe=Wh();N2.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 Koe(r,a,n,i);return r(c,l)},"redirectInterceptor")}});var T2=f((bFe,R2)=>{"use strict";var Xoe=af();R2.exports=t=>e=>o(function(s,n){return e(s,new Xoe({...s,retryOptions:{...t,...s.retryOptions}},{handler:n,dispatch:e}))},"retryInterceptor")});var P2=f((xFe,v2)=>{"use strict";var Zoe=pe(),{InvalidArgumentError:eae,RequestAbortedError:tae}=Qe(),rae=Ef(),RQ=class extends rae{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#r=!1;#i=!1;#n=0;#s=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new eae("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.#i=!0,this.#s=e}onHeaders(e,r,s,n){let a=Zoe.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new tae(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#i?!0:this.#o.onHeaders(e,r,s,n)}onError(e){this.#r||(e=this.#s??e,this.#o.onError(e))}onData(e){return this.#n=this.#n+e.length,this.#n>=this.#e&&(this.#r=!0,this.#i?this.#o.onError(this.#s):this.#o.onComplete([])),!0}onComplete(e){if(!this.#r){if(this.#i){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function sae({maxSize:t}={maxSize:1024*1024}){return e=>o(function(s,n){let{dumpMaxSize:i=t}=s,a=new RQ({maxSize:i},n);return e(s,a)},"Intercept")}o(sae,"createDumpInterceptor");v2.exports=sae});var _2=f((SFe,D2)=>{"use strict";var{isIP:nae}=require("node:net"),{lookup:iae}=require("node:dns"),oae=Ef(),{InvalidArgumentError:Sl,InformationalError:aae}=Qe(),k2=Math.pow(2,31)-1,TQ=class{static{o(this,"DNSInstance")}#e=0;#t=0;#r=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.#i,this.pick=e.pick??this.#n}get full(){return this.#r.size===this.#t}runLookup(e,r,s){let n=this.#r.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 aae("No DNS entries found"));return}this.setRecords(e,c);let l=this.#r.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.#r.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}`)}}#i(e,r,s){iae(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===k2?(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===k2?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.#r.set(e.hostname,n)}getHandler(e,r){return new vQ(this,e,r)}},vQ=class extends oae{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#r=null;#i=null;#n=null;constructor(e,{origin:r,handler:s,dispatch:n},i){super(s),this.#n=r,this.#i=s,this.#t={...i},this.#e=e,this.#r=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.#i.onError(r);let n={...this.#t,origin:s};this.#r(n,this)});return}this.#i.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#n);default:this.#i.onError(e);break}}};D2.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Sl("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Sl("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Sl("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Sl("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Sl("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Sl("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 TQ(s);return i=>o(function(c,l){let u=c.origin.constructor===URL?c.origin:new URL(c.origin);return nae(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 Fa=f((TFe,G2)=>{"use strict";var{kConstruct:cae}=Ye(),{kEnumerableProperty:Rl}=pe(),{iteratorMixin:lae,isValidHeaderName:rd,isValidHeaderValue:M2}=Kr(),{webidl:Ce}=Wt(),PQ=require("node:assert"),yf=require("node:util"),Nt=Symbol("headers map"),ts=Symbol("headers map sorted");function L2(t){return t===10||t===13||t===9||t===32}o(L2,"isHTTPWhiteSpaceCharCode");function O2(t){let e=0,r=t.length;for(;r>e&&L2(t.charCodeAt(r-1));)--r;for(;r>e&&L2(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(O2,"headerValueNormalize");function F2(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}o(F2,"fill");function kQ(t,e,r){if(r=O2(r),rd(e)){if(!M2(r))throw Ce.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw Ce.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(q2(t)==="immutable")throw new TypeError("immutable");return DQ(t).append(e,r,!1)}o(kQ,"appendHeader");function U2(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[Nt])r[s++]=[n,i],PQ(i!==null);return r.sort(U2)}}},pn=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){Ce.util.markAsUncloneable(this),e!==cae&&(this.#t=new Cf,this.#e="none",e!==void 0&&(e=Ce.converters.HeadersInit(e,"Headers contructor","init"),F2(this,e)))}append(e,r){Ce.brandCheck(this,t),Ce.argumentLengthCheck(arguments,2,"Headers.append");let s="Headers.append";return e=Ce.converters.ByteString(e,s,"name"),r=Ce.converters.ByteString(r,s,"value"),kQ(this,e,r)}delete(e){if(Ce.brandCheck(this,t),Ce.argumentLengthCheck(arguments,1,"Headers.delete"),e=Ce.converters.ByteString(e,"Headers.delete","name"),!rd(e))throw Ce.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){Ce.brandCheck(this,t),Ce.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=Ce.converters.ByteString(e,r,"name"),!rd(e))throw Ce.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){Ce.brandCheck(this,t),Ce.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=Ce.converters.ByteString(e,r,"name"),!rd(e))throw Ce.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){Ce.brandCheck(this,t),Ce.argumentLengthCheck(arguments,2,"Headers.set");let s="Headers.set";if(e=Ce.converters.ByteString(e,s,"name"),r=Ce.converters.ByteString(r,s,"value"),r=O2(r),rd(e)){if(!M2(r))throw Ce.errors.invalidArgument({prefix:s,value:r,type:"header value"})}else throw Ce.errors.invalidArgument({prefix:s,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){Ce.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[ts](){if(this.#t[ts])return this.#t[ts];let e=[],r=this.#t.toSortedArray(),s=this.#t.cookies;if(s===null||s.length===1)return this.#t[ts]=r;for(let n=0;n>"](t,e,r,s.bind(t)):Ce.converters["record"](t,e,r)}throw Ce.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};G2.exports={fill:F2,compareHeaderName:U2,Headers:pn,HeadersList:Cf,getHeadersGuard:q2,setHeadersGuard:uae,setHeadersList:Aae,getHeadersList:DQ}});var nd=f((PFe,e1)=>{"use strict";var{Headers:J2,HeadersList:H2,fill:dae,getHeadersGuard:pae,setHeadersGuard:W2,setHeadersList:j2}=Fa(),{extractBody:z2,cloneBody:mae,mixinBody:hae,hasFinalizationRegistry:K2,streamRegistry:X2,bodyUnusable:fae}=ll(),_Q=pe(),$2=require("node:util"),{kEnumerableProperty:rs}=_Q,{isValidReasonPhrase:gae,isCancelled:Eae,isAborted:yae,isBlobLike:Cae,serializeJavascriptValueToJSONString:Iae,isErrorLike:Bae,isomorphicEncode:wae,environmentSettingsObject:bae}=Kr(),{redirectStatusSet:Qae,nullBodyStatus:xae}=NA(),{kState:We,kHeaders:Vi}=xo(),{webidl:ue}=Wt(),{FormData:Nae}=kA(),{URLSerializer:V2}=vr(),{kConstruct:Bf}=Ye(),LQ=require("node:assert"),{types:Sae}=require("node:util"),Rae=new TextEncoder("utf-8"),Ua=class t{static{o(this,"Response")}static error(){return sd(wf(),"immutable")}static json(e,r={}){ue.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=ue.converters.ResponseInit(r));let s=Rae.encode(Iae(e)),n=z2(s),i=sd(Tl({}),"response");return Y2(i,r,{body:n[0],type:"application/json"}),i}static redirect(e,r=302){ue.argumentLengthCheck(arguments,1,"Response.redirect"),e=ue.converters.USVString(e),r=ue.converters["unsigned short"](r);let s;try{s=new URL(e,bae.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!Qae.has(r))throw new RangeError(`Invalid status code ${r}`);let n=sd(Tl({}),"immutable");n[We].status=r;let i=wae(V2(s));return n[We].headersList.append("location",i,!0),n}constructor(e=null,r={}){if(ue.util.markAsUncloneable(this),e===Bf)return;e!==null&&(e=ue.converters.BodyInit(e)),r=ue.converters.ResponseInit(r),this[We]=Tl({}),this[Vi]=new J2(Bf),W2(this[Vi],"response"),j2(this[Vi],this[We].headersList);let s=null;if(e!=null){let[n,i]=z2(e);s={body:n,type:i}}Y2(this,r,s)}get type(){return ue.brandCheck(this,t),this[We].type}get url(){ue.brandCheck(this,t);let e=this[We].urlList,r=e[e.length-1]??null;return r===null?"":V2(r,!0)}get redirected(){return ue.brandCheck(this,t),this[We].urlList.length>1}get status(){return ue.brandCheck(this,t),this[We].status}get ok(){return ue.brandCheck(this,t),this[We].status>=200&&this[We].status<=299}get statusText(){return ue.brandCheck(this,t),this[We].statusText}get headers(){return ue.brandCheck(this,t),this[Vi]}get body(){return ue.brandCheck(this,t),this[We].body?this[We].body.stream:null}get bodyUsed(){return ue.brandCheck(this,t),!!this[We].body&&_Q.isDisturbed(this[We].body.stream)}clone(){if(ue.brandCheck(this,t),fae(this))throw ue.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=MQ(this[We]);return K2&&this[We].body?.stream&&X2.register(this,new WeakRef(this[We].body.stream)),sd(e,pae(this[Vi]))}[$2.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 ${$2.formatWithOptions(r,s)}`}};hae(Ua);Object.defineProperties(Ua.prototype,{type:rs,url:rs,status:rs,ok:rs,redirected:rs,statusText:rs,headers:rs,clone:rs,body:rs,bodyUsed:rs,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(Ua,{json:rs,redirect:rs,error:rs});function MQ(t){if(t.internalResponse)return Z2(MQ(t.internalResponse),t.type);let e=Tl({...t,body:null});return t.body!=null&&(e.body=mae(e,t.body)),e}o(MQ,"cloneResponse");function Tl(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new H2(t?.headersList):new H2,urlList:t?.urlList?[...t.urlList]:[]}}o(Tl,"makeResponse");function wf(t){let e=Bae(t);return Tl({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(wf,"makeNetworkError");function Tae(t){return t.type==="error"&&t.status===0}o(Tae,"isNetworkError");function If(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,s){return s in e?e[s]:r[s]},set(r,s,n){return LQ(!(s in e)),r[s]=n,!0}})}o(If,"makeFilteredResponse");function Z2(t,e){if(e==="basic")return If(t,{type:"basic",headersList:t.headersList});if(e==="cors")return If(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return If(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return If(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});LQ(!1)}o(Z2,"filterResponse");function vae(t,e=null){return LQ(Eae(t)),yae(t)?wf(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):wf(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(vae,"makeAppropriateNetworkError");function Y2(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&&!gae(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[We].status=e.status),"statusText"in e&&e.statusText!=null&&(t[We].statusText=e.statusText),"headers"in e&&e.headers!=null&&dae(t[Vi],e.headers),r){if(xae.includes(t.status))throw ue.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[We].body=r.body,r.type!=null&&!t[We].headersList.contains("content-type",!0)&&t[We].headersList.append("content-type",r.type,!0)}}o(Y2,"initializeResponse");function sd(t,e){let r=new Ua(Bf);return r[We]=t,r[Vi]=new J2(Bf),j2(r[Vi],t.headersList),W2(r[Vi],e),K2&&t.body?.stream&&X2.register(r,new WeakRef(t.body.stream)),r}o(sd,"fromInnerResponse");ue.converters.ReadableStream=ue.interfaceConverter(ReadableStream);ue.converters.FormData=ue.interfaceConverter(Nae);ue.converters.URLSearchParams=ue.interfaceConverter(URLSearchParams);ue.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?ue.converters.USVString(t,e,r):Cae(t)?ue.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||Sae.isArrayBuffer(t)?ue.converters.BufferSource(t,e,r):_Q.isFormDataLike(t)?ue.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?ue.converters.URLSearchParams(t,e,r):ue.converters.DOMString(t,e,r)};ue.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?ue.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:ue.converters.XMLHttpRequestBodyInit(t,e,r)};ue.converters.ResponseInit=ue.dictionaryConverter([{key:"status",converter:ue.converters["unsigned short"],defaultValue:o(()=>200,"defaultValue")},{key:"statusText",converter:ue.converters.ByteString,defaultValue:o(()=>"","defaultValue")},{key:"headers",converter:ue.converters.HeadersInit}]);e1.exports={isNetworkError:Tae,makeNetworkError:wf,makeResponse:Tl,makeAppropriateNetworkError:vae,filterResponse:Z2,Response:Ua,cloneResponse:MQ,fromInnerResponse:sd}});var n1=f((DFe,s1)=>{"use strict";var{kConnected:t1,kSize:r1}=Ye(),OQ=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[t1]===0&&this.value[r1]===0?void 0:this.value}},FQ=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[t1]===0&&e[r1]===0&&this.finalizer(r)})}unregister(e){}};s1.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:OQ,FinalizationRegistry:FQ}):{WeakRef,FinalizationRegistry}}});var vl=f((LFe,y1)=>{"use strict";var{extractBody:Pae,mixinBody:kae,cloneBody:Dae,bodyUnusable:i1}=ll(),{Headers:m1,fill:_ae,HeadersList:Nf,setHeadersGuard:qQ,getHeadersGuard:Lae,setHeadersList:h1,getHeadersList:o1}=Fa(),{FinalizationRegistry:Mae}=n1()(),Qf=pe(),a1=require("node:util"),{isValidHTTPToken:Oae,sameOrigin:c1,environmentSettingsObject:bf}=Kr(),{forbiddenMethodsSet:Fae,corsSafeListedMethodsSet:Uae,referrerPolicy:qae,requestRedirect:Gae,requestMode:Hae,requestCredentials:zae,requestCache:$ae,requestDuplex:Vae}=NA(),{kEnumerableProperty:St,normalizedMethodRecordsBase:Yae,normalizedMethodRecords:Jae}=Qf,{kHeaders:ss,kSignal:xf,kState:Ge,kDispatcher:UQ}=xo(),{webidl:Z}=Wt(),{URLSerializer:Wae}=vr(),{kConstruct:Sf}=Ye(),jae=require("node:assert"),{getMaxListeners:l1,setMaxListeners:u1,getEventListeners:Kae,defaultMaxListeners:A1}=require("node:events"),Xae=Symbol("abortController"),f1=new Mae(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),Rf=new WeakMap;function d1(t){return e;function e(){let r=t.deref();if(r!==void 0){f1.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let s=Rf.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()}Rf.delete(r.signal)}}}}o(d1,"buildAbort");var p1=!1,Mo=class t{static{o(this,"Request")}constructor(e,r={}){if(Z.util.markAsUncloneable(this),e===Sf)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=bf.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[UQ]=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=Tf({urlList:[E]}),i="cors"}else this[UQ]=r.dispatcher||e[UQ],jae(e instanceof t),n=e[Ge],c=e[xf];let l=bf.settingsObject.origin,u="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&c1(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=Tf({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:bf.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&&!c1(y,bf.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=Jae[E];if(y!==void 0)n.method=y;else{if(!Oae(E))throw new TypeError(`'${E}' is not a valid HTTP method.`);let I=E.toUpperCase();if(Fae.has(I))throw new TypeError(`'${E}' HTTP method is unsupported.`);E=Yae[I]??E,n.method=E}!p1&&n.method==="patch"&&(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),p1=!0)}r.signal!==void 0&&(c=r.signal),this[Ge]=n;let p=new AbortController;if(this[xf]=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[Xae]=p;let E=new WeakRef(p),y=d1(E);try{(typeof l1=="function"&&l1(c)===A1||Kae(c,"abort").length>=A1)&&u1(1500,c)}catch{}Qf.addAbortListener(c,y),f1.register(p,{signal:c,abort:y},y)}}if(this[ss]=new m1(Sf),h1(this[ss],n.headersList),qQ(this[ss],"request"),d==="no-cors"){if(!Uae.has(n.method))throw new TypeError(`'${n.method} is unsupported in no-cors mode.`);qQ(this[ss],"request-no-cors")}if(A){let E=o1(this[ss]),y=r.headers!==void 0?r.headers:new Nf(E);if(E.clear(),y instanceof Nf){for(let{name:I,value:B}of y.rawValues())E.append(I,B,!1);E.cookies=y.cookies}else _ae(this[ss],y)}let m=e instanceof t?e[Ge].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]=Pae(r.body,n.keepalive);h=E,y&&!o1(this[ss]).contains("content-type",!0)&&this[ss].append("content-type",y)}let g=h??m;if(g!=null&&g.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=g;if(h==null&&m!=null){if(i1(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[Ge].body=C}get method(){return Z.brandCheck(this,t),this[Ge].method}get url(){return Z.brandCheck(this,t),Wae(this[Ge].url)}get headers(){return Z.brandCheck(this,t),this[ss]}get destination(){return Z.brandCheck(this,t),this[Ge].destination}get referrer(){return Z.brandCheck(this,t),this[Ge].referrer==="no-referrer"?"":this[Ge].referrer==="client"?"about:client":this[Ge].referrer.toString()}get referrerPolicy(){return Z.brandCheck(this,t),this[Ge].referrerPolicy}get mode(){return Z.brandCheck(this,t),this[Ge].mode}get credentials(){return this[Ge].credentials}get cache(){return Z.brandCheck(this,t),this[Ge].cache}get redirect(){return Z.brandCheck(this,t),this[Ge].redirect}get integrity(){return Z.brandCheck(this,t),this[Ge].integrity}get keepalive(){return Z.brandCheck(this,t),this[Ge].keepalive}get isReloadNavigation(){return Z.brandCheck(this,t),this[Ge].reloadNavigation}get isHistoryNavigation(){return Z.brandCheck(this,t),this[Ge].historyNavigation}get signal(){return Z.brandCheck(this,t),this[xf]}get body(){return Z.brandCheck(this,t),this[Ge].body?this[Ge].body.stream:null}get bodyUsed(){return Z.brandCheck(this,t),!!this[Ge].body&&Qf.isDisturbed(this[Ge].body.stream)}get duplex(){return Z.brandCheck(this,t),"half"}clone(){if(Z.brandCheck(this,t),i1(this))throw new TypeError("unusable");let e=g1(this[Ge]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let s=Rf.get(this.signal);s===void 0&&(s=new Set,Rf.set(this.signal,s));let n=new WeakRef(r);s.add(n),Qf.addAbortListener(r.signal,d1(n))}return E1(e,r.signal,Lae(this[ss]))}[a1.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 ${a1.formatWithOptions(r,s)}`}};kae(Mo);function Tf(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 Nf(t.headersList):new Nf}}o(Tf,"makeRequest");function g1(t){let e=Tf({...t,body:null});return t.body!=null&&(e.body=Dae(e,t.body)),e}o(g1,"cloneRequest");function E1(t,e,r){let s=new Mo(Sf);return s[Ge]=t,s[xf]=e,s[ss]=new m1(Sf),h1(s[ss],t.headersList),qQ(s[ss],r),s}o(E1,"fromInnerRequest");Object.defineProperties(Mo.prototype,{method:St,url:St,headers:St,redirect:St,clone:St,signal:St,duplex:St,destination:St,body:St,bodyUsed:St,isHistoryNavigation:St,isReloadNavigation:St,keepalive:St,integrity:St,cache:St,credentials:St,attribute:St,referrerPolicy:St,referrer:St,mode:St,[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:qae},{key:"mode",converter:Z.converters.DOMString,allowedValues:Hae},{key:"credentials",converter:Z.converters.DOMString,allowedValues:zae},{key:"cache",converter:Z.converters.DOMString,allowedValues:$ae},{key:"redirect",converter:Z.converters.DOMString,allowedValues:Gae},{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:Vae},{key:"dispatcher",converter:Z.converters.any}]);y1.exports={Request:Mo,makeRequest:Tf,fromInnerRequest:E1,cloneRequest:g1}});var od=f((OFe,D1)=>{"use strict";var{makeNetworkError:Pe,makeAppropriateNetworkError:vf,filterResponse:GQ,makeResponse:Pf,fromInnerResponse:Zae}=nd(),{HeadersList:C1}=Fa(),{Request:ece,cloneRequest:tce}=vl(),Oo=require("node:zlib"),{bytesMatch:rce,makePolicyContainer:sce,clonePolicyContainer:nce,requestBadPort:ice,TAOCheck:oce,appendRequestOriginHeader:ace,responseLocationURL:cce,requestCurrentURL:$n,setRequestReferrerPolicyOnRedirect:lce,tryUpgradeRequestToAPotentiallyTrustworthyURL:uce,createOpaqueTimingInfo:YQ,appendFetchMetadata:Ace,corsCheck:dce,crossOriginResourcePolicyCheck:pce,determineRequestsReferrer:mce,coarsenedSharedCurrentTime:id,createDeferredPromise:hce,isBlobLike:fce,sameOrigin:VQ,isCancelled:qa,isAborted:I1,isErrorLike:gce,fullyReadBody:Ece,readableStreamClose:yce,isomorphicEncode:kf,urlIsLocal:Cce,urlIsHttpHttpsScheme:JQ,urlHasHttpsScheme:Ice,clampAndCoarsenConnectionTimingInfo:Bce,simpleRangeHeaderValue:wce,buildContentRange:bce,createInflate:Qce,extractMimeType:xce}=Kr(),{kState:Q1,kDispatcher:Nce}=xo(),Ga=require("node:assert"),{safelyExtractBody:WQ,extractBody:B1}=ll(),{redirectStatusSet:x1,nullBodyStatus:N1,safeMethodsSet:Sce,requestBodyHeader:Rce,subresourceSet:Tce}=NA(),vce=require("node:events"),{Readable:Pce,pipeline:kce,finished:Dce}=require("node:stream"),{addAbortListener:_ce,isErrored:Lce,isReadable:Df,bufferToLowerCasedHeaderName:w1}=pe(),{dataURLProcessor:Mce,serializeAMimeType:Oce,minimizeSupportedMimeType:Fce}=vr(),{getGlobalDispatcher:Uce}=gf(),{webidl:qce}=Wt(),{STATUS_CODES:Gce}=require("node:http"),Hce=["GET","HEAD"],zce=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",HQ,_f=class extends vce{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 $ce(t){S1(t,"fetch")}o($ce,"handleFetchDone");function Vce(t,e=void 0){qce.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=hce(),s;try{s=new ece(t,e)}catch(A){return r.reject(A),r.promise}let n=s[Q1];if(s.signal.aborted)return zQ(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 _ce(s.signal,()=>{c=!0,Ga(l!=null),l.abort(s.signal.reason);let A=a?.deref();zQ(r,n,A,s.signal.reason)}),l=T1({request:n,processResponseEndOfBody:$ce,processResponse:o(A=>{if(!c){if(A.aborted){zQ(r,n,a,l.serializedAbortReason);return}if(A.type==="error"){r.reject(new TypeError("fetch failed",{cause:A.error}));return}a=new WeakRef(Zae(A,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:s[Nce]}),r.promise}o(Vce,"fetch");function S1(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],s=t.timingInfo,n=t.cacheState;JQ(r)&&s!==null&&(t.timingAllowPassed||(s=YQ({startTime:s.startTime}),n=""),s.endTime=id(),t.timingInfo=s,R1(s,r.href,e,globalThis,n))}o(S1,"finalizeAndReportTiming");var R1=performance.markResourceTiming;function zQ(t,e,r,s){if(t&&t.reject(s),e.body!=null&&Df(e.body?.stream)&&e.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),r==null)return;let n=r[Q1];n.body!=null&&Df(n.body?.stream)&&n.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}o(zQ,"abortFetch");function T1({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseEndOfBody:n,processResponseConsumeBody:i,useParallelQueue:a=!1,dispatcher:c=Uce()}){Ga(c);let l=null,u=!1;t.client!=null&&(l=t.client.globalObject,u=t.client.crossOriginIsolatedCapability);let A=id(u),d=YQ({startTime:A}),p={controller:new _f(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseConsumeBody:i,processResponseEndOfBody:n,taskDestination:l,crossOriginIsolatedCapability:u};return Ga(!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=nce(t.client.policyContainer):t.policyContainer=sce()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,Tce.has(t.destination),v1(p).catch(m=>{p.controller.terminate(m)}),p.controller}o(T1,"fetching");async function v1(t,e=!1){let r=t.request,s=null;if(r.localURLsOnly&&!Cce($n(r))&&(s=Pe("local URLs only")),uce(r),ice(r)==="blocked"&&(s=Pe("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=mce(r)),s===null&&(s=await(async()=>{let i=$n(r);return VQ(i,r.url)&&r.responseTainting==="basic"||i.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await b1(t)):r.mode==="same-origin"?Pe('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?Pe('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await b1(t)):JQ($n(r))?(r.responseTainting="cors",await P1(t)):Pe("URL scheme must be a HTTP(S) scheme")})()),e)return s;s.status!==0&&!s.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?s=GQ(s,"basic"):r.responseTainting==="cors"?s=GQ(s,"cors"):r.responseTainting==="opaque"?s=GQ(s,"opaque"):Ga(!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=Pe()),s.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||N1.includes(n.status))&&(n.body=null,t.controller.dump=!0),r.integrity){let i=o(c=>$Q(t,Pe(c)),"processBodyError");if(r.responseTainting==="opaque"||s.body==null){i(s.error);return}let a=o(c=>{if(!rce(c,r.integrity)){i("integrity mismatch");return}s.body=WQ(c)[0],$Q(t,s)},"processBody");await Ece(s.body,a,i)}else $Q(t,s)}o(v1,"mainFetch");function b1(t){if(qa(t)&&t.request.redirectCount===0)return Promise.resolve(vf(t));let{request:e}=t,{protocol:r}=$n(e);switch(r){case"about:":return Promise.resolve(Pe("about scheme is not supported"));case"blob:":{HQ||(HQ=require("node:buffer").resolveObjectURL);let s=$n(e);if(s.search.length!==0)return Promise.resolve(Pe("NetworkError when attempting to fetch resource."));let n=HQ(s.toString());if(e.method!=="GET"||!fce(n))return Promise.resolve(Pe("invalid method"));let i=Pf(),a=n.size,c=kf(`${a}`),l=n.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let u=e.headersList.get("range",!0),A=wce(u,!0);if(A==="failure")return Promise.resolve(Pe("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(Pe("Range start is greater than the blob's size."));(p===null||p>=a)&&(p=a-1)}let m=n.slice(d,p,l),h=B1(m);i.body=h[0];let g=kf(`${m.size}`),C=bce(d,p,a);i.status=206,i.statusText="Partial Content",i.headersList.set("content-length",g,!0),i.headersList.set("content-type",l,!0),i.headersList.set("content-range",C,!0)}else{let u=B1(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=$n(e),n=Mce(s);if(n==="failure")return Promise.resolve(Pe("failed to fetch the data URL"));let i=Oce(n.mimeType);return Promise.resolve(Pf({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:WQ(n.body)[0]}))}case"file:":return Promise.resolve(Pe("not implemented... yet..."));case"http:":case"https:":return P1(t).catch(s=>Pe(s));default:return Promise.resolve(Pe("unknown scheme"))}}o(b1,"schemeFetch");function Yce(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(Yce,"finalizeResponse");function $Q(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=YQ(r),c="");let u=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){u=e.status;let A=xce(e.headersList);A!=="failure"&&(l.contentType=Fce(A))}t.request.initiatorType!=null&&R1(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():Dce(n.body.stream,()=>{s()})}o($Q,"fetchFinale");async function P1(t){let e=t.request,r=null,s=null,n=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),s=r=await k1(t),e.responseTainting==="cors"&&dce(e,r)==="failure")return Pe("cors failure");oce(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&pce(e.origin,e.client,e.destination,s)==="blocked"?Pe("blocked"):(x1.has(s.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=Pe("unexpected redirect"):e.redirect==="manual"?r=s:e.redirect==="follow"?r=await Jce(t,r):Ga(!1)),r.timingInfo=n,r)}o(P1,"httpFetch");function Jce(t,e){let r=t.request,s=e.internalResponse?e.internalResponse:e,n;try{if(n=cce(s,$n(r).hash),n==null)return e}catch(a){return Promise.resolve(Pe(a))}if(!JQ(n))return Promise.resolve(Pe("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(Pe("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(n.username||n.password)&&!VQ(r,n))return Promise.resolve(Pe('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(n.username||n.password))return Promise.resolve(Pe('URL cannot contain credentials for request mode "cors"'));if(s.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(Pe());if([301,302].includes(s.status)&&r.method==="POST"||s.status===303&&!Hce.includes(r.method)){r.method="GET",r.body=null;for(let a of Rce)r.headersList.delete(a)}VQ($n(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&&(Ga(r.body.source!=null),r.body=WQ(r.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=id(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),r.urlList.push(n),lce(r,s),v1(t,!0)}o(Jce,"httpRedirectFetch");async function k1(t,e=!1,r=!1){let s=t.request,n=null,i=null,a=null,c=null,l=!1;s.window==="no-window"&&s.redirect==="error"?(n=t,i=s):(i=tce(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=kf(`${A}`)),d!=null&&i.headersList.append("content-length",d,!0),A!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",kf(i.referrer.href),!0),ace(i),Ace(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",zce),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)||(Ice($n(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 Pe("only if cached");let p=await Wce(n,u,r);!Sce.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"?Pe():qa(t)?vf(t):Pe("proxy authentication required");if(a.status===421&&!r&&(s.body==null||s.body.source!=null)){if(qa(t))return vf(t);t.controller.connection.destroy(),a=await k1(t,e,!0)}return a}o(k1,"httpNetworkOrCacheFetch");async function Wce(t,e=!1,r=!1){Ga(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(h,g=!0){this.destroyed||(this.destroyed=!0,g&&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){qa(t)||(yield E,t.processRequestBodyChunkLength?.(E.byteLength))},"processBodyChunk"),g=o(()=>{qa(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),C=o(E=>{qa(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);g()}catch(E){C(E)}})()}try{let{body:h,status:g,statusText:C,headersList:E,socket:y}=await m({body:l});if(y)n=Pf({status:g,statusText:C,headersList:E,socket:y});else{let I=h[Symbol.asyncIterator]();t.controller.next=()=>I.next(),n=Pf({status:g,statusText:C,headersList:E})}}catch(h){return h.name==="AbortError"?(t.controller.connection.destroy(),vf(t,h)):Pe(h)}let u=o(async()=>{await t.controller.resume()},"pullAlgorithm"),A=o(h=>{qa(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,g;try{let{done:E,value:y}=await t.controller.next();if(I1(t))break;h=E?void 0:y}catch(E){t.controller.ended&&!i.encodedBodySize?h=void 0:(h=E,g=!0)}if(h===void 0){yce(t.controller.controller),Yce(t,n);return}if(i.decodedBodySize+=h?.byteLength??0,g){t.controller.terminate(h);return}let C=new Uint8Array(h);if(C.byteLength&&t.controller.controller.enqueue(C),Lce(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function p(h){I1(t)?(n.aborted=!0,Df(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):Df(d)&&t.controller.controller.error(new TypeError("terminated",{cause:gce(h)?h:void 0})),t.controller.connection.destroy()}return o(p,"onAborted"),n;function m({body:h}){let g=$n(s),C=t.controller.dispatcher;return new Promise((E,y)=>C.dispatch({path:g.pathname+g.search,origin:g.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=Bce(void 0,i.postRedirectStartTime,t.crossOriginIsolatedCapability),B.destroyed?I(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",I),this.abort=B.abort=I),i.finalNetworkRequestStartTime=id(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=id(t.crossOriginIsolatedCapability)},onHeaders(I,B,x,R){if(I<200)return;let q="",ye=new C1;for(let se=0;sene)return y(new Error(`too many content-encodings in response: ${Me.length}, maximum allowed is ${ne}`)),!0;for(let Ar=Me.length-1;Ar>=0;--Ar){let $=Me[Ar].trim();if($==="x-gzip"||$==="gzip")we.push(Oo.createGunzip({flush:Oo.constants.Z_SYNC_FLUSH,finishFlush:Oo.constants.Z_SYNC_FLUSH}));else if($==="deflate")we.push(Qce({flush:Oo.constants.Z_SYNC_FLUSH,finishFlush:Oo.constants.Z_SYNC_FLUSH}));else if($==="br")we.push(Oo.createBrotliDecompress({flush:Oo.constants.BROTLI_OPERATION_FLUSH,finishFlush:Oo.constants.BROTLI_OPERATION_FLUSH}));else{we.length=0;break}}}let xe=this.onError.bind(this);return E({status:I,statusText:R,headersList:ye,body:we.length?kce(this.body,...we,se=>{se&&this.onError(se)}).on("error",xe):this.body.on("error",xe)}),!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,x){if(I!==101)return;let R=new C1;for(let q=0;q{"use strict";_1.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 M1=f((qFe,L1)=>{"use strict";var{webidl:ns}=Wt(),Lf=Symbol("ProgressEvent state"),KQ=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=ns.converters.DOMString(e,"ProgressEvent constructor","type"),r=ns.converters.ProgressEventInit(r??{}),super(e,r),this[Lf]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return ns.brandCheck(this,t),this[Lf].lengthComputable}get loaded(){return ns.brandCheck(this,t),this[Lf].loaded}get total(){return ns.brandCheck(this,t),this[Lf].total}};ns.converters.ProgressEventInit=ns.dictionaryConverter([{key:"lengthComputable",converter:ns.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:ns.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:ns.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:ns.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:ns.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:ns.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);L1.exports={ProgressEvent:KQ}});var F1=f((HFe,O1)=>{"use strict";function jce(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(jce,"getEncoding");O1.exports={getEncoding:jce}});var Y1=f(($Fe,V1)=>{"use strict";var{kState:Pl,kError:XQ,kResult:U1,kAborted:ad,kLastProgressEventFired:ZQ}=jQ(),{ProgressEvent:Kce}=M1(),{getEncoding:q1}=F1(),{serializeAMimeType:Xce,parseMIMEType:G1}=vr(),{types:Zce}=require("node:util"),{StringDecoder:H1}=require("string_decoder"),{btoa:z1}=require("node:buffer"),ele={enumerable:!0,writable:!1,configurable:!1};function tle(t,e,r,s){if(t[Pl]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Pl]="loading",t[U1]=null,t[XQ]=null;let i=e.stream().getReader(),a=[],c=i.read(),l=!0;(async()=>{for(;!t[ad];)try{let{done:u,value:A}=await c;if(l&&!t[ad]&&queueMicrotask(()=>{Fo("loadstart",t)}),l=!1,!u&&Zce.isUint8Array(A))a.push(A),(t[ZQ]===void 0||Date.now()-t[ZQ]>=50)&&!t[ad]&&(t[ZQ]=Date.now(),queueMicrotask(()=>{Fo("progress",t)})),c=i.read();else if(u){queueMicrotask(()=>{t[Pl]="done";try{let d=rle(a,r,e.type,s);if(t[ad])return;t[U1]=d,Fo("load",t)}catch(d){t[XQ]=d,Fo("error",t)}t[Pl]!=="loading"&&Fo("loadend",t)});break}}catch(u){if(t[ad])return;queueMicrotask(()=>{t[Pl]="done",t[XQ]=u,Fo("error",t),t[Pl]!=="loading"&&Fo("loadend",t)});break}})()}o(tle,"readOperation");function Fo(t,e){let r=new Kce(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(Fo,"fireAProgressEvent");function rle(t,e,r,s){switch(e){case"DataURL":{let n="data:",i=G1(r||"application/octet-stream");i!=="failure"&&(n+=Xce(i)),n+=";base64,";let a=new H1("latin1");for(let c of t)n+=z1(a.write(c));return n+=z1(a.end()),n}case"Text":{let n="failure";if(s&&(n=q1(s)),n==="failure"&&r){let i=G1(r);i!=="failure"&&(n=q1(i.parameters.get("charset")))}return n==="failure"&&(n="UTF-8"),sle(t,n)}case"ArrayBuffer":return $1(t).buffer;case"BinaryString":{let n="",i=new H1("latin1");for(let a of t)n+=i.write(a);return n+=i.end(),n}}}o(rle,"packageData");function sle(t,e){let r=$1(t),s=nle(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(sle,"decode");function nle(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(nle,"BOMSniffing");function $1(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($1,"combineByteSequences");V1.exports={staticPropertyDescriptors:ele,readOperation:tle,fireAProgressEvent:Fo}});var K1=f((YFe,j1)=>{"use strict";var{staticPropertyDescriptors:kl,readOperation:Mf,fireAProgressEvent:J1}=Y1(),{kState:Ha,kError:W1,kResult:Of,kEvents:Ne,kAborted:ile}=jQ(),{webidl:De}=Wt(),{kEnumerableProperty:Dr}=pe(),mn=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[Ha]="empty",this[Of]=null,this[W1]=null,this[Ne]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){De.brandCheck(this,t),De.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=De.converters.Blob(e,{strict:!1}),Mf(this,e,"ArrayBuffer")}readAsBinaryString(e){De.brandCheck(this,t),De.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=De.converters.Blob(e,{strict:!1}),Mf(this,e,"BinaryString")}readAsText(e,r=void 0){De.brandCheck(this,t),De.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=De.converters.Blob(e,{strict:!1}),r!==void 0&&(r=De.converters.DOMString(r,"FileReader.readAsText","encoding")),Mf(this,e,"Text",r)}readAsDataURL(e){De.brandCheck(this,t),De.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=De.converters.Blob(e,{strict:!1}),Mf(this,e,"DataURL")}abort(){if(this[Ha]==="empty"||this[Ha]==="done"){this[Of]=null;return}this[Ha]==="loading"&&(this[Ha]="done",this[Of]=null),this[ile]=!0,J1("abort",this),this[Ha]!=="loading"&&J1("loadend",this)}get readyState(){switch(De.brandCheck(this,t),this[Ha]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return De.brandCheck(this,t),this[Of]}get error(){return De.brandCheck(this,t),this[W1]}get onloadend(){return De.brandCheck(this,t),this[Ne].loadend}set onloadend(e){De.brandCheck(this,t),this[Ne].loadend&&this.removeEventListener("loadend",this[Ne].loadend),typeof e=="function"?(this[Ne].loadend=e,this.addEventListener("loadend",e)):this[Ne].loadend=null}get onerror(){return De.brandCheck(this,t),this[Ne].error}set onerror(e){De.brandCheck(this,t),this[Ne].error&&this.removeEventListener("error",this[Ne].error),typeof e=="function"?(this[Ne].error=e,this.addEventListener("error",e)):this[Ne].error=null}get onloadstart(){return De.brandCheck(this,t),this[Ne].loadstart}set onloadstart(e){De.brandCheck(this,t),this[Ne].loadstart&&this.removeEventListener("loadstart",this[Ne].loadstart),typeof e=="function"?(this[Ne].loadstart=e,this.addEventListener("loadstart",e)):this[Ne].loadstart=null}get onprogress(){return De.brandCheck(this,t),this[Ne].progress}set onprogress(e){De.brandCheck(this,t),this[Ne].progress&&this.removeEventListener("progress",this[Ne].progress),typeof e=="function"?(this[Ne].progress=e,this.addEventListener("progress",e)):this[Ne].progress=null}get onload(){return De.brandCheck(this,t),this[Ne].load}set onload(e){De.brandCheck(this,t),this[Ne].load&&this.removeEventListener("load",this[Ne].load),typeof e=="function"?(this[Ne].load=e,this.addEventListener("load",e)):this[Ne].load=null}get onabort(){return De.brandCheck(this,t),this[Ne].abort}set onabort(e){De.brandCheck(this,t),this[Ne].abort&&this.removeEventListener("abort",this[Ne].abort),typeof e=="function"?(this[Ne].abort=e,this.addEventListener("abort",e)):this[Ne].abort=null}};mn.EMPTY=mn.prototype.EMPTY=0;mn.LOADING=mn.prototype.LOADING=1;mn.DONE=mn.prototype.DONE=2;Object.defineProperties(mn.prototype,{EMPTY:kl,LOADING:kl,DONE:kl,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(mn,{EMPTY:kl,LOADING:kl,DONE:kl});j1.exports={FileReader:mn}});var Ff=f((WFe,X1)=>{"use strict";X1.exports={kConstruct:Ye().kConstruct}});var tq=f((jFe,eq)=>{"use strict";var ole=require("node:assert"),{URLSerializer:Z1}=vr(),{isValidHeaderName:ale}=Kr();function cle(t,e,r=!1){let s=Z1(t,r),n=Z1(e,r);return s===n}o(cle,"urlEquals");function lle(t){ole(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),ale(r)&&e.push(r);return e}o(lle,"getFieldValues");eq.exports={urlEquals:cle,getFieldValues:lle}});var nq=f((XFe,sq)=>{"use strict";var{kConstruct:ule}=Ff(),{urlEquals:Ale,getFieldValues:ex}=tq(),{kEnumerableProperty:za,isDisturbed:dle}=pe(),{webidl:Y}=Wt(),{Response:ple,cloneResponse:mle,fromInnerResponse:hle}=nd(),{Request:Yi,fromInnerRequest:fle}=vl(),{kState:hn}=xo(),{fetching:gle}=od(),{urlIsHttpHttpsScheme:Uf,createDeferredPromise:Dl,readAllBytes:Ele}=Kr(),tx=require("node:assert"),qf=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==ule&&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[hn];if(!Uf(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 Yi(p)[hn];if(!Uf(m.url))throw Y.errors.exception({header:r,message:"Expected http/s scheme."});m.initiator="fetch",m.destination="subresource",n.push(m);let h=Dl();i.push(gle({request:m,processResponse(g){if(g.type==="error"||g.status===206||g.status<200||g.status>299)h.reject(Y.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(g.headersList.contains("vary")){let C=ex(g.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(g){if(g.aborted){h.reject(new DOMException("aborted","AbortError"));return}h.resolve(g)}})),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=Dl(),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 Yi?n=e[hn]:n=new Yi(e)[hn],!Uf(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[hn];if(i.status===206)throw Y.errors.exception({header:s,message:"Got 206 status"});if(i.headersList.contains("vary")){let m=ex(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&&(dle(i.body.stream)||i.body.stream.locked))throw Y.errors.exception({header:s,message:"Response body is locked or disturbed"});let a=mle(i),c=Dl();if(i.body!=null){let h=i.body.stream.getReader();Ele(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=Dl(),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 Yi){if(n=e[hn],n.method!=="GET"&&!r.ignoreMethod)return!1}else tx(typeof e=="string"),n=new Yi(e)[hn];let i=[],a={type:"delete",request:n,options:r};i.push(a);let c=Dl(),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 Yi){if(n=e[hn],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new Yi(e)[hn]);let i=Dl(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#r(n,r);for(let l of c)a.push(l[0])}return queueMicrotask(()=>{let c=[];for(let l of a){let u=fle(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.#r(a.request,a.options,n).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#r(a.request,a.options),c.length===0)return[];for(let l of c){let u=r.indexOf(l);tx(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(!Uf(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.#r(a.request);for(let u of c){let A=r.indexOf(u);tx(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}}#r(e,r,s){let n=[],i=s??this.#e;for(let a of i){let[c,l]=a;this.#i(e,c,l,r)&&n.push(a)}return n}#i(e,r,s=null,n){let i=new URL(e.url),a=new URL(r.url);if(n?.ignoreSearch&&(a.search="",i.search=""),!Ale(i,a,!0))return!1;if(s==null||n?.ignoreVary||!s.headersList.contains("vary"))return!0;let c=ex(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 Yi){if(n=e[hn],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new Yi(e)[hn]);let i=[];if(e===void 0)for(let c of this.#e)i.push(c[1]);else{let c=this.#r(n,r);for(let l of c)i.push(l[1])}let a=[];for(let c of i){let l=hle(c,"immutable");if(a.push(l.clone()),a.length>=s)break}return Object.freeze(a)}};Object.defineProperties(qf.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:za,matchAll:za,add:za,addAll:za,put:za,delete:za,keys:za});var rq=[{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(rq);Y.converters.MultiCacheQueryOptions=Y.dictionaryConverter([...rq,{key:"cacheName",converter:Y.converters.DOMString}]);Y.converters.Response=Y.interfaceConverter(ple);Y.converters["sequence"]=Y.sequenceConverter(Y.converters.RequestInfo);sq.exports={Cache:qf}});var oq=f((eUe,iq)=>{"use strict";var{kConstruct:cd}=Ff(),{Cache:Gf}=nq(),{webidl:rr}=Wt(),{kEnumerableProperty:ld}=pe(),Hf=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==cd&&rr.illegalConstructor(),rr.util.markAsUncloneable(this)}async match(e,r={}){if(rr.brandCheck(this,t),rr.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=rr.converters.RequestInfo(e),r=rr.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let s=this.#e.get(r.cacheName);return await new Gf(cd,s).match(e,r)}}else for(let s of this.#e.values()){let i=await new Gf(cd,s).match(e,r);if(i!==void 0)return i}}async has(e){rr.brandCheck(this,t);let r="CacheStorage.has";return rr.argumentLengthCheck(arguments,1,r),e=rr.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){rr.brandCheck(this,t);let r="CacheStorage.open";if(rr.argumentLengthCheck(arguments,1,r),e=rr.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let n=this.#e.get(e);return new Gf(cd,n)}let s=[];return this.#e.set(e,s),new Gf(cd,s)}async delete(e){rr.brandCheck(this,t);let r="CacheStorage.delete";return rr.argumentLengthCheck(arguments,1,r),e=rr.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return rr.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(Hf.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:ld,has:ld,open:ld,delete:ld,keys:ld});iq.exports={CacheStorage:Hf}});var cq=f((rUe,aq)=>{"use strict";aq.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var nx=f((sUe,dq)=>{"use strict";function yle(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(yle,"isCTLExcludingHtab");function rx(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(rx,"validateCookieName");function sx(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(sx,"validateCookieValue");function uq(t){for(let e=0;e126||r===59)throw new Error("Invalid cookie path")}}o(uq,"validateCookiePath");function lq(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}o(lq,"isLetterOrDigit");function Cle(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(Cle,"validateCookieDomain");var Ile=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Ble=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],zf=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function Aq(t){return typeof t=="number"&&(t=new Date(t)),`${Ile[t.getUTCDay()]}, ${zf[t.getUTCDate()]} ${Ble[t.getUTCMonth()]} ${t.getUTCFullYear()} ${zf[t.getUTCHours()]}:${zf[t.getUTCMinutes()]}:${zf[t.getUTCSeconds()]} GMT`}o(Aq,"toIMFDate");function wle(t){if(t<0)throw new Error("Invalid cookie max-age")}o(wle,"validateCookieMaxAge");function ble(t){if(t.name.length===0)return null;rx(t.name),sx(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"&&(wle(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(Cle(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(uq(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${Aq(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("=");rx(i),sx(a),e.push(`${i}=${a}`)}return e.join("; ")}o(ble,"stringify");dq.exports={isCTLExcludingHtab:yle,validateCookieName:rx,validateCookiePath:uq,validateCookieValue:sx,toIMFDate:Aq,stringify:ble}});var mq=f((iUe,pq)=>{"use strict";var{maxNameValuePairSize:Qle,maxAttributeValueSize:xle}=cq(),{isCTLExcludingHtab:Nle}=nx(),{collectASequenceOfCodePointsFast:$f}=vr(),Sle=require("node:assert");function Rle(t){if(Nle(t))return null;let e="",r="",s="",n="";if(t.includes(";")){let i={position:0};e=$f(";",t,i),r=t.slice(i.position)}else e=t;if(!e.includes("="))n=e;else{let i={position:0};s=$f("=",e,i),n=e.slice(i.position+1)}return s=s.trim(),n=n.trim(),s.length+n.length>Qle?null:{name:s,value:n,..._l(r)}}o(Rle,"parseSetCookie");function _l(t,e={}){if(t.length===0)return e;Sle(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=$f(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let s="",n="";if(r.includes("=")){let a={position:0};s=$f("=",r,a),n=r.slice(a.position+1)}else s=r;if(s=s.trim(),n=n.trim(),n.length>xle)return _l(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 _l(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 _l(t,e)}o(_l,"parseUnparsedAttributes");pq.exports={parseSetCookie:Rle,parseUnparsedAttributes:_l}});var gq=f((aUe,fq)=>{"use strict";var{parseSetCookie:Tle}=mq(),{stringify:vle}=nx(),{webidl:Ee}=Wt(),{Headers:Vf}=Fa();function Ple(t){Ee.argumentLengthCheck(arguments,1,"getCookies"),Ee.brandCheck(t,Vf,{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(Ple,"getCookies");function kle(t,e,r){Ee.brandCheck(t,Vf,{strict:!1});let s="deleteCookie";Ee.argumentLengthCheck(arguments,2,s),e=Ee.converters.DOMString(e,s,"name"),r=Ee.converters.DeleteCookieAttributes(r),hq(t,{name:e,value:"",expires:new Date(0),...r})}o(kle,"deleteCookie");function Dle(t){Ee.argumentLengthCheck(arguments,1,"getSetCookies"),Ee.brandCheck(t,Vf,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>Tle(r)):[]}o(Dle,"getSetCookies");function hq(t,e){Ee.argumentLengthCheck(arguments,2,"setCookie"),Ee.brandCheck(t,Vf,{strict:!1}),e=Ee.converters.Cookie(e);let r=vle(e);r&&t.append("Set-Cookie",r)}o(hq,"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")}]);fq.exports={getCookies:Ple,deleteCookie:kle,getSetCookies:Dle,setCookie:hq}});var Ml=f((lUe,yq)=>{"use strict";var{webidl:V}=Wt(),{kEnumerableProperty:_r}=pe(),{kConstruct:Eq}=Ye(),{MessagePort:_le}=require("node:worker_threads"),Ll=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===Eq){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(Eq,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:Lle}=Ll;delete Ll.createFastMessageEvent;var Yf=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}},Jf=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(Ll.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:_r,origin:_r,lastEventId:_r,source:_r,ports:_r,initMessageEvent:_r});Object.defineProperties(Yf.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:_r,code:_r,wasClean:_r});Object.defineProperties(Jf.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:_r,filename:_r,lineno:_r,colno:_r,error:_r});V.converters.MessagePort=V.interfaceConverter(_le);V.converters["sequence"]=V.sequenceConverter(V.converters.MessagePort);var ix=[{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([...ix,{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([...ix,{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([...ix,{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}]);yq.exports={MessageEvent:Ll,CloseEvent:Yf,ErrorEvent:Jf,createFastMessageEvent:Lle}});var $a=f((AUe,Cq)=>{"use strict";var Mle="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",Ole={enumerable:!0,writable:!1,configurable:!1},Fle={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},Ule={NOT_SENT:0,PROCESSING:1,SENT:2},qle={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},Gle=2**16-1,Hle={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},zle=Buffer.allocUnsafe(0),$le={string:1,typedArray:2,arrayBuffer:3,blob:4};Cq.exports={uid:Mle,sentCloseFrameState:Ule,staticPropertyDescriptors:Ole,states:Fle,opcodes:qle,maxUnsigned16Bit:Gle,parserStates:Hle,emptyBuffer:zle,sendHints:$le}});var ud=f((dUe,Iq)=>{"use strict";Iq.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}});var pd=f((pUe,Tq)=>{"use strict";var{kReadyState:Ad,kController:Vle,kResponse:Yle,kBinaryType:Jle,kWebSocketURL:Wle}=ud(),{states:dd,opcodes:Uo}=$a(),{ErrorEvent:jle,createFastMessageEvent:Kle}=Ml(),{isUtf8:Xle}=require("node:buffer"),{collectASequenceOfCodePointsFast:Zle,removeHTTPWhitespace:Bq}=vr();function eue(t){return t[Ad]===dd.CONNECTING}o(eue,"isConnecting");function tue(t){return t[Ad]===dd.OPEN}o(tue,"isEstablished");function rue(t){return t[Ad]===dd.CLOSING}o(rue,"isClosing");function sue(t){return t[Ad]===dd.CLOSED}o(sue,"isClosed");function ox(t,e,r=(n,i)=>new Event(n,i),s={}){let n=r(t,s);e.dispatchEvent(n)}o(ox,"fireEvent");function nue(t,e,r){if(t[Ad]!==dd.OPEN)return;let s;if(e===Uo.TEXT)try{s=Rq(r)}catch{bq(t,"Received invalid UTF-8 in text frame.");return}else e===Uo.BINARY&&(t[Jle]==="blob"?s=new Blob([r]):s=iue(r));ox("message",t,Kle,{origin:t[Wle].origin,data:s})}o(nue,"websocketMessageReceived");function iue(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(iue,"toArrayBuffer");function oue(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(oue,"isValidSubprotocol");function aue(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(aue,"isValidStatusCode");function bq(t,e){let{[Vle]:r,[Yle]:s}=t;r.abort(),s?.socket&&!s.socket.destroyed&&s.socket.destroy(),e&&ox("error",t,(n,i)=>new jle(n,i),{error:new Error(e),message:e})}o(bq,"failWebsocketConnection");function Qq(t){return t===Uo.CLOSE||t===Uo.PING||t===Uo.PONG}o(Qq,"isControlFrame");function xq(t){return t===Uo.CONTINUATION}o(xq,"isContinuationFrame");function Nq(t){return t===Uo.TEXT||t===Uo.BINARY}o(Nq,"isTextBinaryFrame");function cue(t){return Nq(t)||xq(t)||Qq(t)}o(cue,"isValidOpcode");function lue(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(uue,"isValidClientWindowBits");var Sq=typeof process.versions.icu=="string",wq=Sq?new TextDecoder("utf-8",{fatal:!0}):void 0,Rq=Sq?wq.decode.bind(wq):function(t){if(Xle(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};Tq.exports={isConnecting:eue,isEstablished:tue,isClosing:rue,isClosed:sue,fireEvent:ox,isValidSubprotocol:oue,isValidStatusCode:aue,failWebsocketConnection:bq,websocketMessageReceived:nue,utf8Decode:Rq,isControlFrame:Qq,isContinuationFrame:xq,isTextBinaryFrame:Nq,isValidOpcode:cue,parseExtensions:lue,isValidClientWindowBits:uue}});var jf=f((hUe,vq)=>{"use strict";var{maxUnsigned16Bit:Aue}=$a(),Wf=16386,ax,md=null,Ol=Wf;try{ax=require("node:crypto")}catch{ax={randomFillSync:o(function(e,r,s){for(let n=0;nAue?(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:pue,states:hd,sentCloseFrameState:Kf,emptyBuffer:mue,opcodes:hue}=$a(),{kReadyState:fd,kSentClose:Xf,kByteParser:kq,kReceivedClose:Pq,kResponse:Dq}=ud(),{fireEvent:fue,failWebsocketConnection:qo,isClosing:gue,isClosed:Eue,isEstablished:yue,parseExtensions:Cue}=pd(),{channels:Fl}=jc(),{CloseEvent:Iue}=Ml(),{makeRequest:Bue}=vl(),{fetching:wue}=od(),{Headers:bue,getHeadersList:Que}=Fa(),{getDecodeSplit:xue}=Kr(),{WebsocketFrameSend:Nue}=jf(),lx;try{lx=require("node:crypto")}catch{}function Sue(t,e,r,s,n,i){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=Bue({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let d=Que(new bue(i.headers));c.headersList=d}let l=lx.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"),wue({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=lx.createHash("sha1").update(l+pue).digest("base64");if(p!==m){qo(s,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let h=d.headersList.get("Sec-WebSocket-Extensions"),g;if(h!==null&&(g=Cue(h),!g.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=xue("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",_q),d.socket.on("close",Lq),d.socket.on("error",Mq),Fl.open.hasSubscribers&&Fl.open.publish({address:d.socket.address(),protocol:C,extensions:h}),n(d,g)}})}o(Sue,"establishWebSocketConnection");function Rue(t,e,r,s){if(!(gue(t)||Eue(t)))if(!yue(t))qo(t,"Connection was closed before it was established."),t[fd]=hd.CLOSING;else if(t[Xf]===Kf.NOT_SENT){t[Xf]=Kf.PROCESSING;let n=new Nue;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=mue,t[Dq].socket.write(n.createFrame(hue.CLOSE)),t[Xf]=Kf.SENT,t[fd]=hd.CLOSING}else t[fd]=hd.CLOSING}o(Rue,"closeWebSocketConnection");function _q(t){this.ws[kq].write(t)||this.pause()}o(_q,"onSocketData");function Lq(){let{ws:t}=this,{[Dq]:e}=t;e.socket.off("data",_q),e.socket.off("close",Lq),e.socket.off("error",Mq);let r=t[Xf]===Kf.SENT&&t[Pq],s=1005,n="",i=t[kq].closingInfo;i&&!i.error?(s=i.code??1005,n=i.reason):t[Pq]||(s=1006),t[fd]=hd.CLOSED,fue("close",t,(a,c)=>new Iue(a,c),{wasClean:r,code:s,reason:n}),Fl.close.hasSubscribers&&Fl.close.publish({websocket:t,code:s,reason:n})}o(Lq,"onSocketClose");function Mq(t){let{ws:e}=this;e[fd]=hd.CLOSING,Fl.socketError.hasSubscribers&&Fl.socketError.publish(t),this.destroy()}o(Mq,"onSocketError");Oq.exports={establishWebSocketConnection:Sue,closeWebSocketConnection:Rue}});var Uq=f((yUe,Fq)=>{"use strict";var{createInflateRaw:Tue,Z_DEFAULT_WINDOWBITS:vue}=require("node:zlib"),{isValidClientWindowBits:Pue}=pd(),{MessageSizeExceededError:kue}=Qe(),Due=Buffer.from([0,0,255,255]),Zf=Symbol("kBuffer"),gd=Symbol("kLength"),Ax=class{static{o(this,"PerMessageDeflate")}#e;#t={};#r=0;constructor(e,r){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits"),this.#r=r.maxPayloadSize}decompress(e,r,s){if(!this.#e){let n=vue;if(this.#t.serverMaxWindowBits){if(!Pue(this.#t.serverMaxWindowBits)){s(new Error("Invalid server_max_window_bits"));return}n=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=Tue({windowBits:n})}catch(i){s(i);return}this.#e[Zf]=[],this.#e[gd]=0,this.#e.on("data",i=>{if(this.#e[gd]+=i.length,this.#r>0&&this.#e[gd]>this.#r){s(new kue),this.#e.removeAllListeners(),this.#e.destroy(),this.#e=null;return}this.#e[Zf].push(i)}),this.#e.on("error",i=>{this.#e=null,s(i)})}this.#e.write(e),r&&this.#e.write(Due),this.#e.flush(()=>{if(!this.#e)return;let n=Buffer.concat(this.#e[Zf],this.#e[gd]);this.#e[Zf].length=0,this.#e[gd]=0,s(null,n)})}};Fq.exports={PerMessageDeflate:Ax}});var jq=f((IUe,Wq)=>{"use strict";var{Writable:_ue}=require("node:stream"),Lue=require("node:assert"),{parserStates:Lr,opcodes:Ul,states:Mue,emptyBuffer:qq,sentCloseFrameState:Gq}=$a(),{kReadyState:Oue,kSentClose:Hq,kResponse:zq,kReceivedClose:$q}=ud(),{channels:eg}=jc(),{isValidStatusCode:Fue,isValidOpcode:Uue,failWebsocketConnection:is,websocketMessageReceived:Vq,utf8Decode:que,isControlFrame:dx,isTextBinaryFrame:px,isContinuationFrame:Gue}=pd(),{WebsocketFrameSend:Yq}=jf(),{closeWebSocketConnection:Jq}=ux(),{PerMessageDeflate:Hue}=Uq(),{MessageSizeExceededError:mx}=Qe();function Ed(t,e,r){Jq(t,e,r,Buffer.byteLength(r)),is(t,r)}o(Ed,"failWebsocketConnectionWithCode");var hx=class extends _ue{static{o(this,"ByteParser")}#e=[];#t=0;#r=0;#i=!1;#n=Lr.INFO;#s={};#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 Hue(r,s))}_write(e,r,s){this.#e.push(e),this.#r+=e.length,this.#i=!0,this.run(s)}#u(){return this.#c>0&&!dx(this.#s.opcode)&&this.#s.payloadLength+this.#t>this.#c?(Ed(this.ws,1009,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#i;)if(this.#n===Lr.INFO){if(this.#r<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!==Ul.CONTINUATION,c=r[1]&127,l=r[0]&64,u=r[0]&32,A=r[0]&16;if(!Uue(n))return is(this.ws,"Invalid opcode received"),e();if(i)return is(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#a.has("permessage-deflate")){is(this.ws,"Expected RSV1 to be clear.");return}if(u!==0||A!==0){is(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!px(n)){is(this.ws,"Invalid frame type was fragmented.");return}if(px(n)&&this.#o.length>0){is(this.ws,"Expected continuation frame");return}if(this.#s.fragmented&&a){is(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&dx(n)){is(this.ws,"Control frame either too large or fragmented");return}if(Gue(n)&&this.#o.length===0&&!this.#s.compressed){is(this.ws,"Unexpected continuation frame");return}if(c<=125){if(this.#s.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);px(n)&&(this.#s.binaryType=n,this.#s.compressed=l!==0),this.#s.opcode=n,this.#s.masked=i,this.#s.fin=s,this.#s.fragmented=a}else if(this.#n===Lr.PAYLOADLENGTH_16){if(this.#r<2)return e();let r=this.consume(2);if(this.#s.payloadLength=r.readUInt16BE(0),this.#n=Lr.READ_DATA,!this.#u())return}else if(this.#n===Lr.PAYLOADLENGTH_64){if(this.#r<8)return e();let r=this.consume(8),s=r.readUInt32BE(0),n=r.readUInt32BE(4);if(s!==0||n>2**31-1){is(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#s.payloadLength=n,this.#n=Lr.READ_DATA,!this.#u())return}else if(this.#n===Lr.READ_DATA){if(this.#r{if(s){let i=s instanceof mx?1009:1007;Ed(this.ws,i,s.message);return}if(this.writeFragments(n)){if(this.#c>0&&this.#t>this.#c){Ed(this.ws,1009,new mx().message);return}if(!this.#s.fin){this.#n=Lr.INFO,this.#i=!0,this.run(e);return}Vq(this.ws,this.#s.binaryType,this.consumeFragments()),this.#i=!0,this.#n=Lr.INFO,this.run(e)}}),this.#i=!1;break}else{if(!this.writeFragments(r))return;if(this.#c>0&&this.#t>this.#c){Ed(this.ws,1009,new mx().message);return}!this.#s.fragmented&&this.#s.fin&&Vq(this.ws,this.#s.binaryType,this.consumeFragments()),this.#n=Lr.INFO}}}consume(e){if(e>this.#r)throw new Error("Called consume() before buffers satiated.");if(e===0)return qq;if(this.#e[0].length===e)return this.#r-=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.#r-=e,r}writeFragments(e){return this.#l>0&&this.#o.length===this.#l?(Ed(this.ws,1008,"Too many message fragments"),!1):(this.#t+=e.length,this.#o.push(e),!0)}consumeFragments(){let e=this.#o;if(e.length===1)return this.#t=0,e.shift();let r=Buffer.concat(e,this.#t);return this.#o=[],this.#t=0,r}parseCloseBody(e){Lue(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!Fue(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=que(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.#s;if(r===Ul.CLOSE){if(s===1)return is(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#s.closeInfo=this.parseCloseBody(e),this.#s.closeInfo.error){let{code:n,reason:i}=this.#s.closeInfo;return Jq(this.ws,n,i,i.length),is(this.ws,i),!1}if(this.ws[Hq]!==Gq.SENT){let n=qq;this.#s.closeInfo.code&&(n=Buffer.allocUnsafe(2),n.writeUInt16BE(this.#s.closeInfo.code,0));let i=new Yq(n);this.ws[zq].socket.write(i.createFrame(Ul.CLOSE),a=>{a||(this.ws[Hq]=Gq.SENT)})}return this.ws[Oue]=Mue.CLOSING,this.ws[$q]=!0,!1}else if(r===Ul.PING){if(!this.ws[$q]){let n=new Yq(e);this.ws[zq].socket.write(n.createFrame(Ul.PONG)),eg.ping.hasSubscribers&&eg.ping.publish({payload:e})}}else r===Ul.PONG&&eg.pong.hasSubscribers&&eg.pong.publish({payload:e});return!0}get closingInfo(){return this.#s.closeInfo}};Wq.exports={ByteParser:hx}});var tG=f((wUe,eG)=>{"use strict";var{WebsocketFrameSend:zue}=jf(),{opcodes:Kq,sendHints:ql}=$a(),$ue=Ib(),Xq=Buffer[Symbol.species],fx=class{static{o(this,"SendQueue")}#e=new $ue;#t=!1;#r;constructor(e){this.#r=e}add(e,r,s){if(s!==ql.blob){let i=Zq(e,s);if(!this.#t)this.#r.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=Zq(i,s)}),callback:r,frame:null};this.#e.push(n),this.#t||this.#i()}async#i(){this.#t=!0;let e=this.#e;for(;!e.isEmpty();){let r=e.shift();r.promise!==null&&await r.promise,this.#r.write(r.frame,r.callback),r.callback=r.frame=null}this.#t=!1}};function Zq(t,e){return new zue(Vue(t,e)).createFrame(e===ql.string?Kq.TEXT:Kq.BINARY)}o(Zq,"createFrame");function Vue(t,e){switch(e){case ql.string:return Buffer.from(t);case ql.arrayBuffer:case ql.blob:return new Xq(t);case ql.typedArray:return new Xq(t.buffer,t.byteOffset,t.byteLength)}}o(Vue,"toBuffer");eG.exports={SendQueue:fx}});var AG=f((QUe,uG)=>{"use strict";var{webidl:te}=Wt(),{URLSerializer:Yue}=vr(),{environmentSettingsObject:rG}=Kr(),{staticPropertyDescriptors:Go,states:yd,sentCloseFrameState:Jue,sendHints:tg}=$a(),{kWebSocketURL:sG,kReadyState:gx,kController:nG,kBinaryType:rg,kResponse:iG,kSentClose:Wue,kByteParser:jue}=ud(),{isConnecting:Kue,isEstablished:Xue,isClosing:Zue,isValidSubprotocol:eAe,fireEvent:oG}=pd(),{establishWebSocketConnection:tAe,closeWebSocketConnection:aG}=ux(),{ByteParser:rAe}=jq(),{kEnumerableProperty:Ts,isBlobLike:cG}=pe(),{getGlobalDispatcher:sAe}=gf(),{types:lG}=require("node:util"),{ErrorEvent:nAe,CloseEvent:iAe}=Ml(),{SendQueue:oAe}=tG(),os=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#r="";#i="";#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=rG.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=>eAe(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[sG]=new URL(a.href);let c=rG.settingsObject;this[nG]=tAe(a,r,c,this,(l,u)=>this.#s(l,u),n),this[gx]=t.CONNECTING,this[Wue]=Jue.NOT_SENT,this[rg]="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"),Kue(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!Xue(this)||Zue(this)))if(typeof e=="string"){let s=Buffer.byteLength(e);this.#t+=s,this.#n.add(e,()=>{this.#t-=s},tg.string)}else lG.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#n.add(e,()=>{this.#t-=e.byteLength},tg.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#n.add(e,()=>{this.#t-=e.byteLength},tg.typedArray)):cG(e)&&(this.#t+=e.size,this.#n.add(e,()=>{this.#t-=e.size},tg.blob))}get readyState(){return te.brandCheck(this,t),this[gx]}get bufferedAmount(){return te.brandCheck(this,t),this.#t}get url(){return te.brandCheck(this,t),Yue(this[sG])}get extensions(){return te.brandCheck(this,t),this.#i}get protocol(){return te.brandCheck(this,t),this.#r}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[rg]}set binaryType(e){te.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[rg]="blob":this[rg]=e}#s(e,r){this[iG]=e;let s=this[nG]?.dispatcher?.webSocketOptions,n=s?.maxFragments,i=s?.maxPayloadSize,a=new rAe(this,r,{maxFragments:n,maxPayloadSize:i});a.on("drain",aAe),a.on("error",cAe.bind(this)),e.socket.ws=this,this[jue]=a,this.#n=new oAe(e.socket),this[gx]=yd.OPEN;let c=e.headersList.get("sec-websocket-extensions");c!==null&&(this.#i=c);let l=e.headersList.get("sec-websocket-protocol");l!==null&&(this.#r=l),oG("open",this)}};os.CONNECTING=os.prototype.CONNECTING=yd.CONNECTING;os.OPEN=os.prototype.OPEN=yd.OPEN;os.CLOSING=os.prototype.CLOSING=yd.CLOSING;os.CLOSED=os.prototype.CLOSED=yd.CLOSED;Object.defineProperties(os.prototype,{CONNECTING:Go,OPEN:Go,CLOSING:Go,CLOSED:Go,url:Ts,readyState:Ts,bufferedAmount:Ts,onopen:Ts,onerror:Ts,onclose:Ts,close:Ts,onmessage:Ts,binaryType:Ts,send:Ts,extensions:Ts,protocol:Ts,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(os,{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(()=>sAe(),"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(cG(t))return te.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||lG.isArrayBuffer(t))return te.converters.BufferSource(t)}return te.converters.USVString(t)};function aAe(){this.ws[iG].socket.resume()}o(aAe,"onParserDrain");function cAe(t){let e,r;t instanceof iAe?(e=t.reason,r=t.code):e=t.message,oG("error",this,()=>new nAe("error",{error:t,message:e})),aG(this,r)}o(cAe,"onParserError");uG.exports={WebSocket:os}});var Ex=f((NUe,dG)=>{"use strict";function lAe(t){return t.indexOf("\0")===-1}o(lAe,"isValidLastEventId");function uAe(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}o(uAe,"isASCIINumber");function AAe(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(AAe,"delay");dG.exports={isValidLastEventId:lAe,isASCIINumber:uAe,delay:AAe}});var mG=f((RUe,pG)=>{"use strict";var{Transform:dAe}=require("node:stream"),{isASCIINumber:pAe,isValidLastEventId:mAe}=Ex(),Gl=[239,187,191],yx=10,sg=13,hAe=58,fAe=32,gAe=Buffer.from("data"),EAe=Buffer.from("event"),yAe=Buffer.from("id"),CAe=Buffer.from("retry");function IAe(t,e){if(e>=t.length)return!1;for(let r=e;r57)return!1;return!0}o(IAe,"isASCIINumberBytes");function BAe(t,e){for(let r=e;r0&&(r.event=a)}}processEvent(e){e.retry&&pAe(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&mAe(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:wAe}=require("node:stream"),{fetching:bAe}=od(),{makeRequest:QAe}=vl(),{webidl:Ji}=Wt(),{EventSourceStream:xAe}=mG(),{parseMIMEType:NAe}=vr(),{createFastMessageEvent:SAe}=Ml(),{isNetworkError:hG}=nd(),{delay:RAe}=Ex(),{kEnumerableProperty:Va}=pe(),{environmentSettingsObject:fG}=Kr(),gG=!1,EG=3e3,Cd=0,yG=1,Id=2,TAe="anonymous",vAe="use-credentials",Hl=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#r=!1;#i=Cd;#n=null;#s=null;#o;#a;constructor(e,r={}){super(),Ji.util.markAsUncloneable(this);let s="EventSource constructor";Ji.argumentLengthCheck(arguments,1,s),gG||(gG=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Ji.converters.USVString(e,s,"url"),r=Ji.converters.EventSourceInitDict(r,s,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:EG};let n=fG,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=TAe;r.withCredentials&&(a=vAe,this.#r=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=fG.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=QAe(c),this.#l()}get readyState(){return this.#i}get url(){return this.#t}get withCredentials(){return this.#r}#l(){if(this.#i===Id)return;this.#i=Cd;let e={request:this.#n,dispatcher:this.#o},r=o(s=>{hG(s)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=s=>{if(hG(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?NAe(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.#i=yG,this.dispatchEvent(new Event("open")),this.#a.origin=s.urlList[s.urlList.length-1].origin;let c=new xAe({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(SAe(l.type,l.options))},"push")});wAe(s.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=bAe(e)}async#c(){this.#i!==Id&&(this.#i=Cd,this.dispatchEvent(new Event("error")),await RAe(this.#a.reconnectionTime),this.#i===Cd&&(this.#a.lastEventId.length&&this.#n.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#l()))}close(){Ji.brandCheck(this,t),this.#i!==Id&&(this.#i=Id,this.#s.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}},CG={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:Cd,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:yG,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:Id,writable:!1}};Object.defineProperties(Hl,CG);Object.defineProperties(Hl.prototype,CG);Object.defineProperties(Hl.prototype,{close:Va,onerror:Va,onmessage:Va,onopen:Va,readyState:Va,url:Va,withCredentials:Va});Ji.converters.EventSourceInitDict=Ji.dictionaryConverter([{key:"withCredentials",converter:Ji.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:Ji.converters.any}]);IG.exports={EventSource:Hl,defaultReconnectionTime:EG}});var $l=f((kUe,ee)=>{"use strict";var PAe=gl(),wG=bA(),kAe=El(),DAe=BF(),_Ae=yl(),LAe=qb(),MAe=VF(),OAe=ZF(),bG=Qe(),og=pe(),{InvalidArgumentError:ig}=bG,zl=FU(),FAe=xA(),UAe=BQ(),qAe=I2(),GAe=QQ(),HAe=lQ(),zAe=af(),{getGlobalDispatcher:QG,setGlobalDispatcher:$Ae}=gf(),VAe=Ef(),YAe=Wh(),JAe=jh();Object.assign(wG.prototype,zl);ee.exports.Dispatcher=wG;ee.exports.Client=PAe;ee.exports.Pool=kAe;ee.exports.BalancedPool=DAe;ee.exports.Agent=_Ae;ee.exports.ProxyAgent=LAe;ee.exports.EnvHttpProxyAgent=MAe;ee.exports.RetryAgent=OAe;ee.exports.RetryHandler=zAe;ee.exports.DecoratorHandler=VAe;ee.exports.RedirectHandler=YAe;ee.exports.createRedirectInterceptor=JAe;ee.exports.interceptors={redirect:S2(),retry:T2(),dump:P2(),dns:_2()};ee.exports.buildConnector=FAe;ee.exports.errors=bG;ee.exports.util={parseHeaders:og.parseHeaders,headerNameToString:og.headerNameToString};function Bd(t){return(e,r,s)=>{if(typeof r=="function"&&(s=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new ig("invalid url");if(r!=null&&typeof r!="object")throw new ig("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new ig("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(og.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=og.parseURL(e);let{agent:n,dispatcher:i=QG()}=r;if(n)throw new ig("unsupported opts.agent. Did you mean opts.client?");return t.call(i,{...r,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:r.method||(r.body?"PUT":"GET")},s)}}o(Bd,"makeDispatcher");ee.exports.setGlobalDispatcher=$Ae;ee.exports.getGlobalDispatcher=QG;var WAe=od().fetch;ee.exports.fetch=o(async function(e,r=void 0){try{return await WAe(e,r)}catch(s){throw s&&typeof s=="object"&&Error.captureStackTrace(s),s}},"fetch");ee.exports.Headers=Fa().Headers;ee.exports.Response=nd().Response;ee.exports.Request=vl().Request;ee.exports.FormData=kA().FormData;ee.exports.File=globalThis.File??require("node:buffer").File;ee.exports.FileReader=K1().FileReader;var{setGlobalOrigin:jAe,getGlobalOrigin:KAe}=Gw();ee.exports.setGlobalOrigin=jAe;ee.exports.getGlobalOrigin=KAe;var{CacheStorage:XAe}=oq(),{kConstruct:ZAe}=Ff();ee.exports.caches=new XAe(ZAe);var{deleteCookie:ede,getCookies:tde,getSetCookies:rde,setCookie:sde}=gq();ee.exports.deleteCookie=ede;ee.exports.getCookies=tde;ee.exports.getSetCookies=rde;ee.exports.setCookie=sde;var{parseMIMEType:nde,serializeAMimeType:ide}=vr();ee.exports.parseMIMEType=nde;ee.exports.serializeAMimeType=ide;var{CloseEvent:ode,ErrorEvent:ade,MessageEvent:cde}=Ml();ee.exports.WebSocket=AG().WebSocket;ee.exports.CloseEvent=ode;ee.exports.ErrorEvent=ade;ee.exports.MessageEvent=cde;ee.exports.request=Bd(zl.request);ee.exports.stream=Bd(zl.stream);ee.exports.pipeline=Bd(zl.pipeline);ee.exports.connect=Bd(zl.connect);ee.exports.upgrade=Bd(zl.upgrade);ee.exports.MockClient=UAe;ee.exports.MockPool=GAe;ee.exports.MockAgent=qAe;ee.exports.mockErrors=HAe;var{EventSource:lde}=BG();ee.exports.EventSource=lde});var kd=f((i1e,iH)=>{"use strict";var Dde="2.0.0",_de=Number.MAX_SAFE_INTEGER||9007199254740991,Lde=16,Mde=250,Ode=["major","premajor","minor","preminor","patch","prepatch","prerelease"];iH.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Lde,MAX_SAFE_BUILD_LENGTH:Mde,MAX_SAFE_INTEGER:_de,RELEASE_TYPES:Ode,SEMVER_SPEC_VERSION:Dde,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Dd=f((o1e,oH)=>{"use strict";var Fde=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};oH.exports=Fde});var Kl=f((Yn,aH)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:zx,MAX_SAFE_BUILD_LENGTH:Ude,MAX_LENGTH:qde}=kd(),Gde=Dd();Yn=aH.exports={};var Hde=Yn.re=[],zde=Yn.safeRe=[],_=Yn.src=[],$de=Yn.safeSrc=[],L=Yn.t={},Vde=0,$x="[a-zA-Z0-9-]",Yde=[["\\s",1],["\\d",qde],[$x,Ude]],Jde=o(t=>{for(let[e,r]of Yde)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ie=o((t,e,r)=>{let s=Jde(e),n=Vde++;Gde(t,n,e),L[t]=n,_[n]=e,$de[n]=s,Hde[n]=new RegExp(e,r?"g":void 0),zde[n]=new RegExp(s,r?"g":void 0)},"createToken");ie("NUMERICIDENTIFIER","0|[1-9]\\d*");ie("NUMERICIDENTIFIERLOOSE","\\d+");ie("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${$x}*`);ie("MAINVERSION",`(${_[L.NUMERICIDENTIFIER]})\\.(${_[L.NUMERICIDENTIFIER]})\\.(${_[L.NUMERICIDENTIFIER]})`);ie("MAINVERSIONLOOSE",`(${_[L.NUMERICIDENTIFIERLOOSE]})\\.(${_[L.NUMERICIDENTIFIERLOOSE]})\\.(${_[L.NUMERICIDENTIFIERLOOSE]})`);ie("PRERELEASEIDENTIFIER",`(?:${_[L.NONNUMERICIDENTIFIER]}|${_[L.NUMERICIDENTIFIER]})`);ie("PRERELEASEIDENTIFIERLOOSE",`(?:${_[L.NONNUMERICIDENTIFIER]}|${_[L.NUMERICIDENTIFIERLOOSE]})`);ie("PRERELEASE",`(?:-(${_[L.PRERELEASEIDENTIFIER]}(?:\\.${_[L.PRERELEASEIDENTIFIER]})*))`);ie("PRERELEASELOOSE",`(?:-?(${_[L.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${_[L.PRERELEASEIDENTIFIERLOOSE]})*))`);ie("BUILDIDENTIFIER",`${$x}+`);ie("BUILD",`(?:\\+(${_[L.BUILDIDENTIFIER]}(?:\\.${_[L.BUILDIDENTIFIER]})*))`);ie("FULLPLAIN",`v?${_[L.MAINVERSION]}${_[L.PRERELEASE]}?${_[L.BUILD]}?`);ie("FULL",`^${_[L.FULLPLAIN]}$`);ie("LOOSEPLAIN",`[v=\\s]*${_[L.MAINVERSIONLOOSE]}${_[L.PRERELEASELOOSE]}?${_[L.BUILD]}?`);ie("LOOSE",`^${_[L.LOOSEPLAIN]}$`);ie("GTLT","((?:<|>)?=?)");ie("XRANGEIDENTIFIERLOOSE",`${_[L.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ie("XRANGEIDENTIFIER",`${_[L.NUMERICIDENTIFIER]}|x|X|\\*`);ie("XRANGEPLAIN",`[v=\\s]*(${_[L.XRANGEIDENTIFIER]})(?:\\.(${_[L.XRANGEIDENTIFIER]})(?:\\.(${_[L.XRANGEIDENTIFIER]})(?:${_[L.PRERELEASE]})?${_[L.BUILD]}?)?)?`);ie("XRANGEPLAINLOOSE",`[v=\\s]*(${_[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${_[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${_[L.XRANGEIDENTIFIERLOOSE]})(?:${_[L.PRERELEASELOOSE]})?${_[L.BUILD]}?)?)?`);ie("XRANGE",`^${_[L.GTLT]}\\s*${_[L.XRANGEPLAIN]}$`);ie("XRANGELOOSE",`^${_[L.GTLT]}\\s*${_[L.XRANGEPLAINLOOSE]}$`);ie("COERCEPLAIN",`(^|[^\\d])(\\d{1,${zx}})(?:\\.(\\d{1,${zx}}))?(?:\\.(\\d{1,${zx}}))?`);ie("COERCE",`${_[L.COERCEPLAIN]}(?:$|[^\\d])`);ie("COERCEFULL",_[L.COERCEPLAIN]+`(?:${_[L.PRERELEASE]})?(?:${_[L.BUILD]})?(?:$|[^\\d])`);ie("COERCERTL",_[L.COERCE],!0);ie("COERCERTLFULL",_[L.COERCEFULL],!0);ie("LONETILDE","(?:~>?)");ie("TILDETRIM",`(\\s*)${_[L.LONETILDE]}\\s+`,!0);Yn.tildeTrimReplace="$1~";ie("TILDE",`^${_[L.LONETILDE]}${_[L.XRANGEPLAIN]}$`);ie("TILDELOOSE",`^${_[L.LONETILDE]}${_[L.XRANGEPLAINLOOSE]}$`);ie("LONECARET","(?:\\^)");ie("CARETTRIM",`(\\s*)${_[L.LONECARET]}\\s+`,!0);Yn.caretTrimReplace="$1^";ie("CARET",`^${_[L.LONECARET]}${_[L.XRANGEPLAIN]}$`);ie("CARETLOOSE",`^${_[L.LONECARET]}${_[L.XRANGEPLAINLOOSE]}$`);ie("COMPARATORLOOSE",`^${_[L.GTLT]}\\s*(${_[L.LOOSEPLAIN]})$|^$`);ie("COMPARATOR",`^${_[L.GTLT]}\\s*(${_[L.FULLPLAIN]})$|^$`);ie("COMPARATORTRIM",`(\\s*)${_[L.GTLT]}\\s*(${_[L.LOOSEPLAIN]}|${_[L.XRANGEPLAIN]})`,!0);Yn.comparatorTrimReplace="$1$2$3";ie("HYPHENRANGE",`^\\s*(${_[L.XRANGEPLAIN]})\\s+-\\s+(${_[L.XRANGEPLAIN]})\\s*$`);ie("HYPHENRANGELOOSE",`^\\s*(${_[L.XRANGEPLAINLOOSE]})\\s+-\\s+(${_[L.XRANGEPLAINLOOSE]})\\s*$`);ie("STAR","(<|>)?=?\\s*\\*");ie("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ie("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var dg=f((c1e,cH)=>{"use strict";var Wde=Object.freeze({loose:!0}),jde=Object.freeze({}),Kde=o(t=>t?typeof t!="object"?Wde:t:jde,"parseOptions");cH.exports=Kde});var Vx=f((u1e,AH)=>{"use strict";var lH=/^[0-9]+$/,uH=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tuH(e,t),"rcompareIdentifiers");AH.exports={compareIdentifiers:uH,rcompareIdentifiers:Xde}});var sr=f((d1e,pH)=>{"use strict";var pg=Dd(),{MAX_LENGTH:dH,MAX_SAFE_INTEGER:mg}=kd(),{safeRe:hg,t:fg}=Kl(),Zde=dg(),{compareIdentifiers:Yx}=Vx(),Jx=class t{static{o(this,"SemVer")}constructor(e,r){if(r=Zde(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>dH)throw new TypeError(`version is longer than ${dH} characters`);pg("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?hg[fg.LOOSE]:hg[fg.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>mg||this.major<0)throw new TypeError("Invalid major version");if(this.minor>mg||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>mg||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(pg("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 Yx(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(pg("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 Yx(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[fg.PRERELEASELOOSE]:hg[fg.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]),Yx(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}};pH.exports=Jx});var Xa=f((m1e,hH)=>{"use strict";var mH=sr(),epe=o((t,e,r=!1)=>{if(t instanceof mH)return t;try{return new mH(t,e)}catch(s){if(!r)return null;throw s}},"parse");hH.exports=epe});var gH=f((f1e,fH)=>{"use strict";var tpe=Xa(),rpe=o((t,e)=>{let r=tpe(t,e);return r?r.version:null},"valid");fH.exports=rpe});var yH=f((E1e,EH)=>{"use strict";var spe=Xa(),npe=o((t,e)=>{let r=spe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");EH.exports=npe});var BH=f((C1e,IH)=>{"use strict";var CH=sr(),ipe=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new CH(t instanceof CH?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");IH.exports=ipe});var QH=f((B1e,bH)=>{"use strict";var wH=Xa(),ope=o((t,e)=>{let r=wH(t,null,!0),s=wH(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");bH.exports=ope});var NH=f((b1e,xH)=>{"use strict";var ape=sr(),cpe=o((t,e)=>new ape(t,e).major,"major");xH.exports=cpe});var RH=f((x1e,SH)=>{"use strict";var lpe=sr(),upe=o((t,e)=>new lpe(t,e).minor,"minor");SH.exports=upe});var vH=f((S1e,TH)=>{"use strict";var Ape=sr(),dpe=o((t,e)=>new Ape(t,e).patch,"patch");TH.exports=dpe});var kH=f((T1e,PH)=>{"use strict";var ppe=Xa(),mpe=o((t,e)=>{let r=ppe(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");PH.exports=mpe});var ks=f((P1e,_H)=>{"use strict";var DH=sr(),hpe=o((t,e,r)=>new DH(t,r).compare(new DH(e,r)),"compare");_H.exports=hpe});var MH=f((D1e,LH)=>{"use strict";var fpe=ks(),gpe=o((t,e,r)=>fpe(e,t,r),"rcompare");LH.exports=gpe});var FH=f((L1e,OH)=>{"use strict";var Epe=ks(),ype=o((t,e)=>Epe(t,e,!0),"compareLoose");OH.exports=ype});var gg=f((O1e,qH)=>{"use strict";var UH=sr(),Cpe=o((t,e,r)=>{let s=new UH(t,r),n=new UH(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");qH.exports=Cpe});var HH=f((U1e,GH)=>{"use strict";var Ipe=gg(),Bpe=o((t,e)=>t.sort((r,s)=>Ipe(r,s,e)),"sort");GH.exports=Bpe});var $H=f((G1e,zH)=>{"use strict";var wpe=gg(),bpe=o((t,e)=>t.sort((r,s)=>wpe(s,r,e)),"rsort");zH.exports=bpe});var _d=f((z1e,VH)=>{"use strict";var Qpe=ks(),xpe=o((t,e,r)=>Qpe(t,e,r)>0,"gt");VH.exports=xpe});var Eg=f((V1e,YH)=>{"use strict";var Npe=ks(),Spe=o((t,e,r)=>Npe(t,e,r)<0,"lt");YH.exports=Spe});var Wx=f((J1e,JH)=>{"use strict";var Rpe=ks(),Tpe=o((t,e,r)=>Rpe(t,e,r)===0,"eq");JH.exports=Tpe});var jx=f((j1e,WH)=>{"use strict";var vpe=ks(),Ppe=o((t,e,r)=>vpe(t,e,r)!==0,"neq");WH.exports=Ppe});var yg=f((X1e,jH)=>{"use strict";var kpe=ks(),Dpe=o((t,e,r)=>kpe(t,e,r)>=0,"gte");jH.exports=Dpe});var Cg=f((eqe,KH)=>{"use strict";var _pe=ks(),Lpe=o((t,e,r)=>_pe(t,e,r)<=0,"lte");KH.exports=Lpe});var Kx=f((rqe,XH)=>{"use strict";var Mpe=Wx(),Ope=jx(),Fpe=_d(),Upe=yg(),qpe=Eg(),Gpe=Cg(),Hpe=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 Mpe(t,r,s);case"!=":return Ope(t,r,s);case">":return Fpe(t,r,s);case">=":return Upe(t,r,s);case"<":return qpe(t,r,s);case"<=":return Gpe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");XH.exports=Hpe});var ez=f((nqe,ZH)=>{"use strict";var zpe=sr(),$pe=Xa(),{safeRe:Ig,t:Bg}=Kl(),Vpe=o((t,e)=>{if(t instanceof zpe)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?Ig[Bg.COERCEFULL]:Ig[Bg.COERCE]);else{let l=e.includePrerelease?Ig[Bg.COERCERTLFULL]:Ig[Bg.COERCERTL],u;for(;(u=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||u.index+u[0].length!==r.index+r[0].length)&&(r=u),l.lastIndex=u.index+u[1].length+u[2].length;l.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return $pe(`${s}.${n}.${i}${a}${c}`,e)},"coerce");ZH.exports=Vpe});var rz=f((oqe,tz)=>{"use strict";var Xx=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}};tz.exports=Xx});var Ds=f((cqe,oz)=>{"use strict";var Ype=/\s+/g,Zx=class t{static{o(this,"Range")}constructor(e,r){if(r=Wpe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof e0)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(Ype," "),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=>!nz(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&&rme(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&&eme)|(this.options.loose&&tme))+":"+e,n=sz.get(s);if(n)return n;let i=this.options.loose,a=i?fr[nr.HYPHENRANGELOOSE]:fr[nr.HYPHENRANGE];e=e.replace(a,dme(this.options.includePrerelease)),He("hyphen replace",e),e=e.replace(fr[nr.COMPARATORTRIM],Kpe),He("comparator trim",e),e=e.replace(fr[nr.TILDETRIM],Xpe),He("tilde trim",e),e=e.replace(fr[nr.CARETTRIM],Zpe),He("caret trim",e);let c=e.split(" ").map(d=>sme(d,this.options)).join(" ").split(/\s+/).map(d=>Ame(d,this.options));i&&(c=c.filter(d=>(He("loose invalid filter",d,this.options),!!d.match(fr[nr.COMPARATORLOOSE])))),He("range list",c);let l=new Map,u=c.map(d=>new e0(d,this.options));for(let d of u){if(nz(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return sz.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>iz(s,r)&&e.set.some(n=>iz(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 jpe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),rme=o(t=>t.value==="","isAny"),iz=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"),sme=o((t,e)=>(t=t.replace(fr[nr.BUILD],""),He("comp",t,e),t=ome(t,e),He("caret",t),t=nme(t,e),He("tildes",t),t=cme(t,e),He("xrange",t),t=ume(t,e),He("stars",t),t),"parseComparator"),gr=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),nme=o((t,e)=>t.trim().split(/\s+/).map(r=>ime(r,e)).join(" "),"replaceTildes"),ime=o((t,e)=>{let r=e.loose?fr[nr.TILDELOOSE]:fr[nr.TILDE];return t.replace(r,(s,n,i,a,c)=>{He("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?(He("replaceTilde pr",c),l=`>=${n}.${i}.${a}-${c} <${n}.${+i+1}.0-0`):l=`>=${n}.${i}.${a} <${n}.${+i+1}.0-0`,He("tilde return",l),l})},"replaceTilde"),ome=o((t,e)=>t.trim().split(/\s+/).map(r=>ame(r,e)).join(" "),"replaceCarets"),ame=o((t,e)=>{He("caret",t,e);let r=e.loose?fr[nr.CARETLOOSE]:fr[nr.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{He("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?(He("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`):(He("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`),He("caret return",u),u})},"replaceCaret"),cme=o((t,e)=>(He("replaceXRanges",t,e),t.split(/\s+/).map(r=>lme(r,e)).join(" ")),"replaceXRanges"),lme=o((t,e)=>{t=t.trim();let r=e.loose?fr[nr.XRANGELOOSE]:fr[nr.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{He("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`),He("xRange return",s),s})},"replaceXRange"),ume=o((t,e)=>(He("replaceStars",t,e),t.trim().replace(fr[nr.STAR],"")),"replaceStars"),Ame=o((t,e)=>(He("replaceGTE0",t,e),t.trim().replace(fr[e.includePrerelease?nr.GTE0PRE:nr.GTE0],"")),"replaceGTE0"),dme=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"),pme=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 Ld=f((uqe,dz)=>{"use strict";var Md=Symbol("SemVer ANY"),s0=class t{static{o(this,"Comparator")}static get ANY(){return Md}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(" "),r0("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Md?this.value="":this.value=this.operator+this.semver.version,r0("comp",this)}parse(e){let r=this.options.loose?cz[lz.COMPARATORLOOSE]:cz[lz.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 uz(s[2],this.options.loose):this.semver=Md}toString(){return this.value}test(e){if(r0("Comparator.test",e,this.options.loose),this.semver===Md||e===Md)return!0;if(typeof e=="string")try{e=new uz(e,this.options)}catch{return!1}return t0(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 Az(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new Az(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("=")||t0(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||t0(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};dz.exports=s0;var az=dg(),{safeRe:cz,t:lz}=Kl(),t0=Kx(),r0=Dd(),uz=sr(),Az=Ds()});var Od=f((dqe,pz)=>{"use strict";var mme=Ds(),hme=o((t,e,r)=>{try{e=new mme(e,r)}catch{return!1}return e.test(t)},"satisfies");pz.exports=hme});var hz=f((mqe,mz)=>{"use strict";var fme=Ds(),gme=o((t,e)=>new fme(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");mz.exports=gme});var gz=f((fqe,fz)=>{"use strict";var Eme=sr(),yme=Ds(),Cme=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new yme(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new Eme(s,r))}),s},"maxSatisfying");fz.exports=Cme});var yz=f((Eqe,Ez)=>{"use strict";var Ime=sr(),Bme=Ds(),wme=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new Bme(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new Ime(s,r))}),s},"minSatisfying");Ez.exports=wme});var Bz=f((Cqe,Iz)=>{"use strict";var n0=sr(),bme=Ds(),Cz=_d(),Qme=o((t,e)=>{t=new bme(t,e);let r=new n0("0.0.0");if(t.test(r)||(r=new n0("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new n0(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||Cz(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||Cz(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");Iz.exports=Qme});var bz=f((Bqe,wz)=>{"use strict";var xme=Ds(),Nme=o((t,e)=>{try{return new xme(t,e).range||"*"}catch{return null}},"validRange");wz.exports=Nme});var wg=f((bqe,Sz)=>{"use strict";var Sme=sr(),Nz=Ld(),{ANY:Rme}=Nz,Tme=Ds(),vme=Od(),Qz=_d(),xz=Eg(),Pme=Cg(),kme=yg(),Dme=o((t,e,r,s)=>{t=new Sme(t,s),e=new Tme(e,s);let n,i,a,c,l;switch(r){case">":n=Qz,i=Pme,a=xz,c=">",l=">=";break;case"<":n=xz,i=kme,a=Qz,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(vme(t,e,s))return!1;for(let u=0;u{m.semver===Rme&&(m=new Nz(">=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");Sz.exports=Dme});var Tz=f((xqe,Rz)=>{"use strict";var _me=wg(),Lme=o((t,e,r)=>_me(t,e,">",r),"gtr");Rz.exports=Lme});var Pz=f((Sqe,vz)=>{"use strict";var Mme=wg(),Ome=o((t,e,r)=>Mme(t,e,"<",r),"ltr");vz.exports=Ome});var _z=f((Tqe,Dz)=>{"use strict";var kz=Ds(),Fme=o((t,e,r)=>(t=new kz(t,r),e=new kz(e,r),t.intersects(e,r)),"intersects");Dz.exports=Fme});var Mz=f((Pqe,Lz)=>{"use strict";var Ume=Od(),qme=ks();Lz.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>qme(A,d,r));for(let A of a)Ume(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 Oz=Ds(),o0=Ld(),{ANY:i0}=o0,Fd=Od(),a0=ks(),Gme=o((t,e,r={})=>{if(t===e)return!0;t=new Oz(t,r),e=new Oz(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=zme(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),Hme=[new o0(">=0.0.0-0")],Fz=[new o0(">=0.0.0")],zme=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===i0){if(e.length===1&&e[0].semver===i0)return!0;r.includePrerelease?t=Hme:t=Fz}if(e.length===1&&e[0].semver===i0){if(r.includePrerelease)return!0;e=Fz}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=Uz(n,m,r):m.operator==="<"||m.operator==="<="?i=qz(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=a0(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&&!Fd(m,String(n),r)||i&&!Fd(m,String(i),r))return null;for(let h of e)if(!Fd(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=Uz(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!Fd(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=qz(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!Fd(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"),Uz=o((t,e,r)=>{if(!t)return e;let s=a0(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),qz=o((t,e,r)=>{if(!t)return e;let s=a0(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");Gz.exports=Gme});var l0=f((_qe,Vz)=>{"use strict";var c0=Kl(),zz=kd(),$me=sr(),$z=Vx(),Vme=Xa(),Yme=gH(),Jme=yH(),Wme=BH(),jme=QH(),Kme=NH(),Xme=RH(),Zme=vH(),ehe=kH(),the=ks(),rhe=MH(),she=FH(),nhe=gg(),ihe=HH(),ohe=$H(),ahe=_d(),che=Eg(),lhe=Wx(),uhe=jx(),Ahe=yg(),dhe=Cg(),phe=Kx(),mhe=ez(),hhe=Ld(),fhe=Ds(),ghe=Od(),Ehe=hz(),yhe=gz(),Che=yz(),Ihe=Bz(),Bhe=bz(),whe=wg(),bhe=Tz(),Qhe=Pz(),xhe=_z(),Nhe=Mz(),She=Hz();Vz.exports={parse:Vme,valid:Yme,clean:Jme,inc:Wme,diff:jme,major:Kme,minor:Xme,patch:Zme,prerelease:ehe,compare:the,rcompare:rhe,compareLoose:she,compareBuild:nhe,sort:ihe,rsort:ohe,gt:ahe,lt:che,eq:lhe,neq:uhe,gte:Ahe,lte:dhe,cmp:phe,coerce:mhe,Comparator:hhe,Range:fhe,satisfies:ghe,toComparators:Ehe,maxSatisfying:yhe,minSatisfying:Che,minVersion:Ihe,validRange:Bhe,outside:whe,gtr:bhe,ltr:Qhe,intersects:xhe,simplifyRange:Nhe,subset:She,SemVer:$me,re:c0.re,src:c0.src,tokens:c0.t,SEMVER_SPEC_VERSION:zz.SEMVER_SPEC_VERSION,RELEASE_TYPES:zz.RELEASE_TYPES,compareIdentifiers:$z.compareIdentifiers,rcompareIdentifiers:$z.rcompareIdentifiers}});var A$=f((LGe,u$)=>{u$.exports=function(t,e){for(var r=[],s=0;s{"use strict";h$.exports=p$;function p$(t,e,r){t instanceof RegExp&&(t=d$(t,r)),e instanceof RegExp&&(e=d$(e,r));var s=m$(t,e,r);return s&&{start:s[0],end:s[1],pre:r.slice(0,s[0]),body:r.slice(s[0]+t.length,s[1]),post:r.slice(s[1]+e.length)}}o(p$,"balanced");function d$(t,e){var r=e.match(t);return r?r[0]:null}o(d$,"maybeMatch");p$.range=m$;function m$(t,e,r){var 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;)A==l?(s.push(A),l=r.indexOf(t,A+1)):s.length==1?c=[s.pop(),u]:(n=s.pop(),n=0?l:u;s.length&&(c=[i,a])}return c}o(m$,"range")});var w$=f((UGe,B$)=>{var FGe=A$(),g$=f$();B$.exports=tfe;var E$="\0SLASH"+Math.random()+"\0",y$="\0OPEN"+Math.random()+"\0",b0="\0CLOSE"+Math.random()+"\0",C$="\0COMMA"+Math.random()+"\0",I$="\0PERIOD"+Math.random()+"\0",Jhe=1e5,Whe=4e6,jhe=1e3,Khe=1e3;function I0(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(I0,"numeric");function Xhe(t){return t.split("\\\\").join(E$).split("\\{").join(y$).split("\\}").join(b0).split("\\,").join(C$).split("\\.").join(I$)}o(Xhe,"escapeBraces");function Zhe(t){return t.split(E$).join("\\").split(y$).join("{").split(b0).join("}").split(C$).join(",").split(I$).join(".")}o(Zhe,"unescapeBraces");function B0(t,e){for(var r=0;r=e}o(ife,"gte");function zd(t,e,r,s,n,i,a,c){for(var l=[],u=0,A=0;A=n)return l;var p=t[A]+r+s[d];if(!(a&&p.length===e[A])){if(u+p.length>i)return l;l.push(p),c.push(e[A]),u+=p.length}}return l}o(zd,"combine");function ofe(t,e,r,s){var n=t.split(/\.\./),i=[];if(n[0]===void 0||n[1]===void 0)return i;var a=I0(n[0]),c=I0(n[1]),l=Math.max(n[0].length,n[1].length),u=n.length===3&&n[2]!==void 0?Math.max(Math.abs(I0(n[2])),1):1,A=nfe,d=c0){var E=new Array(C+1).join("0");h<0?g="-"+E+g.slice(1):g=E+g}}if(m+g.length>s)break;i.push(g),m+=g.length}return i}o(ofe,"expandSequence");function w0(t,e,r,s,n,i,a){if(n>s)return[t];for(var c=[""],l=[0],u=0,A=!1,d=!0,p;;){var m=g$("{","}",t);if(!m)return zd(c,l,t,[""],e,r,A,[]);var h=m.pre;if(/\$$/.test(h))return zd(c,l,t,[""],e,r,A,[]);var g=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body),C=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body),E=g||C,y=m.body.indexOf(",")>=0;if(!E&&!y){if(u=e||ye+se.length>r)break e;B.push(se),ye+=se.length}}}if(p=[],c=zd(c,l,h,B,e,r,A&&!m.post.length,p),l=p,!m.post.length)break;t=m.post}return c}o(w0,"expand")});var R$=f((GGe,S$)=>{S$.exports=ls;ls.Minimatch=jt;var $d=(function(){try{return require("path")}catch{}})()||{sep:"/"};ls.sep=$d.sep;var N0=ls.GLOBSTAR=jt.GLOBSTAR={},afe=w$(),b$={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Q0="[^/]",x0=Q0+"*?",cfe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",lfe="(?:(?!(?:\\/|^)\\.).)*?",Q$=ufe("().*{}+?[]^$\\!");function ufe(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(ufe,"charSet");var x$=/\/+/;ls.filter=Afe;function Afe(t,e){return e=e||{},function(r,s,n){return ls(r,t,e)}}o(Afe,"filter");function Yo(t,e){e=e||{};var r={};return Object.keys(t).forEach(function(s){r[s]=t[s]}),Object.keys(e).forEach(function(s){r[s]=e[s]}),r}o(Yo,"ext");ls.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return ls;var e=ls,r=o(function(n,i,a){return e(n,i,Yo(t,a))},"minimatch");return r.Minimatch=o(function(n,i){return new e.Minimatch(n,Yo(t,i))},"Minimatch"),r.Minimatch.defaults=o(function(n){return e.defaults(Yo(t,n)).Minimatch},"defaults"),r.filter=o(function(n,i){return e.filter(n,Yo(t,i))},"filter"),r.defaults=o(function(n){return e.defaults(Yo(t,n))},"defaults"),r.makeRe=o(function(n,i){return e.makeRe(n,Yo(t,i))},"makeRe"),r.braceExpand=o(function(n,i){return e.braceExpand(n,Yo(t,i))},"braceExpand"),r.match=function(s,n,i){return e.match(s,n,Yo(t,i))},r};jt.defaults=function(t){return ls.defaults(t).Minimatch};function ls(t,e,r){return Dg(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new jt(e,r).match(t)}o(ls,"minimatch");function jt(t,e){if(!(this instanceof jt))return new jt(t,e);Dg(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&$d.sep!=="/"&&(t=t.split($d.sep).join("/")),this.options=e,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}o(jt,"Minimatch");jt.prototype.debug=function(){};jt.prototype.make=dfe;function dfe(){var t=this.pattern,e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=o(function(){console.error.apply(console,arguments)},"debug")),this.debug(this.pattern,r),r=this.globParts=r.map(function(s){return s.split(x$)}),this.debug(this.pattern,r),r=r.map(function(s,n,i){return s.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(s){return s.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}o(dfe,"make");jt.prototype.parseNegate=pfe;function pfe(){var t=this.pattern,e=!1,r=this.options,s=0;if(!r.nonegate){for(var n=0,i=t.length;n"u"?this.pattern:t,Dg(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:afe(t)}o(N$,"braceExpand");var mfe=1024*64,Dg=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>mfe)throw new TypeError("pattern is too long")},"assertValidPattern");jt.prototype.parse=hfe;var kg={};function hfe(t,e){Dg(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return N0;if(t==="")return"";var s="",n=!!r.nocase,i=!1,a=[],c=[],l,u=!1,A=-1,d=-1,p=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",m=this;function h(){if(l){switch(l){case"*":s+=x0,n=!0;break;case"?":s+=Q0,n=!0;break;default:s+="\\"+l;break}m.debug("clearStateChar %j %j",l,s),l=!1}}o(h,"clearStateChar");for(var g=0,C=t.length,E;g-1;ye--){var we=c[ye],be=s.slice(0,we.reStart),xe=s.slice(we.reStart,we.reEnd-8),se=s.slice(we.reEnd-8,we.reEnd),Me=s.slice(we.reEnd);se+=Me;var ne=be.split("(").length-1,Ar=Me;for(g=0;g"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var s=this.options;$d.sep!=="/"&&(e=e.split($d.sep).join("/")),e=e.split(x$),this.debug(this.pattern,"split",e);var n=this.set;this.debug(this.pattern,"set",n);var i,a;for(a=e.length-1;a>=0&&(i=e[a],!i);a--);for(a=0;a>> no match, partial?`,t,A,e,d),A===a))}var m;if(typeof l=="string"?(m=u===l,this.debug("string match",l,u,m)):(m=u.match(l),this.debug("pattern match",l,u,m)),!m)return!1}if(n===a&&i===c)return!0;if(n===a)return r;if(i===c)return n===a-1&&t[n]==="";throw new Error("wtf?")};function gfe(t){return t.replace(/\\(.)/g,"$1")}o(gfe,"globUnescape");function Efe(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(Efe,"regExpEscape")});var Jd=f((uHe,k$)=>{"use strict";var xfe="2.0.0",Nfe=Number.MAX_SAFE_INTEGER||9007199254740991,Sfe=16,Rfe=250,Tfe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];k$.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Sfe,MAX_SAFE_BUILD_LENGTH:Rfe,MAX_SAFE_INTEGER:Nfe,RELEASE_TYPES:Tfe,SEMVER_SPEC_VERSION:xfe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Wd=f((AHe,D$)=>{"use strict";var vfe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};D$.exports=vfe});var ru=f((Wn,_$)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:R0,MAX_SAFE_BUILD_LENGTH:Pfe,MAX_LENGTH:kfe}=Jd(),Dfe=Wd();Wn=_$.exports={};var _fe=Wn.re=[],Lfe=Wn.safeRe=[],M=Wn.src=[],Mfe=Wn.safeSrc=[],O=Wn.t={},Ofe=0,T0="[a-zA-Z0-9-]",Ffe=[["\\s",1],["\\d",kfe],[T0,Pfe]],Ufe=o(t=>{for(let[e,r]of Ffe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),oe=o((t,e,r)=>{let s=Ufe(e),n=Ofe++;Dfe(t,n,e),O[t]=n,M[n]=e,Mfe[n]=s,_fe[n]=new RegExp(e,r?"g":void 0),Lfe[n]=new RegExp(s,r?"g":void 0)},"createToken");oe("NUMERICIDENTIFIER","0|[1-9]\\d*");oe("NUMERICIDENTIFIERLOOSE","\\d+");oe("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${T0}*`);oe("MAINVERSION",`(${M[O.NUMERICIDENTIFIER]})\\.(${M[O.NUMERICIDENTIFIER]})\\.(${M[O.NUMERICIDENTIFIER]})`);oe("MAINVERSIONLOOSE",`(${M[O.NUMERICIDENTIFIERLOOSE]})\\.(${M[O.NUMERICIDENTIFIERLOOSE]})\\.(${M[O.NUMERICIDENTIFIERLOOSE]})`);oe("PRERELEASEIDENTIFIER",`(?:${M[O.NONNUMERICIDENTIFIER]}|${M[O.NUMERICIDENTIFIER]})`);oe("PRERELEASEIDENTIFIERLOOSE",`(?:${M[O.NONNUMERICIDENTIFIER]}|${M[O.NUMERICIDENTIFIERLOOSE]})`);oe("PRERELEASE",`(?:-(${M[O.PRERELEASEIDENTIFIER]}(?:\\.${M[O.PRERELEASEIDENTIFIER]})*))`);oe("PRERELEASELOOSE",`(?:-?(${M[O.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${M[O.PRERELEASEIDENTIFIERLOOSE]})*))`);oe("BUILDIDENTIFIER",`${T0}+`);oe("BUILD",`(?:\\+(${M[O.BUILDIDENTIFIER]}(?:\\.${M[O.BUILDIDENTIFIER]})*))`);oe("FULLPLAIN",`v?${M[O.MAINVERSION]}${M[O.PRERELEASE]}?${M[O.BUILD]}?`);oe("FULL",`^${M[O.FULLPLAIN]}$`);oe("LOOSEPLAIN",`[v=\\s]*${M[O.MAINVERSIONLOOSE]}${M[O.PRERELEASELOOSE]}?${M[O.BUILD]}?`);oe("LOOSE",`^${M[O.LOOSEPLAIN]}$`);oe("GTLT","((?:<|>)?=?)");oe("XRANGEIDENTIFIERLOOSE",`${M[O.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);oe("XRANGEIDENTIFIER",`${M[O.NUMERICIDENTIFIER]}|x|X|\\*`);oe("XRANGEPLAIN",`[v=\\s]*(${M[O.XRANGEIDENTIFIER]})(?:\\.(${M[O.XRANGEIDENTIFIER]})(?:\\.(${M[O.XRANGEIDENTIFIER]})(?:${M[O.PRERELEASE]})?${M[O.BUILD]}?)?)?`);oe("XRANGEPLAINLOOSE",`[v=\\s]*(${M[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[O.XRANGEIDENTIFIERLOOSE]})(?:${M[O.PRERELEASELOOSE]})?${M[O.BUILD]}?)?)?`);oe("XRANGE",`^${M[O.GTLT]}\\s*${M[O.XRANGEPLAIN]}$`);oe("XRANGELOOSE",`^${M[O.GTLT]}\\s*${M[O.XRANGEPLAINLOOSE]}$`);oe("COERCEPLAIN",`(^|[^\\d])(\\d{1,${R0}})(?:\\.(\\d{1,${R0}}))?(?:\\.(\\d{1,${R0}}))?`);oe("COERCE",`${M[O.COERCEPLAIN]}(?:$|[^\\d])`);oe("COERCEFULL",M[O.COERCEPLAIN]+`(?:${M[O.PRERELEASE]})?(?:${M[O.BUILD]})?(?:$|[^\\d])`);oe("COERCERTL",M[O.COERCE],!0);oe("COERCERTLFULL",M[O.COERCEFULL],!0);oe("LONETILDE","(?:~>?)");oe("TILDETRIM",`(\\s*)${M[O.LONETILDE]}\\s+`,!0);Wn.tildeTrimReplace="$1~";oe("TILDE",`^${M[O.LONETILDE]}${M[O.XRANGEPLAIN]}$`);oe("TILDELOOSE",`^${M[O.LONETILDE]}${M[O.XRANGEPLAINLOOSE]}$`);oe("LONECARET","(?:\\^)");oe("CARETTRIM",`(\\s*)${M[O.LONECARET]}\\s+`,!0);Wn.caretTrimReplace="$1^";oe("CARET",`^${M[O.LONECARET]}${M[O.XRANGEPLAIN]}$`);oe("CARETLOOSE",`^${M[O.LONECARET]}${M[O.XRANGEPLAINLOOSE]}$`);oe("COMPARATORLOOSE",`^${M[O.GTLT]}\\s*(${M[O.LOOSEPLAIN]})$|^$`);oe("COMPARATOR",`^${M[O.GTLT]}\\s*(${M[O.FULLPLAIN]})$|^$`);oe("COMPARATORTRIM",`(\\s*)${M[O.GTLT]}\\s*(${M[O.LOOSEPLAIN]}|${M[O.XRANGEPLAIN]})`,!0);Wn.comparatorTrimReplace="$1$2$3";oe("HYPHENRANGE",`^\\s*(${M[O.XRANGEPLAIN]})\\s+-\\s+(${M[O.XRANGEPLAIN]})\\s*$`);oe("HYPHENRANGELOOSE",`^\\s*(${M[O.XRANGEPLAINLOOSE]})\\s+-\\s+(${M[O.XRANGEPLAINLOOSE]})\\s*$`);oe("STAR","(<|>)?=?\\s*\\*");oe("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");oe("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Mg=f((pHe,L$)=>{"use strict";var qfe=Object.freeze({loose:!0}),Gfe=Object.freeze({}),Hfe=o(t=>t?typeof t!="object"?qfe:t:Gfe,"parseOptions");L$.exports=Hfe});var v0=f((hHe,F$)=>{"use strict";var M$=/^[0-9]+$/,O$=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tO$(e,t),"rcompareIdentifiers");F$.exports={compareIdentifiers:O$,rcompareIdentifiers:zfe}});var or=f((gHe,q$)=>{"use strict";var Og=Wd(),{MAX_LENGTH:U$,MAX_SAFE_INTEGER:Fg}=Jd(),{safeRe:Ug,t:qg}=ru(),$fe=Mg(),{compareIdentifiers:P0}=v0(),k0=class t{static{o(this,"SemVer")}constructor(e,r){if(r=$fe(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>U$)throw new TypeError(`version is longer than ${U$} characters`);Og("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?Ug[qg.LOOSE]:Ug[qg.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>Fg||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Fg||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Fg||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&ie.major?1:this.minore.minor?1:this.patche.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(Og("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 P0(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(Og("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 P0(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?Ug[qg.PRERELEASELOOSE]:Ug[qg.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]),P0(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}};q$.exports=k0});var rc=f((yHe,H$)=>{"use strict";var G$=or(),Vfe=o((t,e,r=!1)=>{if(t instanceof G$)return t;try{return new G$(t,e)}catch(s){if(!r)return null;throw s}},"parse");H$.exports=Vfe});var $$=f((IHe,z$)=>{"use strict";var Yfe=rc(),Jfe=o((t,e)=>{let r=Yfe(t,e);return r?r.version:null},"valid");z$.exports=Jfe});var Y$=f((wHe,V$)=>{"use strict";var Wfe=rc(),jfe=o((t,e)=>{let r=Wfe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");V$.exports=jfe});var j$=f((QHe,W$)=>{"use strict";var J$=or(),Kfe=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new J$(t instanceof J$?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");W$.exports=Kfe});var Z$=f((NHe,X$)=>{"use strict";var K$=rc(),Xfe=o((t,e)=>{let r=K$(t,null,!0),s=K$(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");X$.exports=Xfe});var tV=f((RHe,eV)=>{"use strict";var Zfe=or(),ege=o((t,e)=>new Zfe(t,e).major,"major");eV.exports=ege});var sV=f((vHe,rV)=>{"use strict";var tge=or(),rge=o((t,e)=>new tge(t,e).minor,"minor");rV.exports=rge});var iV=f((kHe,nV)=>{"use strict";var sge=or(),nge=o((t,e)=>new sge(t,e).patch,"patch");nV.exports=nge});var aV=f((_He,oV)=>{"use strict";var ige=rc(),oge=o((t,e)=>{let r=ige(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");oV.exports=oge});var Ms=f((MHe,lV)=>{"use strict";var cV=or(),age=o((t,e,r)=>new cV(t,r).compare(new cV(e,r)),"compare");lV.exports=age});var AV=f((FHe,uV)=>{"use strict";var cge=Ms(),lge=o((t,e,r)=>cge(e,t,r),"rcompare");uV.exports=lge});var pV=f((qHe,dV)=>{"use strict";var uge=Ms(),Age=o((t,e)=>uge(t,e,!0),"compareLoose");dV.exports=Age});var Gg=f((HHe,hV)=>{"use strict";var mV=or(),dge=o((t,e,r)=>{let s=new mV(t,r),n=new mV(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");hV.exports=dge});var gV=f(($He,fV)=>{"use strict";var pge=Gg(),mge=o((t,e)=>t.sort((r,s)=>pge(r,s,e)),"sort");fV.exports=mge});var yV=f((YHe,EV)=>{"use strict";var hge=Gg(),fge=o((t,e)=>t.sort((r,s)=>hge(s,r,e)),"rsort");EV.exports=fge});var jd=f((WHe,CV)=>{"use strict";var gge=Ms(),Ege=o((t,e,r)=>gge(t,e,r)>0,"gt");CV.exports=Ege});var Hg=f((KHe,IV)=>{"use strict";var yge=Ms(),Cge=o((t,e,r)=>yge(t,e,r)<0,"lt");IV.exports=Cge});var D0=f((ZHe,BV)=>{"use strict";var Ige=Ms(),Bge=o((t,e,r)=>Ige(t,e,r)===0,"eq");BV.exports=Bge});var _0=f((tze,wV)=>{"use strict";var wge=Ms(),bge=o((t,e,r)=>wge(t,e,r)!==0,"neq");wV.exports=bge});var zg=f((sze,bV)=>{"use strict";var Qge=Ms(),xge=o((t,e,r)=>Qge(t,e,r)>=0,"gte");bV.exports=xge});var $g=f((ize,QV)=>{"use strict";var Nge=Ms(),Sge=o((t,e,r)=>Nge(t,e,r)<=0,"lte");QV.exports=Sge});var L0=f((aze,xV)=>{"use strict";var Rge=D0(),Tge=_0(),vge=jd(),Pge=zg(),kge=Hg(),Dge=$g(),_ge=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 Rge(t,r,s);case"!=":return Tge(t,r,s);case">":return vge(t,r,s);case">=":return Pge(t,r,s);case"<":return kge(t,r,s);case"<=":return Dge(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");xV.exports=_ge});var SV=f((lze,NV)=>{"use strict";var Lge=or(),Mge=rc(),{safeRe:Vg,t:Yg}=ru(),Oge=o((t,e)=>{if(t instanceof Lge)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?Vg[Yg.COERCEFULL]:Vg[Yg.COERCE]);else{let l=e.includePrerelease?Vg[Yg.COERCERTLFULL]:Vg[Yg.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 Mge(`${s}.${n}.${i}${a}${c}`,e)},"coerce");NV.exports=Oge});var TV=f((Aze,RV)=>{"use strict";var M0=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}};RV.exports=M0});var Os=f((pze,DV)=>{"use strict";var Fge=/\s+/g,O0=class t{static{o(this,"Range")}constructor(e,r){if(r=qge(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof F0)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(Fge," "),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=>!PV(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&&Jge(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&&Vge)|(this.options.loose&&Yge))+":"+e,n=vV.get(s);if(n)return n;let i=this.options.loose,a=i?Er[ar.HYPHENRANGELOOSE]:Er[ar.HYPHENRANGE];e=e.replace(a,nEe(this.options.includePrerelease)),ze("hyphen replace",e),e=e.replace(Er[ar.COMPARATORTRIM],Hge),ze("comparator trim",e),e=e.replace(Er[ar.TILDETRIM],zge),ze("tilde trim",e),e=e.replace(Er[ar.CARETTRIM],$ge),ze("caret trim",e);let c=e.split(" ").map(d=>Wge(d,this.options)).join(" ").split(/\s+/).map(d=>sEe(d,this.options));i&&(c=c.filter(d=>(ze("loose invalid filter",d,this.options),!!d.match(Er[ar.COMPARATORLOOSE])))),ze("range list",c);let l=new Map,u=c.map(d=>new F0(d,this.options));for(let d of u){if(PV(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return vV.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>kV(s,r)&&e.set.some(n=>kV(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 Gge(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),Jge=o(t=>t.value==="","isAny"),kV=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"),Wge=o((t,e)=>(t=t.replace(Er[ar.BUILD],""),ze("comp",t,e),t=Xge(t,e),ze("caret",t),t=jge(t,e),ze("tildes",t),t=eEe(t,e),ze("xrange",t),t=rEe(t,e),ze("stars",t),t),"parseComparator"),yr=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),jge=o((t,e)=>t.trim().split(/\s+/).map(r=>Kge(r,e)).join(" "),"replaceTildes"),Kge=o((t,e)=>{let r=e.loose?Er[ar.TILDELOOSE]:Er[ar.TILDE];return t.replace(r,(s,n,i,a,c)=>{ze("tilde",t,s,n,i,a,c);let l;return yr(n)?l="":yr(i)?l=`>=${n}.0.0 <${+n+1}.0.0-0`:yr(a)?l=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:c?(ze("replaceTilde pr",c),l=`>=${n}.${i}.${a}-${c} <${n}.${+i+1}.0-0`):l=`>=${n}.${i}.${a} <${n}.${+i+1}.0-0`,ze("tilde return",l),l})},"replaceTilde"),Xge=o((t,e)=>t.trim().split(/\s+/).map(r=>Zge(r,e)).join(" "),"replaceCarets"),Zge=o((t,e)=>{ze("caret",t,e);let r=e.loose?Er[ar.CARETLOOSE]:Er[ar.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 yr(i)?u="":yr(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:yr(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}${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`),ze("caret return",u),u})},"replaceCaret"),eEe=o((t,e)=>(ze("replaceXRanges",t,e),t.split(/\s+/).map(r=>tEe(r,e)).join(" ")),"replaceXRanges"),tEe=o((t,e)=>{t=t.trim();let r=e.loose?Er[ar.XRANGELOOSE]:Er[ar.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{ze("xRange",t,s,n,i,a,c,l);let u=yr(i),A=u||yr(a),d=A||yr(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"),rEe=o((t,e)=>(ze("replaceStars",t,e),t.trim().replace(Er[ar.STAR],"")),"replaceStars"),sEe=o((t,e)=>(ze("replaceGTE0",t,e),t.trim().replace(Er[e.includePrerelease?ar.GTE0PRE:ar.GTE0],"")),"replaceGTE0"),nEe=o(t=>(e,r,s,n,i,a,c,l,u,A,d,p)=>(yr(s)?r="":yr(n)?r=`>=${s}.0.0${t?"-0":""}`:yr(i)?r=`>=${s}.${n}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,yr(u)?l="":yr(A)?l=`<${+u+1}.0.0-0`:yr(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"),iEe=o((t,e,r)=>{for(let s=0;s0){let n=t[s].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0},"testSet")});var Kd=f((hze,UV)=>{"use strict";var Xd=Symbol("SemVer ANY"),G0=class t{static{o(this,"Comparator")}static get ANY(){return Xd}constructor(e,r){if(r=_V(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),q0("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Xd?this.value="":this.value=this.operator+this.semver.version,q0("comp",this)}parse(e){let r=this.options.loose?LV[MV.COMPARATORLOOSE]:LV[MV.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 OV(s[2],this.options.loose):this.semver=Xd}toString(){return this.value}test(e){if(q0("Comparator.test",e,this.options.loose),this.semver===Xd||e===Xd)return!0;if(typeof e=="string")try{e=new OV(e,this.options)}catch{return!1}return U0(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 FV(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new FV(this.value,r).test(e.semver):(r=_V(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("=")||U0(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||U0(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};UV.exports=G0;var _V=Mg(),{safeRe:LV,t:MV}=ru(),U0=L0(),q0=Wd(),OV=or(),FV=Os()});var Zd=f((gze,qV)=>{"use strict";var oEe=Os(),aEe=o((t,e,r)=>{try{e=new oEe(e,r)}catch{return!1}return e.test(t)},"satisfies");qV.exports=aEe});var HV=f((yze,GV)=>{"use strict";var cEe=Os(),lEe=o((t,e)=>new cEe(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");GV.exports=lEe});var $V=f((Ize,zV)=>{"use strict";var uEe=or(),AEe=Os(),dEe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new AEe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new uEe(s,r))}),s},"maxSatisfying");zV.exports=dEe});var YV=f((wze,VV)=>{"use strict";var pEe=or(),mEe=Os(),hEe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new mEe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new pEe(s,r))}),s},"minSatisfying");VV.exports=hEe});var jV=f((Qze,WV)=>{"use strict";var H0=or(),fEe=Os(),JV=jd(),gEe=o((t,e)=>{t=new fEe(t,e);let r=new H0("0.0.0");if(t.test(r)||(r=new H0("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new H0(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||JV(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||JV(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");WV.exports=gEe});var XV=f((Nze,KV)=>{"use strict";var EEe=Os(),yEe=o((t,e)=>{try{return new EEe(t,e).range||"*"}catch{return null}},"validRange");KV.exports=yEe});var Jg=f((Rze,rY)=>{"use strict";var CEe=or(),tY=Kd(),{ANY:IEe}=tY,BEe=Os(),wEe=Zd(),ZV=jd(),eY=Hg(),bEe=$g(),QEe=zg(),xEe=o((t,e,r,s)=>{t=new CEe(t,s),e=new BEe(e,s);let n,i,a,c,l;switch(r){case">":n=ZV,i=bEe,a=eY,c=">",l=">=";break;case"<":n=eY,i=QEe,a=ZV,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(wEe(t,e,s))return!1;for(let u=0;u{m.semver===IEe&&(m=new tY(">=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");rY.exports=xEe});var nY=f((vze,sY)=>{"use strict";var NEe=Jg(),SEe=o((t,e,r)=>NEe(t,e,">",r),"gtr");sY.exports=SEe});var oY=f((kze,iY)=>{"use strict";var REe=Jg(),TEe=o((t,e,r)=>REe(t,e,"<",r),"ltr");iY.exports=TEe});var lY=f((_ze,cY)=>{"use strict";var aY=Os(),vEe=o((t,e,r)=>(t=new aY(t,r),e=new aY(e,r),t.intersects(e,r)),"intersects");cY.exports=vEe});var AY=f((Mze,uY)=>{"use strict";var PEe=Zd(),kEe=Ms();uY.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>kEe(A,d,r));for(let A of a)PEe(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 dY=Os(),$0=Kd(),{ANY:z0}=$0,ep=Zd(),V0=Ms(),DEe=o((t,e,r={})=>{if(t===e)return!0;t=new dY(t,r),e=new dY(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=LEe(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),_Ee=[new $0(">=0.0.0-0")],pY=[new $0(">=0.0.0")],LEe=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===z0){if(e.length===1&&e[0].semver===z0)return!0;r.includePrerelease?t=_Ee:t=pY}if(e.length===1&&e[0].semver===z0){if(r.includePrerelease)return!0;e=pY}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=mY(n,m,r):m.operator==="<"||m.operator==="<="?i=hY(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=V0(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&&!ep(m,String(n),r)||i&&!ep(m,String(i),r))return null;for(let h of e)if(!ep(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=mY(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!ep(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=hY(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!ep(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"),mY=o((t,e,r)=>{if(!t)return e;let s=V0(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),hY=o((t,e,r)=>{if(!t)return e;let s=V0(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");fY.exports=DEe});var IY=f((Uze,CY)=>{"use strict";var Y0=ru(),EY=Jd(),MEe=or(),yY=v0(),OEe=rc(),FEe=$$(),UEe=Y$(),qEe=j$(),GEe=Z$(),HEe=tV(),zEe=sV(),$Ee=iV(),VEe=aV(),YEe=Ms(),JEe=AV(),WEe=pV(),jEe=Gg(),KEe=gV(),XEe=yV(),ZEe=jd(),eye=Hg(),tye=D0(),rye=_0(),sye=zg(),nye=$g(),iye=L0(),oye=SV(),aye=Kd(),cye=Os(),lye=Zd(),uye=HV(),Aye=$V(),dye=YV(),pye=jV(),mye=XV(),hye=Jg(),fye=nY(),gye=oY(),Eye=lY(),yye=AY(),Cye=gY();CY.exports={parse:OEe,valid:FEe,clean:UEe,inc:qEe,diff:GEe,major:HEe,minor:zEe,patch:$Ee,prerelease:VEe,compare:YEe,rcompare:JEe,compareLoose:WEe,compareBuild:jEe,sort:KEe,rsort:XEe,gt:ZEe,lt:eye,eq:tye,neq:rye,gte:sye,lte:nye,cmp:iye,coerce:oye,Comparator:aye,Range:cye,satisfies:lye,toComparators:uye,maxSatisfying:Aye,minSatisfying:dye,minVersion:pye,validRange:mye,outside:hye,gtr:fye,ltr:gye,intersects:Eye,simplifyRange:yye,subset:Cye,SemVer:MEe,re:Y0.re,src:Y0.src,tokens:Y0.t,SEMVER_SPEC_VERSION:EY.SEMVER_SPEC_VERSION,RELEASE_TYPES:EY.RELEASE_TYPES,compareIdentifiers:yY.compareIdentifiers,rcompareIdentifiers:yY.rcompareIdentifiers}});var lJ=f(($Ve,cJ)=>{var lu=1e3,uu=lu*60,Au=uu*60,lc=Au*24,rCe=lc*7,sCe=lc*365.25;cJ.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return nCe(t);if(r==="number"&&isFinite(t))return e.long?oCe(t):iCe(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function nCe(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*sCe;case"weeks":case"week":case"w":return r*rCe;case"days":case"day":case"d":return r*lc;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Au;case"minutes":case"minute":case"mins":case"min":case"m":return r*uu;case"seconds":case"second":case"secs":case"sec":case"s":return r*lu;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(nCe,"parse");function iCe(t){var e=Math.abs(t);return e>=lc?Math.round(t/lc)+"d":e>=Au?Math.round(t/Au)+"h":e>=uu?Math.round(t/uu)+"m":e>=lu?Math.round(t/lu)+"s":t+"ms"}o(iCe,"fmtShort");function oCe(t){var e=Math.abs(t);return e>=lc?CE(t,e,lc,"day"):e>=Au?CE(t,e,Au,"hour"):e>=uu?CE(t,e,uu,"minute"):e>=lu?CE(t,e,lu,"second"):t+" ms"}o(oCe,"fmtLong");function CE(t,e,r,s){var n=e>=r*1.5;return Math.round(t/r)+" "+s+(n?"s":"")}o(CE,"plural")});var EN=f((YVe,uJ)=>{function aCe(t){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=n,r.enabled=a,r.humanize=lJ(),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 ye=r.formatters[q];if(typeof ye=="function"){let we=C[B];R=ye.call(E,we),C.splice(B,1),B--}return R}),r.formatArgs.call(E,C),(E.log||r.log).apply(E,C)}return o(g,"debug"),g.namespace=A,g.useColors=r.useColors(),g.color=r.selectColor(A),g.extend=s,g.destroy=r.destroy,Object.defineProperty(g,"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(g),g}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=lCe;ds.save=uCe;ds.load=ACe;ds.useColors=cCe;ds.storage=dCe();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 cCe(){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(cCe,"useColors");function lCe(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+IE.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(lCe,"formatArgs");ds.log=console.debug||console.log||(()=>{});function uCe(t){try{t?ds.storage.setItem("debug",t):ds.storage.removeItem("debug")}catch{}}o(uCe,"save");function ACe(){let t;try{t=ds.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(ACe,"load");function dCe(){try{return localStorage}catch{}}o(dCe,"localstorage");IE.exports=EN()(ds);var{formatters:pCe}=IE.exports;pCe.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var pJ=f((jVe,dJ)=>{"use strict";dJ.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 mCe=require("os"),mJ=require("tty"),Us=pJ(),{env:Gt}=process,Xo;Us("no-color")||Us("no-colors")||Us("color=false")||Us("color=never")?Xo=0:(Us("color")||Us("colors")||Us("color=true")||Us("color=always"))&&(Xo=1);"FORCE_COLOR"in Gt&&(Gt.FORCE_COLOR==="true"?Xo=1:Gt.FORCE_COLOR==="false"?Xo=0:Xo=Gt.FORCE_COLOR.length===0?1:Math.min(parseInt(Gt.FORCE_COLOR,10),3));function yN(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(yN,"translateLevel");function CN(t,e){if(Xo===0)return 0;if(Us("color=16m")||Us("color=full")||Us("color=truecolor"))return 3;if(Us("color=256"))return 2;if(t&&!e&&Xo===void 0)return 0;let r=Xo||0;if(Gt.TERM==="dumb")return r;if(process.platform==="win32"){let s=mCe.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in Gt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(s=>s in Gt)||Gt.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Gt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Gt.TEAMCITY_VERSION)?1:0;if(Gt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Gt){let s=parseInt((Gt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Gt.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Gt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Gt.TERM)||"COLORTERM"in Gt?1:r}o(CN,"supportsColor");function hCe(t){let e=CN(t,t&&t.isTTY);return yN(e)}o(hCe,"getSupportLevel");hJ.exports={supportsColor:hCe,stdout:yN(CN(!0,mJ.isatty(1))),stderr:yN(CN(!0,mJ.isatty(2)))}});var EJ=f((Kt,wE)=>{var fCe=require("tty"),BE=require("util");Kt.init=wCe;Kt.log=CCe;Kt.formatArgs=ECe;Kt.save=ICe;Kt.load=BCe;Kt.useColors=gCe;Kt.destroy=BE.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Kt.colors=[6,2,3,4,5,1];try{let t=fJ();t&&(t.stderr||t).level>=2&&(Kt.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{}Kt.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 gCe(){return"colors"in Kt.inspectOpts?!!Kt.inspectOpts.colors:fCe.isatty(process.stderr.fd)}o(gCe,"useColors");function ECe(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+"+wE.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=yCe()+e+" "+t[0]}o(ECe,"formatArgs");function yCe(){return Kt.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(yCe,"getDate");function CCe(...t){return process.stderr.write(BE.format(...t)+` `)}o(CCe,"log");function ICe(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(ICe,"save");function BCe(){return process.env.DEBUG}o(BCe,"load");function wCe(t){t.inspectOpts={};let e=Object.keys(Kt.inspectOpts);for(let r=0;re.trim()).join(" ")};gJ.O=function(t){return this.inspectOpts.colors=this.useColors,BE.inspect(t,this.inspectOpts)}});var bE=f((eYe,IN)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?IN.exports=AJ():IN.exports=EJ()});var IJ=f(Or=>{"use strict";var bCe=Or&&Or.__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]})),QCe=Or&&Or.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),yJ=Or&&Or.__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)&&bCe(e,t,r);return QCe(e,t),e};Object.defineProperty(Or,"__esModule",{value:!0});Or.req=Or.json=Or.toBuffer=void 0;var xCe=yJ(require("http")),NCe=yJ(require("https"));async function CJ(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}o(CJ,"toBuffer");Or.toBuffer=CJ;async function SCe(t){let r=(await CJ(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let n=s;throw n.message+=` (input: ${r})`,n}}o(SCe,"json");Or.json=SCe;function RCe(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?NCe:xCe).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(RCe,"req");Or.req=RCe});var wN=f(ps=>{"use strict";var wJ=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]})),TCe=ps&&ps.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),bJ=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)&&wJ(e,t,r);return TCe(e,t),e},vCe=ps&&ps.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&wJ(e,t,r)};Object.defineProperty(ps,"__esModule",{value:!0});ps.Agent=void 0;var PCe=bJ(require("net")),BJ=bJ(require("http")),kCe=require("https");vCe(IJ(),ps);var Zn=Symbol("AgentBaseInternalState"),BN=class extends BJ.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Zn]={}}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 PCe.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))?kCe.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 BJ.Agent)return c.addRequest(e,n);this[Zn].currentSocket=c,super.createSocket(e,r,s)},c=>{this.decrementSockets(i,a),s(c)})}createConnection(){let e=this[Zn].currentSocket;if(this[Zn].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Zn].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Zn]&&(this[Zn].defaultPort=e)}get protocol(){return this[Zn].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Zn]&&(this[Zn].protocol=e)}};ps.Agent=BN});var QJ=f(du=>{"use strict";var DCe=du&&du.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(du,"__esModule",{value:!0});du.parseProxyResponse=void 0;var _Ce=DCe(bE()),QE=(0,_Ce.default)("https-proxy-agent:parse-proxy-response");function LCe(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(),QE("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(A){a(),QE("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){QE("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 g=h.split(" "),C=+g[1],E=g.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 x=I.slice(0,B).toLowerCase(),R=I.slice(B+1).trimStart(),q=y[x];typeof q=="string"?y[x]=[q,R]:Array.isArray(q)?q.push(R):y[x]=R}QE("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(LCe,"parseProxyResponse");du.parseProxyResponse=LCe});var TJ=f(qs=>{"use strict";var MCe=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]})),OCe=qs&&qs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),SJ=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)&&MCe(e,t,r);return OCe(e,t),e},RJ=qs&&qs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(qs,"__esModule",{value:!0});qs.HttpsProxyAgent=void 0;var Ap=SJ(require("net")),xJ=SJ(require("tls")),FCe=RJ(require("assert")),UCe=RJ(bE()),qCe=wN(),GCe=require("url"),HCe=QJ(),dp=(0,UCe.default)("https-proxy-agent"),xE=class extends qCe.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new GCe.URL(e):e,this.proxyHeaders=r?.headers??{},dp("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?NJ(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:"){dp("Creating `tls.Socket`: %o",this.connectOpts);let p=this.connectOpts.servername||this.connectOpts.host;n=xJ.connect({...this.connectOpts,servername:p&&Ap.isIP(p)?void 0:p})}else dp("Creating `net.Socket`: %o",this.connectOpts),n=Ap.connect(this.connectOpts);let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=Ap.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,HCe.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",zCe),r.secureEndpoint){dp("Upgrading socket connection to TLS");let p=r.servername||r.host;return xJ.connect({...NJ(r,"host","path","port"),socket:n,servername:Ap.isIP(p)?void 0:p})}return n}n.destroy();let d=new Ap.Socket({writable:!1});return d.readable=!0,e.once("socket",p=>{dp("Replaying proxy buffer for failed request"),(0,FCe.default)(p.listenerCount("data")>0),p.push(A),p.push(null)}),d}};xE.protocols=["http","https"];qs.HttpsProxyAgent=xE;function zCe(t){t.resume()}o(zCe,"resume");function NJ(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(NJ,"omit")});var kJ=f(Gs=>{"use strict";var $Ce=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]})),VCe=Gs&&Gs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),PJ=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)&&$Ce(e,t,r);return VCe(e,t),e},YCe=Gs&&Gs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Gs,"__esModule",{value:!0});Gs.HttpProxyAgent=void 0;var JCe=PJ(require("net")),WCe=PJ(require("tls")),jCe=YCe(bE()),KCe=require("events"),XCe=wN(),vJ=require("url"),pu=(0,jCe.default)("http-proxy-agent"),NE=class extends XCe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new vJ.URL(e):e,this.proxyHeaders=r?.headers??{},pu("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?ZCe(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 vJ.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;pu("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(pu("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),pu("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(pu("Creating `tls.Socket`: %o",this.connectOpts),i=WCe.connect(this.connectOpts)):(pu("Creating `net.Socket`: %o",this.connectOpts),i=JCe.connect(this.connectOpts)),await(0,KCe.once)(i,"connect"),i}};NE.protocols=["http","https"];Gs.HttpProxyAgent=NE;function ZCe(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(ZCe,"omit")});var t3=f(qE=>{"use strict";Object.defineProperty(qE,"__esModule",{value:!0});qE.state=void 0;qE.state={instrumenterImplementation:void 0}});var E3=f(VE=>{"use strict";Object.defineProperty(VE,"__esModule",{value:!0});VE.state=void 0;VE.state={operationRequestMap:new WeakMap}});var jW=f(Pu=>{"use strict";Object.defineProperty(Pu,"__esModule",{value:!0});var Exe=require("os"),yxe=require("util");function Cxe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(Cxe,"_interopDefaultLegacy");var Ixe=Cxe(yxe);function Bxe(t,...e){process.stderr.write(`${Ixe.default.format(t,...e)}${Exe.EOL}`)}o(Bxe,"log");var UW=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,GW,Zv=[],eP=[],dC=[];UW&&tP(UW);var HW=Object.assign(t=>zW(t),{enable:tP,enabled:rP,disable:wxe,log:Bxe});function tP(t){GW=t,Zv=[],eP=[];let e=/\*/g,r=t.split(",").map(s=>s.trim().replace(e,".*?"));for(let s of r)s.startsWith("-")?eP.push(new RegExp(`^${s.substr(1)}$`)):Zv.push(new RegExp(`^${s}$`));for(let s of dC)s.enabled=rP(s.namespace)}o(tP,"enable");function rP(t){if(t.endsWith("*"))return!0;for(let e of eP)if(e.test(t))return!1;for(let e of Zv)if(e.test(t))return!0;return!1}o(rP,"enabled");function wxe(){let t=GW||"";return tP(""),t}o(wxe,"disable");function zW(t){let e=Object.assign(r,{enabled:rP(t),destroy:bxe,log:HW.log,namespace:t,extend:Qxe});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return o(r,"debug"),dC.push(e),e}o(zW,"createDebugger");function bxe(){let t=dC.indexOf(this);return t>=0?(dC.splice(t,1),!0):!1}o(bxe,"destroy");function Qxe(t){let e=zW(`${this.namespace}:${t}`);return e.log=this.log,e}o(Qxe,"extend");var Zp=HW,$W=new Set,uC=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,pC,mC=Zp("azure");mC.log=(...t)=>{Zp.log(...t)};var sP=["verbose","info","warning","error"];uC&&(WW(uC)?VW(uC):console.error(`AZURE_LOG_LEVEL set to unknown log level '${uC}'; logging is not enabled. Acceptable values: ${sP.join(", ")}.`));function VW(t){if(t&&!WW(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${sP.join(",")}`);pC=t;let e=[];for(let r of $W)JW(r)&&e.push(r.namespace);Zp.enable(e.join(","))}o(VW,"setLogLevel");function xxe(){return pC}o(xxe,"getLogLevel");var qW={verbose:400,info:300,warning:200,error:100};function Nxe(t){let e=mC.extend(t);return YW(mC,e),{error:AC(e,"error"),warning:AC(e,"warning"),info:AC(e,"info"),verbose:AC(e,"verbose")}}o(Nxe,"createClientLogger");function YW(t,e){e.log=(...r)=>{t.log(...r)}}o(YW,"patchLogMethod");function AC(t,e){let r=Object.assign(t.extend(e),{level:e});if(YW(t,r),JW(r)){let s=Zp.disable();Zp.enable(s+","+r.namespace)}return $W.add(r),r}o(AC,"createLogger");function JW(t){return!!(pC&&qW[t.level]<=qW[pC])}o(JW,"shouldEnable");function WW(t){return sP.includes(t)}o(WW,"isAzureLogLevel");Pu.AzureLogger=mC;Pu.createClientLogger=Nxe;Pu.getLogLevel=xxe;Pu.setLogLevel=VW});var oP=f(tm=>{"use strict";Object.defineProperty(tm,"__esModule",{value:!0});var ku=new WeakMap,hC=new WeakMap,em=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,ku.set(this,[]),hC.set(this,!1)}get aborted(){if(!hC.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return hC.get(this)}static get none(){return new t}addEventListener(e,r){if(!ku.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");ku.get(this).push(r)}removeEventListener(e,r){if(!ku.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let s=ku.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 KW(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=ku.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),hC.set(t,!0)}o(KW,"abortSignal");var nP=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},iP=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new em,!!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(){KW(this._signal)}static timeout(e){let r=new em,s=setTimeout(KW,e,r);return typeof s.unref=="function"&&s.unref(),r}};tm.AbortController=iP;tm.AbortError=nP;tm.AbortSignal=em});var r8=f(ut=>{"use strict";Object.defineProperty(ut,"__esModule",{value:!0});var Sxe=oP(),pP=require("crypto");function XW(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,a)=>{function c(){a(new Sxe.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(XW,"createAbortablePromise");var Rxe="The delay was aborted.";function Txe(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return XW(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??Rxe})}o(Txe,"delay");function vxe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(vxe,"getRandomIntegerInclusive");function ZW(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(ZW,"isObject");function e8(t){if(ZW(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(e8,"isError");function Pxe(t){if(e8(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(Pxe,"getErrorMessage");async function kxe(t,e,r){let s=Buffer.from(t,"base64");return pP.createHmac("sha256",s).update(e).digest(r)}o(kxe,"computeSha256Hmac");async function Dxe(t,e){return pP.createHash("sha256").update(t).digest(e)}o(Dxe,"computeSha256Hash");function mP(t){return typeof t<"u"&&t!==null}o(mP,"isDefined");function _xe(t,e){if(!mP(t)||typeof t!="object")return!1;for(let r of e)if(!t8(t,r))return!1;return!0}o(_xe,"isObjectWithProperties");function t8(t,e){return mP(t)&&typeof t=="object"&&e in t}o(t8,"objectHasProperty");function Lxe(){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(Lxe,"generateUUID");var aP,dP=typeof((aP=globalThis?.crypto)===null||aP===void 0?void 0:aP.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):pP.randomUUID;dP||(dP=Lxe);function Mxe(){return dP()}o(Mxe,"randomUUID");var cP,lP,uP,AP,Oxe=typeof window<"u"&&typeof window.document<"u",Fxe=typeof self=="object"&&typeof self?.importScripts=="function"&&(((cP=self.constructor)===null||cP===void 0?void 0:cP.name)==="DedicatedWorkerGlobalScope"||((lP=self.constructor)===null||lP===void 0?void 0:lP.name)==="ServiceWorkerGlobalScope"||((uP=self.constructor)===null||uP===void 0?void 0:uP.name)==="SharedWorkerGlobalScope"),Uxe=typeof process<"u"&&!!process.version&&!!(!((AP=process.versions)===null||AP===void 0)&&AP.node),qxe=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",Gxe=typeof Bun<"u"&&typeof Bun.version<"u",Hxe=typeof navigator<"u"&&navigator?.product==="ReactNative";function zxe(t,e){switch(e){case"utf-8":return Jxe(t);case"base64":return Vxe(t);case"base64url":return Yxe(t)}}o(zxe,"uint8ArrayToString");function $xe(t,e){switch(e){case"utf-8":return Wxe(t);case"base64":return jxe(t);case"base64url":return Kxe(t)}}o($xe,"stringToUint8Array");function Vxe(t){return Buffer.from(t).toString("base64")}o(Vxe,"uint8ArrayToBase64");function Yxe(t){return Buffer.from(t).toString("base64url")}o(Yxe,"uint8ArrayToBase64Url");function Jxe(t){return Buffer.from(t).toString("utf-8")}o(Jxe,"uint8ArrayToUtf8String");function Wxe(t){return Buffer.from(t)}o(Wxe,"utf8StringToUint8Array");function jxe(t){return Buffer.from(t,"base64")}o(jxe,"base64ToUint8Array");function Kxe(t){return Buffer.from(t,"base64url")}o(Kxe,"base64UrlToUint8Array");ut.computeSha256Hash=Dxe;ut.computeSha256Hmac=kxe;ut.createAbortablePromise=XW;ut.delay=Txe;ut.getErrorMessage=Pxe;ut.getRandomIntegerInclusive=vxe;ut.isBrowser=Oxe;ut.isBun=Gxe;ut.isDefined=mP;ut.isDeno=qxe;ut.isError=e8;ut.isNode=Uxe;ut.isObject=ZW;ut.isObjectWithProperties=_xe;ut.isReactNative=Hxe;ut.isWebWorker=Fxe;ut.objectHasProperty=t8;ut.randomUUID=Mxe;ut.stringToUint8Array=$xe;ut.uint8ArrayToString=zxe});var w8=f(Nc=>{"use strict";Object.defineProperty(Nc,"__esModule",{value:!0});var Xxe=jW(),s8=oP(),Zxe=r8(),xc=Xxe.createClientLogger("core-lro"),i8=2e3,o8=["succeeded","canceled","failed"];function a8(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(a8,"deserializeState");function n8(t){let{state:e,stateProxy:r,isOperationError:s}=t;return n=>{throw s(n)&&(r.setError(e,n),r.setFailed(e)),n}}o(n8,"setStateError");function e0e(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(e0e,"appendReadableErrorMessage");function t0e(t){let e=t.message,r=t.code,s=t;for(;s.innererror;)s=s.innererror,r=s.code,e=e0e(e,s.message);return{code:r,message:e}}o(t0e,"simplifyError");function c8(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}=t0e(u);A=`. ${p}. ${m}`}let d=`The long-running operation has failed${A}`;r.setError(e,new Error(d)),r.setFailed(e),xc.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,r0e({response:c,state:e,processResult:i}))}o(c8,"processOperationStatus");function r0e(t){let{processResult:e,response:r,state:s}=t;return e?e(r,s):r}o(r0e,"buildResult");async function l8(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};xc.verbose("LRO: Operation description:",d);let p=r.initState(d),m=n({response:A,state:p,operationLocation:c});return c8({state:p,status:m,stateProxy:r,response:A,setErrorAsResult:a,processResult:s}),p}o(l8,"initOperation");async function s0e(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(n8({state:r,stateProxy:s,isOperationError:c})),A=i(u,r);if(xc.verbose(`LRO: Status: Polling from: ${r.config.operationLocation} Operation status: ${A} Polling status: ${o8.includes(A)?"Stopped":"Running"}`),A==="succeeded"){let d=a(u,r);if(d!==void 0)return{response:await e(d).catch(n8({state:r,stateProxy:s,isOperationError:c})),status:A}}return{response:u,status:A}}o(s0e,"pollOperationHelper");async function u8(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:g,setErrorAsResult:C}=t,{operationLocation:E}=r.config;if(E!==void 0){let{response:y,status:I}=await s0e({poll:e,getOperationStatus:i,state:r,stateProxy:s,operationLocation:E,getResourceLocation:a,isOperationError:l,options:n});if(c8({status:I,response:y,state:r,stateProxy:s,isDone:g,processResult:d,getError:p,setErrorAsResult:C}),!o8.includes(I)){let B=A?.(y);B&&h(B);let x=c?.(y,r);if(x!==void 0){let R=E!==x;r.config.operationLocation=x,u?.(x,R)}else u?.(E,!1)}m?.(r,y)}}o(u8,"pollOperation");function A8(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(A8,"getOperationLocationPollingUrl");function d8(t){return t.headers.location}o(d8,"getLocationHeader");function p8(t){return t.headers["operation-location"]}o(p8,"getOperationLocationHeader");function m8(t){return t.headers["azure-asyncoperation"]}o(m8,"getAzureAsyncOperationHeader");function n0e(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(n0e,"findResourceLocation");function h8(t){let{rawResponse:e,requestMethod:r,requestPath:s,resourceLocationConfig:n}=t,i=p8(e),a=m8(e),c=A8({operationLocation:i,azureAsyncOperation:a}),l=d8(e),u=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:n0e({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(h8,"inferLroMode");function f8(t){let{status:e,statusCode:r}=t;if(typeof e!="string"&&e!==void 0)throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${e}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`);switch(e?.toLocaleLowerCase()){case void 0:return gP(r);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:return xc.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(f8,"transformStatus");function i0e(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return f8({status:r,statusCode:t.statusCode})}o(i0e,"getStatus");function o0e(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 f8({status:i,statusCode:t.statusCode})}o(o0e,"getProvisioningState");function gP(t){return t===202?"running":t<300?"succeeded":"failed"}o(gP,"toOperationStatus");function g8({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?a0e(new Date(e)):r*1e3}}o(g8,"parseRetryAfter");function E8(t){let e=t.flatResponse.error;if(!e){xc.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){xc.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(E8,"getErrorFromResponse");function a0e(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let a=await n.sendInitialRequest(),c=h8({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:y8,setErrorAsResult:i})}o(c0e,"initHttpOperation");function C8({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return A8({operationLocation:p8(t),azureAsyncOperation:m8(t)});case"ResourceLocation":return d8(t);default:return}}o(C8,"getOperationLocation");function EP({rawResponse:t},e){var r;let s=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(s){case"OperationLocation":return i0e(t);case"ResourceLocation":return gP(t.statusCode);case"Body":return o0e(t);default:throw new Error(`Internal error: Unexpected operation mode: ${s}`)}}o(EP,"getOperationStatus");function I8({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(I8,"getResourceLocation");function B8(t){return t.name==="RestError"}o(B8,"isOperationError");async function l0e(t){let{lro:e,stateProxy:r,options:s,processResult:n,updateState:i,setDelay:a,state:c,setErrorAsResult:l}=t;return u8({state:c,stateProxy:r,setDelay:a,processResult:n?({flatResponse:u},A)=>n(u,A):({flatResponse:u})=>u,getError:E8,updateState:i,getPollingInterval:g8,getOperationLocation:C8,getOperationStatus:EP,isOperationError:B8,getResourceLocation:I8,options:s,poll:o(async(u,A)=>e.sendPollRequest(u,A),"poll"),setErrorAsResult:l})}o(l0e,"pollHttpOperation");var u0e=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 A0e(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:g=i8,restoreFrom:C}=d||{},E=u0e(),y=h?(()=>{let xe=!1;return(se,Me)=>{Me?h(se):xe||h(se),xe=!0}})():void 0,I=C?a8(C):await l8({init:u,stateProxy:E,processResult:p,getOperationStatus:r,withOperationLocation:y,setErrorAsResult:!l}),B,x=new s8.AbortController,R=new Map,q=o(async()=>R.forEach(xe=>xe(I)),"handleProgressEvents"),ye="Operation was canceled",we=g,be={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(()=>{x.abort()},"stopPolling"),toString:o(()=>JSON.stringify({state:I}),"toString"),onProgress:o(xe=>{let se=Symbol();return R.set(se,xe),()=>R.delete(se)},"onProgress"),pollUntilDone:o(xe=>B??(B=(async()=>{let{abortSignal:se}=xe||{},{signal:Me}=se?new s8.AbortController([se,x.signal]):x;if(!be.isDone())for(await be.poll({abortSignal:Me});!be.isDone();)await Zxe.delay(we,{abortSignal:Me}),await be.poll({abortSignal:Me});if(l)return be.getResult();switch(I.status){case"succeeded":return be.getResult();case"canceled":throw new Error(ye);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(xe){if(l){if(be.isDone())return}else switch(I.status){case"succeeded":return;case"canceled":throw new Error(ye);case"failed":throw I.error}if(await u8({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:xe,setDelay:o(se=>{we=se},"setDelay"),setErrorAsResult:!l}),await q(),!l)switch(I.status){case"canceled":throw new Error(ye);case"failed":throw I.error}}};return be}}o(A0e,"buildCreatePoller");async function d0e(t,e){let{resourceLocationConfig:r,intervalInMs:s,processResult:n,restoreFrom:i,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return A0e({getStatusFromInitialResponse:y8,getStatusFromPollResponse:EP,isOperationError:B8,getOperationLocation:C8,getResourceLocation:I8,getPollingInterval:g8,getError:E8,resolveOnUnsuccessful:l})({init:o(async()=>{let u=await t.sendInitialRequest(),A=h8({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(d0e,"createHttpPoller");var p0e=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"),hP=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=p0e();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await c0e({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 l0e({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 xc.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},fC=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},gC=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},EC=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 gC("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 fC("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(!this.cancelPromise)this.cancelPromise=this.cancelOnce(e);else if(e.abortSignal)throw new Error("A cancel request is currently pending");return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}},fP=class extends EC{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:s=i8,resumeFrom:n,resolveOnUnsuccessful:i=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:u}=r||{},A=n?a8(n):{},d=new hP(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))}};Nc.LroEngine=fP;Nc.Poller=EC;Nc.PollerCancelledError=gC;Nc.PollerStoppedError=fC;Nc.createHttpPoller=d0e});var $8=f((cit,D0e)=>{D0e.exports={name:"@actions/cache",version:"6.2.0",description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",type:"module",main:"lib/cache.js",types:"lib/cache.d.ts",exports:{".":{types:"./lib/cache.d.ts",import:"./lib/cache.js"}},directories:{lib:"lib",test:"__tests__"},files:["lib","!.DS_Store"],publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/actions/toolkit.git",directory:"packages/cache"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:'echo "Error: run tests from root" && exit 1',tsc:"tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^3.0.1","@actions/exec":"^3.0.0","@actions/glob":"^0.6.1","@actions/http-client":"^4.0.1","@actions/io":"^3.0.2","@azure/core-rest-pipeline":"^1.23.0","@azure/storage-blob":"^12.31.0","@protobuf-ts/runtime-rpc":"^2.11.1",semver:"^7.7.4"},devDependencies:{"@protobuf-ts/plugin":"^2.11.1","@types/node":"^25.6.0","@types/semver":"^7.7.1",typescript:"^5.9.3"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var Y8=f((lit,V8)=>{var _0e=$8();V8.exports={version:_0e.version}});var vC=f(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});Ou.isJsonObject=Ou.typeofJsonValue=void 0;function H0e(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(H0e,"typeofJsonValue");Ou.typeofJsonValue=H0e;function z0e(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(z0e,"isJsonObject");Ou.isJsonObject=z0e});var kC=f(Fu=>{"use strict";Object.defineProperty(Fu,"__esModule",{value:!0});Fu.base64encode=Fu.base64decode=void 0;var ho="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),PC=[];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($0e,"base64decode");Fu.base64decode=$0e;function V0e(t){let e="",r=0,s,n=0;for(let i=0;i>2],n=(s&3)<<4,r=1;break;case 1:e+=ho[n|s>>4],n=(s&15)<<2,r=2;break;case 2:e+=ho[n|s>>6],e+=ho[s&63],r=0;break}return r&&(e+=ho[n],e+="=",r==1&&(e+="=")),e}o(V0e,"base64encode");Fu.base64encode=V0e});var Z8=f(DC=>{"use strict";Object.defineProperty(DC,"__esModule",{value:!0});DC.utf8read=void 0;var RP=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function Y0e(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(RP(s)),n=0);return r.length?(n&&r.push(RP(s.slice(0,n))),r.join("")):RP(s.slice(0,n))}o(Y0e,"utf8read");DC.utf8read=Y0e});var lm=f(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.WireType=Qi.mergeBinaryOptions=Qi.UnknownFieldHandler=void 0;var J0e;(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")})(J0e=Qi.UnknownFieldHandler||(Qi.UnknownFieldHandler={}));function W0e(t,e){return Object.assign(Object.assign({},t),e)}o(W0e,"mergeBinaryOptions");Qi.mergeBinaryOptions=W0e;var j0e;(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"})(j0e=Qi.WireType||(Qi.WireType={}))});var LC=f($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});$r.varint32read=$r.varint32write=$r.int64toString=$r.int64fromString=$r.varint64write=$r.varint64read=void 0;function K0e(){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(X0e,"varint64write");$r.varint64write=X0e;var _C=65536*65536;function Z0e(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>=_C&&(n=n+(s/_C|0),s=s%_C)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,s,n]}o(Z0e,"int64fromString");$r.int64fromString=Z0e;function eNe(t,e){if(e>>>0<=2097151)return""+(_C*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(eNe,"int64toString");$r.int64toString=eNe;function tNe(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(tNe,"varint32write");$r.varint32write=tNe;function rNe(){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(rNe,"varint32read");$r.varint32read=rNe});var Aa=f(ua=>{"use strict";Object.defineProperty(ua,"__esModule",{value:!0});ua.PbLong=ua.PbULong=ua.detectBi=void 0;var um=LC(),Le;function e5(){let t=new DataView(new ArrayBuffer(8));Le=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(e5,"detectBi");ua.detectBi=e5;e5();function t5(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(t5,"assertBi");var r5=/^-?[0-9]+$/,OC=4294967296,MC=2147483648,FC=class{static{o(this,"SharedPbLong")}constructor(e,r){this.lo=e|0,this.hi=r|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*OC+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},Am=class t extends FC{static{o(this,"PbULong")}static from(e){if(Le)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Le.C(e);case"number":if(e===0)return this.ZERO;e=Le.C(e);case"bigint":if(!e)return this.ZERO;if(eLe.UMAX)throw new Error("ulong too large");return Le.V.setBigUint64(0,e,!0),new t(Le.V.getInt32(0,!0),Le.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!r5.test(e))throw new Error("string is no integer");let[r,s,n]=um.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/OC)}throw new Error("unknown value "+typeof e)}toString(){return Le?this.toBigInt().toString():um.int64toString(this.lo,this.hi)}toBigInt(){return t5(Le),Le.V.setInt32(0,this.lo,!0),Le.V.setInt32(4,this.hi,!0),Le.V.getBigUint64(0,!0)}};ua.PbULong=Am;Am.ZERO=new Am(0,0);var dm=class t extends FC{static{o(this,"PbLong")}static from(e){if(Le)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Le.C(e);case"number":if(e===0)return this.ZERO;e=Le.C(e);case"bigint":if(!e)return this.ZERO;if(eLe.MAX)throw new Error("signed long too large");return Le.V.setBigInt64(0,e,!0),new t(Le.V.getInt32(0,!0),Le.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!r5.test(e))throw new Error("string is no integer");let[r,s,n]=um.int64fromString(e);if(r){if(n>MC||n==MC&&s!=0)throw new Error("signed long too small")}else if(n>=MC)throw new Error("signed long too large");let i=new t(s,n);return r?i.negate():i;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new t(e,e/OC):new t(-e,-e/OC).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&MC)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Le)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+um.int64toString(e.lo,e.hi)}return um.int64toString(this.lo,this.hi)}toBigInt(){return t5(Le),Le.V.setInt32(0,this.lo,!0),Le.V.setInt32(4,this.hi,!0),Le.V.getBigInt64(0,!0)}};ua.PbLong=dm;dm.ZERO=new dm(0,0)});var TP=f(qu=>{"use strict";Object.defineProperty(qu,"__esModule",{value:!0});qu.BinaryReader=qu.binaryReadOptions=void 0;var Uu=lm(),pm=Aa(),s5=LC(),n5={readUnknownField:!0,readerFactory:o(t=>new UC(t),"readerFactory")};function sNe(t){return t?Object.assign(Object.assign({},n5),t):n5}o(sNe,"binaryReadOptions");qu.binaryReadOptions=sNe;var UC=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=s5.varint64read,this.uint32=s5.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 Uu.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Uu.WireType.Bit64:this.pos+=4;case Uu.WireType.Bit32:this.pos+=4;break;case Uu.WireType.LengthDelimited:let s=this.uint32();this.pos+=s;break;case Uu.WireType.StartGroup:let n;for(;(n=this.tag()[1])!==Uu.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 pm.PbLong(...this.varint64())}uint64(){return new pm.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 pm.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 pm.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new pm.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())}};qu.BinaryReader=UC});var Gu=f(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.assertFloat32=Ws.assertUInt32=Ws.assertInt32=Ws.assertNever=Ws.assert=void 0;function nNe(t,e){if(!t)throw new Error(e)}o(nNe,"assert");Ws.assert=nNe;function iNe(t,e){throw new Error(e??"Unexpected object: "+t)}o(iNe,"assertNever");Ws.assertNever=iNe;var oNe=34028234663852886e22,aNe=-34028234663852886e22,cNe=4294967295,lNe=2147483647,uNe=-2147483648;function ANe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>lNe||tcNe||t<0)throw new Error("invalid uint 32: "+t)}o(dNe,"assertUInt32");Ws.assertUInt32=dNe;function pNe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>oNe||t{"use strict";Object.defineProperty(zu,"__esModule",{value:!0});zu.BinaryWriter=zu.binaryWriteOptions=void 0;var mm=Aa(),hm=LC(),Hu=Gu(),i5={writeUnknownFields:!0,writerFactory:o(()=>new qC,"writerFactory")};function mNe(t){return t?Object.assign(Object.assign({},i5),t):i5}o(mNe,"binaryWriteOptions");zu.binaryWriteOptions=mNe;var qC=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(Hu.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Hu.assertInt32(e),hm.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){Hu.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){Hu.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Hu.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Hu.assertInt32(e),e=(e<<1^e>>31)>>>0,hm.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),s=new DataView(r.buffer),n=mm.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=mm.PbULong.from(e);return s.setInt32(0,n.lo,!0),s.setInt32(4,n.hi,!0),this.raw(r)}int64(e){let r=mm.PbLong.from(e);return hm.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=mm.PbLong.from(e),s=r.hi>>31,n=r.lo<<1^s,i=(r.hi<<1|r.lo>>>31)^s;return hm.varint64write(n,i,this.buf),this}uint64(e){let r=mm.PbULong.from(e);return hm.varint64write(r.lo,r.hi,this.buf),this}};zu.BinaryWriter=qC});var PP=f(da=>{"use strict";Object.defineProperty(da,"__esModule",{value:!0});da.mergeJsonOptions=da.jsonWriteOptions=da.jsonReadOptions=void 0;var o5={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},a5={ignoreUnknownFields:!1};function hNe(t){return t?Object.assign(Object.assign({},a5),t):a5}o(hNe,"jsonReadOptions");da.jsonReadOptions=hNe;function fNe(t){return t?Object.assign(Object.assign({},o5),t):o5}o(fNe,"jsonWriteOptions");da.jsonWriteOptions=fNe;function gNe(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(gNe,"mergeJsonOptions");da.mergeJsonOptions=gNe});var fm=f(GC=>{"use strict";Object.defineProperty(GC,"__esModule",{value:!0});GC.MESSAGE_TYPE=void 0;GC.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var kP=f(HC=>{"use strict";Object.defineProperty(HC,"__esModule",{value:!0});HC.lowerCamelCase=void 0;function ENe(t){let e=!1,r=[];for(let s=0;s{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});Lt.readMessageOption=Lt.readFieldOption=Lt.readFieldOptions=Lt.normalizeFieldInfo=Lt.RepeatType=Lt.LongType=Lt.ScalarType=void 0;var c5=kP(),yNe;(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"})(yNe=Lt.ScalarType||(Lt.ScalarType={}));var CNe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(CNe=Lt.LongType||(Lt.LongType={}));var l5;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(l5=Lt.RepeatType||(Lt.RepeatType={}));function INe(t){var e,r,s,n;return t.localName=(e=t.localName)!==null&&e!==void 0?e:c5.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:c5.lowerCamelCase(t.name),t.repeat=(s=t.repeat)!==null&&s!==void 0?s:l5.NO,t.opt=(n=t.opt)!==null&&n!==void 0?n:t.repeat||t.oneof?!1:t.kind=="message",t}o(INe,"normalizeFieldInfo");Lt.normalizeFieldInfo=INe;function BNe(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(BNe,"readFieldOptions");Lt.readFieldOptions=BNe;function wNe(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(wNe,"readFieldOption");Lt.readFieldOption=wNe;function bNe(t,e,r){let n=t.options[e];return n===void 0?n:r?r.fromJson(n):n}o(bNe,"readMessageOption");Lt.readMessageOption=bNe});var DP=f(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Vr.getSelectedOneofValue=Vr.clearOneofValue=Vr.setUnknownOneofValue=Vr.setOneofValue=Vr.getOneofValue=Vr.isOneofGroup=void 0;function QNe(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(QNe,"isOneofGroup");Vr.isOneofGroup=QNe;function xNe(t,e){return t[e]}o(xNe,"getOneofValue");Vr.getOneofValue=xNe;function NNe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(NNe,"setOneofValue");Vr.setOneofValue=NNe;function SNe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(SNe,"setUnknownOneofValue");Vr.setUnknownOneofValue=SNe;function RNe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(RNe,"clearOneofValue");Vr.clearOneofValue=RNe;function TNe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(TNe,"getSelectedOneofValue");Vr.getSelectedOneofValue=TNe});var LP=f(zC=>{"use strict";Object.defineProperty(zC,"__esModule",{value:!0});zC.ReflectionTypeCheck=void 0;var At=Nn(),vNe=DP(),_P=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(!vNe.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,At.ScalarType.INT32,n):this.scalar(e,At.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),At.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 At.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,At.LongType.STRING)}}};zC.ReflectionTypeCheck=_P});var VC=f($C=>{"use strict";Object.defineProperty($C,"__esModule",{value:!0});$C.reflectionLongConvert=void 0;var u5=Nn();function PNe(t,e){switch(e){case u5.LongType.BIGINT:return t.toBigInt();case u5.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(PNe,"reflectionLongConvert");$C.reflectionLongConvert=PNe});var OP=f(WC=>{"use strict";Object.defineProperty(WC,"__esModule",{value:!0});WC.ReflectionJsonReader=void 0;var A5=vC(),kNe=kC(),Mt=Nn(),YC=Aa(),Rc=Gu(),JC=VC(),MP=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=A5.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(A5.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==Mt.ScalarType.BOOL&&(h=h=="true"?!0:h=="false"?!1:h),h=this.scalar(h,c.K,Mt.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"&&Rc.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 Rc.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:(Rc.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${s}, enum ${e[0]} has no value for "${r}".`),a)}Rc.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 Mt.ScalarType.DOUBLE:case Mt.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==Mt.ScalarType.FLOAT&&Rc.assertFloat32(a),a;case Mt.ScalarType.INT32:case Mt.ScalarType.FIXED32:case Mt.ScalarType.SFIXED32:case Mt.ScalarType.SINT32:case Mt.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==Mt.ScalarType.UINT32?Rc.assertUInt32(c):Rc.assertInt32(c),c;case Mt.ScalarType.INT64:case Mt.ScalarType.SFIXED64:case Mt.ScalarType.SINT64:if(e===null)return JC.reflectionLongConvert(YC.PbLong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return JC.reflectionLongConvert(YC.PbLong.from(e),s);case Mt.ScalarType.FIXED64:case Mt.ScalarType.UINT64:if(e===null)return JC.reflectionLongConvert(YC.PbULong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return JC.reflectionLongConvert(YC.PbULong.from(e),s);case Mt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Mt.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 Mt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return kNe.base64decode(e)}}catch(a){i=a.message}this.assert(!1,n+(i?" - "+i:""),e)}};WC.ReflectionJsonReader=MP});var UP=f(jC=>{"use strict";Object.defineProperty(jC,"__esModule",{value:!0});jC.ReflectionJsonWriter=void 0;var DNe=kC(),d5=Aa(),Qr=Nn(),Xe=Gu(),FP=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);Xe.assert(l!==void 0),s[r.useProtoFieldName?i.name:i.jsonName]=l}return s}field(e,r,s){let n;if(e.kind=="map"){Xe.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);Xe.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);Xe.assert(A!==void 0),i[l.toString()]=A}break;case"enum":let c=e.V.T();for(let[l,u]of Object.entries(r)){Xe.assert(u===void 0||typeof u=="number");let A=this.enum(c,u,e.name,!1,!0,s.enumAsInteger);Xe.assert(A!==void 0),i[l.toString()]=A}break}(s.emitDefaultValues||Object.keys(i).length>0)&&(n=i)}else if(e.repeat){Xe.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){Xe.assert(n);return}if(!(r===0&&!i&&!n))return Xe.assert(typeof r=="number"),Xe.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){Xe.assert(n);return}let a=i||n;switch(e){case Qr.ScalarType.INT32:case Qr.ScalarType.SFIXED32:case Qr.ScalarType.SINT32:return r===0?a?0:void 0:(Xe.assertInt32(r),r);case Qr.ScalarType.FIXED32:case Qr.ScalarType.UINT32:return r===0?a?0:void 0:(Xe.assertUInt32(r),r);case Qr.ScalarType.FLOAT:Xe.assertFloat32(r);case Qr.ScalarType.DOUBLE:return r===0?a?0:void 0:(Xe.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case Qr.ScalarType.STRING:return r===""?a?"":void 0:(Xe.assert(typeof r=="string"),r);case Qr.ScalarType.BOOL:return r===!1?a?!1:void 0:(Xe.assert(typeof r=="boolean"),r);case Qr.ScalarType.UINT64:case Qr.ScalarType.FIXED64:Xe.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=d5.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case Qr.ScalarType.INT64:case Qr.ScalarType.SFIXED64:case Qr.ScalarType.SINT64:Xe.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=d5.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case Qr.ScalarType.BYTES:return Xe.assert(r instanceof Uint8Array),r.byteLength?DNe.base64encode(r):a?"":void 0}}};jC.ReflectionJsonWriter=FP});var XC=f(KC=>{"use strict";Object.defineProperty(KC,"__esModule",{value:!0});KC.reflectionScalarDefault=void 0;var Sn=Nn(),p5=VC(),m5=Aa();function _Ne(t,e=Sn.LongType.STRING){switch(t){case Sn.ScalarType.BOOL:return!1;case Sn.ScalarType.UINT64:case Sn.ScalarType.FIXED64:return p5.reflectionLongConvert(m5.PbULong.ZERO,e);case Sn.ScalarType.INT64:case Sn.ScalarType.SFIXED64:case Sn.ScalarType.SINT64:return p5.reflectionLongConvert(m5.PbLong.ZERO,e);case Sn.ScalarType.DOUBLE:case Sn.ScalarType.FLOAT:return 0;case Sn.ScalarType.BYTES:return new Uint8Array(0);case Sn.ScalarType.STRING:return"";default:return 0}}o(_Ne,"reflectionScalarDefault");KC.reflectionScalarDefault=_Ne});var GP=f(ZC=>{"use strict";Object.defineProperty(ZC,"__esModule",{value:!0});ZC.ReflectionBinaryReader=void 0;var h5=lm(),It=Nn(),gm=VC(),f5=XC(),qP=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(eI,"__esModule",{value:!0});eI.ReflectionBinaryWriter=void 0;var ys=lm(),Ue=Nn(),$u=Gu(),Em=Aa(),HP=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"?Ue.ScalarType.INT32:i.T;if(l)if($u.assert(Array.isArray(a)),l==Ue.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?$u.assert(i.opt):this.scalar(r,A,i.no,a,c||i.opt);break;case"message":if(l){$u.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":$u.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 Ue.ScalarType.INT32:case Ue.ScalarType.FIXED32:case Ue.ScalarType.UINT32:case Ue.ScalarType.SFIXED32:case Ue.ScalarType.SINT32:a=Number.parseInt(n);break;case Ue.ScalarType.BOOL:$u.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,Ue.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;$u.assert(r!==Ue.ScalarType.BYTES&&r!==Ue.ScalarType.STRING),e.tag(s,ys.WireType.LengthDelimited),e.fork();let[,i]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(tI,"__esModule",{value:!0});tI.reflectionCreate=void 0;var LNe=XC(),MNe=fm();function ONe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},MNe.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]=LNe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[s]=0;break;case"map":e[s]={};break}}return e}o(ONe,"reflectionCreate");tI.reflectionCreate=ONe});var VP=f(rI=>{"use strict";Object.defineProperty(rI,"__esModule",{value:!0});rI.reflectionMergePartial=void 0;function FNe(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(nI,"__esModule",{value:!0});nI.reflectionEquals=void 0;var YP=Nn();function UNe(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"?YP.ScalarType.INT32:s.T;if(!(s.repeat?g5(c,i,a):y5(c,i,a)))return!1;break;case"map":if(!(s.V.kind=="message"?E5(s.V.T(),sI(i),sI(a)):g5(s.V.kind=="enum"?YP.ScalarType.INT32:s.V.T,sI(i),sI(a))))return!1;break;case"message":let l=s.T();if(!(s.repeat?E5(l,i,a):l.equals(i,a)))return!1;break}}return!0}o(UNe,"reflectionEquals");nI.reflectionEquals=UNe;var sI=Object.values;function y5(t,e,r){if(e===r)return!0;if(t!==YP.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(iI,"__esModule",{value:!0});iI.MessageType=void 0;var qNe=fm(),GNe=Nn(),HNe=LP(),zNe=OP(),$Ne=UP(),VNe=GP(),YNe=zP(),JNe=$P(),WP=VP(),WNe=vC(),C5=PP(),jNe=JP(),KNe=vP(),XNe=TP(),I5=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),ZNe=I5[qNe.MESSAGE_TYPE]={},jP=class{static{o(this,"MessageType")}constructor(e,r,s){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(GNe.normalizeFieldInfo),this.options=s??{},ZNe.value=this,this.messagePrototype=Object.create(null,I5),this.refTypeCheck=new HNe.ReflectionTypeCheck(this),this.refJsonReader=new zNe.ReflectionJsonReader(this),this.refJsonWriter=new $Ne.ReflectionJsonWriter(this),this.refBinReader=new VNe.ReflectionBinaryReader(this),this.refBinWriter=new YNe.ReflectionBinaryWriter(this)}create(e){let r=JNe.reflectionCreate(this);return e!==void 0&&WP.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return WP.reflectionMergePartial(this,r,e),r}equals(e,r){return jNe.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){WP.reflectionMergePartial(this,e,r)}fromBinary(e,r){let s=XNe.binaryReadOptions(r);return this.internalBinaryRead(s.readerFactory(e),e.byteLength,s)}fromJson(e,r){return this.internalJsonRead(e,C5.jsonReadOptions(r))}fromJsonString(e,r){let s=JSON.parse(e);return this.fromJson(s,r)}toJson(e,r){return this.internalJsonWrite(e,C5.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=KNe.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 ${WNe.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}};iI.MessageType=jP});var w5=f(oI=>{"use strict";Object.defineProperty(oI,"__esModule",{value:!0});oI.containsMessageType=void 0;var eSe=fm();function tSe(t){return t[eSe.MESSAGE_TYPE]!=null}o(tSe,"containsMessageType");oI.containsMessageType=tSe});var Q5=f(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.listEnumNumbers=xi.listEnumNames=xi.listEnumValues=xi.isEnumObject=void 0;function b5(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(b5,"isEnumObject");xi.isEnumObject=b5;function KP(t){if(!b5(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(KP,"listEnumValues");xi.listEnumValues=KP;function rSe(t){return KP(t).map(e=>e.name)}o(rSe,"listEnumNames");xi.listEnumNames=rSe;function sSe(t){return KP(t).map(e=>e.number).filter((e,r,s)=>s.indexOf(e)==r)}o(sSe,"listEnumNumbers");xi.listEnumNumbers=sSe});var Bt=f(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});var x5=vC();Object.defineProperty(j,"typeofJsonValue",{enumerable:!0,get:o(function(){return x5.typeofJsonValue},"get")});Object.defineProperty(j,"isJsonObject",{enumerable:!0,get:o(function(){return x5.isJsonObject},"get")});var N5=kC();Object.defineProperty(j,"base64decode",{enumerable:!0,get:o(function(){return N5.base64decode},"get")});Object.defineProperty(j,"base64encode",{enumerable:!0,get:o(function(){return N5.base64encode},"get")});var nSe=Z8();Object.defineProperty(j,"utf8read",{enumerable:!0,get:o(function(){return nSe.utf8read},"get")});var XP=lm();Object.defineProperty(j,"WireType",{enumerable:!0,get:o(function(){return XP.WireType},"get")});Object.defineProperty(j,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return XP.mergeBinaryOptions},"get")});Object.defineProperty(j,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return XP.UnknownFieldHandler},"get")});var S5=TP();Object.defineProperty(j,"BinaryReader",{enumerable:!0,get:o(function(){return S5.BinaryReader},"get")});Object.defineProperty(j,"binaryReadOptions",{enumerable:!0,get:o(function(){return S5.binaryReadOptions},"get")});var R5=vP();Object.defineProperty(j,"BinaryWriter",{enumerable:!0,get:o(function(){return R5.BinaryWriter},"get")});Object.defineProperty(j,"binaryWriteOptions",{enumerable:!0,get:o(function(){return R5.binaryWriteOptions},"get")});var T5=Aa();Object.defineProperty(j,"PbLong",{enumerable:!0,get:o(function(){return T5.PbLong},"get")});Object.defineProperty(j,"PbULong",{enumerable:!0,get:o(function(){return T5.PbULong},"get")});var ZP=PP();Object.defineProperty(j,"jsonReadOptions",{enumerable:!0,get:o(function(){return ZP.jsonReadOptions},"get")});Object.defineProperty(j,"jsonWriteOptions",{enumerable:!0,get:o(function(){return ZP.jsonWriteOptions},"get")});Object.defineProperty(j,"mergeJsonOptions",{enumerable:!0,get:o(function(){return ZP.mergeJsonOptions},"get")});var iSe=fm();Object.defineProperty(j,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return iSe.MESSAGE_TYPE},"get")});var oSe=B5();Object.defineProperty(j,"MessageType",{enumerable:!0,get:o(function(){return oSe.MessageType},"get")});var Tc=Nn();Object.defineProperty(j,"ScalarType",{enumerable:!0,get:o(function(){return Tc.ScalarType},"get")});Object.defineProperty(j,"LongType",{enumerable:!0,get:o(function(){return Tc.LongType},"get")});Object.defineProperty(j,"RepeatType",{enumerable:!0,get:o(function(){return Tc.RepeatType},"get")});Object.defineProperty(j,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return Tc.normalizeFieldInfo},"get")});Object.defineProperty(j,"readFieldOptions",{enumerable:!0,get:o(function(){return Tc.readFieldOptions},"get")});Object.defineProperty(j,"readFieldOption",{enumerable:!0,get:o(function(){return Tc.readFieldOption},"get")});Object.defineProperty(j,"readMessageOption",{enumerable:!0,get:o(function(){return Tc.readMessageOption},"get")});var aSe=LP();Object.defineProperty(j,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return aSe.ReflectionTypeCheck},"get")});var cSe=$P();Object.defineProperty(j,"reflectionCreate",{enumerable:!0,get:o(function(){return cSe.reflectionCreate},"get")});var lSe=XC();Object.defineProperty(j,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return lSe.reflectionScalarDefault},"get")});var uSe=VP();Object.defineProperty(j,"reflectionMergePartial",{enumerable:!0,get:o(function(){return uSe.reflectionMergePartial},"get")});var ASe=JP();Object.defineProperty(j,"reflectionEquals",{enumerable:!0,get:o(function(){return ASe.reflectionEquals},"get")});var dSe=GP();Object.defineProperty(j,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return dSe.ReflectionBinaryReader},"get")});var pSe=zP();Object.defineProperty(j,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return pSe.ReflectionBinaryWriter},"get")});var mSe=OP();Object.defineProperty(j,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return mSe.ReflectionJsonReader},"get")});var hSe=UP();Object.defineProperty(j,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return hSe.ReflectionJsonWriter},"get")});var fSe=w5();Object.defineProperty(j,"containsMessageType",{enumerable:!0,get:o(function(){return fSe.containsMessageType},"get")});var ym=DP();Object.defineProperty(j,"isOneofGroup",{enumerable:!0,get:o(function(){return ym.isOneofGroup},"get")});Object.defineProperty(j,"setOneofValue",{enumerable:!0,get:o(function(){return ym.setOneofValue},"get")});Object.defineProperty(j,"getOneofValue",{enumerable:!0,get:o(function(){return ym.getOneofValue},"get")});Object.defineProperty(j,"clearOneofValue",{enumerable:!0,get:o(function(){return ym.clearOneofValue},"get")});Object.defineProperty(j,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return ym.getSelectedOneofValue},"get")});var aI=Q5();Object.defineProperty(j,"listEnumValues",{enumerable:!0,get:o(function(){return aI.listEnumValues},"get")});Object.defineProperty(j,"listEnumNames",{enumerable:!0,get:o(function(){return aI.listEnumNames},"get")});Object.defineProperty(j,"listEnumNumbers",{enumerable:!0,get:o(function(){return aI.listEnumNumbers},"get")});Object.defineProperty(j,"isEnumObject",{enumerable:!0,get:o(function(){return aI.isEnumObject},"get")});var gSe=kP();Object.defineProperty(j,"lowerCamelCase",{enumerable:!0,get:o(function(){return gSe.lowerCamelCase},"get")});var Cm=Gu();Object.defineProperty(j,"assert",{enumerable:!0,get:o(function(){return Cm.assert},"get")});Object.defineProperty(j,"assertNever",{enumerable:!0,get:o(function(){return Cm.assertNever},"get")});Object.defineProperty(j,"assertInt32",{enumerable:!0,get:o(function(){return Cm.assertInt32},"get")});Object.defineProperty(j,"assertUInt32",{enumerable:!0,get:o(function(){return Cm.assertUInt32},"get")});Object.defineProperty(j,"assertFloat32",{enumerable:!0,get:o(function(){return Cm.assertFloat32},"get")})});var ek=f(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.readServiceOption=Ni.readMethodOption=Ni.readMethodOptions=Ni.normalizeMethodInfo=void 0;var ESe=Bt();function ySe(t,e){var r,s,n;let i=t;return i.service=e,i.localName=(r=i.localName)!==null&&r!==void 0?r:ESe.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(ySe,"normalizeMethodInfo");Ni.normalizeMethodInfo=ySe;function CSe(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(CSe,"readMethodOptions");Ni.readMethodOptions=CSe;function ISe(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(ISe,"readMethodOption");Ni.readMethodOption=ISe;function BSe(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(BSe,"readServiceOption");Ni.readServiceOption=BSe});var v5=f(cI=>{"use strict";Object.defineProperty(cI,"__esModule",{value:!0});cI.ServiceType=void 0;var wSe=ek(),tk=class{static{o(this,"ServiceType")}constructor(e,r,s){this.typeName=e,this.methods=r.map(n=>wSe.normalizeMethodInfo(n,this)),this.options=s??{}}};cI.ServiceType=tk});var sk=f(lI=>{"use strict";Object.defineProperty(lI,"__esModule",{value:!0});lI.RpcError=void 0;var rk=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(` `)}};lI.RpcError=rk});var nk=f(AI=>{"use strict";Object.defineProperty(AI,"__esModule",{value:!0});AI.mergeRpcOptions=void 0;var P5=Bt();function bSe(t,e){if(!e)return t;let r={};uI(t,r),uI(e,r);for(let s of Object.keys(e)){let n=e[s];switch(s){case"jsonOptions":r.jsonOptions=P5.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=P5.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},uI(t.meta,r.meta),uI(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(n):n.concat();break}}return r}o(bSe,"mergeRpcOptions");AI.mergeRpcOptions=bSe;function uI(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(uI,"copy")});var ok=f(vc=>{"use strict";Object.defineProperty(vc,"__esModule",{value:!0});vc.Deferred=vc.DeferredState=void 0;var Si;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Si=vc.DeferredState||(vc.DeferredState={}));var ik=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Si.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!==Si.PENDING)throw new Error(`cannot resolve ${Si[this.state].toLowerCase()}`);this._resolve(e),this._state=Si.RESOLVED}reject(e){if(this.state!==Si.PENDING)throw new Error(`cannot reject ${Si[this.state].toLowerCase()}`);this._reject(e),this._state=Si.REJECTED}resolvePending(e){this._state===Si.PENDING&&this.resolve(e)}rejectPending(e){this._state===Si.PENDING&&this.reject(e)}};vc.Deferred=ik});var ck=f(dI=>{"use strict";Object.defineProperty(dI,"__esModule",{value:!0});dI.RpcOutputStreamController=void 0;var k5=ok(),Pc=Bt(),ak=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){Pc.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){Pc.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){Pc.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(){Pc.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;Pc.assert(e,"bad state"),Pc.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 k5.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let s=r.p;Pc.assert(s.state==k5.DeferredState.PENDING,"iterator contract broken"),"value"in e?s.resolve(e):s.reject(e),delete r.p}else r.q.push(e)}};dI.RpcOutputStreamController=ak});var uk=f(Vu=>{"use strict";var QSe=Vu&&Vu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(Vu,"__esModule",{value:!0});Vu.UnaryCall=void 0;var lk=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 QSe(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}})}};Vu.UnaryCall=lk});var dk=f(Yu=>{"use strict";var xSe=Yu&&Yu.__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(Yu,"__esModule",{value:!0});Yu.ServerStreamingCall=void 0;var Ak=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 xSe(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}})}};Yu.ServerStreamingCall=Ak});var mk=f(Ju=>{"use strict";var NSe=Ju&&Ju.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(Ju,"__esModule",{value:!0});Ju.ClientStreamingCall=void 0;var pk=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 NSe(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}})}};Ju.ClientStreamingCall=pk});var fk=f(Wu=>{"use strict";var SSe=Wu&&Wu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(Wu,"__esModule",{value:!0});Wu.DuplexStreamingCall=void 0;var hk=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 SSe(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}})}};Wu.DuplexStreamingCall=hk});var _5=f(Xu=>{"use strict";var RSe=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.TestTransport=void 0;var js=sk(),pI=Bt(),D5=ck(),TSe=nk(),vSe=uk(),PSe=dk(),kSe=mk(),DSe=fk(),Ku=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 ju?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof ju?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)?(pI.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),pI.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,s){return RSe(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)pI.assert(e.O.is(i)),n.push(i);else this.data.response instanceof js.RpcError||(pI.assert(e.O.is(this.data.response)),n.push(this.data.response));try{yield Yt(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 Yt(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 TSe.mergeRpcOptions({},e)}unary(e,r,s){var n;let i=(n=s.meta)!==null&&n!==void 0?n:{},a=this.promiseHeaders().then(Yt(this.headerDelay,s.abort)),c=a.catch(A=>{}).then(Yt(this.responseDelay,s.abort)).then(A=>this.promiseSingleResponse(e)),l=c.catch(A=>{}).then(Yt(this.afterResponseDelay,s.abort)).then(A=>this.promiseStatus()),u=c.catch(A=>{}).then(Yt(this.afterResponseDelay,s.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new vSe.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(Yt(this.headerDelay,s.abort)),c=new D5.RpcOutputStreamController,l=a.then(Yt(this.responseDelay,s.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,s.abort)).then(Yt(this.afterResponseDelay,s.abort)),u=l.then(()=>this.promiseStatus()),A=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(u,A),this.lastInput={single:r},new PSe.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(Yt(this.headerDelay,r.abort)),a=i.catch(u=>{}).then(Yt(this.responseDelay,r.abort)).then(u=>this.promiseSingleResponse(e)),c=a.catch(u=>{}).then(Yt(this.afterResponseDelay,r.abort)).then(u=>this.promiseStatus()),l=a.catch(u=>{}).then(Yt(this.afterResponseDelay,r.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new ju(this.data,r.abort),new kSe.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(Yt(this.headerDelay,r.abort)),a=new D5.RpcOutputStreamController,c=i.then(Yt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(Yt(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput=new ju(this.data,r.abort),new DSe.DuplexStreamingCall(e,n,this.lastInput,i,a,l,u)}};Xu.TestTransport=Ku;Ku.defaultHeaders={responseHeader:"test"};Ku.defaultStatus={code:"OK",detail:"all good"};Ku.defaultTrailers={responseTrailer:"test"};function Yt(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(Yt,"delay");var ju=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(Yt(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(Yt(e,this.abort))}}});var L5=f(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.stackDuplexStreamingInterceptors=Ks.stackClientStreamingInterceptors=Ks.stackServerStreamingInterceptors=Ks.stackUnaryInterceptors=Ks.stackIntercept=void 0;var _Se=Bt();function Im(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)}_Se.assertNever(t)}o(Im,"stackIntercept");Ks.stackIntercept=Im;function LSe(t,e,r,s){return Im("unary",t,e,s,r)}o(LSe,"stackUnaryInterceptors");Ks.stackUnaryInterceptors=LSe;function MSe(t,e,r,s){return Im("serverStreaming",t,e,s,r)}o(MSe,"stackServerStreamingInterceptors");Ks.stackServerStreamingInterceptors=MSe;function OSe(t,e,r){return Im("clientStreaming",t,e,r)}o(OSe,"stackClientStreamingInterceptors");Ks.stackClientStreamingInterceptors=OSe;function FSe(t,e,r){return Im("duplex",t,e,r)}o(FSe,"stackDuplexStreamingInterceptors");Ks.stackDuplexStreamingInterceptors=FSe});var M5=f(mI=>{"use strict";Object.defineProperty(mI,"__esModule",{value:!0});mI.ServerCallContextController=void 0;var gk=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)}}};mI.ServerCallContextController=gk});var F5=f(dt=>{"use strict";Object.defineProperty(dt,"__esModule",{value:!0});var USe=v5();Object.defineProperty(dt,"ServiceType",{enumerable:!0,get:o(function(){return USe.ServiceType},"get")});var Ek=ek();Object.defineProperty(dt,"readMethodOptions",{enumerable:!0,get:o(function(){return Ek.readMethodOptions},"get")});Object.defineProperty(dt,"readMethodOption",{enumerable:!0,get:o(function(){return Ek.readMethodOption},"get")});Object.defineProperty(dt,"readServiceOption",{enumerable:!0,get:o(function(){return Ek.readServiceOption},"get")});var qSe=sk();Object.defineProperty(dt,"RpcError",{enumerable:!0,get:o(function(){return qSe.RpcError},"get")});var GSe=nk();Object.defineProperty(dt,"mergeRpcOptions",{enumerable:!0,get:o(function(){return GSe.mergeRpcOptions},"get")});var HSe=ck();Object.defineProperty(dt,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return HSe.RpcOutputStreamController},"get")});var zSe=_5();Object.defineProperty(dt,"TestTransport",{enumerable:!0,get:o(function(){return zSe.TestTransport},"get")});var O5=ok();Object.defineProperty(dt,"Deferred",{enumerable:!0,get:o(function(){return O5.Deferred},"get")});Object.defineProperty(dt,"DeferredState",{enumerable:!0,get:o(function(){return O5.DeferredState},"get")});var $Se=fk();Object.defineProperty(dt,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return $Se.DuplexStreamingCall},"get")});var VSe=mk();Object.defineProperty(dt,"ClientStreamingCall",{enumerable:!0,get:o(function(){return VSe.ClientStreamingCall},"get")});var YSe=dk();Object.defineProperty(dt,"ServerStreamingCall",{enumerable:!0,get:o(function(){return YSe.ServerStreamingCall},"get")});var JSe=uk();Object.defineProperty(dt,"UnaryCall",{enumerable:!0,get:o(function(){return JSe.UnaryCall},"get")});var Bm=L5();Object.defineProperty(dt,"stackIntercept",{enumerable:!0,get:o(function(){return Bm.stackIntercept},"get")});Object.defineProperty(dt,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return Bm.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(dt,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return Bm.stackClientStreamingInterceptors},"get")});Object.defineProperty(dt,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return Bm.stackServerStreamingInterceptors},"get")});Object.defineProperty(dt,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return Bm.stackUnaryInterceptors},"get")});var WSe=M5();Object.defineProperty(dt,"ServerCallContextController",{enumerable:!0,get:o(function(){return WSe.ServerCallContextController},"get")})});var sj=f((_at,rj)=>{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");rj.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 nj=f(Mc=>{var aRe=sj();Mc.operation=function(t){var e=Mc.timeouts(t);return new aRe(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};Mc.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{ij.exports=nj()});var Wk=f((Uat,aj)=>{var cRe=oj();function lRe(t,e){function r(s,n){var i=e||{},a;"randomize"in i||(i.randomize=!0),a=cRe.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(lRe,"retry");aj.exports=lRe});var xr=f(Bs=>{"use strict";Bs.__esModule=!0;Bs.extend=cj;Bs.indexOf=mRe;Bs.escapeExpression=hRe;Bs.isEmpty=fRe;Bs.createFrame=gRe;Bs.blockParams=ERe;Bs.appendContextPath=yRe;var uRe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},ARe=/[&<>"'`=]/g,dRe=/[&<>"'`=]/;function pRe(t){return uRe[t]}o(pRe,"escapeChar");function cj(t){for(var e=1;e{"use strict";BI.__esModule=!0;var Xk=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Zk(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";wI.__esModule=!0;var eD=xr();wI.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(eD.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=eD.createFrame(r.data);i.contextPath=eD.appendContextPath(r.data.contextPath,r.name),r={data:i}}return n(e,r)})};Aj.exports=wI.default});var mj=f((bI,pj)=>{"use strict";bI.__esModule=!0;function CRe(t){return t&&t.__esModule?t:{default:t}}o(CRe,"_interopRequireDefault");var xm=xr(),IRe=ws(),BRe=CRe(IRe);bI.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new BRe.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=xm.appendContextPath(r.data.contextPath,r.ids[0])+"."),xm.isFunction(e)&&(e=e.call(this)),r.data&&(c=xm.createFrame(r.data));function u(h,g,C){c&&(c.key=h,c.index=g,c.first=g===0,c.last=!!C,l&&(c.contextPath=l+h)),a=a+s(e[h],{data:c,blockParams:xm.blockParams([e[h],h],[l+h,null])})}if(o(u,"execIteration"),e&&typeof e=="object")if(xm.isArray(e))for(var A=e.length;i{"use strict";QI.__esModule=!0;function wRe(t){return t&&t.__esModule?t:{default:t}}o(wRe,"_interopRequireDefault");var bRe=ws(),QRe=wRe(bRe);QI.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new QRe.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};hj.exports=QI.default});var Cj=f((xI,yj)=>{"use strict";xI.__esModule=!0;function xRe(t){return t&&t.__esModule?t:{default:t}}o(xRe,"_interopRequireDefault");var gj=xr(),NRe=ws(),Ej=xRe(NRe);xI.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new Ej.default("#if requires exactly one argument");return gj.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||gj.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new Ej.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};yj.exports=xI.default});var Bj=f((NI,Ij)=>{"use strict";NI.__esModule=!0;NI.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],s=0;s{"use strict";SI.__esModule=!0;SI.default=function(t){t.registerHelper("lookup",function(e,r,s){return e&&s.lookupProperty(e,r)})};wj.exports=SI.default});var xj=f((RI,Qj)=>{"use strict";RI.__esModule=!0;function SRe(t){return t&&t.__esModule?t:{default:t}}o(SRe,"_interopRequireDefault");var Nm=xr(),RRe=ws(),TRe=SRe(RRe);RI.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new TRe.default("#with requires exactly one argument");Nm.isFunction(e)&&(e=e.call(this));var s=r.fn;if(Nm.isEmpty(e))return r.inverse(this);var n=r.data;return r.data&&r.ids&&(n=Nm.createFrame(r.data),n.contextPath=Nm.appendContextPath(r.data.contextPath,r.ids[0])),s(e,{data:n,blockParams:Nm.blockParams([e],[n&&n.contextPath])})})};Qj.exports=RI.default});var tD=f(TI=>{"use strict";TI.__esModule=!0;TI.registerDefaultHelpers=$Re;TI.moveHelperToHooks=VRe;function Oc(t){return t&&t.__esModule?t:{default:t}}o(Oc,"_interopRequireDefault");var vRe=dj(),PRe=Oc(vRe),kRe=mj(),DRe=Oc(kRe),_Re=fj(),LRe=Oc(_Re),MRe=Cj(),ORe=Oc(MRe),FRe=Bj(),URe=Oc(FRe),qRe=bj(),GRe=Oc(qRe),HRe=xj(),zRe=Oc(HRe);function $Re(t){PRe.default(t),DRe.default(t),LRe.default(t),ORe.default(t),URe.default(t),GRe.default(t),zRe.default(t)}o($Re,"registerDefaultHelpers");function VRe(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(VRe,"moveHelperToHooks")});var Sj=f((vI,Nj)=>{"use strict";vI.__esModule=!0;var YRe=xr();vI.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=YRe.extend({},l,r.partials);var u=e(a,c);return s.partials=l,u},"ret")),r.partials[n.args[0]]=n.fn,i})};Nj.exports=vI.default});var Rj=f(rD=>{"use strict";rD.__esModule=!0;rD.registerDefaultDecorators=KRe;function JRe(t){return t&&t.__esModule?t:{default:t}}o(JRe,"_interopRequireDefault");var WRe=Sj(),jRe=JRe(WRe);function KRe(t){jRe.default(t)}o(KRe,"registerDefaultDecorators")});var sD=f((PI,Tj)=>{"use strict";PI.__esModule=!0;var XRe=xr(),eA={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=XRe.indexOf(eA.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=eA.lookupLevel(e),typeof console<"u"&&eA.lookupLevel(eA.level)<=e){var r=eA.methodMap[e];console[r]||(r="log");for(var s=arguments.length,n=Array(s>1?s-1:0),i=1;i{"use strict";Sm.__esModule=!0;Sm.createProtoAccessControl=rTe;Sm.resultIsAllowed=sTe;Sm.resetLoggedProperties=iTe;function ZRe(t){return t&&t.__esModule?t:{default:t}}o(ZRe,"_interopRequireDefault");var vj=xr(),eTe=sD(),tTe=ZRe(eTe),kI=Object.create(null);function rTe(t){var e=Object.create(null);e.__proto__=!1,vj.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,vj.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(rTe,"createProtoAccessControl");function sTe(t,e,r){return Pj(typeof t=="function"?e.methods:e.properties,r)}o(sTe,"resultIsAllowed");function Pj(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(nTe(e),!1)}o(Pj,"checkWhiteList");function nTe(t){kI[t]!==!0&&(kI[t]=!0,tTe.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(nTe,"logUnexpecedPropertyAccessOnce");function iTe(){Object.keys(kI).forEach(function(t){delete kI[t]})}o(iTe,"resetLoggedProperties")});var _I=f(vi=>{"use strict";vi.__esModule=!0;vi.HandlebarsEnvironment=aD;function kj(t){return t&&t.__esModule?t:{default:t}}o(kj,"_interopRequireDefault");var Fc=xr(),oTe=ws(),iD=kj(oTe),aTe=tD(),cTe=Rj(),lTe=sD(),DI=kj(lTe),uTe=nD(),ATe="4.7.9";vi.VERSION=ATe;var dTe=8;vi.COMPILER_REVISION=dTe;var pTe=7;vi.LAST_COMPATIBLE_COMPILER_REVISION=pTe;var mTe={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=mTe;var oD="[object Object]";function aD(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},aTe.registerDefaultHelpers(this),cTe.registerDefaultDecorators(this)}o(aD,"HandlebarsEnvironment");aD.prototype={constructor:aD,logger:DI.default,log:DI.default.log,registerHelper:o(function(e,r){if(Fc.toString.call(e)===oD){if(r)throw new iD.default("Arg not supported with multiple helpers");Fc.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(Fc.toString.call(e)===oD)Fc.extend(this.partials,e);else{if(typeof r>"u")throw new iD.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(Fc.toString.call(e)===oD){if(r)throw new iD.default("Arg not supported with multiple decorators");Fc.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){uTe.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var hTe=DI.default.log;vi.log=hTe;vi.createFrame=Fc.createFrame;vi.logger=DI.default});var _j=f((LI,Dj)=>{"use strict";LI.__esModule=!0;function cD(t){this.string=t}o(cD,"SafeString");cD.prototype.toString=cD.prototype.toHTML=function(){return""+this.string};LI.default=cD;Dj.exports=LI.default});var Lj=f(lD=>{"use strict";lD.__esModule=!0;lD.wrapHelper=fTe;function fTe(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(fTe,"wrapHelper")});var Gj=f(ma=>{"use strict";ma.__esModule=!0;ma.checkRevision=BTe;ma.template=wTe;ma.wrapProgram=MI;ma.resolvePartial=bTe;ma.invokePartial=QTe;ma.noop=Uj;function gTe(t){return t&&t.__esModule?t:{default:t}}o(gTe,"_interopRequireDefault");function ETe(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(ETe,"_interopRequireWildcard");var yTe=xr(),tA=ETe(yTe),CTe=ws(),go=gTe(CTe),Eo=_I(),Mj=tD(),ITe=Lj(),Oj=nD();function BTe(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";FI.__esModule=!0;FI.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}};Hj.exports=FI.default});var Jj=f((UI,Yj)=>{"use strict";UI.__esModule=!0;function dD(t){return t&&t.__esModule?t:{default:t}}o(dD,"_interopRequireDefault");function pD(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(pD,"_interopRequireWildcard");var STe=_I(),zj=pD(STe),RTe=_j(),TTe=dD(RTe),vTe=ws(),PTe=dD(vTe),kTe=xr(),AD=pD(kTe),DTe=Gj(),$j=pD(DTe),_Te=uD(),LTe=dD(_Te);function Vj(){var t=new zj.HandlebarsEnvironment;return AD.extend(t,zj),t.SafeString=TTe.default,t.Exception=PTe.default,t.Utils=AD,t.escapeExpression=AD.escapeExpression,t.VM=$j,t.template=function(e){return $j.template(e,t)},t}o(Vj,"create");var Rm=Vj();Rm.create=Vj;LTe.default(Rm);Rm.default=Rm;UI.default=Rm;Yj.exports=UI.default});var mD=f((qI,jj)=>{"use strict";qI.__esModule=!0;var Wj={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&&!Wj.helpers.scopedId(e)&&!e.depth},"simpleId")}};qI.default=Wj;jj.exports=qI.default});var Xj=f((GI,Kj)=>{"use strict";GI.__esModule=!0;var MTe=(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,g=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,x,R,q,ye,we,be={},xe,se,Me,ne;;){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 Ar="";if(!m){ne=[];for(xe in u[R])this.terminals_[xe]&&xe>2&&ne.push("'"+this.terminals_[xe]+"'");this.lexer.showPosition?Ar="Parse error on line "+(d+1)+`: `+this.lexer.showPosition()+` Expecting `+ne.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Ar="Parse error on line "+(d+1)+": Unexpected "+(B==1?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Ar,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:C,expected:ne})}}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,x?(B=x,x=null):(p=this.lexer.yyleng,A=this.lexer.yytext,d=this.lexer.yylineno,C=this.lexer.yylloc,m>0&&m--);break;case 2:if(se=this.productions_[q[1]][1],be.$=c[c.length-se],be._$={first_line:l[l.length-(se||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(se||1)].first_column,last_column:l[l.length-1].last_column},E&&(be._$.range=[l[l.length-(se||1)].range[0],l[l.length-1].range[1]]),we=this.performAction.call(be,A,p,d,this.yy,q[1],c,l),typeof we<"u")return we;se&&(a=a.slice(0,-1*se*2),c=c.slice(0,-1*se),l=l.slice(0,-1*se)),a.push(this.productions_[q[1]][0]),c.push(be.$),l.push(be._$),Me=u[a[a.length-2]][a[a.length-1]],a.push(Me);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})();GI.default=MTe;Kj.exports=GI.default});var VI=f(($I,t9)=>{"use strict";$I.__esModule=!0;function OTe(t){return t&&t.__esModule?t:{default:t}}o(OTe,"_interopRequireDefault");var FTe=ws(),hD=OTe(FTe);function HI(){this.parents=[]}o(HI,"Visitor");HI.prototype={constructor:HI,mutating:!1,acceptKey:o(function(e,r){var s=this.accept(e[r]);if(this.mutating){if(s&&!HI.prototype[s.type])throw new hD.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 hD.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,s=e.length;r{"use strict";YI.__esModule=!0;function UTe(t){return t&&t.__esModule?t:{default:t}}o(UTe,"_interopRequireDefault");var qTe=VI(),GTe=UTe(qTe);function Pi(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(Pi,"WhitespaceControl");Pi.prototype=new GTe.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=$Te;Zs.id=VTe;Zs.stripFlags=YTe;Zs.stripComment=JTe;Zs.preparePath=WTe;Zs.prepareMustache=jTe;Zs.prepareRawBlock=KTe;Zs.prepareBlock=XTe;Zs.prepareProgram=ZTe;Zs.preparePartialBlock=eve;function HTe(t){return t&&t.__esModule?t:{default:t}}o(HTe,"_interopRequireDefault");var zTe=ws(),ED=HTe(zTe);function yD(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new ED.default(t.path.original+" doesn't match "+e,r)}}o(yD,"validateClose");function $Te(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($Te,"SourceLocation");function VTe(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(VTe,"id");function YTe(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(YTe,"stripFlags");function JTe(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(JTe,"stripComment");function WTe(t,e,r){r=this.locInfo(r);for(var s=t?"@":"",n=[],i=0,a=0,c=e.length;a0)throw new ED.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(WTe,"preparePath");function jTe(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(jTe,"prepareMustache");function KTe(t,e,r,s){yD(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(KTe,"prepareRawBlock");function XTe(t,e,r,s,n,i){s&&s.path&&yD(t,s);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new ED.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(XTe,"prepareBlock");function ZTe(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(ZTe,"prepareProgram");function eve(t,e,r,s){return yD(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(eve,"preparePartialBlock")});var o9=f(vm=>{"use strict";vm.__esModule=!0;vm.parseWithoutProcessing=i9;vm.parse=lve;function tve(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(tve,"_interopRequireWildcard");function BD(t){return t&&t.__esModule?t:{default:t}}o(BD,"_interopRequireDefault");var rve=Xj(),CD=BD(rve),sve=s9(),nve=BD(sve),ive=n9(),ove=tve(ive),ave=ws(),Tm=BD(ave),cve=xr();vm.parser=CD.default;var JI={};cve.extend(JI,ove);function i9(t,e){if(t.type==="Program")return uve(t),t;CD.default.yy=JI,JI.locInfo=function(s){return new JI.SourceLocation(e&&e.srcName,s)};var r=CD.default.parse(t);return r}o(i9,"parseWithoutProcessing");function lve(t,e){var r=i9(t,e),s=new nve.default(e);return s.accept(r)}o(lve,"parse");function uve(t){ID(t)}o(uve,"validateInputAst");function ID(t){if(t!=null){if(Array.isArray(t)){t.forEach(ID);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!Ave(t.depth))throw new Tm.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new Tm.default("Invalid AST: PathExpression.parts must be an array");for(var e=0;e=0}o(Ave,"isValidDepth")});var u9=f(_m=>{"use strict";_m.__esModule=!0;_m.Compiler=wD;_m.precompile=hve;_m.compile=fve;function c9(t){return t&&t.__esModule?t:{default:t}}o(c9,"_interopRequireDefault");var dve=ws(),km=c9(dve),Dm=xr(),pve=mD(),Pm=c9(pve),mve=[].slice;function wD(){}o(wD,"Compiler");wD.prototype={compiler:wD,equals:o(function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var s=0;s1)throw new km.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){a9(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 km.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,Pm.default.helpers.simpleId(i))}},"helperSexpr"),PathExpression:o(function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],s=Pm.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 hve(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new km.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(hve,"precompile");function fve(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new km.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=Dm.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(fve,"compile");function l9(t,e){if(t===e)return!0;if(Dm.isArray(t)&&Dm.isArray(e)&&t.length===e.length){for(var r=0;r{var A9="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");bD.encode=function(t){if(0<=t&&t{var p9=d9(),QD=5,m9=1<>1;return e?-r:r}o(Eve,"fromVLQSigned");xD.encode=o(function(e){var r="",s,n=gve(e);do s=n&h9,n>>>=QD,n>0&&(s|=f9),r+=p9.encode(s);while(n>0);return r},"base64VLQ_encode");xD.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=p9.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&f9),l&=h9,i=i+(l<{function yve(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(yve,"getArg");lr.getArg=yve;var g9=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Cve=/^data:.+\,.+$/;function Lm(t){var e=t.match(g9);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o(Lm,"urlParse");lr.urlParse=Lm;function rA(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(rA,"urlGenerate");lr.urlGenerate=rA;function SD(t){var e=t,r=Lm(t);if(r){if(!r.path)return t;e=r.path}for(var s=lr.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,rA(r)):e}o(SD,"normalize");lr.normalize=SD;function E9(t,e){t===""&&(t="."),e===""&&(e=".");var r=Lm(e),s=Lm(t);if(s&&(t=s.path||"/"),r&&!r.scheme)return s&&(r.scheme=s.scheme),rA(r);if(r||e.match(Cve))return e;if(s&&!s.host&&!s.path)return s.host=e,rA(s);var n=e.charAt(0)==="/"?e:SD(t.replace(/\/+$/,"")+"/"+e);return s?(s.path=n,rA(s)):n}o(E9,"join");lr.join=E9;lr.isAbsolute=function(t){return t.charAt(0)==="/"||g9.test(t)};function Ive(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(Ive,"relative");lr.relative=Ive;var y9=(function(){var t=Object.create(null);return!("__proto__"in t)})();function C9(t){return t}o(C9,"identity");function Bve(t){return I9(t)?"$"+t:t}o(Bve,"toSetString");lr.toSetString=y9?C9:Bve;function wve(t){return I9(t)?t.slice(1):t}o(wve,"fromSetString");lr.fromSetString=y9?C9:wve;function I9(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(I9,"isProtoString");function bve(t,e,r){var s=sA(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:sA(t.name,e.name)}o(bve,"compareByOriginalPositions");lr.compareByOriginalPositions=bve;function Qve(t,e,r){var s=t.generatedLine-e.generatedLine;return s!==0||(s=t.generatedColumn-e.generatedColumn,s!==0||r)||(s=sA(t.source,e.source),s!==0)||(s=t.originalLine-e.originalLine,s!==0)||(s=t.originalColumn-e.originalColumn,s!==0)?s:sA(t.name,e.name)}o(Qve,"compareByGeneratedPositionsDeflated");lr.compareByGeneratedPositionsDeflated=Qve;function sA(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(sA,"strcmp");function xve(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=sA(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:sA(t.name,e.name)}o(xve,"compareByGeneratedPositionsInflated");lr.compareByGeneratedPositionsInflated=xve;function Nve(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(Nve,"parseSourceMapInput");lr.parseSourceMapInput=Nve;function Sve(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var s=Lm(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=E9(rA(s),e)}return SD(e)}o(Sve,"computeSourceURL");lr.computeSourceURL=Sve});var vD=f(B9=>{var RD=nA(),TD=Object.prototype.hasOwnProperty,qc=typeof Map<"u";function yo(){this._array=[],this._set=qc?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=RD.toSetString(e);if(TD.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 w9=nA();function Rve(t,e){var r=t.generatedLine,s=e.generatedLine,n=t.generatedColumn,i=e.generatedColumn;return s>r||s==r&&i>=n||w9.compareByGeneratedPositionsInflated(t,e)<=0}o(Rve,"generatedPositionAfter");function WI(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(WI,"MappingList");WI.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");WI.prototype.add=o(function(e){Rve(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");WI.prototype.toArray=o(function(){return this._sorted||(this._array.sort(w9.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");b9.MappingList=WI});var PD=f(x9=>{var Mm=ND(),Tt=nA(),jI=vD().ArraySet,Tve=Q9().MappingList;function en(t){t||(t={}),this._file=Tt.getArg(t,"file",null),this._sourceRoot=Tt.getArg(t,"sourceRoot",null),this._skipValidation=Tt.getArg(t,"skipValidation",!1),this._sources=new jI,this._names=new jI,this._mappings=new Tve,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=Tt.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=Tt.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=Tt.getArg(e,"generated"),s=Tt.getArg(e,"original",null),n=Tt.getArg(e,"source",null),i=Tt.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=Tt.relative(this._sourceRoot,s)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Tt.toSetString(s)]=r):this._sourcesContents&&(delete this._sourcesContents[Tt.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=Tt.relative(i,n));var a=new jI,c=new jI;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=Tt.join(s,l.source)),i!=null&&(l.source=Tt.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=Tt.join(s,l)),i!=null&&(l=Tt.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(!Tt.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=","}l+=Mm.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(d=this._sources.indexOf(u.source),l+=Mm.encode(d-a),a=d,l+=Mm.encode(u.originalLine-1-n),n=u.originalLine-1,l+=Mm.encode(u.originalColumn-s),s=u.originalColumn,u.name!=null&&(A=this._names.indexOf(u.name),l+=Mm.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=Tt.relative(r,s));var n=Tt.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");x9.SourceMapGenerator=en});var N9=f(Gc=>{Gc.GREATEST_LOWER_BOUND=1;Gc.LEAST_UPPER_BOUND=2;function kD(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?kD(a,e,r,s,n,i):i==Gc.LEAST_UPPER_BOUND?e1?kD(t,a,r,s,n,i):i==Gc.LEAST_UPPER_BOUND?a:t<0?-1:t}o(kD,"recursiveSearch");Gc.search=o(function(e,r,s,n){if(r.length===0)return-1;var i=kD(-1,r.length,e,r,s,n||Gc.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 R9=f(S9=>{function DD(t,e,r){var s=t[e];t[e]=t[r],t[r]=s}o(DD,"swap");function vve(t,e){return Math.round(t+Math.random()*(e-t))}o(vve,"randomIntInRange");function _D(t,e,r,s){if(r{var H=nA(),LD=N9(),iA=vD().ArraySet,Pve=ND(),Om=R9().quickSort;function $e(t,e){var r=t;return typeof t=="string"&&(r=H.parseSourceMapInput(t)),r.sections!=null?new Tn(r,e):new Xt(r,e)}o($e,"SourceMapConsumer");$e.fromSourceMap=function(t,e){return Xt.fromSourceMap(t,e)};$e.prototype._version=3;$e.prototype.__generatedMappings=null;Object.defineProperty($e.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings},"get")});$e.prototype.__originalMappings=null;Object.defineProperty($e.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings},"get")});$e.prototype._charIsMappingSeparator=o(function(e,r){var s=e.charAt(r);return s===";"||s===","},"SourceMapConsumer_charIsMappingSeparator");$e.prototype._parseMappings=o(function(e,r){throw new Error("Subclasses must implement _parseMappings")},"SourceMapConsumer_parseMappings");$e.GENERATED_ORDER=1;$e.ORIGINAL_ORDER=2;$e.GREATEST_LOWER_BOUND=1;$e.LEAST_UPPER_BOUND=2;$e.prototype.eachMapping=o(function(e,r,s){var n=r||null,i=s||$e.GENERATED_ORDER,a;switch(i){case $e.GENERATED_ORDER:a=this._generatedMappings;break;case $e.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");$e.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,LD.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");KI.SourceMapConsumer=$e;function Xt(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=iA.fromArray(i.map(String),!0),this._sources=iA.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(Xt,"BasicSourceMapConsumer");Xt.prototype=Object.create($e.prototype);Xt.prototype.consumer=$e;Xt.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&&(g.source=c+E[1],c+=E[1],g.originalLine=i+E[2],i=g.originalLine,g.originalLine+=1,g.originalColumn=a+E[3],a=g.originalColumn,E.length>4&&(g.name=l+E[4],l+=E[4])),h.push(g),typeof g.originalLine=="number"&&m.push(g)}Om(h,H.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,Om(m,H.compareByOriginalPositions),this.__originalMappings=m},"SourceMapConsumer_parseMappings");Xt.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 LD.search(e,r,i,a)},"SourceMapConsumer_findMapping");Xt.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");Xt.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");Xt.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");Xt.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",$e.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");KI.BasicSourceMapConsumer=Xt;function Tn(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 iA,this._names=new iA;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 kve=PD().SourceMapGenerator,XI=nA(),Dve=/(\r?\n)/,_ve=10,oA="$$$isSourceNode$$$";function bs(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[oA]=!0,s!=null&&this.add(s)}o(bs,"SourceNode");bs.fromStringWithSourceMap=o(function(e,r,s){var n=new bs,i=e.split(Dve),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[oA]||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");bs.prototype.walk=o(function(e){for(var r,s=0,n=this.children.length;s0){for(r=[],s=0;s{ZI.SourceMapGenerator=PD().SourceMapGenerator;ZI.SourceMapConsumer=v9().SourceMapConsumer;ZI.SourceNode=k9().SourceNode});var O9=f((eB,M9)=>{"use strict";eB.__esModule=!0;var OD=xr(),Hc=void 0;try{(typeof define!="function"||!define.amd)&&(_9=D9(),Hc=_9.SourceNode)}catch{}var _9;Hc||(Hc=o(function(t,e,r,s){this.src="",s&&this.add(s)},"SourceNode"),Hc.prototype={add:o(function(e){OD.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){OD.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 MD(t,e,r){if(OD.isArray(t)){for(var s=[],n=0,i=t.length;n{"use strict";tB.__esModule=!0;function q9(t){return t&&t.__esModule?t:{default:t}}o(q9,"_interopRequireDefault");var F9=_I(),Lve=ws(),FD=q9(Lve),Mve=xr(),Ove=O9(),U9=q9(Ove);function aA(t){this.value=t}o(aA,"Literal");function cA(){}o(cA,"JavaScriptCompiler");cA.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=F9.COMPILER_REVISION,r=F9.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,s){return Mve.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(Fve(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";rB.__esModule=!0;function Fm(t){return t&&t.__esModule?t:{default:t}}o(Fm,"_interopRequireDefault");var Uve=Jj(),qve=Fm(Uve),Gve=mD(),Hve=Fm(Gve),UD=o9(),qD=u9(),zve=H9(),$ve=Fm(zve),Vve=VI(),Yve=Fm(Vve),Jve=uD(),Wve=Fm(Jve),jve=qve.default.create;function z9(){var t=jve();return t.compile=function(e,r){return qD.compile(e,r,t)},t.precompile=function(e,r){return qD.precompile(e,r,t)},t.AST=Hve.default,t.Compiler=qD.Compiler,t.JavaScriptCompiler=$ve.default,t.Parser=UD.parser,t.parse=UD.parse,t.parseWithoutProcessing=UD.parseWithoutProcessing,t}o(z9,"create");var lA=z9();lA.create=z9;Wve.default(lA);lA.Visitor=Yve.default;lA.default=lA;rB.default=lA;$9.exports=rB.default});var Y9=f(sB=>{"use strict";sB.__esModule=!0;sB.print=ePe;sB.PrintVisitor=pt;function Kve(t){return t&&t.__esModule?t:{default:t}}o(Kve,"_interopRequireDefault");var Xve=VI(),Zve=Kve(Xve);function ePe(t){return new pt().accept(t)}o(ePe,"print");function pt(){this.padding=0}o(pt,"PrintVisitor");pt.prototype=new Zve.default;pt.prototype.pad=function(t){for(var e="",r=0,s=this.padding;r "+e+" }}")};pt.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+" }}")};pt.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};pt.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};pt.prototype.SubExpression=function(t){for(var e=t.params,r=[],s=void 0,n=0,i=e.length;n{var _e=require("fs"),oB=require("os"),Ot=require("path"),K9=require("crypto"),ki={fs:_e.constants,os:oB.constants},X9="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",r6=/XXXXXX/,tPe=3,s6=(ki.O_CREAT||ki.fs.O_CREAT)|(ki.O_EXCL||ki.fs.O_EXCL)|(ki.O_RDWR||ki.fs.O_RDWR),rPe=oB.platform()==="win32",sPe=ki.EBADF||ki.os.errno.EBADF,nPe=ki.ENOENT||ki.os.errno.ENOENT,n6=448,i6=384,iPe="exit",uA=[],o6=_e.rmdirSync.bind(_e),a6=!1;function oPe(t,e){return _e.rm(t,{recursive:!0},e)}o(oPe,"rimraf");function c6(t){return _e.rmSync(t,{recursive:!0})}o(c6,"FN_RIMRAF_SYNC");function VD(t,e){let r=AA(t,e),s=r[0],n=r[1];fPe(s,function(i,a){if(i)return n(i);let c=a.tries;o((function l(){try{let u=u6(a);_e.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(VD,"tmpName");function YD(t){let e=AA(t),r=e[0],s=gPe(r),n=s.tries;do{let i=u6(s);try{_e.statSync(i)}catch{return i}}while(n-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(YD,"tmpNameSync");function aPe(t,e){let r=AA(t,e),s=r[0],n=r[1];VD(s,o(function(a,c){if(a)return n(a);_e.open(c,s6,s.mode||i6,o(function(u,A){if(u)return n(u);if(s.discardDescriptor)return _e.close(A,o(function(p){return n(p,c,void 0,zD(c,-1,s,!1))},"_discardCallback"));{let d=s.discardDescriptor||s.detachDescriptor;n(null,c,A,zD(c,d?-1:A,s,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(aPe,"file");function cPe(t){let e=AA(t),r=e[0],s=r.discardDescriptor||r.detachDescriptor,n=YD(r),i=_e.openSync(n,s6,r.mode||i6);return r.discardDescriptor&&(_e.closeSync(i),i=void 0),{name:n,fd:i,removeCallback:zD(n,s?-1:i,r,!0)}}o(cPe,"fileSync");function lPe(t,e){let r=AA(t,e),s=r[0],n=r[1];VD(s,o(function(a,c){if(a)return n(a);_e.mkdir(c,s.mode||n6,o(function(u){if(u)return n(u);n(null,c,l6(c,s,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(lPe,"dir");function uPe(t){let e=AA(t),r=e[0],s=YD(r);return _e.mkdirSync(s,r.mode||n6),{name:s,removeCallback:l6(s,r,!0)}}o(uPe,"dirSync");function APe(t,e){let r=o(function(s){if(s&&!$D(s))return e(s);e()},"_handler");0<=t[0]?_e.close(t[0],function(){_e.unlink(t[1],r)}):_e.unlink(t[1],r)}o(APe,"_removeFileAsync");function dPe(t){let e=null;try{0<=t[0]&&_e.closeSync(t[0])}catch(r){if(!EPe(r)&&!$D(r))throw r}finally{try{_e.unlinkSync(t[1])}catch(r){$D(r)||(e=r)}}if(e!==null)throw e}o(dPe,"_removeFileSync");function zD(t,e,r,s){let n=iB(dPe,[e,t],s),i=iB(APe,[e,t],s,n);return r.keep||uA.unshift(n),s?n:i}o(zD,"_prepareTmpFileRemoveCallback");function l6(t,e,r){let s=e.unsafeCleanup?oPe:_e.rmdir.bind(_e),n=e.unsafeCleanup?c6:o6,i=iB(n,t,r),a=iB(s,t,r,i);return e.keep||uA.unshift(i),r?i:a}o(l6,"_prepareTmpDirRemoveCallback");function iB(t,e,r,s){let n=!1;return o(function i(a){if(!n){let c=s||i,l=uA.indexOf(c);return l>=0&&uA.splice(l,1),n=!0,r||t===o6||t===c6?t(e):t(e,a||function(){})}},"_cleanupCallback")}o(iB,"_prepareRemoveCallback");function pPe(){if(a6)for(;uA.length;)try{uA[0]()}catch{}}o(pPe,"_garbageCollector");function Z9(t){let e=[],r=null;try{r=K9.randomBytes(t)}catch{r=K9.pseudoRandomBytes(t)}for(let s=0;s"u"}o(Yr,"_isUndefined");function AA(t,e){if(typeof t=="function")return[{},t];if(Yr(t))return[{},e];let r={};for(let s of Object.getOwnPropertyNames(t))r[s]=t[s];return[r,e]}o(AA,"_parseArguments");function mPe(t,e,r){let s=Ot.isAbsolute(t)?t:Ot.join(e,t);_e.stat(s,function(n){n?_e.realpath(Ot.dirname(s),function(i,a){if(i)return r(i);r(null,Ot.join(a,Ot.basename(s)))}):_e.realpath(s,r)})}o(mPe,"_resolvePath");function hPe(t,e){let r=Ot.isAbsolute(t)?t:Ot.join(e,t);try{return _e.statSync(r),_e.realpathSync(r)}catch{let n=_e.realpathSync(Ot.dirname(r));return Ot.join(n,Ot.basename(r))}}o(hPe,"_resolvePathSync");function u6(t){let e=t.tmpdir;if(!Yr(t.name))return Ot.join(e,t.dir,t.name);if(!Yr(t.template))return Ot.join(e,t.dir,t.template).replace(r6,Z9(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",Z9(12),t.postfix?"-"+t.postfix:""].join("");return Ot.join(e,t.dir,r)}o(u6,"_generateTmpName");function HD(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(HD,"_assertPath");function A6(t){if(!Yr(t.name)){let e=t.name;if(Ot.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=Ot.basename(e);if(r===".."||r==="."||r!==e)throw new Error(`name option must not contain a path, found "${e}".`)}if(!Yr(t.template)){if(typeof t.template!="string")throw new Error(`template option must be a string, got "${typeof t.template}".`);if(!t.template.match(r6))throw new Error(`Invalid template, found "${t.template}".`)}if(!Yr(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=Yr(t.name)?t.tries||tPe:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Yr(t.prefix)?"":HD("prefix",t.prefix),t.postfix=Yr(t.postfix)?"":HD("postfix",t.postfix),t.template=Yr(t.template)?void 0:HD("template",t.template)}o(A6,"_assertOptionsBase");function e6(t,e,r,s){if(Yr(e))return s(null);mPe(e,r,function(n,i){if(n)return s(n);let a=Ot.relative(r,i);if(a.startsWith("..")||Ot.isAbsolute(a))return s(new Error(`${t} option must be relative to "${r}", found "${a}".`));s(null,a)})}o(e6,"_getRelativePath");function t6(t,e,r){if(Yr(e))return;let s=hPe(e,r),n=Ot.relative(r,s);if(n.startsWith("..")||Ot.isAbsolute(n))throw new Error(`${t} option must be relative to "${r}", found "${n}".`);return n}o(t6,"_getRelativePathSync");function fPe(t,e){CPe(t,function(r,s){if(r)return e(r);t.tmpdir=s;try{A6(t,s)}catch(n){return e(n)}e6("dir",t.dir,s,function(n,i){if(n)return e(n);t.dir=Yr(i)?"":i,e6("template",t.template,s,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(fPe,"_assertAndSanitizeOptions");function gPe(t){let e=t.tmpdir=p6(t);A6(t,e);let r=t6("dir",t.dir,e);return t.dir=Yr(r)?"":r,t.template=t6("template",t.template,e),t}o(gPe,"_assertAndSanitizeOptionsSync");function EPe(t){return d6(t,-sPe,"EBADF")}o(EPe,"_isEBADF");function $D(t){return d6(t,-nPe,"ENOENT")}o($D,"_isENOENT");function d6(t,e,r){return rPe?t.code===r:t.code===r&&t.errno===e}o(d6,"_isExpectedError");function yPe(){a6=!0}o(yPe,"setGracefulCleanup");function CPe(t,e){return _e.realpath(t&&t.tmpdir||oB.tmpdir(),e)}o(CPe,"_getTmpDir");function p6(t){return _e.realpathSync(t&&t.tmpdir||oB.tmpdir())}o(p6,"_getTmpDirSync");process.addListener(iPe,pPe);Object.defineProperty(Co.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return p6()},"get")});Co.exports.dir=lPe;Co.exports.dirSync=uPe;Co.exports.file=aPe;Co.exports.fileSync=cPe;Co.exports.tmpName=VD;Co.exports.tmpNameSync=YD;Co.exports.setGracefulCleanup=yPe});var T6=f(dB=>{"use strict";Object.defineProperty(dB,"__esModule",{value:!0});dB.getProxyUrl=bPe;dB.checkBypass=R6;function bPe(t){let e=t.protocol==="https:";if(R6(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 AB(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new AB(`http://${r}`)}else return}o(bPe,"getProxyUrl");function R6(t){if(!t.hostname)return!1;let e=t.hostname;if(QPe(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(R6,"checkBypass");function QPe(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(QPe,"isLoopbackAddress");var AB=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 P6=f(Ze=>{"use strict";var xPe=Ze&&Ze.__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]})),NPe=Ze&&Ze.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),fB=Ze&&Ze.__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))})}))})}};Ze.HttpClientResponse=hB;function _Pe(t){return new URL(t).protocol==="https:"}o(_Pe,"isHttps");var t_=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&&PPe.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&&TPe.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||!vPe.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 hB(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=e_.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?v6:ZD;let a=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Hm(this.requestOptions.headers),Hm(e||{})):Hm(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=Hm(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=Hm(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=e_.getProxyUrl(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||ZD.globalAgent.maxSockets),s&&s.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},l,u=s.protocol==="https:";i?l=u?pB.httpsOverHttps:pB.httpsOverHttp:l=u?pB.httpOverHttps:pB.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new v6.Agent(c):new ZD.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new SPe.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(kPe,e);let r=DPe*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 mB(A,i);d.result=a.result,n(d)}else s(a)}))})}};Ze.HttpClient=t_;var Hm=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var eK=f((put,$m)=>{"use strict";var CB=o(function(){},"NullObject");CB.prototype=Object.create(null);var EB=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,yB=/\\([\v\u0020-\u00ff])/gu,K6=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,zc={type:"",parameters:new CB};Object.freeze(zc.parameters);Object.freeze(zc);function X6(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(K6.test(r)===!1)throw new TypeError("invalid media type");let s={type:r.toLowerCase(),parameters:new CB};if(e===-1)return s;let n,i,a;for(EB.lastIndex=e;i=EB.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),yB.test(a)&&(a=a.replace(yB,"$1"))),s.parameters[n]=a}if(e!==t.length)throw new TypeError("invalid parameter format");return s}o(X6,"parse");function Z6(t){if(typeof t!="string")return zc;let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(K6.test(r)===!1)return zc;let s={type:r.toLowerCase(),parameters:new CB};if(e===-1)return s;let n,i,a;for(EB.lastIndex=e;i=EB.exec(t);){if(i.index!==e)return zc;e+=i[0].length,n=i[1].toLowerCase(),a=i[2],a[0]==='"'&&(a=a.slice(1,a.length-1),yB.test(a)&&(a=a.replace(yB,"$1"))),s.parameters[n]=a}return e!==t.length?zc:s}o(Z6,"safeParse");$m.exports.default={parse:X6,safeParse:Z6};$m.exports.parse=X6;$m.exports.safeParse=Z6;$m.exports.defaultContentType=zc});var EA=f((EAt,QK)=>{"use strict";var Uke="2.0.0",qke=Number.MAX_SAFE_INTEGER||9007199254740991,Gke=16,Hke=250,zke=["major","premajor","minor","preminor","patch","prepatch","prerelease"];QK.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Gke,MAX_SAFE_BUILD_LENGTH:Hke,MAX_SAFE_INTEGER:qke,RELEASE_TYPES:zke,SEMVER_SPEC_VERSION:Uke,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Wm=f((yAt,xK)=>{"use strict";var $ke=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};xK.exports=$ke});var yA=f((Di,NK)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:B_,MAX_SAFE_BUILD_LENGTH:Vke,MAX_LENGTH:Yke}=EA(),Jke=Wm();Di=NK.exports={};var Wke=Di.re=[],jke=Di.safeRe=[],F=Di.src=[],Kke=Di.safeSrc=[],U=Di.t={},Xke=0,w_="[a-zA-Z0-9-]",Zke=[["\\s",1],["\\d",Yke],[w_,Vke]],eDe=o(t=>{for(let[e,r]of Zke)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),le=o((t,e,r)=>{let s=eDe(e),n=Xke++;Jke(t,n,e),U[t]=n,F[n]=e,Kke[n]=s,Wke[n]=new RegExp(e,r?"g":void 0),jke[n]=new RegExp(s,r?"g":void 0)},"createToken");le("NUMERICIDENTIFIER","0|[1-9]\\d*");le("NUMERICIDENTIFIERLOOSE","\\d+");le("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${w_}*`);le("MAINVERSION",`(${F[U.NUMERICIDENTIFIER]})\\.(${F[U.NUMERICIDENTIFIER]})\\.(${F[U.NUMERICIDENTIFIER]})`);le("MAINVERSIONLOOSE",`(${F[U.NUMERICIDENTIFIERLOOSE]})\\.(${F[U.NUMERICIDENTIFIERLOOSE]})\\.(${F[U.NUMERICIDENTIFIERLOOSE]})`);le("PRERELEASEIDENTIFIER",`(?:${F[U.NONNUMERICIDENTIFIER]}|${F[U.NUMERICIDENTIFIER]})`);le("PRERELEASEIDENTIFIERLOOSE",`(?:${F[U.NONNUMERICIDENTIFIER]}|${F[U.NUMERICIDENTIFIERLOOSE]})`);le("PRERELEASE",`(?:-(${F[U.PRERELEASEIDENTIFIER]}(?:\\.${F[U.PRERELEASEIDENTIFIER]})*))`);le("PRERELEASELOOSE",`(?:-?(${F[U.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${F[U.PRERELEASEIDENTIFIERLOOSE]})*))`);le("BUILDIDENTIFIER",`${w_}+`);le("BUILD",`(?:\\+(${F[U.BUILDIDENTIFIER]}(?:\\.${F[U.BUILDIDENTIFIER]})*))`);le("FULLPLAIN",`v?${F[U.MAINVERSION]}${F[U.PRERELEASE]}?${F[U.BUILD]}?`);le("FULL",`^${F[U.FULLPLAIN]}$`);le("LOOSEPLAIN",`[v=\\s]*${F[U.MAINVERSIONLOOSE]}${F[U.PRERELEASELOOSE]}?${F[U.BUILD]}?`);le("LOOSE",`^${F[U.LOOSEPLAIN]}$`);le("GTLT","((?:<|>)?=?)");le("XRANGEIDENTIFIERLOOSE",`${F[U.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);le("XRANGEIDENTIFIER",`${F[U.NUMERICIDENTIFIER]}|x|X|\\*`);le("XRANGEPLAIN",`[v=\\s]*(${F[U.XRANGEIDENTIFIER]})(?:\\.(${F[U.XRANGEIDENTIFIER]})(?:\\.(${F[U.XRANGEIDENTIFIER]})(?:${F[U.PRERELEASE]})?${F[U.BUILD]}?)?)?`);le("XRANGEPLAINLOOSE",`[v=\\s]*(${F[U.XRANGEIDENTIFIERLOOSE]})(?:\\.(${F[U.XRANGEIDENTIFIERLOOSE]})(?:\\.(${F[U.XRANGEIDENTIFIERLOOSE]})(?:${F[U.PRERELEASELOOSE]})?${F[U.BUILD]}?)?)?`);le("XRANGE",`^${F[U.GTLT]}\\s*${F[U.XRANGEPLAIN]}$`);le("XRANGELOOSE",`^${F[U.GTLT]}\\s*${F[U.XRANGEPLAINLOOSE]}$`);le("COERCEPLAIN",`(^|[^\\d])(\\d{1,${B_}})(?:\\.(\\d{1,${B_}}))?(?:\\.(\\d{1,${B_}}))?`);le("COERCE",`${F[U.COERCEPLAIN]}(?:$|[^\\d])`);le("COERCEFULL",F[U.COERCEPLAIN]+`(?:${F[U.PRERELEASE]})?(?:${F[U.BUILD]})?(?:$|[^\\d])`);le("COERCERTL",F[U.COERCE],!0);le("COERCERTLFULL",F[U.COERCEFULL],!0);le("LONETILDE","(?:~>?)");le("TILDETRIM",`(\\s*)${F[U.LONETILDE]}\\s+`,!0);Di.tildeTrimReplace="$1~";le("TILDE",`^${F[U.LONETILDE]}${F[U.XRANGEPLAIN]}$`);le("TILDELOOSE",`^${F[U.LONETILDE]}${F[U.XRANGEPLAINLOOSE]}$`);le("LONECARET","(?:\\^)");le("CARETTRIM",`(\\s*)${F[U.LONECARET]}\\s+`,!0);Di.caretTrimReplace="$1^";le("CARET",`^${F[U.LONECARET]}${F[U.XRANGEPLAIN]}$`);le("CARETLOOSE",`^${F[U.LONECARET]}${F[U.XRANGEPLAINLOOSE]}$`);le("COMPARATORLOOSE",`^${F[U.GTLT]}\\s*(${F[U.LOOSEPLAIN]})$|^$`);le("COMPARATOR",`^${F[U.GTLT]}\\s*(${F[U.FULLPLAIN]})$|^$`);le("COMPARATORTRIM",`(\\s*)${F[U.GTLT]}\\s*(${F[U.LOOSEPLAIN]}|${F[U.XRANGEPLAIN]})`,!0);Di.comparatorTrimReplace="$1$2$3";le("HYPHENRANGE",`^\\s*(${F[U.XRANGEPLAIN]})\\s+-\\s+(${F[U.XRANGEPLAIN]})\\s*$`);le("HYPHENRANGELOOSE",`^\\s*(${F[U.XRANGEPLAINLOOSE]})\\s+-\\s+(${F[U.XRANGEPLAINLOOSE]})\\s*$`);le("STAR","(<|>)?=?\\s*\\*");le("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");le("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var QB=f((IAt,SK)=>{"use strict";var tDe=Object.freeze({loose:!0}),rDe=Object.freeze({}),sDe=o(t=>t?typeof t!="object"?tDe:t:rDe,"parseOptions");SK.exports=sDe});var b_=f((wAt,vK)=>{"use strict";var RK=/^[0-9]+$/,TK=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tTK(e,t),"rcompareIdentifiers");vK.exports={compareIdentifiers:TK,rcompareIdentifiers:nDe}});var Zt=f((QAt,kK)=>{"use strict";var xB=Wm(),{MAX_LENGTH:PK,MAX_SAFE_INTEGER:NB}=EA(),{safeRe:SB,t:RB}=yA(),iDe=QB(),{compareIdentifiers:Q_}=b_(),oDe=o((t,e)=>{let r=e.split(".");if(r.length>t.length)return!1;for(let s=0;sPK)throw new TypeError(`version is longer than ${PK} characters`);xB("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?SB[RB.LOOSE]:SB[RB.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>NB||this.major<0)throw new TypeError("Invalid major version");if(this.minor>NB||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>NB||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(xB("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 Q_(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(xB("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 Q_(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?SB[RB.PRERELEASELOOSE]:SB[RB.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]),oDe(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}};kK.exports=x_});var ya=f((NAt,_K)=>{"use strict";var DK=Zt(),aDe=o((t,e,r=!1)=>{if(t instanceof DK)return t;try{return new DK(t,e)}catch(s){if(!r)return null;throw s}},"parse");_K.exports=aDe});var MK=f((RAt,LK)=>{"use strict";var cDe=ya(),lDe=o((t,e)=>{let r=cDe(t,e);return r?r.version:null},"valid");LK.exports=lDe});var FK=f((vAt,OK)=>{"use strict";var uDe=ya(),ADe=o((t,e)=>{let r=uDe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");OK.exports=ADe});var GK=f((kAt,qK)=>{"use strict";var UK=Zt(),dDe=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new UK(t instanceof UK?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");qK.exports=dDe});var $K=f((_At,zK)=>{"use strict";var HK=ya(),pDe=o((t,e)=>{let r=HK(t,null,!0),s=HK(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");zK.exports=pDe});var YK=f((MAt,VK)=>{"use strict";var mDe=Zt(),hDe=o((t,e)=>new mDe(t,e).major,"major");VK.exports=hDe});var WK=f((FAt,JK)=>{"use strict";var fDe=Zt(),gDe=o((t,e)=>new fDe(t,e).minor,"minor");JK.exports=gDe});var KK=f((qAt,jK)=>{"use strict";var EDe=Zt(),yDe=o((t,e)=>new EDe(t,e).patch,"patch");jK.exports=yDe});var ZK=f((HAt,XK)=>{"use strict";var CDe=ya(),IDe=o((t,e)=>{let r=CDe(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");XK.exports=IDe});var sn=f(($At,tX)=>{"use strict";var eX=Zt(),BDe=o((t,e,r)=>new eX(t,r).compare(new eX(e,r)),"compare");tX.exports=BDe});var sX=f((YAt,rX)=>{"use strict";var wDe=sn(),bDe=o((t,e,r)=>wDe(e,t,r),"rcompare");rX.exports=bDe});var iX=f((WAt,nX)=>{"use strict";var QDe=sn(),xDe=o((t,e)=>QDe(t,e,!0),"compareLoose");nX.exports=xDe});var TB=f((KAt,aX)=>{"use strict";var oX=Zt(),NDe=o((t,e,r)=>{let s=new oX(t,r),n=new oX(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");aX.exports=NDe});var lX=f((ZAt,cX)=>{"use strict";var SDe=TB(),RDe=o((t,e)=>t.sort((r,s)=>SDe(r,s,e)),"sort");cX.exports=RDe});var AX=f((tdt,uX)=>{"use strict";var TDe=TB(),vDe=o((t,e)=>t.sort((r,s)=>TDe(s,r,e)),"rsort");uX.exports=vDe});var jm=f((sdt,dX)=>{"use strict";var PDe=sn(),kDe=o((t,e,r)=>PDe(t,e,r)>0,"gt");dX.exports=kDe});var vB=f((idt,pX)=>{"use strict";var DDe=sn(),_De=o((t,e,r)=>DDe(t,e,r)<0,"lt");pX.exports=_De});var N_=f((adt,mX)=>{"use strict";var LDe=sn(),MDe=o((t,e,r)=>LDe(t,e,r)===0,"eq");mX.exports=MDe});var S_=f((ldt,hX)=>{"use strict";var ODe=sn(),FDe=o((t,e,r)=>ODe(t,e,r)!==0,"neq");hX.exports=FDe});var PB=f((Adt,fX)=>{"use strict";var UDe=sn(),qDe=o((t,e,r)=>UDe(t,e,r)>=0,"gte");fX.exports=qDe});var kB=f((pdt,gX)=>{"use strict";var GDe=sn(),HDe=o((t,e,r)=>GDe(t,e,r)<=0,"lte");gX.exports=HDe});var R_=f((hdt,EX)=>{"use strict";var zDe=N_(),$De=S_(),VDe=jm(),YDe=PB(),JDe=vB(),WDe=kB(),jDe=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 zDe(t,r,s);case"!=":return $De(t,r,s);case">":return VDe(t,r,s);case">=":return YDe(t,r,s);case"<":return JDe(t,r,s);case"<=":return WDe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");EX.exports=jDe});var CX=f((gdt,yX)=>{"use strict";var KDe=Zt(),XDe=ya(),{safeRe:DB,t:_B}=yA(),ZDe=o((t,e)=>{if(t instanceof KDe)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?DB[_B.COERCEFULL]:DB[_B.COERCE]);else{let l=e.includePrerelease?DB[_B.COERCERTLFULL]:DB[_B.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 XDe(`${s}.${n}.${i}${a}${c}`,e)},"coerce");yX.exports=ZDe});var BX=f((ydt,IX)=>{"use strict";var e_e=ya(),t_e=EA(),r_e=Zt(),s_e=o((t,e,r)=>{if(!t_e.RELEASE_TYPES.includes(e))return null;let s=n_e(t,r);return s&&i_e(s,e)},"truncate"),n_e=o((t,e)=>{let r=t instanceof r_e?t.version:t;return e_e(r,e)},"cloneInputVersion"),i_e=o((t,e)=>{if(o_e(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"),o_e=o(t=>t.startsWith("pre"),"isPrerelease");IX.exports=s_e});var bX=f((Idt,wX)=>{"use strict";var T_=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}};wX.exports=T_});var nn=f((wdt,SX)=>{"use strict";var a_e=/\s+/g,v_=class t{static{o(this,"Range")}constructor(e,r){if(r=l_e(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof P_)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(a_e," "),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=>!xX(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&&E_e(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(g_e,"");let s=((this.options.includePrerelease&&h_e)|(this.options.loose&&f_e))+":"+e,n=QX.get(s);if(n)return n;let i=this.options.loose,a=i?Tr[er.HYPHENRANGELOOSE]:Tr[er.HYPHENRANGE];e=e.replace(a,R_e(this.options.includePrerelease)),Ve("hyphen replace",e),e=e.replace(Tr[er.COMPARATORTRIM],d_e),Ve("comparator trim",e),e=e.replace(Tr[er.TILDETRIM],p_e),Ve("tilde trim",e),e=e.replace(Tr[er.CARETTRIM],m_e),Ve("caret trim",e);let c=e.split(" ").map(d=>y_e(d,this.options)).join(" ").split(/\s+/).map(d=>S_e(d,this.options));i&&(c=c.filter(d=>(Ve("loose invalid filter",d,this.options),!!d.match(Tr[er.COMPARATORLOOSE])))),Ve("range list",c);let l=new Map,u=c.map(d=>new P_(d,this.options));for(let d of u){if(xX(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return QX.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>NX(s,r)&&e.set.some(n=>NX(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 u_e(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),E_e=o(t=>t.value==="","isAny"),NX=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"),y_e=o((t,e)=>(t=t.replace(Tr[er.BUILD],""),Ve("comp",t,e),t=w_e(t,e),Ve("caret",t),t=I_e(t,e),Ve("tildes",t),t=Q_e(t,e),Ve("xrange",t),t=N_e(t,e),Ve("stars",t),t),"parseComparator"),Ft=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),C_e=o((t,e,r)=>Ft(t)&&!Ft(e)||Ft(e)&&r&&!Ft(r),"invalidXRangeOrder"),I_e=o((t,e)=>t.trim().split(/\s+/).map(r=>B_e(r,e)).join(" "),"replaceTildes"),B_e=o((t,e)=>{let r=e.loose?Tr[er.TILDELOOSE]:Tr[er.TILDE],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{Ve("tilde",t,n,i,a,c,l);let u;return Ft(i)?u="":Ft(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:Ft(c)?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:l?(Ve("replaceTilde pr",l),u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`):u=`>=${i}.${a}.${c} <${i}.${+a+1}.0-0`,Ve("tilde return",u),u})},"replaceTilde"),w_e=o((t,e)=>t.trim().split(/\s+/).map(r=>b_e(r,e)).join(" "),"replaceCarets"),b_e=o((t,e)=>{Ve("caret",t,e);let r=e.loose?Tr[er.CARETLOOSE]:Tr[er.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{Ve("caret",t,n,i,a,c,l);let u;return Ft(i)?u="":Ft(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:Ft(c)?i==="0"?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.0${s} <${+i+1}.0.0-0`:l?(Ve("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`):(Ve("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`),Ve("caret return",u),u})},"replaceCaret"),Q_e=o((t,e)=>(Ve("replaceXRanges",t,e),t.split(/\s+/).map(r=>x_e(r,e)).join(" ")),"replaceXRanges"),x_e=o((t,e)=>{t=t.trim();let r=e.loose?Tr[er.XRANGELOOSE]:Tr[er.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{if(Ve("xRange",t,s,n,i,a,c,l),C_e(i,a,c))return t;let u=Ft(i),A=u||Ft(a),d=A||Ft(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`),Ve("xRange return",s),s})},"replaceXRange"),N_e=o((t,e)=>(Ve("replaceStars",t,e),t.trim().replace(Tr[er.STAR],"")),"replaceStars"),S_e=o((t,e)=>(Ve("replaceGTE0",t,e),t.trim().replace(Tr[e.includePrerelease?er.GTE0PRE:er.GTE0],"")),"replaceGTE0"),R_e=o(t=>(e,r,s,n,i,a,c,l,u,A,d,p)=>(Ft(s)?r="":Ft(n)?r=`>=${s}.0.0${t?"-0":""}`:Ft(i)?r=`>=${s}.${n}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Ft(u)?l="":Ft(A)?l=`<${+u+1}.0.0-0`:Ft(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"),T_e=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 Km=f((Qdt,DX)=>{"use strict";var Xm=Symbol("SemVer ANY"),__=class t{static{o(this,"Comparator")}static get ANY(){return Xm}constructor(e,r){if(r=RX(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),D_("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Xm?this.value="":this.value=this.operator+this.semver.version,D_("comp",this)}parse(e){let r=this.options.loose?TX[vX.COMPARATORLOOSE]:TX[vX.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 PX(s[2],this.options.loose):this.semver=Xm}toString(){return this.value}test(e){if(D_("Comparator.test",e,this.options.loose),this.semver===Xm||e===Xm)return!0;if(typeof e=="string")try{e=new PX(e,this.options)}catch{return!1}return k_(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new kX(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new kX(this.value,r).test(e.semver):(r=RX(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||k_(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||k_(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};DX.exports=__;var RX=QB(),{safeRe:TX,t:vX}=yA(),k_=R_(),D_=Wm(),PX=Zt(),kX=nn()});var Zm=f((Ndt,_X)=>{"use strict";var v_e=nn(),P_e=o((t,e,r)=>{try{e=new v_e(e,r)}catch{return!1}return e.test(t)},"satisfies");_X.exports=P_e});var MX=f((Rdt,LX)=>{"use strict";var k_e=nn(),D_e=o((t,e)=>new k_e(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");LX.exports=D_e});var FX=f((vdt,OX)=>{"use strict";var __e=Zt(),L_e=nn(),M_e=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new L_e(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new __e(s,r))}),s},"maxSatisfying");OX.exports=M_e});var qX=f((kdt,UX)=>{"use strict";var O_e=Zt(),F_e=nn(),U_e=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new F_e(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new O_e(s,r))}),s},"minSatisfying");UX.exports=U_e});var zX=f((_dt,HX)=>{"use strict";var L_=Zt(),q_e=nn(),GX=jm(),G_e=o((t,e)=>{t=new q_e(t,e);let r=new L_("0.0.0");if(t.test(r)||(r=new L_("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new L_(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||GX(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||GX(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");HX.exports=G_e});var VX=f((Mdt,$X)=>{"use strict";var H_e=nn(),z_e=o((t,e)=>{try{return new H_e(t,e).range||"*"}catch{return null}},"validRange");$X.exports=z_e});var LB=f((Fdt,jX)=>{"use strict";var $_e=Zt(),WX=Km(),{ANY:V_e}=WX,Y_e=nn(),J_e=Zm(),YX=jm(),JX=vB(),W_e=kB(),j_e=PB(),K_e=o((t,e,r,s)=>{t=new $_e(t,s),e=new Y_e(e,s);let n,i,a,c,l;switch(r){case">":n=YX,i=W_e,a=JX,c=">",l=">=";break;case"<":n=JX,i=j_e,a=YX,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(J_e(t,e,s))return!1;for(let u=0;u{m.semver===V_e&&(m=new WX(">=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");jX.exports=K_e});var XX=f((qdt,KX)=>{"use strict";var X_e=LB(),Z_e=o((t,e,r)=>X_e(t,e,">",r),"gtr");KX.exports=Z_e});var eZ=f((Hdt,ZX)=>{"use strict";var eLe=LB(),tLe=o((t,e,r)=>eLe(t,e,"<",r),"ltr");ZX.exports=tLe});var sZ=f(($dt,rZ)=>{"use strict";var tZ=nn(),rLe=o((t,e,r)=>(t=new tZ(t,r),e=new tZ(e,r),t.intersects(e,r)),"intersects");rZ.exports=rLe});var iZ=f((Ydt,nZ)=>{"use strict";var sLe=Zm(),nLe=sn();nZ.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>nLe(A,d,r));for(let A of a)sLe(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 oZ=nn(),F_=Km(),{ANY:M_}=F_,O_=Zm(),U_=sn(),iLe=o((t,e,r={})=>{if(t===e)return!0;t=new oZ(t,r),e=new oZ(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=aLe(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),oLe=[new F_(">=0.0.0-0")],aZ=[new F_(">=0.0.0")],aLe=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===M_){if(e.length===1&&e[0].semver===M_)return!0;r.includePrerelease?t=oLe:t=aZ}if(e.length===1&&e[0].semver===M_){if(r.includePrerelease)return!0;e=aZ}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=cZ(n,m,r):m.operator==="<"||m.operator==="<="?i=lZ(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=U_(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&&!O_(m,String(n),r)||i&&!O_(m,String(i),r))return null;for(let h of e)if(!O_(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=cZ(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=lZ(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"),cZ=o((t,e,r)=>{if(!t)return e;let s=U_(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),lZ=o((t,e,r)=>{if(!t)return e;let s=U_(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");uZ.exports=iLe});var eh=f((jdt,mZ)=>{"use strict";var q_=yA(),dZ=EA(),cLe=Zt(),pZ=b_(),lLe=ya(),uLe=MK(),ALe=FK(),dLe=GK(),pLe=$K(),mLe=YK(),hLe=WK(),fLe=KK(),gLe=ZK(),ELe=sn(),yLe=sX(),CLe=iX(),ILe=TB(),BLe=lX(),wLe=AX(),bLe=jm(),QLe=vB(),xLe=N_(),NLe=S_(),SLe=PB(),RLe=kB(),TLe=R_(),vLe=CX(),PLe=BX(),kLe=Km(),DLe=nn(),_Le=Zm(),LLe=MX(),MLe=FX(),OLe=qX(),FLe=zX(),ULe=VX(),qLe=LB(),GLe=XX(),HLe=eZ(),zLe=sZ(),$Le=iZ(),VLe=AZ();mZ.exports={parse:lLe,valid:uLe,clean:ALe,inc:dLe,diff:pLe,major:mLe,minor:hLe,patch:fLe,prerelease:gLe,compare:ELe,rcompare:yLe,compareLoose:CLe,compareBuild:ILe,sort:BLe,rsort:wLe,gt:bLe,lt:QLe,eq:xLe,neq:NLe,gte:SLe,lte:RLe,cmp:TLe,coerce:vLe,truncate:PLe,Comparator:kLe,Range:DLe,satisfies:_Le,toComparators:LLe,maxSatisfying:MLe,minSatisfying:OLe,minVersion:FLe,validRange:ULe,outside:qLe,gtr:GLe,ltr:HLe,intersects:zLe,simplifyRange:$Le,subset:VLe,SemVer:cLe,re:q_.re,src:q_.src,tokens:q_.t,SEMVER_SPEC_VERSION:dZ.SEMVER_SPEC_VERSION,RELEASE_TYPES:dZ.RELEASE_TYPES,compareIdentifiers:pZ.compareIdentifiers,rcompareIdentifiers:pZ.rcompareIdentifiers}});var RZ=w(require("crypto"),1),TZ=w(require("path"),1);var W_=w(require("os"),1);function Dn(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Dn,"toCommandValue");function $B(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($B,"toCommandProperties");function _n(t,e,r){let s=new VB(t,e,r);process.stdout.write(s.toString()+W_.EOL)}o(_n,"issueCommand");function YB(t,e=""){_n(t,{},e)}o(YB,"issue");var J_="::",VB=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=J_+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}=${FZ(n)}`)}}return e+=`${J_}${OZ(this.message)}`,e}};function OZ(t){return Dn(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(OZ,"escapeData");function FZ(t){return Dn(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(FZ,"escapeProperty");var j_=w(require("crypto"),1),ch=w(require("fs"),1),ah=w(require("os"),1);function CA(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!ch.existsSync(r))throw new Error(`Missing file at path: ${r}`);ch.appendFileSync(r,`${Dn(e)}${ah.EOL}`,{encoding:"utf8"})}o(CA,"issueFileCommand");function lh(t,e){let r=`ghadelimiter_${j_.randomUUID()}`,s=Dn(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}${ah.EOL}${s}${ah.EOL}${r}`}o(lh,"prepareKeyValueMessage");var Lx=w(require("os"),1),YG=w(require("path"),1);var bd=w(require("http"),1),wx=w(require("https"),1);function JB(t){let e=t.protocol==="https:";if(UZ(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 uh(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new uh(`http://${r}`)}else return}o(JB,"getProxyUrl");function UZ(t){if(!t.hostname)return!1;let e=t.hostname;if(qZ(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(UZ,"checkBypass");function qZ(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(qZ,"isLoopbackAddress");var uh=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(IA(),1),xG=w($l(),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())})},vs;(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"})(vs||(vs={}));var hr;(function(t){t.Accept="accept",t.ContentType="content-type"})(hr||(hr={}));var Wi;(function(t){t.ApplicationJson="application/json"})(Wi||(Wi={}));var ude=[vs.MovedPermanently,vs.ResourceMoved,vs.SeeOther,vs.TemporaryRedirect,vs.PermanentRedirect],Ade=[vs.BadGateway,vs.ServiceUnavailable,vs.GatewayTimeout],dde=["OPTIONS","GET","DELETE","HEAD"],pde=10,mde=5,Ix=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},Bx=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 Ya=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[hr.Accept]=this._getExistingOrDefaultHeader(s,hr.Accept,Wi.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[hr.Accept]=this._getExistingOrDefaultHeader(i,hr.Accept,Wi.ApplicationJson),i[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Wi.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[hr.Accept]=this._getExistingOrDefaultHeader(i,hr.Accept,Wi.ApplicationJson),i[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Wi.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[hr.Accept]=this._getExistingOrDefaultHeader(i,hr.Accept,Wi.ApplicationJson),i[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Wi.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&&dde.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===vs.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&&ude.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||!Ade.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 Bx(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=JB(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?wx:bd;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({},wd(this.requestOptions.headers),wd(e||{})):wd(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=wd(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=wd(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=JB(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||bd.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 wx.Agent(c):new bd.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 xG.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(pde,e);let r=mde*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===vs.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 Ix(A,i);d.result=a.result,n(d)}else s(a)}))})}},wd=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var RG=require("os"),Qd=require("fs");var bx=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:fde,appendFile:gde,writeFile:Ede}=Qd.promises,SG="GITHUB_STEP_SUMMARY";var Qx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return bx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[SG];if(!e)throw new Error(`Unable to find environment variable for $${SG}. Check if your runtime environment supports job summaries.`);try{yield fde(e,Qd.constants.R_OK|Qd.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 bx(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?Ede:gde)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return bx(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(RG.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()}},HUe=new Qx;var Dx=w(require("os"),1);var kx=require("string_decoder");var Nd=w(require("os"),1),Px=w(require("events"),1),GG=w(require("child_process"),1),HG=w(require("path"),1);var MG=require("assert"),as=w(require("path"),1);var xd=w(require("fs"),1),zo=w(require("path"),1);var xx=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:Nx,copyFile:vG,lstat:ag,mkdir:PG,open:JUe,readdir:Sx,rename:yde,rm:kG,rmdir:WUe,stat:Ja,symlink:DG,unlink:Rx}=xd.promises,Vn=process.platform==="win32";function _G(t){return xx(this,void 0,void 0,function*(){let e=yield xd.promises.readlink(t);return Vn&&!e.endsWith("\\")?`${e}\\`:e})}o(_G,"readlink");var jUe=xd.constants.O_RDONLY;function Yl(t){return xx(this,void 0,void 0,function*(){try{yield Ja(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(Yl,"exists");function cg(t){if(t=Cde(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return Vn?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(cg,"isRooted");function Tx(t,e){return xx(this,void 0,void 0,function*(){let r;try{r=yield Ja(t)}catch(n){n.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${n}`)}if(r&&r.isFile()){if(Vn){let n=zo.extname(t).toUpperCase();if(e.some(i=>i.toUpperCase()===n))return t}else if(TG(r))return t}let s=t;for(let n of e){t=s+n,r=void 0;try{r=yield Ja(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(Vn){try{let i=zo.dirname(t),a=zo.basename(t).toUpperCase();for(let c of yield Sx(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(TG(r))return t}}return""})}o(Tx,"tryGetExecutablePath");function Cde(t){return t=t||"",Vn?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(Cde,"normalizeSeparators");function TG(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(TG,"isUnixExecutable");var Wa=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 OG(t,e){return Wa(this,arguments,void 0,function*(r,s,n={}){let{force:i,recursive:a,copySourceDirectory:c}=Bde(n),l=(yield Yl(s))?yield Ja(s):null;if(l&&l.isFile()&&!i)return;let u=l&&l.isDirectory()&&c?as.join(s,as.basename(r)):s;if(!(yield Yl(r)))throw new Error(`no such file or directory: ${r}`);if((yield Ja(r)).isDirectory())if(a)yield FG(r,u,0,i);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(as.relative(r,u)==="")throw new Error(`'${u}' and '${r}' are the same file`);yield UG(r,u,i)}})}o(OG,"cp");function lg(t){return Wa(this,void 0,void 0,function*(){if(Vn&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield kG(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(lg,"rmRF");function Ps(t){return Wa(this,void 0,void 0,function*(){(0,MG.ok)(t,"a path argument must be provided"),yield PG(t,{recursive:!0})})}o(Ps,"mkdirP");function nt(t,e){return Wa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let s=yield nt(t,!1);if(!s)throw Vn?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 Ide(t);return r&&r.length>0?r[0]:""})}o(nt,"which");function Ide(t){return Wa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(Vn&&process.env.PATHEXT)for(let n of process.env.PATHEXT.split(as.delimiter))n&&e.push(n);if(cg(t)){let n=yield Tx(t,e);return n?[n]:[]}if(t.includes(as.sep))return[];let r=[];if(process.env.PATH)for(let n of process.env.PATH.split(as.delimiter))n&&r.push(n);let s=[];for(let n of r){let i=yield Tx(as.join(n,t),e);i&&s.push(i)}return s})}o(Ide,"findInPath");function Bde(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(Bde,"readCopyOptions");function FG(t,e,r,s){return Wa(this,void 0,void 0,function*(){if(r>=255)return;r++,yield Ps(e);let n=yield Sx(t);for(let i of n){let a=`${t}/${i}`,c=`${e}/${i}`;(yield ag(a)).isDirectory()?yield FG(a,c,r,s):yield UG(a,c,s)}yield Nx(e,(yield Ja(t)).mode)})}o(FG,"cpDirRecursive");function UG(t,e,r){return Wa(this,void 0,void 0,function*(){if((yield ag(t)).isSymbolicLink()){try{yield ag(e),yield Rx(e)}catch(n){n.code==="EPERM"&&(yield Nx(e,"0666"),yield Rx(e))}let s=yield _G(t);yield DG(s,e,Vn?"junction":null)}else(!(yield Yl(e))||r)&&(yield vG(t,e))})}o(UG,"copyFile");var zG=require("timers");var qG=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())})},ug=process.platform==="win32",Ag=class extends Px.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(ug)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(Nd.EOL);for(;i>-1;){let a=n.substring(0,i);s(a),n=n.substring(i+Nd.EOL.length),i=n.indexOf(Nd.EOL)}return n}catch(n){return this._debug(`error processing line. Failed with error ${n}`),""}}_getSpawnFileName(){return ug&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(ug&&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 qG(this,void 0,void 0,function*(){return!cg(this.toolPath)&&(this.toolPath.includes("/")||ug&&this.toolPath.includes("\\"))&&(this.toolPath=HG.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield nt(this.toolPath,!0),new Promise((e,r)=>qG(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)+Nd.EOL);let n=new vx(s,this.toolPath);if(n.on("debug",u=>{this._debug(u)}),this.options.cwd&&!(yield Yl(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),a=GG.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 $G(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($G,"argStringToArray");var vx=class t extends Px.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,zG.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 VG=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 cs(t,e,r){return VG(this,void 0,void 0,function*(){let s=$G(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 Ag(n,e,r).exec()})}o(cs,"exec");function Sd(t,e,r){return VG(this,void 0,void 0,function*(){var s,n;let i="",a="",c=new kx.StringDecoder("utf8"),l=new kx.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(g=>{a+=l.write(g),A&&A(g)},"stdErrListener"),p=o(g=>{i+=c.write(g),u&&u(g)},"stdOutListener"),m=Object.assign(Object.assign({},r?.listeners),{stdout:p,stderr:d}),h=yield cs(t,e,Object.assign(Object.assign({},r),{listeners:m}));return i+=c.end(),a+=l.end(),{exitCode:h,stdout:i,stderr:a}})}o(Sd,"getExecOutput");var r2e=Dx.default.platform(),s2e=Dx.default.arch();var Qde=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())})},_x;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(_x||(_x={}));function JG(t,e){let r=Dn(e);if(process.env[t]=r,process.env.GITHUB_ENV||"")return CA("ENV",lh(t,e));_n("set-env",{name:t},r)}o(JG,"exportVariable");function Vl(t){_n("add-mask",{},t)}o(Vl,"setSecret");function Jl(t){process.env.GITHUB_PATH||""?CA("PATH",t):_n("add-path",{},t),process.env.PATH=`${t}${YG.delimiter}${process.env.PATH}`}o(Jl,"addPath");function fn(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(fn,"getInput");function Td(t,e){let r=["true","True","TRUE"],s=["false","False","FALSE"],n=fn(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(Td,"getBooleanInput");function Mx(t,e){if(process.env.GITHUB_OUTPUT||"")return CA("OUTPUT",lh(t,e));process.stdout.write(Lx.EOL),_n("set-output",{name:t},Dn(e))}o(Mx,"setOutput");function WG(t){process.exitCode=_x.Failure,Wl(t)}o(WG,"setFailed");function Ka(){return process.env.RUNNER_DEBUG==="1"}o(Ka,"isDebug");function b(t){_n("debug",{},t)}o(b,"debug");function Wl(t,e={}){_n("error",$B(e),t instanceof Error?t.toString():t)}o(Wl,"error");function et(t,e={}){_n("warning",$B(e),t instanceof Error?t.toString():t)}o(et,"warning");function S(t){process.stdout.write(t+Lx.EOL)}o(S,"info");function xde(t){YB("group",t)}o(xde,"startGroup");function Nde(){YB("endgroup")}o(Nde,"endGroup");function me(t,e){return Qde(this,void 0,void 0,function*(){xde(t);let r;try{r=yield e()}finally{Nde()}return r})}o(me,"group");function jl(t,e){if(process.env.GITHUB_STATE||"")return CA("STATE",lh(t,e));_n("save-state",{name:t},Dn(e))}o(jl,"saveState");function jG(t){return process.env[`STATE_${t}`]||""}o(jG,"getState");var Qm=w(require("fs"),1),Yk=w(require("os"),1),Jk=w(require("path"),1);var XG=w(require("os"),1);function vd(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(vd,"toCommandValue");function ZG(t,e,r){let s=new Ox(t,e,r);process.stdout.write(s.toString()+XG.EOL)}o(ZG,"issueCommand");var KG="::",Ox=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=KG+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}=${Rde(n)}`)}}return e+=`${KG}${Sde(this.message)}`,e}};function Sde(t){return vd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Sde,"escapeData");function Rde(t){return vd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(Rde,"escapeProperty");var sH=w(require("os"),1);var tH=require("os"),Pd=require("fs");var Fx=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:Tde,appendFile:vde,writeFile:Pde}=Pd.promises,eH="GITHUB_STEP_SUMMARY";var Ux=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Fx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[eH];if(!e)throw new Error(`Unable to find environment variable for $${eH}. Check if your runtime environment supports job summaries.`);try{yield Tde(e,Pd.constants.R_OK|Pd.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 Fx(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?Pde:vde)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Fx(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(tH.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 Ux;var qx=w(require("os"),1);var O2e=qx.default.platform(),F2e=qx.default.arch();var rH;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(rH||(rH={}));function Gx(){return process.env.RUNNER_DEBUG==="1"}o(Gx,"isDebug");function Fe(t){ZG("debug",{},t)}o(Fe,"debug");function Hx(t){process.stdout.write(t+sH.EOL)}o(Hx,"info");var A0=w(require("crypto"),1),ir=w(require("fs"),1);var Rhe=w(l0(),1);var xg=w(require("os"),1),gn=w(require("path"),1);var _s=w(l0(),1),Jz=w(require("stream"),1),Wz=w(require("util"),1),d0=require("assert");var Yz=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())})},bg=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 Yz(this,void 0,void 0,function*(){let s=1;for(;ssetTimeout(r,e*1e3))})}};var Jn=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())})},Qg=class extends Error{static{o(this,"HTTPError")}constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}},jz=process.platform==="win32",Hqe=process.platform==="darwin",vhe="actions/tool-cache";function Za(t,e,r,s){return Jn(this,void 0,void 0,function*(){e=e||gn.join(e$(),A0.randomUUID()),yield Ps(gn.dirname(e)),Fe(`Downloading ${t}`),Fe(`Destination ${e}`);let n=3,i=u0("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=u0("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);return yield new bg(n,i,a).execute(()=>Jn(this,void 0,void 0,function*(){return yield Phe(t,e||"",r,s)}),l=>!(l instanceof Qg&&l.httpStatusCode&&l.httpStatusCode<500&&l.httpStatusCode!==408&&l.httpStatusCode!==429))})}o(Za,"downloadTool");function Phe(t,e,r,s){return Jn(this,void 0,void 0,function*(){if(ir.existsSync(e))throw new Error(`Destination file path ${e} already exists`);let n=new Ya(vhe,[],{allowRetries:!1});r&&(Fe("set auth"),s===void 0&&(s={}),s.authorization=r);let i=yield n.get(t,s);if(i.message.statusCode!==200){let A=new Qg(i.message.statusCode);throw Fe(`Failed to download from "${t}". Code(${i.message.statusCode}) Message(${i.message.statusMessage})`),A}let a=Wz.promisify(Jz.pipeline),l=u0("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>i.message)(),u=!1;try{return yield a(l,ir.createWriteStream(e)),Fe("download complete"),u=!0,e}finally{if(!u){Fe("download failed");try{yield lg(e)}catch(A){Fe(`Failed to delete '${e}'. ${A.message}`)}}}})}o(Phe,"downloadToolAttempt");function Ng(t,e){return Jn(this,arguments,void 0,function*(r,s,n="xz"){if(!r)throw new Error("parameter 'file' is required");s=yield Xz(s),Fe("Checking tar --version");let i="";yield cs("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(A=>i+=A.toString(),"stdout"),stderr:o(A=>i+=A.toString(),"stderr")}}),Fe(i.trim());let a=i.toUpperCase().includes("GNU TAR"),c;n instanceof Array?c=n:c=[n],Gx()&&!n.includes("v")&&c.push("-v");let l=s,u=r;return jz&&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 cs("tar",c),s})}o(Ng,"extractTar");function Sg(t,e){return Jn(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'file' is required");return e=yield Xz(e),jz?yield khe(t,e):yield Dhe(t,e),e})}o(Sg,"extractZip");function khe(t,e){return Jn(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 nt("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(" ")];Fe(`Using pwsh at path: ${n}`),yield cs(`"${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 nt("powershell",!0);Fe(`Using powershell at path: ${c}`),yield cs(`"${c}"`,a)}})}o(khe,"extractZipWin");function Dhe(t,e){return Jn(this,void 0,void 0,function*(){let r=yield nt("unzip",!0),s=[t];Gx()||s.unshift("-q"),s.unshift("-o"),yield cs(`"${r}"`,s,{cwd:e})})}o(Dhe,"extractZipNix");function Rg(t,e,r,s){return Jn(this,void 0,void 0,function*(){if(r=_s.clean(r)||r,s=s||xg.arch(),Fe(`Caching tool ${e} ${r} ${s}`),Fe(`source dir: ${t}`),!ir.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let n=yield Lhe(e,r,s);for(let i of ir.readdirSync(t)){let a=gn.join(t,i);yield OG(a,n,{recursive:!0})}return Mhe(e,r,s),n})}o(Rg,"cacheDir");function Kz(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||xg.arch(),!Zz(e)){let n=_he(t,r);e=Ohe(n,e)}let s="";if(e){e=_s.clean(e)||"";let n=gn.join(Tg(),t,e,r);Fe(`checking cache: ${n}`),ir.existsSync(n)&&ir.existsSync(`${n}.complete`)?(Fe(`Found tool in cache ${t} ${e} ${r}`),s=n):Fe("not found")}return s}o(Kz,"find");function _he(t,e){let r=[];e=e||xg.arch();let s=gn.join(Tg(),t);if(ir.existsSync(s)){let n=ir.readdirSync(s);for(let i of n)if(Zz(i)){let a=gn.join(s,i,e||"");ir.existsSync(a)&&ir.existsSync(`${a}.complete`)&&r.push(i)}}return r}o(_he,"findAllVersions");function Xz(t){return Jn(this,void 0,void 0,function*(){return t||(t=gn.join(e$(),A0.randomUUID())),yield Ps(t),t})}o(Xz,"_createExtractFolder");function Lhe(t,e,r){return Jn(this,void 0,void 0,function*(){let s=gn.join(Tg(),t,_s.clean(e)||e,r||"");Fe(`destination ${s}`);let n=`${s}.complete`;return yield lg(s),yield lg(n),yield Ps(s),s})}o(Lhe,"_createToolPath");function Mhe(t,e,r){let n=`${gn.join(Tg(),t,_s.clean(e)||e,r||"")}.complete`;ir.writeFileSync(n,""),Fe("finished caching tool")}o(Mhe,"_completeToolPath");function Zz(t){let e=_s.clean(t)||"";Fe(`isExplicit: ${e}`);let r=_s.valid(e)!=null;return Fe(`explicit? ${r}`),r}o(Zz,"isExplicitVersion");function Ohe(t,e){let r="";Fe(`evaluating ${t.length} versions`),t=t.sort((s,n)=>_s.gt(s,n)?1:-1);for(let s=t.length-1;s>=0;s--){let n=t[s];if(_s.satisfies(n,e)){r=n;break}}return r?Fe(`matched: ${r}`):Fe("match not found"),r}o(Ohe,"evaluateVersions");function Tg(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,d0.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(Tg,"_getCacheDirectory");function e$(){let t=process.env.RUNNER_TEMP||"";return(0,d0.ok)(t,"Expected RUNNER_TEMP to be defined"),t}o(e$,"_getTempDirectory");function u0(t,e){let r=global[t];return r!==void 0?r:e}o(u0,"_getGlobal");var bm=w(require("path"),1);var r$=w(require("os"),1);function Ud(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Ud,"toCommandValue");function s$(t,e,r){let s=new p0(t,e,r);process.stdout.write(s.toString()+r$.EOL)}o(s$,"issueCommand");var t$="::",p0=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=t$+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}=${Uhe(n)}`)}}return e+=`${t$}${Fhe(this.message)}`,e}};function Fhe(t){return Ud(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Fhe,"escapeData");function Uhe(t){return Ud(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(Uhe,"escapeProperty");var i$=require("os"),qd=require("fs");var m0=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:qhe,appendFile:Ghe,writeFile:Hhe}=qd.promises,n$="GITHUB_STEP_SUMMARY";var h0=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return m0(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[n$];if(!e)throw new Error(`Unable to find environment variable for $${n$}. Check if your runtime environment supports job summaries.`);try{yield qhe(e,qd.constants.R_OK|qd.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 m0(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?Hhe:Ghe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return m0(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(i$.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()}},iGe=new h0;var f0=w(require("os"),1);var uGe=f0.default.platform(),AGe=f0.default.arch();var o$;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(o$||(o$={}));function Ls(t){s$("debug",{},t)}o(Ls,"debug");var tu=w(require("fs"),1);function E0(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,Ls(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,Ls(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,Ls(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,Ls(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,Ls(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(E0,"getOptions");var Lg=w(require("path"),1);var Xl=w(require("path"),1),$o=w(require("assert"),1);var Vo=process.platform==="win32";function Ki(t){if(t=ji(t),Vo&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=Xl.dirname(t);return Vo&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=ji(e)),e}o(Ki,"dirname");function Pg(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"),Gd(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(En(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)(Gd(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||Vo&&t.endsWith("\\")||(t+=Xl.sep),t+e}o(Pg,"ensureAbsoluteRoot");function Gd(t){return(0,$o.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=En(t),Vo?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(Gd,"hasAbsoluteRoot");function Hd(t){return(0,$o.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=En(t),Vo?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(Hd,"hasRoot");function En(t){return t=t||"",Vo?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(En,"normalizeSeparators");function ji(t){return t?(t=En(t),!t.endsWith(Xl.sep)||t===Xl.sep||Vo&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(ji,"safeTrimTrailingSeparator");var yn;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(yn||(yn={}));var a$=process.platform==="win32";function C0(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=Ki(a);for(;c!==a;){if(e[c]){i=!0;break}a=c,c=Ki(a)}i||(r.push(s.searchPath),e[n]="included")}return r}o(C0,"getSearchPaths");function c$(t,e){let r=yn.None;for(let s of t)s.negate?r&=~s.match(e):r|=s.match(e);return r}o(c$,"match");function l$(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(l$,"partialMatch");var T$=w(require("os"),1),eu=w(require("path"),1);var Jo=w(require("assert"),1),v$=w(R$(),1);var ec=w(require("path"),1);var Zl=w(require("assert"),1);var yfe=process.platform==="win32",tc=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,Zl.default)(e,"Parameter 'itemPath' must not be empty"),e=ji(e),!Hd(e))this.segments=e.split(ec.sep);else{let r=e,s=Ki(r);for(;s!==r;){let n=ec.basename(r);this.segments.unshift(n),r=s,s=Ki(r)}this.segments.unshift(r)}else{(0,Zl.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 tc(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),Xi?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:Xi,nocomment:!0,noext:!0,nonegate:!0};i=Xi?i.replace(/\\/g,"/"):i,this.minimatch=new Cfe(i,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=En(e),!e.endsWith(eu.sep)&&this.isImplicitPattern===!1&&(e=`${e}${eu.sep}`)):e=ji(e),this.minimatch.match(e)?this.trailingSeparator?yn.Directory:yn.All:yn.None}partialMatch(e){return e=ji(e),Ki(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Xi?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Xi?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,Jo.default)(e,"pattern cannot be empty");let s=new tc(e).segments.map(n=>t.getLiteral(n));if((0,Jo.default)(s.every((n,i)=>(n!=="."||i===0)&&n!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,Jo.default)(!Hd(e)||s[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=En(e),e==="."||e.startsWith(`.${eu.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${eu.sep}`))r=r||T$.homedir(),(0,Jo.default)(r,"Unable to determine HOME directory"),(0,Jo.default)(Gd(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Xi&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let n=Pg("C:\\dummy-root",e.substr(0,2));e.length>2&&!n.endsWith("\\")&&(n+="\\"),e=t.globEscape(n)+e.substr(2)}else if(Xi&&(e==="\\"||e.match(/^\\[^\\]/))){let n=Pg("C:\\dummy-root","\\");n.endsWith("\\")||(n+="\\"),e=t.globEscape(n)+e.substr(1)}else e=Pg(t.globEscape(process.cwd()),e);return En(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 Yd=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};var S0=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())})},Ife=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)}},Wo=function(t){return this instanceof Wo?(this.v=t,this):new Wo(t)},Bfe=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(g){return new Promise(function(C,E){i.push([m,g,C,E])>1||l(m,g)})},h&&(n[m]=h(n[m])))}function l(m,h){try{u(s[m](h))}catch(g){p(i[0][3],g)}}function u(m){m.value instanceof Wo?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])}},wfe=process.platform==="win32",_g=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=E0(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return S0(this,void 0,void 0,function*(){var e,r,s,n;let i=[];try{for(var a=!0,c=Ife(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 Bfe(this,arguments,o(function*(){let r=E0(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 Vd(a.negate,!0,a.segments.concat("**")));let n=[];for(let a of C0(s)){Ls(`Search path '${a}'`);try{yield Wo(tu.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}n.unshift(new Yd(a,1))}let i=[];for(;n.length;){let a=n.pop(),c=c$(s,a.path),l=!!c||l$(s,a.path);if(!c&&!l)continue;let u=yield Wo(t.stat(a,r,i));if(u&&!(r.excludeHiddenFiles&&Lg.basename(a.path).match(/^\./)))if(u.isDirectory()){if(c&yn.Directory&&r.matchDirectories)yield yield Wo(a.path);else if(!l)continue;let A=a.level+1,d=(yield Wo(tu.promises.readdir(a.path))).map(p=>new Yd(Lg.join(a.path,p),A));n.push(...d.reverse())}else c&yn.File&&(yield yield Wo(a.path))}},"globGenerator_1"))}static create(e,r){return S0(this,void 0,void 0,function*(){let s=new t(r);wfe&&(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 Vd(i));return s.searchPaths.push(...C0(s.patterns)),s})}static stat(e,r,s){return S0(this,void 0,void 0,function*(){let n;if(r.followSymbolicLinks)try{n=yield tu.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){Ls(`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 tu.promises.lstat(e.path);if(n.isDirectory()&&r.followSymbolicLinks){let i=yield tu.promises.realpath(e.path);for(;s.length>=e.level;)s.pop();if(s.some(a=>a===i)){Ls(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}s.push(i)}return n})}};var bfe=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 P$(t,e){return bfe(this,void 0,void 0,function*(){return yield _g.create(t,e)})}o(P$,"create");var Xg=w(require("crypto"),1),nu=w(require("fs"),1),sc=w(require("path"),1),wY=w(IY(),1),bY=w(require("util"),1);var tp;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(tp||(tp={}));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 Wg=2,jg=5e3,J0=5e3,W0=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,BY=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,rp="cache.tar",j0="manifest.txt",qze=10*Math.pow(1024,3),Kg="cache read denied:";var su=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())})},Iye=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)}},Bye="1.0";function sp(){return su(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=sc.join(s,"actions","temp")}let r=sc.join(e,Xg.randomUUID());return yield Ps(r),r})}o(sp,"createTempDirectory");function jn(t){return nu.statSync(t).size}o(jn,"getArchiveFileSizeInBytes");function K0(t){return su(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 P$(t.join(` `),{implicitDescendants:!1});try{for(var u=!0,A=Iye(l.globGenerator()),d;d=yield A.next(),e=d.done,!e;u=!0){n=d.value,u=!1;let m=sc.relative(c,n).replace(new RegExp(`\\${sc.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(K0,"resolvePaths");function np(t){return su(this,void 0,void 0,function*(){return bY.promisify(nu.unlink)(t)})}o(np,"unlinkFile");function QY(t){return su(this,arguments,void 0,function*(e,r=[]){let s="";r.push("--version"),b(`Checking ${e} ${r.join(" ")}`);try{yield cs(`${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(QY,"getVersion");function ip(){return su(this,void 0,void 0,function*(){let t=yield QY("zstd",["--quiet"]),e=wY.clean(t);return b(`zstd version: ${e}`),t===""?Cr.Gzip:Cr.ZstdWithoutLong})}o(ip,"getCompressionMethod");function jo(t){return t===Cr.Gzip?tp.Gzip:tp.Zstd}o(jo,"getCacheFileName");function xY(){return su(this,void 0,void 0,function*(){return nu.existsSync(W0)?W0:(yield QY("tar")).toLowerCase().includes("gnu tar")?nt("tar"):""})}o(xY,"getGnuTarPathOnWindows");function X0(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(X0,"assertDefined");function iu(t,e,r=!1){let s=t.slice();return e&&s.push(e),process.platform==="win32"&&!r&&s.push("windows-only"),s.push(Bye),Xg.createHash("sha256").update(s.join("|")).digest("hex")}o(iu,"getCacheVersion");function NY(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(NY,"getRuntimeToken");var ap=w(require("http"),1),tN=w(require("https"),1);function Z0(t){let e=t.protocol==="https:";if(wye(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 eE(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new eE(`http://${r}`)}else return}o(Z0,"getProxyUrl");function wye(t){if(!t.hostname)return!1;let e=t.hostname;if(bye(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(wye,"checkBypass");function bye(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(bye,"isLoopbackAddress");var eE=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 Ko=w(IA(),1),SY=w($l(),1);var Et=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())})},it;(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"})(it||(it={}));var Ir;(function(t){t.Accept="accept",t.ContentType="content-type"})(Ir||(Ir={}));var Zi;(function(t){t.ApplicationJson="application/json"})(Zi||(Zi={}));var xye=[it.MovedPermanently,it.ResourceMoved,it.SeeOther,it.TemporaryRedirect,it.PermanentRedirect],Nye=[it.BadGateway,it.ServiceUnavailable,it.GatewayTimeout],Sye=["OPTIONS","GET","DELETE","HEAD"],Rye=10,Tye=5,Kn=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},eN=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return Et(this,void 0,void 0,function*(){return new Promise(e=>Et(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 Et(this,void 0,void 0,function*(){return new Promise(e=>Et(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 eo=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 Et(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Et(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Et(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return Et(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return Et(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return Et(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return Et(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return Et(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return Et(this,arguments,void 0,function*(r,s={}){s[Ir.Accept]=this._getExistingOrDefaultHeader(s,Ir.Accept,Zi.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return Et(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Ir.Accept]=this._getExistingOrDefaultHeader(i,Ir.Accept,Zi.ApplicationJson),i[Ir.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Zi.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return Et(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Ir.Accept]=this._getExistingOrDefaultHeader(i,Ir.Accept,Zi.ApplicationJson),i[Ir.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Zi.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return Et(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Ir.Accept]=this._getExistingOrDefaultHeader(i,Ir.Accept,Zi.ApplicationJson),i[Ir.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Zi.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return Et(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&&Sye.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===it.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&&xye.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||!Nye.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 eN(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=Z0(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?tN: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({},op(this.requestOptions.headers),op(e||{})):op(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=op(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=op(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=Z0(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?Ko.httpsOverHttps:Ko.httpsOverHttp:l=u?Ko.httpOverHttps:Ko.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new tN.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 SY.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 Et(this,void 0,void 0,function*(){e=Math.min(Rye,e);let r=Tye*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return Et(this,void 0,void 0,function*(){return new Promise((s,n)=>Et(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===it.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 Kn(A,i);d.result=a.result,n(d)}else s(a)}))})}},op=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var vye=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 ou=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 vye(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var Mu=w(require("fs"),1),j8=require("url");var Xn=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var RY=require("node:os"),TY=w(require("node:util"),1),vY=w(require("node:process"),1);function PY(t,...e){vY.default.stderr.write(`${TY.default.format(t,...e)}${RY.EOL}`)}o(PY,"log");var kY=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,_Y,rN=[],sN=[],tE=[];kY&&nN(kY);var LY=Object.assign(t=>MY(t),{enable:nN,enabled:iN,disable:Pye,log:PY});function nN(t){_Y=t,rN=[],sN=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?sN.push(r.substring(1)):rN.push(r);for(let r of tE)r.enabled=iN(r.namespace)}o(nN,"enable");function iN(t){if(t.endsWith("*"))return!0;for(let e of sN)if(DY(t,e))return!1;for(let e of rN)if(DY(t,e))return!0;return!1}o(iN,"enabled");function DY(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(DY,"namespaceMatches");function Pye(){let t=_Y||"";return nN(""),t}o(Pye,"disable");function MY(t){let e=Object.assign(r,{enabled:iN(t),destroy:kye,log:LY.log,namespace:t,extend:Dye});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return o(r,"debug"),tE.push(e),e}o(MY,"createDebugger");function kye(){let t=tE.indexOf(this);return t>=0?(tE.splice(t,1),!0):!1}o(kye,"destroy");function Dye(t){let e=MY(`${this.namespace}:${t}`);return e.log=this.log,e}o(Dye,"extend");var au=LY;var oN=["verbose","info","warning","error"],OY={verbose:400,info:300,warning:200,error:100};function FY(t,e){e.log=(...r)=>{t.log(...r)}}o(FY,"patchLogMethod");function UY(t){return oN.includes(t)}o(UY,"isTypeSpecRuntimeLogLevel");function rE(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,s,n=au(t.namespace);n.log=(...A)=>{au.log(...A)};function i(A){if(A&&!UY(A))throw new Error(`Unknown log level '${A}'. Acceptable values: ${oN.join(",")}`);s=A;let d=[];for(let p of e)a(p)&&d.push(p.namespace);au.enable(d.join(","))}o(i,"contextSetLogLevel"),r&&(UY(r)?i(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${oN.join(", ")}.`));function a(A){return!!(s&&OY[A.level]<=OY[s])}o(a,"shouldEnable");function c(A,d){let p=Object.assign(A.extend(d),{level:d});if(FY(A,p),a(p)){let m=au.disable();au.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 FY(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(rE,"createLoggerContext");var qY=rE({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),_ye=qY.logger;function cp(t){return qY.createClientLogger(t)}o(cp,"createClientLogger");function sE(t){return t.toLowerCase()}o(sE,"normalizeName");function*Lye(t){for(let e of t.values())yield[e.name,e.value]}o(Lye,"headerIterator");var aN=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(sE(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(sE(e))?.value}has(e){return this._headersMap.has(sE(e))}delete(e){this._headersMap.delete(sE(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 Lye(this._headersMap)}};function As(t){return new aN(t)}o(As,"createHttpHeaders");function nc(){return crypto.randomUUID()}o(nc,"randomUUID");var cN=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||nc(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function nE(t){return new cN(t)}o(nE,"createPipelineRequest");var GY=new Set(["Deserialize","Serialize","Retry","Sign"]),lN=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&&!GY.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!GY.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 g=h.policy,C=h.options,E=g.name;if(r.has(E))throw new Error("Duplicate policy names not allowed in pipeline");let y={policy:g,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:g,options:C}=h,E=g.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 g of h.policies)if(!(g.afterPhase&&(!g.afterPhase.hasRun||g.afterPhase.policies.size))&&g.dependsOn.size===0){e.push(g.policy);for(let C of g.dependants)C.dependsOn.delete(g);r.delete(g.policy.name),h.policies.delete(g)}}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 iE(){return lN.create()}o(iE,"createEmptyPipeline");function cu(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(cu,"isObject");function ic(t){if(cu(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(ic,"isError");var HY=require("node:util"),zY=HY.inspect.custom;var uN="REDACTED",Mye=["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"],Oye=["api-version"],Cn=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=Mye.concat(e),r=Oye.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)||cu(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,uN);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]=uN;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]=uN;return r}};var Fye=new Cn,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,zY,{value:o(()=>`RestError: ${this.message} ${Fye.sanitize({...this,request:{...this.request,agent:s},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function oE(t){return t instanceof Br?!0:ic(t)&&t.name==="RestError"}o(oE,"isRestError");function Mr(t,e){return Buffer.from(t,e)}o(Mr,"stringToUint8Array");var aE=w(require("node:http"),1),cE=w(require("node:https"),1),AN=w(require("node:zlib"),1),VY=require("node:stream");var Fs=cp("ts-http-runtime");var Uye={};function lp(t){return t&&typeof t.pipe=="function"}o(lp,"isReadableStream");function $Y(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($Y,"isStreamComplete");function YY(t){return t&&typeof t.byteLength=="number"}o(YY,"isArrayBuffer");var lE=class extends VY.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}},dN=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 Xn("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 Cn;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=zye(c);u!==null&&e.headers.set("Content-Length",u)}let l;try{if(c&&e.onUploadProgress){let h=e.onUploadProgress,g=new lE(h);g.on("error",C=>{Fs.error("Error in upload progress",C)}),lp(c)?c.pipe(g):g.end(c),c=g}let u=await this.makeRequest(e,r,c);n!==void 0&&clearTimeout(n);let A=qye(u),p={status:u.statusCode??0,headers:A,request:e};if(e.method==="HEAD")return u.resume(),p;l=a?Gye(u,A):u;let m=e.onDownloadProgress;if(m){let h=new lE(m);h.on("error",g=>{Fs.error("Error in download progress",g)}),l.pipe(h),l=h}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(p.status)?p.readableStreamBody=l:p.bodyAsText=await Hye(l),p}finally{if(e.abortSignal&&s){let u=Promise.resolve();lp(c)&&(u=$Y(c));let A=Promise.resolve();lp(l)&&(A=$Y(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?aE.default.request(c,l):cE.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 Xn("The operation was aborted. Rejecting from abort signal callback while making request.");A.destroy(d),u(d)}),s&&lp(s)?s.pipe(A):s?typeof s=="string"||Buffer.isBuffer(s)?A.end(s):YY(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?aE.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new aE.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(s&&!e.tlsSettings)return cE.default.globalAgent;let n=e.tlsSettings??Uye,i=this.cachedHttpsAgents.get(n);return i&&i.options.keepAlive===!s||(Fs.info("No cached TLS Agent exist, creating a new Agent"),i=new cE.default.Agent({keepAlive:!s,...n}),this.cachedHttpsAgents.set(n,i)),i}}};function qye(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(qye,"getResponseHeaders");function Gye(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let s=AN.default.createGunzip();return t.pipe(s),s}else if(r==="deflate"){let s=AN.default.createInflate();return t.pipe(s),s}return t}o(Gye,"getDecodedResponseStream");function Hye(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(Hye,"streamToText");function zye(t){return t?Buffer.isBuffer(t)?t.length:lp(t)?null:YY(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(zye,"getBodyLength");function JY(){return new dN}o(JY,"createNodeHttpClient");function uE(){return JY()}o(uE,"createDefaultHttpClient");var pN="logPolicy";function AE(t={}){let e=t.logger??Fs.info,r=new Cn({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:pN,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(AE,"logPolicy");var dE="redirectPolicy",WY=["GET","HEAD"];function pE(t={}){let{maxRetries:e=20}=t;return{name:dE,async sendRequest(r,s){let n=await s(r);return jY(s,n,e)}}}o(pE,"redirectPolicy");async function jY(t,e,r,s=0){let{request:n,status:i,headers:a}=e,c=a.get("location");if(c&&(i===300||i===301&&WY.includes(n.method)||i===302&&WY.includes(n.method)||i===303&&n.method==="POST"||i===307)&&s{let i,a,c=o(()=>n(new Xn(r?.abortErrorMsg?r?.abortErrorMsg:$ye)),"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(ZY,"delay");function eJ(t,e){let r=t.headers.get(e);if(!r)return;let s=Number(r);if(!Number.isNaN(s))return s}o(eJ,"parseHeaderValueAsNumber");var mN="Retry-After",Vye=["retry-after-ms","x-ms-retry-after-ms",mN];function tJ(t){if(t&&[429,503].includes(t.status))try{for(let n of Vye){let i=eJ(t,n);if(i===0||i)return i*(n===mN?1e3:1)}let e=t.headers.get(mN);if(!e)return;let s=Date.parse(e)-Date.now();return Number.isFinite(s)?Math.max(0,s):void 0}catch{return}}o(tJ,"getRetryAfterInMs");function rJ(t){return Number.isFinite(tJ(t))}o(rJ,"isThrottlingRetryResponse");function hN(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=tJ(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(hN,"throttlingRetryStrategy");var Yye=1e3,Jye=1e3*64;function gE(t={}){let e=t.retryDelayInMs??Yye,r=t.maxRetryDelayInMs??Jye;return{name:"exponentialRetryStrategy",retry({retryCount:s,response:n,responseError:i}){let a=jye(i),c=a&&t.ignoreSystemErrors,l=Wye(n),u=l&&t.ignoreHttpStatusCodes;return n&&(rJ(n)||!l)||u||c?{skipStrategy:!0}:i&&!a&&!l?{errorToThrow:i}:fE(s,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(gE,"exponentialRetryStrategy");function Wye(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(Wye,"isExponentialRetryResponse");function jye(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(jye,"isSystemError");var Kye=cp("ts-http-runtime retryPolicy"),Xye="retryPolicy";function ac(t,e={maxRetries:3}){let r=e.logger||Kye;return{name:Xye,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 Xn;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 ZY(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 fN="defaultRetryPolicy";function EE(t={}){return{name:fN,sendRequest:ac([hN(),gE(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(EE,"defaultRetryPolicy");var sJ=typeof window<"u"&&typeof window.document<"u",nJ=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),iJ=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",oJ=typeof Bun<"u"&&typeof Bun.version<"u",cc=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var aJ=typeof navigator<"u"&&navigator?.product==="ReactNative";var gN="formDataPolicy";function Zye(t){let e={};for(let[r,s]of t.entries())e[r]??=[],e[r].push(s);return e}o(Zye,"formDataToFormDataMap");function yE(){return{name:gN,async sendRequest(t,e){if(cc&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=Zye(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=eCe(t.formData):await tCe(t.formData,t),t.formData=void 0}return e(t)}}}o(yE,"formDataPolicy");function eCe(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(eCe,"wwwFormUrlEncode");async function tCe(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:Mr(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(tCe,"prepareFormData");var MJ=w(TJ(),1),OJ=w(kJ(),1);var eIe="HTTPS_PROXY",tIe="HTTP_PROXY",rIe="ALL_PROXY",sIe="NO_PROXY",bN="proxyPolicy",DJ=[],FJ=!1,nIe=new Map;function SE(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(SE,"getEnvironmentValue");function UJ(){if(!process)return;let t=SE(eIe),e=SE(rIe),r=SE(tIe);return t||e||r}o(UJ,"loadEnvironmentProxyValue");function iIe(t,e,r){if(e.length===0)return!1;let s=new URL(t).hostname;if(r?.has(s))return r.get(s);let n=!1;for(let i of e)i[0]==="."?(s.endsWith(i)||s.length===i.length-1&&s===i.slice(1))&&(n=!0):s===i&&(n=!0);return r?.set(s,n),n}o(iIe,"isBypassed");function oIe(){let t=SE(sIe);return FJ=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(oIe,"loadNoProxy");function QN(t){if(!t&&(t=UJ(),!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(QN,"getDefaultProxySettings");function aIe(){let t=UJ();return t?new URL(t):void 0}o(aIe,"getDefaultProxySettingsInternal");function _J(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(_J,"getUrlFromProxySettings");function LJ(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 OJ.HttpProxyAgent(r,{headers:i})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new MJ.HttpsProxyAgent(r,{headers:i})),t.agent=e.httpsProxyAgent)}o(LJ,"setProxyAgentOnRequest");function RE(t,e){FJ||DJ.push(...oIe());let r=t?_J(t):aIe(),s={};return{name:bN,async sendRequest(n,i){return!n.proxySettings&&r&&!iIe(n.url,e?.customNoProxyList??DJ,e?.customNoProxyList?void 0:nIe)?LJ(n,s,r):n.proxySettings&&LJ(n,s,_J(n.proxySettings)),i(n)}}}o(RE,"proxyPolicy");var xN="agentPolicy";function TE(t){return{name:xN,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(TE,"agentPolicy");var NN="tlsPolicy";function vE(t){return{name:NN,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(vE,"tlsPolicy");function PE(t){return typeof t.stream=="function"}o(PE,"isBlob");var kE=require("stream");async function*qJ(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(qJ,"streamAsyncIterator");function cIe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=qJ.bind(t)),t.values||(t.values=qJ.bind(t))}o(cIe,"makeAsyncIterable");function GJ(t){return t instanceof ReadableStream?(cIe(t),kE.Readable.fromWeb(t)):t}o(GJ,"ensureNodeStream");function lIe(t){return t instanceof Uint8Array?kE.Readable.from(Buffer.from(t)):PE(t)?GJ(t.stream()):GJ(t)}o(lIe,"toStream");async function HJ(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(lIe);return kE.Readable.from((async function*(){for(let r of e)for await(let s of r)yield s})())}}o(HJ,"concat");function uIe(){return`----AzSDKFormBoundary${nc()}`}o(uIe,"generateBoundary");function AIe(t){let e="";for(let[r,s]of t)e+=`${r}: ${s}\r `;return e}o(AIe,"encodeHeaders");function dIe(t){return t instanceof Uint8Array?t.byteLength:PE(t)?t.size===-1?void 0:t.size:void 0}o(dIe,"getLength");function pIe(t){let e=0;for(let r of t){let s=dIe(r);if(s===void 0)return;e+=s}return e}o(pIe,"getTotalLength");async function mIe(t,e,r){let s=[Mr(`--${r}`,"utf-8"),...e.flatMap(i=>[Mr(`\r `,"utf-8"),Mr(AIe(i.headers),"utf-8"),Mr(`\r `,"utf-8"),i.body,Mr(`\r --${r}`,"utf-8")]),Mr(`--\r \r `,"utf-8")],n=pIe(s);n&&t.headers.set("Content-Length",n),t.body=await HJ(s)}o(mIe,"buildRequestBody");var pp="multipartPolicy",hIe=70,fIe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function gIe(t){if(t.length>hIe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!fIe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(gIe,"assertValidBoundary");function DE(){return{name:pp,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?gIe(r):r=uIe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await mIe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(DE,"multipartPolicy");function _E(){return iE()}o(_E,"createEmptyPipeline");var zJ=rE({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),_3e=zJ.logger;function ei(t){return zJ.createClientLogger(t)}o(ei,"createClientLogger");var ti=ei("core-rest-pipeline");function TN(t={}){return AE({logger:ti.info,...t})}o(TN,"logPolicy");var vN=dE;function PN(t={}){return pE(t)}o(PN,"redirectPolicy");var LE=w(require("node:os"),1),ME=w(require("node:process"),1);function $J(){return"User-Agent"}o($J,"getHeaderName");async function VJ(t){if(ME.default&&ME.default.versions){let e=`${LE.default.type()} ${LE.default.release()}; ${LE.default.arch()}`,r=ME.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(VJ,"setPlatformSpecificData");var OE="1.22.2";function QIe(t){let e=[];for(let[r,s]of t){let n=s?`${r}/${s}`:r;e.push(n)}return e.join(" ")}o(QIe,"getUserAgentString");function YJ(){return $J()}o(YJ,"getUserAgentHeaderName");async function FE(t){let e=new Map;e.set("core-rest-pipeline",OE),await VJ(e);let r=QIe(e);return t?`${t} ${r}`:r}o(FE,"getUserAgentValue");var JJ=YJ(),WJ="userAgentPolicy";function kN(t={}){let e=FE(t.userAgentPrefix);return{name:WJ,async sendRequest(r,s){return r.headers.has(JJ)||r.headers.set(JJ,await e),s(r)}}}o(kN,"userAgentPolicy");var ms=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function DN(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(DN,"createAbortablePromise");var TIe="The delay was aborted.";function mp(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return DN(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??TIe})}o(mp,"delay");function Zo(t){if(ic(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(Zo,"getErrorMessage");function jJ(t){return ic(t)}o(jJ,"isError");function mu(){return nc()}o(mu,"randomUUID");var Se=cc;var KJ=Symbol("rawContent");function LN(t){return typeof t[KJ]=="function"}o(LN,"hasRawContent");function XJ(t){return LN(t)?t[KJ]():t}o(XJ,"getRawContent");var UE=pp;function MN(){let t=DE();return{name:UE,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let s of e.multipartBody.parts)LN(s.body)&&(s.body=XJ(s.body));return t.sendRequest(e,r)},"sendRequest")}}o(MN,"multipartPolicy");var ON=mE;function FN(){return hE()}o(FN,"decompressResponsePolicy");function UN(t={}){return EE(t)}o(UN,"defaultRetryPolicy");function qN(){return yE()}o(qN,"formDataPolicy");function ea(t){return QN(t)}o(ea,"getDefaultProxySettings");function GN(t,e){return RE(t,e)}o(GN,"proxyPolicy");var ZJ="setClientRequestIdPolicy";function HN(t="x-ms-client-request-id"){return{name:ZJ,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(HN,"setClientRequestIdPolicy");function zN(t){return TE(t)}o(zN,"agentPolicy");function $N(t){return vE(t)}o($N,"tlsPolicy");var hu={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function e3(t={}){let e=new VN(t.parentContext);return t.span&&(e=e.setValue(hu.span,t.span)),t.namespace&&(e=e.setValue(hu.namespace,t.namespace)),e}o(e3,"createTracingContext");var VN=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 r3=w(t3(),1),GE=r3.state;function vIe(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(vIe,"createDefaultTracingSpan");function PIe(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:vIe(),tracingContext:e3({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(PIe,"createDefaultInstrumenter");function hp(){return GE.instrumenterImplementation||(GE.instrumenterImplementation=PIe()),GE.instrumenterImplementation}o(hp,"getInstrumenter");function fp(t){let{namespace:e,packageName:r,packageVersion:s}=t;function n(u,A,d){let p=hp().startSpan(u,{...d,packageName:r,packageVersion:s,tracingContext:A?.tracingOptions?.tracingContext}),m=p.tracingContext,h=p.span;m.getValue(hu.namespace)||(m=m.setValue(hu.namespace,e)),h.setAttribute("az.namespace",m.getValue(hu.namespace));let g=Object.assign({},A,{tracingOptions:{...A?.tracingOptions,tracingContext:m}});return{span:h,updatedOptions:g}}o(n,"startSpan");async function i(u,A,d,p){let{span:m,updatedOptions:h}=n(u,A,p);try{let g=await a(h.tracingOptions.tracingContext,()=>Promise.resolve(d(h,m)));return m.setStatus({status:"success"}),g}catch(g){throw m.setStatus({status:"error",error:g}),g}finally{m.end()}}o(i,"withSpan");function a(u,A,...d){return hp().withContext(u,A,...d)}o(a,"withContext");function c(u){return hp().parseTraceparentHeader(u)}o(c,"parseTraceparentHeader");function l(u){return hp().createRequestHeaders(u)}return o(l,"createRequestHeaders"),{startSpan:n,withSpan:i,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(fp,"createTracingClient");var to=Br;function uc(t){return oE(t)}o(uc,"isRestError");var s3="tracingPolicy";function YN(t={}){let e=FE(t.userAgentPrefix),r=new Cn({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),s=kIe();return{name:s3,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}=DIe(s,n,c)??{};if(!l||!u)return i(n);try{let A=await s.withContext(u,i,n);return LIe(l,A),A}catch(A){throw _Ie(l,A),A}}}}o(YN,"tracingPolicy");function kIe(){try{return fp({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:OE})}catch(t){ti.warning(`Error when creating the TracingClient: ${Zo(t)}`);return}}o(kIe,"tryCreateTracingClient");function DIe(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){ti.warning(`Skipping creating a tracing span due to an error: ${Zo(s)}`);return}}o(DIe,"tryCreateSpan");function _Ie(t,e){try{t.setStatus({status:"error",error:jJ(e)?e:void 0}),uc(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){ti.warning(`Skipping tracing span processing due to an error: ${Zo(r)}`)}}o(_Ie,"tryProcessError");function LIe(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){ti.warning(`Skipping tracing span processing due to an error: ${Zo(r)}`)}}o(LIe,"tryProcessResponse");function HE(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(HE,"wrapAbortSignalLike");var MIe="wrapAbortSignalLikePolicy";function n3(){return{name:MIe,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:s}=HE(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{s?.()}},"sendRequest")}}o(n3,"wrapAbortSignalLikePolicy");function JN(t){let e=_E();return Se&&(t.agent&&e.addPolicy(zN(t.agent)),t.tlsOptions&&e.addPolicy($N(t.tlsOptions)),e.addPolicy(GN(t.proxyOptions)),e.addPolicy(FN())),e.addPolicy(n3()),e.addPolicy(qN(),{beforePolicies:[UE]}),e.addPolicy(kN(t.userAgentOptions)),e.addPolicy(HN(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(MN(),{afterPhase:"Deserialize"}),e.addPolicy(UN(t.retryOptions),{phase:"Retry"}),e.addPolicy(YN({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Se&&e.addPolicy(PN(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(TN(t.loggingOptions),{afterPhase:"Sign"}),e}o(JN,"createPipelineFromOptions");function gp(){let t=uE();return{async sendRequest(e){let{abortSignal:r,cleanup:s}=e.abortSignal?HE(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{s?.()}}}}o(gp,"createDefaultHttpClient");function ro(t){return As(t)}o(ro,"createHttpHeaders");function Ep(t){return nE(t)}o(Ep,"createPipelineRequest");var A5e=ei("core-rest-pipeline retryPolicy");var OIe={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function FIe(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(WN,"createTokenCycler");var c3="bearerTokenAuthenticationPolicy";async function zE(t,e){try{return[await e(t),void 0]}catch(r){if(uc(r)&&r.response)return[r.response,r];throw r}}o(zE,"trySendRequest");async function UIe(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(UIe,"defaultAuthorizeRequest");function i3(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(i3,"isChallengeResponse");async function o3(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(o3,"authorizeRequestOnCaeChallenge");function fu(t){let{credential:e,scopes:r,challengeCallbacks:s}=t,n=t.logger||ti,i={authorizeRequest:s?.authorizeRequest?.bind(s)??UIe,authorizeRequestOnChallenge:s?.authorizeRequestOnChallenge?.bind(s)},a=e?WN(e):()=>Promise.resolve(null);return{name:c3,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 zE(c,l),i3(u)){let p=a3(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 o3({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:n},m),d&&([u,A]=await zE(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 zE(c,l)),i3(u)&&(p=a3(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 o3({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:n},m),d&&([u,A]=await zE(c,l))}}if(A)throw A;return u}}}o(fu,"bearerTokenAuthenticationPolicy");function qIe(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(qIe,"parseChallenges");function a3(t){return t?qIe(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(a3,"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 jN="DisableKeepAlivePolicy";function l3(){return{name:jN,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(l3,"createDisableKeepAlivePolicy");function u3(t){return t.getOrderedPolicies().some(e=>e.name===jN)}o(u3,"pipelineContainsDisableKeepAlivePolicy");function KN(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(KN,"encodeByteArray");function XN(t){return Buffer.from(t,"base64")}o(XN,"decodeString");function HIe(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(HIe,"isPrimitiveBody");var zIe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function A3(t){return zIe.test(t)}o(A3,"isDuration");var $Ie=/^[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 d3(t){return $Ie.test(t)}o(d3,"isValidUuid");function VIe(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(VIe,"handleNullableResponseAndWrappableBody");function ZN(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 VIe({body:t.parsedBody,headers:r,hasNullableType:n,shouldWrapBody:HIe(t.parsedBody,i)})}o(ZN,"flattenResponse");var eS=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:g}=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",g)}}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=XIe(c,s,r):c.match(/^Enum$/i)!==null?a=ZIe(s,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=rBe(c,r,s):c.match(/^ByteArray$/i)!==null?a=eBe(s,r):c.match(/^Base64Url$/i)!==null?a=tBe(s,r):c.match(/^Sequence$/i)!==null?a=sBe(this,e,r,s,!!this.isXML,i):c.match(/^Dictionary$/i)!==null?a=nBe(this,e,r,s,!!this.isXML,i):c.match(/^Composite$/i)!==null&&(a=oBe(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=cBe(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=KIe(r):c.match(/^ByteArray$/i)!==null?a=XN(r):c.match(/^Base64Url$/i)!==null?a=WIe(r):c.match(/^Sequence$/i)!==null?a=uBe(this,e,r,s,i):c.match(/^Dictionary$/i)!==null&&(a=lBe(this,e,r,s,i))}return e.isConstant&&(a=e.defaultValue),a}};function fs(t={},e=!1){return new eS(t,e)}o(fs,"createSerializer");function YIe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(YIe,"trimEnd");function JIe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=KN(t);return YIe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(JIe,"bufferToBase64Url");function WIe(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,"/"),XN(t)}}o(WIe,"base64UrlToByteArray");function tS(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(tS,"splitSerializeName");function jIe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(jIe,"dateToUnixTime");function KIe(t){if(t)return new Date(t*1e3)}o(KIe,"unixTimeToDate");function XIe(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"&&d3(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(XIe,"serializeBasicTypes");function ZIe(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(ZIe,"serializeEnumType");function eBe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=KN(e)}return e}o(eBe,"serializeByteArrayType");function tBe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=JIe(e)}return e}o(tBe,"serializeBase64UrlType");function rBe(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=jIe(e)}else if(t.match(/^TimeSpan$/i)!==null&&!A3(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(rBe,"serializeDateTypes");function sBe(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(oBe,"serializeCompositeType");function f3(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(f3,"getXmlObjectValue");function aBe(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(aBe,"isSpecialXmlProperty");function cBe(t,e,r,s,n){let i=n.xml.xmlCharKey??"_";$E(t,e)&&(e=g3(t,e,r,"serializedName"));let a=h3(t,e,s),c={},l=[];for(let A of Object.keys(a)){let d=a[A],p=tS(a[A].serializedName);l.push(p[0]);let{serializedName:m,xmlName:h,xmlElementName:g}=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=g||h||m;if(d.xmlIsWrapped){let B=r[h]?.[g]??[];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(tS(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)&&!aBe(A,n)&&(c[A]=r[A]);return c}o(cBe,"deserializeCompositeType");function lBe(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(lBe,"deserializeDictionaryType");function uBe(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=C3(t,s);!a.propertyFound&&r&&(a=C3(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=ra(t,{parameterPath:l,mapper:c},r);u!==void 0&&(i||(i={}),i[a]=u)}}return i}o(ra,"getOperationArgumentValueFromParameter");function C3(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(gBe,"deserializeResponseBody");function EBe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(EBe,"isOperationSpecEmpty");function yBe(t,e,r,s){let n=200<=t.status&&t.status<300;if(EBe(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 to(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===ri.Sequence){h=[];let g=u.xmlElementName;typeof d=="object"&&g&&(h=d[g])}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(yBe,"handleErrorResponse");async function CBe(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||to.PARSE_ERROR;throw new to(u,{code:A,statusCode:r.status,request:r.request,response:r})}}return r}o(CBe,"parse");function w3(t){let e=new Set;for(let r in t.responses){let s=t.responses[r];s.bodyMapper&&s.bodyMapper.type.name===ri.Stream&&e.add(Number(r))}return e}o(w3,"getStreamingResponseStatusCodes");function si(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(si,"getPathStringFromParameter");var b3="serializationPolicy";function YE(t={}){let e=t.stringifyXML;return{name:b3,async sendRequest(r,s){let n=so(r),i=n?.operationSpec,a=n?.operationArguments;return i&&a&&(IBe(r,a,i),BBe(r,a,i,e)),s(r)}}}o(YE,"serializationPolicy");function IBe(t,e,r){if(r.headerParameters)for(let n of r.headerParameters){let i=ra(e,n);if(i!=null||n.mapper.required){i=r.serializer.serialize(n.mapper,i,si(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||si(n),i)}}let s=e.options?.requestOptions?.customHeaders;if(s)for(let n of Object.keys(s))t.headers.set(n,s[n])}o(IBe,"serializeHeaders");function BBe(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=ra(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:u,xmlName:A,xmlElementName:d,xmlNamespace:p,xmlNamespacePrefix:m,nullable:h}=c,g=c.type.name;try{if(t.body!==void 0&&t.body!==null||h&&t.body===null||l){let C=si(r.requestBody);t.body=r.serializer.serialize(c,t.body,C,i);let E=g===ri.Stream;if(r.isXML){let y=m?`xmlns:${m}`:"xmlns",I=wBe(p,y,g,t.body,i);g===ri.Sequence?t.body=s(bBe(I,d||A||u,y,p),{rootName:A||u,xmlCharKey:a}):E||(t.body=s(I,{rootName:A||u,xmlCharKey:a}))}else{if(g===ri.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=ra(e,c);if(l!=null){let u=c.mapper.serializedName||si(c);t.formData[u]=r.serializer.serialize(c.mapper,l,si(c),i)}}}}o(BBe,"serializeRequestBody");function wBe(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(wBe,"getXmlValueWithNamespace");function bBe(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(bBe,"prepareXMLRootList");function yp(t={}){let e=JN(t??{});return t.credentialOptions&&e.addPolicy(fu({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(YE(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(sS(t.deserializationOptions),{phase:"Deserialize"}),e}o(yp,"createClientPipeline");var nS;function Q3(){return nS||(nS=gp()),nS}o(Q3,"getCachedDefaultHttpClient");var QBe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function N3(t,e,r,s){let n=xBe(e,r,s),i=!1,a=x3(t,n);if(e.path){let u=x3(e.path,n);e.path==="/{nextLink}"&&u.startsWith("/")&&(u=u.substring(1)),NBe(u)?(a=u,i=!0):a=SBe(a,u)}let{queryParams:c,sequenceParams:l}=RBe(e,r,s);return a=vBe(a,c,l,i),a}o(N3,"getRequestUrl");function x3(t,e){let r=t;for(let[s,n]of e)r=r.split(s).join(n);return r}o(x3,"replaceAll");function xBe(t,e,r){let s=new Map;if(t.urlParameters?.length)for(let n of t.urlParameters){let i=ra(e,n,r),a=si(n);i=t.serializer.serialize(n.mapper,i,a),n.skipEncoding||(i=encodeURIComponent(i)),s.set(`{${n.mapper.serializedName||a}}`,i)}return s}o(xBe,"calculateUrlReplacements");function NBe(t){return t.includes("://")}o(NBe,"isAbsoluteUrl");function SBe(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(SBe,"appendPath");function RBe(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=ra(e,i,r);if(a!=null||i.mapper.required){a=t.serializer.serialize(i.mapper,a,si(i));let c=i.collectionFormat?QBe[i.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(l=>l??"")),i.collectionFormat==="Multi"&&a.length===0)continue;Array.isArray(a)&&(i.collectionFormat==="SSV"||i.collectionFormat==="TSV")&&(a=a.join(c)),i.skipEncoding||(Array.isArray(a)?a=a.map(l=>encodeURIComponent(l)):a=encodeURIComponent(a)),Array.isArray(a)&&(i.collectionFormat==="CSV"||i.collectionFormat==="Pipes")&&(a=a.join(c)),s.set(i.mapper.serializedName||si(i),a)}}return{queryParams:s,sequenceParams:n}}o(RBe,"calculateQueryParameters");function TBe(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(TBe,"simpleParseQueryParams");function vBe(t,e,r,s=!1){if(e.size===0)return t;let n=new URL(t),i=TBe(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(vBe,"appendQueryParams");var iS=ei("core-client");var Cp=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&&iS.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||Q3(),this.pipeline=e.pipeline||PBe(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=N3(s,r,e,this),i=Ep({url:n});i.method=r.httpMethod;let a=so(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=w3(r));try{let u=await this.sendRequest(i),A=ZN(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=ZN(A,r.responses[u.statusCode]||r.responses.default);u.details=d,l?.onResponse&&l.onResponse(A,d,u)}throw u}}};function PBe(t){let e=kBe(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return yp({...t,credentialOptions:r})}o(PBe,"createDefaultPipeline");function kBe(t){if(t.credentialScopes)return t.credentialScopes;if(t.endpoint)return`${t.endpoint}/.default`;if(t.baseUri)return`${t.baseUri}/.default`;if(t.credential&&!t.credentialScopes)throw new Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}o(kBe,"getCredentialScopes");var S3={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function DBe(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(DBe,"isUuid");var JE=o(async t=>{let e=FBe(t.request),r=MBe(t.response);if(r){let s=OBe(r),n=LBe(t,s),i=_Be(s);if(!i)return!1;let a=await t.getAccessToken(n,{...e,tenantId:i});return a?(t.request.headers.set(S3.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function _Be(t){let s=new URL(t.authorization_uri).pathname.split("/")[1];if(s&&DBe(s))return s}o(_Be,"extractTenantId");function LBe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=S3.DefaultScope;let s=r.toString();return s==="https://disk.azure.com/.default"&&(s="https://disk.azure.com//.default"),[s]}o(LBe,"buildScopes");function MBe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(MBe,"getChallenge");function OBe(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(OBe,"parseChallenge");function FBe(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(FBe,"requestToOptions");var R3=Symbol("Original PipelineRequest"),UBe=Symbol.for("@azure/core-client original request");function Bp(t,e={}){let s=t[R3],n=ro(t.headers.toJson({preserveCase:!0}));if(s)return s.headers=n,s;{let i=Ep({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[UBe]=e.originalRequest),i}}o(Bp,"toPipelineRequest");function Ac(t,e){let r=e?.originalRequest??t,s={url:t.url,method:t.method,headers:wp(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===R3?t:i==="clone"?()=>Ac(Bp(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(Ac,"toWebResourceLike");function wp(t){return new oS(t.toJSON({preserveCase:!0}))}o(wp,"toHttpHeadersLike");function Ip(t){return t.toLowerCase()}o(Ip,"getHeaderKey");var oS=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[Ip(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[Ip(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[Ip(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[Ip(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(Ac(e,{createProxy:!0}));return jE(r)},"sendRequest")}}o(lS,"convertHttpClient");var P3=":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",HBe=P3+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",zBe="["+P3+"]["+HBe+"]*",$Be=new RegExp("^"+zBe+"$");function KE(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 k3(t){return typeof t<"u"}o(k3,"isExist");var Qp=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],XE=["__proto__","constructor","prototype"];var VBe={allowBooleanAttributes:!1,unpairedTags:[]};function ZE(t,e){e=Object.assign({},VBe,e);let r=[],s=!1,n=!1;t[0]==="\uFEFF"&&(t=t.substr(1));for(let i=0;i"&&t[i]!==" "&&t[i]!==" "&&t[i]!==` `&&t[i]!=="\r";i++)l+=t[i];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),i--),!ewe(l)){let d;return l.trim().length===0?d="Invalid space after '<'.":d="Tag '"+l+"' is an invalid name.",yt("InvalidTag",d,wr(t,i))}let u=WBe(t,i);if(u===!1)return yt("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=M3(A,e);if(p===!0)s=!0;else return yt(p.err.code,p.err.msg,wr(t,d+p.err.line))}else if(c)if(u.tagClosed){if(A.trim().length>0)return yt("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",wr(t,a));if(r.length===0)return yt("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 yt("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 yt("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",wr(t,i));else{let d=M3(A,e);if(d!==!0)return yt(d.err.code,d.err.msg,wr(t,i-A.length+d.err.line));if(n===!0)return yt("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 yt("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return yt("InvalidXml","Start tag expected.",1);return!0}o(ZE,"validate");function D3(t){return t===" "||t===" "||t===` `||t==="\r"}o(D3,"isWhiteSpace");function _3(t,e){let r=e;for(;e5&&s==="xml")return yt("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(_3,"readPI");function L3(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(L3,"readCommentAndCDATA");var YBe='"',JBe="'";function WBe(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(WBe,"readAttributeStr");var jBe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function M3(t,e){let r=KE(t,jBe),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"},F3={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"},U3={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"},q3={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"},G3={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"},H3={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:"<"},z3={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"},$3={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"},V3={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"},Y3={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"},ey={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"},J3={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"},W3={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"},twe={...O3,...F3,...U3,...q3,...G3,...H3,...z3,...$3,...V3,...Y3,...ey,...J3,...W3},Np={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},uS={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 rwe=new Set("!?\\\\/[]$%{}^&*()<>|+");function j3(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(rwe.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}o(j3,"validateEntityName");function AS(...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(AS,"mergeEntityMaps");var dc="external",ty="base",dS="all";function swe(t){return!t||t===dc?new Set([dc]):t===dS?new Set([dS]):t===ty?new Set([ty]):Array.isArray(t)?new Set(t):new Set([dc])}o(swe,"parseLimitTiers");var Fr=Object.freeze({allow:0,leave:1,remove:2,throw:3}),nwe=new Set([9,10,13]);function iwe(t){if(!t)return{xmlVersion:1,onLevel:Fr.allow,nullLevel:Fr.remove};let e=t.xmlVersion===1.1?1.1:1,r=Fr[t.onNCR]??Fr.allow,s=Fr[t.nullNCR]??Fr.remove,n=Math.max(s,Fr.remove);return{xmlVersion:e,onLevel:r,nullLevel:n}}o(iwe,"parseNCRConfig");var yu=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=swe(this._limit.applyLimitsTo??dc),this._numericAllowed=e.numericAllowed??!0,this._baseMap=AS(Np,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=iwe(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel}setExternalEntities(e){if(e)for(let r of Object.keys(e))j3(r);this._externalMap=AS(e)}addExternalEntity(e,r){j3(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=AS(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=dc);else if(this._leaveSet.has(p)){a++;continue}else if(p.charCodeAt(0)===35){let g=this._resolveNCR(p);if(g===void 0){a++;continue}m=g,h=ty}else{let g=this._resolveName(p);m=g?.value,h=g?.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 g=m.length-(p.length+2);if(g>0&&(this._expandedLength+=g,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!nwe.has(e)?Fr.remove:-1}_applyNCRAction(e,r,s){switch(e){case Fr.allow:return String.fromCodePoint(s);case Fr.remove:return"";case Fr.leave:return;case Fr.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&&nQp.includes(t)?"__"+t:t,"defaultOnDangerousProperty"),owe={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:K3};function awe(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(Qp.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(XE.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(awe,"validatePropertyName");function X3(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"}:X3(!0)}o(X3,"normalizeProcessEntities");var Z3=o(function(t){let e=Object.assign({},owe,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&&awe(s,n);return e.onDangerousProperty===null&&(e.onDangerousProperty=K3),e.processEntities=X3(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 ry;typeof Symbol!="function"?ry="@@xmlMetadata":ry=Symbol("XML Node Metadata");var Ur=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][ry]={startIndex:r})}static getMetaDataSymbol(){return ry}};var Rp=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&&pc(e,"!ELEMENT",r)){r+=8;let{index:u}=this.readElementExp(e,r+1);r=u}else if(a&&pc(e,"!ATTLIST",r))r+=8;else if(a&&pc(e,"!NOTATION",r)){r+=9;let{index:u}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=u}else if(pc(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=qr(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=qr(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 hwe(t,Number(r),e)}o(pS,"toNumber");var Awe=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function dwe(t,e,r){if(!r.eNotation)return t;let s=e.match(Awe);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(dwe,"resolveEnotation");function pwe(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(pwe,"trimZeros");function mwe(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(mwe,"parse_int");function hwe(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(hwe,"handleInfinity");function mS(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(mS,"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)}},ni=class{static{o(this,"Matcher")}constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new hS(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 fwe(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(fwe,"extractRawAttributes");function gwe(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(gwe,"extractNamespace");var Tp=class{static{o(this,"OrderedObjParser")}constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=Bwe,this.parseTextData=Ewe,this.resolveNameSpace=ywe,this.buildAttributesMap=Iwe,this.isItStopNode=xwe,this.replaceEntitiesValue=bwe,this.readStopNodeData=Rwe,this.saveTextToParentTag=Qwe,this.addChild=wwe,this.ignoreAttributesFn=mS(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let r={...Np};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?r=this.options.htmlEntities:this.options.htmlEntities===!0&&(r={...uS,...ey}),this.entityDecoder=new yu({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 ni,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new Cu;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?ES(t,c.parseTagValue,c.numberParseOptions):t}}o(Ewe,"parseTextData");function ywe(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(ywe,"resolveNameSpace");var Cwe=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Iwe(t,e,r,s=!1){let n=this.options;if(s===!0||n.ignoreAttributes!==!0&&typeof t=="string"){let i=KE(t,Cwe),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=fS(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=gS(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 Ur(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=Iu(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=Iu(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=gS(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,g=A.closeIndex;if({tagName:d,tagExp:m}=fS(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=gwe(p),d!==e.tagname&&this.matcher.push(d,{},B),d!==m&&h&&(y=this.buildAttributesMap(m,this.matcher,d),y&&(I=fwe(y,n))),d!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let x=c;if(this.isCurrentNodeStopNode){let R="";if(E)c=A.closeIndex;else if(n.unpairedTagsSet.has(d))c=A.closeIndex;else{let ye=this.readStopNodeData(t,p,g+1);if(!ye)throw new Error(`Unexpected end of ${p}`);c=ye.i,R=ye.tagContent}let q=new Ur(d);y&&(q[":@"]=y),q.add(n.textNodeName,R),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,q,this.readonlyMatcher,x)}else{if(E){({tagName:d,tagExp:m}=fS(n.transformTagName,d,m,n));let R=new Ur(d);y&&(R[":@"]=y),this.addChild(r,R,this.readonlyMatcher,x),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(d)){let R=new Ur(d);y&&(R[":@"]=y),this.addChild(r,R,this.readonlyMatcher,x),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=A.closeIndex;continue}else{let R=new Ur(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,x),r=R}s="",c=g}}}else s+=t[c];return e.child},"parseXml");function wwe(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(wwe,"addChild");function bwe(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(bwe,"replaceEntitiesValue");function Qwe(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(Qwe,"saveTextToParentTag");function xwe(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(xwe,"isItStopNode");function Nwe(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=Iu(t,"?>",r+1,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=Iu(t,"-->",r+3,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===91)r=Iu(t,"]]>",r,"StopNode is not closed.")-2;else{let c=gS(t,r,">");c&&((c&&c.tagName)===e&&c.tagExp[c.tagExp.length-1]!=="/"&&n++,r=c.closeIndex)}}}o(Rwe,"readStopNodeData");function ES(t,e,r){if(e&&typeof t=="string"){let s=t.trim();return s==="true"?!0:s==="false"?!1:pS(t,r)}else return k3(t)?t:""}o(ES,"parseValue");function fS(t,e,r,s){if(t){let n=t(e);r===e&&(r=n),e=n}return e=e4(e,s),{tagName:e,tagExp:r}}o(fS,"transformTagName");function e4(t,e){if(XE.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return Qp.includes(t)?e.onDangerousProperty(t):t}o(e4,"sanitizeName");var yS=Ur.getMetaDataSymbol();function Twe(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(Twe,"stripAttributePrefix");function CS(t,e,r,s){return t4(t,e,r,s)}o(CS,"prettify");function t4(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(t4,"compress");function vwe(t){let e=Object.keys(t);for(let r=0;r/g,"]]]]>")}o(ny,"safeCdata");function sa(t){return String(t).replace(/"/g,""").replace(/'/g,"'")}o(sa,"escapeAttribute");var r4=":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",Dwe=r4+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",s4=":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}",_we=s4+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",n4=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"),Lwe=n4(r4,Dwe),Mwe=n4(s4,_we,"u"),Owe=o((t="1.0")=>t==="1.1"?Mwe:Lwe,"getRegexes");var iy=o((t,{xmlVersion:e="1.0"}={})=>Owe(e).qName.test(t),"qName");var Fwe=` `;function Uwe(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(wS(r)==="?xml"){let n=r[":@"];if(n){let i=e.attributeNamePrefix+"version";if(n[i])return n[i]}}return"1.0"}o(Uwe,"detectXmlVersionFromArray");function o4(t,e,r,s,n){return!r.sanitizeName||iy(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(o4,"resolveTagName");function BS(t,e){let r="";e.format&&(r=Fwe);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=IS(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=sy(I);a+=r+``,c=!0,s.pop();continue}else if(p[0]==="?"){let I=i4(u[":@"],e,h,s,i);a+=(p==="?xml"?"":r)+`<${p}${I}?>`,c=!0,s.pop();continue}let g=r;g!==""&&(g+=e.indentBy);let C=i4(u[":@"],e,h,s,i),E=r+`<${p}${C}`,y;h?y=c4(u[A],e):y=a4(u[A],e,g,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(a4,"arrToStr");function qwe(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]=sa(t[n]),s=!0}return s?r:null}o(qwe,"extractAttributeValues");function c4(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(c4,"getRawContent");function Gwe(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)}="${sa(n)}"`}return r}o(Gwe,"attr_to_str_raw");function wS(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(bS,"getIgnoreAttributesFn");var zwe={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 Gr(t){if(this.options=Object.assign({},zwe,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(Gr,"Builder");function $we(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($we,"detectXmlVersionFromObj");function QS(t,e,r,s,n){return!r.sanitizeName||iy(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(QS,"resolveTagName");Gr.prototype.build=function(t){if(this.options.preserveOrder)return BS(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new ni,r=$we(t,this.options);return this.j2x(t,0,e,r).val}};Gr.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:QS(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=QS(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(g===null)A[0]==="?"?i+=this.indentate(e)+"<"+A+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+A+"/"+this.tagEndChar;else if(typeof g=="object")if(this.options.oneListGroup){r.push(A);let C=this.j2x(g,e+1,r,s);r.pop(),p+=C.val,this.options.attributesGroupName&&g.hasOwnProperty(this.options.attributesGroupName)&&(m+=C.attrStr)}else p+=this.processTextOrObjNode(g,A,e,r,s);else if(this.options.oneListGroup){let C=this.options.tagValueProcessor(A,g);C=this.replaceEntitiesValue(C),p+=C}else{r.push(A);let C=this.checkStopNode(r);if(r.pop(),C){let E=""+g;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};Gr.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};Gr.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}};Gr.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=sy(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(oy,"stringifyXML");async function NS(t,e={}){if(!t)throw new Error("Document is empty");let r=l4.validate(t);if(r!==!0)throw r;let n=new Bu(jwe(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(NS,"parseXML");var ay=ei("storage-blob");var h4=require("events");var p4=require("node:stream");var cy=class extends p4.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 m4=w(require("node:buffer"),1);var ly=m4.default.constants.MAX_LENGTH,uy=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/ly);for(let i=0;i0&&(e[0]=e[0].slice(a))}getReadableStream(){return new cy(this.buffers,this.size)}};var Ay=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new h4.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 uy(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 SS;function RS(){return SS||(SS=gp()),SS}o(RS,"getCachedDefaultHttpClient");var ii=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 no={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 na(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(na,"setURLParameter");function dy(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(dy,"setURLHost");function py(t){try{return new URL(t).pathname}catch{return}}o(py,"getURLPath");function my(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(hy,"delay");var vp=class extends ii{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return Se?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=na(e.url,no.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 Pp=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new vp(e,r)}};var mc=class extends ii{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var kp=class extends mc{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var hc=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var je=class extends hc{static{o(this,"AnonymousCredential")}create(e,r){return new kp(e,r)}};var f4=require("node:crypto");var Kwe=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]),Xwe=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]),Zwe=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 fy(t,e){return ebe(t,e)?-1:1}o(fy,"compareHeader");function ebe(t,e){let r=[Kwe,Xwe,Zwe],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)=>fy(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=py(e.url)||"/",s="";s+=`/${this.factory.accountName}${r}`;let n=my(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 ot=class extends hc{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new Dp(e,r,this)}computeHMACSHA256(e){return(0,f4.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var kt=ei("storage-common");var Hs;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(Hs||(Hs={}));var ia={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Hs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},tbe=new ms("The operation was aborted."),_p=class extends ii{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,s=ia){super(e,r),this.retryOptions={retryPolicyType:s.retryPolicyType?s.retryPolicyType:ia.retryPolicyType,maxTries:s.maxTries&&s.maxTries>=1?Math.floor(s.maxTries):ia.maxTries,tryTimeoutInMs:s.tryTimeoutInMs&&s.tryTimeoutInMs>=0?s.tryTimeoutInMs:ia.tryTimeoutInMs,retryDelayInMs:s.retryDelayInMs&&s.retryDelayInMs>=0?Math.min(s.retryDelayInMs,s.maxRetryDelayInMs?s.maxRetryDelayInMs:ia.maxRetryDelayInMs):ia.retryDelayInMs,maxRetryDelayInMs:s.maxRetryDelayInMs&&s.maxRetryDelayInMs>=0?s.maxRetryDelayInMs:ia.maxRetryDelayInMs,secondaryHost:s.secondaryHost?s.secondaryHost:ia.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=dy(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=na(n.url,no.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(kt.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(kt.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 kt.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 kt.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 kt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return kt.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')?(kt.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 kt.info(`RetryPolicy: Delay for ${n}ms`),hy(n,s,tbe)}};var Lp=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new _p(e,r,this.retryOptions)}};var rbe="storageBrowserPolicy";function g4(){return{name:rbe,async sendRequest(t,e){return Se||((t.method==="GET"||t.method==="HEAD")&&(t.url=na(t.url,no.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(re.COOKIE),t.headers.delete(re.CONTENT_LENGTH)),e(t)}}}o(g4,"storageBrowserPolicy");var sbe="StorageCorrectContentLengthPolicy";function E4(){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:sbe,async sendRequest(e,r){return t(e),r(e)}}}o(E4,"storageCorrectContentLengthPolicy");var nbe="storageRetryPolicy",wu={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Hs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},ibe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],obe=new ms("The operation was aborted.");function y4(t={}){let e=t.retryPolicyType??wu.retryPolicyType,r=t.maxTries??wu.maxTries,s=t.retryDelayInMs??wu.retryDelayInMs,n=t.maxRetryDelayInMs??wu.maxRetryDelayInMs,i=t.secondaryHost??wu.secondaryHost,a=t.tryTimeoutInMs??wu.tryTimeoutInMs;function c({isPrimaryRetry:u,attempt:A,response:d,error:p}){if(A>=r)return kt.info(`RetryPolicy: Attempt(s) ${A} >= maxTries ${r}, no further try.`),!1;if(p){for(let m of ibe)if(p.name.toUpperCase().includes(m)||p.message.toUpperCase().includes(m)||p.code&&p.code.toString().toUpperCase()===m)return kt.info(`RetryPolicy: Network error ${m} found, will retry.`),!0;if(p?.code==="PARSE_ERROR"&&p?.message.startsWith('Error "Error: Unclosed root tag'))return kt.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 kt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(m===503||m===500)return kt.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 kt.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:nbe,async sendRequest(u,A){a&&(u.url=na(u.url,no.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=u.url,p=i?dy(u.url,i):void 0,m=!1,h=1,g=!0,C,E;for(;g;){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{kt.info(`RetryPolicy: =====> Try=${h} ${y?"Primary":"Secondary"}`),C=await A(u),m=m||!y&&C.status===404}catch(I){if(uc(I))kt.error(`RetryPolicy: Caught error, message: ${I.message}, code: ${I.code}`),E=I;else throw kt.error(`RetryPolicy: Caught error, message: ${Zo(I)}`),I}g=c({isPrimaryRetry:y,attempt:h,response:C,error:E}),g&&await hy(l(y,h),u.abortSignal,obe),h++}if(C)return C;throw E??new to("RetryPolicy failed without known error.")}}}o(y4,"storageRetryPolicy");var C4=require("node:crypto");var abe="storageSharedKeyCredentialPolicy";function TS(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,C4.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)=>fy(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=py(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=my(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:abe,async sendRequest(i,a){return e(i),a(i)}}}o(TS,"storageSharedKeyCredentialPolicy");var cbe="storageRequestFailureDetailsParserPolicy";function I4(){return{name:cbe,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(I4,"storageRequestFailureDetailsParserPolicy");var B4=require("node:crypto");var gy=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,B4.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var Ey="12.31.0",yy="2026-02-06";var Cy="https://storage.azure.com/.default",io={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var In="",vS="*",lbe=1*1024*1024;var ube=4*lbe;var w4="AES256",b4="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",Q4=["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"],x4=["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"],N4="BlobUsesCustomerSpecifiedEncryption",S4="BlobDoesNotUseCustomerSpecifiedEncryption",R4=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function oo(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(oo,"isPipelineLike");var Mp=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 Ct(t,e={}){t||(t=new je);let r=new Mp([],e);return r._credential=t,r}o(Ct,"newPipeline");function Abe(t){let e=[dbe,T4,pbe,mbe,hbe,fbe,Ebe];if(t.factories.length){let r=t.factories.filter(s=>!e.some(n=>n(s)));if(r.length){let s=r.some(n=>gbe(n));return{wrappedPolicies:cS(r),afterRetry:s}}}}o(Abe,"processDownlevelPipeline");function PS(t){let{httpClient:e,...r}=t.options,s=t._coreHttpClient;s||(s=e?lS(e):RS(),t._coreHttpClient=s);let n=t._corePipeline;if(!n){let i=`azsdk-js-azure-storage-blob/${Ey}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;n=yp({...r,loggingOptions:{additionalAllowedHeaderNames:Q4,additionalAllowedQueryParameters:x4,logger:ay.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:oy,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:NS,serializerOptions:{xml:{xmlCharKey:"#"}}}}),n.removePolicy({phase:"Retry"}),n.removePolicy({name:ON}),n.addPolicy(E4()),n.addPolicy(y4(r.retryOptions),{phase:"Retry"}),n.addPolicy(I4()),n.addPolicy(g4());let c=Abe(t);c&&n.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=kS(t);hs(l)?n.addPolicy(fu({credential:l,scopes:r.audience??Cy,challengeCallbacks:{authorizeRequestOnChallenge:JE}}),{phase:"Sign"}):l instanceof ot&&n.addPolicy(TS({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=n}return{...r,allowInsecureConnection:!0,httpClient:s,pipeline:n}}o(PS,"getCoreClientOptions");function kS(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(T4(r))return r;return e}o(kS,"getCredentialFromPipeline");function T4(t){return t instanceof ot?!0:t.constructor.name==="StorageSharedKeyCredential"}o(T4,"isStorageSharedKeyCredential");function dbe(t){return t instanceof je?!0:t.constructor.name==="AnonymousCredential"}o(dbe,"isAnonymousCredential");function pbe(t){return hs(t.credential)}o(pbe,"isCoreHttpBearerTokenFactory");function mbe(t){return t instanceof Pp?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(mbe,"isStorageBrowserPolicyFactory");function hbe(t){return t instanceof Lp?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(hbe,"isStorageRetryPolicyFactory");function fbe(t){return t.constructor.name==="TelemetryPolicyFactory"}o(fbe,"isStorageTelemetryPolicyFactory");function gbe(t){return t.constructor.name==="InjectorPolicyFactory"}o(gbe,"isInjectorPolicyFactory");function Ebe(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(Ebe,"isCoreHttpPolicyFactory");var v4;(function(t){t.AES256="AES256"})(v4||(v4={}));var P4;(function(t){t.Backup="backup"})(P4||(P4={}));var k4;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(k4||(k4={}));var D4;(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"})(D4||(D4={}));var Es={};LZ(Es,{AccessPolicy:()=>Tbe,AppendBlobAppendBlockExceptionHeaders:()=>ZT,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>tv,AppendBlobAppendBlockFromUrlHeaders:()=>ev,AppendBlobAppendBlockHeaders:()=>XT,AppendBlobCreateExceptionHeaders:()=>KT,AppendBlobCreateHeaders:()=>jT,AppendBlobSealExceptionHeaders:()=>sv,AppendBlobSealHeaders:()=>rv,ArrowConfiguration:()=>zbe,ArrowField:()=>$be,BlobAbortCopyFromURLExceptionHeaders:()=>wT,BlobAbortCopyFromURLHeaders:()=>BT,BlobAcquireLeaseExceptionHeaders:()=>aT,BlobAcquireLeaseHeaders:()=>oT,BlobBreakLeaseExceptionHeaders:()=>hT,BlobBreakLeaseHeaders:()=>mT,BlobChangeLeaseExceptionHeaders:()=>pT,BlobChangeLeaseHeaders:()=>dT,BlobCopyFromURLExceptionHeaders:()=>IT,BlobCopyFromURLHeaders:()=>CT,BlobCreateSnapshotExceptionHeaders:()=>gT,BlobCreateSnapshotHeaders:()=>fT,BlobDeleteExceptionHeaders:()=>$R,BlobDeleteHeaders:()=>zR,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>tT,BlobDeleteImmutabilityPolicyHeaders:()=>eT,BlobDownloadExceptionHeaders:()=>qR,BlobDownloadHeaders:()=>By,BlobFlatListSegment:()=>vbe,BlobGetAccountInfoExceptionHeaders:()=>xT,BlobGetAccountInfoHeaders:()=>QT,BlobGetPropertiesExceptionHeaders:()=>HR,BlobGetPropertiesHeaders:()=>GR,BlobGetTagsExceptionHeaders:()=>RT,BlobGetTagsHeaders:()=>ST,BlobHierarchyListSegment:()=>_be,BlobItemInternal:()=>Pbe,BlobName:()=>kbe,BlobPrefix:()=>Lbe,BlobPropertiesInternal:()=>Dbe,BlobQueryExceptionHeaders:()=>NT,BlobQueryHeaders:()=>by,BlobReleaseLeaseExceptionHeaders:()=>lT,BlobReleaseLeaseHeaders:()=>cT,BlobRenewLeaseExceptionHeaders:()=>AT,BlobRenewLeaseHeaders:()=>uT,BlobServiceProperties:()=>Op,BlobServiceStatistics:()=>DS,BlobSetExpiryExceptionHeaders:()=>WR,BlobSetExpiryHeaders:()=>JR,BlobSetHttpHeadersExceptionHeaders:()=>KR,BlobSetHttpHeadersHeaders:()=>jR,BlobSetImmutabilityPolicyExceptionHeaders:()=>ZR,BlobSetImmutabilityPolicyHeaders:()=>XR,BlobSetLegalHoldExceptionHeaders:()=>sT,BlobSetLegalHoldHeaders:()=>rT,BlobSetMetadataExceptionHeaders:()=>iT,BlobSetMetadataHeaders:()=>nT,BlobSetTagsExceptionHeaders:()=>vT,BlobSetTagsHeaders:()=>TT,BlobSetTierExceptionHeaders:()=>bT,BlobSetTierHeaders:()=>wy,BlobStartCopyFromURLExceptionHeaders:()=>yT,BlobStartCopyFromURLHeaders:()=>ET,BlobTag:()=>Sbe,BlobTags:()=>Up,BlobUndeleteExceptionHeaders:()=>YR,BlobUndeleteHeaders:()=>VR,Block:()=>Mbe,BlockBlobCommitBlockListExceptionHeaders:()=>pv,BlockBlobCommitBlockListHeaders:()=>dv,BlockBlobGetBlockListExceptionHeaders:()=>hv,BlockBlobGetBlockListHeaders:()=>mv,BlockBlobPutBlobFromUrlExceptionHeaders:()=>av,BlockBlobPutBlobFromUrlHeaders:()=>ov,BlockBlobStageBlockExceptionHeaders:()=>lv,BlockBlobStageBlockFromURLExceptionHeaders:()=>Av,BlockBlobStageBlockFromURLHeaders:()=>uv,BlockBlobStageBlockHeaders:()=>cv,BlockBlobUploadExceptionHeaders:()=>iv,BlockBlobUploadHeaders:()=>nv,BlockList:()=>qS,BlockLookupList:()=>US,ClearRange:()=>Fbe,ContainerAcquireLeaseExceptionHeaders:()=>xR,ContainerAcquireLeaseHeaders:()=>QR,ContainerBreakLeaseExceptionHeaders:()=>PR,ContainerBreakLeaseHeaders:()=>vR,ContainerChangeLeaseExceptionHeaders:()=>DR,ContainerChangeLeaseHeaders:()=>kR,ContainerCreateExceptionHeaders:()=>oR,ContainerCreateHeaders:()=>iR,ContainerDeleteExceptionHeaders:()=>uR,ContainerDeleteHeaders:()=>lR,ContainerFilterBlobsExceptionHeaders:()=>bR,ContainerFilterBlobsHeaders:()=>wR,ContainerGetAccessPolicyExceptionHeaders:()=>mR,ContainerGetAccessPolicyHeaders:()=>pR,ContainerGetAccountInfoExceptionHeaders:()=>UR,ContainerGetAccountInfoHeaders:()=>FR,ContainerGetPropertiesExceptionHeaders:()=>cR,ContainerGetPropertiesHeaders:()=>aR,ContainerItem:()=>Qbe,ContainerListBlobFlatSegmentExceptionHeaders:()=>LR,ContainerListBlobFlatSegmentHeaders:()=>_R,ContainerListBlobHierarchySegmentExceptionHeaders:()=>OR,ContainerListBlobHierarchySegmentHeaders:()=>MR,ContainerProperties:()=>xbe,ContainerReleaseLeaseExceptionHeaders:()=>SR,ContainerReleaseLeaseHeaders:()=>NR,ContainerRenameExceptionHeaders:()=>CR,ContainerRenameHeaders:()=>yR,ContainerRenewLeaseExceptionHeaders:()=>TR,ContainerRenewLeaseHeaders:()=>RR,ContainerRestoreExceptionHeaders:()=>ER,ContainerRestoreHeaders:()=>gR,ContainerSetAccessPolicyExceptionHeaders:()=>fR,ContainerSetAccessPolicyHeaders:()=>hR,ContainerSetMetadataExceptionHeaders:()=>dR,ContainerSetMetadataHeaders:()=>AR,ContainerSubmitBatchExceptionHeaders:()=>BR,ContainerSubmitBatchHeaders:()=>IR,CorsRule:()=>Bbe,DelimitedTextConfiguration:()=>Gbe,FilterBlobItem:()=>Nbe,FilterBlobSegment:()=>Fp,GeoReplication:()=>bbe,JsonTextConfiguration:()=>Hbe,KeyInfo:()=>LS,ListBlobsFlatSegmentResponse:()=>OS,ListBlobsHierarchySegmentResponse:()=>FS,ListContainersSegmentResponse:()=>_S,Logging:()=>ybe,Metrics:()=>Ibe,PageBlobClearPagesExceptionHeaders:()=>MT,PageBlobClearPagesHeaders:()=>LT,PageBlobCopyIncrementalExceptionHeaders:()=>WT,PageBlobCopyIncrementalHeaders:()=>JT,PageBlobCreateExceptionHeaders:()=>kT,PageBlobCreateHeaders:()=>PT,PageBlobGetPageRangesDiffExceptionHeaders:()=>HT,PageBlobGetPageRangesDiffHeaders:()=>GT,PageBlobGetPageRangesExceptionHeaders:()=>qT,PageBlobGetPageRangesHeaders:()=>UT,PageBlobResizeExceptionHeaders:()=>$T,PageBlobResizeHeaders:()=>zT,PageBlobUpdateSequenceNumberExceptionHeaders:()=>YT,PageBlobUpdateSequenceNumberHeaders:()=>VT,PageBlobUploadPagesExceptionHeaders:()=>_T,PageBlobUploadPagesFromURLExceptionHeaders:()=>FT,PageBlobUploadPagesFromURLHeaders:()=>OT,PageBlobUploadPagesHeaders:()=>DT,PageList:()=>Iy,PageRange:()=>Obe,QueryFormat:()=>qbe,QueryRequest:()=>GS,QuerySerialization:()=>Ube,RetentionPolicy:()=>Cbe,ServiceFilterBlobsExceptionHeaders:()=>nR,ServiceFilterBlobsHeaders:()=>sR,ServiceGetAccountInfoExceptionHeaders:()=>eR,ServiceGetAccountInfoHeaders:()=>ZS,ServiceGetPropertiesExceptionHeaders:()=>VS,ServiceGetPropertiesHeaders:()=>$S,ServiceGetStatisticsExceptionHeaders:()=>JS,ServiceGetStatisticsHeaders:()=>YS,ServiceGetUserDelegationKeyExceptionHeaders:()=>XS,ServiceGetUserDelegationKeyHeaders:()=>KS,ServiceListContainersSegmentExceptionHeaders:()=>jS,ServiceListContainersSegmentHeaders:()=>WS,ServiceSetPropertiesExceptionHeaders:()=>zS,ServiceSetPropertiesHeaders:()=>HS,ServiceSubmitBatchExceptionHeaders:()=>rR,ServiceSubmitBatchHeaders:()=>tR,SignedIdentifier:()=>Rbe,StaticWebsite:()=>wbe,StorageError:()=>T,UserDelegationKey:()=>MS});var Op={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"}}}}},ybe={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"}}}}},Cbe={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"}}}}},Ibe={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"}}}}},Bbe={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"}}}}},wbe={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"}}}}},DS={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},bbe={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"}}}}},_S={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"}}}}},Qbe={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"}}}}}}},xbe={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"}}}}},LS={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"}}}}},MS={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"}}}}},Fp={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"}}}}},Nbe={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"}}}}},Up={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"}}}}}}},Sbe={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"}}}}},Rbe={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"}}}}},Tbe={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"}}}}},OS={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"}}}}},vbe={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"}}}}}}},Pbe={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"}}}}},kbe={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"}}}}},Dbe={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"}}}}},FS={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"}}}}},_be={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"}}}}}}},Lbe={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},US={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"}}}}}}},qS={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"}}}}}}},Mbe={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"}}}}},Iy={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"}}}}},Obe={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"}}}}},Fbe={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"}}}}},GS={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"}}}}},Ube={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},qbe={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"}}}}}}},Gbe={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"}}}}},Hbe={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},zbe={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"}}}}}}},$be={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"}}}}},HS={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"}}}}},zS={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$S={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"}}}}},VS={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YS={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"}}}}},JS={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WS={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"}}}}},jS={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KS={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"}}}}},XS={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZS={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"}}}}},eR={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tR={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"}}}}},rR={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sR={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"}}}}},nR={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iR={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"}}}}},oR={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aR={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"}}}}},cR={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lR={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"}}}}},uR={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AR={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"}}}}},dR={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pR={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"}}}}},mR={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hR={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"}}}}},fR={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gR={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"}}}}},ER={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yR={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"}}}}},CR={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IR={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"}}}}},BR={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wR={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"}}}}},bR={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QR={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"}}}}},xR={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NR={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"}}}}},SR={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RR={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},TR={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vR={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"}}}}},PR={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kR={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"}}}}},DR={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_R={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"}}}}},LR={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MR={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"}}}}},OR={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FR={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"}}}}},UR={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},By={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"}}}}},qR={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GR={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"}}}}},HR={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zR={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"}}}}},$R={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VR={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"}}}}},YR={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JR={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"}}}}},WR={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jR={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"}}}}},KR={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XR={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"]}}}}},ZR={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eT={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"}}}}},tT={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rT={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"}}}}},sT={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nT={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"}}}}},iT={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oT={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"}}}}},aT={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cT={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"}}}}},lT={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uT={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"}}}}},AT={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dT={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"}}}}},pT={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mT={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"}}}}},hT={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fT={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"}}}}},gT={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ET={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"}}}}},yT={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"}}}}},CT={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"}}}}},IT={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"}}}}},BT={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"}}}}},wT={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wy={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"}}}}},bT={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QT={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"}}}}},xT={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},by={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"}}}}},NT={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ST={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"}}}}},RT={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TT={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vT={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PT={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"}}}}},kT={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DT={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"}}}}},_T={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LT={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"}}}}},MT={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OT={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"}}}}},FT={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"}}}}},UT={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"}}}}},qT={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GT={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"}}}}},HT={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zT={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"}}}}},$T={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VT={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"}}}}},YT={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JT={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"}}}}},WT={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jT={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"}}}}},KT={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XT={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"}}}}},ZT={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ev={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"}}}}},tv={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"}}}}},rv={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"}}}}},sv={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nv={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"}}}}},iv={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ov={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"}}}}},av={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"}}}}},cv={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lv={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uv={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"}}}}},Av={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"}}}}},dv={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"}}}}},pv={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mv={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hv={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var oi={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},_4={parameterPath:"blobServiceProperties",mapper:Op},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},qp={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"}}},L4={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Gp={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Hp={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},ai={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},ci={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},M4={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},O4={parameterPath:"keyInfo",mapper:LS},F4={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bu={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Qy={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},xy={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ht={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},Ny={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},Sy={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ry={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},zt={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},cr={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},fv={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},U4={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},q4={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},Ae={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},ae={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},ce={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},Ty={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},gv={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},G4={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},vy={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},H4={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},z4={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},$4={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},V4={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},Y4={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"}}},Py={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},ky={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},Dy={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},_y={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},oa={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},Ly={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},My={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Oy={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},Fy={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Uy={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},Ev={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"},yv={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},J4={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},br={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},li={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},fc={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},W4={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},j4={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},at={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},ct={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},lt={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},Ie={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},Be={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"}}},K4={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},X4={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},Z4={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},eW={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},tW={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},ui={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},Ai={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},di={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},pi={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},mi={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},hi={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},Cv={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Bn={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},wn={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},rW={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},sW={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},Rt={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},nW={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ao={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"]}}},Iv={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},fi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},gi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},Ei={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},yi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},qy={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},gc={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},bn={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},iW={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},Ci={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},oW={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},co={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},lo={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},Gy={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},uo={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},aW={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},cW={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},lW={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},uW={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AW={parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}},dW={parameterPath:["options","queryRequest"],mapper:GS},pW={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Bv={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},wv={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},bv={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},Qv={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},xv={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},mW={parameterPath:["options","tags"],mapper:Up},Ys={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},Ii={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},hW={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},Nv={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},Sv={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Ec={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},yc={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Cc={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Hy={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Rv={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},zy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},$y={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},Vy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},fW={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Qu={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},gW={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},xu={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},EW={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},Tv={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},yW={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},CW={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},IW={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},BW={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},wW={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},vv={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Pv={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},Yy={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},Jy={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},bW={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},kv={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},QW={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},Dv={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},_v={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},xW={parameterPath:"blocks",mapper:US},Lv={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},NW={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var Wy=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},Vbe)}getProperties(e){return this.client.sendOperationRequest({options:e},Ybe)}getStatistics(e){return this.client.sendOperationRequest({options:e},Jbe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},Wbe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},jbe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Kbe)}submitBatch(e,r,s,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:s,options:n},Xbe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Zbe)}},aa=fs(Es,!0),Vbe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:HS},default:{bodyMapper:T,headersMapper:zS}},requestBody:_4,queryParameters:[qp,$s,P],urlParameters:[v],headerParameters:[oi,zs,k,D],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:aa},Ybe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Op,headersMapper:$S},default:{bodyMapper:T,headersMapper:VS}},queryParameters:[qp,$s,P],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:aa},Jbe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:DS,headersMapper:YS},default:{bodyMapper:T,headersMapper:JS}},queryParameters:[qp,P,L4],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:aa},Wbe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:_S,headersMapper:WS},default:{bodyMapper:T,headersMapper:jS}},queryParameters:[P,Gp,Hp,ai,ci,M4],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:aa},jbe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:MS,headersMapper:KS},default:{bodyMapper:T,headersMapper:XS}},requestBody:O4,queryParameters:[qp,P,F4],urlParameters:[v],headerParameters:[oi,zs,k,D],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:aa},Kbe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:ZS},default:{bodyMapper:T,headersMapper:eR}},queryParameters:[$s,P,bu],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:aa},Xbe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:tR},default:{bodyMapper:T,headersMapper:rR}},requestBody:Qy,queryParameters:[P,xy],urlParameters:[v],headerParameters:[zs,k,D,Ht,Ny],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:aa},Zbe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fp,headersMapper:sR},default:{bodyMapper:T,headersMapper:nR}},queryParameters:[P,ai,ci,Sy,Ry],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:aa};var jy=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)}},$t=fs(Es,!0),eQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:iR},default:{bodyMapper:T,headersMapper:oR}},queryParameters:[P,zt],urlParameters:[v],headerParameters:[k,D,G,cr,fv,U4,q4],isXML:!0,serializer:$t},tQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:aR},default:{bodyMapper:T,headersMapper:cR}},queryParameters:[P,zt],urlParameters:[v],headerParameters:[k,D,G,Ae],isXML:!0,serializer:$t},rQe={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:lR},default:{bodyMapper:T,headersMapper:uR}},queryParameters:[P,zt],urlParameters:[v],headerParameters:[k,D,G,Ae,ae,ce],isXML:!0,serializer:$t},sQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:AR},default:{bodyMapper:T,headersMapper:dR}},queryParameters:[P,zt,Ty],urlParameters:[v],headerParameters:[k,D,G,cr,Ae,ae],isXML:!0,serializer:$t},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:pR},default:{bodyMapper:T,headersMapper:mR}},queryParameters:[P,zt,gv],urlParameters:[v],headerParameters:[k,D,G,Ae],isXML:!0,serializer:$t},iQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:hR},default:{bodyMapper:T,headersMapper:fR}},requestBody:G4,queryParameters:[P,zt,gv],urlParameters:[v],headerParameters:[oi,zs,k,D,fv,Ae,ae,ce],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:$t},oQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:gR},default:{bodyMapper:T,headersMapper:ER}},queryParameters:[P,zt,vy],urlParameters:[v],headerParameters:[k,D,G,H4,z4],isXML:!0,serializer:$t},aQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:yR},default:{bodyMapper:T,headersMapper:CR}},queryParameters:[P,zt,$4],urlParameters:[v],headerParameters:[k,D,G,V4,Y4],isXML:!0,serializer:$t},cQe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:IR},default:{bodyMapper:T,headersMapper:BR}},requestBody:Qy,queryParameters:[P,xy,zt],urlParameters:[v],headerParameters:[zs,k,D,Ht,Ny],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:$t},lQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Fp,headersMapper:wR},default:{bodyMapper:T,headersMapper:bR}},queryParameters:[P,ai,ci,Sy,Ry,zt],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:$t},uQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:QR},default:{bodyMapper:T,headersMapper:xR}},queryParameters:[P,zt,Vs],urlParameters:[v],headerParameters:[k,D,G,ae,ce,Py,ky,Dy],isXML:!0,serializer:$t},AQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:NR},default:{bodyMapper:T,headersMapper:SR}},queryParameters:[P,zt,Vs],urlParameters:[v],headerParameters:[k,D,G,ae,ce,_y,oa],isXML:!0,serializer:$t},dQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:RR},default:{bodyMapper:T,headersMapper:TR}},queryParameters:[P,zt,Vs],urlParameters:[v],headerParameters:[k,D,G,ae,ce,oa,Ly],isXML:!0,serializer:$t},pQe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:vR},default:{bodyMapper:T,headersMapper:PR}},queryParameters:[P,zt,Vs],urlParameters:[v],headerParameters:[k,D,G,ae,ce,My,Oy],isXML:!0,serializer:$t},mQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:kR},default:{bodyMapper:T,headersMapper:DR}},queryParameters:[P,zt,Vs],urlParameters:[v],headerParameters:[k,D,G,ae,ce,oa,Fy,Uy],isXML:!0,serializer:$t},hQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:OS,headersMapper:_R},default:{bodyMapper:T,headersMapper:LR}},queryParameters:[P,Gp,Hp,ai,ci,zt,Ev,yv],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:$t},fQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:FS,headersMapper:MR},default:{bodyMapper:T,headersMapper:OR}},queryParameters:[P,Gp,Hp,ai,ci,zt,Ev,yv,J4],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:$t},gQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:FR},default:{bodyMapper:T,headersMapper:UR}},queryParameters:[$s,P,bu],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:$t};var Ky=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},QQe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},xQe)}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)}},Ke=fs(Es,!0),EQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:By},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:By},default:{bodyMapper:T,headersMapper:qR}},queryParameters:[P,br,li],urlParameters:[v],headerParameters:[k,D,G,Ae,ae,ce,fc,W4,j4,at,ct,lt,Ie,Be,he],isXML:!0,serializer:Ke},yQe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:GR},default:{bodyMapper:T,headersMapper:HR}},queryParameters:[P,br,li],urlParameters:[v],headerParameters:[k,D,G,Ae,ae,ce,at,ct,lt,Ie,Be,he],isXML:!0,serializer:Ke},CQe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:zR},default:{bodyMapper:T,headersMapper:$R}},queryParameters:[P,br,li,X4],urlParameters:[v],headerParameters:[k,D,G,Ae,ae,ce,Ie,Be,he,K4],isXML:!0,serializer:Ke},IQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:VR},default:{bodyMapper:T,headersMapper:YR}},queryParameters:[P,vy],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:Ke},BQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:JR},default:{bodyMapper:T,headersMapper:WR}},queryParameters:[P,Z4],urlParameters:[v],headerParameters:[k,D,G,eW,tW],isXML:!0,serializer:Ke},wQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:jR},default:{bodyMapper:T,headersMapper:KR}},queryParameters:[$s,P],urlParameters:[v],headerParameters:[k,D,G,Ae,ae,ce,Ie,Be,he,ui,Ai,di,pi,mi,hi],isXML:!0,serializer:Ke},bQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:XR},default:{bodyMapper:T,headersMapper:ZR}},queryParameters:[P,br,li,Cv],urlParameters:[v],headerParameters:[k,D,G,ce,Bn,wn],isXML:!0,serializer:Ke},QQe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:eT},default:{bodyMapper:T,headersMapper:tT}},queryParameters:[P,br,li,Cv],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:Ke},xQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:rT},default:{bodyMapper:T,headersMapper:sT}},queryParameters:[P,br,li,rW],urlParameters:[v],headerParameters:[k,D,G,sW],isXML:!0,serializer:Ke},NQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:nT},default:{bodyMapper:T,headersMapper:iT}},queryParameters:[P,Ty],urlParameters:[v],headerParameters:[k,D,G,cr,Ae,ae,ce,at,ct,lt,Ie,Be,he,Rt],isXML:!0,serializer:Ke},SQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:oT},default:{bodyMapper:T,headersMapper:aT}},queryParameters:[P,Vs],urlParameters:[v],headerParameters:[k,D,G,ae,ce,Py,ky,Dy,Ie,Be,he],isXML:!0,serializer:Ke},RQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:cT},default:{bodyMapper:T,headersMapper:lT}},queryParameters:[P,Vs],urlParameters:[v],headerParameters:[k,D,G,ae,ce,_y,oa,Ie,Be,he],isXML:!0,serializer:Ke},TQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:uT},default:{bodyMapper:T,headersMapper:AT}},queryParameters:[P,Vs],urlParameters:[v],headerParameters:[k,D,G,ae,ce,oa,Ly,Ie,Be,he],isXML:!0,serializer:Ke},vQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:dT},default:{bodyMapper:T,headersMapper:pT}},queryParameters:[P,Vs],urlParameters:[v],headerParameters:[k,D,G,ae,ce,oa,Fy,Uy,Ie,Be,he],isXML:!0,serializer:Ke},PQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:mT},default:{bodyMapper:T,headersMapper:hT}},queryParameters:[P,Vs],urlParameters:[v],headerParameters:[k,D,G,ae,ce,My,Oy,Ie,Be,he],isXML:!0,serializer:Ke},kQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:fT},default:{bodyMapper:T,headersMapper:gT}},queryParameters:[P,nW],urlParameters:[v],headerParameters:[k,D,G,cr,Ae,ae,ce,at,ct,lt,Ie,Be,he,Rt],isXML:!0,serializer:Ke},DQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:ET},default:{bodyMapper:T,headersMapper:yT}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,cr,Ae,ae,ce,Ie,Be,he,Bn,wn,ao,Iv,fi,gi,Ei,yi,qy,gc,bn,iW,Ci],isXML:!0,serializer:Ke},_Qe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:CT},default:{bodyMapper:T,headersMapper:IT}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,cr,Ae,ae,ce,Ie,Be,he,Bn,wn,Rt,ao,fi,gi,Ei,yi,gc,bn,Ci,oW,co,lo,Gy,uo],isXML:!0,serializer:Ke},LQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:BT},default:{bodyMapper:T,headersMapper:wT}},queryParameters:[P,aW,lW],urlParameters:[v],headerParameters:[k,D,G,Ae,cW],isXML:!0,serializer:Ke},MQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:wy},202:{headersMapper:wy},default:{bodyMapper:T,headersMapper:bT}},queryParameters:[P,br,li,uW],urlParameters:[v],headerParameters:[k,D,G,Ae,he,Iv,AW],isXML:!0,serializer:Ke},OQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:QT},default:{bodyMapper:T,headersMapper:xT}},queryParameters:[$s,P,bu],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:Ke},FQe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:by},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:by},default:{bodyMapper:T,headersMapper:NT}},requestBody:dW,queryParameters:[P,br,pW],urlParameters:[v],headerParameters:[oi,zs,k,D,Ae,ae,ce,at,ct,lt,Ie,Be,he],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ke},UQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Up,headersMapper:ST},default:{bodyMapper:T,headersMapper:RT}},queryParameters:[P,br,li,Bv],urlParameters:[v],headerParameters:[k,D,G,Ae,he,wv,bv,Qv,xv],isXML:!0,serializer:Ke},qQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:TT},default:{bodyMapper:T,headersMapper:vT}},requestBody:mW,queryParameters:[P,li,Bv],urlParameters:[v],headerParameters:[oi,zs,k,D,Ae,he,wv,bv,Qv,xv,Ys,Ii],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ke};var Xy=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)}},Ao=fs(Es,!0),GQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:PT},default:{bodyMapper:T,headersMapper:kT}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,Ht,cr,Ae,ae,ce,at,ct,lt,Ie,Be,he,ui,Ai,di,pi,mi,hi,Bn,wn,Rt,ao,bn,Ci,hW,Nv,Sv],isXML:!0,serializer:Ao},HQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:DT},default:{bodyMapper:T,headersMapper:_T}},requestBody:yc,queryParameters:[P,Hy],urlParameters:[v],headerParameters:[k,D,Ht,Ae,ae,ce,fc,at,ct,lt,Ie,Be,he,Rt,Ys,Ii,Ec,Cc,Rv,zy,$y,Vy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Ao},zQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:LT},default:{bodyMapper:T,headersMapper:MT}},queryParameters:[P,Hy],urlParameters:[v],headerParameters:[k,D,G,Ht,Ae,ae,ce,fc,at,ct,lt,Ie,Be,he,Rt,zy,$y,Vy,fW],isXML:!0,serializer:Ao},$Qe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:OT},default:{bodyMapper:T,headersMapper:FT}},queryParameters:[P,Hy],urlParameters:[v],headerParameters:[k,D,G,Ht,Ae,ae,ce,at,ct,lt,Ie,Be,he,Rt,fi,gi,Ei,yi,co,lo,uo,Rv,zy,$y,Vy,Qu,gW,xu,EW],isXML:!0,serializer:Ao},VQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Iy,headersMapper:UT},default:{bodyMapper:T,headersMapper:qT}},queryParameters:[P,ai,ci,br,Tv],urlParameters:[v],headerParameters:[k,D,G,Ae,ae,ce,fc,Ie,Be,he],isXML:!0,serializer:Ao},YQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Iy,headersMapper:GT},default:{bodyMapper:T,headersMapper:HT}},queryParameters:[P,ai,ci,br,Tv,yW],urlParameters:[v],headerParameters:[k,D,G,Ae,ae,ce,fc,Ie,Be,he,CW],isXML:!0,serializer:Ao},JQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:zT},default:{bodyMapper:T,headersMapper:$T}},queryParameters:[$s,P],urlParameters:[v],headerParameters:[k,D,G,Ae,ae,ce,at,ct,lt,Ie,Be,he,Rt,Nv],isXML:!0,serializer:Ao},WQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:VT},default:{bodyMapper:T,headersMapper:YT}},queryParameters:[$s,P],urlParameters:[v],headerParameters:[k,D,G,Ae,ae,ce,Ie,Be,he,Sv,IW],isXML:!0,serializer:Ao},jQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:JT},default:{bodyMapper:T,headersMapper:WT}},queryParameters:[P,BW],urlParameters:[v],headerParameters:[k,D,G,ae,ce,Ie,Be,he,gc],isXML:!0,serializer:Ao};var Zy=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},exe)}},eC=fs(Es,!0),KQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:jT},default:{bodyMapper:T,headersMapper:KT}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,Ht,cr,Ae,ae,ce,at,ct,lt,Ie,Be,he,ui,Ai,di,pi,mi,hi,Bn,wn,Rt,bn,Ci,wW],isXML:!0,serializer:eC},XQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:XT},default:{bodyMapper:T,headersMapper:ZT}},requestBody:yc,queryParameters:[P,vv],urlParameters:[v],headerParameters:[k,D,Ht,Ae,ae,ce,at,ct,lt,Ie,Be,he,Rt,Ys,Ii,Ec,Cc,Pv,Yy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:eC},ZQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ev},default:{bodyMapper:T,headersMapper:tv}},queryParameters:[P,vv],urlParameters:[v],headerParameters:[k,D,G,Ht,Ae,ae,ce,at,ct,lt,Ie,Be,he,Rt,fi,gi,Ei,yi,co,lo,uo,Ys,Qu,xu,Pv,Yy,Jy],isXML:!0,serializer:eC},exe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:rv},default:{bodyMapper:T,headersMapper:sv}},queryParameters:[P,bW],urlParameters:[v],headerParameters:[k,D,G,Ae,ae,ce,Ie,Be,Yy],isXML:!0,serializer:eC};var tC=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},txe)}putBlobFromUrl(e,r,s){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:s},rxe)}stageBlock(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:s,options:n},sxe)}stageBlockFromURL(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:s,options:n},nxe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},ixe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},oxe)}},Su=fs(Es,!0),txe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:nv},default:{bodyMapper:T,headersMapper:iv}},requestBody:yc,queryParameters:[P],urlParameters:[v],headerParameters:[k,D,Ht,cr,Ae,ae,ce,at,ct,lt,Ie,Be,he,ui,Ai,di,pi,mi,hi,Bn,wn,Rt,ao,bn,Ci,Ys,Ii,Ec,Cc,kv],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Su},rxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ov},default:{bodyMapper:T,headersMapper:av}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,Ht,cr,Ae,ae,ce,at,ct,lt,Ie,Be,he,ui,Ai,di,pi,mi,hi,Rt,ao,fi,gi,Ei,yi,qy,gc,bn,co,lo,Gy,uo,Ys,kv,QW],isXML:!0,serializer:Su},sxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:cv},default:{bodyMapper:T,headersMapper:lv}},requestBody:yc,queryParameters:[P,Dv,_v],urlParameters:[v],headerParameters:[k,D,Ht,Ae,at,ct,lt,Rt,Ys,Ii,Ec,Cc],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Su},nxe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:uv},default:{bodyMapper:T,headersMapper:Av}},queryParameters:[P,Dv,_v],urlParameters:[v],headerParameters:[k,D,G,Ht,Ae,at,ct,lt,Rt,fi,gi,Ei,yi,co,lo,uo,Qu,xu,Jy],isXML:!0,serializer:Su},ixe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:dv},default:{bodyMapper:T,headersMapper:pv}},requestBody:xW,queryParameters:[P,Lv],urlParameters:[v],headerParameters:[oi,zs,k,D,cr,Ae,ae,ce,at,ct,lt,Ie,Be,he,ui,Ai,di,pi,mi,hi,Bn,wn,Rt,ao,bn,Ci,Ys,Ii],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Su},oxe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:qS,headersMapper:mv},default:{bodyMapper:T,headersMapper:hv}},queryParameters:[P,br,Lv,NW],urlParameters:[v],headerParameters:[k,D,G,Ae,he],isXML:!0,serializer:Su};var zp=class extends bp{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 Wy(this),this.container=new jy(this),this.blob=new Ky(this),this.pageBlob=new Xy(this),this.appendBlob=new Zy(this),this.blockBlob=new tC(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var $p=class extends zp{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 RW(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=cxe(r),e.pathname=r,e.toString()}o(RW,"escapeURLPath");function axe(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(axe,"getProxyUriFromDevConnString");function Ic(t,e){let r=t.split(";");for(let s of r)if(s.trim().startsWith(e))return s.trim().match(e+"=(.*)")[1];return""}o(Ic,"getValueInConnString");function Bc(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=axe(t),t=b4);let r=Ic(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=Ic(t,"AccountName"),i=Buffer.from(Ic(t,"AccountKey"),"base64"),!r){s=Ic(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=Ic(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=Ic(t,"SharedAccessSignature"),n=Ic(t,"AccountName");if(n||(n=Uv(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(Bc,"extractConnectionStringParts");function cxe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(cxe,"escape");function Dt(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(Dt,"appendToURLPath");function Ru(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(Ru,"setURLParameter");function Mv(t,e){return new URL(t).searchParams.get(e)??void 0}o(Mv,"getURLParameter");function TW(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(TW,"getURLScheme");function Vp(t,e){let r=new URL(t),s=r.search;return s?s+="&"+e:s=e,r.search=s,r.toString()}o(Vp,"appendToURLQuery");function Re(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(Re,"truncatedISO8061Date");function lxe(t){return Se?Buffer.from(t).toString("base64"):btoa(t)}o(lxe,"base64encode");function Ov(t,e){t.length>42&&(t=t.slice(0,42));let i=t+uxe(e.toString(),48-t.length,"0");return lxe(i)}o(Ov,"generateBlockID");function uxe(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(uxe,"padStart");function Fv(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(Fv,"iEqual");function Uv(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:rC(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(Uv,"getAccountNameFromUrl");function rC(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&&R4.includes(t.port)}o(rC,"isIpEndpointStyle");function ca(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(ca,"toBlobTagsString");function vW(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(vW,"toBlobTags");function sC(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(sC,"toTags");function qv(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(qv,"toQuerySerialization");function nC(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(nC,"parseObjectReplicationRecord");function Tu(t){return t?t.scheme+" "+t.value:void 0}o(Tu,"httpAuthorizationToString");function*Gv(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 Yp(t,e,r){return Jp(t,e,r).sasQueryParameters}o(Yp,"generateBlobSASQueryParameters");function Jp(t,e,r){let s=t.version?t.version:yy,n=e instanceof ot?e:void 0,i;if(n===void 0&&r!==void 0&&(i=new gy(r,e)),n===void 0&&i===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(s>="2020-12-06")return n!==void 0?pxe(t,n):s>="2025-07-05"?gxe(t,i):fxe(t,i);if(s>="2018-11-09")return n!==void 0?dxe(t,n):s>="2020-02-10"?hxe(t,i):mxe(t,i);if(s>="2015-04-05"){if(n!==void 0)return Axe(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(Jp,"generateBlobSASQueryParametersInternal");function Axe(t,e){if(t=bc(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=Bi.parse(t.permissions.toString()).toString():s=wi.parse(t.permissions.toString()).toString());let n=[s||"",t.startsOn?Re(t.startsOn,!1):"",t.expiresOn?Re(t.expiresOn,!1):"",wc(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 xn(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(Axe,"generateBlobSASQueryParameters20150405");function dxe(t,e){if(t=bc(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=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Re(t.startsOn,!1):"",t.expiresOn?Re(t.expiresOn,!1):"",wc(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 xn(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(dxe,"generateBlobSASQueryParameters20181109");function pxe(t,e){if(t=bc(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=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Re(t.startsOn,!1):"",t.expiresOn?Re(t.expiresOn,!1):"",wc(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 xn(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(pxe,"generateBlobSASQueryParameters20201206");function mxe(t,e){if(t=bc(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=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Re(t.startsOn,!1):"",t.expiresOn?Re(t.expiresOn,!1):"",wc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Re(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Re(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 xn(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(mxe,"generateBlobSASQueryParametersUDK20181109");function hxe(t,e){if(t=bc(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=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Re(t.startsOn,!1):"",t.expiresOn?Re(t.expiresOn,!1):"",wc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Re(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Re(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 xn(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(hxe,"generateBlobSASQueryParametersUDK20200210");function fxe(t,e){if(t=bc(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=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Re(t.startsOn,!1):"",t.expiresOn?Re(t.expiresOn,!1):"",wc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Re(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Re(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 xn(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(fxe,"generateBlobSASQueryParametersUDK20201206");function gxe(t,e){if(t=bc(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=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Re(t.startsOn,!1):"",t.expiresOn?Re(t.expiresOn,!1):"",wc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Re(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Re(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 xn(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(gxe,"generateBlobSASQueryParametersUDK20250705");function wc(t,e,r){let s=[`/blob/${t}/${e}`];return r&&s.push(`/${r}`),s.join("")}o(wc,"getCanonicalName");function bc(t){let e=t.version?t.version:yy;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(bc,"SASSignatureValuesSanityCheckAndAutofill");var Wp=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=mu()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==In||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==In||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!==In||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==In||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!==In||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==In||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!==In||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==In||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!==In||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==In||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 kW=require("node:stream");var iC=class extends kW.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 oC=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 Se?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,s,n,i={}){this.originalResponse=e,this.blobDownloadStream=new iC(this.originalResponse.readableStreamBody,r,s,n,i)}};var FW=require("node:stream");var Hv=new Uint8Array([79,98,106,1]),DW="avro.codec",_W="avro.schema";var tt=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}},Qc;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(Qc||(Qc={}));var Vt;(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"})(Vt||(Vt={}));var po=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 Vt.NULL:case Vt.BOOLEAN:case Vt.INT:case Vt.LONG:case Vt.FLOAT:case Vt.DOUBLE:case Vt.BYTES:case Vt.STRING:return new zv(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new Vv(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case Qc.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 Jv(s,e.name);case Qc.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 $v(e.symbols);case Qc.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new Yv(t.fromSchema(e.values));case Qc.ARRAY:case Qc.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},zv=class extends po{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Vt.NULL:return tt.readNull();case Vt.BOOLEAN:return tt.readBoolean(e,r);case Vt.INT:return tt.readInt(e,r);case Vt.LONG:return tt.readLong(e,r);case Vt.FLOAT:return tt.readFloat(e,r);case Vt.DOUBLE:return tt.readDouble(e,r);case Vt.BYTES:return tt.readBytes(e,r);case Vt.STRING:return tt.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},$v=class extends po{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let s=await tt.readInt(e,r);return this._symbols[s]}},Vv=class extends po{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let s=await tt.readInt(e,r);return this._types[s].read(e,r)}},Yv=class extends po{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 tt.readMap(e,s,r)}},Jv=class extends po{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 Wv(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 tt.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!Wv(this._syncMarker,s))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await tt.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await tt.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};var Kp=class{static{o(this,"AvroReadable")}};var OW=require("buffer");var MW=new ms("Reading from the avro stream was aborted."),Xp=class extends Kp{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?OW.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 MW;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(MW)},"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 aC=class extends FW.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 jp(new Xp(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 cC=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 Se?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new aC(this.originalResponse.readableStreamBody,r)}};var jv;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(jv||(jv={}));var Kv;(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"})(Kv||(Kv={}));function la(t){if(t!==void 0)return t}o(la,"toAccessTier");function _t(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=w4)}o(_t,"ensureCpkIfSpecified");var Xv;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(Xv||(Xv={}));function lC(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(lC,"rangeResponseFromModel");var b8=w(w8(),1);var yC=class extends b8.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=rm({...l,blobClient:r,copySource:s,startCopyFromURLOptions:c});super(u),typeof i=="function"&&this.onProgress(i),this.intervalInMs=n}delay(){return mp(this.intervalInMs)}},m0e=o(async function(e={}){let r=this.state,{copyId:s}=r;return r.isCompleted?rm(r):s?(await r.blobClient.abortCopyFromURL(s,{abortSignal:e.abortSignal}),r.isCancelled=!0,rm(r)):(r.isCancelled=!0,rm(r))},"cancel"),h0e=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 rm(r)},"update"),f0e=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function rm(t){return{state:{...t},cancel:m0e,toString:f0e,update:h0e}}o(rm,"makeBlobBeginCopyFromURLPollOperation");function Hr(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(Hr,"rangeToString");var Q8=require("events");var sm;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(sm||(sm={}));var nm=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=sm.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new Q8.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=sm.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(N8,"streamToBuffer");async function S8(t,e){return new Promise((r,s)=>{let n=CC.default.createWriteStream(e);t.on("error",i=>{s(i)}),n.on("error",i=>{s(i)}),n.on("close",r),t.pipe(n)})}o(S8,"readStreamToLocalFile");var R8=x8.default.promisify(CC.default.stat),T8=CC.default.createReadStream;var mo=class t extends vu{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(oo(r))a=e,i=r;else if(Se&&r instanceof ot||r instanceof je||hs(r))a=e,n=s,i=Ct(r,n);else if(!r&&typeof r!="string")a=e,s&&typeof s!="string"&&(n=s),i=Ct(new je,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=Bc(e);if(u.kind==="AccountConnString")if(Se){let A=new ot(u.accountName,u.accountKey);a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=ea(u.proxyUri)),i=Ct(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=Ct(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=Mv(this.url,io.Parameters.SNAPSHOT),this._versionId=Mv(this.url,io.Parameters.VERSIONID)}withSnapshot(e){return new t(Ru(this.url,io.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(Ru(this.url,io.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new BC(this.url,this.pipeline)}getBlockBlobClient(){return new Du(this.url,this.pipeline)}getPageBlobClient(){return new wC(this.url,this.pipeline)}async download(e=0,r,s={}){return s.conditions=s.conditions||{},s.conditions=s.conditions||{},_t(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:Se?void 0:s.onProgress},range:e===0&&!r?void 0:Hr({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:nC(i.objectReplicationRules)};if(!Se)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 oC(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:Hr({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 _t(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===N4||s.details.errorCode===S4))return!0;throw s}})}async getProperties(e={}){return e.conditions=e.conditions||{},_t(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:nC(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||{},_t(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||{},_t(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:vW(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:sC({blobTagSet:s.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Wp(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},_t(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 yC({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:Tu(r.sourceAuthorization),tier:la(r.tier),blobTagsString:ca(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(la(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 S8(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(rC(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:la(r.tier),blobTagsString:ca(r.tags),sealBlob:r.sealBlob,tracingOptions:s.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof ot))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let s=Yp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(Vp(this.url,s))})}generateSasStringToSign(e){if(!(this.credential instanceof ot))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return Jp({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=Yp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();s(Vp(this.url,n))})}generateUserDelegationSasStringToSign(e,r){return Jp({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})))}},BC=class t extends mo{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},oo(r))a=e,i=r;else if(Se&&r instanceof ot||r instanceof je||hs(r))a=e,n=s,i=Ct(r,n);else if(!r&&typeof r!="string")a=e,i=Ct(new je,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=Bc(e);if(u.kind==="AccountConnString")if(Se){let A=new ot(u.accountName,u.accountKey);a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=ea(u.proxyUri)),i=Ct(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=Ct(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(Ru(this.url,io.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},_t(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:ca(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:vS};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||{},_t(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||{},_t(n.customerProvidedKey,this.isHttps),z.withSpan("AppendBlobClient-appendBlockFromURL",n,async i=>J(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:n.abortSignal,sourceRange:Hr({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:Tu(n.sourceAuthorization),cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:i.tracingOptions})))}},Du=class t extends mo{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},oo(r))a=e,i=r;else if(Se&&r instanceof ot||r instanceof je||hs(r))a=e,n=s,i=Ct(r,n);else if(!r&&typeof r!="string")a=e,s&&typeof s!="string"&&(n=s),i=Ct(new je,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=Bc(e);if(u.kind==="AccountConnString")if(Se){let A=new ot(u.accountName,u.accountKey);a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=ea(u.proxyUri)),i=Ct(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=Ct(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(Ru(this.url,io.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(_t(r.customerProvidedKey,this.isHttps),!Se)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:qv(r.inputTextConfiguration),outputSerialization:qv(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:s.tracingOptions}));return new cC(n,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,s={}){return s.conditions=s.conditions||{},_t(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:la(s.tier),blobTagsString:ca(s.tags),tracingOptions:n.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},_t(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:Tu(r.sourceAuthorization),tier:la(r.tier),blobTagsString:ca(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}async stageBlock(e,r,s,n={}){return _t(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 _t(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:Hr({offset:s,count:n}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:Tu(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},_t(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:la(r.tier),blobTagsString:ca(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(Se){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=mu(),A=0,d=new nm(s.concurrency);for(let p=0;p{let m=Ov(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 R8(e)).size;return this.uploadSeekableInternal((i,a)=>()=>T8(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=mu(),l=0,u=[];return await new Ay(e,r,s,async(d,p)=>{let m=Ov(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}))})}},wC=class t extends mo{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},oo(r))a=e,i=r;else if(Se&&r instanceof ot||r instanceof je||hs(r))a=e,n=s,i=Ct(r,n);else if(!r&&typeof r!="string")a=e,i=Ct(new je,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=Bc(e);if(u.kind==="AccountConnString")if(Se){let A=new ot(u.accountName,u.accountKey);a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=ea(u.proxyUri)),i=Ct(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=Ct(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(Ru(this.url,io.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},_t(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:la(r.tier),blobTagsString:ca(r.tags),tracingOptions:s.tracingOptions})))}async createIfNotExists(e,r={}){return z.withSpan("PageBlobClient-createIfNotExists",r,async s=>{try{let n={ifNoneMatch:vS},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||{},_t(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:Hr({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||{},_t(i.customerProvidedKey,this.isHttps),z.withSpan("PageBlobClient-uploadPagesFromURL",i,async a=>J(await this.pageBlobContext.uploadPagesFromURL(e,Hr({offset:r,count:n}),0,Hr({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:Tu(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:Hr({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:Hr({offset:e,count:r}),tracingOptions:n.tracingOptions}));return lC(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:Hr({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*Gv(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:Hr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return lC(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:Hr({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*Gv(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:Hr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return lC(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 v8;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(v8||(v8={}));var P8;(function(t){t.AES256="AES256"})(P8||(P8={}));var bC=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};var _u=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"}};_u.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Sc=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"}};Sc.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var im=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var N0e=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())})},BP=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);S(`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 k8(t,e,r){return N0e(this,void 0,void 0,function*(){var s;let n=new mo(t),i=n.getBlockBlobClient(),a=new BP((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 bC(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw et(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(k8,"uploadCacheArchiveSDK");var _8=w(require("buffer"),1),bi=w(require("fs"),1),L8=w(require("stream"),1),M8=w(require("util"),1);var QC=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 xC(t){return t?t>=200&&t<300:!1}o(xC,"isSuccessStatusCode");function S0e(t){return t?t>=500:!0}o(S0e,"isServerErrorStatusCode");function R0e(t){return t?[it.BadGateway,it.ServiceUnavailable,it.GatewayTimeout].includes(t):!1}o(R0e,"isRetryableStatusCode");function T0e(t){return QC(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(T0e,"sleep");function D8(t,e,r){return QC(this,arguments,void 0,function*(s,n,i,a=Wg,c=jg,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),!S0e(p)))return d;if(p&&(m=R0e(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 T0e(c),A++}throw Error(`${s} failed: ${u}`)})}o(D8,"retry");function om(t,e){return QC(this,arguments,void 0,function*(r,s,n=Wg,i=jg){return yield D8(r,s,a=>a.statusCode,n,i,a=>{if(a instanceof Kn)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(om,"retryTypedResponse");function Lu(t,e){return QC(this,arguments,void 0,function*(r,s,n=Wg,i=jg){return yield D8(r,s,a=>a.message.statusCode,n,i)})}o(Lu,"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 v0e(t,e){return Js(this,void 0,void 0,function*(){yield M8.promisify(L8.pipeline)(t.message,e)})}o(v0e,"pipeResponseToStream");var NC=class{static{o(this,"DownloadProgress")}constructor(e){this.contentLength=e,this.segmentIndex=0,this.segmentSize=0,this.segmentOffset=0,this.receivedBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}nextSegment(e){this.segmentOffset=this.segmentOffset+this.segmentSize,this.segmentIndex=this.segmentIndex+1,this.segmentSize=e,this.receivedBytes=0,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);S(`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 SC(t,e){return Js(this,void 0,void 0,function*(){let r=bi.createWriteStream(e),s=new eo("actions/cache"),n=yield Lu("downloadCache",()=>Js(this,void 0,void 0,function*(){return s.get(t)}));n.message.socket.setTimeout(J0,()=>{n.message.destroy(),b(`Aborting download, socket timed out after ${J0} ms`)}),yield v0e(n,r);let i=n.message.headers["content-length"];if(i){let a=parseInt(i),c=jn(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(SC,"downloadCacheHttpClient");function O8(t,e,r){return Js(this,void 0,void 0,function*(){var s;let n=yield bi.promises.open(e,"w"),i=new eo("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield Lu("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 P0e(i,t,y,I)}),"promiseGetter")})}u.reverse();let d=0,p=0,m=new NC(l);m.startDisplayTimer();let h=m.onProgress(),g=[],C,E=o(()=>Js(this,void 0,void 0,function*(){let y=yield Promise.race(Object.values(g));yield n.write(y.buffer,0,y.count,y.offset),d--,delete g[y.offset],p+=y.count,h({loadedBytes:p})}),"waitAndWrite");for(;C=u.pop();)g[C.offset]=C.promiseGetter(),d++,d>=((s=r.downloadConcurrency)!==null&&s!==void 0?s:10)&&(yield E());for(;d>0;)yield E()}finally{i.dispose(),yield n.close()}})}o(O8,"downloadCacheHttpClientConcurrent");function P0e(t,e,r,s){return Js(this,void 0,void 0,function*(){let i=0;for(;;)try{let c=yield U8(3e4,k0e(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(P0e,"downloadSegmentRetry");function k0e(t,e,r,s){return Js(this,void 0,void 0,function*(){let n=yield Lu("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(k0e,"downloadSegment");function F8(t,e,r){return Js(this,void 0,void 0,function*(){var s;let n=new Du(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 SC(t,e);else{let c=Math.min(134217728,_8.constants.MAX_LENGTH),l=new NC(a),u=bi.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 U8(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)&&bi.writeFileSync(u,h)}}finally{l.stopDisplayTimer(),bi.closeSync(u)}}})}o(F8,"downloadCacheStorageSDK");var U8=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 wP(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(wP,"getUploadOptions");function q8(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(q8,"getDownloadOptions");function bP(){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(bP,"isGhes");function am(){return bP()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(am,"getCacheServiceVersion");var G8=["none","read","write","write-only"];function QP(){return(process.env.ACTIONS_CACHE_MODE||"").trim().toLowerCase()}o(QP,"getCacheMode");function H8(t){return G8.includes(t)?t==="read"||t==="write":!0}o(H8,"isCacheReadable");function z8(t){return G8.includes(t)?t==="write"||t==="write-only":!0}o(z8,"isCacheWritable");function RC(){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(RC,"getCacheServiceURL");var J8=w(Y8(),1);function TC(){return`@actions/cache-${J8.version}`}o(TC,"getUserAgentString");var zr=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 cm(t){let e=RC();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(cm,"getCacheApiUrl");function L0e(t,e){return`${t};api-version=${e}`}o(L0e,"createAcceptHeader");function M0e(){return{headers:{Accept:L0e("application/json","6.0-preview.1")}}}o(M0e,"getRequestOptions");function xP(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new ou(t);return new eo(TC(),[e],M0e())}o(xP,"createHttpClient");function K8(t,e,r){return zr(this,void 0,void 0,function*(){var s;let n=xP(),i=iu(e,r?.compressionMethod,r?.enableCrossOsArchive),a=`cache?keys=${encodeURIComponent(t.join(","))}&version=${i}`,c=yield om("getCacheEntry",()=>zr(this,void 0,void 0,function*(){return n.getJson(cm(a))}));if(c.statusCode===204)return Ka()&&(yield O0e(t[0],n,i)),null;if(!xC(c.statusCode)){let A=(s=c.error)===null||s===void 0?void 0:s.message;throw A?.includes(Kg)?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 Vl(u),b("Cache Result:"),b(JSON.stringify(l)),l})}o(K8,"getCacheEntry");function O0e(t,e,r){return zr(this,void 0,void 0,function*(){let s=`caches?key=${encodeURIComponent(t)}`,n=yield om("listCache",()=>zr(this,void 0,void 0,function*(){return e.getJson(cm(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(O0e,"printCachesListForDiagnostics");function NP(t,e,r){return zr(this,void 0,void 0,function*(){let s=new j8.URL(t),n=q8(r);s.hostname.endsWith(".blob.core.windows.net")?n.useAzureSdk?yield F8(t,e,n):n.concurrentBlobDownloads?yield O8(t,e,n):yield SC(t,e):yield SC(t,e)})}o(NP,"downloadCache");function X8(t,e,r){return zr(this,void 0,void 0,function*(){let s=xP(),n=iu(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:n,cacheSize:r?.cacheSize};return yield om("reserveCache",()=>zr(this,void 0,void 0,function*(){return s.postJson(cm("caches"),i)}))})}o(X8,"reserveCache");function W8(t,e){return`bytes ${t}-${e}/*`}o(W8,"getContentRange");function F0e(t,e,r,s,n){return zr(this,void 0,void 0,function*(){b(`Uploading chunk of size ${n-s+1} bytes at offset ${s} with content range: ${W8(s,n)}`);let i={"Content-Type":"application/octet-stream","Content-Range":W8(s,n)},a=yield Lu(`uploadChunk (start: ${s}, end: ${n})`,()=>zr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!xC(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(F0e,"uploadChunk");function U0e(t,e,r,s){return zr(this,void 0,void 0,function*(){let n=jn(r),i=cm(`caches/${e.toString()}`),a=Mu.openSync(r,"r"),c=wP(s),l=X0("uploadConcurrency",c.uploadConcurrency),u=X0("uploadChunkSize",c.uploadChunkSize),A=[...new Array(l).keys()];b("Awaiting all uploads");let d=0;try{yield Promise.all(A.map(()=>zr(this,void 0,void 0,function*(){for(;dMu.createReadStream(r,{fd:a,start:m,end:h,autoClose:!1}).on("error",g=>{throw new Error(`Cache upload failed because file read failed with ${g.message}`)}),m,h)}})))}finally{Mu.closeSync(a)}})}o(U0e,"uploadFile");function q0e(t,e,r){return zr(this,void 0,void 0,function*(){let s={size:r};return yield om("commitCache",()=>zr(this,void 0,void 0,function*(){return t.postJson(cm(`caches/${e.toString()}`),s)}))})}o(q0e,"commitCache");function SP(t,e,r,s){return zr(this,void 0,void 0,function*(){if(wP(s).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield k8(r,e,s)}else{let i=xP();b("Upload cache"),yield U0e(i,t,e,s),b("Commiting cache");let a=jn(e);S(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield q0e(i,t,a);if(!xC(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);S("Cache saved successfully")}})}o(SP,"saveCache");var V5=w(F5(),1),wt=w(Bt(),1),Cs=w(Bt(),1),kc=w(Bt(),1),Dc=w(Bt(),1),_c=w(Bt(),1);var Bk=w(Bt(),1),wk=w(Bt(),1),H5=w(Bt(),1),z5=w(Bt(),1),$5=w(Bt(),1);var yk=w(Bt(),1),Ck=w(Bt(),1),U5=w(Bt(),1),q5=w(Bt(),1),G5=w(Bt(),1);var Ik=class extends G5.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,q5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,U5.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.poshI,"T")}])}create(e){let r={repositoryId:"0",scope:[]};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.posRi,"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,Dc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,kc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posRi,"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,Dc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,kc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posRi,"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,Dc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,kc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posPk.fromJson(n,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=kk.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(n=>Dk.fromJson(n,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=_k.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(n=>Lk.fromJson(n,{ignoreUnknownFields:!0}))}};function Y5(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(Vl(r),Vl(encodeURIComponent(r)))}catch(e){b(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(Y5,"maskSigUrl");function J5(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"&&Y5(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&Y5(t.signed_download_url)}o(J5,"maskSecretUrls");var gI=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Mk=class{static{o(this,"CacheServiceClient")}constructor(e,r,s,n){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=NY();this.baseUrl=RC(),r&&(this.maxAttempts=r),s&&(this.baseRetryIntervalMilliseconds=s),n&&(this.retryMultiplier=n),this.httpClient=new eo(e,[new ou(i)])}request(e,r,s,n){return gI(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(()=>gI(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 gI(this,void 0,void 0,function*(){let r=0,s="",n="";for(;r0&&et(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new im(`Rate limited: ${s}`)}}catch(c){if(c instanceof SyntaxError&&b(`Raw Body: ${n}`),c instanceof Sc||c instanceof im)throw c;if(_u.isNetworkErrorCode(c?.code))throw new _u(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);S(`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?[it.BadGateway,it.GatewayTimeout,it.InternalServerError,it.ServiceUnavailable].includes(e):!1}sleep(e){return gI(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 Ok(t){let e=new Mk(TC(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new fI(e)}o(Ok,"internalCacheTwirpClient");var EI=require("fs"),Is=w(require("path"),1);var fo=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())})},pa=process.platform==="win32";function KSe(){return fo(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield xY(),e=BY;if(t)return{path:t,type:us.GNU};if((0,EI.existsSync)(e))return{path:e,type:us.BSD};break}case"darwin":{let t=yield nt("gtar",!1);return t?{path:t,type:us.GNU}:{path:yield nt("tar",!0),type:us.BSD}}default:break}return{path:yield nt("tar",!0),type:us.GNU}})}o(KSe,"getTarPath");function XSe(t,e,r){return fo(this,arguments,void 0,function*(s,n,i,a=""){let c=[`"${s.path}"`],l=jo(n),u="cache.tar",A=W5(),d=s.type===us.BSD&&n!==Cr.Gzip&&pa;switch(i){case"create":c.push("--posix","-cf",d?u:l.replace(new RegExp(`\\${Is.sep}`,"g"),"/"),"--exclude",d?u:l.replace(new RegExp(`\\${Is.sep}`,"g"),"/"),"-P","-C",A.replace(new RegExp(`\\${Is.sep}`,"g"),"/"),"--files-from",j0);break;case"extract":c.push("-xf",d?u:a.replace(new RegExp(`\\${Is.sep}`,"g"),"/"),"-P","-C",A.replace(new RegExp(`\\${Is.sep}`,"g"),"/"));break;case"list":c.push("-tf",d?u:a.replace(new RegExp(`\\${Is.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(XSe,"getTarArgs");function Fk(t,e){return fo(this,arguments,void 0,function*(r,s,n=""){let i,a=yield KSe(),c=yield XSe(a,r,s,n),l=s!=="create"?yield ZSe(a,r,n):yield eRe(a,r),u=a.type===us.BSD&&r!==Cr.Gzip&&pa;return u&&s!=="create"?i=[[...l].join(" "),[...c].join(" ")]:i=[[...c].join(" "),[...l].join(" ")],u?i:[i.join(" ")]})}o(Fk,"getCommands");function W5(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(W5,"getWorkingDirectory");function ZSe(t,e,r){return fo(this,void 0,void 0,function*(){let s=t.type===us.BSD&&e!==Cr.Gzip&&pa;switch(e){case Cr.Zstd:return s?["zstd -d --long=30 --force -o",rp,r.replace(new RegExp(`\\${Is.sep}`,"g"),"/")]:["--use-compress-program",pa?'"zstd -d --long=30"':"unzstd --long=30"];case Cr.ZstdWithoutLong:return s?["zstd -d --force -o",rp,r.replace(new RegExp(`\\${Is.sep}`,"g"),"/")]:["--use-compress-program",pa?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(ZSe,"getDecompressionProgram");function eRe(t,e){return fo(this,void 0,void 0,function*(){let r=jo(e),s=t.type===us.BSD&&e!==Cr.Gzip&&pa;switch(e){case Cr.Zstd:return s?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${Is.sep}`,"g"),"/"),rp]:["--use-compress-program",pa?'"zstd -T0 --long=30"':"zstdmt --long=30"];case Cr.ZstdWithoutLong:return s?["zstd -T0 --force -o",r.replace(new RegExp(`\\${Is.sep}`,"g"),"/"),rp]:["--use-compress-program",pa?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(eRe,"getCompressionProgram");function Uk(t,e){return fo(this,void 0,void 0,function*(){for(let r of t)try{yield cs(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(Uk,"execCommands");function wm(t,e){return fo(this,void 0,void 0,function*(){let r=yield Fk(e,"list",t);yield Uk(r)})}o(wm,"listTar");function qk(t,e){return fo(this,void 0,void 0,function*(){let r=W5();yield Ps(r);let s=yield Fk(e,"extract",t);yield Uk(s)})}o(qk,"extractTar");function Gk(t,e,r){return fo(this,void 0,void 0,function*(){(0,EI.writeFileSync)(Is.join(t,j0),e.join(` `));let s=yield Fk(r,"create");yield Uk(s,t)})}o(Gk,"createTar");var Zu=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=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Lc=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},Hk="cache write denied:",yI=class t extends Lc{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},j5=Kg,CI=class t extends Error{static{o(this,"CacheReadDeniedError")}constructor(e){super(e),this.name="CacheReadDeniedError",Object.setPrototypeOf(this,t.prototype)}},II=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function K5(t){if(!t||t.length===0)throw new Rn("Path Validation Error: At least one directory or file path is required")}o(K5,"checkPaths");function zk(t){if(t.length>512)throw new Rn(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Rn(`Key Validation Error: ${t} cannot contain commas.`)}o(zk,"checkKey");function $k(){return am()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o($k,"isFeatureAvailable");function X5(t,e,r,s){return Zu(this,arguments,void 0,function*(n,i,a,c,l=!1){let u=am();b(`Cache service version: ${u}`),K5(n);let A=QP();if(!H8(A)){S(`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 rRe(n,i,a,c,l):yield tRe(n,i,a,c,l)})}o(X5,"restoreCache");function tRe(t,e,r,s){return Zu(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 Rn("Key Validation Error: Keys are limited to a maximum of 10.");for(let m of A)zk(m);let d=yield ip(),p="";try{let m;try{m=yield K8(A,n,{compressionMethod:d,enableCrossOsArchive:l})}catch(g){let C=(u=g?.message)!==null&&u!==void 0?u:"";throw C.includes(j5)?new CI(C):g}if(!m?.archiveLocation)return;if(c?.lookupOnly)return S("Lookup only - skipping download"),m.cacheKey;p=bm.join(yield sp(),jo(d)),b(`Archive Path: ${p}`),yield NP(m.archiveLocation,p,c),Ka()&&(yield wm(p,d));let h=jn(p);return S(`Cache Size: ~${Math.round(h/(1024*1024))} MB (${h} B)`),yield qk(p,d),S("Cache restored successfully"),m.cacheKey}catch(m){let h=m;if(h.name===Rn.name)throw m;h instanceof Kn&&typeof h.statusCode=="number"&&h.statusCode>=500?Wl(`Failed to restore: ${m.message}`):et(`Failed to restore: ${m.message}`)}finally{try{yield np(p)}catch(m){b(`Failed to delete archive: ${m}`)}}})}o(tRe,"restoreCacheV1");function rRe(t,e,r,s){return Zu(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 Rn("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of A)zk(p);let d="";try{let p=Ok(),m=yield ip(),h={key:i,restoreKeys:a,version:iu(n,m,l)},g;try{g=yield p.GetCacheEntryDownloadURL(h)}catch(y){let I=(u=y?.message)!==null&&u!==void 0?u:"";throw I.includes(j5)?new CI(I):y}if(!g.ok){b(`Cache not found for version ${h.version} of keys: ${A.join(", ")}`);return}if(h.key!==g.matchedKey?S(`Cache hit for restore-key: ${g.matchedKey}`):S(`Cache hit for: ${g.matchedKey}`),c?.lookupOnly)return S("Lookup only - skipping download"),g.matchedKey;d=bm.join(yield sp(),jo(m)),b(`Archive path: ${d}`),b(`Starting download of archive to: ${d}`),yield NP(g.signedDownloadUrl,d,c);let E=jn(d);return S(`Cache Size: ~${Math.round(E/(1024*1024))} MB (${E} B)`),Ka()&&(yield wm(d,m)),yield qk(d,m),S("Cache restored successfully"),g.matchedKey}catch(p){let m=p;if(m.name===Rn.name)throw p;m instanceof Kn&&typeof m.statusCode=="number"&&m.statusCode>=500?Wl(`Failed to restore: ${p.message}`):et(`Failed to restore: ${p.message}`)}finally{try{d&&(yield np(d))}catch(p){b(`Failed to delete archive: ${p}`)}}})}o(rRe,"restoreCacheV2");function Vk(t,e,r){return Zu(this,arguments,void 0,function*(s,n,i,a=!1){let c=am();b(`Cache service version: ${c}`),K5(s),zk(n);let l=QP();return z8(l)?c==="v2"?yield nRe(s,n,i,a):yield sRe(s,n,i,a):(S(`Cache save skipped: the effective cache-mode '${l}' does not permit writes.`),b(`Skipped save for paths [${s.join(", ")}] with key '${n}'.`),-1)})}o(Vk,"saveCache");function sRe(t,e,r){return Zu(this,arguments,void 0,function*(s,n,i,a=!1){var c,l,u,A,d,p;let m=yield ip(),h=-1,g=yield K0(s);if(b("Cache Paths:"),b(`${JSON.stringify(g)}`),g.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let C=yield sp(),E=bm.join(C,jo(m));b(`Archive Path: ${E}`);try{yield Gk(C,g,m),Ka()&&(yield wm(E,m));let y=10*1024*1024*1024,I=jn(E);if(b(`File Size: ${I}`),I>y&&!bP())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 X8(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 x=(d=B?.error)===null||d===void 0?void 0:d.message;throw x?.startsWith(Hk)?new yI(`Unable to reserve cache with key ${n}. More details: ${x}`):new Lc(`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 SP(h,E,"",i)}catch(y){let I=y;if(I.name===Rn.name)throw y;I.name===Lc.name?S(`Failed to save: ${I.message}`):I instanceof Kn&&typeof I.statusCode=="number"&&I.statusCode>=500?Wl(`Failed to save: ${I.message}`):et(`Failed to save: ${I.message}`)}finally{try{yield np(E)}catch(y){b(`Failed to delete archive: ${y}`)}}return h})}o(sRe,"saveCacheV1");function nRe(t,e,r){return Zu(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 ip(),u=Ok(),A=-1,d=yield K0(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 sp(),m=bm.join(p,jo(l));b(`Archive Path: ${m}`);try{yield Gk(p,d,l),Ka()&&(yield wm(m,l));let h=jn(m);b(`File Size: ${h}`),i.archiveSizeBytes=h,b("Reserving Cache");let g=iu(s,l,a),C={key:n,version:g},E;try{let B=yield u.CreateCacheEntry(C);if(!B.ok)throw B.message&&!B.message.startsWith(Hk)&&et(`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 x=(c=B?.message)!==null&&c!==void 0?c:"";throw x.startsWith(Hk)?new yI(`Unable to reserve cache with key ${n}. More details: ${x}`):new Lc(`Unable to reserve cache with key ${n}, another job may be creating this cache.`)}b(`Attempting to upload cache located at: ${m}`),yield SP(A,m,E,i);let y={key:n,version:g,sizeBytes:`${h}`},I=yield u.FinalizeCacheEntryUpload(y);if(b(`FinalizeCacheEntryUploadResponse: ${I.ok}`),!I.ok)throw I.message?new II(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 g=h;if(g.name===Rn.name)throw h;g.name===Lc.name?S(`Failed to save: ${g.message}`):g.name===II.name?et(g.message):g instanceof Kn&&typeof g.statusCode=="number"&&g.statusCode>=500?Wl(`Failed to save: ${g.message}`):et(`Failed to save: ${g.message}`)}finally{try{yield np(m)}catch(h){b(`Failed to delete archive: ${h}`)}}return A})}o(nRe,"saveCacheV2");var Z5=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=Z5.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=Jk.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=Jk.default.join(this.cacheDir,this.opts.cacheFile),Qm.default.existsSync(this.cacheDir)||Qm.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&&$k())if(r)try{b(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await Vk([this.cacheDir],this.ghaCacheKey)}catch(i){et(`Failed to save cache: ${i}`)}else b(`Cache.save sending ${this.ghaCacheKey} to post state`),jl(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return s}async find(){try{let e=Kz(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return S(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&$k()){if(b("GitHub Actions cache feature available"),await X5([this.cacheDir],this.ghaCacheKey)){if(S(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),!Qm.default.existsSync(this.cachePath))return et(`Cache file ${this.cachePath} does not exist`),"";let r=await this.cacheToHostedToolCache();return r&&S(`Cached to hosted tool cache ${r}`),this.cachePath}}else this.ghaNoCache?S("GitHub Actions cache disabled"):S("GitHub Actions cache feature not available")}catch(e){et(`Failed to restore cache: ${e}`)}return""}static async post(){let e=jG(t.POST_CACHE_KEY);if(!e)return S("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{S(`Caching ${r.key} to GitHub Actions cache`),await Vk([r.dir],r.key)}catch(s){et(`Failed to save cache: ${s}`)}return r}copyToCache(e){return S(`Copying ${e} to ${this.cachePath}`),Qm.default.copyFileSync(e,this.cachePath),this.cachePath}async cacheToHostedToolCache(){try{return await Rg(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform())}catch(e){S(`Failed to cache to hosted tool cache: ${e}`)}return""}platform(){let e=process.config.variables.arm_version;return`${Yk.default.platform()}-${Yk.default.arch()}${e?"v"+e:""}`}};var ej=!!process.env.STATE_isPost;ej||jl("isPost","true");async function tj(t,e){if(ej)e&&await e(),await me("Post cache",async()=>{await Ti.post()});else try{await t()}catch(r){WG(r.message)}}o(tj,"run");var IZ=w(require("child_process"),1),Jt=w(require("fs"),1),BZ=w(require("fs/promises"),1),Wr=w(require("os"),1),vt=w(require("path"),1),wZ=require("util"),bZ=w(Wk(),1),FB=w(GD(),1);var JD=w(require("fs"),1),h6=w(require("os"),1),f6=w(require("path"),1),g6=w(m6(),1);var Jr=class t{static{o(this,"Context")}static _tmpDir=JD.default.mkdtempSync(f6.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||h6.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return JD.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return g6.tmpNameSync(e)}};var XD=w(require("fs"),1),b6=w(require("os"),1),Gm=w(require("path"),1),Q6=require("util"),x6=w(Wk(),1);var de=class{static{o(this,"Exec")}static async exec(e,r,s){return b(`Exec.exec: ${e} ${r?.join(" ")}`),cs(e,r,s)}static async getExecOutput(e,r,s){return b(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),Sd(e,r,s)}};var KD=w(require("crypto"),1),B6=w(require("fs"),1),qm=w(require("path"),1),w6=w(GD(),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 Um=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var aB=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}},jD=WD;var E6=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 jD(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 jD(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 y6=o(function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})},"underscore");var dA=o(function(t){let e={};for(let s in t)e[y6(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=aB(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(!Um(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(!Um(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 C6=o(function(t,e){e||({delimiter_auto:e}=dA({delimiter_auto:!0})),typeof t=="string"&&(t=Buffer.from(t)),Buffer.isBuffer(t)&&(t=(n=>{let i=[],a=cB({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=IPe(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"),IPe=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 I6=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),BPe=13,wPe=10,pA={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},cB=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=dA(t);return{info:e,original_options:t,options:r,state:E6(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(C6(Te,this.options.delimiter_auto))],this.state.previousBuf=Te,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=Te;return}}let{previousBuf:Me}=this.state,ne;if(Me===void 0)if(s===void 0){a();return}else ne=s;else Me!==void 0&&s===void 0?ne=Me:ne=Buffer.concat([Me,s]);if(ye===!1)if(c===!1)this.state.bomSkipped=!0;else if(ne.length<3){if(n===!1){this.state.previousBuf=ne;return}}else{for(let Te in pA)if(pA[Te].compare(ne,0,pA[Te].length)===0){let Pn=pA[Te].length;this.state.bufBytesStart+=Pn,ne=ne.slice(Pn);let bo=dA({...this.original_options,encoding:Te});for(let rt in bo)this.options[rt]=bo[rt];({comment:B,escape:x,quote:R}=this.options);break}this.state.bomSkipped=!0}let Ar=ne.length,$;for($=0;$I){this.state.stop=!0,a();return}this.state.quoting===!1&&q.length===0&&this.__autoDiscoverRecordDelimiter(ne,$)&&(q=this.options.record_delimiter);let Te=ne[$];if(h===!0&&xe.append(Te),(Te===BPe||Te===wPe)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(x!==null&&this.state.quoting===!0&&this.__isEscape(ne,$,Te)&&$+x.lengthpA[Ca].equals(this.state.field.toString())?Ca:!1).filter(Boolean)[0],jr=this.__error(new fe("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(rt.column)} at line ${rt.lines}, value is ${JSON.stringify(this.state.field.toString(A))}`,kn?`(${kn} bom)`:void 0],this.options,rt,{field:this.state.field}));if(jr!==void 0)return jr}}else{this.state.quoting=!0,$+=R.length-1;continue}if(this.state.quoting===!1){let rt=this.__isRecordDelimiter(Te,ne,$);if(rt!==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(),$+=rt-1;continue}if(E===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,$+=rt-1;continue}this.info.bytes=this.state.bufBytesStart+$;let Ca=this.__onField();if(Ca!==void 0)return Ca;this.info.bytes=this.state.bufBytesStart+$+rt;let ih=this.__onRecord(i);if(ih!==void 0)return ih;if(y!==-1&&this.info.records>=y){this.state.stop=!0,a();return}}this.state.commenting=!1,$+=rt-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,ne,$,Te)!==0){this.state.commenting=!0;continue}let kn=this.__isDelimiter(ne,$,Te);if(kn!==0){this.info.bytes=this.state.bufBytesStart+$;let jr=this.__onField();if(jr!==void 0)return jr;$+=kn-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 Pn=p===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(ne,$),bo=C===!1||this.state.wasQuoting===!1;if(Pn===!0&&bo===!0)this.state.field.append(Te);else{if(C===!0&&!this.__isCharTrimable(ne,$))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()));Pn===!1&&($+=this.__isCharTrimable(ne,$)-1);continue}}if(n===!0)if(this.state.quoting===!0){let Te=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(Te!==void 0)return Te}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+$;let Te=this.__onField();if(Te!==void 0)return Te;let Pn=this.__onRecord(i);if(Pn!==void 0)return Pn}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=$,this.state.previousBuf=ne.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:g}=this.state;if(h===!1)return this.__resetRecord();let C=g.length;if(n===!0){if(m===!0&&I6(g)){this.__resetRecord();return}return this.__firstLineToColumns(g)}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:g}):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:g});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&&I6(g)){this.__resetRecord();return}if(this.state.recordHasError===!0){this.__resetRecord(),this.state.recordHasError=!1;return}if(this.info.records++,l===1||this.info.records>=l){let{objname:E}=this.options;if(n!==!1){let y={};for(let I=0,B=g.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 lB=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],s=cB(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(fn(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let s=[];if(e=="")return s;let n=lB(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=fn(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let s=0;ssetTimeout(r,e*1e3))}static hash(e){return KD.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 KD.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,s){return w6.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=qm.default.resolve(e);return qm.default.resolve(r).startsWith(s.endsWith(qm.default.sep)?s:`${s}${qm.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 ur=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||Gm.default.join(b6.default.homedir(),".docker")}static configFile(){let e=Gm.default.join(t.configDir,"config.json");if(XD.default.existsSync(e))return JSON.parse(XD.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await nt("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 de.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return de.getExecOutput("docker",e,t.execOptions(r))}static getErrorMessage(e){let r=(0,Q6.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){let s=t.parseRepoTag(e),n=s.repository.replace(/[^a-zA-Z0-9.]+/g,"--"),i=s.tag.replace(/[^a-zA-Z0-9.]+/g,"--"),a=new Ti({htcName:n,htcVersion:i,baseCacheDir:Gm.default.join(t.configDir,".cache","images",n),cacheFile:"image.tar"}),c;r&&(c=await a.find(),c&&(S(`Image found from cache in ${c}`),await t.getExecOutput(["load","-i",c],{ignoreReturnCode:!0}).then(u=>{u.stderr.length>0&&u.exitCode!=0&&et(`Failed to load image from cache: ${t.getErrorMessage(u.stderr)}`)})));let l=!0;try{await t.pullWithRetry(e)}catch(u){if(l=!1,c)et(`Failed to pull image, using one from cache: ${u.message}`);else throw u}if(r&&l){let u=Gm.default.join(Jr.tmpDir(),`${Nr.hash(e)}.tar`);await t.getExecOutput(["save","-o",u,e],{ignoreReturnCode:!0}).then(async A=>{if(A.stderr.length>0&&A.exitCode!=0)et(`Failed to save image: ${t.getErrorMessage(A.stderr)}`);else{let d=await a.save(u);S(`Image cached to ${d}`)}})}}static async pullWithRetry(e){await(0,x6.default)(async s=>{let n=await t.getExecOutput(["pull",e],{ignoreReturnCode:!0});if(n.stderr.length>0&&n.exitCode!=0){let i=t.getErrorMessage(n.stderr);if(!t.isPullTransientError(i)){s(new Error(i));return}throw new Error(i)}},{retries:4,minTimeout:1e3,factor:2,onRetry:o((s,n)=>{b(`Docker pull failed, retrying (${n}/5)... ${s}`)},"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 wK=w(require("crypto"),1);var uB=require("fs"),N6=require("os");var mA=class{static{o(this,"Context")}constructor(){var e,r,s;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,uB.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,uB.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${N6.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 r_=w(P6(),1),k6=w($l(),1);var LPe=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 D6(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(D6,"getAuthString");function _6(t){return new r_.HttpClient().getAgent(t)}o(_6,"getProxyAgent");function MPe(t){return new r_.HttpClient().getAgentDispatcher(t)}o(MPe,"getProxyAgentDispatcher");function L6(t){let e=MPe(t);return o((s,n)=>LPe(this,void 0,void 0,function*(){return(0,k6.fetch)(s,Object.assign(Object.assign({},n),{dispatcher:e}))}),"proxyFetch")}o(L6,"getProxyFetch");function M6(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(M6,"getApiBaseUrl");function s_(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(s_,"getUserAgentWithOrchestrationId");function fa(){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(fa,"getUserAgent");function gB(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)=>gB.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(gB,"register");function O6(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(O6,"addHook");function F6(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(F6,"removeHook");var U6=Function.bind,q6=U6.bind(U6);function G6(t,e,r){let s=q6(F6,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]=q6(O6,null).apply(null,i)})}o(G6,"bindApi");function FPe(){let t=Symbol("Singular"),e={registry:{}},r=gB.bind(null,e,t);return G6(r,e,t),r}o(FPe,"Singular");function UPe(){let t={registry:{}},e=gB.bind(null,t);return G6(e,t),e}o(UPe,"Collection");var H6={Singular:FPe,Collection:UPe};var qPe="0.0.0-development",GPe=`octokit-endpoint.js/${qPe} ${fa()}`,HPe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":GPe},mediaType:{format:""}};function zPe(t){return t?Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}):{}}o(zPe,"lowercaseKeys");function $Pe(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($Pe,"isPlainObject");function V6(t,e){let r=Object.assign({},t);return Object.keys(e).forEach(s=>{$Pe(e[s])?s in t?r[s]=V6(t[s],e[s]):Object.assign(r,{[s]:e[s]}):Object.assign(r,{[s]:e[s]})}),r}o(V6,"mergeDeep");function z6(t){for(let e in t)t[e]===void 0&&delete t[e];return t}o(z6,"removeUndefinedProperties");function i_(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=zPe(r.headers),z6(r),z6(r.headers);let s=V6(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(i_,"merge");function VPe(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(VPe,"addQueryParameters");var YPe=/\{[^{}}]+\}/g;function JPe(t){return t.replace(/(?:^\W+)|(?:(?r.concat(s),[]):[]}o(WPe,"extractUrlVariableNames");function $6(t,e){let r={__proto__:null};for(let s of Object.keys(t))e.indexOf(s)===-1&&(r[s]=t[s]);return r}o($6,"omit");function Y6(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(Y6,"encodeReserved");function fA(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}o(fA,"encodeUnreserved");function zm(t,e,r){return e=t==="+"||t==="#"?Y6(e):fA(e),r?fA(r)+"="+e:e}o(zm,"encodeValue");function hA(t){return t!=null}o(hA,"isDefined");function n_(t){return t===";"||t==="&"||t==="?"}o(n_,"isKeyOperator");function jPe(t,e,r,s){var n=t[r],i=[];if(hA(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(zm(e,n,n_(e)?r:""));else if(s==="*")Array.isArray(n)?n.filter(hA).forEach(function(a){i.push(zm(e,a,n_(e)?r:""))}):Object.keys(n).forEach(function(a){hA(n[a])&&i.push(zm(e,n[a],a))});else{let a=[];Array.isArray(n)?n.filter(hA).forEach(function(c){a.push(zm(e,c))}):Object.keys(n).forEach(function(c){hA(n[c])&&(a.push(fA(c)),a.push(zm(e,n[c].toString())))}),n_(e)?i.push(fA(r)+"="+a.join(",")):a.length!==0&&i.push(a.join(","))}else e===";"?hA(n)&&i.push(fA(r)):n===""&&(e==="&"||e==="?")?i.push(fA(r)+"="):n===""&&i.push("");return i}o(jPe,"getValues");function KPe(t){return{expand:XPe.bind(null,t)}}o(KPe,"parseUrl");function XPe(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(jPe(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 Y6(i)}),t==="/"?t:t.replace(/\/$/,"")}o(XPe,"expand");function J6(t){let e=t.method.toUpperCase(),r=(t.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),s=Object.assign({},t.headers),n,i=$6(t,["method","baseUrl","url","headers","request","mediaType"]),a=WPe(r);r=KPe(r).expand(i),/^http/.test(r)||(r=t.baseUrl+r);let c=Object.keys(t).filter(A=>a.includes(A)).concat("baseUrl"),l=$6(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=VPe(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(J6,"parse");function ZPe(t,e,r){return J6(i_(t,e,r))}o(ZPe,"endpointWithDefaults");function W6(t,e){let r=i_(t,e),s=ZPe.bind(null,r);return Object.assign(s,{DEFAULTS:r,defaults:W6.bind(null,r),merge:i_.bind(null,r),parse:J6})}o(W6,"withDefaults");var j6=W6(null,HPe);var aK=w(eK(),1);var rK=/^-?\d+n+$/,o_=JSON.stringify,tK=JSON.parse,sK=o((t,e,r)=>{if("rawJSON"in JSON)return o_(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 o_(t,e,r);let s=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,n=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g;return o_(t,(l,u)=>typeof u=="string"&&!!u.match(rK)||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"),eke=o(()=>JSON.parse("1",(t,e,r)=>!!r&&r.source==="1"),"isContextSourceSupported"),tke=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 tK(t,e);if(eke())return tke(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,g=u&&(u.lengthtypeof u=="string"&&!!u.match(a)?BigInt(u.substring(0,u.length-1)):typeof u=="string"&&!!u.match(rK)?u.substring(0,u.length-1):typeof e!="function"?u:e(l,u,A))},"JSONParse");var $c=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 oK(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=nke(t.body)||Array.isArray(t.body)?sK(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 $c(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 $c(a.statusText,c,{response:A,request:t})}if(c===304)throw A.data=await a_(a),new $c("Not modified",c,{response:A,request:t});if(c>=400)throw A.data=await a_(a),new $c(oke(A.data),c,{response:A,request:t});return A.data=s?await a_(a):a.body,A}o(oK,"fetchWrapper");async function a_(t){let e=t.headers.get("content-type");if(!e)return t.text().catch(iK);let r=(0,aK.safeParse)(e);if(ike(r)){let s="";try{return s=await t.text(),nK(s)}catch{return s}}else return r.type.startsWith("text/")||r.parameters.charset?.toLowerCase()==="utf-8"?t.text().catch(iK):t.arrayBuffer().catch(()=>new ArrayBuffer(0))}o(a_,"getResponseData");function ike(t){return t.type==="application/json"||t.type==="application/scim+json"}o(ike,"isJSONResponse");function oke(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(oke,"toErrorMessage");function c_(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 oK(r.parse(a));let c=o((l,u)=>oK(r.parse(r.merge(l,u))),"request2");return Object.assign(c,{endpoint:r,defaults:c_.bind(null,r)}),a.request.hook(c,a)},"newApi"),{endpoint:r,defaults:c_.bind(null,r)})}o(c_,"withDefaults");var Vm=c_(j6,ske);var ake="0.0.0-development";function cke(t){return`Request failed due to following response errors: `+t.errors.map(e=>` - ${e.message}`).join(` `)}o(cke,"_buildMessageForResponseErrors");var lke=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super(cke(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},uke=["method","baseUrl","url","headers","request","query","mediaType","operationName"],Ake=["query","method","url"],cK=/\/api\/v3\/?$/;function dke(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(Ake.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)=>uke.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 cK.test(i)&&(n.url=i.replace(cK,"/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 lke(n,c,a.data)}return a.data.data})}o(dke,"graphql");function l_(t,e){let r=t.defaults(e);return Object.assign(o((n,i)=>dke(r,n,i),"newApi"),{defaults:l_.bind(null,r),endpoint:r.endpoint})}o(l_,"withDefaults");var Nut=l_(Vm,{headers:{"user-agent":`octokit-graphql.js/${ake} ${fa()}`},method:"POST",url:"/graphql"});function lK(t){return l_(t,{method:"POST",url:"/graphql"})}o(lK,"withCustomRequest");var u_="(?:[a-zA-Z0-9_-]+)",uK="\\.",AK=new RegExp(`^${u_}${uK}${u_}${uK}${u_}$`),pke=AK.test.bind(AK);async function mke(t){let e=pke(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(mke,"auth");function hke(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(hke,"withAuthorizationPrefix");async function fke(t,e,r,s){let n=e.endpoint.merge(r,s);return n.headers.authorization=hke(t),e(n)}o(fke,"hook");var dK=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(mke.bind(null,e),{hook:fke.bind(null,e)})},"createTokenAuth2");var A_="7.0.6";var pK=o(()=>{},"noop"),gke=console.warn.bind(console),Eke=console.error.bind(console);function yke(t={}){return typeof t.debug!="function"&&(t.debug=pK),typeof t.info!="function"&&(t.info=pK),typeof t.warn!="function"&&(t.warn=gke),typeof t.error!="function"&&(t.error=Eke),t}o(yke,"createLogger");var mK=`octokit-core.js/${A_} ${fa()}`,IB=class{static{o(this,"Octokit")}static VERSION=A_;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 H6.Collection,s={baseUrl:Vm.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} ${mK}`:mK,e.baseUrl&&(s.baseUrl=e.baseUrl),e.previews&&(s.mediaType.previews=e.previews),e.timeZone&&(s.headers["time-zone"]=e.timeZone),this.request=Vm.defaults(s),this.graphql=lK(this.request).defaults(s),this.log=yke(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=dK(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=Qke(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:gK(t,e,r,s)})}o(gK,"gather");var Zut=Object.assign(fK,{iterator:h_});function f_(t){return{paginate:Object.assign(fK.bind(null,t),{iterator:h_.bind(null,t)})}}o(f_,"paginateRest");f_.VERSION=bke;var iAt=new mA,g_=M6(),xke={baseUrl:g_,request:{agent:_6(g_),fetch:L6(g_)}},EK=IB.plugin(m_,f_).defaults(xke);function yK(t,e){let r=Object.assign({},e||{}),s=D6(t,r);s&&(r.auth=s);let n=s_(r.userAgent);return n&&(r.userAgent=n),r}o(yK,"getOctokitOptions");var gA=new mA;function CK(t,e,...r){let s=EK.plugin(...r);return new s(yK(t,e))}o(CK,"getOctokit");var Jm=w(require("http"),1),I_=w(require("https"),1);function E_(t){let e=t.protocol==="https:";if(Ske(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 BB(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new BB(`http://${r}`)}else return}o(E_,"getProxyUrl");function Ske(t){if(!t.hostname)return!1;let e=t.hostname;if(Rke(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(Ske,"checkBypass");function Rke(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(Rke,"isLoopbackAddress");var BB=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 ga=w(IA(),1),IK=w($l(),1);var Qt=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 vke=[rn.MovedPermanently,rn.ResourceMoved,rn.SeeOther,rn.TemporaryRedirect,rn.PermanentRedirect],Pke=[rn.BadGateway,rn.ServiceUnavailable,rn.GatewayTimeout],kke=["OPTIONS","GET","DELETE","HEAD"],Dke=10,_ke=5,y_=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},C_=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return Qt(this,void 0,void 0,function*(){return new Promise(e=>Qt(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 Qt(this,void 0,void 0,function*(){return new Promise(e=>Qt(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 wB=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 Qt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Qt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Qt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return Qt(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return Qt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return Qt(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return Qt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return Qt(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return Qt(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 Qt(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 Qt(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 Qt(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 Qt(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&&kke.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&&vke.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||!Pke.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 C_(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=E_(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?I_:Jm;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)[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=E_(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||Jm.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?ga.httpsOverHttps:ga.httpsOverHttp:l=u?ga.httpOverHttps:ga.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new I_.Agent(c):new Jm.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 IK.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 Qt(this,void 0,void 0,function*(){e=Math.min(Dke,e);let r=_ke*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return Qt(this,void 0,void 0,function*(){return new Promise((s,n)=>Qt(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 y_(A,i);d.result=a.result,n(d)}else s(a)}))})}},Ym=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var bK=require("stream/consumers");var Yc=class extends Error{static{o(this,"InvalidTokenError")}};Yc.prototype.name="InvalidTokenError";function Mke(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(Mke,"b64DecodeUnicode");function Oke(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 Mke(e)}catch{return atob(e)}}o(Oke,"base64UrlDecode");function BK(t,e){if(typeof t!="string")throw new Yc("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 Yc(`Invalid token specified: missing part #${r+1}`);let n;try{n=Oke(s)}catch(i){throw new Yc(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(n)}catch(i){throw new Yc(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}o(BK,"jwtDecode");var bB=[1e3,3e3],Fke=new Set(["ECONNRESET","ETIMEDOUT","EAI_AGAIN","ECONNREFUSED","EPIPE","ERR_STREAM_PREMATURE_CLOSE"]),Ea=class t{static{o(this,"GitHub")}githubToken;octokit;constructor(e){this.githubToken=e?.token||process.env.GITHUB_TOKEN,this.octokit=CK(`${this.githubToken}`)}repoData(){return this.octokit.rest.repos.get({...gA.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<=bB.length;c++)try{let u=await new wB("docker-actions-toolkit").get(n,i),A=await(0,bK.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===bB.length)throw a;S(`${a.message}. Retrying (${c+1}/${bB.length})...`),await new Promise(u=>setTimeout(u,bB[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&&Fke.has(s)||n.includes("socket hang up")||n.includes("read econnreset")}static get context(){return gA}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`${gA.repo.owner}/${gA.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:gA.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?BK(e):void 0}static printUntrusted(e){let r=wK.randomUUID();S(`::stop-commands::${r}`);try{S(e)}finally{S(`::${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})`}S(`${r.Scope}: ${s}`)})}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${r.message}`)}}};var hZ=w(eh(),1);var MB=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 de.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 de.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 de.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 de.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 de.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=hZ.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return b(`Regctl.versionSatisfies ${s} statisfies ${e}: ${n}`),n}};var fZ=w(eh(),1);var OB=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 de.exec(this.binPath,r,{failOnStdErr:!1})}async isAvailable(){let e=await de.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 de.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 de.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=fZ.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return b(`Undock.versionSatisfies ${s} statisfies ${e}: ${n}`),n}};var G_=w(require("fs"),1);var gZ=o(()=>yZ("docker-setup-win.ps1",YLe),"setupDockerWinPs1"),H_=o(()=>yZ("docker-service-logs.ps1",JLe),"dockerServiceLogsPs1");var EZ="0.14.0",yZ=o((t,e,r)=>{let s=Jr.tmpName({template:`docker-asset-XXXXXX-${t}`,tmpdir:Jr.tmpDir()});return G_.default.writeFileSync(s,e),r&&G_.default.chmodSync(s,r),s},"get"),YLe=` [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!" `,JLe=` Get-WinEvent -ea SilentlyContinue \` -FilterHashtable @{ProviderName= "docker"; LogName = "application"} | Sort-Object @{Expression="TimeCreated";Descending=$false} | ForEach-Object {"$($_.TimeCreated.ToUniversalTime().ToString("o")) [$($_.LevelDisplayName)] $($_.Message)"} `,CZ=` # 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 th=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 MB,this.undock=e.undock||new OB,this.githubToken=e.githubToken||process.env.GITHUB_TOKEN}get toolDir(){return this._toolDir||Jr.tmpDir()}async download(){let e,r,s=Wr.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,S(`Downloading Docker ${i} from ${this.source.channel} at download.docker.com`),e=await this.downloadSourceArchive("docker",this.source),this.rootless){S(`Downloading Docker rootless extras ${i} from ${this.source.channel} at download.docker.com`);let c=await this.downloadSourceArchive("docker-rootless-extras",this.source);Jt.default.readdirSync(c).forEach(l=>{let u=vt.default.join(c,l),A=vt.default.join(e,l);Jt.default.copyFileSync(u,A)})}break}}S("Fixing perms"),Jt.default.readdir(vt.default.join(e),function(i,a){if(i)throw i;a.forEach(function(c,l){Nr.isDirectory(vt.default.join(e,c))||Jt.default.chmodSync(vt.default.join(e,c),"0755")})});let n=await Rg(e,r,this._version.replace(/(0+)([1-9]+)/,"$2"));return Jl(n),S("Added Docker to PATH"),this._toolDir=n,n}async downloadSourceImage(e){let r=vt.default.join(Jr.tmpDir(),"docker-install-image"),s=`dockereng/cli-bin:${this._version}`,n=`moby/moby-bin:${this._version}`;if(S(`Downloading Docker CLI from ${s}`),await this.undock.run({source:s,dist:r}),["win32","linux"].includes(e))S(`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){et(i),this.gitCommit="master"}b(`docker.Install.downloadSourceImage gitCommit: ${this.gitCommit}`)}else et(`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);S(`Downloading ${n}`);let i=await Za(n);b(`docker.Install.downloadSourceArchive downloadPath: ${i}`);let a;return Wr.default.platform()=="win32"?a=await Sg(i,a):a=await Ng(i,a),Nr.isDirectory(vt.default.join(a,e))&&(a=vt.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=Wr.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: ${Wr.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=vt.default.join(Wr.default.homedir(),".lima",this.limaInstanceName);await Ps(r);let s=`unix://${r}/docker.sock`;if(await t.limaInstalled()||await this.brewInstall("lima"),await me("Lima version",async()=>{await de.exec("lima",["--version"])}),await me("Creating lima config",async()=>{let i={};this.daemonConfig&&(i=JSON.parse(this.daemonConfig)),FB.default.registerHelper("stringify",function(l){return new FB.default.SafeString(JSON.stringify(l))});let a=e,c=FB.default.compile(CZ)({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:EZ});S(`Writing lima config to ${vt.default.join(r,"lima.yaml")}`),Jt.default.writeFileSync(vt.default.join(r,"lima.yaml"),c),S(c)}),t.limaNeedsQemu()){await t.qemuInstalled()||await this.brewInstall("qemu");let i=await t.qemuBin();await me("QEMU version",async()=>{await de.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 de.exec(`limactl ${i.join(" ")}`,[],{env:n})}catch(a){throw await this.printDarwinDiagnostics(),BZ.default.readdir(r).then(c=>{c.filter(l=>vt.default.extname(l)===".log").forEach(l=>{let u=vt.default.join(r,l),A=Jt.default.readFileSync(u,{encoding:"utf8"}).trim();A.length>0&&S(`### ${u}: ${A}`)})}).catch(()=>{}),a}}),await me("Create Docker context",async()=>{await ur.exec(["context","create",this.contextName,"--docker",`host=${s}`]),await ur.exec(["context","use",this.contextName])}),s}async installLinux(){let e=`unix://${vt.default.join(this.runDir,"docker.sock")}`;await Ps(this.runDir);let r=vt.default.join(this.runDir,"daemon.json");await Jt.default.writeFileSync(r,"{}");let s,n="/etc/docker/daemon.json";if(Jt.default.existsSync(n)&&(await me("Default Docker daemon config found",async()=>{S(JSON.stringify(JSON.parse(Jt.default.readFileSync(n,{encoding:"utf8"})),null,2))}),s=JSON.parse(Jt.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()=>{Jt.default.writeFileSync(r,a),S(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 nt("bash",!0),c=`${this.toolDir}/dockerd`;this.rootless&&(c=`${this.toolDir}/dockerd-rootless.sh`,process.env.RUNNER_ENVIRONMENT==="github-hosted"&&Jt.default.existsSync("/proc/sys/kernel/apparmor_restrict_unprivileged_userns")&&await nt("sudo",!1)&&await de.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}"`),S(`[command] ${l}`);let u=this.rootless?"":"sudo ";(await IZ.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,bZ.default)(async p=>{try{await de.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)=>{S(`${p}. Retrying (${m}/${d})...`)},"onRetry")}),S("Docker daemon started started successfully")}),await me("Create Docker context",async()=>{await ur.exec(["context","create",this.contextName,"--docker",`host=${e}`]),await ur.exec(["context","use",this.contextName])}),e}async installWindows(){let e="npipe:////./pipe/setup_docker_action",r,s=vt.default.join(this.runDir,"daemon.json");Jt.default.existsSync(s)&&(await me("Default Docker daemon config found",async()=>{S(JSON.stringify(JSON.parse(Jt.default.readFileSync(s,{encoding:"utf8"})),null,2))}),r=JSON.parse(Jt.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()=>{S(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(gZ(),i);await de.exec(a.command,a.args);let c=await Nr.powershellCommand(H_());await de.exec(c.command,c.args)}),await me("Create Docker context",async()=>{await ur.exec(["context","create",this.contextName,"--docker",`host=${e}`]),await ur.exec(["context","use",this.contextName])}),e}async tearDown(){if(!this.runDir)throw new Error("runDir must be set");switch(Wr.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: ${Wr.default.platform()}`)}await me("Cleaning up toolDir",async()=>{this._toolDir&&Jt.default.rmSync(this._toolDir,{recursive:!0,force:!0})})}async tearDownDarwin(){await this.printDarwinDiagnostics(),await me("Stopping lima instance",async()=>{await de.exec("limactl",["stop","--tty=false",this.limaInstanceName,"--force"])}),await me("Removing lima instance",async()=>{await de.exec("limactl",["delete","--tty=false",this.limaInstanceName,"--force"])}),await me("Removing Docker context",async()=>{await ur.exec(["context","rm","-f",this.contextName])}),await me("Cleaning up runDir",async()=>{await de.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 de.getExecOutput("limactl",["shell","--tty=false",this.limaInstanceName,...r],{ignoreReturnCode:!0,silent:!0}).catch(i=>{S(`Failed to get ${e}: ${i}`)});if(!s)return;let n=[s.stdout.trim(),s.stderr.trim()].filter(Boolean).join(` `);n.length>0?S(n):s.exitCode!==0&&S(`${e} exited with code ${s.exitCode}`)})}async tearDownLinux(){await me("Docker daemon logs",async()=>{let e=[vt.default.join(this.runDir,"dockerd.log")];await de.exec(this.rootless?"cat":"sudo",this.rootless?e:["cat",...e],{ignoreReturnCode:!0})}),await me("Stopping Docker daemon",async()=>{let e=["-s","SIGTERM",Jt.default.readFileSync(vt.default.join(this.runDir,"docker.pid")).toString().trim()];await de.exec(this.rootless?"kill":"sudo",this.rootless?e:["kill",...e]),await Nr.sleep(5)}),await me("Removing Docker context",async()=>{await ur.exec(["context","rm","-f",this.contextName])}),await me("Cleaning up runDir",async()=>{await de.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(H_());await de.exec(e.command,e.args)}),await me("Removing Docker context",async()=>{await ur.exec(["context","rm","-f",this.contextName])}),await me("Stopping Docker daemon service",async()=>{await de.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(Wr.default.platform()){case"darwin":return"mac";case"linux":return"linux";case"win32":return"win";default:return Wr.default.platform()}}static platformArch(){switch(Wr.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 Wr.default.arch()}}static async limaInstalled(){return await nt("lima",!0).then(e=>(b(`docker.Install.limaInstalled ok: ${e}`),!0)).catch(e=>(b(`docker.Install.limaInstalled error: ${e}`),!1))}static async qemuBin(){switch(Wr.default.arch()){case"x64":return"qemu-system-x86_64";case"arm64":return"qemu-system-aarch64";default:return`qemu-system-${Wr.default.arch()}`}}static async qemuInstalled(){return await nt(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 Ea({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,wZ.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 de.exec("brew",["install",e]);else{let n="docker-actions-toolkit/tap";await de.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 de.exec("brew",["tap-new",n],{env:s});let a=await de.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 Za(c,vt.default.join(a,"Formula",`${e}.rb`)),await de.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 de.exec("brew",["uninstall",e,"--ignore-dependencies"],{env:s}),await de.exec("brew",["install",`${n}/${e}`],{env:s})}})}};var rh=w(require("fs"),1),wo=w(require("os"),1),UB=w(require("path"),1);var GB=w(eh(),1),z_=w(require("util"),1);var qB=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=GB.clean(i)||"";if(!GB.valid(a))throw new Error(`Invalid regclient version "${i}".`);let c=new Ti({htcName:"regctl-dl-bin",htcVersion:i,baseCacheDir:UB.default.join(wo.default.homedir(),".bin"),cacheFile:wo.default.platform()=="win32"?"regctl.exe":"regctl",ghaNoCache:r}),l=await c.find();if(l)return S(`regctl binary found in ${l}`),l;let u=z_.format(s.downloadURL,i,this.filename());S(`Downloading ${u}`);let A=await Za(u,void 0,this.githubToken);b(`Install.download htcDownloadPath: ${A}`);let d=await c.save(A);return S(`Cached to ${d}`),d}async install(e,r){r=r||Jr.tmpDir();let s=UB.default.join(r,"regctl-bin");rh.default.existsSync(s)||rh.default.mkdirSync(s,{recursive:!0});let n=wo.default.platform()=="win32"?"regctl.exe":"regctl",i=UB.default.join(s,n);return rh.default.copyFileSync(e,i),S("Fixing perms"),rh.default.chmodSync(i,"0755"),Jl(s),S("Added regctl to PATH"),S(`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 z_.format("regctl-%s-%s%s",r,e,s)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return S(`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 Ea({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 sh=w(require("fs"),1),vn=w(require("os"),1),nh=w(require("path"),1);var zB=w(eh(),1),$_=w(require("util"),1);var HB=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=zB.clean(i)||"";if(!zB.valid(a))throw new Error(`Invalid Undock version "${i}".`);let c=new Ti({htcName:"undock-dl-bin",htcVersion:i,baseCacheDir:nh.default.join(vn.default.homedir(),".bin"),cacheFile:vn.default.platform()=="win32"?"undock.exe":"undock",ghaNoCache:r}),l=await c.find();if(l)return S(`Undock binary found in ${l}`),l;let u=$_.format(s.downloadURL,i,this.filename(i));S(`Downloading ${u}`);let A=await Za(u,void 0,this.githubToken);b(`Install.download htcDownloadPath: ${A}`);let d;vn.default.platform()=="win32"?d=await Sg(A):d=await Ng(A),S(`Extracted to ${d}`);let p=nh.default.join(d,vn.default.platform()=="win32"?"undock.exe":"undock");b(`Install.download exePath: ${p}`);let m=await c.save(p);return S(`Cached to ${m}`),m}async install(e,r){r=r||Jr.tmpDir();let s=nh.default.join(r,"undock-bin");sh.default.existsSync(s)||sh.default.mkdirSync(s,{recursive:!0});let n=vn.default.platform()=="win32"?"undock.exe":"undock",i=nh.default.join(s,n);return sh.default.copyFileSync(e,i),S("Fixing perms"),sh.default.chmodSync(i,"0755"),Jl(s),S("Added Undock to PATH"),S(`Binary path: ${i}`),i}filename(e){let r;switch(vn.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=vn.default.arch();break}}let s=vn.default.platform()=="win32"?"windows":vn.default.platform(),n=vn.default.platform()=="win32"?".zip":".tar.gz";return $_.format("undock_%s_%s_%s%s",e,s,r,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return S(`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 Ea({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 QZ=w(require("os"),1),xZ=w(require("path"),1);function NZ(){let t=fn("version")||"latest",e=WLe(t),r=fn("channel");return r&&e.type==="archive"&&(e.channel=r),{source:e,daemonConfig:fn("daemon-config"),tcpPort:Nr.getInputNumber("tcp-port"),context:fn("context"),setHost:Td("set-host"),rootless:Td("rootless"),runtimeBasedir:fn("runtime-basedir")||xZ.default.join(QZ.default.homedir(),"setup-docker-action"),githubToken:fn("github-token")}}o(NZ,"getInputs");function WLe(t){let[e,r,s,n]=["archive","latest","stable","latest"],i=lB(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(WLe,"parseSource");var V_=process.env.STATE_rundir||"";function SZ(t){jl("rundir",t)}o(SZ,"setRunDir");var XLe="v0.11.6",ZLe="v0.14.0";tj(async()=>{let t=NZ(),e=TZ.default.join(t.runtimeBasedir,`run-${RZ.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 qB({githubToken:t.githubToken}),c=await a.download(process.env.REGCTL_VERSION&&process.env.REGCTL_VERSION.trim()?process.env.REGCTL_VERSION:XLe,!0);await a.install(c)}),await me("Download and install undock",async()=>{let a=new HB({githubToken:t.githubToken}),c=await a.download(process.env.UNDOCK_VERSION&&process.env.UNDOCK_VERSION.trim()?process.env.UNDOCK_VERSION:ZLe,!0);await a.install(c)}));let r,s;t.tcpPort&&(r=t.tcpPort,s=`tcp://127.0.0.1:${r}`);let n=new th({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 ur.isAvailable()||t.source)&&await me("Download docker",async()=>{i=await n.download()}),i){SZ(e);let a=await n.install();await me("Setting outputs",async()=>{S(`sock=${a}`),Mx("sock",a),s&&(S(`tcp=${s}`),Mx("tcp",s))}),t.setHost&&await me("Setting Docker host",async()=>{JG("DOCKER_HOST",a),S(`DOCKER_HOST=${a}`)})}await me("Docker info",async()=>{await ur.printVersion(),await ur.printInfo()})},async()=>{if(V_.length==0)return;await new th({runDir:V_,rootless:Td("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