var wZ=Object.create;var nh=Object.defineProperty;var bZ=Object.getOwnPropertyDescriptor;var QZ=Object.getOwnPropertyNames;var xZ=Object.getPrototypeOf,NZ=Object.prototype.hasOwnProperty;var o=(t,e)=>nh(t,"name",{value:e,configurable:!0});var f=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),SZ=(t,e)=>{for(var r in e)nh(t,r,{get:e[r],enumerable:!0})},RZ=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of QZ(e))!NZ.call(t,n)&&n!==r&&nh(t,n,{get:()=>e[n],enumerable:!(s=bZ(e,n))||s.enumerable});return t};var w=(t,e,r)=>(r=t!=null?wZ(xZ(t)):{},RZ(e||!t||!t.__esModule?nh(r,"default",{value:t,enumerable:!0}):r,t));var Y_=f(Wc=>{"use strict";var qLe=require("net"),_Z=require("tls"),$B=require("http"),z_=require("https"),LZ=require("events"),GLe=require("assert"),MZ=require("util");Wc.httpOverHttp=OZ;Wc.httpsOverHttp=FZ;Wc.httpOverHttps=UZ;Wc.httpsOverHttps=qZ;function OZ(t){var e=new _i(t);return e.request=$B.request,e}o(OZ,"httpOverHttp");function FZ(t){var e=new _i(t);return e.request=$B.request,e.createSocket=$_,e.defaultPort=443,e}o(FZ,"httpsOverHttp");function UZ(t){var e=new _i(t);return e.request=z_.request,e}o(UZ,"httpOverHttps");function qZ(t){var e=new _i(t);return e.request=z_.request,e.createSocket=$_,e.defaultPort=443,e}o(qZ,"httpsOverHttps");function _i(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||$B.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(s,n,i,a){for(var c=V_(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=VB({},s.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")),xo("making CONNECT request");var a=s.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",u),a.once("error",A),a.end();function c(d){d.upgrade=!0}o(c,"onResponse");function l(d,p,m){process.nextTick(function(){u(d,p,m)})}o(l,"onUpgrade");function u(d,p,m){if(a.removeAllListeners(),p.removeAllListeners(),d.statusCode!==200){xo("tunneling socket could not be established, statusCode=%d",d.statusCode),p.destroy();var h=new Error("tunneling socket could not be established, statusCode="+d.statusCode);h.code="ECONNRESET",e.request.emit("error",h),s.removeSocket(n);return}if(m.length>0){xo("got illegal response body from proxy"),p.destroy();var h=new Error("got illegal response body from proxy");h.code="ECONNRESET",e.request.emit("error",h),s.removeSocket(n);return}return xo("tunneling connection has established"),s.sockets[s.sockets.indexOf(n)]=p,r(p)}o(u,"onConnect");function A(d){a.removeAllListeners(),xo(`tunneling socket could not be established, cause=%s `,d.message,d.stack);var p=new Error("tunneling socket could not be established, cause="+d.message);p.code="ECONNRESET",e.request.emit("error",p),s.removeSocket(n)}o(A,"onError")},"createSocket");_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 $_(t,e){var r=this;_i.prototype.createSocket.call(r,t,function(s){var n=t.request.getHeader("host"),i=VB({},r.options,{socket:s,servername:n?n.replace(/:.*$/,""):t.host}),a=_Z.connect(0,i);r.sockets[r.sockets.indexOf(s)]=a,e(a)})}o($_,"createSecureSocket");function V_(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(V_,"toOptions");function VB(t){for(var e=1,r=arguments.length;e{J_.exports=Y_()});var Ye=f((VLe,W_)=>{W_.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((YLe,CL)=>{"use strict";var j_=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[j_]===!0}[j_]=!0},K_=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),YB=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[K_]===!0}[K_]=!0},X_=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),JB=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[X_]===!0}[X_]=!0},Z_=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),WB=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[Z_]===!0}[Z_]=!0},eL=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),jB=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[eL]===!0}[eL]=!0},tL=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),KB=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[tL]===!0}[tL]=!0},rL=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),XB=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[rL]===!0}[rL]=!0},sL=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),ZB=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[sL]===!0}[sL]=!0},nL=Symbol.for("undici.error.UND_ERR_ABORT"),lh=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[nL]===!0}[nL]=!0},iL=Symbol.for("undici.error.UND_ERR_ABORTED"),ew=class extends lh{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[iL]===!0}[iL]=!0},oL=Symbol.for("undici.error.UND_ERR_INFO"),tw=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[oL]===!0}[oL]=!0},aL=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),rw=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[aL]===!0}[aL]=!0},cL=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),sw=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[cL]===!0}[cL]=!0},lL=Symbol.for("undici.error.UND_ERR_DESTROYED"),nw=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[lL]===!0}[lL]=!0},uL=Symbol.for("undici.error.UND_ERR_CLOSED"),iw=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[uL]===!0}[uL]=!0},AL=Symbol.for("undici.error.UND_ERR_SOCKET"),ow=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[AL]===!0}[AL]=!0},dL=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[dL]===!0}[dL]=!0},pL=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),cw=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[pL]===!0}[pL]=!0},mL=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),lw=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[mL]===!0}[mL]=!0},hL=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),uw=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[hL]===!0}[hL]=!0},fL=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),Aw=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[fL]===!0}[fL]=!0},gL=Symbol.for("undici.error.UND_ERR_RESPONSE"),dw=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[gL]===!0}[gL]=!0},EL=Symbol.for("undici.error.UND_ERR_PRX_TLS"),pw=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[EL]===!0}[EL]=!0},yL=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),mw=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[yL]===!0}get[yL](){return!0}};CL.exports={AbortError:lh,HTTPParserError:lw,UndiciError:Je,HeadersTimeoutError:JB,HeadersOverflowError:WB,BodyTimeoutError:jB,RequestContentLengthMismatchError:rw,ConnectTimeoutError:YB,ResponseStatusCodeError:KB,InvalidArgumentError:XB,InvalidReturnValueError:ZB,RequestAbortedError:ew,ClientDestroyedError:nw,ClientClosedError:iw,InformationalError:tw,SocketError:ow,NotSupportedError:aw,ResponseContentLengthMismatchError:sw,BalancedPoolMissingUpstreamError:cw,ResponseExceededMaxSizeError:uw,RequestRetryError:Aw,ResponseError:dw,SecureProxyConnectionError:pw,MessageSizeExceededError:mw}});var Ah=f((WLe,IL)=>{"use strict";var uh={},hw=["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:BL,headerNameLowerCasedRecord:GZ}=Ah(),fw=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:NL,kBodyUsed:jc,kListeners:gw,kBody:xL}=Ye(),{IncomingMessage:HZ}=require("node:http"),hh=require("node:stream"),zZ=require("node:net"),{Blob:$Z}=require("node:buffer"),VZ=require("node:util"),{stringify:YZ}=require("node:querystring"),{EventEmitter:JZ}=require("node:events"),{InvalidArgumentError:qt}=Qe(),{headerNameLowerCasedRecord:WZ}=Ah(),{tree:SL}=QL(),[jZ,KZ]=process.versions.node.split(".").map(t=>Number(t)),mh=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[xL]=e,this[jc]=!1}async*[Symbol.asyncIterator](){BA(!this[jc],"disturbed"),this[jc]=!0,yield*this[xL]}};function XZ(t){return fh(t)?(kL(t)===0&&t.on("data",function(){BA(!1)}),typeof t.readableDidRead!="boolean"&&(t[jc]=!1,JZ.prototype.on.call(t,"data",function(){this[jc]=!0})),t):t&&typeof t.pipeTo=="function"?new mh(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&PL(t)?new mh(t):t}o(XZ,"wrapRequestBody");function ZZ(){}o(ZZ,"nop");function fh(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(fh,"isStream");function RL(t){if(t===null)return!1;if(t instanceof $Z)return!0;if(typeof t!="object")return!1;{let e=t[Symbol.toStringTag];return(e==="Blob"||e==="File")&&("stream"in t&&typeof t.stream=="function"||"arrayBuffer"in t&&typeof t.arrayBuffer=="function")}}o(RL,"isBlobLike");function e7(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=YZ(e);return r&&(t+="?"+r),t}o(e7,"buildURL");function TL(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(TL,"isValidPort");function ph(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(ph,"isHttpOrHttpsPrefixed");function vL(t){if(typeof t=="string"){if(t=new URL(t),!ph(t.origin||t.protocol))throw new qt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new qt("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&TL(t.port)===!1)throw new qt("Invalid URL: port must be a valid integer or a string representation of an integer.");if(t.path!=null&&typeof t.path!="string")throw new qt("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new qt("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new qt("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new qt("Invalid URL origin: the origin must be a string or null/undefined.");if(!ph(t.origin||t.protocol))throw new qt("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,s=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),s&&s[0]!=="/"&&(s=`/${s}`),new URL(`${r}${s}`)}if(!ph(t.origin||t.protocol))throw new qt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(vL,"parseURL");function t7(t){if(t=vL(t),t.pathname!=="/"||t.search||t.hash)throw new qt("invalid url");return t}o(t7,"parseOrigin");function r7(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(r7,"getHostname");function s7(t){if(!t)return null;BA(typeof t=="string");let e=r7(t);return zZ.isIP(e)?"":e}o(s7,"getServerName");function n7(t){return JSON.parse(JSON.stringify(t))}o(n7,"deepClone");function i7(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(i7,"isAsyncIterable");function PL(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(PL,"isIterable");function kL(t){if(t==null)return 0;if(fh(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(RL(t))return t.size!=null?t.size:null;if(LL(t))return t.byteLength}return null}o(kL,"bodyLength");function DL(t){return t&&!!(t.destroyed||t[NL]||hh.isDestroyed?.(t))}o(DL,"isDestroyed");function o7(t,e){t==null||!fh(t)||DL(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===HZ&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[NL]=!0))}o(o7,"destroy");var a7=/timeout=(\d+)/;function c7(t){let e=t.toString().match(a7);return e?parseInt(e[1],10)*1e3:null}o(c7,"parseKeepAliveTimeout");function _L(t){return typeof t=="string"?WZ[t]??t.toLowerCase():SL.lookup(t)??t.toString("latin1").toLowerCase()}o(_L,"headerNameToString");function l7(t){return SL.lookup(t)??t.toString("latin1").toLowerCase()}o(l7,"bufferToLowerCasedHeaderName");function u7(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(u7,"parseHeaders");function A7(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(g7,"ReadableStreamFrom");function E7(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(E7,"isFormDataLike");function y7(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(y7,"addAbortListener");var C7=typeof String.prototype.toWellFormed=="function",I7=typeof String.prototype.isWellFormed=="function";function ML(t){return C7?`${t}`.toWellFormed():VZ.toUSVString(t)}o(ML,"toUSVString");function B7(t){return I7?`${t}`.isWellFormed():ML(t)===`${t}`}o(B7,"isUSVString");function OL(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(OL,"isTokenCharCode");function w7(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var ve=require("node:diagnostics_channel"),Cw=require("node:util"),gh=Cw.debuglog("undici"),yw=Cw.debuglog("fetch"),Ba=Cw.debuglog("websocket"),GL=!1,T7={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(gh.enabled||yw.enabled){let t=yw.enabled?yw:gh;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)}),GL=!0}if(Ba.enabled){if(!GL){let t=gh.enabled?gh:Ba;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;Ba("connection opened %s%s",e,r?`:${r}`:"")}),ve.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:s}=t;Ba("closed connection to %s - %s %s",e.url,r,s)}),ve.channel("undici:websocket:socket_error").subscribe(t=>{Ba("connection errored - %s",t.message)}),ve.channel("undici:websocket:ping").subscribe(t=>{Ba("ping received")}),ve.channel("undici:websocket:pong").subscribe(t=>{Ba("pong received")})}HL.exports={channels:T7}});var YL=f((tMe,VL)=>{"use strict";var{InvalidArgumentError:Me,NotSupportedError:v7}=Qe(),Li=require("node:assert"),{isValidHTTPToken:$L,isValidHeaderValue:Iw,isStream:P7,destroy:k7,isBuffer:D7,isFormDataLike:_7,isIterable:L7,isBlobLike:M7,buildURL:O7,validateHandler:F7,getServerName:U7,normalizedMethodRecords:q7}=pe(),{channels:Ln}=Kc(),{headerNameLowerCasedRecord:zL}=Ah(),G7=/[^\u0021-\u00ff]/,Qs=Symbol("handler"),Bw=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 Me("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&s!=="CONNECT")throw new Me("path must be an absolute URL or start with a slash");if(G7.test(r))throw new Me("invalid request path");if(typeof s!="string")throw new Me("method must be a string");if(q7[s]===void 0&&!$L(s))throw new Me("invalid request method");if(u&&typeof u!="string")throw new Me("upgrade must be a string");if(u&&!Iw(u))throw new Me("invalid upgrade header");if(A!=null&&(!Number.isFinite(A)||A<0))throw new Me("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new Me("invalid bodyTimeout");if(p!=null&&typeof p!="boolean")throw new Me("invalid reset");if(h!=null&&typeof h!="boolean")throw new Me("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(P7(n)){this.body=n;let E=this.body._readableState;(!E||!E.autoDestroy)&&(this.endHandler=o(function(){k7(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(D7(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(_7(n)||L7(n)||M7(n))this.body=n;else throw new Me("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?O7(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 Me("headers array must be even");for(let E=0;E{"use strict";var H7=require("node:events"),yh=class extends H7{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 ww(this,s)}},ww=class extends yh{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)}};JL.exports=yh});var tl=f((iMe,WL)=>{"use strict";var z7=wA(),{ClientDestroyedError:bw,ClientClosedError:$7,InvalidArgumentError:Xc}=Qe(),{kDestroy:V7,kClose:Y7,kClosed:bA,kDestroyed:Zc,kDispatch:Qw,kInterceptors:wa}=Ye(),Mi=Symbol("onDestroyed"),el=Symbol("onClosed"),Ch=Symbol("Intercepted Dispatch"),xw=Symbol("webSocketOptions"),Nw=class extends z7{static{o(this,"DispatcherBase")}constructor(e){super(),this[Zc]=!1,this[Mi]=null,this[bA]=!1,this[el]=[],this[xw]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[xw].maxFragments??131072,maxPayloadSize:this[xw].maxPayloadSize??128*1024*1024}}get destroyed(){return this[Zc]}get closed(){return this[bA]}get interceptors(){return this[wa]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[wa][r]!="function")throw new Xc("interceptor must be an function")}this[wa]=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 Xc("invalid callback");if(this[Zc]){queueMicrotask(()=>e(new bw,null));return}if(this[bA]){this[el]?this[el].push(e):queueMicrotask(()=>e(null,null));return}this[bA]=!0,this[el].push(e);let r=o(()=>{let s=this[el];this[el]=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 Xc("invalid callback");if(this[Zc]){this[Mi]?this[Mi].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new bw),this[Zc]=!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)})}[Ch](e,r){if(!this[wa]||this[wa].length===0)return this[Ch]=this[Qw],this[Qw](e,r);let s=this[Qw].bind(this);for(let n=this[wa].length-1;n>=0;n--)s=this[wa][n](s);return this[Ch]=s,s(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new Xc("handler must be an object");try{if(!e||typeof e!="object")throw new Xc("opts must be an object.");if(this[Zc]||this[Mi])throw new bw;if(this[bA])throw new $7;return this[Ch](e,r)}catch(s){if(typeof r.onError!="function")throw new Xc("invalid onError method");return r.onError(s),!1}}};WL.exports=Nw});var Dw=f((aMe,ZL)=>{"use strict";var rl=0,Sw=1e3,Rw=(Sw>>1)-1,Oi,Tw=Symbol("kFastTimer"),Fi=[],vw=-2,Pw=-1,KL=0,jL=1;function kw(){rl+=Rw;let t=0,e=Fi.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=Pw,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===Pw?(r._state=vw,--e!==0&&(Fi[t]=Fi[e])):++t}Fi.length=e,Fi.length!==0&&XL()}o(kw,"onTick");function XL(){Oi?Oi.refresh():(clearTimeout(Oi),Oi=setTimeout(kw,Rw),Oi.unref&&Oi.unref())}o(XL,"refreshTimeout");var Ih=class{static{o(this,"FastTimer")}[Tw]=!0;_state=vw;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,s){this._onTimeout=e,this._idleTimeout=r,this._timerArg=s,this.refresh()}refresh(){this._state===vw&&Fi.push(this),(!Oi||Fi.length===1)&&XL(),this._state=KL}clear(){this._state=Pw,this._idleStart=-1}};ZL.exports={setTimeout(t,e,r){return e<=Sw?setTimeout(t,e,r):new Ih(t,e,r)},clearTimeout(t){t[Tw]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new Ih(t,e,r)},clearFastTimeout(t){t.clear()},now(){return rl},tick(t=0){rl+=t-Sw+1,kw(),kw()},reset(){rl=0,Fi.length=0,clearTimeout(Oi),Oi=null},kFastTimer:Tw}});var QA=f((AMe,nM)=>{"use strict";var J7=require("node:net"),eM=require("node:assert"),sM=pe(),{InvalidArgumentError:W7,ConnectTimeoutError:j7}=Qe(),Bh=Dw();function tM(){}o(tM,"noop");var _w,Lw;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?Lw=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 K7({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:s,session:n,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new W7("maxCachedSessions must be a positive integer or zero");let a={path:r,...i},c=new Lw(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:"){_w||(_w=require("node:tls")),m=m||a.servername||sM.getServerName(A)||null;let I=m||u;eM(I);let B=n||c.get(I)||null;p=p||443,E=_w.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 eM(!g,"httpSocket can only be sent on TLS update"),p=p||80,E=J7.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=X7(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(K7,"buildConnector");var X7=process.platform==="win32"?(t,e)=>{if(!e.timeout)return tM;let r=null,s=null,n=Bh.setFastTimeout(()=>{r=setImmediate(()=>{s=setImmediate(()=>rM(t.deref(),e))})},e.timeout);return()=>{Bh.clearFastTimeout(n),clearImmediate(r),clearImmediate(s)}}:(t,e)=>{if(!e.timeout)return tM;let r=null,s=Bh.setFastTimeout(()=>{r=setImmediate(()=>{rM(t.deref(),e)})},e.timeout);return()=>{Bh.clearFastTimeout(s),clearImmediate(r)}};function rM(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)`,sM.destroy(t,new j7(r))}o(rM,"onConnectTimeout");nM.exports=K7});var iM=f(wh=>{"use strict";Object.defineProperty(wh,"__esModule",{value:!0});wh.enumToMap=void 0;function Z7(t){let e={};return Object.keys(t).forEach(r=>{let s=t[r];typeof s=="number"&&(e[r]=s)}),e}o(Z7,"enumToMap");wh.enumToMap=Z7});var oM=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 eee=iM(),tee;(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"})(tee=N.ERROR||(N.ERROR={}));var ree;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(ree=N.TYPE||(N.TYPE={}));var see;(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"})(see=N.FLAGS||(N.FLAGS={}));var nee;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(nee=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=eee.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 iee;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(iee=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 sl;(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"})(sl=N.HEADER_STATE||(N.HEADER_STATE={}));N.SPECIAL_HEADERS={connection:sl.CONNECTION,"content-length":sl.CONTENT_LENGTH,"proxy-connection":sl.CONNECTION,"transfer-encoding":sl.TRANSFER_ENCODING,upgrade:sl.UPGRADE}});var Mw=f((fMe,aM)=>{"use strict";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TQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQA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AJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw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gIQIAJBBzYCDEEAIQMMuAELIAJBADYCHCACIAE2AhQgAkGMHDYCECACQQc2AgxBACEDDLcBCyACQQA2AhwgAiABNgIUIAJBww82AhAgAkEHNgIMQQAhAwy2AQsgAkEANgIcIAIgATYCFCACQcMPNgIQIAJBBzYCDEEAIQMMtQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0RIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMtAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYC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AEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQA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G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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AAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var xA=f((EMe,gM)=>{"use strict";var uM=["GET","HEAD","POST"],cee=new Set(uM),lee=[101,204,205,304],AM=[301,302,303,307,308],uee=new Set(AM),dM=["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"],Aee=new Set(dM),pM=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],dee=new Set(pM),pee=["follow","manual","error"],mM=["GET","HEAD","OPTIONS","TRACE"],mee=new Set(mM),hee=["navigate","same-origin","no-cors","cors"],fee=["omit","same-origin","include"],gee=["default","no-store","reload","no-cache","force-cache","only-if-cached"],Eee=["content-encoding","content-language","content-location","content-type","content-length"],yee=["half"],hM=["CONNECT","TRACE","TRACK"],Cee=new Set(hM),fM=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],Iee=new Set(fM);gM.exports={subresource:fM,forbiddenMethods:hM,requestBodyHeader:Eee,referrerPolicy:pM,requestRedirect:pee,requestMode:hee,requestCredentials:fee,requestCache:gee,redirectStatus:AM,corsSafeListedMethods:uM,nullBodyStatus:lee,safeMethods:mM,badPorts:dM,requestDuplex:yee,subresourceSet:Iee,badPortsSet:Aee,redirectStatusSet:uee,corsSafeListedMethodsSet:cee,safeMethodsSet:mee,forbiddenMethodsSet:Cee,referrerPolicySet:dee}});var Fw=f((yMe,EM)=>{"use strict";var Ow=Symbol.for("undici.globalOrigin.1");function Bee(){return globalThis[Ow]}o(Bee,"getGlobalOrigin");function wee(t){if(t===void 0){Object.defineProperty(globalThis,Ow,{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,Ow,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(wee,"setGlobalOrigin");EM.exports={getGlobalOrigin:Bee,setGlobalOrigin:wee}});var vr=f((IMe,QM)=>{"use strict";var Qh=require("node:assert"),bee=new TextEncoder,NA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,Qee=/[\u000A\u000D\u0009\u0020]/,xee=/[\u0009\u000A\u000C\u000D\u0020]/g,Nee=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function See(t){Qh(t.protocol==="data:");let e=IM(t,!0);e=e.slice(5);let r={position:0},s=nl(",",e,r),n=s.length;if(s=Dee(s,!0,!0),r.position>=e.length)return"failure";r.position++;let i=e.slice(n+1),a=BM(i);if(/;(\u0020){0,}base64$/i.test(s)){let l=bM(a);if(a=Tee(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=Uw(s);return c==="failure"&&(c=Uw("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(See,"dataURLProcessor");function IM(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(IM,"URLSerializer");function xh(t,e,r){let s="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(yM,"isHexCharByte");function CM(t){return t>=48&&t<=57?t-48:(t&223)-55}o(CM,"hexByteToNumber");function Ree(t){let e=t.length,r=new Uint8Array(e),s=0;for(let n=0;nt.length)return"failure";e.position++;let s=nl(";",t,e);if(s=bh(s,!1,!0),s.length===0||!NA.test(s))return"failure";let n=r.toLowerCase(),i=s.toLowerCase(),a={type:n,subtype:i,parameters:new Map,essence:`${n}/${i}`};for(;e.positionQee.test(u),t,e);let c=xh(u=>u!==";"&&u!=="=",t,e);if(c=c.toLowerCase(),e.positiont.length)break;let l=null;if(t[e.position]==='"')l=wM(t,e,!0),nl(";",t,e);else if(l=nl(";",t,e),l=bh(l,!1,!0),l.length===0)continue;c.length!==0&&NA.test(c)&&(l.length===0||Nee.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(Uw,"parseMIMEType");function Tee(t){t=t.replace(xee,"");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(Tee,"forgivingBase64");function wM(t,e,r){let s=e.position,n="";for(Qh(t[e.position]==='"'),e.position++;n+=xh(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{Qh(i==='"');break}}return r?n:t.slice(s,e.position)}o(wM,"collectAnHTTPQuotedString");function vee(t){Qh(t!=="failure");let{parameters:e,essence:r}=t,s=r;for(let[n,i]of e.entries())s+=";",s+=n,s+="=",NA.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),s+=i;return s}o(vee,"serializeAMimeType");function Pee(t){return t===13||t===10||t===9||t===32}o(Pee,"isHTTPWhiteSpace");function bh(t,e=!0,r=!0){return qw(t,e,r,Pee)}o(bh,"removeHTTPWhitespace");function kee(t){return t===13||t===10||t===9||t===12||t===32}o(kee,"isASCIIWhitespace");function Dee(t,e=!0,r=!0){return qw(t,e,r,kee)}o(Dee,"removeASCIIWhitespace");function qw(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(qw,"removeChars");function bM(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(bM,"isomorphicDecode");function _ee(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(_ee,"minimizeSupportedMimeType");QM.exports={dataURLProcessor:See,URLSerializer:IM,collectASequenceOfCodePoints:xh,collectASequenceOfCodePointsFast:nl,stringPercentDecode:BM,parseMIMEType:Uw,collectAnHTTPQuotedString:wM,serializeAMimeType:vee,removeChars:qw,removeHTTPWhitespace:bh,minimizeSupportedMimeType:_ee,HTTP_TOKEN_CODEPOINTS:NA,isomorphicDecode:bM}});var Wt=f((wMe,xM)=>{"use strict";var{types:Mn,inspect:Lee}=require("node:util"),{markAsUncloneable:Mee}=require("node:worker_threads"),{toUSVString:Oee}=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 Lee(t);case"String":return`"${t}"`;default:return`${t}`}};Q.sequenceConverter=function(t){return(e,r,s,n)=>{if(Q.util.Type(e)!=="Object")throw Q.errors.exception({header:r,message:`${s} (${Q.util.Stringify(e)}) is not iterable.`});let i=typeof n=="function"?n():e?.[Symbol.iterator]?.(),a=[],c=0;if(i===void 0||typeof i.next!="function")throw Q.errors.exception({header:r,message:`${s} is not iterable.`});for(;;){let{done:l,value:u}=i.next();if(l)break;a.push(t(u,r,`${s}[${c++}]`))}return a}};Q.recordConverter=function(t,e){return(r,s,n)=>{if(Q.util.Type(r)!=="Object")throw Q.errors.exception({header:s,message:`${n} ("${Q.util.Type(r)}") is not an Object.`});let i={};if(!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=Oee;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);xM.exports={webidl:Q}});var Kr=f((bMe,UM)=>{"use strict";var{Transform:Fee}=require("node:stream"),NM=require("node:zlib"),{redirectStatusSet:Uee,referrerPolicySet:qee,badPortsSet:Gee}=xA(),{getGlobalOrigin:SM}=Fw(),{collectASequenceOfCodePoints:ba,collectAnHTTPQuotedString:Hee,removeChars:zee,parseMIMEType:$ee}=vr(),{performance:Vee}=require("node:perf_hooks"),{isBlobLike:Yee,ReadableStreamFrom:Jee,isValidHTTPToken:RM,normalizedMethodRecordsBase:Wee}=pe(),Qa=require("node:assert"),{isUint8Array:jee}=require("node:util/types"),{webidl:SA}=Wt(),TM=[],Sh;try{Sh=require("node:crypto");let t=["sha256","sha384","sha512"];TM=Sh.getHashes().filter(e=>t.includes(e))}catch{}function vM(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(vM,"responseURL");function Kee(t,e){if(!Uee.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&kM(r)&&(PM(r)||(r=Xee(r)),r=new URL(r,vM(t))),r&&!r.hash&&(r.hash=e),r}o(Kee,"responseLocationURL");function PM(t){for(let e=0;e126||r<32)return!1}return!0}o(PM,"isValidEncodedURL");function Xee(t){return Buffer.from(t,"binary").toString("utf8")}o(Xee,"normalizeBinaryStringToUtf8");function TA(t){return t.urlList[t.urlList.length-1]}o(TA,"requestCurrentURL");function Zee(t){let e=TA(t);return OM(e)&&Gee.has(e.port)?"blocked":"allowed"}o(Zee,"requestBadPort");function ete(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(ete,"isErrorLike");function tte(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(tte,"isValidReasonPhrase");var rte=RM;function kM(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` `)||t.includes("\r")||t.includes("\0"))===!1}o(kM,"isValidHeaderValue");function ste(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(qee.has(a)){n=a;break}}n!==""&&(t.referrerPolicy=n)}o(ste,"setRequestReferrerPolicyOnRedirect");function nte(){return"allowed"}o(nte,"crossOriginResourcePolicyCheck");function ite(){return"success"}o(ite,"corsCheck");function ote(){return"success"}o(ote,"TAOCheck");function ate(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(ate,"appendFetchMetadata");function cte(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&&Hw(t.origin)&&!Hw(TA(t))&&(e=null);break;case"same-origin":Rh(t,TA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(cte,"appendRequestOriginHeader");function il(t,e){return t}o(il,"coarsenTime");function lte(t,e,r){return!t?.startTime||t.startTime4096&&(s=n);let i=Rh(t,s),a=RA(s)&&!RA(t.url);switch(e){case"origin":return n??Gw(r,!0);case"unsafe-url":return s;case"same-origin":return i?n:"no-referrer";case"origin-when-cross-origin":return i?s:n;case"strict-origin-when-cross-origin":{let c=TA(t);return Rh(s,c)?s:RA(s)&&!RA(c)?"no-referrer":n}default:return a?"no-referrer":n}}o(pte,"determineRequestsReferrer");function Gw(t,e){return Qa(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(Gw,"stripURLForReferrer");function RA(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let s=new URL(r);return!!(s.protocol==="https:"||s.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(s.hostname)||s.hostname==="localhost"||s.hostname.includes("localhost.")||s.hostname.endsWith(".localhost"))}}o(RA,"isURLPotentiallyTrustworthy");function mte(t,e){if(Sh===void 0)return!0;let r=_M(e);if(r==="no metadata"||r.length===0)return!0;let s=fte(r),n=gte(r,s);for(let i of n){let a=i.algo,c=i.hash,l=Sh.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)),Ete(l,c))return!0}return!1}o(mte,"bytesMatch");var hte=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function _M(t){let e=[],r=!0;for(let s of t.split(" ")){r=!1;let n=hte.exec(s);if(n===null||n.groups===void 0||n.groups.algo===void 0)continue;let i=n.groups.algo.toLowerCase();TM.includes(i)&&e.push(n.groups)}return r===!0?"no metadata":e}o(_M,"parseMetadata");function fte(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(Cte,"createDeferredPromise");function Ite(t){return t.controller.state==="aborted"}o(Ite,"isAborted");function Bte(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(Bte,"isCancelled");function wte(t){return Wee[t.toLowerCase()]??t}o(wte,"normalizeMethod");function bte(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Qa(typeof e=="string"),e}o(bte,"serializeJavascriptValueToJSONString");var Qte=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function LM(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,Qte),Object.defineProperties(n.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(i,a){return new n(i,a)}}o(LM,"createIterator");function xte(t,e,r,s=0,n=1){let i=LM(t,r,s,n),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return SA.brandCheck(this,e),i(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return SA.brandCheck(this,e),i(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return SA.brandCheck(this,e),i(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,u=globalThis){if(SA.brandCheck(this,e),SA.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof l!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:A,1:d}of i(this,"key+value"))l.call(u,d,A,this)},"forEach")}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}o(xte,"iteratorMixin");async function Nte(t,e,r){let s=e,n=r,i;try{i=t.stream.getReader()}catch(a){n(a);return}try{s(await MM(i))}catch(a){n(a)}}o(Nte,"fullyReadBody");function Ste(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(Ste,"isReadableStreamLike");function Rte(t){try{t.close(),t.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}}o(Rte,"readableStreamClose");var Tte=/[^\x00-\xFF]/;function Nh(t){return Qa(!Tte.test(t)),t}o(Nh,"isomorphicEncode");async function MM(t){let e=[],r=0;for(;;){let{done:s,value:n}=await t.read();if(s)return Buffer.concat(e,r);if(!jee(n))throw new TypeError("Received non-Uint8Array chunk");e.push(n),r+=n.length}}o(MM,"readAllBytes");function vte(t){Qa("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(vte,"urlIsLocal");function Hw(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(Hw,"urlHasHttpsScheme");function OM(t){Qa("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(OM,"urlIsHttpHttpsScheme");function Pte(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let s={position:5};if(e&&ba(l=>l===" "||l===" ",r,s),r.charCodeAt(s.position)!==61)return"failure";s.position++,e&&ba(l=>l===" "||l===" ",r,s);let n=ba(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,s),i=n.length?Number(n):null;if(e&&ba(l=>l===" "||l===" ",r,s),r.charCodeAt(s.position)!==45)return"failure";s.position++,e&&ba(l=>l===" "||l===" ",r,s);let a=ba(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(Pte,"simpleRangeHeaderValue");function kte(t,e,r){let s="bytes ";return s+=Nh(`${t}`),s+="-",s+=Nh(`${e}`),s+="/",s+=Nh(`${r}`),s}o(kte,"buildContentRange");var zw=class extends Fee{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?NM.createInflate(this.#e):NM.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 Dte(t){return new zw(t)}o(Dte,"createInflate");function _te(t){let e=null,r=null,s=null,n=FM("content-type",t);if(n===null)return"failure";for(let i of n){let a=$ee(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(_te,"extractMimeType");function Lte(t){let e=t,r={position:0},s=[],n="";for(;r.positioni!=='"'&&i!==",",e,r),r.positioni===9||i===32),s.push(n),n=""}return s}o(Lte,"gettingDecodingSplitting");function FM(t,e){let r=e.get(t,!0);return r===null?null:Lte(r)}o(FM,"getDecodeSplit");var Mte=new TextDecoder;function Ote(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),Mte.decode(t))}o(Ote,"utf8DecodeBytes");var $w=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return SM()}get origin(){return this.baseUrl?.origin}policyContainer=DM()},Vw=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new $w},Fte=new Vw;UM.exports={isAborted:Ite,isCancelled:Bte,isValidEncodedURL:PM,createDeferredPromise:Cte,ReadableStreamFrom:Jee,tryUpgradeRequestToAPotentiallyTrustworthyURL:yte,clampAndCoarsenConnectionTimingInfo:lte,coarsenedSharedCurrentTime:ute,determineRequestsReferrer:pte,makePolicyContainer:DM,clonePolicyContainer:dte,appendFetchMetadata:ate,appendRequestOriginHeader:cte,TAOCheck:ote,corsCheck:ite,crossOriginResourcePolicyCheck:nte,createOpaqueTimingInfo:Ate,setRequestReferrerPolicyOnRedirect:ste,isValidHTTPToken:RM,requestBadPort:Zee,requestCurrentURL:TA,responseURL:vM,responseLocationURL:Kee,isBlobLike:Yee,isURLPotentiallyTrustworthy:RA,isValidReasonPhrase:tte,sameOrigin:Rh,normalizeMethod:wte,serializeJavascriptValueToJSONString:bte,iteratorMixin:xte,createIterator:LM,isValidHeaderName:rte,isValidHeaderValue:kM,isErrorLike:ete,fullyReadBody:Nte,bytesMatch:mte,isReadableStreamLike:Ste,readableStreamClose:Rte,isomorphicEncode:Nh,urlIsLocal:vte,urlHasHttpsScheme:Hw,urlIsHttpHttpsScheme:OM,readAllBytes:MM,simpleRangeHeaderValue:Pte,buildContentRange:kte,parseMetadata:_M,createInflate:Dte,extractMimeType:_te,getDecodeSplit:FM,utf8DecodeBytes:Ote,environmentSettingsObject:Fte}});var No=f((xMe,qM)=>{"use strict";qM.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var Jw=f((NMe,GM)=>{"use strict";var{Blob:Ute,File:qte}=require("node:buffer"),{kState:Ui}=No(),{webidl:On}=Wt(),Yw=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(Ute);function Gte(t){return t instanceof qte||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(Gte,"isFileLike");GM.exports={FileLike:Yw,isFileLike:Gte}});var PA=f((RMe,YM)=>{"use strict";var{isBlobLike:Th,iteratorMixin:Hte}=Kr(),{kState:dr}=No(),{kEnumerableProperty:ol}=pe(),{FileLike:HM,isFileLike:zte}=Jw(),{webidl:Oe}=Wt(),{File:VM}=require("node:buffer"),zM=require("node:util"),$M=globalThis.File??VM,vA=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&&!Th(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=Th(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=Ww(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&&!Th(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=Th(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=Ww(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)}[zM.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=zM.formatWithOptions(r,s);return`FormData ${n.slice(n.indexOf("]")+2)}`}};Hte("FormData",vA,dr,"name","value");Object.defineProperties(vA.prototype,{append:ol,delete:ol,get:ol,getAll:ol,has:ol,set:ol,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function Ww(t,e,r){if(typeof e!="string"){if(zte(e)||(e=e instanceof Blob?new $M([e],"blob",{type:e.type}):new HM(e,"blob",{type:e.type})),r!==void 0){let s={type:e.type,lastModified:e.lastModified};e=e instanceof VM?new $M([e],r,s):new HM(e,r,s)}}return{name:t,value:e}}o(Ww,"makeEntry");YM.exports={FormData:vA,makeEntry:Ww}});var ZM=f((vMe,XM)=>{"use strict";var{isUSVString:JM,bufferToLowerCasedHeaderName:$te}=pe(),{utf8DecodeBytes:Vte}=Kr(),{HTTP_TOKEN_CODEPOINTS:Yte,isomorphicDecode:WM}=vr(),{isFileLike:Jte}=Jw(),{makeEntry:Wte}=PA(),vh=require("node:assert"),{File:jte}=require("node:buffer"),Kte=globalThis.File??jte,Xte=Buffer.from('form-data; name="'),jM=Buffer.from("; filename"),Zte=Buffer.from("--"),ere=Buffer.from(`--\r `);function tre(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(rre,"validateBoundary");function sre(t,e){vh(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&&Ph(t,Zte,i)||i.position===t.length-4&&Ph(t,ere,i))return n;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=nre(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",tre(A)||(A=""),m=new Kte([p],u,{type:A})):m=Vte(Buffer.from(p)),vh(JM(l)),vh(typeof m=="string"&&JM(m)||Jte(m)),n.push(Wte(l,m,u))}}o(sre,"multipartFormDataParser");function nre(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=al(c=>c!==10&&c!==13&&c!==58,t,e);if(a=jw(a,!0,!0,c=>c===9||c===32),!Yte.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,al(c=>c===32||c===9,t,e),$te(a)){case"content-disposition":{if(r=s=null,!Ph(t,Xte,e)||(e.position+=17,r=KM(t,e),r===null))return"failure";if(Ph(t,jM,e)){let c=e.position+jM.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,s=KM(t,e),s===null))return"failure"}break}case"content-type":{let c=al(l=>l!==10&&l!==13,t,e);c=jw(c,!1,!0,l=>l===9||l===32),n=WM(c);break}case"content-transfer-encoding":{let c=al(l=>l!==10&&l!==13,t,e);c=jw(c,!1,!0,l=>l===9||l===32),i=WM(c);break}default:al(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(nre,"parseMultipartFormDataHeaders");function KM(t,e){vh(t[e.position-1]===34);let r=al(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(KM,"parseMultipartFormDataName");function al(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(jw,"removeChars");function Ph(t,e,r){if(t.length{"use strict";var kA=pe(),{ReadableStreamFrom:ire,isBlobLike:eO,isReadableStreamLike:ore,readableStreamClose:are,createDeferredPromise:cre,fullyReadBody:lre,extractMimeType:ure,utf8DecodeBytes:sO}=Kr(),{FormData:tO}=PA(),{kState:ll}=No(),{webidl:Are}=Wt(),{Blob:dre}=require("node:buffer"),Kw=require("node:assert"),{isErrored:nO,isDisturbed:pre}=require("node:stream"),{isArrayBuffer:mre}=require("node:util/types"),{serializeAMimeType:hre}=vr(),{multipartFormDataParser:fre}=ZM(),Xw;try{let t=require("node:crypto");Xw=o(e=>t.randomInt(0,e),"random")}catch{Xw=o(t=>Math.floor(Math.random(t)),"random")}var kh=new TextEncoder;function gre(){}o(gre,"noop");var iO=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,oO;iO&&(oO=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!pre(e)&&!nO(e)&&e.cancel("Response object has been garbage collected").catch(gre)}));function aO(t,e=!1){let r=null;t instanceof ReadableStream?r=t:eO(t)?r=t.stream():r=new ReadableStream({async pull(l){let u=typeof n=="string"?kh.encode(n):n;u.byteLength&&l.enqueue(u),queueMicrotask(()=>are(l))},start(){},type:"bytes"}),Kw(ore(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(mre(t))n=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))n=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(kA.isFormDataLike(t)){let l=`----formdata-undici-0${`${Xw(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=kh.encode(u+`; name="${A(d(C))}"\r \r ${d(E)}\r `);p.push(y),i+=y.byteLength}else{let y=kh.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=kh.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(eO(t))n=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(kA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:ire(t)}if((typeof n=="string"||kA.isBuffer(n))&&(i=Buffer.byteLength(n)),s!=null){let l;r=new ReadableStream({async start(){l=s(t)[Symbol.asyncIterator]()},async pull(u){let{value:A,done:d}=await l.next();if(d)queueMicrotask(()=>{u.close(),u.byobRequest?.respond(0)});else if(!nO(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(aO,"extractBody");function Ere(t,e=!1){return t instanceof ReadableStream&&(Kw(!kA.isDisturbed(t),"The body has already been consumed."),Kw(!t.locked,"The stream is locked.")),aO(t,e)}o(Ere,"safelyExtractBody");function yre(t,e){let[r,s]=e.stream.tee();return e.stream=r,{stream:s,length:e.length,source:e.source}}o(yre,"cloneBody");function Cre(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(Cre,"throwIfAborted");function Ire(t){return{blob(){return cl(this,r=>{let s=rO(this);return s===null?s="":s&&(s=hre(s)),new dre([r],{type:s})},t)},arrayBuffer(){return cl(this,r=>new Uint8Array(r).buffer,t)},text(){return cl(this,sO,t)},json(){return cl(this,wre,t)},formData(){return cl(this,r=>{let s=rO(this);if(s!==null)switch(s.essence){case"multipart/form-data":{let n=fre(r,s);if(n==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new tO;return i[ll]=n,i}case"application/x-www-form-urlencoded":{let n=new URLSearchParams(r.toString()),i=new tO;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 cl(this,r=>new Uint8Array(r),t)}}}o(Ire,"bodyMixinMethods");function Bre(t){Object.assign(t.prototype,Ire(t))}o(Bre,"mixinBody");async function cl(t,e,r){if(Are.brandCheck(t,r),cO(t))throw new TypeError("Body is unusable: Body has already been read");Cre(t[ll]);let s=cre(),n=o(a=>s.reject(a),"errorSteps"),i=o(a=>{try{s.resolve(e(a))}catch(c){n(c)}},"successSteps");return t[ll].body==null?(i(Buffer.allocUnsafe(0)),s.promise):(await lre(t[ll].body,i,n),s.promise)}o(cl,"consumeBody");function cO(t){let e=t[ll].body;return e!=null&&(e.stream.locked||kA.isDisturbed(e.stream))}o(cO,"bodyUnusable");function wre(t){return JSON.parse(sO(t))}o(wre,"parseJSONFromBytes");function rO(t){let e=t[ll].headersList,r=ure(e);return r==="failure"?null:r}o(rO,"bodyMimeType");lO.exports={extractBody:aO,safelyExtractBody:Ere,cloneBody:yre,mixinBody:Bre,streamRegistry:oO,hasFinalizationRegistry:iO,bodyUnusable:cO}});var QO=f((_Me,bO)=>{"use strict";var W=require("node:assert"),X=pe(),{channels:uO}=Kc(),Zw=Dw(),{RequestContentLengthMismatchError:xa,ResponseContentLengthMismatchError:AO,RequestAbortedError:yO,HeadersTimeoutError:bre,HeadersOverflowError:Qre,SocketError:Al,InformationalError:dl,BodyTimeoutError:xre,HTTPParserError:Nre,ResponseExceededMaxSizeError:Sre}=Qe(),{kUrl:CO,kReset:Pr,kClient:Mh,kParser:qe,kBlocking:LA,kRunning:xt,kPending:IO,kSize:dO,kWriting:So,kQueue:on,kNoRef:DA,kKeepAliveDefaultTimeout:Rre,kHostHeader:Tre,kPendingIdx:vre,kRunningIdx:xs,kError:pr,kPipelining:Oh,kSocket:Sa,kKeepAliveTimeoutValue:Uh,kMaxHeadersSize:eb,kKeepAliveMaxTimeout:Pre,kKeepAliveTimeoutThreshold:kre,kHeadersTimeout:Dre,kBodyTimeout:_re,kStrictContentLength:sb,kMaxRequests:pO,kCounter:Lre,kMaxResponseSize:Mre,kOnError:mO,kResume:qi,kHTTPContext:BO}=Ye(),Xr=oM(),hO=Buffer.alloc(0),Dh=Buffer[Symbol.species],_h=X.addListener,Ore=X.removeAllListeners,Ra=Symbol("kIdleSocketValidation"),Na=Symbol("kIdleSocketValidationTimeout"),ab=Symbol("kSocketUsed"),tb;async function Fre(){let t=process.env.JEST_WORKER_ID?Mw():void 0,e;try{e=await WebAssembly.compile(lM())}catch{e=await WebAssembly.compile(t||Mw())}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(rt.ptr===r);let i=s-Un+Fn.byteOffset;return rt.onStatus(new Dh(Fn.buffer,i,n))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(W(rt.ptr===r),rt.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,s,n)=>{W(rt.ptr===r);let i=s-Un+Fn.byteOffset;return rt.onHeaderField(new Dh(Fn.buffer,i,n))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,s,n)=>{W(rt.ptr===r);let i=s-Un+Fn.byteOffset;return rt.onHeaderValue(new Dh(Fn.buffer,i,n))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,s,n,i)=>(W(rt.ptr===r),rt.onHeadersComplete(s,!!n,!!i)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,s,n)=>{W(rt.ptr===r);let i=s-Un+Fn.byteOffset;return rt.onBody(new Dh(Fn.buffer,i,n))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(W(rt.ptr===r),rt.onMessageComplete()||0),"wasm_on_message_complete")}})}o(Fre,"lazyllhttp");var rb=null,nb=Fre();nb.catch();var rt=null,Fn=null,Lh=0,Un=null,Ure=0,_A=1,pl=2|_A,Fh=4|_A,ib=8|Ure,ob=class{static{o(this,"Parser")}constructor(e,r,{exports:s}){W(Number.isFinite(e[eb])&&e[eb]>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[eb],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[Mre]}setTimeout(e,r){e!==this.timeoutValue||r&_A^this.timeoutType&_A?(this.timeout&&(Zw.clearTimeout(this.timeout),this.timeout=null),e&&(r&_A?this.timeout=Zw.setFastTimeout(fO,e,new WeakRef(this)):(this.timeout=setTimeout(fO,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(rt==null),this.llhttp.llhttp_resume(this.ptr),W(this.timeoutType===Fh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||hO),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(rt==null),W(!this.paused);let{socket:r,llhttp:s}=this;e.length>Lh&&(Un&&s.free(Un),Lh=Math.ceil(e.length/4096)*4096,Un=s.malloc(Lh)),new Uint8Array(s.memory.buffer,Un,Lh).set(e);try{let n;try{Fn=e,rt=this,n=s.llhttp_execute(this.ptr,Un,e.length)}catch(a){throw a}finally{rt=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(rt===null),W(this.ptr!=null),W(!this.paused);let{llhttp:e}=this,r;try{rt=this,r=e.llhttp_finish(this.ptr)}finally{rt=null}return r===Xr.ERROR.OK?null:r===Xr.ERROR.PAUSED||r===Xr.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,hO)}createError(e,r){let{llhttp:s,contentLength:n,bytesRead:i}=this;if(n&&i!==parseInt(n,10))return new AO;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 Nre(c,Xr.ERROR[e],r)}destroy(){W(this.ptr!=null),W(rt==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&Zw.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 Al("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 Qre)}onUpgrade(e){let{upgrade:r,client:s,socket:n,headers:i,statusCode:a}=this;W(r),W(s[Sa]===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[Mh]=null,n[pr]=null,Ore(n),s[Sa]=null,s[BO]=null,s[on][s[xs]++]=null,s.emit("disconnect",s[CO],[s],new dl("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 Al("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 Al("bad response",X.getSocketInfo(i))),-1;if(r&&!l.upgrade)return X.destroy(i,new Al("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[_re];this.setTimeout(A,Fh)}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[Oh]){let A=this.keepAlive?X.parseKeepAliveTimeout(this.keepAlive):null;if(A!=null){let d=Math.min(A-n[kre],n[Pre]);d<=0?i[Pr]=!0:n[Uh]=d}else n[Uh]=n[Rre]}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[LA]&&(i[LA]=!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===Fh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),W(n>=200),i>-1&&this.bytesRead+e.length>i)return X.destroy(s,new Sre),-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 AO),-1;if(u.onComplete(i),e[on][e[xs]++]=null,r[ab]=!0,r[So])return W(e[xt]===0),X.destroy(r,new dl("reset")),Xr.ERROR.PAUSED;if(l){if(r[Pr]&&e[xt]===0)return X.destroy(r,new dl("reset")),Xr.ERROR.PAUSED;e[Oh]==null||e[Oh]===1?setImmediate(()=>e[qi]()):e[qi]()}else return X.destroy(r,new dl("reset")),Xr.ERROR.PAUSED}}};function fO(t){let{socket:e,timeoutType:r,client:s,paused:n}=t.deref();r===pl?(!e[So]||e.writableNeedDrain||s[xt]>1)&&(W(!n,"cannot be paused while waiting for headers"),X.destroy(e,new bre)):r===Fh?n||X.destroy(e,new xre):r===ib&&(W(s[xt]===0&&s[Uh]),X.destroy(e,new dl("socket idle timeout")))}o(fO,"onParserTimeout");async function qre(t,e){t[Sa]=e,rb||(rb=await nb,nb=null),e[DA]=!1,e[So]=!1,e[Pr]=!1,e[LA]=!1,e[Ra]=0,e[Na]=null,e[ab]=!1,e[qe]=new ob(t,e,rb),_h(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[Mh][mO](i));return}this[pr]=s,this[Mh][mO](s)}),_h(e,"readable",function(){let s=this[qe];s&&s.readMore()}),_h(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 Al("other side closed",X.getSocketInfo(this)))}),_h(e,"close",function(){let s=this[Mh],n=this[qe];wO(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 Al("closed",X.getSocketInfo(this));if(s[Sa]=null,s[BO]=null,s.destroyed){W(s[IO]===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[vre]=s[xs],W(s[xt]===0),s.emit("disconnect",s[CO],[s],i),s[qi]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...s){return $re(t,...s)},resume(){Hre(t)},destroy(s,n){r?queueMicrotask(n):e.destroy(s).on("close",n)},get destroyed(){return e.destroyed},busy(s){return!!(e[So]||e[Pr]||e[LA]||e[Ra]===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(qre,"connectH1");function wO(t){t[Na]&&(clearTimeout(t[Na]),t[Na]=null),t[Ra]=0}o(wO,"clearIdleSocketValidation");function Gre(t,e){e[Ra]=1,e[Na]=setTimeout(()=>{e[Na]=null,e[Ra]=2,t[Sa]===e&&!e.destroyed&&t[qi]()},0),e[Na].unref?.()}o(Gre,"scheduleIdleSocketValidation");function Hre(t){let e=t[Sa];if(e&&!e.destroyed){if(t[dO]===0?!e[DA]&&e.unref&&(e.unref(),e[DA]=!0):e[DA]&&e.ref&&(e.ref(),e[DA]=!1),t[xt]===0&&t[IO]>0&&e[ab]){if(e[Ra]===0)return Gre(t,e),e[qe].readMore(),e.destroyed,void 0;if(e[Ra]===1)return e[qe].readMore(),e.destroyed,void 0}if(t[xt]===0&&(e[qe].readMore(),e.destroyed))return;if(t[dO]===0)e[qe].timeoutType!==ib&&e[qe].setTimeout(t[Uh],ib);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[Dre];e[qe].setTimeout(s,pl)}}}o(Hre,"resumeH1");function zre(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(zre,"shouldSendContentLength");function $re(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)){tb||(tb=ul().extractBody);let[C,E]=tb(l);e.contentType==null&&u.push("content-type",E),l=C.stream,A=C.length}else X.isBlobLike(l)&&e.contentType==null&&l.type&&u.push("content-type",l.type);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[sb])return X.errorRequest(t,e,new xa),!1;process.emitWarning(new xa)}let m=t[Sa];wO(m);let h=o(C=>{e.aborted||e.completed||(X.errorRequest(t,e,C||new yO),X.destroy(l),X.destroy(m,new dl("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[pO]&&m[Lre]++>=t[pO]&&(m[Pr]=!0),a&&(m[LA]=!0);let g=`${r} ${s} HTTP/1.1\r `;if(typeof n=="string"?g+=`host: ${n}\r `:g+=t[Tre],i?g+=`connection: upgrade\r upgrade: ${i}\r `:t[Oh]&&!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 yO;queueMicrotask(()=>m(h))}},"onClose"),m=o(function(h){if(!l){if(l=!0,W(n.destroyed||n[So]&&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(Vre,"writeStream");function gO(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(gO,"writeBuffer");async function Yre(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 xa;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(Yre,"writeBlob");async function EO(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 qh({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(EO,"writeIterable");var qh=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[So]=!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[sb])throw new xa;process.emitWarning(new xa)}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[So]=!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[sb])throw new xa;process.emitWarning(new xa)}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[So]=!1,e&&(W(s[xt]<=1,"pipeline should only contain this request"),n(e))}};bO.exports=qre});var kO=f((MMe,PO)=>{"use strict";var Ns=require("node:assert"),{pipeline:Jre}=require("node:stream"),ge=pe(),{RequestContentLengthMismatchError:cb,RequestAbortedError:xO,SocketError:MA,InformationalError:lb}=Qe(),{kUrl:Gh,kReset:zh,kClient:ml,kRunning:$h,kPending:Wre,kQueue:Ro,kPendingIdx:ub,kRunningIdx:an,kError:ln,kSocket:Gt,kStrictContentLength:jre,kOnError:Ab,kMaxConcurrentStreams:vO,kHTTP2Session:cn,kResume:To,kSize:Kre,kHTTPContext:Xre}=Ye(),Gi=Symbol("open streams"),NO,SO=!1,Hh;try{Hh=require("node:http2")}catch{Hh={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:Zre,HTTP2_HEADER_METHOD:ese,HTTP2_HEADER_PATH:tse,HTTP2_HEADER_SCHEME:rse,HTTP2_HEADER_CONTENT_LENGTH:sse,HTTP2_HEADER_EXPECT:nse,HTTP2_HEADER_STATUS:ise}}=Hh;function ose(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(ose,"parseH2Headers");async function ase(t,e){t[Gt]=e,SO||(SO=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=Hh.connect(t[Gh],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[vO]});r[Gi]=0,r[ml]=t,r[Gt]=e,ge.addListener(r,"error",lse),ge.addListener(r,"frameError",use),ge.addListener(r,"end",Ase),ge.addListener(r,"goaway",dse),ge.addListener(r,"close",function(){let{[ml]:n}=this,{[Gt]:i}=n,a=this[Gt][ln]||this[ln]||new MA("closed",ge.getSocketInfo(i));if(n[cn]=null,n.destroyed){Ns(n[Wre]===0);let c=n[Ro].splice(n[an]);for(let l=0;l{s=!0}),{version:"h2",defaultPipelining:1/0,write(...n){return mse(t,...n)},resume(){cse(t)},destroy(n,i){s?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(ase,"connectH2");function cse(t){let e=t[Gt];e?.destroyed===!1&&(t[Kre]===0&&t[vO]===0?(e.unref(),t[cn].unref()):(e.ref(),t[cn].ref()))}o(cse,"resumeH2");function lse(t){Ns(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Gt][ln]=t,this[ml][Ab](t)}o(lse,"onHttp2SessionError");function use(t,e,r){if(r===0){let s=new lb(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[Gt][ln]=s,this[ml][Ab](s)}}o(use,"onHttp2FrameError");function Ase(){let t=new MA("other side closed",ge.getSocketInfo(this[Gt]));this.destroy(t),ge.destroy(this[Gt],t)}o(Ase,"onHttp2SessionEnd");function dse(t){let e=this[ln]||new MA(`HTTP/2: "GOAWAY" frame received with code ${t}`,ge.getSocketInfo(this)),r=this[ml];if(r[Gt]=null,r[Xre]=null,this[cn]!=null&&(this[cn].destroy(e),this[cn]=null),ge.destroy(this[Gt],e),r[an]{e.aborted||e.completed||(B=B||new xO,ge.errorRequest(t,e,B),p!=null&&ge.destroy(p,B),ge.destroy(A,B),t[Ro][t[an]++]=null,t[To]())},"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[Ro][t[an]++]=null):p.once("ready",()=>{e.onUpgrade(null,null,p),++r[Gi],t[Ro][t[an]++]=null}),p.once("close",()=>{r[Gi]-=1,r[Gi]===0&&r.unref()}),!0;d[tse]=n,d[rse]="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)){NO??=ul().extractBody;let[B,x]=NO(A);d["content-type"]=x,A=B.stream,E=B.length}if(E==null&&(E=e.contentLength),(E===0||!C)&&(E=null),pse(s)&&E>0&&e.contentLength!=null&&e.contentLength!==E){if(t[jre])return ge.errorRequest(t,e,new cb),!1;process.emitWarning(new cb)}E!=null&&(Ns(A,"no body must not have content length"),d[sse]=`${E}`),r.ref();let y=s==="GET"||s==="HEAD"||A===null;return c?(d[nse]="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{[ise]:x,...R}=B;if(e.onResponseStarted(),e.aborted){let q=new xO;ge.errorRequest(t,e,q),ge.destroy(p,q);return}e.onHeaders(Number(x),ose(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 lb("HTTP/2: stream half-closed (remote)")),t[Ro][t[an]++]=null,t[ub]=t[an],t[To]()}),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 lb(`HTTP/2: "frameError" received - type ${B}, code ${x}`))}),!0;function I(){!A||E===0?RO(g,p,null,t,e,t[Gt],E,C):ge.isBuffer(A)?RO(g,p,A,t,e,t[Gt],E,C):ge.isBlobLike(A)?typeof A.stream=="function"?TO(g,p,A.stream(),t,e,t[Gt],E,C):fse(g,p,A,t,e,t[Gt],E,C):ge.isStream(A)?hse(g,t[Gt],C,p,A,t,e,E):ge.isIterable(A)?TO(g,p,A,t,e,t[Gt],E,C):Ns(!1)}o(I,"writeBodyH2")}o(mse,"writeH2");function RO(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[zh]=!0),n.onRequestSent(),s[To]()}catch(l){t(l)}}o(RO,"writeBuffer");function hse(t,e,r,s,n,i,a,c){Ns(c!==0||i[$h]===0,"stream body cannot be pipelined");let l=Jre(n,s,A=>{A?(ge.destroy(l,A),t(A)):(ge.removeAllListeners(l),a.onRequestSent(),r||(e[zh]=!0),i[To]())});ge.addListener(l,"data",u);function u(A){a.onBodySent(A)}o(u,"onPipeData")}o(hse,"writeStream");async function fse(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 cb;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),n.onBodySent(l),n.onRequestSent(),c||(i[zh]=!0),s[To]()}catch(l){t(l)}}o(fse,"writeBlob");async function TO(t,e,r,s,n,i,a,c){Ns(a!==0||s[$h]===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[zh]=!0),s[To]()}catch(d){t(d)}finally{e.off("close",u).off("drain",u)}}o(TO,"writeIterable");PO.exports=ase});var Yh=f((FMe,LO)=>{"use strict";var qn=pe(),{kBodyUsed:OA}=Ye(),pb=require("node:assert"),{InvalidArgumentError:gse}=Qe(),Ese=require("node:events"),yse=[300,301,302,303,307,308],DO=Symbol("body"),Vh=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[DO]=e,this[OA]=!1}async*[Symbol.asyncIterator](){pb(!this[OA],"disturbed"),this[OA]=!0,yield*this[DO]}},db=class{static{o(this,"RedirectHandler")}constructor(e,r,s,n){if(r!=null&&(!Number.isInteger(r)||r<0))throw new gse("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(){pb(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[OA]=!1,Ese.prototype.on.call(this.opts.body,"data",function(){this[OA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Vh(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&qn.isIterable(this.opts.body)&&(this.opts.body=new Vh(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,s){this.handler.onUpgrade(e,r,s)}onError(e){this.handler.onError(e)}onHeaders(e,r,s,n){if(this.location=this.history.length>=this.maxRedirections||qn.isDisturbed(this.opts.body)?null:Cse(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=Ise(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 Cse(t,e){if(yse.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var Bse=Yh();function wse({maxRedirections:t}){return e=>o(function(s,n){let{maxRedirections:i=t}=s;if(!i)return e(s,n);let a=new Bse(e,i,s,n);return s={...s,maxRedirections:0},e(s,a)},"Intercept")}o(wse,"createRedirectInterceptor");MO.exports=wse});var gl=f((HMe,YO)=>{"use strict";var Hi=require("node:assert"),HO=require("node:net"),bse=require("node:http"),Ta=pe(),{channels:hl}=Kc(),Qse=YL(),xse=tl(),{InvalidArgumentError:pt,InformationalError:Nse,ClientDestroyedError:Sse}=Qe(),Rse=QA(),{kUrl:Gn,kServerName:vo,kClient:Tse,kBusy:mb,kConnect:vse,kResuming:va,kRunning:HA,kPending:zA,kSize:GA,kQueue:un,kConnected:Pse,kConnecting:fl,kNeedDrain:ko,kKeepAliveDefaultTimeout:OO,kHostHeader:kse,kPendingIdx:An,kRunningIdx:zi,kError:Dse,kPipelining:Wh,kKeepAliveTimeoutValue:_se,kMaxHeadersSize:Lse,kKeepAliveMaxTimeout:Mse,kKeepAliveTimeoutThreshold:Ose,kHeadersTimeout:Fse,kBodyTimeout:Use,kStrictContentLength:qse,kConnector:FA,kMaxRedirections:Gse,kMaxRequests:hb,kCounter:Hse,kClose:zse,kDestroy:$se,kDispatch:Vse,kInterceptors:FO,kLocalAddress:UA,kMaxResponseSize:Yse,kOnError:Jse,kHTTPContext:mt,kMaxConcurrentStreams:Wse,kResume:qA}=Ye(),jse=QO(),Kse=kO(),UO=!1,Po=Symbol("kClosedResolve"),qO=o(()=>{},"noop");function zO(t){return t[Wh]??t[mt]?.defaultPipelining??1}o(zO,"getPipelining");var fb=class extends xse{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:Re,allowH2:le,webSocket:Le}={}){if(super({webSocket:Le}),A!==void 0)throw new pt("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new pt("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new pt("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(u!==void 0)throw new pt("unsupported idleTimeout, use keepAliveTimeout instead");if(p!==void 0)throw new pt("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(s!=null&&!Number.isFinite(s))throw new pt("invalid maxHeaderSize");if(g!=null&&typeof g!="string")throw new pt("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new pt("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new pt("invalid keepAliveTimeout");if(m!=null&&(!Number.isFinite(m)||m<=0))throw new pt("invalid keepAliveMaxTimeout");if(h!=null&&!Number.isFinite(h))throw new pt("invalid keepAliveTimeoutThreshold");if(n!=null&&(!Number.isInteger(n)||n<0))throw new pt("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new pt("bodyTimeout must be a positive integer or zero");if(x!=null&&typeof x!="function"&&typeof x!="object")throw new pt("connect must be a function or an object");if(B!=null&&(!Number.isInteger(B)||B<0))throw new pt("maxRedirections must be a positive number");if(R!=null&&(!Number.isInteger(R)||R<0))throw new pt("maxRequestsPerClient must be a positive number");if(q!=null&&(typeof q!="string"||HO.isIP(q)===0))throw new pt("localAddress must be valid string IP address");if(ye!=null&&(!Number.isInteger(ye)||ye<-1))throw new pt("maxResponseSize must be a positive number");if(be!=null&&(!Number.isInteger(be)||be<-1))throw new pt("autoSelectFamilyAttemptTimeout must be a positive number");if(le!=null&&typeof le!="boolean")throw new pt("allowH2 must be a valid boolean value");if(Re!=null&&(typeof Re!="number"||Re<1))throw new pt("maxConcurrentStreams must be a positive integer, greater than 0");typeof x!="function"&&(x=Rse({...E,maxCachedSessions:I,allowH2:le,socketPath:g,timeout:c,...we?{autoSelectFamily:we,autoSelectFamilyAttemptTimeout:be}:void 0,...x})),r?.Client&&Array.isArray(r.Client)?(this[FO]=r.Client,UO||(UO=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[FO]=[Xse({maxRedirections:B})],this[Gn]=Ta.parseOrigin(e),this[FA]=x,this[Wh]=C??1,this[Lse]=s||bse.maxHeaderSize,this[OO]=d??4e3,this[Mse]=m??6e5,this[Ose]=h??2e3,this[_se]=this[OO],this[vo]=null,this[UA]=q??null,this[va]=0,this[ko]=0,this[kse]=`host: ${this[Gn].hostname}${this[Gn].port?`:${this[Gn].port}`:""}\r `,this[Use]=l??3e5,this[Fse]=n??3e5,this[qse]=y??!0,this[Gse]=B,this[hb]=R,this[Po]=null,this[Yse]=ye>-1?ye:-1,this[Wse]=Re??100,this[mt]=null,this[un]=[],this[zi]=0,this[An]=0,this[qA]=se=>gb(this,se),this[Jse]=se=>$O(this,se)}get pipelining(){return this[Wh]}set pipelining(e){this[Wh]=e,this[qA](!0)}get[zA](){return this[un].length-this[An]}get[HA](){return this[An]-this[zi]}get[GA](){return this[un].length-this[zi]}get[Pse](){return!!this[mt]&&!this[fl]&&!this[mt].destroyed}get[mb](){return!!(this[mt]?.busy(null)||this[GA]>=(zO(this)||1)||this[zA]>0)}[vse](e){VO(this),this.once("connect",e)}[Vse](e,r){let s=e.origin||this[Gn].origin,n=new Qse(s,e,r);return this[un].push(n),this[va]||(Ta.bodyLength(n.body)==null&&Ta.isIterable(n.body)?(this[va]=1,queueMicrotask(()=>gb(this))):this[qA](!0)),this[va]&&this[ko]!==2&&this[mb]&&(this[ko]=2),this[ko]<2}async[zse](){return new Promise(e=>{this[GA]?this[Po]=e:e(null)})}async[$se](e){return new Promise(r=>{let s=this[un].splice(this[An]);for(let i=0;i{this[Po]&&(this[Po](),this[Po]=null),r(null)},"callback");this[mt]?(this[mt].destroy(e,n),this[mt]=null):queueMicrotask(n),this[qA]()})}},Xse=Jh();function $O(t,e){if(t[HA]===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[FA]({host:e,hostname:r,protocol:s,port:n,servername:t[vo],localAddress:t[UA]},(l,u)=>{l?c(l):a(u)})});if(t.destroyed){Ta.destroy(i.on("error",qO),new Sse);return}Hi(i);try{t[mt]=i.alpnProtocol==="h2"?await Kse(t,i):await jse(t,i)}catch(a){throw i.destroy().on("error",qO),a}t[fl]=!1,i[Hse]=0,i[hb]=t[hb],i[Tse]=t,i[Dse]=null,hl.connected.hasSubscribers&&hl.connected.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[mt]?.version,servername:t[vo],localAddress:t[UA]},connector:t[FA],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[mt]?.version,servername:t[vo],localAddress:t[UA]},connector:t[FA],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(Hi(t[HA]===0);t[zA]>0&&t[un][t[An]].servername===t[vo];){let a=t[un][t[An]++];Ta.errorRequest(t,a,i)}else $O(t,i);t.emit("connectionError",t[Gn],[t],i)}t[qA]()}o(VO,"connect");function GO(t){t[ko]=0,t.emit("drain",t[Gn],[t])}o(GO,"emitDrain");function gb(t,e){t[va]!==2&&(t[va]=2,Zse(t,e),t[va]=0,t[zi]>256&&(t[un].splice(0,t[zi]),t[An]-=t[zi],t[zi]=0))}o(gb,"resume");function Zse(t,e){for(;;){if(t.destroyed){Hi(t[zA]===0);return}if(t[Po]&&!t[GA]){t[Po](),t[Po]=null;return}if(t[mt]&&t[mt].resume(),t[mb])t[ko]=2;else if(t[ko]===2){e?(t[ko]=1,queueMicrotask(()=>GO(t))):GO(t);continue}if(t[zA]===0||t[HA]>=(zO(t)||1))return;let r=t[un][t[An]];if(t[Gn].protocol==="https:"&&t[vo]!==r.servername){if(t[HA]>0)return;t[vo]=r.servername,t[mt]?.destroy(new Nse("servername changed"),()=>{t[mt]=null,gb(t)})}if(t[fl])return;if(!t[mt]){VO(t);return}if(t[mt].destroyed||t[mt].busy(r))return;!r.aborted&&t[mt].write(r)?t[An]++:t[un].splice(t[An],1)}}o(Zse,"_resume");YO.exports=fb});var Eb=f((VMe,JO)=>{"use strict";var jh=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)}};JO.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new jh}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new jh),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var jO=f((JMe,WO)=>{var{kFree:ene,kConnected:tne,kPending:rne,kQueued:sne,kRunning:nne,kSize:ine}=Ye(),Pa=Symbol("pool"),yb=class{static{o(this,"PoolStats")}constructor(e){this[Pa]=e}get connected(){return this[Pa][tne]}get free(){return this[Pa][ene]}get pending(){return this[Pa][rne]}get queued(){return this[Pa][sne]}get running(){return this[Pa][nne]}get size(){return this[Pa][ine]}};WO.exports=yb});var Qb=f((jMe,oF)=>{"use strict";var one=tl(),ane=Eb(),{kConnected:Cb,kSize:KO,kRunning:XO,kPending:ZO,kQueued:$A,kBusy:cne,kFree:lne,kUrl:une,kClose:Ane,kDestroy:dne,kDispatch:pne}=Ye(),mne=jO(),kr=Symbol("clients"),mr=Symbol("needDrain"),VA=Symbol("queue"),Ib=Symbol("closed resolve"),Bb=Symbol("onDrain"),eF=Symbol("onConnect"),tF=Symbol("onDisconnect"),rF=Symbol("onConnectionError"),wb=Symbol("get dispatcher"),nF=Symbol("add client"),iF=Symbol("remove client"),sF=Symbol("stats"),bb=class extends one{static{o(this,"PoolBase")}constructor(e){super(e),this[VA]=new ane,this[kr]=[],this[$A]=0;let r=this;this[Bb]=o(function(n,i){let a=r[VA],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[$A]--,c=!this.dispatch(l.opts,l.handler)}this[mr]=c,!this[mr]&&r[mr]&&(r[mr]=!1,r.emit("drain",n,[r,...i])),r[Ib]&&a.isEmpty()&&Promise.all(r[kr].map(l=>l.close())).then(r[Ib])},"onDrain"),this[eF]=(s,n)=>{r.emit("connect",s,[r,...n])},this[tF]=(s,n,i)=>{r.emit("disconnect",s,[r,...n],i)},this[rF]=(s,n,i)=>{r.emit("connectionError",s,[r,...n],i)},this[sF]=new mne(this)}get[cne](){return this[mr]}get[Cb](){return this[kr].filter(e=>e[Cb]).length}get[lne](){return this[kr].filter(e=>e[Cb]&&!e[mr]).length}get[ZO](){let e=this[$A];for(let{[ZO]:r}of this[kr])e+=r;return e}get[XO](){let e=0;for(let{[XO]:r}of this[kr])e+=r;return e}get[KO](){let e=this[$A];for(let{[KO]:r}of this[kr])e+=r;return e}get stats(){return this[sF]}async[Ane](){this[VA].isEmpty()?await Promise.all(this[kr].map(e=>e.close())):await new Promise(e=>{this[Ib]=e})}async[dne](e){for(;;){let r=this[VA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[kr].map(r=>r.destroy(e)))}[pne](e,r){let s=this[wb]();return s?s.dispatch(e,r)||(s[mr]=!0,this[mr]=!this[wb]()):(this[mr]=!0,this[VA].push({opts:e,handler:r}),this[$A]++),!this[mr]}[nF](e){return e.on("drain",this[Bb]).on("connect",this[eF]).on("disconnect",this[tF]).on("connectionError",this[rF]),this[kr].push(e),this[mr]&&queueMicrotask(()=>{this[mr]&&this[Bb](e[une],[this,e])}),this}[iF](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)}};oF.exports={PoolBase:bb,kClients:kr,kNeedDrain:mr,kAddClient:nF,kRemoveClient:iF,kGetDispatcher:wb}});var El=f((XMe,uF)=>{"use strict";var{PoolBase:hne,kClients:Kh,kNeedDrain:fne,kAddClient:gne,kGetDispatcher:Ene}=Qb(),yne=gl(),{InvalidArgumentError:xb}=Qe(),aF=pe(),{kUrl:cF,kInterceptors:Cne}=Ye(),Ine=QA(),Nb=Symbol("options"),Sb=Symbol("connections"),lF=Symbol("factory");function Bne(t,e){return new yne(t,e)}o(Bne,"defaultFactory");var Rb=class extends hne{static{o(this,"Pool")}constructor(e,{connections:r,factory:s=Bne,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 xb("invalid connections");if(typeof s!="function")throw new xb("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new xb("connect must be a function or an object");typeof n!="function"&&(n=Ine({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:i,...u?{autoSelectFamily:u,autoSelectFamilyAttemptTimeout:A}:void 0,...n})),super(p),this[Cne]=p.interceptors?.Pool&&Array.isArray(p.interceptors.Pool)?p.interceptors.Pool:[],this[Sb]=r||null,this[cF]=aF.parseOrigin(e),this[Nb]={...aF.deepClone(p),connect:n,allowH2:d},this[Nb].interceptors=p.interceptors?{...p.interceptors}:void 0,this[lF]=s,this.on("connectionError",(m,h,g)=>{for(let C of h){let E=this[Kh].indexOf(C);E!==-1&&this[Kh].splice(E,1)}})}[Ene](){for(let e of this[Kh])if(!e[fne])return e;if(!this[Sb]||this[Kh].length{"use strict";var{BalancedPoolMissingUpstreamError:wne,InvalidArgumentError:bne}=Qe(),{PoolBase:Qne,kClients:tr,kNeedDrain:YA,kAddClient:xne,kRemoveClient:Nne,kGetDispatcher:Sne}=Qb(),Rne=El(),{kUrl:Tb,kInterceptors:Tne}=Ye(),{parseOrigin:AF}=pe(),dF=Symbol("factory"),Xh=Symbol("options"),pF=Symbol("kGreatestCommonDivisor"),ka=Symbol("kCurrentWeight"),Da=Symbol("kIndex"),Ss=Symbol("kWeight"),Zh=Symbol("kMaxWeightPerServer"),ef=Symbol("kErrorPenalty");function vne(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(vne,"getGreatestCommonDivisor");function Pne(t,e){return new Rne(t,e)}o(Pne,"defaultFactory");var vb=class extends Qne{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=Pne,...s}={}){if(super(),this[Xh]=s,this[Da]=-1,this[ka]=0,this[Zh]=this[Xh].maxWeightPerServer||100,this[ef]=this[Xh].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new bne("factory must be a function.");this[Tne]=s.interceptors?.BalancedPool&&Array.isArray(s.interceptors.BalancedPool)?s.interceptors.BalancedPool:[],this[dF]=r;for(let n of e)this.addUpstream(n);this._updateBalancedPoolStats()}addUpstream(e){let r=AF(e).origin;if(this[tr].find(n=>n[Tb].origin===r&&n.closed!==!0&&n.destroyed!==!0))return this;let s=this[dF](r,Object.assign({},this[Xh]));this[xne](s),s.on("connect",()=>{s[Ss]=Math.min(this[Zh],s[Ss]+this[ef])}),s.on("connectionError",()=>{s[Ss]=Math.max(1,s[Ss]-this[ef]),this._updateBalancedPoolStats()}),s.on("disconnect",(...n)=>{let i=n[2];i&&i.code==="UND_ERR_SOCKET"&&(s[Ss]=Math.max(1,s[Ss]-this[ef]),this._updateBalancedPoolStats())});for(let n of this[tr])n[Ss]=this[Zh];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;rn[Tb].origin===r&&n.closed!==!0&&n.destroyed!==!0);return s&&this[Nne](s),this}get upstreams(){return this[tr].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[Tb].origin)}[Sne](){if(this[tr].length===0)throw new wne;if(!this[tr].find(i=>!i[YA]&&i.closed!==!0&&i.destroyed!==!0)||this[tr].map(i=>i[YA]).reduce((i,a)=>i&&a,!0))return;let s=0,n=this[tr].findIndex(i=>!i[YA]);for(;s++this[tr][n][Ss]&&!i[YA]&&(n=this[Da]),this[Da]===0&&(this[ka]=this[ka]-this[pF],this[ka]<=0&&(this[ka]=this[Zh])),i[Ss]>=this[ka]&&!i[YA])return i}return this[ka]=this[tr][n][Ss],this[Da]=n,this[tr][n]}};mF.exports=vb});var yl=f((rOe,BF)=>{"use strict";var{InvalidArgumentError:tf}=Qe(),{kClients:Do,kRunning:fF,kClose:kne,kDestroy:Dne,kDispatch:_ne,kInterceptors:Lne}=Ye(),Mne=tl(),One=El(),Fne=gl(),Une=pe(),qne=Jh(),gF=Symbol("onConnect"),EF=Symbol("onDisconnect"),yF=Symbol("onConnectionError"),Gne=Symbol("maxRedirections"),CF=Symbol("onDrain"),IF=Symbol("factory"),Pb=Symbol("options");function Hne(t,e){return e&&e.connections===1?new Fne(t,e):new One(t,e)}o(Hne,"defaultFactory");var kb=class extends Mne{static{o(this,"Agent")}constructor({factory:e=Hne,maxRedirections:r=0,connect:s,...n}={}){if(typeof e!="function")throw new tf("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new tf("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new tf("maxRedirections must be a positive number");super(n),s&&typeof s!="function"&&(s={...s}),this[Lne]=n.interceptors?.Agent&&Array.isArray(n.interceptors.Agent)?n.interceptors.Agent:[qne({maxRedirections:r})],this[Pb]={...Une.deepClone(n),connect:s},this[Pb].interceptors=n.interceptors?{...n.interceptors}:void 0,this[Gne]=r,this[IF]=e,this[Do]=new Map,this[CF]=(i,a)=>{this.emit("drain",i,[this,...a])},this[gF]=(i,a)=>{this.emit("connect",i,[this,...a])},this[EF]=(i,a,c)=>{this.emit("disconnect",i,[this,...a],c)},this[yF]=(i,a,c)=>{this.emit("connectionError",i,[this,...a],c)}}get[fF](){let e=0;for(let r of this[Do].values())e+=r[fF];return e}[_ne](e,r){let s;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))s=String(e.origin);else throw new tf("opts.origin must be a non-empty string or URL.");let n=this[Do].get(s);return n||(n=this[IF](e.origin,this[Pb]).on("drain",this[CF]).on("connect",this[gF]).on("disconnect",this[EF]).on("connectionError",this[yF]),this[Do].set(s,n)),n.dispatch(e,r)}async[kne](){let e=[];for(let r of this[Do].values())e.push(r.close());this[Do].clear(),await Promise.all(e)}async[Dne](e){let r=[];for(let s of this[Do].values())r.push(s.destroy(e));this[Do].clear(),await Promise.all(r)}};BF.exports=kb});var Ob=f((nOe,kF)=>{"use strict";var{kProxy:Db,kClose:SF,kDestroy:RF,kDispatch:wF,kInterceptors:zne}=Ye(),{URL:_a}=require("node:url"),$ne=yl(),TF=El(),vF=tl(),{InvalidArgumentError:Cl,RequestAbortedError:Vne,SecureProxyConnectionError:Yne}=Qe(),bF=QA(),PF=gl(),rf=Symbol("proxy agent"),sf=Symbol("proxy client"),_o=Symbol("proxy headers"),_b=Symbol("request tls settings"),QF=Symbol("proxy tls settings"),xF=Symbol("connect endpoint function"),NF=Symbol("tunnel proxy");function Jne(t){return t==="https:"?443:80}o(Jne,"defaultProtocolPort");function Wne(t,e){return new TF(t,e)}o(Wne,"defaultFactory");var jne=o(()=>{},"noop");function Kne(t,e){return e.connections===1?new PF(t,e):new TF(t,e)}o(Kne,"defaultAgentFactory");var Lb=class extends vF{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:s,factory:n}){if(super(),!e)throw new Cl("Proxy URL is mandatory");this[_o]=r,n?this.#e=n(e,{connect:s}):this.#e=new PF(e,{connect:s})}[wF](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 _a(n);a.host=c}return e.headers={...this[_o],...a},this.#e[wF](e,r)}async[SF](){return this.#e.close()}async[RF](e){return this.#e.destroy(e)}},Mb=class extends vF{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof _a)&&!e.uri)throw new Cl("Proxy uri is mandatory");let{clientFactory:r=Wne}=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[Db]={uri:i,protocol:l},this[zne]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[_b]=e.requestTls,this[QF]=e.proxyTls,this[_o]=e.headers||{},this[NF]=s,e.auth&&e.token)throw new Cl("opts.auth cannot be used in combination with opts.token");e.auth?this[_o]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[_o]["proxy-authorization"]=e.token:u&&A&&(this[_o]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(u)}:${decodeURIComponent(A)}`).toString("base64")}`);let p=bF({...e.proxyTls});this[xF]=bF({...e.requestTls});let m=e.factory||Kne,h=o((g,C)=>{let{protocol:E}=new _a(g);return!this[NF]&&E==="http:"&&this[Db].protocol==="http:"?new Lb(this[Db].uri,{headers:this[_o],connect:p,factory:m}):m(g,C)},"factory");this[sf]=r(n,{connect:p}),this[rf]=new $ne({...e,factory:h,connect:o(async(g,C)=>{let E=g.host;g.port||(E+=`:${Jne(g.protocol)}`);try{let{socket:y,statusCode:I}=await this[sf].connect({origin:a,port:c,path:E,signal:g.signal,headers:{...this[_o],host:g.host},servername:this[QF]?.servername||d});if(I!==200&&(y.on("error",jne).destroy(),C(new Vne(`Proxy response (${I}) !== 200 when HTTP Tunneling`))),g.protocol!=="https:"){C(null,y);return}let B;this[_b]?B=this[_b].servername:B=g.servername,this[xF]({...g,servername:B,httpSocket:y},C)}catch(y){y.code==="ERR_TLS_CERT_ALTNAME_INVALID"?C(new Yne(y)):C(y)}},"connect")})}dispatch(e,r){let s=Xne(e.headers);if(Zne(s),s&&!("host"in s)&&!("Host"in s)){let{host:n}=new _a(e.origin);s.host=n}return this[rf].dispatch({...e,headers:s},r)}#e(e){return typeof e=="string"?new _a(e):e instanceof _a?e:new _a(e.uri)}async[SF](){await this[rf].close(),await this[sf].close()}async[RF](){await this[rf].destroy(),await this[sf].destroy()}};function Xne(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(Zne,"throwIfProxyAuthIsSent");kF.exports=Mb});var FF=f((oOe,OF)=>{"use strict";var eie=tl(),{kClose:tie,kDestroy:rie,kClosed:DF,kDestroyed:_F,kDispatch:sie,kNoProxyAgent:JA,kHttpProxyAgent:Lo,kHttpsProxyAgent:La}=Ye(),LF=Ob(),nie=yl(),iie={"http:":80,"https:":443},MF=!1,Fb=class extends eie{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#r=null;constructor(e={}){super(),this.#r=e,MF||(MF=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:s,noProxy:n,...i}=e;this[JA]=new nie(i);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[Lo]=new LF({...i,uri:a}):this[Lo]=this[JA];let c=s??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[La]=new LF({...i,uri:c}):this[La]=this[Lo],this.#s()}[sie](e,r){let s=new URL(e.origin);return this.#i(s).dispatch(e,r)}async[tie](){await this[JA].close(),this[Lo][DF]||await this[Lo].close(),this[La][DF]||await this[La].close()}async[rie](e){await this[JA].destroy(e),this[Lo][_F]||await this[Lo].destroy(e),this[La][_F]||await this[La].destroy(e)}#i(e){let{protocol:r,host:s,port:n}=e;return s=s.replace(/:\d*$/,"").toLowerCase(),n=Number.parseInt(n,10)||iie[r]||0,this.#n(s,n)?r==="https:"?this[La]:this[Lo]:this[JA]}#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 Il=require("node:assert"),{kRetryHandlerDefaultRetry:UF}=Ye(),{RequestRetryError:WA}=Qe(),{isDisturbed:qF,parseHeaders:oie,parseRangeHeader:GF,wrapRequestBody:aie}=pe();function cie(t){let e=Date.now();return new Date(t).getTime()-e}o(cie,"calculateRetryAfterHeader");var Ub=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:aie(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[UF],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.handler.onConnect(h=>{this.aborted=!0,this.abort?this.abort(h):this.reason=h})}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[UF](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)?cie(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=oie(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,s,n):(this.abort(new WA("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 WA("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let c=GF(i["content-range"]);if(!c)return this.abort(new WA("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new WA("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let{start:l,size:u,end:A=u-1}=c;return Il(this.start===l,"content-range mismatch"),Il(this.end==null||this.end===A,"content-range mismatch"),this.resume=s,!0}if(this.end==null){if(e===206){let c=GF(i["content-range"]);if(c==null)return this.handler.onHeaders(e,r,s,n);let{start:l,size:u,end:A=u-1}=c;Il(l!=null&&Number.isFinite(l),"content-range mismatch"),Il(A!=null&&Number.isFinite(A),"invalid content-length"),this.start=l,this.end=A}if(this.end==null){let c=i["content-length"];this.end=c!=null?Number(c)-1:null}return Il(Number.isFinite(this.start)),Il(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=s,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 WA("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||qF(this.opts.body))return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(s){if(s!=null||this.aborted||qF(this.opts.body))return this.handler.onError(s);if(this.start!==0){let n={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(n["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...n}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(n){this.handler.onError(n)}}o(r,"onRetry")}};HF.exports=Ub});var $F=f((uOe,zF)=>{"use strict";var lie=wA(),uie=nf(),qb=class extends lie{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 uie({...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()}};zF.exports=qb});var Yb=f((dOe,eU)=>{"use strict";var jF=require("node:assert"),{Readable:Aie}=require("node:stream"),{RequestAbortedError:KF,NotSupportedError:die,InvalidArgumentError:pie,AbortError:Gb}=Qe(),XF=pe(),{ReadableStreamFrom:mie}=pe(),Zr=Symbol("kConsume"),jA=Symbol("kReading"),Mo=Symbol("kBody"),VF=Symbol("kAbort"),ZF=Symbol("kContentType"),YF=Symbol("kContentLength"),hie=o(()=>{},"noop"),Hb=class extends Aie{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[VF]=r,this[Zr]=null,this[Mo]=null,this[ZF]=s,this[YF]=n,this[jA]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new KF),e&&this[VF](),super.destroy(e)}_destroy(e,r){this[jA]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[jA]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let s=super.off(e,...r);return(e==="data"||e==="readable")&&(this[jA]=this.listenerCount("data")>0||this.listenerCount("readable")>0),s}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Zr]&&e!==null?($b(this[Zr],e),this[jA]?super.push(e):!0):super.push(e)}async text(){return KA(this,"text")}async json(){return KA(this,"json")}async blob(){return KA(this,"blob")}async bytes(){return KA(this,"bytes")}async arrayBuffer(){return KA(this,"arrayBuffer")}async formData(){throw new die}get bodyUsed(){return XF.isDisturbed(this)}get body(){return this[Mo]||(this[Mo]=mie(this),this[Zr]&&(this[Mo].getReader(),jF(this[Mo].locked))),this[Mo]}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 pie("signal must be an AbortSignal");return s?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((n,i)=>{this[YF]>r&&this.destroy(new Gb);let a=o(()=>{this.destroy(s.reason??new Gb)},"onAbort");s?.addEventListener("abort",a),this.on("close",function(){s?.removeEventListener("abort",a),s?.aborted?i(s.reason??new Gb):n(null)}).on("error",hie).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function fie(t){return t[Mo]&&t[Mo].locked===!0||t[Zr]}o(fie,"isLocked");function gie(t){return XF.isDisturbed(t)||fie(t)}o(gie,"isUnusable");async function KA(t,e){return jF(!t[Zr]),new Promise((r,s)=>{if(gie(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){Vb(this[Zr],n)}).on("close",function(){this[Zr].body!==null&&Vb(this[Zr],new KF)}),Eie(t[Zr])})})}o(KA,"consume");function Eie(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(zb,"chunksDecode");function JF(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 yie=require("node:assert"),{ResponseStatusCodeError:tU}=Qe(),{chunksDecode:rU}=Yb(),Cie=128*1024;async function Iie({callback:t,body:e,contentType:r,statusCode:s,statusMessage:n,headers:i}){yie(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>Cie){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${s}${n?`: ${n}`:""}`;if(s===204||!r||!c){queueMicrotask(()=>t(new tU(l,s,i)));return}let u=Error.stackTraceLimit;Error.stackTraceLimit=0;let A;try{sU(r)?A=JSON.parse(rU(a,c)):nU(r)&&(A=rU(a,c))}catch{}finally{Error.stackTraceLimit=u}queueMicrotask(()=>t(new tU(l,s,i,A)))}o(Iie,"getResolveErrorBodyCallback");var sU=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"),nU=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");iU.exports={getResolveErrorBodyCallback:Iie,isContentTypeApplicationJson:sU,isContentTypeText:nU}});var cU=f((fOe,Wb)=>{"use strict";var Bie=require("node:assert"),{Readable:wie}=Yb(),{InvalidArgumentError:Bl,RequestAbortedError:oU}=Qe(),es=pe(),{getResolveErrorBodyCallback:bie}=Jb(),{AsyncResource:Qie}=require("node:async_hooks"),of=class extends Qie{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Bl("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 Bl("invalid callback");if(A&&(typeof A!="number"||A<0))throw new Bl("invalid highWaterMark");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new Bl("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new Bl("invalid method");if(c&&typeof c!="function")throw new Bl("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 oU:this.removeAbortListener=es.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new oU,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}Bie(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 wie({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(bie,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 aU(t,e){if(e===void 0)return new Promise((r,s)=>{aU.call(this,t,(n,i)=>n?s(n):r(i))});try{this.dispatch(t,new of(t,e))}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}o(aU,"request");Wb.exports=aU;Wb.exports.RequestHandler=of});var XA=f((EOe,AU)=>{var{addAbortListener:xie}=pe(),{RequestAbortedError:Nie}=Qe(),wl=Symbol("kListener"),Hn=Symbol("kSignal");function lU(t){t.abort?t.abort(t[Hn]?.reason):t.reason=t[Hn]?.reason??new Nie,uU(t)}o(lU,"abort");function Sie(t,e){if(t.reason=null,t[Hn]=null,t[wl]=null,!!e){if(e.aborted){lU(t);return}t[Hn]=e,t[wl]=()=>{lU(t)},xie(t[Hn],t[wl])}}o(Sie,"addSignal");function uU(t){t[Hn]&&("removeEventListener"in t[Hn]?t[Hn].removeEventListener("abort",t[wl]):t[Hn].removeListener("abort",t[wl]),t[Hn]=null,t[wl]=null)}o(uU,"removeSignal");AU.exports={addSignal:Sie,removeSignal:uU}});var hU=f((COe,mU)=>{"use strict";var Rie=require("node:assert"),{finished:Tie,PassThrough:vie}=require("node:stream"),{InvalidArgumentError:bl,InvalidReturnValueError:Pie}=Qe(),dn=pe(),{getResolveErrorBodyCallback:kie}=Jb(),{AsyncResource:Die}=require("node:async_hooks"),{addSignal:_ie,removeSignal:dU}=XA(),jb=class extends Die{static{o(this,"StreamHandler")}constructor(e,r,s){if(!e||typeof e!="object")throw new bl("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 bl("invalid callback");if(typeof r!="function")throw new bl("invalid factory");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new bl("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new bl("invalid method");if(l&&typeof l!="function")throw new bl("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)}),_ie(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}Rie(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 vie,this.callback=null,this.runInAsyncScope(kie,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 Pie("expected Writable");Tie(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;dU(this),r&&(this.trailers=dn.parseHeaders(e),r.end())}onError(e){let{res:r,callback:s,opaque:n,body:i}=this;dU(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 pU(t,e,r){if(r===void 0)return new Promise((s,n)=>{pU.call(this,t,e,(i,a)=>i?n(i):s(a))});try{this.dispatch(t,new jb(t,e,r))}catch(s){if(typeof r!="function")throw s;let n=t?.opaque;queueMicrotask(()=>r(s,{opaque:n}))}}o(pU,"stream");mU.exports=pU});var yU=f((BOe,EU)=>{"use strict";var{Readable:gU,Duplex:Lie,PassThrough:Mie}=require("node:stream"),{InvalidArgumentError:ZA,InvalidReturnValueError:Oie,RequestAbortedError:Kb}=Qe(),Rs=pe(),{AsyncResource:Fie}=require("node:async_hooks"),{addSignal:Uie,removeSignal:qie}=XA(),fU=require("node:assert"),Ql=Symbol("resume"),Xb=class extends gU{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[Ql]=null}_read(){let{[Ql]:e}=this;e&&(this[Ql]=null,e())}_destroy(e,r){this._read(),r(e)}},Zb=class extends gU{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[Ql]=e}_read(){this[Ql]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new Kb),r(e)}},eQ=class extends Fie{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new ZA("invalid opts");if(typeof r!="function")throw new ZA("invalid handler");let{signal:s,method:n,opaque:i,onInfo:a,responseHeaders:c}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new ZA("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new ZA("invalid method");if(a&&typeof a!="function")throw new ZA("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=i||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new Xb().on("error",Rs.nop),this.ret=new Lie({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[Ql]=A},"write"),destroy:o((l,u)=>{let{body:A,req:d,res:p,ret:m,abort:h}=this;!l&&!m._readableState.endEmitted&&(l=new Kb),h&&l&&h(),Rs.destroy(A,l),Rs.destroy(d,l),Rs.destroy(p,l),qie(this),u(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,Uie(this,s)}onConnect(e,r){let{ret:s,res:n}=this;if(this.reason){e(this.reason);return}fU(!n,"pipeline cannot be retried"),fU(!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 Zb(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 Oie("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 Kb)}),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 Gie(t,e){try{let r=new eQ(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new Mie().destroy(r)}}o(Gie,"pipeline");EU.exports=Gie});var QU=f((bOe,bU)=>{"use strict";var{InvalidArgumentError:tQ,SocketError:Hie}=Qe(),{AsyncResource:zie}=require("node:async_hooks"),CU=pe(),{addSignal:$ie,removeSignal:IU}=XA(),BU=require("node:assert"),rQ=class extends zie{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new tQ("invalid opts");if(typeof r!="function")throw new tQ("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new tQ("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,$ie(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}BU(this.callback),this.abort=e,this.context=null}onHeaders(){throw new Hie("bad upgrade",null)}onUpgrade(e,r,s){BU(e===101);let{callback:n,opaque:i,context:a}=this;IU(this),this.callback=null;let c=this.responseHeaders==="raw"?CU.parseRawHeaders(r):CU.parseHeaders(r);this.runInAsyncScope(n,null,null,{headers:c,socket:s,opaque:i,context:a})}onError(e){let{callback:r,opaque:s}=this;IU(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function wU(t,e){if(e===void 0)return new Promise((r,s)=>{wU.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new rQ(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(wU,"upgrade");bU.exports=wU});var TU=f((xOe,RU)=>{"use strict";var Vie=require("node:assert"),{AsyncResource:Yie}=require("node:async_hooks"),{InvalidArgumentError:sQ,SocketError:Jie}=Qe(),xU=pe(),{addSignal:Wie,removeSignal:NU}=XA(),nQ=class extends Yie{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new sQ("invalid opts");if(typeof r!="function")throw new sQ("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new sQ("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=n||null,this.responseHeaders=i||null,this.callback=r,this.abort=null,Wie(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}Vie(this.callback),this.abort=e,this.context=r}onHeaders(){throw new Jie("bad connect",null)}onUpgrade(e,r,s){let{callback:n,opaque:i,context:a}=this;NU(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?xU.parseRawHeaders(r):xU.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;NU(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function SU(t,e){if(e===void 0)return new Promise((r,s)=>{SU.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new nQ(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(SU,"connect");RU.exports=SU});var vU=f((SOe,xl)=>{"use strict";xl.exports.request=cU();xl.exports.stream=hU();xl.exports.pipeline=yU();xl.exports.upgrade=QU();xl.exports.connect=TU()});var oQ=f((ROe,kU)=>{"use strict";var{UndiciError:jie}=Qe(),PU=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),iQ=class t extends jie{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[PU]===!0}[PU]=!0};kU.exports={MockNotMatchedError:iQ}});var Nl=f((vOe,DU)=>{"use strict";DU.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}});var ed=f((POe,$U)=>{"use strict";var{MockNotMatchedError:Ma}=oQ(),{kDispatches:af,kMockAgent:Kie,kOriginalDispatch:Xie,kOrigin:Zie,kGetNetConnect:eoe}=Nl(),{buildURL:toe}=pe(),{STATUS_CODES:roe}=require("node:http"),{types:{isPromise:soe}}=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 LU(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(LU,"lowerCaseEntries");function MU(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=MU(e,r);if(!$i(s,n))return!1}return!0}o(OU,"matchHeaders");function _U(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(_U,"safeUrl");function noe(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=OU(t,n);return i&&a&&c&&l}o(noe,"matchKey");function FU(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(FU,"getResponseData");function UU(t,e){let r=e.query?toe(e.path,e.query):e.path,s=typeof r=="string"?_U(r):r,n=t.filter(({consumed:i})=>!i).filter(({path:i})=>$i(_U(i),s));if(n.length===0)throw new Ma(`Mock dispatch not matched for path '${s}'`);if(n=n.filter(({method:i})=>$i(i,e.method)),n.length===0)throw new Ma(`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 Ma(`Mock dispatch not matched for body '${e.body}' on path '${s}'`);if(n=n.filter(i=>OU(i,e.headers)),n.length===0){let i=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new Ma(`Mock dispatch not matched for headers '${i}' on path '${s}'`)}return n[0]}o(UU,"getMockDispatch");function ioe(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(ioe,"addMockDispatch");function aQ(t,e){let r=t.findIndex(s=>s.consumed?noe(s,e):!1);r!==-1&&t.splice(r,1)}o(aQ,"deleteMockDispatch");function qU(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(qU,"buildKey");function cQ(t){let e=Object.keys(t),r=[];for(let s=0;s=p,s.pending=d0?setTimeout(()=>{m(this[af])},u):m(this[af]);function m(g,C=i){let E=Array.isArray(t.headers)?lQ(t.headers):t.headers,y=typeof C=="function"?C({...t,headers:E}):C;if(soe(y)){y.then(R=>m(g,R));return}let I=FU(y),B=cQ(a),x=cQ(c);e.onConnect?.(R=>e.onError(R),null),e.onHeaders?.(n,B,h,GU(n)),e.onData?.(Buffer.from(I)),e.onComplete?.(x),aQ(g,r)}o(m,"handleReply");function h(){}return o(h,"resume"),!0}o(HU,"mockDispatch");function aoe(){let t=this[Kie],e=this[Zie],r=this[Xie];return o(function(n,i){if(t.isMockActive)try{HU.call(this,n,i)}catch(a){if(a instanceof Ma){let c=t[eoe]();if(c===!1)throw new Ma(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(zU(c,e))r.call(this,n,i);else throw new Ma(`${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(aoe,"buildMockDispatch");function zU(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(s=>$i(s,r.host)))}o(zU,"checkNetConnect");function coe(t){if(t){let{agent:e,...r}=t;return r}}o(coe,"buildMockOptions");$U.exports={getResponseData:FU,getMockDispatch:UU,addMockDispatch:ioe,deleteMockDispatch:aQ,buildKey:qU,generateKeyValues:cQ,matchValue:$i,getResponse:ooe,getStatusText:GU,mockDispatch:HU,buildMockDispatch:aoe,checkNetConnect:zU,buildMockOptions:coe,getHeaderByName:MU,buildHeadersFromArray:lQ}});var fQ=f((DOe,hQ)=>{"use strict";var{getResponseData:loe,buildKey:uoe,addMockDispatch:uQ}=ed(),{kDispatches:cf,kDispatchKey:lf,kDefaultHeaders:AQ,kDefaultTrailers:dQ,kContentLength:pQ,kMockDispatch:uf}=Nl(),{InvalidArgumentError:zn}=Qe(),{buildURL:Aoe}=pe(),Sl=class{static{o(this,"MockScope")}constructor(e){this[uf]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new zn("waitInMs must be a valid integer > 0");return this[uf].delay=e,this}persist(){return this[uf].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[uf].times=e,this}},mQ=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=Aoe(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[lf]=uoe(e),this[cf]=r,this[AQ]={},this[dQ]={},this[pQ]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:s}){let n=loe(r),i=this[pQ]?{"content-length":n.length}:{},a={...this[AQ],...i,...s.headers},c={...this[dQ],...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=uQ(this[cf],this[lf],i);return new Sl(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=uQ(this[cf],this[lf],s);return new Sl(n)}replyWithError(e){if(typeof e>"u")throw new zn("error must be defined");let r=uQ(this[cf],this[lf],{error:e});return new Sl(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new zn("headers must be defined");return this[AQ]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new zn("trailers must be defined");return this[dQ]=e,this}replyContentLength(){return this[pQ]=!0,this}};hQ.exports.MockInterceptor=mQ;hQ.exports.MockScope=Sl});var yQ=f((LOe,XU)=>{"use strict";var{promisify:doe}=require("node:util"),poe=gl(),{buildMockDispatch:moe}=ed(),{kDispatches:VU,kMockAgent:YU,kClose:JU,kOriginalClose:WU,kOrigin:jU,kOriginalDispatch:hoe,kConnected:gQ}=Nl(),{MockInterceptor:foe}=fQ(),KU=Ye(),{InvalidArgumentError:goe}=Qe(),EQ=class extends poe{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new goe("Argument opts.agent must implement Agent");this[YU]=r.agent,this[jU]=e,this[VU]=[],this[gQ]=1,this[hoe]=this.dispatch,this[WU]=this.close.bind(this),this.dispatch=moe.call(this),this.close=this[JU]}get[KU.kConnected](){return this[gQ]}intercept(e){return new foe(e,this[VU])}async[JU](){await doe(this[WU])(),this[gQ]=0,this[YU][KU.kClients].delete(this[jU])}};XU.exports=EQ});var BQ=f((OOe,i2)=>{"use strict";var{promisify:Eoe}=require("node:util"),yoe=El(),{buildMockDispatch:Coe}=ed(),{kDispatches:ZU,kMockAgent:e2,kClose:t2,kOriginalClose:r2,kOrigin:s2,kOriginalDispatch:Ioe,kConnected:CQ}=Nl(),{MockInterceptor:Boe}=fQ(),n2=Ye(),{InvalidArgumentError:woe}=Qe(),IQ=class extends yoe{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new woe("Argument opts.agent must implement Agent");this[e2]=r.agent,this[s2]=e,this[ZU]=[],this[CQ]=1,this[Ioe]=this.dispatch,this[r2]=this.close.bind(this),this.dispatch=Coe.call(this),this.close=this[t2]}get[n2.kConnected](){return this[CQ]}intercept(e){return new Boe(e,this[ZU])}async[t2](){await Eoe(this[r2])(),this[CQ]=0,this[e2][n2.kClients].delete(this[s2])}};i2.exports=IQ});var a2=f((qOe,o2)=>{"use strict";var boe={pronoun:"it",is:"is",was:"was",this:"this"},Qoe={pronoun:"they",is:"are",was:"were",this:"these"};o2.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,s=r?boe:Qoe,n=r?this.singular:this.plural;return{...s,count:e,noun:n}}}});var l2=f((zOe,c2)=>{"use strict";var{Transform:xoe}=require("node:stream"),{Console:Noe}=require("node:console"),Soe=process.versions.icu?"\u2705":"Y ",Roe=process.versions.icu?"\u274C":"N ";c2.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new xoe({transform(r,s,n){n(null,r)}}),this.logger=new Noe({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?Soe:Roe,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var p2=f((VOe,d2)=>{"use strict";var{kClients:Oa}=Ye(),Toe=yl(),{kAgent:wQ,kMockAgentSet:Af,kMockAgentGet:u2,kDispatches:bQ,kIsMockActive:df,kNetConnect:Fa,kGetNetConnect:voe,kOptions:pf,kFactory:mf}=Nl(),Poe=yQ(),koe=BQ(),{matchValue:Doe,buildMockOptions:_oe}=ed(),{InvalidArgumentError:A2,UndiciError:Loe}=Qe(),Moe=wA(),Ooe=a2(),Foe=l2(),QQ=class extends Moe{static{o(this,"MockAgent")}constructor(e){if(super(e),this[Fa]=!0,this[df]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new A2("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new Toe(e);this[wQ]=r,this[Oa]=r[Oa],this[pf]=_oe(e)}get(e){let r=this[u2](e);return r||(r=this[mf](e),this[Af](e,r)),r}dispatch(e,r){return this.get(e.origin),this[wQ].dispatch(e,r)}async close(){await this[wQ].close(),this[Oa].clear()}deactivate(){this[df]=!1}activate(){this[df]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[Fa])?this[Fa].push(e):this[Fa]=[e];else if(typeof e>"u")this[Fa]=!0;else throw new A2("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[Fa]=!1}get isMockActive(){return this[df]}[Af](e,r){this[Oa].set(e,r)}[mf](e){let r=Object.assign({agent:this},this[pf]);return this[pf]&&this[pf].connections===1?new Poe(e,r):new koe(e,r)}[u2](e){let r=this[Oa].get(e);if(r)return r;if(typeof e!="string"){let s=this[mf]("http://localhost:9999");return this[Af](e,s),s}for(let[s,n]of Array.from(this[Oa]))if(n&&typeof s!="string"&&Doe(s,e)){let i=this[mf](e);return this[Af](e,i),i[bQ]=n[bQ],i}}[voe](){return this[Fa]}pendingInterceptors(){let e=this[Oa];return Array.from(e.entries()).flatMap(([r,s])=>s[bQ].map(n=>({...n,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new Foe}={}){let r=this.pendingInterceptors();if(r.length===0)return;let s=new Ooe("interceptor","interceptors").pluralize(r.length);throw new Loe(` ${s.count} ${s.noun} ${s.is} pending: ${e.format(r)} `.trim())}};d2.exports=QQ});var hf=f((JOe,g2)=>{"use strict";var m2=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:Uoe}=Qe(),qoe=yl();f2()===void 0&&h2(new qoe);function h2(t){if(!t||typeof t.dispatch!="function")throw new Uoe("Argument agent must implement Agent");Object.defineProperty(globalThis,m2,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(h2,"setGlobalDispatcher");function f2(){return globalThis[m2]}o(f2,"getGlobalDispatcher");g2.exports={setGlobalDispatcher:h2,getGlobalDispatcher:f2}});var ff=f((KOe,E2)=>{"use strict";E2.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 C2=f((ZOe,y2)=>{"use strict";var Goe=Yh();y2.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 Goe(r,a,n,i);return r(c,l)},"redirectInterceptor")}});var B2=f((tFe,I2)=>{"use strict";var Hoe=nf();I2.exports=t=>e=>o(function(s,n){return e(s,new Hoe({...s,retryOptions:{...t,...s.retryOptions}},{handler:n,dispatch:e}))},"retryInterceptor")});var b2=f((sFe,w2)=>{"use strict";var zoe=pe(),{InvalidArgumentError:$oe,RequestAbortedError:Voe}=Qe(),Yoe=ff(),xQ=class extends Yoe{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 $oe("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 Voe(`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 Joe({maxSize:t}={maxSize:1024*1024}){return e=>o(function(s,n){let{dumpMaxSize:i=t}=s,a=new xQ({maxSize:i},n);return e(s,a)},"Intercept")}o(Joe,"createDumpInterceptor");w2.exports=Joe});var N2=f((iFe,x2)=>{"use strict";var{isIP:Woe}=require("node:net"),{lookup:joe}=require("node:dns"),Koe=ff(),{InvalidArgumentError:Rl,InformationalError:Xoe}=Qe(),Q2=Math.pow(2,31)-1,NQ=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 Xoe("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){joe(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===Q2?(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===Q2?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 SQ(this,e,r)}},SQ=class extends Koe{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}}};x2.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Rl("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Rl("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Rl("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Rl("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Rl("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Rl("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 NQ(s);return i=>o(function(c,l){let u=c.origin.constructor===URL?c.origin:new URL(c.origin);return Woe(u.hostname)!==0?i(c,l):(n.runLookup(u,c,(A,d)=>{if(A)return l.onError(A);let p=null;p={...c,servername:u.hostname,origin:d,headers:{host:u.hostname,...c.headers}},i(p,n.getHandler({origin:u,dispatch:i,handler:l},c))}),!0)},"dnsInterceptor")}});var Ua=f((aFe,D2)=>{"use strict";var{kConstruct:Zoe}=Ye(),{kEnumerableProperty:Tl}=pe(),{iteratorMixin:eae,isValidHeaderName:td,isValidHeaderValue:R2}=Kr(),{webidl:Ce}=Wt(),RQ=require("node:assert"),gf=require("node:util"),Nt=Symbol("headers map"),ts=Symbol("headers map sorted");function S2(t){return t===10||t===13||t===9||t===32}o(S2,"isHTTPWhiteSpaceCharCode");function T2(t){let e=0,r=t.length;for(;r>e&&S2(t.charCodeAt(r-1));)--r;for(;r>e&&S2(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(T2,"headerValueNormalize");function v2(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}o(v2,"fill");function TQ(t,e,r){if(r=T2(r),td(e)){if(!R2(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(k2(t)==="immutable")throw new TypeError("immutable");return vQ(t).append(e,r,!1)}o(TQ,"appendHeader");function P2(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],RQ(i!==null);return r.sort(P2)}}},pn=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){Ce.util.markAsUncloneable(this),e!==Zoe&&(this.#t=new Ef,this.#e="none",e!==void 0&&(e=Ce.converters.HeadersInit(e,"Headers contructor","init"),v2(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"),TQ(this,e,r)}delete(e){if(Ce.brandCheck(this,t),Ce.argumentLengthCheck(arguments,1,"Headers.delete"),e=Ce.converters.ByteString(e,"Headers.delete","name"),!td(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"),!td(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"),!td(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=T2(r),td(e)){if(!R2(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"]})};D2.exports={fill:v2,compareHeaderName:P2,Headers:pn,HeadersList:Ef,getHeadersGuard:k2,setHeadersGuard:tae,setHeadersList:rae,getHeadersList:vQ}});var sd=f((lFe,V2)=>{"use strict";var{Headers:U2,HeadersList:_2,fill:sae,getHeadersGuard:nae,setHeadersGuard:q2,setHeadersList:G2}=Ua(),{extractBody:L2,cloneBody:iae,mixinBody:oae,hasFinalizationRegistry:H2,streamRegistry:z2,bodyUnusable:aae}=ul(),PQ=pe(),M2=require("node:util"),{kEnumerableProperty:rs}=PQ,{isValidReasonPhrase:cae,isCancelled:lae,isAborted:uae,isBlobLike:Aae,serializeJavascriptValueToJSONString:dae,isErrorLike:pae,isomorphicEncode:mae,environmentSettingsObject:hae}=Kr(),{redirectStatusSet:fae,nullBodyStatus:gae}=xA(),{kState:We,kHeaders:Vi}=No(),{webidl:ue}=Wt(),{FormData:Eae}=PA(),{URLSerializer:O2}=vr(),{kConstruct:Cf}=Ye(),kQ=require("node:assert"),{types:yae}=require("node:util"),Cae=new TextEncoder("utf-8"),qa=class t{static{o(this,"Response")}static error(){return rd(If(),"immutable")}static json(e,r={}){ue.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=ue.converters.ResponseInit(r));let s=Cae.encode(dae(e)),n=L2(s),i=rd(vl({}),"response");return F2(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,hae.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!fae.has(r))throw new RangeError(`Invalid status code ${r}`);let n=rd(vl({}),"immutable");n[We].status=r;let i=mae(O2(s));return n[We].headersList.append("location",i,!0),n}constructor(e=null,r={}){if(ue.util.markAsUncloneable(this),e===Cf)return;e!==null&&(e=ue.converters.BodyInit(e)),r=ue.converters.ResponseInit(r),this[We]=vl({}),this[Vi]=new U2(Cf),q2(this[Vi],"response"),G2(this[Vi],this[We].headersList);let s=null;if(e!=null){let[n,i]=L2(e);s={body:n,type:i}}F2(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?"":O2(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&&PQ.isDisturbed(this[We].body.stream)}clone(){if(ue.brandCheck(this,t),aae(this))throw ue.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=DQ(this[We]);return H2&&this[We].body?.stream&&z2.register(this,new WeakRef(this[We].body.stream)),rd(e,nae(this[Vi]))}[M2.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 ${M2.formatWithOptions(r,s)}`}};oae(qa);Object.defineProperties(qa.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(qa,{json:rs,redirect:rs,error:rs});function DQ(t){if(t.internalResponse)return $2(DQ(t.internalResponse),t.type);let e=vl({...t,body:null});return t.body!=null&&(e.body=iae(e,t.body)),e}o(DQ,"cloneResponse");function vl(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new _2(t?.headersList):new _2,urlList:t?.urlList?[...t.urlList]:[]}}o(vl,"makeResponse");function If(t){let e=pae(t);return vl({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(If,"makeNetworkError");function Iae(t){return t.type==="error"&&t.status===0}o(Iae,"isNetworkError");function yf(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 kQ(!(s in e)),r[s]=n,!0}})}o(yf,"makeFilteredResponse");function $2(t,e){if(e==="basic")return yf(t,{type:"basic",headersList:t.headersList});if(e==="cors")return yf(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return yf(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return yf(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});kQ(!1)}o($2,"filterResponse");function Bae(t,e=null){return kQ(lae(t)),uae(t)?If(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):If(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(Bae,"makeAppropriateNetworkError");function F2(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&&!cae(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&&sae(t[Vi],e.headers),r){if(gae.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(F2,"initializeResponse");function rd(t,e){let r=new qa(Cf);return r[We]=t,r[Vi]=new U2(Cf),G2(r[Vi],t.headersList),q2(r[Vi],e),H2&&t.body?.stream&&z2.register(r,new WeakRef(t.body.stream)),r}o(rd,"fromInnerResponse");ue.converters.ReadableStream=ue.interfaceConverter(ReadableStream);ue.converters.FormData=ue.interfaceConverter(Eae);ue.converters.URLSearchParams=ue.interfaceConverter(URLSearchParams);ue.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?ue.converters.USVString(t,e,r):Aae(t)?ue.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||yae.isArrayBuffer(t)?ue.converters.BufferSource(t,e,r):PQ.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}]);V2.exports={isNetworkError:Iae,makeNetworkError:If,makeResponse:vl,makeAppropriateNetworkError:Bae,filterResponse:$2,Response:qa,cloneResponse:DQ,fromInnerResponse:rd}});var j2=f((AFe,W2)=>{"use strict";var{kConnected:Y2,kSize:J2}=Ye(),_Q=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[Y2]===0&&this.value[J2]===0?void 0:this.value}},LQ=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[Y2]===0&&e[J2]===0&&this.finalizer(r)})}unregister(e){}};W2.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:_Q,FinalizationRegistry:LQ}):{WeakRef,FinalizationRegistry}}});var Pl=f((pFe,A1)=>{"use strict";var{extractBody:wae,mixinBody:bae,cloneBody:Qae,bodyUnusable:K2}=ul(),{Headers:o1,fill:xae,HeadersList:Qf,setHeadersGuard:OQ,getHeadersGuard:Nae,setHeadersList:a1,getHeadersList:X2}=Ua(),{FinalizationRegistry:Sae}=j2()(),wf=pe(),Z2=require("node:util"),{isValidHTTPToken:Rae,sameOrigin:e1,environmentSettingsObject:Bf}=Kr(),{forbiddenMethodsSet:Tae,corsSafeListedMethodsSet:vae,referrerPolicy:Pae,requestRedirect:kae,requestMode:Dae,requestCredentials:_ae,requestCache:Lae,requestDuplex:Mae}=xA(),{kEnumerableProperty:St,normalizedMethodRecordsBase:Oae,normalizedMethodRecords:Fae}=wf,{kHeaders:ss,kSignal:bf,kState:Ge,kDispatcher:MQ}=No(),{webidl:Z}=Wt(),{URLSerializer:Uae}=vr(),{kConstruct:xf}=Ye(),qae=require("node:assert"),{getMaxListeners:t1,setMaxListeners:r1,getEventListeners:Gae,defaultMaxListeners:s1}=require("node:events"),Hae=Symbol("abortController"),c1=new Sae(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),Nf=new WeakMap;function n1(t){return e;function e(){let r=t.deref();if(r!==void 0){c1.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let s=Nf.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()}Nf.delete(r.signal)}}}}o(n1,"buildAbort");var i1=!1,Oo=class t{static{o(this,"Request")}constructor(e,r={}){if(Z.util.markAsUncloneable(this),e===xf)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[MQ]=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=Sf({urlList:[E]}),i="cors"}else this[MQ]=r.dispatcher||e[MQ],qae(e instanceof t),n=e[Ge],c=e[bf];let l=Bf.settingsObject.origin,u="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&e1(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=Sf({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&&!e1(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=Fae[E];if(y!==void 0)n.method=y;else{if(!Rae(E))throw new TypeError(`'${E}' is not a valid HTTP method.`);let I=E.toUpperCase();if(Tae.has(I))throw new TypeError(`'${E}' HTTP method is unsupported.`);E=Oae[I]??E,n.method=E}!i1&&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"}),i1=!0)}r.signal!==void 0&&(c=r.signal),this[Ge]=n;let p=new AbortController;if(this[bf]=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[Hae]=p;let E=new WeakRef(p),y=n1(E);try{(typeof t1=="function"&&t1(c)===s1||Gae(c,"abort").length>=s1)&&r1(1500,c)}catch{}wf.addAbortListener(c,y),c1.register(p,{signal:c,abort:y},y)}}if(this[ss]=new o1(xf),a1(this[ss],n.headersList),OQ(this[ss],"request"),d==="no-cors"){if(!vae.has(n.method))throw new TypeError(`'${n.method} is unsupported in no-cors mode.`);OQ(this[ss],"request-no-cors")}if(A){let E=X2(this[ss]),y=r.headers!==void 0?r.headers:new Qf(E);if(E.clear(),y instanceof Qf){for(let{name:I,value:B}of y.rawValues())E.append(I,B,!1);E.cookies=y.cookies}else xae(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]=wae(r.body,n.keepalive);h=E,y&&!X2(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(K2(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),Uae(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[bf]}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&&wf.isDisturbed(this[Ge].body.stream)}get duplex(){return Z.brandCheck(this,t),"half"}clone(){if(Z.brandCheck(this,t),K2(this))throw new TypeError("unusable");let e=l1(this[Ge]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let s=Nf.get(this.signal);s===void 0&&(s=new Set,Nf.set(this.signal,s));let n=new WeakRef(r);s.add(n),wf.addAbortListener(r.signal,n1(n))}return u1(e,r.signal,Nae(this[ss]))}[Z2.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 ${Z2.formatWithOptions(r,s)}`}};bae(Oo);function Sf(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 Qf(t.headersList):new Qf}}o(Sf,"makeRequest");function l1(t){let e=Sf({...t,body:null});return t.body!=null&&(e.body=Qae(e,t.body)),e}o(l1,"cloneRequest");function u1(t,e,r){let s=new Oo(xf);return s[Ge]=t,s[bf]=e,s[ss]=new o1(xf),a1(s[ss],t.headersList),OQ(s[ss],r),s}o(u1,"fromInnerRequest");Object.defineProperties(Oo.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(Oo);Z.converters.RequestInfo=function(t,e,r){return typeof t=="string"?Z.converters.USVString(t,e,r):t instanceof Oo?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:Pae},{key:"mode",converter:Z.converters.DOMString,allowedValues:Dae},{key:"credentials",converter:Z.converters.DOMString,allowedValues:_ae},{key:"cache",converter:Z.converters.DOMString,allowedValues:Lae},{key:"redirect",converter:Z.converters.DOMString,allowedValues:kae},{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:Mae},{key:"dispatcher",converter:Z.converters.any}]);A1.exports={Request:Oo,makeRequest:Sf,fromInnerRequest:u1,cloneRequest:l1}});var id=f((hFe,x1)=>{"use strict";var{makeNetworkError:Pe,makeAppropriateNetworkError:Rf,filterResponse:FQ,makeResponse:Tf,fromInnerResponse:zae}=sd(),{HeadersList:d1}=Ua(),{Request:$ae,cloneRequest:Vae}=Pl(),Fo=require("node:zlib"),{bytesMatch:Yae,makePolicyContainer:Jae,clonePolicyContainer:Wae,requestBadPort:jae,TAOCheck:Kae,appendRequestOriginHeader:Xae,responseLocationURL:Zae,requestCurrentURL:$n,setRequestReferrerPolicyOnRedirect:ece,tryUpgradeRequestToAPotentiallyTrustworthyURL:tce,createOpaqueTimingInfo:zQ,appendFetchMetadata:rce,corsCheck:sce,crossOriginResourcePolicyCheck:nce,determineRequestsReferrer:ice,coarsenedSharedCurrentTime:nd,createDeferredPromise:oce,isBlobLike:ace,sameOrigin:HQ,isCancelled:Ga,isAborted:p1,isErrorLike:cce,fullyReadBody:lce,readableStreamClose:uce,isomorphicEncode:vf,urlIsLocal:Ace,urlIsHttpHttpsScheme:$Q,urlHasHttpsScheme:dce,clampAndCoarsenConnectionTimingInfo:pce,simpleRangeHeaderValue:mce,buildContentRange:hce,createInflate:fce,extractMimeType:gce}=Kr(),{kState:g1,kDispatcher:Ece}=No(),Ha=require("node:assert"),{safelyExtractBody:VQ,extractBody:m1}=ul(),{redirectStatusSet:E1,nullBodyStatus:y1,safeMethodsSet:yce,requestBodyHeader:Cce,subresourceSet:Ice}=xA(),Bce=require("node:events"),{Readable:wce,pipeline:bce,finished:Qce}=require("node:stream"),{addAbortListener:xce,isErrored:Nce,isReadable:Pf,bufferToLowerCasedHeaderName:h1}=pe(),{dataURLProcessor:Sce,serializeAMimeType:Rce,minimizeSupportedMimeType:Tce}=vr(),{getGlobalDispatcher:vce}=hf(),{webidl:Pce}=Wt(),{STATUS_CODES:kce}=require("node:http"),Dce=["GET","HEAD"],_ce=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",UQ,kf=class extends Bce{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 Lce(t){C1(t,"fetch")}o(Lce,"handleFetchDone");function Mce(t,e=void 0){Pce.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=oce(),s;try{s=new $ae(t,e)}catch(A){return r.reject(A),r.promise}let n=s[g1];if(s.signal.aborted)return qQ(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 xce(s.signal,()=>{c=!0,Ha(l!=null),l.abort(s.signal.reason);let A=a?.deref();qQ(r,n,A,s.signal.reason)}),l=B1({request:n,processResponseEndOfBody:Lce,processResponse:o(A=>{if(!c){if(A.aborted){qQ(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[Ece]}),r.promise}o(Mce,"fetch");function C1(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],s=t.timingInfo,n=t.cacheState;$Q(r)&&s!==null&&(t.timingAllowPassed||(s=zQ({startTime:s.startTime}),n=""),s.endTime=nd(),t.timingInfo=s,I1(s,r.href,e,globalThis,n))}o(C1,"finalizeAndReportTiming");var I1=performance.markResourceTiming;function qQ(t,e,r,s){if(t&&t.reject(s),e.body!=null&&Pf(e.body?.stream)&&e.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),r==null)return;let n=r[g1];n.body!=null&&Pf(n.body?.stream)&&n.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}o(qQ,"abortFetch");function B1({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseEndOfBody:n,processResponseConsumeBody:i,useParallelQueue:a=!1,dispatcher:c=vce()}){Ha(c);let l=null,u=!1;t.client!=null&&(l=t.client.globalObject,u=t.client.crossOriginIsolatedCapability);let A=nd(u),d=zQ({startTime:A}),p={controller:new kf(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseConsumeBody:i,processResponseEndOfBody:n,taskDestination:l,crossOriginIsolatedCapability:u};return Ha(!t.body||t.body.stream),t.window==="client"&&(t.window=t.client?.globalObject?.constructor?.name==="Window"?t.client:"no-window"),t.origin==="client"&&(t.origin=t.client.origin),t.policyContainer==="client"&&(t.client!=null?t.policyContainer=Wae(t.client.policyContainer):t.policyContainer=Jae()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,Ice.has(t.destination),w1(p).catch(m=>{p.controller.terminate(m)}),p.controller}o(B1,"fetching");async function w1(t,e=!1){let r=t.request,s=null;if(r.localURLsOnly&&!Ace($n(r))&&(s=Pe("local URLs only")),tce(r),jae(r)==="blocked"&&(s=Pe("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=ice(r)),s===null&&(s=await(async()=>{let i=$n(r);return HQ(i,r.url)&&r.responseTainting==="basic"||i.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await f1(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 f1(t)):$Q($n(r))?(r.responseTainting="cors",await b1(t)):Pe("URL scheme must be a HTTP(S) scheme")})()),e)return s;s.status!==0&&!s.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?s=FQ(s,"basic"):r.responseTainting==="cors"?s=FQ(s,"cors"):r.responseTainting==="opaque"?s=FQ(s,"opaque"):Ha(!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"||y1.includes(n.status))&&(n.body=null,t.controller.dump=!0),r.integrity){let i=o(c=>GQ(t,Pe(c)),"processBodyError");if(r.responseTainting==="opaque"||s.body==null){i(s.error);return}let a=o(c=>{if(!Yae(c,r.integrity)){i("integrity mismatch");return}s.body=VQ(c)[0],GQ(t,s)},"processBody");await lce(s.body,a,i)}else GQ(t,s)}o(w1,"mainFetch");function f1(t){if(Ga(t)&&t.request.redirectCount===0)return Promise.resolve(Rf(t));let{request:e}=t,{protocol:r}=$n(e);switch(r){case"about:":return Promise.resolve(Pe("about scheme is not supported"));case"blob:":{UQ||(UQ=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=UQ(s.toString());if(e.method!=="GET"||!ace(n))return Promise.resolve(Pe("invalid method"));let i=Tf(),a=n.size,c=vf(`${a}`),l=n.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let u=e.headersList.get("range",!0),A=mce(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=m1(m);i.body=h[0];let g=vf(`${m.size}`),C=hce(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=m1(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=Sce(s);if(n==="failure")return Promise.resolve(Pe("failed to fetch the data URL"));let i=Rce(n.mimeType);return Promise.resolve(Tf({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:VQ(n.body)[0]}))}case"file:":return Promise.resolve(Pe("not implemented... yet..."));case"http:":case"https:":return b1(t).catch(s=>Pe(s));default:return Promise.resolve(Pe("unknown scheme"))}}o(f1,"schemeFetch");function Oce(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(Oce,"finalizeResponse");function GQ(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=zQ(r),c="");let u=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){u=e.status;let A=gce(e.headersList);A!=="failure"&&(l.contentType=Tce(A))}t.request.initiatorType!=null&&I1(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():Qce(n.body.stream,()=>{s()})}o(GQ,"fetchFinale");async function b1(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 Q1(t),e.responseTainting==="cors"&&sce(e,r)==="failure")return Pe("cors failure");Kae(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&nce(e.origin,e.client,e.destination,s)==="blocked"?Pe("blocked"):(E1.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 Fce(t,r):Ha(!1)),r.timingInfo=n,r)}o(b1,"httpFetch");function Fce(t,e){let r=t.request,s=e.internalResponse?e.internalResponse:e,n;try{if(n=Zae(s,$n(r).hash),n==null)return e}catch(a){return Promise.resolve(Pe(a))}if(!$Q(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)&&!HQ(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&&!Dce.includes(r.method)){r.method="GET",r.body=null;for(let a of Cce)r.headersList.delete(a)}HQ($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&&(Ha(r.body.source!=null),r.body=VQ(r.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=nd(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),r.urlList.push(n),ece(r,s),w1(t,!0)}o(Fce,"httpRedirectFetch");async function Q1(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=Vae(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=vf(`${A}`)),d!=null&&i.headersList.append("content-length",d,!0),A!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",vf(i.referrer.href),!0),Xae(i),rce(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",_ce),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)||(dce($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 Uce(n,u,r);!yce.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():Ga(t)?Rf(t):Pe("proxy authentication required");if(a.status===421&&!r&&(s.body==null||s.body.source!=null)){if(Ga(t))return Rf(t);t.controller.connection.destroy(),a=await Q1(t,e,!0)}return a}o(Q1,"httpNetworkOrCacheFetch");async function Uce(t,e=!1,r=!1){Ha(!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){Ga(t)||(yield E,t.processRequestBodyChunkLength?.(E.byteLength))},"processBodyChunk"),g=o(()=>{Ga(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),C=o(E=>{Ga(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=Tf({status:g,statusText:C,headersList:E,socket:y});else{let I=h[Symbol.asyncIterator]();t.controller.next=()=>I.next(),n=Tf({status:g,statusText:C,headersList:E})}}catch(h){return h.name==="AbortError"?(t.controller.connection.destroy(),Rf(t,h)):Pe(h)}let u=o(async()=>{await t.controller.resume()},"pullAlgorithm"),A=o(h=>{Ga(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(p1(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){uce(t.controller.controller),Oce(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),Nce(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function p(h){p1(t)?(n.aborted=!0,Pf(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):Pf(d)&&t.controller.controller.error(new TypeError("terminated",{cause:cce(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=pce(void 0,i.postRedirectStartTime,t.crossOriginIsolatedCapability),B.destroyed?I(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",I),this.abort=B.abort=I),i.finalNetworkRequestStartTime=nd(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=nd(t.crossOriginIsolatedCapability)},onHeaders(I,B,x,R){if(I<200)return;let q="",ye=new d1;for(let le=0;lese)return y(new Error(`too many content-encodings in response: ${Le.length}, maximum allowed is ${se}`)),!0;for(let Ar=Le.length-1;Ar>=0;--Ar){let $=Le[Ar].trim();if($==="x-gzip"||$==="gzip")we.push(Fo.createGunzip({flush:Fo.constants.Z_SYNC_FLUSH,finishFlush:Fo.constants.Z_SYNC_FLUSH}));else if($==="deflate")we.push(fce({flush:Fo.constants.Z_SYNC_FLUSH,finishFlush:Fo.constants.Z_SYNC_FLUSH}));else if($==="br")we.push(Fo.createBrotliDecompress({flush:Fo.constants.BROTLI_OPERATION_FLUSH,finishFlush:Fo.constants.BROTLI_OPERATION_FLUSH}));else{we.length=0;break}}}let Re=this.onError.bind(this);return E({status:I,statusText:R,headersList:ye,body:we.length?bce(this.body,...we,le=>{le&&this.onError(le)}).on("error",Re):this.body.on("error",Re)}),!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 d1;for(let q=0;q{"use strict";N1.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 R1=f((EFe,S1)=>{"use strict";var{webidl:ns}=Wt(),Df=Symbol("ProgressEvent state"),JQ=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[Df]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return ns.brandCheck(this,t),this[Df].lengthComputable}get loaded(){return ns.brandCheck(this,t),this[Df].loaded}get total(){return ns.brandCheck(this,t),this[Df].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")}]);S1.exports={ProgressEvent:JQ}});var v1=f((CFe,T1)=>{"use strict";function qce(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(qce,"getEncoding");T1.exports={getEncoding:qce}});var F1=f((BFe,O1)=>{"use strict";var{kState:kl,kError:WQ,kResult:P1,kAborted:od,kLastProgressEventFired:jQ}=YQ(),{ProgressEvent:Gce}=R1(),{getEncoding:k1}=v1(),{serializeAMimeType:Hce,parseMIMEType:D1}=vr(),{types:zce}=require("node:util"),{StringDecoder:_1}=require("string_decoder"),{btoa:L1}=require("node:buffer"),$ce={enumerable:!0,writable:!1,configurable:!1};function Vce(t,e,r,s){if(t[kl]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[kl]="loading",t[P1]=null,t[WQ]=null;let i=e.stream().getReader(),a=[],c=i.read(),l=!0;(async()=>{for(;!t[od];)try{let{done:u,value:A}=await c;if(l&&!t[od]&&queueMicrotask(()=>{Uo("loadstart",t)}),l=!1,!u&&zce.isUint8Array(A))a.push(A),(t[jQ]===void 0||Date.now()-t[jQ]>=50)&&!t[od]&&(t[jQ]=Date.now(),queueMicrotask(()=>{Uo("progress",t)})),c=i.read();else if(u){queueMicrotask(()=>{t[kl]="done";try{let d=Yce(a,r,e.type,s);if(t[od])return;t[P1]=d,Uo("load",t)}catch(d){t[WQ]=d,Uo("error",t)}t[kl]!=="loading"&&Uo("loadend",t)});break}}catch(u){if(t[od])return;queueMicrotask(()=>{t[kl]="done",t[WQ]=u,Uo("error",t),t[kl]!=="loading"&&Uo("loadend",t)});break}})()}o(Vce,"readOperation");function Uo(t,e){let r=new Gce(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(Uo,"fireAProgressEvent");function Yce(t,e,r,s){switch(e){case"DataURL":{let n="data:",i=D1(r||"application/octet-stream");i!=="failure"&&(n+=Hce(i)),n+=";base64,";let a=new _1("latin1");for(let c of t)n+=L1(a.write(c));return n+=L1(a.end()),n}case"Text":{let n="failure";if(s&&(n=k1(s)),n==="failure"&&r){let i=D1(r);i!=="failure"&&(n=k1(i.parameters.get("charset")))}return n==="failure"&&(n="UTF-8"),Jce(t,n)}case"ArrayBuffer":return M1(t).buffer;case"BinaryString":{let n="",i=new _1("latin1");for(let a of t)n+=i.write(a);return n+=i.end(),n}}}o(Yce,"packageData");function Jce(t,e){let r=M1(t),s=Wce(r),n=0;s!==null&&(e=s,n=s==="UTF-8"?3:2);let i=r.slice(n);return new TextDecoder(e).decode(i)}o(Jce,"decode");function Wce(t){let[e,r,s]=t;return e===239&&r===187&&s===191?"UTF-8":e===254&&r===255?"UTF-16BE":e===255&&r===254?"UTF-16LE":null}o(Wce,"BOMSniffing");function M1(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(M1,"combineByteSequences");O1.exports={staticPropertyDescriptors:$ce,readOperation:Vce,fireAProgressEvent:Uo}});var H1=f((bFe,G1)=>{"use strict";var{staticPropertyDescriptors:Dl,readOperation:_f,fireAProgressEvent:U1}=F1(),{kState:za,kError:q1,kResult:Lf,kEvents:xe,kAborted:jce}=YQ(),{webidl:ke}=Wt(),{kEnumerableProperty:Dr}=pe(),mn=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[za]="empty",this[Lf]=null,this[q1]=null,this[xe]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){ke.brandCheck(this,t),ke.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=ke.converters.Blob(e,{strict:!1}),_f(this,e,"ArrayBuffer")}readAsBinaryString(e){ke.brandCheck(this,t),ke.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=ke.converters.Blob(e,{strict:!1}),_f(this,e,"BinaryString")}readAsText(e,r=void 0){ke.brandCheck(this,t),ke.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=ke.converters.Blob(e,{strict:!1}),r!==void 0&&(r=ke.converters.DOMString(r,"FileReader.readAsText","encoding")),_f(this,e,"Text",r)}readAsDataURL(e){ke.brandCheck(this,t),ke.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=ke.converters.Blob(e,{strict:!1}),_f(this,e,"DataURL")}abort(){if(this[za]==="empty"||this[za]==="done"){this[Lf]=null;return}this[za]==="loading"&&(this[za]="done",this[Lf]=null),this[jce]=!0,U1("abort",this),this[za]!=="loading"&&U1("loadend",this)}get readyState(){switch(ke.brandCheck(this,t),this[za]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return ke.brandCheck(this,t),this[Lf]}get error(){return ke.brandCheck(this,t),this[q1]}get onloadend(){return ke.brandCheck(this,t),this[xe].loadend}set onloadend(e){ke.brandCheck(this,t),this[xe].loadend&&this.removeEventListener("loadend",this[xe].loadend),typeof e=="function"?(this[xe].loadend=e,this.addEventListener("loadend",e)):this[xe].loadend=null}get onerror(){return ke.brandCheck(this,t),this[xe].error}set onerror(e){ke.brandCheck(this,t),this[xe].error&&this.removeEventListener("error",this[xe].error),typeof e=="function"?(this[xe].error=e,this.addEventListener("error",e)):this[xe].error=null}get onloadstart(){return ke.brandCheck(this,t),this[xe].loadstart}set onloadstart(e){ke.brandCheck(this,t),this[xe].loadstart&&this.removeEventListener("loadstart",this[xe].loadstart),typeof e=="function"?(this[xe].loadstart=e,this.addEventListener("loadstart",e)):this[xe].loadstart=null}get onprogress(){return ke.brandCheck(this,t),this[xe].progress}set onprogress(e){ke.brandCheck(this,t),this[xe].progress&&this.removeEventListener("progress",this[xe].progress),typeof e=="function"?(this[xe].progress=e,this.addEventListener("progress",e)):this[xe].progress=null}get onload(){return ke.brandCheck(this,t),this[xe].load}set onload(e){ke.brandCheck(this,t),this[xe].load&&this.removeEventListener("load",this[xe].load),typeof e=="function"?(this[xe].load=e,this.addEventListener("load",e)):this[xe].load=null}get onabort(){return ke.brandCheck(this,t),this[xe].abort}set onabort(e){ke.brandCheck(this,t),this[xe].abort&&this.removeEventListener("abort",this[xe].abort),typeof e=="function"?(this[xe].abort=e,this.addEventListener("abort",e)):this[xe].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:Dl,LOADING:Dl,DONE:Dl,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:Dl,LOADING:Dl,DONE:Dl});G1.exports={FileReader:mn}});var Mf=f((xFe,z1)=>{"use strict";z1.exports={kConstruct:Ye().kConstruct}});var Y1=f((NFe,V1)=>{"use strict";var Kce=require("node:assert"),{URLSerializer:$1}=vr(),{isValidHeaderName:Xce}=Kr();function Zce(t,e,r=!1){let s=$1(t,r),n=$1(e,r);return s===n}o(Zce,"urlEquals");function ele(t){Kce(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),Xce(r)&&e.push(r);return e}o(ele,"getFieldValues");V1.exports={urlEquals:Zce,getFieldValues:ele}});var j1=f((RFe,W1)=>{"use strict";var{kConstruct:tle}=Mf(),{urlEquals:rle,getFieldValues:KQ}=Y1(),{kEnumerableProperty:$a,isDisturbed:sle}=pe(),{webidl:Y}=Wt(),{Response:nle,cloneResponse:ile,fromInnerResponse:ole}=sd(),{Request:Yi,fromInnerRequest:ale}=Pl(),{kState:hn}=No(),{fetching:cle}=id(),{urlIsHttpHttpsScheme:Of,createDeferredPromise:_l,readAllBytes:lle}=Kr(),XQ=require("node:assert"),Ff=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==tle&&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(!Of(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(!Of(m.url))throw Y.errors.exception({header:r,message:"Expected http/s scheme."});m.initiator="fetch",m.destination="subresource",n.push(m);let h=_l();i.push(cle({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=KQ(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=_l(),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],!Of(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=KQ(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&&(sle(i.body.stream)||i.body.stream.locked))throw Y.errors.exception({header:s,message:"Response body is locked or disturbed"});let a=ile(i),c=_l();if(i.body!=null){let h=i.body.stream.getReader();lle(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=_l(),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 XQ(typeof e=="string"),n=new Yi(e)[hn];let i=[],a={type:"delete",request:n,options:r};i.push(a);let c=_l(),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=_l(),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=ale(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);XQ(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(!Of(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);XQ(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=""),!rle(i,a,!0))return!1;if(s==null||n?.ignoreVary||!s.headersList.contains("vary"))return!0;let c=KQ(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=ole(c,"immutable");if(a.push(l.clone()),a.length>=s)break}return Object.freeze(a)}};Object.defineProperties(Ff.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:$a,matchAll:$a,add:$a,addAll:$a,put:$a,delete:$a,keys:$a});var J1=[{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(J1);Y.converters.MultiCacheQueryOptions=Y.dictionaryConverter([...J1,{key:"cacheName",converter:Y.converters.DOMString}]);Y.converters.Response=Y.interfaceConverter(nle);Y.converters["sequence"]=Y.sequenceConverter(Y.converters.RequestInfo);W1.exports={Cache:Ff}});var X1=f((vFe,K1)=>{"use strict";var{kConstruct:ad}=Mf(),{Cache:Uf}=j1(),{webidl:rr}=Wt(),{kEnumerableProperty:cd}=pe(),qf=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==ad&&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 Uf(ad,s).match(e,r)}}else for(let s of this.#e.values()){let i=await new Uf(ad,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 Uf(ad,n)}let s=[];return this.#e.set(e,s),new Uf(ad,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(qf.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:cd,has:cd,open:cd,delete:cd,keys:cd});K1.exports={CacheStorage:qf}});var eq=f((kFe,Z1)=>{"use strict";Z1.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var ZQ=f((DFe,iq)=>{"use strict";function ule(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(ule,"isCTLExcludingHtab");function tq(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(tq,"validateCookieName");function rq(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(rq,"validateCookieValue");function sq(t){for(let e=0;ee.toString().padStart(2,"0"));function nq(t){return typeof t=="number"&&(t=new Date(t)),`${dle[t.getUTCDay()]}, ${Gf[t.getUTCDate()]} ${ple[t.getUTCMonth()]} ${t.getUTCFullYear()} ${Gf[t.getUTCHours()]}:${Gf[t.getUTCMinutes()]}:${Gf[t.getUTCSeconds()]} GMT`}o(nq,"toIMFDate");function mle(t){if(t<0)throw new Error("Invalid cookie max-age")}o(mle,"validateCookieMaxAge");function hle(t){if(t.name.length===0)return null;tq(t.name),rq(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"&&(mle(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(Ale(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(sq(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${nq(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("=");e.push(`${s.trim()}=${n.join("=")}`)}return e.join("; ")}o(hle,"stringify");iq.exports={isCTLExcludingHtab:ule,validateCookieName:tq,validateCookiePath:sq,validateCookieValue:rq,toIMFDate:nq,stringify:hle}});var aq=f((LFe,oq)=>{"use strict";var{maxNameValuePairSize:fle,maxAttributeValueSize:gle}=eq(),{isCTLExcludingHtab:Ele}=ZQ(),{collectASequenceOfCodePointsFast:Hf}=vr(),yle=require("node:assert");function Cle(t){if(Ele(t))return null;let e="",r="",s="",n="";if(t.includes(";")){let i={position:0};e=Hf(";",t,i),r=t.slice(i.position)}else e=t;if(!e.includes("="))n=e;else{let i={position:0};s=Hf("=",e,i),n=e.slice(i.position+1)}return s=s.trim(),n=n.trim(),s.length+n.length>fle?null:{name:s,value:n,...Ll(r)}}o(Cle,"parseSetCookie");function Ll(t,e={}){if(t.length===0)return e;yle(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=Hf(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let s="",n="";if(r.includes("=")){let a={position:0};s=Hf("=",r,a),n=r.slice(a.position+1)}else s=r;if(s=s.trim(),n=n.trim(),n.length>gle)return Ll(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 Ll(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 Ll(t,e)}o(Ll,"parseUnparsedAttributes");oq.exports={parseSetCookie:Cle,parseUnparsedAttributes:Ll}});var uq=f((OFe,lq)=>{"use strict";var{parseSetCookie:Ile}=aq(),{stringify:Ble}=ZQ(),{webidl:Ee}=Wt(),{Headers:zf}=Ua();function wle(t){Ee.argumentLengthCheck(arguments,1,"getCookies"),Ee.brandCheck(t,zf,{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(wle,"getCookies");function ble(t,e,r){Ee.brandCheck(t,zf,{strict:!1});let s="deleteCookie";Ee.argumentLengthCheck(arguments,2,s),e=Ee.converters.DOMString(e,s,"name"),r=Ee.converters.DeleteCookieAttributes(r),cq(t,{name:e,value:"",expires:new Date(0),...r})}o(ble,"deleteCookie");function Qle(t){Ee.argumentLengthCheck(arguments,1,"getSetCookies"),Ee.brandCheck(t,zf,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>Ile(r)):[]}o(Qle,"getSetCookies");function cq(t,e){Ee.argumentLengthCheck(arguments,2,"setCookie"),Ee.brandCheck(t,zf,{strict:!1}),e=Ee.converters.Cookie(e);let r=Ble(e);r&&t.append("Set-Cookie",r)}o(cq,"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")}]);lq.exports={getCookies:wle,deleteCookie:ble,getSetCookies:Qle,setCookie:cq}});var Ol=f((UFe,dq)=>{"use strict";var{webidl:V}=Wt(),{kEnumerableProperty:_r}=pe(),{kConstruct:Aq}=Ye(),{MessagePort:xle}=require("node:worker_threads"),Ml=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===Aq){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(Aq,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:Nle}=Ml;delete Ml.createFastMessageEvent;var $f=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let s="CloseEvent constructor";V.argumentLengthCheck(arguments,1,s),e=V.converters.DOMString(e,s,"type"),r=V.converters.CloseEventInit(r),super(e,r),this.#e=r,V.util.markAsUncloneable(this)}get wasClean(){return V.brandCheck(this,t),this.#e.wasClean}get code(){return V.brandCheck(this,t),this.#e.code}get reason(){return V.brandCheck(this,t),this.#e.reason}},Vf=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let s="ErrorEvent constructor";V.argumentLengthCheck(arguments,1,s),super(e,r),V.util.markAsUncloneable(this),e=V.converters.DOMString(e,s,"type"),r=V.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return V.brandCheck(this,t),this.#e.message}get filename(){return V.brandCheck(this,t),this.#e.filename}get lineno(){return V.brandCheck(this,t),this.#e.lineno}get colno(){return V.brandCheck(this,t),this.#e.colno}get error(){return V.brandCheck(this,t),this.#e.error}};Object.defineProperties(Ml.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:_r,origin:_r,lastEventId:_r,source:_r,ports:_r,initMessageEvent:_r});Object.defineProperties($f.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:_r,code:_r,wasClean:_r});Object.defineProperties(Vf.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:_r,filename:_r,lineno:_r,colno:_r,error:_r});V.converters.MessagePort=V.interfaceConverter(xle);V.converters["sequence"]=V.sequenceConverter(V.converters.MessagePort);var ex=[{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([...ex,{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([...ex,{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([...ex,{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}]);dq.exports={MessageEvent:Ml,CloseEvent:$f,ErrorEvent:Vf,createFastMessageEvent:Nle}});var Va=f((GFe,pq)=>{"use strict";var Sle="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",Rle={enumerable:!0,writable:!1,configurable:!1},Tle={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},vle={NOT_SENT:0,PROCESSING:1,SENT:2},Ple={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},kle=2**16-1,Dle={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},_le=Buffer.allocUnsafe(0),Lle={string:1,typedArray:2,arrayBuffer:3,blob:4};pq.exports={uid:Sle,sentCloseFrameState:vle,staticPropertyDescriptors:Rle,states:Tle,opcodes:Ple,maxUnsigned16Bit:kle,parserStates:Dle,emptyBuffer:_le,sendHints:Lle}});var ld=f((HFe,mq)=>{"use strict";mq.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}});var dd=f((zFe,wq)=>{"use strict";var{kReadyState:ud,kController:Mle,kResponse:Ole,kBinaryType:Fle,kWebSocketURL:Ule}=ld(),{states:Ad,opcodes:qo}=Va(),{ErrorEvent:qle,createFastMessageEvent:Gle}=Ol(),{isUtf8:Hle}=require("node:buffer"),{collectASequenceOfCodePointsFast:zle,removeHTTPWhitespace:hq}=vr();function $le(t){return t[ud]===Ad.CONNECTING}o($le,"isConnecting");function Vle(t){return t[ud]===Ad.OPEN}o(Vle,"isEstablished");function Yle(t){return t[ud]===Ad.CLOSING}o(Yle,"isClosing");function Jle(t){return t[ud]===Ad.CLOSED}o(Jle,"isClosed");function tx(t,e,r=(n,i)=>new Event(n,i),s={}){let n=r(t,s);e.dispatchEvent(n)}o(tx,"fireEvent");function Wle(t,e,r){if(t[ud]!==Ad.OPEN)return;let s;if(e===qo.TEXT)try{s=Bq(r)}catch{gq(t,"Received invalid UTF-8 in text frame.");return}else e===qo.BINARY&&(t[Fle]==="blob"?s=new Blob([r]):s=jle(r));tx("message",t,Gle,{origin:t[Ule].origin,data:s})}o(Wle,"websocketMessageReceived");function jle(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(jle,"toArrayBuffer");function Kle(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(Kle,"isValidSubprotocol");function Xle(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(Xle,"isValidStatusCode");function gq(t,e){let{[Mle]:r,[Ole]:s}=t;r.abort(),s?.socket&&!s.socket.destroyed&&s.socket.destroy(),e&&tx("error",t,(n,i)=>new qle(n,i),{error:new Error(e),message:e})}o(gq,"failWebsocketConnection");function Eq(t){return t===qo.CLOSE||t===qo.PING||t===qo.PONG}o(Eq,"isControlFrame");function yq(t){return t===qo.CONTINUATION}o(yq,"isContinuationFrame");function Cq(t){return t===qo.TEXT||t===qo.BINARY}o(Cq,"isTextBinaryFrame");function Zle(t){return Cq(t)||yq(t)||Eq(t)}o(Zle,"isValidOpcode");function eue(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(tue,"isValidClientWindowBits");var Iq=typeof process.versions.icu=="string",fq=Iq?new TextDecoder("utf-8",{fatal:!0}):void 0,Bq=Iq?fq.decode.bind(fq):function(t){if(Hle(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};wq.exports={isConnecting:$le,isEstablished:Vle,isClosing:Yle,isClosed:Jle,fireEvent:tx,isValidSubprotocol:Kle,isValidStatusCode:Xle,failWebsocketConnection:gq,websocketMessageReceived:Wle,utf8Decode:Bq,isControlFrame:Eq,isContinuationFrame:yq,isTextBinaryFrame:Cq,isValidOpcode:Zle,parseExtensions:eue,isValidClientWindowBits:tue}});var Jf=f((VFe,bq)=>{"use strict";var{maxUnsigned16Bit:rue}=Va(),Yf=16386,rx,pd=null,Fl=Yf;try{rx=require("node:crypto")}catch{rx={randomFillSync:o(function(e,r,s){for(let n=0;nrue?(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:nue,states:md,sentCloseFrameState:Wf,emptyBuffer:iue,opcodes:oue}=Va(),{kReadyState:hd,kSentClose:jf,kByteParser:xq,kReceivedClose:Qq,kResponse:Nq}=ld(),{fireEvent:aue,failWebsocketConnection:Go,isClosing:cue,isClosed:lue,isEstablished:uue,parseExtensions:Aue}=dd(),{channels:Ul}=Kc(),{CloseEvent:due}=Ol(),{makeRequest:pue}=Pl(),{fetching:mue}=id(),{Headers:hue,getHeadersList:fue}=Ua(),{getDecodeSplit:gue}=Kr(),{WebsocketFrameSend:Eue}=Jf(),nx;try{nx=require("node:crypto")}catch{}function yue(t,e,r,s,n,i){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=pue({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let d=fue(new hue(i.headers));c.headersList=d}let l=nx.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"),mue({request:c,useParallelQueue:!0,dispatcher:i.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){Go(s,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){Go(s,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Go(s,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Go(s,'Server did not set Connection header to "upgrade".');return}let p=d.headersList.get("Sec-WebSocket-Accept"),m=nx.createHash("sha1").update(l+nue).digest("base64");if(p!==m){Go(s,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let h=d.headersList.get("Sec-WebSocket-Extensions"),g;if(h!==null&&(g=Aue(h),!g.has("permessage-deflate"))){Go(s,"Sec-WebSocket-Extensions header does not match.");return}let C=d.headersList.get("Sec-WebSocket-Protocol");if(C!==null&&!gue("sec-websocket-protocol",c.headersList).includes(C)){Go(s,"Protocol was not set in the opening handshake.");return}d.socket.on("data",Sq),d.socket.on("close",Rq),d.socket.on("error",Tq),Ul.open.hasSubscribers&&Ul.open.publish({address:d.socket.address(),protocol:C,extensions:h}),n(d,g)}})}o(yue,"establishWebSocketConnection");function Cue(t,e,r,s){if(!(cue(t)||lue(t)))if(!uue(t))Go(t,"Connection was closed before it was established."),t[hd]=md.CLOSING;else if(t[jf]===Wf.NOT_SENT){t[jf]=Wf.PROCESSING;let n=new Eue;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=iue,t[Nq].socket.write(n.createFrame(oue.CLOSE)),t[jf]=Wf.SENT,t[hd]=md.CLOSING}else t[hd]=md.CLOSING}o(Cue,"closeWebSocketConnection");function Sq(t){this.ws[xq].write(t)||this.pause()}o(Sq,"onSocketData");function Rq(){let{ws:t}=this,{[Nq]:e}=t;e.socket.off("data",Sq),e.socket.off("close",Rq),e.socket.off("error",Tq);let r=t[jf]===Wf.SENT&&t[Qq],s=1005,n="",i=t[xq].closingInfo;i&&!i.error?(s=i.code??1005,n=i.reason):t[Qq]||(s=1006),t[hd]=md.CLOSED,aue("close",t,(a,c)=>new due(a,c),{wasClean:r,code:s,reason:n}),Ul.close.hasSubscribers&&Ul.close.publish({websocket:t,code:s,reason:n})}o(Rq,"onSocketClose");function Tq(t){let{ws:e}=this;e[hd]=md.CLOSING,Ul.socketError.hasSubscribers&&Ul.socketError.publish(t),this.destroy()}o(Tq,"onSocketError");vq.exports={establishWebSocketConnection:yue,closeWebSocketConnection:Cue}});var kq=f((jFe,Pq)=>{"use strict";var{createInflateRaw:Iue,Z_DEFAULT_WINDOWBITS:Bue}=require("node:zlib"),{isValidClientWindowBits:wue}=dd(),{MessageSizeExceededError:bue}=Qe(),Que=Buffer.from([0,0,255,255]),Kf=Symbol("kBuffer"),fd=Symbol("kLength"),ox=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=Bue;if(this.#t.serverMaxWindowBits){if(!wue(this.#t.serverMaxWindowBits)){s(new Error("Invalid server_max_window_bits"));return}n=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=Iue({windowBits:n})}catch(i){s(i);return}this.#e[Kf]=[],this.#e[fd]=0,this.#e.on("data",i=>{if(this.#e[fd]+=i.length,this.#r>0&&this.#e[fd]>this.#r){s(new bue),this.#e.removeAllListeners(),this.#e=null;return}this.#e[Kf].push(i)}),this.#e.on("error",i=>{this.#e=null,s(i)})}this.#e.write(e),r&&this.#e.write(Que),this.#e.flush(()=>{if(!this.#e)return;let n=Buffer.concat(this.#e[Kf],this.#e[fd]);this.#e[Kf].length=0,this.#e[fd]=0,s(null,n)})}};Pq.exports={PerMessageDeflate:ox}});var Hq=f((XFe,Gq)=>{"use strict";var{Writable:xue}=require("node:stream"),Nue=require("node:assert"),{parserStates:Lr,opcodes:ql,states:Sue,emptyBuffer:Dq,sentCloseFrameState:_q}=Va(),{kReadyState:Rue,kSentClose:Lq,kResponse:Mq,kReceivedClose:Oq}=ld(),{channels:Xf}=Kc(),{isValidStatusCode:Tue,isValidOpcode:vue,failWebsocketConnection:is,websocketMessageReceived:Fq,utf8Decode:Pue,isControlFrame:ax,isTextBinaryFrame:cx,isContinuationFrame:kue}=dd(),{WebsocketFrameSend:Uq}=Jf(),{closeWebSocketConnection:qq}=ix(),{PerMessageDeflate:Due}=kq(),{MessageSizeExceededError:lx}=Qe();function gd(t,e,r){qq(t,e,r,Buffer.byteLength(r)),is(t,r)}o(gd,"failWebsocketConnectionWithCode");var ux=class extends xue{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 Due(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&&!ax(this.#s.opcode)&&this.#s.payloadLength+this.#t>this.#c?(gd(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!==ql.CONTINUATION,c=r[1]&127,l=r[0]&64,u=r[0]&32,A=r[0]&16;if(!vue(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&&!cx(n)){is(this.ws,"Invalid frame type was fragmented.");return}if(cx(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)&&ax(n)){is(this.ws,"Control frame either too large or fragmented");return}if(kue(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);cx(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 lx?1009:1007;gd(this.ws,i,s.message);return}if(this.writeFragments(n)){if(this.#c>0&&this.#t>this.#c){gd(this.ws,1009,new lx().message);return}if(!this.#s.fin){this.#n=Lr.INFO,this.#i=!0,this.run(e);return}Fq(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){gd(this.ws,1009,new lx().message);return}!this.#s.fragmented&&this.#s.fin&&Fq(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 Dq;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?(gd(this.ws,1008,"Too many message fragments"),!1):(this.#t+=e.length,this.#o.push(e),!0)}consumeFragments(){let e=this.#o;if(e.length===1)return this.#t=0,e.shift();let r=Buffer.concat(e,this.#t);return this.#o=[],this.#t=0,r}parseCloseBody(e){Nue(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!Tue(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=Pue(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===ql.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 qq(this.ws,n,i,i.length),is(this.ws,i),!1}if(this.ws[Lq]!==_q.SENT){let n=Dq;this.#s.closeInfo.code&&(n=Buffer.allocUnsafe(2),n.writeUInt16BE(this.#s.closeInfo.code,0));let i=new Uq(n);this.ws[Mq].socket.write(i.createFrame(ql.CLOSE),a=>{a||(this.ws[Lq]=_q.SENT)})}return this.ws[Rue]=Sue.CLOSING,this.ws[Oq]=!0,!1}else if(r===ql.PING){if(!this.ws[Oq]){let n=new Uq(e);this.ws[Mq].socket.write(n.createFrame(ql.PONG)),Xf.ping.hasSubscribers&&Xf.ping.publish({payload:e})}}else r===ql.PONG&&Xf.pong.hasSubscribers&&Xf.pong.publish({payload:e});return!0}get closingInfo(){return this.#s.closeInfo}};Gq.exports={ByteParser:ux}});var Jq=f((eUe,Yq)=>{"use strict";var{WebsocketFrameSend:_ue}=Jf(),{opcodes:zq,sendHints:Gl}=Va(),Lue=Eb(),$q=Buffer[Symbol.species],Ax=class{static{o(this,"SendQueue")}#e=new Lue;#t=!1;#r;constructor(e){this.#r=e}add(e,r,s){if(s!==Gl.blob){let i=Vq(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=Vq(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 Vq(t,e){return new _ue(Mue(t,e)).createFrame(e===Gl.string?zq.TEXT:zq.BINARY)}o(Vq,"createFrame");function Mue(t,e){switch(e){case Gl.string:return Buffer.from(t);case Gl.arrayBuffer:case Gl.blob:return new $q(t);case Gl.typedArray:return new $q(t.buffer,t.byteOffset,t.byteLength)}}o(Mue,"toBuffer");Yq.exports={SendQueue:Ax}});var nG=f((rUe,sG)=>{"use strict";var{webidl:te}=Wt(),{URLSerializer:Oue}=vr(),{environmentSettingsObject:Wq}=Kr(),{staticPropertyDescriptors:Ho,states:Ed,sentCloseFrameState:Fue,sendHints:Zf}=Va(),{kWebSocketURL:jq,kReadyState:dx,kController:Kq,kBinaryType:eg,kResponse:Xq,kSentClose:Uue,kByteParser:que}=ld(),{isConnecting:Gue,isEstablished:Hue,isClosing:zue,isValidSubprotocol:$ue,fireEvent:Zq}=dd(),{establishWebSocketConnection:Vue,closeWebSocketConnection:eG}=ix(),{ByteParser:Yue}=Hq(),{kEnumerableProperty:Ts,isBlobLike:tG}=pe(),{getGlobalDispatcher:Jue}=hf(),{types:rG}=require("node:util"),{ErrorEvent:Wue,CloseEvent:jue}=Ol(),{SendQueue:Kue}=Jq(),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=Wq.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=>$ue(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[jq]=new URL(a.href);let c=Wq.settingsObject;this[Kq]=Vue(a,r,c,this,(l,u)=>this.#s(l,u),n),this[dx]=t.CONNECTING,this[Uue]=Fue.NOT_SENT,this[eg]="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");eG(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"),Gue(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!Hue(this)||zue(this)))if(typeof e=="string"){let s=Buffer.byteLength(e);this.#t+=s,this.#n.add(e,()=>{this.#t-=s},Zf.string)}else rG.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#n.add(e,()=>{this.#t-=e.byteLength},Zf.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#n.add(e,()=>{this.#t-=e.byteLength},Zf.typedArray)):tG(e)&&(this.#t+=e.size,this.#n.add(e,()=>{this.#t-=e.size},Zf.blob))}get readyState(){return te.brandCheck(this,t),this[dx]}get bufferedAmount(){return te.brandCheck(this,t),this.#t}get url(){return te.brandCheck(this,t),Oue(this[jq])}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[eg]}set binaryType(e){te.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[eg]="blob":this[eg]=e}#s(e,r){this[Xq]=e;let s=this[Kq]?.dispatcher?.webSocketOptions,n=s?.maxFragments,i=s?.maxPayloadSize,a=new Yue(this,r,{maxFragments:n,maxPayloadSize:i});a.on("drain",Xue),a.on("error",Zue.bind(this)),e.socket.ws=this,this[que]=a,this.#n=new Kue(e.socket),this[dx]=Ed.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),Zq("open",this)}};os.CONNECTING=os.prototype.CONNECTING=Ed.CONNECTING;os.OPEN=os.prototype.OPEN=Ed.OPEN;os.CLOSING=os.prototype.CLOSING=Ed.CLOSING;os.CLOSED=os.prototype.CLOSED=Ed.CLOSED;Object.defineProperties(os.prototype,{CONNECTING:Ho,OPEN:Ho,CLOSING:Ho,CLOSED:Ho,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:Ho,OPEN:Ho,CLOSING:Ho,CLOSED:Ho});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(()=>Jue(),"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(tG(t))return te.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||rG.isArrayBuffer(t))return te.converters.BufferSource(t)}return te.converters.USVString(t)};function Xue(){this.ws[Xq].socket.resume()}o(Xue,"onParserDrain");function Zue(t){let e,r;t instanceof jue?(e=t.reason,r=t.code):e=t.message,Zq("error",this,()=>new Wue("error",{error:t,message:e})),eG(this,r)}o(Zue,"onParserError");sG.exports={WebSocket:os}});var px=f((nUe,iG)=>{"use strict";function eAe(t){return t.indexOf("\0")===-1}o(eAe,"isValidLastEventId");function tAe(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}o(tAe,"isASCIINumber");function rAe(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(rAe,"delay");iG.exports={isValidLastEventId:eAe,isASCIINumber:tAe,delay:rAe}});var lG=f((oUe,cG)=>{"use strict";var{Transform:sAe}=require("node:stream"),{isASCIINumber:oG,isValidLastEventId:aG}=px(),Ji=[239,187,191],mx=10,tg=13,nAe=58,iAe=32,hx=class extends sAe{static{o(this,"EventSourceStream")}state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,r,s){if(e.length===0){s();return}if(this.buffer?this.buffer=Buffer.concat([this.buffer,e]):this.buffer=e,this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===Ji[0]){s();return}this.checkBOM=!1,s();return;case 2:if(this.buffer[0]===Ji[0]&&this.buffer[1]===Ji[1]){s();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===Ji[0]&&this.buffer[1]===Ji[1]&&this.buffer[2]===Ji[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,s();return}this.checkBOM=!1;break;default:this.buffer[0]===Ji[0]&&this.buffer[1]===Ji[1]&&this.buffer[2]===Ji[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos0&&(r[n]=i);break}}processEvent(e){e.retry&&oG(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&aG(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event={data:void 0,event:void 0,id:void 0,retry:void 0}}};cG.exports={EventSourceStream:hx}});var gG=f((cUe,fG)=>{"use strict";var{pipeline:oAe}=require("node:stream"),{fetching:aAe}=id(),{makeRequest:cAe}=Pl(),{webidl:Wi}=Wt(),{EventSourceStream:lAe}=lG(),{parseMIMEType:uAe}=vr(),{createFastMessageEvent:AAe}=Ol(),{isNetworkError:uG}=sd(),{delay:dAe}=px(),{kEnumerableProperty:Ya}=pe(),{environmentSettingsObject:AG}=Kr(),dG=!1,pG=3e3,yd=0,mG=1,Cd=2,pAe="anonymous",mAe="use-credentials",Hl=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#r=!1;#i=yd;#n=null;#s=null;#o;#a;constructor(e,r={}){super(),Wi.util.markAsUncloneable(this);let s="EventSource constructor";Wi.argumentLengthCheck(arguments,1,s),dG||(dG=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Wi.converters.USVString(e,s,"url"),r=Wi.converters.EventSourceInitDict(r,s,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:pG};let n=AG,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=pAe;r.withCredentials&&(a=mAe,this.#r=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=AG.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=cAe(c),this.#l()}get readyState(){return this.#i}get url(){return this.#t}get withCredentials(){return this.#r}#l(){if(this.#i===Cd)return;this.#i=yd;let e={request:this.#n,dispatcher:this.#o},r=o(s=>{uG(s)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=s=>{if(uG(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?uAe(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=mG,this.dispatchEvent(new Event("open")),this.#a.origin=s.urlList[s.urlList.length-1].origin;let c=new lAe({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(AAe(l.type,l.options))},"push")});oAe(s.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=aAe(e)}async#c(){this.#i!==Cd&&(this.#i=yd,this.dispatchEvent(new Event("error")),await dAe(this.#a.reconnectionTime),this.#i===yd&&(this.#a.lastEventId.length&&this.#n.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#l()))}close(){Wi.brandCheck(this,t),this.#i!==Cd&&(this.#i=Cd,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}},hG={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:yd,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:mG,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:Cd,writable:!1}};Object.defineProperties(Hl,hG);Object.defineProperties(Hl.prototype,hG);Object.defineProperties(Hl.prototype,{close:Ya,onerror:Ya,onmessage:Ya,onopen:Ya,readyState:Ya,url:Ya,withCredentials:Ya});Wi.converters.EventSourceInitDict=Wi.dictionaryConverter([{key:"withCredentials",converter:Wi.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:Wi.converters.any}]);fG.exports={EventSource:Hl,defaultReconnectionTime:pG}});var $l=f((uUe,ee)=>{"use strict";var hAe=gl(),EG=wA(),fAe=El(),gAe=hF(),EAe=yl(),yAe=Ob(),CAe=FF(),IAe=$F(),yG=Qe(),sg=pe(),{InvalidArgumentError:rg}=yG,zl=vU(),BAe=QA(),wAe=yQ(),bAe=p2(),QAe=BQ(),xAe=oQ(),NAe=nf(),{getGlobalDispatcher:CG,setGlobalDispatcher:SAe}=hf(),RAe=ff(),TAe=Yh(),vAe=Jh();Object.assign(EG.prototype,zl);ee.exports.Dispatcher=EG;ee.exports.Client=hAe;ee.exports.Pool=fAe;ee.exports.BalancedPool=gAe;ee.exports.Agent=EAe;ee.exports.ProxyAgent=yAe;ee.exports.EnvHttpProxyAgent=CAe;ee.exports.RetryAgent=IAe;ee.exports.RetryHandler=NAe;ee.exports.DecoratorHandler=RAe;ee.exports.RedirectHandler=TAe;ee.exports.createRedirectInterceptor=vAe;ee.exports.interceptors={redirect:C2(),retry:B2(),dump:b2(),dns:N2()};ee.exports.buildConnector=BAe;ee.exports.errors=yG;ee.exports.util={parseHeaders:sg.parseHeaders,headerNameToString:sg.headerNameToString};function Id(t){return(e,r,s)=>{if(typeof r=="function"&&(s=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new rg("invalid url");if(r!=null&&typeof r!="object")throw new rg("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new rg("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(sg.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=sg.parseURL(e);let{agent:n,dispatcher:i=CG()}=r;if(n)throw new rg("unsupported opts.agent. Did you mean opts.client?");return t.call(i,{...r,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:r.method||(r.body?"PUT":"GET")},s)}}o(Id,"makeDispatcher");ee.exports.setGlobalDispatcher=SAe;ee.exports.getGlobalDispatcher=CG;var PAe=id().fetch;ee.exports.fetch=o(async function(e,r=void 0){try{return await PAe(e,r)}catch(s){throw s&&typeof s=="object"&&Error.captureStackTrace(s),s}},"fetch");ee.exports.Headers=Ua().Headers;ee.exports.Response=sd().Response;ee.exports.Request=Pl().Request;ee.exports.FormData=PA().FormData;ee.exports.File=globalThis.File??require("node:buffer").File;ee.exports.FileReader=H1().FileReader;var{setGlobalOrigin:kAe,getGlobalOrigin:DAe}=Fw();ee.exports.setGlobalOrigin=kAe;ee.exports.getGlobalOrigin=DAe;var{CacheStorage:_Ae}=X1(),{kConstruct:LAe}=Mf();ee.exports.caches=new _Ae(LAe);var{deleteCookie:MAe,getCookies:OAe,getSetCookies:FAe,setCookie:UAe}=uq();ee.exports.deleteCookie=MAe;ee.exports.getCookies=OAe;ee.exports.getSetCookies=FAe;ee.exports.setCookie=UAe;var{parseMIMEType:qAe,serializeAMimeType:GAe}=vr();ee.exports.parseMIMEType=qAe;ee.exports.serializeAMimeType=GAe;var{CloseEvent:HAe,ErrorEvent:zAe,MessageEvent:$Ae}=Ol();ee.exports.WebSocket=nG().WebSocket;ee.exports.CloseEvent=HAe;ee.exports.ErrorEvent=zAe;ee.exports.MessageEvent=$Ae;ee.exports.request=Id(zl.request);ee.exports.stream=Id(zl.stream);ee.exports.pipeline=Id(zl.pipeline);ee.exports.connect=Id(zl.connect);ee.exports.upgrade=Id(zl.upgrade);ee.exports.MockClient=wAe;ee.exports.MockPool=QAe;ee.exports.MockAgent=bAe;ee.exports.mockErrors=xAe;var{EventSource:VAe}=gG();ee.exports.EventSource=VAe});var vd=f((L2e,eH)=>{"use strict";var gde="2.0.0",Ede=Number.MAX_SAFE_INTEGER||9007199254740991,yde=16,Cde=250,Ide=["major","premajor","minor","preminor","patch","prepatch","prerelease"];eH.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:yde,MAX_SAFE_BUILD_LENGTH:Cde,MAX_SAFE_INTEGER:Ede,RELEASE_TYPES:Ide,SEMVER_SPEC_VERSION:gde,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Pd=f((M2e,tH)=>{"use strict";var Bde=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};tH.exports=Bde});var Kl=f((Yn,rH)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Ux,MAX_SAFE_BUILD_LENGTH:wde,MAX_LENGTH:bde}=vd(),Qde=Pd();Yn=rH.exports={};var xde=Yn.re=[],Nde=Yn.safeRe=[],_=Yn.src=[],Sde=Yn.safeSrc=[],L=Yn.t={},Rde=0,qx="[a-zA-Z0-9-]",Tde=[["\\s",1],["\\d",bde],[qx,wde]],vde=o(t=>{for(let[e,r]of Tde)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ne=o((t,e,r)=>{let s=vde(e),n=Rde++;Qde(t,n,e),L[t]=n,_[n]=e,Sde[n]=s,xde[n]=new RegExp(e,r?"g":void 0),Nde[n]=new RegExp(s,r?"g":void 0)},"createToken");ne("NUMERICIDENTIFIER","0|[1-9]\\d*");ne("NUMERICIDENTIFIERLOOSE","\\d+");ne("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${qx}*`);ne("MAINVERSION",`(${_[L.NUMERICIDENTIFIER]})\\.(${_[L.NUMERICIDENTIFIER]})\\.(${_[L.NUMERICIDENTIFIER]})`);ne("MAINVERSIONLOOSE",`(${_[L.NUMERICIDENTIFIERLOOSE]})\\.(${_[L.NUMERICIDENTIFIERLOOSE]})\\.(${_[L.NUMERICIDENTIFIERLOOSE]})`);ne("PRERELEASEIDENTIFIER",`(?:${_[L.NONNUMERICIDENTIFIER]}|${_[L.NUMERICIDENTIFIER]})`);ne("PRERELEASEIDENTIFIERLOOSE",`(?:${_[L.NONNUMERICIDENTIFIER]}|${_[L.NUMERICIDENTIFIERLOOSE]})`);ne("PRERELEASE",`(?:-(${_[L.PRERELEASEIDENTIFIER]}(?:\\.${_[L.PRERELEASEIDENTIFIER]})*))`);ne("PRERELEASELOOSE",`(?:-?(${_[L.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${_[L.PRERELEASEIDENTIFIERLOOSE]})*))`);ne("BUILDIDENTIFIER",`${qx}+`);ne("BUILD",`(?:\\+(${_[L.BUILDIDENTIFIER]}(?:\\.${_[L.BUILDIDENTIFIER]})*))`);ne("FULLPLAIN",`v?${_[L.MAINVERSION]}${_[L.PRERELEASE]}?${_[L.BUILD]}?`);ne("FULL",`^${_[L.FULLPLAIN]}$`);ne("LOOSEPLAIN",`[v=\\s]*${_[L.MAINVERSIONLOOSE]}${_[L.PRERELEASELOOSE]}?${_[L.BUILD]}?`);ne("LOOSE",`^${_[L.LOOSEPLAIN]}$`);ne("GTLT","((?:<|>)?=?)");ne("XRANGEIDENTIFIERLOOSE",`${_[L.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ne("XRANGEIDENTIFIER",`${_[L.NUMERICIDENTIFIER]}|x|X|\\*`);ne("XRANGEPLAIN",`[v=\\s]*(${_[L.XRANGEIDENTIFIER]})(?:\\.(${_[L.XRANGEIDENTIFIER]})(?:\\.(${_[L.XRANGEIDENTIFIER]})(?:${_[L.PRERELEASE]})?${_[L.BUILD]}?)?)?`);ne("XRANGEPLAINLOOSE",`[v=\\s]*(${_[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${_[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${_[L.XRANGEIDENTIFIERLOOSE]})(?:${_[L.PRERELEASELOOSE]})?${_[L.BUILD]}?)?)?`);ne("XRANGE",`^${_[L.GTLT]}\\s*${_[L.XRANGEPLAIN]}$`);ne("XRANGELOOSE",`^${_[L.GTLT]}\\s*${_[L.XRANGEPLAINLOOSE]}$`);ne("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Ux}})(?:\\.(\\d{1,${Ux}}))?(?:\\.(\\d{1,${Ux}}))?`);ne("COERCE",`${_[L.COERCEPLAIN]}(?:$|[^\\d])`);ne("COERCEFULL",_[L.COERCEPLAIN]+`(?:${_[L.PRERELEASE]})?(?:${_[L.BUILD]})?(?:$|[^\\d])`);ne("COERCERTL",_[L.COERCE],!0);ne("COERCERTLFULL",_[L.COERCEFULL],!0);ne("LONETILDE","(?:~>?)");ne("TILDETRIM",`(\\s*)${_[L.LONETILDE]}\\s+`,!0);Yn.tildeTrimReplace="$1~";ne("TILDE",`^${_[L.LONETILDE]}${_[L.XRANGEPLAIN]}$`);ne("TILDELOOSE",`^${_[L.LONETILDE]}${_[L.XRANGEPLAINLOOSE]}$`);ne("LONECARET","(?:\\^)");ne("CARETTRIM",`(\\s*)${_[L.LONECARET]}\\s+`,!0);Yn.caretTrimReplace="$1^";ne("CARET",`^${_[L.LONECARET]}${_[L.XRANGEPLAIN]}$`);ne("CARETLOOSE",`^${_[L.LONECARET]}${_[L.XRANGEPLAINLOOSE]}$`);ne("COMPARATORLOOSE",`^${_[L.GTLT]}\\s*(${_[L.LOOSEPLAIN]})$|^$`);ne("COMPARATOR",`^${_[L.GTLT]}\\s*(${_[L.FULLPLAIN]})$|^$`);ne("COMPARATORTRIM",`(\\s*)${_[L.GTLT]}\\s*(${_[L.LOOSEPLAIN]}|${_[L.XRANGEPLAIN]})`,!0);Yn.comparatorTrimReplace="$1$2$3";ne("HYPHENRANGE",`^\\s*(${_[L.XRANGEPLAIN]})\\s+-\\s+(${_[L.XRANGEPLAIN]})\\s*$`);ne("HYPHENRANGELOOSE",`^\\s*(${_[L.XRANGEPLAINLOOSE]})\\s+-\\s+(${_[L.XRANGEPLAINLOOSE]})\\s*$`);ne("STAR","(<|>)?=?\\s*\\*");ne("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ne("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var lg=f((F2e,sH)=>{"use strict";var Pde=Object.freeze({loose:!0}),kde=Object.freeze({}),Dde=o(t=>t?typeof t!="object"?Pde:t:kde,"parseOptions");sH.exports=Dde});var Gx=f((q2e,oH)=>{"use strict";var nH=/^[0-9]+$/,iH=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tiH(e,t),"rcompareIdentifiers");oH.exports={compareIdentifiers:iH,rcompareIdentifiers:_de}});var sr=f((H2e,cH)=>{"use strict";var ug=Pd(),{MAX_LENGTH:aH,MAX_SAFE_INTEGER:Ag}=vd(),{safeRe:dg,t:pg}=Kl(),Lde=lg(),{compareIdentifiers:Hx}=Gx(),zx=class t{static{o(this,"SemVer")}constructor(e,r){if(r=Lde(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>aH)throw new TypeError(`version is longer than ${aH} characters`);ug("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?dg[pg.LOOSE]:dg[pg.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>Ag||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ag||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ag||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(ug("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return Hx(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(ug("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return Hx(s,n)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?dg[pg.PRERELEASELOOSE]:dg[pg.PRERELEASE]);if(!n||n[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let i=[r,n];s===!1&&(i=[r]),Hx(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};cH.exports=zx});var Za=f(($2e,uH)=>{"use strict";var lH=sr(),Mde=o((t,e,r=!1)=>{if(t instanceof lH)return t;try{return new lH(t,e)}catch(s){if(!r)return null;throw s}},"parse");uH.exports=Mde});var dH=f((Y2e,AH)=>{"use strict";var Ode=Za(),Fde=o((t,e)=>{let r=Ode(t,e);return r?r.version:null},"valid");AH.exports=Fde});var mH=f((W2e,pH)=>{"use strict";var Ude=Za(),qde=o((t,e)=>{let r=Ude(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");pH.exports=qde});var gH=f((K2e,fH)=>{"use strict";var hH=sr(),Gde=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new hH(t instanceof hH?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");fH.exports=Gde});var CH=f((Z2e,yH)=>{"use strict";var EH=Za(),Hde=o((t,e)=>{let r=EH(t,null,!0),s=EH(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");yH.exports=Hde});var BH=f((t1e,IH)=>{"use strict";var zde=sr(),$de=o((t,e)=>new zde(t,e).major,"major");IH.exports=$de});var bH=f((s1e,wH)=>{"use strict";var Vde=sr(),Yde=o((t,e)=>new Vde(t,e).minor,"minor");wH.exports=Yde});var xH=f((i1e,QH)=>{"use strict";var Jde=sr(),Wde=o((t,e)=>new Jde(t,e).patch,"patch");QH.exports=Wde});var SH=f((a1e,NH)=>{"use strict";var jde=Za(),Kde=o((t,e)=>{let r=jde(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");NH.exports=Kde});var ks=f((l1e,TH)=>{"use strict";var RH=sr(),Xde=o((t,e,r)=>new RH(t,r).compare(new RH(e,r)),"compare");TH.exports=Xde});var PH=f((A1e,vH)=>{"use strict";var Zde=ks(),epe=o((t,e,r)=>Zde(e,t,r),"rcompare");vH.exports=epe});var DH=f((p1e,kH)=>{"use strict";var tpe=ks(),rpe=o((t,e)=>tpe(t,e,!0),"compareLoose");kH.exports=rpe});var mg=f((h1e,LH)=>{"use strict";var _H=sr(),spe=o((t,e,r)=>{let s=new _H(t,r),n=new _H(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");LH.exports=spe});var OH=f((g1e,MH)=>{"use strict";var npe=mg(),ipe=o((t,e)=>t.sort((r,s)=>npe(r,s,e)),"sort");MH.exports=ipe});var UH=f((y1e,FH)=>{"use strict";var ope=mg(),ape=o((t,e)=>t.sort((r,s)=>ope(s,r,e)),"rsort");FH.exports=ape});var kd=f((I1e,qH)=>{"use strict";var cpe=ks(),lpe=o((t,e,r)=>cpe(t,e,r)>0,"gt");qH.exports=lpe});var hg=f((w1e,GH)=>{"use strict";var upe=ks(),Ape=o((t,e,r)=>upe(t,e,r)<0,"lt");GH.exports=Ape});var $x=f((Q1e,HH)=>{"use strict";var dpe=ks(),ppe=o((t,e,r)=>dpe(t,e,r)===0,"eq");HH.exports=ppe});var Vx=f((N1e,zH)=>{"use strict";var mpe=ks(),hpe=o((t,e,r)=>mpe(t,e,r)!==0,"neq");zH.exports=hpe});var fg=f((R1e,$H)=>{"use strict";var fpe=ks(),gpe=o((t,e,r)=>fpe(t,e,r)>=0,"gte");$H.exports=gpe});var gg=f((v1e,VH)=>{"use strict";var Epe=ks(),ype=o((t,e,r)=>Epe(t,e,r)<=0,"lte");VH.exports=ype});var Yx=f((k1e,YH)=>{"use strict";var Cpe=$x(),Ipe=Vx(),Bpe=kd(),wpe=fg(),bpe=hg(),Qpe=gg(),xpe=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 Cpe(t,r,s);case"!=":return Ipe(t,r,s);case">":return Bpe(t,r,s);case">=":return wpe(t,r,s);case"<":return bpe(t,r,s);case"<=":return Qpe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");YH.exports=xpe});var WH=f((_1e,JH)=>{"use strict";var Npe=sr(),Spe=Za(),{safeRe:Eg,t:yg}=Kl(),Rpe=o((t,e)=>{if(t instanceof Npe)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?Eg[yg.COERCEFULL]:Eg[yg.COERCE]);else{let l=e.includePrerelease?Eg[yg.COERCERTLFULL]:Eg[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 Spe(`${s}.${n}.${i}${a}${c}`,e)},"coerce");JH.exports=Rpe});var KH=f((M1e,jH)=>{"use strict";var Jx=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}};jH.exports=Jx});var Ds=f((F1e,tz)=>{"use strict";var Tpe=/\s+/g,Wx=class t{static{o(this,"Range")}constructor(e,r){if(r=Ppe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof jx)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(Tpe," "),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=>!ZH(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&&Fpe(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&&Mpe)|(this.options.loose&&Ope))+":"+e,n=XH.get(s);if(n)return n;let i=this.options.loose,a=i?fr[nr.HYPHENRANGELOOSE]:fr[nr.HYPHENRANGE];e=e.replace(a,Wpe(this.options.includePrerelease)),He("hyphen replace",e),e=e.replace(fr[nr.COMPARATORTRIM],Dpe),He("comparator trim",e),e=e.replace(fr[nr.TILDETRIM],_pe),He("tilde trim",e),e=e.replace(fr[nr.CARETTRIM],Lpe),He("caret trim",e);let c=e.split(" ").map(d=>Upe(d,this.options)).join(" ").split(/\s+/).map(d=>Jpe(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 jx(d,this.options));for(let d of u){if(ZH(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return XH.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>ez(s,r)&&e.set.some(n=>ez(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 kpe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),Fpe=o(t=>t.value==="","isAny"),ez=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"),Upe=o((t,e)=>(t=t.replace(fr[nr.BUILD],""),He("comp",t,e),t=Hpe(t,e),He("caret",t),t=qpe(t,e),He("tildes",t),t=$pe(t,e),He("xrange",t),t=Ype(t,e),He("stars",t),t),"parseComparator"),gr=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),qpe=o((t,e)=>t.trim().split(/\s+/).map(r=>Gpe(r,e)).join(" "),"replaceTildes"),Gpe=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"),Hpe=o((t,e)=>t.trim().split(/\s+/).map(r=>zpe(r,e)).join(" "),"replaceCarets"),zpe=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"),$pe=o((t,e)=>(He("replaceXRanges",t,e),t.split(/\s+/).map(r=>Vpe(r,e)).join(" ")),"replaceXRanges"),Vpe=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"),Ype=o((t,e)=>(He("replaceStars",t,e),t.trim().replace(fr[nr.STAR],"")),"replaceStars"),Jpe=o((t,e)=>(He("replaceGTE0",t,e),t.trim().replace(fr[e.includePrerelease?nr.GTE0PRE:nr.GTE0],"")),"replaceGTE0"),Wpe=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"),jpe=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 Dd=f((q1e,az)=>{"use strict";var _d=Symbol("SemVer ANY"),Zx=class t{static{o(this,"Comparator")}static get ANY(){return _d}constructor(e,r){if(r=rz(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Xx("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===_d?this.value="":this.value=this.operator+this.semver.version,Xx("comp",this)}parse(e){let r=this.options.loose?sz[nz.COMPARATORLOOSE]:sz[nz.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 iz(s[2],this.options.loose):this.semver=_d}toString(){return this.value}test(e){if(Xx("Comparator.test",e,this.options.loose),this.semver===_d||e===_d)return!0;if(typeof e=="string")try{e=new iz(e,this.options)}catch{return!1}return Kx(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 oz(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new oz(this.value,r).test(e.semver):(r=rz(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("=")||Kx(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Kx(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};az.exports=Zx;var rz=lg(),{safeRe:sz,t:nz}=Kl(),Kx=Yx(),Xx=Pd(),iz=sr(),oz=Ds()});var Ld=f((H1e,cz)=>{"use strict";var Kpe=Ds(),Xpe=o((t,e,r)=>{try{e=new Kpe(e,r)}catch{return!1}return e.test(t)},"satisfies");cz.exports=Xpe});var uz=f(($1e,lz)=>{"use strict";var Zpe=Ds(),eme=o((t,e)=>new Zpe(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");lz.exports=eme});var dz=f((Y1e,Az)=>{"use strict";var tme=sr(),rme=Ds(),sme=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new rme(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new tme(s,r))}),s},"maxSatisfying");Az.exports=sme});var mz=f((W1e,pz)=>{"use strict";var nme=sr(),ime=Ds(),ome=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new ime(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new nme(s,r))}),s},"minSatisfying");pz.exports=ome});var gz=f((K1e,fz)=>{"use strict";var e0=sr(),ame=Ds(),hz=kd(),cme=o((t,e)=>{t=new ame(t,e);let r=new e0("0.0.0");if(t.test(r)||(r=new e0("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new e0(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||hz(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||hz(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");fz.exports=cme});var yz=f((Z1e,Ez)=>{"use strict";var lme=Ds(),ume=o((t,e)=>{try{return new lme(t,e).range||"*"}catch{return null}},"validRange");Ez.exports=ume});var Cg=f((tqe,wz)=>{"use strict";var Ame=sr(),Bz=Dd(),{ANY:dme}=Bz,pme=Ds(),mme=Ld(),Cz=kd(),Iz=hg(),hme=gg(),fme=fg(),gme=o((t,e,r,s)=>{t=new Ame(t,s),e=new pme(e,s);let n,i,a,c,l;switch(r){case">":n=Cz,i=hme,a=Iz,c=">",l=">=";break;case"<":n=Iz,i=fme,a=Cz,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(mme(t,e,s))return!1;for(let u=0;u{m.semver===dme&&(m=new Bz(">=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");wz.exports=gme});var Qz=f((sqe,bz)=>{"use strict";var Eme=Cg(),yme=o((t,e,r)=>Eme(t,e,">",r),"gtr");bz.exports=yme});var Nz=f((iqe,xz)=>{"use strict";var Cme=Cg(),Ime=o((t,e,r)=>Cme(t,e,"<",r),"ltr");xz.exports=Ime});var Tz=f((aqe,Rz)=>{"use strict";var Sz=Ds(),Bme=o((t,e,r)=>(t=new Sz(t,r),e=new Sz(e,r),t.intersects(e,r)),"intersects");Rz.exports=Bme});var Pz=f((lqe,vz)=>{"use strict";var wme=Ld(),bme=ks();vz.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>bme(A,d,r));for(let A of a)wme(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 kz=Ds(),r0=Dd(),{ANY:t0}=r0,Md=Ld(),s0=ks(),Qme=o((t,e,r={})=>{if(t===e)return!0;t=new kz(t,r),e=new kz(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=Nme(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),xme=[new r0(">=0.0.0-0")],Dz=[new r0(">=0.0.0")],Nme=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===t0){if(e.length===1&&e[0].semver===t0)return!0;r.includePrerelease?t=xme:t=Dz}if(e.length===1&&e[0].semver===t0){if(r.includePrerelease)return!0;e=Dz}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=_z(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=s0(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&&!Md(m,String(n),r)||i&&!Md(m,String(i),r))return null;for(let h of e)if(!Md(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=_z(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!Md(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=Lz(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!Md(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"),_z=o((t,e,r)=>{if(!t)return e;let s=s0(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=s0(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");Mz.exports=Qme});var i0=f((dqe,qz)=>{"use strict";var n0=Kl(),Fz=vd(),Sme=sr(),Uz=Gx(),Rme=Za(),Tme=dH(),vme=mH(),Pme=gH(),kme=CH(),Dme=BH(),_me=bH(),Lme=xH(),Mme=SH(),Ome=ks(),Fme=PH(),Ume=DH(),qme=mg(),Gme=OH(),Hme=UH(),zme=kd(),$me=hg(),Vme=$x(),Yme=Vx(),Jme=fg(),Wme=gg(),jme=Yx(),Kme=WH(),Xme=Dd(),Zme=Ds(),ehe=Ld(),the=uz(),rhe=dz(),she=mz(),nhe=gz(),ihe=yz(),ohe=Cg(),ahe=Qz(),che=Nz(),lhe=Tz(),uhe=Pz(),Ahe=Oz();qz.exports={parse:Rme,valid:Tme,clean:vme,inc:Pme,diff:kme,major:Dme,minor:_me,patch:Lme,prerelease:Mme,compare:Ome,rcompare:Fme,compareLoose:Ume,compareBuild:qme,sort:Gme,rsort:Hme,gt:zme,lt:$me,eq:Vme,neq:Yme,gte:Jme,lte:Wme,cmp:jme,coerce:Kme,Comparator:Xme,Range:Zme,satisfies:ehe,toComparators:the,maxSatisfying:rhe,minSatisfying:she,minVersion:nhe,validRange:ihe,outside:ohe,gtr:ahe,ltr:che,intersects:lhe,simplifyRange:uhe,subset:Ahe,SemVer:Sme,re:n0.re,src:n0.src,tokens:n0.t,SEMVER_SPEC_VERSION:Fz.SEMVER_SPEC_VERSION,RELEASE_TYPES:Fz.RELEASE_TYPES,compareIdentifiers:Uz.compareIdentifiers,rcompareIdentifiers:Uz.rcompareIdentifiers}});var o$=f((pGe,i$)=>{i$.exports=function(t,e){for(var r=[],s=0;s{"use strict";u$.exports=c$;function c$(t,e,r){t instanceof RegExp&&(t=a$(t,r)),e instanceof RegExp&&(e=a$(e,r));var s=l$(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(c$,"balanced");function a$(t,e){var r=e.match(t);return r?r[0]:null}o(a$,"maybeMatch");c$.range=l$;function l$(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(l$,"range")});var y$=f((fGe,E$)=>{var vhe=o$(),d$=A$();E$.exports=Dhe;var p$="\0SLASH"+Math.random()+"\0",m$="\0OPEN"+Math.random()+"\0",E0="\0CLOSE"+Math.random()+"\0",h$="\0COMMA"+Math.random()+"\0",f$="\0PERIOD"+Math.random()+"\0";function g0(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(g0,"numeric");function Phe(t){return t.split("\\\\").join(p$).split("\\{").join(m$).split("\\}").join(E0).split("\\,").join(h$).split("\\.").join(f$)}o(Phe,"escapeBraces");function khe(t){return t.split(p$).join("\\").split(m$).join("{").split(E0).join("}").split(h$).join(",").split(f$).join(".")}o(khe,"unescapeBraces");function g$(t){if(!t)return[""];var e=[],r=d$("{","}",t);if(!r)return t.split(",");var s=r.pre,n=r.body,i=r.post,a=s.split(",");a[a.length-1]+="{"+n+"}";var c=g$(i);return i.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(g$,"parseCommaParts");function Dhe(t,e){if(!t)return[];e=e||{};var r=e.max==null?1/0:e.max;return t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),Hd(Phe(t),r,!0).map(khe)}o(Dhe,"expandTop");function _he(t){return"{"+t+"}"}o(_he,"embrace");function Lhe(t){return/^-?0\d/.test(t)}o(Lhe,"isPadded");function Mhe(t,e){return t<=e}o(Mhe,"lte");function Ohe(t,e){return t>=e}o(Ohe,"gte");function Hd(t,e,r){for(var s=[];;){var n=d$("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),a=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),c=i||a,l=n.body.indexOf(",")>=0;if(!c&&!l){if(n.post.match(/,(?!,).*\}/)){t=n.pre+"{"+n.body+E0+n.post,r=!0;continue}return[t]}var u;if(c)u=n.body.split(/\.\./);else if(u=g$(n.body),u.length===1&&(u=Hd(u[0],e,!1).map(_he),u.length===1)){var d=n.post.length?Hd(n.post,e,!1):[""];return d.map(function(le){return n.pre+u[0]+le})}var A=n.pre,d=n.post.length?Hd(n.post,e,!1):[""],p;if(c){var m=g0(u[0]),h=g0(u[1]),g=Math.max(u[0].length,u[1].length),C=u.length==3?Math.max(Math.abs(g0(u[2])),1):1,E=Mhe,y=h0){var q=new Array(R+1).join("0");B<0?x="-"+q+x.slice(1):x=q+x}}p.push(x)}}else p=vhe(u,function(Re){return Hd(Re,e,!1)});for(var ye=0;ye{b$.exports=ls;ls.Minimatch=jt;var zd=(function(){try{return require("path")}catch{}})()||{sep:"/"};ls.sep=zd.sep;var I0=ls.GLOBSTAR=jt.GLOBSTAR={},Fhe=y$(),C$={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},y0="[^/]",C0=y0+"*?",Uhe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",qhe="(?:(?!(?:\\/|^)\\.).)*?",I$=Ghe("().*{}+?[]^$\\!");function Ghe(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(Ghe,"charSet");var B$=/\/+/;ls.filter=Hhe;function Hhe(t,e){return e=e||{},function(r,s,n){return ls(r,t,e)}}o(Hhe,"filter");function Jo(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(Jo,"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,Jo(t,a))},"minimatch");return r.Minimatch=o(function(n,i){return new e.Minimatch(n,Jo(t,i))},"Minimatch"),r.Minimatch.defaults=o(function(n){return e.defaults(Jo(t,n)).Minimatch},"defaults"),r.filter=o(function(n,i){return e.filter(n,Jo(t,i))},"filter"),r.defaults=o(function(n){return e.defaults(Jo(t,n))},"defaults"),r.makeRe=o(function(n,i){return e.makeRe(n,Jo(t,i))},"makeRe"),r.braceExpand=o(function(n,i){return e.braceExpand(n,Jo(t,i))},"braceExpand"),r.match=function(s,n,i){return e.match(s,n,Jo(t,i))},r};jt.defaults=function(t){return ls.defaults(t).Minimatch};function ls(t,e,r){return Tg(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);Tg(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&zd.sep!=="/"&&(t=t.split(zd.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=zhe;function zhe(){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(B$)}),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(zhe,"make");jt.prototype.parseNegate=$he;function $he(){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,Tg(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Fhe(t)}o(w$,"braceExpand");var Vhe=1024*64,Tg=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Vhe)throw new TypeError("pattern is too long")},"assertValidPattern");jt.prototype.parse=Yhe;var Rg={};function Yhe(t,e){Tg(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return I0;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+=C0,n=!0;break;case"?":s+=y0,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),Re=s.slice(we.reStart,we.reEnd-8),le=s.slice(we.reEnd-8,we.reEnd),Le=s.slice(we.reEnd);le+=Le;var se=be.split("(").length-1,Ar=Le;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;zd.sep!=="/"&&(e=e.split(zd.sep).join("/")),e=e.split(B$),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 Whe(t){return t.replace(/\\(.)/g,"$1")}o(Whe,"globUnescape");function jhe(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(jhe,"regExpEscape")});var Yd=f((UGe,R$)=>{"use strict";var nfe="2.0.0",ife=Number.MAX_SAFE_INTEGER||9007199254740991,ofe=16,afe=250,cfe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];R$.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:ofe,MAX_SAFE_BUILD_LENGTH:afe,MAX_SAFE_INTEGER:ife,RELEASE_TYPES:cfe,SEMVER_SPEC_VERSION:nfe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Jd=f((qGe,T$)=>{"use strict";var lfe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};T$.exports=lfe});var ru=f((Wn,v$)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:w0,MAX_SAFE_BUILD_LENGTH:ufe,MAX_LENGTH:Afe}=Yd(),dfe=Jd();Wn=v$.exports={};var pfe=Wn.re=[],mfe=Wn.safeRe=[],M=Wn.src=[],hfe=Wn.safeSrc=[],O=Wn.t={},ffe=0,b0="[a-zA-Z0-9-]",gfe=[["\\s",1],["\\d",Afe],[b0,ufe]],Efe=o(t=>{for(let[e,r]of gfe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ie=o((t,e,r)=>{let s=Efe(e),n=ffe++;dfe(t,n,e),O[t]=n,M[n]=e,hfe[n]=s,pfe[n]=new RegExp(e,r?"g":void 0),mfe[n]=new RegExp(s,r?"g":void 0)},"createToken");ie("NUMERICIDENTIFIER","0|[1-9]\\d*");ie("NUMERICIDENTIFIERLOOSE","\\d+");ie("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${b0}*`);ie("MAINVERSION",`(${M[O.NUMERICIDENTIFIER]})\\.(${M[O.NUMERICIDENTIFIER]})\\.(${M[O.NUMERICIDENTIFIER]})`);ie("MAINVERSIONLOOSE",`(${M[O.NUMERICIDENTIFIERLOOSE]})\\.(${M[O.NUMERICIDENTIFIERLOOSE]})\\.(${M[O.NUMERICIDENTIFIERLOOSE]})`);ie("PRERELEASEIDENTIFIER",`(?:${M[O.NONNUMERICIDENTIFIER]}|${M[O.NUMERICIDENTIFIER]})`);ie("PRERELEASEIDENTIFIERLOOSE",`(?:${M[O.NONNUMERICIDENTIFIER]}|${M[O.NUMERICIDENTIFIERLOOSE]})`);ie("PRERELEASE",`(?:-(${M[O.PRERELEASEIDENTIFIER]}(?:\\.${M[O.PRERELEASEIDENTIFIER]})*))`);ie("PRERELEASELOOSE",`(?:-?(${M[O.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${M[O.PRERELEASEIDENTIFIERLOOSE]})*))`);ie("BUILDIDENTIFIER",`${b0}+`);ie("BUILD",`(?:\\+(${M[O.BUILDIDENTIFIER]}(?:\\.${M[O.BUILDIDENTIFIER]})*))`);ie("FULLPLAIN",`v?${M[O.MAINVERSION]}${M[O.PRERELEASE]}?${M[O.BUILD]}?`);ie("FULL",`^${M[O.FULLPLAIN]}$`);ie("LOOSEPLAIN",`[v=\\s]*${M[O.MAINVERSIONLOOSE]}${M[O.PRERELEASELOOSE]}?${M[O.BUILD]}?`);ie("LOOSE",`^${M[O.LOOSEPLAIN]}$`);ie("GTLT","((?:<|>)?=?)");ie("XRANGEIDENTIFIERLOOSE",`${M[O.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ie("XRANGEIDENTIFIER",`${M[O.NUMERICIDENTIFIER]}|x|X|\\*`);ie("XRANGEPLAIN",`[v=\\s]*(${M[O.XRANGEIDENTIFIER]})(?:\\.(${M[O.XRANGEIDENTIFIER]})(?:\\.(${M[O.XRANGEIDENTIFIER]})(?:${M[O.PRERELEASE]})?${M[O.BUILD]}?)?)?`);ie("XRANGEPLAINLOOSE",`[v=\\s]*(${M[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[O.XRANGEIDENTIFIERLOOSE]})(?:${M[O.PRERELEASELOOSE]})?${M[O.BUILD]}?)?)?`);ie("XRANGE",`^${M[O.GTLT]}\\s*${M[O.XRANGEPLAIN]}$`);ie("XRANGELOOSE",`^${M[O.GTLT]}\\s*${M[O.XRANGEPLAINLOOSE]}$`);ie("COERCEPLAIN",`(^|[^\\d])(\\d{1,${w0}})(?:\\.(\\d{1,${w0}}))?(?:\\.(\\d{1,${w0}}))?`);ie("COERCE",`${M[O.COERCEPLAIN]}(?:$|[^\\d])`);ie("COERCEFULL",M[O.COERCEPLAIN]+`(?:${M[O.PRERELEASE]})?(?:${M[O.BUILD]})?(?:$|[^\\d])`);ie("COERCERTL",M[O.COERCE],!0);ie("COERCERTLFULL",M[O.COERCEFULL],!0);ie("LONETILDE","(?:~>?)");ie("TILDETRIM",`(\\s*)${M[O.LONETILDE]}\\s+`,!0);Wn.tildeTrimReplace="$1~";ie("TILDE",`^${M[O.LONETILDE]}${M[O.XRANGEPLAIN]}$`);ie("TILDELOOSE",`^${M[O.LONETILDE]}${M[O.XRANGEPLAINLOOSE]}$`);ie("LONECARET","(?:\\^)");ie("CARETTRIM",`(\\s*)${M[O.LONECARET]}\\s+`,!0);Wn.caretTrimReplace="$1^";ie("CARET",`^${M[O.LONECARET]}${M[O.XRANGEPLAIN]}$`);ie("CARETLOOSE",`^${M[O.LONECARET]}${M[O.XRANGEPLAINLOOSE]}$`);ie("COMPARATORLOOSE",`^${M[O.GTLT]}\\s*(${M[O.LOOSEPLAIN]})$|^$`);ie("COMPARATOR",`^${M[O.GTLT]}\\s*(${M[O.FULLPLAIN]})$|^$`);ie("COMPARATORTRIM",`(\\s*)${M[O.GTLT]}\\s*(${M[O.LOOSEPLAIN]}|${M[O.XRANGEPLAIN]})`,!0);Wn.comparatorTrimReplace="$1$2$3";ie("HYPHENRANGE",`^\\s*(${M[O.XRANGEPLAIN]})\\s+-\\s+(${M[O.XRANGEPLAIN]})\\s*$`);ie("HYPHENRANGELOOSE",`^\\s*(${M[O.XRANGEPLAINLOOSE]})\\s+-\\s+(${M[O.XRANGEPLAINLOOSE]})\\s*$`);ie("STAR","(<|>)?=?\\s*\\*");ie("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ie("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var kg=f((HGe,P$)=>{"use strict";var yfe=Object.freeze({loose:!0}),Cfe=Object.freeze({}),Ife=o(t=>t?typeof t!="object"?yfe:t:Cfe,"parseOptions");P$.exports=Ife});var Q0=f(($Ge,_$)=>{"use strict";var k$=/^[0-9]+$/,D$=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tD$(e,t),"rcompareIdentifiers");_$.exports={compareIdentifiers:D$,rcompareIdentifiers:Bfe}});var or=f((YGe,M$)=>{"use strict";var Dg=Jd(),{MAX_LENGTH:L$,MAX_SAFE_INTEGER:_g}=Yd(),{safeRe:Lg,t:Mg}=ru(),wfe=kg(),{compareIdentifiers:x0}=Q0(),N0=class t{static{o(this,"SemVer")}constructor(e,r){if(r=wfe(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>L$)throw new TypeError(`version is longer than ${L$} characters`);Dg("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?Lg[Mg.LOOSE]:Lg[Mg.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>_g||this.major<0)throw new TypeError("Invalid major version");if(this.minor>_g||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>_g||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&&i<_g)return i}return n}):this.prerelease=[],this.build=s[5]?s[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(Dg("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),this.majore.major?1:this.minore.minor?1:this.patche.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(Dg("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 x0(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(Dg("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 x0(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?Lg[Mg.PRERELEASELOOSE]:Lg[Mg.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]),x0(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}};M$.exports=N0});var sc=f((WGe,F$)=>{"use strict";var O$=or(),bfe=o((t,e,r=!1)=>{if(t instanceof O$)return t;try{return new O$(t,e)}catch(s){if(!r)return null;throw s}},"parse");F$.exports=bfe});var q$=f((KGe,U$)=>{"use strict";var Qfe=sc(),xfe=o((t,e)=>{let r=Qfe(t,e);return r?r.version:null},"valid");U$.exports=xfe});var H$=f((ZGe,G$)=>{"use strict";var Nfe=sc(),Sfe=o((t,e)=>{let r=Nfe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");G$.exports=Sfe});var V$=f((tHe,$$)=>{"use strict";var z$=or(),Rfe=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new z$(t instanceof z$?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");$$.exports=Rfe});var W$=f((sHe,J$)=>{"use strict";var Y$=sc(),Tfe=o((t,e)=>{let r=Y$(t,null,!0),s=Y$(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");J$.exports=Tfe});var K$=f((iHe,j$)=>{"use strict";var vfe=or(),Pfe=o((t,e)=>new vfe(t,e).major,"major");j$.exports=Pfe});var Z$=f((aHe,X$)=>{"use strict";var kfe=or(),Dfe=o((t,e)=>new kfe(t,e).minor,"minor");X$.exports=Dfe});var tV=f((lHe,eV)=>{"use strict";var _fe=or(),Lfe=o((t,e)=>new _fe(t,e).patch,"patch");eV.exports=Lfe});var sV=f((AHe,rV)=>{"use strict";var Mfe=sc(),Ofe=o((t,e)=>{let r=Mfe(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");rV.exports=Ofe});var Ms=f((pHe,iV)=>{"use strict";var nV=or(),Ffe=o((t,e,r)=>new nV(t,r).compare(new nV(e,r)),"compare");iV.exports=Ffe});var aV=f((hHe,oV)=>{"use strict";var Ufe=Ms(),qfe=o((t,e,r)=>Ufe(e,t,r),"rcompare");oV.exports=qfe});var lV=f((gHe,cV)=>{"use strict";var Gfe=Ms(),Hfe=o((t,e)=>Gfe(t,e,!0),"compareLoose");cV.exports=Hfe});var Og=f((yHe,AV)=>{"use strict";var uV=or(),zfe=o((t,e,r)=>{let s=new uV(t,r),n=new uV(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");AV.exports=zfe});var pV=f((IHe,dV)=>{"use strict";var $fe=Og(),Vfe=o((t,e)=>t.sort((r,s)=>$fe(r,s,e)),"sort");dV.exports=Vfe});var hV=f((wHe,mV)=>{"use strict";var Yfe=Og(),Jfe=o((t,e)=>t.sort((r,s)=>Yfe(s,r,e)),"rsort");mV.exports=Jfe});var Wd=f((QHe,fV)=>{"use strict";var Wfe=Ms(),jfe=o((t,e,r)=>Wfe(t,e,r)>0,"gt");fV.exports=jfe});var Fg=f((NHe,gV)=>{"use strict";var Kfe=Ms(),Xfe=o((t,e,r)=>Kfe(t,e,r)<0,"lt");gV.exports=Xfe});var S0=f((RHe,EV)=>{"use strict";var Zfe=Ms(),ege=o((t,e,r)=>Zfe(t,e,r)===0,"eq");EV.exports=ege});var R0=f((vHe,yV)=>{"use strict";var tge=Ms(),rge=o((t,e,r)=>tge(t,e,r)!==0,"neq");yV.exports=rge});var Ug=f((kHe,CV)=>{"use strict";var sge=Ms(),nge=o((t,e,r)=>sge(t,e,r)>=0,"gte");CV.exports=nge});var qg=f((_He,IV)=>{"use strict";var ige=Ms(),oge=o((t,e,r)=>ige(t,e,r)<=0,"lte");IV.exports=oge});var T0=f((MHe,BV)=>{"use strict";var age=S0(),cge=R0(),lge=Wd(),uge=Ug(),Age=Fg(),dge=qg(),pge=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 age(t,r,s);case"!=":return cge(t,r,s);case">":return lge(t,r,s);case">=":return uge(t,r,s);case"<":return Age(t,r,s);case"<=":return dge(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");BV.exports=pge});var bV=f((FHe,wV)=>{"use strict";var mge=or(),hge=sc(),{safeRe:Gg,t:Hg}=ru(),fge=o((t,e)=>{if(t instanceof mge)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?Gg[Hg.COERCEFULL]:Gg[Hg.COERCE]);else{let l=e.includePrerelease?Gg[Hg.COERCERTLFULL]:Gg[Hg.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 hge(`${s}.${n}.${i}${a}${c}`,e)},"coerce");wV.exports=fge});var xV=f((qHe,QV)=>{"use strict";var v0=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}};QV.exports=v0});var Os=f((HHe,TV)=>{"use strict";var gge=/\s+/g,P0=class t{static{o(this,"Range")}constructor(e,r){if(r=yge(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof k0)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(gge," "),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=>!SV(n[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&xge(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let s=((this.options.includePrerelease&&bge)|(this.options.loose&&Qge))+":"+e,n=NV.get(s);if(n)return n;let i=this.options.loose,a=i?Er[ar.HYPHENRANGELOOSE]:Er[ar.HYPHENRANGE];e=e.replace(a,Lge(this.options.includePrerelease)),ze("hyphen replace",e),e=e.replace(Er[ar.COMPARATORTRIM],Ige),ze("comparator trim",e),e=e.replace(Er[ar.TILDETRIM],Bge),ze("tilde trim",e),e=e.replace(Er[ar.CARETTRIM],wge),ze("caret trim",e);let c=e.split(" ").map(d=>Nge(d,this.options)).join(" ").split(/\s+/).map(d=>_ge(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 k0(d,this.options));for(let d of u){if(SV(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return NV.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>RV(s,r)&&e.set.some(n=>RV(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 Cge(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),xge=o(t=>t.value==="","isAny"),RV=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"),Nge=o((t,e)=>(t=t.replace(Er[ar.BUILD],""),ze("comp",t,e),t=Tge(t,e),ze("caret",t),t=Sge(t,e),ze("tildes",t),t=Pge(t,e),ze("xrange",t),t=Dge(t,e),ze("stars",t),t),"parseComparator"),yr=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),Sge=o((t,e)=>t.trim().split(/\s+/).map(r=>Rge(r,e)).join(" "),"replaceTildes"),Rge=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"),Tge=o((t,e)=>t.trim().split(/\s+/).map(r=>vge(r,e)).join(" "),"replaceCarets"),vge=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"),Pge=o((t,e)=>(ze("replaceXRanges",t,e),t.split(/\s+/).map(r=>kge(r,e)).join(" ")),"replaceXRanges"),kge=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"),Dge=o((t,e)=>(ze("replaceStars",t,e),t.trim().replace(Er[ar.STAR],"")),"replaceStars"),_ge=o((t,e)=>(ze("replaceGTE0",t,e),t.trim().replace(Er[e.includePrerelease?ar.GTE0PRE:ar.GTE0],"")),"replaceGTE0"),Lge=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"),Mge=o((t,e,r)=>{for(let s=0;s0){let n=t[s].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0},"testSet")});var jd=f(($He,LV)=>{"use strict";var Kd=Symbol("SemVer ANY"),L0=class t{static{o(this,"Comparator")}static get ANY(){return Kd}constructor(e,r){if(r=vV(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),_0("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Kd?this.value="":this.value=this.operator+this.semver.version,_0("comp",this)}parse(e){let r=this.options.loose?PV[kV.COMPARATORLOOSE]:PV[kV.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new DV(s[2],this.options.loose):this.semver=Kd}toString(){return this.value}test(e){if(_0("Comparator.test",e,this.options.loose),this.semver===Kd||e===Kd)return!0;if(typeof e=="string")try{e=new DV(e,this.options)}catch{return!1}return D0(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 _V(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new _V(this.value,r).test(e.semver):(r=vV(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("=")||D0(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||D0(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};LV.exports=L0;var vV=kg(),{safeRe:PV,t:kV}=ru(),D0=T0(),_0=Jd(),DV=or(),_V=Os()});var Xd=f((YHe,MV)=>{"use strict";var Oge=Os(),Fge=o((t,e,r)=>{try{e=new Oge(e,r)}catch{return!1}return e.test(t)},"satisfies");MV.exports=Fge});var FV=f((WHe,OV)=>{"use strict";var Uge=Os(),qge=o((t,e)=>new Uge(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");OV.exports=qge});var qV=f((KHe,UV)=>{"use strict";var Gge=or(),Hge=Os(),zge=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new Hge(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new Gge(s,r))}),s},"maxSatisfying");UV.exports=zge});var HV=f((ZHe,GV)=>{"use strict";var $ge=or(),Vge=Os(),Yge=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new Vge(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new $ge(s,r))}),s},"minSatisfying");GV.exports=Yge});var VV=f((tze,$V)=>{"use strict";var M0=or(),Jge=Os(),zV=Wd(),Wge=o((t,e)=>{t=new Jge(t,e);let r=new M0("0.0.0");if(t.test(r)||(r=new M0("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new M0(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||zV(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||zV(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");$V.exports=Wge});var JV=f((sze,YV)=>{"use strict";var jge=Os(),Kge=o((t,e)=>{try{return new jge(t,e).range||"*"}catch{return null}},"validRange");YV.exports=Kge});var zg=f((ize,XV)=>{"use strict";var Xge=or(),KV=jd(),{ANY:Zge}=KV,eEe=Os(),tEe=Xd(),WV=Wd(),jV=Fg(),rEe=qg(),sEe=Ug(),nEe=o((t,e,r,s)=>{t=new Xge(t,s),e=new eEe(e,s);let n,i,a,c,l;switch(r){case">":n=WV,i=rEe,a=jV,c=">",l=">=";break;case"<":n=jV,i=sEe,a=WV,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(tEe(t,e,s))return!1;for(let u=0;u{m.semver===Zge&&(m=new KV(">=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");XV.exports=nEe});var eY=f((aze,ZV)=>{"use strict";var iEe=zg(),oEe=o((t,e,r)=>iEe(t,e,">",r),"gtr");ZV.exports=oEe});var rY=f((lze,tY)=>{"use strict";var aEe=zg(),cEe=o((t,e,r)=>aEe(t,e,"<",r),"ltr");tY.exports=cEe});var iY=f((Aze,nY)=>{"use strict";var sY=Os(),lEe=o((t,e,r)=>(t=new sY(t,r),e=new sY(e,r),t.intersects(e,r)),"intersects");nY.exports=lEe});var aY=f((pze,oY)=>{"use strict";var uEe=Xd(),AEe=Ms();oY.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>AEe(A,d,r));for(let A of a)uEe(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 cY=Os(),F0=jd(),{ANY:O0}=F0,Zd=Xd(),U0=Ms(),dEe=o((t,e,r={})=>{if(t===e)return!0;t=new cY(t,r),e=new cY(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=mEe(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),pEe=[new F0(">=0.0.0-0")],lY=[new F0(">=0.0.0")],mEe=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===O0){if(e.length===1&&e[0].semver===O0)return!0;r.includePrerelease?t=pEe:t=lY}if(e.length===1&&e[0].semver===O0){if(r.includePrerelease)return!0;e=lY}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=uY(n,m,r):m.operator==="<"||m.operator==="<="?i=AY(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=U0(n.semver,i.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let m of s){if(n&&!Zd(m,String(n),r)||i&&!Zd(m,String(i),r))return null;for(let h of e)if(!Zd(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=uY(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!Zd(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=AY(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!Zd(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"),uY=o((t,e,r)=>{if(!t)return e;let s=U0(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),AY=o((t,e,r)=>{if(!t)return e;let s=U0(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");dY.exports=dEe});var gY=f((fze,fY)=>{"use strict";var q0=ru(),mY=Yd(),hEe=or(),hY=Q0(),fEe=sc(),gEe=q$(),EEe=H$(),yEe=V$(),CEe=W$(),IEe=K$(),BEe=Z$(),wEe=tV(),bEe=sV(),QEe=Ms(),xEe=aV(),NEe=lV(),SEe=Og(),REe=pV(),TEe=hV(),vEe=Wd(),PEe=Fg(),kEe=S0(),DEe=R0(),_Ee=Ug(),LEe=qg(),MEe=T0(),OEe=bV(),FEe=jd(),UEe=Os(),qEe=Xd(),GEe=FV(),HEe=qV(),zEe=HV(),$Ee=VV(),VEe=JV(),YEe=zg(),JEe=eY(),WEe=rY(),jEe=iY(),KEe=aY(),XEe=pY();fY.exports={parse:fEe,valid:gEe,clean:EEe,inc:yEe,diff:CEe,major:IEe,minor:BEe,patch:wEe,prerelease:bEe,compare:QEe,rcompare:xEe,compareLoose:NEe,compareBuild:SEe,sort:REe,rsort:TEe,gt:vEe,lt:PEe,eq:kEe,neq:DEe,gte:_Ee,lte:LEe,cmp:MEe,coerce:OEe,Comparator:FEe,Range:UEe,satisfies:qEe,toComparators:GEe,maxSatisfying:HEe,minSatisfying:zEe,minVersion:$Ee,validRange:VEe,outside:YEe,gtr:JEe,ltr:WEe,intersects:jEe,simplifyRange:KEe,subset:XEe,SemVer:hEe,re:q0.re,src:q0.src,tokens:q0.t,SEMVER_SPEC_VERSION:mY.SEMVER_SPEC_VERSION,RELEASE_TYPES:mY.RELEASE_TYPES,compareIdentifiers:hY.compareIdentifiers,rcompareIdentifiers:hY.rcompareIdentifiers}});var iJ=f((IVe,nJ)=>{var lu=1e3,uu=lu*60,Au=uu*60,uc=Au*24,Dye=uc*7,_ye=uc*365.25;nJ.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Lye(t);if(r==="number"&&isFinite(t))return e.long?Oye(t):Mye(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Lye(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*_ye;case"weeks":case"week":case"w":return r*Dye;case"days":case"day":case"d":return r*uc;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(Lye,"parse");function Mye(t){var e=Math.abs(t);return e>=uc?Math.round(t/uc)+"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(Mye,"fmtShort");function Oye(t){var e=Math.abs(t);return e>=uc?fE(t,e,uc,"day"):e>=Au?fE(t,e,Au,"hour"):e>=uu?fE(t,e,uu,"minute"):e>=lu?fE(t,e,lu,"second"):t+" ms"}o(Oye,"fmtLong");function fE(t,e,r,s){var n=e>=r*1.5;return Math.round(t/r)+" "+s+(n?"s":"")}o(fE,"plural")});var dN=f((wVe,oJ)=>{function Fye(t){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=n,r.enabled=a,r.humanize=iJ(),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=qye;ds.save=Gye;ds.load=Hye;ds.useColors=Uye;ds.storage=zye();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 Uye(){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(Uye,"useColors");function qye(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+gE.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(qye,"formatArgs");ds.log=console.debug||console.log||(()=>{});function Gye(t){try{t?ds.storage.setItem("debug",t):ds.storage.removeItem("debug")}catch{}}o(Gye,"save");function Hye(){let t;try{t=ds.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(Hye,"load");function zye(){try{return localStorage}catch{}}o(zye,"localstorage");gE.exports=dN()(ds);var{formatters:$ye}=gE.exports;$ye.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var lJ=f((xVe,cJ)=>{"use strict";cJ.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 Vye=require("os"),uJ=require("tty"),Us=lJ(),{env:Ht}=process,Zo;Us("no-color")||Us("no-colors")||Us("color=false")||Us("color=never")?Zo=0:(Us("color")||Us("colors")||Us("color=true")||Us("color=always"))&&(Zo=1);"FORCE_COLOR"in Ht&&(Ht.FORCE_COLOR==="true"?Zo=1:Ht.FORCE_COLOR==="false"?Zo=0:Zo=Ht.FORCE_COLOR.length===0?1:Math.min(parseInt(Ht.FORCE_COLOR,10),3));function pN(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(pN,"translateLevel");function mN(t,e){if(Zo===0)return 0;if(Us("color=16m")||Us("color=full")||Us("color=truecolor"))return 3;if(Us("color=256"))return 2;if(t&&!e&&Zo===void 0)return 0;let r=Zo||0;if(Ht.TERM==="dumb")return r;if(process.platform==="win32"){let s=Vye.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in Ht)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(s=>s in Ht)||Ht.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Ht)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ht.TEAMCITY_VERSION)?1:0;if(Ht.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Ht){let s=parseInt((Ht.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ht.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ht.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ht.TERM)||"COLORTERM"in Ht?1:r}o(mN,"supportsColor");function Yye(t){let e=mN(t,t&&t.isTTY);return pN(e)}o(Yye,"getSupportLevel");AJ.exports={supportsColor:Yye,stdout:pN(mN(!0,uJ.isatty(1))),stderr:pN(mN(!0,uJ.isatty(2)))}});var mJ=f((Kt,yE)=>{var Jye=require("tty"),EE=require("util");Kt.init=tCe;Kt.log=Xye;Kt.formatArgs=jye;Kt.save=Zye;Kt.load=eCe;Kt.useColors=Wye;Kt.destroy=EE.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Kt.colors=[6,2,3,4,5,1];try{let t=dJ();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 Wye(){return"colors"in Kt.inspectOpts?!!Kt.inspectOpts.colors:Jye.isatty(process.stderr.fd)}o(Wye,"useColors");function jye(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+"+yE.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=Kye()+e+" "+t[0]}o(jye,"formatArgs");function Kye(){return Kt.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(Kye,"getDate");function Xye(...t){return process.stderr.write(EE.format(...t)+` `)}o(Xye,"log");function Zye(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(Zye,"save");function eCe(){return process.env.DEBUG}o(eCe,"load");function tCe(t){t.inspectOpts={};let e=Object.keys(Kt.inspectOpts);for(let r=0;re.trim()).join(" ")};pJ.O=function(t){return this.inspectOpts.colors=this.useColors,EE.inspect(t,this.inspectOpts)}});var CE=f((TVe,hN)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?hN.exports=aJ():hN.exports=mJ()});var gJ=f(Or=>{"use strict";var rCe=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]})),sCe=Or&&Or.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),hJ=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)&&rCe(e,t,r);return sCe(e,t),e};Object.defineProperty(Or,"__esModule",{value:!0});Or.req=Or.json=Or.toBuffer=void 0;var nCe=hJ(require("http")),iCe=hJ(require("https"));async function fJ(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}o(fJ,"toBuffer");Or.toBuffer=fJ;async function oCe(t){let r=(await fJ(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let n=s;throw n.message+=` (input: ${r})`,n}}o(oCe,"json");Or.json=oCe;function aCe(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?iCe:nCe).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(aCe,"req");Or.req=aCe});var gN=f(ps=>{"use strict";var yJ=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]})),cCe=ps&&ps.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),CJ=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)&&yJ(e,t,r);return cCe(e,t),e},lCe=ps&&ps.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&yJ(e,t,r)};Object.defineProperty(ps,"__esModule",{value:!0});ps.Agent=void 0;var uCe=CJ(require("net")),EJ=CJ(require("http")),ACe=require("https");lCe(gJ(),ps);var Zn=Symbol("AgentBaseInternalState"),fN=class extends EJ.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 uCe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let s=this.sockets[e],n=s.indexOf(r);n!==-1&&(s.splice(n,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?ACe.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 EJ.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=fN});var IJ=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 pCe=dCe(CE()),IE=(0,pCe.default)("https-proxy-agent:parse-proxy-response");function mCe(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(),IE("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(A){a(),IE("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){IE("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}IE("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(mCe,"parseProxyResponse");du.parseProxyResponse=mCe});var xJ=f(qs=>{"use strict";var hCe=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]})),fCe=qs&&qs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),bJ=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)&&hCe(e,t,r);return fCe(e,t),e},QJ=qs&&qs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(qs,"__esModule",{value:!0});qs.HttpsProxyAgent=void 0;var up=bJ(require("net")),BJ=bJ(require("tls")),gCe=QJ(require("assert")),ECe=QJ(CE()),yCe=gN(),CCe=require("url"),ICe=IJ(),Ap=(0,ECe.default)("https-proxy-agent"),BE=class extends yCe.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new CCe.URL(e):e,this.proxyHeaders=r?.headers??{},Ap("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?wJ(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:"){Ap("Creating `tls.Socket`: %o",this.connectOpts);let p=this.connectOpts.servername||this.connectOpts.host;n=BJ.connect({...this.connectOpts,servername:p&&up.isIP(p)?void 0:p})}else Ap("Creating `net.Socket`: %o",this.connectOpts),n=up.connect(this.connectOpts);let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=up.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,ICe.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",BCe),r.secureEndpoint){Ap("Upgrading socket connection to TLS");let p=r.servername||r.host;return BJ.connect({...wJ(r,"host","path","port"),socket:n,servername:up.isIP(p)?void 0:p})}return n}n.destroy();let d=new up.Socket({writable:!1});return d.readable=!0,e.once("socket",p=>{Ap("Replaying proxy buffer for failed request"),(0,gCe.default)(p.listenerCount("data")>0),p.push(A),p.push(null)}),d}};BE.protocols=["http","https"];qs.HttpsProxyAgent=BE;function BCe(t){t.resume()}o(BCe,"resume");function wJ(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(wJ,"omit")});var RJ=f(Gs=>{"use strict";var wCe=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]})),bCe=Gs&&Gs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),SJ=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)&&wCe(e,t,r);return bCe(e,t),e},QCe=Gs&&Gs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Gs,"__esModule",{value:!0});Gs.HttpProxyAgent=void 0;var xCe=SJ(require("net")),NCe=SJ(require("tls")),SCe=QCe(CE()),RCe=require("events"),TCe=gN(),NJ=require("url"),pu=(0,SCe.default)("http-proxy-agent"),wE=class extends TCe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new NJ.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?vCe(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 NJ.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=NCe.connect(this.connectOpts)):(pu("Creating `net.Socket`: %o",this.connectOpts),i=xCe.connect(this.connectOpts)),await(0,RCe.once)(i,"connect"),i}};wE.protocols=["http","https"];Gs.HttpProxyAgent=wE;function vCe(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(vCe,"omit")});var KJ=f(ME=>{"use strict";Object.defineProperty(ME,"__esModule",{value:!0});ME.state=void 0;ME.state={instrumenterImplementation:void 0}});var m3=f(GE=>{"use strict";Object.defineProperty(GE,"__esModule",{value:!0});GE.state=void 0;GE.state={operationRequestMap:new WeakMap}});var VW=f(Pu=>{"use strict";Object.defineProperty(Pu,"__esModule",{value:!0});var jQe=require("os"),KQe=require("util");function XQe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(XQe,"_interopDefaultLegacy");var ZQe=XQe(KQe);function exe(t,...e){process.stderr.write(`${ZQe.default.format(t,...e)}${jQe.EOL}`)}o(exe,"log");var LW=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,OW,Yv=[],Jv=[],cC=[];LW&&Wv(LW);var FW=Object.assign(t=>UW(t),{enable:Wv,enabled:jv,disable:txe,log:exe});function Wv(t){OW=t,Yv=[],Jv=[];let e=/\*/g,r=t.split(",").map(s=>s.trim().replace(e,".*?"));for(let s of r)s.startsWith("-")?Jv.push(new RegExp(`^${s.substr(1)}$`)):Yv.push(new RegExp(`^${s}$`));for(let s of cC)s.enabled=jv(s.namespace)}o(Wv,"enable");function jv(t){if(t.endsWith("*"))return!0;for(let e of Jv)if(e.test(t))return!1;for(let e of Yv)if(e.test(t))return!0;return!1}o(jv,"enabled");function txe(){let t=OW||"";return Wv(""),t}o(txe,"disable");function UW(t){let e=Object.assign(r,{enabled:jv(t),destroy:rxe,log:FW.log,namespace:t,extend:sxe});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return o(r,"debug"),cC.push(e),e}o(UW,"createDebugger");function rxe(){let t=cC.indexOf(this);return t>=0?(cC.splice(t,1),!0):!1}o(rxe,"destroy");function sxe(t){let e=UW(`${this.namespace}:${t}`);return e.log=this.log,e}o(sxe,"extend");var Xp=FW,qW=new Set,oC=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,lC,uC=Xp("azure");uC.log=(...t)=>{Xp.log(...t)};var Kv=["verbose","info","warning","error"];oC&&($W(oC)?GW(oC):console.error(`AZURE_LOG_LEVEL set to unknown log level '${oC}'; logging is not enabled. Acceptable values: ${Kv.join(", ")}.`));function GW(t){if(t&&!$W(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${Kv.join(",")}`);lC=t;let e=[];for(let r of qW)zW(r)&&e.push(r.namespace);Xp.enable(e.join(","))}o(GW,"setLogLevel");function nxe(){return lC}o(nxe,"getLogLevel");var MW={verbose:400,info:300,warning:200,error:100};function ixe(t){let e=uC.extend(t);return HW(uC,e),{error:aC(e,"error"),warning:aC(e,"warning"),info:aC(e,"info"),verbose:aC(e,"verbose")}}o(ixe,"createClientLogger");function HW(t,e){e.log=(...r)=>{t.log(...r)}}o(HW,"patchLogMethod");function aC(t,e){let r=Object.assign(t.extend(e),{level:e});if(HW(t,r),zW(r)){let s=Xp.disable();Xp.enable(s+","+r.namespace)}return qW.add(r),r}o(aC,"createLogger");function zW(t){return!!(lC&&MW[t.level]<=MW[lC])}o(zW,"shouldEnable");function $W(t){return Kv.includes(t)}o($W,"isAzureLogLevel");Pu.AzureLogger=uC;Pu.createClientLogger=ixe;Pu.getLogLevel=nxe;Pu.setLogLevel=GW});var eP=f(em=>{"use strict";Object.defineProperty(em,"__esModule",{value:!0});var ku=new WeakMap,AC=new WeakMap,Zp=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,ku.set(this,[]),AC.set(this,!1)}get aborted(){if(!AC.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return AC.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 YW(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"})}),AC.set(t,!0)}o(YW,"abortSignal");var Xv=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},Zv=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new Zp,!!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(){YW(this._signal)}static timeout(e){let r=new Zp,s=setTimeout(YW,e,r);return typeof s.unref=="function"&&s.unref(),r}};em.AbortController=Zv;em.AbortError=Xv;em.AbortSignal=Zp});var XW=f(lt=>{"use strict";Object.defineProperty(lt,"__esModule",{value:!0});var oxe=eP(),aP=require("crypto");function JW(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,a)=>{function c(){a(new oxe.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(JW,"createAbortablePromise");var axe="The delay was aborted.";function cxe(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return JW(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??axe})}o(cxe,"delay");function lxe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(lxe,"getRandomIntegerInclusive");function WW(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(WW,"isObject");function jW(t){if(WW(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(jW,"isError");function uxe(t){if(jW(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(uxe,"getErrorMessage");async function Axe(t,e,r){let s=Buffer.from(t,"base64");return aP.createHmac("sha256",s).update(e).digest(r)}o(Axe,"computeSha256Hmac");async function dxe(t,e){return aP.createHash("sha256").update(t).digest(e)}o(dxe,"computeSha256Hash");function cP(t){return typeof t<"u"&&t!==null}o(cP,"isDefined");function pxe(t,e){if(!cP(t)||typeof t!="object")return!1;for(let r of e)if(!KW(t,r))return!1;return!0}o(pxe,"isObjectWithProperties");function KW(t,e){return cP(t)&&typeof t=="object"&&e in t}o(KW,"objectHasProperty");function mxe(){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(mxe,"generateUUID");var tP,oP=typeof((tP=globalThis?.crypto)===null||tP===void 0?void 0:tP.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):aP.randomUUID;oP||(oP=mxe);function hxe(){return oP()}o(hxe,"randomUUID");var rP,sP,nP,iP,fxe=typeof window<"u"&&typeof window.document<"u",gxe=typeof self=="object"&&typeof self?.importScripts=="function"&&(((rP=self.constructor)===null||rP===void 0?void 0:rP.name)==="DedicatedWorkerGlobalScope"||((sP=self.constructor)===null||sP===void 0?void 0:sP.name)==="ServiceWorkerGlobalScope"||((nP=self.constructor)===null||nP===void 0?void 0:nP.name)==="SharedWorkerGlobalScope"),Exe=typeof process<"u"&&!!process.version&&!!(!((iP=process.versions)===null||iP===void 0)&&iP.node),yxe=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",Cxe=typeof Bun<"u"&&typeof Bun.version<"u",Ixe=typeof navigator<"u"&&navigator?.product==="ReactNative";function Bxe(t,e){switch(e){case"utf-8":return xxe(t);case"base64":return bxe(t);case"base64url":return Qxe(t)}}o(Bxe,"uint8ArrayToString");function wxe(t,e){switch(e){case"utf-8":return Nxe(t);case"base64":return Sxe(t);case"base64url":return Rxe(t)}}o(wxe,"stringToUint8Array");function bxe(t){return Buffer.from(t).toString("base64")}o(bxe,"uint8ArrayToBase64");function Qxe(t){return Buffer.from(t).toString("base64url")}o(Qxe,"uint8ArrayToBase64Url");function xxe(t){return Buffer.from(t).toString("utf-8")}o(xxe,"uint8ArrayToUtf8String");function Nxe(t){return Buffer.from(t)}o(Nxe,"utf8StringToUint8Array");function Sxe(t){return Buffer.from(t,"base64")}o(Sxe,"base64ToUint8Array");function Rxe(t){return Buffer.from(t,"base64url")}o(Rxe,"base64UrlToUint8Array");lt.computeSha256Hash=dxe;lt.computeSha256Hmac=Axe;lt.createAbortablePromise=JW;lt.delay=cxe;lt.getErrorMessage=uxe;lt.getRandomIntegerInclusive=lxe;lt.isBrowser=fxe;lt.isBun=Cxe;lt.isDefined=cP;lt.isDeno=yxe;lt.isError=jW;lt.isNode=Exe;lt.isObject=WW;lt.isObjectWithProperties=pxe;lt.isReactNative=Ixe;lt.isWebWorker=gxe;lt.objectHasProperty=KW;lt.randomUUID=hxe;lt.stringToUint8Array=wxe;lt.uint8ArrayToString=Bxe});var y8=f(Sc=>{"use strict";Object.defineProperty(Sc,"__esModule",{value:!0});var Txe=VW(),ZW=eP(),vxe=XW(),Nc=Txe.createClientLogger("core-lro"),t8=2e3,r8=["succeeded","canceled","failed"];function s8(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(s8,"deserializeState");function e8(t){let{state:e,stateProxy:r,isOperationError:s}=t;return n=>{throw s(n)&&(r.setError(e,n),r.setFailed(e)),n}}o(e8,"setStateError");function Pxe(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(Pxe,"appendReadableErrorMessage");function kxe(t){let e=t.message,r=t.code,s=t;for(;s.innererror;)s=s.innererror,r=s.code,e=Pxe(e,s.message);return{code:r,message:e}}o(kxe,"simplifyError");function n8(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}=kxe(u);A=`. ${p}. ${m}`}let d=`The long-running operation has failed${A}`;r.setError(e,new Error(d)),r.setFailed(e),Nc.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,Dxe({response:c,state:e,processResult:i}))}o(n8,"processOperationStatus");function Dxe(t){let{processResult:e,response:r,state:s}=t;return e?e(r,s):r}o(Dxe,"buildResult");async function i8(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};Nc.verbose("LRO: Operation description:",d);let p=r.initState(d),m=n({response:A,state:p,operationLocation:c});return n8({state:p,status:m,stateProxy:r,response:A,setErrorAsResult:a,processResult:s}),p}o(i8,"initOperation");async function _xe(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(e8({state:r,stateProxy:s,isOperationError:c})),A=i(u,r);if(Nc.verbose(`LRO: Status: Polling from: ${r.config.operationLocation} Operation status: ${A} Polling status: ${r8.includes(A)?"Stopped":"Running"}`),A==="succeeded"){let d=a(u,r);if(d!==void 0)return{response:await e(d).catch(e8({state:r,stateProxy:s,isOperationError:c})),status:A}}return{response:u,status:A}}o(_xe,"pollOperationHelper");async function o8(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 _xe({poll:e,getOperationStatus:i,state:r,stateProxy:s,operationLocation:E,getResourceLocation:a,isOperationError:l,options:n});if(n8({status:I,response:y,state:r,stateProxy:s,isDone:g,processResult:d,getError:p,setErrorAsResult:C}),!r8.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(o8,"pollOperation");function a8(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(a8,"getOperationLocationPollingUrl");function c8(t){return t.headers.location}o(c8,"getLocationHeader");function l8(t){return t.headers["operation-location"]}o(l8,"getOperationLocationHeader");function u8(t){return t.headers["azure-asyncoperation"]}o(u8,"getAzureAsyncOperationHeader");function Lxe(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(Lxe,"findResourceLocation");function A8(t){let{rawResponse:e,requestMethod:r,requestPath:s,resourceLocationConfig:n}=t,i=l8(e),a=u8(e),c=a8({operationLocation:i,azureAsyncOperation:a}),l=c8(e),u=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:Lxe({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(A8,"inferLroMode");function d8(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 AP(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 Nc.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(d8,"transformStatus");function Mxe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return d8({status:r,statusCode:t.statusCode})}o(Mxe,"getStatus");function Oxe(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 d8({status:i,statusCode:t.statusCode})}o(Oxe,"getProvisioningState");function AP(t){return t===202?"running":t<300?"succeeded":"failed"}o(AP,"toOperationStatus");function p8({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?Fxe(new Date(e)):r*1e3}}o(p8,"parseRetryAfter");function m8(t){let e=t.flatResponse.error;if(!e){Nc.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Nc.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(m8,"getErrorFromResponse");function Fxe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let a=await n.sendInitialRequest(),c=A8({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:h8,setErrorAsResult:i})}o(Uxe,"initHttpOperation");function f8({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return a8({operationLocation:l8(t),azureAsyncOperation:u8(t)});case"ResourceLocation":return c8(t);default:return}}o(f8,"getOperationLocation");function dP({rawResponse:t},e){var r;let s=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(s){case"OperationLocation":return Mxe(t);case"ResourceLocation":return AP(t.statusCode);case"Body":return Oxe(t);default:throw new Error(`Internal error: Unexpected operation mode: ${s}`)}}o(dP,"getOperationStatus");function g8({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(g8,"getResourceLocation");function E8(t){return t.name==="RestError"}o(E8,"isOperationError");async function qxe(t){let{lro:e,stateProxy:r,options:s,processResult:n,updateState:i,setDelay:a,state:c,setErrorAsResult:l}=t;return o8({state:c,stateProxy:r,setDelay:a,processResult:n?({flatResponse:u},A)=>n(u,A):({flatResponse:u})=>u,getError:m8,updateState:i,getPollingInterval:p8,getOperationLocation:f8,getOperationStatus:dP,isOperationError:E8,getResourceLocation:g8,options:s,poll:o(async(u,A)=>e.sendPollRequest(u,A),"poll"),setErrorAsResult:l})}o(qxe,"pollHttpOperation");var Gxe=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 Hxe(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=t8,restoreFrom:C}=d||{},E=Gxe(),y=h?(()=>{let Re=!1;return(le,Le)=>{Le?h(le):Re||h(le),Re=!0}})():void 0,I=C?s8(C):await i8({init:u,stateProxy:E,processResult:p,getOperationStatus:r,withOperationLocation:y,setErrorAsResult:!l}),B,x=new ZW.AbortController,R=new Map,q=o(async()=>R.forEach(Re=>Re(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(Re=>{let le=Symbol();return R.set(le,Re),()=>R.delete(le)},"onProgress"),pollUntilDone:o(Re=>B??(B=(async()=>{let{abortSignal:le}=Re||{},{signal:Le}=le?new ZW.AbortController([le,x.signal]):x;if(!be.isDone())for(await be.poll({abortSignal:Le});!be.isDone();)await vxe.delay(we,{abortSignal:Le}),await be.poll({abortSignal:Le});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(Re){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 o8({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:Re,setDelay:o(le=>{we=le},"setDelay"),setErrorAsResult:!l}),await q(),!l)switch(I.status){case"canceled":throw new Error(ye);case"failed":throw I.error}}};return be}}o(Hxe,"buildCreatePoller");async function zxe(t,e){let{resourceLocationConfig:r,intervalInMs:s,processResult:n,restoreFrom:i,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return Hxe({getStatusFromInitialResponse:h8,getStatusFromPollResponse:dP,isOperationError:E8,getOperationLocation:f8,getResourceLocation:g8,getPollingInterval:p8,getError:m8,resolveOnUnsuccessful:l})({init:o(async()=>{let u=await t.sendInitialRequest(),A=A8({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(zxe,"createHttpPoller");var $xe=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"),lP=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=$xe();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await Uxe({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 qxe({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 Nc.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},dC=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},pC=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},mC=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 pC("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 dC("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()}},uP=class extends mC{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:s=t8,resumeFrom:n,resolveOnUnsuccessful:i=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:u}=r||{},A=n?s8(n):{},d=new lP(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))}};Sc.LroEngine=uP;Sc.Poller=mC;Sc.PollerCancelledError=pC;Sc.PollerStoppedError=dC;Sc.createHttpPoller=zxe});var q8=f((Ont,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 H8=f((Fnt,G8)=>{var p0e=q8();G8.exports={version:p0e.version}});var NC=f(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});Ou.isJsonObject=Ou.typeofJsonValue=void 0;function I0e(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(I0e,"typeofJsonValue");Ou.typeofJsonValue=I0e;function B0e(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(B0e,"isJsonObject");Ou.isJsonObject=B0e});var RC=f(Fu=>{"use strict";Object.defineProperty(Fu,"__esModule",{value:!0});Fu.base64encode=Fu.base64decode=void 0;var fo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),SC=[];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(w0e,"base64decode");Fu.base64decode=w0e;function b0e(t){let e="",r=0,s,n=0;for(let i=0;i>2],n=(s&3)<<4,r=1;break;case 1:e+=fo[n|s>>4],n=(s&15)<<2,r=2;break;case 2:e+=fo[n|s>>6],e+=fo[s&63],r=0;break}return r&&(e+=fo[n],e+="=",r==1&&(e+="=")),e}o(b0e,"base64encode");Fu.base64encode=b0e});var W8=f(TC=>{"use strict";Object.defineProperty(TC,"__esModule",{value:!0});TC.utf8read=void 0;var wP=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function Q0e(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(wP(s)),n=0);return r.length?(n&&r.push(wP(s.slice(0,n))),r.join("")):wP(s.slice(0,n))}o(Q0e,"utf8read");TC.utf8read=Q0e});var cm=f(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.WireType=Qi.mergeBinaryOptions=Qi.UnknownFieldHandler=void 0;var x0e;(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")})(x0e=Qi.UnknownFieldHandler||(Qi.UnknownFieldHandler={}));function N0e(t,e){return Object.assign(Object.assign({},t),e)}o(N0e,"mergeBinaryOptions");Qi.mergeBinaryOptions=N0e;var S0e;(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"})(S0e=Qi.WireType||(Qi.WireType={}))});var PC=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 R0e(){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(T0e,"varint64write");$r.varint64write=T0e;var vC=65536*65536;function v0e(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>=vC&&(n=n+(s/vC|0),s=s%vC)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,s,n]}o(v0e,"int64fromString");$r.int64fromString=v0e;function P0e(t,e){if(e>>>0<=2097151)return""+(vC*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(P0e,"int64toString");$r.int64toString=P0e;function k0e(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(k0e,"varint32write");$r.varint32write=k0e;function D0e(){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(D0e,"varint32read");$r.varint32read=D0e});var da=f(Aa=>{"use strict";Object.defineProperty(Aa,"__esModule",{value:!0});Aa.PbLong=Aa.PbULong=Aa.detectBi=void 0;var lm=PC(),_e;function j8(){let t=new DataView(new ArrayBuffer(8));_e=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(j8,"detectBi");Aa.detectBi=j8;j8();function K8(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(K8,"assertBi");var X8=/^-?[0-9]+$/,DC=4294967296,kC=2147483648,_C=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*DC+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},um=class t extends _C{static{o(this,"PbULong")}static from(e){if(_e)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=_e.C(e);case"number":if(e===0)return this.ZERO;e=_e.C(e);case"bigint":if(!e)return this.ZERO;if(e<_e.UMIN)throw new Error("signed value for ulong");if(e>_e.UMAX)throw new Error("ulong too large");return _e.V.setBigUint64(0,e,!0),new t(_e.V.getInt32(0,!0),_e.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!X8.test(e))throw new Error("string is no integer");let[r,s,n]=lm.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/DC)}throw new Error("unknown value "+typeof e)}toString(){return _e?this.toBigInt().toString():lm.int64toString(this.lo,this.hi)}toBigInt(){return K8(_e),_e.V.setInt32(0,this.lo,!0),_e.V.setInt32(4,this.hi,!0),_e.V.getBigUint64(0,!0)}};Aa.PbULong=um;um.ZERO=new um(0,0);var Am=class t extends _C{static{o(this,"PbLong")}static from(e){if(_e)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=_e.C(e);case"number":if(e===0)return this.ZERO;e=_e.C(e);case"bigint":if(!e)return this.ZERO;if(e<_e.MIN)throw new Error("signed long too small");if(e>_e.MAX)throw new Error("signed long too large");return _e.V.setBigInt64(0,e,!0),new t(_e.V.getInt32(0,!0),_e.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!X8.test(e))throw new Error("string is no integer");let[r,s,n]=lm.int64fromString(e);if(r){if(n>kC||n==kC&&s!=0)throw new Error("signed long too small")}else if(n>=kC)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/DC):new t(-e,-e/DC).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&kC)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(_e)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+lm.int64toString(e.lo,e.hi)}return lm.int64toString(this.lo,this.hi)}toBigInt(){return K8(_e),_e.V.setInt32(0,this.lo,!0),_e.V.setInt32(4,this.hi,!0),_e.V.getBigInt64(0,!0)}};Aa.PbLong=Am;Am.ZERO=new Am(0,0)});var bP=f(qu=>{"use strict";Object.defineProperty(qu,"__esModule",{value:!0});qu.BinaryReader=qu.binaryReadOptions=void 0;var Uu=cm(),dm=da(),Z8=PC(),e5={readUnknownField:!0,readerFactory:o(t=>new LC(t),"readerFactory")};function _0e(t){return t?Object.assign(Object.assign({},e5),t):e5}o(_0e,"binaryReadOptions");qu.binaryReadOptions=_0e;var LC=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=Z8.varint64read,this.uint32=Z8.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 dm.PbLong(...this.varint64())}uint64(){return new dm.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 dm.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 dm.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new dm.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=LC});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 L0e(t,e){if(!t)throw new Error(e)}o(L0e,"assert");Ws.assert=L0e;function M0e(t,e){throw new Error(e??"Unexpected object: "+t)}o(M0e,"assertNever");Ws.assertNever=M0e;var O0e=34028234663852886e22,F0e=-34028234663852886e22,U0e=4294967295,q0e=2147483647,G0e=-2147483648;function H0e(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>q0e||tU0e||t<0)throw new Error("invalid uint 32: "+t)}o(z0e,"assertUInt32");Ws.assertUInt32=z0e;function $0e(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>O0e||t{"use strict";Object.defineProperty(zu,"__esModule",{value:!0});zu.BinaryWriter=zu.binaryWriteOptions=void 0;var pm=da(),mm=PC(),Hu=Gu(),t5={writeUnknownFields:!0,writerFactory:o(()=>new MC,"writerFactory")};function V0e(t){return t?Object.assign(Object.assign({},t5),t):t5}o(V0e,"binaryWriteOptions");zu.binaryWriteOptions=V0e;var MC=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),mm.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,mm.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),s=new DataView(r.buffer),n=pm.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=pm.PbULong.from(e);return s.setInt32(0,n.lo,!0),s.setInt32(4,n.hi,!0),this.raw(r)}int64(e){let r=pm.PbLong.from(e);return mm.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=pm.PbLong.from(e),s=r.hi>>31,n=r.lo<<1^s,i=(r.hi<<1|r.lo>>>31)^s;return mm.varint64write(n,i,this.buf),this}uint64(e){let r=pm.PbULong.from(e);return mm.varint64write(r.lo,r.hi,this.buf),this}};zu.BinaryWriter=MC});var xP=f(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});pa.mergeJsonOptions=pa.jsonWriteOptions=pa.jsonReadOptions=void 0;var r5={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},s5={ignoreUnknownFields:!1};function Y0e(t){return t?Object.assign(Object.assign({},s5),t):s5}o(Y0e,"jsonReadOptions");pa.jsonReadOptions=Y0e;function J0e(t){return t?Object.assign(Object.assign({},r5),t):r5}o(J0e,"jsonWriteOptions");pa.jsonWriteOptions=J0e;function W0e(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(W0e,"mergeJsonOptions");pa.mergeJsonOptions=W0e});var hm=f(OC=>{"use strict";Object.defineProperty(OC,"__esModule",{value:!0});OC.MESSAGE_TYPE=void 0;OC.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var NP=f(FC=>{"use strict";Object.defineProperty(FC,"__esModule",{value:!0});FC.lowerCamelCase=void 0;function j0e(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 n5=NP(),K0e;(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"})(K0e=Lt.ScalarType||(Lt.ScalarType={}));var X0e;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(X0e=Lt.LongType||(Lt.LongType={}));var i5;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(i5=Lt.RepeatType||(Lt.RepeatType={}));function Z0e(t){var e,r,s,n;return t.localName=(e=t.localName)!==null&&e!==void 0?e:n5.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:n5.lowerCamelCase(t.name),t.repeat=(s=t.repeat)!==null&&s!==void 0?s:i5.NO,t.opt=(n=t.opt)!==null&&n!==void 0?n:t.repeat||t.oneof?!1:t.kind=="message",t}o(Z0e,"normalizeFieldInfo");Lt.normalizeFieldInfo=Z0e;function eNe(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(eNe,"readFieldOptions");Lt.readFieldOptions=eNe;function tNe(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(tNe,"readFieldOption");Lt.readFieldOption=tNe;function rNe(t,e,r){let n=t.options[e];return n===void 0?n:r?r.fromJson(n):n}o(rNe,"readMessageOption");Lt.readMessageOption=rNe});var SP=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 sNe(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(sNe,"isOneofGroup");Vr.isOneofGroup=sNe;function nNe(t,e){return t[e]}o(nNe,"getOneofValue");Vr.getOneofValue=nNe;function iNe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(iNe,"setOneofValue");Vr.setOneofValue=iNe;function oNe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(oNe,"setUnknownOneofValue");Vr.setUnknownOneofValue=oNe;function aNe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(aNe,"clearOneofValue");Vr.clearOneofValue=aNe;function cNe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(cNe,"getSelectedOneofValue");Vr.getSelectedOneofValue=cNe});var TP=f(UC=>{"use strict";Object.defineProperty(UC,"__esModule",{value:!0});UC.ReflectionTypeCheck=void 0;var ut=Nn(),lNe=SP(),RP=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(!lNe.isOneofGroup(c))return!1;if(c.oneofKind===void 0)continue;let l=this.fields.find(u=>u.localName===c.oneofKind);if(!l||!this.field(c[c.oneofKind],l,s,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,s,r))return!1;return!0}field(e,r,s,n){let i=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:i?this.scalars(e,r.T,n,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:i?this.scalars(e,ut.ScalarType.INT32,n):this.scalar(e,ut.ScalarType.INT32);case"message":return e===void 0?!0:i?this.messages(e,r.T(),s,n):this.message(e,r.T(),s,n);case"map":if(typeof e!="object"||e===null)return!1;if(n<2)return!0;if(!this.mapKeys(e,r.K,n))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,n,r.V.L);case"enum":return this.scalars(Object.values(e),ut.ScalarType.INT32,n);case"message":return this.messages(Object.values(e),r.V.T(),s,n)}break}return!0}message(e,r,s,n){return s?r.isAssignable(e,n):r.is(e,n)}messages(e,r,s,n){if(!Array.isArray(e))return!1;if(n<2)return!0;if(s){for(let i=0;iparseInt(i)),r,s);case ut.ScalarType.BOOL:return this.scalars(n.slice(0,s).map(i=>i=="true"?!0:i=="false"?!1:i),r,s);default:return this.scalars(n,r,s,ut.LongType.STRING)}}};UC.ReflectionTypeCheck=RP});var GC=f(qC=>{"use strict";Object.defineProperty(qC,"__esModule",{value:!0});qC.reflectionLongConvert=void 0;var o5=Nn();function uNe(t,e){switch(e){case o5.LongType.BIGINT:return t.toBigInt();case o5.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(uNe,"reflectionLongConvert");qC.reflectionLongConvert=uNe});var PP=f($C=>{"use strict";Object.defineProperty($C,"__esModule",{value:!0});$C.ReflectionJsonReader=void 0;var a5=NC(),ANe=RC(),Mt=Nn(),HC=da(),Tc=Gu(),zC=GC(),vP=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"&&Tc.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 Tc.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:(Tc.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${s}, enum ${e[0]} has no value for "${r}".`),a)}Tc.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&&Tc.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?Tc.assertUInt32(c):Tc.assertInt32(c),c;case Mt.ScalarType.INT64:case Mt.ScalarType.SFIXED64:case Mt.ScalarType.SINT64:if(e===null)return zC.reflectionLongConvert(HC.PbLong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return zC.reflectionLongConvert(HC.PbLong.from(e),s);case Mt.ScalarType.FIXED64:case Mt.ScalarType.UINT64:if(e===null)return zC.reflectionLongConvert(HC.PbULong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return zC.reflectionLongConvert(HC.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 ANe.base64decode(e)}}catch(a){i=a.message}this.assert(!1,n+(i?" - "+i:""),e)}};$C.ReflectionJsonReader=vP});var DP=f(VC=>{"use strict";Object.defineProperty(VC,"__esModule",{value:!0});VC.ReflectionJsonWriter=void 0;var dNe=RC(),c5=da(),Qr=Nn(),Xe=Gu(),kP=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=c5.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=c5.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}}};VC.ReflectionJsonWriter=kP});var JC=f(YC=>{"use strict";Object.defineProperty(YC,"__esModule",{value:!0});YC.reflectionScalarDefault=void 0;var Sn=Nn(),l5=GC(),u5=da();function pNe(t,e=Sn.LongType.STRING){switch(t){case Sn.ScalarType.BOOL:return!1;case Sn.ScalarType.UINT64:case Sn.ScalarType.FIXED64:return l5.reflectionLongConvert(u5.PbULong.ZERO,e);case Sn.ScalarType.INT64:case Sn.ScalarType.SFIXED64:case Sn.ScalarType.SINT64:return l5.reflectionLongConvert(u5.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(pNe,"reflectionScalarDefault");YC.reflectionScalarDefault=pNe});var LP=f(WC=>{"use strict";Object.defineProperty(WC,"__esModule",{value:!0});WC.ReflectionBinaryReader=void 0;var A5=cm(),It=Nn(),fm=GC(),d5=JC(),_P=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(jC,"__esModule",{value:!0});jC.ReflectionBinaryWriter=void 0;var ys=cm(),Ue=Nn(),$u=Gu(),gm=da(),MP=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(KC,"__esModule",{value:!0});KC.reflectionCreate=void 0;var mNe=JC(),hNe=hm();function fNe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},hNe.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]=mNe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[s]=0;break;case"map":e[s]={};break}}return e}o(fNe,"reflectionCreate");KC.reflectionCreate=fNe});var UP=f(XC=>{"use strict";Object.defineProperty(XC,"__esModule",{value:!0});XC.reflectionMergePartial=void 0;function gNe(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(eI,"__esModule",{value:!0});eI.reflectionEquals=void 0;var qP=Nn();function ENe(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"?qP.ScalarType.INT32:s.T;if(!(s.repeat?p5(c,i,a):h5(c,i,a)))return!1;break;case"map":if(!(s.V.kind=="message"?m5(s.V.T(),ZC(i),ZC(a)):p5(s.V.kind=="enum"?qP.ScalarType.INT32:s.V.T,ZC(i),ZC(a))))return!1;break;case"message":let l=s.T();if(!(s.repeat?m5(l,i,a):l.equals(i,a)))return!1;break}}return!0}o(ENe,"reflectionEquals");eI.reflectionEquals=ENe;var ZC=Object.values;function h5(t,e,r){if(e===r)return!0;if(t!==qP.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(tI,"__esModule",{value:!0});tI.MessageType=void 0;var yNe=hm(),CNe=Nn(),INe=TP(),BNe=PP(),wNe=DP(),bNe=LP(),QNe=OP(),xNe=FP(),HP=UP(),NNe=NC(),f5=xP(),SNe=GP(),RNe=QP(),TNe=bP(),g5=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),vNe=g5[yNe.MESSAGE_TYPE]={},zP=class{static{o(this,"MessageType")}constructor(e,r,s){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(CNe.normalizeFieldInfo),this.options=s??{},vNe.value=this,this.messagePrototype=Object.create(null,g5),this.refTypeCheck=new INe.ReflectionTypeCheck(this),this.refJsonReader=new BNe.ReflectionJsonReader(this),this.refJsonWriter=new wNe.ReflectionJsonWriter(this),this.refBinReader=new bNe.ReflectionBinaryReader(this),this.refBinWriter=new QNe.ReflectionBinaryWriter(this)}create(e){let r=xNe.reflectionCreate(this);return e!==void 0&&HP.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return HP.reflectionMergePartial(this,r,e),r}equals(e,r){return SNe.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){HP.reflectionMergePartial(this,e,r)}fromBinary(e,r){let s=TNe.binaryReadOptions(r);return this.internalBinaryRead(s.readerFactory(e),e.byteLength,s)}fromJson(e,r){return this.internalJsonRead(e,f5.jsonReadOptions(r))}fromJsonString(e,r){let s=JSON.parse(e);return this.fromJson(s,r)}toJson(e,r){return this.internalJsonWrite(e,f5.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=RNe.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 ${NNe.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}};tI.MessageType=zP});var y5=f(rI=>{"use strict";Object.defineProperty(rI,"__esModule",{value:!0});rI.containsMessageType=void 0;var PNe=hm();function kNe(t){return t[PNe.MESSAGE_TYPE]!=null}o(kNe,"containsMessageType");rI.containsMessageType=kNe});var I5=f(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.listEnumNumbers=xi.listEnumNames=xi.listEnumValues=xi.isEnumObject=void 0;function C5(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(C5,"isEnumObject");xi.isEnumObject=C5;function $P(t){if(!C5(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($P,"listEnumValues");xi.listEnumValues=$P;function DNe(t){return $P(t).map(e=>e.name)}o(DNe,"listEnumNames");xi.listEnumNames=DNe;function _Ne(t){return $P(t).map(e=>e.number).filter((e,r,s)=>s.indexOf(e)==r)}o(_Ne,"listEnumNumbers");xi.listEnumNumbers=_Ne});var Bt=f(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});var B5=NC();Object.defineProperty(j,"typeofJsonValue",{enumerable:!0,get:o(function(){return B5.typeofJsonValue},"get")});Object.defineProperty(j,"isJsonObject",{enumerable:!0,get:o(function(){return B5.isJsonObject},"get")});var w5=RC();Object.defineProperty(j,"base64decode",{enumerable:!0,get:o(function(){return w5.base64decode},"get")});Object.defineProperty(j,"base64encode",{enumerable:!0,get:o(function(){return w5.base64encode},"get")});var LNe=W8();Object.defineProperty(j,"utf8read",{enumerable:!0,get:o(function(){return LNe.utf8read},"get")});var VP=cm();Object.defineProperty(j,"WireType",{enumerable:!0,get:o(function(){return VP.WireType},"get")});Object.defineProperty(j,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return VP.mergeBinaryOptions},"get")});Object.defineProperty(j,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return VP.UnknownFieldHandler},"get")});var b5=bP();Object.defineProperty(j,"BinaryReader",{enumerable:!0,get:o(function(){return b5.BinaryReader},"get")});Object.defineProperty(j,"binaryReadOptions",{enumerable:!0,get:o(function(){return b5.binaryReadOptions},"get")});var Q5=QP();Object.defineProperty(j,"BinaryWriter",{enumerable:!0,get:o(function(){return Q5.BinaryWriter},"get")});Object.defineProperty(j,"binaryWriteOptions",{enumerable:!0,get:o(function(){return Q5.binaryWriteOptions},"get")});var x5=da();Object.defineProperty(j,"PbLong",{enumerable:!0,get:o(function(){return x5.PbLong},"get")});Object.defineProperty(j,"PbULong",{enumerable:!0,get:o(function(){return x5.PbULong},"get")});var YP=xP();Object.defineProperty(j,"jsonReadOptions",{enumerable:!0,get:o(function(){return YP.jsonReadOptions},"get")});Object.defineProperty(j,"jsonWriteOptions",{enumerable:!0,get:o(function(){return YP.jsonWriteOptions},"get")});Object.defineProperty(j,"mergeJsonOptions",{enumerable:!0,get:o(function(){return YP.mergeJsonOptions},"get")});var MNe=hm();Object.defineProperty(j,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return MNe.MESSAGE_TYPE},"get")});var ONe=E5();Object.defineProperty(j,"MessageType",{enumerable:!0,get:o(function(){return ONe.MessageType},"get")});var vc=Nn();Object.defineProperty(j,"ScalarType",{enumerable:!0,get:o(function(){return vc.ScalarType},"get")});Object.defineProperty(j,"LongType",{enumerable:!0,get:o(function(){return vc.LongType},"get")});Object.defineProperty(j,"RepeatType",{enumerable:!0,get:o(function(){return vc.RepeatType},"get")});Object.defineProperty(j,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return vc.normalizeFieldInfo},"get")});Object.defineProperty(j,"readFieldOptions",{enumerable:!0,get:o(function(){return vc.readFieldOptions},"get")});Object.defineProperty(j,"readFieldOption",{enumerable:!0,get:o(function(){return vc.readFieldOption},"get")});Object.defineProperty(j,"readMessageOption",{enumerable:!0,get:o(function(){return vc.readMessageOption},"get")});var FNe=TP();Object.defineProperty(j,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return FNe.ReflectionTypeCheck},"get")});var UNe=FP();Object.defineProperty(j,"reflectionCreate",{enumerable:!0,get:o(function(){return UNe.reflectionCreate},"get")});var qNe=JC();Object.defineProperty(j,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return qNe.reflectionScalarDefault},"get")});var GNe=UP();Object.defineProperty(j,"reflectionMergePartial",{enumerable:!0,get:o(function(){return GNe.reflectionMergePartial},"get")});var HNe=GP();Object.defineProperty(j,"reflectionEquals",{enumerable:!0,get:o(function(){return HNe.reflectionEquals},"get")});var zNe=LP();Object.defineProperty(j,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return zNe.ReflectionBinaryReader},"get")});var $Ne=OP();Object.defineProperty(j,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return $Ne.ReflectionBinaryWriter},"get")});var VNe=PP();Object.defineProperty(j,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return VNe.ReflectionJsonReader},"get")});var YNe=DP();Object.defineProperty(j,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return YNe.ReflectionJsonWriter},"get")});var JNe=y5();Object.defineProperty(j,"containsMessageType",{enumerable:!0,get:o(function(){return JNe.containsMessageType},"get")});var Em=SP();Object.defineProperty(j,"isOneofGroup",{enumerable:!0,get:o(function(){return Em.isOneofGroup},"get")});Object.defineProperty(j,"setOneofValue",{enumerable:!0,get:o(function(){return Em.setOneofValue},"get")});Object.defineProperty(j,"getOneofValue",{enumerable:!0,get:o(function(){return Em.getOneofValue},"get")});Object.defineProperty(j,"clearOneofValue",{enumerable:!0,get:o(function(){return Em.clearOneofValue},"get")});Object.defineProperty(j,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return Em.getSelectedOneofValue},"get")});var sI=I5();Object.defineProperty(j,"listEnumValues",{enumerable:!0,get:o(function(){return sI.listEnumValues},"get")});Object.defineProperty(j,"listEnumNames",{enumerable:!0,get:o(function(){return sI.listEnumNames},"get")});Object.defineProperty(j,"listEnumNumbers",{enumerable:!0,get:o(function(){return sI.listEnumNumbers},"get")});Object.defineProperty(j,"isEnumObject",{enumerable:!0,get:o(function(){return sI.isEnumObject},"get")});var WNe=NP();Object.defineProperty(j,"lowerCamelCase",{enumerable:!0,get:o(function(){return WNe.lowerCamelCase},"get")});var ym=Gu();Object.defineProperty(j,"assert",{enumerable:!0,get:o(function(){return ym.assert},"get")});Object.defineProperty(j,"assertNever",{enumerable:!0,get:o(function(){return ym.assertNever},"get")});Object.defineProperty(j,"assertInt32",{enumerable:!0,get:o(function(){return ym.assertInt32},"get")});Object.defineProperty(j,"assertUInt32",{enumerable:!0,get:o(function(){return ym.assertUInt32},"get")});Object.defineProperty(j,"assertFloat32",{enumerable:!0,get:o(function(){return ym.assertFloat32},"get")})});var JP=f(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.readServiceOption=Ni.readMethodOption=Ni.readMethodOptions=Ni.normalizeMethodInfo=void 0;var jNe=Bt();function KNe(t,e){var r,s,n;let i=t;return i.service=e,i.localName=(r=i.localName)!==null&&r!==void 0?r:jNe.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(KNe,"normalizeMethodInfo");Ni.normalizeMethodInfo=KNe;function XNe(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(XNe,"readMethodOptions");Ni.readMethodOptions=XNe;function ZNe(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(ZNe,"readMethodOption");Ni.readMethodOption=ZNe;function eSe(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(eSe,"readServiceOption");Ni.readServiceOption=eSe});var N5=f(nI=>{"use strict";Object.defineProperty(nI,"__esModule",{value:!0});nI.ServiceType=void 0;var tSe=JP(),WP=class{static{o(this,"ServiceType")}constructor(e,r,s){this.typeName=e,this.methods=r.map(n=>tSe.normalizeMethodInfo(n,this)),this.options=s??{}}};nI.ServiceType=WP});var KP=f(iI=>{"use strict";Object.defineProperty(iI,"__esModule",{value:!0});iI.RpcError=void 0;var jP=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(` `)}};iI.RpcError=jP});var XP=f(aI=>{"use strict";Object.defineProperty(aI,"__esModule",{value:!0});aI.mergeRpcOptions=void 0;var S5=Bt();function rSe(t,e){if(!e)return t;let r={};oI(t,r),oI(e,r);for(let s of Object.keys(e)){let n=e[s];switch(s){case"jsonOptions":r.jsonOptions=S5.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=S5.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},oI(t.meta,r.meta),oI(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(n):n.concat();break}}return r}o(rSe,"mergeRpcOptions");aI.mergeRpcOptions=rSe;function oI(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(oI,"copy")});var ek=f(Pc=>{"use strict";Object.defineProperty(Pc,"__esModule",{value:!0});Pc.Deferred=Pc.DeferredState=void 0;var Si;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Si=Pc.DeferredState||(Pc.DeferredState={}));var ZP=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)}};Pc.Deferred=ZP});var rk=f(cI=>{"use strict";Object.defineProperty(cI,"__esModule",{value:!0});cI.RpcOutputStreamController=void 0;var R5=ek(),kc=Bt(),tk=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){kc.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){kc.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){kc.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(){kc.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;kc.assert(e,"bad state"),kc.assert(!e.p,"iterator contract broken");let r=e.q.shift();return r?"value"in r?Promise.resolve(r):Promise.reject(r):(e.p=new R5.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let s=r.p;kc.assert(s.state==R5.DeferredState.PENDING,"iterator contract broken"),"value"in e?s.resolve(e):s.reject(e),delete r.p}else r.q.push(e)}};cI.RpcOutputStreamController=tk});var nk=f(Vu=>{"use strict";var sSe=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 sk=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 sSe(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=sk});var ok=f(Yu=>{"use strict";var nSe=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 ik=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 nSe(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=ik});var ck=f(Ju=>{"use strict";var iSe=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 ak=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 iSe(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=ak});var uk=f(Wu=>{"use strict";var oSe=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 lk=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 oSe(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=lk});var v5=f(Xu=>{"use strict";var aSe=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=KP(),lI=Bt(),T5=rk(),cSe=XP(),lSe=nk(),uSe=ok(),ASe=ck(),dSe=uk(),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)?(lI.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),lI.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,s){return aSe(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)lI.assert(e.O.is(i)),n.push(i);else this.data.response instanceof js.RpcError||(lI.assert(e.O.is(this.data.response)),n.push(this.data.response));try{yield Jt(this.responseDelay,s)(void 0)}catch(i){r.notifyError(i);return}if(this.data.response instanceof js.RpcError){r.notifyError(this.data.response);return}for(let i of n){r.notifyMessage(i);try{yield Jt(this.betweenResponseDelay,s)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof js.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof js.RpcError){r.notifyError(this.data.trailers);return}r.notifyComplete()})}promiseStatus(){var e;let r=(e=this.data.status)!==null&&e!==void 0?e:t.defaultStatus;return r instanceof js.RpcError?Promise.reject(r):Promise.resolve(r)}promiseTrailers(){var e;let r=(e=this.data.trailers)!==null&&e!==void 0?e:t.defaultTrailers;return r instanceof js.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return cSe.mergeRpcOptions({},e)}unary(e,r,s){var n;let i=(n=s.meta)!==null&&n!==void 0?n:{},a=this.promiseHeaders().then(Jt(this.headerDelay,s.abort)),c=a.catch(A=>{}).then(Jt(this.responseDelay,s.abort)).then(A=>this.promiseSingleResponse(e)),l=c.catch(A=>{}).then(Jt(this.afterResponseDelay,s.abort)).then(A=>this.promiseStatus()),u=c.catch(A=>{}).then(Jt(this.afterResponseDelay,s.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new lSe.UnaryCall(e,i,r,a,c,l,u)}serverStreaming(e,r,s){var n;let i=(n=s.meta)!==null&&n!==void 0?n:{},a=this.promiseHeaders().then(Jt(this.headerDelay,s.abort)),c=new T5.RpcOutputStreamController,l=a.then(Jt(this.responseDelay,s.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,s.abort)).then(Jt(this.afterResponseDelay,s.abort)),u=l.then(()=>this.promiseStatus()),A=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(u,A),this.lastInput={single:r},new uSe.ServerStreamingCall(e,i,r,a,c,u,A)}clientStreaming(e,r){var s;let n=(s=r.meta)!==null&&s!==void 0?s:{},i=this.promiseHeaders().then(Jt(this.headerDelay,r.abort)),a=i.catch(u=>{}).then(Jt(this.responseDelay,r.abort)).then(u=>this.promiseSingleResponse(e)),c=a.catch(u=>{}).then(Jt(this.afterResponseDelay,r.abort)).then(u=>this.promiseStatus()),l=a.catch(u=>{}).then(Jt(this.afterResponseDelay,r.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new ju(this.data,r.abort),new ASe.ClientStreamingCall(e,n,this.lastInput,i,a,c,l)}duplex(e,r){var s;let n=(s=r.meta)!==null&&s!==void 0?s:{},i=this.promiseHeaders().then(Jt(this.headerDelay,r.abort)),a=new T5.RpcOutputStreamController,c=i.then(Jt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(Jt(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput=new 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 Jt(t,e){return r=>new Promise((s,n)=>{if(e?.aborted)n(new js.RpcError("user cancel","CANCELLED"));else{let i=setTimeout(()=>s(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(i),n(new js.RpcError("user cancel","CANCELLED"))})}})}o(Jt,"delay");var 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(Jt(r,this.abort))}complete(){if(this.data.inputComplete instanceof js.RpcError)return Promise.reject(this.data.inputComplete);let e=this.data.inputComplete===void 0?10:this.data.inputComplete;return Promise.resolve(void 0).then(()=>{this._completed=!0}).then(Jt(e,this.abort))}}});var P5=f(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.stackDuplexStreamingInterceptors=Ks.stackClientStreamingInterceptors=Ks.stackServerStreamingInterceptors=Ks.stackUnaryInterceptors=Ks.stackIntercept=void 0;var pSe=Bt();function Cm(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)}pSe.assertNever(t)}o(Cm,"stackIntercept");Ks.stackIntercept=Cm;function mSe(t,e,r,s){return Cm("unary",t,e,s,r)}o(mSe,"stackUnaryInterceptors");Ks.stackUnaryInterceptors=mSe;function hSe(t,e,r,s){return Cm("serverStreaming",t,e,s,r)}o(hSe,"stackServerStreamingInterceptors");Ks.stackServerStreamingInterceptors=hSe;function fSe(t,e,r){return Cm("clientStreaming",t,e,r)}o(fSe,"stackClientStreamingInterceptors");Ks.stackClientStreamingInterceptors=fSe;function gSe(t,e,r){return Cm("duplex",t,e,r)}o(gSe,"stackDuplexStreamingInterceptors");Ks.stackDuplexStreamingInterceptors=gSe});var k5=f(uI=>{"use strict";Object.defineProperty(uI,"__esModule",{value:!0});uI.ServerCallContextController=void 0;var Ak=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)}}};uI.ServerCallContextController=Ak});var _5=f(At=>{"use strict";Object.defineProperty(At,"__esModule",{value:!0});var ESe=N5();Object.defineProperty(At,"ServiceType",{enumerable:!0,get:o(function(){return ESe.ServiceType},"get")});var dk=JP();Object.defineProperty(At,"readMethodOptions",{enumerable:!0,get:o(function(){return dk.readMethodOptions},"get")});Object.defineProperty(At,"readMethodOption",{enumerable:!0,get:o(function(){return dk.readMethodOption},"get")});Object.defineProperty(At,"readServiceOption",{enumerable:!0,get:o(function(){return dk.readServiceOption},"get")});var ySe=KP();Object.defineProperty(At,"RpcError",{enumerable:!0,get:o(function(){return ySe.RpcError},"get")});var CSe=XP();Object.defineProperty(At,"mergeRpcOptions",{enumerable:!0,get:o(function(){return CSe.mergeRpcOptions},"get")});var ISe=rk();Object.defineProperty(At,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return ISe.RpcOutputStreamController},"get")});var BSe=v5();Object.defineProperty(At,"TestTransport",{enumerable:!0,get:o(function(){return BSe.TestTransport},"get")});var D5=ek();Object.defineProperty(At,"Deferred",{enumerable:!0,get:o(function(){return D5.Deferred},"get")});Object.defineProperty(At,"DeferredState",{enumerable:!0,get:o(function(){return D5.DeferredState},"get")});var wSe=uk();Object.defineProperty(At,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return wSe.DuplexStreamingCall},"get")});var bSe=ck();Object.defineProperty(At,"ClientStreamingCall",{enumerable:!0,get:o(function(){return bSe.ClientStreamingCall},"get")});var QSe=ok();Object.defineProperty(At,"ServerStreamingCall",{enumerable:!0,get:o(function(){return QSe.ServerStreamingCall},"get")});var xSe=nk();Object.defineProperty(At,"UnaryCall",{enumerable:!0,get:o(function(){return xSe.UnaryCall},"get")});var Im=P5();Object.defineProperty(At,"stackIntercept",{enumerable:!0,get:o(function(){return Im.stackIntercept},"get")});Object.defineProperty(At,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return Im.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(At,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return Im.stackClientStreamingInterceptors},"get")});Object.defineProperty(At,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return Im.stackServerStreamingInterceptors},"get")});Object.defineProperty(At,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return Im.stackUnaryInterceptors},"get")});var NSe=k5();Object.defineProperty(At,"ServerCallContextController",{enumerable:!0,get:o(function(){return NSe.ServerCallContextController},"get")})});var Z5=f((Aat,X5)=>{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");X5.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 ej=f(Oc=>{var FSe=Z5();Oc.operation=function(t){var e=Oc.timeouts(t);return new FSe(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};Oc.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{tj.exports=ej()});var nj=f((fat,sj)=>{var USe=rj();function qSe(t,e){function r(s,n){var i=e||{},a;"randomize"in i||(i.randomize=!0),a=USe.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(qSe,"retry");sj.exports=qSe});var xr=f(Bs=>{"use strict";Bs.__esModule=!0;Bs.extend=ij;Bs.indexOf=VSe;Bs.escapeExpression=YSe;Bs.isEmpty=JSe;Bs.createFrame=WSe;Bs.blockParams=jSe;Bs.appendContextPath=KSe;var GSe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},HSe=/[&<>"'`=]/g,zSe=/[&<>"'`=]/;function $Se(t){return GSe[t]}o($Se,"escapeChar");function ij(t){for(var e=1;e{"use strict";yI.__esModule=!0;var $k=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Vk(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<$k.length;l++)this[$k[l]]=c[$k[l]];Error.captureStackTrace&&Error.captureStackTrace(this,Vk);try{r&&(this.lineNumber=s,this.endLineNumber=n,Object.defineProperty?(Object.defineProperty(this,"column",{value:i,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:a,enumerable:!0})):(this.column=i,this.endColumn=a))}catch{}}o(Vk,"Exception");Vk.prototype=new Error;yI.default=Vk;aj.exports=yI.default});var lj=f((CI,cj)=>{"use strict";CI.__esModule=!0;var Yk=xr();CI.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var s=r.inverse,n=r.fn;if(e===!0)return n(this);if(e===!1||e==null)return s(this);if(Yk.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):s(this);if(r.data&&r.ids){var i=Yk.createFrame(r.data);i.contextPath=Yk.appendContextPath(r.data.contextPath,r.name),r={data:i}}return n(e,r)})};cj.exports=CI.default});var Aj=f((II,uj)=>{"use strict";II.__esModule=!0;function XSe(t){return t&&t.__esModule?t:{default:t}}o(XSe,"_interopRequireDefault");var bm=xr(),ZSe=ws(),eRe=XSe(ZSe);II.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new eRe.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=bm.appendContextPath(r.data.contextPath,r.ids[0])+"."),bm.isFunction(e)&&(e=e.call(this)),r.data&&(c=bm.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:bm.blockParams([e[h],h],[l+h,null])})}if(o(u,"execIteration"),e&&typeof e=="object")if(bm.isArray(e))for(var A=e.length;i{"use strict";BI.__esModule=!0;function tRe(t){return t&&t.__esModule?t:{default:t}}o(tRe,"_interopRequireDefault");var rRe=ws(),sRe=tRe(rRe);BI.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new sRe.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};dj.exports=BI.default});var gj=f((wI,fj)=>{"use strict";wI.__esModule=!0;function nRe(t){return t&&t.__esModule?t:{default:t}}o(nRe,"_interopRequireDefault");var mj=xr(),iRe=ws(),hj=nRe(iRe);wI.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new hj.default("#if requires exactly one argument");return mj.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||mj.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new hj.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};fj.exports=wI.default});var yj=f((bI,Ej)=>{"use strict";bI.__esModule=!0;bI.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],s=0;s{"use strict";QI.__esModule=!0;QI.default=function(t){t.registerHelper("lookup",function(e,r,s){return e&&s.lookupProperty(e,r)})};Cj.exports=QI.default});var wj=f((xI,Bj)=>{"use strict";xI.__esModule=!0;function oRe(t){return t&&t.__esModule?t:{default:t}}o(oRe,"_interopRequireDefault");var Qm=xr(),aRe=ws(),cRe=oRe(aRe);xI.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new cRe.default("#with requires exactly one argument");Qm.isFunction(e)&&(e=e.call(this));var s=r.fn;if(Qm.isEmpty(e))return r.inverse(this);var n=r.data;return r.data&&r.ids&&(n=Qm.createFrame(r.data),n.contextPath=Qm.appendContextPath(r.data.contextPath,r.ids[0])),s(e,{data:n,blockParams:Qm.blockParams([e],[n&&n.contextPath])})})};Bj.exports=xI.default});var Jk=f(NI=>{"use strict";NI.__esModule=!0;NI.registerDefaultHelpers=wRe;NI.moveHelperToHooks=bRe;function Fc(t){return t&&t.__esModule?t:{default:t}}o(Fc,"_interopRequireDefault");var lRe=lj(),uRe=Fc(lRe),ARe=Aj(),dRe=Fc(ARe),pRe=pj(),mRe=Fc(pRe),hRe=gj(),fRe=Fc(hRe),gRe=yj(),ERe=Fc(gRe),yRe=Ij(),CRe=Fc(yRe),IRe=wj(),BRe=Fc(IRe);function wRe(t){uRe.default(t),dRe.default(t),mRe.default(t),fRe.default(t),ERe.default(t),CRe.default(t),BRe.default(t)}o(wRe,"registerDefaultHelpers");function bRe(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(bRe,"moveHelperToHooks")});var Qj=f((SI,bj)=>{"use strict";SI.__esModule=!0;var QRe=xr();SI.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=QRe.extend({},l,r.partials);var u=e(a,c);return s.partials=l,u},"ret")),r.partials[n.args[0]]=n.fn,i})};bj.exports=SI.default});var xj=f(Wk=>{"use strict";Wk.__esModule=!0;Wk.registerDefaultDecorators=RRe;function xRe(t){return t&&t.__esModule?t:{default:t}}o(xRe,"_interopRequireDefault");var NRe=Qj(),SRe=xRe(NRe);function RRe(t){SRe.default(t)}o(RRe,"registerDefaultDecorators")});var jk=f((RI,Nj)=>{"use strict";RI.__esModule=!0;var TRe=xr(),eA={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=TRe.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";xm.__esModule=!0;xm.createProtoAccessControl=DRe;xm.resultIsAllowed=_Re;xm.resetLoggedProperties=MRe;function vRe(t){return t&&t.__esModule?t:{default:t}}o(vRe,"_interopRequireDefault");var Sj=xr(),PRe=jk(),kRe=vRe(PRe),TI=Object.create(null);function DRe(t){var e=Object.create(null);e.__proto__=!1,Sj.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,Sj.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(DRe,"createProtoAccessControl");function _Re(t,e,r){return Rj(typeof t=="function"?e.methods:e.properties,r)}o(_Re,"resultIsAllowed");function Rj(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(LRe(e),!1)}o(Rj,"checkWhiteList");function LRe(t){TI[t]!==!0&&(TI[t]=!0,kRe.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(LRe,"logUnexpecedPropertyAccessOnce");function MRe(){Object.keys(TI).forEach(function(t){delete TI[t]})}o(MRe,"resetLoggedProperties")});var PI=f(vi=>{"use strict";vi.__esModule=!0;vi.HandlebarsEnvironment=eD;function Tj(t){return t&&t.__esModule?t:{default:t}}o(Tj,"_interopRequireDefault");var Uc=xr(),ORe=ws(),Xk=Tj(ORe),FRe=Jk(),URe=xj(),qRe=jk(),vI=Tj(qRe),GRe=Kk(),HRe="4.7.9";vi.VERSION=HRe;var zRe=8;vi.COMPILER_REVISION=zRe;var $Re=7;vi.LAST_COMPATIBLE_COMPILER_REVISION=$Re;var VRe={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=VRe;var Zk="[object Object]";function eD(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},FRe.registerDefaultHelpers(this),URe.registerDefaultDecorators(this)}o(eD,"HandlebarsEnvironment");eD.prototype={constructor:eD,logger:vI.default,log:vI.default.log,registerHelper:o(function(e,r){if(Uc.toString.call(e)===Zk){if(r)throw new Xk.default("Arg not supported with multiple helpers");Uc.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(Uc.toString.call(e)===Zk)Uc.extend(this.partials,e);else{if(typeof r>"u")throw new Xk.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},"registerPartial"),unregisterPartial:o(function(e){delete this.partials[e]},"unregisterPartial"),registerDecorator:o(function(e,r){if(Uc.toString.call(e)===Zk){if(r)throw new Xk.default("Arg not supported with multiple decorators");Uc.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){GRe.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var YRe=vI.default.log;vi.log=YRe;vi.createFrame=Uc.createFrame;vi.logger=vI.default});var Pj=f((kI,vj)=>{"use strict";kI.__esModule=!0;function tD(t){this.string=t}o(tD,"SafeString");tD.prototype.toString=tD.prototype.toHTML=function(){return""+this.string};kI.default=tD;vj.exports=kI.default});var kj=f(rD=>{"use strict";rD.__esModule=!0;rD.wrapHelper=JRe;function JRe(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(JRe,"wrapHelper")});var Fj=f(ha=>{"use strict";ha.__esModule=!0;ha.checkRevision=eTe;ha.template=tTe;ha.wrapProgram=DI;ha.resolvePartial=rTe;ha.invokePartial=sTe;ha.noop=Mj;function WRe(t){return t&&t.__esModule?t:{default:t}}o(WRe,"_interopRequireDefault");function jRe(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(jRe,"_interopRequireWildcard");var KRe=xr(),tA=jRe(KRe),XRe=ws(),Eo=WRe(XRe),yo=PI(),Dj=Jk(),ZRe=kj(),_j=Kk();function eTe(t){var e=t&&t[0]||1,r=yo.COMPILER_REVISION;if(!(e>=yo.LAST_COMPATIBLE_COMPILER_REVISION&&e<=yo.COMPILER_REVISION))if(e{"use strict";LI.__esModule=!0;LI.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}};Uj.exports=LI.default});var $j=f((MI,zj)=>{"use strict";MI.__esModule=!0;function iD(t){return t&&t.__esModule?t:{default:t}}o(iD,"_interopRequireDefault");function oD(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(oD,"_interopRequireWildcard");var oTe=PI(),qj=oD(oTe),aTe=Pj(),cTe=iD(aTe),lTe=ws(),uTe=iD(lTe),ATe=xr(),nD=oD(ATe),dTe=Fj(),Gj=oD(dTe),pTe=sD(),mTe=iD(pTe);function Hj(){var t=new qj.HandlebarsEnvironment;return nD.extend(t,qj),t.SafeString=cTe.default,t.Exception=uTe.default,t.Utils=nD,t.escapeExpression=nD.escapeExpression,t.VM=Gj,t.template=function(e){return Gj.template(e,t)},t}o(Hj,"create");var Nm=Hj();Nm.create=Hj;mTe.default(Nm);Nm.default=Nm;MI.default=Nm;zj.exports=MI.default});var aD=f((OI,Yj)=>{"use strict";OI.__esModule=!0;var Vj={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&&!Vj.helpers.scopedId(e)&&!e.depth},"simpleId")}};OI.default=Vj;Yj.exports=OI.default});var Wj=f((FI,Jj)=>{"use strict";FI.__esModule=!0;var hTe=(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={},Re,le,Le,se;;){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){se=[];for(Re in u[R])this.terminals_[Re]&&Re>2&&se.push("'"+this.terminals_[Re]+"'");this.lexer.showPosition?Ar="Parse error on line "+(d+1)+`: `+this.lexer.showPosition()+` Expecting `+se.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:se})}}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(le=this.productions_[q[1]][1],be.$=c[c.length-le],be._$={first_line:l[l.length-(le||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(le||1)].first_column,last_column:l[l.length-1].last_column},E&&(be._$.range=[l[l.length-(le||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;le&&(a=a.slice(0,-1*le*2),c=c.slice(0,-1*le),l=l.slice(0,-1*le)),a.push(this.productions_[q[1]][0]),c.push(be.$),l.push(be._$),Le=u[a[a.length-2]][a[a.length-1]],a.push(Le);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})();FI.default=hTe;Jj.exports=FI.default});var HI=f((GI,Xj)=>{"use strict";GI.__esModule=!0;function fTe(t){return t&&t.__esModule?t:{default:t}}o(fTe,"_interopRequireDefault");var gTe=ws(),cD=fTe(gTe);function UI(){this.parents=[]}o(UI,"Visitor");UI.prototype={constructor:UI,mutating:!1,acceptKey:o(function(e,r){var s=this.accept(e[r]);if(this.mutating){if(s&&!UI.prototype[s.type])throw new cD.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 cD.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,s=e.length;r{"use strict";zI.__esModule=!0;function ETe(t){return t&&t.__esModule?t:{default:t}}o(ETe,"_interopRequireDefault");var yTe=HI(),CTe=ETe(yTe);function Pi(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(Pi,"WhitespaceControl");Pi.prototype=new CTe.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=wTe;Zs.id=bTe;Zs.stripFlags=QTe;Zs.stripComment=xTe;Zs.preparePath=NTe;Zs.prepareMustache=STe;Zs.prepareRawBlock=RTe;Zs.prepareBlock=TTe;Zs.prepareProgram=vTe;Zs.preparePartialBlock=PTe;function ITe(t){return t&&t.__esModule?t:{default:t}}o(ITe,"_interopRequireDefault");var BTe=ws(),AD=ITe(BTe);function dD(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new AD.default(t.path.original+" doesn't match "+e,r)}}o(dD,"validateClose");function wTe(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(wTe,"SourceLocation");function bTe(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(bTe,"id");function QTe(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(QTe,"stripFlags");function xTe(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(xTe,"stripComment");function NTe(t,e,r){r=this.locInfo(r);for(var s=t?"@":"",n=[],i=0,a=0,c=e.length;a0)throw new AD.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(NTe,"preparePath");function STe(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(STe,"prepareMustache");function RTe(t,e,r,s){dD(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(RTe,"prepareRawBlock");function TTe(t,e,r,s,n,i){s&&s.path&&dD(t,s);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new AD.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(TTe,"prepareBlock");function vTe(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(vTe,"prepareProgram");function PTe(t,e,r,s){return dD(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(PTe,"preparePartialBlock")});var s9=f(Rm=>{"use strict";Rm.__esModule=!0;Rm.parseWithoutProcessing=r9;Rm.parse=qTe;function kTe(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(kTe,"_interopRequireWildcard");function hD(t){return t&&t.__esModule?t:{default:t}}o(hD,"_interopRequireDefault");var DTe=Wj(),pD=hD(DTe),_Te=e9(),LTe=hD(_Te),MTe=t9(),OTe=kTe(MTe),FTe=ws(),Sm=hD(FTe),UTe=xr();Rm.parser=pD.default;var $I={};UTe.extend($I,OTe);function r9(t,e){if(t.type==="Program")return GTe(t),t;pD.default.yy=$I,$I.locInfo=function(s){return new $I.SourceLocation(e&&e.srcName,s)};var r=pD.default.parse(t);return r}o(r9,"parseWithoutProcessing");function qTe(t,e){var r=r9(t,e),s=new LTe.default(e);return s.accept(r)}o(qTe,"parse");function GTe(t){mD(t)}o(GTe,"validateInputAst");function mD(t){if(t!=null){if(Array.isArray(t)){t.forEach(mD);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!HTe(t.depth))throw new Sm.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new Sm.default("Invalid AST: PathExpression.parts must be an array");for(var e=0;e=0}o(HTe,"isValidDepth")});var a9=f(km=>{"use strict";km.__esModule=!0;km.Compiler=fD;km.precompile=YTe;km.compile=JTe;function i9(t){return t&&t.__esModule?t:{default:t}}o(i9,"_interopRequireDefault");var zTe=ws(),vm=i9(zTe),Pm=xr(),$Te=aD(),Tm=i9($Te),VTe=[].slice;function fD(){}o(fD,"Compiler");fD.prototype={compiler:fD,equals:o(function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var s=0;s1)throw new vm.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){n9(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 vm.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,Tm.default.helpers.simpleId(i))}},"helperSexpr"),PathExpression:o(function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],s=Tm.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 YTe(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new vm.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(YTe,"precompile");function JTe(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new vm.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=Pm.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(JTe,"compile");function o9(t,e){if(t===e)return!0;if(Pm.isArray(t)&&Pm.isArray(e)&&t.length===e.length){for(var r=0;r{var c9="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");gD.encode=function(t){if(0<=t&&t{var u9=l9(),ED=5,A9=1<>1;return e?-r:r}o(jTe,"fromVLQSigned");yD.encode=o(function(e){var r="",s,n=WTe(e);do s=n&d9,n>>>=ED,n>0&&(s|=p9),r+=u9.encode(s);while(n>0);return r},"base64VLQ_encode");yD.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=u9.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&p9),l&=d9,i=i+(l<{function KTe(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(KTe,"getArg");lr.getArg=KTe;var m9=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,XTe=/^data:.+\,.+$/;function Dm(t){var e=t.match(m9);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o(Dm,"urlParse");lr.urlParse=Dm;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 ID(t){var e=t,r=Dm(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(ID,"normalize");lr.normalize=ID;function h9(t,e){t===""&&(t="."),e===""&&(e=".");var r=Dm(e),s=Dm(t);if(s&&(t=s.path||"/"),r&&!r.scheme)return s&&(r.scheme=s.scheme),rA(r);if(r||e.match(XTe))return e;if(s&&!s.host&&!s.path)return s.host=e,rA(s);var n=e.charAt(0)==="/"?e:ID(t.replace(/\/+$/,"")+"/"+e);return s?(s.path=n,rA(s)):n}o(h9,"join");lr.join=h9;lr.isAbsolute=function(t){return t.charAt(0)==="/"||m9.test(t)};function ZTe(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(ZTe,"relative");lr.relative=ZTe;var f9=(function(){var t=Object.create(null);return!("__proto__"in t)})();function g9(t){return t}o(g9,"identity");function eve(t){return E9(t)?"$"+t:t}o(eve,"toSetString");lr.toSetString=f9?g9:eve;function tve(t){return E9(t)?t.slice(1):t}o(tve,"fromSetString");lr.fromSetString=f9?g9:tve;function E9(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(E9,"isProtoString");function rve(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(rve,"compareByOriginalPositions");lr.compareByOriginalPositions=rve;function sve(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(sve,"compareByGeneratedPositionsDeflated");lr.compareByGeneratedPositionsDeflated=sve;function sA(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(sA,"strcmp");function nve(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(nve,"compareByGeneratedPositionsInflated");lr.compareByGeneratedPositionsInflated=nve;function ive(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(ive,"parseSourceMapInput");lr.parseSourceMapInput=ive;function ove(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var s=Dm(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=h9(rA(s),e)}return ID(e)}o(ove,"computeSourceURL");lr.computeSourceURL=ove});var bD=f(y9=>{var BD=nA(),wD=Object.prototype.hasOwnProperty,Gc=typeof Map<"u";function Co(){this._array=[],this._set=Gc?new Map:Object.create(null)}o(Co,"ArraySet");Co.fromArray=o(function(e,r){for(var s=new Co,n=0,i=e.length;n=0)return r}else{var s=BD.toSetString(e);if(wD.call(this._set,s))return this._set[s]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");Co.prototype.at=o(function(e){if(e>=0&&e{var C9=nA();function ave(t,e){var r=t.generatedLine,s=e.generatedLine,n=t.generatedColumn,i=e.generatedColumn;return s>r||s==r&&i>=n||C9.compareByGeneratedPositionsInflated(t,e)<=0}o(ave,"generatedPositionAfter");function VI(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(VI,"MappingList");VI.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");VI.prototype.add=o(function(e){ave(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");VI.prototype.toArray=o(function(){return this._sorted||(this._array.sort(C9.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");I9.MappingList=VI});var QD=f(w9=>{var _m=CD(),Tt=nA(),YI=bD().ArraySet,cve=B9().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 YI,this._names=new YI,this._mappings=new cve,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 YI,c=new YI;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+=_m.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(d=this._sources.indexOf(u.source),l+=_m.encode(d-a),a=d,l+=_m.encode(u.originalLine-1-n),n=u.originalLine-1,l+=_m.encode(u.originalColumn-s),s=u.originalColumn,u.name!=null&&(A=this._names.indexOf(u.name),l+=_m.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");w9.SourceMapGenerator=en});var b9=f(Hc=>{Hc.GREATEST_LOWER_BOUND=1;Hc.LEAST_UPPER_BOUND=2;function xD(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?xD(a,e,r,s,n,i):i==Hc.LEAST_UPPER_BOUND?e1?xD(t,a,r,s,n,i):i==Hc.LEAST_UPPER_BOUND?a:t<0?-1:t}o(xD,"recursiveSearch");Hc.search=o(function(e,r,s,n){if(r.length===0)return-1;var i=xD(-1,r.length,e,r,s,n||Hc.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 x9=f(Q9=>{function ND(t,e,r){var s=t[e];t[e]=t[r],t[r]=s}o(ND,"swap");function lve(t,e){return Math.round(t+Math.random()*(e-t))}o(lve,"randomIntInRange");function SD(t,e,r,s){if(r{var H=nA(),RD=b9(),iA=bD().ArraySet,uve=CD(),Lm=x9().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,RD.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");JI.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)}Lm(h,H.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,Lm(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 RD.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");JI.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 Ave=QD().SourceMapGenerator,WI=nA(),dve=/(\r?\n)/,pve=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{jI.SourceMapGenerator=QD().SourceMapGenerator;jI.SourceMapConsumer=S9().SourceMapConsumer;jI.SourceNode=T9().SourceNode});var _9=f((KI,D9)=>{"use strict";KI.__esModule=!0;var vD=xr(),zc=void 0;try{(typeof define!="function"||!define.amd)&&(P9=v9(),zc=P9.SourceNode)}catch{}var P9;zc||(zc=o(function(t,e,r,s){this.src="",s&&this.add(s)},"SourceNode"),zc.prototype={add:o(function(e){vD.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){vD.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 TD(t,e,r){if(vD.isArray(t)){for(var s=[],n=0,i=t.length;n{"use strict";XI.__esModule=!0;function O9(t){return t&&t.__esModule?t:{default:t}}o(O9,"_interopRequireDefault");var L9=PI(),mve=ws(),PD=O9(mve),hve=xr(),fve=_9(),M9=O9(fve);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=L9.COMPILER_REVISION,r=L9.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,s){return hve.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(gve(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";ZI.__esModule=!0;function Mm(t){return t&&t.__esModule?t:{default:t}}o(Mm,"_interopRequireDefault");var Eve=$j(),yve=Mm(Eve),Cve=aD(),Ive=Mm(Cve),kD=s9(),DD=a9(),Bve=U9(),wve=Mm(Bve),bve=HI(),Qve=Mm(bve),xve=sD(),Nve=Mm(xve),Sve=yve.default.create;function q9(){var t=Sve();return t.compile=function(e,r){return DD.compile(e,r,t)},t.precompile=function(e,r){return DD.precompile(e,r,t)},t.AST=Ive.default,t.Compiler=DD.Compiler,t.JavaScriptCompiler=wve.default,t.Parser=kD.parser,t.parse=kD.parse,t.parseWithoutProcessing=kD.parseWithoutProcessing,t}o(q9,"create");var lA=q9();lA.create=q9;Nve.default(lA);lA.Visitor=Qve.default;lA.default=lA;ZI.default=lA;G9.exports=ZI.default});var z9=f(eB=>{"use strict";eB.__esModule=!0;eB.print=Pve;eB.PrintVisitor=dt;function Rve(t){return t&&t.__esModule?t:{default:t}}o(Rve,"_interopRequireDefault");var Tve=HI(),vve=Rve(Tve);function Pve(t){return new dt().accept(t)}o(Pve,"print");function dt(){this.padding=0}o(dt,"PrintVisitor");dt.prototype=new vve.default;dt.prototype.pad=function(t){for(var e="",r=0,s=this.padding;r "+e+" }}")};dt.prototype.PartialBlockStatement=function(t){var e="PARTIAL BLOCK:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),e+=" "+this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--,this.pad("{{> "+e+" }}")};dt.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};dt.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};dt.prototype.SubExpression=function(t){for(var e=t.params,r=[],s=void 0,n=0,i=e.length;n{var De=require("fs"),sB=require("os"),Ot=require("path"),J9=require("crypto"),ki={fs:De.constants,os:sB.constants},W9="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Z9=/XXXXXX/,kve=3,e6=(ki.O_CREAT||ki.fs.O_CREAT)|(ki.O_EXCL||ki.fs.O_EXCL)|(ki.O_RDWR||ki.fs.O_RDWR),Dve=sB.platform()==="win32",_ve=ki.EBADF||ki.os.errno.EBADF,Lve=ki.ENOENT||ki.os.errno.ENOENT,t6=448,r6=384,Mve="exit",uA=[],s6=De.rmdirSync.bind(De),n6=!1;function Ove(t,e){return De.rm(t,{recursive:!0},e)}o(Ove,"rimraf");function i6(t){return De.rmSync(t,{recursive:!0})}o(i6,"FN_RIMRAF_SYNC");function FD(t,e){let r=AA(t,e),s=r[0],n=r[1];Jve(s,function(i,a){if(i)return n(i);let c=a.tries;o((function l(){try{let u=a6(a);De.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(FD,"tmpName");function UD(t){let e=AA(t),r=e[0],s=Wve(r),n=s.tries;do{let i=a6(s);try{De.statSync(i)}catch{return i}}while(n-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(UD,"tmpNameSync");function Fve(t,e){let r=AA(t,e),s=r[0],n=r[1];FD(s,o(function(a,c){if(a)return n(a);De.open(c,e6,s.mode||r6,o(function(u,A){if(u)return n(u);if(s.discardDescriptor)return De.close(A,o(function(p){return n(p,c,void 0,MD(c,-1,s,!1))},"_discardCallback"));{let d=s.discardDescriptor||s.detachDescriptor;n(null,c,A,MD(c,d?-1:A,s,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(Fve,"file");function Uve(t){let e=AA(t),r=e[0],s=r.discardDescriptor||r.detachDescriptor,n=UD(r),i=De.openSync(n,e6,r.mode||r6);return r.discardDescriptor&&(De.closeSync(i),i=void 0),{name:n,fd:i,removeCallback:MD(n,s?-1:i,r,!0)}}o(Uve,"fileSync");function qve(t,e){let r=AA(t,e),s=r[0],n=r[1];FD(s,o(function(a,c){if(a)return n(a);De.mkdir(c,s.mode||t6,o(function(u){if(u)return n(u);n(null,c,o6(c,s,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(qve,"dir");function Gve(t){let e=AA(t),r=e[0],s=UD(r);return De.mkdirSync(s,r.mode||t6),{name:s,removeCallback:o6(s,r,!0)}}o(Gve,"dirSync");function Hve(t,e){let r=o(function(s){if(s&&!OD(s))return e(s);e()},"_handler");0<=t[0]?De.close(t[0],function(){De.unlink(t[1],r)}):De.unlink(t[1],r)}o(Hve,"_removeFileAsync");function zve(t){let e=null;try{0<=t[0]&&De.closeSync(t[0])}catch(r){if(!jve(r)&&!OD(r))throw r}finally{try{De.unlinkSync(t[1])}catch(r){OD(r)||(e=r)}}if(e!==null)throw e}o(zve,"_removeFileSync");function MD(t,e,r,s){let n=rB(zve,[e,t],s),i=rB(Hve,[e,t],s,n);return r.keep||uA.unshift(n),s?n:i}o(MD,"_prepareTmpFileRemoveCallback");function o6(t,e,r){let s=e.unsafeCleanup?Ove:De.rmdir.bind(De),n=e.unsafeCleanup?i6:s6,i=rB(n,t,r),a=rB(s,t,r,i);return e.keep||uA.unshift(i),r?i:a}o(o6,"_prepareTmpDirRemoveCallback");function rB(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===s6||t===i6?t(e):t(e,a||function(){})}},"_cleanupCallback")}o(rB,"_prepareRemoveCallback");function $ve(){if(n6)for(;uA.length;)try{uA[0]()}catch{}}o($ve,"_garbageCollector");function j9(t){let e=[],r=null;try{r=J9.randomBytes(t)}catch{r=J9.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 Vve(t,e,r){let s=Ot.isAbsolute(t)?t:Ot.join(e,t);De.stat(s,function(n){n?De.realpath(Ot.dirname(s),function(i,a){if(i)return r(i);r(null,Ot.join(a,Ot.basename(s)))}):De.realpath(s,r)})}o(Vve,"_resolvePath");function Yve(t,e){let r=Ot.isAbsolute(t)?t:Ot.join(e,t);try{return De.statSync(r),De.realpathSync(r)}catch{let n=De.realpathSync(Ot.dirname(r));return Ot.join(n,Ot.basename(r))}}o(Yve,"_resolvePathSync");function a6(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(Z9,j9(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",j9(12),t.postfix?"-"+t.postfix:""].join("");return Ot.join(e,t.dir,r)}o(a6,"_generateTmpName");function LD(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(LD,"_assertPath");function c6(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(Z9))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||kve:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Yr(t.prefix)?"":LD("prefix",t.prefix),t.postfix=Yr(t.postfix)?"":LD("postfix",t.postfix),t.template=Yr(t.template)?void 0:LD("template",t.template)}o(c6,"_assertOptionsBase");function K9(t,e,r,s){if(Yr(e))return s(null);Vve(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(K9,"_getRelativePath");function X9(t,e,r){if(Yr(e))return;let s=Yve(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(X9,"_getRelativePathSync");function Jve(t,e){Xve(t,function(r,s){if(r)return e(r);t.tmpdir=s;try{c6(t,s)}catch(n){return e(n)}K9("dir",t.dir,s,function(n,i){if(n)return e(n);t.dir=Yr(i)?"":i,K9("template",t.template,s,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(Jve,"_assertAndSanitizeOptions");function Wve(t){let e=t.tmpdir=u6(t);c6(t,e);let r=X9("dir",t.dir,e);return t.dir=Yr(r)?"":r,t.template=X9("template",t.template,e),t}o(Wve,"_assertAndSanitizeOptionsSync");function jve(t){return l6(t,-_ve,"EBADF")}o(jve,"_isEBADF");function OD(t){return l6(t,-Lve,"ENOENT")}o(OD,"_isENOENT");function l6(t,e,r){return Dve?t.code===r:t.code===r&&t.errno===e}o(l6,"_isExpectedError");function Kve(){n6=!0}o(Kve,"setGracefulCleanup");function Xve(t,e){return De.realpath(t&&t.tmpdir||sB.tmpdir(),e)}o(Xve,"_getTmpDir");function u6(t){return De.realpathSync(t&&t.tmpdir||sB.tmpdir())}o(u6,"_getTmpDirSync");process.addListener(Mve,$ve);Object.defineProperty(Io.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return u6()},"get")});Io.exports.dir=qve;Io.exports.dirSync=Gve;Io.exports.file=Fve;Io.exports.fileSync=Uve;Io.exports.tmpName=FD;Io.exports.tmpNameSync=UD;Io.exports.setGracefulCleanup=Kve});var Q6=f(lB=>{"use strict";Object.defineProperty(lB,"__esModule",{value:!0});lB.getProxyUrl=rPe;lB.checkBypass=b6;function rPe(t){let e=t.protocol==="https:";if(b6(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 cB(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new cB(`http://${r}`)}else return}o(rPe,"getProxyUrl");function b6(t){if(!t.hostname)return!1;let e=t.hostname;if(sPe(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(b6,"checkBypass");function sPe(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(sPe,"isLoopbackAddress");var cB=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 N6=f(Ze=>{"use strict";var nPe=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]})),iPe=Ze&&Ze.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),pB=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=dB;function pPe(t){return new URL(t).protocol==="https:"}o(pPe,"isHttps");var JD=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,Bo.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,Bo.ApplicationJson),i[Sr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Bo.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,Bo.ApplicationJson),i[Sr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Bo.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,Bo.ApplicationJson),i[Sr.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 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&&uPe.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&&cPe.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||!lPe.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 dB(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=YD.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?x6:VD;let a=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},qm(this.requestOptions.headers),qm(e||{})):qm(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=qm(this.requestOptions.headers)[r];a&&(n=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=qm(this.requestOptions.headers)[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=YD.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||VD.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?uB.httpsOverHttps:uB.httpsOverHttp:l=u?uB.httpOverHttps:uB.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new x6.Agent(c):new VD.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 oPe.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(APe,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 AB(A,i);d.result=a.result,n(d)}else s(a)}))})}};Ze.HttpClient=JD;var qm=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var W6=f((Hlt,Hm)=>{"use strict";var gB=o(function(){},"NullObject");gB.prototype=Object.create(null);var hB=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,fB=/\\([\v\u0020-\u00ff])/gu,V6=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,$c={type:"",parameters:new gB};Object.freeze($c.parameters);Object.freeze($c);function Y6(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(V6.test(r)===!1)throw new TypeError("invalid media type");let s={type:r.toLowerCase(),parameters:new gB};if(e===-1)return s;let n,i,a;for(hB.lastIndex=e;i=hB.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),fB.test(a)&&(a=a.replace(fB,"$1"))),s.parameters[n]=a}if(e!==t.length)throw new TypeError("invalid parameter format");return s}o(Y6,"parse");function J6(t){if(typeof t!="string")return $c;let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(V6.test(r)===!1)return $c;let s={type:r.toLowerCase(),parameters:new gB};if(e===-1)return s;let n,i,a;for(hB.lastIndex=e;i=hB.exec(t);){if(i.index!==e)return $c;e+=i[0].length,n=i[1].toLowerCase(),a=i[2],a[0]==='"'&&(a=a.slice(1,a.length-1),fB.test(a)&&(a=a.replace(fB,"$1"))),s.parameters[n]=a}return e!==t.length?$c:s}o(J6,"safeParse");Hm.exports.default={parse:Y6,safeParse:J6};Hm.exports.parse=Y6;Hm.exports.safeParse=J6;Hm.exports.defaultContentType=$c});var EA=f((Jut,EK)=>{"use strict";var gke="2.0.0",Eke=Number.MAX_SAFE_INTEGER||9007199254740991,yke=16,Cke=250,Ike=["major","premajor","minor","preminor","patch","prepatch","prerelease"];EK.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:yke,MAX_SAFE_BUILD_LENGTH:Cke,MAX_SAFE_INTEGER:Eke,RELEASE_TYPES:Ike,SEMVER_SPEC_VERSION:gke,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Ym=f((Wut,yK)=>{"use strict";var Bke=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};yK.exports=Bke});var yA=f((Di,CK)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:h_,MAX_SAFE_BUILD_LENGTH:wke,MAX_LENGTH:bke}=EA(),Qke=Ym();Di=CK.exports={};var xke=Di.re=[],Nke=Di.safeRe=[],F=Di.src=[],Ske=Di.safeSrc=[],U=Di.t={},Rke=0,f_="[a-zA-Z0-9-]",Tke=[["\\s",1],["\\d",bke],[f_,wke]],vke=o(t=>{for(let[e,r]of Tke)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ce=o((t,e,r)=>{let s=vke(e),n=Rke++;Qke(t,n,e),U[t]=n,F[n]=e,Ske[n]=s,xke[n]=new RegExp(e,r?"g":void 0),Nke[n]=new RegExp(s,r?"g":void 0)},"createToken");ce("NUMERICIDENTIFIER","0|[1-9]\\d*");ce("NUMERICIDENTIFIERLOOSE","\\d+");ce("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f_}*`);ce("MAINVERSION",`(${F[U.NUMERICIDENTIFIER]})\\.(${F[U.NUMERICIDENTIFIER]})\\.(${F[U.NUMERICIDENTIFIER]})`);ce("MAINVERSIONLOOSE",`(${F[U.NUMERICIDENTIFIERLOOSE]})\\.(${F[U.NUMERICIDENTIFIERLOOSE]})\\.(${F[U.NUMERICIDENTIFIERLOOSE]})`);ce("PRERELEASEIDENTIFIER",`(?:${F[U.NONNUMERICIDENTIFIER]}|${F[U.NUMERICIDENTIFIER]})`);ce("PRERELEASEIDENTIFIERLOOSE",`(?:${F[U.NONNUMERICIDENTIFIER]}|${F[U.NUMERICIDENTIFIERLOOSE]})`);ce("PRERELEASE",`(?:-(${F[U.PRERELEASEIDENTIFIER]}(?:\\.${F[U.PRERELEASEIDENTIFIER]})*))`);ce("PRERELEASELOOSE",`(?:-?(${F[U.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${F[U.PRERELEASEIDENTIFIERLOOSE]})*))`);ce("BUILDIDENTIFIER",`${f_}+`);ce("BUILD",`(?:\\+(${F[U.BUILDIDENTIFIER]}(?:\\.${F[U.BUILDIDENTIFIER]})*))`);ce("FULLPLAIN",`v?${F[U.MAINVERSION]}${F[U.PRERELEASE]}?${F[U.BUILD]}?`);ce("FULL",`^${F[U.FULLPLAIN]}$`);ce("LOOSEPLAIN",`[v=\\s]*${F[U.MAINVERSIONLOOSE]}${F[U.PRERELEASELOOSE]}?${F[U.BUILD]}?`);ce("LOOSE",`^${F[U.LOOSEPLAIN]}$`);ce("GTLT","((?:<|>)?=?)");ce("XRANGEIDENTIFIERLOOSE",`${F[U.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ce("XRANGEIDENTIFIER",`${F[U.NUMERICIDENTIFIER]}|x|X|\\*`);ce("XRANGEPLAIN",`[v=\\s]*(${F[U.XRANGEIDENTIFIER]})(?:\\.(${F[U.XRANGEIDENTIFIER]})(?:\\.(${F[U.XRANGEIDENTIFIER]})(?:${F[U.PRERELEASE]})?${F[U.BUILD]}?)?)?`);ce("XRANGEPLAINLOOSE",`[v=\\s]*(${F[U.XRANGEIDENTIFIERLOOSE]})(?:\\.(${F[U.XRANGEIDENTIFIERLOOSE]})(?:\\.(${F[U.XRANGEIDENTIFIERLOOSE]})(?:${F[U.PRERELEASELOOSE]})?${F[U.BUILD]}?)?)?`);ce("XRANGE",`^${F[U.GTLT]}\\s*${F[U.XRANGEPLAIN]}$`);ce("XRANGELOOSE",`^${F[U.GTLT]}\\s*${F[U.XRANGEPLAINLOOSE]}$`);ce("COERCEPLAIN",`(^|[^\\d])(\\d{1,${h_}})(?:\\.(\\d{1,${h_}}))?(?:\\.(\\d{1,${h_}}))?`);ce("COERCE",`${F[U.COERCEPLAIN]}(?:$|[^\\d])`);ce("COERCEFULL",F[U.COERCEPLAIN]+`(?:${F[U.PRERELEASE]})?(?:${F[U.BUILD]})?(?:$|[^\\d])`);ce("COERCERTL",F[U.COERCE],!0);ce("COERCERTLFULL",F[U.COERCEFULL],!0);ce("LONETILDE","(?:~>?)");ce("TILDETRIM",`(\\s*)${F[U.LONETILDE]}\\s+`,!0);Di.tildeTrimReplace="$1~";ce("TILDE",`^${F[U.LONETILDE]}${F[U.XRANGEPLAIN]}$`);ce("TILDELOOSE",`^${F[U.LONETILDE]}${F[U.XRANGEPLAINLOOSE]}$`);ce("LONECARET","(?:\\^)");ce("CARETTRIM",`(\\s*)${F[U.LONECARET]}\\s+`,!0);Di.caretTrimReplace="$1^";ce("CARET",`^${F[U.LONECARET]}${F[U.XRANGEPLAIN]}$`);ce("CARETLOOSE",`^${F[U.LONECARET]}${F[U.XRANGEPLAINLOOSE]}$`);ce("COMPARATORLOOSE",`^${F[U.GTLT]}\\s*(${F[U.LOOSEPLAIN]})$|^$`);ce("COMPARATOR",`^${F[U.GTLT]}\\s*(${F[U.FULLPLAIN]})$|^$`);ce("COMPARATORTRIM",`(\\s*)${F[U.GTLT]}\\s*(${F[U.LOOSEPLAIN]}|${F[U.XRANGEPLAIN]})`,!0);Di.comparatorTrimReplace="$1$2$3";ce("HYPHENRANGE",`^\\s*(${F[U.XRANGEPLAIN]})\\s+-\\s+(${F[U.XRANGEPLAIN]})\\s*$`);ce("HYPHENRANGELOOSE",`^\\s*(${F[U.XRANGEPLAINLOOSE]})\\s+-\\s+(${F[U.XRANGEPLAINLOOSE]})\\s*$`);ce("STAR","(<|>)?=?\\s*\\*");ce("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ce("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var IB=f((Kut,IK)=>{"use strict";var Pke=Object.freeze({loose:!0}),kke=Object.freeze({}),Dke=o(t=>t?typeof t!="object"?Pke:t:kke,"parseOptions");IK.exports=Dke});var g_=f((Zut,bK)=>{"use strict";var BK=/^[0-9]+$/,wK=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:twK(e,t),"rcompareIdentifiers");bK.exports={compareIdentifiers:wK,rcompareIdentifiers:_ke}});var Zt=f((tAt,xK)=>{"use strict";var BB=Ym(),{MAX_LENGTH:QK,MAX_SAFE_INTEGER:wB}=EA(),{safeRe:bB,t:QB}=yA(),Lke=IB(),{compareIdentifiers:E_}=g_(),Mke=o((t,e)=>{let r=e.split(".");if(r.length>t.length)return!1;for(let s=0;sQK)throw new TypeError(`version is longer than ${QK} characters`);BB("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?bB[QB.LOOSE]:bB[QB.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>wB||this.major<0)throw new TypeError("Invalid major version");if(this.minor>wB||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>wB||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(BB("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 E_(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(BB("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 E_(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?bB[QB.PRERELEASELOOSE]:bB[QB.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]),Mke(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}};xK.exports=y_});var Ca=f((sAt,SK)=>{"use strict";var NK=Zt(),Oke=o((t,e,r=!1)=>{if(t instanceof NK)return t;try{return new NK(t,e)}catch(s){if(!r)return null;throw s}},"parse");SK.exports=Oke});var TK=f((iAt,RK)=>{"use strict";var Fke=Ca(),Uke=o((t,e)=>{let r=Fke(t,e);return r?r.version:null},"valid");RK.exports=Uke});var PK=f((aAt,vK)=>{"use strict";var qke=Ca(),Gke=o((t,e)=>{let r=qke(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");vK.exports=Gke});var _K=f((lAt,DK)=>{"use strict";var kK=Zt(),Hke=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new kK(t instanceof kK?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");DK.exports=Hke});var OK=f((AAt,MK)=>{"use strict";var LK=Ca(),zke=o((t,e)=>{let r=LK(t,null,!0),s=LK(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");MK.exports=zke});var UK=f((pAt,FK)=>{"use strict";var $ke=Zt(),Vke=o((t,e)=>new $ke(t,e).major,"major");FK.exports=Vke});var GK=f((hAt,qK)=>{"use strict";var Yke=Zt(),Jke=o((t,e)=>new Yke(t,e).minor,"minor");qK.exports=Jke});var zK=f((gAt,HK)=>{"use strict";var Wke=Zt(),jke=o((t,e)=>new Wke(t,e).patch,"patch");HK.exports=jke});var VK=f((yAt,$K)=>{"use strict";var Kke=Ca(),Xke=o((t,e)=>{let r=Kke(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");$K.exports=Xke});var sn=f((IAt,JK)=>{"use strict";var YK=Zt(),Zke=o((t,e,r)=>new YK(t,r).compare(new YK(e,r)),"compare");JK.exports=Zke});var jK=f((wAt,WK)=>{"use strict";var eDe=sn(),tDe=o((t,e,r)=>eDe(e,t,r),"rcompare");WK.exports=tDe});var XK=f((QAt,KK)=>{"use strict";var rDe=sn(),sDe=o((t,e)=>rDe(t,e,!0),"compareLoose");KK.exports=sDe});var xB=f((NAt,eX)=>{"use strict";var ZK=Zt(),nDe=o((t,e,r)=>{let s=new ZK(t,r),n=new ZK(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");eX.exports=nDe});var rX=f((RAt,tX)=>{"use strict";var iDe=xB(),oDe=o((t,e)=>t.sort((r,s)=>iDe(r,s,e)),"sort");tX.exports=oDe});var nX=f((vAt,sX)=>{"use strict";var aDe=xB(),cDe=o((t,e)=>t.sort((r,s)=>aDe(s,r,e)),"rsort");sX.exports=cDe});var Jm=f((kAt,iX)=>{"use strict";var lDe=sn(),uDe=o((t,e,r)=>lDe(t,e,r)>0,"gt");iX.exports=uDe});var NB=f((_At,oX)=>{"use strict";var ADe=sn(),dDe=o((t,e,r)=>ADe(t,e,r)<0,"lt");oX.exports=dDe});var C_=f((MAt,aX)=>{"use strict";var pDe=sn(),mDe=o((t,e,r)=>pDe(t,e,r)===0,"eq");aX.exports=mDe});var I_=f((FAt,cX)=>{"use strict";var hDe=sn(),fDe=o((t,e,r)=>hDe(t,e,r)!==0,"neq");cX.exports=fDe});var SB=f((qAt,lX)=>{"use strict";var gDe=sn(),EDe=o((t,e,r)=>gDe(t,e,r)>=0,"gte");lX.exports=EDe});var RB=f((HAt,uX)=>{"use strict";var yDe=sn(),CDe=o((t,e,r)=>yDe(t,e,r)<=0,"lte");uX.exports=CDe});var B_=f(($At,AX)=>{"use strict";var IDe=C_(),BDe=I_(),wDe=Jm(),bDe=SB(),QDe=NB(),xDe=RB(),NDe=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 IDe(t,r,s);case"!=":return BDe(t,r,s);case">":return wDe(t,r,s);case">=":return bDe(t,r,s);case"<":return QDe(t,r,s);case"<=":return xDe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");AX.exports=NDe});var pX=f((YAt,dX)=>{"use strict";var SDe=Zt(),RDe=Ca(),{safeRe:TB,t:vB}=yA(),TDe=o((t,e)=>{if(t instanceof SDe)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?TB[vB.COERCEFULL]:TB[vB.COERCE]);else{let l=e.includePrerelease?TB[vB.COERCERTLFULL]:TB[vB.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 RDe(`${s}.${n}.${i}${a}${c}`,e)},"coerce");dX.exports=TDe});var hX=f((WAt,mX)=>{"use strict";var vDe=Ca(),PDe=EA(),kDe=Zt(),DDe=o((t,e,r)=>{if(!PDe.RELEASE_TYPES.includes(e))return null;let s=_De(t,r);return s&&LDe(s,e)},"truncate"),_De=o((t,e)=>{let r=t instanceof kDe?t.version:t;return vDe(r,e)},"cloneInputVersion"),LDe=o((t,e)=>{if(MDe(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"),MDe=o(t=>t.startsWith("pre"),"isPrerelease");mX.exports=DDe});var gX=f((KAt,fX)=>{"use strict";var w_=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}};fX.exports=w_});var nn=f((ZAt,IX)=>{"use strict";var ODe=/\s+/g,b_=class t{static{o(this,"Range")}constructor(e,r){if(r=UDe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof Q_)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(ODe," "),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=>!yX(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&&WDe(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(JDe,"");let s=((this.options.includePrerelease&&VDe)|(this.options.loose&&YDe))+":"+e,n=EX.get(s);if(n)return n;let i=this.options.loose,a=i?Tr[er.HYPHENRANGELOOSE]:Tr[er.HYPHENRANGE];e=e.replace(a,o_e(this.options.includePrerelease)),Ve("hyphen replace",e),e=e.replace(Tr[er.COMPARATORTRIM],HDe),Ve("comparator trim",e),e=e.replace(Tr[er.TILDETRIM],zDe),Ve("tilde trim",e),e=e.replace(Tr[er.CARETTRIM],$De),Ve("caret trim",e);let c=e.split(" ").map(d=>jDe(d,this.options)).join(" ").split(/\s+/).map(d=>i_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 Q_(d,this.options));for(let d of u){if(yX(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return EX.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>CX(s,r)&&e.set.some(n=>CX(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 qDe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),WDe=o(t=>t.value==="","isAny"),CX=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"),jDe=o((t,e)=>(t=t.replace(Tr[er.BUILD],""),Ve("comp",t,e),t=e_e(t,e),Ve("caret",t),t=XDe(t,e),Ve("tildes",t),t=r_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"),KDe=o((t,e,r)=>Ft(t)&&!Ft(e)||Ft(e)&&r&&!Ft(r),"invalidXRangeOrder"),XDe=o((t,e)=>t.trim().split(/\s+/).map(r=>ZDe(r,e)).join(" "),"replaceTildes"),ZDe=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"),e_e=o((t,e)=>t.trim().split(/\s+/).map(r=>t_e(r,e)).join(" "),"replaceCarets"),t_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"),r_e=o((t,e)=>(Ve("replaceXRanges",t,e),t.split(/\s+/).map(r=>s_e(r,e)).join(" ")),"replaceXRanges"),s_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),KDe(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"),i_e=o((t,e)=>(Ve("replaceGTE0",t,e),t.trim().replace(Tr[e.includePrerelease?er.GTE0PRE:er.GTE0],"")),"replaceGTE0"),o_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"),a_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 Wm=f((tdt,NX)=>{"use strict";var jm=Symbol("SemVer ANY"),S_=class t{static{o(this,"Comparator")}static get ANY(){return jm}constructor(e,r){if(r=BX(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),N_("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===jm?this.value="":this.value=this.operator+this.semver.version,N_("comp",this)}parse(e){let r=this.options.loose?wX[bX.COMPARATORLOOSE]:wX[bX.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 QX(s[2],this.options.loose):this.semver=jm}toString(){return this.value}test(e){if(N_("Comparator.test",e,this.options.loose),this.semver===jm||e===jm)return!0;if(typeof e=="string")try{e=new QX(e,this.options)}catch{return!1}return x_(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 xX(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new xX(this.value,r).test(e.semver):(r=BX(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("=")||x_(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||x_(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};NX.exports=S_;var BX=IB(),{safeRe:wX,t:bX}=yA(),x_=B_(),N_=Ym(),QX=Zt(),xX=nn()});var Km=f((sdt,SX)=>{"use strict";var c_e=nn(),l_e=o((t,e,r)=>{try{e=new c_e(e,r)}catch{return!1}return e.test(t)},"satisfies");SX.exports=l_e});var TX=f((idt,RX)=>{"use strict";var u_e=nn(),A_e=o((t,e)=>new u_e(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");RX.exports=A_e});var PX=f((adt,vX)=>{"use strict";var d_e=Zt(),p_e=nn(),m_e=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new p_e(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new d_e(s,r))}),s},"maxSatisfying");vX.exports=m_e});var DX=f((ldt,kX)=>{"use strict";var h_e=Zt(),f_e=nn(),g_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 h_e(s,r))}),s},"minSatisfying");kX.exports=g_e});var MX=f((Adt,LX)=>{"use strict";var R_=Zt(),E_e=nn(),_X=Jm(),y_e=o((t,e)=>{t=new E_e(t,e);let r=new R_("0.0.0");if(t.test(r)||(r=new R_("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new R_(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||_X(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||_X(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");LX.exports=y_e});var FX=f((pdt,OX)=>{"use strict";var C_e=nn(),I_e=o((t,e)=>{try{return new C_e(t,e).range||"*"}catch{return null}},"validRange");OX.exports=I_e});var PB=f((hdt,HX)=>{"use strict";var B_e=Zt(),GX=Wm(),{ANY:w_e}=GX,b_e=nn(),Q_e=Km(),UX=Jm(),qX=NB(),x_e=RB(),N_e=SB(),S_e=o((t,e,r,s)=>{t=new B_e(t,s),e=new b_e(e,s);let n,i,a,c,l;switch(r){case">":n=UX,i=x_e,a=qX,c=">",l=">=";break;case"<":n=qX,i=N_e,a=UX,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Q_e(t,e,s))return!1;for(let u=0;u{m.semver===w_e&&(m=new GX(">=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");HX.exports=S_e});var $X=f((gdt,zX)=>{"use strict";var R_e=PB(),T_e=o((t,e,r)=>R_e(t,e,">",r),"gtr");zX.exports=T_e});var YX=f((ydt,VX)=>{"use strict";var v_e=PB(),P_e=o((t,e,r)=>v_e(t,e,"<",r),"ltr");VX.exports=P_e});var jX=f((Idt,WX)=>{"use strict";var JX=nn(),k_e=o((t,e,r)=>(t=new JX(t,r),e=new JX(e,r),t.intersects(e,r)),"intersects");WX.exports=k_e});var XX=f((wdt,KX)=>{"use strict";var D_e=Km(),__e=sn();KX.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>__e(A,d,r));for(let A of a)D_e(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 ZX=nn(),P_=Wm(),{ANY:T_}=P_,v_=Km(),k_=sn(),L_e=o((t,e,r={})=>{if(t===e)return!0;t=new ZX(t,r),e=new ZX(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=O_e(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),M_e=[new P_(">=0.0.0-0")],eZ=[new P_(">=0.0.0")],O_e=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===T_){if(e.length===1&&e[0].semver===T_)return!0;r.includePrerelease?t=M_e:t=eZ}if(e.length===1&&e[0].semver===T_){if(r.includePrerelease)return!0;e=eZ}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=tZ(n,m,r):m.operator==="<"||m.operator==="<="?i=rZ(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=k_(n.semver,i.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let m of s){if(n&&!v_(m,String(n),r)||i&&!v_(m,String(i),r))return null;for(let h of e)if(!v_(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=tZ(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=rZ(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"),tZ=o((t,e,r)=>{if(!t)return e;let s=k_(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),rZ=o((t,e,r)=>{if(!t)return e;let s=k_(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");sZ.exports=L_e});var Xm=f((xdt,aZ)=>{"use strict";var D_=yA(),iZ=EA(),F_e=Zt(),oZ=g_(),U_e=Ca(),q_e=TK(),G_e=PK(),H_e=_K(),z_e=OK(),$_e=UK(),V_e=GK(),Y_e=zK(),J_e=VK(),W_e=sn(),j_e=jK(),K_e=XK(),X_e=xB(),Z_e=rX(),eLe=nX(),tLe=Jm(),rLe=NB(),sLe=C_(),nLe=I_(),iLe=SB(),oLe=RB(),aLe=B_(),cLe=pX(),lLe=hX(),uLe=Wm(),ALe=nn(),dLe=Km(),pLe=TX(),mLe=PX(),hLe=DX(),fLe=MX(),gLe=FX(),ELe=PB(),yLe=$X(),CLe=YX(),ILe=jX(),BLe=XX(),wLe=nZ();aZ.exports={parse:U_e,valid:q_e,clean:G_e,inc:H_e,diff:z_e,major:$_e,minor:V_e,patch:Y_e,prerelease:J_e,compare:W_e,rcompare:j_e,compareLoose:K_e,compareBuild:X_e,sort:Z_e,rsort:eLe,gt:tLe,lt:rLe,eq:sLe,neq:nLe,gte:iLe,lte:oLe,cmp:aLe,coerce:cLe,truncate:lLe,Comparator:uLe,Range:ALe,satisfies:dLe,toComparators:pLe,maxSatisfying:mLe,minSatisfying:hLe,minVersion:fLe,validRange:gLe,outside:ELe,gtr:yLe,ltr:CLe,intersects:ILe,simplifyRange:BLe,subset:wLe,SemVer:F_e,re:D_.re,src:D_.src,tokens:D_.t,SEMVER_SPEC_VERSION:iZ.SEMVER_SPEC_VERSION,RELEASE_TYPES:iZ.RELEASE_TYPES,compareIdentifiers:oZ.compareIdentifiers,rcompareIdentifiers:oZ.rcompareIdentifiers}});var IZ=w(require("crypto"),1),BZ=w(require("path"),1);var G_=w(require("os"),1);function Dn(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Dn,"toCommandValue");function qB(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(qB,"toCommandProperties");function _n(t,e,r){let s=new GB(t,e,r);process.stdout.write(s.toString()+G_.EOL)}o(_n,"issueCommand");function HB(t,e=""){_n(t,{},e)}o(HB,"issue");var q_="::",GB=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=q_+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}=${vZ(n)}`)}}return e+=`${q_}${TZ(this.message)}`,e}};function TZ(t){return Dn(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(TZ,"escapeData");function vZ(t){return Dn(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(vZ,"escapeProperty");var H_=w(require("crypto"),1),oh=w(require("fs"),1),ih=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(!oh.existsSync(r))throw new Error(`Missing file at path: ${r}`);oh.appendFileSync(r,`${Dn(e)}${ih.EOL}`,{encoding:"utf8"})}o(CA,"issueFileCommand");function ah(t,e){let r=`ghadelimiter_${H_.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}${ih.EOL}${s}${ih.EOL}${r}`}o(ah,"prepareKeyValueMessage");var vx=w(require("os"),1),GG=w(require("path"),1);var wd=w(require("http"),1),Ex=w(require("https"),1);function zB(t){let e=t.protocol==="https:";if(PZ(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 ch(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new ch(`http://${r}`)}else return}o(zB,"getProxyUrl");function PZ(t){if(!t.hostname)return!1;let e=t.hostname;if(kZ(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(PZ,"checkBypass");function kZ(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(kZ,"isLoopbackAddress");var ch=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}};var zo=w(IA(),1),IG=w($l(),1);var ht=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},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 ji;(function(t){t.ApplicationJson="application/json"})(ji||(ji={}));var YAe=[vs.MovedPermanently,vs.ResourceMoved,vs.SeeOther,vs.TemporaryRedirect,vs.PermanentRedirect],JAe=[vs.BadGateway,vs.ServiceUnavailable,vs.GatewayTimeout],WAe=["OPTIONS","GET","DELETE","HEAD"],jAe=10,KAe=5,fx=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},gx=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return ht(this,void 0,void 0,function*(){return new Promise(e=>ht(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return ht(this,void 0,void 0,function*(){return new Promise(e=>ht(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var Ja=class{static{o(this,"HttpClient")}constructor(e,r,s){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return ht(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return ht(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return ht(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return ht(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return ht(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return ht(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return ht(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return ht(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return ht(this,arguments,void 0,function*(r,s={}){s[hr.Accept]=this._getExistingOrDefaultHeader(s,hr.Accept,ji.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return ht(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[hr.Accept]=this._getExistingOrDefaultHeader(i,hr.Accept,ji.ApplicationJson),i[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,ji.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return ht(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[hr.Accept]=this._getExistingOrDefaultHeader(i,hr.Accept,ji.ApplicationJson),i[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,ji.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return ht(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[hr.Accept]=this._getExistingOrDefaultHeader(i,hr.Accept,ji.ApplicationJson),i[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,ji.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return ht(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),a=this._prepareRequest(e,i,n),c=this._allowRetries&&WAe.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&&YAe.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||!JAe.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 gx(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=zB(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?Ex:wd;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({},Bd(this.requestOptions.headers),Bd(e||{})):Bd(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=Bd(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=Bd(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=zB(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||wd.globalAgent.maxSockets),s&&s.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},l,u=s.protocol==="https:";i?l=u?zo.httpsOverHttps:zo.httpsOverHttp:l=u?zo.httpOverHttps:zo.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new Ex.Agent(c):new wd.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 IG.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return ht(this,void 0,void 0,function*(){e=Math.min(jAe,e);let r=KAe*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return ht(this,void 0,void 0,function*(){return new Promise((s,n)=>ht(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===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 fx(A,i);d.result=a.result,n(d)}else s(a)}))})}},Bd=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var bG=require("os"),bd=require("fs");var yx=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:ZAe,appendFile:ede,writeFile:tde}=bd.promises,wG="GITHUB_STEP_SUMMARY";var Cx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return yx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[wG];if(!e)throw new Error(`Unable to find environment variable for $${wG}. Check if your runtime environment supports job summaries.`);try{yield ZAe(e,bd.constants.R_OK|bd.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return yx(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?tde:ede)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return yx(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(bG.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()}},CUe=new Cx;var Rx=w(require("os"),1);var Sx=require("string_decoder");var xd=w(require("os"),1),Nx=w(require("events"),1),MG=w(require("child_process"),1),OG=w(require("path"),1);var PG=require("assert"),as=w(require("path"),1);var Qd=w(require("fs"),1),$o=w(require("path"),1);var Ix=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:Bx,copyFile:xG,lstat:ng,mkdir:NG,open:QUe,readdir:wx,rename:rde,rm:SG,rmdir:xUe,stat:Wa,symlink:RG,unlink:bx}=Qd.promises,Vn=process.platform==="win32";function TG(t){return Ix(this,void 0,void 0,function*(){let e=yield Qd.promises.readlink(t);return Vn&&!e.endsWith("\\")?`${e}\\`:e})}o(TG,"readlink");var NUe=Qd.constants.O_RDONLY;function Yl(t){return Ix(this,void 0,void 0,function*(){try{yield Wa(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(Yl,"exists");function ig(t){if(t=sde(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return Vn?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(ig,"isRooted");function Qx(t,e){return Ix(this,void 0,void 0,function*(){let r;try{r=yield Wa(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=$o.extname(t).toUpperCase();if(e.some(i=>i.toUpperCase()===n))return t}else if(QG(r))return t}let s=t;for(let n of e){t=s+n,r=void 0;try{r=yield Wa(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=$o.dirname(t),a=$o.basename(t).toUpperCase();for(let c of yield wx(i))if(a===c.toUpperCase()){t=$o.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(QG(r))return t}}return""})}o(Qx,"tryGetExecutablePath");function sde(t){return t=t||"",Vn?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(sde,"normalizeSeparators");function QG(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(QG,"isUnixExecutable");var ja=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 kG(t,e){return ja(this,arguments,void 0,function*(r,s,n={}){let{force:i,recursive:a,copySourceDirectory:c}=ide(n),l=(yield Yl(s))?yield Wa(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 Wa(r)).isDirectory())if(a)yield DG(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 _G(r,u,i)}})}o(kG,"cp");function og(t){return ja(this,void 0,void 0,function*(){if(Vn&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield SG(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(og,"rmRF");function Ps(t){return ja(this,void 0,void 0,function*(){(0,PG.ok)(t,"a path argument must be provided"),yield NG(t,{recursive:!0})})}o(Ps,"mkdirP");function ft(t,e){return ja(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let s=yield ft(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 nde(t);return r&&r.length>0?r[0]:""})}o(ft,"which");function nde(t){return ja(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(ig(t)){let n=yield Qx(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 Qx(as.join(n,t),e);i&&s.push(i)}return s})}o(nde,"findInPath");function ide(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(ide,"readCopyOptions");function DG(t,e,r,s){return ja(this,void 0,void 0,function*(){if(r>=255)return;r++,yield Ps(e);let n=yield wx(t);for(let i of n){let a=`${t}/${i}`,c=`${e}/${i}`;(yield ng(a)).isDirectory()?yield DG(a,c,r,s):yield _G(a,c,s)}yield Bx(e,(yield Wa(t)).mode)})}o(DG,"cpDirRecursive");function _G(t,e,r){return ja(this,void 0,void 0,function*(){if((yield ng(t)).isSymbolicLink()){try{yield ng(e),yield bx(e)}catch(n){n.code==="EPERM"&&(yield Bx(e,"0666"),yield bx(e))}let s=yield TG(t);yield RG(s,e,Vn?"junction":null)}else(!(yield Yl(e))||r)&&(yield xG(t,e))})}o(_G,"copyFile");var FG=require("timers");var LG=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())})},ag=process.platform==="win32",cg=class extends Nx.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(ag)if(this._isCmdFile()){i+=s;for(let a of n)i+=` ${a}`}else if(e.windowsVerbatimArguments){i+=`"${s}"`;for(let a of n)i+=` ${a}`}else{i+=this._windowsQuoteCmdArg(s);for(let a of n)i+=` ${this._windowsQuoteCmdArg(a)}`}else{i+=s;for(let a of n)i+=` ${a}`}return i}_processLineBuffer(e,r,s){try{let n=r+e.toString(),i=n.indexOf(xd.EOL);for(;i>-1;){let a=n.substring(0,i);s(a),n=n.substring(i+xd.EOL.length),i=n.indexOf(xd.EOL)}return n}catch(n){return this._debug(`error processing line. Failed with error ${n}`),""}}_getSpawnFileName(){return ag&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(ag&&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 LG(this,void 0,void 0,function*(){return!ig(this.toolPath)&&(this.toolPath.includes("/")||ag&&this.toolPath.includes("\\"))&&(this.toolPath=OG.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield ft(this.toolPath,!0),new Promise((e,r)=>LG(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let u of this.args)this._debug(` ${u}`);let s=this._cloneExecOptions(this.options);!s.silent&&s.outStream&&s.outStream.write(this._getCommandString(s)+xd.EOL);let n=new xx(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=MG.spawn(i,this._getSpawnArgs(s),this._getSpawnOptions(this.options,i)),c="";a.stdout&&a.stdout.on("data",u=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(u),!s.silent&&s.outStream&&s.outStream.write(u),c=this._processLineBuffer(u,c,A=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(A)})});let l="";if(a.stderr&&a.stderr.on("data",u=>{n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(u),!s.silent&&s.errStream&&s.outStream&&(s.failOnStdErr?s.errStream:s.outStream).write(u),l=this._processLineBuffer(u,l,A=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(A)})}),a.on("error",u=>{n.processError=u.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete()}),a.on("exit",u=>{n.processExitCode=u,n.processExited=!0,this._debug(`Exit code ${u} received from tool '${this.toolPath}'`),n.CheckComplete()}),a.on("close",u=>{n.processExitCode=u,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete()}),n.on("done",(u,A)=>{c.length>0&&this.emit("stdline",c),l.length>0&&this.emit("errline",l),a.removeAllListeners(),u?r(u):e(A)}),this.options.input){if(!a.stdin)throw new Error("child process missing stdin");a.stdin.end(this.options.input)}}))})}};function UG(t){let e=[],r=!1,s=!1,n="";function i(a){s&&a!=='"'&&(n+="\\"),n+=a,s=!1}o(i,"append");for(let a=0;a0&&(e.push(n),n="");continue}i(c)}return n.length>0&&e.push(n.trim()),e}o(UG,"argStringToArray");var xx=class t extends Nx.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,FG.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 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())})};function cs(t,e,r){return qG(this,void 0,void 0,function*(){let s=UG(t);if(s.length===0)throw new Error("Parameter 'commandLine' cannot be null or empty.");let n=s[0];return e=s.slice(1).concat(e||[]),new cg(n,e,r).exec()})}o(cs,"exec");function Nd(t,e,r){return qG(this,void 0,void 0,function*(){var s,n;let i="",a="",c=new Sx.StringDecoder("utf8"),l=new Sx.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(Nd,"getExecOutput");var kUe=Rx.default.platform(),DUe=Rx.default.arch();var cde=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())})},Tx;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Tx||(Tx={}));function HG(t,e){let r=Dn(e);if(process.env[t]=r,process.env.GITHUB_ENV||"")return CA("ENV",ah(t,e));_n("set-env",{name:t},r)}o(HG,"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}${GG.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 Px(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(Px,"getBooleanInput");function kx(t,e){if(process.env.GITHUB_OUTPUT||"")return CA("OUTPUT",ah(t,e));process.stdout.write(vx.EOL),_n("set-output",{name:t},Dn(e))}o(kx,"setOutput");function zG(t){process.exitCode=Tx.Failure,Wl(t)}o(zG,"setFailed");function Xa(){return process.env.RUNNER_DEBUG==="1"}o(Xa,"isDebug");function b(t){_n("debug",{},t)}o(b,"debug");function Wl(t,e={}){_n("error",qB(e),t instanceof Error?t.toString():t)}o(Wl,"error");function st(t,e={}){_n("warning",qB(e),t instanceof Error?t.toString():t)}o(st,"warning");function S(t){process.stdout.write(t+vx.EOL)}o(S,"info");function lde(t){HB("group",t)}o(lde,"startGroup");function ude(){HB("endgroup")}o(ude,"endGroup");function me(t,e){return cde(this,void 0,void 0,function*(){lde(t);let r;try{r=yield e()}finally{ude()}return r})}o(me,"group");function jl(t,e){if(process.env.GITHUB_STATE||"")return CA("STATE",ah(t,e));_n("save-state",{name:t},Dn(e))}o(jl,"saveState");function $G(t){return process.env[`STATE_${t}`]||""}o($G,"getState");var EI=w(require("fs"),1),qk=w(require("os"),1),Gk=w(require("path"),1);var YG=w(require("os"),1);function Rd(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Rd,"toCommandValue");function JG(t,e,r){let s=new Dx(t,e,r);process.stdout.write(s.toString()+YG.EOL)}o(JG,"issueCommand");var VG="::",Dx=class{static{o(this,"Command")}constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=VG+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}=${dde(n)}`)}}return e+=`${VG}${Ade(this.message)}`,e}};function Ade(t){return Rd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Ade,"escapeData");function dde(t){return Rd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(dde,"escapeProperty");var XG=w(require("os"),1);var jG=require("os"),Td=require("fs");var _x=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{access:pde,appendFile:mde,writeFile:hde}=Td.promises,WG="GITHUB_STEP_SUMMARY";var Lx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return _x(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[WG];if(!e)throw new Error(`Unable to find environment variable for $${WG}. Check if your runtime environment supports job summaries.`);try{yield pde(e,Td.constants.R_OK|Td.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return _x(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?hde:mde)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return _x(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(e,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(jG.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()}},u2e=new Lx;var Mx=w(require("os"),1);var h2e=Mx.default.platform(),f2e=Mx.default.arch();var KG;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(KG||(KG={}));function Ox(){return process.env.RUNNER_DEBUG==="1"}o(Ox,"isDebug");function Fe(t){JG("debug",{},t)}o(Fe,"debug");function Fx(t){process.stdout.write(t+XG.EOL)}o(Fx,"info");var a0=w(require("crypto"),1),ir=w(require("fs"),1);var dhe=w(i0(),1);var wg=w(require("os"),1),gn=w(require("path"),1);var _s=w(i0(),1),Hz=w(require("stream"),1),zz=w(require("util"),1),c0=require("assert");var Gz=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())})},Ig=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 Gz(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())})},Bg=class extends Error{static{o(this,"HTTPError")}constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}},$z=process.platform==="win32",Cqe=process.platform==="darwin",mhe="actions/tool-cache";function ec(t,e,r,s){return Jn(this,void 0,void 0,function*(){e=e||gn.join(Wz(),a0.randomUUID()),yield Ps(gn.dirname(e)),Fe(`Downloading ${t}`),Fe(`Destination ${e}`);let n=3,i=o0("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=o0("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);return yield new Ig(n,i,a).execute(()=>Jn(this,void 0,void 0,function*(){return yield hhe(t,e||"",r,s)}),l=>!(l instanceof Bg&&l.httpStatusCode&&l.httpStatusCode<500&&l.httpStatusCode!==408&&l.httpStatusCode!==429))})}o(ec,"downloadTool");function hhe(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 Ja(mhe,[],{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 Bg(i.message.statusCode);throw Fe(`Failed to download from "${t}". Code(${i.message.statusCode}) Message(${i.message.statusMessage})`),A}let a=zz.promisify(Hz.pipeline),l=o0("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 og(e)}catch(A){Fe(`Failed to delete '${e}'. ${A.message}`)}}}})}o(hhe,"downloadToolAttempt");function bg(t,e){return Jn(this,arguments,void 0,function*(r,s,n="xz"){if(!r)throw new Error("parameter 'file' is required");s=yield Yz(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],Ox()&&!n.includes("v")&&c.push("-v");let l=s,u=r;return $z&&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(bg,"extractTar");function Qg(t,e){return Jn(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'file' is required");return e=yield Yz(e),$z?yield fhe(t,e):yield ghe(t,e),e})}o(Qg,"extractZip");function fhe(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 ft("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 ft("powershell",!0);Fe(`Using powershell at path: ${c}`),yield cs(`"${c}"`,a)}})}o(fhe,"extractZipWin");function ghe(t,e){return Jn(this,void 0,void 0,function*(){let r=yield ft("unzip",!0),s=[t];Ox()||s.unshift("-q"),s.unshift("-o"),yield cs(`"${r}"`,s,{cwd:e})})}o(ghe,"extractZipNix");function Od(t,e,r,s){return Jn(this,void 0,void 0,function*(){if(r=_s.clean(r)||r,s=s||wg.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 yhe(e,r,s);for(let i of ir.readdirSync(t)){let a=gn.join(t,i);yield kG(a,n,{recursive:!0})}return Che(e,r,s),n})}o(Od,"cacheDir");function Vz(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||wg.arch(),!Jz(e)){let n=Ehe(t,r);e=Ihe(n,e)}let s="";if(e){e=_s.clean(e)||"";let n=gn.join(xg(),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(Vz,"find");function Ehe(t,e){let r=[];e=e||wg.arch();let s=gn.join(xg(),t);if(ir.existsSync(s)){let n=ir.readdirSync(s);for(let i of n)if(Jz(i)){let a=gn.join(s,i,e||"");ir.existsSync(a)&&ir.existsSync(`${a}.complete`)&&r.push(i)}}return r}o(Ehe,"findAllVersions");function Yz(t){return Jn(this,void 0,void 0,function*(){return t||(t=gn.join(Wz(),a0.randomUUID())),yield Ps(t),t})}o(Yz,"_createExtractFolder");function yhe(t,e,r){return Jn(this,void 0,void 0,function*(){let s=gn.join(xg(),t,_s.clean(e)||e,r||"");Fe(`destination ${s}`);let n=`${s}.complete`;return yield og(s),yield og(n),yield Ps(s),s})}o(yhe,"_createToolPath");function Che(t,e,r){let n=`${gn.join(xg(),t,_s.clean(e)||e,r||"")}.complete`;ir.writeFileSync(n,""),Fe("finished caching tool")}o(Che,"_completeToolPath");function Jz(t){let e=_s.clean(t)||"";Fe(`isExplicit: ${e}`);let r=_s.valid(e)!=null;return Fe(`explicit? ${r}`),r}o(Jz,"isExplicitVersion");function Ihe(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(Ihe,"evaluateVersions");function xg(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,c0.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(xg,"_getCacheDirectory");function Wz(){let t=process.env.RUNNER_TEMP||"";return(0,c0.ok)(t,"Expected RUNNER_TEMP to be defined"),t}o(Wz,"_getTempDirectory");function o0(t,e){let r=global[t];return r!==void 0?r:e}o(o0,"_getGlobal");var wm=w(require("path"),1);var Kz=w(require("os"),1);function Fd(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Fd,"toCommandValue");function Xz(t,e,r){let s=new l0(t,e,r);process.stdout.write(s.toString()+Kz.EOL)}o(Xz,"issueCommand");var jz="::",l0=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=jz+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}=${whe(n)}`)}}return e+=`${jz}${Bhe(this.message)}`,e}};function Bhe(t){return Fd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Bhe,"escapeData");function whe(t){return Fd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(whe,"escapeProperty");var e$=require("os"),Ud=require("fs");var u0=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:bhe,appendFile:Qhe,writeFile:xhe}=Ud.promises,Zz="GITHUB_STEP_SUMMARY";var A0=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return u0(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Zz];if(!e)throw new Error(`Unable to find environment variable for $${Zz}. Check if your runtime environment supports job summaries.`);try{yield bhe(e,Ud.constants.R_OK|Ud.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 u0(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?xhe:Qhe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return u0(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(e$.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()}},Lqe=new A0;var d0=w(require("os"),1);var qqe=d0.default.platform(),Gqe=d0.default.arch();var t$;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(t$||(t$={}));function Ls(t){Xz("debug",{},t)}o(Ls,"debug");var tu=w(require("fs"),1);function m0(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(m0,"getOptions");var Pg=w(require("path"),1);var Xl=w(require("path"),1),Vo=w(require("assert"),1);var Yo=process.platform==="win32";function Xi(t){if(t=Ki(t),Yo&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=Xl.dirname(t);return Yo&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Ki(e)),e}o(Xi,"dirname");function Sg(t,e){if((0,Vo.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,Vo.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),qd(e))return e;if(Yo){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,Vo.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,Vo.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,Vo.default)(qd(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||Yo&&t.endsWith("\\")||(t+=Xl.sep),t+e}o(Sg,"ensureAbsoluteRoot");function qd(t){return(0,Vo.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=En(t),Yo?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(qd,"hasAbsoluteRoot");function Gd(t){return(0,Vo.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=En(t),Yo?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(Gd,"hasRoot");function En(t){return t=t||"",Yo?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(En,"normalizeSeparators");function Ki(t){return t?(t=En(t),!t.endsWith(Xl.sep)||t===Xl.sep||Yo&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(Ki,"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 r$=process.platform==="win32";function f0(t){t=t.filter(s=>!s.negate);let e={};for(let s of t){let n=r$?s.searchPath.toUpperCase():s.searchPath;e[n]="candidate"}let r=[];for(let s of t){let n=r$?s.searchPath.toUpperCase():s.searchPath;if(e[n]==="included")continue;let i=!1,a=n,c=Xi(a);for(;c!==a;){if(e[c]){i=!0;break}a=c,c=Xi(a)}i||(r.push(s.searchPath),e[n]="included")}return r}o(f0,"getSearchPaths");function s$(t,e){let r=yn.None;for(let s of t)s.negate?r&=~s.match(e):r|=s.match(e);return r}o(s$,"match");function n$(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(n$,"partialMatch");var x$=w(require("os"),1),eu=w(require("path"),1);var Wo=w(require("assert"),1),N$=w(Q$(),1);var tc=w(require("path"),1);var Zl=w(require("assert"),1);var Khe=process.platform==="win32",rc=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=Ki(e),!Gd(e))this.segments=e.split(tc.sep);else{let r=e,s=Xi(r);for(;s!==r;){let n=tc.basename(r);this.segments.unshift(n),r=s,s=Xi(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 rc(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),Zi?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:Zi,nocomment:!0,noext:!0,nonegate:!0};i=Zi?i.replace(/\\/g,"/"):i,this.minimatch=new Xhe(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=Ki(e),this.minimatch.match(e)?this.trailingSeparator?yn.Directory:yn.All:yn.None}partialMatch(e){return e=Ki(e),Xi(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Zi?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Zi?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,Wo.default)(e,"pattern cannot be empty");let s=new rc(e).segments.map(n=>t.getLiteral(n));if((0,Wo.default)(s.every((n,i)=>(n!=="."||i===0)&&n!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,Wo.default)(!Gd(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||x$.homedir(),(0,Wo.default)(r,"Unable to determine HOME directory"),(0,Wo.default)(qd(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Zi&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let n=Sg("C:\\dummy-root",e.substr(0,2));e.length>2&&!n.endsWith("\\")&&(n+="\\"),e=t.globEscape(n)+e.substr(2)}else if(Zi&&(e==="\\"||e.match(/^\\[^\\]/))){let n=Sg("C:\\dummy-root","\\");n.endsWith("\\")||(n+="\\"),e=t.globEscape(n)+e.substr(1)}else e=Sg(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 Vd=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};var B0=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())})},Zhe=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),n(c,l,a.done,a.value)})}}function n(i,a,c,l){Promise.resolve(l).then(function(u){i({value:u,done:c})},a)}},jo=function(t){return this instanceof jo?(this.v=t,this):new jo(t)},efe=function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=r.apply(t,e||[]),n,i=[];return n=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),n[Symbol.asyncIterator]=function(){return this},n;function a(m){return function(h){return Promise.resolve(h).then(m,d)}}function c(m,h){s[m]&&(n[m]=function(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 jo?Promise.resolve(m.value.v).then(A,d):p(i[0][2],m)}function A(m){l("next",m)}function d(m){l("throw",m)}function p(m,h){m(h),i.shift(),i.length&&l(i[0][0],i[0][1])}},tfe=process.platform==="win32",vg=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=m0(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return B0(this,void 0,void 0,function*(){var e,r,s,n;let i=[];try{for(var a=!0,c=Zhe(this.globGenerator()),l;l=yield c.next(),e=l.done,!e;a=!0){n=l.value,a=!1;let u=n;i.push(u)}}catch(u){r={error:u}}finally{try{!a&&!e&&(s=c.return)&&(yield s.call(c))}finally{if(r)throw r.error}}return i})}globGenerator(){return efe(this,arguments,o(function*(){let r=m0(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 $d(a.negate,!0,a.segments.concat("**")));let n=[];for(let a of f0(s)){Ls(`Search path '${a}'`);try{yield jo(tu.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}n.unshift(new Vd(a,1))}let i=[];for(;n.length;){let a=n.pop(),c=s$(s,a.path),l=!!c||n$(s,a.path);if(!c&&!l)continue;let u=yield jo(t.stat(a,r,i));if(u&&!(r.excludeHiddenFiles&&Pg.basename(a.path).match(/^\./)))if(u.isDirectory()){if(c&yn.Directory&&r.matchDirectories)yield yield jo(a.path);else if(!l)continue;let A=a.level+1,d=(yield jo(tu.promises.readdir(a.path))).map(p=>new Vd(Pg.join(a.path,p),A));n.push(...d.reverse())}else c&yn.File&&(yield yield jo(a.path))}},"globGenerator_1"))}static create(e,r){return B0(this,void 0,void 0,function*(){let s=new t(r);tfe&&(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 $d(i));return s.searchPaths.push(...f0(s.patterns)),s})}static stat(e,r,s){return B0(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 rfe=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 S$(t,e){return rfe(this,void 0,void 0,function*(){return yield vg.create(t,e)})}o(S$,"create");var Jg=w(require("crypto"),1),nu=w(require("fs"),1),nc=w(require("path"),1),yY=w(gY(),1),CY=w(require("util"),1);var ep;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(ep||(ep={}));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 $g=2,Vg=5e3,G0=5e3,H0=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,EY=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,tp="cache.tar",z0="manifest.txt",gze=10*Math.pow(1024,3),Yg="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())})},ZEe=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)}},eye="1.0";function rp(){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=nc.join(s,"actions","temp")}let r=nc.join(e,Jg.randomUUID());return yield Ps(r),r})}o(rp,"createTempDirectory");function jn(t){return nu.statSync(t).size}o(jn,"getArchiveFileSizeInBytes");function $0(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 S$(t.join(` `),{implicitDescendants:!1});try{for(var u=!0,A=ZEe(l.globGenerator()),d;d=yield A.next(),e=d.done,!e;u=!0){n=d.value,u=!1;let m=nc.relative(c,n).replace(new RegExp(`\\${nc.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($0,"resolvePaths");function sp(t){return su(this,void 0,void 0,function*(){return CY.promisify(nu.unlink)(t)})}o(sp,"unlinkFile");function IY(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(IY,"getVersion");function np(){return su(this,void 0,void 0,function*(){let t=yield IY("zstd",["--quiet"]),e=yY.clean(t);return b(`zstd version: ${e}`),t===""?Cr.Gzip:Cr.ZstdWithoutLong})}o(np,"getCompressionMethod");function Ko(t){return t===Cr.Gzip?ep.Gzip:ep.Zstd}o(Ko,"getCacheFileName");function BY(){return su(this,void 0,void 0,function*(){return nu.existsSync(H0)?H0:(yield IY("tar")).toLowerCase().includes("gnu tar")?ft("tar"):""})}o(BY,"getGnuTarPathOnWindows");function V0(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(V0,"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(eye),Jg.createHash("sha256").update(s.join("|")).digest("hex")}o(iu,"getCacheVersion");function wY(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(wY,"getRuntimeToken");var op=w(require("http"),1),W0=w(require("https"),1);function Y0(t){let e=t.protocol==="https:";if(tye(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 jg(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new jg(`http://${r}`)}else return}o(Y0,"getProxyUrl");function tye(t){if(!t.hostname)return!1;let e=t.hostname;if(rye(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(tye,"checkBypass");function rye(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(rye,"isLoopbackAddress");var jg=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 Xo=w(IA(),1),bY=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())})},nt;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(nt||(nt={}));var Ir;(function(t){t.Accept="accept",t.ContentType="content-type"})(Ir||(Ir={}));var eo;(function(t){t.ApplicationJson="application/json"})(eo||(eo={}));var nye=[nt.MovedPermanently,nt.ResourceMoved,nt.SeeOther,nt.TemporaryRedirect,nt.PermanentRedirect],iye=[nt.BadGateway,nt.ServiceUnavailable,nt.GatewayTimeout],oye=["OPTIONS","GET","DELETE","HEAD"],aye=10,cye=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)}},J0=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 to=class{static{o(this,"HttpClient")}constructor(e,r,s){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return 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,eo.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,eo.ApplicationJson),i[Ir.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,eo.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return Et(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Ir.Accept]=this._getExistingOrDefaultHeader(i,Ir.Accept,eo.ApplicationJson),i[Ir.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,eo.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return Et(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Ir.Accept]=this._getExistingOrDefaultHeader(i,Ir.Accept,eo.ApplicationJson),i[Ir.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,eo.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return 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&&oye.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===nt.Unauthorized){let d;for(let p of this.handlers)if(p.canHandleAuthentication(u)){d=p;break}return d?d.handleAuthentication(this,a,s):u}let A=this._maxRedirects;for(;u.message.statusCode&&nye.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||!iye.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 J0(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=Y0(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?W0:op;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({},ip(this.requestOptions.headers),ip(e||{})):ip(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=ip(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=ip(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=Y0(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||op.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?Xo.httpsOverHttps:Xo.httpsOverHttp:l=u?Xo.httpOverHttps:Xo.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new W0.Agent(c):new op.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 bY.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(aye,e);let r=cye*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===nt.NotFound&&s(a);function c(A,d){if(typeof d=="string"){let p=new Date(d);if(!isNaN(p.valueOf()))return p}return d}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let A;l&&l.message?A=l.message:u&&u.length>0?A=u:A=`Failed request: (${i})`;let d=new Kn(A,i);d.result=a.result,n(d)}else s(a)}))})}},ip=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var lye=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 lye(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var Mu=w(require("fs"),1),V8=require("url");var Xn=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var QY=require("node:os"),xY=w(require("node:util"),1),NY=w(require("node:process"),1);function SY(t,...e){NY.default.stderr.write(`${xY.default.format(t,...e)}${QY.EOL}`)}o(SY,"log");var RY=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,vY,j0=[],K0=[],Kg=[];RY&&X0(RY);var PY=Object.assign(t=>kY(t),{enable:X0,enabled:Z0,disable:uye,log:SY});function X0(t){vY=t,j0=[],K0=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?K0.push(r.substring(1)):j0.push(r);for(let r of Kg)r.enabled=Z0(r.namespace)}o(X0,"enable");function Z0(t){if(t.endsWith("*"))return!0;for(let e of K0)if(TY(t,e))return!1;for(let e of j0)if(TY(t,e))return!0;return!1}o(Z0,"enabled");function TY(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(TY,"namespaceMatches");function uye(){let t=vY||"";return X0(""),t}o(uye,"disable");function kY(t){let e=Object.assign(r,{enabled:Z0(t),destroy:Aye,log:PY.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"),Kg.push(e),e}o(kY,"createDebugger");function Aye(){let t=Kg.indexOf(this);return t>=0?(Kg.splice(t,1),!0):!1}o(Aye,"destroy");function dye(t){let e=kY(`${this.namespace}:${t}`);return e.log=this.log,e}o(dye,"extend");var au=PY;var eN=["verbose","info","warning","error"],DY={verbose:400,info:300,warning:200,error:100};function _Y(t,e){e.log=(...r)=>{t.log(...r)}}o(_Y,"patchLogMethod");function LY(t){return eN.includes(t)}o(LY,"isTypeSpecRuntimeLogLevel");function Xg(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&&!LY(A))throw new Error(`Unknown log level '${A}'. Acceptable values: ${eN.join(",")}`);s=A;let d=[];for(let p of e)a(p)&&d.push(p.namespace);au.enable(d.join(","))}o(i,"contextSetLogLevel"),r&&(LY(r)?i(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${eN.join(", ")}.`));function a(A){return!!(s&&DY[A.level]<=DY[s])}o(a,"shouldEnable");function c(A,d){let p=Object.assign(A.extend(d),{level:d});if(_Y(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 _Y(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(Xg,"createLoggerContext");var MY=Xg({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),pye=MY.logger;function ap(t){return MY.createClientLogger(t)}o(ap,"createClientLogger");function Zg(t){return t.toLowerCase()}o(Zg,"normalizeName");function*mye(t){for(let e of t.values())yield[e.name,e.value]}o(mye,"headerIterator");var tN=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(Zg(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(Zg(e))?.value}has(e){return this._headersMap.has(Zg(e))}delete(e){this._headersMap.delete(Zg(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 mye(this._headersMap)}};function As(t){return new tN(t)}o(As,"createHttpHeaders");function ic(){return crypto.randomUUID()}o(ic,"randomUUID");var rN=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||ic(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function eE(t){return new rN(t)}o(eE,"createPipelineRequest");var OY=new Set(["Deserialize","Serialize","Retry","Sign"]),sN=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&&!OY.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!OY.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 tE(){return sN.create()}o(tE,"createEmptyPipeline");function cu(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(cu,"isObject");function oc(t){if(cu(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(oc,"isError");var FY=require("node:util"),UY=FY.inspect.custom;var nN="REDACTED",hye=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],fye=["api-version"],Cn=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=hye.concat(e),r=fye.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,nN);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]=nN;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]=nN;return r}};var gye=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,UY,{value:o(()=>`RestError: ${this.message} ${gye.sanitize({...this,request:{...this.request,agent:s},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function rE(t){return t instanceof Br?!0:oc(t)&&t.name==="RestError"}o(rE,"isRestError");function Mr(t,e){return Buffer.from(t,e)}o(Mr,"stringToUint8Array");var sE=w(require("node:http"),1),nE=w(require("node:https"),1),iN=w(require("node:zlib"),1),GY=require("node:stream");var Fs=ap("ts-http-runtime");var Eye={};function cp(t){return t&&typeof t.pipe=="function"}o(cp,"isReadableStream");function qY(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(qY,"isStreamComplete");function HY(t){return t&&typeof t.byteLength=="number"}o(HY,"isArrayBuffer");var iE=class extends GY.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}},oN=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=Bye(c);u!==null&&e.headers.set("Content-Length",u)}let l;try{if(c&&e.onUploadProgress){let h=e.onUploadProgress,g=new iE(h);g.on("error",C=>{Fs.error("Error in upload progress",C)}),cp(c)?c.pipe(g):g.end(c),c=g}let u=await this.makeRequest(e,r,c);n!==void 0&&clearTimeout(n);let A=yye(u),p={status:u.statusCode??0,headers:A,request:e};if(e.method==="HEAD")return u.resume(),p;l=a?Cye(u,A):u;let m=e.onDownloadProgress;if(m){let h=new iE(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 Iye(l),p}finally{if(e.abortSignal&&s){let u=Promise.resolve();cp(c)&&(u=qY(c));let A=Promise.resolve();cp(l)&&(A=qY(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?sE.default.request(c,l):nE.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&&cp(s)?s.pipe(A):s?typeof s=="string"||Buffer.isBuffer(s)?A.end(s):HY(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?sE.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new sE.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(s&&!e.tlsSettings)return nE.default.globalAgent;let n=e.tlsSettings??Eye,i=this.cachedHttpsAgents.get(n);return i&&i.options.keepAlive===!s||(Fs.info("No cached TLS Agent exist, creating a new Agent"),i=new nE.default.Agent({keepAlive:!s,...n}),this.cachedHttpsAgents.set(n,i)),i}}};function yye(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(yye,"getResponseHeaders");function Cye(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let s=iN.default.createGunzip();return t.pipe(s),s}else if(r==="deflate"){let s=iN.default.createInflate();return t.pipe(s),s}return t}o(Cye,"getDecodedResponseStream");function Iye(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(Iye,"streamToText");function Bye(t){return t?Buffer.isBuffer(t)?t.length:cp(t)?null:HY(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(Bye,"getBodyLength");function zY(){return new oN}o(zY,"createNodeHttpClient");function oE(){return zY()}o(oE,"createDefaultHttpClient");var aN="logPolicy";function aE(t={}){let e=t.logger??Fs.info,r=new Cn({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:aN,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 cE="redirectPolicy",$Y=["GET","HEAD"];function lE(t={}){let{maxRetries:e=20}=t;return{name:cE,async sendRequest(r,s){let n=await s(r);return VY(s,n,e)}}}o(lE,"redirectPolicy");async function VY(t,e,r,s=0){let{request:n,status:i,headers:a}=e,c=a.get("location");if(c&&(i===300||i===301&&$Y.includes(n.method)||i===302&&$Y.includes(n.method)||i===303&&n.method==="POST"||i===307)&&s{let i,a,c=o(()=>n(new Xn(r?.abortErrorMsg?r?.abortErrorMsg:wye)),"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(WY,"delay");function jY(t,e){let r=t.headers.get(e);if(!r)return;let s=Number(r);if(!Number.isNaN(s))return s}o(jY,"parseHeaderValueAsNumber");var cN="Retry-After",bye=["retry-after-ms","x-ms-retry-after-ms",cN];function KY(t){if(t&&[429,503].includes(t.status))try{for(let n of bye){let i=jY(t,n);if(i===0||i)return i*(n===cN?1e3:1)}let e=t.headers.get(cN);if(!e)return;let s=Date.parse(e)-Date.now();return Number.isFinite(s)?Math.max(0,s):void 0}catch{return}}o(KY,"getRetryAfterInMs");function XY(t){return Number.isFinite(KY(t))}o(XY,"isThrottlingRetryResponse");function lN(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=KY(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(lN,"throttlingRetryStrategy");var Qye=1e3,xye=1e3*64;function pE(t={}){let e=t.retryDelayInMs??Qye,r=t.maxRetryDelayInMs??xye;return{name:"exponentialRetryStrategy",retry({retryCount:s,response:n,responseError:i}){let a=Sye(i),c=a&&t.ignoreSystemErrors,l=Nye(n),u=l&&t.ignoreHttpStatusCodes;return n&&(XY(n)||!l)||u||c?{skipStrategy:!0}:i&&!a&&!l?{errorToThrow:i}:dE(s,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(pE,"exponentialRetryStrategy");function Nye(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(Nye,"isExponentialRetryResponse");function Sye(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(Sye,"isSystemError");var Rye=ap("ts-http-runtime retryPolicy"),Tye="retryPolicy";function cc(t,e={maxRetries:3}){let r=e.logger||Rye;return{name:Tye,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 WY(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(cc,"retryPolicy");var uN="defaultRetryPolicy";function mE(t={}){return{name:uN,sendRequest:cc([lN(),pE(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(mE,"defaultRetryPolicy");var ZY=typeof window<"u"&&typeof window.document<"u",eJ=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),tJ=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",rJ=typeof Bun<"u"&&typeof Bun.version<"u",lc=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var sJ=typeof navigator<"u"&&navigator?.product==="ReactNative";var AN="formDataPolicy";function vye(t){let e={};for(let[r,s]of t.entries())e[r]??=[],e[r].push(s);return e}o(vye,"formDataToFormDataMap");function hE(){return{name:AN,async sendRequest(t,e){if(lc&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=vye(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=Pye(t.formData):await kye(t.formData,t),t.formData=void 0}return e(t)}}}o(hE,"formDataPolicy");function Pye(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(Pye,"wwwFormUrlEncode");async function kye(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(kye,"prepareFormData");var kJ=w(xJ(),1),DJ=w(RJ(),1);var PCe="HTTPS_PROXY",kCe="HTTP_PROXY",DCe="ALL_PROXY",_Ce="NO_PROXY",EN="proxyPolicy",TJ=[],_J=!1,LCe=new Map;function bE(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(bE,"getEnvironmentValue");function LJ(){if(!process)return;let t=bE(PCe),e=bE(DCe),r=bE(kCe);return t||e||r}o(LJ,"loadEnvironmentProxyValue");function MCe(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(MCe,"isBypassed");function OCe(){let t=bE(_Ce);return _J=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(OCe,"loadNoProxy");function yN(t){if(!t&&(t=LJ(),!t))return;let e=new URL(t);return{host:(e.protocol?e.protocol+"//":"")+e.hostname,port:Number.parseInt(e.port||"80"),username:e.username,password:e.password}}o(yN,"getDefaultProxySettings");function FCe(){let t=LJ();return t?new URL(t):void 0}o(FCe,"getDefaultProxySettingsInternal");function vJ(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(vJ,"getUrlFromProxySettings");function PJ(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 DJ.HttpProxyAgent(r,{headers:i})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new kJ.HttpsProxyAgent(r,{headers:i})),t.agent=e.httpsProxyAgent)}o(PJ,"setProxyAgentOnRequest");function QE(t,e){_J||TJ.push(...OCe());let r=t?vJ(t):FCe(),s={};return{name:EN,async sendRequest(n,i){return!n.proxySettings&&r&&!MCe(n.url,e?.customNoProxyList??TJ,e?.customNoProxyList?void 0:LCe)?PJ(n,s,r):n.proxySettings&&PJ(n,s,vJ(n.proxySettings)),i(n)}}}o(QE,"proxyPolicy");var CN="agentPolicy";function xE(t){return{name:CN,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(xE,"agentPolicy");var IN="tlsPolicy";function NE(t){return{name:IN,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(NE,"tlsPolicy");function SE(t){return typeof t.stream=="function"}o(SE,"isBlob");var RE=require("stream");async function*MJ(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(MJ,"streamAsyncIterator");function UCe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=MJ.bind(t)),t.values||(t.values=MJ.bind(t))}o(UCe,"makeAsyncIterable");function OJ(t){return t instanceof ReadableStream?(UCe(t),RE.Readable.fromWeb(t)):t}o(OJ,"ensureNodeStream");function qCe(t){return t instanceof Uint8Array?RE.Readable.from(Buffer.from(t)):SE(t)?OJ(t.stream()):OJ(t)}o(qCe,"toStream");async function FJ(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(qCe);return RE.Readable.from((async function*(){for(let r of e)for await(let s of r)yield s})())}}o(FJ,"concat");function GCe(){return`----AzSDKFormBoundary${ic()}`}o(GCe,"generateBoundary");function HCe(t){let e="";for(let[r,s]of t)e+=`${r}: ${s}\r `;return e}o(HCe,"encodeHeaders");function zCe(t){return t instanceof Uint8Array?t.byteLength:SE(t)?t.size===-1?void 0:t.size:void 0}o(zCe,"getLength");function $Ce(t){let e=0;for(let r of t){let s=zCe(r);if(s===void 0)return;e+=s}return e}o($Ce,"getTotalLength");async function VCe(t,e,r){let s=[Mr(`--${r}`,"utf-8"),...e.flatMap(i=>[Mr(`\r `,"utf-8"),Mr(HCe(i.headers),"utf-8"),Mr(`\r `,"utf-8"),i.body,Mr(`\r --${r}`,"utf-8")]),Mr(`--\r \r `,"utf-8")],n=$Ce(s);n&&t.headers.set("Content-Length",n),t.body=await FJ(s)}o(VCe,"buildRequestBody");var dp="multipartPolicy",YCe=70,JCe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function WCe(t){if(t.length>YCe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!JCe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(WCe,"assertValidBoundary");function TE(){return{name:dp,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?WCe(r):r=GCe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await VCe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(TE,"multipartPolicy");function vE(){return tE()}o(vE,"createEmptyPipeline");var UJ=Xg({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),A3e=UJ.logger;function ei(t){return UJ.createClientLogger(t)}o(ei,"createClientLogger");var ti=ei("core-rest-pipeline");function bN(t={}){return aE({logger:ti.info,...t})}o(bN,"logPolicy");var QN=cE;function xN(t={}){return lE(t)}o(xN,"redirectPolicy");var PE=w(require("node:os"),1),kE=w(require("node:process"),1);function qJ(){return"User-Agent"}o(qJ,"getHeaderName");async function GJ(t){if(kE.default&&kE.default.versions){let e=`${PE.default.type()} ${PE.default.release()}; ${PE.default.arch()}`,r=kE.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(GJ,"setPlatformSpecificData");var DE="1.22.2";function sIe(t){let e=[];for(let[r,s]of t){let n=s?`${r}/${s}`:r;e.push(n)}return e.join(" ")}o(sIe,"getUserAgentString");function HJ(){return qJ()}o(HJ,"getUserAgentHeaderName");async function _E(t){let e=new Map;e.set("core-rest-pipeline",DE),await GJ(e);let r=sIe(e);return t?`${t} ${r}`:r}o(_E,"getUserAgentValue");var zJ=HJ(),$J="userAgentPolicy";function NN(t={}){let e=_E(t.userAgentPrefix);return{name:$J,async sendRequest(r,s){return r.headers.has(zJ)||r.headers.set(zJ,await e),s(r)}}}o(NN,"userAgentPolicy");var ms=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function SN(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,a)=>{function c(){a(new 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(SN,"createAbortablePromise");var cIe="The delay was aborted.";function pp(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return SN(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??cIe})}o(pp,"delay");function ea(t){if(oc(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(ea,"getErrorMessage");function VJ(t){return oc(t)}o(VJ,"isError");function mu(){return ic()}o(mu,"randomUUID");var Ne=lc;var YJ=Symbol("rawContent");function TN(t){return typeof t[YJ]=="function"}o(TN,"hasRawContent");function JJ(t){return TN(t)?t[YJ]():t}o(JJ,"getRawContent");var LE=dp;function vN(){let t=TE();return{name:LE,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let s of e.multipartBody.parts)TN(s.body)&&(s.body=JJ(s.body));return t.sendRequest(e,r)},"sendRequest")}}o(vN,"multipartPolicy");var PN=uE;function kN(){return AE()}o(kN,"decompressResponsePolicy");function DN(t={}){return mE(t)}o(DN,"defaultRetryPolicy");function _N(){return hE()}o(_N,"formDataPolicy");function ta(t){return yN(t)}o(ta,"getDefaultProxySettings");function LN(t,e){return QE(t,e)}o(LN,"proxyPolicy");var WJ="setClientRequestIdPolicy";function MN(t="x-ms-client-request-id"){return{name:WJ,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(MN,"setClientRequestIdPolicy");function ON(t){return xE(t)}o(ON,"agentPolicy");function FN(t){return NE(t)}o(FN,"tlsPolicy");var hu={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function jJ(t={}){let e=new UN(t.parentContext);return t.span&&(e=e.setValue(hu.span,t.span)),t.namespace&&(e=e.setValue(hu.namespace,t.namespace)),e}o(jJ,"createTracingContext");var UN=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 XJ=w(KJ(),1),OE=XJ.state;function lIe(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(lIe,"createDefaultTracingSpan");function uIe(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:lIe(),tracingContext:jJ({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(uIe,"createDefaultInstrumenter");function mp(){return OE.instrumenterImplementation||(OE.instrumenterImplementation=uIe()),OE.instrumenterImplementation}o(mp,"getInstrumenter");function hp(t){let{namespace:e,packageName:r,packageVersion:s}=t;function n(u,A,d){let p=mp().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 mp().withContext(u,A,...d)}o(a,"withContext");function c(u){return mp().parseTraceparentHeader(u)}o(c,"parseTraceparentHeader");function l(u){return mp().createRequestHeaders(u)}return o(l,"createRequestHeaders"),{startSpan:n,withSpan:i,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(hp,"createTracingClient");var ro=Br;function Ac(t){return rE(t)}o(Ac,"isRestError");var ZJ="tracingPolicy";function qN(t={}){let e=_E(t.userAgentPrefix),r=new Cn({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),s=AIe();return{name:ZJ,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 mIe(l,A),A}catch(A){throw pIe(l,A),A}}}}o(qN,"tracingPolicy");function AIe(){try{return hp({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:DE})}catch(t){ti.warning(`Error when creating the TracingClient: ${ea(t)}`);return}}o(AIe,"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: ${ea(s)}`);return}}o(dIe,"tryCreateSpan");function pIe(t,e){try{t.setStatus({status:"error",error:VJ(e)?e:void 0}),Ac(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){ti.warning(`Skipping tracing span processing due to an error: ${ea(r)}`)}}o(pIe,"tryProcessError");function mIe(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: ${ea(r)}`)}}o(mIe,"tryProcessResponse");function FE(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(FE,"wrapAbortSignalLike");var hIe="wrapAbortSignalLikePolicy";function e3(){return{name:hIe,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:s}=FE(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{s?.()}},"sendRequest")}}o(e3,"wrapAbortSignalLikePolicy");function GN(t){let e=vE();return Ne&&(t.agent&&e.addPolicy(ON(t.agent)),t.tlsOptions&&e.addPolicy(FN(t.tlsOptions)),e.addPolicy(LN(t.proxyOptions)),e.addPolicy(kN())),e.addPolicy(e3()),e.addPolicy(_N(),{beforePolicies:[LE]}),e.addPolicy(NN(t.userAgentOptions)),e.addPolicy(MN(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(vN(),{afterPhase:"Deserialize"}),e.addPolicy(DN(t.retryOptions),{phase:"Retry"}),e.addPolicy(qN({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Ne&&e.addPolicy(xN(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(bN(t.loggingOptions),{afterPhase:"Sign"}),e}o(GN,"createPipelineFromOptions");function fp(){let t=oE();return{async sendRequest(e){let{abortSignal:r,cleanup:s}=e.abortSignal?FE(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{s?.()}}}}o(fp,"createDefaultHttpClient");function so(t){return As(t)}o(so,"createHttpHeaders");function gp(t){return eE(t)}o(gp,"createPipelineRequest");var q8e=ei("core-rest-pipeline retryPolicy");var fIe={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function gIe(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(HN,"createTokenCycler");var n3="bearerTokenAuthenticationPolicy";async function UE(t,e){try{return[await e(t),void 0]}catch(r){if(Ac(r)&&r.response)return[r.response,r];throw r}}o(UE,"trySendRequest");async function EIe(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(EIe,"defaultAuthorizeRequest");function t3(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(t3,"isChallengeResponse");async function r3(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(r3,"authorizeRequestOnCaeChallenge");function fu(t){let{credential:e,scopes:r,challengeCallbacks:s}=t,n=t.logger||ti,i={authorizeRequest:s?.authorizeRequest?.bind(s)??EIe,authorizeRequestOnChallenge:s?.authorizeRequestOnChallenge?.bind(s)},a=e?HN(e):()=>Promise.resolve(null);return{name:n3,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 UE(c,l),t3(u)){let p=s3(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 r3({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:n},m),d&&([u,A]=await UE(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 UE(c,l)),t3(u)&&(p=s3(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 r3({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:n},m),d&&([u,A]=await UE(c,l))}}if(A)throw A;return u}}}o(fu,"bearerTokenAuthenticationPolicy");function yIe(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(yIe,"parseChallenges");function s3(t){return t?yIe(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(s3,"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 zN="DisableKeepAlivePolicy";function i3(){return{name:zN,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(i3,"createDisableKeepAlivePolicy");function o3(t){return t.getOrderedPolicies().some(e=>e.name===zN)}o(o3,"pipelineContainsDisableKeepAlivePolicy");function $N(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o($N,"encodeByteArray");function VN(t){return Buffer.from(t,"base64")}o(VN,"decodeString");function IIe(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(IIe,"isPrimitiveBody");var BIe=/^(-|\+)?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 BIe.test(t)}o(a3,"isDuration");var wIe=/^[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 c3(t){return wIe.test(t)}o(c3,"isValidUuid");function bIe(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(bIe,"handleNullableResponseAndWrappableBody");function YN(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 bIe({body:t.parsedBody,headers:r,hasNullableType:n,shouldWrapBody:IIe(t.parsedBody,i)})}o(YN,"flattenResponse");var JN=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=TIe(c,s,r):c.match(/^Enum$/i)!==null?a=vIe(s,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=DIe(c,r,s):c.match(/^ByteArray$/i)!==null?a=PIe(s,r):c.match(/^Base64Url$/i)!==null?a=kIe(s,r):c.match(/^Sequence$/i)!==null?a=_Ie(this,e,r,s,!!this.isXML,i):c.match(/^Dictionary$/i)!==null?a=LIe(this,e,r,s,!!this.isXML,i):c.match(/^Composite$/i)!==null&&(a=OIe(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=UIe(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=RIe(r):c.match(/^ByteArray$/i)!==null?a=VN(r):c.match(/^Base64Url$/i)!==null?a=NIe(r):c.match(/^Sequence$/i)!==null?a=GIe(this,e,r,s,i):c.match(/^Dictionary$/i)!==null&&(a=qIe(this,e,r,s,i))}return e.isConstant&&(a=e.defaultValue),a}};function fs(t={},e=!1){return new JN(t,e)}o(fs,"createSerializer");function QIe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(QIe,"trimEnd");function xIe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=$N(t);return QIe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(xIe,"bufferToBase64Url");function NIe(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,"/"),VN(t)}}o(NIe,"base64UrlToByteArray");function WN(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(WN,"splitSerializeName");function SIe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(SIe,"dateToUnixTime");function RIe(t){if(t)return new Date(t*1e3)}o(RIe,"unixTimeToDate");function TIe(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"&&c3(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(TIe,"serializeBasicTypes");function vIe(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(vIe,"serializeEnumType");function PIe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=$N(e)}return e}o(PIe,"serializeByteArrayType");function kIe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=xIe(e)}return e}o(kIe,"serializeBase64UrlType");function DIe(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=SIe(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(DIe,"serializeDateTypes");function _Ie(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(OIe,"serializeCompositeType");function d3(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(d3,"getXmlObjectValue");function FIe(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(FIe,"isSpecialXmlProperty");function UIe(t,e,r,s,n){let i=n.xml.xmlCharKey??"_";qE(t,e)&&(e=p3(t,e,r,"serializedName"));let a=A3(t,e,s),c={},l=[];for(let A of Object.keys(a)){let d=a[A],p=WN(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(WN(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)&&!FIe(A,n)&&(c[A]=r[A]);return c}o(UIe,"deserializeCompositeType");function qIe(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(qIe,"deserializeDictionaryType");function GIe(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=f3(t,s);!a.propertyFound&&r&&(a=f3(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=sa(t,{parameterPath:l,mapper:c},r);u!==void 0&&(i||(i={}),i[a]=u)}}return i}o(sa,"getOperationArgumentValueFromParameter");function f3(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(WIe,"deserializeResponseBody");function jIe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(jIe,"isOperationSpecEmpty");function KIe(t,e,r,s){let n=200<=t.status&&t.status<300;if(jIe(e)?n:!!r)if(r){if(!r.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let a=r??e.responses.default,c=t.request.streamResponseStatusCodes?.has(t.status)?`Unexpected status code: ${t.status}`:t.bodyAsText,l=new ro(c,{statusCode:t.status,request:t.request,response:t});if(!a&&!(t.parsedBody?.error?.code&&t.parsedBody?.error?.message))throw l;let u=a?.bodyMapper,A=a?.headersMapper;try{if(t.parsedBody){let d=t.parsedBody,p;if(u){let h=d;if(e.isXML&&u.type.name===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(KIe,"handleErrorResponse");async function XIe(t,e,r,s,n){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let i=r.bodyAsText,a=r.headers.get("Content-Type")||"",c=a?a.split(";").map(l=>l.toLowerCase()):[];try{if(c.length===0||c.some(l=>t.indexOf(l)!==-1))return r.parsedBody=JSON.parse(i),r;if(c.some(l=>e.indexOf(l)!==-1)){if(!n)throw new Error("Parsing XML not supported.");let l=await n(i,s.xml);return r.parsedBody=l,r}}catch(l){let u=`Error "${l}" occurred while parsing the response body - ${r.bodyAsText}.`,A=l.code||ro.PARSE_ERROR;throw new ro(u,{code:A,statusCode:r.status,request:r.request,response:r})}}return r}o(XIe,"parse");function y3(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(y3,"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 C3="serializationPolicy";function HE(t={}){let e=t.stringifyXML;return{name:C3,async sendRequest(r,s){let n=no(r),i=n?.operationSpec,a=n?.operationArguments;return i&&a&&(ZIe(r,a,i),eBe(r,a,i,e)),s(r)}}}o(HE,"serializationPolicy");function ZIe(t,e,r){if(r.headerParameters)for(let n of r.headerParameters){let i=sa(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(ZIe,"serializeHeaders");function eBe(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=sa(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=tBe(p,y,g,t.body,i);g===ri.Sequence?t.body=s(rBe(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=sa(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(eBe,"serializeRequestBody");function tBe(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(tBe,"getXmlValueWithNamespace");function rBe(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(rBe,"prepareXMLRootList");function Ep(t={}){let e=GN(t??{});return t.credentialOptions&&e.addPolicy(fu({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(HE(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(KN(t.deserializationOptions),{phase:"Deserialize"}),e}o(Ep,"createClientPipeline");var XN;function I3(){return XN||(XN=fp()),XN}o(I3,"getCachedDefaultHttpClient");var sBe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function w3(t,e,r,s){let n=nBe(e,r,s),i=!1,a=B3(t,n);if(e.path){let u=B3(e.path,n);e.path==="/{nextLink}"&&u.startsWith("/")&&(u=u.substring(1)),iBe(u)?(a=u,i=!0):a=oBe(a,u)}let{queryParams:c,sequenceParams:l}=aBe(e,r,s);return a=lBe(a,c,l,i),a}o(w3,"getRequestUrl");function B3(t,e){let r=t;for(let[s,n]of e)r=r.split(s).join(n);return r}o(B3,"replaceAll");function nBe(t,e,r){let s=new Map;if(t.urlParameters?.length)for(let n of t.urlParameters){let i=sa(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(nBe,"calculateUrlReplacements");function iBe(t){return t.includes("://")}o(iBe,"isAbsoluteUrl");function oBe(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(oBe,"appendPath");function aBe(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=sa(e,i,r);if(a!=null||i.mapper.required){a=t.serializer.serialize(i.mapper,a,si(i));let c=i.collectionFormat?sBe[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(aBe,"calculateQueryParameters");function cBe(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(cBe,"simpleParseQueryParams");function lBe(t,e,r,s=!1){if(e.size===0)return t;let n=new URL(t),i=cBe(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(lBe,"appendQueryParams");var ZN=ei("core-client");var yp=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&&ZN.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||I3(),this.pipeline=e.pipeline||uBe(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=w3(s,r,e,this),i=gp({url:n});i.method=r.httpMethod;let a=no(i);a.operationSpec=r,a.operationArguments=e;let c=r.contentType||this._requestContentType;c&&r.requestBody&&i.headers.set("Content-Type",c);let l=e.options;if(l){let u=l.requestOptions;u&&(u.timeout&&(i.timeout=u.timeout),u.onUploadProgress&&(i.onUploadProgress=u.onUploadProgress),u.onDownloadProgress&&(i.onDownloadProgress=u.onDownloadProgress),u.shouldDeserialize!==void 0&&(a.shouldDeserialize=u.shouldDeserialize),u.allowInsecureConnection&&(i.allowInsecureConnection=!0)),l.abortSignal&&(i.abortSignal=l.abortSignal),l.tracingOptions&&(i.tracingOptions=l.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),i.streamResponseStatusCodes===void 0&&(i.streamResponseStatusCodes=y3(r));try{let u=await this.sendRequest(i),A=YN(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=YN(A,r.responses[u.statusCode]||r.responses.default);u.details=d,l?.onResponse&&l.onResponse(A,d,u)}throw u}}};function uBe(t){let e=ABe(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return Ep({...t,credentialOptions:r})}o(uBe,"createDefaultPipeline");function ABe(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(ABe,"getCredentialScopes");var b3={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 zE=o(async t=>{let e=gBe(t.request),r=hBe(t.response);if(r){let s=fBe(r),n=mBe(t,s),i=pBe(s);if(!i)return!1;let a=await t.getAccessToken(n,{...e,tenantId:i});return a?(t.request.headers.set(b3.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function pBe(t){let s=new URL(t.authorization_uri).pathname.split("/")[1];if(s&&dBe(s))return s}o(pBe,"extractTenantId");function mBe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=b3.DefaultScope;let s=r.toString();return s==="https://disk.azure.com/.default"&&(s="https://disk.azure.com//.default"),[s]}o(mBe,"buildScopes");function hBe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(hBe,"getChallenge");function fBe(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(fBe,"parseChallenge");function gBe(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(gBe,"requestToOptions");var Q3=Symbol("Original PipelineRequest"),EBe=Symbol.for("@azure/core-client original request");function Ip(t,e={}){let s=t[Q3],n=so(t.headers.toJson({preserveCase:!0}));if(s)return s.headers=n,s;{let i=gp({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[EBe]=e.originalRequest),i}}o(Ip,"toPipelineRequest");function dc(t,e){let r=e?.originalRequest??t,s={url:t.url,method:t.method,headers:Bp(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===Q3?t:i==="clone"?()=>dc(Ip(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(dc,"toWebResourceLike");function Bp(t){return new eS(t.toJSON({preserveCase:!0}))}o(Bp,"toHttpHeadersLike");function Cp(t){return t.toLowerCase()}o(Cp,"getHeaderKey");var eS=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[Cp(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[Cp(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[Cp(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[Cp(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(dc(e,{createProxy:!0}));return VE(r)},"sendRequest")}}o(sS,"convertHttpClient");var S3=":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",IBe=S3+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",BBe="["+S3+"]["+IBe+"]*",wBe=new RegExp("^"+BBe+"$");function YE(t,e){let r=[],s=e.exec(t);for(;s;){let n=[];n.startIndex=e.lastIndex-s[0].length;let i=s.length;for(let a=0;a"u")},"isName");function R3(t){return typeof t<"u"}o(R3,"isExist");var bp=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],JE=["__proto__","constructor","prototype"];var bBe={allowBooleanAttributes:!1,unpairedTags:[]};function WE(t,e){e=Object.assign({},bBe,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--),!PBe(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=NBe(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=k3(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=k3(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(WE,"validate");function T3(t){return t===" "||t===" "||t===` `||t==="\r"}o(T3,"isWhiteSpace");function v3(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(v3,"readPI");function P3(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(P3,"readCommentAndCDATA");var QBe='"',xBe="'";function NBe(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(NBe,"readAttributeStr");var SBe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function k3(t,e){let r=YE(t,SBe),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"},_3={Agrave:"\xC0",agrave:"\xE0",Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",Aring:"\xC5",aring:"\xE5",AElig:"\xC6",aelig:"\xE6",Ccedil:"\xC7",ccedil:"\xE7",Egrave:"\xC8",egrave:"\xE8",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Euml:"\xCB",euml:"\xEB",Igrave:"\xCC",igrave:"\xEC",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",Iuml:"\xCF",iuml:"\xEF",ETH:"\xD0",eth:"\xF0",Ntilde:"\xD1",ntilde:"\xF1",Ograve:"\xD2",ograve:"\xF2",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",Oslash:"\xD8",oslash:"\xF8",Ugrave:"\xD9",ugrave:"\xF9",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",THORN:"\xDE",thorn:"\xFE",szlig:"\xDF",yuml:"\xFF",Yuml:"\u0178"},L3={Amacr:"\u0100",amacr:"\u0101",Abreve:"\u0102",abreve:"\u0103",Aogon:"\u0104",aogon:"\u0105",Cacute:"\u0106",cacute:"\u0107",Ccirc:"\u0108",ccirc:"\u0109",Cdot:"\u010A",cdot:"\u010B",Ccaron:"\u010C",ccaron:"\u010D",Dcaron:"\u010E",dcaron:"\u010F",Dstrok:"\u0110",dstrok:"\u0111",Emacr:"\u0112",emacr:"\u0113",Ecaron:"\u011A",ecaron:"\u011B",Edot:"\u0116",edot:"\u0117",Eogon:"\u0118",eogon:"\u0119",Gcirc:"\u011C",gcirc:"\u011D",Gbreve:"\u011E",gbreve:"\u011F",Gdot:"\u0120",gdot:"\u0121",Gcedil:"\u0122",Hcirc:"\u0124",hcirc:"\u0125",Hstrok:"\u0126",hstrok:"\u0127",Itilde:"\u0128",itilde:"\u0129",Imacr:"\u012A",imacr:"\u012B",Iogon:"\u012E",iogon:"\u012F",Idot:"\u0130",IJlig:"\u0132",ijlig:"\u0133",Jcirc:"\u0134",jcirc:"\u0135",Kcedil:"\u0136",kcedil:"\u0137",kgreen:"\u0138",Lacute:"\u0139",lacute:"\u013A",Lcedil:"\u013B",lcedil:"\u013C",Lcaron:"\u013D",lcaron:"\u013E",Lmidot:"\u013F",lmidot:"\u0140",Lstrok:"\u0141",lstrok:"\u0142",Nacute:"\u0143",nacute:"\u0144",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ENG:"\u014A",eng:"\u014B",Omacr:"\u014C",omacr:"\u014D",Odblac:"\u0150",odblac:"\u0151",OElig:"\u0152",oelig:"\u0153",Racute:"\u0154",racute:"\u0155",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",Sacute:"\u015A",sacute:"\u015B",Scirc:"\u015C",scirc:"\u015D",Scedil:"\u015E",scedil:"\u015F",Scaron:"\u0160",scaron:"\u0161",Tcedil:"\u0162",tcedil:"\u0163",Tcaron:"\u0164",tcaron:"\u0165",Tstrok:"\u0166",tstrok:"\u0167",Utilde:"\u0168",utilde:"\u0169",Umacr:"\u016A",umacr:"\u016B",Ubreve:"\u016C",ubreve:"\u016D",Uring:"\u016E",uring:"\u016F",Udblac:"\u0170",udblac:"\u0171",Uogon:"\u0172",uogon:"\u0173",Wcirc:"\u0174",wcirc:"\u0175",Ycirc:"\u0176",ycirc:"\u0177",Zacute:"\u0179",zacute:"\u017A",Zdot:"\u017B",zdot:"\u017C",Zcaron:"\u017D",zcaron:"\u017E"},M3={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"},O3={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"},F3={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:"<"},U3={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"},q3={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"},G3={square:"\u25A1",Square:"\u25A1",squ:"\u25A1",squf:"\u25AA",squarf:"\u25AA",blacksquar:"\u25AA",blacksquare:"\u25AA",FilledVerySmallSquare:"\u25AA",blk34:"\u2593",blk12:"\u2592",blk14:"\u2591",block:"\u2588",srect:"\u25AD",rect:"\u25AD",sdot:"\u22C5",sdotb:"\u22A1",dotsquare:"\u22A1",triangle:"\u25B5",tri:"\u25B5",trine:"\u25B5",utri:"\u25B5",triangledown:"\u25BF",dtri:"\u25BF",tridown:"\u25BF",triangleleft:"\u25C3",ltri:"\u25C3",triangleright:"\u25B9",rtri:"\u25B9",blacktriangle:"\u25B4",utrif:"\u25B4",blacktriangledown:"\u25BE",dtrif:"\u25BE",blacktriangleleft:"\u25C2",ltrif:"\u25C2",blacktriangleright:"\u25B8",rtrif:"\u25B8",loz:"\u25CA",lozenge:"\u25CA",blacklozenge:"\u29EB",lozf:"\u29EB",bigcirc:"\u25EF",xcirc:"\u25EF",circ:"\u02C6",Circle:"\u25CB",cir:"\u25CB",o:"\u25CB",bullet:"\u2022",bull:"\u2022",hellip:"\u2026",mldr:"\u2026",nldr:"\u2025",boxh:"\u2500",HorizontalLine:"\u2500",boxv:"\u2502",boxdr:"\u250C",boxdl:"\u2510",boxur:"\u2514",boxul:"\u2518",boxvr:"\u251C",boxvl:"\u2524",boxhd:"\u252C",boxhu:"\u2534",boxvh:"\u253C",boxH:"\u2550",boxV:"\u2551",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxDl:"\u2555",boxdL:"\u2556",boxDL:"\u2557",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxUl:"\u255C",boxuL:"\u255B",boxUL:"\u255D",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",boxVl:"\u2562",boxvL:"\u2561",boxVL:"\u2563",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C"},H3={excl:"!",iexcl:"\xA1",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",nbsp:"\xA0",comma:",",period:".",colon:":",semi:";",vert:"|",Verbar:"\u2016",verbar:"|",dblac:"\u02DD",circ:"\u02C6",caron:"\u02C7",breve:"\u02D8",dot:"\u02D9",ring:"\u02DA",ogon:"\u02DB",tilde:"\u02DC",DiacriticalGrave:"`",DiacriticalAcute:"\xB4",DiacriticalTilde:"\u02DC",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",grave:"`",acute:"\xB4"},jE={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"},z3={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"},$3={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"},kBe={...D3,..._3,...L3,...M3,...O3,...F3,...U3,...q3,...G3,...H3,...jE,...z3,...$3},xp={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},nS={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 DBe=new Set("!?\\\\/[]$%{}^&*()<>|+");function V3(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(DBe.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}o(V3,"validateEntityName");function iS(...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(iS,"mergeEntityMaps");var pc="external",KE="base",oS="all";function _Be(t){return!t||t===pc?new Set([pc]):t===oS?new Set([oS]):t===KE?new Set([KE]):Array.isArray(t)?new Set(t):new Set([pc])}o(_Be,"parseLimitTiers");var Fr=Object.freeze({allow:0,leave:1,remove:2,throw:3}),LBe=new Set([9,10,13]);function MBe(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(MBe,"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=_Be(this._limit.applyLimitsTo??pc),this._numericAllowed=e.numericAllowed??!0,this._baseMap=iS(xp,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=MBe(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))V3(r);this._externalMap=iS(e)}addExternalEntity(e,r){V3(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=iS(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=pc);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=KE}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&&!LBe.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&&nbp.includes(t)?"__"+t:t,"defaultOnDangerousProperty"),OBe={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:o(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:o(function(t,e){return e},"attributeValueProcessor"),stopNodes:[],alwaysCreateTextNode:!1,isArray:o(()=>!1,"isArray"),commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:o(function(t,e,r){return t},"updateTag"),captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:Y3};function FBe(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(bp.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(JE.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(FBe,"validatePropertyName");function J3(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"}:J3(!0)}o(J3,"normalizeProcessEntities");var W3=o(function(t){let e=Object.assign({},OBe,t),r=[{value:e.attributeNamePrefix,name:"attributeNamePrefix"},{value:e.attributesGroupName,name:"attributesGroupName"},{value:e.textNodeName,name:"textNodeName"},{value:e.cdataPropName,name:"cdataPropName"},{value:e.commentPropName,name:"commentPropName"}];for(let{value:s,name:n}of r)s&&FBe(s,n);return e.onDangerousProperty===null&&(e.onDangerousProperty=Y3),e.processEntities=J3(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 XE;typeof Symbol!="function"?XE="@@xmlMetadata":XE=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][XE]={startIndex:r})}static getMetaDataSymbol(){return XE}};var Sp=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&&mc(e,"!ELEMENT",r)){r+=8;let{index:u}=this.readElementExp(e,r+1);r=u}else if(a&&mc(e,"!ATTLIST",r))r+=8;else if(a&&mc(e,"!NOTATION",r)){r+=9;let{index:u}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=u}else if(mc(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 YBe(t,Number(r),e)}o(aS,"toNumber");var HBe=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function zBe(t,e,r){if(!r.eNotation)return t;let s=e.match(HBe);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(zBe,"resolveEnotation");function $Be(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($Be,"trimZeros");function VBe(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(VBe,"parse_int");function YBe(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(YBe,"handleInfinity");function cS(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(cS,"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 lS(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 JBe(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(JBe,"extractRawAttributes");function WBe(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(WBe,"extractNamespace");var Rp=class{static{o(this,"OrderedObjParser")}constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=ewe,this.parseTextData=jBe,this.resolveNameSpace=KBe,this.buildAttributesMap=ZBe,this.isItStopNode=nwe,this.replaceEntitiesValue=rwe,this.readStopNodeData=awe,this.saveTextToParentTag=swe,this.addChild=twe,this.ignoreAttributesFn=cS(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let r={...xp};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?r=this.options.htmlEntities:this.options.htmlEntities===!0&&(r={...nS,...jE}),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?dS(t,c.parseTagValue,c.numberParseOptions):t}}o(jBe,"parseTextData");function KBe(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(KBe,"resolveNameSpace");var XBe=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function ZBe(t,e,r,s=!1){let n=this.options;if(s===!0||n.ignoreAttributes!==!0&&typeof t=="string"){let i=YE(t,XBe),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=uS(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=AS(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=AS(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}=uS(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=WBe(p),d!==e.tagname&&this.matcher.push(d,{},B),d!==m&&h&&(y=this.buildAttributesMap(m,this.matcher,d),y&&(I=JBe(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}=uS(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 twe(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(twe,"addChild");function rwe(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(rwe,"replaceEntitiesValue");function swe(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(swe,"saveTextToParentTag");function nwe(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(nwe,"isItStopNode");function iwe(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=AS(t,r,">");c&&((c&&c.tagName)===e&&c.tagExp[c.tagExp.length-1]!=="/"&&n++,r=c.closeIndex)}}}o(awe,"readStopNodeData");function dS(t,e,r){if(e&&typeof t=="string"){let s=t.trim();return s==="true"?!0:s==="false"?!1:aS(t,r)}else return R3(t)?t:""}o(dS,"parseValue");function uS(t,e,r,s){if(t){let n=t(e);r===e&&(r=n),e=n}return e=j3(e,s),{tagName:e,tagExp:r}}o(uS,"transformTagName");function j3(t,e){if(JE.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return bp.includes(t)?e.onDangerousProperty(t):t}o(j3,"sanitizeName");var pS=Ur.getMetaDataSymbol();function cwe(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(cwe,"stripAttributePrefix");function mS(t,e,r,s){return K3(t,e,r,s)}o(mS,"prettify");function K3(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(K3,"compress");function lwe(t){let e=Object.keys(t);for(let r=0;r/g,"]]]]>")}o(ey,"safeCdata");function na(t){return String(t).replace(/"/g,""").replace(/'/g,"'")}o(na,"escapeAttribute");var X3=":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=X3+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",Z3=":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}",pwe=Z3+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",e4=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"),mwe=e4(X3,dwe),hwe=e4(Z3,pwe,"u"),fwe=o((t="1.0")=>t==="1.1"?hwe:mwe,"getRegexes");var ty=o((t,{xmlVersion:e="1.0"}={})=>fwe(e).qName.test(t),"qName");var gwe=` `;function Ewe(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(gS(r)==="?xml"){let n=r[":@"];if(n){let i=e.attributeNamePrefix+"version";if(n[i])return n[i]}}return"1.0"}o(Ewe,"detectXmlVersionFromArray");function r4(t,e,r,s,n){return!r.sanitizeName||ty(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(r4,"resolveTagName");function fS(t,e){let r="";e.format&&(r=gwe);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=hS(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=ZE(I);a+=r+``,c=!0,s.pop();continue}else if(p[0]==="?"){let I=t4(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=t4(u[":@"],e,h,s,i),E=r+`<${p}${C}`,y;h?y=n4(u[A],e):y=s4(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(s4,"arrToStr");function ywe(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]=na(t[n]),s=!0}return s?r:null}o(ywe,"extractAttributeValues");function n4(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(n4,"getRawContent");function Cwe(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)}="${na(n)}"`}return r}o(Cwe,"attr_to_str_raw");function gS(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(ES,"getIgnoreAttributesFn");var Bwe={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({},Bwe,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 wwe(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(wwe,"detectXmlVersionFromObj");function yS(t,e,r,s,n){return!r.sanitizeName||ty(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(yS,"resolveTagName");Gr.prototype.build=function(t){if(this.options.preserveOrder)return fS(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new ni,r=wwe(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:yS(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=yS(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=ZE(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(ry,"stringifyXML");async function IS(t,e={}){if(!t)throw new Error("Document is empty");let r=i4.validate(t);if(r!==!0)throw r;let n=new Bu(Swe(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(IS,"parseXML");var sy=ei("storage-blob");var A4=require("events");var l4=require("node:stream");var ny=class extends l4.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 u4=w(require("node:buffer"),1);var iy=u4.default.constants.MAX_LENGTH,oy=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/iy);for(let i=0;i0&&(e[0]=e[0].slice(a))}getReadableStream(){return new ny(this.buffers,this.size)}};var ay=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new A4.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 oy(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 BS;function wS(){return BS||(BS=fp()),BS}o(wS,"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 io={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}},re={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};function ia(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(ia,"setURLParameter");function cy(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(cy,"setURLHost");function ly(t){try{return new URL(t).pathname}catch{return}}o(ly,"getURLPath");function uy(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(Ay,"delay");var Tp=class extends ii{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return Ne?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=ia(e.url,io.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(re.COOKIE),e.headers.remove(re.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};var vp=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new Tp(e,r)}};var hc=class extends ii{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var Pp=class extends hc{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var fc=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var je=class extends fc{static{o(this,"AnonymousCredential")}create(e,r){return new Pp(e,r)}};var d4=require("node:crypto");var Rwe=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]),Twe=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]),vwe=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 dy(t,e){return Pwe(t,e)?-1:1}o(dy,"compareHeader");function Pwe(t,e){let r=[Rwe,Twe,vwe],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)=>dy(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=ly(e.url)||"/",s="";s+=`/${this.factory.accountName}${r}`;let n=uy(e.url),i={};if(n){let a=[];for(let c in n)if(Object.prototype.hasOwnProperty.call(n,c)){let l=c.toLowerCase();i[l]=n[c],a.push(l)}a.sort();for(let c of a)s+=` ${c}:${decodeURIComponent(i[c])}`}return s}};var it=class extends fc{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new kp(e,r,this)}computeHMACSHA256(e){return(0,d4.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 oa={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Hs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},kwe=new ms("The operation was aborted."),Dp=class extends ii{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,s=oa){super(e,r),this.retryOptions={retryPolicyType:s.retryPolicyType?s.retryPolicyType:oa.retryPolicyType,maxTries:s.maxTries&&s.maxTries>=1?Math.floor(s.maxTries):oa.maxTries,tryTimeoutInMs:s.tryTimeoutInMs&&s.tryTimeoutInMs>=0?s.tryTimeoutInMs:oa.tryTimeoutInMs,retryDelayInMs:s.retryDelayInMs&&s.retryDelayInMs>=0?Math.min(s.retryDelayInMs,s.maxRetryDelayInMs?s.maxRetryDelayInMs:oa.maxRetryDelayInMs):oa.retryDelayInMs,maxRetryDelayInMs:s.maxRetryDelayInMs&&s.maxRetryDelayInMs>=0?s.maxRetryDelayInMs:oa.maxRetryDelayInMs,secondaryHost:s.secondaryHost?s.secondaryHost:oa.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=cy(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=ia(n.url,io.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`),Ay(n,s,kwe)}};var _p=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new Dp(e,r,this.retryOptions)}};var Dwe="storageBrowserPolicy";function p4(){return{name:Dwe,async sendRequest(t,e){return Ne||((t.method==="GET"||t.method==="HEAD")&&(t.url=ia(t.url,io.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(re.COOKIE),t.headers.delete(re.CONTENT_LENGTH)),e(t)}}}o(p4,"storageBrowserPolicy");var _we="StorageCorrectContentLengthPolicy";function m4(){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:_we,async sendRequest(e,r){return t(e),r(e)}}}o(m4,"storageCorrectContentLengthPolicy");var Lwe="storageRetryPolicy",wu={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Hs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Mwe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],Owe=new ms("The operation was aborted.");function h4(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 Mwe)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:Lwe,async sendRequest(u,A){a&&(u.url=ia(u.url,io.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=u.url,p=i?cy(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(Ac(I))kt.error(`RetryPolicy: Caught error, message: ${I.message}, code: ${I.code}`),E=I;else throw kt.error(`RetryPolicy: Caught error, message: ${ea(I)}`),I}g=c({isPrimaryRetry:y,attempt:h,response:C,error:E}),g&&await Ay(l(y,h),u.abortSignal,Owe),h++}if(C)return C;throw E??new ro("RetryPolicy failed without known error.")}}}o(h4,"storageRetryPolicy");var f4=require("node:crypto");var Fwe="storageSharedKeyCredentialPolicy";function bS(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,f4.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)=>dy(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=ly(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=uy(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:Fwe,async sendRequest(i,a){return e(i),a(i)}}}o(bS,"storageSharedKeyCredentialPolicy");var Uwe="storageRequestFailureDetailsParserPolicy";function g4(){return{name:Uwe,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(g4,"storageRequestFailureDetailsParserPolicy");var E4=require("node:crypto");var py=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,E4.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var my="12.31.0",hy="2026-02-06";var fy="https://storage.azure.com/.default",oo={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var In="",QS="*",qwe=1*1024*1024;var Gwe=4*qwe;var y4="AES256",C4="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",I4=["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"],B4=["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"],w4="BlobUsesCustomerSpecifiedEncryption",b4="BlobDoesNotUseCustomerSpecifiedEncryption",Q4=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function ao(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}o(ao,"isPipelineLike");var Lp=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 Lp([],e);return r._credential=t,r}o(Ct,"newPipeline");function Hwe(t){let e=[zwe,x4,$we,Vwe,Ywe,Jwe,jwe];if(t.factories.length){let r=t.factories.filter(s=>!e.some(n=>n(s)));if(r.length){let s=r.some(n=>Wwe(n));return{wrappedPolicies:rS(r),afterRetry:s}}}}o(Hwe,"processDownlevelPipeline");function xS(t){let{httpClient:e,...r}=t.options,s=t._coreHttpClient;s||(s=e?sS(e):wS(),t._coreHttpClient=s);let n=t._corePipeline;if(!n){let i=`azsdk-js-azure-storage-blob/${my}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;n=Ep({...r,loggingOptions:{additionalAllowedHeaderNames:I4,additionalAllowedQueryParameters:B4,logger:sy.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:ry,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:IS,serializerOptions:{xml:{xmlCharKey:"#"}}}}),n.removePolicy({phase:"Retry"}),n.removePolicy({name:PN}),n.addPolicy(m4()),n.addPolicy(h4(r.retryOptions),{phase:"Retry"}),n.addPolicy(g4()),n.addPolicy(p4());let c=Hwe(t);c&&n.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=NS(t);hs(l)?n.addPolicy(fu({credential:l,scopes:r.audience??fy,challengeCallbacks:{authorizeRequestOnChallenge:zE}}),{phase:"Sign"}):l instanceof it&&n.addPolicy(bS({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=n}return{...r,allowInsecureConnection:!0,httpClient:s,pipeline:n}}o(xS,"getCoreClientOptions");function NS(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(x4(r))return r;return e}o(NS,"getCredentialFromPipeline");function x4(t){return t instanceof it?!0:t.constructor.name==="StorageSharedKeyCredential"}o(x4,"isStorageSharedKeyCredential");function zwe(t){return t instanceof je?!0:t.constructor.name==="AnonymousCredential"}o(zwe,"isAnonymousCredential");function $we(t){return hs(t.credential)}o($we,"isCoreHttpBearerTokenFactory");function Vwe(t){return t instanceof vp?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(Vwe,"isStorageBrowserPolicyFactory");function Ywe(t){return t instanceof _p?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(Ywe,"isStorageRetryPolicyFactory");function Jwe(t){return t.constructor.name==="TelemetryPolicyFactory"}o(Jwe,"isStorageTelemetryPolicyFactory");function Wwe(t){return t.constructor.name==="InjectorPolicyFactory"}o(Wwe,"isInjectorPolicyFactory");function jwe(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(jwe,"isCoreHttpPolicyFactory");var N4;(function(t){t.AES256="AES256"})(N4||(N4={}));var S4;(function(t){t.Backup="backup"})(S4||(S4={}));var R4;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(R4||(R4={}));var T4;(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"})(T4||(T4={}));var Es={};SZ(Es,{AccessPolicy:()=>cbe,AppendBlobAppendBlockExceptionHeaders:()=>YT,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>WT,AppendBlobAppendBlockFromUrlHeaders:()=>JT,AppendBlobAppendBlockHeaders:()=>VT,AppendBlobCreateExceptionHeaders:()=>$T,AppendBlobCreateHeaders:()=>zT,AppendBlobSealExceptionHeaders:()=>KT,AppendBlobSealHeaders:()=>jT,ArrowConfiguration:()=>Bbe,ArrowField:()=>wbe,BlobAbortCopyFromURLExceptionHeaders:()=>gT,BlobAbortCopyFromURLHeaders:()=>fT,BlobAcquireLeaseExceptionHeaders:()=>tT,BlobAcquireLeaseHeaders:()=>eT,BlobBreakLeaseExceptionHeaders:()=>lT,BlobBreakLeaseHeaders:()=>cT,BlobChangeLeaseExceptionHeaders:()=>aT,BlobChangeLeaseHeaders:()=>oT,BlobCopyFromURLExceptionHeaders:()=>hT,BlobCopyFromURLHeaders:()=>mT,BlobCreateSnapshotExceptionHeaders:()=>AT,BlobCreateSnapshotHeaders:()=>uT,BlobDeleteExceptionHeaders:()=>FR,BlobDeleteHeaders:()=>OR,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>WR,BlobDeleteImmutabilityPolicyHeaders:()=>JR,BlobDownloadExceptionHeaders:()=>_R,BlobDownloadHeaders:()=>Ey,BlobFlatListSegment:()=>lbe,BlobGetAccountInfoExceptionHeaders:()=>CT,BlobGetAccountInfoHeaders:()=>yT,BlobGetPropertiesExceptionHeaders:()=>MR,BlobGetPropertiesHeaders:()=>LR,BlobGetTagsExceptionHeaders:()=>wT,BlobGetTagsHeaders:()=>BT,BlobHierarchyListSegment:()=>pbe,BlobItemInternal:()=>ube,BlobName:()=>Abe,BlobPrefix:()=>mbe,BlobPropertiesInternal:()=>dbe,BlobQueryExceptionHeaders:()=>IT,BlobQueryHeaders:()=>Cy,BlobReleaseLeaseExceptionHeaders:()=>sT,BlobReleaseLeaseHeaders:()=>rT,BlobRenewLeaseExceptionHeaders:()=>iT,BlobRenewLeaseHeaders:()=>nT,BlobServiceProperties:()=>Mp,BlobServiceStatistics:()=>SS,BlobSetExpiryExceptionHeaders:()=>HR,BlobSetExpiryHeaders:()=>GR,BlobSetHttpHeadersExceptionHeaders:()=>$R,BlobSetHttpHeadersHeaders:()=>zR,BlobSetImmutabilityPolicyExceptionHeaders:()=>YR,BlobSetImmutabilityPolicyHeaders:()=>VR,BlobSetLegalHoldExceptionHeaders:()=>KR,BlobSetLegalHoldHeaders:()=>jR,BlobSetMetadataExceptionHeaders:()=>ZR,BlobSetMetadataHeaders:()=>XR,BlobSetTagsExceptionHeaders:()=>QT,BlobSetTagsHeaders:()=>bT,BlobSetTierExceptionHeaders:()=>ET,BlobSetTierHeaders:()=>yy,BlobStartCopyFromURLExceptionHeaders:()=>pT,BlobStartCopyFromURLHeaders:()=>dT,BlobTag:()=>obe,BlobTags:()=>Fp,BlobUndeleteExceptionHeaders:()=>qR,BlobUndeleteHeaders:()=>UR,Block:()=>hbe,BlockBlobCommitBlockListExceptionHeaders:()=>av,BlockBlobCommitBlockListHeaders:()=>ov,BlockBlobGetBlockListExceptionHeaders:()=>lv,BlockBlobGetBlockListHeaders:()=>cv,BlockBlobPutBlobFromUrlExceptionHeaders:()=>tv,BlockBlobPutBlobFromUrlHeaders:()=>ev,BlockBlobStageBlockExceptionHeaders:()=>sv,BlockBlobStageBlockFromURLExceptionHeaders:()=>iv,BlockBlobStageBlockFromURLHeaders:()=>nv,BlockBlobStageBlockHeaders:()=>rv,BlockBlobUploadExceptionHeaders:()=>ZT,BlockBlobUploadHeaders:()=>XT,BlockList:()=>_S,BlockLookupList:()=>DS,ClearRange:()=>gbe,ContainerAcquireLeaseExceptionHeaders:()=>CR,ContainerAcquireLeaseHeaders:()=>yR,ContainerBreakLeaseExceptionHeaders:()=>xR,ContainerBreakLeaseHeaders:()=>QR,ContainerChangeLeaseExceptionHeaders:()=>SR,ContainerChangeLeaseHeaders:()=>NR,ContainerCreateExceptionHeaders:()=>eR,ContainerCreateHeaders:()=>ZS,ContainerDeleteExceptionHeaders:()=>nR,ContainerDeleteHeaders:()=>sR,ContainerFilterBlobsExceptionHeaders:()=>ER,ContainerFilterBlobsHeaders:()=>gR,ContainerGetAccessPolicyExceptionHeaders:()=>cR,ContainerGetAccessPolicyHeaders:()=>aR,ContainerGetAccountInfoExceptionHeaders:()=>DR,ContainerGetAccountInfoHeaders:()=>kR,ContainerGetPropertiesExceptionHeaders:()=>rR,ContainerGetPropertiesHeaders:()=>tR,ContainerItem:()=>sbe,ContainerListBlobFlatSegmentExceptionHeaders:()=>TR,ContainerListBlobFlatSegmentHeaders:()=>RR,ContainerListBlobHierarchySegmentExceptionHeaders:()=>PR,ContainerListBlobHierarchySegmentHeaders:()=>vR,ContainerProperties:()=>nbe,ContainerReleaseLeaseExceptionHeaders:()=>BR,ContainerReleaseLeaseHeaders:()=>IR,ContainerRenameExceptionHeaders:()=>mR,ContainerRenameHeaders:()=>pR,ContainerRenewLeaseExceptionHeaders:()=>bR,ContainerRenewLeaseHeaders:()=>wR,ContainerRestoreExceptionHeaders:()=>dR,ContainerRestoreHeaders:()=>AR,ContainerSetAccessPolicyExceptionHeaders:()=>uR,ContainerSetAccessPolicyHeaders:()=>lR,ContainerSetMetadataExceptionHeaders:()=>oR,ContainerSetMetadataHeaders:()=>iR,ContainerSubmitBatchExceptionHeaders:()=>fR,ContainerSubmitBatchHeaders:()=>hR,CorsRule:()=>ebe,DelimitedTextConfiguration:()=>Cbe,FilterBlobItem:()=>ibe,FilterBlobSegment:()=>Op,GeoReplication:()=>rbe,JsonTextConfiguration:()=>Ibe,KeyInfo:()=>TS,ListBlobsFlatSegmentResponse:()=>PS,ListBlobsHierarchySegmentResponse:()=>kS,ListContainersSegmentResponse:()=>RS,Logging:()=>Kwe,Metrics:()=>Zwe,PageBlobClearPagesExceptionHeaders:()=>vT,PageBlobClearPagesHeaders:()=>TT,PageBlobCopyIncrementalExceptionHeaders:()=>HT,PageBlobCopyIncrementalHeaders:()=>GT,PageBlobCreateExceptionHeaders:()=>NT,PageBlobCreateHeaders:()=>xT,PageBlobGetPageRangesDiffExceptionHeaders:()=>MT,PageBlobGetPageRangesDiffHeaders:()=>LT,PageBlobGetPageRangesExceptionHeaders:()=>_T,PageBlobGetPageRangesHeaders:()=>DT,PageBlobResizeExceptionHeaders:()=>FT,PageBlobResizeHeaders:()=>OT,PageBlobUpdateSequenceNumberExceptionHeaders:()=>qT,PageBlobUpdateSequenceNumberHeaders:()=>UT,PageBlobUploadPagesExceptionHeaders:()=>RT,PageBlobUploadPagesFromURLExceptionHeaders:()=>kT,PageBlobUploadPagesFromURLHeaders:()=>PT,PageBlobUploadPagesHeaders:()=>ST,PageList:()=>gy,PageRange:()=>fbe,QueryFormat:()=>ybe,QueryRequest:()=>LS,QuerySerialization:()=>Ebe,RetentionPolicy:()=>Xwe,ServiceFilterBlobsExceptionHeaders:()=>XS,ServiceFilterBlobsHeaders:()=>KS,ServiceGetAccountInfoExceptionHeaders:()=>JS,ServiceGetAccountInfoHeaders:()=>YS,ServiceGetPropertiesExceptionHeaders:()=>US,ServiceGetPropertiesHeaders:()=>FS,ServiceGetStatisticsExceptionHeaders:()=>GS,ServiceGetStatisticsHeaders:()=>qS,ServiceGetUserDelegationKeyExceptionHeaders:()=>VS,ServiceGetUserDelegationKeyHeaders:()=>$S,ServiceListContainersSegmentExceptionHeaders:()=>zS,ServiceListContainersSegmentHeaders:()=>HS,ServiceSetPropertiesExceptionHeaders:()=>OS,ServiceSetPropertiesHeaders:()=>MS,ServiceSubmitBatchExceptionHeaders:()=>jS,ServiceSubmitBatchHeaders:()=>WS,SignedIdentifier:()=>abe,StaticWebsite:()=>tbe,StorageError:()=>T,UserDelegationKey:()=>vS});var Mp={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"}}}}},Kwe={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"}}}}},Xwe={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"}}}}},Zwe={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"}}}}},ebe={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"}}}}},tbe={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"}}}}},SS={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},rbe={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"}}}}},RS={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"}}}}},sbe={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"}}}}}}},nbe={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"}}}}},TS={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"}}}}},vS={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"}}}}},Op={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"}}}}},ibe={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"}}}}},Fp={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"}}}}}}},obe={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"}}}}},abe={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"}}}}},cbe={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"}}}}},PS={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"}}}}},lbe={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"}}}}}}},ube={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"}}}}},Abe={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"}}}}},kS={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"}}}}},pbe={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"}}}}}}},mbe={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},DS={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"}}}}}}},_S={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"}}}}}}},hbe={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"}}}}},gy={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"}}}}},fbe={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"}}}}},gbe={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"}}}}},LS={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"}}}}},Ebe={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},ybe={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"}}}}}}},Cbe={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"}}}}},Ibe={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},Bbe={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"}}}}}}},wbe={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}},MS={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OS={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FS={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},US={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qS={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GS={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HS={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"}}}}},zS={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$S={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"}}}}},VS={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YS={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"}}}}},JS={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WS={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"}}}}},jS={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KS={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"}}}}},XS={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZS={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"}}}}},eR={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tR={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"}}}}},rR={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sR={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"}}}}},nR={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iR={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"}}}}},oR={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aR={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"}}}}},cR={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lR={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"}}}}},uR={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AR={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"}}}}},dR={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pR={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"}}}}},mR={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hR={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"}}}}},fR={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gR={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"}}}}},ER={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yR={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"}}}}},CR={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IR={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"}}}}},BR={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wR={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"}}}}},bR={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QR={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"}}}}},xR={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NR={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},SR={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RR={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"}}}}},TR={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vR={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"}}}}},PR={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kR={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"}}}}},DR={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ey={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},_R={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LR={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MR={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OR={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FR={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},UR={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"}}}}},qR={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GR={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},HR={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zR={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"}}}}},$R={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VR={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"]}}}}},YR={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JR={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"}}}}},WR={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jR={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"}}}}},KR={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XR={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"}}}}},ZR={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eT={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"}}}}},tT={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rT={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"}}}}},sT={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nT={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"}}}}},iT={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oT={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"}}}}},aT={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cT={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"}}}}},lT={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uT={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"}}}}},AT={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dT={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"}}}}},pT={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"}}}}},mT={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"}}}}},hT={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"}}}}},fT={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"}}}}},gT={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yy={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"}}}}},ET={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yT={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"}}}}},CT={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Cy={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"}}}}},IT={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BT={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"}}}}},wT={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bT={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"}}}}},QT={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xT={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NT={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ST={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RT={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TT={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"}}}}},vT={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PT={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"}}}}},kT={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"}}}}},DT={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"}}}}},_T={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LT={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MT={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OT={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FT={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},UT={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"}}}}},qT={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GT={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HT={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zT={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"}}}}},$T={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VT={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"}}}}},YT={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JT={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"}}}}},WT={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"}}}}},jT={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"}}}}},KT={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XT={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"}}}}},ZT={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ev={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"}}}}},tv={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"}}}}},rv={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"}}}}},sv={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nv={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"}}}}},iv={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"}}}}},ov={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"}}}}},av={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cv={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"}}}}},lv={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"}}},v4={parameterPath:"blobServiceProperties",mapper:Mp},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},Up={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"}}},P4={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},qp={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Gp={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"}}},k4={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},D4={parameterPath:"keyInfo",mapper:TS},_4={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"}}},Iy={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},By={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},zt={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},wy={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},by={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Qy={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},$t={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"}}}}},uv={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},L4={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},M4={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"}}},oe={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},ae={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},xy={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Av={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},O4={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},Ny={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},F4={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},U4={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},q4={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},G4={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},H4={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"}}},Sy={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Ry={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},Ty={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},vy={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},aa={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},Py={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},ky={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Dy={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},_y={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Ly={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},dv={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"},pv={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},z4={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"}}},gc={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},$4={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},V4={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},ot={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},at={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},ct={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},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"}}},Y4={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},J4={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},W4={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},j4={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},K4={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"}}},mv={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"]}}},X4={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Z4={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"}}},eW={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},co={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}},hv={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"}}},My={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},Ec={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"}}},tW={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"}}},rW={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},lo={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},uo={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},Oy={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},Ao={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},sW={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},nW={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},iW={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},oW={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"]}}},cW={parameterPath:["options","queryRequest"],mapper:LS},lW={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},fv={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},gv={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},Ev={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},yv={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},Cv={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},uW={parameterPath:["options","tags"],mapper:Fp},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"}}},AW={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},Iv={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},Bv={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},yc={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Cc={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Ic={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Fy={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},wv={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Uy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},qy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},Gy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},dW={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"}}},pW={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"}}},mW={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},bv={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},hW={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},fW={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},gW={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},EW={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},yW={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},Qv={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},xv={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},Hy={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},zy={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},CW={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Nv={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},IW={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},Sv={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Rv={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},BW={parameterPath:"blocks",mapper:DS},Tv={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},wW={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var $y=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},bbe)}getProperties(e){return this.client.sendOperationRequest({options:e},Qbe)}getStatistics(e){return this.client.sendOperationRequest({options:e},xbe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},Nbe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},Sbe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Rbe)}submitBatch(e,r,s,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:s,options:n},Tbe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},vbe)}},ca=fs(Es,!0),bbe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:MS},default:{bodyMapper:T,headersMapper:OS}},requestBody:v4,queryParameters:[Up,$s,P],urlParameters:[v],headerParameters:[oi,zs,k,D],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ca},Qbe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Mp,headersMapper:FS},default:{bodyMapper:T,headersMapper:US}},queryParameters:[Up,$s,P],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:ca},xbe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:SS,headersMapper:qS},default:{bodyMapper:T,headersMapper:GS}},queryParameters:[Up,P,P4],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:ca},Nbe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:RS,headersMapper:HS},default:{bodyMapper:T,headersMapper:zS}},queryParameters:[P,qp,Gp,ai,ci,k4],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:ca},Sbe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:vS,headersMapper:$S},default:{bodyMapper:T,headersMapper:VS}},requestBody:D4,queryParameters:[Up,P,_4],urlParameters:[v],headerParameters:[oi,zs,k,D],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ca},Rbe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:YS},default:{bodyMapper:T,headersMapper:JS}},queryParameters:[$s,P,bu],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:ca},Tbe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:WS},default:{bodyMapper:T,headersMapper:jS}},requestBody:Iy,queryParameters:[P,By],urlParameters:[v],headerParameters:[zs,k,D,zt,wy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ca},vbe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Op,headersMapper:KS},default:{bodyMapper:T,headersMapper:XS}},queryParameters:[P,ai,ci,by,Qy],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:ca};var Vy=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},Pbe)}getProperties(e){return this.client.sendOperationRequest({options:e},kbe)}delete(e){return this.client.sendOperationRequest({options:e},Dbe)}setMetadata(e){return this.client.sendOperationRequest({options:e},_be)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},Lbe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},Mbe)}restore(e){return this.client.sendOperationRequest({options:e},Obe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},Fbe)}submitBatch(e,r,s,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:s,options:n},Ube)}filterBlobs(e){return this.client.sendOperationRequest({options:e},qbe)}acquireLease(e){return this.client.sendOperationRequest({options:e},Gbe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Hbe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},zbe)}breakLease(e){return this.client.sendOperationRequest({options:e},$be)}changeLease(e,r,s){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:s},Vbe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},Ybe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},Jbe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Wbe)}},Vt=fs(Es,!0),Pbe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:ZS},default:{bodyMapper:T,headersMapper:eR}},queryParameters:[P,$t],urlParameters:[v],headerParameters:[k,D,G,cr,uv,L4,M4],isXML:!0,serializer:Vt},kbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:tR},default:{bodyMapper:T,headersMapper:rR}},queryParameters:[P,$t],urlParameters:[v],headerParameters:[k,D,G,Ae],isXML:!0,serializer:Vt},Dbe={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:sR},default:{bodyMapper:T,headersMapper:nR}},queryParameters:[P,$t],urlParameters:[v],headerParameters:[k,D,G,Ae,oe,ae],isXML:!0,serializer:Vt},_be={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:iR},default:{bodyMapper:T,headersMapper:oR}},queryParameters:[P,$t,xy],urlParameters:[v],headerParameters:[k,D,G,cr,Ae,oe],isXML:!0,serializer:Vt},Lbe={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:aR},default:{bodyMapper:T,headersMapper:cR}},queryParameters:[P,$t,Av],urlParameters:[v],headerParameters:[k,D,G,Ae],isXML:!0,serializer:Vt},Mbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:lR},default:{bodyMapper:T,headersMapper:uR}},requestBody:O4,queryParameters:[P,$t,Av],urlParameters:[v],headerParameters:[oi,zs,k,D,uv,Ae,oe,ae],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Vt},Obe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:AR},default:{bodyMapper:T,headersMapper:dR}},queryParameters:[P,$t,Ny],urlParameters:[v],headerParameters:[k,D,G,F4,U4],isXML:!0,serializer:Vt},Fbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:pR},default:{bodyMapper:T,headersMapper:mR}},queryParameters:[P,$t,q4],urlParameters:[v],headerParameters:[k,D,G,G4,H4],isXML:!0,serializer:Vt},Ube={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:hR},default:{bodyMapper:T,headersMapper:fR}},requestBody:Iy,queryParameters:[P,By,$t],urlParameters:[v],headerParameters:[zs,k,D,zt,wy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Vt},qbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Op,headersMapper:gR},default:{bodyMapper:T,headersMapper:ER}},queryParameters:[P,ai,ci,by,Qy,$t],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:Vt},Gbe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:yR},default:{bodyMapper:T,headersMapper:CR}},queryParameters:[P,$t,Vs],urlParameters:[v],headerParameters:[k,D,G,oe,ae,Sy,Ry,Ty],isXML:!0,serializer:Vt},Hbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:IR},default:{bodyMapper:T,headersMapper:BR}},queryParameters:[P,$t,Vs],urlParameters:[v],headerParameters:[k,D,G,oe,ae,vy,aa],isXML:!0,serializer:Vt},zbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:wR},default:{bodyMapper:T,headersMapper:bR}},queryParameters:[P,$t,Vs],urlParameters:[v],headerParameters:[k,D,G,oe,ae,aa,Py],isXML:!0,serializer:Vt},$be={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:QR},default:{bodyMapper:T,headersMapper:xR}},queryParameters:[P,$t,Vs],urlParameters:[v],headerParameters:[k,D,G,oe,ae,ky,Dy],isXML:!0,serializer:Vt},Vbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:NR},default:{bodyMapper:T,headersMapper:SR}},queryParameters:[P,$t,Vs],urlParameters:[v],headerParameters:[k,D,G,oe,ae,aa,_y,Ly],isXML:!0,serializer:Vt},Ybe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:PS,headersMapper:RR},default:{bodyMapper:T,headersMapper:TR}},queryParameters:[P,qp,Gp,ai,ci,$t,dv,pv],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:Vt},Jbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:kS,headersMapper:vR},default:{bodyMapper:T,headersMapper:PR}},queryParameters:[P,qp,Gp,ai,ci,$t,dv,pv,z4],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:Vt},Wbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:kR},default:{bodyMapper:T,headersMapper:DR}},queryParameters:[$s,P,bu],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:Vt};var Yy=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},jbe)}getProperties(e){return this.client.sendOperationRequest({options:e},Kbe)}delete(e){return this.client.sendOperationRequest({options:e},Xbe)}undelete(e){return this.client.sendOperationRequest({options:e},Zbe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},eQe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},tQe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},rQe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},sQe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},nQe)}setMetadata(e){return this.client.sendOperationRequest({options:e},iQe)}acquireLease(e){return this.client.sendOperationRequest({options:e},oQe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},aQe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},cQe)}changeLease(e,r,s){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:s},lQe)}breakLease(e){return this.client.sendOperationRequest({options:e},uQe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},AQe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},dQe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},pQe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},mQe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},hQe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},fQe)}query(e){return this.client.sendOperationRequest({options:e},gQe)}getTags(e){return this.client.sendOperationRequest({options:e},EQe)}setTags(e){return this.client.sendOperationRequest({options:e},yQe)}},Ke=fs(Es,!0),jbe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Ey},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Ey},default:{bodyMapper:T,headersMapper:_R}},queryParameters:[P,br,li],urlParameters:[v],headerParameters:[k,D,G,Ae,oe,ae,gc,$4,V4,ot,at,ct,Ie,Be,he],isXML:!0,serializer:Ke},Kbe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:LR},default:{bodyMapper:T,headersMapper:MR}},queryParameters:[P,br,li],urlParameters:[v],headerParameters:[k,D,G,Ae,oe,ae,ot,at,ct,Ie,Be,he],isXML:!0,serializer:Ke},Xbe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:OR},default:{bodyMapper:T,headersMapper:FR}},queryParameters:[P,br,li,J4],urlParameters:[v],headerParameters:[k,D,G,Ae,oe,ae,Ie,Be,he,Y4],isXML:!0,serializer:Ke},Zbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:UR},default:{bodyMapper:T,headersMapper:qR}},queryParameters:[P,Ny],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:Ke},eQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:GR},default:{bodyMapper:T,headersMapper:HR}},queryParameters:[P,W4],urlParameters:[v],headerParameters:[k,D,G,j4,K4],isXML:!0,serializer:Ke},tQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:zR},default:{bodyMapper:T,headersMapper:$R}},queryParameters:[$s,P],urlParameters:[v],headerParameters:[k,D,G,Ae,oe,ae,Ie,Be,he,ui,Ai,di,pi,mi,hi],isXML:!0,serializer:Ke},rQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:VR},default:{bodyMapper:T,headersMapper:YR}},queryParameters:[P,br,li,mv],urlParameters:[v],headerParameters:[k,D,G,ae,Bn,wn],isXML:!0,serializer:Ke},sQe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:JR},default:{bodyMapper:T,headersMapper:WR}},queryParameters:[P,br,li,mv],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:Ke},nQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:jR},default:{bodyMapper:T,headersMapper:KR}},queryParameters:[P,br,li,X4],urlParameters:[v],headerParameters:[k,D,G,Z4],isXML:!0,serializer:Ke},iQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:XR},default:{bodyMapper:T,headersMapper:ZR}},queryParameters:[P,xy],urlParameters:[v],headerParameters:[k,D,G,cr,Ae,oe,ae,ot,at,ct,Ie,Be,he,Rt],isXML:!0,serializer:Ke},oQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:eT},default:{bodyMapper:T,headersMapper:tT}},queryParameters:[P,Vs],urlParameters:[v],headerParameters:[k,D,G,oe,ae,Sy,Ry,Ty,Ie,Be,he],isXML:!0,serializer:Ke},aQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:rT},default:{bodyMapper:T,headersMapper:sT}},queryParameters:[P,Vs],urlParameters:[v],headerParameters:[k,D,G,oe,ae,vy,aa,Ie,Be,he],isXML:!0,serializer:Ke},cQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:nT},default:{bodyMapper:T,headersMapper:iT}},queryParameters:[P,Vs],urlParameters:[v],headerParameters:[k,D,G,oe,ae,aa,Py,Ie,Be,he],isXML:!0,serializer:Ke},lQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:oT},default:{bodyMapper:T,headersMapper:aT}},queryParameters:[P,Vs],urlParameters:[v],headerParameters:[k,D,G,oe,ae,aa,_y,Ly,Ie,Be,he],isXML:!0,serializer:Ke},uQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:cT},default:{bodyMapper:T,headersMapper:lT}},queryParameters:[P,Vs],urlParameters:[v],headerParameters:[k,D,G,oe,ae,ky,Dy,Ie,Be,he],isXML:!0,serializer:Ke},AQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:uT},default:{bodyMapper:T,headersMapper:AT}},queryParameters:[P,eW],urlParameters:[v],headerParameters:[k,D,G,cr,Ae,oe,ae,ot,at,ct,Ie,Be,he,Rt],isXML:!0,serializer:Ke},dQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:dT},default:{bodyMapper:T,headersMapper:pT}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,cr,Ae,oe,ae,Ie,Be,he,Bn,wn,co,hv,fi,gi,Ei,yi,My,Ec,bn,tW,Ci],isXML:!0,serializer:Ke},pQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:mT},default:{bodyMapper:T,headersMapper:hT}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,cr,Ae,oe,ae,Ie,Be,he,Bn,wn,Rt,co,fi,gi,Ei,yi,Ec,bn,Ci,rW,lo,uo,Oy,Ao],isXML:!0,serializer:Ke},mQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:fT},default:{bodyMapper:T,headersMapper:gT}},queryParameters:[P,sW,iW],urlParameters:[v],headerParameters:[k,D,G,Ae,nW],isXML:!0,serializer:Ke},hQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:yy},202:{headersMapper:yy},default:{bodyMapper:T,headersMapper:ET}},queryParameters:[P,br,li,oW],urlParameters:[v],headerParameters:[k,D,G,Ae,he,hv,aW],isXML:!0,serializer:Ke},fQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:yT},default:{bodyMapper:T,headersMapper:CT}},queryParameters:[$s,P,bu],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:Ke},gQe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Cy},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Cy},default:{bodyMapper:T,headersMapper:IT}},requestBody:cW,queryParameters:[P,br,lW],urlParameters:[v],headerParameters:[oi,zs,k,D,Ae,oe,ae,ot,at,ct,Ie,Be,he],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ke},EQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Fp,headersMapper:BT},default:{bodyMapper:T,headersMapper:wT}},queryParameters:[P,br,li,fv],urlParameters:[v],headerParameters:[k,D,G,Ae,he,gv,Ev,yv,Cv],isXML:!0,serializer:Ke},yQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:bT},default:{bodyMapper:T,headersMapper:QT}},requestBody:uW,queryParameters:[P,li,fv],urlParameters:[v],headerParameters:[oi,zs,k,D,Ae,he,gv,Ev,yv,Cv,Ys,Ii],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ke};var Jy=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},CQe)}uploadPages(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},IQe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},BQe)}uploadPagesFromURL(e,r,s,n,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:s,range:n,options:i},wQe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},bQe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},QQe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},xQe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},NQe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},SQe)}},po=fs(Es,!0),CQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:xT},default:{bodyMapper:T,headersMapper:NT}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,zt,cr,Ae,oe,ae,ot,at,ct,Ie,Be,he,ui,Ai,di,pi,mi,hi,Bn,wn,Rt,co,bn,Ci,AW,Iv,Bv],isXML:!0,serializer:po},IQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ST},default:{bodyMapper:T,headersMapper:RT}},requestBody:Cc,queryParameters:[P,Fy],urlParameters:[v],headerParameters:[k,D,zt,Ae,oe,ae,gc,ot,at,ct,Ie,Be,he,Rt,Ys,Ii,yc,Ic,wv,Uy,qy,Gy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:po},BQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:TT},default:{bodyMapper:T,headersMapper:vT}},queryParameters:[P,Fy],urlParameters:[v],headerParameters:[k,D,G,zt,Ae,oe,ae,gc,ot,at,ct,Ie,Be,he,Rt,Uy,qy,Gy,dW],isXML:!0,serializer:po},wQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:PT},default:{bodyMapper:T,headersMapper:kT}},queryParameters:[P,Fy],urlParameters:[v],headerParameters:[k,D,G,zt,Ae,oe,ae,ot,at,ct,Ie,Be,he,Rt,fi,gi,Ei,yi,lo,uo,Ao,wv,Uy,qy,Gy,Qu,pW,xu,mW],isXML:!0,serializer:po},bQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:gy,headersMapper:DT},default:{bodyMapper:T,headersMapper:_T}},queryParameters:[P,ai,ci,br,bv],urlParameters:[v],headerParameters:[k,D,G,Ae,oe,ae,gc,Ie,Be,he],isXML:!0,serializer:po},QQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:gy,headersMapper:LT},default:{bodyMapper:T,headersMapper:MT}},queryParameters:[P,ai,ci,br,bv,hW],urlParameters:[v],headerParameters:[k,D,G,Ae,oe,ae,gc,Ie,Be,he,fW],isXML:!0,serializer:po},xQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:OT},default:{bodyMapper:T,headersMapper:FT}},queryParameters:[$s,P],urlParameters:[v],headerParameters:[k,D,G,Ae,oe,ae,ot,at,ct,Ie,Be,he,Rt,Iv],isXML:!0,serializer:po},NQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:UT},default:{bodyMapper:T,headersMapper:qT}},queryParameters:[$s,P],urlParameters:[v],headerParameters:[k,D,G,Ae,oe,ae,Ie,Be,he,Bv,gW],isXML:!0,serializer:po},SQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:GT},default:{bodyMapper:T,headersMapper:HT}},queryParameters:[P,EW],urlParameters:[v],headerParameters:[k,D,G,oe,ae,Ie,Be,he,Ec],isXML:!0,serializer:po};var Wy=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},RQe)}appendBlock(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},TQe)}appendBlockFromUrl(e,r,s){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:s},vQe)}seal(e){return this.client.sendOperationRequest({options:e},PQe)}},jy=fs(Es,!0),RQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:zT},default:{bodyMapper:T,headersMapper:$T}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,zt,cr,Ae,oe,ae,ot,at,ct,Ie,Be,he,ui,Ai,di,pi,mi,hi,Bn,wn,Rt,bn,Ci,yW],isXML:!0,serializer:jy},TQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:VT},default:{bodyMapper:T,headersMapper:YT}},requestBody:Cc,queryParameters:[P,Qv],urlParameters:[v],headerParameters:[k,D,zt,Ae,oe,ae,ot,at,ct,Ie,Be,he,Rt,Ys,Ii,yc,Ic,xv,Hy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:jy},vQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:JT},default:{bodyMapper:T,headersMapper:WT}},queryParameters:[P,Qv],urlParameters:[v],headerParameters:[k,D,G,zt,Ae,oe,ae,ot,at,ct,Ie,Be,he,Rt,fi,gi,Ei,yi,lo,uo,Ao,Ys,Qu,xu,xv,Hy,zy],isXML:!0,serializer:jy},PQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:jT},default:{bodyMapper:T,headersMapper:KT}},queryParameters:[P,CW],urlParameters:[v],headerParameters:[k,D,G,Ae,oe,ae,Ie,Be,Hy],isXML:!0,serializer:jy};var Ky=class{static{o(this,"BlockBlobImpl")}client;constructor(e){this.client=e}upload(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},kQe)}putBlobFromUrl(e,r,s){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:s},DQe)}stageBlock(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:s,options:n},_Qe)}stageBlockFromURL(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:s,options:n},LQe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},MQe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},OQe)}},Su=fs(Es,!0),kQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:XT},default:{bodyMapper:T,headersMapper:ZT}},requestBody:Cc,queryParameters:[P],urlParameters:[v],headerParameters:[k,D,zt,cr,Ae,oe,ae,ot,at,ct,Ie,Be,he,ui,Ai,di,pi,mi,hi,Bn,wn,Rt,co,bn,Ci,Ys,Ii,yc,Ic,Nv],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Su},DQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ev},default:{bodyMapper:T,headersMapper:tv}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,zt,cr,Ae,oe,ae,ot,at,ct,Ie,Be,he,ui,Ai,di,pi,mi,hi,Rt,co,fi,gi,Ei,yi,My,Ec,bn,lo,uo,Oy,Ao,Ys,Nv,IW],isXML:!0,serializer:Su},_Qe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:rv},default:{bodyMapper:T,headersMapper:sv}},requestBody:Cc,queryParameters:[P,Sv,Rv],urlParameters:[v],headerParameters:[k,D,zt,Ae,ot,at,ct,Rt,Ys,Ii,yc,Ic],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Su},LQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:nv},default:{bodyMapper:T,headersMapper:iv}},queryParameters:[P,Sv,Rv],urlParameters:[v],headerParameters:[k,D,G,zt,Ae,ot,at,ct,Rt,fi,gi,Ei,yi,lo,uo,Ao,Qu,xu,zy],isXML:!0,serializer:Su},MQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ov},default:{bodyMapper:T,headersMapper:av}},requestBody:BW,queryParameters:[P,Tv],urlParameters:[v],headerParameters:[oi,zs,k,D,cr,Ae,oe,ae,ot,at,ct,Ie,Be,he,ui,Ai,di,pi,mi,hi,Bn,wn,Rt,co,bn,Ci,Ys,Ii],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Su},OQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:_S,headersMapper:cv},default:{bodyMapper:T,headersMapper:lv}},queryParameters:[P,br,Tv,wW],urlParameters:[v],headerParameters:[k,D,G,Ae,he],isXML:!0,serializer:Su};var Hp=class extends wp{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 $y(this),this.container=new Vy(this),this.blob=new Yy(this),this.pageBlob=new Jy(this),this.appendBlob=new Wy(this),this.blockBlob=new Ky(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var zp=class extends Hp{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 QW(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=UQe(r),e.pathname=r,e.toString()}o(QW,"escapeURLPath");function FQe(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(FQe,"getProxyUriFromDevConnString");function Bc(t,e){let r=t.split(";");for(let s of r)if(s.trim().startsWith(e))return s.trim().match(e+"=(.*)")[1];return""}o(Bc,"getValueInConnString");function wc(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=FQe(t),t=C4);let r=Bc(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=Bc(t,"AccountName"),i=Buffer.from(Bc(t,"AccountKey"),"base64"),!r){s=Bc(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=Bc(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=Bc(t,"SharedAccessSignature"),n=Bc(t,"AccountName");if(n||(n=Dv(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(wc,"extractConnectionStringParts");function UQe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(UQe,"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 vv(t,e){return new URL(t).searchParams.get(e)??void 0}o(vv,"getURLParameter");function xW(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(xW,"getURLScheme");function $p(t,e){let r=new URL(t),s=r.search;return s?s+="&"+e:s=e,r.search=s,r.toString()}o($p,"appendToURLQuery");function Se(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(Se,"truncatedISO8061Date");function qQe(t){return Ne?Buffer.from(t).toString("base64"):btoa(t)}o(qQe,"base64encode");function Pv(t,e){t.length>42&&(t=t.slice(0,42));let i=t+GQe(e.toString(),48-t.length,"0");return qQe(i)}o(Pv,"generateBlockID");function GQe(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(GQe,"padStart");function kv(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(kv,"iEqual");function Dv(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:Xy(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(Dv,"getAccountNameFromUrl");function Xy(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&&Q4.includes(t.port)}o(Xy,"isIpEndpointStyle");function la(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(la,"toBlobTagsString");function NW(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(NW,"toBlobTags");function Zy(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(Zy,"toTags");function _v(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(_v,"toQuerySerialization");function eC(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(eC,"parseObjectReplicationRecord");function Tu(t){return t?t.scheme+" "+t.value:void 0}o(Tu,"httpAuthorizationToString");function*Lv(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 Vp(t,e,r){return Yp(t,e,r).sasQueryParameters}o(Vp,"generateBlobSASQueryParameters");function Yp(t,e,r){let s=t.version?t.version:hy,n=e instanceof it?e:void 0,i;if(n===void 0&&r!==void 0&&(i=new py(r,e)),n===void 0&&i===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(s>="2020-12-06")return n!==void 0?$Qe(t,n):s>="2025-07-05"?WQe(t,i):JQe(t,i);if(s>="2018-11-09")return n!==void 0?zQe(t,n):s>="2020-02-10"?YQe(t,i):VQe(t,i);if(s>="2015-04-05"){if(n!==void 0)return HQe(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(Yp,"generateBlobSASQueryParametersInternal");function HQe(t,e){if(t=Qc(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?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",bc(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(HQe,"generateBlobSASQueryParameters20150405");function zQe(t,e){if(t=Qc(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?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",bc(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(zQe,"generateBlobSASQueryParameters20181109");function $Qe(t,e){if(t=Qc(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?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",bc(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($Qe,"generateBlobSASQueryParameters20201206");function VQe(t,e){if(t=Qc(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?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",bc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Se(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Se(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(VQe,"generateBlobSASQueryParametersUDK20181109");function YQe(t,e){if(t=Qc(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?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",bc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Se(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Se(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(YQe,"generateBlobSASQueryParametersUDK20200210");function JQe(t,e){if(t=Qc(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?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",bc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Se(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Se(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(JQe,"generateBlobSASQueryParametersUDK20201206");function WQe(t,e){if(t=Qc(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?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",bc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Se(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Se(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(WQe,"generateBlobSASQueryParametersUDK20250705");function bc(t,e,r){let s=[`/blob/${t}/${e}`];return r&&s.push(`/${r}`),s.join("")}o(bc,"getCanonicalName");function Qc(t){let e=t.version?t.version:hy;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(Qc,"SASSignatureValuesSanityCheckAndAutofill");var Jp=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 RW=require("node:stream");var tC=class extends RW.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 rC=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 Ne?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,s,n,i={}){this.originalResponse=e,this.blobDownloadStream=new tC(this.originalResponse.readableStreamBody,r,s,n,i)}};var _W=require("node:stream");var Mv=new Uint8Array([79,98,106,1]),TW="avro.codec",vW="avro.schema";var et=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}},xc;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(xc||(xc={}));var Yt;(function(t){t.NULL="null",t.BOOLEAN="boolean",t.INT="int",t.LONG="long",t.FLOAT="float",t.DOUBLE="double",t.BYTES="bytes",t.STRING="string"})(Yt||(Yt={}));var mo=class t{static{o(this,"AvroType")}static fromSchema(e){return typeof e=="string"?t.fromStringSchema(e):Array.isArray(e)?t.fromArraySchema(e):t.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case Yt.NULL:case Yt.BOOLEAN:case Yt.INT:case Yt.LONG:case Yt.FLOAT:case Yt.DOUBLE:case Yt.BYTES:case Yt.STRING:return new Ov(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new Uv(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case xc.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 Gv(s,e.name);case xc.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 Fv(e.symbols);case xc.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new qv(t.fromSchema(e.values));case xc.ARRAY:case xc.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},Ov=class extends mo{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Yt.NULL:return et.readNull();case Yt.BOOLEAN:return et.readBoolean(e,r);case Yt.INT:return et.readInt(e,r);case Yt.LONG:return et.readLong(e,r);case Yt.FLOAT:return et.readFloat(e,r);case Yt.DOUBLE:return et.readDouble(e,r);case Yt.BYTES:return et.readBytes(e,r);case Yt.STRING:return et.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},Fv=class extends mo{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let s=await et.readInt(e,r);return this._symbols[s]}},Uv=class extends mo{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let s=await et.readInt(e,r);return this._types[s].read(e,r)}},qv=class extends mo{static{o(this,"AvroMapType")}_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let s=o((n,i)=>this._itemType.read(n,i),"readItemMethod");return et.readMap(e,s,r)}},Gv=class extends mo{static{o(this,"AvroRecordType")}_name;_fields;constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let s={};s.$schema=this._name;for(let n in this._fields)Object.prototype.hasOwnProperty.call(this._fields,n)&&(s[n]=await this._fields[n].read(e,r));return s}};function Hv(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 et.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!Hv(this._syncMarker,s))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await et.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await et.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};var jp=class{static{o(this,"AvroReadable")}};var DW=require("buffer");var kW=new ms("Reading from the avro stream was aborted."),Kp=class extends jp{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?DW.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 kW;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(kW)},"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 sC=class extends _W.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 Wp(new Kp(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 nC=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 Ne?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new sC(this.originalResponse.readableStreamBody,r)}};var zv;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(zv||(zv={}));var $v;(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"})($v||($v={}));function ua(t){if(t!==void 0)return t}o(ua,"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=y4)}o(_t,"ensureCpkIfSpecified");var Vv;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(Vv||(Vv={}));function iC(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(iC,"rangeResponseFromModel");var C8=w(y8(),1);var hC=class extends C8.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=tm({...l,blobClient:r,copySource:s,startCopyFromURLOptions:c});super(u),typeof i=="function"&&this.onProgress(i),this.intervalInMs=n}delay(){return pp(this.intervalInMs)}},Vxe=o(async function(e={}){let r=this.state,{copyId:s}=r;return r.isCompleted?tm(r):s?(await r.blobClient.abortCopyFromURL(s,{abortSignal:e.abortSignal}),r.isCancelled=!0,tm(r)):(r.isCancelled=!0,tm(r))},"cancel"),Yxe=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 tm(r)},"update"),Jxe=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function tm(t){return{state:{...t},cancel:Vxe,toString:Jxe,update:Yxe}}o(tm,"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 I8=require("events");var rm;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(rm||(rm={}));var sm=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=rm.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new I8.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=rm.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(w8,"streamToBuffer");async function b8(t,e){return new Promise((r,s)=>{let n=fC.default.createWriteStream(e);t.on("error",i=>{s(i)}),n.on("error",i=>{s(i)}),n.on("close",r),t.pipe(n)})}o(b8,"readStreamToLocalFile");var Q8=B8.default.promisify(fC.default.stat),x8=fC.default.createReadStream;var ho=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(ao(r))a=e,i=r;else if(Ne&&r instanceof it||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=wc(e);if(u.kind==="AccountConnString")if(Ne){let A=new it(u.accountName,u.accountKey);a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=ta(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=vv(this.url,oo.Parameters.SNAPSHOT),this._versionId=vv(this.url,oo.Parameters.VERSIONID)}withSnapshot(e){return new t(Ru(this.url,oo.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(Ru(this.url,oo.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new EC(this.url,this.pipeline)}getBlockBlobClient(){return new Du(this.url,this.pipeline)}getPageBlobClient(){return new yC(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:Ne?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:eC(i.objectReplicationRules)};if(!Ne)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 rC(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===w4||s.details.errorCode===b4))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:eC(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:NW(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:Zy({blobTagSet:s.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Jp(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 hC({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:ua(r.tier),blobTagsString:la(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(ua(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 b8(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(Xy(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:ua(r.tier),blobTagsString:la(r.tags),sealBlob:r.sealBlob,tracingOptions:s.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof it))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let s=Vp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r($p(this.url,s))})}generateSasStringToSign(e){if(!(this.credential instanceof it))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return Yp({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=Vp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();s($p(this.url,n))})}generateUserDelegationSasStringToSign(e,r){return Yp({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})))}},EC=class t extends ho{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},ao(r))a=e,i=r;else if(Ne&&r instanceof it||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=wc(e);if(u.kind==="AccountConnString")if(Ne){let A=new it(u.accountName,u.accountKey);a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=ta(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,oo.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:la(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:QS};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 ho{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},ao(r))a=e,i=r;else if(Ne&&r instanceof it||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=wc(e);if(u.kind==="AccountConnString")if(Ne){let A=new it(u.accountName,u.accountKey);a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=ta(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,oo.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(_t(r.customerProvidedKey,this.isHttps),!Ne)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:_v(r.inputTextConfiguration),outputSerialization:_v(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:s.tracingOptions}));return new nC(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:ua(s.tier),blobTagsString:la(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:ua(r.tier),blobTagsString:la(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:ua(r.tier),blobTagsString:la(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(Ne){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 sm(s.concurrency);for(let p=0;p{let m=Pv(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 Q8(e)).size;return this.uploadSeekableInternal((i,a)=>()=>x8(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=Pv(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}))})}},yC=class t extends ho{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},ao(r))a=e,i=r;else if(Ne&&r instanceof it||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=wc(e);if(u.kind==="AccountConnString")if(Ne){let A=new it(u.accountName,u.accountKey);a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=ta(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,oo.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:ua(r.tier),blobTagsString:la(r.tags),tracingOptions:s.tracingOptions})))}async createIfNotExists(e,r={}){return z.withSpan("PageBlobClient-createIfNotExists",r,async s=>{try{let n={ifNoneMatch:QS},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 iC(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*Lv(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 iC(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*Lv(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 iC(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 N8;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(N8||(N8={}));var S8;(function(t){t.AES256="AES256"})(S8||(S8={}));var CC=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 Rc=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"}};Rc.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var nm=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var i0e=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())})},fP=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 R8(t,e,r){return i0e(this,void 0,void 0,function*(){var s;let n=new ho(t),i=n.getBlockBlobClient(),a=new fP((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 CC(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw st(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(R8,"uploadCacheArchiveSDK");var v8=w(require("buffer"),1),bi=w(require("fs"),1),P8=w(require("stream"),1),k8=w(require("util"),1);var IC=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 BC(t){return t?t>=200&&t<300:!1}o(BC,"isSuccessStatusCode");function o0e(t){return t?t>=500:!0}o(o0e,"isServerErrorStatusCode");function a0e(t){return t?[nt.BadGateway,nt.ServiceUnavailable,nt.GatewayTimeout].includes(t):!1}o(a0e,"isRetryableStatusCode");function c0e(t){return IC(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(c0e,"sleep");function T8(t,e,r){return IC(this,arguments,void 0,function*(s,n,i,a=$g,c=Vg,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),!o0e(p)))return d;if(p&&(m=a0e(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 c0e(c),A++}throw Error(`${s} failed: ${u}`)})}o(T8,"retry");function im(t,e){return IC(this,arguments,void 0,function*(r,s,n=$g,i=Vg){return yield T8(r,s,a=>a.statusCode,n,i,a=>{if(a instanceof Kn)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(im,"retryTypedResponse");function Lu(t,e){return IC(this,arguments,void 0,function*(r,s,n=$g,i=Vg){return yield T8(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 l0e(t,e){return Js(this,void 0,void 0,function*(){yield k8.promisify(P8.pipeline)(t.message,e)})}o(l0e,"pipeResponseToStream");var wC=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 bC(t,e){return Js(this,void 0,void 0,function*(){let r=bi.createWriteStream(e),s=new to("actions/cache"),n=yield Lu("downloadCache",()=>Js(this,void 0,void 0,function*(){return s.get(t)}));n.message.socket.setTimeout(G0,()=>{n.message.destroy(),b(`Aborting download, socket timed out after ${G0} ms`)}),yield l0e(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(bC,"downloadCacheHttpClient");function D8(t,e,r){return Js(this,void 0,void 0,function*(){var s;let n=yield bi.promises.open(e,"w"),i=new to("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 u0e(i,t,y,I)}),"promiseGetter")})}u.reverse();let d=0,p=0,m=new wC(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(D8,"downloadCacheHttpClientConcurrent");function u0e(t,e,r,s){return Js(this,void 0,void 0,function*(){let i=0;for(;;)try{let c=yield L8(3e4,A0e(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(u0e,"downloadSegmentRetry");function A0e(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(A0e,"downloadSegment");function _8(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 bC(t,e);else{let c=Math.min(134217728,v8.constants.MAX_LENGTH),l=new wC(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 L8(r.segmentTimeoutInMs||36e5,n.downloadToBuffer(p,m,{abortSignal:d,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(h==="timeout")throw A.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(h)&&bi.writeFileSync(u,h)}}finally{l.stopDisplayTimer(),bi.closeSync(u)}}})}o(_8,"downloadCacheStorageSDK");var L8=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 gP(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(gP,"getUploadOptions");function M8(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(M8,"getDownloadOptions");function EP(){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(EP,"isGhes");function om(){return EP()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(om,"getCacheServiceVersion");var O8=["none","read","write","write-only"];function yP(){return(process.env.ACTIONS_CACHE_MODE||"").trim().toLowerCase()}o(yP,"getCacheMode");function F8(t){return O8.includes(t)?t==="read"||t==="write":!0}o(F8,"isCacheReadable");function U8(t){return O8.includes(t)?t==="write"||t==="write-only":!0}o(U8,"isCacheWritable");function QC(){let t=om();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(QC,"getCacheServiceURL");var z8=w(H8(),1);function xC(){return`@actions/cache-${z8.version}`}o(xC,"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 am(t){let e=QC();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(am,"getCacheApiUrl");function m0e(t,e){return`${t};api-version=${e}`}o(m0e,"createAcceptHeader");function h0e(){return{headers:{Accept:m0e("application/json","6.0-preview.1")}}}o(h0e,"getRequestOptions");function CP(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new ou(t);return new to(xC(),[e],h0e())}o(CP,"createHttpClient");function Y8(t,e,r){return zr(this,void 0,void 0,function*(){var s;let n=CP(),i=iu(e,r?.compressionMethod,r?.enableCrossOsArchive),a=`cache?keys=${encodeURIComponent(t.join(","))}&version=${i}`,c=yield im("getCacheEntry",()=>zr(this,void 0,void 0,function*(){return n.getJson(am(a))}));if(c.statusCode===204)return Xa()&&(yield f0e(t[0],n,i)),null;if(!BC(c.statusCode)){let A=(s=c.error)===null||s===void 0?void 0:s.message;throw A?.includes(Yg)?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(Y8,"getCacheEntry");function f0e(t,e,r){return zr(this,void 0,void 0,function*(){let s=`caches?key=${encodeURIComponent(t)}`,n=yield im("listCache",()=>zr(this,void 0,void 0,function*(){return e.getJson(am(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(f0e,"printCachesListForDiagnostics");function IP(t,e,r){return zr(this,void 0,void 0,function*(){let s=new V8.URL(t),n=M8(r);s.hostname.endsWith(".blob.core.windows.net")?n.useAzureSdk?yield _8(t,e,n):n.concurrentBlobDownloads?yield D8(t,e,n):yield bC(t,e):yield bC(t,e)})}o(IP,"downloadCache");function J8(t,e,r){return zr(this,void 0,void 0,function*(){let s=CP(),n=iu(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:n,cacheSize:r?.cacheSize};return yield im("reserveCache",()=>zr(this,void 0,void 0,function*(){return s.postJson(am("caches"),i)}))})}o(J8,"reserveCache");function $8(t,e){return`bytes ${t}-${e}/*`}o($8,"getContentRange");function g0e(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: ${$8(s,n)}`);let i={"Content-Type":"application/octet-stream","Content-Range":$8(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(!BC(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(g0e,"uploadChunk");function E0e(t,e,r,s){return zr(this,void 0,void 0,function*(){let n=jn(r),i=am(`caches/${e.toString()}`),a=Mu.openSync(r,"r"),c=gP(s),l=V0("uploadConcurrency",c.uploadConcurrency),u=V0("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(E0e,"uploadFile");function y0e(t,e,r){return zr(this,void 0,void 0,function*(){let s={size:r};return yield im("commitCache",()=>zr(this,void 0,void 0,function*(){return t.postJson(am(`caches/${e.toString()}`),s)}))})}o(y0e,"commitCache");function BP(t,e,r,s){return zr(this,void 0,void 0,function*(){if(gP(s).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield R8(r,e,s)}else{let i=CP();b("Upload cache"),yield E0e(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 y0e(i,t,a);if(!BC(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);S("Cache saved successfully")}})}o(BP,"saveCache");var G5=w(_5(),1),wt=w(Bt(),1),Cs=w(Bt(),1),Dc=w(Bt(),1),_c=w(Bt(),1),Lc=w(Bt(),1);var fk=w(Bt(),1),gk=w(Bt(),1),F5=w(Bt(),1),U5=w(Bt(),1),q5=w(Bt(),1);var pk=w(Bt(),1),mk=w(Bt(),1),L5=w(Bt(),1),M5=w(Bt(),1),O5=w(Bt(),1);var hk=class extends O5.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,M5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,L5.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posAI,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,U5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,F5.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,_c.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Dc.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,_c.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Dc.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,_c.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Dc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posxk.fromJson(n,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=Nk.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(n=>Sk.fromJson(n,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=Rk.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(n=>Tk.fromJson(n,{ignoreUnknownFields:!0}))}};function H5(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(H5,"maskSigUrl");function z5(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"&&H5(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&H5(t.signed_download_url)}o(z5,"maskSecretUrls");var pI=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())})},vk=class{static{o(this,"CacheServiceClient")}constructor(e,r,s,n){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=wY();this.baseUrl=QC(),r&&(this.maxAttempts=r),s&&(this.baseRetryIntervalMilliseconds=s),n&&(this.retryMultiplier=n),this.httpClient=new to(e,[new ou(i)])}request(e,r,s,n){return pI(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(()=>pI(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 pI(this,void 0,void 0,function*(){let r=0,s="",n="";for(;r0&&st(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new nm(`Rate limited: ${s}`)}}catch(c){if(c instanceof SyntaxError&&b(`Raw Body: ${n}`),c instanceof Rc||c instanceof nm)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?[nt.BadGateway,nt.GatewayTimeout,nt.InternalServerError,nt.ServiceUnavailable].includes(e):!1}sleep(e){return pI(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 Pk(t){let e=new vk(xC(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new dI(e)}o(Pk,"internalCacheTwirpClient");var mI=require("fs"),Is=w(require("path"),1);var go=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())})},ma=process.platform==="win32";function RSe(){return go(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield BY(),e=EY;if(t)return{path:t,type:us.GNU};if((0,mI.existsSync)(e))return{path:e,type:us.BSD};break}case"darwin":{let t=yield ft("gtar",!1);return t?{path:t,type:us.GNU}:{path:yield ft("tar",!0),type:us.BSD}}default:break}return{path:yield ft("tar",!0),type:us.GNU}})}o(RSe,"getTarPath");function TSe(t,e,r){return go(this,arguments,void 0,function*(s,n,i,a=""){let c=[`"${s.path}"`],l=Ko(n),u="cache.tar",A=$5(),d=s.type===us.BSD&&n!==Cr.Gzip&&ma;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",z0);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(TSe,"getTarArgs");function kk(t,e){return go(this,arguments,void 0,function*(r,s,n=""){let i,a=yield RSe(),c=yield TSe(a,r,s,n),l=s!=="create"?yield vSe(a,r,n):yield PSe(a,r),u=a.type===us.BSD&&r!==Cr.Gzip&&ma;return u&&s!=="create"?i=[[...l].join(" "),[...c].join(" ")]:i=[[...c].join(" "),[...l].join(" ")],u?i:[i.join(" ")]})}o(kk,"getCommands");function $5(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o($5,"getWorkingDirectory");function vSe(t,e,r){return go(this,void 0,void 0,function*(){let s=t.type===us.BSD&&e!==Cr.Gzip&&ma;switch(e){case Cr.Zstd:return s?["zstd -d --long=30 --force -o",tp,r.replace(new RegExp(`\\${Is.sep}`,"g"),"/")]:["--use-compress-program",ma?'"zstd -d --long=30"':"unzstd --long=30"];case Cr.ZstdWithoutLong:return s?["zstd -d --force -o",tp,r.replace(new RegExp(`\\${Is.sep}`,"g"),"/")]:["--use-compress-program",ma?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(vSe,"getDecompressionProgram");function PSe(t,e){return go(this,void 0,void 0,function*(){let r=Ko(e),s=t.type===us.BSD&&e!==Cr.Gzip&&ma;switch(e){case Cr.Zstd:return s?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${Is.sep}`,"g"),"/"),tp]:["--use-compress-program",ma?'"zstd -T0 --long=30"':"zstdmt --long=30"];case Cr.ZstdWithoutLong:return s?["zstd -T0 --force -o",r.replace(new RegExp(`\\${Is.sep}`,"g"),"/"),tp]:["--use-compress-program",ma?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(PSe,"getCompressionProgram");function Dk(t,e){return go(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(Dk,"execCommands");function Bm(t,e){return go(this,void 0,void 0,function*(){let r=yield kk(e,"list",t);yield Dk(r)})}o(Bm,"listTar");function _k(t,e){return go(this,void 0,void 0,function*(){let r=$5();yield Ps(r);let s=yield kk(e,"extract",t);yield Dk(s)})}o(_k,"extractTar");function Lk(t,e,r){return go(this,void 0,void 0,function*(){(0,mI.writeFileSync)(Is.join(t,z0),e.join(` `));let s=yield kk(r,"create");yield Dk(s,t)})}o(Lk,"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)}},Mc=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},Mk="cache write denied:",hI=class t extends Mc{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},V5=Yg,fI=class t extends Error{static{o(this,"CacheReadDeniedError")}constructor(e){super(e),this.name="CacheReadDeniedError",Object.setPrototypeOf(this,t.prototype)}},gI=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function Y5(t){if(!t||t.length===0)throw new Rn("Path Validation Error: At least one directory or file path is required")}o(Y5,"checkPaths");function Ok(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(Ok,"checkKey");function Fk(){return om()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(Fk,"isFeatureAvailable");function J5(t,e,r,s){return Zu(this,arguments,void 0,function*(n,i,a,c,l=!1){let u=om();b(`Cache service version: ${u}`),Y5(n);let A=yP();if(!F8(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 DSe(n,i,a,c,l):yield kSe(n,i,a,c,l)})}o(J5,"restoreCache");function kSe(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)Ok(m);let d=yield np(),p="";try{let m;try{m=yield Y8(A,n,{compressionMethod:d,enableCrossOsArchive:l})}catch(g){let C=(u=g?.message)!==null&&u!==void 0?u:"";throw C.includes(V5)?new fI(C):g}if(!m?.archiveLocation)return;if(c?.lookupOnly)return S("Lookup only - skipping download"),m.cacheKey;p=wm.join(yield rp(),Ko(d)),b(`Archive Path: ${p}`),yield IP(m.archiveLocation,p,c),Xa()&&(yield Bm(p,d));let h=jn(p);return S(`Cache Size: ~${Math.round(h/(1024*1024))} MB (${h} B)`),yield _k(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}`):st(`Failed to restore: ${m.message}`)}finally{try{yield sp(p)}catch(m){b(`Failed to delete archive: ${m}`)}}})}o(kSe,"restoreCacheV1");function DSe(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)Ok(p);let d="";try{let p=Pk(),m=yield np(),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(V5)?new fI(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=wm.join(yield rp(),Ko(m)),b(`Archive path: ${d}`),b(`Starting download of archive to: ${d}`),yield IP(g.signedDownloadUrl,d,c);let E=jn(d);return S(`Cache Size: ~${Math.round(E/(1024*1024))} MB (${E} B)`),Xa()&&(yield Bm(d,m)),yield _k(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}`):st(`Failed to restore: ${p.message}`)}finally{try{d&&(yield sp(d))}catch(p){b(`Failed to delete archive: ${p}`)}}})}o(DSe,"restoreCacheV2");function Uk(t,e,r){return Zu(this,arguments,void 0,function*(s,n,i,a=!1){let c=om();b(`Cache service version: ${c}`),Y5(s),Ok(n);let l=yP();return U8(l)?c==="v2"?yield LSe(s,n,i,a):yield _Se(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(Uk,"saveCache");function _Se(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 np(),h=-1,g=yield $0(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 rp(),E=wm.join(C,Ko(m));b(`Archive Path: ${E}`);try{yield Lk(C,g,m),Xa()&&(yield Bm(E,m));let y=10*1024*1024*1024,I=jn(E);if(b(`File Size: ${I}`),I>y&&!EP())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 J8(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(Mk)?new hI(`Unable to reserve cache with key ${n}. More details: ${x}`):new Mc(`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 BP(h,E,"",i)}catch(y){let I=y;if(I.name===Rn.name)throw y;I.name===Mc.name?S(`Failed to save: ${I.message}`):I instanceof Kn&&typeof I.statusCode=="number"&&I.statusCode>=500?Wl(`Failed to save: ${I.message}`):st(`Failed to save: ${I.message}`)}finally{try{yield sp(E)}catch(y){b(`Failed to delete archive: ${y}`)}}return h})}o(_Se,"saveCacheV1");function LSe(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 np(),u=Pk(),A=-1,d=yield $0(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 rp(),m=wm.join(p,Ko(l));b(`Archive Path: ${m}`);try{yield Lk(p,d,l),Xa()&&(yield Bm(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(Mk)&&st(`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(Mk)?new hI(`Unable to reserve cache with key ${n}. More details: ${x}`):new Mc(`Unable to reserve cache with key ${n}, another job may be creating this cache.`)}b(`Attempting to upload cache located at: ${m}`),yield BP(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 gI(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===Mc.name?S(`Failed to save: ${g.message}`):g.name===gI.name?st(g.message):g instanceof Kn&&typeof g.statusCode=="number"&&g.statusCode>=500?Wl(`Failed to save: ${g.message}`):st(`Failed to save: ${g.message}`)}finally{try{yield sp(m)}catch(h){b(`Failed to delete archive: ${h}`)}}return A})}o(LSe,"saveCacheV2");var W5=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=W5.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=Gk.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=Gk.default.join(this.cacheDir,this.opts.cacheFile),EI.default.existsSync(this.cacheDir)||EI.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){b(`Cache.save ${e}`);let s=this.copyToCache(e),n=await Od(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform());if(b(`Cache.save cached to hosted tool cache ${n}`),!this.ghaNoCache&&Fk())if(r)try{b(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await Uk([this.cacheDir],this.ghaCacheKey)}catch(i){st(`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=Vz(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&&Fk()){if(b("GitHub Actions cache feature available"),await J5([this.cacheDir],this.ghaCacheKey))return S(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),e=await Od(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform()),S(`Cached to hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`)}else this.ghaNoCache?S("GitHub Actions cache disabled"):S("GitHub Actions cache feature not available")}catch(e){st(`Failed to restore cache: ${e}`)}return""}static async post(){let e=$G(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 Uk([r.dir],r.key)}catch(s){st(`Failed to save cache: ${s}`)}return r}copyToCache(e){return S(`Copying ${e} to ${this.cachePath}`),EI.default.copyFileSync(e,this.cachePath),this.cachePath}platform(){let e=process.config.variables.arm_version;return`${qk.default.platform()}-${qk.default.arch()}${e?"v"+e:""}`}};var j5=!!process.env.STATE_isPost;j5||jl("isPost","true");async function K5(t,e){if(j5)e&&await e(),await me("Post cache",async()=>{await Ti.post()});else try{await t()}catch(r){zG(r.message)}}o(K5,"run");var mZ=w(require("child_process"),1),Ut=w(require("fs"),1),hZ=w(require("fs/promises"),1),Wr=w(require("os"),1),vt=w(require("path"),1),fZ=w(nj(),1),_B=w(_D(),1);var qD=w(require("fs"),1),d6=w(require("os"),1),p6=w(require("path"),1),m6=w(A6(),1);var Jr=class t{static{o(this,"Context")}static _tmpDir=qD.default.mkdtempSync(p6.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||d6.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return qD.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return m6.tmpNameSync(e)}};var $D=w(require("fs"),1),I6=w(require("os"),1),Um=w(require("path"),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(" ")}`),Nd(e,r,s)}};var zD=w(require("crypto"),1),y6=w(require("fs"),1),Fm=w(require("path"),1),C6=w(_D(),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 Om=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var nB=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.slice(0,this.length).toString(e):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}},HD=GD;var h6=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 HD(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 HD(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 f6=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[f6(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=nB(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(!Om(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(!Om(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 g6=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=iB({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=Zve(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"),Zve=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 E6=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),ePe=13,tPe=10,pA={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},iB=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:h6(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(g6(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:Le}=this.state,se;if(Le===void 0)if(s===void 0){a();return}else se=s;else Le!==void 0&&s===void 0?se=Le:se=Buffer.concat([Le,s]);if(ye===!1)if(c===!1)this.state.bomSkipped=!0;else if(se.length<3){if(n===!1){this.state.previousBuf=se;return}}else{for(let Te in pA)if(pA[Te].compare(se,0,pA[Te].length)===0){let Pn=pA[Te].length;this.state.bufBytesStart+=Pn,se=se.slice(Pn);let Qo=dA({...this.original_options,encoding:Te});for(let tt in Qo)this.options[tt]=Qo[tt];({comment:B,escape:x,quote:R}=this.options);break}this.state.bomSkipped=!0}let Ar=se.length,$;for($=0;$I){this.state.stop=!0,a();return}this.state.quoting===!1&&q.length===0&&this.__autoDiscoverRecordDelimiter(se,$)&&(q=this.options.record_delimiter);let Te=se[$];if(h===!0&&Re.append(Te),(Te===ePe||Te===tPe)&&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(se,$,Te)&&$+x.lengthpA[Ia].equals(this.state.field.toString())?Ia:!1).filter(Boolean)[0],jr=this.__error(new fe("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(tt.column)} at line ${tt.lines}, value is ${JSON.stringify(this.state.field.toString(A))}`,kn?`(${kn} bom)`:void 0],this.options,tt,{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 tt=this.__isRecordDelimiter(Te,se,$);if(tt!==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(),$+=tt-1;continue}if(E===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,$+=tt-1;continue}this.info.bytes=this.state.bufBytesStart+$;let Ia=this.__onField();if(Ia!==void 0)return Ia;this.info.bytes=this.state.bufBytesStart+$+tt;let sh=this.__onRecord(i);if(sh!==void 0)return sh;if(y!==-1&&this.info.records>=y){this.state.stop=!0,a();return}}this.state.commenting=!1,$+=tt-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,se,$,Te)!==0){this.state.commenting=!0;continue}let kn=this.__isDelimiter(se,$,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(se,$),Qo=C===!1||this.state.wasQuoting===!1;if(Pn===!0&&Qo===!0)this.state.field.append(Te);else{if(C===!0&&!this.__isCharTrimable(se,$))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(se,$)-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=se.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&&E6(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&&E6(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 oB=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],s=iB(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=oB(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 zD.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 zD.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,s){return C6.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=Fm.default.resolve(e);return Fm.default.resolve(r).startsWith(s.endsWith(Fm.default.sep)?s:`${s}${Fm.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||Um.default.join(I6.default.homedir(),".docker")}static configFile(){let e=Um.default.join(t.configDir,"config.json");if($D.default.existsSync(e))return JSON.parse($D.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await ft("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 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:Um.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&&st(`Failed to load image from cache: ${u.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`)})));let l=!0;if(await t.getExecOutput(["pull",e],{ignoreReturnCode:!0}).then(u=>{if(u.stderr.length>0&&u.exitCode!=0){l=!1;let A=u.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error";if(c)st(`Failed to pull image, using one from cache: ${A}`);else throw new Error(A)}}),r&&l){let u=Um.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)st(`Failed to save image: ${A.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);else{let d=await a.save(u);S(`Image cached to ${d}`)}})}}};var aB=require("fs"),B6=require("os");var mA=class{static{o(this,"Context")}constructor(){var e,r,s;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,aB.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,aB.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${B6.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 WD=w(N6(),1),S6=w($l(),1);var mPe=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 R6(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(R6,"getAuthString");function T6(t){return new WD.HttpClient().getAgent(t)}o(T6,"getProxyAgent");function hPe(t){return new WD.HttpClient().getAgentDispatcher(t)}o(hPe,"getProxyAgentDispatcher");function v6(t){let e=hPe(t);return o((s,n)=>mPe(this,void 0,void 0,function*(){return(0,S6.fetch)(s,Object.assign(Object.assign({},n),{dispatcher:e}))}),"proxyFetch")}o(v6,"getProxyFetch");function P6(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(P6,"getApiBaseUrl");function jD(t){var e;let r=(e=process.env.ACTIONS_ORCHESTRATION_ID)===null||e===void 0?void 0:e.trim();if(r){let n=`actions_orchestration_id/${r.replace(/[^a-z0-9_.-]/gi,"_")}`;return t?.includes(n)?t:`${t?`${t} `:""}${n}`}return t}o(jD,"getUserAgentWithOrchestrationId");function ga(){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(ga,"getUserAgent");function mB(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)=>mB.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(mB,"register");function k6(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(k6,"addHook");function D6(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(D6,"removeHook");var _6=Function.bind,L6=_6.bind(_6);function M6(t,e,r){let s=L6(D6,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]=L6(k6,null).apply(null,i)})}o(M6,"bindApi");function gPe(){let t=Symbol("Singular"),e={registry:{}},r=mB.bind(null,e,t);return M6(r,e,t),r}o(gPe,"Singular");function EPe(){let t={registry:{}},e=mB.bind(null,t);return M6(e,t),e}o(EPe,"Collection");var O6={Singular:gPe,Collection:EPe};var yPe="0.0.0-development",CPe=`octokit-endpoint.js/${yPe} ${ga()}`,IPe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":CPe},mediaType:{format:""}};function BPe(t){return t?Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}):{}}o(BPe,"lowercaseKeys");function wPe(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(wPe,"isPlainObject");function q6(t,e){let r=Object.assign({},t);return Object.keys(e).forEach(s=>{wPe(e[s])?s in t?r[s]=q6(t[s],e[s]):Object.assign(r,{[s]:e[s]}):Object.assign(r,{[s]:e[s]})}),r}o(q6,"mergeDeep");function F6(t){for(let e in t)t[e]===void 0&&delete t[e];return t}o(F6,"removeUndefinedProperties");function XD(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=BPe(r.headers),F6(r),F6(r.headers);let s=q6(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(XD,"merge");function bPe(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(bPe,"addQueryParameters");var QPe=/\{[^{}}]+\}/g;function xPe(t){return t.replace(/(?:^\W+)|(?:(?r.concat(s),[]):[]}o(NPe,"extractUrlVariableNames");function U6(t,e){let r={__proto__:null};for(let s of Object.keys(t))e.indexOf(s)===-1&&(r[s]=t[s]);return r}o(U6,"omit");function G6(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(G6,"encodeReserved");function fA(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}o(fA,"encodeUnreserved");function Gm(t,e,r){return e=t==="+"||t==="#"?G6(e):fA(e),r?fA(r)+"="+e:e}o(Gm,"encodeValue");function hA(t){return t!=null}o(hA,"isDefined");function KD(t){return t===";"||t==="&"||t==="?"}o(KD,"isKeyOperator");function SPe(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(Gm(e,n,KD(e)?r:""));else if(s==="*")Array.isArray(n)?n.filter(hA).forEach(function(a){i.push(Gm(e,a,KD(e)?r:""))}):Object.keys(n).forEach(function(a){hA(n[a])&&i.push(Gm(e,n[a],a))});else{let a=[];Array.isArray(n)?n.filter(hA).forEach(function(c){a.push(Gm(e,c))}):Object.keys(n).forEach(function(c){hA(n[c])&&(a.push(fA(c)),a.push(Gm(e,n[c].toString())))}),KD(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(SPe,"getValues");function RPe(t){return{expand:TPe.bind(null,t)}}o(RPe,"parseUrl");function TPe(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(SPe(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 G6(i)}),t==="/"?t:t.replace(/\/$/,"")}o(TPe,"expand");function H6(t){let e=t.method.toUpperCase(),r=(t.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),s=Object.assign({},t.headers),n,i=U6(t,["method","baseUrl","url","headers","request","mediaType"]),a=NPe(r);r=RPe(r).expand(i),/^http/.test(r)||(r=t.baseUrl+r);let c=Object.keys(t).filter(A=>a.includes(A)).concat("baseUrl"),l=U6(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=bPe(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(H6,"parse");function vPe(t,e,r){return H6(XD(t,e,r))}o(vPe,"endpointWithDefaults");function z6(t,e){let r=XD(t,e),s=vPe.bind(null,r);return Object.assign(s,{DEFAULTS:r,defaults:z6.bind(null,r),merge:XD.bind(null,r),parse:H6})}o(z6,"withDefaults");var $6=z6(null,IPe);var rK=w(W6(),1);var K6=/^-?\d+n+$/,ZD=JSON.stringify,j6=JSON.parse,X6=o((t,e,r)=>{if("rawJSON"in JSON)return ZD(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 ZD(t,e,r);let s=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,n=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g;return ZD(t,(l,u)=>typeof u=="string"&&!!u.match(K6)||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"),PPe=o(()=>JSON.parse("1",(t,e,r)=>!!r&&r.source==="1"),"isContextSourceSupported"),kPe=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 j6(t,e);if(PPe())return kPe(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(K6)?u.substring(0,u.length-1):typeof e!="function"?u:e(l,u,A))},"JSONParse");var Vc=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 tK(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=LPe(t.body)||Array.isArray(t.body)?X6(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 Vc(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 Vc(a.statusText,c,{response:A,request:t})}if(c===304)throw A.data=await e_(a),new Vc("Not modified",c,{response:A,request:t});if(c>=400)throw A.data=await e_(a),new Vc(OPe(A.data),c,{response:A,request:t});return A.data=s?await e_(a):a.body,A}o(tK,"fetchWrapper");async function e_(t){let e=t.headers.get("content-type");if(!e)return t.text().catch(eK);let r=(0,rK.safeParse)(e);if(MPe(r)){let s="";try{return s=await t.text(),Z6(s)}catch{return s}}else return r.type.startsWith("text/")||r.parameters.charset?.toLowerCase()==="utf-8"?t.text().catch(eK):t.arrayBuffer().catch(()=>new ArrayBuffer(0))}o(e_,"getResponseData");function MPe(t){return t.type==="application/json"||t.type==="application/scim+json"}o(MPe,"isJSONResponse");function OPe(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(OPe,"toErrorMessage");function t_(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 tK(r.parse(a));let c=o((l,u)=>tK(r.parse(r.merge(l,u))),"request2");return Object.assign(c,{endpoint:r,defaults:t_.bind(null,r)}),a.request.hook(c,a)},"newApi"),{endpoint:r,defaults:t_.bind(null,r)})}o(t_,"withDefaults");var zm=t_($6,_Pe);var FPe="0.0.0-development";function UPe(t){return`Request failed due to following response errors: `+t.errors.map(e=>` - ${e.message}`).join(` `)}o(UPe,"_buildMessageForResponseErrors");var qPe=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super(UPe(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},GPe=["method","baseUrl","url","headers","request","query","mediaType","operationName"],HPe=["query","method","url"],sK=/\/api\/v3\/?$/;function zPe(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(HPe.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)=>GPe.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 sK.test(i)&&(n.url=i.replace(sK,"/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 qPe(n,c,a.data)}return a.data.data})}o(zPe,"graphql");function r_(t,e){let r=t.defaults(e);return Object.assign(o((n,i)=>zPe(r,n,i),"newApi"),{defaults:r_.bind(null,r),endpoint:r.endpoint})}o(r_,"withDefaults");var sut=r_(zm,{headers:{"user-agent":`octokit-graphql.js/${FPe} ${ga()}`},method:"POST",url:"/graphql"});function nK(t){return r_(t,{method:"POST",url:"/graphql"})}o(nK,"withCustomRequest");var s_="(?:[a-zA-Z0-9_-]+)",iK="\\.",oK=new RegExp(`^${s_}${iK}${s_}${iK}${s_}$`),$Pe=oK.test.bind(oK);async function VPe(t){let e=$Pe(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(VPe,"auth");function YPe(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(YPe,"withAuthorizationPrefix");async function JPe(t,e,r,s){let n=e.endpoint.merge(r,s);return n.headers.authorization=YPe(t),e(n)}o(JPe,"hook");var aK=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(VPe.bind(null,e),{hook:JPe.bind(null,e)})},"createTokenAuth2");var n_="7.0.6";var cK=o(()=>{},"noop"),WPe=console.warn.bind(console),jPe=console.error.bind(console);function KPe(t={}){return typeof t.debug!="function"&&(t.debug=cK),typeof t.info!="function"&&(t.info=cK),typeof t.warn!="function"&&(t.warn=WPe),typeof t.error!="function"&&(t.error=jPe),t}o(KPe,"createLogger");var lK=`octokit-core.js/${n_} ${ga()}`,EB=class{static{o(this,"Octokit")}static VERSION=n_;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 O6.Collection,s={baseUrl:zm.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} ${lK}`:lK,e.baseUrl&&(s.baseUrl=e.baseUrl),e.previews&&(s.mediaType.previews=e.previews),e.timeZone&&(s.headers["time-zone"]=e.timeZone),this.request=zm.defaults(s),this.graphql=nK(this.request).defaults(s),this.log=KPe(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=aK(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=ske(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:dK(t,e,r,s)})}o(dK,"gather");var Rut=Object.assign(AK,{iterator:c_});function l_(t){return{paginate:Object.assign(AK.bind(null,t),{iterator:c_.bind(null,t)})}}o(l_,"paginateRest");l_.VERSION=rke;var _ut=new mA,u_=P6(),nke={baseUrl:u_,request:{agent:T6(u_),fetch:v6(u_)}},pK=EB.plugin(a_,l_).defaults(nke);function mK(t,e){let r=Object.assign({},e||{}),s=R6(t,r);s&&(r.auth=s);let n=jD(r.userAgent);return n&&(r.userAgent=n),r}o(mK,"getOctokitOptions");var gA=new mA;function hK(t,e,...r){let s=pK.plugin(...r);return new s(mK(t,e))}o(hK,"getOctokit");var Vm=w(require("http"),1),m_=w(require("https"),1);function A_(t){let e=t.protocol==="https:";if(oke(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 yB(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new yB(`http://${r}`)}else return}o(A_,"getProxyUrl");function oke(t){if(!t.hostname)return!1;let e=t.hostname;if(ake(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(oke,"checkBypass");function ake(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(ake,"isLoopbackAddress");var yB=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 Ea=w(IA(),1),fK=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 wo;(function(t){t.ApplicationJson="application/json"})(wo||(wo={}));var lke=[rn.MovedPermanently,rn.ResourceMoved,rn.SeeOther,rn.TemporaryRedirect,rn.PermanentRedirect],uke=[rn.BadGateway,rn.ServiceUnavailable,rn.GatewayTimeout],Ake=["OPTIONS","GET","DELETE","HEAD"],dke=10,pke=5,d_=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},p_=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 CB=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,wo.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,wo.ApplicationJson),i[Rr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,wo.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,wo.ApplicationJson),i[Rr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,wo.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,wo.ApplicationJson),i[Rr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,wo.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&&Ake.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&&lke.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||!uke.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 p_(l);i(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){i(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),s=A_(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?m_:Vm;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({},$m(this.requestOptions.headers),$m(e||{})):$m(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=$m(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=$m(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=A_(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||Vm.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?Ea.httpsOverHttps:Ea.httpsOverHttp:l=u?Ea.httpOverHttps:Ea.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new m_.Agent(c):new Vm.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 fK.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=pke*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 d_(A,i);d.result=a.result,n(d)}else s(a)}))})}},$m=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var Jc=class extends Error{static{o(this,"InvalidTokenError")}};Jc.prototype.name="InvalidTokenError";function hke(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(hke,"b64DecodeUnicode");function fke(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 hke(e)}catch{return atob(e)}}o(fke,"base64UrlDecode");function gK(t,e){if(typeof t!="string")throw new Jc("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 Jc(`Invalid token specified: missing part #${r+1}`);let n;try{n=fke(s)}catch(i){throw new Jc(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(n)}catch(i){throw new Jc(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}o(gK,"jwtDecode");var ya=class t{static{o(this,"GitHub")}githubToken;octokit;constructor(e){this.githubToken=e?.token||process.env.GITHUB_TOKEN,this.octokit=hK(`${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}`,a=await new CB("docker-actions-toolkit").get(n,s?{Authorization:`token ${s}`}:void 0),c=await a.readBody(),l=a.message.statusCode||500;if(l>=400)throw new Error(`Failed to get ${e} releases from ${n} with status code ${l}: ${c}`);return JSON.parse(c)}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?gK(e):void 0}static async printActionsRuntimeTokenACs(){let e;try{e=t.actionsRuntimeToken}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token: ${r.message}`)}if(!e)throw new Error("ACTIONS_RUNTIME_TOKEN not set");try{JSON.parse(`${e.ac}`).forEach(r=>{let 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 cZ=w(Xm(),1);var kB=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=cZ.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return b(`Regctl.versionSatisfies ${s} statisfies ${e}: ${n}`),n}};var lZ=w(Xm(),1);var DB=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=lZ.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return b(`Undock.versionSatisfies ${s} statisfies ${e}: ${n}`),n}};var __=w(require("fs"),1);var uZ=o(()=>dZ("docker-setup-win.ps1",bLe),"setupDockerWinPs1"),L_=o(()=>dZ("docker-service-logs.ps1",QLe),"dockerServiceLogsPs1");var AZ="0.14.0",dZ=o((t,e,r)=>{let s=Jr.tmpName({template:`docker-asset-XXXXXX-${t}`,tmpdir:Jr.tmpDir()});return __.default.writeFileSync(s,e),r&&__.default.chmodSync(s,r),s},"get"),bLe=` [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!" `,QLe=` Get-WinEvent -ea SilentlyContinue \` -FilterHashtable @{ProviderName= "docker"; LogName = "application"} | Sort-Object @{Expression="TimeCreated";Descending=$false} | ForEach-Object {"$($_.TimeCreated.ToUniversalTime().ToString("o")) [$($_.LevelDisplayName)] $($_.Message)"} `,pZ=` # 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-20260321/ubuntu-24.04-server-cloudimg-amd64.img" arch: "x86_64" digest: "sha256:5c3ddb00f60bc455dac0862fabe9d8bacec46c33ac1751143c5c3683404b110d" kernel: location: "https://cloud-images.ubuntu.com/releases/noble/release-20260321/unpacked/ubuntu-24.04-server-cloudimg-amd64-vmlinuz-generic" digest: "sha256:5b2a4fe174dacb18281f8f7d72ae32ac4b92801f0b7b5cb43ea55dee29fb789d" cmdline: "root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyAMA0 no_timer_check" initrd: location: "https://cloud-images.ubuntu.com/releases/noble/release-20260321/unpacked/ubuntu-24.04-server-cloudimg-amd64-initrd-generic" digest: "sha256:cd0b64a5498e583a820a5b842369df83d036b4200b33bc51cadc58176184aaca" - location: "https://cloud-images.ubuntu.com/releases/noble/release-20260321/ubuntu-24.04-server-cloudimg-arm64.img" arch: "aarch64" digest: "sha256:1ea801e659d2f5035ac294e0faab0aac9b6ba66753df933ba5c7beab0c689bd0" # 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 Zm=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 kB,this.undock=e.undock||new DB,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);Ut.default.readdirSync(c).forEach(l=>{let u=vt.default.join(c,l),A=vt.default.join(e,l);Ut.default.copyFileSync(u,A)})}break}}S("Fixing perms"),Ut.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))||Ut.default.chmodSync(vt.default.join(e,c),"0755")})});let n=await Od(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){st(i),this.gitCommit="master"}b(`docker.Install.downloadSourceImage gitCommit: ${this.gitCommit}`)}else st(`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 ec(n);b(`docker.Install.downloadSourceArchive downloadPath: ${i}`);let a;return Wr.default.platform()=="win32"?a=await Qg(i,a):a=await bg(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`;await t.limaInstalled()||await this.brewInstall("lima"),await me("Lima version",async()=>{await de.exec("lima",["--version"])}),await me("Creating lima config",async()=>{let a={};this.daemonConfig&&(a=JSON.parse(this.daemonConfig)),_B.default.registerHelper("stringify",function(u){return new _B.default.SafeString(JSON.stringify(u))});let c=e,l=_B.default.compile(pZ)({customImages:t.limaCustomImages(),daemonConfig:a,dockerSock:`${r}/docker.sock`,localTCPPort:this.localTCPPort,gitCommit:this.gitCommit,srcType:e.type,srcArchiveVersion:this._version,srcArchiveChannel:c.channel,srcImageTag:e.tag,undockVersion:AZ});S(`Writing lima config to ${vt.default.join(r,"lima.yaml")}`),Ut.default.writeFileSync(vt.default.join(r,"lima.yaml"),l),S(l)}),await t.qemuInstalled()||await this.brewInstall("qemu");let n=await t.qemuBin();await me("QEMU version",async()=>{await de.exec(n,["--version"])});let i=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`});return await me("Starting lima instance",async()=>{let a=["start",`--name=${this.limaInstanceName}`,`--timeout=${process.env.LIMA_START_TIMEOUT??"15m"}`];process.env.LIMA_START_ARGS&&a.push(process.env.LIMA_START_ARGS);try{await de.exec(`limactl ${a.join(" ")}`,[],{env:i})}catch(c){throw await this.printDarwinDiagnostics(),hZ.default.readdir(r).then(l=>{l.filter(u=>vt.default.extname(u)===".log").forEach(u=>{let A=vt.default.join(r,u),d=Ut.default.readFileSync(A,{encoding:"utf8"}).trim();d.length>0&&S(`### ${A}: ${d}`)})}).catch(()=>{}),c}}),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 Ut.default.writeFileSync(r,"{}");let s,n="/etc/docker/daemon.json";if(Ut.default.existsSync(n)&&(await me("Default Docker daemon config found",async()=>{S(JSON.stringify(JSON.parse(Ut.default.readFileSync(n,{encoding:"utf8"})),null,2))}),s=JSON.parse(Ut.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()=>{Ut.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 ft("bash",!0),c=`${this.toolDir}/dockerd`;this.rootless&&(c=`${this.toolDir}/dockerd-rootless.sh`,Ut.default.existsSync("/proc/sys/kernel/apparmor_restrict_unprivileged_userns")&&await de.exec("sudo",["sh","-c","echo 0 > /proc/sys/kernel/apparmor_restrict_unprivileged_userns"]));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="sudo";this.rootless&&(u+=" -u \\#1001"),(await mZ.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,fZ.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");Ut.default.existsSync(s)&&(await me("Default Docker daemon config found",async()=>{S(JSON.stringify(JSON.parse(Ut.default.readFileSync(s,{encoding:"utf8"})),null,2))}),r=JSON.parse(Ut.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(uZ(),i);await de.exec(a.command,a.args);let c=await Nr.powershellCommand(L_());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&&Ut.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()=>{S(Ut.default.readFileSync(vt.default.join(this.runDir,"dockerd.log"),{encoding:"utf8"}))}),await me("Stopping Docker daemon",async()=>{await de.exec("sudo",["kill","-s","SIGTERM",Ut.default.readFileSync(vt.default.join(this.runDir,"docker.pid")).toString().trim()]),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("sudo",["rm","-rf",this.runDir],{ignoreReturnCode:!0,failOnStdErr:!1})})}async tearDownWindows(){await me("Docker daemon logs",async()=>{let e=await Nr.powershellCommand(L_());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 ft("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 ft(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 ya({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 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 ec(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 eh=w(require("fs"),1),bo=w(require("os"),1),LB=w(require("path"),1);var OB=w(Xm(),1),M_=w(require("util"),1);var MB=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=OB.clean(i)||"";if(!OB.valid(a))throw new Error(`Invalid regclient version "${i}".`);let c=new Ti({htcName:"regctl-dl-bin",htcVersion:i,baseCacheDir:LB.default.join(bo.default.homedir(),".bin"),cacheFile:bo.default.platform()=="win32"?"regctl.exe":"regctl",ghaNoCache:r}),l=await c.find();if(l)return S(`regctl binary found in ${l}`),l;let u=M_.format(s.downloadURL,i,this.filename());S(`Downloading ${u}`);let A=await ec(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=LB.default.join(r,"regctl-bin");eh.default.existsSync(s)||eh.default.mkdirSync(s,{recursive:!0});let n=bo.default.platform()=="win32"?"regctl.exe":"regctl",i=LB.default.join(s,n);return eh.default.copyFileSync(e,i),S("Fixing perms"),eh.default.chmodSync(i,"0755"),Jl(s),S("Added regctl to PATH"),S(`Binary path: ${i}`),i}filename(){let e;switch(bo.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=bo.default.arch();break}}let r=bo.default.platform()=="win32"?"windows":bo.default.platform(),s=bo.default.platform()=="win32"?".exe":"";return M_.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 ya({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 th=w(require("fs"),1),vn=w(require("os"),1),rh=w(require("path"),1);var UB=w(Xm(),1),O_=w(require("util"),1);var FB=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=UB.clean(i)||"";if(!UB.valid(a))throw new Error(`Invalid Undock version "${i}".`);let c=new Ti({htcName:"undock-dl-bin",htcVersion:i,baseCacheDir:rh.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=O_.format(s.downloadURL,i,this.filename(i));S(`Downloading ${u}`);let A=await ec(u,void 0,this.githubToken);b(`Install.download htcDownloadPath: ${A}`);let d;vn.default.platform()=="win32"?d=await Qg(A):d=await bg(A),S(`Extracted to ${d}`);let p=rh.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=rh.default.join(r,"undock-bin");th.default.existsSync(s)||th.default.mkdirSync(s,{recursive:!0});let n=vn.default.platform()=="win32"?"undock.exe":"undock",i=rh.default.join(s,n);return th.default.copyFileSync(e,i),S("Fixing perms"),th.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 O_.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 ya({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 gZ=w(require("os"),1),EZ=w(require("path"),1);function yZ(){let t=fn("version")||"latest",e=xLe(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:Px("set-host"),rootless:Px("rootless"),runtimeBasedir:fn("runtime-basedir")||EZ.default.join(gZ.default.homedir(),"setup-docker-action"),githubToken:fn("github-token")}}o(yZ,"getInputs");function xLe(t){let[e,r,s,n]=["archive","latest","stable","latest"],i=oB(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(xLe,"parseSource");var F_=process.env.STATE_rundir||"";function CZ(t){jl("rundir",t)}o(CZ,"setRunDir");var RLe="v0.11.5",TLe="v0.14.0";K5(async()=>{let t=yZ(),e=BZ.default.join(t.runtimeBasedir,`run-${IZ.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 MB({githubToken:t.githubToken}),c=await a.download(process.env.REGCTL_VERSION&&process.env.REGCTL_VERSION.trim()?process.env.REGCTL_VERSION:RLe,!0);await a.install(c)}),await me("Download and install undock",async()=>{let a=new FB({githubToken:t.githubToken}),c=await a.download(process.env.UNDOCK_VERSION&&process.env.UNDOCK_VERSION.trim()?process.env.UNDOCK_VERSION:TLe,!0);await a.install(c)}));let r,s;t.tcpPort&&(r=t.tcpPort,s=`tcp://127.0.0.1:${r}`);let n=new Zm({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){CZ(e);let a=await n.install();await me("Setting outputs",async()=>{S(`sock=${a}`),kx("sock",a),s&&(S(`tcp=${s}`),kx("tcp",s))}),t.setHost&&await me("Setting Docker host",async()=>{HG("DOCKER_HOST",a),S(`DOCKER_HOST=${a}`)})}await me("Docker info",async()=>{await ur.printVersion(),await ur.printInfo()})},async()=>{if(F_.length==0)return;await new Zm({runDir:F_}).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