var ZX=Object.create;var xB=Object.defineProperty;var eZ=Object.getOwnPropertyDescriptor;var tZ=Object.getOwnPropertyNames;var rZ=Object.getPrototypeOf,sZ=Object.prototype.hasOwnProperty;var h=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),nZ=(t,e)=>{for(var r in e)xB(t,r,{get:e[r],enumerable:!0})},iZ=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of tZ(e))!sZ.call(t,n)&&n!==r&&xB(t,n,{get:()=>e[n],enumerable:!(s=eZ(e,n))||s.enumerable});return t};var B=(t,e,r)=>(r=t!=null?ZX(rZ(t)):{},iZ(e||!t||!t.__esModule?xB(r,"default",{value:t,enumerable:!0}):r,t));var R_=h(Gc=>{"use strict";var cLe=require("net"),AZ=require("tls"),vB=require("http"),x_=require("https"),dZ=require("events"),lLe=require("assert"),pZ=require("util");Gc.httpOverHttp=mZ;Gc.httpsOverHttp=hZ;Gc.httpOverHttps=fZ;Gc.httpsOverHttps=gZ;function mZ(t){var e=new _i(t);return e.request=vB.request,e}function hZ(t){var e=new _i(t);return e.request=vB.request,e.createSocket=N_,e.defaultPort=443,e}function fZ(t){var e=new _i(t);return e.request=x_.request,e}function gZ(t){var e=new _i(t);return e.request=x_.request,e.createSocket=N_,e.defaultPort=443,e}function _i(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||vB.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",function(s,n,i,o){for(var a=S_(n,i,o),c=0,l=e.requests.length;c=this.maxSockets){i.requests.push(o);return}i.createSocket(o,function(a){a.on("free",c),a.on("close",l),a.on("agentRemove",l),e.onSocket(a);function c(){i.emit("free",a,o)}function l(u){i.removeSocket(a),a.removeListener("free",c),a.removeListener("close",l),a.removeListener("agentRemove",l)}})};_i.prototype.createSocket=function(e,r){var s=this,n={};s.sockets.push(n);var i=PB({},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")),Bo("making CONNECT request");var o=s.request(i);o.useChunkedEncodingByDefault=!1,o.once("response",a),o.once("upgrade",c),o.once("connect",l),o.once("error",u),o.end();function a(A){A.upgrade=!0}function c(A,d,p){process.nextTick(function(){l(A,d,p)})}function l(A,d,p){if(o.removeAllListeners(),d.removeAllListeners(),A.statusCode!==200){Bo("tunneling socket could not be established, statusCode=%d",A.statusCode),d.destroy();var m=new Error("tunneling socket could not be established, statusCode="+A.statusCode);m.code="ECONNRESET",e.request.emit("error",m),s.removeSocket(n);return}if(p.length>0){Bo("got illegal response body from proxy"),d.destroy();var m=new Error("got illegal response body from proxy");m.code="ECONNRESET",e.request.emit("error",m),s.removeSocket(n);return}return Bo("tunneling connection has established"),s.sockets[s.sockets.indexOf(n)]=d,r(d)}function u(A){o.removeAllListeners(),Bo(`tunneling socket could not be established, cause=%s `,A.message,A.stack);var d=new Error("tunneling socket could not be established, cause="+A.message);d.code="ECONNRESET",e.request.emit("error",d),s.removeSocket(n)}};_i.prototype.removeSocket=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)})}};function N_(t,e){var r=this;_i.prototype.createSocket.call(r,t,function(s){var n=t.request.getHeader("host"),i=PB({},r.options,{socket:s,servername:n?n.replace(/:.*$/,""):t.host}),o=AZ.connect(0,i);r.sockets[r.sockets.indexOf(s)]=o,e(o)})}function S_(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}function PB(t){for(var e=1,r=arguments.length;e{T_.exports=R_()});var ze=h((dLe,v_)=>{v_.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=h((pLe,rL)=>{"use strict";var P_=Symbol.for("undici.error.UND_ERR"),$e=class extends Error{constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[P_]===!0}[P_]=!0},k_=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),kB=class extends $e{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},D_=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),DB=class extends $e{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[D_]===!0}[D_]=!0},__=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),_B=class extends $e{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[__]===!0}[__]=!0},L_=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),LB=class extends $e{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[L_]===!0}[L_]=!0},M_=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),MB=class extends $e{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[M_]===!0}[M_]=!0},O_=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),OB=class extends $e{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[O_]===!0}[O_]=!0},F_=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),FB=class extends $e{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[F_]===!0}[F_]=!0},U_=Symbol.for("undici.error.UND_ERR_ABORT"),eh=class extends $e{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[U_]===!0}[U_]=!0},q_=Symbol.for("undici.error.UND_ERR_ABORTED"),UB=class extends eh{constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[q_]===!0}[q_]=!0},G_=Symbol.for("undici.error.UND_ERR_INFO"),qB=class extends $e{constructor(e){super(e),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[G_]===!0}[G_]=!0},H_=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),GB=class extends $e{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[H_]===!0}[H_]=!0},z_=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),HB=class extends $e{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[z_]===!0}[z_]=!0},$_=Symbol.for("undici.error.UND_ERR_DESTROYED"),zB=class extends $e{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[$_]===!0}[$_]=!0},V_=Symbol.for("undici.error.UND_ERR_CLOSED"),$B=class extends $e{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[V_]===!0}[V_]=!0},Y_=Symbol.for("undici.error.UND_ERR_SOCKET"),VB=class extends $e{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[Y_]===!0}[Y_]=!0},J_=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),YB=class extends $e{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[J_]===!0}[J_]=!0},W_=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),JB=class extends $e{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[W_]===!0}[W_]=!0},j_=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),WB=class extends Error{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[j_]===!0}[j_]=!0},K_=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),jB=class extends $e{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[K_]===!0}[K_]=!0},X_=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),KB=class extends $e{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[X_]===!0}[X_]=!0},Z_=Symbol.for("undici.error.UND_ERR_RESPONSE"),XB=class extends $e{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[Z_]===!0}[Z_]=!0},eL=Symbol.for("undici.error.UND_ERR_PRX_TLS"),ZB=class extends $e{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},tL=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),ew=class extends $e{constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&e[tL]===!0}get[tL](){return!0}};rL.exports={AbortError:eh,HTTPParserError:WB,UndiciError:$e,HeadersTimeoutError:DB,HeadersOverflowError:_B,BodyTimeoutError:LB,RequestContentLengthMismatchError:GB,ConnectTimeoutError:kB,ResponseStatusCodeError:MB,InvalidArgumentError:OB,InvalidReturnValueError:FB,RequestAbortedError:UB,ClientDestroyedError:zB,ClientClosedError:$B,InformationalError:qB,SocketError:VB,NotSupportedError:YB,ResponseContentLengthMismatchError:HB,BalancedPoolMissingUpstreamError:JB,ResponseExceededMaxSizeError:jB,RequestRetryError:KB,ResponseError:XB,SecureProxyConnectionError:ZB,MessageSizeExceededError:ew}});var rh=h((mLe,sL)=>{"use strict";var th={},tw=["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:nL,headerNameLowerCasedRecord:EZ}=rh(),rw=class t{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 o=e.charCodeAt(n);if(o>127)throw new TypeError("key must be ascii string");if(i.code===o)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 mA=require("node:assert"),{kDestroyed:lL,kBodyUsed:Hc,kListeners:sw,kBody:cL}=ze(),{IncomingMessage:yZ}=require("node:http"),oh=require("node:stream"),CZ=require("node:net"),{Blob:IZ}=require("node:buffer"),BZ=require("node:util"),{stringify:wZ}=require("node:querystring"),{EventEmitter:bZ}=require("node:events"),{InvalidArgumentError:Mt}=Qe(),{headerNameLowerCasedRecord:QZ}=rh(),{tree:uL}=aL(),[xZ,NZ]=process.versions.node.split(".").map(t=>Number(t)),ih=class{constructor(e){this[cL]=e,this[Hc]=!1}async*[Symbol.asyncIterator](){mA(!this[Hc],"disturbed"),this[Hc]=!0,yield*this[cL]}};function SZ(t){return ah(t)?(hL(t)===0&&t.on("data",function(){mA(!1)}),typeof t.readableDidRead!="boolean"&&(t[Hc]=!1,bZ.prototype.on.call(t,"data",function(){this[Hc]=!0})),t):t&&typeof t.pipeTo=="function"?new ih(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&mL(t)?new ih(t):t}function RZ(){}function ah(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}function AL(t){if(t===null)return!1;if(t instanceof IZ)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")}}function TZ(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=wZ(e);return r&&(t+="?"+r),t}function dL(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}function nh(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}function pL(t){if(typeof t=="string"){if(t=new URL(t),!nh(t.origin||t.protocol))throw new Mt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new Mt("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&dL(t.port)===!1)throw new Mt("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 Mt("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new Mt("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new Mt("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new Mt("Invalid URL origin: the origin must be a string or null/undefined.");if(!nh(t.origin||t.protocol))throw new Mt("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(!nh(t.origin||t.protocol))throw new Mt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}function vZ(t){if(t=pL(t),t.pathname!=="/"||t.search||t.hash)throw new Mt("invalid url");return t}function PZ(t){if(t[0]==="["){let r=t.indexOf("]");return mA(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}function kZ(t){if(!t)return null;mA(typeof t=="string");let e=PZ(t);return CZ.isIP(e)?"":e}function DZ(t){return JSON.parse(JSON.stringify(t))}function _Z(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}function mL(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}function hL(t){if(t==null)return 0;if(ah(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(AL(t))return t.size!=null?t.size:null;if(EL(t))return t.byteLength}return null}function fL(t){return t&&!!(t.destroyed||t[lL]||oh.isDestroyed?.(t))}function LZ(t,e){t==null||!ah(t)||fL(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===yZ&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[lL]=!0))}var MZ=/timeout=(\d+)/;function OZ(t){let e=t.toString().match(MZ);return e?parseInt(e[1],10)*1e3:null}function gL(t){return typeof t=="string"?QZ[t]??t.toLowerCase():uL.lookup(t)??t.toString("latin1").toLowerCase()}function FZ(t){return uL.lookup(t)??t.toString("latin1").toLowerCase()}function UZ(t,e){e===void 0&&(e={});for(let r=0;ro.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}function qZ(t){let e=t.length,r=new Array(e),s=!1,n=-1,i,o,a=0;for(let c=0;c{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"})}function JZ(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"}function WZ(t,e){return"addEventListener"in t?(t.addEventListener("abort",e,{once:!0}),()=>t.removeEventListener("abort",e)):(t.addListener("abort",e),()=>t.removeListener("abort",e))}var jZ=typeof String.prototype.toWellFormed=="function",KZ=typeof String.prototype.isWellFormed=="function";function yL(t){return jZ?`${t}`.toWellFormed():BZ.toUSVString(t)}function XZ(t){return KZ?`${t}`.isWellFormed():yL(t)===`${t}`}function CL(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}}function ZZ(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var Te=require("node:diagnostics_channel"),ow=require("node:util"),ch=ow.debuglog("undici"),iw=ow.debuglog("fetch"),ga=ow.debuglog("websocket"),bL=!1,o7={beforeConnect:Te.channel("undici:client:beforeConnect"),connected:Te.channel("undici:client:connected"),connectError:Te.channel("undici:client:connectError"),sendHeaders:Te.channel("undici:client:sendHeaders"),create:Te.channel("undici:request:create"),bodySent:Te.channel("undici:request:bodySent"),headers:Te.channel("undici:request:headers"),trailers:Te.channel("undici:request:trailers"),error:Te.channel("undici:request:error"),open:Te.channel("undici:websocket:open"),close:Te.channel("undici:websocket:close"),socketError:Te.channel("undici:websocket:socket_error"),ping:Te.channel("undici:websocket:ping"),pong:Te.channel("undici:websocket:pong")};if(ch.enabled||iw.enabled){let t=iw.enabled?iw:ch;Te.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)}),Te.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)}),Te.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i},error:o}=e;t("connection to %s using %s%s errored - %s",`${i}${n?`:${n}`:""}`,s,r,o.message)}),Te.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)}),Te.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)}),Te.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)}),Te.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)}),bL=!0}if(ga.enabled){if(!bL){let t=ch.enabled?ch:ga;Te.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)}),Te.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)}),Te.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i},error:o}=e;t("connection to %s%s using %s%s errored - %s",i,n?`:${n}`:"",s,r,o.message)}),Te.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)})}Te.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;ga("connection opened %s%s",e,r?`:${r}`:"")}),Te.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:s}=t;ga("closed connection to %s - %s %s",e.url,r,s)}),Te.channel("undici:websocket:socket_error").subscribe(t=>{ga("connection errored - %s",t.message)}),Te.channel("undici:websocket:ping").subscribe(t=>{ga("ping received")}),Te.channel("undici:websocket:pong").subscribe(t=>{ga("pong received")})}QL.exports={channels:o7}});var RL=h((ELe,SL)=>{"use strict";var{InvalidArgumentError:_e,NotSupportedError:a7}=Qe(),Li=require("node:assert"),{isValidHTTPToken:NL,isValidHeaderValue:aw,isStream:c7,destroy:l7,isBuffer:u7,isFormDataLike:A7,isIterable:d7,isBlobLike:p7,buildURL:m7,validateHandler:h7,getServerName:f7,normalizedMethodRecords:g7}=me(),{channels:Pn}=zc(),{headerNameLowerCasedRecord:xL}=rh(),E7=/[^\u0021-\u00ff]/,Is=Symbol("handler"),cw=class{constructor(e,{path:r,method:s,body:n,headers:i,query:o,idempotent:a,blocking:c,upgrade:l,headersTimeout:u,bodyTimeout:A,reset:d,throwOnError:p,expectContinue:m,servername:f},y){if(typeof r!="string")throw new _e("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&s!=="CONNECT")throw new _e("path must be an absolute URL or start with a slash");if(E7.test(r))throw new _e("invalid request path");if(typeof s!="string")throw new _e("method must be a string");if(g7[s]===void 0&&!NL(s))throw new _e("invalid request method");if(l&&typeof l!="string")throw new _e("upgrade must be a string");if(l&&!aw(l))throw new _e("invalid upgrade header");if(u!=null&&(!Number.isFinite(u)||u<0))throw new _e("invalid headersTimeout");if(A!=null&&(!Number.isFinite(A)||A<0))throw new _e("invalid bodyTimeout");if(d!=null&&typeof d!="boolean")throw new _e("invalid reset");if(m!=null&&typeof m!="boolean")throw new _e("invalid expectContinue");if(this.headersTimeout=u,this.bodyTimeout=A,this.throwOnError=p===!0,this.method=s,this.abort=null,n==null)this.body=null;else if(c7(n)){this.body=n;let g=this.body._readableState;(!g||!g.autoDestroy)&&(this.endHandler=function(){l7(this)},this.body.on("end",this.endHandler)),this.errorHandler=E=>{this.abort?this.abort(E):this.error=E},this.body.on("error",this.errorHandler)}else if(u7(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(A7(n)||d7(n)||p7(n))this.body=n;else throw new _e("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=l||null,this.path=o?m7(r,o):r,this.origin=e,this.idempotent=a??(s==="HEAD"||s==="GET"),this.blocking=c??!1,this.reset=d??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=m??!1,Array.isArray(i)){if(i.length%2!==0)throw new _e("headers array must be even");for(let g=0;g{"use strict";var y7=require("node:events"),uh=class extends y7{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 lw(this,s)}},lw=class extends uh{#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)}};TL.exports=uh});var Jc=h((CLe,PL)=>{"use strict";var C7=hA(),{ClientDestroyedError:uw,ClientClosedError:I7,InvalidArgumentError:$c}=Qe(),{kDestroy:B7,kClose:w7,kClosed:fA,kDestroyed:Vc,kDispatch:Aw,kInterceptors:Ea}=ze(),Mi=Symbol("onDestroyed"),Yc=Symbol("onClosed"),Ah=Symbol("Intercepted Dispatch"),vL=Symbol("webSocketOptions"),dw=class extends C7{constructor(e){super(),this[Vc]=!1,this[Mi]=null,this[fA]=!1,this[Yc]=[],this[vL]=e?.webSocket??{}}get webSocketOptions(){return{maxPayloadSize:this[vL].maxPayloadSize??128*1024*1024}}get destroyed(){return this[Vc]}get closed(){return this[fA]}get interceptors(){return this[Ea]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Ea][r]!="function")throw new $c("interceptor must be an function")}this[Ea]=e}close(e){if(e===void 0)return new Promise((s,n)=>{this.close((i,o)=>i?n(i):s(o))});if(typeof e!="function")throw new $c("invalid callback");if(this[Vc]){queueMicrotask(()=>e(new uw,null));return}if(this[fA]){this[Yc]?this[Yc].push(e):queueMicrotask(()=>e(null,null));return}this[fA]=!0,this[Yc].push(e);let r=()=>{let s=this[Yc];this[Yc]=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,(o,a)=>o?i(o):n(a))});if(typeof r!="function")throw new $c("invalid callback");if(this[Vc]){this[Mi]?this[Mi].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new uw),this[Vc]=!0,this[Mi]=this[Mi]||[],this[Mi].push(r);let s=()=>{let n=this[Mi];this[Mi]=null;for(let i=0;i{queueMicrotask(s)})}[Ah](e,r){if(!this[Ea]||this[Ea].length===0)return this[Ah]=this[Aw],this[Aw](e,r);let s=this[Aw].bind(this);for(let n=this[Ea].length-1;n>=0;n--)s=this[Ea][n](s);return this[Ah]=s,s(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new $c("handler must be an object");try{if(!e||typeof e!="object")throw new $c("opts must be an object.");if(this[Vc]||this[Mi])throw new uw;if(this[fA])throw new I7;return this[Ah](e,r)}catch(s){if(typeof r.onError!="function")throw new $c("invalid onError method");return r.onError(s),!1}}};PL.exports=dw});var yw=h((ILe,LL)=>{"use strict";var Wc=0,pw=1e3,mw=(pw>>1)-1,Oi,hw=Symbol("kFastTimer"),Fi=[],fw=-2,gw=-1,DL=0,kL=1;function Ew(){Wc+=mw;let t=0,e=Fi.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=gw,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===gw?(r._state=fw,--e!==0&&(Fi[t]=Fi[e])):++t}Fi.length=e,Fi.length!==0&&_L()}function _L(){Oi?Oi.refresh():(clearTimeout(Oi),Oi=setTimeout(Ew,mw),Oi.unref&&Oi.unref())}var dh=class{[hw]=!0;_state=fw;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,s){this._onTimeout=e,this._idleTimeout=r,this._timerArg=s,this.refresh()}refresh(){this._state===fw&&Fi.push(this),(!Oi||Fi.length===1)&&_L(),this._state=DL}clear(){this._state=gw,this._idleStart=-1}};LL.exports={setTimeout(t,e,r){return e<=pw?setTimeout(t,e,r):new dh(t,e,r)},clearTimeout(t){t[hw]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new dh(t,e,r)},clearFastTimeout(t){t.clear()},now(){return Wc},tick(t=0){Wc+=t-pw+1,Ew(),Ew()},reset(){Wc=0,Fi.length=0,clearTimeout(Oi),Oi=null},kFastTimer:hw}});var gA=h((bLe,qL)=>{"use strict";var b7=require("node:net"),ML=require("node:assert"),UL=me(),{InvalidArgumentError:Q7,ConnectTimeoutError:x7}=Qe(),ph=yw();function OL(){}var Cw,Iw;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?Iw=class{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 N7({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:s,session:n,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new Q7("maxCachedSessions must be a positive integer or zero");let o={path:r,...i},a=new Iw(e??100);return s=s??1e4,t=t??!1,function({hostname:l,host:u,protocol:A,port:d,servername:p,localAddress:m,httpSocket:f},y){let g;if(A==="https:"){Cw||(Cw=require("node:tls")),p=p||o.servername||UL.getServerName(u)||null;let C=p||l;ML(C);let I=n||a.get(C)||null;d=d||443,g=Cw.connect({highWaterMark:16384,...o,servername:p,session:I,localAddress:m,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:f,port:d,host:l}),g.on("session",function(Q){a.set(C,Q)})}else ML(!f,"httpSocket can only be sent on TLS update"),d=d||80,g=b7.connect({highWaterMark:64*1024,...o,localAddress:m,port:d,host:l});if(o.keepAlive==null||o.keepAlive){let C=o.keepAliveInitialDelay===void 0?6e4:o.keepAliveInitialDelay;g.setKeepAlive(!0,C)}let E=S7(new WeakRef(g),{timeout:s,hostname:l,port:d});return g.setNoDelay(!0).once(A==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(E),y){let C=y;y=null,C(null,this)}}).on("error",function(C){if(queueMicrotask(E),y){let I=y;y=null,I(C)}}),g}}var S7=process.platform==="win32"?(t,e)=>{if(!e.timeout)return OL;let r=null,s=null,n=ph.setFastTimeout(()=>{r=setImmediate(()=>{s=setImmediate(()=>FL(t.deref(),e))})},e.timeout);return()=>{ph.clearFastTimeout(n),clearImmediate(r),clearImmediate(s)}}:(t,e)=>{if(!e.timeout)return OL;let r=null,s=ph.setFastTimeout(()=>{r=setImmediate(()=>{FL(t.deref(),e)})},e.timeout);return()=>{ph.clearFastTimeout(s),clearImmediate(r)}};function FL(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)`,UL.destroy(t,new x7(r))}qL.exports=N7});var GL=h(mh=>{"use strict";Object.defineProperty(mh,"__esModule",{value:!0});mh.enumToMap=void 0;function R7(t){let e={};return Object.keys(t).forEach(r=>{let s=t[r];typeof s=="number"&&(e[r]=s)}),e}mh.enumToMap=R7});var HL=h(b=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});b.SPECIAL_HEADERS=b.HEADER_STATE=b.MINOR=b.MAJOR=b.CONNECTION_TOKEN_CHARS=b.HEADER_CHARS=b.TOKEN=b.STRICT_TOKEN=b.HEX=b.URL_CHAR=b.STRICT_URL_CHAR=b.USERINFO_CHARS=b.MARK=b.ALPHANUM=b.NUM=b.HEX_MAP=b.NUM_MAP=b.ALPHA=b.FINISH=b.H_METHOD_MAP=b.METHOD_MAP=b.METHODS_RTSP=b.METHODS_ICE=b.METHODS_HTTP=b.METHODS=b.LENIENT_FLAGS=b.FLAGS=b.TYPE=b.ERROR=void 0;var T7=GL(),v7;(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"})(v7=b.ERROR||(b.ERROR={}));var P7;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(P7=b.TYPE||(b.TYPE={}));var k7;(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"})(k7=b.FLAGS||(b.FLAGS={}));var D7;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(D7=b.LENIENT_FLAGS||(b.LENIENT_FLAGS={}));var j;(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"})(j=b.METHODS||(b.METHODS={}));b.METHODS_HTTP=[j.DELETE,j.GET,j.HEAD,j.POST,j.PUT,j.CONNECT,j.OPTIONS,j.TRACE,j.COPY,j.LOCK,j.MKCOL,j.MOVE,j.PROPFIND,j.PROPPATCH,j.SEARCH,j.UNLOCK,j.BIND,j.REBIND,j.UNBIND,j.ACL,j.REPORT,j.MKACTIVITY,j.CHECKOUT,j.MERGE,j["M-SEARCH"],j.NOTIFY,j.SUBSCRIBE,j.UNSUBSCRIBE,j.PATCH,j.PURGE,j.MKCALENDAR,j.LINK,j.UNLINK,j.PRI,j.SOURCE];b.METHODS_ICE=[j.SOURCE];b.METHODS_RTSP=[j.OPTIONS,j.DESCRIBE,j.ANNOUNCE,j.SETUP,j.PLAY,j.PAUSE,j.TEARDOWN,j.GET_PARAMETER,j.SET_PARAMETER,j.REDIRECT,j.RECORD,j.FLUSH,j.GET,j.POST];b.METHOD_MAP=T7.enumToMap(j);b.H_METHOD_MAP={};Object.keys(b.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(b.H_METHOD_MAP[t]=b.METHOD_MAP[t])});var _7;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(_7=b.FINISH||(b.FINISH={}));b.ALPHA=[];for(let t=65;t<=90;t++)b.ALPHA.push(String.fromCharCode(t)),b.ALPHA.push(String.fromCharCode(t+32));b.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};b.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};b.NUM=["0","1","2","3","4","5","6","7","8","9"];b.ALPHANUM=b.ALPHA.concat(b.NUM);b.MARK=["-","_",".","!","~","*","'","(",")"];b.USERINFO_CHARS=b.ALPHANUM.concat(b.MARK).concat(["%",";",":","&","=","+","$",","]);b.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(b.ALPHANUM);b.URL_CHAR=b.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)b.URL_CHAR.push(t);b.HEX=b.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);b.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(b.ALPHANUM);b.TOKEN=b.STRICT_TOKEN.concat([" "]);b.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&b.HEADER_CHARS.push(t);b.CONNECTION_TOKEN_CHARS=b.HEADER_CHARS.filter(t=>t!==44);b.MAJOR=b.NUM_MAP;b.MINOR=b.MAJOR;var jc;(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"})(jc=b.HEADER_STATE||(b.HEADER_STATE={}));b.SPECIAL_HEADERS={connection:jc.CONNECTION,"content-length":jc.CONTENT_LENGTH,"proxy-connection":jc.CONNECTION,"transfer-encoding":jc.TRANSFER_ENCODING,upgrade:jc.UPGRADE}});var Bw=h((NLe,zL)=>{"use strict";var{Buffer:L7}=require("node:buffer");zL.exports=L7.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlb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QXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAIoAhwiA0EBaw7dAdoBAdkBAgMEBQYHCAkKCwwNDtgBDxDXARES1gETFBUWFxgZGhvgAd8BHB0e1QEfICEiIyQl1AEmJygpKiss0wHSAS0u0QHQAS8wMTIzNDU2Nzg5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QAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw9lANAQkRFRklLTk9QUVJTVFVWWFpbXF1eX2BhYmNkZWZnaGpsb3Bxc3V2eHl6e3x/gAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY4BjwGQAZEBkgGTAZQBlQGWAZcBmAGZAZoBmwGcAZ0BngGfAaABoQGiAaMBpAGlAaYBpwGoAakBqgGrAawBrQGuAa8BsAGxAb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CyABQQFqIQFB5wAhAwyXAgtB/QAhAyABIARGDa8CIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQe3PAGotAABHDXIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADLACCyACQQA2AgAgBkEBaiEBQRAMcwtB/gAhAyABIARGDa4CIAIoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQfbOAGotAABHDXEgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK8CCyACQQA2AgAgBkEBaiEBQRYMcgtB/wAhAyABIARGDa0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQfzOAGotAABHDXAgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK4CCyACQQA2AgAgBkEBaiEBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQ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5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMtAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAh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1wA2AhwgAiABNgIUIAJByRc2AhAgAkEVNgIMQQAhAwyVAQtBACEDIAJBADYCHCACIAE2AhQgAkGAETYCECACQQk2AgwMlAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0AIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMkwELQckAIQMMeQsgAkEANgIcIAIgATYCFCACQcEoNgIQIAJBBzYCDCACQQA2AgBBACEDDJEBCyACKAIEIQBBACEDIAJBADYCBCACIAAgARAlIgBFDQAgAkHSADYCHCACIAE2AhQgAiAANgIMDJABC0HIACEDDHYLIAJBADYCACAFIQELIAJBgBI7ASogAUEBaiEBQQAhAAJAIAIoAjgiA0UNACADKAIwIgNFDQAgAiADEQAAIQALIAANAQtBxwAhAwxzCyAAQRVGBEAgAkHRADYCHCACIAE2AhQgAkHjFzYCECACQRU2AgxBACEDDIwBC0EAIQMgAkEANgIcIAIgATYCFCACQbkNNgIQIAJBGjYCDAyLAQtBACEDIAJBADYCHCACIAE2AhQgAkGgGTYCECACQR42AgwMigELIAEtAABBOkYEQCACKAIEIQBBACEDIAJBADYCBCACIAAgARApIgBFDQEgAkHDADYCHCACIAA2AgwgAiABQQFqNgIUDIoBC0EAIQMgAkEANgIcIAIgATYCFCACQbERNgIQIAJBCjYCDAyJAQsgAUEBaiEBQTshAwxvCyACQcMANgIcIAIgADYCDCACIAFBAWo2AhQMhwELQQAhAyACQQA2AhwgAiABNgIUIAJB8A42AhAgAkEcNgIMDIYBCyACIAIvATBBEHI7ATAMZgsCQCACLwEwIgBBCHFFDQAgAi0AKEEBRw0AIAItAC1BCHFFDQMLIAIgAEH3+wNxQYAEcjsBMAwECyABIARHBEACQANAIAEtAABBMGsiAEH/AXFBCk8EQEE1IQMMbgsgAikDICIKQpmz5syZs+bMGVYNASACIApCCn4iCjcDICAKIACtQv8BgyILQn+FVg0BIAIgCiALfDcDICAEIAFBAWoiAUcNAAtBOSEDDIUBCyACKAIEIQBBACEDIAJBADYCBCACIAAgAUEBaiI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gIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAIoAhwiA0EBaw7dAdoBAdkBAgMEBQYH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QAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw9lANAQkRFRklLTk9QUVJTVFVWWFpbXF1eX2BhYmNkZWZnaGpsb3Bxc3V2eHl6e3x/gAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY4B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AIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHtzwBqLQAARw1IIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyGAgsgAkEANgIAIAZBAWohAUERDEkLQagBIQMgASAERg2EAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHCzwBqLQAARw1HIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyFAgsgAkEANgIAIAZBAWohAUEsDEgLQakBIQMgASAERg2DAiACKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEHFzwBqLQAARw1GIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyEAgsgAkEANgIAIAZBAWohAUErDEcLQaoBIQMgASAERg2CAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHKzwBqLQAARw1FIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyDAgsgAkEANgIAIAZBAWohAUEUDEYLIAEgBEYEQEGrASEDDIICCwJAAkACQAJAIAEtAABBwgBrDg8AAQJHR0dHR0dHR0dHRwNHCyABQQFqIQFBkwEhAwzrAQsgAUEBaiEBQZQBIQMM6gELIAFBAWohAUGVASEDDOkBCyABQQFqIQFBlgEhAwzoAQsgASAERgRAQawBIQMMgQILIAEtAABBxQBHDUIgAUEBaiEBDD0LQa0BIQMgASAERg3/ASACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHNzwBqLQAARw1CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyAAgsgAkEANgIAIAZBAWohAUEODEMLIAEgBEYEQEGuASEDDP8BCyABLQAAQdAARw1AIAFBAWohAUElDEILQa8BIQMgASAERg39ASACKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEHQzwBqLQAARw1AIABBCEYNASAAQQFqIQAgBCABQQFqIgFHD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hAwy2AQsgAkEANgIcIAIgATYCFCACQcMPNgIQIAJBBzYCDEEAIQMMtQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0RIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMtAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQg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CU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var EA=h((RLe,eM)=>{"use strict";var YL=["GET","HEAD","POST"],O7=new Set(YL),F7=[101,204,205,304],JL=[301,302,303,307,308],U7=new Set(JL),WL=["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"],q7=new Set(WL),jL=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],G7=new Set(jL),H7=["follow","manual","error"],KL=["GET","HEAD","OPTIONS","TRACE"],z7=new Set(KL),$7=["navigate","same-origin","no-cors","cors"],V7=["omit","same-origin","include"],Y7=["default","no-store","reload","no-cache","force-cache","only-if-cached"],J7=["content-encoding","content-language","content-location","content-type","content-length"],W7=["half"],XL=["CONNECT","TRACE","TRACK"],j7=new Set(XL),ZL=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],K7=new Set(ZL);eM.exports={subresource:ZL,forbiddenMethods:XL,requestBodyHeader:J7,referrerPolicy:jL,requestRedirect:H7,requestMode:$7,requestCredentials:V7,requestCache:Y7,redirectStatus:JL,corsSafeListedMethods:YL,nullBodyStatus:F7,safeMethods:KL,badPorts:WL,requestDuplex:W7,subresourceSet:K7,badPortsSet:q7,redirectStatusSet:U7,corsSafeListedMethodsSet:O7,safeMethodsSet:z7,forbiddenMethodsSet:j7,referrerPolicySet:G7}});var bw=h((TLe,tM)=>{"use strict";var ww=Symbol.for("undici.globalOrigin.1");function X7(){return globalThis[ww]}function Z7(t){if(t===void 0){Object.defineProperty(globalThis,ww,{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,ww,{value:e,writable:!0,enumerable:!1,configurable:!1})}tM.exports={getGlobalOrigin:X7,setGlobalOrigin:Z7}});var Sr=h((vLe,cM)=>{"use strict";var fh=require("node:assert"),eee=new TextEncoder,yA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,tee=/[\u000A\u000D\u0009\u0020]/,ree=/[\u0009\u000A\u000C\u000D\u0020]/g,see=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function nee(t){fh(t.protocol==="data:");let e=nM(t,!0);e=e.slice(5);let r={position:0},s=Kc(",",e,r),n=s.length;if(s=uee(s,!0,!0),r.position>=e.length)return"failure";r.position++;let i=e.slice(n+1),o=iM(i);if(/;(\u0020){0,}base64$/i.test(s)){let c=aM(o);if(o=oee(c),o==="failure")return"failure";s=s.slice(0,-6),s=s.replace(/(\u0020)+$/,""),s=s.slice(0,-1)}s.startsWith(";")&&(s="text/plain"+s);let a=Qw(s);return a==="failure"&&(a=Qw("text/plain;charset=US-ASCII")),{mimeType:a,body:o}}function nM(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}function gh(t,e,r){let s="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function sM(t){return t>=48&&t<=57?t-48:(t&223)-55}function iee(t){let e=t.length,r=new Uint8Array(e),s=0;for(let n=0;nt.length)return"failure";e.position++;let s=Kc(";",t,e);if(s=hh(s,!1,!0),s.length===0||!yA.test(s))return"failure";let n=r.toLowerCase(),i=s.toLowerCase(),o={type:n,subtype:i,parameters:new Map,essence:`${n}/${i}`};for(;e.positiontee.test(l),t,e);let a=gh(l=>l!==";"&&l!=="=",t,e);if(a=a.toLowerCase(),e.positiont.length)break;let c=null;if(t[e.position]==='"')c=oM(t,e,!0),Kc(";",t,e);else if(c=Kc(";",t,e),c=hh(c,!1,!0),c.length===0)continue;a.length!==0&&yA.test(a)&&(c.length===0||see.test(c))&&!o.parameters.has(a)&&o.parameters.set(a,c)}return o}function oee(t){t=t.replace(ree,"");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)}function oM(t,e,r){let s=e.position,n="";for(fh(t[e.position]==='"'),e.position++;n+=gh(o=>o!=='"'&&o!=="\\",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{fh(i==='"');break}}return r?n:t.slice(s,e.position)}function aee(t){fh(t!=="failure");let{parameters:e,essence:r}=t,s=r;for(let[n,i]of e.entries())s+=";",s+=n,s+="=",yA.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),s+=i;return s}function cee(t){return t===13||t===10||t===9||t===32}function hh(t,e=!0,r=!0){return xw(t,e,r,cee)}function lee(t){return t===13||t===10||t===9||t===12||t===32}function uee(t,e=!0,r=!0){return xw(t,e,r,lee)}function xw(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)}function aM(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}function Aee(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":""}cM.exports={dataURLProcessor:nee,URLSerializer:nM,collectASequenceOfCodePoints:gh,collectASequenceOfCodePointsFast:Kc,stringPercentDecode:iM,parseMIMEType:Qw,collectAnHTTPQuotedString:oM,serializeAMimeType:aee,removeChars:xw,removeHTTPWhitespace:hh,minimizeSupportedMimeType:Aee,HTTP_TOKEN_CODEPOINTS:yA,isomorphicDecode:aM}});var $t=h((PLe,lM)=>{"use strict";var{types:kn,inspect:dee}=require("node:util"),{markAsUncloneable:pee}=require("node:worker_threads"),{toUSVString:mee}=me(),w={};w.converters={};w.util={};w.errors={};w.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};w.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 w.errors.exception({header:t.prefix,message:r})};w.errors.invalidArgument=function(t){return w.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};w.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}};w.argumentLengthCheck=function({length:t},e,r){if(t{});w.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 o=Number(t);if(o===0&&(o=0),s?.enforceRange===!0){if(Number.isNaN(o)||o===Number.POSITIVE_INFINITY||o===Number.NEGATIVE_INFINITY)throw w.errors.exception({header:"Integer conversion",message:`Could not convert ${w.util.Stringify(t)} to an integer.`});if(o=w.util.IntegerPart(o),on)throw w.errors.exception({header:"Integer conversion",message:`Value must be between ${i}-${n}, got ${o}.`});return o}return!Number.isNaN(o)&&s?.clamp===!0?(o=Math.min(Math.max(o,i),n),Math.floor(o)%2===0?o=Math.floor(o):o=Math.ceil(o),o):Number.isNaN(o)||o===0&&Object.is(0,o)||o===Number.POSITIVE_INFINITY||o===Number.NEGATIVE_INFINITY?0:(o=w.util.IntegerPart(o),o=o%Math.pow(2,e),r==="signed"&&o>=Math.pow(2,e)-1?o-Math.pow(2,e):o)};w.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};w.util.Stringify=function(t){switch(w.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return dee(t);case"String":return`"${t}"`;default:return`${t}`}};w.sequenceConverter=function(t){return(e,r,s,n)=>{if(w.util.Type(e)!=="Object")throw w.errors.exception({header:r,message:`${s} (${w.util.Stringify(e)}) is not iterable.`});let i=typeof n=="function"?n():e?.[Symbol.iterator]?.(),o=[],a=0;if(i===void 0||typeof i.next!="function")throw w.errors.exception({header:r,message:`${s} is not iterable.`});for(;;){let{done:c,value:l}=i.next();if(c)break;o.push(t(l,r,`${s}[${a++}]`))}return o}};w.recordConverter=function(t,e){return(r,s,n)=>{if(w.util.Type(r)!=="Object")throw w.errors.exception({header:s,message:`${n} ("${w.util.Type(r)}") is not an Object.`});let i={};if(!kn.isProxy(r)){let a=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let c of a){let l=t(c,s,n),u=e(r[c],s,n);i[l]=u}return i}let o=Reflect.ownKeys(r);for(let a of o)if(Reflect.getOwnPropertyDescriptor(r,a)?.enumerable){let l=t(a,s,n),u=e(r[a],s,n);i[l]=u}return i}};w.interfaceConverter=function(t){return(e,r,s,n)=>{if(n?.strict!==!1&&!(e instanceof t))throw w.errors.exception({header:r,message:`Expected ${s} ("${w.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};w.dictionaryConverter=function(t){return(e,r,s)=>{let n=w.util.Type(e),i={};if(n==="Null"||n==="Undefined")return i;if(n!=="Object")throw w.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let o of t){let{key:a,defaultValue:c,required:l,converter:u}=o;if(l===!0&&!Object.hasOwn(e,a))throw w.errors.exception({header:r,message:`Missing required key "${a}".`});let A=e[a],d=Object.hasOwn(o,"defaultValue");if(d&&A!==null&&(A??=c()),l||d||A!==void 0){if(A=u(A,r,`${s}.${a}`),o.allowedValues&&!o.allowedValues.includes(A))throw w.errors.exception({header:r,message:`${A} is not an accepted type. Expected one of ${o.allowedValues.join(", ")}.`});i[a]=A}}return i}};w.nullableConverter=function(t){return(e,r,s)=>e===null?e:t(e,r,s)};w.converters.DOMString=function(t,e,r,s){if(t===null&&s?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw w.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};w.converters.ByteString=function(t,e,r){let s=w.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};w.converters.USVString=mee;w.converters.boolean=function(t){return!!t};w.converters.any=function(t){return t};w.converters["long long"]=function(t,e,r){return w.util.ConvertToInt(t,64,"signed",void 0,e,r)};w.converters["unsigned long long"]=function(t,e,r){return w.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};w.converters["unsigned long"]=function(t,e,r){return w.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};w.converters["unsigned short"]=function(t,e,r,s){return w.util.ConvertToInt(t,16,"unsigned",s,e,r)};w.converters.ArrayBuffer=function(t,e,r,s){if(w.util.Type(t)!=="Object"||!kn.isAnyArrayBuffer(t))throw w.errors.conversionFailed({prefix:e,argument:`${r} ("${w.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(s?.allowShared===!1&&kn.isSharedArrayBuffer(t))throw w.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw w.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};w.converters.TypedArray=function(t,e,r,s,n){if(w.util.Type(t)!=="Object"||!kn.isTypedArray(t)||t.constructor.name!==e.name)throw w.errors.conversionFailed({prefix:r,argument:`${s} ("${w.util.Stringify(t)}")`,types:[e.name]});if(n?.allowShared===!1&&kn.isSharedArrayBuffer(t.buffer))throw w.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw w.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};w.converters.DataView=function(t,e,r,s){if(w.util.Type(t)!=="Object"||!kn.isDataView(t))throw w.errors.exception({header:e,message:`${r} is not a DataView.`});if(s?.allowShared===!1&&kn.isSharedArrayBuffer(t.buffer))throw w.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw w.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};w.converters.BufferSource=function(t,e,r,s){if(kn.isAnyArrayBuffer(t))return w.converters.ArrayBuffer(t,e,r,{...s,allowShared:!1});if(kn.isTypedArray(t))return w.converters.TypedArray(t,t.constructor,e,r,{...s,allowShared:!1});if(kn.isDataView(t))return w.converters.DataView(t,e,r,{...s,allowShared:!1});throw w.errors.conversionFailed({prefix:e,argument:`${r} ("${w.util.Stringify(t)}")`,types:["BufferSource"]})};w.converters["sequence"]=w.sequenceConverter(w.converters.ByteString);w.converters["sequence>"]=w.sequenceConverter(w.converters["sequence"]);w.converters["record"]=w.recordConverter(w.converters.ByteString,w.converters.ByteString);lM.exports={webidl:w}});var Wr=h((kLe,wM)=>{"use strict";var{Transform:hee}=require("node:stream"),uM=require("node:zlib"),{redirectStatusSet:fee,referrerPolicySet:gee,badPortsSet:Eee}=EA(),{getGlobalOrigin:AM}=bw(),{collectASequenceOfCodePoints:ya,collectAnHTTPQuotedString:yee,removeChars:Cee,parseMIMEType:Iee}=Sr(),{performance:Bee}=require("node:perf_hooks"),{isBlobLike:wee,ReadableStreamFrom:bee,isValidHTTPToken:dM,normalizedMethodRecordsBase:Qee}=me(),Ca=require("node:assert"),{isUint8Array:xee}=require("node:util/types"),{webidl:CA}=$t(),pM=[],yh;try{yh=require("node:crypto");let t=["sha256","sha384","sha512"];pM=yh.getHashes().filter(e=>t.includes(e))}catch{}function mM(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}function Nee(t,e){if(!fee.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&fM(r)&&(hM(r)||(r=See(r)),r=new URL(r,mM(t))),r&&!r.hash&&(r.hash=e),r}function hM(t){for(let e=0;e126||r<32)return!1}return!0}function See(t){return Buffer.from(t,"binary").toString("utf8")}function BA(t){return t.urlList[t.urlList.length-1]}function Ree(t){let e=BA(t);return IM(e)&&Eee.has(e.port)?"blocked":"allowed"}function Tee(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}function vee(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}var Pee=dM;function fM(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` `)||t.includes("\r")||t.includes("\0"))===!1}function kee(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 o=s[i-1].trim();if(gee.has(o)){n=o;break}}n!==""&&(t.referrerPolicy=n)}function Dee(){return"allowed"}function _ee(){return"success"}function Lee(){return"success"}function Mee(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}function Oee(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&&Sw(t.origin)&&!Sw(BA(t))&&(e=null);break;case"same-origin":Ch(t,BA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}function Xc(t,e){return t}function Fee(t,e,r){return!t?.startTime||t.startTime4096&&(s=n);let i=Ch(t,s),o=IA(s)&&!IA(t.url);switch(e){case"origin":return n??Nw(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 a=BA(t);return Ch(s,a)?s:IA(s)&&!IA(a)?"no-referrer":n}default:return o?"no-referrer":n}}function Nw(t,e){return Ca(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)}function IA(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"))}}function zee(t,e){if(yh===void 0)return!0;let r=EM(e);if(r==="no metadata"||r.length===0)return!0;let s=Vee(r),n=Yee(r,s);for(let i of n){let o=i.algo,a=i.hash,c=yh.createHash(o).update(t).digest("base64");if(c[c.length-1]==="="&&(c[c.length-2]==="="?c=c.slice(0,-2):c=c.slice(0,-1)),Jee(c,a))return!0}return!1}var $ee=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function EM(t){let e=[],r=!0;for(let s of t.split(" ")){r=!1;let n=$ee.exec(s);if(n===null||n.groups===void 0||n.groups.algo===void 0)continue;let i=n.groups.algo.toLowerCase();pM.includes(i)&&e.push(n.groups)}return r===!0?"no metadata":e}function Vee(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}}function Kee(t){return t.controller.state==="aborted"}function Xee(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}function Zee(t){return Qee[t.toLowerCase()]??t}function ete(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Ca(typeof e=="string"),e}var tte=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function yM(t,e,r=0,s=1){class n{#e;#t;#r;constructor(o,a){this.#e=o,this.#t=a,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 o=this.#r,a=this.#e[e],c=a.length;if(o>=c)return{value:void 0,done:!0};let{[r]:l,[s]:u}=a[o];this.#r=o+1;let A;switch(this.#t){case"key":A=l;break;case"value":A=u;break;case"key+value":A=[l,u];break}return{value:A,done:!1}}}return delete n.prototype.constructor,Object.setPrototypeOf(n.prototype,tte),Object.defineProperties(n.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(i,o){return new n(i,o)}}function rte(t,e,r,s=0,n=1){let i=yM(t,r,s,n),o={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return CA.brandCheck(this,e),i(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return CA.brandCheck(this,e),i(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return CA.brandCheck(this,e),i(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(c,l=globalThis){if(CA.brandCheck(this,e),CA.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof c!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:u,1:A}of i(this,"key+value"))c.call(l,A,u,this)}}};return Object.defineProperties(e.prototype,{...o,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:o.entries.value}})}async function ste(t,e,r){let s=e,n=r,i;try{i=t.stream.getReader()}catch(o){n(o);return}try{s(await CM(i))}catch(o){n(o)}}function nte(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}function ite(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}}var ote=/[^\x00-\xFF]/;function Eh(t){return Ca(!ote.test(t)),t}async function CM(t){let e=[],r=0;for(;;){let{done:s,value:n}=await t.read();if(s)return Buffer.concat(e,r);if(!xee(n))throw new TypeError("Received non-Uint8Array chunk");e.push(n),r+=n.length}}function ate(t){Ca("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}function Sw(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:"}function IM(t){Ca("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}function cte(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let s={position:5};if(e&&ya(c=>c===" "||c===" ",r,s),r.charCodeAt(s.position)!==61)return"failure";s.position++,e&&ya(c=>c===" "||c===" ",r,s);let n=ya(c=>{let l=c.charCodeAt(0);return l>=48&&l<=57},r,s),i=n.length?Number(n):null;if(e&&ya(c=>c===" "||c===" ",r,s),r.charCodeAt(s.position)!==45)return"failure";s.position++,e&&ya(c=>c===" "||c===" ",r,s);let o=ya(c=>{let l=c.charCodeAt(0);return l>=48&&l<=57},r,s),a=o.length?Number(o):null;return s.positiona?"failure":{rangeStartValue:i,rangeEndValue:a}}function lte(t,e,r){let s="bytes ";return s+=Eh(`${t}`),s+="-",s+=Eh(`${e}`),s+="/",s+=Eh(`${r}`),s}var Rw=class extends hee{#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?uM.createInflate(this.#e):uM.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 ute(t){return new Rw(t)}function Ate(t){let e=null,r=null,s=null,n=BM("content-type",t);if(n===null)return"failure";for(let i of n){let o=Iee(i);o==="failure"||o.essence==="*/*"||(s=o,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"}function dte(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}function BM(t,e){let r=e.get(t,!0);return r===null?null:dte(r)}var pte=new TextDecoder;function mte(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),pte.decode(t))}var Tw=class{get baseUrl(){return AM()}get origin(){return this.baseUrl?.origin}policyContainer=gM()},vw=class{settingsObject=new Tw},hte=new vw;wM.exports={isAborted:Kee,isCancelled:Xee,isValidEncodedURL:hM,createDeferredPromise:jee,ReadableStreamFrom:bee,tryUpgradeRequestToAPotentiallyTrustworthyURL:Wee,clampAndCoarsenConnectionTimingInfo:Fee,coarsenedSharedCurrentTime:Uee,determineRequestsReferrer:Hee,makePolicyContainer:gM,clonePolicyContainer:Gee,appendFetchMetadata:Mee,appendRequestOriginHeader:Oee,TAOCheck:Lee,corsCheck:_ee,crossOriginResourcePolicyCheck:Dee,createOpaqueTimingInfo:qee,setRequestReferrerPolicyOnRedirect:kee,isValidHTTPToken:dM,requestBadPort:Ree,requestCurrentURL:BA,responseURL:mM,responseLocationURL:Nee,isBlobLike:wee,isURLPotentiallyTrustworthy:IA,isValidReasonPhrase:vee,sameOrigin:Ch,normalizeMethod:Zee,serializeJavascriptValueToJSONString:ete,iteratorMixin:rte,createIterator:yM,isValidHeaderName:Pee,isValidHeaderValue:fM,isErrorLike:Tee,fullyReadBody:ste,bytesMatch:zee,isReadableStreamLike:nte,readableStreamClose:ite,isomorphicEncode:Eh,urlIsLocal:ate,urlHasHttpsScheme:Sw,urlIsHttpHttpsScheme:IM,readAllBytes:CM,simpleRangeHeaderValue:cte,buildContentRange:lte,parseMetadata:EM,createInflate:ute,extractMimeType:Ate,getDecodeSplit:BM,utf8DecodeBytes:mte,environmentSettingsObject:hte}});var wo=h((DLe,bM)=>{"use strict";bM.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var kw=h((_Le,QM)=>{"use strict";var{Blob:fte,File:gte}=require("node:buffer"),{kState:Ui}=wo(),{webidl:Dn}=$t(),Pw=class t{constructor(e,r,s={}){let n=r,i=s.type,o=s.lastModified??Date.now();this[Ui]={blobLike:e,name:n,type:i,lastModified:o}}stream(...e){return Dn.brandCheck(this,t),this[Ui].blobLike.stream(...e)}arrayBuffer(...e){return Dn.brandCheck(this,t),this[Ui].blobLike.arrayBuffer(...e)}slice(...e){return Dn.brandCheck(this,t),this[Ui].blobLike.slice(...e)}text(...e){return Dn.brandCheck(this,t),this[Ui].blobLike.text(...e)}get size(){return Dn.brandCheck(this,t),this[Ui].blobLike.size}get type(){return Dn.brandCheck(this,t),this[Ui].blobLike.type}get name(){return Dn.brandCheck(this,t),this[Ui].name}get lastModified(){return Dn.brandCheck(this,t),this[Ui].lastModified}get[Symbol.toStringTag](){return"File"}};Dn.converters.Blob=Dn.interfaceConverter(fte);function Ete(t){return t instanceof gte||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}QM.exports={FileLike:Pw,isFileLike:Ete}});var bA=h((LLe,TM)=>{"use strict";var{isBlobLike:Ih,iteratorMixin:yte}=Wr(),{kState:lr}=wo(),{kEnumerableProperty:Zc}=me(),{FileLike:xM,isFileLike:Cte}=kw(),{webidl:Le}=$t(),{File:RM}=require("node:buffer"),NM=require("node:util"),SM=globalThis.File??RM,wA=class t{constructor(e){if(Le.util.markAsUncloneable(this),e!==void 0)throw Le.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[lr]=[]}append(e,r,s=void 0){Le.brandCheck(this,t);let n="FormData.append";if(Le.argumentLengthCheck(arguments,2,n),arguments.length===3&&!Ih(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Le.converters.USVString(e,n,"name"),r=Ih(r)?Le.converters.Blob(r,n,"value",{strict:!1}):Le.converters.USVString(r,n,"value"),s=arguments.length===3?Le.converters.USVString(s,n,"filename"):void 0;let i=Dw(e,r,s);this[lr].push(i)}delete(e){Le.brandCheck(this,t);let r="FormData.delete";Le.argumentLengthCheck(arguments,1,r),e=Le.converters.USVString(e,r,"name"),this[lr]=this[lr].filter(s=>s.name!==e)}get(e){Le.brandCheck(this,t);let r="FormData.get";Le.argumentLengthCheck(arguments,1,r),e=Le.converters.USVString(e,r,"name");let s=this[lr].findIndex(n=>n.name===e);return s===-1?null:this[lr][s].value}getAll(e){Le.brandCheck(this,t);let r="FormData.getAll";return Le.argumentLengthCheck(arguments,1,r),e=Le.converters.USVString(e,r,"name"),this[lr].filter(s=>s.name===e).map(s=>s.value)}has(e){Le.brandCheck(this,t);let r="FormData.has";return Le.argumentLengthCheck(arguments,1,r),e=Le.converters.USVString(e,r,"name"),this[lr].findIndex(s=>s.name===e)!==-1}set(e,r,s=void 0){Le.brandCheck(this,t);let n="FormData.set";if(Le.argumentLengthCheck(arguments,2,n),arguments.length===3&&!Ih(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Le.converters.USVString(e,n,"name"),r=Ih(r)?Le.converters.Blob(r,n,"name",{strict:!1}):Le.converters.USVString(r,n,"name"),s=arguments.length===3?Le.converters.USVString(s,n,"name"):void 0;let i=Dw(e,r,s),o=this[lr].findIndex(a=>a.name===e);o!==-1?this[lr]=[...this[lr].slice(0,o),i,...this[lr].slice(o+1).filter(a=>a.name!==e)]:this[lr].push(i)}[NM.inspect.custom](e,r){let s=this[lr].reduce((i,o)=>(i[o.name]?Array.isArray(i[o.name])?i[o.name].push(o.value):i[o.name]=[i[o.name],o.value]:i[o.name]=o.value,i),{__proto__:null});r.depth??=e,r.colors??=!0;let n=NM.formatWithOptions(r,s);return`FormData ${n.slice(n.indexOf("]")+2)}`}};yte("FormData",wA,lr,"name","value");Object.defineProperties(wA.prototype,{append:Zc,delete:Zc,get:Zc,getAll:Zc,has:Zc,set:Zc,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function Dw(t,e,r){if(typeof e!="string"){if(Cte(e)||(e=e instanceof Blob?new SM([e],"blob",{type:e.type}):new xM(e,"blob",{type:e.type})),r!==void 0){let s={type:e.type,lastModified:e.lastModified};e=e instanceof RM?new SM([e],r,s):new xM(e,r,s)}}return{name:t,value:e}}TM.exports={FormData:wA,makeEntry:Dw}});var LM=h((MLe,_M)=>{"use strict";var{isUSVString:vM,bufferToLowerCasedHeaderName:Ite}=me(),{utf8DecodeBytes:Bte}=Wr(),{HTTP_TOKEN_CODEPOINTS:wte,isomorphicDecode:PM}=Sr(),{isFileLike:bte}=kw(),{makeEntry:Qte}=bA(),Bh=require("node:assert"),{File:xte}=require("node:buffer"),Nte=globalThis.File??xte,Ste=Buffer.from('form-data; name="'),kM=Buffer.from("; filename"),Rte=Buffer.from("--"),Tte=Buffer.from(`--\r `);function vte(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}function kte(t,e){Bh(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 o=t.length;for(;t[o-1]===10&&t[o-2]===13;)o-=2;for(o!==t.length&&(t=t.subarray(0,o));;){if(t.subarray(i.position,i.position+s.length).equals(s))i.position+=s.length;else return"failure";if(i.position===t.length-2&&wh(t,Rte,i)||i.position===t.length-4&&wh(t,Tte,i))return n;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let a=Dte(t,i);if(a==="failure")return"failure";let{name:c,filename:l,contentType:u,encoding:A}=a;i.position+=2;let d;{let m=t.indexOf(s.subarray(2),i.position);if(m===-1)return"failure";d=t.subarray(i.position,m-4),i.position+=d.length,A==="base64"&&(d=Buffer.from(d.toString(),"base64"))}if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let p;l!==null?(u??="text/plain",vte(u)||(u=""),p=new Nte([d],l,{type:u})):p=Bte(Buffer.from(d)),Bh(vM(c)),Bh(typeof p=="string"&&vM(p)||bte(p)),n.push(Qte(c,p,l))}}function Dte(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 o=el(a=>a!==10&&a!==13&&a!==58,t,e);if(o=_w(o,!0,!0,a=>a===9||a===32),!wte.test(o.toString())||t[e.position]!==58)return"failure";switch(e.position++,el(a=>a===32||a===9,t,e),Ite(o)){case"content-disposition":{if(r=s=null,!wh(t,Ste,e)||(e.position+=17,r=DM(t,e),r===null))return"failure";if(wh(t,kM,e)){let a=e.position+kM.length;if(t[a]===42&&(e.position+=1,a+=1),t[a]!==61||t[a+1]!==34||(e.position+=12,s=DM(t,e),s===null))return"failure"}break}case"content-type":{let a=el(c=>c!==10&&c!==13,t,e);a=_w(a,!1,!0,c=>c===9||c===32),n=PM(a);break}case"content-transfer-encoding":{let a=el(c=>c!==10&&c!==13,t,e);a=_w(a,!1,!0,c=>c===9||c===32),i=PM(a);break}default:el(a=>a!==10&&a!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}function DM(t,e){Bh(t[e.position-1]===34);let r=el(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)}function el(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)}function wh(t,e,r){if(t.length{"use strict";var QA=me(),{ReadableStreamFrom:_te,isBlobLike:MM,isReadableStreamLike:Lte,readableStreamClose:Mte,createDeferredPromise:Ote,fullyReadBody:Fte,extractMimeType:Ute,utf8DecodeBytes:UM}=Wr(),{FormData:OM}=bA(),{kState:rl}=wo(),{webidl:qte}=$t(),{Blob:Gte}=require("node:buffer"),Lw=require("node:assert"),{isErrored:qM,isDisturbed:Hte}=require("node:stream"),{isArrayBuffer:zte}=require("node:util/types"),{serializeAMimeType:$te}=Sr(),{multipartFormDataParser:Vte}=LM(),Mw;try{let t=require("node:crypto");Mw=e=>t.randomInt(0,e)}catch{Mw=t=>Math.floor(Math.random(t))}var bh=new TextEncoder;function Yte(){}var GM=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,HM;GM&&(HM=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!Hte(e)&&!qM(e)&&e.cancel("Response object has been garbage collected").catch(Yte)}));function zM(t,e=!1){let r=null;t instanceof ReadableStream?r=t:MM(t)?r=t.stream():r=new ReadableStream({async pull(c){let l=typeof n=="string"?bh.encode(n):n;l.byteLength&&c.enqueue(l),queueMicrotask(()=>Mte(c))},start(){},type:"bytes"}),Lw(Lte(r));let s=null,n=null,i=null,o=null;if(typeof t=="string")n=t,o="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)n=t.toString(),o="application/x-www-form-urlencoded;charset=UTF-8";else if(zte(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(QA.isFormDataLike(t)){let c=`----formdata-undici-0${`${Mw(1e11)}`.padStart(11,"0")}`,l=`--${c}\r Content-Disposition: form-data`;let u=y=>y.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),A=y=>y.replace(/\r?\n|\r/g,`\r `),d=[],p=new Uint8Array([13,10]);i=0;let m=!1;for(let[y,g]of t)if(typeof g=="string"){let E=bh.encode(l+`; name="${u(A(y))}"\r \r ${A(g)}\r `);d.push(E),i+=E.byteLength}else{let E=bh.encode(`${l}; name="${u(A(y))}"`+(g.name?`; filename="${u(g.name)}"`:"")+`\r Content-Type: ${g.type||"application/octet-stream"}\r \r `);d.push(E,g,p),typeof g.size=="number"?i+=E.byteLength+g.size+p.byteLength:m=!0}let f=bh.encode(`--${c}--\r `);d.push(f),i+=f.byteLength,m&&(i=null),n=t,s=async function*(){for(let y of d)y.stream?yield*y.stream():yield y},o=`multipart/form-data; boundary=${c}`}else if(MM(t))n=t,i=t.size,t.type&&(o=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(QA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:_te(t)}if((typeof n=="string"||QA.isBuffer(n))&&(i=Buffer.byteLength(n)),s!=null){let c;r=new ReadableStream({async start(){c=s(t)[Symbol.asyncIterator]()},async pull(l){let{value:u,done:A}=await c.next();if(A)queueMicrotask(()=>{l.close(),l.byobRequest?.respond(0)});else if(!qM(r)){let d=new Uint8Array(u);d.byteLength&&l.enqueue(d)}return l.desiredSize>0},async cancel(l){await c.return()},type:"bytes"})}return[{stream:r,source:n,length:i},o]}function Jte(t,e=!1){return t instanceof ReadableStream&&(Lw(!QA.isDisturbed(t),"The body has already been consumed."),Lw(!t.locked,"The stream is locked.")),zM(t,e)}function Wte(t,e){let[r,s]=e.stream.tee();return e.stream=r,{stream:s,length:e.length,source:e.source}}function jte(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}function Kte(t){return{blob(){return tl(this,r=>{let s=FM(this);return s===null?s="":s&&(s=$te(s)),new Gte([r],{type:s})},t)},arrayBuffer(){return tl(this,r=>new Uint8Array(r).buffer,t)},text(){return tl(this,UM,t)},json(){return tl(this,Zte,t)},formData(){return tl(this,r=>{let s=FM(this);if(s!==null)switch(s.essence){case"multipart/form-data":{let n=Vte(r,s);if(n==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new OM;return i[rl]=n,i}case"application/x-www-form-urlencoded":{let n=new URLSearchParams(r.toString()),i=new OM;for(let[o,a]of n)i.append(o,a);return i}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return tl(this,r=>new Uint8Array(r),t)}}}function Xte(t){Object.assign(t.prototype,Kte(t))}async function tl(t,e,r){if(qte.brandCheck(t,r),$M(t))throw new TypeError("Body is unusable: Body has already been read");jte(t[rl]);let s=Ote(),n=o=>s.reject(o),i=o=>{try{s.resolve(e(o))}catch(a){n(a)}};return t[rl].body==null?(i(Buffer.allocUnsafe(0)),s.promise):(await Fte(t[rl].body,i,n),s.promise)}function $M(t){let e=t[rl].body;return e!=null&&(e.stream.locked||QA.isDisturbed(e.stream))}function Zte(t){return JSON.parse(UM(t))}function FM(t){let e=t[rl].headersList,r=Ute(e);return r==="failure"?null:r}VM.exports={extractBody:zM,safelyExtractBody:Jte,cloneBody:Wte,mixinBody:Xte,streamRegistry:HM,hasFinalizationRegistry:GM,bodyUnusable:$M}});var sO=h((FLe,rO)=>{"use strict";var K=require("node:assert"),se=me(),{channels:YM}=zc(),Ow=yw(),{RequestContentLengthMismatchError:Ia,ResponseContentLengthMismatchError:ere,RequestAbortedError:ZM,HeadersTimeoutError:tre,HeadersOverflowError:rre,SocketError:Th,InformationalError:nl,BodyTimeoutError:sre,HTTPParserError:nre,ResponseExceededMaxSizeError:ire}=Qe(),{kUrl:eO,kReset:Rr,kClient:Gw,kParser:Ze,kBlocking:SA,kRunning:Wt,kPending:ore,kSize:JM,kWriting:Qo,kQueue:tn,kNoRef:xA,kKeepAliveDefaultTimeout:are,kHostHeader:cre,kPendingIdx:lre,kRunningIdx:Bs,kError:ws,kPipelining:Sh,kSocket:il,kKeepAliveTimeoutValue:vh,kMaxHeadersSize:Fw,kKeepAliveMaxTimeout:ure,kKeepAliveTimeoutThreshold:Are,kHeadersTimeout:dre,kBodyTimeout:pre,kStrictContentLength:Hw,kMaxRequests:WM,kCounter:mre,kMaxResponseSize:hre,kOnError:fre,kResume:bo,kHTTPContext:tO}=ze(),_n=HL(),gre=Buffer.alloc(0),Qh=Buffer[Symbol.species],xh=se.addListener,Ere=se.removeAllListeners,Uw;async function yre(){let t=process.env.JEST_WORKER_ID?Bw():void 0,e;try{e=await WebAssembly.compile(VL())}catch{e=await WebAssembly.compile(t||Bw())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(r,s,n)=>0,wasm_on_status:(r,s,n)=>{K(St.ptr===r);let i=s-Mn+Ln.byteOffset;return St.onStatus(new Qh(Ln.buffer,i,n))||0},wasm_on_message_begin:r=>(K(St.ptr===r),St.onMessageBegin()||0),wasm_on_header_field:(r,s,n)=>{K(St.ptr===r);let i=s-Mn+Ln.byteOffset;return St.onHeaderField(new Qh(Ln.buffer,i,n))||0},wasm_on_header_value:(r,s,n)=>{K(St.ptr===r);let i=s-Mn+Ln.byteOffset;return St.onHeaderValue(new Qh(Ln.buffer,i,n))||0},wasm_on_headers_complete:(r,s,n,i)=>(K(St.ptr===r),St.onHeadersComplete(s,!!n,!!i)||0),wasm_on_body:(r,s,n)=>{K(St.ptr===r);let i=s-Mn+Ln.byteOffset;return St.onBody(new Qh(Ln.buffer,i,n))||0},wasm_on_message_complete:r=>(K(St.ptr===r),St.onMessageComplete()||0)}})}var qw=null,zw=yre();zw.catch();var St=null,Ln=null,Nh=0,Mn=null,Cre=0,NA=1,ol=2|NA,Rh=4|NA,$w=8|Cre,Vw=class{constructor(e,r,{exports:s}){K(Number.isFinite(e[Fw])&&e[Fw]>0),this.llhttp=s,this.ptr=this.llhttp.llhttp_alloc(_n.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[Fw],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[hre]}setTimeout(e,r){e!==this.timeoutValue||r&NA^this.timeoutType&NA?(this.timeout&&(Ow.clearTimeout(this.timeout),this.timeout=null),e&&(r&NA?this.timeout=Ow.setFastTimeout(jM,e,new WeakRef(this)):(this.timeout=setTimeout(jM,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||(K(this.ptr!=null),K(St==null),this.llhttp.llhttp_resume(this.ptr),K(this.timeoutType===Rh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||gre),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){K(this.ptr!=null),K(St==null),K(!this.paused);let{socket:r,llhttp:s}=this;e.length>Nh&&(Mn&&s.free(Mn),Nh=Math.ceil(e.length/4096)*4096,Mn=s.malloc(Nh)),new Uint8Array(s.memory.buffer,Mn,Nh).set(e);try{let n;try{Ln=e,St=this,n=s.llhttp_execute(this.ptr,Mn,e.length)}catch(o){throw o}finally{St=null,Ln=null}let i=s.llhttp_get_error_pos(this.ptr)-Mn;if(n===_n.ERROR.PAUSED_UPGRADE)this.onUpgrade(e.slice(i));else if(n===_n.ERROR.PAUSED)this.paused=!0,r.unshift(e.slice(i));else if(n!==_n.ERROR.OK){let o=s.llhttp_get_error_reason(this.ptr),a="";if(o){let c=new Uint8Array(s.memory.buffer,o).indexOf(0);a="Response does not match the HTTP/1.1 protocol ("+Buffer.from(s.memory.buffer,o,c).toString()+")"}throw new nre(a,_n.ERROR[n],e.slice(i))}}catch(n){se.destroy(r,n)}}destroy(){K(this.ptr!=null),K(St==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&Ow.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;let s=r[tn][r[Bs]];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=se.bufferToLowerCasedHeaderName(s);n==="keep-alive"?this.keepAlive+=e.toString():n==="connection"&&(this.connection+=e.toString())}else s.length===14&&se.bufferToLowerCasedHeaderName(s)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&se.destroy(this.socket,new rre)}onUpgrade(e){let{upgrade:r,client:s,socket:n,headers:i,statusCode:o}=this;K(r),K(s[il]===n),K(!n.destroyed),K(!this.paused),K((i.length&1)===0);let a=s[tn][s[Bs]];K(a),K(a.upgrade||a.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,n.unshift(e),n[Ze].destroy(),n[Ze]=null,n[Gw]=null,n[ws]=null,Ere(n),s[il]=null,s[tO]=null,s[tn][s[Bs]++]=null,s.emit("disconnect",s[eO],[s],new nl("upgrade"));try{a.onUpgrade(o,i,n)}catch(c){se.destroy(n,c)}s[bo]()}onHeadersComplete(e,r,s){let{client:n,socket:i,headers:o,statusText:a}=this;if(i.destroyed)return-1;let c=n[tn][n[Bs]];if(!c)return-1;if(K(!this.upgrade),K(this.statusCode<200),e===100)return se.destroy(i,new Th("bad response",se.getSocketInfo(i))),-1;if(r&&!c.upgrade)return se.destroy(i,new Th("bad upgrade",se.getSocketInfo(i))),-1;if(K(this.timeoutType===ol),this.statusCode=e,this.shouldKeepAlive=s||c.method==="HEAD"&&!i[Rr]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let u=c.bodyTimeout!=null?c.bodyTimeout:n[pre];this.setTimeout(u,Rh)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(c.method==="CONNECT")return K(n[Wt]===1),this.upgrade=!0,2;if(r)return K(n[Wt]===1),this.upgrade=!0,2;if(K((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&n[Sh]){let u=this.keepAlive?se.parseKeepAliveTimeout(this.keepAlive):null;if(u!=null){let A=Math.min(u-n[Are],n[ure]);A<=0?i[Rr]=!0:n[vh]=A}else n[vh]=n[are]}else i[Rr]=!0;let l=c.onHeaders(e,o,this.resume,a)===!1;return c.aborted?-1:c.method==="HEAD"||e<200?1:(i[SA]&&(i[SA]=!1,n[bo]()),l?_n.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:s,statusCode:n,maxResponseSize:i}=this;if(s.destroyed)return-1;let o=r[tn][r[Bs]];if(K(o),K(this.timeoutType===Rh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),K(n>=200),i>-1&&this.bytesRead+e.length>i)return se.destroy(s,new ire),-1;if(this.bytesRead+=e.length,o.onData(e)===!1)return _n.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:s,upgrade:n,headers:i,contentLength:o,bytesRead:a,shouldKeepAlive:c}=this;if(r.destroyed&&(!s||c))return-1;if(n)return;K(s>=100),K((this.headers.length&1)===0);let l=e[tn][e[Bs]];if(K(l),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(s<200)){if(l.method!=="HEAD"&&o&&a!==parseInt(o,10))return se.destroy(r,new ere),-1;if(l.onComplete(i),e[tn][e[Bs]++]=null,r[Qo])return K(e[Wt]===0),se.destroy(r,new nl("reset")),_n.ERROR.PAUSED;if(c){if(r[Rr]&&e[Wt]===0)return se.destroy(r,new nl("reset")),_n.ERROR.PAUSED;e[Sh]==null||e[Sh]===1?setImmediate(()=>e[bo]()):e[bo]()}else return se.destroy(r,new nl("reset")),_n.ERROR.PAUSED}}};function jM(t){let{socket:e,timeoutType:r,client:s,paused:n}=t.deref();r===ol?(!e[Qo]||e.writableNeedDrain||s[Wt]>1)&&(K(!n,"cannot be paused while waiting for headers"),se.destroy(e,new tre)):r===Rh?n||se.destroy(e,new sre):r===$w&&(K(s[Wt]===0&&s[vh]),se.destroy(e,new nl("socket idle timeout")))}async function Ire(t,e){t[il]=e,qw||(qw=await zw,zw=null),e[xA]=!1,e[Qo]=!1,e[Rr]=!1,e[SA]=!1,e[Ze]=new Vw(t,e,qw),xh(e,"error",function(s){K(s.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let n=this[Ze];if(s.code==="ECONNRESET"&&n.statusCode&&!n.shouldKeepAlive){n.onMessageComplete();return}this[ws]=s,this[Gw][fre](s)}),xh(e,"readable",function(){let s=this[Ze];s&&s.readMore()}),xh(e,"end",function(){let s=this[Ze];if(s.statusCode&&!s.shouldKeepAlive){s.onMessageComplete();return}se.destroy(this,new Th("other side closed",se.getSocketInfo(this)))}),xh(e,"close",function(){let s=this[Gw],n=this[Ze];n&&(!this[ws]&&n.statusCode&&!n.shouldKeepAlive&&n.onMessageComplete(),this[Ze].destroy(),this[Ze]=null);let i=this[ws]||new Th("closed",se.getSocketInfo(this));if(s[il]=null,s[tO]=null,s.destroyed){K(s[ore]===0);let o=s[tn].splice(s[Bs]);for(let a=0;a0&&i.code!=="UND_ERR_INFO"){let o=s[tn][s[Bs]];s[tn][s[Bs]++]=null,se.errorRequest(s,o,i)}s[lre]=s[Bs],K(s[Wt]===0),s.emit("disconnect",s[eO],[s],i),s[bo]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...s){return bre(t,...s)},resume(){Bre(t)},destroy(s,n){r?queueMicrotask(n):e.destroy(s).on("close",n)},get destroyed(){return e.destroyed},busy(s){return!!(e[Qo]||e[Rr]||e[SA]||s&&(t[Wt]>0&&!s.idempotent||t[Wt]>0&&(s.upgrade||s.method==="CONNECT")||t[Wt]>0&&se.bodyLength(s.body)!==0&&(se.isStream(s.body)||se.isAsyncIterable(s.body)||se.isFormDataLike(s.body))))}}}function Bre(t){let e=t[il];if(e&&!e.destroyed){if(t[JM]===0?!e[xA]&&e.unref&&(e.unref(),e[xA]=!0):e[xA]&&e.ref&&(e.ref(),e[xA]=!1),t[JM]===0)e[Ze].timeoutType!==$w&&e[Ze].setTimeout(t[vh],$w);else if(t[Wt]>0&&e[Ze].statusCode<200&&e[Ze].timeoutType!==ol){let r=t[tn][t[Bs]],s=r.headersTimeout!=null?r.headersTimeout:t[dre];e[Ze].setTimeout(s,ol)}}}function wre(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}function bre(t,e){let{method:r,path:s,host:n,upgrade:i,blocking:o,reset:a}=e,{body:c,headers:l,contentLength:u}=e,A=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(se.isFormDataLike(c)){Uw||(Uw=sl().extractBody);let[y,g]=Uw(c);e.contentType==null&&l.push("content-type",g),c=y.stream,u=y.length}else se.isBlobLike(c)&&e.contentType==null&&c.type&&l.push("content-type",c.type);c&&typeof c.read=="function"&&c.read(0);let d=se.bodyLength(c);if(u=d??u,u===null&&(u=e.contentLength),u===0&&!A&&(u=null),wre(r)&&u>0&&e.contentLength!==null&&e.contentLength!==u){if(t[Hw])return se.errorRequest(t,e,new Ia),!1;process.emitWarning(new Ia)}let p=t[il],m=y=>{e.aborted||e.completed||(se.errorRequest(t,e,y||new ZM),se.destroy(c),se.destroy(p,new nl("aborted")))};try{e.onConnect(m)}catch(y){se.errorRequest(t,e,y)}if(e.aborted)return!1;r==="HEAD"&&(p[Rr]=!0),(i||r==="CONNECT")&&(p[Rr]=!0),a!=null&&(p[Rr]=a),t[WM]&&p[mre]++>=t[WM]&&(p[Rr]=!0),o&&(p[SA]=!0);let f=`${r} ${s} HTTP/1.1\r `;if(typeof n=="string"?f+=`host: ${n}\r `:f+=t[cre],i?f+=`connection: upgrade\r upgrade: ${i}\r `:t[Sh]&&!p[Rr]?f+=`connection: keep-alive\r `:f+=`connection: close\r `,Array.isArray(l))for(let y=0;y{e.removeListener("error",p)}),!c){let m=new ZM;queueMicrotask(()=>p(m))}},p=function(m){if(!c){if(c=!0,K(n.destroyed||n[Qo]&&r[Wt]<=1),n.off("drain",A).off("error",p),e.removeListener("data",u).removeListener("end",p).removeListener("close",d),!m)try{l.end()}catch(f){m=f}l.destroy(m),m&&(m.code!=="UND_ERR_INFO"||m.message!=="reset")?se.destroy(e,m):se.destroy(e)}};e.on("data",u).on("end",p).on("error",p).on("close",d),e.resume&&e.resume(),n.on("drain",A).on("error",p),e.errorEmitted??e.errored?setImmediate(()=>p(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>p(null)),(e.closeEmitted??e.closed)&&setImmediate(d)}function KM(t,e,r,s,n,i,o,a){try{e?se.isBuffer(e)&&(K(i===e.byteLength,"buffer body must have content length"),n.cork(),n.write(`${o}content-length: ${i}\r \r `,"latin1"),n.write(e),n.uncork(),s.onBodySent(e),!a&&s.reset!==!1&&(n[Rr]=!0)):i===0?n.write(`${o}content-length: 0\r \r `,"latin1"):(K(i===null,"no body must not have content length"),n.write(`${o}\r `,"latin1")),s.onRequestSent(),r[bo]()}catch(c){t(c)}}async function xre(t,e,r,s,n,i,o,a){K(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new Ia;let c=Buffer.from(await e.arrayBuffer());n.cork(),n.write(`${o}content-length: ${i}\r \r `,"latin1"),n.write(c),n.uncork(),s.onBodySent(c),s.onRequestSent(),!a&&s.reset!==!1&&(n[Rr]=!0),r[bo]()}catch(c){t(c)}}async function XM(t,e,r,s,n,i,o,a){K(i!==0||r[Wt]===0,"iterator body cannot be pipelined");let c=null;function l(){if(c){let d=c;c=null,d()}}let u=()=>new Promise((d,p)=>{K(c===null),n[ws]?p(n[ws]):c=d});n.on("close",l).on("drain",l);let A=new Ph({abort:t,socket:n,request:s,contentLength:i,client:r,expectsPayload:a,header:o});try{for await(let d of e){if(n[ws])throw n[ws];A.write(d)||await u()}A.end()}catch(d){A.destroy(d)}finally{n.off("close",l).off("drain",l)}}var Ph=class{constructor({abort:e,socket:r,request:s,contentLength:n,client:i,expectsPayload:o,header:a}){this.socket=r,this.request=s,this.contentLength=n,this.client=i,this.bytesWritten=0,this.expectsPayload=o,this.header=a,this.abort=e,r[Qo]=!0}write(e){let{socket:r,request:s,contentLength:n,client:i,bytesWritten:o,expectsPayload:a,header:c}=this;if(r[ws])throw r[ws];if(r.destroyed)return!1;let l=Buffer.byteLength(e);if(!l)return!0;if(n!==null&&o+l>n){if(i[Hw])throw new Ia;process.emitWarning(new Ia)}r.cork(),o===0&&(!a&&s.reset!==!1&&(r[Rr]=!0),n===null?r.write(`${c}transfer-encoding: chunked\r `,"latin1"):r.write(`${c}content-length: ${n}\r \r `,"latin1")),n===null&&r.write(`\r ${l.toString(16)}\r `,"latin1"),this.bytesWritten+=l;let u=r.write(e);return r.uncork(),s.onBodySent(e),u||r[Ze].timeout&&r[Ze].timeoutType===ol&&r[Ze].timeout.refresh&&r[Ze].timeout.refresh(),u}end(){let{socket:e,contentLength:r,client:s,bytesWritten:n,expectsPayload:i,header:o,request:a}=this;if(a.onRequestSent(),e[Qo]=!1,e[ws])throw e[ws];if(!e.destroyed){if(n===0?i?e.write(`${o}content-length: 0\r \r `,"latin1"):e.write(`${o}\r `,"latin1"):r===null&&e.write(`\r 0\r \r `,"latin1"),r!==null&&n!==r){if(s[Hw])throw new Ia;process.emitWarning(new Ia)}e[Ze].timeout&&e[Ze].timeoutType===ol&&e[Ze].timeout.refresh&&e[Ze].timeout.refresh(),s[bo]()}}destroy(e){let{socket:r,client:s,abort:n}=this;r[Qo]=!1,e&&(K(s[Wt]<=1,"pipeline should only contain this request"),n(e))}};rO.exports=Ire});var AO=h((ULe,uO)=>{"use strict";var bs=require("node:assert"),{pipeline:Nre}=require("node:stream"),ge=me(),{RequestContentLengthMismatchError:Yw,RequestAbortedError:nO,SocketError:RA,InformationalError:Jw}=Qe(),{kUrl:kh,kReset:_h,kClient:al,kRunning:Lh,kPending:Sre,kQueue:xo,kPendingIdx:Ww,kRunningIdx:rn,kError:nn,kSocket:Ot,kStrictContentLength:Rre,kOnError:jw,kMaxConcurrentStreams:lO,kHTTP2Session:sn,kResume:No,kSize:Tre,kHTTPContext:vre}=ze(),qi=Symbol("open streams"),iO,oO=!1,Dh;try{Dh=require("node:http2")}catch{Dh={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:Pre,HTTP2_HEADER_METHOD:kre,HTTP2_HEADER_PATH:Dre,HTTP2_HEADER_SCHEME:_re,HTTP2_HEADER_CONTENT_LENGTH:Lre,HTTP2_HEADER_EXPECT:Mre,HTTP2_HEADER_STATUS:Ore}}=Dh;function Fre(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}async function Ure(t,e){t[Ot]=e,oO||(oO=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=Dh.connect(t[kh],{createConnection:()=>e,peerMaxConcurrentStreams:t[lO]});r[qi]=0,r[al]=t,r[Ot]=e,ge.addListener(r,"error",Gre),ge.addListener(r,"frameError",Hre),ge.addListener(r,"end",zre),ge.addListener(r,"goaway",$re),ge.addListener(r,"close",function(){let{[al]:n}=this,{[Ot]:i}=n,o=this[Ot][nn]||this[nn]||new RA("closed",ge.getSocketInfo(i));if(n[sn]=null,n.destroyed){bs(n[Sre]===0);let a=n[xo].splice(n[rn]);for(let c=0;c{s=!0}),{version:"h2",defaultPipelining:1/0,write(...n){return Yre(t,...n)},resume(){qre(t)},destroy(n,i){s?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}function qre(t){let e=t[Ot];e?.destroyed===!1&&(t[Tre]===0&&t[lO]===0?(e.unref(),t[sn].unref()):(e.ref(),t[sn].ref()))}function Gre(t){bs(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Ot][nn]=t,this[al][jw](t)}function Hre(t,e,r){if(r===0){let s=new Jw(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[Ot][nn]=s,this[al][jw](s)}}function zre(){let t=new RA("other side closed",ge.getSocketInfo(this[Ot]));this.destroy(t),ge.destroy(this[Ot],t)}function $re(t){let e=this[nn]||new RA(`HTTP/2: "GOAWAY" frame received with code ${t}`,ge.getSocketInfo(this)),r=this[al];if(r[Ot]=null,r[vre]=null,this[sn]!=null&&(this[sn].destroy(e),this[sn]=null),ge.destroy(this[Ot],e),r[rn]{e.aborted||e.completed||(I=I||new nO,ge.errorRequest(t,e,I),d!=null&&ge.destroy(d,I),ge.destroy(u,I),t[xo][t[rn]++]=null,t[No]())};try{e.onConnect(f)}catch(I){ge.errorRequest(t,e,I)}if(e.aborted)return!1;if(s==="CONNECT")return r.ref(),d=r.request(A,{endStream:!1,signal:c}),d.id&&!d.pending?(e.onUpgrade(null,null,d),++r[qi],t[xo][t[rn]++]=null):d.once("ready",()=>{e.onUpgrade(null,null,d),++r[qi],t[xo][t[rn]++]=null}),d.once("close",()=>{r[qi]-=1,r[qi]===0&&r.unref()}),!0;A[Dre]=n,A[_re]="https";let y=s==="PUT"||s==="POST"||s==="PATCH";u&&typeof u.read=="function"&&u.read(0);let g=ge.bodyLength(u);if(ge.isFormDataLike(u)){iO??=sl().extractBody;let[I,Q]=iO(u);A["content-type"]=Q,u=I.stream,g=I.length}if(g==null&&(g=e.contentLength),(g===0||!y)&&(g=null),Vre(s)&&g>0&&e.contentLength!=null&&e.contentLength!==g){if(t[Rre])return ge.errorRequest(t,e,new Yw),!1;process.emitWarning(new Yw)}g!=null&&(bs(u,"no body must not have content length"),A[Lre]=`${g}`),r.ref();let E=s==="GET"||s==="HEAD"||u===null;return a?(A[Mre]="100-continue",d=r.request(A,{endStream:E,signal:c}),d.once("continue",C)):(d=r.request(A,{endStream:E,signal:c}),C()),++r[qi],d.once("response",I=>{let{[Ore]:Q,...P}=I;if(e.onResponseStarted(),e.aborted){let F=new nO;ge.errorRequest(t,e,F),ge.destroy(d,F);return}e.onHeaders(Number(Q),Fre(P),d.resume.bind(d),"")===!1&&d.pause(),d.on("data",F=>{e.onData(F)===!1&&d.pause()})}),d.once("end",()=>{(d.state?.state==null||d.state.state<6)&&e.onComplete([]),r[qi]===0&&r.unref(),f(new Jw("HTTP/2: stream half-closed (remote)")),t[xo][t[rn]++]=null,t[Ww]=t[rn],t[No]()}),d.once("close",()=>{r[qi]-=1,r[qi]===0&&r.unref()}),d.once("error",function(I){f(I)}),d.once("frameError",(I,Q)=>{f(new Jw(`HTTP/2: "frameError" received - type ${I}, code ${Q}`))}),!0;function C(){!u||g===0?aO(f,d,null,t,e,t[Ot],g,y):ge.isBuffer(u)?aO(f,d,u,t,e,t[Ot],g,y):ge.isBlobLike(u)?typeof u.stream=="function"?cO(f,d,u.stream(),t,e,t[Ot],g,y):Wre(f,d,u,t,e,t[Ot],g,y):ge.isStream(u)?Jre(f,t[Ot],y,d,u,t,e,g):ge.isIterable(u)?cO(f,d,u,t,e,t[Ot],g,y):bs(!1)}}function aO(t,e,r,s,n,i,o,a){try{r!=null&&ge.isBuffer(r)&&(bs(o===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),n.onBodySent(r)),a||(i[_h]=!0),n.onRequestSent(),s[No]()}catch(c){t(c)}}function Jre(t,e,r,s,n,i,o,a){bs(a!==0||i[Lh]===0,"stream body cannot be pipelined");let c=Nre(n,s,u=>{u?(ge.destroy(c,u),t(u)):(ge.removeAllListeners(c),o.onRequestSent(),r||(e[_h]=!0),i[No]())});ge.addListener(c,"data",l);function l(u){o.onBodySent(u)}}async function Wre(t,e,r,s,n,i,o,a){bs(o===r.size,"blob body must have content length");try{if(o!=null&&o!==r.size)throw new Yw;let c=Buffer.from(await r.arrayBuffer());e.cork(),e.write(c),e.uncork(),e.end(),n.onBodySent(c),n.onRequestSent(),a||(i[_h]=!0),s[No]()}catch(c){t(c)}}async function cO(t,e,r,s,n,i,o,a){bs(o!==0||s[Lh]===0,"iterator body cannot be pipelined");let c=null;function l(){if(c){let A=c;c=null,A()}}let u=()=>new Promise((A,d)=>{bs(c===null),i[nn]?d(i[nn]):c=A});e.on("close",l).on("drain",l);try{for await(let A of r){if(i[nn])throw i[nn];let d=e.write(A);n.onBodySent(A),d||await u()}e.end(),n.onRequestSent(),a||(i[_h]=!0),s[No]()}catch(A){t(A)}finally{e.off("close",l).off("drain",l)}}uO.exports=Ure});var Oh=h((qLe,mO)=>{"use strict";var On=me(),{kBodyUsed:TA}=ze(),Xw=require("node:assert"),{InvalidArgumentError:jre}=Qe(),Kre=require("node:events"),Xre=[300,301,302,303,307,308],dO=Symbol("body"),Mh=class{constructor(e){this[dO]=e,this[TA]=!1}async*[Symbol.asyncIterator](){Xw(!this[TA],"disturbed"),this[TA]=!0,yield*this[dO]}},Kw=class{constructor(e,r,s,n){if(r!=null&&(!Number.isInteger(r)||r<0))throw new jre("maxRedirections must be a positive number");On.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,On.isStream(this.opts.body)?(On.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){Xw(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[TA]=!1,Kre.prototype.on.call(this.opts.body,"data",function(){this[TA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Mh(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&On.isIterable(this.opts.body)&&(this.opts.body=new Mh(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||On.isDisturbed(this.opts.body)?null:Zre(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:o,search:a}=On.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),c=a?`${o}${a}`:o;this.opts.headers=ese(this.opts.headers,e===303,this.opts.origin!==i),this.opts.path=c,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 Zre(t,e){if(Xre.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var tse=Oh();function rse({maxRedirections:t}){return e=>function(s,n){let{maxRedirections:i=t}=s;if(!i)return e(s,n);let o=new tse(e,i,s,n);return s={...s,maxRedirections:0},e(s,o)}}hO.exports=rse});var ul=h((HLe,QO)=>{"use strict";var Gi=require("node:assert"),IO=require("node:net"),sse=require("node:http"),Ba=me(),{channels:cl}=zc(),nse=RL(),ise=Jc(),{InvalidArgumentError:ut,InformationalError:ose,ClientDestroyedError:ase}=Qe(),cse=gA(),{kUrl:Fn,kServerName:So,kClient:lse,kBusy:Zw,kConnect:use,kResuming:wa,kRunning:_A,kPending:LA,kSize:DA,kQueue:on,kConnected:Ase,kConnecting:ll,kNeedDrain:To,kKeepAliveDefaultTimeout:fO,kHostHeader:dse,kPendingIdx:an,kRunningIdx:Hi,kError:pse,kPipelining:Uh,kKeepAliveTimeoutValue:mse,kMaxHeadersSize:hse,kKeepAliveMaxTimeout:fse,kKeepAliveTimeoutThreshold:gse,kHeadersTimeout:Ese,kBodyTimeout:yse,kStrictContentLength:Cse,kConnector:vA,kMaxRedirections:Ise,kMaxRequests:eb,kCounter:Bse,kClose:wse,kDestroy:bse,kDispatch:Qse,kInterceptors:gO,kLocalAddress:PA,kMaxResponseSize:xse,kOnError:Nse,kHTTPContext:At,kMaxConcurrentStreams:Sse,kResume:kA}=ze(),Rse=sO(),Tse=AO(),EO=!1,Ro=Symbol("kClosedResolve"),yO=()=>{};function BO(t){return t[Uh]??t[At]?.defaultPipelining??1}var tb=class extends ise{constructor(e,{interceptors:r,maxHeaderSize:s,headersTimeout:n,socketTimeout:i,requestTimeout:o,connectTimeout:a,bodyTimeout:c,idleTimeout:l,keepAlive:u,keepAliveTimeout:A,maxKeepAliveTimeout:d,keepAliveMaxTimeout:p,keepAliveTimeoutThreshold:m,socketPath:f,pipelining:y,tls:g,strictContentLength:E,maxCachedSessions:C,maxRedirections:I,connect:Q,maxRequestsPerClient:P,localAddress:F,maxResponseSize:pe,autoSelectFamily:be,autoSelectFamilyAttemptTimeout:Re,maxConcurrentStreams:z,allowH2:ne,webSocket:U}={}){if(super({webSocket:U}),u!==void 0)throw new ut("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new ut("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(o!==void 0)throw new ut("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(l!==void 0)throw new ut("unsupported idleTimeout, use keepAliveTimeout instead");if(d!==void 0)throw new ut("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(s!=null&&!Number.isFinite(s))throw new ut("invalid maxHeaderSize");if(f!=null&&typeof f!="string")throw new ut("invalid socketPath");if(a!=null&&(!Number.isFinite(a)||a<0))throw new ut("invalid connectTimeout");if(A!=null&&(!Number.isFinite(A)||A<=0))throw new ut("invalid keepAliveTimeout");if(p!=null&&(!Number.isFinite(p)||p<=0))throw new ut("invalid keepAliveMaxTimeout");if(m!=null&&!Number.isFinite(m))throw new ut("invalid keepAliveTimeoutThreshold");if(n!=null&&(!Number.isInteger(n)||n<0))throw new ut("headersTimeout must be a positive integer or zero");if(c!=null&&(!Number.isInteger(c)||c<0))throw new ut("bodyTimeout must be a positive integer or zero");if(Q!=null&&typeof Q!="function"&&typeof Q!="object")throw new ut("connect must be a function or an object");if(I!=null&&(!Number.isInteger(I)||I<0))throw new ut("maxRedirections must be a positive number");if(P!=null&&(!Number.isInteger(P)||P<0))throw new ut("maxRequestsPerClient must be a positive number");if(F!=null&&(typeof F!="string"||IO.isIP(F)===0))throw new ut("localAddress must be valid string IP address");if(pe!=null&&(!Number.isInteger(pe)||pe<-1))throw new ut("maxResponseSize must be a positive number");if(Re!=null&&(!Number.isInteger(Re)||Re<-1))throw new ut("autoSelectFamilyAttemptTimeout must be a positive number");if(ne!=null&&typeof ne!="boolean")throw new ut("allowH2 must be a valid boolean value");if(z!=null&&(typeof z!="number"||z<1))throw new ut("maxConcurrentStreams must be a positive integer, greater than 0");typeof Q!="function"&&(Q=cse({...g,maxCachedSessions:C,allowH2:ne,socketPath:f,timeout:a,...be?{autoSelectFamily:be,autoSelectFamilyAttemptTimeout:Re}:void 0,...Q})),r?.Client&&Array.isArray(r.Client)?(this[gO]=r.Client,EO||(EO=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[gO]=[vse({maxRedirections:I})],this[Fn]=Ba.parseOrigin(e),this[vA]=Q,this[Uh]=y??1,this[hse]=s||sse.maxHeaderSize,this[fO]=A??4e3,this[fse]=p??6e5,this[gse]=m??2e3,this[mse]=this[fO],this[So]=null,this[PA]=F??null,this[wa]=0,this[To]=0,this[dse]=`host: ${this[Fn].hostname}${this[Fn].port?`:${this[Fn].port}`:""}\r `,this[yse]=c??3e5,this[Ese]=n??3e5,this[Cse]=E??!0,this[Ise]=I,this[eb]=P,this[Ro]=null,this[xse]=pe>-1?pe:-1,this[Sse]=z??100,this[At]=null,this[on]=[],this[Hi]=0,this[an]=0,this[kA]=ye=>rb(this,ye),this[Nse]=ye=>wO(this,ye)}get pipelining(){return this[Uh]}set pipelining(e){this[Uh]=e,this[kA](!0)}get[LA](){return this[on].length-this[an]}get[_A](){return this[an]-this[Hi]}get[DA](){return this[on].length-this[Hi]}get[Ase](){return!!this[At]&&!this[ll]&&!this[At].destroyed}get[Zw](){return!!(this[At]?.busy(null)||this[DA]>=(BO(this)||1)||this[LA]>0)}[use](e){bO(this),this.once("connect",e)}[Qse](e,r){let s=e.origin||this[Fn].origin,n=new nse(s,e,r);return this[on].push(n),this[wa]||(Ba.bodyLength(n.body)==null&&Ba.isIterable(n.body)?(this[wa]=1,queueMicrotask(()=>rb(this))):this[kA](!0)),this[wa]&&this[To]!==2&&this[Zw]&&(this[To]=2),this[To]<2}async[wse](){return new Promise(e=>{this[DA]?this[Ro]=e:e(null)})}async[bse](e){return new Promise(r=>{let s=this[on].splice(this[an]);for(let i=0;i{this[Ro]&&(this[Ro](),this[Ro]=null),r(null)};this[At]?(this[At].destroy(e,n),this[At]=null):queueMicrotask(n),this[kA]()})}},vse=Fh();function wO(t,e){if(t[_A]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){Gi(t[an]===t[Hi]);let r=t[on].splice(t[Hi]);for(let s=0;s{t[vA]({host:e,hostname:r,protocol:s,port:n,servername:t[So],localAddress:t[PA]},(c,l)=>{c?a(c):o(l)})});if(t.destroyed){Ba.destroy(i.on("error",yO),new ase);return}Gi(i);try{t[At]=i.alpnProtocol==="h2"?await Tse(t,i):await Rse(t,i)}catch(o){throw i.destroy().on("error",yO),o}t[ll]=!1,i[Bse]=0,i[eb]=t[eb],i[lse]=t,i[pse]=null,cl.connected.hasSubscribers&&cl.connected.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[At]?.version,servername:t[So],localAddress:t[PA]},connector:t[vA],socket:i}),t.emit("connect",t[Fn],[t])}catch(i){if(t.destroyed)return;if(t[ll]=!1,cl.connectError.hasSubscribers&&cl.connectError.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[At]?.version,servername:t[So],localAddress:t[PA]},connector:t[vA],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(Gi(t[_A]===0);t[LA]>0&&t[on][t[an]].servername===t[So];){let o=t[on][t[an]++];Ba.errorRequest(t,o,i)}else wO(t,i);t.emit("connectionError",t[Fn],[t],i)}t[kA]()}function CO(t){t[To]=0,t.emit("drain",t[Fn],[t])}function rb(t,e){t[wa]!==2&&(t[wa]=2,Pse(t,e),t[wa]=0,t[Hi]>256&&(t[on].splice(0,t[Hi]),t[an]-=t[Hi],t[Hi]=0))}function Pse(t,e){for(;;){if(t.destroyed){Gi(t[LA]===0);return}if(t[Ro]&&!t[DA]){t[Ro](),t[Ro]=null;return}if(t[At]&&t[At].resume(),t[Zw])t[To]=2;else if(t[To]===2){e?(t[To]=1,queueMicrotask(()=>CO(t))):CO(t);continue}if(t[LA]===0||t[_A]>=(BO(t)||1))return;let r=t[on][t[an]];if(t[Fn].protocol==="https:"&&t[So]!==r.servername){if(t[_A]>0)return;t[So]=r.servername,t[At]?.destroy(new ose("servername changed"),()=>{t[At]=null,rb(t)})}if(t[ll])return;if(!t[At]){bO(t);return}if(t[At].destroyed||t[At].busy(r))return;!r.aborted&&t[At].write(r)?t[an]++:t[on].splice(t[an],1)}}QO.exports=tb});var sb=h(($Le,xO)=>{"use strict";var qh=class{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)}};xO.exports=class{constructor(){this.head=this.tail=new qh}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new qh),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var SO=h((VLe,NO)=>{var{kFree:kse,kConnected:Dse,kPending:_se,kQueued:Lse,kRunning:Mse,kSize:Ose}=ze(),ba=Symbol("pool"),nb=class{constructor(e){this[ba]=e}get connected(){return this[ba][Dse]}get free(){return this[ba][kse]}get pending(){return this[ba][_se]}get queued(){return this[ba][Lse]}get running(){return this[ba][Mse]}get size(){return this[ba][Ose]}};NO.exports=nb});var ub=h((YLe,OO)=>{"use strict";var Fse=Jc(),Use=sb(),{kConnected:ib,kSize:RO,kRunning:TO,kPending:vO,kQueued:MA,kBusy:qse,kFree:Gse,kUrl:Hse,kClose:zse,kDestroy:$se,kDispatch:Vse}=ze(),Yse=SO(),Tr=Symbol("clients"),ur=Symbol("needDrain"),OA=Symbol("queue"),ob=Symbol("closed resolve"),ab=Symbol("onDrain"),PO=Symbol("onConnect"),kO=Symbol("onDisconnect"),DO=Symbol("onConnectionError"),cb=Symbol("get dispatcher"),LO=Symbol("add client"),MO=Symbol("remove client"),_O=Symbol("stats"),lb=class extends Fse{constructor(e){super(e),this[OA]=new Use,this[Tr]=[],this[MA]=0;let r=this;this[ab]=function(n,i){let o=r[OA],a=!1;for(;!a;){let c=o.shift();if(!c)break;r[MA]--,a=!this.dispatch(c.opts,c.handler)}this[ur]=a,!this[ur]&&r[ur]&&(r[ur]=!1,r.emit("drain",n,[r,...i])),r[ob]&&o.isEmpty()&&Promise.all(r[Tr].map(c=>c.close())).then(r[ob])},this[PO]=(s,n)=>{r.emit("connect",s,[r,...n])},this[kO]=(s,n,i)=>{r.emit("disconnect",s,[r,...n],i)},this[DO]=(s,n,i)=>{r.emit("connectionError",s,[r,...n],i)},this[_O]=new Yse(this)}get[qse](){return this[ur]}get[ib](){return this[Tr].filter(e=>e[ib]).length}get[Gse](){return this[Tr].filter(e=>e[ib]&&!e[ur]).length}get[vO](){let e=this[MA];for(let{[vO]:r}of this[Tr])e+=r;return e}get[TO](){let e=0;for(let{[TO]:r}of this[Tr])e+=r;return e}get[RO](){let e=this[MA];for(let{[RO]:r}of this[Tr])e+=r;return e}get stats(){return this[_O]}async[zse](){this[OA].isEmpty()?await Promise.all(this[Tr].map(e=>e.close())):await new Promise(e=>{this[ob]=e})}async[$se](e){for(;;){let r=this[OA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[Tr].map(r=>r.destroy(e)))}[Vse](e,r){let s=this[cb]();return s?s.dispatch(e,r)||(s[ur]=!0,this[ur]=!this[cb]()):(this[ur]=!0,this[OA].push({opts:e,handler:r}),this[MA]++),!this[ur]}[LO](e){return e.on("drain",this[ab]).on("connect",this[PO]).on("disconnect",this[kO]).on("connectionError",this[DO]),this[Tr].push(e),this[ur]&&queueMicrotask(()=>{this[ur]&&this[ab](e[Hse],[this,e])}),this}[MO](e){e.close(()=>{let r=this[Tr].indexOf(e);r!==-1&&this[Tr].splice(r,1)}),this[ur]=this[Tr].some(r=>!r[ur]&&r.closed!==!0&&r.destroyed!==!0)}};OO.exports={PoolBase:lb,kClients:Tr,kNeedDrain:ur,kAddClient:LO,kRemoveClient:MO,kGetDispatcher:cb}});var Al=h((JLe,GO)=>{"use strict";var{PoolBase:Jse,kClients:Gh,kNeedDrain:Wse,kAddClient:jse,kGetDispatcher:Kse}=ub(),Xse=ul(),{InvalidArgumentError:Ab}=Qe(),FO=me(),{kUrl:UO,kInterceptors:Zse}=ze(),ene=gA(),db=Symbol("options"),pb=Symbol("connections"),qO=Symbol("factory");function tne(t,e){return new Xse(t,e)}var mb=class extends Jse{constructor(e,{connections:r,factory:s=tne,connect:n,connectTimeout:i,tls:o,maxCachedSessions:a,socketPath:c,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:u,allowH2:A,...d}={}){if(r!=null&&(!Number.isFinite(r)||r<0))throw new Ab("invalid connections");if(typeof s!="function")throw new Ab("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Ab("connect must be a function or an object");typeof n!="function"&&(n=ene({...o,maxCachedSessions:a,allowH2:A,socketPath:c,timeout:i,...l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:u}:void 0,...n})),super(d),this[Zse]=d.interceptors?.Pool&&Array.isArray(d.interceptors.Pool)?d.interceptors.Pool:[],this[pb]=r||null,this[UO]=FO.parseOrigin(e),this[db]={...FO.deepClone(d),connect:n,allowH2:A},this[db].interceptors=d.interceptors?{...d.interceptors}:void 0,this[qO]=s,this.on("connectionError",(p,m,f)=>{for(let y of m){let g=this[Gh].indexOf(y);g!==-1&&this[Gh].splice(g,1)}})}[Kse](){for(let e of this[Gh])if(!e[Wse])return e;if(!this[pb]||this[Gh].length{"use strict";var{BalancedPoolMissingUpstreamError:rne,InvalidArgumentError:sne}=Qe(),{PoolBase:nne,kClients:jt,kNeedDrain:FA,kAddClient:ine,kRemoveClient:one,kGetDispatcher:ane}=ub(),cne=Al(),{kUrl:hb,kInterceptors:lne}=ze(),{parseOrigin:HO}=me(),zO=Symbol("factory"),Hh=Symbol("options"),$O=Symbol("kGreatestCommonDivisor"),Qa=Symbol("kCurrentWeight"),xa=Symbol("kIndex"),Qs=Symbol("kWeight"),zh=Symbol("kMaxWeightPerServer"),$h=Symbol("kErrorPenalty");function une(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}function Ane(t,e){return new cne(t,e)}var fb=class extends nne{constructor(e=[],{factory:r=Ane,...s}={}){if(super(),this[Hh]=s,this[xa]=-1,this[Qa]=0,this[zh]=this[Hh].maxWeightPerServer||100,this[$h]=this[Hh].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new sne("factory must be a function.");this[lne]=s.interceptors?.BalancedPool&&Array.isArray(s.interceptors.BalancedPool)?s.interceptors.BalancedPool:[],this[zO]=r;for(let n of e)this.addUpstream(n);this._updateBalancedPoolStats()}addUpstream(e){let r=HO(e).origin;if(this[jt].find(n=>n[hb].origin===r&&n.closed!==!0&&n.destroyed!==!0))return this;let s=this[zO](r,Object.assign({},this[Hh]));this[ine](s),s.on("connect",()=>{s[Qs]=Math.min(this[zh],s[Qs]+this[$h])}),s.on("connectionError",()=>{s[Qs]=Math.max(1,s[Qs]-this[$h]),this._updateBalancedPoolStats()}),s.on("disconnect",(...n)=>{let i=n[2];i&&i.code==="UND_ERR_SOCKET"&&(s[Qs]=Math.max(1,s[Qs]-this[$h]),this._updateBalancedPoolStats())});for(let n of this[jt])n[Qs]=this[zh];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;rn[hb].origin===r&&n.closed!==!0&&n.destroyed!==!0);return s&&this[one](s),this}get upstreams(){return this[jt].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[hb].origin)}[ane](){if(this[jt].length===0)throw new rne;if(!this[jt].find(i=>!i[FA]&&i.closed!==!0&&i.destroyed!==!0)||this[jt].map(i=>i[FA]).reduce((i,o)=>i&&o,!0))return;let s=0,n=this[jt].findIndex(i=>!i[FA]);for(;s++this[jt][n][Qs]&&!i[FA]&&(n=this[xa]),this[xa]===0&&(this[Qa]=this[Qa]-this[$O],this[Qa]<=0&&(this[Qa]=this[zh])),i[Qs]>=this[Qa]&&!i[FA])return i}return this[Qa]=this[jt][n][Qs],this[xa]=n,this[jt][n]}};VO.exports=fb});var dl=h((jLe,eF)=>{"use strict";var{InvalidArgumentError:Vh}=Qe(),{kClients:vo,kRunning:JO,kClose:dne,kDestroy:pne,kDispatch:mne,kInterceptors:hne}=ze(),fne=Jc(),gne=Al(),Ene=ul(),yne=me(),Cne=Fh(),WO=Symbol("onConnect"),jO=Symbol("onDisconnect"),KO=Symbol("onConnectionError"),Ine=Symbol("maxRedirections"),XO=Symbol("onDrain"),ZO=Symbol("factory"),gb=Symbol("options");function Bne(t,e){return e&&e.connections===1?new Ene(t,e):new gne(t,e)}var Eb=class extends fne{constructor({factory:e=Bne,maxRedirections:r=0,connect:s,...n}={}){if(typeof e!="function")throw new Vh("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new Vh("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Vh("maxRedirections must be a positive number");super(n),s&&typeof s!="function"&&(s={...s}),this[hne]=n.interceptors?.Agent&&Array.isArray(n.interceptors.Agent)?n.interceptors.Agent:[Cne({maxRedirections:r})],this[gb]={...yne.deepClone(n),connect:s},this[gb].interceptors=n.interceptors?{...n.interceptors}:void 0,this[Ine]=r,this[ZO]=e,this[vo]=new Map,this[XO]=(i,o)=>{this.emit("drain",i,[this,...o])},this[WO]=(i,o)=>{this.emit("connect",i,[this,...o])},this[jO]=(i,o,a)=>{this.emit("disconnect",i,[this,...o],a)},this[KO]=(i,o,a)=>{this.emit("connectionError",i,[this,...o],a)}}get[JO](){let e=0;for(let r of this[vo].values())e+=r[JO];return e}[mne](e,r){let s;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))s=String(e.origin);else throw new Vh("opts.origin must be a non-empty string or URL.");let n=this[vo].get(s);return n||(n=this[ZO](e.origin,this[gb]).on("drain",this[XO]).on("connect",this[WO]).on("disconnect",this[jO]).on("connectionError",this[KO]),this[vo].set(s,n)),n.dispatch(e,r)}async[dne](){let e=[];for(let r of this[vo].values())e.push(r.close());this[vo].clear(),await Promise.all(e)}async[pne](e){let r=[];for(let s of this[vo].values())r.push(s.destroy(e));this[vo].clear(),await Promise.all(r)}};eF.exports=Eb});var wb=h((KLe,AF)=>{"use strict";var{kProxy:yb,kClose:oF,kDestroy:aF,kDispatch:tF,kInterceptors:wne}=ze(),{URL:Na}=require("node:url"),bne=dl(),cF=Al(),lF=Jc(),{InvalidArgumentError:pl,RequestAbortedError:Qne,SecureProxyConnectionError:xne}=Qe(),rF=gA(),uF=ul(),Yh=Symbol("proxy agent"),Jh=Symbol("proxy client"),Po=Symbol("proxy headers"),Cb=Symbol("request tls settings"),sF=Symbol("proxy tls settings"),nF=Symbol("connect endpoint function"),iF=Symbol("tunnel proxy");function Nne(t){return t==="https:"?443:80}function Sne(t,e){return new cF(t,e)}var Rne=()=>{};function Tne(t,e){return e.connections===1?new uF(t,e):new cF(t,e)}var Ib=class extends lF{#e;constructor(e,{headers:r={},connect:s,factory:n}){if(super(),!e)throw new pl("Proxy URL is mandatory");this[Po]=r,n?this.#e=n(e,{connect:s}):this.#e=new uF(e,{connect:s})}[tF](e,r){let s=r.onHeaders;r.onHeaders=function(a,c,l){if(a===407){typeof r.onError=="function"&&r.onError(new pl("Proxy Authentication Required (407)"));return}s&&s.call(this,a,c,l)};let{origin:n,path:i="/",headers:o={}}=e;if(e.path=n+i,!("host"in o)&&!("Host"in o)){let{host:a}=new Na(n);o.host=a}return e.headers={...this[Po],...o},this.#e[tF](e,r)}async[oF](){return this.#e.close()}async[aF](e){return this.#e.destroy(e)}},Bb=class extends lF{constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof Na)&&!e.uri)throw new pl("Proxy uri is mandatory");let{clientFactory:r=Sne}=e;if(typeof r!="function")throw new pl("Proxy opts.clientFactory must be a function.");let{proxyTunnel:s=!0}=e,n=this.#e(e),{href:i,origin:o,port:a,protocol:c,username:l,password:u,hostname:A}=n;if(this[yb]={uri:i,protocol:c},this[wne]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[Cb]=e.requestTls,this[sF]=e.proxyTls,this[Po]=e.headers||{},this[iF]=s,e.auth&&e.token)throw new pl("opts.auth cannot be used in combination with opts.token");e.auth?this[Po]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[Po]["proxy-authorization"]=e.token:l&&u&&(this[Po]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(l)}:${decodeURIComponent(u)}`).toString("base64")}`);let d=rF({...e.proxyTls});this[nF]=rF({...e.requestTls});let p=e.factory||Tne,m=(f,y)=>{let{protocol:g}=new Na(f);return!this[iF]&&g==="http:"&&this[yb].protocol==="http:"?new Ib(this[yb].uri,{headers:this[Po],connect:d,factory:p}):p(f,y)};this[Jh]=r(n,{connect:d}),this[Yh]=new bne({...e,factory:m,connect:async(f,y)=>{let g=f.host;f.port||(g+=`:${Nne(f.protocol)}`);try{let{socket:E,statusCode:C}=await this[Jh].connect({origin:o,port:a,path:g,signal:f.signal,headers:{...this[Po],host:f.host},servername:this[sF]?.servername||A});if(C!==200&&(E.on("error",Rne).destroy(),y(new Qne(`Proxy response (${C}) !== 200 when HTTP Tunneling`))),f.protocol!=="https:"){y(null,E);return}let I;this[Cb]?I=this[Cb].servername:I=f.servername,this[nF]({...f,servername:I,httpSocket:E},y)}catch(E){E.code==="ERR_TLS_CERT_ALTNAME_INVALID"?y(new xne(E)):y(E)}}})}dispatch(e,r){let s=vne(e.headers);if(Pne(s),s&&!("host"in s)&&!("Host"in s)){let{host:n}=new Na(e.origin);s.host=n}return this[Yh].dispatch({...e,headers:s},r)}#e(e){return typeof e=="string"?new Na(e):e instanceof Na?e:new Na(e.uri)}async[oF](){await this[Yh].close(),await this[Jh].close()}async[aF](){await this[Yh].destroy(),await this[Jh].destroy()}};function vne(t){if(Array.isArray(t)){let e={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new pl("Proxy-Authorization should be sent in ProxyAgent constructor")}AF.exports=Bb});var gF=h((XLe,fF)=>{"use strict";var kne=Jc(),{kClose:Dne,kDestroy:_ne,kClosed:dF,kDestroyed:pF,kDispatch:Lne,kNoProxyAgent:UA,kHttpProxyAgent:ko,kHttpsProxyAgent:Sa}=ze(),mF=wb(),Mne=dl(),One={"http:":80,"https:":443},hF=!1,bb=class extends kne{#e=null;#t=null;#r=null;constructor(e={}){super(),this.#r=e,hF||(hF=!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[UA]=new Mne(i);let o=r??process.env.http_proxy??process.env.HTTP_PROXY;o?this[ko]=new mF({...i,uri:o}):this[ko]=this[UA];let a=s??process.env.https_proxy??process.env.HTTPS_PROXY;a?this[Sa]=new mF({...i,uri:a}):this[Sa]=this[ko],this.#s()}[Lne](e,r){let s=new URL(e.origin);return this.#i(s).dispatch(e,r)}async[Dne](){await this[UA].close(),this[ko][dF]||await this[ko].close(),this[Sa][dF]||await this[Sa].close()}async[_ne](e){await this[UA].destroy(e),this[ko][pF]||await this[ko].destroy(e),this[Sa][pF]||await this[Sa].destroy(e)}#i(e){let{protocol:r,host:s,port:n}=e;return s=s.replace(/:\d*$/,"").toLowerCase(),n=Number.parseInt(n,10)||One[r]||0,this.#n(s,n)?r==="https:"?this[Sa]:this[ko]:this[UA]}#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 ml=require("node:assert"),{kRetryHandlerDefaultRetry:EF}=ze(),{RequestRetryError:qA}=Qe(),{isDisturbed:yF,parseHeaders:Fne,parseRangeHeader:CF,wrapRequestBody:Une}=me();function qne(t){let e=Date.now();return new Date(t).getTime()-e}var Qb=class t{constructor(e,r){let{retryOptions:s,...n}=e,{retry:i,maxRetries:o,maxTimeout:a,minTimeout:c,timeoutFactor:l,methods:u,errorCodes:A,retryAfter:d,statusCodes:p}=s??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...n,body:Une(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[EF],retryAfter:d??!0,maxTimeout:a??30*1e3,minTimeout:c??500,timeoutFactor:l??2,maxRetries:o??5,methods:u??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:p??[500,502,503,504,429],errorCodes:A??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(m=>{this.aborted=!0,this.abort?this.abort(m):this.reason=m})}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,r,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[EF](e,{state:r,opts:s},n){let{statusCode:i,code:o,headers:a}=e,{method:c,retryOptions:l}=s,{maxRetries:u,minTimeout:A,maxTimeout:d,timeoutFactor:p,statusCodes:m,errorCodes:f,methods:y}=l,{counter:g}=r;if(o&&o!=="UND_ERR_REQ_RETRY"&&!f.includes(o)){n(e);return}if(Array.isArray(y)&&!y.includes(c)){n(e);return}if(i!=null&&Array.isArray(m)&&!m.includes(i)){n(e);return}if(g>u){n(e);return}let E=a?.["retry-after"];E&&(E=Number(E),E=Number.isNaN(E)?qne(E):E*1e3);let C=E>0?Math.min(E,d):Math.min(A*p**(g-1),d);setTimeout(()=>n(null),C)}onHeaders(e,r,s,n){let i=Fne(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,s,n):(this.abort(new qA("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 qA("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let a=CF(i["content-range"]);if(!a)return this.abort(new qA("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new qA("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let{start:c,size:l,end:u=l-1}=a;return ml(this.start===c,"content-range mismatch"),ml(this.end==null||this.end===u,"content-range mismatch"),this.resume=s,!0}if(this.end==null){if(e===206){let a=CF(i["content-range"]);if(a==null)return this.handler.onHeaders(e,r,s,n);let{start:c,size:l,end:u=l-1}=a;ml(c!=null&&Number.isFinite(c),"content-range mismatch"),ml(u!=null&&Number.isFinite(u),"invalid content-length"),this.start=c,this.end=u}if(this.end==null){let a=i["content-length"];this.end=a!=null?Number(a)-1:null}return ml(Number.isFinite(this.start)),ml(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 o=new qA("Request failed",e,{headers:i,data:{count:this.retryCount}});return this.abort(o),!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||yF(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||yF(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)}}}};IF.exports=Qb});var wF=h((eMe,BF)=>{"use strict";var Gne=hA(),Hne=Wh(),xb=class extends Gne{#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let s=new Hne({...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()}};BF.exports=xb});var Pb=h((tMe,PF)=>{"use strict";var SF=require("node:assert"),{Readable:zne}=require("node:stream"),{RequestAbortedError:RF,NotSupportedError:$ne,InvalidArgumentError:Vne,AbortError:Nb}=Qe(),TF=me(),{ReadableStreamFrom:Yne}=me(),jr=Symbol("kConsume"),GA=Symbol("kReading"),Do=Symbol("kBody"),bF=Symbol("kAbort"),vF=Symbol("kContentType"),QF=Symbol("kContentLength"),Jne=()=>{},Sb=class extends zne{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[bF]=r,this[jr]=null,this[Do]=null,this[vF]=s,this[QF]=n,this[GA]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new RF),e&&this[bF](),super.destroy(e)}_destroy(e,r){this[GA]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[GA]=!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[GA]=this.listenerCount("data")>0||this.listenerCount("readable")>0),s}removeListener(e,...r){return this.off(e,...r)}push(e){return this[jr]&&e!==null?(Tb(this[jr],e),this[GA]?super.push(e):!0):super.push(e)}async text(){return HA(this,"text")}async json(){return HA(this,"json")}async blob(){return HA(this,"blob")}async bytes(){return HA(this,"bytes")}async arrayBuffer(){return HA(this,"arrayBuffer")}async formData(){throw new $ne}get bodyUsed(){return TF.isDisturbed(this)}get body(){return this[Do]||(this[Do]=Yne(this),this[jr]&&(this[Do].getReader(),SF(this[Do].locked))),this[Do]}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 Vne("signal must be an AbortSignal");return s?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((n,i)=>{this[QF]>r&&this.destroy(new Nb);let o=()=>{this.destroy(s.reason??new Nb)};s?.addEventListener("abort",o),this.on("close",function(){s?.removeEventListener("abort",o),s?.aborted?i(s.reason??new Nb):n(null)}).on("error",Jne).on("data",function(a){r-=a.length,r<=0&&this.destroy()}).resume()})}};function Wne(t){return t[Do]&&t[Do].locked===!0||t[jr]}function jne(t){return TF.isDisturbed(t)||Wne(t)}async function HA(t,e){return SF(!t[jr]),new Promise((r,s)=>{if(jne(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[jr]={type:e,stream:t,resolve:r,reject:s,length:0,body:[]},t.on("error",function(n){vb(this[jr],n)}).on("close",function(){this[jr].body!==null&&vb(this[jr],new RF)}),Kne(t[jr])})})}function Kne(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)}function xF(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 Xne=require("node:assert"),{ResponseStatusCodeError:kF}=Qe(),{chunksDecode:DF}=Pb(),Zne=128*1024;async function eie({callback:t,body:e,contentType:r,statusCode:s,statusMessage:n,headers:i}){Xne(e);let o=[],a=0;try{for await(let A of e)if(o.push(A),a+=A.length,a>Zne){o=[],a=0;break}}catch{o=[],a=0}let c=`Response status code ${s}${n?`: ${n}`:""}`;if(s===204||!r||!a){queueMicrotask(()=>t(new kF(c,s,i)));return}let l=Error.stackTraceLimit;Error.stackTraceLimit=0;let u;try{_F(r)?u=JSON.parse(DF(o,a)):LF(r)&&(u=DF(o,a))}catch{}finally{Error.stackTraceLimit=l}queueMicrotask(()=>t(new kF(c,s,i,u)))}var _F=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",LF=t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t";MF.exports={getResolveErrorBodyCallback:eie,isContentTypeApplicationJson:_F,isContentTypeText:LF}});var UF=h((sMe,Db)=>{"use strict";var tie=require("node:assert"),{Readable:rie}=Pb(),{InvalidArgumentError:hl,RequestAbortedError:OF}=Qe(),Kr=me(),{getResolveErrorBodyCallback:sie}=kb(),{AsyncResource:nie}=require("node:async_hooks"),jh=class extends nie{constructor(e,r){if(!e||typeof e!="object")throw new hl("invalid opts");let{signal:s,method:n,opaque:i,body:o,onInfo:a,responseHeaders:c,throwOnError:l,highWaterMark:u}=e;try{if(typeof r!="function")throw new hl("invalid callback");if(u&&(typeof u!="number"||u<0))throw new hl("invalid highWaterMark");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new hl("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new hl("invalid method");if(a&&typeof a!="function")throw new hl("invalid onInfo callback");super("UNDICI_REQUEST")}catch(A){throw Kr.isStream(o)&&Kr.destroy(o.on("error",Kr.nop),A),A}this.method=n,this.responseHeaders=c||null,this.opaque=i||null,this.callback=r,this.res=null,this.abort=null,this.body=o,this.trailers={},this.context=null,this.onInfo=a||null,this.throwOnError=l,this.highWaterMark=u,this.signal=s,this.reason=null,this.removeAbortListener=null,Kr.isStream(o)&&o.on("error",A=>{this.onError(A)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new OF:this.removeAbortListener=Kr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new OF,this.res?Kr.destroy(this.res.on("error",Kr.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}tie(this.callback),this.abort=e,this.context=r}onHeaders(e,r,s,n){let{callback:i,opaque:o,abort:a,context:c,responseHeaders:l,highWaterMark:u}=this,A=l==="raw"?Kr.parseRawHeaders(r):Kr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:A});return}let d=l==="raw"?Kr.parseHeaders(r):A,p=d["content-type"],m=d["content-length"],f=new rie({resume:s,abort:a,contentType:p,contentLength:this.method!=="HEAD"&&m?Number(m):null,highWaterMark:u});this.removeAbortListener&&f.on("close",this.removeAbortListener),this.callback=null,this.res=f,i!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(sie,null,{callback:i,body:f,contentType:p,statusCode:e,statusMessage:n,headers:A}):this.runInAsyncScope(i,null,null,{statusCode:e,headers:A,trailers:this.trailers,opaque:o,body:f,context:c}))}onData(e){return this.res.push(e)}onComplete(e){Kr.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(()=>{Kr.destroy(r,e)})),n&&(this.body=null,Kr.destroy(n,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function FF(t,e){if(e===void 0)return new Promise((r,s)=>{FF.call(this,t,(n,i)=>n?s(n):r(i))});try{this.dispatch(t,new jh(t,e))}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}Db.exports=FF;Db.exports.RequestHandler=jh});var zA=h((nMe,HF)=>{var{addAbortListener:iie}=me(),{RequestAbortedError:oie}=Qe(),fl=Symbol("kListener"),Un=Symbol("kSignal");function qF(t){t.abort?t.abort(t[Un]?.reason):t.reason=t[Un]?.reason??new oie,GF(t)}function aie(t,e){if(t.reason=null,t[Un]=null,t[fl]=null,!!e){if(e.aborted){qF(t);return}t[Un]=e,t[fl]=()=>{qF(t)},iie(t[Un],t[fl])}}function GF(t){t[Un]&&("removeEventListener"in t[Un]?t[Un].removeEventListener("abort",t[fl]):t[Un].removeListener("abort",t[fl]),t[Un]=null,t[fl]=null)}HF.exports={addSignal:aie,removeSignal:GF}});var YF=h((iMe,VF)=>{"use strict";var cie=require("node:assert"),{finished:lie,PassThrough:uie}=require("node:stream"),{InvalidArgumentError:gl,InvalidReturnValueError:Aie}=Qe(),cn=me(),{getResolveErrorBodyCallback:die}=kb(),{AsyncResource:pie}=require("node:async_hooks"),{addSignal:mie,removeSignal:zF}=zA(),_b=class extends pie{constructor(e,r,s){if(!e||typeof e!="object")throw new gl("invalid opts");let{signal:n,method:i,opaque:o,body:a,onInfo:c,responseHeaders:l,throwOnError:u}=e;try{if(typeof s!="function")throw new gl("invalid callback");if(typeof r!="function")throw new gl("invalid factory");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new gl("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new gl("invalid method");if(c&&typeof c!="function")throw new gl("invalid onInfo callback");super("UNDICI_STREAM")}catch(A){throw cn.isStream(a)&&cn.destroy(a.on("error",cn.nop),A),A}this.responseHeaders=l||null,this.opaque=o||null,this.factory=r,this.callback=s,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=a,this.onInfo=c||null,this.throwOnError=u||!1,cn.isStream(a)&&a.on("error",A=>{this.onError(A)}),mie(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}cie(this.callback),this.abort=e,this.context=r}onHeaders(e,r,s,n){let{factory:i,opaque:o,context:a,callback:c,responseHeaders:l}=this,u=l==="raw"?cn.parseRawHeaders(r):cn.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:u});return}this.factory=null;let A;if(this.throwOnError&&e>=400){let m=(l==="raw"?cn.parseHeaders(r):u)["content-type"];A=new uie,this.callback=null,this.runInAsyncScope(die,null,{callback:c,body:A,contentType:m,statusCode:e,statusMessage:n,headers:u})}else{if(i===null)return;if(A=this.runInAsyncScope(i,null,{statusCode:e,headers:u,opaque:o,context:a}),!A||typeof A.write!="function"||typeof A.end!="function"||typeof A.on!="function")throw new Aie("expected Writable");lie(A,{readable:!1},p=>{let{callback:m,res:f,opaque:y,trailers:g,abort:E}=this;this.res=null,(p||!f.readable)&&cn.destroy(f,p),this.callback=null,this.runInAsyncScope(m,null,p||null,{opaque:y,trailers:g}),p&&E()})}return A.on("drain",s),this.res=A,(A.writableNeedDrain!==void 0?A.writableNeedDrain:A._writableState?.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;zF(this),r&&(this.trailers=cn.parseHeaders(e),r.end())}onError(e){let{res:r,callback:s,opaque:n,body:i}=this;zF(this),this.factory=null,r?(this.res=null,cn.destroy(r,e)):s&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(s,null,e,{opaque:n})})),i&&(this.body=null,cn.destroy(i,e))}};function $F(t,e,r){if(r===void 0)return new Promise((s,n)=>{$F.call(this,t,e,(i,o)=>i?n(i):s(o))});try{this.dispatch(t,new _b(t,e,r))}catch(s){if(typeof r!="function")throw s;let n=t?.opaque;queueMicrotask(()=>r(s,{opaque:n}))}}VF.exports=$F});var KF=h((oMe,jF)=>{"use strict";var{Readable:WF,Duplex:hie,PassThrough:fie}=require("node:stream"),{InvalidArgumentError:$A,InvalidReturnValueError:gie,RequestAbortedError:Lb}=Qe(),xs=me(),{AsyncResource:Eie}=require("node:async_hooks"),{addSignal:yie,removeSignal:Cie}=zA(),JF=require("node:assert"),El=Symbol("resume"),Mb=class extends WF{constructor(){super({autoDestroy:!0}),this[El]=null}_read(){let{[El]:e}=this;e&&(this[El]=null,e())}_destroy(e,r){this._read(),r(e)}},Ob=class extends WF{constructor(e){super({autoDestroy:!0}),this[El]=e}_read(){this[El]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new Lb),r(e)}},Fb=class extends Eie{constructor(e,r){if(!e||typeof e!="object")throw new $A("invalid opts");if(typeof r!="function")throw new $A("invalid handler");let{signal:s,method:n,opaque:i,onInfo:o,responseHeaders:a}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new $A("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new $A("invalid method");if(o&&typeof o!="function")throw new $A("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=i||null,this.responseHeaders=a||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=o||null,this.req=new Mb().on("error",xs.nop),this.ret=new hie({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:c}=this;c?.resume&&c.resume()},write:(c,l,u)=>{let{req:A}=this;A.push(c,l)||A._readableState.destroyed?u():A[El]=u},destroy:(c,l)=>{let{body:u,req:A,res:d,ret:p,abort:m}=this;!c&&!p._readableState.endEmitted&&(c=new Lb),m&&c&&m(),xs.destroy(u,c),xs.destroy(A,c),xs.destroy(d,c),Cie(this),l(c)}}).on("prefinish",()=>{let{req:c}=this;c.push(null)}),this.res=null,yie(this,s)}onConnect(e,r){let{ret:s,res:n}=this;if(this.reason){e(this.reason);return}JF(!n,"pipeline cannot be retried"),JF(!s.destroyed),this.abort=e,this.context=r}onHeaders(e,r,s){let{opaque:n,handler:i,context:o}=this;if(e<200){if(this.onInfo){let c=this.responseHeaders==="raw"?xs.parseRawHeaders(r):xs.parseHeaders(r);this.onInfo({statusCode:e,headers:c})}return}this.res=new Ob(s);let a;try{this.handler=null;let c=this.responseHeaders==="raw"?xs.parseRawHeaders(r):xs.parseHeaders(r);a=this.runInAsyncScope(i,null,{statusCode:e,headers:c,opaque:n,body:this.res,context:o})}catch(c){throw this.res.on("error",xs.nop),c}if(!a||typeof a.on!="function")throw new gie("expected Readable");a.on("data",c=>{let{ret:l,body:u}=this;!l.push(c)&&u.pause&&u.pause()}).on("error",c=>{let{ret:l}=this;xs.destroy(l,c)}).on("end",()=>{let{ret:c}=this;c.push(null)}).on("close",()=>{let{ret:c}=this;c._readableState.ended||xs.destroy(c,new Lb)}),this.body=a}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,xs.destroy(r,e)}};function Iie(t,e){try{let r=new Fb(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new fie().destroy(r)}}jF.exports=Iie});var sU=h((aMe,rU)=>{"use strict";var{InvalidArgumentError:Ub,SocketError:Bie}=Qe(),{AsyncResource:wie}=require("node:async_hooks"),XF=me(),{addSignal:bie,removeSignal:ZF}=zA(),eU=require("node:assert"),qb=class extends wie{constructor(e,r){if(!e||typeof e!="object")throw new Ub("invalid opts");if(typeof r!="function")throw new Ub("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new Ub("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,bie(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}eU(this.callback),this.abort=e,this.context=null}onHeaders(){throw new Bie("bad upgrade",null)}onUpgrade(e,r,s){eU(e===101);let{callback:n,opaque:i,context:o}=this;ZF(this),this.callback=null;let a=this.responseHeaders==="raw"?XF.parseRawHeaders(r):XF.parseHeaders(r);this.runInAsyncScope(n,null,null,{headers:a,socket:s,opaque:i,context:o})}onError(e){let{callback:r,opaque:s}=this;ZF(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function tU(t,e){if(e===void 0)return new Promise((r,s)=>{tU.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new qb(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}))}}rU.exports=tU});var cU=h((cMe,aU)=>{"use strict";var Qie=require("node:assert"),{AsyncResource:xie}=require("node:async_hooks"),{InvalidArgumentError:Gb,SocketError:Nie}=Qe(),nU=me(),{addSignal:Sie,removeSignal:iU}=zA(),Hb=class extends xie{constructor(e,r){if(!e||typeof e!="object")throw new Gb("invalid opts");if(typeof r!="function")throw new Gb("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new Gb("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=n||null,this.responseHeaders=i||null,this.callback=r,this.abort=null,Sie(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}Qie(this.callback),this.abort=e,this.context=r}onHeaders(){throw new Nie("bad connect",null)}onUpgrade(e,r,s){let{callback:n,opaque:i,context:o}=this;iU(this),this.callback=null;let a=r;a!=null&&(a=this.responseHeaders==="raw"?nU.parseRawHeaders(r):nU.parseHeaders(r)),this.runInAsyncScope(n,null,null,{statusCode:e,headers:a,socket:s,opaque:i,context:o})}onError(e){let{callback:r,opaque:s}=this;iU(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function oU(t,e){if(e===void 0)return new Promise((r,s)=>{oU.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new Hb(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}))}}aU.exports=oU});var lU=h((lMe,yl)=>{"use strict";yl.exports.request=UF();yl.exports.stream=YF();yl.exports.pipeline=KF();yl.exports.upgrade=sU();yl.exports.connect=cU()});var $b=h((uMe,AU)=>{"use strict";var{UndiciError:Rie}=Qe(),uU=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),zb=class t extends Rie{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&e[uU]===!0}[uU]=!0};AU.exports={MockNotMatchedError:zb}});var Cl=h((AMe,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 VA=h((dMe,wU)=>{"use strict";var{MockNotMatchedError:Ra}=$b(),{kDispatches:Kh,kMockAgent:Tie,kOriginalDispatch:vie,kOrigin:Pie,kGetNetConnect:kie}=Cl(),{buildURL:Die}=me(),{STATUS_CODES:_ie}=require("node:http"),{types:{isPromise:Lie}}=require("node:util");function zi(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}function mU(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}function hU(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=hU(e,r);if(!zi(s,n))return!1}return!0}function pU(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("?")}function Mie(t,{path:e,method:r,body:s,headers:n}){let i=zi(t.path,e),o=zi(t.method,r),a=typeof t.body<"u"?zi(t.body,s):!0,c=fU(t,n);return i&&o&&a&&c}function gU(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}function EU(t,e){let r=e.query?Die(e.path,e.query):e.path,s=typeof r=="string"?pU(r):r,n=t.filter(({consumed:i})=>!i).filter(({path:i})=>zi(pU(i),s));if(n.length===0)throw new Ra(`Mock dispatch not matched for path '${s}'`);if(n=n.filter(({method:i})=>zi(i,e.method)),n.length===0)throw new Ra(`Mock dispatch not matched for method '${e.method}' on path '${s}'`);if(n=n.filter(({body:i})=>typeof i<"u"?zi(i,e.body):!0),n.length===0)throw new Ra(`Mock dispatch not matched for body '${e.body}' on path '${s}'`);if(n=n.filter(i=>fU(i,e.headers)),n.length===0){let i=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new Ra(`Mock dispatch not matched for headers '${i}' on path '${s}'`)}return n[0]}function Oie(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}function Vb(t,e){let r=t.findIndex(s=>s.consumed?Mie(s,e):!1);r!==-1&&t.splice(r,1)}function yU(t){let{path:e,method:r,body:s,headers:n,query:i}=t;return{path:e,method:r,body:s,headers:n,query:i}}function Yb(t){let e=Object.keys(t),r=[];for(let s=0;s=d,s.pending=A0?setTimeout(()=>{p(this[Kh])},l):p(this[Kh]);function p(f,y=i){let g=Array.isArray(t.headers)?Jb(t.headers):t.headers,E=typeof y=="function"?y({...t,headers:g}):y;if(Lie(E)){E.then(P=>p(f,P));return}let C=gU(E),I=Yb(o),Q=Yb(a);e.onConnect?.(P=>e.onError(P),null),e.onHeaders?.(n,I,m,CU(n)),e.onData?.(Buffer.from(C)),e.onComplete?.(Q),Vb(f,r)}function m(){}return!0}function Uie(){let t=this[Tie],e=this[Pie],r=this[vie];return function(n,i){if(t.isMockActive)try{IU.call(this,n,i)}catch(o){if(o instanceof Ra){let a=t[kie]();if(a===!1)throw new Ra(`${o.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(BU(a,e))r.call(this,n,i);else throw new Ra(`${o.message}: subsequent request to origin ${e} was not allowed (net.connect is not enabled for this origin)`)}else throw o}else r.call(this,n,i)}}function BU(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(s=>zi(s,r.host)))}function qie(t){if(t){let{agent:e,...r}=t;return r}}wU.exports={getResponseData:gU,getMockDispatch:EU,addMockDispatch:Oie,deleteMockDispatch:Vb,buildKey:yU,generateKeyValues:Yb,matchValue:zi,getResponse:Fie,getStatusText:CU,mockDispatch:IU,buildMockDispatch:Uie,checkNetConnect:BU,buildMockOptions:qie,getHeaderByName:hU,buildHeadersFromArray:Jb}});var tQ=h((pMe,eQ)=>{"use strict";var{getResponseData:Gie,buildKey:Hie,addMockDispatch:Wb}=VA(),{kDispatches:Xh,kDispatchKey:Zh,kDefaultHeaders:jb,kDefaultTrailers:Kb,kContentLength:Xb,kMockDispatch:ef}=Cl(),{InvalidArgumentError:qn}=Qe(),{buildURL:zie}=me(),Il=class{constructor(e){this[ef]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new qn("waitInMs must be a valid integer > 0");return this[ef].delay=e,this}persist(){return this[ef].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new qn("repeatTimes must be a valid integer > 0");return this[ef].times=e,this}},Zb=class{constructor(e,r){if(typeof e!="object")throw new qn("opts must be an object");if(typeof e.path>"u")throw new qn("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=zie(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[Zh]=Hie(e),this[Xh]=r,this[jb]={},this[Kb]={},this[Xb]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:s}){let n=Gie(r),i=this[Xb]?{"content-length":n.length}:{},o={...this[jb],...i,...s.headers},a={...this[Kb],...s.trailers};return{statusCode:e,data:r,headers:o,trailers:a}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new qn("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new qn("responseOptions must be an object")}reply(e){if(typeof e=="function"){let i=a=>{let c=e(a);if(typeof c!="object"||c===null)throw new qn("reply options callback must return an object");let l={data:"",responseOptions:{},...c};return this.validateReplyParameters(l),{...this.createMockScopeDispatchData(l)}},o=Wb(this[Xh],this[Zh],i);return new Il(o)}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=Wb(this[Xh],this[Zh],s);return new Il(n)}replyWithError(e){if(typeof e>"u")throw new qn("error must be defined");let r=Wb(this[Xh],this[Zh],{error:e});return new Il(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new qn("headers must be defined");return this[jb]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new qn("trailers must be defined");return this[Kb]=e,this}replyContentLength(){return this[Xb]=!0,this}};eQ.exports.MockInterceptor=Zb;eQ.exports.MockScope=Il});var nQ=h((mMe,TU)=>{"use strict";var{promisify:$ie}=require("node:util"),Vie=ul(),{buildMockDispatch:Yie}=VA(),{kDispatches:bU,kMockAgent:QU,kClose:xU,kOriginalClose:NU,kOrigin:SU,kOriginalDispatch:Jie,kConnected:rQ}=Cl(),{MockInterceptor:Wie}=tQ(),RU=ze(),{InvalidArgumentError:jie}=Qe(),sQ=class extends Vie{constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new jie("Argument opts.agent must implement Agent");this[QU]=r.agent,this[SU]=e,this[bU]=[],this[rQ]=1,this[Jie]=this.dispatch,this[NU]=this.close.bind(this),this.dispatch=Yie.call(this),this.close=this[xU]}get[RU.kConnected](){return this[rQ]}intercept(e){return new Wie(e,this[bU])}async[xU](){await $ie(this[NU])(),this[rQ]=0,this[QU][RU.kClients].delete(this[SU])}};TU.exports=sQ});var aQ=h((hMe,MU)=>{"use strict";var{promisify:Kie}=require("node:util"),Xie=Al(),{buildMockDispatch:Zie}=VA(),{kDispatches:vU,kMockAgent:PU,kClose:kU,kOriginalClose:DU,kOrigin:_U,kOriginalDispatch:eoe,kConnected:iQ}=Cl(),{MockInterceptor:toe}=tQ(),LU=ze(),{InvalidArgumentError:roe}=Qe(),oQ=class extends Xie{constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new roe("Argument opts.agent must implement Agent");this[PU]=r.agent,this[_U]=e,this[vU]=[],this[iQ]=1,this[eoe]=this.dispatch,this[DU]=this.close.bind(this),this.dispatch=Zie.call(this),this.close=this[kU]}get[LU.kConnected](){return this[iQ]}intercept(e){return new toe(e,this[vU])}async[kU](){await Kie(this[DU])(),this[iQ]=0,this[PU][LU.kClients].delete(this[_U])}};MU.exports=oQ});var FU=h((gMe,OU)=>{"use strict";var soe={pronoun:"it",is:"is",was:"was",this:"this"},noe={pronoun:"they",is:"are",was:"were",this:"these"};OU.exports=class{constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,s=r?soe:noe,n=r?this.singular:this.plural;return{...s,count:e,noun:n}}}});var qU=h((yMe,UU)=>{"use strict";var{Transform:ioe}=require("node:stream"),{Console:ooe}=require("node:console"),aoe=process.versions.icu?"\u2705":"Y ",coe=process.versions.icu?"\u274C":"N ";UU.exports=class{constructor({disableColors:e}={}){this.transform=new ioe({transform(r,s,n){n(null,r)}}),this.logger=new ooe({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:s,path:n,data:{statusCode:i},persist:o,times:a,timesInvoked:c,origin:l})=>({Method:s,Origin:l,Path:n,"Status code":i,Persistent:o?aoe:coe,Invocations:c,Remaining:o?1/0:a-c}));return this.logger.table(r),this.transform.read().toString()}}});var $U=h((CMe,zU)=>{"use strict";var{kClients:Ta}=ze(),loe=dl(),{kAgent:cQ,kMockAgentSet:tf,kMockAgentGet:GU,kDispatches:lQ,kIsMockActive:rf,kNetConnect:va,kGetNetConnect:uoe,kOptions:sf,kFactory:nf}=Cl(),Aoe=nQ(),doe=aQ(),{matchValue:poe,buildMockOptions:moe}=VA(),{InvalidArgumentError:HU,UndiciError:hoe}=Qe(),foe=hA(),goe=FU(),Eoe=qU(),uQ=class extends foe{constructor(e){if(super(e),this[va]=!0,this[rf]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new HU("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new loe(e);this[cQ]=r,this[Ta]=r[Ta],this[sf]=moe(e)}get(e){let r=this[GU](e);return r||(r=this[nf](e),this[tf](e,r)),r}dispatch(e,r){return this.get(e.origin),this[cQ].dispatch(e,r)}async close(){await this[cQ].close(),this[Ta].clear()}deactivate(){this[rf]=!1}activate(){this[rf]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[va])?this[va].push(e):this[va]=[e];else if(typeof e>"u")this[va]=!0;else throw new HU("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[va]=!1}get isMockActive(){return this[rf]}[tf](e,r){this[Ta].set(e,r)}[nf](e){let r=Object.assign({agent:this},this[sf]);return this[sf]&&this[sf].connections===1?new Aoe(e,r):new doe(e,r)}[GU](e){let r=this[Ta].get(e);if(r)return r;if(typeof e!="string"){let s=this[nf]("http://localhost:9999");return this[tf](e,s),s}for(let[s,n]of Array.from(this[Ta]))if(n&&typeof s!="string"&&poe(s,e)){let i=this[nf](e);return this[tf](e,i),i[lQ]=n[lQ],i}}[uoe](){return this[va]}pendingInterceptors(){let e=this[Ta];return Array.from(e.entries()).flatMap(([r,s])=>s[lQ].map(n=>({...n,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new Eoe}={}){let r=this.pendingInterceptors();if(r.length===0)return;let s=new goe("interceptor","interceptors").pluralize(r.length);throw new hoe(` ${s.count} ${s.noun} ${s.is} pending: ${e.format(r)} `.trim())}};zU.exports=uQ});var of=h((IMe,WU)=>{"use strict";var VU=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:yoe}=Qe(),Coe=dl();JU()===void 0&&YU(new Coe);function YU(t){if(!t||typeof t.dispatch!="function")throw new yoe("Argument agent must implement Agent");Object.defineProperty(globalThis,VU,{value:t,writable:!0,enumerable:!1,configurable:!1})}function JU(){return globalThis[VU]}WU.exports={setGlobalDispatcher:YU,getGlobalDispatcher:JU}});var af=h((wMe,jU)=>{"use strict";jU.exports=class{#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 XU=h((bMe,KU)=>{"use strict";var Ioe=Oh();KU.exports=t=>{let e=t?.maxRedirections;return r=>function(n,i){let{maxRedirections:o=e,...a}=n;if(!o)return r(n,i);let c=new Ioe(r,o,n,i);return r(a,c)}}});var e2=h((QMe,ZU)=>{"use strict";var Boe=Wh();ZU.exports=t=>e=>function(s,n){return e(s,new Boe({...s,retryOptions:{...t,...s.retryOptions}},{handler:n,dispatch:e}))}});var r2=h((xMe,t2)=>{"use strict";var woe=me(),{InvalidArgumentError:boe,RequestAbortedError:Qoe}=Qe(),xoe=af(),AQ=class extends xoe{#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 boe("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 o=woe.parseHeaders(r)["content-length"];if(o!=null&&o>this.#e)throw new Qoe(`Response size (${o}) 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 Noe({maxSize:t}={maxSize:1024*1024}){return e=>function(s,n){let{dumpMaxSize:i=t}=s,o=new AQ({maxSize:i},n);return e(s,o)}}t2.exports=Noe});var i2=h((NMe,n2)=>{"use strict";var{isIP:Soe}=require("node:net"),{lookup:Roe}=require("node:dns"),Toe=af(),{InvalidArgumentError:Bl,InformationalError:voe}=Qe(),s2=Math.pow(2,31)-1,dQ=class{#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,(o,a)=>{if(o||a==null||a.length===0){s(o??new voe("No DNS entries found"));return}this.setRecords(e,a);let c=this.#r.get(e.hostname),l=this.pick(e,c,i.affinity),u;typeof l.port=="number"?u=`:${l.port}`:e.port!==""?u=`:${e.port}`:u="",s(null,`${e.protocol}//${l.family===6?`[${l.address}]`:l.address}${u}`)});else{let o=this.pick(e,n,i.affinity);if(o==null){this.#r.delete(e.hostname),this.runLookup(e,r,s);return}let a;typeof o.port=="number"?a=`:${o.port}`:e.port!==""?a=`:${e.port}`:a="",s(null,`${e.protocol}//${o.family===6?`[${o.address}]`:o.address}${a}`)}}#i(e,r,s){Roe(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(n,i)=>{if(n)return s(n);let o=new Map;for(let a of i)o.set(`${a.address}:${a.family}`,a);s(null,o.values())})}#n(e,r,s){let n=null,{records:i,offset:o}=r,a;if(this.dualStack?(s==null&&(o==null||o===s2?(r.offset=0,s=4):(r.offset++,s=(r.offset&1)===1?6:4)),i[s]!=null&&i[s].ips.length>0?a=i[s]:a=i[s===4?6:4]):a=i[s],a==null||a.ips.length===0)return n;a.offset==null||a.offset===s2?a.offset=0:a.offset++;let c=a.offset%a.ips.length;return n=a.ips[c]??null,n==null?n:Date.now()-n.timestamp>n.ttl?(a.ips.splice(c,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 o=n.records[i.family]??{ips:[]};o.ips.push(i),n.records[i.family]=o}this.#r.set(e.hostname,n)}getHandler(e,r){return new pQ(this,e,r)}},pQ=class extends Toe{#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}}};n2.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Bl("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Bl("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Bl("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Bl("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Bl("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Bl("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 dQ(s);return i=>function(a,c){let l=a.origin.constructor===URL?a.origin:new URL(a.origin);return Soe(l.hostname)!==0?i(a,c):(n.runLookup(l,a,(u,A)=>{if(u)return c.onError(u);let d=null;d={...a,servername:l.hostname,origin:A,headers:{host:l.hostname,...a.headers}},i(d,n.getHandler({origin:l,dispatch:i,handler:c},a))}),!0)}}});var Pa=h((SMe,d2)=>{"use strict";var{kConstruct:Poe}=ze(),{kEnumerableProperty:wl}=me(),{iteratorMixin:koe,isValidHeaderName:YA,isValidHeaderValue:a2}=Wr(),{webidl:Ce}=$t(),mQ=require("node:assert"),cf=require("node:util"),Bt=Symbol("headers map"),Xr=Symbol("headers map sorted");function o2(t){return t===10||t===13||t===9||t===32}function c2(t){let e=0,r=t.length;for(;r>e&&o2(t.charCodeAt(r-1));)--r;for(;r>e&&o2(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}function l2(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}function hQ(t,e,r){if(r=c2(r),YA(e)){if(!a2(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(A2(t)==="immutable")throw new TypeError("immutable");return fQ(t).append(e,r,!1)}function u2(t,e){return t[0]>1),r[l][0]<=u[0]?c=l+1:a=l;if(i!==l){for(o=i;o>c;)r[o]=r[--o];r[c]=u}}if(!s.next().done)throw new TypeError("Unreachable");return r}else{let s=0;for(let{0:n,1:{value:i}}of this[Bt])r[s++]=[n,i],mQ(i!==null);return r.sort(u2)}}},ln=class t{#e;#t;constructor(e=void 0){Ce.util.markAsUncloneable(this),e!==Poe&&(this.#t=new lf,this.#e="none",e!==void 0&&(e=Ce.converters.HeadersInit(e,"Headers contructor","init"),l2(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"),hQ(this,e,r)}delete(e){if(Ce.brandCheck(this,t),Ce.argumentLengthCheck(arguments,1,"Headers.delete"),e=Ce.converters.ByteString(e,"Headers.delete","name"),!YA(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"),!YA(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"),!YA(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=c2(r),YA(e)){if(!a2(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[Xr](){if(this.#t[Xr])return this.#t[Xr];let e=[],r=this.#t.toSortedArray(),s=this.#t.cookies;if(s===null||s.length===1)return this.#t[Xr]=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:l2,compareHeaderName:u2,Headers:ln,HeadersList:lf,getHeadersGuard:A2,setHeadersGuard:Doe,setHeadersList:_oe,getHeadersList:fQ}});var WA=h((RMe,b2)=>{"use strict";var{Headers:E2,HeadersList:p2,fill:Loe,getHeadersGuard:Moe,setHeadersGuard:y2,setHeadersList:C2}=Pa(),{extractBody:m2,cloneBody:Ooe,mixinBody:Foe,hasFinalizationRegistry:I2,streamRegistry:B2,bodyUnusable:Uoe}=sl(),gQ=me(),h2=require("node:util"),{kEnumerableProperty:Zr}=gQ,{isValidReasonPhrase:qoe,isCancelled:Goe,isAborted:Hoe,isBlobLike:zoe,serializeJavascriptValueToJSONString:$oe,isErrorLike:Voe,isomorphicEncode:Yoe,environmentSettingsObject:Joe}=Wr(),{redirectStatusSet:Woe,nullBodyStatus:joe}=EA(),{kState:Ve,kHeaders:$i}=wo(),{webidl:ue}=$t(),{FormData:Koe}=bA(),{URLSerializer:f2}=Sr(),{kConstruct:Af}=ze(),EQ=require("node:assert"),{types:Xoe}=require("node:util"),Zoe=new TextEncoder("utf-8"),ka=class t{static error(){return JA(df(),"immutable")}static json(e,r={}){ue.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=ue.converters.ResponseInit(r));let s=Zoe.encode($oe(e)),n=m2(s),i=JA(bl({}),"response");return g2(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,Joe.settingsObject.baseUrl)}catch(o){throw new TypeError(`Failed to parse URL from ${e}`,{cause:o})}if(!Woe.has(r))throw new RangeError(`Invalid status code ${r}`);let n=JA(bl({}),"immutable");n[Ve].status=r;let i=Yoe(f2(s));return n[Ve].headersList.append("location",i,!0),n}constructor(e=null,r={}){if(ue.util.markAsUncloneable(this),e===Af)return;e!==null&&(e=ue.converters.BodyInit(e)),r=ue.converters.ResponseInit(r),this[Ve]=bl({}),this[$i]=new E2(Af),y2(this[$i],"response"),C2(this[$i],this[Ve].headersList);let s=null;if(e!=null){let[n,i]=m2(e);s={body:n,type:i}}g2(this,r,s)}get type(){return ue.brandCheck(this,t),this[Ve].type}get url(){ue.brandCheck(this,t);let e=this[Ve].urlList,r=e[e.length-1]??null;return r===null?"":f2(r,!0)}get redirected(){return ue.brandCheck(this,t),this[Ve].urlList.length>1}get status(){return ue.brandCheck(this,t),this[Ve].status}get ok(){return ue.brandCheck(this,t),this[Ve].status>=200&&this[Ve].status<=299}get statusText(){return ue.brandCheck(this,t),this[Ve].statusText}get headers(){return ue.brandCheck(this,t),this[$i]}get body(){return ue.brandCheck(this,t),this[Ve].body?this[Ve].body.stream:null}get bodyUsed(){return ue.brandCheck(this,t),!!this[Ve].body&&gQ.isDisturbed(this[Ve].body.stream)}clone(){if(ue.brandCheck(this,t),Uoe(this))throw ue.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=yQ(this[Ve]);return I2&&this[Ve].body?.stream&&B2.register(this,new WeakRef(this[Ve].body.stream)),JA(e,Moe(this[$i]))}[h2.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 ${h2.formatWithOptions(r,s)}`}};Foe(ka);Object.defineProperties(ka.prototype,{type:Zr,url:Zr,status:Zr,ok:Zr,redirected:Zr,statusText:Zr,headers:Zr,clone:Zr,body:Zr,bodyUsed:Zr,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(ka,{json:Zr,redirect:Zr,error:Zr});function yQ(t){if(t.internalResponse)return w2(yQ(t.internalResponse),t.type);let e=bl({...t,body:null});return t.body!=null&&(e.body=Ooe(e,t.body)),e}function bl(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new p2(t?.headersList):new p2,urlList:t?.urlList?[...t.urlList]:[]}}function df(t){let e=Voe(t);return bl({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}function eae(t){return t.type==="error"&&t.status===0}function uf(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 EQ(!(s in e)),r[s]=n,!0}})}function w2(t,e){if(e==="basic")return uf(t,{type:"basic",headersList:t.headersList});if(e==="cors")return uf(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return uf(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return uf(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});EQ(!1)}function tae(t,e=null){return EQ(Goe(t)),Hoe(t)?df(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):df(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}function g2(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&&!qoe(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[Ve].status=e.status),"statusText"in e&&e.statusText!=null&&(t[Ve].statusText=e.statusText),"headers"in e&&e.headers!=null&&Loe(t[$i],e.headers),r){if(joe.includes(t.status))throw ue.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[Ve].body=r.body,r.type!=null&&!t[Ve].headersList.contains("content-type",!0)&&t[Ve].headersList.append("content-type",r.type,!0)}}function JA(t,e){let r=new ka(Af);return r[Ve]=t,r[$i]=new E2(Af),C2(r[$i],t.headersList),y2(r[$i],e),I2&&t.body?.stream&&B2.register(r,new WeakRef(t.body.stream)),r}ue.converters.ReadableStream=ue.interfaceConverter(ReadableStream);ue.converters.FormData=ue.interfaceConverter(Koe);ue.converters.URLSearchParams=ue.interfaceConverter(URLSearchParams);ue.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?ue.converters.USVString(t,e,r):zoe(t)?ue.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||Xoe.isArrayBuffer(t)?ue.converters.BufferSource(t,e,r):gQ.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:()=>200},{key:"statusText",converter:ue.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:ue.converters.HeadersInit}]);b2.exports={isNetworkError:eae,makeNetworkError:df,makeResponse:bl,makeAppropriateNetworkError:tae,filterResponse:w2,Response:ka,cloneResponse:yQ,fromInnerResponse:JA}});var S2=h((TMe,N2)=>{"use strict";var{kConnected:Q2,kSize:x2}=ze(),CQ=class{constructor(e){this.value=e}deref(){return this.value[Q2]===0&&this.value[x2]===0?void 0:this.value}},IQ=class{constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[Q2]===0&&e[x2]===0&&this.finalizer(r)})}unregister(e){}};N2.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:CQ,FinalizationRegistry:IQ}):{WeakRef,FinalizationRegistry}}});var Ql=h((vMe,H2)=>{"use strict";var{extractBody:rae,mixinBody:sae,cloneBody:nae,bodyUnusable:R2}=sl(),{Headers:O2,fill:iae,HeadersList:ff,setHeadersGuard:wQ,getHeadersGuard:oae,setHeadersList:F2,getHeadersList:T2}=Pa(),{FinalizationRegistry:aae}=S2()(),mf=me(),v2=require("node:util"),{isValidHTTPToken:cae,sameOrigin:P2,environmentSettingsObject:pf}=Wr(),{forbiddenMethodsSet:lae,corsSafeListedMethodsSet:uae,referrerPolicy:Aae,requestRedirect:dae,requestMode:pae,requestCredentials:mae,requestCache:hae,requestDuplex:fae}=EA(),{kEnumerableProperty:wt,normalizedMethodRecordsBase:gae,normalizedMethodRecords:Eae}=mf,{kHeaders:es,kSignal:hf,kState:Fe,kDispatcher:BQ}=wo(),{webidl:X}=$t(),{URLSerializer:yae}=Sr(),{kConstruct:gf}=ze(),Cae=require("node:assert"),{getMaxListeners:k2,setMaxListeners:D2,getEventListeners:Iae,defaultMaxListeners:_2}=require("node:events"),Bae=Symbol("abortController"),U2=new aae(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),Ef=new WeakMap;function L2(t){return e;function e(){let r=t.deref();if(r!==void 0){U2.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let s=Ef.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()}Ef.delete(r.signal)}}}}var M2=!1,_o=class t{constructor(e,r={}){if(X.util.markAsUncloneable(this),e===gf)return;let s="Request constructor";X.argumentLengthCheck(arguments,1,s),e=X.converters.RequestInfo(e,s,"input"),r=X.converters.RequestInit(r,s,"init");let n=null,i=null,o=pf.settingsObject.baseUrl,a=null;if(typeof e=="string"){this[BQ]=r.dispatcher;let g;try{g=new URL(e,o)}catch(E){throw new TypeError("Failed to parse URL from "+e,{cause:E})}if(g.username||g.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);n=yf({urlList:[g]}),i="cors"}else this[BQ]=r.dispatcher||e[BQ],Cae(e instanceof t),n=e[Fe],a=e[hf];let c=pf.settingsObject.origin,l="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&P2(n.window,c)&&(l=n.window),r.window!=null)throw new TypeError(`'window' option '${l}' must be null`);"window"in r&&(l="no-window"),n=yf({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:pf.settingsObject,window:l,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 u=Object.keys(r).length!==0;if(u&&(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 g=r.referrer;if(g==="")n.referrer="no-referrer";else{let E;try{E=new URL(g,o)}catch(C){throw new TypeError(`Referrer "${g}" is not a valid URL.`,{cause:C})}E.protocol==="about:"&&E.hostname==="client"||c&&!P2(E,pf.settingsObject.baseUrl)?n.referrer="client":n.referrer=E}}r.referrerPolicy!==void 0&&(n.referrerPolicy=r.referrerPolicy);let A;if(r.mode!==void 0?A=r.mode:A=i,A==="navigate")throw X.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(A!=null&&(n.mode=A),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 g=r.method,E=Eae[g];if(E!==void 0)n.method=E;else{if(!cae(g))throw new TypeError(`'${g}' is not a valid HTTP method.`);let C=g.toUpperCase();if(lae.has(C))throw new TypeError(`'${g}' HTTP method is unsupported.`);g=gae[C]??g,n.method=g}!M2&&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"}),M2=!0)}r.signal!==void 0&&(a=r.signal),this[Fe]=n;let d=new AbortController;if(this[hf]=d.signal,a!=null){if(!a||typeof a.aborted!="boolean"||typeof a.addEventListener!="function")throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(a.aborted)d.abort(a.reason);else{this[Bae]=d;let g=new WeakRef(d),E=L2(g);try{(typeof k2=="function"&&k2(a)===_2||Iae(a,"abort").length>=_2)&&D2(1500,a)}catch{}mf.addAbortListener(a,E),U2.register(d,{signal:a,abort:E},E)}}if(this[es]=new O2(gf),F2(this[es],n.headersList),wQ(this[es],"request"),A==="no-cors"){if(!uae.has(n.method))throw new TypeError(`'${n.method} is unsupported in no-cors mode.`);wQ(this[es],"request-no-cors")}if(u){let g=T2(this[es]),E=r.headers!==void 0?r.headers:new ff(g);if(g.clear(),E instanceof ff){for(let{name:C,value:I}of E.rawValues())g.append(C,I,!1);g.cookies=E.cookies}else iae(this[es],E)}let p=e instanceof t?e[Fe].body:null;if((r.body!=null||p!=null)&&(n.method==="GET"||n.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let m=null;if(r.body!=null){let[g,E]=rae(r.body,n.keepalive);m=g,E&&!T2(this[es]).contains("content-type",!0)&&this[es].append("content-type",E)}let f=m??p;if(f!=null&&f.source==null){if(m!=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 y=f;if(m==null&&p!=null){if(R2(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let g=new TransformStream;p.stream.pipeThrough(g),y={source:p.source,length:p.length,stream:g.readable}}this[Fe].body=y}get method(){return X.brandCheck(this,t),this[Fe].method}get url(){return X.brandCheck(this,t),yae(this[Fe].url)}get headers(){return X.brandCheck(this,t),this[es]}get destination(){return X.brandCheck(this,t),this[Fe].destination}get referrer(){return X.brandCheck(this,t),this[Fe].referrer==="no-referrer"?"":this[Fe].referrer==="client"?"about:client":this[Fe].referrer.toString()}get referrerPolicy(){return X.brandCheck(this,t),this[Fe].referrerPolicy}get mode(){return X.brandCheck(this,t),this[Fe].mode}get credentials(){return this[Fe].credentials}get cache(){return X.brandCheck(this,t),this[Fe].cache}get redirect(){return X.brandCheck(this,t),this[Fe].redirect}get integrity(){return X.brandCheck(this,t),this[Fe].integrity}get keepalive(){return X.brandCheck(this,t),this[Fe].keepalive}get isReloadNavigation(){return X.brandCheck(this,t),this[Fe].reloadNavigation}get isHistoryNavigation(){return X.brandCheck(this,t),this[Fe].historyNavigation}get signal(){return X.brandCheck(this,t),this[hf]}get body(){return X.brandCheck(this,t),this[Fe].body?this[Fe].body.stream:null}get bodyUsed(){return X.brandCheck(this,t),!!this[Fe].body&&mf.isDisturbed(this[Fe].body.stream)}get duplex(){return X.brandCheck(this,t),"half"}clone(){if(X.brandCheck(this,t),R2(this))throw new TypeError("unusable");let e=q2(this[Fe]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let s=Ef.get(this.signal);s===void 0&&(s=new Set,Ef.set(this.signal,s));let n=new WeakRef(r);s.add(n),mf.addAbortListener(r.signal,L2(n))}return G2(e,r.signal,oae(this[es]))}[v2.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 ${v2.formatWithOptions(r,s)}`}};sae(_o);function yf(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 ff(t.headersList):new ff}}function q2(t){let e=yf({...t,body:null});return t.body!=null&&(e.body=nae(e,t.body)),e}function G2(t,e,r){let s=new _o(gf);return s[Fe]=t,s[hf]=e,s[es]=new O2(gf),F2(s[es],t.headersList),wQ(s[es],r),s}Object.defineProperties(_o.prototype,{method:wt,url:wt,headers:wt,redirect:wt,clone:wt,signal:wt,duplex:wt,destination:wt,body:wt,bodyUsed:wt,isHistoryNavigation:wt,isReloadNavigation:wt,keepalive:wt,integrity:wt,cache:wt,credentials:wt,attribute:wt,referrerPolicy:wt,referrer:wt,mode:wt,[Symbol.toStringTag]:{value:"Request",configurable:!0}});X.converters.Request=X.interfaceConverter(_o);X.converters.RequestInfo=function(t,e,r){return typeof t=="string"?X.converters.USVString(t,e,r):t instanceof _o?X.converters.Request(t,e,r):X.converters.USVString(t,e,r)};X.converters.AbortSignal=X.interfaceConverter(AbortSignal);X.converters.RequestInit=X.dictionaryConverter([{key:"method",converter:X.converters.ByteString},{key:"headers",converter:X.converters.HeadersInit},{key:"body",converter:X.nullableConverter(X.converters.BodyInit)},{key:"referrer",converter:X.converters.USVString},{key:"referrerPolicy",converter:X.converters.DOMString,allowedValues:Aae},{key:"mode",converter:X.converters.DOMString,allowedValues:pae},{key:"credentials",converter:X.converters.DOMString,allowedValues:mae},{key:"cache",converter:X.converters.DOMString,allowedValues:hae},{key:"redirect",converter:X.converters.DOMString,allowedValues:dae},{key:"integrity",converter:X.converters.DOMString},{key:"keepalive",converter:X.converters.boolean},{key:"signal",converter:X.nullableConverter(t=>X.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:X.converters.any},{key:"duplex",converter:X.converters.DOMString,allowedValues:fae},{key:"dispatcher",converter:X.converters.any}]);H2.exports={Request:_o,makeRequest:yf,fromInnerRequest:G2,cloneRequest:q2}});var KA=h((PMe,n1)=>{"use strict";var{makeNetworkError:ve,makeAppropriateNetworkError:Cf,filterResponse:bQ,makeResponse:If,fromInnerResponse:wae}=WA(),{HeadersList:z2}=Pa(),{Request:bae,cloneRequest:Qae}=Ql(),Lo=require("node:zlib"),{bytesMatch:xae,makePolicyContainer:Nae,clonePolicyContainer:Sae,requestBadPort:Rae,TAOCheck:Tae,appendRequestOriginHeader:vae,responseLocationURL:Pae,requestCurrentURL:Gn,setRequestReferrerPolicyOnRedirect:kae,tryUpgradeRequestToAPotentiallyTrustworthyURL:Dae,createOpaqueTimingInfo:RQ,appendFetchMetadata:_ae,corsCheck:Lae,crossOriginResourcePolicyCheck:Mae,determineRequestsReferrer:Oae,coarsenedSharedCurrentTime:jA,createDeferredPromise:Fae,isBlobLike:Uae,sameOrigin:SQ,isCancelled:Da,isAborted:$2,isErrorLike:qae,fullyReadBody:Gae,readableStreamClose:Hae,isomorphicEncode:Bf,urlIsLocal:zae,urlIsHttpHttpsScheme:TQ,urlHasHttpsScheme:$ae,clampAndCoarsenConnectionTimingInfo:Vae,simpleRangeHeaderValue:Yae,buildContentRange:Jae,createInflate:Wae,extractMimeType:jae}=Wr(),{kState:W2,kDispatcher:Kae}=wo(),_a=require("node:assert"),{safelyExtractBody:vQ,extractBody:V2}=sl(),{redirectStatusSet:j2,nullBodyStatus:K2,safeMethodsSet:Xae,requestBodyHeader:Zae,subresourceSet:ece}=EA(),tce=require("node:events"),{Readable:rce,pipeline:sce,finished:nce}=require("node:stream"),{addAbortListener:ice,isErrored:oce,isReadable:wf,bufferToLowerCasedHeaderName:Y2}=me(),{dataURLProcessor:ace,serializeAMimeType:cce,minimizeSupportedMimeType:lce}=Sr(),{getGlobalDispatcher:uce}=of(),{webidl:Ace}=$t(),{STATUS_CODES:dce}=require("node:http"),pce=["GET","HEAD"],mce=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",QQ,bf=class extends tce{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 hce(t){X2(t,"fetch")}function fce(t,e=void 0){Ace.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=Fae(),s;try{s=new bae(t,e)}catch(u){return r.reject(u),r.promise}let n=s[W2];if(s.signal.aborted)return xQ(r,n,null,s.signal.reason),r.promise;n.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(n.serviceWorkers="none");let o=null,a=!1,c=null;return ice(s.signal,()=>{a=!0,_a(c!=null),c.abort(s.signal.reason);let u=o?.deref();xQ(r,n,u,s.signal.reason)}),c=e1({request:n,processResponseEndOfBody:hce,processResponse:u=>{if(!a){if(u.aborted){xQ(r,n,o,c.serializedAbortReason);return}if(u.type==="error"){r.reject(new TypeError("fetch failed",{cause:u.error}));return}o=new WeakRef(wae(u,"immutable")),r.resolve(o.deref()),r=null}},dispatcher:s[Kae]}),r.promise}function X2(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],s=t.timingInfo,n=t.cacheState;TQ(r)&&s!==null&&(t.timingAllowPassed||(s=RQ({startTime:s.startTime}),n=""),s.endTime=jA(),t.timingInfo=s,Z2(s,r.href,e,globalThis,n))}var Z2=performance.markResourceTiming;function xQ(t,e,r,s){if(t&&t.reject(s),e.body!=null&&wf(e.body?.stream)&&e.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),r==null)return;let n=r[W2];n.body!=null&&wf(n.body?.stream)&&n.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}function e1({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseEndOfBody:n,processResponseConsumeBody:i,useParallelQueue:o=!1,dispatcher:a=uce()}){_a(a);let c=null,l=!1;t.client!=null&&(c=t.client.globalObject,l=t.client.crossOriginIsolatedCapability);let u=jA(l),A=RQ({startTime:u}),d={controller:new bf(a),request:t,timingInfo:A,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseConsumeBody:i,processResponseEndOfBody:n,taskDestination:c,crossOriginIsolatedCapability:l};return _a(!t.body||t.body.stream),t.window==="client"&&(t.window=t.client?.globalObject?.constructor?.name==="Window"?t.client:"no-window"),t.origin==="client"&&(t.origin=t.client.origin),t.policyContainer==="client"&&(t.client!=null?t.policyContainer=Sae(t.client.policyContainer):t.policyContainer=Nae()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,ece.has(t.destination),t1(d).catch(p=>{d.controller.terminate(p)}),d.controller}async function t1(t,e=!1){let r=t.request,s=null;if(r.localURLsOnly&&!zae(Gn(r))&&(s=ve("local URLs only")),Dae(r),Rae(r)==="blocked"&&(s=ve("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=Oae(r)),s===null&&(s=await(async()=>{let i=Gn(r);return SQ(i,r.url)&&r.responseTainting==="basic"||i.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await J2(t)):r.mode==="same-origin"?ve('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?ve('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await J2(t)):TQ(Gn(r))?(r.responseTainting="cors",await r1(t)):ve("URL scheme must be a HTTP(S) scheme")})()),e)return s;s.status!==0&&!s.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?s=bQ(s,"basic"):r.responseTainting==="cors"?s=bQ(s,"cors"):r.responseTainting==="opaque"?s=bQ(s,"opaque"):_a(!1));let n=s.status===0?s:s.internalResponse;if(n.urlList.length===0&&n.urlList.push(...r.urlList),r.timingAllowFailed||(s.timingAllowPassed=!0),s.type==="opaque"&&n.status===206&&n.rangeRequested&&!r.headers.contains("range",!0)&&(s=n=ve()),s.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||K2.includes(n.status))&&(n.body=null,t.controller.dump=!0),r.integrity){let i=a=>NQ(t,ve(a));if(r.responseTainting==="opaque"||s.body==null){i(s.error);return}let o=a=>{if(!xae(a,r.integrity)){i("integrity mismatch");return}s.body=vQ(a)[0],NQ(t,s)};await Gae(s.body,o,i)}else NQ(t,s)}function J2(t){if(Da(t)&&t.request.redirectCount===0)return Promise.resolve(Cf(t));let{request:e}=t,{protocol:r}=Gn(e);switch(r){case"about:":return Promise.resolve(ve("about scheme is not supported"));case"blob:":{QQ||(QQ=require("node:buffer").resolveObjectURL);let s=Gn(e);if(s.search.length!==0)return Promise.resolve(ve("NetworkError when attempting to fetch resource."));let n=QQ(s.toString());if(e.method!=="GET"||!Uae(n))return Promise.resolve(ve("invalid method"));let i=If(),o=n.size,a=Bf(`${o}`),c=n.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let l=e.headersList.get("range",!0),u=Yae(l,!0);if(u==="failure")return Promise.resolve(ve("failed to fetch the data URL"));let{rangeStartValue:A,rangeEndValue:d}=u;if(A===null)A=o-d,d=A+d-1;else{if(A>=o)return Promise.resolve(ve("Range start is greater than the blob's size."));(d===null||d>=o)&&(d=o-1)}let p=n.slice(A,d,c),m=V2(p);i.body=m[0];let f=Bf(`${p.size}`),y=Jae(A,d,o);i.status=206,i.statusText="Partial Content",i.headersList.set("content-length",f,!0),i.headersList.set("content-type",c,!0),i.headersList.set("content-range",y,!0)}else{let l=V2(n);i.statusText="OK",i.body=l[0],i.headersList.set("content-length",a,!0),i.headersList.set("content-type",c,!0)}return Promise.resolve(i)}case"data:":{let s=Gn(e),n=ace(s);if(n==="failure")return Promise.resolve(ve("failed to fetch the data URL"));let i=cce(n.mimeType);return Promise.resolve(If({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:vQ(n.body)[0]}))}case"file:":return Promise.resolve(ve("not implemented... yet..."));case"http:":case"https:":return r1(t).catch(s=>ve(s));default:return Promise.resolve(ve("unknown scheme"))}}function gce(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}function NQ(t,e){let r=t.timingInfo,s=()=>{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 a=e.cacheState,c=e.bodyInfo;e.timingAllowPassed||(r=RQ(r),a="");let l=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){l=e.status;let u=jae(e.headersList);u!=="failure"&&(c.contentType=lce(u))}t.request.initiatorType!=null&&Z2(r,t.request.url.href,t.request.initiatorType,globalThis,a,c,l)};let o=()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e)),t.request.initiatorType!=null&&t.controller.reportTimingSteps()};queueMicrotask(()=>o())};t.processResponse!=null&&queueMicrotask(()=>{t.processResponse(e),t.processResponse=null});let n=e.type==="error"?e:e.internalResponse??e;n.body==null?s():nce(n.body.stream,()=>{s()})}async function r1(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 s1(t),e.responseTainting==="cors"&&Lae(e,r)==="failure")return ve("cors failure");Tae(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&Mae(e.origin,e.client,e.destination,s)==="blocked"?ve("blocked"):(j2.has(s.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=ve("unexpected redirect"):e.redirect==="manual"?r=s:e.redirect==="follow"?r=await Ece(t,r):_a(!1)),r.timingInfo=n,r)}function Ece(t,e){let r=t.request,s=e.internalResponse?e.internalResponse:e,n;try{if(n=Pae(s,Gn(r).hash),n==null)return e}catch(o){return Promise.resolve(ve(o))}if(!TQ(n))return Promise.resolve(ve("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(ve("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(n.username||n.password)&&!SQ(r,n))return Promise.resolve(ve('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(n.username||n.password))return Promise.resolve(ve('URL cannot contain credentials for request mode "cors"'));if(s.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(ve());if([301,302].includes(s.status)&&r.method==="POST"||s.status===303&&!pce.includes(r.method)){r.method="GET",r.body=null;for(let o of Zae)r.headersList.delete(o)}SQ(Gn(r),n)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&(_a(r.body.source!=null),r.body=vQ(r.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=jA(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),r.urlList.push(n),kae(r,s),t1(t,!0)}async function s1(t,e=!1,r=!1){let s=t.request,n=null,i=null,o=null,a=null,c=!1;s.window==="no-window"&&s.redirect==="error"?(n=t,i=s):(i=Qae(s),n={...t},n.request=i);let l=s.credentials==="include"||s.credentials==="same-origin"&&s.responseTainting==="basic",u=i.body?i.body.length:null,A=null;if(i.body==null&&["POST","PUT"].includes(i.method)&&(A="0"),u!=null&&(A=Bf(`${u}`)),A!=null&&i.headersList.append("content-length",A,!0),u!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",Bf(i.referrer.href),!0),vae(i),_ae(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",mce),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)||($ae(Gn(i))?i.headersList.append("accept-encoding","br, gzip, deflate",!0):i.headersList.append("accept-encoding","gzip, deflate",!0)),i.headersList.delete("host",!0),a==null&&(i.cache="no-store"),i.cache!=="no-store"&&i.cache,o==null){if(i.cache==="only-if-cached")return ve("only if cached");let d=await yce(n,l,r);!Xae.has(i.method)&&d.status>=200&&d.status<=399,c&&d.status,o==null&&(o=d)}if(o.urlList=[...i.urlList],i.headersList.contains("range",!0)&&(o.rangeRequested=!0),o.requestIncludesCredentials=l,o.status===407)return s.window==="no-window"?ve():Da(t)?Cf(t):ve("proxy authentication required");if(o.status===421&&!r&&(s.body==null||s.body.source!=null)){if(Da(t))return Cf(t);t.controller.connection.destroy(),o=await s1(t,e,!0)}return o}async function yce(t,e=!1,r=!1){_a(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(m,f=!0){this.destroyed||(this.destroyed=!0,f&&this.abort?.(m??new DOMException("The operation was aborted.","AbortError")))}};let s=t.request,n=null,i=t.timingInfo;null==null&&(s.cache="no-store");let a=r?"yes":"no";s.mode;let c=null;if(s.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(s.body!=null){let m=async function*(g){Da(t)||(yield g,t.processRequestBodyChunkLength?.(g.byteLength))},f=()=>{Da(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},y=g=>{Da(t)||(g.name==="AbortError"?t.controller.abort():t.controller.terminate(g))};c=(async function*(){try{for await(let g of s.body.stream)yield*m(g);f()}catch(g){y(g)}})()}try{let{body:m,status:f,statusText:y,headersList:g,socket:E}=await p({body:c});if(E)n=If({status:f,statusText:y,headersList:g,socket:E});else{let C=m[Symbol.asyncIterator]();t.controller.next=()=>C.next(),n=If({status:f,statusText:y,headersList:g})}}catch(m){return m.name==="AbortError"?(t.controller.connection.destroy(),Cf(t,m)):ve(m)}let l=async()=>{await t.controller.resume()},u=m=>{Da(t)||t.controller.abort(m)},A=new ReadableStream({async start(m){t.controller.controller=m},async pull(m){await l(m)},async cancel(m){await u(m)},type:"bytes"});n.body={stream:A,source:null,length:null},t.controller.onAborted=d,t.controller.on("terminated",d),t.controller.resume=async()=>{for(;;){let m,f;try{let{done:g,value:E}=await t.controller.next();if($2(t))break;m=g?void 0:E}catch(g){t.controller.ended&&!i.encodedBodySize?m=void 0:(m=g,f=!0)}if(m===void 0){Hae(t.controller.controller),gce(t,n);return}if(i.decodedBodySize+=m?.byteLength??0,f){t.controller.terminate(m);return}let y=new Uint8Array(m);if(y.byteLength&&t.controller.controller.enqueue(y),oce(A)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function d(m){$2(t)?(n.aborted=!0,wf(A)&&t.controller.controller.error(t.controller.serializedAbortReason)):wf(A)&&t.controller.controller.error(new TypeError("terminated",{cause:qae(m)?m:void 0})),t.controller.connection.destroy()}return n;function p({body:m}){let f=Gn(s),y=t.controller.dispatcher;return new Promise((g,E)=>y.dispatch({path:f.pathname+f.search,origin:f.origin,method:s.method,body:y.isMockActive?s.body&&(s.body.source||s.body.stream):m,headers:s.headersList.entries,maxRedirections:0,upgrade:s.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(C){let{connection:I}=t.controller;i.finalConnectionTimingInfo=Vae(void 0,i.postRedirectStartTime,t.crossOriginIsolatedCapability),I.destroyed?C(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",C),this.abort=I.abort=C),i.finalNetworkRequestStartTime=jA(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=jA(t.crossOriginIsolatedCapability)},onHeaders(C,I,Q,P){if(C<200)return;let F="",pe=new z2;for(let ne=0;neye)return E(new Error(`too many content-encodings in response: ${U.length}, maximum allowed is ${ye}`)),!0;for(let It=U.length-1;It>=0;--It){let Ke=U[It].trim();if(Ke==="x-gzip"||Ke==="gzip")be.push(Lo.createGunzip({flush:Lo.constants.Z_SYNC_FLUSH,finishFlush:Lo.constants.Z_SYNC_FLUSH}));else if(Ke==="deflate")be.push(Wae({flush:Lo.constants.Z_SYNC_FLUSH,finishFlush:Lo.constants.Z_SYNC_FLUSH}));else if(Ke==="br")be.push(Lo.createBrotliDecompress({flush:Lo.constants.BROTLI_OPERATION_FLUSH,finishFlush:Lo.constants.BROTLI_OPERATION_FLUSH}));else{be.length=0;break}}}let z=this.onError.bind(this);return g({status:C,statusText:P,headersList:pe,body:be.length?sce(this.body,...be,ne=>{ne&&this.onError(ne)}).on("error",z):this.body.on("error",z)}),!0},onData(C){if(t.controller.dump)return;let I=C;return i.encodedBodySize+=I.byteLength,this.body.push(I)},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(C){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(C),t.controller.terminate(C),E(C)},onUpgrade(C,I,Q){if(C!==101)return;let P=new z2;for(let F=0;F{"use strict";i1.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 a1=h((DMe,o1)=>{"use strict";var{webidl:ts}=$t(),Qf=Symbol("ProgressEvent state"),kQ=class t extends Event{constructor(e,r={}){e=ts.converters.DOMString(e,"ProgressEvent constructor","type"),r=ts.converters.ProgressEventInit(r??{}),super(e,r),this[Qf]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return ts.brandCheck(this,t),this[Qf].lengthComputable}get loaded(){return ts.brandCheck(this,t),this[Qf].loaded}get total(){return ts.brandCheck(this,t),this[Qf].total}};ts.converters.ProgressEventInit=ts.dictionaryConverter([{key:"lengthComputable",converter:ts.converters.boolean,defaultValue:()=>!1},{key:"loaded",converter:ts.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:ts.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:ts.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:ts.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:ts.converters.boolean,defaultValue:()=>!1}]);o1.exports={ProgressEvent:kQ}});var l1=h((_Me,c1)=>{"use strict";function Cce(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"}}c1.exports={getEncoding:Cce}});var g1=h((LMe,f1)=>{"use strict";var{kState:xl,kError:DQ,kResult:u1,kAborted:XA,kLastProgressEventFired:_Q}=PQ(),{ProgressEvent:Ice}=a1(),{getEncoding:A1}=l1(),{serializeAMimeType:Bce,parseMIMEType:d1}=Sr(),{types:wce}=require("node:util"),{StringDecoder:p1}=require("string_decoder"),{btoa:m1}=require("node:buffer"),bce={enumerable:!0,writable:!1,configurable:!1};function Qce(t,e,r,s){if(t[xl]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[xl]="loading",t[u1]=null,t[DQ]=null;let i=e.stream().getReader(),o=[],a=i.read(),c=!0;(async()=>{for(;!t[XA];)try{let{done:l,value:u}=await a;if(c&&!t[XA]&&queueMicrotask(()=>{Mo("loadstart",t)}),c=!1,!l&&wce.isUint8Array(u))o.push(u),(t[_Q]===void 0||Date.now()-t[_Q]>=50)&&!t[XA]&&(t[_Q]=Date.now(),queueMicrotask(()=>{Mo("progress",t)})),a=i.read();else if(l){queueMicrotask(()=>{t[xl]="done";try{let A=xce(o,r,e.type,s);if(t[XA])return;t[u1]=A,Mo("load",t)}catch(A){t[DQ]=A,Mo("error",t)}t[xl]!=="loading"&&Mo("loadend",t)});break}}catch(l){if(t[XA])return;queueMicrotask(()=>{t[xl]="done",t[DQ]=l,Mo("error",t),t[xl]!=="loading"&&Mo("loadend",t)});break}})()}function Mo(t,e){let r=new Ice(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}function xce(t,e,r,s){switch(e){case"DataURL":{let n="data:",i=d1(r||"application/octet-stream");i!=="failure"&&(n+=Bce(i)),n+=";base64,";let o=new p1("latin1");for(let a of t)n+=m1(o.write(a));return n+=m1(o.end()),n}case"Text":{let n="failure";if(s&&(n=A1(s)),n==="failure"&&r){let i=d1(r);i!=="failure"&&(n=A1(i.parameters.get("charset")))}return n==="failure"&&(n="UTF-8"),Nce(t,n)}case"ArrayBuffer":return h1(t).buffer;case"BinaryString":{let n="",i=new p1("latin1");for(let o of t)n+=i.write(o);return n+=i.end(),n}}}function Nce(t,e){let r=h1(t),s=Sce(r),n=0;s!==null&&(e=s,n=s==="UTF-8"?3:2);let i=r.slice(n);return new TextDecoder(e).decode(i)}function Sce(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}function h1(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))}f1.exports={staticPropertyDescriptors:bce,readOperation:Qce,fireAProgressEvent:Mo}});var I1=h((MMe,C1)=>{"use strict";var{staticPropertyDescriptors:Nl,readOperation:xf,fireAProgressEvent:E1}=g1(),{kState:La,kError:y1,kResult:Nf,kEvents:xe,kAborted:Rce}=PQ(),{webidl:Pe}=$t(),{kEnumerableProperty:vr}=me(),un=class t extends EventTarget{constructor(){super(),this[La]="empty",this[Nf]=null,this[y1]=null,this[xe]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){Pe.brandCheck(this,t),Pe.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=Pe.converters.Blob(e,{strict:!1}),xf(this,e,"ArrayBuffer")}readAsBinaryString(e){Pe.brandCheck(this,t),Pe.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Pe.converters.Blob(e,{strict:!1}),xf(this,e,"BinaryString")}readAsText(e,r=void 0){Pe.brandCheck(this,t),Pe.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=Pe.converters.Blob(e,{strict:!1}),r!==void 0&&(r=Pe.converters.DOMString(r,"FileReader.readAsText","encoding")),xf(this,e,"Text",r)}readAsDataURL(e){Pe.brandCheck(this,t),Pe.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Pe.converters.Blob(e,{strict:!1}),xf(this,e,"DataURL")}abort(){if(this[La]==="empty"||this[La]==="done"){this[Nf]=null;return}this[La]==="loading"&&(this[La]="done",this[Nf]=null),this[Rce]=!0,E1("abort",this),this[La]!=="loading"&&E1("loadend",this)}get readyState(){switch(Pe.brandCheck(this,t),this[La]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Pe.brandCheck(this,t),this[Nf]}get error(){return Pe.brandCheck(this,t),this[y1]}get onloadend(){return Pe.brandCheck(this,t),this[xe].loadend}set onloadend(e){Pe.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 Pe.brandCheck(this,t),this[xe].error}set onerror(e){Pe.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 Pe.brandCheck(this,t),this[xe].loadstart}set onloadstart(e){Pe.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 Pe.brandCheck(this,t),this[xe].progress}set onprogress(e){Pe.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 Pe.brandCheck(this,t),this[xe].load}set onload(e){Pe.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 Pe.brandCheck(this,t),this[xe].abort}set onabort(e){Pe.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}};un.EMPTY=un.prototype.EMPTY=0;un.LOADING=un.prototype.LOADING=1;un.DONE=un.prototype.DONE=2;Object.defineProperties(un.prototype,{EMPTY:Nl,LOADING:Nl,DONE:Nl,readAsArrayBuffer:vr,readAsBinaryString:vr,readAsText:vr,readAsDataURL:vr,abort:vr,readyState:vr,result:vr,error:vr,onloadstart:vr,onprogress:vr,onload:vr,onabort:vr,onerror:vr,onloadend:vr,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(un,{EMPTY:Nl,LOADING:Nl,DONE:Nl});C1.exports={FileReader:un}});var Sf=h((OMe,B1)=>{"use strict";B1.exports={kConstruct:ze().kConstruct}});var Q1=h((FMe,b1)=>{"use strict";var Tce=require("node:assert"),{URLSerializer:w1}=Sr(),{isValidHeaderName:vce}=Wr();function Pce(t,e,r=!1){let s=w1(t,r),n=w1(e,r);return s===n}function kce(t){Tce(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),vce(r)&&e.push(r);return e}b1.exports={urlEquals:Pce,getFieldValues:kce}});var S1=h((UMe,N1)=>{"use strict";var{kConstruct:Dce}=Sf(),{urlEquals:_ce,getFieldValues:LQ}=Q1(),{kEnumerableProperty:Ma,isDisturbed:Lce}=me(),{webidl:Y}=$t(),{Response:Mce,cloneResponse:Oce,fromInnerResponse:Fce}=WA(),{Request:Vi,fromInnerRequest:Uce}=Ql(),{kState:An}=wo(),{fetching:qce}=KA(),{urlIsHttpHttpsScheme:Rf,createDeferredPromise:Sl,readAllBytes:Gce}=Wr(),MQ=require("node:assert"),Tf=class t{#e;constructor(){arguments[0]!==Dce&&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 d of e){if(d===void 0)throw Y.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(d=Y.converters.RequestInfo(d),typeof d=="string")continue;let p=d[An];if(!Rf(p.url)||p.method!=="GET")throw Y.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let d of e){let p=new Vi(d)[An];if(!Rf(p.url))throw Y.errors.exception({header:r,message:"Expected http/s scheme."});p.initiator="fetch",p.destination="subresource",n.push(p);let m=Sl();i.push(qce({request:p,processResponse(f){if(f.type==="error"||f.status===206||f.status<200||f.status>299)m.reject(Y.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(f.headersList.contains("vary")){let y=LQ(f.headersList.get("vary"));for(let g of y)if(g==="*"){m.reject(Y.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let E of i)E.abort();return}}},processResponseEndOfBody(f){if(f.aborted){m.reject(new DOMException("aborted","AbortError"));return}m.resolve(f)}})),s.push(m.promise)}let a=await Promise.all(s),c=[],l=0;for(let d of a){let p={type:"put",request:n[l],response:d};c.push(p),l++}let u=Sl(),A=null;try{this.#t(c)}catch(d){A=d}return queueMicrotask(()=>{A===null?u.resolve(void 0):u.reject(A)}),u.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 Vi?n=e[An]:n=new Vi(e)[An],!Rf(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[An];if(i.status===206)throw Y.errors.exception({header:s,message:"Got 206 status"});if(i.headersList.contains("vary")){let p=LQ(i.headersList.get("vary"));for(let m of p)if(m==="*")throw Y.errors.exception({header:s,message:"Got * vary field value"})}if(i.body&&(Lce(i.body.stream)||i.body.stream.locked))throw Y.errors.exception({header:s,message:"Response body is locked or disturbed"});let o=Oce(i),a=Sl();if(i.body!=null){let m=i.body.stream.getReader();Gce(m).then(a.resolve,a.reject)}else a.resolve(void 0);let c=[],l={type:"put",request:n,response:o};c.push(l);let u=await a.promise;o.body!=null&&(o.body.source=u);let A=Sl(),d=null;try{this.#t(c)}catch(p){d=p}return queueMicrotask(()=>{d===null?A.resolve():A.reject(d)}),A.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 Vi){if(n=e[An],n.method!=="GET"&&!r.ignoreMethod)return!1}else MQ(typeof e=="string"),n=new Vi(e)[An];let i=[],o={type:"delete",request:n,options:r};i.push(o);let a=Sl(),c=null,l;try{l=this.#t(i)}catch(u){c=u}return queueMicrotask(()=>{c===null?a.resolve(!!l?.length):a.reject(c)}),a.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 Vi){if(n=e[An],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new Vi(e)[An]);let i=Sl(),o=[];if(e===void 0)for(let a of this.#e)o.push(a[0]);else{let a=this.#r(n,r);for(let c of a)o.push(c[0])}return queueMicrotask(()=>{let a=[];for(let c of o){let l=Uce(c,new AbortController().signal,"immutable");a.push(l)}i.resolve(Object.freeze(a))}),i.promise}#t(e){let r=this.#e,s=[...r],n=[],i=[];try{for(let o of e){if(o.type!=="delete"&&o.type!=="put")throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(o.type==="delete"&&o.response!=null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#r(o.request,o.options,n).length)throw new DOMException("???","InvalidStateError");let a;if(o.type==="delete"){if(a=this.#r(o.request,o.options),a.length===0)return[];for(let c of a){let l=r.indexOf(c);MQ(l!==-1),r.splice(l,1)}}else if(o.type==="put"){if(o.response==null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let c=o.request;if(!Rf(c.url))throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(c.method!=="GET")throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(o.options!=null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});a=this.#r(o.request);for(let l of a){let u=r.indexOf(l);MQ(u!==-1),r.splice(u,1)}r.push([o.request,o.response]),n.push([o.request,o.response])}i.push([o.request,o.response])}return i}catch(o){throw this.#e.length=0,this.#e=s,o}}#r(e,r,s){let n=[],i=s??this.#e;for(let o of i){let[a,c]=o;this.#i(e,a,c,r)&&n.push(o)}return n}#i(e,r,s=null,n){let i=new URL(e.url),o=new URL(r.url);if(n?.ignoreSearch&&(o.search="",i.search=""),!_ce(i,o,!0))return!1;if(s==null||n?.ignoreVary||!s.headersList.contains("vary"))return!0;let a=LQ(s.headersList.get("vary"));for(let c of a){if(c==="*")return!1;let l=r.headersList.get(c),u=e.headersList.get(c);if(l!==u)return!1}return!0}#n(e,r,s=1/0){let n=null;if(e!==void 0)if(e instanceof Vi){if(n=e[An],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new Vi(e)[An]);let i=[];if(e===void 0)for(let a of this.#e)i.push(a[1]);else{let a=this.#r(n,r);for(let c of a)i.push(c[1])}let o=[];for(let a of i){let c=Fce(a,"immutable");if(o.push(c.clone()),o.length>=s)break}return Object.freeze(o)}};Object.defineProperties(Tf.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Ma,matchAll:Ma,add:Ma,addAll:Ma,put:Ma,delete:Ma,keys:Ma});var x1=[{key:"ignoreSearch",converter:Y.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:Y.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:Y.converters.boolean,defaultValue:()=>!1}];Y.converters.CacheQueryOptions=Y.dictionaryConverter(x1);Y.converters.MultiCacheQueryOptions=Y.dictionaryConverter([...x1,{key:"cacheName",converter:Y.converters.DOMString}]);Y.converters.Response=Y.interfaceConverter(Mce);Y.converters["sequence"]=Y.sequenceConverter(Y.converters.RequestInfo);N1.exports={Cache:Tf}});var T1=h((qMe,R1)=>{"use strict";var{kConstruct:ZA}=Sf(),{Cache:vf}=S1(),{webidl:Kt}=$t(),{kEnumerableProperty:ed}=me(),Pf=class t{#e=new Map;constructor(){arguments[0]!==ZA&&Kt.illegalConstructor(),Kt.util.markAsUncloneable(this)}async match(e,r={}){if(Kt.brandCheck(this,t),Kt.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=Kt.converters.RequestInfo(e),r=Kt.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let s=this.#e.get(r.cacheName);return await new vf(ZA,s).match(e,r)}}else for(let s of this.#e.values()){let i=await new vf(ZA,s).match(e,r);if(i!==void 0)return i}}async has(e){Kt.brandCheck(this,t);let r="CacheStorage.has";return Kt.argumentLengthCheck(arguments,1,r),e=Kt.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){Kt.brandCheck(this,t);let r="CacheStorage.open";if(Kt.argumentLengthCheck(arguments,1,r),e=Kt.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let n=this.#e.get(e);return new vf(ZA,n)}let s=[];return this.#e.set(e,s),new vf(ZA,s)}async delete(e){Kt.brandCheck(this,t);let r="CacheStorage.delete";return Kt.argumentLengthCheck(arguments,1,r),e=Kt.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return Kt.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(Pf.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:ed,has:ed,open:ed,delete:ed,keys:ed});R1.exports={CacheStorage:Pf}});var P1=h((GMe,v1)=>{"use strict";v1.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var OQ=h((HMe,M1)=>{"use strict";function Hce(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}function k1(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")}}function D1(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")}}function _1(t){for(let e=0;ee.toString().padStart(2,"0"));function L1(t){return typeof t=="number"&&(t=new Date(t)),`${$ce[t.getUTCDay()]}, ${kf[t.getUTCDate()]} ${Vce[t.getUTCMonth()]} ${t.getUTCFullYear()} ${kf[t.getUTCHours()]}:${kf[t.getUTCMinutes()]}:${kf[t.getUTCSeconds()]} GMT`}function Yce(t){if(t<0)throw new Error("Invalid cookie max-age")}function Jce(t){if(t.name.length===0)return null;k1(t.name),D1(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"&&(Yce(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(zce(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(_1(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${L1(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("; ")}M1.exports={isCTLExcludingHtab:Hce,validateCookieName:k1,validateCookiePath:_1,validateCookieValue:D1,toIMFDate:L1,stringify:Jce}});var F1=h((zMe,O1)=>{"use strict";var{maxNameValuePairSize:Wce,maxAttributeValueSize:jce}=P1(),{isCTLExcludingHtab:Kce}=OQ(),{collectASequenceOfCodePointsFast:Df}=Sr(),Xce=require("node:assert");function Zce(t){if(Kce(t))return null;let e="",r="",s="",n="";if(t.includes(";")){let i={position:0};e=Df(";",t,i),r=t.slice(i.position)}else e=t;if(!e.includes("="))n=e;else{let i={position:0};s=Df("=",e,i),n=e.slice(i.position+1)}return s=s.trim(),n=n.trim(),s.length+n.length>Wce?null:{name:s,value:n,...Rl(r)}}function Rl(t,e={}){if(t.length===0)return e;Xce(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=Df(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let s="",n="";if(r.includes("=")){let o={position:0};s=Df("=",r,o),n=r.slice(o.position+1)}else s=r;if(s=s.trim(),n=n.trim(),n.length>jce)return Rl(t,e);let i=s.toLowerCase();if(i==="expires"){let o=new Date(n);e.expires=o}else if(i==="max-age"){let o=n.charCodeAt(0);if((o<48||o>57)&&n[0]!=="-"||!/^\d+$/.test(n))return Rl(t,e);let a=Number(n);e.maxAge=a}else if(i==="domain"){let o=n;o[0]==="."&&(o=o.slice(1)),o=o.toLowerCase(),e.domain=o}else if(i==="path"){let o="";n.length===0||n[0]!=="/"?o="/":o=n,e.path=o}else if(i==="secure")e.secure=!0;else if(i==="httponly")e.httpOnly=!0;else if(i==="samesite"){let o="Default",a=n.toLowerCase();a.includes("none")&&(o="None"),a.includes("strict")&&(o="Strict"),a.includes("lax")&&(o="Lax"),e.sameSite=o}else e.unparsed??=[],e.unparsed.push(`${s}=${n}`);return Rl(t,e)}O1.exports={parseSetCookie:Zce,parseUnparsedAttributes:Rl}});var G1=h(($Me,q1)=>{"use strict";var{parseSetCookie:ele}=F1(),{stringify:tle}=OQ(),{webidl:Ee}=$t(),{Headers:_f}=Pa();function rle(t){Ee.argumentLengthCheck(arguments,1,"getCookies"),Ee.brandCheck(t,_f,{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}function sle(t,e,r){Ee.brandCheck(t,_f,{strict:!1});let s="deleteCookie";Ee.argumentLengthCheck(arguments,2,s),e=Ee.converters.DOMString(e,s,"name"),r=Ee.converters.DeleteCookieAttributes(r),U1(t,{name:e,value:"",expires:new Date(0),...r})}function nle(t){Ee.argumentLengthCheck(arguments,1,"getSetCookies"),Ee.brandCheck(t,_f,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>ele(r)):[]}function U1(t,e){Ee.argumentLengthCheck(arguments,2,"setCookie"),Ee.brandCheck(t,_f,{strict:!1}),e=Ee.converters.Cookie(e);let r=tle(e);r&&t.append("Set-Cookie",r)}Ee.converters.DeleteCookieAttributes=Ee.dictionaryConverter([{converter:Ee.nullableConverter(Ee.converters.DOMString),key:"path",defaultValue:()=>null},{converter:Ee.nullableConverter(Ee.converters.DOMString),key:"domain",defaultValue:()=>null}]);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:()=>null},{converter:Ee.nullableConverter(Ee.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:Ee.nullableConverter(Ee.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:Ee.nullableConverter(Ee.converters.DOMString),key:"path",defaultValue:()=>null},{converter:Ee.nullableConverter(Ee.converters.boolean),key:"secure",defaultValue:()=>null},{converter:Ee.nullableConverter(Ee.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:Ee.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:Ee.sequenceConverter(Ee.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);q1.exports={getCookies:rle,deleteCookie:sle,getSetCookies:nle,setCookie:U1}});var vl=h((VMe,z1)=>{"use strict";var{webidl:V}=$t(),{kEnumerableProperty:Pr}=me(),{kConstruct:H1}=ze(),{MessagePort:ile}=require("node:worker_threads"),Tl=class t extends Event{#e;constructor(e,r={}){if(e===H1){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="",o="",a=null,c=[]){return V.brandCheck(this,t),V.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:s,data:n,origin:i,lastEventId:o,source:a,ports:c})}static createFastMessageEvent(e,r){let s=new t(H1,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:ole}=Tl;delete Tl.createFastMessageEvent;var Lf=class t extends Event{#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}},Mf=class t extends Event{#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(Tl.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:Pr,origin:Pr,lastEventId:Pr,source:Pr,ports:Pr,initMessageEvent:Pr});Object.defineProperties(Lf.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:Pr,code:Pr,wasClean:Pr});Object.defineProperties(Mf.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:Pr,filename:Pr,lineno:Pr,colno:Pr,error:Pr});V.converters.MessagePort=V.interfaceConverter(ile);V.converters["sequence"]=V.sequenceConverter(V.converters.MessagePort);var FQ=[{key:"bubbles",converter:V.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:V.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:V.converters.boolean,defaultValue:()=>!1}];V.converters.MessageEventInit=V.dictionaryConverter([...FQ,{key:"data",converter:V.converters.any,defaultValue:()=>null},{key:"origin",converter:V.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:V.converters.DOMString,defaultValue:()=>""},{key:"source",converter:V.nullableConverter(V.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:V.converters["sequence"],defaultValue:()=>new Array(0)}]);V.converters.CloseEventInit=V.dictionaryConverter([...FQ,{key:"wasClean",converter:V.converters.boolean,defaultValue:()=>!1},{key:"code",converter:V.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:V.converters.USVString,defaultValue:()=>""}]);V.converters.ErrorEventInit=V.dictionaryConverter([...FQ,{key:"message",converter:V.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:V.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:V.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:V.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:V.converters.any}]);z1.exports={MessageEvent:Tl,CloseEvent:Lf,ErrorEvent:Mf,createFastMessageEvent:ole}});var Oa=h((YMe,$1)=>{"use strict";var ale="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",cle={enumerable:!0,writable:!1,configurable:!1},lle={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},ule={NOT_SENT:0,PROCESSING:1,SENT:2},Ale={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},dle=2**16-1,ple={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},mle=Buffer.allocUnsafe(0),hle={string:1,typedArray:2,arrayBuffer:3,blob:4};$1.exports={uid:ale,sentCloseFrameState:ule,staticPropertyDescriptors:cle,states:lle,opcodes:Ale,maxUnsigned16Bit:dle,parserStates:ple,emptyBuffer:mle,sendHints:hle}});var td=h((JMe,V1)=>{"use strict";V1.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 nd=h((WMe,tq)=>{"use strict";var{kReadyState:rd,kController:fle,kResponse:gle,kBinaryType:Ele,kWebSocketURL:yle}=td(),{states:sd,opcodes:Oo}=Oa(),{ErrorEvent:Cle,createFastMessageEvent:Ile}=vl(),{isUtf8:Ble}=require("node:buffer"),{collectASequenceOfCodePointsFast:wle,removeHTTPWhitespace:Y1}=Sr();function ble(t){return t[rd]===sd.CONNECTING}function Qle(t){return t[rd]===sd.OPEN}function xle(t){return t[rd]===sd.CLOSING}function Nle(t){return t[rd]===sd.CLOSED}function UQ(t,e,r=(n,i)=>new Event(n,i),s={}){let n=r(t,s);e.dispatchEvent(n)}function Sle(t,e,r){if(t[rd]!==sd.OPEN)return;let s;if(e===Oo.TEXT)try{s=eq(r)}catch{W1(t,"Received invalid UTF-8 in text frame.");return}else e===Oo.BINARY&&(t[Ele]==="blob"?s=new Blob([r]):s=Rle(r));UQ("message",t,Ile,{origin:t[yle].origin,data:s})}function Rle(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}function Tle(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}function vle(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}function W1(t,e){let{[fle]:r,[gle]:s}=t;r.abort(),s?.socket&&!s.socket.destroyed&&s.socket.destroy(),e&&UQ("error",t,(n,i)=>new Cle(n,i),{error:new Error(e),message:e})}function j1(t){return t===Oo.CLOSE||t===Oo.PING||t===Oo.PONG}function K1(t){return t===Oo.CONTINUATION}function X1(t){return t===Oo.TEXT||t===Oo.BINARY}function Ple(t){return X1(t)||K1(t)||j1(t)}function kle(t){let e={position:0},r=new Map;for(;e.position57)return!1}let e=Number.parseInt(t,10);return e>=8&&e<=15}var Z1=typeof process.versions.icu=="string",J1=Z1?new TextDecoder("utf-8",{fatal:!0}):void 0,eq=Z1?J1.decode.bind(J1):function(t){if(Ble(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};tq.exports={isConnecting:ble,isEstablished:Qle,isClosing:xle,isClosed:Nle,fireEvent:UQ,isValidSubprotocol:Tle,isValidStatusCode:vle,failWebsocketConnection:W1,websocketMessageReceived:Sle,utf8Decode:eq,isControlFrame:j1,isContinuationFrame:K1,isTextBinaryFrame:X1,isValidOpcode:Ple,parseExtensions:kle,isValidClientWindowBits:Dle}});var Ff=h((jMe,rq)=>{"use strict";var{maxUnsigned16Bit:_le}=Oa(),Of=16386,qQ,id=null,Pl=Of;try{qQ=require("node:crypto")}catch{qQ={randomFillSync:function(e,r,s){for(let n=0;n_le?(o+=8,i=127):n>125&&(o+=2,i=126);let a=Buffer.allocUnsafe(n+o);a[0]=a[1]=0,a[0]|=128,a[0]=(a[0]&240)+e;a[o-4]=s[0],a[o-3]=s[1],a[o-2]=s[2],a[o-1]=s[3],a[1]=i,i===126?a.writeUInt16BE(n,2):i===127&&(a[2]=a[3]=0,a.writeUIntBE(n,4,6)),a[1]|=128;for(let c=0;c{"use strict";var{uid:Mle,states:od,sentCloseFrameState:Uf,emptyBuffer:Ole,opcodes:Fle}=Oa(),{kReadyState:ad,kSentClose:qf,kByteParser:nq,kReceivedClose:sq,kResponse:iq}=td(),{fireEvent:Ule,failWebsocketConnection:Fo,isClosing:qle,isClosed:Gle,isEstablished:Hle,parseExtensions:zle}=nd(),{channels:kl}=zc(),{CloseEvent:$le}=vl(),{makeRequest:Vle}=Ql(),{fetching:Yle}=KA(),{Headers:Jle,getHeadersList:Wle}=Pa(),{getDecodeSplit:jle}=Wr(),{WebsocketFrameSend:Kle}=Ff(),HQ;try{HQ=require("node:crypto")}catch{}function Xle(t,e,r,s,n,i){let o=t;o.protocol=t.protocol==="ws:"?"http:":"https:";let a=Vle({urlList:[o],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let A=Wle(new Jle(i.headers));a.headersList=A}let c=HQ.randomBytes(16).toString("base64");a.headersList.append("sec-websocket-key",c),a.headersList.append("sec-websocket-version","13");for(let A of e)a.headersList.append("sec-websocket-protocol",A);return a.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits"),Yle({request:a,useParallelQueue:!0,dispatcher:i.dispatcher,processResponse(A){if(A.type==="error"||A.status!==101){Fo(s,"Received network error or non-101 status code.");return}if(e.length!==0&&!A.headersList.get("Sec-WebSocket-Protocol")){Fo(s,"Server did not respond with sent protocols.");return}if(A.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Fo(s,'Server did not set Upgrade header to "websocket".');return}if(A.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Fo(s,'Server did not set Connection header to "upgrade".');return}let d=A.headersList.get("Sec-WebSocket-Accept"),p=HQ.createHash("sha1").update(c+Mle).digest("base64");if(d!==p){Fo(s,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let m=A.headersList.get("Sec-WebSocket-Extensions"),f;if(m!==null&&(f=zle(m),!f.has("permessage-deflate"))){Fo(s,"Sec-WebSocket-Extensions header does not match.");return}let y=A.headersList.get("Sec-WebSocket-Protocol");if(y!==null&&!jle("sec-websocket-protocol",a.headersList).includes(y)){Fo(s,"Protocol was not set in the opening handshake.");return}A.socket.on("data",oq),A.socket.on("close",aq),A.socket.on("error",cq),kl.open.hasSubscribers&&kl.open.publish({address:A.socket.address(),protocol:y,extensions:m}),n(A,f)}})}function Zle(t,e,r,s){if(!(qle(t)||Gle(t)))if(!Hle(t))Fo(t,"Connection was closed before it was established."),t[ad]=od.CLOSING;else if(t[qf]===Uf.NOT_SENT){t[qf]=Uf.PROCESSING;let n=new Kle;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=Ole,t[iq].socket.write(n.createFrame(Fle.CLOSE)),t[qf]=Uf.SENT,t[ad]=od.CLOSING}else t[ad]=od.CLOSING}function oq(t){this.ws[nq].write(t)||this.pause()}function aq(){let{ws:t}=this,{[iq]:e}=t;e.socket.off("data",oq),e.socket.off("close",aq),e.socket.off("error",cq);let r=t[qf]===Uf.SENT&&t[sq],s=1005,n="",i=t[nq].closingInfo;i&&!i.error?(s=i.code??1005,n=i.reason):t[sq]||(s=1006),t[ad]=od.CLOSED,Ule("close",t,(o,a)=>new $le(o,a),{wasClean:r,code:s,reason:n}),kl.close.hasSubscribers&&kl.close.publish({websocket:t,code:s,reason:n})}function cq(t){let{ws:e}=this;e[ad]=od.CLOSING,kl.socketError.hasSubscribers&&kl.socketError.publish(t),this.destroy()}lq.exports={establishWebSocketConnection:Xle,closeWebSocketConnection:Zle}});var Aq=h((XMe,uq)=>{"use strict";var{createInflateRaw:eue,Z_DEFAULT_WINDOWBITS:tue}=require("node:zlib"),{isValidClientWindowBits:rue}=nd(),{MessageSizeExceededError:sue}=Qe(),nue=Buffer.from([0,0,255,255]),Gf=Symbol("kBuffer"),cd=Symbol("kLength"),$Q=class{#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=tue;if(this.#t.serverMaxWindowBits){if(!rue(this.#t.serverMaxWindowBits)){s(new Error("Invalid server_max_window_bits"));return}n=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=eue({windowBits:n})}catch(i){s(i);return}this.#e[Gf]=[],this.#e[cd]=0,this.#e.on("data",i=>{if(this.#e[cd]+=i.length,this.#r>0&&this.#e[cd]>this.#r){s(new sue),this.#e.removeAllListeners(),this.#e=null;return}this.#e[Gf].push(i)}),this.#e.on("error",i=>{this.#e=null,s(i)})}this.#e.write(e),r&&this.#e.write(nue),this.#e.flush(()=>{if(!this.#e)return;let n=Buffer.concat(this.#e[Gf],this.#e[cd]);this.#e[Gf].length=0,this.#e[cd]=0,s(null,n)})}};uq.exports={PerMessageDeflate:$Q}});var Iq=h((ZMe,Cq)=>{"use strict";var{Writable:iue}=require("node:stream"),oue=require("node:assert"),{parserStates:kr,opcodes:Dl,states:aue,emptyBuffer:dq,sentCloseFrameState:pq}=Oa(),{kReadyState:cue,kSentClose:mq,kResponse:hq,kReceivedClose:fq}=td(),{channels:Hf}=zc(),{isValidStatusCode:lue,isValidOpcode:uue,failWebsocketConnection:Xt,websocketMessageReceived:gq,utf8Decode:Aue,isControlFrame:VQ,isTextBinaryFrame:YQ,isContinuationFrame:due}=nd(),{WebsocketFrameSend:Eq}=Ff(),{closeWebSocketConnection:pue}=zQ(),{PerMessageDeflate:mue}=Aq(),{MessageSizeExceededError:yq}=Qe(),JQ=class extends iue{#e=[];#t=0;#r=0;#i=!1;#n=kr.INFO;#s={};#o=[];#a;#c;constructor(e,r,s={}){super(),this.ws=e,this.#a=r??new Map,this.#c=s.maxPayloadSize??0,this.#a.has("permessage-deflate")&&this.#a.set("permessage-deflate",new mue(r,s))}_write(e,r,s){this.#e.push(e),this.#r+=e.length,this.#i=!0,this.run(s)}#l(){return this.#c>0&&!VQ(this.#s.opcode)&&this.#s.payloadLength>this.#c?(Xt(this.ws,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#i;)if(this.#n===kr.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,o=!s&&n!==Dl.CONTINUATION,a=r[1]&127,c=r[0]&64,l=r[0]&32,u=r[0]&16;if(!uue(n))return Xt(this.ws,"Invalid opcode received"),e();if(i)return Xt(this.ws,"Frame cannot be masked"),e();if(c!==0&&!this.#a.has("permessage-deflate")){Xt(this.ws,"Expected RSV1 to be clear.");return}if(l!==0||u!==0){Xt(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(o&&!YQ(n)){Xt(this.ws,"Invalid frame type was fragmented.");return}if(YQ(n)&&this.#o.length>0){Xt(this.ws,"Expected continuation frame");return}if(this.#s.fragmented&&o){Xt(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((a>125||o)&&VQ(n)){Xt(this.ws,"Control frame either too large or fragmented");return}if(due(n)&&this.#o.length===0&&!this.#s.compressed){Xt(this.ws,"Unexpected continuation frame");return}if(a<=125){if(this.#s.payloadLength=a,this.#n=kr.READ_DATA,!this.#l())return}else a===126?this.#n=kr.PAYLOADLENGTH_16:a===127&&(this.#n=kr.PAYLOADLENGTH_64);YQ(n)&&(this.#s.binaryType=n,this.#s.compressed=c!==0),this.#s.opcode=n,this.#s.masked=i,this.#s.fin=s,this.#s.fragmented=o}else if(this.#n===kr.PAYLOADLENGTH_16){if(this.#r<2)return e();let r=this.consume(2);if(this.#s.payloadLength=r.readUInt16BE(0),this.#n=kr.READ_DATA,!this.#l())return}else if(this.#n===kr.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){Xt(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#s.payloadLength=n,this.#n=kr.READ_DATA,!this.#l())return}else if(this.#n===kr.READ_DATA){if(this.#r{if(s){Xt(this.ws,s.message);return}if(this.writeFragments(n),this.#c>0&&this.#t>this.#c){Xt(this.ws,new yq().message);return}if(!this.#s.fin){this.#n=kr.INFO,this.#i=!0,this.run(e);return}gq(this.ws,this.#s.binaryType,this.consumeFragments()),this.#i=!0,this.#n=kr.INFO,this.run(e)}),this.#i=!1;break}else{if(this.writeFragments(r),this.#c>0&&this.#t>this.#c){Xt(this.ws,new yq().message);return}!this.#s.fragmented&&this.#s.fin&&gq(this.ws,this.#s.binaryType,this.consumeFragments()),this.#n=kr.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){this.#t+=e.length,this.#o.push(e)}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){oue(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!lue(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=Aue(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===Dl.CLOSE){if(s===1)return Xt(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 pue(this.ws,n,i,i.length),Xt(this.ws,i),!1}if(this.ws[mq]!==pq.SENT){let n=dq;this.#s.closeInfo.code&&(n=Buffer.allocUnsafe(2),n.writeUInt16BE(this.#s.closeInfo.code,0));let i=new Eq(n);this.ws[hq].socket.write(i.createFrame(Dl.CLOSE),o=>{o||(this.ws[mq]=pq.SENT)})}return this.ws[cue]=aue.CLOSING,this.ws[fq]=!0,!1}else if(r===Dl.PING){if(!this.ws[fq]){let n=new Eq(e);this.ws[hq].socket.write(n.createFrame(Dl.PONG)),Hf.ping.hasSubscribers&&Hf.ping.publish({payload:e})}}else r===Dl.PONG&&Hf.pong.hasSubscribers&&Hf.pong.publish({payload:e});return!0}get closingInfo(){return this.#s.closeInfo}};Cq.exports={ByteParser:JQ}});var xq=h((eOe,Qq)=>{"use strict";var{WebsocketFrameSend:hue}=Ff(),{opcodes:Bq,sendHints:_l}=Oa(),fue=sb(),wq=Buffer[Symbol.species],WQ=class{#e=new fue;#t=!1;#r;constructor(e){this.#r=e}add(e,r,s){if(s!==_l.blob){let i=bq(e,s);if(!this.#t)this.#r.write(i,r);else{let o={promise:null,callback:r,frame:i};this.#e.push(o)}return}let n={promise:e.arrayBuffer().then(i=>{n.promise=null,n.frame=bq(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 bq(t,e){return new hue(gue(t,e)).createFrame(e===_l.string?Bq.TEXT:Bq.BINARY)}function gue(t,e){switch(e){case _l.string:return Buffer.from(t);case _l.arrayBuffer:case _l.blob:return new wq(t);case _l.typedArray:return new wq(t.buffer,t.byteOffset,t.byteLength)}}Qq.exports={SendQueue:WQ}});var Lq=h((tOe,_q)=>{"use strict";var{webidl:ee}=$t(),{URLSerializer:Eue}=Sr(),{environmentSettingsObject:Nq}=Wr(),{staticPropertyDescriptors:Uo,states:ld,sentCloseFrameState:yue,sendHints:zf}=Oa(),{kWebSocketURL:Sq,kReadyState:jQ,kController:Rq,kBinaryType:$f,kResponse:Tq,kSentClose:Cue,kByteParser:Iue}=td(),{isConnecting:Bue,isEstablished:wue,isClosing:bue,isValidSubprotocol:Que,fireEvent:vq}=nd(),{establishWebSocketConnection:xue,closeWebSocketConnection:Pq}=zQ(),{ByteParser:Nue}=Iq(),{kEnumerableProperty:Ns,isBlobLike:kq}=me(),{getGlobalDispatcher:Sue}=of(),{types:Dq}=require("node:util"),{ErrorEvent:Rue,CloseEvent:Tue}=vl(),{SendQueue:vue}=xq(),rs=class t extends EventTarget{#e={open:null,error:null,close:null,message:null};#t=0;#r="";#i="";#n;constructor(e,r=[]){super(),ee.util.markAsUncloneable(this);let s="WebSocket constructor";ee.argumentLengthCheck(arguments,1,s);let n=ee.converters["DOMString or sequence or WebSocketInit"](r,s,"options");e=ee.converters.USVString(e,s,"url"),r=n.protocols;let i=Nq.settingsObject.baseUrl,o;try{o=new URL(e,i)}catch(c){throw new DOMException(c,"SyntaxError")}if(o.protocol==="http:"?o.protocol="ws:":o.protocol==="https:"&&(o.protocol="wss:"),o.protocol!=="ws:"&&o.protocol!=="wss:")throw new DOMException(`Expected a ws: or wss: protocol, got ${o.protocol}`,"SyntaxError");if(o.hash||o.href.endsWith("#"))throw new DOMException("Got fragment","SyntaxError");if(typeof r=="string"&&(r=[r]),r.length!==new Set(r.map(c=>c.toLowerCase())).size)throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(r.length>0&&!r.every(c=>Que(c)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[Sq]=new URL(o.href);let a=Nq.settingsObject;this[Rq]=xue(o,r,a,this,(c,l)=>this.#s(c,l),n),this[jQ]=t.CONNECTING,this[Cue]=yue.NOT_SENT,this[$f]="blob"}close(e=void 0,r=void 0){ee.brandCheck(this,t);let s="WebSocket.close";if(e!==void 0&&(e=ee.converters["unsigned short"](e,s,"code",{clamp:!0})),r!==void 0&&(r=ee.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");Pq(this,e,r,n)}send(e){ee.brandCheck(this,t);let r="WebSocket.send";if(ee.argumentLengthCheck(arguments,1,r),e=ee.converters.WebSocketSendData(e,r,"data"),Bue(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!wue(this)||bue(this)))if(typeof e=="string"){let s=Buffer.byteLength(e);this.#t+=s,this.#n.add(e,()=>{this.#t-=s},zf.string)}else Dq.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)):kq(e)&&(this.#t+=e.size,this.#n.add(e,()=>{this.#t-=e.size},zf.blob))}get readyState(){return ee.brandCheck(this,t),this[jQ]}get bufferedAmount(){return ee.brandCheck(this,t),this.#t}get url(){return ee.brandCheck(this,t),Eue(this[Sq])}get extensions(){return ee.brandCheck(this,t),this.#i}get protocol(){return ee.brandCheck(this,t),this.#r}get onopen(){return ee.brandCheck(this,t),this.#e.open}set onopen(e){ee.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 ee.brandCheck(this,t),this.#e.error}set onerror(e){ee.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 ee.brandCheck(this,t),this.#e.close}set onclose(e){ee.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 ee.brandCheck(this,t),this.#e.message}set onmessage(e){ee.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 ee.brandCheck(this,t),this[$f]}set binaryType(e){ee.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[$f]="blob":this[$f]=e}#s(e,r){this[Tq]=e;let s=this[Rq]?.dispatcher?.webSocketOptions?.maxPayloadSize,n=new Nue(this,r,{maxPayloadSize:s});n.on("drain",Pue),n.on("error",kue.bind(this)),e.socket.ws=this,this[Iue]=n,this.#n=new vue(e.socket),this[jQ]=ld.OPEN;let i=e.headersList.get("sec-websocket-extensions");i!==null&&(this.#i=i);let o=e.headersList.get("sec-websocket-protocol");o!==null&&(this.#r=o),vq("open",this)}};rs.CONNECTING=rs.prototype.CONNECTING=ld.CONNECTING;rs.OPEN=rs.prototype.OPEN=ld.OPEN;rs.CLOSING=rs.prototype.CLOSING=ld.CLOSING;rs.CLOSED=rs.prototype.CLOSED=ld.CLOSED;Object.defineProperties(rs.prototype,{CONNECTING:Uo,OPEN:Uo,CLOSING:Uo,CLOSED:Uo,url:Ns,readyState:Ns,bufferedAmount:Ns,onopen:Ns,onerror:Ns,onclose:Ns,close:Ns,onmessage:Ns,binaryType:Ns,send:Ns,extensions:Ns,protocol:Ns,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(rs,{CONNECTING:Uo,OPEN:Uo,CLOSING:Uo,CLOSED:Uo});ee.converters["sequence"]=ee.sequenceConverter(ee.converters.DOMString);ee.converters["DOMString or sequence"]=function(t,e,r){return ee.util.Type(t)==="Object"&&Symbol.iterator in t?ee.converters["sequence"](t):ee.converters.DOMString(t,e,r)};ee.converters.WebSocketInit=ee.dictionaryConverter([{key:"protocols",converter:ee.converters["DOMString or sequence"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:ee.converters.any,defaultValue:()=>Sue()},{key:"headers",converter:ee.nullableConverter(ee.converters.HeadersInit)}]);ee.converters["DOMString or sequence or WebSocketInit"]=function(t){return ee.util.Type(t)==="Object"&&!(Symbol.iterator in t)?ee.converters.WebSocketInit(t):{protocols:ee.converters["DOMString or sequence"](t)}};ee.converters.WebSocketSendData=function(t){if(ee.util.Type(t)==="Object"){if(kq(t))return ee.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||Dq.isArrayBuffer(t))return ee.converters.BufferSource(t)}return ee.converters.USVString(t)};function Pue(){this.ws[Tq].socket.resume()}function kue(t){let e,r;t instanceof Tue?(e=t.reason,r=t.code):e=t.message,vq("error",this,()=>new Rue("error",{error:t,message:e})),Pq(this,r)}_q.exports={WebSocket:rs}});var KQ=h((rOe,Mq)=>{"use strict";function Due(t){return t.indexOf("\0")===-1}function _ue(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}function Lue(t){return new Promise(e=>{setTimeout(e,t).unref()})}Mq.exports={isValidLastEventId:Due,isASCIINumber:_ue,delay:Lue}});var qq=h((sOe,Uq)=>{"use strict";var{Transform:Mue}=require("node:stream"),{isASCIINumber:Oq,isValidLastEventId:Fq}=KQ(),Yi=[239,187,191],XQ=10,Vf=13,Oue=58,Fue=32,ZQ=class extends Mue{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]===Yi[0]){s();return}this.checkBOM=!1,s();return;case 2:if(this.buffer[0]===Yi[0]&&this.buffer[1]===Yi[1]){s();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===Yi[0]&&this.buffer[1]===Yi[1]&&this.buffer[2]===Yi[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,s();return}this.checkBOM=!1;break;default:this.buffer[0]===Yi[0]&&this.buffer[1]===Yi[1]&&this.buffer[2]===Yi[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos0&&(r[n]=i);break}}processEvent(e){e.retry&&Oq(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&Fq(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}}};Uq.exports={EventSourceStream:ZQ}});var Wq=h((nOe,Jq)=>{"use strict";var{pipeline:Uue}=require("node:stream"),{fetching:que}=KA(),{makeRequest:Gue}=Ql(),{webidl:Ji}=$t(),{EventSourceStream:Hue}=qq(),{parseMIMEType:zue}=Sr(),{createFastMessageEvent:$ue}=vl(),{isNetworkError:Gq}=WA(),{delay:Vue}=KQ(),{kEnumerableProperty:Fa}=me(),{environmentSettingsObject:Hq}=Wr(),zq=!1,$q=3e3,ud=0,Vq=1,Ad=2,Yue="anonymous",Jue="use-credentials",Ll=class t extends EventTarget{#e={open:null,error:null,message:null};#t=null;#r=!1;#i=ud;#n=null;#s=null;#o;#a;constructor(e,r={}){super(),Ji.util.markAsUncloneable(this);let s="EventSource constructor";Ji.argumentLengthCheck(arguments,1,s),zq||(zq=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Ji.converters.USVString(e,s,"url"),r=Ji.converters.EventSourceInitDict(r,s,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:$q};let n=Hq,i;try{i=new URL(e,n.settingsObject.baseUrl),this.#a.origin=i.origin}catch(c){throw new DOMException(c,"SyntaxError")}this.#t=i.href;let o=Yue;r.withCredentials&&(o=Jue,this.#r=!0);let a={redirect:"follow",keepalive:!0,mode:"cors",credentials:o==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};a.client=Hq.settingsObject,a.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],a.cache="no-store",a.initiator="other",a.urlList=[new URL(this.#t)],this.#n=Gue(a),this.#c()}get readyState(){return this.#i}get url(){return this.#t}get withCredentials(){return this.#r}#c(){if(this.#i===Ad)return;this.#i=ud;let e={request:this.#n,dispatcher:this.#o},r=s=>{Gq(s)&&(this.dispatchEvent(new Event("error")),this.close()),this.#l()};e.processResponseEndOfBody=r,e.processResponse=s=>{if(Gq(s))if(s.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#l();return}let n=s.headersList.get("content-type",!0),i=n!==null?zue(n):"failure",o=i!=="failure"&&i.essence==="text/event-stream";if(s.status!==200||o===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#i=Vq,this.dispatchEvent(new Event("open")),this.#a.origin=s.urlList[s.urlList.length-1].origin;let a=new Hue({eventSourceSettings:this.#a,push:c=>{this.dispatchEvent($ue(c.type,c.options))}});Uue(s.body.stream,a,c=>{c?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=que(e)}async#l(){this.#i!==Ad&&(this.#i=ud,this.dispatchEvent(new Event("error")),await Vue(this.#a.reconnectionTime),this.#i===ud&&(this.#a.lastEventId.length&&this.#n.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){Ji.brandCheck(this,t),this.#i!==Ad&&(this.#i=Ad,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}},Yq={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:ud,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:Vq,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:Ad,writable:!1}};Object.defineProperties(Ll,Yq);Object.defineProperties(Ll.prototype,Yq);Object.defineProperties(Ll.prototype,{close:Fa,onerror:Fa,onmessage:Fa,onopen:Fa,readyState:Fa,url:Fa,withCredentials:Fa});Ji.converters.EventSourceInitDict=Ji.dictionaryConverter([{key:"withCredentials",converter:Ji.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:Ji.converters.any}]);Jq.exports={EventSource:Ll,defaultReconnectionTime:$q}});var pd=h((iOe,Z)=>{"use strict";var Wue=ul(),jq=hA(),jue=Al(),Kue=YO(),Xue=dl(),Zue=wb(),eAe=gF(),tAe=wF(),Kq=Qe(),Jf=me(),{InvalidArgumentError:Yf}=Kq,Ml=lU(),rAe=gA(),sAe=nQ(),nAe=$U(),iAe=aQ(),oAe=$b(),aAe=Wh(),{getGlobalDispatcher:Xq,setGlobalDispatcher:cAe}=of(),lAe=af(),uAe=Oh(),AAe=Fh();Object.assign(jq.prototype,Ml);Z.exports.Dispatcher=jq;Z.exports.Client=Wue;Z.exports.Pool=jue;Z.exports.BalancedPool=Kue;Z.exports.Agent=Xue;Z.exports.ProxyAgent=Zue;Z.exports.EnvHttpProxyAgent=eAe;Z.exports.RetryAgent=tAe;Z.exports.RetryHandler=aAe;Z.exports.DecoratorHandler=lAe;Z.exports.RedirectHandler=uAe;Z.exports.createRedirectInterceptor=AAe;Z.exports.interceptors={redirect:XU(),retry:e2(),dump:r2(),dns:i2()};Z.exports.buildConnector=rAe;Z.exports.errors=Kq;Z.exports.util={parseHeaders:Jf.parseHeaders,headerNameToString:Jf.headerNameToString};function dd(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 Yf("invalid url");if(r!=null&&typeof r!="object")throw new Yf("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new Yf("invalid opts.path");let o=r.path;r.path.startsWith("/")||(o=`/${o}`),e=new URL(Jf.parseOrigin(e).origin+o)}else r||(r=typeof e=="object"?e:{}),e=Jf.parseURL(e);let{agent:n,dispatcher:i=Xq()}=r;if(n)throw new Yf("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)}}Z.exports.setGlobalDispatcher=cAe;Z.exports.getGlobalDispatcher=Xq;var dAe=KA().fetch;Z.exports.fetch=async function(e,r=void 0){try{return await dAe(e,r)}catch(s){throw s&&typeof s=="object"&&Error.captureStackTrace(s),s}};Z.exports.Headers=Pa().Headers;Z.exports.Response=WA().Response;Z.exports.Request=Ql().Request;Z.exports.FormData=bA().FormData;Z.exports.File=globalThis.File??require("node:buffer").File;Z.exports.FileReader=I1().FileReader;var{setGlobalOrigin:pAe,getGlobalOrigin:mAe}=bw();Z.exports.setGlobalOrigin=pAe;Z.exports.getGlobalOrigin=mAe;var{CacheStorage:hAe}=T1(),{kConstruct:fAe}=Sf();Z.exports.caches=new hAe(fAe);var{deleteCookie:gAe,getCookies:EAe,getSetCookies:yAe,setCookie:CAe}=G1();Z.exports.deleteCookie=gAe;Z.exports.getCookies=EAe;Z.exports.getSetCookies=yAe;Z.exports.setCookie=CAe;var{parseMIMEType:IAe,serializeAMimeType:BAe}=Sr();Z.exports.parseMIMEType=IAe;Z.exports.serializeAMimeType=BAe;var{CloseEvent:wAe,ErrorEvent:bAe,MessageEvent:QAe}=vl();Z.exports.WebSocket=Lq().WebSocket;Z.exports.CloseEvent=wAe;Z.exports.ErrorEvent=bAe;Z.exports.MessageEvent=QAe;Z.exports.request=dd(Ml.request);Z.exports.stream=dd(Ml.stream);Z.exports.pipeline=dd(Ml.pipeline);Z.exports.connect=dd(Ml.connect);Z.exports.upgrade=dd(Ml.upgrade);Z.exports.MockClient=sAe;Z.exports.MockPool=iAe;Z.exports.MockAgent=nAe;Z.exports.mockErrors=oAe;var{EventSource:xAe}=Wq();Z.exports.EventSource=xAe});var Id=h((dFe,vG)=>{"use strict";var ZAe="2.0.0",ede=Number.MAX_SAFE_INTEGER||9007199254740991,tde=16,rde=250,sde=["major","premajor","minor","preminor","patch","prepatch","prerelease"];vG.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:tde,MAX_SAFE_BUILD_LENGTH:rde,MAX_SAFE_INTEGER:ede,RELEASE_TYPES:sde,SEMVER_SPEC_VERSION:ZAe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Bd=h((pFe,PG)=>{"use strict";var nde=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};PG.exports=nde});var Hl=h((Vn,kG)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:wx,MAX_SAFE_BUILD_LENGTH:ide,MAX_LENGTH:ode}=Id(),ade=Bd();Vn=kG.exports={};var cde=Vn.re=[],lde=Vn.safeRe=[],k=Vn.src=[],ude=Vn.safeSrc=[],D=Vn.t={},Ade=0,bx="[a-zA-Z0-9-]",dde=[["\\s",1],["\\d",ode],[bx,ide]],pde=t=>{for(let[e,r]of dde)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},ie=(t,e,r)=>{let s=pde(e),n=Ade++;ade(t,n,e),D[t]=n,k[n]=e,ude[n]=s,cde[n]=new RegExp(e,r?"g":void 0),lde[n]=new RegExp(s,r?"g":void 0)};ie("NUMERICIDENTIFIER","0|[1-9]\\d*");ie("NUMERICIDENTIFIERLOOSE","\\d+");ie("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${bx}*`);ie("MAINVERSION",`(${k[D.NUMERICIDENTIFIER]})\\.(${k[D.NUMERICIDENTIFIER]})\\.(${k[D.NUMERICIDENTIFIER]})`);ie("MAINVERSIONLOOSE",`(${k[D.NUMERICIDENTIFIERLOOSE]})\\.(${k[D.NUMERICIDENTIFIERLOOSE]})\\.(${k[D.NUMERICIDENTIFIERLOOSE]})`);ie("PRERELEASEIDENTIFIER",`(?:${k[D.NONNUMERICIDENTIFIER]}|${k[D.NUMERICIDENTIFIER]})`);ie("PRERELEASEIDENTIFIERLOOSE",`(?:${k[D.NONNUMERICIDENTIFIER]}|${k[D.NUMERICIDENTIFIERLOOSE]})`);ie("PRERELEASE",`(?:-(${k[D.PRERELEASEIDENTIFIER]}(?:\\.${k[D.PRERELEASEIDENTIFIER]})*))`);ie("PRERELEASELOOSE",`(?:-?(${k[D.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${k[D.PRERELEASEIDENTIFIERLOOSE]})*))`);ie("BUILDIDENTIFIER",`${bx}+`);ie("BUILD",`(?:\\+(${k[D.BUILDIDENTIFIER]}(?:\\.${k[D.BUILDIDENTIFIER]})*))`);ie("FULLPLAIN",`v?${k[D.MAINVERSION]}${k[D.PRERELEASE]}?${k[D.BUILD]}?`);ie("FULL",`^${k[D.FULLPLAIN]}$`);ie("LOOSEPLAIN",`[v=\\s]*${k[D.MAINVERSIONLOOSE]}${k[D.PRERELEASELOOSE]}?${k[D.BUILD]}?`);ie("LOOSE",`^${k[D.LOOSEPLAIN]}$`);ie("GTLT","((?:<|>)?=?)");ie("XRANGEIDENTIFIERLOOSE",`${k[D.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ie("XRANGEIDENTIFIER",`${k[D.NUMERICIDENTIFIER]}|x|X|\\*`);ie("XRANGEPLAIN",`[v=\\s]*(${k[D.XRANGEIDENTIFIER]})(?:\\.(${k[D.XRANGEIDENTIFIER]})(?:\\.(${k[D.XRANGEIDENTIFIER]})(?:${k[D.PRERELEASE]})?${k[D.BUILD]}?)?)?`);ie("XRANGEPLAINLOOSE",`[v=\\s]*(${k[D.XRANGEIDENTIFIERLOOSE]})(?:\\.(${k[D.XRANGEIDENTIFIERLOOSE]})(?:\\.(${k[D.XRANGEIDENTIFIERLOOSE]})(?:${k[D.PRERELEASELOOSE]})?${k[D.BUILD]}?)?)?`);ie("XRANGE",`^${k[D.GTLT]}\\s*${k[D.XRANGEPLAIN]}$`);ie("XRANGELOOSE",`^${k[D.GTLT]}\\s*${k[D.XRANGEPLAINLOOSE]}$`);ie("COERCEPLAIN",`(^|[^\\d])(\\d{1,${wx}})(?:\\.(\\d{1,${wx}}))?(?:\\.(\\d{1,${wx}}))?`);ie("COERCE",`${k[D.COERCEPLAIN]}(?:$|[^\\d])`);ie("COERCEFULL",k[D.COERCEPLAIN]+`(?:${k[D.PRERELEASE]})?(?:${k[D.BUILD]})?(?:$|[^\\d])`);ie("COERCERTL",k[D.COERCE],!0);ie("COERCERTLFULL",k[D.COERCEFULL],!0);ie("LONETILDE","(?:~>?)");ie("TILDETRIM",`(\\s*)${k[D.LONETILDE]}\\s+`,!0);Vn.tildeTrimReplace="$1~";ie("TILDE",`^${k[D.LONETILDE]}${k[D.XRANGEPLAIN]}$`);ie("TILDELOOSE",`^${k[D.LONETILDE]}${k[D.XRANGEPLAINLOOSE]}$`);ie("LONECARET","(?:\\^)");ie("CARETTRIM",`(\\s*)${k[D.LONECARET]}\\s+`,!0);Vn.caretTrimReplace="$1^";ie("CARET",`^${k[D.LONECARET]}${k[D.XRANGEPLAIN]}$`);ie("CARETLOOSE",`^${k[D.LONECARET]}${k[D.XRANGEPLAINLOOSE]}$`);ie("COMPARATORLOOSE",`^${k[D.GTLT]}\\s*(${k[D.LOOSEPLAIN]})$|^$`);ie("COMPARATOR",`^${k[D.GTLT]}\\s*(${k[D.FULLPLAIN]})$|^$`);ie("COMPARATORTRIM",`(\\s*)${k[D.GTLT]}\\s*(${k[D.LOOSEPLAIN]}|${k[D.XRANGEPLAIN]})`,!0);Vn.comparatorTrimReplace="$1$2$3";ie("HYPHENRANGE",`^\\s*(${k[D.XRANGEPLAIN]})\\s+-\\s+(${k[D.XRANGEPLAIN]})\\s*$`);ie("HYPHENRANGELOOSE",`^\\s*(${k[D.XRANGEPLAINLOOSE]})\\s+-\\s+(${k[D.XRANGEPLAINLOOSE]})\\s*$`);ie("STAR","(<|>)?=?\\s*\\*");ie("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ie("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var eg=h((mFe,DG)=>{"use strict";var mde=Object.freeze({loose:!0}),hde=Object.freeze({}),fde=t=>t?typeof t!="object"?mde:t:hde;DG.exports=fde});var Qx=h((hFe,MG)=>{"use strict";var _G=/^[0-9]+$/,LG=(t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tLG(e,t);MG.exports={compareIdentifiers:LG,rcompareIdentifiers:gde}});var Zt=h((fFe,FG)=>{"use strict";var tg=Bd(),{MAX_LENGTH:OG,MAX_SAFE_INTEGER:rg}=Id(),{safeRe:sg,t:ng}=Hl(),Ede=eg(),{compareIdentifiers:xx}=Qx(),Nx=class t{constructor(e,r){if(r=Ede(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>OG)throw new TypeError(`version is longer than ${OG} characters`);tg("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?sg[ng.LOOSE]:sg[ng.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>rg||this.major<0)throw new TypeError("Invalid major version");if(this.minor>rg||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>rg||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(tg("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 xx(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(tg("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 xx(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?sg[ng.PRERELEASELOOSE]:sg[ng.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]),xx(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}};FG.exports=Nx});var Ha=h((gFe,qG)=>{"use strict";var UG=Zt(),yde=(t,e,r=!1)=>{if(t instanceof UG)return t;try{return new UG(t,e)}catch(s){if(!r)return null;throw s}};qG.exports=yde});var HG=h((EFe,GG)=>{"use strict";var Cde=Ha(),Ide=(t,e)=>{let r=Cde(t,e);return r?r.version:null};GG.exports=Ide});var $G=h((yFe,zG)=>{"use strict";var Bde=Ha(),wde=(t,e)=>{let r=Bde(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null};zG.exports=wde});var JG=h((CFe,YG)=>{"use strict";var VG=Zt(),bde=(t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new VG(t instanceof VG?t.version:t,r).inc(e,s,n).version}catch{return null}};YG.exports=bde});var KG=h((IFe,jG)=>{"use strict";var WG=Ha(),Qde=(t,e)=>{let r=WG(t,null,!0),s=WG(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,o=i?r:s,a=i?s:r,c=!!o.prerelease.length;if(!!a.prerelease.length&&!c){if(!a.patch&&!a.minor)return"major";if(a.compareMain(o)===0)return a.minor&&!a.patch?"minor":"patch"}let u=c?"pre":"";return r.major!==s.major?u+"major":r.minor!==s.minor?u+"minor":r.patch!==s.patch?u+"patch":"prerelease"};jG.exports=Qde});var ZG=h((BFe,XG)=>{"use strict";var xde=Zt(),Nde=(t,e)=>new xde(t,e).major;XG.exports=Nde});var tH=h((wFe,eH)=>{"use strict";var Sde=Zt(),Rde=(t,e)=>new Sde(t,e).minor;eH.exports=Rde});var sH=h((bFe,rH)=>{"use strict";var Tde=Zt(),vde=(t,e)=>new Tde(t,e).patch;rH.exports=vde});var iH=h((QFe,nH)=>{"use strict";var Pde=Ha(),kde=(t,e)=>{let r=Pde(t,e);return r&&r.prerelease.length?r.prerelease:null};nH.exports=kde});var Rs=h((xFe,aH)=>{"use strict";var oH=Zt(),Dde=(t,e,r)=>new oH(t,r).compare(new oH(e,r));aH.exports=Dde});var lH=h((NFe,cH)=>{"use strict";var _de=Rs(),Lde=(t,e,r)=>_de(e,t,r);cH.exports=Lde});var AH=h((SFe,uH)=>{"use strict";var Mde=Rs(),Ode=(t,e)=>Mde(t,e,!0);uH.exports=Ode});var ig=h((RFe,pH)=>{"use strict";var dH=Zt(),Fde=(t,e,r)=>{let s=new dH(t,r),n=new dH(e,r);return s.compare(n)||s.compareBuild(n)};pH.exports=Fde});var hH=h((TFe,mH)=>{"use strict";var Ude=ig(),qde=(t,e)=>t.sort((r,s)=>Ude(r,s,e));mH.exports=qde});var gH=h((vFe,fH)=>{"use strict";var Gde=ig(),Hde=(t,e)=>t.sort((r,s)=>Gde(s,r,e));fH.exports=Hde});var wd=h((PFe,EH)=>{"use strict";var zde=Rs(),$de=(t,e,r)=>zde(t,e,r)>0;EH.exports=$de});var og=h((kFe,yH)=>{"use strict";var Vde=Rs(),Yde=(t,e,r)=>Vde(t,e,r)<0;yH.exports=Yde});var Sx=h((DFe,CH)=>{"use strict";var Jde=Rs(),Wde=(t,e,r)=>Jde(t,e,r)===0;CH.exports=Wde});var Rx=h((_Fe,IH)=>{"use strict";var jde=Rs(),Kde=(t,e,r)=>jde(t,e,r)!==0;IH.exports=Kde});var ag=h((LFe,BH)=>{"use strict";var Xde=Rs(),Zde=(t,e,r)=>Xde(t,e,r)>=0;BH.exports=Zde});var cg=h((MFe,wH)=>{"use strict";var epe=Rs(),tpe=(t,e,r)=>epe(t,e,r)<=0;wH.exports=tpe});var Tx=h((OFe,bH)=>{"use strict";var rpe=Sx(),spe=Rx(),npe=wd(),ipe=ag(),ope=og(),ape=cg(),cpe=(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 rpe(t,r,s);case"!=":return spe(t,r,s);case">":return npe(t,r,s);case">=":return ipe(t,r,s);case"<":return ope(t,r,s);case"<=":return ape(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}};bH.exports=cpe});var xH=h((FFe,QH)=>{"use strict";var lpe=Zt(),upe=Ha(),{safeRe:lg,t:ug}=Hl(),Ape=(t,e)=>{if(t instanceof lpe)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?lg[ug.COERCEFULL]:lg[ug.COERCE]);else{let c=e.includePrerelease?lg[ug.COERCERTLFULL]:lg[ug.COERCERTL],l;for(;(l=c.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||l.index+l[0].length!==r.index+r[0].length)&&(r=l),c.lastIndex=l.index+l[1].length+l[2].length;c.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",o=e.includePrerelease&&r[5]?`-${r[5]}`:"",a=e.includePrerelease&&r[6]?`+${r[6]}`:"";return upe(`${s}.${n}.${i}${o}${a}`,e)};QH.exports=Ape});var SH=h((UFe,NH)=>{"use strict";var vx=class{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}};NH.exports=vx});var Ts=h((qFe,PH)=>{"use strict";var dpe=/\s+/g,Px=class t{constructor(e,r){if(r=mpe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof kx)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(dpe," "),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=>!TH(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&&Ipe(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&&ype)|(this.options.loose&&Cpe))+":"+e,n=RH.get(s);if(n)return n;let i=this.options.loose,o=i?pr[er.HYPHENRANGELOOSE]:pr[er.HYPHENRANGE];e=e.replace(o,vpe(this.options.includePrerelease)),Ue("hyphen replace",e),e=e.replace(pr[er.COMPARATORTRIM],fpe),Ue("comparator trim",e),e=e.replace(pr[er.TILDETRIM],gpe),Ue("tilde trim",e),e=e.replace(pr[er.CARETTRIM],Epe),Ue("caret trim",e);let a=e.split(" ").map(A=>Bpe(A,this.options)).join(" ").split(/\s+/).map(A=>Tpe(A,this.options));i&&(a=a.filter(A=>(Ue("loose invalid filter",A,this.options),!!A.match(pr[er.COMPARATORLOOSE])))),Ue("range list",a);let c=new Map,l=a.map(A=>new kx(A,this.options));for(let A of l){if(TH(A))return[A];c.set(A.value,A)}c.size>1&&c.has("")&&c.delete("");let u=[...c.values()];return RH.set(s,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>vH(s,r)&&e.set.some(n=>vH(n,r)&&s.every(i=>n.every(o=>i.intersects(o,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new hpe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0",Ipe=t=>t.value==="",vH=(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},Bpe=(t,e)=>(t=t.replace(pr[er.BUILD],""),Ue("comp",t,e),t=Qpe(t,e),Ue("caret",t),t=wpe(t,e),Ue("tildes",t),t=Npe(t,e),Ue("xrange",t),t=Rpe(t,e),Ue("stars",t),t),mr=t=>!t||t.toLowerCase()==="x"||t==="*",wpe=(t,e)=>t.trim().split(/\s+/).map(r=>bpe(r,e)).join(" "),bpe=(t,e)=>{let r=e.loose?pr[er.TILDELOOSE]:pr[er.TILDE];return t.replace(r,(s,n,i,o,a)=>{Ue("tilde",t,s,n,i,o,a);let c;return mr(n)?c="":mr(i)?c=`>=${n}.0.0 <${+n+1}.0.0-0`:mr(o)?c=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:a?(Ue("replaceTilde pr",a),c=`>=${n}.${i}.${o}-${a} <${n}.${+i+1}.0-0`):c=`>=${n}.${i}.${o} <${n}.${+i+1}.0-0`,Ue("tilde return",c),c})},Qpe=(t,e)=>t.trim().split(/\s+/).map(r=>xpe(r,e)).join(" "),xpe=(t,e)=>{Ue("caret",t,e);let r=e.loose?pr[er.CARETLOOSE]:pr[er.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,o,a,c)=>{Ue("caret",t,n,i,o,a,c);let l;return mr(i)?l="":mr(o)?l=`>=${i}.0.0${s} <${+i+1}.0.0-0`:mr(a)?i==="0"?l=`>=${i}.${o}.0${s} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.0${s} <${+i+1}.0.0-0`:c?(Ue("replaceCaret pr",c),i==="0"?o==="0"?l=`>=${i}.${o}.${a}-${c} <${i}.${o}.${+a+1}-0`:l=`>=${i}.${o}.${a}-${c} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.${a}-${c} <${+i+1}.0.0-0`):(Ue("no pr"),i==="0"?o==="0"?l=`>=${i}.${o}.${a}${s} <${i}.${o}.${+a+1}-0`:l=`>=${i}.${o}.${a}${s} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.${a} <${+i+1}.0.0-0`),Ue("caret return",l),l})},Npe=(t,e)=>(Ue("replaceXRanges",t,e),t.split(/\s+/).map(r=>Spe(r,e)).join(" ")),Spe=(t,e)=>{t=t.trim();let r=e.loose?pr[er.XRANGELOOSE]:pr[er.XRANGE];return t.replace(r,(s,n,i,o,a,c)=>{Ue("xRange",t,s,n,i,o,a,c);let l=mr(i),u=l||mr(o),A=u||mr(a),d=A;return n==="="&&d&&(n=""),c=e.includePrerelease?"-0":"",l?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&d?(u&&(o=0),a=0,n===">"?(n=">=",u?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):n==="<="&&(n="<",u?i=+i+1:o=+o+1),n==="<"&&(c="-0"),s=`${n+i}.${o}.${a}${c}`):u?s=`>=${i}.0.0${c} <${+i+1}.0.0-0`:A&&(s=`>=${i}.${o}.0${c} <${i}.${+o+1}.0-0`),Ue("xRange return",s),s})},Rpe=(t,e)=>(Ue("replaceStars",t,e),t.trim().replace(pr[er.STAR],"")),Tpe=(t,e)=>(Ue("replaceGTE0",t,e),t.trim().replace(pr[e.includePrerelease?er.GTE0PRE:er.GTE0],"")),vpe=t=>(e,r,s,n,i,o,a,c,l,u,A,d)=>(mr(s)?r="":mr(n)?r=`>=${s}.0.0${t?"-0":""}`:mr(i)?r=`>=${s}.${n}.0${t?"-0":""}`:o?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,mr(l)?c="":mr(u)?c=`<${+l+1}.0.0-0`:mr(A)?c=`<${l}.${+u+1}.0-0`:d?c=`<=${l}.${u}.${A}-${d}`:t?c=`<${l}.${u}.${+A+1}-0`:c=`<=${c}`,`${r} ${c}`.trim()),Ppe=(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}});var bd=h((GFe,OH)=>{"use strict";var Qd=Symbol("SemVer ANY"),Lx=class t{static get ANY(){return Qd}constructor(e,r){if(r=kH(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),_x("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Qd?this.value="":this.value=this.operator+this.semver.version,_x("comp",this)}parse(e){let r=this.options.loose?DH[_H.COMPARATORLOOSE]:DH[_H.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 LH(s[2],this.options.loose):this.semver=Qd}toString(){return this.value}test(e){if(_x("Comparator.test",e,this.options.loose),this.semver===Qd||e===Qd)return!0;if(typeof e=="string")try{e=new LH(e,this.options)}catch{return!1}return Dx(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 MH(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new MH(this.value,r).test(e.semver):(r=kH(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("=")||Dx(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Dx(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};OH.exports=Lx;var kH=eg(),{safeRe:DH,t:_H}=Hl(),Dx=Tx(),_x=Bd(),LH=Zt(),MH=Ts()});var xd=h((HFe,FH)=>{"use strict";var kpe=Ts(),Dpe=(t,e,r)=>{try{e=new kpe(e,r)}catch{return!1}return e.test(t)};FH.exports=Dpe});var qH=h((zFe,UH)=>{"use strict";var _pe=Ts(),Lpe=(t,e)=>new _pe(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" "));UH.exports=Lpe});var HH=h(($Fe,GH)=>{"use strict";var Mpe=Zt(),Ope=Ts(),Fpe=(t,e,r)=>{let s=null,n=null,i=null;try{i=new Ope(e,r)}catch{return null}return t.forEach(o=>{i.test(o)&&(!s||n.compare(o)===-1)&&(s=o,n=new Mpe(s,r))}),s};GH.exports=Fpe});var $H=h((VFe,zH)=>{"use strict";var Upe=Zt(),qpe=Ts(),Gpe=(t,e,r)=>{let s=null,n=null,i=null;try{i=new qpe(e,r)}catch{return null}return t.forEach(o=>{i.test(o)&&(!s||n.compare(o)===1)&&(s=o,n=new Upe(s,r))}),s};zH.exports=Gpe});var JH=h((YFe,YH)=>{"use strict";var Mx=Zt(),Hpe=Ts(),VH=wd(),zpe=(t,e)=>{t=new Hpe(t,e);let r=new Mx("0.0.0");if(t.test(r)||(r=new Mx("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let a=new Mx(o.semver.version);switch(o.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!i||VH(a,i))&&(i=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),i&&(!r||VH(r,i))&&(r=i)}return r&&t.test(r)?r:null};YH.exports=zpe});var jH=h((JFe,WH)=>{"use strict";var $pe=Ts(),Vpe=(t,e)=>{try{return new $pe(t,e).range||"*"}catch{return null}};WH.exports=Vpe});var Ag=h((WFe,ez)=>{"use strict";var Ype=Zt(),ZH=bd(),{ANY:Jpe}=ZH,Wpe=Ts(),jpe=xd(),KH=wd(),XH=og(),Kpe=cg(),Xpe=ag(),Zpe=(t,e,r,s)=>{t=new Ype(t,s),e=new Wpe(e,s);let n,i,o,a,c;switch(r){case">":n=KH,i=Kpe,o=XH,a=">",c=">=";break;case"<":n=XH,i=Xpe,o=KH,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(jpe(t,e,s))return!1;for(let l=0;l{p.semver===Jpe&&(p=new ZH(">=0.0.0")),A=A||p,d=d||p,n(p.semver,A.semver,s)?A=p:o(p.semver,d.semver,s)&&(d=p)}),A.operator===a||A.operator===c||(!d.operator||d.operator===a)&&i(t,d.semver))return!1;if(d.operator===c&&o(t,d.semver))return!1}return!0};ez.exports=Zpe});var rz=h((jFe,tz)=>{"use strict";var eme=Ag(),tme=(t,e,r)=>eme(t,e,">",r);tz.exports=tme});var nz=h((KFe,sz)=>{"use strict";var rme=Ag(),sme=(t,e,r)=>rme(t,e,"<",r);sz.exports=sme});var az=h((XFe,oz)=>{"use strict";var iz=Ts(),nme=(t,e,r)=>(t=new iz(t,r),e=new iz(e,r),t.intersects(e,r));oz.exports=nme});var lz=h((ZFe,cz)=>{"use strict";var ime=xd(),ome=Rs();cz.exports=(t,e,r)=>{let s=[],n=null,i=null,o=t.sort((u,A)=>ome(u,A,r));for(let u of o)ime(u,e,r)?(i=u,n||(n=u)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let a=[];for(let[u,A]of s)u===A?a.push(u):!A&&u===o[0]?a.push("*"):A?u===o[0]?a.push(`<=${A}`):a.push(`${u} - ${A}`):a.push(`>=${u}`);let c=a.join(" || "),l=typeof e.raw=="string"?e.raw:String(e);return c.length{"use strict";var uz=Ts(),Fx=bd(),{ANY:Ox}=Fx,Nd=xd(),Ux=Rs(),ame=(t,e,r={})=>{if(t===e)return!0;t=new uz(t,r),e=new uz(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let o=lme(n,i,r);if(s=s||o!==null,o)continue e}if(s)return!1}return!0},cme=[new Fx(">=0.0.0-0")],Az=[new Fx(">=0.0.0")],lme=(t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Ox){if(e.length===1&&e[0].semver===Ox)return!0;r.includePrerelease?t=cme:t=Az}if(e.length===1&&e[0].semver===Ox){if(r.includePrerelease)return!0;e=Az}let s=new Set,n,i;for(let p of t)p.operator===">"||p.operator===">="?n=dz(n,p,r):p.operator==="<"||p.operator==="<="?i=pz(i,p,r):s.add(p.semver);if(s.size>1)return null;let o;if(n&&i){if(o=Ux(n.semver,i.semver,r),o>0)return null;if(o===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let p of s){if(n&&!Nd(p,String(n),r)||i&&!Nd(p,String(i),r))return null;for(let m of e)if(!Nd(p,String(m),r))return!1;return!0}let a,c,l,u,A=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,d=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;A&&A.prerelease.length===1&&i.operator==="<"&&A.prerelease[0]===0&&(A=!1);for(let p of e){if(u=u||p.operator===">"||p.operator===">=",l=l||p.operator==="<"||p.operator==="<=",n){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator===">"||p.operator===">="){if(a=dz(n,p,r),a===p&&a!==n)return!1}else if(n.operator===">="&&!Nd(n.semver,String(p),r))return!1}if(i){if(A&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===A.major&&p.semver.minor===A.minor&&p.semver.patch===A.patch&&(A=!1),p.operator==="<"||p.operator==="<="){if(c=pz(i,p,r),c===p&&c!==i)return!1}else if(i.operator==="<="&&!Nd(i.semver,String(p),r))return!1}if(!p.operator&&(i||n)&&o!==0)return!1}return!(n&&l&&!i&&o!==0||i&&u&&!n&&o!==0||d||A)},dz=(t,e,r)=>{if(!t)return e;let s=Ux(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},pz=(t,e,r)=>{if(!t)return e;let s=Ux(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t};mz.exports=ame});var Gx=h((tUe,Ez)=>{"use strict";var qx=Hl(),fz=Id(),ume=Zt(),gz=Qx(),Ame=Ha(),dme=HG(),pme=$G(),mme=JG(),hme=KG(),fme=ZG(),gme=tH(),Eme=sH(),yme=iH(),Cme=Rs(),Ime=lH(),Bme=AH(),wme=ig(),bme=hH(),Qme=gH(),xme=wd(),Nme=og(),Sme=Sx(),Rme=Rx(),Tme=ag(),vme=cg(),Pme=Tx(),kme=xH(),Dme=bd(),_me=Ts(),Lme=xd(),Mme=qH(),Ome=HH(),Fme=$H(),Ume=JH(),qme=jH(),Gme=Ag(),Hme=rz(),zme=nz(),$me=az(),Vme=lz(),Yme=hz();Ez.exports={parse:Ame,valid:dme,clean:pme,inc:mme,diff:hme,major:fme,minor:gme,patch:Eme,prerelease:yme,compare:Cme,rcompare:Ime,compareLoose:Bme,compareBuild:wme,sort:bme,rsort:Qme,gt:xme,lt:Nme,eq:Sme,neq:Rme,gte:Tme,lte:vme,cmp:Pme,coerce:kme,Comparator:Dme,Range:_me,satisfies:Lme,toComparators:Mme,maxSatisfying:Ome,minSatisfying:Fme,minVersion:Ume,validRange:qme,outside:Gme,gtr:Hme,ltr:zme,intersects:$me,simplifyRange:Vme,subset:Yme,SemVer:ume,re:qx.re,src:qx.src,tokens:qx.t,SEMVER_SPEC_VERSION:fz.SEMVER_SPEC_VERSION,RELEASE_TYPES:fz.RELEASE_TYPES,compareIdentifiers:gz.compareIdentifiers,rcompareIdentifiers:gz.rcompareIdentifiers}});var Hz=h((E2e,Gz)=>{Gz.exports=function(t,e){for(var r=[],s=0;s{"use strict";Yz.exports=$z;function $z(t,e,r){t instanceof RegExp&&(t=zz(t,r)),e instanceof RegExp&&(e=zz(e,r));var s=Vz(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)}}function zz(t,e){var r=e.match(t);return r?r[0]:null}$z.range=Vz;function Vz(t,e,r){var s,n,i,o,a,c=r.indexOf(t),l=r.indexOf(e,c+1),u=c;if(c>=0&&l>0){if(t===e)return[c,l];for(s=[],i=r.length;u>=0&&!a;)u==c?(s.push(u),c=r.indexOf(t,u+1)):s.length==1?a=[s.pop(),l]:(n=s.pop(),n=0?c:l;s.length&&(a=[i,o])}return a}});var r$=h((C2e,t$)=>{var yhe=Hz(),Wz=Jz();t$.exports=Bhe;var jz="\0SLASH"+Math.random()+"\0",Kz="\0OPEN"+Math.random()+"\0",o0="\0CLOSE"+Math.random()+"\0",Xz="\0COMMA"+Math.random()+"\0",Zz="\0PERIOD"+Math.random()+"\0";function i0(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function Che(t){return t.split("\\\\").join(jz).split("\\{").join(Kz).split("\\}").join(o0).split("\\,").join(Xz).split("\\.").join(Zz)}function Ihe(t){return t.split(jz).join("\\").split(Kz).join("{").split(o0).join("}").split(Xz).join(",").split(Zz).join(".")}function e$(t){if(!t)return[""];var e=[],r=Wz("{","}",t);if(!r)return t.split(",");var s=r.pre,n=r.body,i=r.post,o=s.split(",");o[o.length-1]+="{"+n+"}";var a=e$(i);return i.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function Bhe(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)),Vl(Che(t),r,!0).map(Ihe)}function whe(t){return"{"+t+"}"}function bhe(t){return/^-?0\d/.test(t)}function Qhe(t,e){return t<=e}function xhe(t,e){return t>=e}function Vl(t,e,r){var s=[],n=Wz("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),o=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),a=i||o,c=n.body.indexOf(",")>=0;if(!a&&!c)return n.post.match(/,(?!,).*\}/)?(t=n.pre+"{"+n.body+o0+n.post,Vl(t,e,!0)):[t];var l;if(a)l=n.body.split(/\.\./);else if(l=e$(n.body),l.length===1&&(l=Vl(l[0],e,!1).map(whe),l.length===1)){var A=n.post.length?Vl(n.post,e,!1):[""];return A.map(function(ne){return n.pre+l[0]+ne})}var u=n.pre,A=n.post.length?Vl(n.post,e,!1):[""],d;if(a){var p=i0(l[0]),m=i0(l[1]),f=Math.max(l[0].length,l[1].length),y=l.length==3?Math.max(Math.abs(i0(l[2])),1):1,g=Qhe,E=m0){var F=new Array(P+1).join("0");I<0?Q="-"+F+Q.slice(1):Q=F+Q}}d.push(Q)}}else d=yhe(l,function(z){return Vl(z,e,!1)});for(var pe=0;pe{a$.exports=is;is.Minimatch=Vt;var Md=(function(){try{return require("path")}catch{}})()||{sep:"/"};is.sep=Md.sep;var l0=is.GLOBSTAR=Vt.GLOBSTAR={},Nhe=r$(),s$={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a0="[^/]",c0=a0+"*?",She="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Rhe="(?:(?!(?:\\/|^)\\.).)*?",n$=The("().*{}+?[]^$\\!");function The(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}var i$=/\/+/;is.filter=vhe;function vhe(t,e){return e=e||{},function(r,s,n){return is(r,t,e)}}function $o(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}is.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return is;var e=is,r=function(n,i,o){return e(n,i,$o(t,o))};return r.Minimatch=function(n,i){return new e.Minimatch(n,$o(t,i))},r.Minimatch.defaults=function(n){return e.defaults($o(t,n)).Minimatch},r.filter=function(n,i){return e.filter(n,$o(t,i))},r.defaults=function(n){return e.defaults($o(t,n))},r.makeRe=function(n,i){return e.makeRe(n,$o(t,i))},r.braceExpand=function(n,i){return e.braceExpand(n,$o(t,i))},r.match=function(s,n,i){return e.match(s,n,$o(t,i))},r};Vt.defaults=function(t){return is.defaults(t).Minimatch};function is(t,e,r){return Ig(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new Vt(e,r).match(t)}function Vt(t,e){if(!(this instanceof Vt))return new Vt(t,e);Ig(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&Md.sep!=="/"&&(t=t.split(Md.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()}Vt.prototype.debug=function(){};Vt.prototype.make=Phe;function Phe(){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=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,r),r=this.globParts=r.map(function(s){return s.split(i$)}),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}Vt.prototype.parseNegate=khe;function khe(){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,Ig(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Nhe(t)}var Dhe=1024*64,Ig=function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Dhe)throw new TypeError("pattern is too long")};Vt.prototype.parse=_he;var Cg={};function _he(t,e){Ig(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return l0;if(t==="")return"";var s="",n=!!r.nocase,i=!1,o=[],a=[],c,l=!1,u=-1,A=-1,d=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",p=this;function m(){if(c){switch(c){case"*":s+=c0,n=!0;break;case"?":s+=a0,n=!0;break;default:s+="\\"+c;break}p.debug("clearStateChar %j %j",c,s),c=!1}}for(var f=0,y=t.length,g;f-1;pe--){var be=a[pe],Re=s.slice(0,be.reStart),z=s.slice(be.reStart,be.reEnd-8),ne=s.slice(be.reEnd-8,be.reEnd),U=s.slice(be.reEnd);ne+=U;var ye=Re.split("(").length-1,It=U;for(f=0;f"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;Md.sep!=="/"&&(e=e.split(Md.sep).join("/")),e=e.split(i$),this.debug(this.pattern,"split",e);var n=this.set;this.debug(this.pattern,"set",n);var i,o;for(o=e.length-1;o>=0&&(i=e[o],!i);o--);for(o=0;o>> no match, partial?`,t,u,e,A),u===o))}var p;if(typeof c=="string"?(p=l===c,this.debug("string match",c,l,p)):(p=l.match(c),this.debug("pattern match",c,l,p)),!p)return!1}if(n===o&&i===a)return!0;if(n===o)return r;if(i===a)return n===o-1&&t[n]==="";throw new Error("wtf?")};function Mhe(t){return t.replace(/\\(.)/g,"$1")}function Ohe(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var Ud=h((L2e,d$)=>{"use strict";var Vhe="2.0.0",Yhe=Number.MAX_SAFE_INTEGER||9007199254740991,Jhe=16,Whe=250,jhe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];d$.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Jhe,MAX_SAFE_BUILD_LENGTH:Whe,MAX_SAFE_INTEGER:Yhe,RELEASE_TYPES:jhe,SEMVER_SPEC_VERSION:Vhe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var qd=h((M2e,p$)=>{"use strict";var Khe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};p$.exports=Khe});var jl=h((Jn,m$)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:A0,MAX_SAFE_BUILD_LENGTH:Xhe,MAX_LENGTH:Zhe}=Ud(),efe=qd();Jn=m$.exports={};var tfe=Jn.re=[],rfe=Jn.safeRe=[],_=Jn.src=[],sfe=Jn.safeSrc=[],L=Jn.t={},nfe=0,d0="[a-zA-Z0-9-]",ife=[["\\s",1],["\\d",Zhe],[d0,Xhe]],ofe=t=>{for(let[e,r]of ife)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},oe=(t,e,r)=>{let s=ofe(e),n=nfe++;efe(t,n,e),L[t]=n,_[n]=e,sfe[n]=s,tfe[n]=new RegExp(e,r?"g":void 0),rfe[n]=new RegExp(s,r?"g":void 0)};oe("NUMERICIDENTIFIER","0|[1-9]\\d*");oe("NUMERICIDENTIFIERLOOSE","\\d+");oe("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d0}*`);oe("MAINVERSION",`(${_[L.NUMERICIDENTIFIER]})\\.(${_[L.NUMERICIDENTIFIER]})\\.(${_[L.NUMERICIDENTIFIER]})`);oe("MAINVERSIONLOOSE",`(${_[L.NUMERICIDENTIFIERLOOSE]})\\.(${_[L.NUMERICIDENTIFIERLOOSE]})\\.(${_[L.NUMERICIDENTIFIERLOOSE]})`);oe("PRERELEASEIDENTIFIER",`(?:${_[L.NONNUMERICIDENTIFIER]}|${_[L.NUMERICIDENTIFIER]})`);oe("PRERELEASEIDENTIFIERLOOSE",`(?:${_[L.NONNUMERICIDENTIFIER]}|${_[L.NUMERICIDENTIFIERLOOSE]})`);oe("PRERELEASE",`(?:-(${_[L.PRERELEASEIDENTIFIER]}(?:\\.${_[L.PRERELEASEIDENTIFIER]})*))`);oe("PRERELEASELOOSE",`(?:-?(${_[L.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${_[L.PRERELEASEIDENTIFIERLOOSE]})*))`);oe("BUILDIDENTIFIER",`${d0}+`);oe("BUILD",`(?:\\+(${_[L.BUILDIDENTIFIER]}(?:\\.${_[L.BUILDIDENTIFIER]})*))`);oe("FULLPLAIN",`v?${_[L.MAINVERSION]}${_[L.PRERELEASE]}?${_[L.BUILD]}?`);oe("FULL",`^${_[L.FULLPLAIN]}$`);oe("LOOSEPLAIN",`[v=\\s]*${_[L.MAINVERSIONLOOSE]}${_[L.PRERELEASELOOSE]}?${_[L.BUILD]}?`);oe("LOOSE",`^${_[L.LOOSEPLAIN]}$`);oe("GTLT","((?:<|>)?=?)");oe("XRANGEIDENTIFIERLOOSE",`${_[L.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);oe("XRANGEIDENTIFIER",`${_[L.NUMERICIDENTIFIER]}|x|X|\\*`);oe("XRANGEPLAIN",`[v=\\s]*(${_[L.XRANGEIDENTIFIER]})(?:\\.(${_[L.XRANGEIDENTIFIER]})(?:\\.(${_[L.XRANGEIDENTIFIER]})(?:${_[L.PRERELEASE]})?${_[L.BUILD]}?)?)?`);oe("XRANGEPLAINLOOSE",`[v=\\s]*(${_[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${_[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${_[L.XRANGEIDENTIFIERLOOSE]})(?:${_[L.PRERELEASELOOSE]})?${_[L.BUILD]}?)?)?`);oe("XRANGE",`^${_[L.GTLT]}\\s*${_[L.XRANGEPLAIN]}$`);oe("XRANGELOOSE",`^${_[L.GTLT]}\\s*${_[L.XRANGEPLAINLOOSE]}$`);oe("COERCEPLAIN",`(^|[^\\d])(\\d{1,${A0}})(?:\\.(\\d{1,${A0}}))?(?:\\.(\\d{1,${A0}}))?`);oe("COERCE",`${_[L.COERCEPLAIN]}(?:$|[^\\d])`);oe("COERCEFULL",_[L.COERCEPLAIN]+`(?:${_[L.PRERELEASE]})?(?:${_[L.BUILD]})?(?:$|[^\\d])`);oe("COERCERTL",_[L.COERCE],!0);oe("COERCERTLFULL",_[L.COERCEFULL],!0);oe("LONETILDE","(?:~>?)");oe("TILDETRIM",`(\\s*)${_[L.LONETILDE]}\\s+`,!0);Jn.tildeTrimReplace="$1~";oe("TILDE",`^${_[L.LONETILDE]}${_[L.XRANGEPLAIN]}$`);oe("TILDELOOSE",`^${_[L.LONETILDE]}${_[L.XRANGEPLAINLOOSE]}$`);oe("LONECARET","(?:\\^)");oe("CARETTRIM",`(\\s*)${_[L.LONECARET]}\\s+`,!0);Jn.caretTrimReplace="$1^";oe("CARET",`^${_[L.LONECARET]}${_[L.XRANGEPLAIN]}$`);oe("CARETLOOSE",`^${_[L.LONECARET]}${_[L.XRANGEPLAINLOOSE]}$`);oe("COMPARATORLOOSE",`^${_[L.GTLT]}\\s*(${_[L.LOOSEPLAIN]})$|^$`);oe("COMPARATOR",`^${_[L.GTLT]}\\s*(${_[L.FULLPLAIN]})$|^$`);oe("COMPARATORTRIM",`(\\s*)${_[L.GTLT]}\\s*(${_[L.LOOSEPLAIN]}|${_[L.XRANGEPLAIN]})`,!0);Jn.comparatorTrimReplace="$1$2$3";oe("HYPHENRANGE",`^\\s*(${_[L.XRANGEPLAIN]})\\s+-\\s+(${_[L.XRANGEPLAIN]})\\s*$`);oe("HYPHENRANGELOOSE",`^\\s*(${_[L.XRANGEPLAINLOOSE]})\\s+-\\s+(${_[L.XRANGEPLAINLOOSE]})\\s*$`);oe("STAR","(<|>)?=?\\s*\\*");oe("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");oe("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var bg=h((O2e,h$)=>{"use strict";var afe=Object.freeze({loose:!0}),cfe=Object.freeze({}),lfe=t=>t?typeof t!="object"?afe:t:cfe;h$.exports=lfe});var p0=h((F2e,E$)=>{"use strict";var f$=/^[0-9]+$/,g$=(t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tg$(e,t);E$.exports={compareIdentifiers:g$,rcompareIdentifiers:ufe}});var rr=h((U2e,C$)=>{"use strict";var Qg=qd(),{MAX_LENGTH:y$,MAX_SAFE_INTEGER:xg}=Ud(),{safeRe:Ng,t:Sg}=jl(),Afe=bg(),{compareIdentifiers:m0}=p0(),h0=class t{constructor(e,r){if(r=Afe(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>y$)throw new TypeError(`version is longer than ${y$} characters`);Qg("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?Ng[Sg.LOOSE]:Ng[Sg.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>xg||this.major<0)throw new TypeError("Invalid major version");if(this.minor>xg||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>xg||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&ie.major?1:this.minore.minor?1:this.patche.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(Qg("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return m0(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(Qg("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return m0(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?Ng[Sg.PRERELEASELOOSE]:Ng[Sg.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]),m0(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}};C$.exports=h0});var Wa=h((q2e,B$)=>{"use strict";var I$=rr(),dfe=(t,e,r=!1)=>{if(t instanceof I$)return t;try{return new I$(t,e)}catch(s){if(!r)return null;throw s}};B$.exports=dfe});var b$=h((G2e,w$)=>{"use strict";var pfe=Wa(),mfe=(t,e)=>{let r=pfe(t,e);return r?r.version:null};w$.exports=mfe});var x$=h((H2e,Q$)=>{"use strict";var hfe=Wa(),ffe=(t,e)=>{let r=hfe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null};Q$.exports=ffe});var R$=h((z2e,S$)=>{"use strict";var N$=rr(),gfe=(t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new N$(t instanceof N$?t.version:t,r).inc(e,s,n).version}catch{return null}};S$.exports=gfe});var P$=h(($2e,v$)=>{"use strict";var T$=Wa(),Efe=(t,e)=>{let r=T$(t,null,!0),s=T$(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,o=i?r:s,a=i?s:r,c=!!o.prerelease.length;if(!!a.prerelease.length&&!c){if(!a.patch&&!a.minor)return"major";if(a.compareMain(o)===0)return a.minor&&!a.patch?"minor":"patch"}let u=c?"pre":"";return r.major!==s.major?u+"major":r.minor!==s.minor?u+"minor":r.patch!==s.patch?u+"patch":"prerelease"};v$.exports=Efe});var D$=h((V2e,k$)=>{"use strict";var yfe=rr(),Cfe=(t,e)=>new yfe(t,e).major;k$.exports=Cfe});var L$=h((Y2e,_$)=>{"use strict";var Ife=rr(),Bfe=(t,e)=>new Ife(t,e).minor;_$.exports=Bfe});var O$=h((J2e,M$)=>{"use strict";var wfe=rr(),bfe=(t,e)=>new wfe(t,e).patch;M$.exports=bfe});var U$=h((W2e,F$)=>{"use strict";var Qfe=Wa(),xfe=(t,e)=>{let r=Qfe(t,e);return r&&r.prerelease.length?r.prerelease:null};F$.exports=xfe});var ks=h((j2e,G$)=>{"use strict";var q$=rr(),Nfe=(t,e,r)=>new q$(t,r).compare(new q$(e,r));G$.exports=Nfe});var z$=h((K2e,H$)=>{"use strict";var Sfe=ks(),Rfe=(t,e,r)=>Sfe(e,t,r);H$.exports=Rfe});var V$=h((X2e,$$)=>{"use strict";var Tfe=ks(),vfe=(t,e)=>Tfe(t,e,!0);$$.exports=vfe});var Rg=h((Z2e,J$)=>{"use strict";var Y$=rr(),Pfe=(t,e,r)=>{let s=new Y$(t,r),n=new Y$(e,r);return s.compare(n)||s.compareBuild(n)};J$.exports=Pfe});var j$=h((e1e,W$)=>{"use strict";var kfe=Rg(),Dfe=(t,e)=>t.sort((r,s)=>kfe(r,s,e));W$.exports=Dfe});var X$=h((t1e,K$)=>{"use strict";var _fe=Rg(),Lfe=(t,e)=>t.sort((r,s)=>_fe(s,r,e));K$.exports=Lfe});var Gd=h((r1e,Z$)=>{"use strict";var Mfe=ks(),Ofe=(t,e,r)=>Mfe(t,e,r)>0;Z$.exports=Ofe});var Tg=h((s1e,eV)=>{"use strict";var Ffe=ks(),Ufe=(t,e,r)=>Ffe(t,e,r)<0;eV.exports=Ufe});var f0=h((n1e,tV)=>{"use strict";var qfe=ks(),Gfe=(t,e,r)=>qfe(t,e,r)===0;tV.exports=Gfe});var g0=h((i1e,rV)=>{"use strict";var Hfe=ks(),zfe=(t,e,r)=>Hfe(t,e,r)!==0;rV.exports=zfe});var vg=h((o1e,sV)=>{"use strict";var $fe=ks(),Vfe=(t,e,r)=>$fe(t,e,r)>=0;sV.exports=Vfe});var Pg=h((a1e,nV)=>{"use strict";var Yfe=ks(),Jfe=(t,e,r)=>Yfe(t,e,r)<=0;nV.exports=Jfe});var E0=h((c1e,iV)=>{"use strict";var Wfe=f0(),jfe=g0(),Kfe=Gd(),Xfe=vg(),Zfe=Tg(),ege=Pg(),tge=(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 Wfe(t,r,s);case"!=":return jfe(t,r,s);case">":return Kfe(t,r,s);case">=":return Xfe(t,r,s);case"<":return Zfe(t,r,s);case"<=":return ege(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}};iV.exports=tge});var aV=h((l1e,oV)=>{"use strict";var rge=rr(),sge=Wa(),{safeRe:kg,t:Dg}=jl(),nge=(t,e)=>{if(t instanceof rge)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?kg[Dg.COERCEFULL]:kg[Dg.COERCE]);else{let c=e.includePrerelease?kg[Dg.COERCERTLFULL]:kg[Dg.COERCERTL],l;for(;(l=c.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||l.index+l[0].length!==r.index+r[0].length)&&(r=l),c.lastIndex=l.index+l[1].length+l[2].length;c.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",o=e.includePrerelease&&r[5]?`-${r[5]}`:"",a=e.includePrerelease&&r[6]?`+${r[6]}`:"";return sge(`${s}.${n}.${i}${o}${a}`,e)};oV.exports=nge});var lV=h((u1e,cV)=>{"use strict";var y0=class{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}};cV.exports=y0});var Ds=h((A1e,pV)=>{"use strict";var ige=/\s+/g,C0=class t{constructor(e,r){if(r=age(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof I0)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(ige," "),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=>!AV(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&&mge(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&&dge)|(this.options.loose&&pge))+":"+e,n=uV.get(s);if(n)return n;let i=this.options.loose,o=i?hr[sr.HYPHENRANGELOOSE]:hr[sr.HYPHENRANGE];e=e.replace(o,bge(this.options.includePrerelease)),qe("hyphen replace",e),e=e.replace(hr[sr.COMPARATORTRIM],lge),qe("comparator trim",e),e=e.replace(hr[sr.TILDETRIM],uge),qe("tilde trim",e),e=e.replace(hr[sr.CARETTRIM],Age),qe("caret trim",e);let a=e.split(" ").map(A=>hge(A,this.options)).join(" ").split(/\s+/).map(A=>wge(A,this.options));i&&(a=a.filter(A=>(qe("loose invalid filter",A,this.options),!!A.match(hr[sr.COMPARATORLOOSE])))),qe("range list",a);let c=new Map,l=a.map(A=>new I0(A,this.options));for(let A of l){if(AV(A))return[A];c.set(A.value,A)}c.size>1&&c.has("")&&c.delete("");let u=[...c.values()];return uV.set(s,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>dV(s,r)&&e.set.some(n=>dV(n,r)&&s.every(i=>n.every(o=>i.intersects(o,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",mge=t=>t.value==="",dV=(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},hge=(t,e)=>(t=t.replace(hr[sr.BUILD],""),qe("comp",t,e),t=Ege(t,e),qe("caret",t),t=fge(t,e),qe("tildes",t),t=Cge(t,e),qe("xrange",t),t=Bge(t,e),qe("stars",t),t),fr=t=>!t||t.toLowerCase()==="x"||t==="*",fge=(t,e)=>t.trim().split(/\s+/).map(r=>gge(r,e)).join(" "),gge=(t,e)=>{let r=e.loose?hr[sr.TILDELOOSE]:hr[sr.TILDE];return t.replace(r,(s,n,i,o,a)=>{qe("tilde",t,s,n,i,o,a);let c;return fr(n)?c="":fr(i)?c=`>=${n}.0.0 <${+n+1}.0.0-0`:fr(o)?c=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:a?(qe("replaceTilde pr",a),c=`>=${n}.${i}.${o}-${a} <${n}.${+i+1}.0-0`):c=`>=${n}.${i}.${o} <${n}.${+i+1}.0-0`,qe("tilde return",c),c})},Ege=(t,e)=>t.trim().split(/\s+/).map(r=>yge(r,e)).join(" "),yge=(t,e)=>{qe("caret",t,e);let r=e.loose?hr[sr.CARETLOOSE]:hr[sr.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,o,a,c)=>{qe("caret",t,n,i,o,a,c);let l;return fr(i)?l="":fr(o)?l=`>=${i}.0.0${s} <${+i+1}.0.0-0`:fr(a)?i==="0"?l=`>=${i}.${o}.0${s} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.0${s} <${+i+1}.0.0-0`:c?(qe("replaceCaret pr",c),i==="0"?o==="0"?l=`>=${i}.${o}.${a}-${c} <${i}.${o}.${+a+1}-0`:l=`>=${i}.${o}.${a}-${c} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.${a}-${c} <${+i+1}.0.0-0`):(qe("no pr"),i==="0"?o==="0"?l=`>=${i}.${o}.${a}${s} <${i}.${o}.${+a+1}-0`:l=`>=${i}.${o}.${a}${s} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.${a} <${+i+1}.0.0-0`),qe("caret return",l),l})},Cge=(t,e)=>(qe("replaceXRanges",t,e),t.split(/\s+/).map(r=>Ige(r,e)).join(" ")),Ige=(t,e)=>{t=t.trim();let r=e.loose?hr[sr.XRANGELOOSE]:hr[sr.XRANGE];return t.replace(r,(s,n,i,o,a,c)=>{qe("xRange",t,s,n,i,o,a,c);let l=fr(i),u=l||fr(o),A=u||fr(a),d=A;return n==="="&&d&&(n=""),c=e.includePrerelease?"-0":"",l?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&d?(u&&(o=0),a=0,n===">"?(n=">=",u?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):n==="<="&&(n="<",u?i=+i+1:o=+o+1),n==="<"&&(c="-0"),s=`${n+i}.${o}.${a}${c}`):u?s=`>=${i}.0.0${c} <${+i+1}.0.0-0`:A&&(s=`>=${i}.${o}.0${c} <${i}.${+o+1}.0-0`),qe("xRange return",s),s})},Bge=(t,e)=>(qe("replaceStars",t,e),t.trim().replace(hr[sr.STAR],"")),wge=(t,e)=>(qe("replaceGTE0",t,e),t.trim().replace(hr[e.includePrerelease?sr.GTE0PRE:sr.GTE0],"")),bge=t=>(e,r,s,n,i,o,a,c,l,u,A,d)=>(fr(s)?r="":fr(n)?r=`>=${s}.0.0${t?"-0":""}`:fr(i)?r=`>=${s}.${n}.0${t?"-0":""}`:o?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,fr(l)?c="":fr(u)?c=`<${+l+1}.0.0-0`:fr(A)?c=`<${l}.${+u+1}.0-0`:d?c=`<=${l}.${u}.${A}-${d}`:t?c=`<${l}.${u}.${+A+1}-0`:c=`<=${c}`,`${r} ${c}`.trim()),Qge=(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}});var Hd=h((d1e,yV)=>{"use strict";var zd=Symbol("SemVer ANY"),b0=class t{static get ANY(){return zd}constructor(e,r){if(r=mV(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),w0("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===zd?this.value="":this.value=this.operator+this.semver.version,w0("comp",this)}parse(e){let r=this.options.loose?hV[fV.COMPARATORLOOSE]:hV[fV.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 gV(s[2],this.options.loose):this.semver=zd}toString(){return this.value}test(e){if(w0("Comparator.test",e,this.options.loose),this.semver===zd||e===zd)return!0;if(typeof e=="string")try{e=new gV(e,this.options)}catch{return!1}return B0(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 EV(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new EV(this.value,r).test(e.semver):(r=mV(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("=")||B0(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||B0(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};yV.exports=b0;var mV=bg(),{safeRe:hV,t:fV}=jl(),B0=E0(),w0=qd(),gV=rr(),EV=Ds()});var $d=h((p1e,CV)=>{"use strict";var xge=Ds(),Nge=(t,e,r)=>{try{e=new xge(e,r)}catch{return!1}return e.test(t)};CV.exports=Nge});var BV=h((m1e,IV)=>{"use strict";var Sge=Ds(),Rge=(t,e)=>new Sge(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" "));IV.exports=Rge});var bV=h((h1e,wV)=>{"use strict";var Tge=rr(),vge=Ds(),Pge=(t,e,r)=>{let s=null,n=null,i=null;try{i=new vge(e,r)}catch{return null}return t.forEach(o=>{i.test(o)&&(!s||n.compare(o)===-1)&&(s=o,n=new Tge(s,r))}),s};wV.exports=Pge});var xV=h((f1e,QV)=>{"use strict";var kge=rr(),Dge=Ds(),_ge=(t,e,r)=>{let s=null,n=null,i=null;try{i=new Dge(e,r)}catch{return null}return t.forEach(o=>{i.test(o)&&(!s||n.compare(o)===1)&&(s=o,n=new kge(s,r))}),s};QV.exports=_ge});var RV=h((g1e,SV)=>{"use strict";var Q0=rr(),Lge=Ds(),NV=Gd(),Mge=(t,e)=>{t=new Lge(t,e);let r=new Q0("0.0.0");if(t.test(r)||(r=new Q0("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let a=new Q0(o.semver.version);switch(o.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!i||NV(a,i))&&(i=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),i&&(!r||NV(r,i))&&(r=i)}return r&&t.test(r)?r:null};SV.exports=Mge});var vV=h((E1e,TV)=>{"use strict";var Oge=Ds(),Fge=(t,e)=>{try{return new Oge(t,e).range||"*"}catch{return null}};TV.exports=Fge});var _g=h((y1e,_V)=>{"use strict";var Uge=rr(),DV=Hd(),{ANY:qge}=DV,Gge=Ds(),Hge=$d(),PV=Gd(),kV=Tg(),zge=Pg(),$ge=vg(),Vge=(t,e,r,s)=>{t=new Uge(t,s),e=new Gge(e,s);let n,i,o,a,c;switch(r){case">":n=PV,i=zge,o=kV,a=">",c=">=";break;case"<":n=kV,i=$ge,o=PV,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Hge(t,e,s))return!1;for(let l=0;l{p.semver===qge&&(p=new DV(">=0.0.0")),A=A||p,d=d||p,n(p.semver,A.semver,s)?A=p:o(p.semver,d.semver,s)&&(d=p)}),A.operator===a||A.operator===c||(!d.operator||d.operator===a)&&i(t,d.semver))return!1;if(d.operator===c&&o(t,d.semver))return!1}return!0};_V.exports=Vge});var MV=h((C1e,LV)=>{"use strict";var Yge=_g(),Jge=(t,e,r)=>Yge(t,e,">",r);LV.exports=Jge});var FV=h((I1e,OV)=>{"use strict";var Wge=_g(),jge=(t,e,r)=>Wge(t,e,"<",r);OV.exports=jge});var GV=h((B1e,qV)=>{"use strict";var UV=Ds(),Kge=(t,e,r)=>(t=new UV(t,r),e=new UV(e,r),t.intersects(e,r));qV.exports=Kge});var zV=h((w1e,HV)=>{"use strict";var Xge=$d(),Zge=ks();HV.exports=(t,e,r)=>{let s=[],n=null,i=null,o=t.sort((u,A)=>Zge(u,A,r));for(let u of o)Xge(u,e,r)?(i=u,n||(n=u)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let a=[];for(let[u,A]of s)u===A?a.push(u):!A&&u===o[0]?a.push("*"):A?u===o[0]?a.push(`<=${A}`):a.push(`${u} - ${A}`):a.push(`>=${u}`);let c=a.join(" || "),l=typeof e.raw=="string"?e.raw:String(e);return c.length{"use strict";var $V=Ds(),N0=Hd(),{ANY:x0}=N0,Vd=$d(),S0=ks(),eEe=(t,e,r={})=>{if(t===e)return!0;t=new $V(t,r),e=new $V(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let o=rEe(n,i,r);if(s=s||o!==null,o)continue e}if(s)return!1}return!0},tEe=[new N0(">=0.0.0-0")],VV=[new N0(">=0.0.0")],rEe=(t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===x0){if(e.length===1&&e[0].semver===x0)return!0;r.includePrerelease?t=tEe:t=VV}if(e.length===1&&e[0].semver===x0){if(r.includePrerelease)return!0;e=VV}let s=new Set,n,i;for(let p of t)p.operator===">"||p.operator===">="?n=YV(n,p,r):p.operator==="<"||p.operator==="<="?i=JV(i,p,r):s.add(p.semver);if(s.size>1)return null;let o;if(n&&i){if(o=S0(n.semver,i.semver,r),o>0)return null;if(o===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let p of s){if(n&&!Vd(p,String(n),r)||i&&!Vd(p,String(i),r))return null;for(let m of e)if(!Vd(p,String(m),r))return!1;return!0}let a,c,l,u,A=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,d=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;A&&A.prerelease.length===1&&i.operator==="<"&&A.prerelease[0]===0&&(A=!1);for(let p of e){if(u=u||p.operator===">"||p.operator===">=",l=l||p.operator==="<"||p.operator==="<=",n){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator===">"||p.operator===">="){if(a=YV(n,p,r),a===p&&a!==n)return!1}else if(n.operator===">="&&!Vd(n.semver,String(p),r))return!1}if(i){if(A&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===A.major&&p.semver.minor===A.minor&&p.semver.patch===A.patch&&(A=!1),p.operator==="<"||p.operator==="<="){if(c=JV(i,p,r),c===p&&c!==i)return!1}else if(i.operator==="<="&&!Vd(i.semver,String(p),r))return!1}if(!p.operator&&(i||n)&&o!==0)return!1}return!(n&&l&&!i&&o!==0||i&&u&&!n&&o!==0||d||A)},YV=(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},JV=(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};WV.exports=eEe});var eY=h((Q1e,ZV)=>{"use strict";var R0=jl(),KV=Ud(),sEe=rr(),XV=p0(),nEe=Wa(),iEe=b$(),oEe=x$(),aEe=R$(),cEe=P$(),lEe=D$(),uEe=L$(),AEe=O$(),dEe=U$(),pEe=ks(),mEe=z$(),hEe=V$(),fEe=Rg(),gEe=j$(),EEe=X$(),yEe=Gd(),CEe=Tg(),IEe=f0(),BEe=g0(),wEe=vg(),bEe=Pg(),QEe=E0(),xEe=aV(),NEe=Hd(),SEe=Ds(),REe=$d(),TEe=BV(),vEe=bV(),PEe=xV(),kEe=RV(),DEe=vV(),_Ee=_g(),LEe=MV(),MEe=FV(),OEe=GV(),FEe=zV(),UEe=jV();ZV.exports={parse:nEe,valid:iEe,clean:oEe,inc:aEe,diff:cEe,major:lEe,minor:uEe,patch:AEe,prerelease:dEe,compare:pEe,rcompare:mEe,compareLoose:hEe,compareBuild:fEe,sort:gEe,rsort:EEe,gt:yEe,lt:CEe,eq:IEe,neq:BEe,gte:wEe,lte:bEe,cmp:QEe,coerce:xEe,Comparator:NEe,Range:SEe,satisfies:REe,toComparators:TEe,maxSatisfying:vEe,minSatisfying:PEe,minVersion:kEe,validRange:DEe,outside:_Ee,gtr:LEe,ltr:MEe,intersects:OEe,simplifyRange:FEe,subset:UEe,SemVer:sEe,re:R0.re,src:R0.src,tokens:R0.t,SEMVER_SPEC_VERSION:KV.SEMVER_SPEC_VERSION,RELEASE_TYPES:KV.RELEASE_TYPES,compareIdentifiers:XV.compareIdentifiers,rcompareIdentifiers:XV.rcompareIdentifiers}});var qY=h((Wqe,UY)=>{var ru=1e3,su=ru*60,nu=su*60,rc=nu*24,pye=rc*7,mye=rc*365.25;UY.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return hye(t);if(r==="number"&&isFinite(t))return e.long?gye(t):fye(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function hye(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*mye;case"weeks":case"week":case"w":return r*pye;case"days":case"day":case"d":return r*rc;case"hours":case"hour":case"hrs":case"hr":case"h":return r*nu;case"minutes":case"minute":case"mins":case"min":case"m":return r*su;case"seconds":case"second":case"secs":case"sec":case"s":return r*ru;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function fye(t){var e=Math.abs(t);return e>=rc?Math.round(t/rc)+"d":e>=nu?Math.round(t/nu)+"h":e>=su?Math.round(t/su)+"m":e>=ru?Math.round(t/ru)+"s":t+"ms"}function gye(t){var e=Math.abs(t);return e>=rc?iE(t,e,rc,"day"):e>=nu?iE(t,e,nu,"hour"):e>=su?iE(t,e,su,"minute"):e>=ru?iE(t,e,ru,"second"):t+" ms"}function iE(t,e,r,s){var n=e>=r*1.5;return Math.round(t/r)+" "+s+(n?"s":"")}});var K0=h((jqe,GY)=>{function Eye(t){r.debug=r,r.default=r,r.coerce=c,r.disable=i,r.enable=n,r.enabled=o,r.humanize=qY(),r.destroy=l,Object.keys(t).forEach(u=>{r[u]=t[u]}),r.names=[],r.skips=[],r.formatters={};function e(u){let A=0;for(let d=0;d{if(P==="%%")return"%";I++;let pe=r.formatters[F];if(typeof pe=="function"){let be=y[I];P=pe.call(g,be),y.splice(I,1),I--}return P}),r.formatArgs.call(g,y),(g.log||r.log).apply(g,y)}return f.namespace=u,f.useColors=r.useColors(),f.color=r.selectColor(u),f.extend=s,f.destroy=r.destroy,Object.defineProperty(f,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(p!==r.namespaces&&(p=r.namespaces,m=r.enabled(u)),m),set:y=>{d=y}}),typeof r.init=="function"&&r.init(f),f}function s(u,A){let d=r(this.namespace+(typeof A>"u"?":":A)+u);return d.log=this.log,d}function n(u){r.save(u),r.namespaces=u,r.names=[],r.skips=[];let A,d=(typeof u=="string"?u:"").split(/[\s,]+/),p=d.length;for(A=0;A"-"+A)].join(",");return r.enable(""),u}function o(u){if(u[u.length-1]==="*")return!0;let A,d;for(A=0,d=r.skips.length;A{cs.formatArgs=Cye;cs.save=Iye;cs.load=Bye;cs.useColors=yye;cs.storage=wye();cs.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`."))}})();cs.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 yye(){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+)/)}function Cye(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+oE.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)}cs.log=console.debug||console.log||(()=>{});function Iye(t){try{t?cs.storage.setItem("debug",t):cs.storage.removeItem("debug")}catch{}}function Bye(){let t;try{t=cs.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function wye(){try{return localStorage}catch{}}oE.exports=K0()(cs);var{formatters:bye}=oE.exports;bye.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var $Y=h((Kqe,zY)=>{"use strict";zY.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 Qye=require("os"),VY=require("tty"),Ls=$Y(),{env:Ft}=process,Wo;Ls("no-color")||Ls("no-colors")||Ls("color=false")||Ls("color=never")?Wo=0:(Ls("color")||Ls("colors")||Ls("color=true")||Ls("color=always"))&&(Wo=1);"FORCE_COLOR"in Ft&&(Ft.FORCE_COLOR==="true"?Wo=1:Ft.FORCE_COLOR==="false"?Wo=0:Wo=Ft.FORCE_COLOR.length===0?1:Math.min(parseInt(Ft.FORCE_COLOR,10),3));function X0(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function Z0(t,e){if(Wo===0)return 0;if(Ls("color=16m")||Ls("color=full")||Ls("color=truecolor"))return 3;if(Ls("color=256"))return 2;if(t&&!e&&Wo===void 0)return 0;let r=Wo||0;if(Ft.TERM==="dumb")return r;if(process.platform==="win32"){let s=Qye.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in Ft)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(s=>s in Ft)||Ft.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Ft)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ft.TEAMCITY_VERSION)?1:0;if(Ft.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Ft){let s=parseInt((Ft.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ft.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ft.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ft.TERM)||"COLORTERM"in Ft?1:r}function xye(t){let e=Z0(t,t&&t.isTTY);return X0(e)}YY.exports={supportsColor:xye,stdout:X0(Z0(!0,VY.isatty(1))),stderr:X0(Z0(!0,VY.isatty(2)))}});var jY=h((Yt,cE)=>{var Nye=require("tty"),aE=require("util");Yt.init=Dye;Yt.log=vye;Yt.formatArgs=Rye;Yt.save=Pye;Yt.load=kye;Yt.useColors=Sye;Yt.destroy=aE.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Yt.colors=[6,2,3,4,5,1];try{let t=JY();t&&(t.stderr||t).level>=2&&(Yt.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{}Yt.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 Sye(){return"colors"in Yt.inspectOpts?!!Yt.inspectOpts.colors:Nye.isatty(process.stderr.fd)}function Rye(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+"+cE.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=Tye()+e+" "+t[0]}function Tye(){return Yt.inspectOpts.hideDate?"":new Date().toISOString()+" "}function vye(...t){return process.stderr.write(aE.format(...t)+` `)}function Pye(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function kye(){return process.env.DEBUG}function Dye(t){t.inspectOpts={};let e=Object.keys(Yt.inspectOpts);for(let r=0;re.trim()).join(" ")};WY.O=function(t){return this.inspectOpts.colors=this.useColors,aE.inspect(t,this.inspectOpts)}});var lE=h((Zqe,eN)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?eN.exports=HY():eN.exports=jY()});var ZY=h(Lr=>{"use strict";var _ye=Lr&&Lr.__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:function(){return e[r]}}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),Lye=Lr&&Lr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),KY=Lr&&Lr.__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)&&_ye(e,t,r);return Lye(e,t),e};Object.defineProperty(Lr,"__esModule",{value:!0});Lr.req=Lr.json=Lr.toBuffer=void 0;var Mye=KY(require("http")),Oye=KY(require("https"));async function XY(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}Lr.toBuffer=XY;async function Fye(t){let r=(await XY(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let n=s;throw n.message+=` (input: ${r})`,n}}Lr.json=Fye;function Uye(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?Oye:Mye).request(t,e),n=new Promise((i,o)=>{s.once("response",i).once("error",o).end()});return s.then=n.then.bind(n),s}Lr.req=Uye});var rN=h(ls=>{"use strict";var tJ=ls&&ls.__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:function(){return e[r]}}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),qye=ls&&ls.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),rJ=ls&&ls.__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)&&tJ(e,t,r);return qye(e,t),e},Gye=ls&&ls.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&tJ(e,t,r)};Object.defineProperty(ls,"__esModule",{value:!0});ls.Agent=void 0;var Hye=rJ(require("net")),eJ=rJ(require("http")),zye=require("https");Gye(ZY(),ls);var Kn=Symbol("AgentBaseInternalState"),tN=class extends eJ.Agent{constructor(e){super(e),this[Kn]={}}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 Hye.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))?zye.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let n={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(n),o=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,n)).then(a=>{if(this.decrementSockets(i,o),a instanceof eJ.Agent)return a.addRequest(e,n);this[Kn].currentSocket=a,super.createSocket(e,r,s)},a=>{this.decrementSockets(i,o),s(a)})}createConnection(){let e=this[Kn].currentSocket;if(this[Kn].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Kn].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Kn]&&(this[Kn].defaultPort=e)}get protocol(){return this[Kn].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Kn]&&(this[Kn].protocol=e)}};ls.Agent=tN});var sJ=h(iu=>{"use strict";var $ye=iu&&iu.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(iu,"__esModule",{value:!0});iu.parseProxyResponse=void 0;var Vye=$ye(lE()),uE=(0,Vye.default)("https-proxy-agent:parse-proxy-response");function Yye(t){return new Promise((e,r)=>{let s=0,n=[];function i(){let u=t.read();u?l(u):t.once("readable",i)}function o(){t.removeListener("end",a),t.removeListener("error",c),t.removeListener("readable",i)}function a(){o(),uE("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}function c(u){o(),uE("onerror %o",u),r(u)}function l(u){n.push(u),s+=u.length;let A=Buffer.concat(n,s),d=A.indexOf(`\r \r `);if(d===-1){uE("have not received end of HTTP headers yet..."),i();return}let p=A.slice(0,d).toString("ascii").split(`\r `),m=p.shift();if(!m)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let f=m.split(" "),y=+f[1],g=f.slice(2).join(" "),E={};for(let C of p){if(!C)continue;let I=C.indexOf(":");if(I===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${C}"`));let Q=C.slice(0,I).toLowerCase(),P=C.slice(I+1).trimStart(),F=E[Q];typeof F=="string"?E[Q]=[F,P]:Array.isArray(F)?F.push(P):E[Q]=P}uE("got proxy server response: %o %o",m,E),o(),e({connect:{statusCode:y,statusText:g,headers:E},buffered:A})}t.on("error",c),t.on("end",a),i()})}iu.parseProxyResponse=Yye});var cJ=h(Ms=>{"use strict";var Jye=Ms&&Ms.__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:function(){return e[r]}}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),Wye=Ms&&Ms.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),oJ=Ms&&Ms.__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)&&Jye(e,t,r);return Wye(e,t),e},aJ=Ms&&Ms.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ms,"__esModule",{value:!0});Ms.HttpsProxyAgent=void 0;var tp=oJ(require("net")),nJ=oJ(require("tls")),jye=aJ(require("assert")),Kye=aJ(lE()),Xye=rN(),Zye=require("url"),eCe=sJ(),rp=(0,Kye.default)("https-proxy-agent"),AE=class extends Xye.Agent{constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new Zye.URL(e):e,this.proxyHeaders=r?.headers??{},rp("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?iJ(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:"){rp("Creating `tls.Socket`: %o",this.connectOpts);let d=this.connectOpts.servername||this.connectOpts.host;n=nJ.connect({...this.connectOpts,servername:d&&tp.isIP(d)?void 0:d})}else rp("Creating `net.Socket`: %o",this.connectOpts),n=tp.connect(this.connectOpts);let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},o=tp.isIPv6(r.host)?`[${r.host}]`:r.host,a=`CONNECT ${o}:${r.port} HTTP/1.1\r `;if(s.username||s.password){let d=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(d).toString("base64")}`}i.Host=`${o}:${r.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let d of Object.keys(i))a+=`${d}: ${i[d]}\r `;let c=(0,eCe.parseProxyResponse)(n);n.write(`${a}\r `);let{connect:l,buffered:u}=await c;if(e.emit("proxyConnect",l),this.emit("proxyConnect",l,e),l.statusCode===200){if(e.once("socket",tCe),r.secureEndpoint){rp("Upgrading socket connection to TLS");let d=r.servername||r.host;return nJ.connect({...iJ(r,"host","path","port"),socket:n,servername:tp.isIP(d)?void 0:d})}return n}n.destroy();let A=new tp.Socket({writable:!1});return A.readable=!0,e.once("socket",d=>{rp("Replaying proxy buffer for failed request"),(0,jye.default)(d.listenerCount("data")>0),d.push(u),d.push(null)}),A}};AE.protocols=["http","https"];Ms.HttpsProxyAgent=AE;function tCe(t){t.resume()}function iJ(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}});var AJ=h(Os=>{"use strict";var rCe=Os&&Os.__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:function(){return e[r]}}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),sCe=Os&&Os.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),uJ=Os&&Os.__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},nCe=Os&&Os.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Os,"__esModule",{value:!0});Os.HttpProxyAgent=void 0;var iCe=uJ(require("net")),oCe=uJ(require("tls")),aCe=nCe(lE()),cCe=require("events"),lCe=rN(),lJ=require("url"),ou=(0,aCe.default)("http-proxy-agent"),dE=class extends lCe.Agent{constructor(e,r){super(r),this.proxy=typeof e=="string"?new lJ.URL(e):e,this.proxyHeaders=r?.headers??{},ou("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?uCe(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",o=`${n}//${i}`,a=new lJ.URL(e.path,o);r.port!==80&&(a.port=String(r.port)),e.path=String(a);let c=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(s.username||s.password){let l=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;c["Proxy-Authorization"]=`Basic ${Buffer.from(l).toString("base64")}`}c["Proxy-Connection"]||(c["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let l of Object.keys(c)){let u=c[l];u&&e.setHeader(l,u)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let s,n;ou("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(ou("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),ou("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(ou("Creating `tls.Socket`: %o",this.connectOpts),i=oCe.connect(this.connectOpts)):(ou("Creating `net.Socket`: %o",this.connectOpts),i=iCe.connect(this.connectOpts)),await(0,cCe.once)(i,"connect"),i}};dE.protocols=["http","https"];Os.HttpProxyAgent=dE;function uCe(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}});var kJ=h(xE=>{"use strict";Object.defineProperty(xE,"__esModule",{value:!0});xE.state=void 0;xE.state={instrumenterImplementation:void 0}});var jJ=h(vE=>{"use strict";Object.defineProperty(vE,"__esModule",{value:!0});vE.state=void 0;vE.state={operationRequestMap:new WeakMap}});var SW=h(Qu=>{"use strict";Object.defineProperty(Qu,"__esModule",{value:!0});var RQe=require("os"),TQe=require("util");function vQe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var PQe=vQe(TQe);function kQe(t,...e){process.stderr.write(`${PQe.default.format(t,...e)}${RQe.EOL}`)}var EW=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,CW,Pv=[],kv=[],Ky=[];EW&&Dv(EW);var IW=Object.assign(t=>BW(t),{enable:Dv,enabled:_v,disable:DQe,log:kQe});function Dv(t){CW=t,Pv=[],kv=[];let e=/\*/g,r=t.split(",").map(s=>s.trim().replace(e,".*?"));for(let s of r)s.startsWith("-")?kv.push(new RegExp(`^${s.substr(1)}$`)):Pv.push(new RegExp(`^${s}$`));for(let s of Ky)s.enabled=_v(s.namespace)}function _v(t){if(t.endsWith("*"))return!0;for(let e of kv)if(e.test(t))return!1;for(let e of Pv)if(e.test(t))return!0;return!1}function DQe(){let t=CW||"";return Dv(""),t}function BW(t){let e=Object.assign(r,{enabled:_v(t),destroy:_Qe,log:IW.log,namespace:t,extend:LQe});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return Ky.push(e),e}function _Qe(){let t=Ky.indexOf(this);return t>=0?(Ky.splice(t,1),!0):!1}function LQe(t){let e=BW(`${this.namespace}:${t}`);return e.log=this.log,e}var Hp=IW,wW=new Set,Wy=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,Xy,Zy=Hp("azure");Zy.log=(...t)=>{Hp.log(...t)};var Lv=["verbose","info","warning","error"];Wy&&(NW(Wy)?bW(Wy):console.error(`AZURE_LOG_LEVEL set to unknown log level '${Wy}'; logging is not enabled. Acceptable values: ${Lv.join(", ")}.`));function bW(t){if(t&&!NW(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${Lv.join(",")}`);Xy=t;let e=[];for(let r of wW)xW(r)&&e.push(r.namespace);Hp.enable(e.join(","))}function MQe(){return Xy}var yW={verbose:400,info:300,warning:200,error:100};function OQe(t){let e=Zy.extend(t);return QW(Zy,e),{error:jy(e,"error"),warning:jy(e,"warning"),info:jy(e,"info"),verbose:jy(e,"verbose")}}function QW(t,e){e.log=(...r)=>{t.log(...r)}}function jy(t,e){let r=Object.assign(t.extend(e),{level:e});if(QW(t,r),xW(r)){let s=Hp.disable();Hp.enable(s+","+r.namespace)}return wW.add(r),r}function xW(t){return!!(Xy&&yW[t.level]<=yW[Xy])}function NW(t){return Lv.includes(t)}Qu.AzureLogger=Zy;Qu.createClientLogger=OQe;Qu.getLogLevel=MQe;Qu.setLogLevel=bW});var Fv=h($p=>{"use strict";Object.defineProperty($p,"__esModule",{value:!0});var xu=new WeakMap,eC=new WeakMap,zp=class t{constructor(){this.onabort=null,xu.set(this,[]),eC.set(this,!1)}get aborted(){if(!eC.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return eC.get(this)}static get none(){return new t}addEventListener(e,r){if(!xu.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");xu.get(this).push(r)}removeEventListener(e,r){if(!xu.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let s=xu.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 RW(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=xu.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),eC.set(t,!0)}var Mv=class extends Error{constructor(e){super(e),this.name="AbortError"}},Ov=class{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(){RW(this._signal)}static timeout(e){let r=new zp,s=setTimeout(RW,e,r);return typeof s.unref=="function"&&s.unref(),r}};$p.AbortController=Ov;$p.AbortError=Mv;$p.AbortSignal=zp});var DW=h(it=>{"use strict";Object.defineProperty(it,"__esModule",{value:!0});var FQe=Fv(),Vv=require("crypto");function TW(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,o)=>{function a(){o(new FQe.AbortError(n??"The operation was aborted."))}function c(){s?.removeEventListener("abort",l)}function l(){r?.(),c(),a()}if(s?.aborted)return a();try{t(u=>{c(),i(u)},u=>{c(),o(u)})}catch(u){o(u)}s?.addEventListener("abort",l)})}var UQe="The delay was aborted.";function qQe(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return TW(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:s,abortErrorMsg:n??UQe})}function GQe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}function vW(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}function PW(t){if(vW(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}function HQe(t){if(PW(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}`}}async function zQe(t,e,r){let s=Buffer.from(t,"base64");return Vv.createHmac("sha256",s).update(e).digest(r)}async function $Qe(t,e){return Vv.createHash("sha256").update(t).digest(e)}function Yv(t){return typeof t<"u"&&t!==null}function VQe(t,e){if(!Yv(t)||typeof t!="object")return!1;for(let r of e)if(!kW(t,r))return!1;return!0}function kW(t,e){return Yv(t)&&typeof t=="object"&&e in t}function YQe(){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}var Uv,$v=typeof((Uv=globalThis?.crypto)===null||Uv===void 0?void 0:Uv.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):Vv.randomUUID;$v||($v=YQe);function JQe(){return $v()}var qv,Gv,Hv,zv,WQe=typeof window<"u"&&typeof window.document<"u",jQe=typeof self=="object"&&typeof self?.importScripts=="function"&&(((qv=self.constructor)===null||qv===void 0?void 0:qv.name)==="DedicatedWorkerGlobalScope"||((Gv=self.constructor)===null||Gv===void 0?void 0:Gv.name)==="ServiceWorkerGlobalScope"||((Hv=self.constructor)===null||Hv===void 0?void 0:Hv.name)==="SharedWorkerGlobalScope"),KQe=typeof process<"u"&&!!process.version&&!!(!((zv=process.versions)===null||zv===void 0)&&zv.node),XQe=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",ZQe=typeof Bun<"u"&&typeof Bun.version<"u",exe=typeof navigator<"u"&&navigator?.product==="ReactNative";function txe(t,e){switch(e){case"utf-8":return ixe(t);case"base64":return sxe(t);case"base64url":return nxe(t)}}function rxe(t,e){switch(e){case"utf-8":return oxe(t);case"base64":return axe(t);case"base64url":return cxe(t)}}function sxe(t){return Buffer.from(t).toString("base64")}function nxe(t){return Buffer.from(t).toString("base64url")}function ixe(t){return Buffer.from(t).toString("utf-8")}function oxe(t){return Buffer.from(t)}function axe(t){return Buffer.from(t,"base64")}function cxe(t){return Buffer.from(t,"base64url")}it.computeSha256Hash=$Qe;it.computeSha256Hmac=zQe;it.createAbortablePromise=TW;it.delay=qQe;it.getErrorMessage=HQe;it.getRandomIntegerInclusive=GQe;it.isBrowser=WQe;it.isBun=ZQe;it.isDefined=Yv;it.isDeno=XQe;it.isError=PW;it.isNode=KQe;it.isObject=vW;it.isObjectWithProperties=VQe;it.isReactNative=exe;it.isWebWorker=jQe;it.objectHasProperty=kW;it.randomUUID=JQe;it.stringToUint8Array=rxe;it.uint8ArrayToString=txe});var t8=h(Cc=>{"use strict";Object.defineProperty(Cc,"__esModule",{value:!0});var lxe=SW(),_W=Fv(),uxe=DW(),yc=lxe.createClientLogger("core-lro"),MW=2e3,OW=["succeeded","canceled","failed"];function FW(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}function LW(t){let{state:e,stateProxy:r,isOperationError:s}=t;return n=>{throw s(n)&&(r.setError(e,n),r.setFailed(e)),n}}function Axe(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}function dxe(t){let e=t.message,r=t.code,s=t;for(;s.innererror;)s=s.innererror,r=s.code,e=Axe(e,s.message);return{code:r,message:e}}function UW(t){let{state:e,stateProxy:r,status:s,isDone:n,processResult:i,getError:o,response:a,setErrorAsResult:c}=t;switch(s){case"succeeded":{r.setSucceeded(e);break}case"failed":{let l=o?.(a),u="";if(l){let{code:d,message:p}=dxe(l);u=`. ${d}. ${p}`}let A=`The long-running operation has failed${u}`;r.setError(e,new Error(A)),r.setFailed(e),yc.warning(A);break}case"canceled":{r.setCanceled(e);break}}(n?.(a,e)||n===void 0&&["succeeded","canceled"].concat(c?[]:["failed"]).includes(s))&&r.setResult(e,pxe({response:a,state:e,processResult:i}))}function pxe(t){let{processResult:e,response:r,state:s}=t;return e?e(r,s):r}async function qW(t){let{init:e,stateProxy:r,processResult:s,getOperationStatus:n,withOperationLocation:i,setErrorAsResult:o}=t,{operationLocation:a,resourceLocation:c,metadata:l,response:u}=await e();a&&i?.(a,!1);let A={metadata:l,operationLocation:a,resourceLocation:c};yc.verbose("LRO: Operation description:",A);let d=r.initState(A),p=n({response:u,state:d,operationLocation:a});return UW({state:d,status:p,stateProxy:r,response:u,setErrorAsResult:o,processResult:s}),d}async function mxe(t){let{poll:e,state:r,stateProxy:s,operationLocation:n,getOperationStatus:i,getResourceLocation:o,isOperationError:a,options:c}=t,l=await e(n,c).catch(LW({state:r,stateProxy:s,isOperationError:a})),u=i(l,r);if(yc.verbose(`LRO: Status: Polling from: ${r.config.operationLocation} Operation status: ${u} Polling status: ${OW.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let A=o(l,r);if(A!==void 0)return{response:await e(A).catch(LW({state:r,stateProxy:s,isOperationError:a})),status:u}}return{response:l,status:u}}async function GW(t){let{poll:e,state:r,stateProxy:s,options:n,getOperationStatus:i,getResourceLocation:o,getOperationLocation:a,isOperationError:c,withOperationLocation:l,getPollingInterval:u,processResult:A,getError:d,updateState:p,setDelay:m,isDone:f,setErrorAsResult:y}=t,{operationLocation:g}=r.config;if(g!==void 0){let{response:E,status:C}=await mxe({poll:e,getOperationStatus:i,state:r,stateProxy:s,operationLocation:g,getResourceLocation:o,isOperationError:c,options:n});if(UW({status:C,response:E,state:r,stateProxy:s,isDone:f,processResult:A,getError:d,setErrorAsResult:y}),!OW.includes(C)){let I=u?.(E);I&&m(I);let Q=a?.(E,r);if(Q!==void 0){let P=g!==Q;r.config.operationLocation=Q,l?.(Q,P)}else l?.(g,!1)}p?.(r,E)}}function HW(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}function zW(t){return t.headers.location}function $W(t){return t.headers["operation-location"]}function VW(t){return t.headers["azure-asyncoperation"]}function hxe(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=o())!==null&&e!==void 0?e:n;default:return o()}function o(){switch(i){case"azure-async-operation":return;case"original-uri":return n;default:return r}}}function YW(t){let{rawResponse:e,requestMethod:r,requestPath:s,resourceLocationConfig:n}=t,i=$W(e),o=VW(e),a=HW({operationLocation:i,azureAsyncOperation:o}),c=zW(e),l=r?.toLocaleUpperCase();return a!==void 0?{mode:"OperationLocation",operationLocation:a,resourceLocation:hxe({requestMethod:l,location:c,requestPath:s,resourceLocationConfig:n})}:c!==void 0?{mode:"ResourceLocation",operationLocation:c}:l==="PUT"&&s?{mode:"Body",operationLocation:s}:void 0}function JW(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 jv(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 yc.verbose(`LRO: unrecognized operation status: ${e}`),e}}function fxe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return JW({status:r,statusCode:t.statusCode})}function gxe(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 JW({status:i,statusCode:t.statusCode})}function jv(t){return t===202?"running":t<300?"succeeded":"failed"}function WW({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?Exe(new Date(e)):r*1e3}}function jW(t){let e=t.flatResponse.error;if(!e){yc.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){yc.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}function Exe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let o=await n.sendInitialRequest(),a=YW({rawResponse:o.rawResponse,requestPath:n.requestPath,requestMethod:n.requestMethod,resourceLocationConfig:r});return Object.assign({response:o,operationLocation:a?.operationLocation,resourceLocation:a?.resourceLocation},a?.mode?{metadata:{mode:a.mode}}:{})},stateProxy:e,processResult:s?({flatResponse:o},a)=>s(o,a):({flatResponse:o})=>o,getOperationStatus:KW,setErrorAsResult:i})}function XW({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return HW({operationLocation:$W(t),azureAsyncOperation:VW(t)});case"ResourceLocation":return zW(t);default:return}}function Kv({rawResponse:t},e){var r;let s=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(s){case"OperationLocation":return fxe(t);case"ResourceLocation":return jv(t.statusCode);case"Body":return gxe(t);default:throw new Error(`Internal error: Unexpected operation mode: ${s}`)}}function ZW({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}function e8(t){return t.name==="RestError"}async function Cxe(t){let{lro:e,stateProxy:r,options:s,processResult:n,updateState:i,setDelay:o,state:a,setErrorAsResult:c}=t;return GW({state:a,stateProxy:r,setDelay:o,processResult:n?({flatResponse:l},u)=>n(l,u):({flatResponse:l})=>l,getError:jW,updateState:i,getPollingInterval:WW,getOperationLocation:XW,getOperationStatus:Kv,isOperationError:e8,getResourceLocation:ZW,options:s,poll:async(l,u)=>e.sendPollRequest(l,u),setErrorAsResult:c})}var Ixe=()=>({initState:t=>({status:"running",config:t}),setCanceled:t=>t.status="canceled",setError:(t,e)=>t.error=e,setResult:(t,e)=>t.result=e,setRunning:t=>t.status="running",setSucceeded:t=>t.status="succeeded",setFailed:t=>t.status="failed",getError:t=>t.error,getResult:t=>t.result,isCanceled:t=>t.status==="canceled",isFailed:t=>t.status==="failed",isRunning:t=>t.status==="running",isSucceeded:t=>t.status==="succeeded"});function Bxe(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:s,isOperationError:n,getResourceLocation:i,getPollingInterval:o,getError:a,resolveOnUnsuccessful:c}=t;return async({init:l,poll:u},A)=>{let{processResult:d,updateState:p,withOperationLocation:m,intervalInMs:f=MW,restoreFrom:y}=A||{},g=Ixe(),E=m?(()=>{let z=!1;return(ne,U)=>{U?m(ne):z||m(ne),z=!0}})():void 0,C=y?FW(y):await qW({init:l,stateProxy:g,processResult:d,getOperationStatus:r,withOperationLocation:E,setErrorAsResult:!c}),I,Q=new _W.AbortController,P=new Map,F=async()=>P.forEach(z=>z(C)),pe="Operation was canceled",be=f,Re={getOperationState:()=>C,getResult:()=>C.result,isDone:()=>["succeeded","failed","canceled"].includes(C.status),isStopped:()=>I===void 0,stopPolling:()=>{Q.abort()},toString:()=>JSON.stringify({state:C}),onProgress:z=>{let ne=Symbol();return P.set(ne,z),()=>P.delete(ne)},pollUntilDone:z=>I??(I=(async()=>{let{abortSignal:ne}=z||{},{signal:U}=ne?new _W.AbortController([ne,Q.signal]):Q;if(!Re.isDone())for(await Re.poll({abortSignal:U});!Re.isDone();)await uxe.delay(be,{abortSignal:U}),await Re.poll({abortSignal:U});if(c)return Re.getResult();switch(C.status){case"succeeded":return Re.getResult();case"canceled":throw new Error(pe);case"failed":throw C.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{I=void 0})),async poll(z){if(c){if(Re.isDone())return}else switch(C.status){case"succeeded":return;case"canceled":throw new Error(pe);case"failed":throw C.error}if(await GW({poll:u,state:C,stateProxy:g,getOperationLocation:e,isOperationError:n,withOperationLocation:E,getPollingInterval:o,getOperationStatus:s,getResourceLocation:i,processResult:d,getError:a,updateState:p,options:z,setDelay:ne=>{be=ne},setErrorAsResult:!c}),await F(),!c)switch(C.status){case"canceled":throw new Error(pe);case"failed":throw C.error}}};return Re}}async function wxe(t,e){let{resourceLocationConfig:r,intervalInMs:s,processResult:n,restoreFrom:i,updateState:o,withOperationLocation:a,resolveOnUnsuccessful:c=!1}=e||{};return Bxe({getStatusFromInitialResponse:KW,getStatusFromPollResponse:Kv,isOperationError:e8,getOperationLocation:XW,getResourceLocation:ZW,getPollingInterval:WW,getError:jW,resolveOnUnsuccessful:c})({init:async()=>{let l=await t.sendInitialRequest(),u=YW({rawResponse:l.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:l,operationLocation:u?.operationLocation,resourceLocation:u?.resourceLocation},u?.mode?{metadata:{mode:u.mode}}:{})},poll:t.sendPollRequest},{intervalInMs:s,withOperationLocation:a,restoreFrom:i,updateState:o,processResult:n?({flatResponse:l},u)=>n(l,u):({flatResponse:l})=>l})}var bxe=()=>({initState:t=>({config:t,isStarted:!0}),setCanceled:t=>t.isCancelled=!0,setError:(t,e)=>t.error=e,setResult:(t,e)=>t.result=e,setRunning:t=>t.isStarted=!0,setSucceeded:t=>t.isCompleted=!0,setFailed:()=>{},getError:t=>t.error,getResult:t=>t.result,isCanceled:t=>!!t.isCancelled,isFailed:t=>!!t.error,isRunning:t=>!!t.isStarted,isSucceeded:t=>!!(t.isCompleted&&!t.isCancelled&&!t.error)}),Jv=class{constructor(e,r,s,n,i,o,a){this.state=e,this.lro=r,this.setErrorAsResult=s,this.lroResourceLocationConfig=n,this.processResult=i,this.updateState=o,this.isDone=a}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let s=bxe();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await yxe({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 Cxe({lro:this.lro,state:this.state,stateProxy:s,processResult:this.processResult,updateState:n?(o,{rawResponse:a})=>n(o,a):void 0,isDone:i?({flatResponse:o},a)=>i(o,a):void 0,options:e,setDelay:o=>{this.pollerConfig.intervalInMs=o},setErrorAsResult:this.setErrorAsResult}),(r=e?.fireProgress)===null||r===void 0||r.call(e,this.state),this}async cancel(){return yc.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},tC=class t extends Error{constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},rC=class t extends Error{constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},sC=class{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=()=>{this.pollOncePromise=void 0};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 rC("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 tC("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()}},Wv=class extends sC{constructor(e,r){let{intervalInMs:s=MW,resumeFrom:n,resolveOnUnsuccessful:i=!1,isDone:o,lroResourceLocationConfig:a,processResult:c,updateState:l}=r||{},u=n?FW(n):{},A=new Jv(u,e,!i,a,c,l,o);super(A),this.resolveOnUnsuccessful=i,this.config={intervalInMs:s},A.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};Cc.LroEngine=Wv;Cc.Poller=sC;Cc.PollerCancelledError=rC;Cc.PollerStoppedError=tC;Cc.createHttpPoller=wxe});var C8=h((SKe,$xe)=>{$xe.exports={name:"@actions/cache",version:"6.0.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.0","@actions/exec":"^3.0.0","@actions/glob":"^0.6.1","@actions/http-client":"^4.0.0","@actions/io":"^3.0.0","@azure/core-rest-pipeline":"^1.22.0","@azure/storage-blob":"^12.30.0","@protobuf-ts/runtime-rpc":"^2.11.1",semver:"^7.7.3"},devDependencies:{"@protobuf-ts/plugin":"^2.9.4","@types/node":"^25.1.0","@types/semver":"^7.7.1",typescript:"^5.2.2"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var B8=h((RKe,I8)=>{var Vxe=C8();I8.exports={version:Vxe.version}});var fC=h(vu=>{"use strict";Object.defineProperty(vu,"__esModule",{value:!0});vu.isJsonObject=vu.typeofJsonValue=void 0;function e0e(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}vu.typeofJsonValue=e0e;function t0e(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}vu.isJsonObject=t0e});var EC=h(Pu=>{"use strict";Object.defineProperty(Pu,"__esModule",{value:!0});Pu.base64encode=Pu.base64decode=void 0;var po="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),gC=[];for(let t=0;t>4,o=i,n=2;break;case 2:r[s++]=(o&15)<<4|(i&60)>>2,o=i,n=3;break;case 3:r[s++]=(o&3)<<6|i,n=0;break}}if(n==1)throw Error("invalid base64 string.");return r.subarray(0,s)}Pu.base64decode=r0e;function s0e(t){let e="",r=0,s,n=0;for(let i=0;i>2],n=(s&3)<<4,r=1;break;case 1:e+=po[n|s>>4],n=(s&15)<<2,r=2;break;case 2:e+=po[n|s>>6],e+=po[s&63],r=0;break}return r&&(e+=po[n],e+="=",r==1&&(e+="=")),e}Pu.base64encode=s0e});var S8=h(yC=>{"use strict";Object.defineProperty(yC,"__esModule",{value:!0});yC.utf8read=void 0;var aP=t=>String.fromCharCode.apply(String,t);function n0e(t){if(t.length<1)return"";let e=0,r=[],s=[],n=0,i,o=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(aP(s)),n=0);return r.length?(n&&r.push(aP(s.slice(0,n))),r.join("")):aP(s.slice(0,n))}yC.utf8read=n0e});var Zp=h(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.WireType=wi.mergeBinaryOptions=wi.UnknownFieldHandler=void 0;var i0e;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,s,n,i,o)=>{(e(s)?s[t.symbol]:s[t.symbol]=[]).push({no:n,wireType:i,data:o})},t.onWrite=(r,s,n)=>{for(let{no:i,wireType:o,data:a}of t.list(s))n.tag(i,o).raw(a)},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=r=>r&&Array.isArray(r[t.symbol])})(i0e=wi.UnknownFieldHandler||(wi.UnknownFieldHandler={}));function o0e(t,e){return Object.assign(Object.assign({},t),e)}wi.mergeBinaryOptions=o0e;var a0e;(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"})(a0e=wi.WireType||(wi.WireType={}))});var IC=h(Hr=>{"use strict";Object.defineProperty(Hr,"__esModule",{value:!0});Hr.varint32read=Hr.varint32write=Hr.int64toString=Hr.int64fromString=Hr.varint64write=Hr.varint64read=void 0;function c0e(){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,a=!(!(o>>>7)&&e==0),c=(a?o|128:o)&255;if(r.push(c),!a)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 o=e>>>i,a=!!(o>>>7),c=(a?o|128:o)&255;if(r.push(c),!a)return}r.push(e>>>31&1)}}Hr.varint64write=l0e;var CC=65536*65536;function u0e(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,s=0,n=0;function i(o,a){let c=Number(t.slice(o,a));n*=r,s=s*r+c,s>=CC&&(n=n+(s/CC|0),s=s%CC)}return i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,s,n]}Hr.int64fromString=u0e;function A0e(t,e){if(e>>>0<=2097151)return""+(CC*e+(t>>>0));let r=t&16777215,s=(t>>>24|e<<8)>>>0&16777215,n=e>>16&65535,i=r+s*6777216+n*6710656,o=s+n*8147497,a=n*2,c=1e7;i>=c&&(o+=Math.floor(i/c),i%=c),o>=c&&(a+=Math.floor(o/c),o%=c);function l(u,A){let d=u?String(u):"";return A?"0000000".slice(d.length)+d:d}return l(a,0)+l(o,a)+l(i,1)}Hr.int64toString=A0e;function d0e(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)}}Hr.varint32write=d0e;function p0e(){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}Hr.varint32read=p0e});var ca=h(aa=>{"use strict";Object.defineProperty(aa,"__esModule",{value:!0});aa.PbLong=aa.PbULong=aa.detectBi=void 0;var em=IC(),De;function R8(){let t=new DataView(new ArrayBuffer(8));De=globalThis.BigInt!==void 0&&typeof t.getBigInt64=="function"&&typeof t.getBigUint64=="function"&&typeof t.setBigInt64=="function"&&typeof t.setBigUint64=="function"?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:t}:void 0}aa.detectBi=R8;R8();function T8(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}var v8=/^-?[0-9]+$/,wC=4294967296,BC=2147483648,bC=class{constructor(e,r){this.lo=e|0,this.hi=r|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*wC+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},tm=class t extends bC{static from(e){if(De)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=De.C(e);case"number":if(e===0)return this.ZERO;e=De.C(e);case"bigint":if(!e)return this.ZERO;if(eDe.UMAX)throw new Error("ulong too large");return De.V.setBigUint64(0,e,!0),new t(De.V.getInt32(0,!0),De.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!v8.test(e))throw new Error("string is no integer");let[r,s,n]=em.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/wC)}throw new Error("unknown value "+typeof e)}toString(){return De?this.toBigInt().toString():em.int64toString(this.lo,this.hi)}toBigInt(){return T8(De),De.V.setInt32(0,this.lo,!0),De.V.setInt32(4,this.hi,!0),De.V.getBigUint64(0,!0)}};aa.PbULong=tm;tm.ZERO=new tm(0,0);var rm=class t extends bC{static from(e){if(De)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=De.C(e);case"number":if(e===0)return this.ZERO;e=De.C(e);case"bigint":if(!e)return this.ZERO;if(eDe.MAX)throw new Error("signed long too large");return De.V.setBigInt64(0,e,!0),new t(De.V.getInt32(0,!0),De.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!v8.test(e))throw new Error("string is no integer");let[r,s,n]=em.int64fromString(e);if(r){if(n>BC||n==BC&&s!=0)throw new Error("signed long too small")}else if(n>=BC)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/wC):new t(-e,-e/wC).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&BC)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(De)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+em.int64toString(e.lo,e.hi)}return em.int64toString(this.lo,this.hi)}toBigInt(){return T8(De),De.V.setInt32(0,this.lo,!0),De.V.setInt32(4,this.hi,!0),De.V.getBigInt64(0,!0)}};aa.PbLong=rm;rm.ZERO=new rm(0,0)});var cP=h(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});Du.BinaryReader=Du.binaryReadOptions=void 0;var ku=Zp(),sm=ca(),P8=IC(),k8={readUnknownField:!0,readerFactory:t=>new QC(t)};function m0e(t){return t?Object.assign(Object.assign({},k8),t):k8}Du.binaryReadOptions=m0e;var QC=class{constructor(e,r){this.varint64=P8.varint64read,this.uint32=P8.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 ku.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case ku.WireType.Bit64:this.pos+=4;case ku.WireType.Bit32:this.pos+=4;break;case ku.WireType.LengthDelimited:let s=this.uint32();this.pos+=s;break;case ku.WireType.StartGroup:let n;for(;(n=this.tag()[1])!==ku.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 sm.PbLong(...this.varint64())}uint64(){return new sm.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 sm.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 sm.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new sm.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())}};Du.BinaryReader=QC});var _u=h($s=>{"use strict";Object.defineProperty($s,"__esModule",{value:!0});$s.assertFloat32=$s.assertUInt32=$s.assertInt32=$s.assertNever=$s.assert=void 0;function h0e(t,e){if(!t)throw new Error(e)}$s.assert=h0e;function f0e(t,e){throw new Error(e??"Unexpected object: "+t)}$s.assertNever=f0e;var g0e=34028234663852886e22,E0e=-34028234663852886e22,y0e=4294967295,C0e=2147483647,I0e=-2147483648;function B0e(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>C0e||ty0e||t<0)throw new Error("invalid uint 32: "+t)}$s.assertUInt32=w0e;function b0e(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>g0e||t{"use strict";Object.defineProperty(Mu,"__esModule",{value:!0});Mu.BinaryWriter=Mu.binaryWriteOptions=void 0;var nm=ca(),im=IC(),Lu=_u(),D8={writeUnknownFields:!0,writerFactory:()=>new xC};function Q0e(t){return t?Object.assign(Object.assign({},D8),t):D8}Mu.binaryWriteOptions=Q0e;var xC=class{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(Lu.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Lu.assertInt32(e),im.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){Lu.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){Lu.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Lu.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Lu.assertInt32(e),e=(e<<1^e>>31)>>>0,im.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),s=new DataView(r.buffer),n=nm.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=nm.PbULong.from(e);return s.setInt32(0,n.lo,!0),s.setInt32(4,n.hi,!0),this.raw(r)}int64(e){let r=nm.PbLong.from(e);return im.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=nm.PbLong.from(e),s=r.hi>>31,n=r.lo<<1^s,i=(r.hi<<1|r.lo>>>31)^s;return im.varint64write(n,i,this.buf),this}uint64(e){let r=nm.PbULong.from(e);return im.varint64write(r.lo,r.hi,this.buf),this}};Mu.BinaryWriter=xC});var uP=h(la=>{"use strict";Object.defineProperty(la,"__esModule",{value:!0});la.mergeJsonOptions=la.jsonWriteOptions=la.jsonReadOptions=void 0;var _8={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},L8={ignoreUnknownFields:!1};function x0e(t){return t?Object.assign(Object.assign({},L8),t):L8}la.jsonReadOptions=x0e;function N0e(t){return t?Object.assign(Object.assign({},_8),t):_8}la.jsonWriteOptions=N0e;function S0e(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}la.mergeJsonOptions=S0e});var om=h(NC=>{"use strict";Object.defineProperty(NC,"__esModule",{value:!0});NC.MESSAGE_TYPE=void 0;NC.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var AP=h(SC=>{"use strict";Object.defineProperty(SC,"__esModule",{value:!0});SC.lowerCamelCase=void 0;function R0e(t){let e=!1,r=[];for(let s=0;s{"use strict";Object.defineProperty(kt,"__esModule",{value:!0});kt.readMessageOption=kt.readFieldOption=kt.readFieldOptions=kt.normalizeFieldInfo=kt.RepeatType=kt.LongType=kt.ScalarType=void 0;var M8=AP(),T0e;(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"})(T0e=kt.ScalarType||(kt.ScalarType={}));var v0e;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(v0e=kt.LongType||(kt.LongType={}));var O8;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(O8=kt.RepeatType||(kt.RepeatType={}));function P0e(t){var e,r,s,n;return t.localName=(e=t.localName)!==null&&e!==void 0?e:M8.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:M8.lowerCamelCase(t.name),t.repeat=(s=t.repeat)!==null&&s!==void 0?s:O8.NO,t.opt=(n=t.opt)!==null&&n!==void 0?n:t.repeat||t.oneof?!1:t.kind=="message",t}kt.normalizeFieldInfo=P0e;function k0e(t,e,r,s){var n;let i=(n=t.fields.find((o,a)=>o.localName==e||a==e))===null||n===void 0?void 0:n.options;return i&&i[r]?s.fromJson(i[r]):void 0}kt.readFieldOptions=k0e;function D0e(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;if(!i)return;let o=i[r];return o===void 0?o:s?s.fromJson(o):o}kt.readFieldOption=D0e;function _0e(t,e,r){let n=t.options[e];return n===void 0?n:r?r.fromJson(n):n}kt.readMessageOption=_0e});var dP=h(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});zr.getSelectedOneofValue=zr.clearOneofValue=zr.setUnknownOneofValue=zr.setOneofValue=zr.getOneofValue=zr.isOneofGroup=void 0;function L0e(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}}zr.isOneofGroup=L0e;function M0e(t,e){return t[e]}zr.getOneofValue=M0e;function O0e(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}zr.setOneofValue=O0e;function F0e(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}zr.setUnknownOneofValue=F0e;function U0e(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}zr.clearOneofValue=U0e;function q0e(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}zr.getSelectedOneofValue=q0e});var mP=h(RC=>{"use strict";Object.defineProperty(RC,"__esModule",{value:!0});RC.ReflectionTypeCheck=void 0;var ot=Qn(),G0e=dP(),pP=class{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(o))||!s&&n.some(o=>!i.known.includes(o)))return!1;if(r<1)return!0;for(let o of i.oneofs){let a=e[o];if(!G0e.isOneofGroup(a))return!1;if(a.oneofKind===void 0)continue;let c=this.fields.find(l=>l.localName===a.oneofKind);if(!c||!this.field(a[a.oneofKind],c,s,r))return!1}for(let o of this.fields)if(o.oneof===void 0&&!this.field(e[o.localName],o,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,ot.ScalarType.INT32,n):this.scalar(e,ot.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),ot.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 ot.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,ot.LongType.STRING)}}};RC.ReflectionTypeCheck=pP});var vC=h(TC=>{"use strict";Object.defineProperty(TC,"__esModule",{value:!0});TC.reflectionLongConvert=void 0;var F8=Qn();function H0e(t,e){switch(e){case F8.LongType.BIGINT:return t.toBigInt();case F8.LongType.NUMBER:return t.toNumber();default:return t.toString()}}TC.reflectionLongConvert=H0e});var fP=h(DC=>{"use strict";Object.defineProperty(DC,"__esModule",{value:!0});DC.ReflectionJsonReader=void 0;var U8=fC(),z0e=EC(),Dt=Qn(),PC=ca(),Bc=_u(),kC=vC(),hP=class{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=U8.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,o]of Object.entries(e)){let a=this.fMap[i];if(!a){if(!s.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${i}`);continue}let c=a.localName,l;if(a.oneof){if(o===null&&(a.kind!=="enum"||a.T()[0]!=="google.protobuf.NullValue"))continue;if(n.includes(a.oneof))throw new Error(`Multiple members of the oneof group "${a.oneof}" of ${this.info.typeName} are present in JSON.`);n.push(a.oneof),l=r[a.oneof]={oneofKind:c}}else l=r;if(a.kind=="map"){if(o===null)continue;this.assert(U8.isJsonObject(o),a.name,o);let u=l[c];for(let[A,d]of Object.entries(o)){this.assert(d!==null,a.name+" map value",null);let p;switch(a.V.kind){case"message":p=a.V.T().internalJsonRead(d,s);break;case"enum":if(p=this.enum(a.V.T(),d,a.name,s.ignoreUnknownFields),p===!1)continue;break;case"scalar":p=this.scalar(d,a.V.T,a.V.L,a.name);break}this.assert(p!==void 0,a.name+" map value",d);let m=A;a.K==Dt.ScalarType.BOOL&&(m=m=="true"?!0:m=="false"?!1:m),m=this.scalar(m,a.K,Dt.LongType.STRING,a.name).toString(),u[m]=p}}else if(a.repeat){if(o===null)continue;this.assert(Array.isArray(o),a.name,o);let u=l[c];for(let A of o){this.assert(A!==null,a.name,null);let d;switch(a.kind){case"message":d=a.T().internalJsonRead(A,s);break;case"enum":if(d=this.enum(a.T(),A,a.name,s.ignoreUnknownFields),d===!1)continue;break;case"scalar":d=this.scalar(A,a.T,a.L,a.name);break}this.assert(d!==void 0,a.name,o),u.push(d)}}else switch(a.kind){case"message":if(o===null&&a.T().typeName!="google.protobuf.Value"){this.assert(a.oneof===void 0,a.name+" (oneof member)",null);continue}l[c]=a.T().internalJsonRead(o,s,l[c]);break;case"enum":if(o===null)continue;let u=this.enum(a.T(),o,a.name,s.ignoreUnknownFields);if(u===!1)continue;l[c]=u;break;case"scalar":if(o===null)continue;l[c]=this.scalar(o,a.T,a.L,a.name);break}}}enum(e,r,s,n){if(e[0]=="google.protobuf.NullValue"&&Bc.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 Bc.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 o=e[1][i];return typeof o>"u"&&n?!1:(Bc.assert(typeof o=="number",`Unable to parse field ${this.info.typeName}#${s}, enum ${e[0]} has no value for "${r}".`),o)}Bc.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 Dt.ScalarType.DOUBLE:case Dt.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 o=Number(e);if(Number.isNaN(o)){i="not a number";break}if(!Number.isFinite(o)){i="too large or small";break}return r==Dt.ScalarType.FLOAT&&Bc.assertFloat32(o),o;case Dt.ScalarType.INT32:case Dt.ScalarType.FIXED32:case Dt.ScalarType.SFIXED32:case Dt.ScalarType.SINT32:case Dt.ScalarType.UINT32:if(e===null)return 0;let a;if(typeof e=="number"?a=e:e===""?i="empty string":typeof e=="string"&&(e.trim().length!==e.length?i="extra whitespace":a=Number(e)),a===void 0)break;return r==Dt.ScalarType.UINT32?Bc.assertUInt32(a):Bc.assertInt32(a),a;case Dt.ScalarType.INT64:case Dt.ScalarType.SFIXED64:case Dt.ScalarType.SINT64:if(e===null)return kC.reflectionLongConvert(PC.PbLong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return kC.reflectionLongConvert(PC.PbLong.from(e),s);case Dt.ScalarType.FIXED64:case Dt.ScalarType.UINT64:if(e===null)return kC.reflectionLongConvert(PC.PbULong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return kC.reflectionLongConvert(PC.PbULong.from(e),s);case Dt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Dt.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){i="extra whitespace";break}try{encodeURIComponent(e)}catch(c){c="invalid UTF8";break}return e;case Dt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return z0e.base64decode(e)}}catch(o){i=o.message}this.assert(!1,n+(i?" - "+i:""),e)}};DC.ReflectionJsonReader=hP});var EP=h(_C=>{"use strict";Object.defineProperty(_C,"__esModule",{value:!0});_C.ReflectionJsonWriter=void 0;var $0e=EC(),q8=ca(),Ir=Qn(),We=_u(),gP=class{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 l=this.field(i,n[i.localName],r);l!==void 0&&(s[r.useProtoFieldName?i.name:i.jsonName]=l);continue}let o=n[i.oneof];if(o.oneofKind!==i.localName)continue;let a=i.kind=="scalar"||i.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,c=this.field(i,o[i.localName],a);We.assert(c!==void 0),s[r.useProtoFieldName?i.name:i.jsonName]=c}return s}field(e,r,s){let n;if(e.kind=="map"){We.assert(typeof r=="object"&&r!==null);let i={};switch(e.V.kind){case"scalar":for(let[c,l]of Object.entries(r)){let u=this.scalar(e.V.T,l,e.name,!1,!0);We.assert(u!==void 0),i[c.toString()]=u}break;case"message":let o=e.V.T();for(let[c,l]of Object.entries(r)){let u=this.message(o,l,e.name,s);We.assert(u!==void 0),i[c.toString()]=u}break;case"enum":let a=e.V.T();for(let[c,l]of Object.entries(r)){We.assert(l===void 0||typeof l=="number");let u=this.enum(a,l,e.name,!1,!0,s.enumAsInteger);We.assert(u!==void 0),i[c.toString()]=u}break}(s.emitDefaultValues||Object.keys(i).length>0)&&(n=i)}else if(e.repeat){We.assert(Array.isArray(r));let i=[];switch(e.kind){case"scalar":for(let c=0;c0||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,o){if(e[0]=="google.protobuf.NullValue")return!i&&!n?void 0:null;if(r===void 0){We.assert(n);return}if(!(r===0&&!i&&!n))return We.assert(typeof r=="number"),We.assert(Number.isInteger(r)),o||!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){We.assert(n);return}let o=i||n;switch(e){case Ir.ScalarType.INT32:case Ir.ScalarType.SFIXED32:case Ir.ScalarType.SINT32:return r===0?o?0:void 0:(We.assertInt32(r),r);case Ir.ScalarType.FIXED32:case Ir.ScalarType.UINT32:return r===0?o?0:void 0:(We.assertUInt32(r),r);case Ir.ScalarType.FLOAT:We.assertFloat32(r);case Ir.ScalarType.DOUBLE:return r===0?o?0:void 0:(We.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case Ir.ScalarType.STRING:return r===""?o?"":void 0:(We.assert(typeof r=="string"),r);case Ir.ScalarType.BOOL:return r===!1?o?!1:void 0:(We.assert(typeof r=="boolean"),r);case Ir.ScalarType.UINT64:case Ir.ScalarType.FIXED64:We.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let a=q8.PbULong.from(r);return a.isZero()&&!o?void 0:a.toString();case Ir.ScalarType.INT64:case Ir.ScalarType.SFIXED64:case Ir.ScalarType.SINT64:We.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=q8.PbLong.from(r);return c.isZero()&&!o?void 0:c.toString();case Ir.ScalarType.BYTES:return We.assert(r instanceof Uint8Array),r.byteLength?$0e.base64encode(r):o?"":void 0}}};_C.ReflectionJsonWriter=gP});var MC=h(LC=>{"use strict";Object.defineProperty(LC,"__esModule",{value:!0});LC.reflectionScalarDefault=void 0;var xn=Qn(),G8=vC(),H8=ca();function V0e(t,e=xn.LongType.STRING){switch(t){case xn.ScalarType.BOOL:return!1;case xn.ScalarType.UINT64:case xn.ScalarType.FIXED64:return G8.reflectionLongConvert(H8.PbULong.ZERO,e);case xn.ScalarType.INT64:case xn.ScalarType.SFIXED64:case xn.ScalarType.SINT64:return G8.reflectionLongConvert(H8.PbLong.ZERO,e);case xn.ScalarType.DOUBLE:case xn.ScalarType.FLOAT:return 0;case xn.ScalarType.BYTES:return new Uint8Array(0);case xn.ScalarType.STRING:return"";default:return 0}}LC.reflectionScalarDefault=V0e});var CP=h(OC=>{"use strict";Object.defineProperty(OC,"__esModule",{value:!0});OC.ReflectionBinaryReader=void 0;var z8=Zp(),ft=Qn(),am=vC(),$8=MC(),yP=class{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(FC,"__esModule",{value:!0});FC.ReflectionBinaryWriter=void 0;var hs=Zp(),Oe=Qn(),Ou=_u(),cm=ca(),IP=class{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 o,a,c=i.repeat,l=i.localName;if(i.oneof){let u=e[i.oneof];if(u.oneofKind!==l)continue;o=u[l],a=!0}else o=e[l],a=!1;switch(i.kind){case"scalar":case"enum":let u=i.kind=="enum"?Oe.ScalarType.INT32:i.T;if(c)if(Ou.assert(Array.isArray(o)),c==Oe.RepeatType.PACKED)this.packed(r,u,i.no,o);else for(let A of o)this.scalar(r,u,i.no,A,!0);else o===void 0?Ou.assert(i.opt):this.scalar(r,u,i.no,o,a||i.opt);break;case"message":if(c){Ou.assert(Array.isArray(o));for(let A of o)this.message(r,s,i.T(),i.no,A)}else this.message(r,s,i.T(),i.no,o);break;case"map":Ou.assert(typeof o=="object"&&o!==null);for(let[A,d]of Object.entries(o))this.mapEntry(r,s,i,A,d);break}}let n=s.writeUnknownFields;n!==!1&&(n===!0?hs.UnknownFieldHandler.onWrite:n)(this.info.typeName,e,r)}mapEntry(e,r,s,n,i){e.tag(s.no,hs.WireType.LengthDelimited),e.fork();let o=n;switch(s.K){case Oe.ScalarType.INT32:case Oe.ScalarType.FIXED32:case Oe.ScalarType.UINT32:case Oe.ScalarType.SFIXED32:case Oe.ScalarType.SINT32:o=Number.parseInt(n);break;case Oe.ScalarType.BOOL:Ou.assert(n=="true"||n=="false"),o=n=="true";break}switch(this.scalar(e,s.K,1,o,!0),s.V.kind){case"scalar":this.scalar(e,s.V.T,2,i,!0);break;case"enum":this.scalar(e,Oe.ScalarType.INT32,2,i,!0);break;case"message":this.message(e,r,s.V.T(),2,i);break}e.join()}message(e,r,s,n,i){i!==void 0&&(s.internalBinaryWrite(i,e.tag(n,hs.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,s,n,i){let[o,a,c]=this.scalarInfo(r,n);(!c||i)&&(e.tag(s,o),e[a](n))}packed(e,r,s,n){if(!n.length)return;Ou.assert(r!==Oe.ScalarType.BYTES&&r!==Oe.ScalarType.STRING),e.tag(s,hs.WireType.LengthDelimited),e.fork();let[,i]=this.scalarInfo(r);for(let o=0;o{"use strict";Object.defineProperty(UC,"__esModule",{value:!0});UC.reflectionCreate=void 0;var Y0e=MC(),J0e=om();function W0e(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},J0e.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]=Y0e.reflectionScalarDefault(r.T,r.L);break;case"enum":e[s]=0;break;case"map":e[s]={};break}}return e}UC.reflectionCreate=W0e});var bP=h(qC=>{"use strict";Object.defineProperty(qC,"__esModule",{value:!0});qC.reflectionMergePartial=void 0;function j0e(t,e,r){let s,n=r,i;for(let o of t.fields){let a=o.localName;if(o.oneof){let c=n[o.oneof];if(c?.oneofKind==null)continue;if(s=c[a],i=e[o.oneof],i.oneofKind=c.oneofKind,s==null){delete i[a];continue}}else if(s=n[a],i=e,s==null)continue;switch(o.repeat&&(i[a].length=s.length),o.kind){case"scalar":case"enum":if(o.repeat)for(let l=0;l{"use strict";Object.defineProperty(HC,"__esModule",{value:!0});HC.reflectionEquals=void 0;var QP=Qn();function K0e(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],o=s.oneof?r[s.oneof][n]:r[n];switch(s.kind){case"enum":case"scalar":let a=s.kind=="enum"?QP.ScalarType.INT32:s.T;if(!(s.repeat?V8(a,i,o):J8(a,i,o)))return!1;break;case"map":if(!(s.V.kind=="message"?Y8(s.V.T(),GC(i),GC(o)):V8(s.V.kind=="enum"?QP.ScalarType.INT32:s.V.T,GC(i),GC(o))))return!1;break;case"message":let c=s.T();if(!(s.repeat?Y8(c,i,o):c.equals(i,o)))return!1;break}}return!0}HC.reflectionEquals=K0e;var GC=Object.values;function J8(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(zC,"__esModule",{value:!0});zC.MessageType=void 0;var X0e=om(),Z0e=Qn(),eNe=mP(),tNe=fP(),rNe=EP(),sNe=CP(),nNe=BP(),iNe=wP(),NP=bP(),oNe=fC(),W8=uP(),aNe=xP(),cNe=lP(),lNe=cP(),j8=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),uNe=j8[X0e.MESSAGE_TYPE]={},SP=class{constructor(e,r,s){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(Z0e.normalizeFieldInfo),this.options=s??{},uNe.value=this,this.messagePrototype=Object.create(null,j8),this.refTypeCheck=new eNe.ReflectionTypeCheck(this),this.refJsonReader=new tNe.ReflectionJsonReader(this),this.refJsonWriter=new rNe.ReflectionJsonWriter(this),this.refBinReader=new sNe.ReflectionBinaryReader(this),this.refBinWriter=new nNe.ReflectionBinaryWriter(this)}create(e){let r=iNe.reflectionCreate(this);return e!==void 0&&NP.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return NP.reflectionMergePartial(this,r,e),r}equals(e,r){return aNe.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){NP.reflectionMergePartial(this,e,r)}fromBinary(e,r){let s=lNe.binaryReadOptions(r);return this.internalBinaryRead(s.readerFactory(e),e.byteLength,s)}fromJson(e,r){return this.internalJsonRead(e,W8.jsonReadOptions(r))}fromJsonString(e,r){let s=JSON.parse(e);return this.fromJson(s,r)}toJson(e,r){return this.internalJsonWrite(e,W8.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=cNe.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 ${oNe.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}};zC.MessageType=SP});var X8=h($C=>{"use strict";Object.defineProperty($C,"__esModule",{value:!0});$C.containsMessageType=void 0;var ANe=om();function dNe(t){return t[ANe.MESSAGE_TYPE]!=null}$C.containsMessageType=dNe});var e5=h(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.listEnumNumbers=bi.listEnumNames=bi.listEnumValues=bi.isEnumObject=void 0;function Z8(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}bi.isEnumObject=Z8;function RP(t){if(!Z8(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}bi.listEnumValues=RP;function pNe(t){return RP(t).map(e=>e.name)}bi.listEnumNames=pNe;function mNe(t){return RP(t).map(e=>e.number).filter((e,r,s)=>s.indexOf(e)==r)}bi.listEnumNumbers=mNe});var gt=h(W=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0});var t5=fC();Object.defineProperty(W,"typeofJsonValue",{enumerable:!0,get:function(){return t5.typeofJsonValue}});Object.defineProperty(W,"isJsonObject",{enumerable:!0,get:function(){return t5.isJsonObject}});var r5=EC();Object.defineProperty(W,"base64decode",{enumerable:!0,get:function(){return r5.base64decode}});Object.defineProperty(W,"base64encode",{enumerable:!0,get:function(){return r5.base64encode}});var hNe=S8();Object.defineProperty(W,"utf8read",{enumerable:!0,get:function(){return hNe.utf8read}});var TP=Zp();Object.defineProperty(W,"WireType",{enumerable:!0,get:function(){return TP.WireType}});Object.defineProperty(W,"mergeBinaryOptions",{enumerable:!0,get:function(){return TP.mergeBinaryOptions}});Object.defineProperty(W,"UnknownFieldHandler",{enumerable:!0,get:function(){return TP.UnknownFieldHandler}});var s5=cP();Object.defineProperty(W,"BinaryReader",{enumerable:!0,get:function(){return s5.BinaryReader}});Object.defineProperty(W,"binaryReadOptions",{enumerable:!0,get:function(){return s5.binaryReadOptions}});var n5=lP();Object.defineProperty(W,"BinaryWriter",{enumerable:!0,get:function(){return n5.BinaryWriter}});Object.defineProperty(W,"binaryWriteOptions",{enumerable:!0,get:function(){return n5.binaryWriteOptions}});var i5=ca();Object.defineProperty(W,"PbLong",{enumerable:!0,get:function(){return i5.PbLong}});Object.defineProperty(W,"PbULong",{enumerable:!0,get:function(){return i5.PbULong}});var vP=uP();Object.defineProperty(W,"jsonReadOptions",{enumerable:!0,get:function(){return vP.jsonReadOptions}});Object.defineProperty(W,"jsonWriteOptions",{enumerable:!0,get:function(){return vP.jsonWriteOptions}});Object.defineProperty(W,"mergeJsonOptions",{enumerable:!0,get:function(){return vP.mergeJsonOptions}});var fNe=om();Object.defineProperty(W,"MESSAGE_TYPE",{enumerable:!0,get:function(){return fNe.MESSAGE_TYPE}});var gNe=K8();Object.defineProperty(W,"MessageType",{enumerable:!0,get:function(){return gNe.MessageType}});var wc=Qn();Object.defineProperty(W,"ScalarType",{enumerable:!0,get:function(){return wc.ScalarType}});Object.defineProperty(W,"LongType",{enumerable:!0,get:function(){return wc.LongType}});Object.defineProperty(W,"RepeatType",{enumerable:!0,get:function(){return wc.RepeatType}});Object.defineProperty(W,"normalizeFieldInfo",{enumerable:!0,get:function(){return wc.normalizeFieldInfo}});Object.defineProperty(W,"readFieldOptions",{enumerable:!0,get:function(){return wc.readFieldOptions}});Object.defineProperty(W,"readFieldOption",{enumerable:!0,get:function(){return wc.readFieldOption}});Object.defineProperty(W,"readMessageOption",{enumerable:!0,get:function(){return wc.readMessageOption}});var ENe=mP();Object.defineProperty(W,"ReflectionTypeCheck",{enumerable:!0,get:function(){return ENe.ReflectionTypeCheck}});var yNe=wP();Object.defineProperty(W,"reflectionCreate",{enumerable:!0,get:function(){return yNe.reflectionCreate}});var CNe=MC();Object.defineProperty(W,"reflectionScalarDefault",{enumerable:!0,get:function(){return CNe.reflectionScalarDefault}});var INe=bP();Object.defineProperty(W,"reflectionMergePartial",{enumerable:!0,get:function(){return INe.reflectionMergePartial}});var BNe=xP();Object.defineProperty(W,"reflectionEquals",{enumerable:!0,get:function(){return BNe.reflectionEquals}});var wNe=CP();Object.defineProperty(W,"ReflectionBinaryReader",{enumerable:!0,get:function(){return wNe.ReflectionBinaryReader}});var bNe=BP();Object.defineProperty(W,"ReflectionBinaryWriter",{enumerable:!0,get:function(){return bNe.ReflectionBinaryWriter}});var QNe=fP();Object.defineProperty(W,"ReflectionJsonReader",{enumerable:!0,get:function(){return QNe.ReflectionJsonReader}});var xNe=EP();Object.defineProperty(W,"ReflectionJsonWriter",{enumerable:!0,get:function(){return xNe.ReflectionJsonWriter}});var NNe=X8();Object.defineProperty(W,"containsMessageType",{enumerable:!0,get:function(){return NNe.containsMessageType}});var lm=dP();Object.defineProperty(W,"isOneofGroup",{enumerable:!0,get:function(){return lm.isOneofGroup}});Object.defineProperty(W,"setOneofValue",{enumerable:!0,get:function(){return lm.setOneofValue}});Object.defineProperty(W,"getOneofValue",{enumerable:!0,get:function(){return lm.getOneofValue}});Object.defineProperty(W,"clearOneofValue",{enumerable:!0,get:function(){return lm.clearOneofValue}});Object.defineProperty(W,"getSelectedOneofValue",{enumerable:!0,get:function(){return lm.getSelectedOneofValue}});var VC=e5();Object.defineProperty(W,"listEnumValues",{enumerable:!0,get:function(){return VC.listEnumValues}});Object.defineProperty(W,"listEnumNames",{enumerable:!0,get:function(){return VC.listEnumNames}});Object.defineProperty(W,"listEnumNumbers",{enumerable:!0,get:function(){return VC.listEnumNumbers}});Object.defineProperty(W,"isEnumObject",{enumerable:!0,get:function(){return VC.isEnumObject}});var SNe=AP();Object.defineProperty(W,"lowerCamelCase",{enumerable:!0,get:function(){return SNe.lowerCamelCase}});var um=_u();Object.defineProperty(W,"assert",{enumerable:!0,get:function(){return um.assert}});Object.defineProperty(W,"assertNever",{enumerable:!0,get:function(){return um.assertNever}});Object.defineProperty(W,"assertInt32",{enumerable:!0,get:function(){return um.assertInt32}});Object.defineProperty(W,"assertUInt32",{enumerable:!0,get:function(){return um.assertUInt32}});Object.defineProperty(W,"assertFloat32",{enumerable:!0,get:function(){return um.assertFloat32}})});var PP=h(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.readServiceOption=Qi.readMethodOption=Qi.readMethodOptions=Qi.normalizeMethodInfo=void 0;var RNe=gt();function TNe(t,e){var r,s,n;let i=t;return i.service=e,i.localName=(r=i.localName)!==null&&r!==void 0?r:RNe.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}Qi.normalizeMethodInfo=TNe;function vNe(t,e,r,s){var n;let i=(n=t.methods.find((o,a)=>o.localName===e||a===e))===null||n===void 0?void 0:n.options;return i&&i[r]?s.fromJson(i[r]):void 0}Qi.readMethodOptions=vNe;function PNe(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;if(!i)return;let o=i[r];return o===void 0?o:s?s.fromJson(o):o}Qi.readMethodOption=PNe;function kNe(t,e,r){let s=t.options;if(!s)return;let n=s[e];return n===void 0?n:r?r.fromJson(n):n}Qi.readServiceOption=kNe});var o5=h(YC=>{"use strict";Object.defineProperty(YC,"__esModule",{value:!0});YC.ServiceType=void 0;var DNe=PP(),kP=class{constructor(e,r,s){this.typeName=e,this.methods=r.map(n=>DNe.normalizeMethodInfo(n,this)),this.options=s??{}}};YC.ServiceType=kP});var _P=h(JC=>{"use strict";Object.defineProperty(JC,"__esModule",{value:!0});JC.RpcError=void 0;var DP=class extends Error{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(` `)}};JC.RpcError=DP});var LP=h(jC=>{"use strict";Object.defineProperty(jC,"__esModule",{value:!0});jC.mergeRpcOptions=void 0;var a5=gt();function _Ne(t,e){if(!e)return t;let r={};WC(t,r),WC(e,r);for(let s of Object.keys(e)){let n=e[s];switch(s){case"jsonOptions":r.jsonOptions=a5.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=a5.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},WC(t.meta,r.meta),WC(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(n):n.concat();break}}return r}jC.mergeRpcOptions=_Ne;function WC(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}});var OP=h(bc=>{"use strict";Object.defineProperty(bc,"__esModule",{value:!0});bc.Deferred=bc.DeferredState=void 0;var xi;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(xi=bc.DeferredState||(bc.DeferredState={}));var MP=class{constructor(e=!0){this._state=xi.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!==xi.PENDING)throw new Error(`cannot resolve ${xi[this.state].toLowerCase()}`);this._resolve(e),this._state=xi.RESOLVED}reject(e){if(this.state!==xi.PENDING)throw new Error(`cannot reject ${xi[this.state].toLowerCase()}`);this._reject(e),this._state=xi.REJECTED}resolvePending(e){this._state===xi.PENDING&&this.resolve(e)}rejectPending(e){this._state===xi.PENDING&&this.reject(e)}};bc.Deferred=MP});var UP=h(KC=>{"use strict";Object.defineProperty(KC,"__esModule",{value:!0});KC.RpcOutputStreamController=void 0;var c5=OP(),Qc=gt(),FP=class{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){Qc.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){Qc.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){Qc.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(){Qc.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:()=>{let e=this._itState;Qc.assert(e,"bad state"),Qc.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 c5.Deferred,e.p.promise)}}}pushIt(e){let r=this._itState;if(r.p){let s=r.p;Qc.assert(s.state==c5.DeferredState.PENDING,"iterator contract broken"),"value"in e?s.resolve(e):s.reject(e),delete r.p}else r.q.push(e)}};KC.RpcOutputStreamController=FP});var GP=h(Fu=>{"use strict";var LNe=Fu&&Fu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};Object.defineProperty(Fu,"__esModule",{value:!0});Fu.UnaryCall=void 0;var qP=class{constructor(e,r,s,n,i,o,a){this.method=e,this.requestHeaders=r,this.request=s,this.headers=n,this.response=i,this.status=o,this.trailers=a}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 LNe(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}})}};Fu.UnaryCall=qP});var zP=h(Uu=>{"use strict";var MNe=Uu&&Uu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};Object.defineProperty(Uu,"__esModule",{value:!0});Uu.ServerStreamingCall=void 0;var HP=class{constructor(e,r,s,n,i,o,a){this.method=e,this.requestHeaders=r,this.request=s,this.headers=n,this.responses=i,this.status=o,this.trailers=a}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 MNe(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}})}};Uu.ServerStreamingCall=HP});var VP=h(qu=>{"use strict";var ONe=qu&&qu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};Object.defineProperty(qu,"__esModule",{value:!0});qu.ClientStreamingCall=void 0;var $P=class{constructor(e,r,s,n,i,o,a){this.method=e,this.requestHeaders=r,this.requests=s,this.headers=n,this.response=i,this.status=o,this.trailers=a}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 ONe(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}})}};qu.ClientStreamingCall=$P});var JP=h(Gu=>{"use strict";var FNe=Gu&&Gu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};Object.defineProperty(Gu,"__esModule",{value:!0});Gu.DuplexStreamingCall=void 0;var YP=class{constructor(e,r,s,n,i,o,a){this.method=e,this.requestHeaders=r,this.requests=s,this.headers=n,this.responses=i,this.status=o,this.trailers=a}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 FNe(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}})}};Gu.DuplexStreamingCall=YP});var u5=h($u=>{"use strict";var UNe=$u&&$u.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};Object.defineProperty($u,"__esModule",{value:!0});$u.TestTransport=void 0;var Vs=_P(),XC=gt(),l5=UP(),qNe=LP(),GNe=GP(),HNe=zP(),zNe=VP(),$Ne=JP(),zu=class t{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 Hu?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof Hu?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 Vs.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof Vs.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(XC.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),XC.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,s){return UNe(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)XC.assert(e.O.is(i)),n.push(i);else this.data.response instanceof Vs.RpcError||(XC.assert(e.O.is(this.data.response)),n.push(this.data.response));try{yield zt(this.responseDelay,s)(void 0)}catch(i){r.notifyError(i);return}if(this.data.response instanceof Vs.RpcError){r.notifyError(this.data.response);return}for(let i of n){r.notifyMessage(i);try{yield zt(this.betweenResponseDelay,s)(void 0)}catch(o){r.notifyError(o);return}}if(this.data.status instanceof Vs.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof Vs.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 Vs.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 Vs.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return qNe.mergeRpcOptions({},e)}unary(e,r,s){var n;let i=(n=s.meta)!==null&&n!==void 0?n:{},o=this.promiseHeaders().then(zt(this.headerDelay,s.abort)),a=o.catch(u=>{}).then(zt(this.responseDelay,s.abort)).then(u=>this.promiseSingleResponse(e)),c=a.catch(u=>{}).then(zt(this.afterResponseDelay,s.abort)).then(u=>this.promiseStatus()),l=a.catch(u=>{}).then(zt(this.afterResponseDelay,s.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput={single:r},new GNe.UnaryCall(e,i,r,o,a,c,l)}serverStreaming(e,r,s){var n;let i=(n=s.meta)!==null&&n!==void 0?n:{},o=this.promiseHeaders().then(zt(this.headerDelay,s.abort)),a=new l5.RpcOutputStreamController,c=o.then(zt(this.responseDelay,s.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,s.abort)).then(zt(this.afterResponseDelay,s.abort)),l=c.then(()=>this.promiseStatus()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new HNe.ServerStreamingCall(e,i,r,o,a,l,u)}clientStreaming(e,r){var s;let n=(s=r.meta)!==null&&s!==void 0?s:{},i=this.promiseHeaders().then(zt(this.headerDelay,r.abort)),o=i.catch(l=>{}).then(zt(this.responseDelay,r.abort)).then(l=>this.promiseSingleResponse(e)),a=o.catch(l=>{}).then(zt(this.afterResponseDelay,r.abort)).then(l=>this.promiseStatus()),c=o.catch(l=>{}).then(zt(this.afterResponseDelay,r.abort)).then(l=>this.promiseTrailers());return this.maybeSuppressUncaught(a,c),this.lastInput=new Hu(this.data,r.abort),new zNe.ClientStreamingCall(e,n,this.lastInput,i,o,a,c)}duplex(e,r){var s;let n=(s=r.meta)!==null&&s!==void 0?s:{},i=this.promiseHeaders().then(zt(this.headerDelay,r.abort)),o=new l5.RpcOutputStreamController,a=i.then(zt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,o,r.abort)).then(zt(this.afterResponseDelay,r.abort)),c=a.then(()=>this.promiseStatus()),l=a.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new Hu(this.data,r.abort),new $Ne.DuplexStreamingCall(e,n,this.lastInput,i,o,c,l)}};$u.TestTransport=zu;zu.defaultHeaders={responseHeader:"test"};zu.defaultStatus={code:"OK",detail:"all good"};zu.defaultTrailers={responseTrailer:"test"};function zt(t,e){return r=>new Promise((s,n)=>{if(e?.aborted)n(new Vs.RpcError("user cancel","CANCELLED"));else{let i=setTimeout(()=>s(r),t);e&&e.addEventListener("abort",o=>{clearTimeout(i),n(new Vs.RpcError("user cancel","CANCELLED"))})}})}var Hu=class{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 Vs.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(zt(r,this.abort))}complete(){if(this.data.inputComplete instanceof Vs.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(zt(e,this.abort))}}});var A5=h(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});Ys.stackDuplexStreamingInterceptors=Ys.stackClientStreamingInterceptors=Ys.stackServerStreamingInterceptors=Ys.stackUnaryInterceptors=Ys.stackIntercept=void 0;var VNe=gt();function Am(t,e,r,s,n){var i,o,a,c;if(t=="unary"){let l=(u,A,d)=>e.unary(u,A,d);for(let u of((i=s.interceptors)!==null&&i!==void 0?i:[]).filter(A=>A.interceptUnary).reverse()){let A=l;l=(d,p,m)=>u.interceptUnary(A,d,p,m)}return l(r,n,s)}if(t=="serverStreaming"){let l=(u,A,d)=>e.serverStreaming(u,A,d);for(let u of((o=s.interceptors)!==null&&o!==void 0?o:[]).filter(A=>A.interceptServerStreaming).reverse()){let A=l;l=(d,p,m)=>u.interceptServerStreaming(A,d,p,m)}return l(r,n,s)}if(t=="clientStreaming"){let l=(u,A)=>e.clientStreaming(u,A);for(let u of((a=s.interceptors)!==null&&a!==void 0?a:[]).filter(A=>A.interceptClientStreaming).reverse()){let A=l;l=(d,p)=>u.interceptClientStreaming(A,d,p)}return l(r,s)}if(t=="duplex"){let l=(u,A)=>e.duplex(u,A);for(let u of((c=s.interceptors)!==null&&c!==void 0?c:[]).filter(A=>A.interceptDuplex).reverse()){let A=l;l=(d,p)=>u.interceptDuplex(A,d,p)}return l(r,s)}VNe.assertNever(t)}Ys.stackIntercept=Am;function YNe(t,e,r,s){return Am("unary",t,e,s,r)}Ys.stackUnaryInterceptors=YNe;function JNe(t,e,r,s){return Am("serverStreaming",t,e,s,r)}Ys.stackServerStreamingInterceptors=JNe;function WNe(t,e,r){return Am("clientStreaming",t,e,r)}Ys.stackClientStreamingInterceptors=WNe;function jNe(t,e,r){return Am("duplex",t,e,r)}Ys.stackDuplexStreamingInterceptors=jNe});var d5=h(ZC=>{"use strict";Object.defineProperty(ZC,"__esModule",{value:!0});ZC.ServerCallContextController=void 0;var WP=class{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)}}};ZC.ServerCallContextController=WP});var m5=h(at=>{"use strict";Object.defineProperty(at,"__esModule",{value:!0});var KNe=o5();Object.defineProperty(at,"ServiceType",{enumerable:!0,get:function(){return KNe.ServiceType}});var jP=PP();Object.defineProperty(at,"readMethodOptions",{enumerable:!0,get:function(){return jP.readMethodOptions}});Object.defineProperty(at,"readMethodOption",{enumerable:!0,get:function(){return jP.readMethodOption}});Object.defineProperty(at,"readServiceOption",{enumerable:!0,get:function(){return jP.readServiceOption}});var XNe=_P();Object.defineProperty(at,"RpcError",{enumerable:!0,get:function(){return XNe.RpcError}});var ZNe=LP();Object.defineProperty(at,"mergeRpcOptions",{enumerable:!0,get:function(){return ZNe.mergeRpcOptions}});var eSe=UP();Object.defineProperty(at,"RpcOutputStreamController",{enumerable:!0,get:function(){return eSe.RpcOutputStreamController}});var tSe=u5();Object.defineProperty(at,"TestTransport",{enumerable:!0,get:function(){return tSe.TestTransport}});var p5=OP();Object.defineProperty(at,"Deferred",{enumerable:!0,get:function(){return p5.Deferred}});Object.defineProperty(at,"DeferredState",{enumerable:!0,get:function(){return p5.DeferredState}});var rSe=JP();Object.defineProperty(at,"DuplexStreamingCall",{enumerable:!0,get:function(){return rSe.DuplexStreamingCall}});var sSe=VP();Object.defineProperty(at,"ClientStreamingCall",{enumerable:!0,get:function(){return sSe.ClientStreamingCall}});var nSe=zP();Object.defineProperty(at,"ServerStreamingCall",{enumerable:!0,get:function(){return nSe.ServerStreamingCall}});var iSe=GP();Object.defineProperty(at,"UnaryCall",{enumerable:!0,get:function(){return iSe.UnaryCall}});var dm=A5();Object.defineProperty(at,"stackIntercept",{enumerable:!0,get:function(){return dm.stackIntercept}});Object.defineProperty(at,"stackDuplexStreamingInterceptors",{enumerable:!0,get:function(){return dm.stackDuplexStreamingInterceptors}});Object.defineProperty(at,"stackClientStreamingInterceptors",{enumerable:!0,get:function(){return dm.stackClientStreamingInterceptors}});Object.defineProperty(at,"stackServerStreamingInterceptors",{enumerable:!0,get:function(){return dm.stackServerStreamingInterceptors}});Object.defineProperty(at,"stackUnaryInterceptors",{enumerable:!0,get:function(){return dm.stackUnaryInterceptors}});var oSe=d5();Object.defineProperty(at,"ServerCallContextController",{enumerable:!0,get:function(){return oSe.ServerCallContextController}})});var v5=h((eZe,T5)=>{function Js(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))}T5.exports=Js;Js.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};Js.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};Js.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};Js.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)};Js.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};Js.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};Js.prototype.start=Js.prototype.try;Js.prototype.errors=function(){return this._errors};Js.prototype.attempts=function(){return this._attempts};Js.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,s=0;s=r&&(e=n,r=o)}return e}});var P5=h(Rc=>{var ESe=v5();Rc.operation=function(t){var e=Rc.timeouts(t);return new ESe(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};Rc.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{k5.exports=P5()});var L5=h((sZe,_5)=>{var ySe=D5();function CSe(t,e){function r(s,n){var i=e||{},o;"randomize"in i||(i.randomize=!0),o=ySe.operation(i);function a(u){n(u||new Error("Aborted"))}function c(u,A){if(u.bail){a(u);return}o.retry(u)?i.onRetry&&i.onRetry(u,A):n(o.mainError())}function l(u){var A;try{A=t(a,u)}catch(d){c(d,u);return}Promise.resolve(A).then(s).catch(function(p){c(p,u)})}o.attempt(l)}return new Promise(r)}_5.exports=CSe});var Br=h(Es=>{"use strict";Es.__esModule=!0;Es.extend=M5;Es.indexOf=QSe;Es.escapeExpression=xSe;Es.isEmpty=NSe;Es.createFrame=SSe;Es.blockParams=RSe;Es.appendContextPath=TSe;var ISe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},BSe=/[&<>"'`=]/g,wSe=/[&<>"'`=]/;function bSe(t){return ISe[t]}function M5(t){for(var e=1;e{"use strict";oI.__esModule=!0;var Sk=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Rk(t,e){var r=e&&e.loc,s=void 0,n=void 0,i=void 0,o=void 0;r&&(s=r.start.line,n=r.end.line,i=r.start.column,o=r.end.column,t+=" - "+s+":"+i);for(var a=Error.prototype.constructor.call(this,t),c=0;c{"use strict";aI.__esModule=!0;var Tk=Br();aI.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(Tk.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=Tk.createFrame(r.data);i.contextPath=Tk.appendContextPath(r.data.contextPath,r.name),r={data:i}}return n(e,r)})};U5.exports=aI.default});var H5=h((cI,G5)=>{"use strict";cI.__esModule=!0;function vSe(t){return t&&t.__esModule?t:{default:t}}var hm=Br(),PSe=ys(),kSe=vSe(PSe);cI.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new kSe.default("Must pass iterator to #each");var s=r.fn,n=r.inverse,i=0,o="",a=void 0,c=void 0;r.data&&r.ids&&(c=hm.appendContextPath(r.data.contextPath,r.ids[0])+"."),hm.isFunction(e)&&(e=e.call(this)),r.data&&(a=hm.createFrame(r.data));function l(m,f,y){a&&(a.key=m,a.index=f,a.first=f===0,a.last=!!y,c&&(a.contextPath=c+m)),o=o+s(e[m],{data:a,blockParams:hm.blockParams([e[m],m],[c+m,null])})}if(e&&typeof e=="object")if(hm.isArray(e))for(var u=e.length;i{"use strict";lI.__esModule=!0;function DSe(t){return t&&t.__esModule?t:{default:t}}var _Se=ys(),LSe=DSe(_Se);lI.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new LSe.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};z5.exports=lI.default});var W5=h((uI,J5)=>{"use strict";uI.__esModule=!0;function MSe(t){return t&&t.__esModule?t:{default:t}}var V5=Br(),OSe=ys(),Y5=MSe(OSe);uI.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new Y5.default("#if requires exactly one argument");return V5.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||V5.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new Y5.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};J5.exports=uI.default});var K5=h((AI,j5)=>{"use strict";AI.__esModule=!0;AI.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],s=0;s{"use strict";dI.__esModule=!0;dI.default=function(t){t.registerHelper("lookup",function(e,r,s){return e&&s.lookupProperty(e,r)})};X5.exports=dI.default});var tj=h((pI,ej)=>{"use strict";pI.__esModule=!0;function FSe(t){return t&&t.__esModule?t:{default:t}}var fm=Br(),USe=ys(),qSe=FSe(USe);pI.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new qSe.default("#with requires exactly one argument");fm.isFunction(e)&&(e=e.call(this));var s=r.fn;if(fm.isEmpty(e))return r.inverse(this);var n=r.data;return r.data&&r.ids&&(n=fm.createFrame(r.data),n.contextPath=fm.appendContextPath(r.data.contextPath,r.ids[0])),s(e,{data:n,blockParams:fm.blockParams([e],[n&&n.contextPath])})})};ej.exports=pI.default});var vk=h(mI=>{"use strict";mI.__esModule=!0;mI.registerDefaultHelpers=rRe;mI.moveHelperToHooks=sRe;function Tc(t){return t&&t.__esModule?t:{default:t}}var GSe=q5(),HSe=Tc(GSe),zSe=H5(),$Se=Tc(zSe),VSe=$5(),YSe=Tc(VSe),JSe=W5(),WSe=Tc(JSe),jSe=K5(),KSe=Tc(jSe),XSe=Z5(),ZSe=Tc(XSe),eRe=tj(),tRe=Tc(eRe);function rRe(t){HSe.default(t),$Se.default(t),YSe.default(t),WSe.default(t),KSe.default(t),ZSe.default(t),tRe.default(t)}function sRe(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}});var sj=h((hI,rj)=>{"use strict";hI.__esModule=!0;var nRe=Br();hI.default=function(t){t.registerDecorator("inline",function(e,r,s,n){var i=e;return r.partials||(r.partials={},i=function(o,a){var c=s.partials;s.partials=nRe.extend({},c,r.partials);var l=e(o,a);return s.partials=c,l}),r.partials[n.args[0]]=n.fn,i})};rj.exports=hI.default});var nj=h(Pk=>{"use strict";Pk.__esModule=!0;Pk.registerDefaultDecorators=cRe;function iRe(t){return t&&t.__esModule?t:{default:t}}var oRe=sj(),aRe=iRe(oRe);function cRe(t){aRe.default(t)}});var kk=h((fI,ij)=>{"use strict";fI.__esModule=!0;var lRe=Br(),Ju={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if(typeof e=="string"){var r=lRe.indexOf(Ju.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},log:function(e){if(e=Ju.lookupLevel(e),typeof console<"u"&&Ju.lookupLevel(Ju.level)<=e){var r=Ju.methodMap[e];console[r]||(r="log");for(var s=arguments.length,n=Array(s>1?s-1:0),i=1;i{"use strict";gm.__esModule=!0;gm.createProtoAccessControl=pRe;gm.resultIsAllowed=mRe;gm.resetLoggedProperties=fRe;function uRe(t){return t&&t.__esModule?t:{default:t}}var oj=Br(),ARe=kk(),dRe=uRe(ARe),gI=Object.create(null);function pRe(t){var e=Object.create(null);e.__proto__=!1,oj.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,oj.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}function mRe(t,e,r){return aj(typeof t=="function"?e.methods:e.properties,r)}function aj(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(hRe(e),!1)}function hRe(t){gI[t]!==!0&&(gI[t]=!0,dRe.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`))}function fRe(){Object.keys(gI).forEach(function(t){delete gI[t]})}});var yI=h(Ri=>{"use strict";Ri.__esModule=!0;Ri.HandlebarsEnvironment=Mk;function cj(t){return t&&t.__esModule?t:{default:t}}var vc=Br(),gRe=ys(),_k=cj(gRe),ERe=vk(),yRe=nj(),CRe=kk(),EI=cj(CRe),IRe=Dk(),BRe="4.7.9";Ri.VERSION=BRe;var wRe=8;Ri.COMPILER_REVISION=wRe;var bRe=7;Ri.LAST_COMPATIBLE_COMPILER_REVISION=bRe;var QRe={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"};Ri.REVISION_CHANGES=QRe;var Lk="[object Object]";function Mk(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},ERe.registerDefaultHelpers(this),yRe.registerDefaultDecorators(this)}Mk.prototype={constructor:Mk,logger:EI.default,log:EI.default.log,registerHelper:function(e,r){if(vc.toString.call(e)===Lk){if(r)throw new _k.default("Arg not supported with multiple helpers");vc.extend(this.helpers,e)}else this.helpers[e]=r},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,r){if(vc.toString.call(e)===Lk)vc.extend(this.partials,e);else{if(typeof r>"u")throw new _k.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,r){if(vc.toString.call(e)===Lk){if(r)throw new _k.default("Arg not supported with multiple decorators");vc.extend(this.decorators,e)}else this.decorators[e]=r},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){IRe.resetLoggedProperties()}};var xRe=EI.default.log;Ri.log=xRe;Ri.createFrame=vc.createFrame;Ri.logger=EI.default});var uj=h((CI,lj)=>{"use strict";CI.__esModule=!0;function Ok(t){this.string=t}Ok.prototype.toString=Ok.prototype.toHTML=function(){return""+this.string};CI.default=Ok;lj.exports=CI.default});var Aj=h(Fk=>{"use strict";Fk.__esModule=!0;Fk.wrapHelper=NRe;function NRe(t,e){if(typeof t!="function")return t;var r=function(){var n=arguments[arguments.length-1];return arguments[arguments.length-1]=e(n),t.apply(this,arguments)};return r}});var gj=h(Aa=>{"use strict";Aa.__esModule=!0;Aa.checkRevision=kRe;Aa.template=DRe;Aa.wrapProgram=II;Aa.resolvePartial=_Re;Aa.invokePartial=LRe;Aa.noop=hj;function SRe(t){return t&&t.__esModule?t:{default:t}}function RRe(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}var TRe=Br(),Wu=RRe(TRe),vRe=ys(),ho=SRe(vRe),fo=yI(),dj=vk(),PRe=Aj(),pj=Dk();function kRe(t){var e=t&&t[0]||1,r=fo.COMPILER_REVISION;if(!(e>=fo.LAST_COMPATIBLE_COMPILER_REVISION&&e<=fo.COMPILER_REVISION))if(e{"use strict";wI.__esModule=!0;wI.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}};Ej.exports=wI.default});var wj=h((bI,Bj)=>{"use strict";bI.__esModule=!0;function Gk(t){return t&&t.__esModule?t:{default:t}}function Hk(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}var FRe=yI(),yj=Hk(FRe),URe=uj(),qRe=Gk(URe),GRe=ys(),HRe=Gk(GRe),zRe=Br(),qk=Hk(zRe),$Re=gj(),Cj=Hk($Re),VRe=Uk(),YRe=Gk(VRe);function Ij(){var t=new yj.HandlebarsEnvironment;return qk.extend(t,yj),t.SafeString=qRe.default,t.Exception=HRe.default,t.Utils=qk,t.escapeExpression=qk.escapeExpression,t.VM=Cj,t.template=function(e){return Cj.template(e,t)},t}var Em=Ij();Em.create=Ij;YRe.default(Em);Em.default=Em;bI.default=Em;Bj.exports=bI.default});var zk=h((QI,Qj)=>{"use strict";QI.__esModule=!0;var bj={helpers:{helperExpression:function(e){return e.type==="SubExpression"||(e.type==="MustacheStatement"||e.type==="BlockStatement")&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return e.parts.length===1&&!bj.helpers.scopedId(e)&&!e.depth}}};QI.default=bj;Qj.exports=QI.default});var Nj=h((xI,xj)=>{"use strict";xI.__esModule=!0;var JRe=(function(){var t={trace:function(){},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:function(n,i,o,a,c,l,u){var A=l.length-1;switch(c){case 1:return l[A-1];case 2:this.$=a.prepareProgram(l[A]);break;case 3:this.$=l[A];break;case 4:this.$=l[A];break;case 5:this.$=l[A];break;case 6:this.$=l[A];break;case 7:this.$=l[A];break;case 8:this.$=l[A];break;case 9:this.$={type:"CommentStatement",value:a.stripComment(l[A]),strip:a.stripFlags(l[A],l[A]),loc:a.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:l[A],value:l[A],loc:a.locInfo(this._$)};break;case 11:this.$=a.prepareRawBlock(l[A-2],l[A-1],l[A],this._$);break;case 12:this.$={path:l[A-3],params:l[A-2],hash:l[A-1]};break;case 13:this.$=a.prepareBlock(l[A-3],l[A-2],l[A-1],l[A],!1,this._$);break;case 14:this.$=a.prepareBlock(l[A-3],l[A-2],l[A-1],l[A],!0,this._$);break;case 15:this.$={open:l[A-5],path:l[A-4],params:l[A-3],hash:l[A-2],blockParams:l[A-1],strip:a.stripFlags(l[A-5],l[A])};break;case 16:this.$={path:l[A-4],params:l[A-3],hash:l[A-2],blockParams:l[A-1],strip:a.stripFlags(l[A-5],l[A])};break;case 17:this.$={path:l[A-4],params:l[A-3],hash:l[A-2],blockParams:l[A-1],strip:a.stripFlags(l[A-5],l[A])};break;case 18:this.$={strip:a.stripFlags(l[A-1],l[A-1]),program:l[A]};break;case 19:var d=a.prepareBlock(l[A-2],l[A-1],l[A],l[A],!1,this._$),p=a.prepareProgram([d],l[A-1].loc);p.chained=!0,this.$={strip:l[A-2].strip,program:p,chain:!0};break;case 20:this.$=l[A];break;case 21:this.$={path:l[A-1],strip:a.stripFlags(l[A-2],l[A])};break;case 22:this.$=a.prepareMustache(l[A-3],l[A-2],l[A-1],l[A-4],a.stripFlags(l[A-4],l[A]),this._$);break;case 23:this.$=a.prepareMustache(l[A-3],l[A-2],l[A-1],l[A-4],a.stripFlags(l[A-4],l[A]),this._$);break;case 24:this.$={type:"PartialStatement",name:l[A-3],params:l[A-2],hash:l[A-1],indent:"",strip:a.stripFlags(l[A-4],l[A]),loc:a.locInfo(this._$)};break;case 25:this.$=a.preparePartialBlock(l[A-2],l[A-1],l[A],this._$);break;case 26:this.$={path:l[A-3],params:l[A-2],hash:l[A-1],strip:a.stripFlags(l[A-4],l[A])};break;case 27:this.$=l[A];break;case 28:this.$=l[A];break;case 29:this.$={type:"SubExpression",path:l[A-3],params:l[A-2],hash:l[A-1],loc:a.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:l[A],loc:a.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:a.id(l[A-2]),value:l[A],loc:a.locInfo(this._$)};break;case 32:this.$=a.id(l[A-1]);break;case 33:this.$=l[A];break;case 34:this.$=l[A];break;case 35:this.$={type:"StringLiteral",value:l[A],original:l[A],loc:a.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(l[A]),original:Number(l[A]),loc:a.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:l[A]==="true",original:l[A]==="true",loc:a.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:a.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:a.locInfo(this._$)};break;case 40:this.$=l[A];break;case 41:this.$=l[A];break;case 42:this.$=a.preparePath(!0,l[A],this._$);break;case 43:this.$=a.preparePath(!1,l[A],this._$);break;case 44:l[A-2].push({part:a.id(l[A]),original:l[A],separator:l[A-1]}),this.$=l[A-2];break;case 45:this.$=[{part:a.id(l[A]),original:l[A]}];break;case 46:this.$=[];break;case 47:l[A-1].push(l[A]);break;case 48:this.$=[];break;case 49:l[A-1].push(l[A]);break;case 50:this.$=[];break;case 51:l[A-1].push(l[A]);break;case 58:this.$=[];break;case 59:l[A-1].push(l[A]);break;case 64:this.$=[];break;case 65:l[A-1].push(l[A]);break;case 70:this.$=[];break;case 71:l[A-1].push(l[A]);break;case 78:this.$=[];break;case 79:l[A-1].push(l[A]);break;case 82:this.$=[];break;case 83:l[A-1].push(l[A]);break;case 86:this.$=[];break;case 87:l[A-1].push(l[A]);break;case 90:this.$=[];break;case 91:l[A-1].push(l[A]);break;case 94:this.$=[];break;case 95:l[A-1].push(l[A]);break;case 98:this.$=[l[A]];break;case 99:l[A-1].push(l[A]);break;case 100:this.$=[l[A]];break;case 101:l[A-1].push(l[A]);break}},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:function(n,i){throw new Error(n)},parse:function(n){var i=this,o=[0],a=[null],c=[],l=this.table,u="",A=0,d=0,p=0,m=2,f=1;this.lexer.setInput(n),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var y=this.lexer.yylloc;c.push(y);var g=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function E(Ke){o.length=o.length-2*Ke,a.length=a.length-Ke,c.length=c.length-Ke}function C(){var Ke;return Ke=i.lexer.lex()||1,typeof Ke!="number"&&(Ke=i.symbols_[Ke]||Ke),Ke}for(var I,Q,P,F,pe,be,Re={},z,ne,U,ye;;){if(P=o[o.length-1],this.defaultActions[P]?F=this.defaultActions[P]:((I===null||typeof I>"u")&&(I=C()),F=l[P]&&l[P][I]),typeof F>"u"||!F.length||!F[0]){var It="";if(!p){ye=[];for(z in l[P])this.terminals_[z]&&z>2&&ye.push("'"+this.terminals_[z]+"'");this.lexer.showPosition?It="Parse error on line "+(A+1)+`: `+this.lexer.showPosition()+` Expecting `+ye.join(", ")+", got '"+(this.terminals_[I]||I)+"'":It="Parse error on line "+(A+1)+": Unexpected "+(I==1?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(It,{text:this.lexer.match,token:this.terminals_[I]||I,line:this.lexer.yylineno,loc:y,expected:ye})}}if(F[0]instanceof Array&&F.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+I);switch(F[0]){case 1:o.push(I),a.push(this.lexer.yytext),c.push(this.lexer.yylloc),o.push(F[1]),I=null,Q?(I=Q,Q=null):(d=this.lexer.yyleng,u=this.lexer.yytext,A=this.lexer.yylineno,y=this.lexer.yylloc,p>0&&p--);break;case 2:if(ne=this.productions_[F[1]][1],Re.$=a[a.length-ne],Re._$={first_line:c[c.length-(ne||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(ne||1)].first_column,last_column:c[c.length-1].last_column},g&&(Re._$.range=[c[c.length-(ne||1)].range[0],c[c.length-1].range[1]]),be=this.performAction.call(Re,u,d,A,this.yy,F[1],a,c),typeof be<"u")return be;ne&&(o=o.slice(0,-1*ne*2),a=a.slice(0,-1*ne),c=c.slice(0,-1*ne)),o.push(this.productions_[F[1]][0]),a.push(Re.$),c.push(Re._$),U=l[o[o.length-2]][o[o.length-1]],o.push(U);break;case 3:return!0}}return!0}},e=(function(){var s={EOF:1,parseError:function(i,o){if(this.yy.parser)this.yy.parser.parseError(i,o);else throw new Error(i)},setInput: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},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var o=i.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var o=i.length,a=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o-1),this.offset-=o;var c=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),a.length-1&&(this.yylineno-=a.length-1);var l=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:a?(a.length===c.length?this.yylloc.first_column:0)+c[c.length-a.length].length-a[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[l[0],l[0]+this.yyleng-o]),this},more:function(){return this._more=!0,this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput: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,"")},showPosition:function(){var i=this.pastInput(),o=new Array(i.length+1).join("-");return i+this.upcomingInput()+` `+o+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,o,a,c,l,u;this._more||(this.yytext="",this.match="");for(var A=this._currentRules(),d=0;do[0].length)&&(o=a,c=d,!this.options.flex)));d++);return o?(u=o[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,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(o[0].length),this.matched+=o[0],i=this.performAction.call(this,this.yy,this,A[c],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})},lex:function(){var i=this.next();return typeof i<"u"?i:this.lex()},begin:function(i){this.conditionStack.push(i)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(i){this.begin(i)}};return s.options={},s.performAction=function(i,o,a,c){function l(A,d){return o.yytext=o.yytext.substring(A,o.yyleng-d+A)}var u=c;switch(a){case 0:if(o.yytext.slice(-2)==="\\\\"?(l(0,1),this.begin("mu")):o.yytext.slice(-1)==="\\"?(l(0,1),this.begin("emu")):this.begin("mu"),o.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:(l(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(o.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 o.yytext=l(1,2).replace(/\\"/g,'"'),80;break;case 32:return o.yytext=l(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 o.yytext=o.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},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 r.prototype=t,t.Parser=r,new r})();xI.default=JRe;xj.exports=xI.default});var TI=h((RI,Tj)=>{"use strict";RI.__esModule=!0;function WRe(t){return t&&t.__esModule?t:{default:t}}var jRe=ys(),$k=WRe(jRe);function NI(){this.parents=[]}NI.prototype={constructor:NI,mutating:!1,acceptKey:function(e,r){var s=this.accept(e[r]);if(this.mutating){if(s&&!NI.prototype[s.type])throw new $k.default('Unexpected node type "'+s.type+'" found when accepting '+r+" on "+e.type);e[r]=s}},acceptRequired:function(e,r){if(this.acceptKey(e,r),!e[r])throw new $k.default(e.type+" requires "+r)},acceptArray:function(e){for(var r=0,s=e.length;r{"use strict";vI.__esModule=!0;function KRe(t){return t&&t.__esModule?t:{default:t}}var XRe=TI(),ZRe=KRe(XRe);function Ti(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}Ti.prototype=new ZRe.default;Ti.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";Ws.__esModule=!0;Ws.SourceLocation=rTe;Ws.id=sTe;Ws.stripFlags=nTe;Ws.stripComment=iTe;Ws.preparePath=oTe;Ws.prepareMustache=aTe;Ws.prepareRawBlock=cTe;Ws.prepareBlock=lTe;Ws.prepareProgram=uTe;Ws.preparePartialBlock=ATe;function eTe(t){return t&&t.__esModule?t:{default:t}}var tTe=ys(),Jk=eTe(tTe);function Wk(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new Jk.default(t.path.original+" doesn't match "+e,r)}}function rTe(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}}function sTe(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function nTe(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}function iTe(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function oTe(t,e,r){r=this.locInfo(r);for(var s=t?"@":"",n=[],i=0,o=0,a=e.length;o0)throw new Jk.default("Invalid path: "+s,{loc:r});c===".."&&i++}else n.push(c)}return{type:"PathExpression",data:t,depth:i,parts:n,original:s,loc:r}}function aTe(t,e,r,s,n,i){var o=s.charAt(3)||s.charAt(2),a=o!=="{"&&o!=="&",c=/\*/.test(s);return{type:c?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:a,strip:n,loc:this.locInfo(i)}}function cTe(t,e,r,s){Wk(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}}function lTe(t,e,r,s,n,i){s&&s.path&&Wk(t,s);var o=/\*/.test(t.open);e.blockParams=t.blockParams;var a=void 0,c=void 0;if(r){if(o)throw new Jk.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=s.strip),c=r.strip,a=r.program}return n&&(n=a,a=e,e=n),{type:o?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:a,openStrip:t.strip,inverseStrip:c,closeStrip:s&&s.strip,loc:this.locInfo(i)}}function uTe(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}}function ATe(t,e,r,s){return Wk(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)}}});var _j=h(Cm=>{"use strict";Cm.__esModule=!0;Cm.parseWithoutProcessing=Dj;Cm.parse=CTe;function dTe(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}function Xk(t){return t&&t.__esModule?t:{default:t}}var pTe=Nj(),jk=Xk(pTe),mTe=Pj(),hTe=Xk(mTe),fTe=kj(),gTe=dTe(fTe),ETe=ys(),ym=Xk(ETe),yTe=Br();Cm.parser=jk.default;var PI={};yTe.extend(PI,gTe);function Dj(t,e){if(t.type==="Program")return ITe(t),t;jk.default.yy=PI,PI.locInfo=function(s){return new PI.SourceLocation(e&&e.srcName,s)};var r=jk.default.parse(t);return r}function CTe(t,e){var r=Dj(t,e),s=new hTe.default(e);return s.accept(r)}function ITe(t){Kk(t)}function Kk(t){if(t!=null){if(Array.isArray(t)){t.forEach(Kk);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!BTe(t.depth))throw new ym.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new ym.default("Invalid AST: PathExpression.parts must be an array");for(var e=0;e=0}});var Fj=h(bm=>{"use strict";bm.__esModule=!0;bm.Compiler=Zk;bm.precompile=xTe;bm.compile=NTe;function Mj(t){return t&&t.__esModule?t:{default:t}}var wTe=ys(),Bm=Mj(wTe),wm=Br(),bTe=zk(),Im=Mj(bTe),QTe=[].slice;function Zk(){}Zk.prototype={compiler:Zk,equals:function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var s=0;s1)throw new Bm.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 o=e.indent||"";this.options.preventIndent&&o&&(this.opcode("appendContent",o),o=""),this.opcode("invokePartial",i,n,o),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){Lj(e);var r=this.classifySexpr(e);r==="simple"?this.simpleSexpr(e):r==="helper"?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,r,s){var n=e.path,i=n.parts[0],o=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,o)},simpleSexpr:function(e){var r=e.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,r,s){var n=this.setupFullMustacheParams(e,r,s),i=e.path,o=i.parts[0];if(this.options.knownHelpers[o])this.opcode("invokeKnownHelper",n.length,o);else{if(this.options.knownHelpersOnly)throw new Bm.default("You specified knownHelpersOnly, but used the unknown helper "+o,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",n.length,i.original,Im.default.helpers.simpleId(i))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],s=Im.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")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var r=e.pairs,s=0,n=r.length;for(this.opcode("pushHash");s=0)return[r,i]}}};function xTe(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new Bm.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)}function NTe(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new Bm.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=wm.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var s=void 0;function n(){var o=r.parse(t,e),a=new r.Compiler().compile(o,e),c=new r.JavaScriptCompiler().compile(a,e,void 0,!0);return r.template(c)}function i(o,a){return s||(s=n()),s.call(this,o,a)}return i._setup=function(o){return s||(s=n()),s._setup(o)},i._child=function(o,a,c,l){return s||(s=n()),s._child(o,a,c,l)},i}function Oj(t,e){if(t===e)return!0;if(wm.isArray(t)&&wm.isArray(e)&&t.length===e.length){for(var r=0;r{var Uj="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");eD.encode=function(t){if(0<=t&&t{var Gj=qj(),tD=5,Hj=1<>1;return e?-r:r}rD.encode=function(e){var r="",s,n=STe(e);do s=n&zj,n>>>=tD,n>0&&(s|=$j),r+=Gj.encode(s);while(n>0);return r};rD.decode=function(e,r,s){var n=e.length,i=0,o=0,a,c;do{if(r>=n)throw new Error("Expected more digits in base 64 VLQ value.");if(c=Gj.decode(e.charCodeAt(r++)),c===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));a=!!(c&$j),c&=zj,i=i+(c<{function TTe(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}ir.getArg=TTe;var Vj=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,vTe=/^data:.+\,.+$/;function Qm(t){var e=t.match(Vj);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}ir.urlParse=Qm;function ju(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}ir.urlGenerate=ju;function nD(t){var e=t,r=Qm(t);if(r){if(!r.path)return t;e=r.path}for(var s=ir.isAbsolute(e),n=e.split(/\/+/),i,o=0,a=n.length-1;a>=0;a--)i=n[a],i==="."?n.splice(a,1):i===".."?o++:o>0&&(i===""?(n.splice(a+1,o),o=0):(n.splice(a,2),o--));return e=n.join("/"),e===""&&(e=s?"/":"."),r?(r.path=e,ju(r)):e}ir.normalize=nD;function Yj(t,e){t===""&&(t="."),e===""&&(e=".");var r=Qm(e),s=Qm(t);if(s&&(t=s.path||"/"),r&&!r.scheme)return s&&(r.scheme=s.scheme),ju(r);if(r||e.match(vTe))return e;if(s&&!s.host&&!s.path)return s.host=e,ju(s);var n=e.charAt(0)==="/"?e:nD(t.replace(/\/+$/,"")+"/"+e);return s?(s.path=n,ju(s)):n}ir.join=Yj;ir.isAbsolute=function(t){return t.charAt(0)==="/"||Vj.test(t)};function PTe(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)}ir.relative=PTe;var Jj=(function(){var t=Object.create(null);return!("__proto__"in t)})();function Wj(t){return t}function kTe(t){return jj(t)?"$"+t:t}ir.toSetString=Jj?Wj:kTe;function DTe(t){return jj(t)?t.slice(1):t}ir.fromSetString=Jj?Wj:DTe;function jj(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}function _Te(t,e,r){var s=Ku(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:Ku(t.name,e.name)}ir.compareByOriginalPositions=_Te;function LTe(t,e,r){var s=t.generatedLine-e.generatedLine;return s!==0||(s=t.generatedColumn-e.generatedColumn,s!==0||r)||(s=Ku(t.source,e.source),s!==0)||(s=t.originalLine-e.originalLine,s!==0)||(s=t.originalColumn-e.originalColumn,s!==0)?s:Ku(t.name,e.name)}ir.compareByGeneratedPositionsDeflated=LTe;function Ku(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function MTe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=Ku(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:Ku(t.name,e.name)}ir.compareByGeneratedPositionsInflated=MTe;function OTe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}ir.parseSourceMapInput=OTe;function FTe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var s=Qm(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=Yj(ju(s),e)}return nD(e)}ir.computeSourceURL=FTe});var aD=h(Kj=>{var iD=Xu(),oD=Object.prototype.hasOwnProperty,kc=typeof Map<"u";function go(){this._array=[],this._set=kc?new Map:Object.create(null)}go.fromArray=function(e,r){for(var s=new go,n=0,i=e.length;n=0)return r}else{var s=iD.toSetString(e);if(oD.call(this._set,s))return this._set[s]}throw new Error('"'+e+'" is not in the set.')};go.prototype.at=function(e){if(e>=0&&e{var Xj=Xu();function UTe(t,e){var r=t.generatedLine,s=e.generatedLine,n=t.generatedColumn,i=e.generatedColumn;return s>r||s==r&&i>=n||Xj.compareByGeneratedPositionsInflated(t,e)<=0}function kI(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}kI.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};kI.prototype.add=function(e){UTe(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};kI.prototype.toArray=function(){return this._sorted||(this._array.sort(Xj.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Zj.MappingList=kI});var cD=h(t9=>{var xm=sD(),xt=Xu(),DI=aD().ArraySet,qTe=e9().MappingList;function js(t){t||(t={}),this._file=xt.getArg(t,"file",null),this._sourceRoot=xt.getArg(t,"sourceRoot",null),this._skipValidation=xt.getArg(t,"skipValidation",!1),this._sources=new DI,this._names=new DI,this._mappings=new qTe,this._sourcesContents=null}js.prototype._version=3;js.fromSourceMap=function(e){var r=e.sourceRoot,s=new js({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=xt.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=xt.relative(r,n)),s._sources.has(i)||s._sources.add(i);var o=e.sourceContentFor(n);o!=null&&s.setSourceContent(n,o)}),s};js.prototype.addMapping=function(e){var r=xt.getArg(e,"generated"),s=xt.getArg(e,"original",null),n=xt.getArg(e,"source",null),i=xt.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})};js.prototype.setSourceContent=function(e,r){var s=e;this._sourceRoot!=null&&(s=xt.relative(this._sourceRoot,s)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[xt.toSetString(s)]=r):this._sourcesContents&&(delete this._sourcesContents[xt.toSetString(s)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};js.prototype.applySourceMap=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=xt.relative(i,n));var o=new DI,a=new DI;this._mappings.unsortedForEach(function(c){if(c.source===n&&c.originalLine!=null){var l=e.originalPositionFor({line:c.originalLine,column:c.originalColumn});l.source!=null&&(c.source=l.source,s!=null&&(c.source=xt.join(s,c.source)),i!=null&&(c.source=xt.relative(i,c.source)),c.originalLine=l.line,c.originalColumn=l.column,l.name!=null&&(c.name=l.name))}var u=c.source;u!=null&&!o.has(u)&&o.add(u);var A=c.name;A!=null&&!a.has(A)&&a.add(A)},this),this._sources=o,this._names=a,e.sources.forEach(function(c){var l=e.sourceContentFor(c);l!=null&&(s!=null&&(c=xt.join(s,c)),i!=null&&(c=xt.relative(i,c)),this.setSourceContent(c,l))},this)};js.prototype._validateMapping=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}))}};js.prototype._serializeMappings=function(){for(var e=0,r=1,s=0,n=0,i=0,o=0,a="",c,l,u,A,d=this._mappings.toArray(),p=0,m=d.length;p0){if(!xt.compareByGeneratedPositionsInflated(l,d[p-1]))continue;c+=","}c+=xm.encode(l.generatedColumn-e),e=l.generatedColumn,l.source!=null&&(A=this._sources.indexOf(l.source),c+=xm.encode(A-o),o=A,c+=xm.encode(l.originalLine-1-n),n=l.originalLine-1,c+=xm.encode(l.originalColumn-s),s=l.originalColumn,l.name!=null&&(u=this._names.indexOf(l.name),c+=xm.encode(u-i),i=u)),a+=c}return a};js.prototype._generateSourcesContent=function(e,r){return e.map(function(s){if(!this._sourcesContents)return null;r!=null&&(s=xt.relative(r,s));var n=xt.toSetString(s);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)};js.prototype.toJSON=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};js.prototype.toString=function(){return JSON.stringify(this.toJSON())};t9.SourceMapGenerator=js});var r9=h(Dc=>{Dc.GREATEST_LOWER_BOUND=1;Dc.LEAST_UPPER_BOUND=2;function lD(t,e,r,s,n,i){var o=Math.floor((e-t)/2)+t,a=n(r,s[o],!0);return a===0?o:a>0?e-o>1?lD(o,e,r,s,n,i):i==Dc.LEAST_UPPER_BOUND?e1?lD(t,o,r,s,n,i):i==Dc.LEAST_UPPER_BOUND?o:t<0?-1:t}Dc.search=function(e,r,s,n){if(r.length===0)return-1;var i=lD(-1,r.length,e,r,s,n||Dc.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&s(r[i],r[i-1],!0)===0;)--i;return i}});var n9=h(s9=>{function uD(t,e,r){var s=t[e];t[e]=t[r],t[r]=s}function GTe(t,e){return Math.round(t+Math.random()*(e-t))}function AD(t,e,r,s){if(r{var G=Xu(),dD=r9(),Zu=aD().ArraySet,HTe=sD(),Nm=n9().quickSort;function Ge(t,e){var r=t;return typeof t=="string"&&(r=G.parseSourceMapInput(t)),r.sections!=null?new Sn(r,e):new Jt(r,e)}Ge.fromSourceMap=function(t,e){return Jt.fromSourceMap(t,e)};Ge.prototype._version=3;Ge.prototype.__generatedMappings=null;Object.defineProperty(Ge.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});Ge.prototype.__originalMappings=null;Object.defineProperty(Ge.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});Ge.prototype._charIsMappingSeparator=function(e,r){var s=e.charAt(r);return s===";"||s===","};Ge.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};Ge.GENERATED_ORDER=1;Ge.ORIGINAL_ORDER=2;Ge.GREATEST_LOWER_BOUND=1;Ge.LEAST_UPPER_BOUND=2;Ge.prototype.eachMapping=function(e,r,s){var n=r||null,i=s||Ge.GENERATED_ORDER,o;switch(i){case Ge.GENERATED_ORDER:o=this._generatedMappings;break;case Ge.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;o.map(function(c){var l=c.source===null?null:this._sources.at(c.source);return l=G.computeSourceURL(a,l,this._sourceMapURL),{source:l,generatedLine:c.generatedLine,generatedColumn:c.generatedColumn,originalLine:c.originalLine,originalColumn:c.originalColumn,name:c.name===null?null:this._names.at(c.name)}},this).forEach(e,n)};Ge.prototype.allGeneratedPositionsFor=function(e){var r=G.getArg(e,"line"),s={source:G.getArg(e,"source"),originalLine:r,originalColumn:G.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",G.compareByOriginalPositions,dD.LEAST_UPPER_BOUND);if(i>=0){var o=this._originalMappings[i];if(e.column===void 0)for(var a=o.originalLine;o&&o.originalLine===a;)n.push({line:G.getArg(o,"generatedLine",null),column:G.getArg(o,"generatedColumn",null),lastColumn:G.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i];else for(var c=o.originalColumn;o&&o.originalLine===r&&o.originalColumn==c;)n.push({line:G.getArg(o,"generatedLine",null),column:G.getArg(o,"generatedColumn",null),lastColumn:G.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i]}return n};_I.SourceMapConsumer=Ge;function Jt(t,e){var r=t;typeof t=="string"&&(r=G.parseSourceMapInput(t));var s=G.getArg(r,"version"),n=G.getArg(r,"sources"),i=G.getArg(r,"names",[]),o=G.getArg(r,"sourceRoot",null),a=G.getArg(r,"sourcesContent",null),c=G.getArg(r,"mappings"),l=G.getArg(r,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);o&&(o=G.normalize(o)),n=n.map(String).map(G.normalize).map(function(u){return o&&G.isAbsolute(o)&&G.isAbsolute(u)?G.relative(o,u):u}),this._names=Zu.fromArray(i.map(String),!0),this._sources=Zu.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map(function(u){return G.computeSourceURL(o,u,e)}),this.sourceRoot=o,this.sourcesContent=a,this._mappings=c,this._sourceMapURL=e,this.file=l}Jt.prototype=Object.create(Ge.prototype);Jt.prototype.consumer=Ge;Jt.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=G.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r1&&(f.source=a+g[1],a+=g[1],f.originalLine=i+g[2],i=f.originalLine,f.originalLine+=1,f.originalColumn=o+g[3],o=f.originalColumn,g.length>4&&(f.name=c+g[4],c+=g[4])),m.push(f),typeof f.originalLine=="number"&&p.push(f)}Nm(m,G.compareByGeneratedPositionsDeflated),this.__generatedMappings=m,Nm(p,G.compareByOriginalPositions),this.__originalMappings=p};Jt.prototype._findMapping=function(e,r,s,n,i,o){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 dD.search(e,r,i,o)};Jt.prototype.computeColumnSpans=function(){for(var e=0;e=0){var n=this._generatedMappings[s];if(n.generatedLine===r.generatedLine){var i=G.getArg(n,"source",null);i!==null&&(i=this._sources.at(i),i=G.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var o=G.getArg(n,"name",null);return o!==null&&(o=this._names.at(o)),{source:i,line:G.getArg(n,"originalLine",null),column:G.getArg(n,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};Jt.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};Jt.prototype.sourceContentFor=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=G.relative(this.sourceRoot,n));var i;if(this.sourceRoot!=null&&(i=G.urlParse(this.sourceRoot))){var o=n.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];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.')};Jt.prototype.generatedPositionFor=function(e){var r=G.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var s={source:r,originalLine:G.getArg(e,"line"),originalColumn:G.getArg(e,"column")},n=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",G.compareByOriginalPositions,G.getArg(e,"bias",Ge.GREATEST_LOWER_BOUND));if(n>=0){var i=this._originalMappings[n];if(i.source===s.source)return{line:G.getArg(i,"generatedLine",null),column:G.getArg(i,"generatedColumn",null),lastColumn:G.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};_I.BasicSourceMapConsumer=Jt;function Sn(t,e){var r=t;typeof t=="string"&&(r=G.parseSourceMapInput(t));var s=G.getArg(r,"version"),n=G.getArg(r,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new Zu,this._names=new Zu;var i={line:-1,column:0};this._sections=n.map(function(o){if(o.url)throw new Error("Support for url field in sections not implemented.");var a=G.getArg(o,"offset"),c=G.getArg(a,"line"),l=G.getArg(a,"column");if(c{var zTe=cD().SourceMapGenerator,LI=Xu(),$Te=/(\r?\n)/,VTe=10,eA="$$$isSourceNode$$$";function Cs(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[eA]=!0,s!=null&&this.add(s)}Cs.fromStringWithSourceMap=function(e,r,s){var n=new Cs,i=e.split($Te),o=0,a=function(){var d=m(),p=m()||"";return d+p;function m(){return o=0;r--)this.prepend(e[r]);else if(e[eA]||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};Cs.prototype.walk=function(e){for(var r,s=0,n=this.children.length;s0){for(r=[],s=0;s{MI.SourceMapGenerator=cD().SourceMapGenerator;MI.SourceMapConsumer=o9().SourceMapConsumer;MI.SourceNode=c9().SourceNode});var p9=h((OI,d9)=>{"use strict";OI.__esModule=!0;var mD=Br(),_c=void 0;try{(typeof define!="function"||!define.amd)&&(u9=l9(),_c=u9.SourceNode)}catch{}var u9;_c||(_c=function(t,e,r,s){this.src="",s&&this.add(s)},_c.prototype={add:function(e){mD.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){mD.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function pD(t,e,r){if(mD.isArray(t)){for(var s=[],n=0,i=t.length;n{"use strict";FI.__esModule=!0;function f9(t){return t&&t.__esModule?t:{default:t}}var m9=yI(),YTe=ys(),hD=f9(YTe),JTe=Br(),WTe=p9(),h9=f9(WTe);function tA(t){this.value=t}function rA(){}rA.prototype={nameLookup:function(e,r){return this.internalNameLookup(e,r)},depthedLookup:function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},compilerInfo:function(){var e=m9.COMPILER_REVISION,r=m9.REVISION_CHANGES[e];return[e,r]},appendToBuffer:function(e,r,s){return JTe.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:s?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(r),")"]},lookupPropertyFunctionIsUsed:!1,compile: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,o=void 0,a=void 0,c=void 0,l=void 0;for(c=0,l=i.length;c0&&(s+=", "+n.join(", "));var i=0;Object.keys(this.aliases).forEach(function(c){var l=r.aliases[c];l.children&&l.referenceCount>1&&(s+=", alias"+ ++i+"="+c,l.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(s+=", "+this.lookupPropertyFunctionVarDeclaration());var o=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&o.push("blockParams"),this.useDepths&&o.push("depths");var a=this.mergeSource(s);return e?(o.push(a),Function.apply(this,o)):this.source.wrap(["function(",o.join(","),`) { `,a,"}"])},mergeSource:function(e){var r=this.environment.isSimple,s=!this.forceBuffer,n=void 0,i=void 0,o=void 0,a=void 0;return this.source.each(function(c){c.appendToBuffer?(o?c.prepend(" + "):o=c,a=c):(o&&(i?o.prepend("buffer += "):n=!0,a.add(";"),o=a=void 0),i=!0,r||(s=!1))}),s?o?(o.prepend("return "),a.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(n?"":this.initializeBuffer()),o?(o.prepend("return buffer + "),a.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(n?"":`; `)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return` lookupProperty = container.lookupProperty || function(parent, propertyName) { if (Object.prototype.hasOwnProperty.call(parent, propertyName)) { return parent[propertyName]; } return undefined } `.trim()},blockValue: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))},ambiguousBlockValue: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),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append: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)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext: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)},lookupBlockParam:function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},lookupData:function(e,r,s){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,s)},resolvePath:function(e,r,s,n,i){var o=this;if(this.options.strict||this.options.assumeObjects){this.push(jTe(this.options.strict&&i,this,r,s,e));return}for(var a=r.length,c=function(u){o.replaceStack(function(A){var d=o.nameLookup(A,r[u],e);return n?[" && ",d]:[" != null ? ",d," : ",A]})},l=s;lthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var r=0,s=e.length;r{"use strict";UI.__esModule=!0;function Sm(t){return t&&t.__esModule?t:{default:t}}var KTe=wj(),XTe=Sm(KTe),ZTe=zk(),eve=Sm(ZTe),fD=_j(),gD=Fj(),tve=E9(),rve=Sm(tve),sve=TI(),nve=Sm(sve),ive=Uk(),ove=Sm(ive),ave=XTe.default.create;function y9(){var t=ave();return t.compile=function(e,r){return gD.compile(e,r,t)},t.precompile=function(e,r){return gD.precompile(e,r,t)},t.AST=eve.default,t.Compiler=gD.Compiler,t.JavaScriptCompiler=rve.default,t.Parser=fD.parser,t.parse=fD.parse,t.parseWithoutProcessing=fD.parseWithoutProcessing,t}var sA=y9();sA.create=y9;ove.default(sA);sA.Visitor=nve.default;sA.default=sA;UI.default=sA;C9.exports=UI.default});var B9=h(qI=>{"use strict";qI.__esModule=!0;qI.print=Ave;qI.PrintVisitor=ct;function cve(t){return t&&t.__esModule?t:{default:t}}var lve=TI(),uve=cve(lve);function Ave(t){return new ct().accept(t)}function ct(){this.padding=0}ct.prototype=new uve.default;ct.prototype.pad=function(t){for(var e="",r=0,s=this.padding;r "+e+" }}")};ct.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+" }}")};ct.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};ct.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};ct.prototype.SubExpression=function(t){for(var e=t.params,r=[],s=void 0,n=0,i=e.length;n{var ke=require("fs"),zI=require("os"),_t=require("path"),x9=require("crypto"),vi={fs:ke.constants,os:zI.constants},N9="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",v9=/XXXXXX/,dve=3,P9=(vi.O_CREAT||vi.fs.O_CREAT)|(vi.O_EXCL||vi.fs.O_EXCL)|(vi.O_RDWR||vi.fs.O_RDWR),pve=zI.platform()==="win32",mve=vi.EBADF||vi.os.errno.EBADF,hve=vi.ENOENT||vi.os.errno.ENOENT,k9=448,D9=384,fve="exit",nA=[],_9=ke.rmdirSync.bind(ke),L9=!1;function gve(t,e){return ke.rm(t,{recursive:!0},e)}function M9(t){return ke.rmSync(t,{recursive:!0})}function BD(t,e){let r=iA(t,e),s=r[0],n=r[1];Nve(s,function(i,o){if(i)return n(i);let a=o.tries;(function c(){try{let l=F9(o);ke.stat(l,function(u){if(!u)return a-- >0?c():n(new Error("Could not get a unique tmp filename, max tries reached "+l));n(null,l)})}catch(l){n(l)}})()})}function wD(t){let e=iA(t),r=e[0],s=Sve(r),n=s.tries;do{let i=F9(s);try{ke.statSync(i)}catch{return i}}while(n-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function Eve(t,e){let r=iA(t,e),s=r[0],n=r[1];BD(s,function(o,a){if(o)return n(o);ke.open(a,P9,s.mode||D9,function(l,u){if(l)return n(l);if(s.discardDescriptor)return ke.close(u,function(d){return n(d,a,void 0,CD(a,-1,s,!1))});{let A=s.discardDescriptor||s.detachDescriptor;n(null,a,u,CD(a,A?-1:u,s,!1))}})})}function yve(t){let e=iA(t),r=e[0],s=r.discardDescriptor||r.detachDescriptor,n=wD(r),i=ke.openSync(n,P9,r.mode||D9);return r.discardDescriptor&&(ke.closeSync(i),i=void 0),{name:n,fd:i,removeCallback:CD(n,s?-1:i,r,!0)}}function Cve(t,e){let r=iA(t,e),s=r[0],n=r[1];BD(s,function(o,a){if(o)return n(o);ke.mkdir(a,s.mode||k9,function(l){if(l)return n(l);n(null,a,O9(a,s,!1))})})}function Ive(t){let e=iA(t),r=e[0],s=wD(r);return ke.mkdirSync(s,r.mode||k9),{name:s,removeCallback:O9(s,r,!0)}}function Bve(t,e){let r=function(s){if(s&&!ID(s))return e(s);e()};0<=t[0]?ke.close(t[0],function(){ke.unlink(t[1],r)}):ke.unlink(t[1],r)}function wve(t){let e=null;try{0<=t[0]&&ke.closeSync(t[0])}catch(r){if(!Rve(r)&&!ID(r))throw r}finally{try{ke.unlinkSync(t[1])}catch(r){ID(r)||(e=r)}}if(e!==null)throw e}function CD(t,e,r,s){let n=HI(wve,[e,t],s),i=HI(Bve,[e,t],s,n);return r.keep||nA.unshift(n),s?n:i}function O9(t,e,r){let s=e.unsafeCleanup?gve:ke.rmdir.bind(ke),n=e.unsafeCleanup?M9:_9,i=HI(n,t,r),o=HI(s,t,r,i);return e.keep||nA.unshift(i),r?i:o}function HI(t,e,r,s){let n=!1;return function i(o){if(!n){let a=s||i,c=nA.indexOf(a);return c>=0&&nA.splice(c,1),n=!0,r||t===_9||t===M9?t(e):t(e,o||function(){})}}}function bve(){if(L9)for(;nA.length;)try{nA[0]()}catch{}}function S9(t){let e=[],r=null;try{r=x9.randomBytes(t)}catch{r=x9.pseudoRandomBytes(t)}for(let s=0;s"u"}function iA(t,e){if(typeof t=="function")return[{},t];if($r(t))return[{},e];let r={};for(let s of Object.getOwnPropertyNames(t))r[s]=t[s];return[r,e]}function Qve(t,e,r){let s=_t.isAbsolute(t)?t:_t.join(e,t);ke.stat(s,function(n){n?ke.realpath(_t.dirname(s),function(i,o){if(i)return r(i);r(null,_t.join(o,_t.basename(s)))}):ke.realpath(s,r)})}function xve(t,e){let r=_t.isAbsolute(t)?t:_t.join(e,t);try{return ke.statSync(r),ke.realpathSync(r)}catch{let n=ke.realpathSync(_t.dirname(r));return _t.join(n,_t.basename(r))}}function F9(t){let e=t.tmpdir;if(!$r(t.name))return _t.join(e,t.dir,t.name);if(!$r(t.template))return _t.join(e,t.dir,t.template).replace(v9,S9(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",S9(12),t.postfix?"-"+t.postfix:""].join("");return _t.join(e,t.dir,r)}function yD(t){if(t.includes(".."))throw new Error("Relative value not allowed");return t}function U9(t){if(!$r(t.name)){let e=t.name;if(_t.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=_t.basename(e);if(r===".."||r==="."||r!==e)throw new Error(`name option must not contain a path, found "${e}".`)}if(!$r(t.template)&&!t.template.match(v9))throw new Error(`Invalid template, found "${t.template}".`);if(!$r(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=$r(t.name)?t.tries||dve:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=$r(t.prefix)?"":yD(t.prefix),t.postfix=$r(t.postfix)?"":yD(t.postfix),t.template=$r(t.template)?void 0:yD(t.template)}function R9(t,e,r,s){if($r(e))return s(null);Qve(e,r,function(n,i){if(n)return s(n);let o=_t.relative(r,i);if(o.startsWith("..")||_t.isAbsolute(o))return s(new Error(`${t} option must be relative to "${r}", found "${o}".`));s(null,o)})}function T9(t,e,r){if($r(e))return;let s=xve(e,r),n=_t.relative(r,s);if(n.startsWith("..")||_t.isAbsolute(n))throw new Error(`${t} option must be relative to "${r}", found "${n}".`);return n}function Nve(t,e){vve(t,function(r,s){if(r)return e(r);t.tmpdir=s;try{U9(t,s)}catch(n){return e(n)}R9("dir",t.dir,s,function(n,i){if(n)return e(n);t.dir=$r(i)?"":i,R9("template",t.template,s,function(o,a){if(o)return e(o);t.template=a,e(null,t)})})})}function Sve(t){let e=t.tmpdir=G9(t);U9(t,e);let r=T9("dir",t.dir,e);return t.dir=$r(r)?"":r,t.template=T9("template",t.template,e),t}function Rve(t){return q9(t,-mve,"EBADF")}function ID(t){return q9(t,-hve,"ENOENT")}function q9(t,e,r){return pve?t.code===r:t.code===r&&t.errno===e}function Tve(){L9=!0}function vve(t,e){return ke.realpath(t&&t.tmpdir||zI.tmpdir(),e)}function G9(t){return ke.realpathSync(t&&t.tmpdir||zI.tmpdir())}process.addListener(fve,bve);Object.defineProperty(Eo.exports,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return G9()}});Eo.exports.dir=Cve;Eo.exports.dirSync=Ive;Eo.exports.file=Eve;Eo.exports.fileSync=yve;Eo.exports.tmpName=BD;Eo.exports.tmpNameSync=wD;Eo.exports.setGracefulCleanup=Tve});var n6=h(WI=>{"use strict";Object.defineProperty(WI,"__esModule",{value:!0});WI.getProxyUrl=Fve;WI.checkBypass=s6;function Fve(t){let e=t.protocol==="https:";if(s6(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 JI(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new JI(`http://${r}`)}else return}function s6(t){if(!t.hostname)return!1;let e=t.hostname;if(Uve(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(o=>o.trim().toUpperCase()).filter(o=>o))if(i==="*"||n.some(o=>o===i||o.endsWith(`.${i}`)||i.startsWith(".")&&o.endsWith(`${i}`)))return!0;return!1}function Uve(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}var JI=class extends URL{constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}});var o6=h(je=>{"use strict";var qve=je&&je.__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:function(){return e[r]}}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),Gve=je&&je.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ZI=je&&je.__importStar||(function(){var t=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)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),n=0;nyt(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 yt(this,void 0,void 0,function*(){return new Promise(e=>yt(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};je.HttpClientResponse=XI;function jve(t){return new URL(t).protocol==="https:"}var PD=class{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 yt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return yt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return yt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return yt(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return yt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return yt(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return yt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return yt(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return yt(this,arguments,void 0,function*(r,s={}){s[br.Accept]=this._getExistingOrDefaultHeader(s,br.Accept,yo.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return yt(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[br.Accept]=this._getExistingOrDefaultHeader(i,br.Accept,yo.ApplicationJson),i[br.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,yo.ApplicationJson);let a=yield this.post(s,o,i);return this._processResponse(a,this.requestOptions)})}putJson(e,r){return yt(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[br.Accept]=this._getExistingOrDefaultHeader(i,br.Accept,yo.ApplicationJson),i[br.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,yo.ApplicationJson);let a=yield this.put(s,o,i);return this._processResponse(a,this.requestOptions)})}patchJson(e,r){return yt(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[br.Accept]=this._getExistingOrDefaultHeader(i,br.Accept,yo.ApplicationJson),i[br.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,yo.ApplicationJson);let a=yield this.patch(s,o,i);return this._processResponse(a,this.requestOptions)})}request(e,r,s,n){return yt(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),o=this._prepareRequest(e,i,n),a=this._allowRetries&&Yve.includes(e)?this._maxRetries+1:1,c=0,l;do{if(l=yield this.requestRaw(o,s),l&&l.message&&l.message.statusCode===Ks.Unauthorized){let A;for(let d of this.handlers)if(d.canHandleAuthentication(l)){A=d;break}return A?A.handleAuthentication(this,o,s):l}let u=this._maxRedirects;for(;l.message.statusCode&&$ve.includes(l.message.statusCode)&&this._allowRedirects&&u>0;){let A=l.message.headers.location;if(!A)break;let d=new URL(A);if(i.protocol==="https:"&&i.protocol!==d.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 l.readBody(),d.hostname!==i.hostname)for(let p in n)p.toLowerCase()==="authorization"&&delete n[p];o=this._prepareRequest(e,d,n),l=yield this.requestRaw(o,s),u--}if(!l.message.statusCode||!Vve.includes(l.message.statusCode))return l;c+=1,c{function i(o,a){o?n(o):a?s(a):n(new Error("Unknown error"))}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(c,l){n||(n=!0,s(c,l))}let o=e.httpModule.request(e.options,c=>{let l=new XI(c);i(void 0,l)}),a;o.on("socket",c=>{a=c}),o.setTimeout(this._socketTimeout||3*6e4,()=>{a&&a.end(),i(new Error(`Request timeout: ${e.options.path}`))}),o.on("error",function(c){i(c)}),r&&typeof r=="string"&&o.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){o.end()}),r.pipe(o)):o.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),s=vD.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?i6:TD;let o=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):o,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 a of this.handlers)a.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},vm(this.requestOptions.headers),vm(e||{})):vm(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let o=vm(this.requestOptions.headers)[r];o&&(n=typeof o=="number"?o.toString():o)}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=vm(this.requestOptions.headers)[br.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[br.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=vD.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:",o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||TD.globalAgent.maxSockets),s&&s.hostname){let a={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},c,l=s.protocol==="https:";i?c=l?jI.httpsOverHttps:jI.httpsOverHttp:c=l?jI.httpOverHttps:jI.httpOverHttp,r=c(a),this._proxyAgent=r}if(!r){let a={keepAlive:this._keepAlive,maxSockets:o};r=i?new i6.Agent(a):new TD.Agent(a),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 Hve.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 yt(this,void 0,void 0,function*(){e=Math.min(Jve,e);let r=Wve*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return yt(this,void 0,void 0,function*(){return new Promise((s,n)=>yt(this,void 0,void 0,function*(){let i=e.message.statusCode||0,o={statusCode:i,result:null,headers:{}};i===Ks.NotFound&&s(o);function a(u,A){if(typeof A=="string"){let d=new Date(A);if(!isNaN(d.valueOf()))return d}return A}let c,l;try{l=yield e.readBody(),l&&l.length>0&&(r&&r.deserializeDates?c=JSON.parse(l,a):c=JSON.parse(l),o.result=c),o.headers=e.message.headers}catch{}if(i>299){let u;c&&c.message?u=c.message:l&&l.length>0?u=l:u=`Failed request: (${i})`;let A=new KI(u,i);A.result=o.result,n(A)}else s(o)}))})}};je.HttpClient=PD;var vm=t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{})});var S6=h((h7e,km)=>{"use strict";var sB=function(){};sB.prototype=Object.create(null);var tB=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,rB=/\\([\v\u0020-\u00ff])/gu,Q6=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,Lc={type:"",parameters:new sB};Object.freeze(Lc.parameters);Object.freeze(Lc);function x6(t){if(typeof t!="string")throw new TypeError("argument header is required and must be a string");let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(Q6.test(r)===!1)throw new TypeError("invalid media type");let s={type:r.toLowerCase(),parameters:new sB};if(e===-1)return s;let n,i,o;for(tB.lastIndex=e;i=tB.exec(t);){if(i.index!==e)throw new TypeError("invalid parameter format");e+=i[0].length,n=i[1].toLowerCase(),o=i[2],o[0]==='"'&&(o=o.slice(1,o.length-1),rB.test(o)&&(o=o.replace(rB,"$1"))),s.parameters[n]=o}if(e!==t.length)throw new TypeError("invalid parameter format");return s}function N6(t){if(typeof t!="string")return Lc;let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(Q6.test(r)===!1)return Lc;let s={type:r.toLowerCase(),parameters:new sB};if(e===-1)return s;let n,i,o;for(tB.lastIndex=e;i=tB.exec(t);){if(i.index!==e)return Lc;e+=i[0].length,n=i[1].toLowerCase(),o=i[2],o[0]==='"'&&(o=o.slice(1,o.length-1),rB.test(o)&&(o=o.replace(rB,"$1"))),s.parameters[n]=o}return e!==t.length?Lc:s}km.exports.default={parse:x6,safeParse:N6};km.exports.parse=x6;km.exports.safeParse=N6;km.exports.defaultContentType=Lc});var Mm=h((net,K6)=>{"use strict";var eke="2.0.0",tke=Number.MAX_SAFE_INTEGER||9007199254740991,rke=16,ske=250,nke=["major","premajor","minor","preminor","patch","prepatch","prerelease"];K6.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:rke,MAX_SAFE_BUILD_LENGTH:ske,MAX_SAFE_INTEGER:tke,RELEASE_TYPES:nke,SEMVER_SPEC_VERSION:eke,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Om=h((iet,X6)=>{"use strict";var ike=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};X6.exports=ike});var AA=h((Pi,Z6)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:ZD,MAX_SAFE_BUILD_LENGTH:oke,MAX_LENGTH:ake}=Mm(),cke=Om();Pi=Z6.exports={};var lke=Pi.re=[],uke=Pi.safeRe=[],M=Pi.src=[],Ake=Pi.safeSrc=[],O=Pi.t={},dke=0,e_="[a-zA-Z0-9-]",pke=[["\\s",1],["\\d",ake],[e_,oke]],mke=t=>{for(let[e,r]of pke)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},le=(t,e,r)=>{let s=mke(e),n=dke++;cke(t,n,e),O[t]=n,M[n]=e,Ake[n]=s,lke[n]=new RegExp(e,r?"g":void 0),uke[n]=new RegExp(s,r?"g":void 0)};le("NUMERICIDENTIFIER","0|[1-9]\\d*");le("NUMERICIDENTIFIERLOOSE","\\d+");le("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${e_}*`);le("MAINVERSION",`(${M[O.NUMERICIDENTIFIER]})\\.(${M[O.NUMERICIDENTIFIER]})\\.(${M[O.NUMERICIDENTIFIER]})`);le("MAINVERSIONLOOSE",`(${M[O.NUMERICIDENTIFIERLOOSE]})\\.(${M[O.NUMERICIDENTIFIERLOOSE]})\\.(${M[O.NUMERICIDENTIFIERLOOSE]})`);le("PRERELEASEIDENTIFIER",`(?:${M[O.NONNUMERICIDENTIFIER]}|${M[O.NUMERICIDENTIFIER]})`);le("PRERELEASEIDENTIFIERLOOSE",`(?:${M[O.NONNUMERICIDENTIFIER]}|${M[O.NUMERICIDENTIFIERLOOSE]})`);le("PRERELEASE",`(?:-(${M[O.PRERELEASEIDENTIFIER]}(?:\\.${M[O.PRERELEASEIDENTIFIER]})*))`);le("PRERELEASELOOSE",`(?:-?(${M[O.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${M[O.PRERELEASEIDENTIFIERLOOSE]})*))`);le("BUILDIDENTIFIER",`${e_}+`);le("BUILD",`(?:\\+(${M[O.BUILDIDENTIFIER]}(?:\\.${M[O.BUILDIDENTIFIER]})*))`);le("FULLPLAIN",`v?${M[O.MAINVERSION]}${M[O.PRERELEASE]}?${M[O.BUILD]}?`);le("FULL",`^${M[O.FULLPLAIN]}$`);le("LOOSEPLAIN",`[v=\\s]*${M[O.MAINVERSIONLOOSE]}${M[O.PRERELEASELOOSE]}?${M[O.BUILD]}?`);le("LOOSE",`^${M[O.LOOSEPLAIN]}$`);le("GTLT","((?:<|>)?=?)");le("XRANGEIDENTIFIERLOOSE",`${M[O.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);le("XRANGEIDENTIFIER",`${M[O.NUMERICIDENTIFIER]}|x|X|\\*`);le("XRANGEPLAIN",`[v=\\s]*(${M[O.XRANGEIDENTIFIER]})(?:\\.(${M[O.XRANGEIDENTIFIER]})(?:\\.(${M[O.XRANGEIDENTIFIER]})(?:${M[O.PRERELEASE]})?${M[O.BUILD]}?)?)?`);le("XRANGEPLAINLOOSE",`[v=\\s]*(${M[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[O.XRANGEIDENTIFIERLOOSE]})(?:${M[O.PRERELEASELOOSE]})?${M[O.BUILD]}?)?)?`);le("XRANGE",`^${M[O.GTLT]}\\s*${M[O.XRANGEPLAIN]}$`);le("XRANGELOOSE",`^${M[O.GTLT]}\\s*${M[O.XRANGEPLAINLOOSE]}$`);le("COERCEPLAIN",`(^|[^\\d])(\\d{1,${ZD}})(?:\\.(\\d{1,${ZD}}))?(?:\\.(\\d{1,${ZD}}))?`);le("COERCE",`${M[O.COERCEPLAIN]}(?:$|[^\\d])`);le("COERCEFULL",M[O.COERCEPLAIN]+`(?:${M[O.PRERELEASE]})?(?:${M[O.BUILD]})?(?:$|[^\\d])`);le("COERCERTL",M[O.COERCE],!0);le("COERCERTLFULL",M[O.COERCEFULL],!0);le("LONETILDE","(?:~>?)");le("TILDETRIM",`(\\s*)${M[O.LONETILDE]}\\s+`,!0);Pi.tildeTrimReplace="$1~";le("TILDE",`^${M[O.LONETILDE]}${M[O.XRANGEPLAIN]}$`);le("TILDELOOSE",`^${M[O.LONETILDE]}${M[O.XRANGEPLAINLOOSE]}$`);le("LONECARET","(?:\\^)");le("CARETTRIM",`(\\s*)${M[O.LONECARET]}\\s+`,!0);Pi.caretTrimReplace="$1^";le("CARET",`^${M[O.LONECARET]}${M[O.XRANGEPLAIN]}$`);le("CARETLOOSE",`^${M[O.LONECARET]}${M[O.XRANGEPLAINLOOSE]}$`);le("COMPARATORLOOSE",`^${M[O.GTLT]}\\s*(${M[O.LOOSEPLAIN]})$|^$`);le("COMPARATOR",`^${M[O.GTLT]}\\s*(${M[O.FULLPLAIN]})$|^$`);le("COMPARATORTRIM",`(\\s*)${M[O.GTLT]}\\s*(${M[O.LOOSEPLAIN]}|${M[O.XRANGEPLAIN]})`,!0);Pi.comparatorTrimReplace="$1$2$3";le("HYPHENRANGE",`^\\s*(${M[O.XRANGEPLAIN]})\\s+-\\s+(${M[O.XRANGEPLAIN]})\\s*$`);le("HYPHENRANGELOOSE",`^\\s*(${M[O.XRANGEPLAINLOOSE]})\\s+-\\s+(${M[O.XRANGEPLAINLOOSE]})\\s*$`);le("STAR","(<|>)?=?\\s*\\*");le("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");le("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var aB=h((oet,eK)=>{"use strict";var hke=Object.freeze({loose:!0}),fke=Object.freeze({}),gke=t=>t?typeof t!="object"?hke:t:fke;eK.exports=gke});var t_=h((aet,sK)=>{"use strict";var tK=/^[0-9]+$/,rK=(t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:trK(e,t);sK.exports={compareIdentifiers:rK,rcompareIdentifiers:Eke}});var ar=h((cet,iK)=>{"use strict";var cB=Om(),{MAX_LENGTH:nK,MAX_SAFE_INTEGER:lB}=Mm(),{safeRe:uB,t:AB}=AA(),yke=aB(),{compareIdentifiers:r_}=t_(),s_=class t{constructor(e,r){if(r=yke(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>nK)throw new TypeError(`version is longer than ${nK} characters`);cB("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?uB[AB.LOOSE]:uB[AB.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>lB||this.major<0)throw new TypeError("Invalid major version");if(this.minor>lB||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>lB||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(cB("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return r_(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(cB("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return r_(s,n)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?uB[AB.PRERELEASELOOSE]:uB[AB.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]),r_(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}};iK.exports=s_});var Uc=h((uet,aK)=>{"use strict";var oK=ar(),Cke=(t,e,r=!1)=>{if(t instanceof oK)return t;try{return new oK(t,e)}catch(s){if(!r)return null;throw s}};aK.exports=Cke});var lK=h((Aet,cK)=>{"use strict";var Ike=Uc(),Bke=(t,e)=>{let r=Ike(t,e);return r?r.version:null};cK.exports=Bke});var AK=h((det,uK)=>{"use strict";var wke=Uc(),bke=(t,e)=>{let r=wke(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null};uK.exports=bke});var mK=h((pet,pK)=>{"use strict";var dK=ar(),Qke=(t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new dK(t instanceof dK?t.version:t,r).inc(e,s,n).version}catch{return null}};pK.exports=Qke});var gK=h((met,fK)=>{"use strict";var hK=Uc(),xke=(t,e)=>{let r=hK(t,null,!0),s=hK(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,o=i?r:s,a=i?s:r,c=!!o.prerelease.length;if(!!a.prerelease.length&&!c){if(!a.patch&&!a.minor)return"major";if(a.compareMain(o)===0)return a.minor&&!a.patch?"minor":"patch"}let u=c?"pre":"";return r.major!==s.major?u+"major":r.minor!==s.minor?u+"minor":r.patch!==s.patch?u+"patch":"prerelease"};fK.exports=xke});var yK=h((het,EK)=>{"use strict";var Nke=ar(),Ske=(t,e)=>new Nke(t,e).major;EK.exports=Ske});var IK=h((fet,CK)=>{"use strict";var Rke=ar(),Tke=(t,e)=>new Rke(t,e).minor;CK.exports=Tke});var wK=h((get,BK)=>{"use strict";var vke=ar(),Pke=(t,e)=>new vke(t,e).patch;BK.exports=Pke});var QK=h((Eet,bK)=>{"use strict";var kke=Uc(),Dke=(t,e)=>{let r=kke(t,e);return r&&r.prerelease.length?r.prerelease:null};bK.exports=Dke});var Zs=h((yet,NK)=>{"use strict";var xK=ar(),_ke=(t,e,r)=>new xK(t,r).compare(new xK(e,r));NK.exports=_ke});var RK=h((Cet,SK)=>{"use strict";var Lke=Zs(),Mke=(t,e,r)=>Lke(e,t,r);SK.exports=Mke});var vK=h((Iet,TK)=>{"use strict";var Oke=Zs(),Fke=(t,e)=>Oke(t,e,!0);TK.exports=Fke});var dB=h((Bet,kK)=>{"use strict";var PK=ar(),Uke=(t,e,r)=>{let s=new PK(t,r),n=new PK(e,r);return s.compare(n)||s.compareBuild(n)};kK.exports=Uke});var _K=h((wet,DK)=>{"use strict";var qke=dB(),Gke=(t,e)=>t.sort((r,s)=>qke(r,s,e));DK.exports=Gke});var MK=h((bet,LK)=>{"use strict";var Hke=dB(),zke=(t,e)=>t.sort((r,s)=>Hke(s,r,e));LK.exports=zke});var Fm=h((Qet,OK)=>{"use strict";var $ke=Zs(),Vke=(t,e,r)=>$ke(t,e,r)>0;OK.exports=Vke});var pB=h((xet,FK)=>{"use strict";var Yke=Zs(),Jke=(t,e,r)=>Yke(t,e,r)<0;FK.exports=Jke});var n_=h((Net,UK)=>{"use strict";var Wke=Zs(),jke=(t,e,r)=>Wke(t,e,r)===0;UK.exports=jke});var i_=h((Ret,qK)=>{"use strict";var Kke=Zs(),Xke=(t,e,r)=>Kke(t,e,r)!==0;qK.exports=Xke});var mB=h((Tet,GK)=>{"use strict";var Zke=Zs(),eDe=(t,e,r)=>Zke(t,e,r)>=0;GK.exports=eDe});var hB=h((vet,HK)=>{"use strict";var tDe=Zs(),rDe=(t,e,r)=>tDe(t,e,r)<=0;HK.exports=rDe});var o_=h((Pet,zK)=>{"use strict";var sDe=n_(),nDe=i_(),iDe=Fm(),oDe=mB(),aDe=pB(),cDe=hB(),lDe=(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 sDe(t,r,s);case"!=":return nDe(t,r,s);case">":return iDe(t,r,s);case">=":return oDe(t,r,s);case"<":return aDe(t,r,s);case"<=":return cDe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}};zK.exports=lDe});var VK=h((ket,$K)=>{"use strict";var uDe=ar(),ADe=Uc(),{safeRe:fB,t:gB}=AA(),dDe=(t,e)=>{if(t instanceof uDe)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?fB[gB.COERCEFULL]:fB[gB.COERCE]);else{let c=e.includePrerelease?fB[gB.COERCERTLFULL]:fB[gB.COERCERTL],l;for(;(l=c.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||l.index+l[0].length!==r.index+r[0].length)&&(r=l),c.lastIndex=l.index+l[1].length+l[2].length;c.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",o=e.includePrerelease&&r[5]?`-${r[5]}`:"",a=e.includePrerelease&&r[6]?`+${r[6]}`:"";return ADe(`${s}.${n}.${i}${o}${a}`,e)};$K.exports=dDe});var JK=h((Det,YK)=>{"use strict";var a_=class{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}};YK.exports=a_});var en=h((_et,XK)=>{"use strict";var pDe=/\s+/g,c_=class t{constructor(e,r){if(r=hDe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof l_)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(pDe," "),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=>!jK(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&&BDe(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&&CDe)|(this.options.loose&&IDe))+":"+e,n=WK.get(s);if(n)return n;let i=this.options.loose,o=i?xr[cr.HYPHENRANGELOOSE]:xr[cr.HYPHENRANGE];e=e.replace(o,PDe(this.options.includePrerelease)),He("hyphen replace",e),e=e.replace(xr[cr.COMPARATORTRIM],gDe),He("comparator trim",e),e=e.replace(xr[cr.TILDETRIM],EDe),He("tilde trim",e),e=e.replace(xr[cr.CARETTRIM],yDe),He("caret trim",e);let a=e.split(" ").map(A=>wDe(A,this.options)).join(" ").split(/\s+/).map(A=>vDe(A,this.options));i&&(a=a.filter(A=>(He("loose invalid filter",A,this.options),!!A.match(xr[cr.COMPARATORLOOSE])))),He("range list",a);let c=new Map,l=a.map(A=>new l_(A,this.options));for(let A of l){if(jK(A))return[A];c.set(A.value,A)}c.size>1&&c.has("")&&c.delete("");let u=[...c.values()];return WK.set(s,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>KK(s,r)&&e.set.some(n=>KK(n,r)&&s.every(i=>n.every(o=>i.intersects(o,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new fDe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0",BDe=t=>t.value==="",KK=(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},wDe=(t,e)=>(t=t.replace(xr[cr.BUILD],""),He("comp",t,e),t=xDe(t,e),He("caret",t),t=bDe(t,e),He("tildes",t),t=SDe(t,e),He("xrange",t),t=TDe(t,e),He("stars",t),t),Nr=t=>!t||t.toLowerCase()==="x"||t==="*",bDe=(t,e)=>t.trim().split(/\s+/).map(r=>QDe(r,e)).join(" "),QDe=(t,e)=>{let r=e.loose?xr[cr.TILDELOOSE]:xr[cr.TILDE];return t.replace(r,(s,n,i,o,a)=>{He("tilde",t,s,n,i,o,a);let c;return Nr(n)?c="":Nr(i)?c=`>=${n}.0.0 <${+n+1}.0.0-0`:Nr(o)?c=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:a?(He("replaceTilde pr",a),c=`>=${n}.${i}.${o}-${a} <${n}.${+i+1}.0-0`):c=`>=${n}.${i}.${o} <${n}.${+i+1}.0-0`,He("tilde return",c),c})},xDe=(t,e)=>t.trim().split(/\s+/).map(r=>NDe(r,e)).join(" "),NDe=(t,e)=>{He("caret",t,e);let r=e.loose?xr[cr.CARETLOOSE]:xr[cr.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,o,a,c)=>{He("caret",t,n,i,o,a,c);let l;return Nr(i)?l="":Nr(o)?l=`>=${i}.0.0${s} <${+i+1}.0.0-0`:Nr(a)?i==="0"?l=`>=${i}.${o}.0${s} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.0${s} <${+i+1}.0.0-0`:c?(He("replaceCaret pr",c),i==="0"?o==="0"?l=`>=${i}.${o}.${a}-${c} <${i}.${o}.${+a+1}-0`:l=`>=${i}.${o}.${a}-${c} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.${a}-${c} <${+i+1}.0.0-0`):(He("no pr"),i==="0"?o==="0"?l=`>=${i}.${o}.${a}${s} <${i}.${o}.${+a+1}-0`:l=`>=${i}.${o}.${a}${s} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.${a} <${+i+1}.0.0-0`),He("caret return",l),l})},SDe=(t,e)=>(He("replaceXRanges",t,e),t.split(/\s+/).map(r=>RDe(r,e)).join(" ")),RDe=(t,e)=>{t=t.trim();let r=e.loose?xr[cr.XRANGELOOSE]:xr[cr.XRANGE];return t.replace(r,(s,n,i,o,a,c)=>{He("xRange",t,s,n,i,o,a,c);let l=Nr(i),u=l||Nr(o),A=u||Nr(a),d=A;return n==="="&&d&&(n=""),c=e.includePrerelease?"-0":"",l?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&d?(u&&(o=0),a=0,n===">"?(n=">=",u?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):n==="<="&&(n="<",u?i=+i+1:o=+o+1),n==="<"&&(c="-0"),s=`${n+i}.${o}.${a}${c}`):u?s=`>=${i}.0.0${c} <${+i+1}.0.0-0`:A&&(s=`>=${i}.${o}.0${c} <${i}.${+o+1}.0-0`),He("xRange return",s),s})},TDe=(t,e)=>(He("replaceStars",t,e),t.trim().replace(xr[cr.STAR],"")),vDe=(t,e)=>(He("replaceGTE0",t,e),t.trim().replace(xr[e.includePrerelease?cr.GTE0PRE:cr.GTE0],"")),PDe=t=>(e,r,s,n,i,o,a,c,l,u,A,d)=>(Nr(s)?r="":Nr(n)?r=`>=${s}.0.0${t?"-0":""}`:Nr(i)?r=`>=${s}.${n}.0${t?"-0":""}`:o?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Nr(l)?c="":Nr(u)?c=`<${+l+1}.0.0-0`:Nr(A)?c=`<${l}.${+u+1}.0-0`:d?c=`<=${l}.${u}.${A}-${d}`:t?c=`<${l}.${u}.${+A+1}-0`:c=`<=${c}`,`${r} ${c}`.trim()),kDe=(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}});var Um=h((Let,nX)=>{"use strict";var qm=Symbol("SemVer ANY"),d_=class t{static get ANY(){return qm}constructor(e,r){if(r=ZK(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),A_("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===qm?this.value="":this.value=this.operator+this.semver.version,A_("comp",this)}parse(e){let r=this.options.loose?eX[tX.COMPARATORLOOSE]:eX[tX.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 rX(s[2],this.options.loose):this.semver=qm}toString(){return this.value}test(e){if(A_("Comparator.test",e,this.options.loose),this.semver===qm||e===qm)return!0;if(typeof e=="string")try{e=new rX(e,this.options)}catch{return!1}return u_(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 sX(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new sX(this.value,r).test(e.semver):(r=ZK(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("=")||u_(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||u_(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};nX.exports=d_;var ZK=aB(),{safeRe:eX,t:tX}=AA(),u_=o_(),A_=Om(),rX=ar(),sX=en()});var Gm=h((Met,iX)=>{"use strict";var DDe=en(),_De=(t,e,r)=>{try{e=new DDe(e,r)}catch{return!1}return e.test(t)};iX.exports=_De});var aX=h((Oet,oX)=>{"use strict";var LDe=en(),MDe=(t,e)=>new LDe(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" "));oX.exports=MDe});var lX=h((Fet,cX)=>{"use strict";var ODe=ar(),FDe=en(),UDe=(t,e,r)=>{let s=null,n=null,i=null;try{i=new FDe(e,r)}catch{return null}return t.forEach(o=>{i.test(o)&&(!s||n.compare(o)===-1)&&(s=o,n=new ODe(s,r))}),s};cX.exports=UDe});var AX=h((Uet,uX)=>{"use strict";var qDe=ar(),GDe=en(),HDe=(t,e,r)=>{let s=null,n=null,i=null;try{i=new GDe(e,r)}catch{return null}return t.forEach(o=>{i.test(o)&&(!s||n.compare(o)===1)&&(s=o,n=new qDe(s,r))}),s};uX.exports=HDe});var mX=h((qet,pX)=>{"use strict";var p_=ar(),zDe=en(),dX=Fm(),$De=(t,e)=>{t=new zDe(t,e);let r=new p_("0.0.0");if(t.test(r)||(r=new p_("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let a=new p_(o.semver.version);switch(o.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!i||dX(a,i))&&(i=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),i&&(!r||dX(r,i))&&(r=i)}return r&&t.test(r)?r:null};pX.exports=$De});var fX=h((Get,hX)=>{"use strict";var VDe=en(),YDe=(t,e)=>{try{return new VDe(t,e).range||"*"}catch{return null}};hX.exports=YDe});var EB=h((Het,CX)=>{"use strict";var JDe=ar(),yX=Um(),{ANY:WDe}=yX,jDe=en(),KDe=Gm(),gX=Fm(),EX=pB(),XDe=hB(),ZDe=mB(),e_e=(t,e,r,s)=>{t=new JDe(t,s),e=new jDe(e,s);let n,i,o,a,c;switch(r){case">":n=gX,i=XDe,o=EX,a=">",c=">=";break;case"<":n=EX,i=ZDe,o=gX,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(KDe(t,e,s))return!1;for(let l=0;l{p.semver===WDe&&(p=new yX(">=0.0.0")),A=A||p,d=d||p,n(p.semver,A.semver,s)?A=p:o(p.semver,d.semver,s)&&(d=p)}),A.operator===a||A.operator===c||(!d.operator||d.operator===a)&&i(t,d.semver))return!1;if(d.operator===c&&o(t,d.semver))return!1}return!0};CX.exports=e_e});var BX=h((zet,IX)=>{"use strict";var t_e=EB(),r_e=(t,e,r)=>t_e(t,e,">",r);IX.exports=r_e});var bX=h(($et,wX)=>{"use strict";var s_e=EB(),n_e=(t,e,r)=>s_e(t,e,"<",r);wX.exports=n_e});var NX=h((Vet,xX)=>{"use strict";var QX=en(),i_e=(t,e,r)=>(t=new QX(t,r),e=new QX(e,r),t.intersects(e,r));xX.exports=i_e});var RX=h((Yet,SX)=>{"use strict";var o_e=Gm(),a_e=Zs();SX.exports=(t,e,r)=>{let s=[],n=null,i=null,o=t.sort((u,A)=>a_e(u,A,r));for(let u of o)o_e(u,e,r)?(i=u,n||(n=u)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let a=[];for(let[u,A]of s)u===A?a.push(u):!A&&u===o[0]?a.push("*"):A?u===o[0]?a.push(`<=${A}`):a.push(`${u} - ${A}`):a.push(`>=${u}`);let c=a.join(" || "),l=typeof e.raw=="string"?e.raw:String(e);return c.length{"use strict";var TX=en(),h_=Um(),{ANY:m_}=h_,Hm=Gm(),f_=Zs(),c_e=(t,e,r={})=>{if(t===e)return!0;t=new TX(t,r),e=new TX(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let o=u_e(n,i,r);if(s=s||o!==null,o)continue e}if(s)return!1}return!0},l_e=[new h_(">=0.0.0-0")],vX=[new h_(">=0.0.0")],u_e=(t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===m_){if(e.length===1&&e[0].semver===m_)return!0;r.includePrerelease?t=l_e:t=vX}if(e.length===1&&e[0].semver===m_){if(r.includePrerelease)return!0;e=vX}let s=new Set,n,i;for(let p of t)p.operator===">"||p.operator===">="?n=PX(n,p,r):p.operator==="<"||p.operator==="<="?i=kX(i,p,r):s.add(p.semver);if(s.size>1)return null;let o;if(n&&i){if(o=f_(n.semver,i.semver,r),o>0)return null;if(o===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let p of s){if(n&&!Hm(p,String(n),r)||i&&!Hm(p,String(i),r))return null;for(let m of e)if(!Hm(p,String(m),r))return!1;return!0}let a,c,l,u,A=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,d=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;A&&A.prerelease.length===1&&i.operator==="<"&&A.prerelease[0]===0&&(A=!1);for(let p of e){if(u=u||p.operator===">"||p.operator===">=",l=l||p.operator==="<"||p.operator==="<=",n){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator===">"||p.operator===">="){if(a=PX(n,p,r),a===p&&a!==n)return!1}else if(n.operator===">="&&!Hm(n.semver,String(p),r))return!1}if(i){if(A&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===A.major&&p.semver.minor===A.minor&&p.semver.patch===A.patch&&(A=!1),p.operator==="<"||p.operator==="<="){if(c=kX(i,p,r),c===p&&c!==i)return!1}else if(i.operator==="<="&&!Hm(i.semver,String(p),r))return!1}if(!p.operator&&(i||n)&&o!==0)return!1}return!(n&&l&&!i&&o!==0||i&&u&&!n&&o!==0||d||A)},PX=(t,e,r)=>{if(!t)return e;let s=f_(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},kX=(t,e,r)=>{if(!t)return e;let s=f_(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t};DX.exports=c_e});var zm=h((Wet,OX)=>{"use strict";var g_=AA(),LX=Mm(),A_e=ar(),MX=t_(),d_e=Uc(),p_e=lK(),m_e=AK(),h_e=mK(),f_e=gK(),g_e=yK(),E_e=IK(),y_e=wK(),C_e=QK(),I_e=Zs(),B_e=RK(),w_e=vK(),b_e=dB(),Q_e=_K(),x_e=MK(),N_e=Fm(),S_e=pB(),R_e=n_(),T_e=i_(),v_e=mB(),P_e=hB(),k_e=o_(),D_e=VK(),__e=Um(),L_e=en(),M_e=Gm(),O_e=aX(),F_e=lX(),U_e=AX(),q_e=mX(),G_e=fX(),H_e=EB(),z_e=BX(),$_e=bX(),V_e=NX(),Y_e=RX(),J_e=_X();OX.exports={parse:d_e,valid:p_e,clean:m_e,inc:h_e,diff:f_e,major:g_e,minor:E_e,patch:y_e,prerelease:C_e,compare:I_e,rcompare:B_e,compareLoose:w_e,compareBuild:b_e,sort:Q_e,rsort:x_e,gt:N_e,lt:S_e,eq:R_e,neq:T_e,gte:v_e,lte:P_e,cmp:k_e,coerce:D_e,Comparator:__e,Range:L_e,satisfies:M_e,toComparators:O_e,maxSatisfying:F_e,minSatisfying:U_e,minVersion:q_e,validRange:G_e,outside:H_e,gtr:z_e,ltr:$_e,intersects:V_e,simplifyRange:Y_e,subset:J_e,SemVer:A_e,re:g_.re,src:g_.src,tokens:g_.t,SEMVER_SPEC_VERSION:LX.SEMVER_SPEC_VERSION,RELEASE_TYPES:LX.RELEASE_TYPES,compareIdentifiers:MX.compareIdentifiers,rcompareIdentifiers:MX.rcompareIdentifiers}});var KX=B(require("crypto"),1),XX=B(require("path"),1);var b_=B(require("os"),1);function vn(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}function NB(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}function Di(t,e,r){let s=new SB(t,e,r);process.stdout.write(s.toString()+b_.EOL)}function RB(t,e=""){Di(t,{},e)}var w_="::",SB=class{constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=w_+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}=${aZ(n)}`)}}return e+=`${w_}${oZ(this.message)}`,e}};function oZ(t){return vn(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function aZ(t){return vn(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}var Q_=B(require("crypto"),1),jm=B(require("fs"),1),Wm=B(require("os"),1);function pA(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!jm.existsSync(r))throw new Error(`Missing file at path: ${r}`);jm.appendFileSync(r,`${vn(e)}${Wm.EOL}`,{encoding:"utf8"})}function Km(t,e){let r=`ghadelimiter_${Q_.randomUUID()}`,s=vn(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}${Wm.EOL}${s}${Wm.EOL}${r}`}var mx=B(require("os"),1),yG=B(require("path"),1);var hd=B(require("http"),1),tx=B(require("https"),1);function TB(t){let e=t.protocol==="https:";if(cZ(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 Xm(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Xm(`http://${r}`)}else return}function cZ(t){if(!t.hostname)return!1;let e=t.hostname;if(lZ(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(o=>o.trim().toUpperCase()).filter(o=>o))if(i==="*"||n.some(o=>o===i||o.endsWith(`.${i}`)||i.startsWith(".")&&o.endsWith(`${i}`)))return!0;return!1}function lZ(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}var Xm=class extends URL{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 qo=B(Zm(),1),Zq=B(pd(),1),dt=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},et;(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"})(et||(et={}));var Ar;(function(t){t.Accept="accept",t.ContentType="content-type"})(Ar||(Ar={}));var Wi;(function(t){t.ApplicationJson="application/json"})(Wi||(Wi={}));var NAe=[et.MovedPermanently,et.ResourceMoved,et.SeeOther,et.TemporaryRedirect,et.PermanentRedirect],SAe=[et.BadGateway,et.ServiceUnavailable,et.GatewayTimeout],RAe=["OPTIONS","GET","DELETE","HEAD"],TAe=10,vAe=5,Hn=class t extends Error{constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},ex=class{constructor(e){this.message=e}readBody(){return dt(this,void 0,void 0,function*(){return new Promise(e=>dt(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 dt(this,void 0,void 0,function*(){return new Promise(e=>dt(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 dr=class{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 dt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return dt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return dt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return dt(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return dt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return dt(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return dt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return dt(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return dt(this,arguments,void 0,function*(r,s={}){s[Ar.Accept]=this._getExistingOrDefaultHeader(s,Ar.Accept,Wi.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return dt(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[Ar.Accept]=this._getExistingOrDefaultHeader(i,Ar.Accept,Wi.ApplicationJson),i[Ar.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Wi.ApplicationJson);let a=yield this.post(s,o,i);return this._processResponse(a,this.requestOptions)})}putJson(e,r){return dt(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[Ar.Accept]=this._getExistingOrDefaultHeader(i,Ar.Accept,Wi.ApplicationJson),i[Ar.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Wi.ApplicationJson);let a=yield this.put(s,o,i);return this._processResponse(a,this.requestOptions)})}patchJson(e,r){return dt(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[Ar.Accept]=this._getExistingOrDefaultHeader(i,Ar.Accept,Wi.ApplicationJson),i[Ar.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Wi.ApplicationJson);let a=yield this.patch(s,o,i);return this._processResponse(a,this.requestOptions)})}request(e,r,s,n){return dt(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),o=this._prepareRequest(e,i,n),a=this._allowRetries&&RAe.includes(e)?this._maxRetries+1:1,c=0,l;do{if(l=yield this.requestRaw(o,s),l&&l.message&&l.message.statusCode===et.Unauthorized){let A;for(let d of this.handlers)if(d.canHandleAuthentication(l)){A=d;break}return A?A.handleAuthentication(this,o,s):l}let u=this._maxRedirects;for(;l.message.statusCode&&NAe.includes(l.message.statusCode)&&this._allowRedirects&&u>0;){let A=l.message.headers.location;if(!A)break;let d=new URL(A);if(i.protocol==="https:"&&i.protocol!==d.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 l.readBody(),d.hostname!==i.hostname)for(let p in n)p.toLowerCase()==="authorization"&&delete n[p];o=this._prepareRequest(e,d,n),l=yield this.requestRaw(o,s),u--}if(!l.message.statusCode||!SAe.includes(l.message.statusCode))return l;c+=1,c{function i(o,a){o?n(o):a?s(a):n(new Error("Unknown error"))}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(c,l){n||(n=!0,s(c,l))}let o=e.httpModule.request(e.options,c=>{let l=new ex(c);i(void 0,l)}),a;o.on("socket",c=>{a=c}),o.setTimeout(this._socketTimeout||3*6e4,()=>{a&&a.end(),i(new Error(`Request timeout: ${e.options.path}`))}),o.on("error",function(c){i(c)}),r&&typeof r=="string"&&o.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){o.end()}),r.pipe(o)):o.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),s=TB(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?tx:hd;let o=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):o,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 a of this.handlers)a.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},md(this.requestOptions.headers),md(e||{})):md(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let o=md(this.requestOptions.headers)[r];o&&(n=typeof o=="number"?o.toString():o)}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=md(this.requestOptions.headers)[Ar.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[Ar.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=TB(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||hd.globalAgent.maxSockets),s&&s.hostname){let a={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},c,l=s.protocol==="https:";i?c=l?qo.httpsOverHttps:qo.httpsOverHttp:c=l?qo.httpOverHttps:qo.httpOverHttp,r=c(a),this._proxyAgent=r}if(!r){let a={keepAlive:this._keepAlive,maxSockets:o};r=i?new tx.Agent(a):new hd.Agent(a),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 Zq.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 dt(this,void 0,void 0,function*(){e=Math.min(TAe,e);let r=vAe*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return dt(this,void 0,void 0,function*(){return new Promise((s,n)=>dt(this,void 0,void 0,function*(){let i=e.message.statusCode||0,o={statusCode:i,result:null,headers:{}};i===et.NotFound&&s(o);function a(u,A){if(typeof A=="string"){let d=new Date(A);if(!isNaN(d.valueOf()))return d}return A}let c,l;try{l=yield e.readBody(),l&&l.length>0&&(r&&r.deserializeDates?c=JSON.parse(l,a):c=JSON.parse(l),o.result=c),o.headers=e.message.headers}catch{}if(i>299){let u;c&&c.message?u=c.message:l&&l.length>0?u=l:u=`Failed request: (${i})`;let A=new Hn(u,i);A.result=o.result,n(A)}else s(o)}))})}},md=t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{});var kAe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};var zn=class{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 kAe(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var tG=require("os"),fd=require("fs"),rx=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},{access:DAe,appendFile:_Ae,writeFile:LAe}=fd.promises,eG="GITHUB_STEP_SUMMARY";var sx=class{constructor(){this._buffer=""}filePath(){return rx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[eG];if(!e)throw new Error(`Unable to find environment variable for $${eG}. Check if your runtime environment supports job summaries.`);try{yield DAe(e,fd.constants.R_OK|fd.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,o])=>` ${i}="${o}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return rx(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?LAe:_Ae)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return rx(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(tG.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(o=>this.wrap("li",o)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(o=>{if(typeof o=="string")return this.wrap("td",o);let{header:a,data:c,colspan:l,rowspan:u}=o,A=a?"th":"td",d=Object.assign(Object.assign({},l&&{colspan:l}),u&&{rowspan:u});return this.wrap(A,c,d)}).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||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),a=this.wrap("img",null,Object.assign({src:e,alt:r},o));return this.addRaw(a).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()}},dOe=new sx;var dx=B(require("os"),1);var Ax=require("string_decoder");var Ed=B(require("os"),1),ux=B(require("events"),1),mG=B(require("child_process"),1),hG=B(require("path"),1);var lG=require("assert"),ss=B(require("path"),1);var gd=B(require("fs"),1),Go=B(require("path"),1),nx=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},{chmod:ix,copyFile:sG,lstat:Wf,mkdir:nG,open:hOe,readdir:ox,rename:MAe,rm:iG,rmdir:fOe,stat:Ua,symlink:oG,unlink:ax}=gd.promises,$n=process.platform==="win32";function aG(t){return nx(this,void 0,void 0,function*(){let e=yield gd.promises.readlink(t);return $n&&!e.endsWith("\\")?`${e}\\`:e})}var gOe=gd.constants.O_RDONLY;function Ol(t){return nx(this,void 0,void 0,function*(){try{yield Ua(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}function jf(t){if(t=OAe(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return $n?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}function cx(t,e){return nx(this,void 0,void 0,function*(){let r;try{r=yield Ua(t)}catch(n){n.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${n}`)}if(r&&r.isFile()){if($n){let n=Go.extname(t).toUpperCase();if(e.some(i=>i.toUpperCase()===n))return t}else if(rG(r))return t}let s=t;for(let n of e){t=s+n,r=void 0;try{r=yield Ua(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if($n){try{let i=Go.dirname(t),o=Go.basename(t).toUpperCase();for(let a of yield ox(i))if(o===a.toUpperCase()){t=Go.join(i,a);break}}catch(i){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${i}`)}return t}else if(rG(r))return t}}return""})}function OAe(t){return t=t||"",$n?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}function rG(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()}var qa=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function uG(t,e){return qa(this,arguments,void 0,function*(r,s,n={}){let{force:i,recursive:o,copySourceDirectory:a}=UAe(n),c=(yield Ol(s))?yield Ua(s):null;if(c&&c.isFile()&&!i)return;let l=c&&c.isDirectory()&&a?ss.join(s,ss.basename(r)):s;if(!(yield Ol(r)))throw new Error(`no such file or directory: ${r}`);if((yield Ua(r)).isDirectory())if(o)yield AG(r,l,0,i);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(ss.relative(r,l)==="")throw new Error(`'${l}' and '${r}' are the same file`);yield dG(r,l,i)}})}function Kf(t){return qa(this,void 0,void 0,function*(){if($n&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield iG(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}function Ss(t){return qa(this,void 0,void 0,function*(){(0,lG.ok)(t,"a path argument must be provided"),yield nG(t,{recursive:!0})})}function pt(t,e){return qa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let s=yield pt(t,!1);if(!s)throw $n?new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`):new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return s}let r=yield FAe(t);return r&&r.length>0?r[0]:""})}function FAe(t){return qa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if($n&&process.env.PATHEXT)for(let n of process.env.PATHEXT.split(ss.delimiter))n&&e.push(n);if(jf(t)){let n=yield cx(t,e);return n?[n]:[]}if(t.includes(ss.sep))return[];let r=[];if(process.env.PATH)for(let n of process.env.PATH.split(ss.delimiter))n&&r.push(n);let s=[];for(let n of r){let i=yield cx(ss.join(n,t),e);i&&s.push(i)}return s})}function UAe(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}}function AG(t,e,r,s){return qa(this,void 0,void 0,function*(){if(r>=255)return;r++,yield Ss(e);let n=yield ox(t);for(let i of n){let o=`${t}/${i}`,a=`${e}/${i}`;(yield Wf(o)).isDirectory()?yield AG(o,a,r,s):yield dG(o,a,s)}yield ix(e,(yield Ua(t)).mode)})}function dG(t,e,r){return qa(this,void 0,void 0,function*(){if((yield Wf(t)).isSymbolicLink()){try{yield Wf(e),yield ax(e)}catch(n){n.code==="EPERM"&&(yield ix(e,"0666"),yield ax(e))}let s=yield aG(t);yield oG(s,e,$n?"junction":null)}else(!(yield Ol(e))||r)&&(yield sG(t,e))})}var fG=require("timers"),pG=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},Xf=process.platform==="win32",Zf=class extends ux.EventEmitter{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(Xf)if(this._isCmdFile()){i+=s;for(let o of n)i+=` ${o}`}else if(e.windowsVerbatimArguments){i+=`"${s}"`;for(let o of n)i+=` ${o}`}else{i+=this._windowsQuoteCmdArg(s);for(let o of n)i+=` ${this._windowsQuoteCmdArg(o)}`}else{i+=s;for(let o of n)i+=` ${o}`}return i}_processLineBuffer(e,r,s){try{let n=r+e.toString(),i=n.indexOf(Ed.EOL);for(;i>-1;){let o=n.substring(0,i);s(o),n=n.substring(i+Ed.EOL.length),i=n.indexOf(Ed.EOL)}return n}catch(n){return this._debug(`error processing line. Failed with error ${n}`),""}}_getSpawnFileName(){return Xf&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(Xf&&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 o of e)if(r.some(a=>a===o)){s=!0;break}if(!s)return e;let n='"',i=!0;for(let o=e.length;o>0;o--)n+=e[o-1],i&&e[o-1]==="\\"?n+="\\":e[o-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 pG(this,void 0,void 0,function*(){return!jf(this.toolPath)&&(this.toolPath.includes("/")||Xf&&this.toolPath.includes("\\"))&&(this.toolPath=hG.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield pt(this.toolPath,!0),new Promise((e,r)=>pG(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let l of this.args)this._debug(` ${l}`);let s=this._cloneExecOptions(this.options);!s.silent&&s.outStream&&s.outStream.write(this._getCommandString(s)+Ed.EOL);let n=new lx(s,this.toolPath);if(n.on("debug",l=>{this._debug(l)}),this.options.cwd&&!(yield Ol(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),o=mG.spawn(i,this._getSpawnArgs(s),this._getSpawnOptions(this.options,i)),a="";o.stdout&&o.stdout.on("data",l=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(l),!s.silent&&s.outStream&&s.outStream.write(l),a=this._processLineBuffer(l,a,u=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(u)})});let c="";if(o.stderr&&o.stderr.on("data",l=>{n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(l),!s.silent&&s.errStream&&s.outStream&&(s.failOnStdErr?s.errStream:s.outStream).write(l),c=this._processLineBuffer(l,c,u=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(u)})}),o.on("error",l=>{n.processError=l.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete()}),o.on("exit",l=>{n.processExitCode=l,n.processExited=!0,this._debug(`Exit code ${l} received from tool '${this.toolPath}'`),n.CheckComplete()}),o.on("close",l=>{n.processExitCode=l,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete()}),n.on("done",(l,u)=>{a.length>0&&this.emit("stdline",a),c.length>0&&this.emit("errline",c),o.removeAllListeners(),l?r(l):e(u)}),this.options.input){if(!o.stdin)throw new Error("child process missing stdin");o.stdin.end(this.options.input)}}))})}};function gG(t){let e=[],r=!1,s=!1,n="";function i(o){s&&o!=='"'&&(n+="\\"),n+=o,s=!1}for(let o=0;o0&&(e.push(n),n="");continue}i(a)}return n.length>0&&e.push(n.trim()),e}var lx=class t extends ux.EventEmitter{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 EG=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function ns(t,e,r){return EG(this,void 0,void 0,function*(){let s=gG(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 Zf(n,e,r).exec()})}function Fl(t,e,r){return EG(this,void 0,void 0,function*(){var s,n;let i="",o="",a=new Ax.StringDecoder("utf8"),c=new Ax.StringDecoder("utf8"),l=(s=r?.listeners)===null||s===void 0?void 0:s.stdout,u=(n=r?.listeners)===null||n===void 0?void 0:n.stderr,A=f=>{o+=c.write(f),u&&u(f)},d=f=>{i+=a.write(f),l&&l(f)},p=Object.assign(Object.assign({},r?.listeners),{stdout:d,stderr:A}),m=yield ns(t,e,Object.assign(Object.assign({},r),{listeners:p}));return i+=a.end(),o+=c.end(),{exitCode:m,stdout:i,stderr:o}})}var yOe=dx.default.platform(),COe=dx.default.arch();var HAe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},px;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(px||(px={}));function CG(t,e){let r=vn(e);if(process.env[t]=r,process.env.GITHUB_ENV||"")return pA("ENV",Km(t,e));Di("set-env",{name:t},r)}function ql(t){process.env.GITHUB_PATH||""?pA("PATH",t):Di("add-path",{},t),process.env.PATH=`${t}${yG.delimiter}${process.env.PATH}`}function dn(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()}function hx(t,e){let r=["true","True","TRUE"],s=["false","False","FALSE"],n=dn(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\``)}function fx(t,e){if(process.env.GITHUB_OUTPUT||"")return pA("OUTPUT",Km(t,e));process.stdout.write(mx.EOL),Di("set-output",{name:t},vn(e))}function IG(t){process.exitCode=px.Failure,zAe(t)}function re(t){Di("debug",{},t)}function zAe(t,e={}){Di("error",NB(e),t instanceof Error?t.toString():t)}function pn(t,e={}){Di("warning",NB(e),t instanceof Error?t.toString():t)}function $(t){process.stdout.write(t+mx.EOL)}function $Ae(t){RB("group",t)}function VAe(){RB("endgroup")}function he(t,e){return HAe(this,void 0,void 0,function*(){$Ae(t);let r;try{r=yield e()}finally{VAe()}return r})}function Gl(t,e){if(process.env.GITHUB_STATE||"")return pA("STATE",Km(t,e));Di("save-state",{name:t},vn(e))}function BG(t){return process.env[`STATE_${t}`]||""}var iI=B(require("fs"),1),bk=B(require("os"),1),Qk=B(require("path"),1);var bG=B(require("os"),1);function yd(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}function QG(t,e,r){let s=new gx(t,e,r);process.stdout.write(s.toString()+bG.EOL)}var wG="::",gx=class{constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=wG+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}=${JAe(n)}`)}}return e+=`${wG}${YAe(this.message)}`,e}};function YAe(t){return yd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function JAe(t){return yd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}var RG=B(require("os"),1);var NG=require("os"),Cd=require("fs"),Ex=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},{access:WAe,appendFile:jAe,writeFile:KAe}=Cd.promises,xG="GITHUB_STEP_SUMMARY";var yx=class{constructor(){this._buffer=""}filePath(){return Ex(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[xG];if(!e)throw new Error(`Unable to find environment variable for $${xG}. Check if your runtime environment supports job summaries.`);try{yield WAe(e,Cd.constants.R_OK|Cd.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,o])=>` ${i}="${o}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return Ex(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?KAe:jAe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Ex(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(NG.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(o=>this.wrap("li",o)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(o=>{if(typeof o=="string")return this.wrap("td",o);let{header:a,data:c,colspan:l,rowspan:u}=o,A=a?"th":"td",d=Object.assign(Object.assign({},l&&{colspan:l}),u&&{rowspan:u});return this.wrap(A,c,d)}).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||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),a=this.wrap("img",null,Object.assign({src:e,alt:r},o));return this.addRaw(a).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()}},zOe=new yx;var Cx=B(require("os"),1);var YOe=Cx.default.platform(),JOe=Cx.default.arch();var SG;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(SG||(SG={}));function Ix(){return process.env.RUNNER_DEBUG==="1"}function Me(t){QG("debug",{},t)}function Bx(t){process.stdout.write(t+RG.EOL)}var zx=B(require("crypto"),1),tr=B(require("fs"),1);var Jme=B(Gx(),1);var mg=B(require("os"),1),mn=B(require("path"),1);var vs=B(Gx(),1),Cz=B(require("stream"),1),Iz=B(require("util"),1),$x=require("assert");var yz=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},dg=class{constructor(e,r,s){if(e<1)throw new Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(r),this.maxSeconds=Math.floor(s),this.minSeconds>this.maxSeconds)throw new Error("min seconds should be less than or equal to max seconds")}execute(e,r){return yz(this,void 0,void 0,function*(){let s=1;for(;ssetTimeout(r,e*1e3))})}};var Yn=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},pg=class extends Error{constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}},Bz=process.platform==="win32",aUe=process.platform==="darwin",jme="actions/tool-cache";function za(t,e,r,s){return Yn(this,void 0,void 0,function*(){e=e||mn.join(xz(),zx.randomUUID()),yield Ss(mn.dirname(e)),Me(`Downloading ${t}`),Me(`Destination ${e}`);let n=3,i=Hx("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=Hx("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);return yield new dg(n,i,o).execute(()=>Yn(this,void 0,void 0,function*(){return yield Kme(t,e||"",r,s)}),c=>!(c instanceof pg&&c.httpStatusCode&&c.httpStatusCode<500&&c.httpStatusCode!==408&&c.httpStatusCode!==429))})}function Kme(t,e,r,s){return Yn(this,void 0,void 0,function*(){if(tr.existsSync(e))throw new Error(`Destination file path ${e} already exists`);let n=new dr(jme,[],{allowRetries:!1});r&&(Me("set auth"),s===void 0&&(s={}),s.authorization=r);let i=yield n.get(t,s);if(i.message.statusCode!==200){let u=new pg(i.message.statusCode);throw Me(`Failed to download from "${t}". Code(${i.message.statusCode}) Message(${i.message.statusMessage})`),u}let o=Iz.promisify(Cz.pipeline),c=Hx("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>i.message)(),l=!1;try{return yield o(c,tr.createWriteStream(e)),Me("download complete"),l=!0,e}finally{if(!l){Me("download failed");try{yield Kf(e)}catch(u){Me(`Failed to delete '${e}'. ${u.message}`)}}}})}function hg(t,e){return Yn(this,arguments,void 0,function*(r,s,n="xz"){if(!r)throw new Error("parameter 'file' is required");s=yield bz(s),Me("Checking tar --version");let i="";yield ns("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:u=>i+=u.toString(),stderr:u=>i+=u.toString()}}),Me(i.trim());let o=i.toUpperCase().includes("GNU TAR"),a;n instanceof Array?a=n:a=[n],Ix()&&!n.includes("v")&&a.push("-v");let c=s,l=r;return Bz&&o&&(a.push("--force-local"),c=s.replace(/\\/g,"/"),l=r.replace(/\\/g,"/")),o&&(a.push("--warning=no-unknown-keyword"),a.push("--overwrite")),a.push("-C",c,"-f",l),yield ns("tar",a),s})}function fg(t,e){return Yn(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'file' is required");return e=yield bz(e),Bz?yield Xme(t,e):yield Zme(t,e),e})}function Xme(t,e){return Yn(this,void 0,void 0,function*(){let r=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=yield pt("pwsh",!1);if(n){let o=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;",`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${s}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${s}' -Force } else { throw $_ } } ;`].join(" ")];Me(`Using pwsh at path: ${n}`),yield ns(`"${n}"`,o)}else{let o=["-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(" ")],a=yield pt("powershell",!0);Me(`Using powershell at path: ${a}`),yield ns(`"${a}"`,o)}})}function Zme(t,e){return Yn(this,void 0,void 0,function*(){let r=yield pt("unzip",!0),s=[t];Ix()||s.unshift("-q"),s.unshift("-o"),yield ns(`"${r}"`,s,{cwd:e})})}function Sd(t,e,r,s){return Yn(this,void 0,void 0,function*(){if(r=vs.clean(r)||r,s=s||mg.arch(),Me(`Caching tool ${e} ${r} ${s}`),Me(`source dir: ${t}`),!tr.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let n=yield the(e,r,s);for(let i of tr.readdirSync(t)){let o=mn.join(t,i);yield uG(o,n,{recursive:!0})}return rhe(e,r,s),n})}function wz(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||mg.arch(),!Qz(e)){let n=ehe(t,r);e=she(n,e)}let s="";if(e){e=vs.clean(e)||"";let n=mn.join(gg(),t,e,r);Me(`checking cache: ${n}`),tr.existsSync(n)&&tr.existsSync(`${n}.complete`)?(Me(`Found tool in cache ${t} ${e} ${r}`),s=n):Me("not found")}return s}function ehe(t,e){let r=[];e=e||mg.arch();let s=mn.join(gg(),t);if(tr.existsSync(s)){let n=tr.readdirSync(s);for(let i of n)if(Qz(i)){let o=mn.join(s,i,e||"");tr.existsSync(o)&&tr.existsSync(`${o}.complete`)&&r.push(i)}}return r}function bz(t){return Yn(this,void 0,void 0,function*(){return t||(t=mn.join(xz(),zx.randomUUID())),yield Ss(t),t})}function the(t,e,r){return Yn(this,void 0,void 0,function*(){let s=mn.join(gg(),t,vs.clean(e)||e,r||"");Me(`destination ${s}`);let n=`${s}.complete`;return yield Kf(s),yield Kf(n),yield Ss(s),s})}function rhe(t,e,r){let n=`${mn.join(gg(),t,vs.clean(e)||e,r||"")}.complete`;tr.writeFileSync(n,""),Me("finished caching tool")}function Qz(t){let e=vs.clean(t)||"";Me(`isExplicit: ${e}`);let r=vs.valid(e)!=null;return Me(`explicit? ${r}`),r}function she(t,e){let r="";Me(`evaluating ${t.length} versions`),t=t.sort((s,n)=>vs.gt(s,n)?1:-1);for(let s=t.length-1;s>=0;s--){let n=t[s];if(vs.satisfies(n,e)){r=n;break}}return r?Me(`matched: ${r}`):Me("match not found"),r}function gg(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,$x.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}function xz(){let t=process.env.RUNNER_TEMP||"";return(0,$x.ok)(t,"Expected RUNNER_TEMP to be defined"),t}function Hx(t,e){let r=global[t];return r!==void 0?r:e}var Sz=B(require("os"),1);function Rd(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}function Vx(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}function Td(t,e,r){let s=new Yx(t,e,r);process.stdout.write(s.toString()+Sz.EOL)}var Nz="::",Yx=class{constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=Nz+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}=${ihe(n)}`)}}return e+=`${Nz}${nhe(this.message)}`,e}};function nhe(t){return Rd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function ihe(t){return Rd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}var Pz=B(require("os"),1);var Tz=require("os"),vd=require("fs"),Jx=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},{access:ohe,appendFile:ahe,writeFile:che}=vd.promises,Rz="GITHUB_STEP_SUMMARY";var Wx=class{constructor(){this._buffer=""}filePath(){return Jx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Rz];if(!e)throw new Error(`Unable to find environment variable for $${Rz}. Check if your runtime environment supports job summaries.`);try{yield ohe(e,vd.constants.R_OK|vd.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,s={}){let n=Object.entries(s).map(([i,o])=>` ${i}="${o}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return Jx(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?che:ahe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Jx(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(Tz.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(o=>this.wrap("li",o)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(o=>{if(typeof o=="string")return this.wrap("td",o);let{header:a,data:c,colspan:l,rowspan:u}=o,A=a?"th":"td",d=Object.assign(Object.assign({},l&&{colspan:l}),u&&{rowspan:u});return this.wrap(A,c,d)}).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||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),a=this.wrap("img",null,Object.assign({src:e,alt:r},o));return this.addRaw(a).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()}},gUe=new Wx;var jx=B(require("os"),1);var CUe=jx.default.platform(),IUe=jx.default.arch();var vz;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(vz||(vz={}));function zl(t){Td("add-mask",{},t)}function $a(){return process.env.RUNNER_DEBUG==="1"}function N(t){Td("debug",{},t)}function Pd(t,e={}){Td("error",Vx(e),t instanceof Error?t.toString():t)}function hn(t,e={}){Td("warning",Vx(e),t instanceof Error?t.toString():t)}function bt(t){process.stdout.write(t+Pz.EOL)}var mm=B(require("path"),1);var Dz=B(require("os"),1);function kd(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}function _z(t,e,r){let s=new Kx(t,e,r);process.stdout.write(s.toString()+Dz.EOL)}var kz="::",Kx=class{constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=kz+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}=${Ahe(n)}`)}}return e+=`${kz}${uhe(this.message)}`,e}};function uhe(t){return kd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function Ahe(t){return kd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}var Mz=require("os"),Dd=require("fs"),Xx=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},{access:dhe,appendFile:phe,writeFile:mhe}=Dd.promises,Lz="GITHUB_STEP_SUMMARY";var Zx=class{constructor(){this._buffer=""}filePath(){return Xx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Lz];if(!e)throw new Error(`Unable to find environment variable for $${Lz}. Check if your runtime environment supports job summaries.`);try{yield dhe(e,Dd.constants.R_OK|Dd.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,o])=>` ${i}="${o}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return Xx(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?mhe:phe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Xx(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(Mz.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(o=>this.wrap("li",o)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(o=>{if(typeof o=="string")return this.wrap("td",o);let{header:a,data:c,colspan:l,rowspan:u}=o,A=a?"th":"td",d=Object.assign(Object.assign({},l&&{colspan:l}),u&&{rowspan:u});return this.wrap(A,c,d)}).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||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),a=this.wrap("img",null,Object.assign({src:e,alt:r},o));return this.addRaw(a).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()}},JUe=new Zx;var e0=B(require("os"),1);var KUe=e0.default.platform(),XUe=e0.default.arch();var Oz;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Oz||(Oz={}));function Ps(t){_z("debug",{},t)}var Wl=B(require("fs"),1);function r0(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,Ps(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,Ps(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,Ps(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,Ps(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,Ps(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}var wg=B(require("path"),1);var $l=B(require("path"),1),Ho=B(require("assert"),1),zo=process.platform==="win32";function Ki(t){if(t=ji(t),zo&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=$l.dirname(t);return zo&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=ji(e)),e}function yg(t,e){if((0,Ho.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,Ho.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),_d(e))return e;if(zo){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,Ho.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(fn(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,Ho.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,Ho.default)(_d(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||zo&&t.endsWith("\\")||(t+=$l.sep),t+e}function _d(t){return(0,Ho.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=fn(t),zo?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}function Ld(t){return(0,Ho.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=fn(t),zo?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}function fn(t){return t=t||"",zo?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}function ji(t){return t?(t=fn(t),!t.endsWith($l.sep)||t===$l.sep||zo&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}var gn;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(gn||(gn={}));var Fz=process.platform==="win32";function n0(t){t=t.filter(s=>!s.negate);let e={};for(let s of t){let n=Fz?s.searchPath.toUpperCase():s.searchPath;e[n]="candidate"}let r=[];for(let s of t){let n=Fz?s.searchPath.toUpperCase():s.searchPath;if(e[n]==="included")continue;let i=!1,o=n,a=Ki(o);for(;a!==o;){if(e[a]){i=!0;break}o=a,a=Ki(o)}i||(r.push(s.searchPath),e[n]="included")}return r}function Uz(t,e){let r=gn.None;for(let s of t)s.negate?r&=~s.match(e):r|=s.match(e);return r}function qz(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}var l$=B(require("os"),1),Jl=B(require("path"),1);var Vo=B(require("assert"),1),u$=B(c$(),1);var Ya=B(require("path"),1);var Yl=B(require("assert"),1),Fhe=process.platform==="win32",Ja=class{constructor(e){if(this.segments=[],typeof e=="string")if((0,Yl.default)(e,"Parameter 'itemPath' must not be empty"),e=ji(e),!Ld(e))this.segments=e.split(Ya.sep);else{let r=e,s=Ki(r);for(;s!==r;){let n=Ya.basename(r);this.segments.unshift(n),r=s,s=Ki(r)}this.segments.unshift(r)}else{(0,Yl.default)(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let r=0;rt.getLiteral(l)).filter(l=>!o&&!(o=l===""));this.searchPath=new Ja(a).toString(),this.rootRegExp=new RegExp(t.regExpEscape(a[0]),Xi?"i":""),this.isImplicitPattern=r;let c={dot:!0,nobrace:!0,nocase:Xi,nocomment:!0,noext:!0,nonegate:!0};i=Xi?i.replace(/\\/g,"/"):i,this.minimatch=new Uhe(i,c)}match(e){return this.segments[this.segments.length-1]==="**"?(e=fn(e),!e.endsWith(Jl.sep)&&this.isImplicitPattern===!1&&(e=`${e}${Jl.sep}`)):e=ji(e),this.minimatch.match(e)?this.trailingSeparator?gn.Directory:gn.All:gn.None}partialMatch(e){return e=ji(e),Ki(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Xi?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Xi?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,Vo.default)(e,"pattern cannot be empty");let s=new Ja(e).segments.map(n=>t.getLiteral(n));if((0,Vo.default)(s.every((n,i)=>(n!=="."||i===0)&&n!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,Vo.default)(!Ld(e)||s[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=fn(e),e==="."||e.startsWith(`.${Jl.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${Jl.sep}`))r=r||l$.homedir(),(0,Vo.default)(r,"Unable to determine HOME directory"),(0,Vo.default)(_d(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Xi&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let n=yg("C:\\dummy-root",e.substr(0,2));e.length>2&&!n.endsWith("\\")&&(n+="\\"),e=t.globEscape(n)+e.substr(2)}else if(Xi&&(e==="\\"||e.match(/^\\[^\\]/))){let n=yg("C:\\dummy-root","\\");n.endsWith("\\")||(n+="\\"),e=t.globEscape(n)+e.substr(1)}else e=yg(t.globEscape(process.cwd()),e);return fn(e)}static getLiteral(e){let r="";for(let s=0;s=0){if(i.length>1)return"";if(i){r+=i,s=o;continue}}}}r+=n}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};var Fd=class{constructor(e,r){this.path=e,this.level=r}};var u0=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},qhe=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(o){return new Promise(function(a,c){o=t[i](o),n(a,c,o.done,o.value)})}}function n(i,o,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},o)}},Yo=function(t){return this instanceof Yo?(this.v=t,this):new Yo(t)},Ghe=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),a("next"),a("throw"),a("return",o),n[Symbol.asyncIterator]=function(){return this},n;function o(p){return function(m){return Promise.resolve(m).then(p,A)}}function a(p,m){s[p]&&(n[p]=function(f){return new Promise(function(y,g){i.push([p,f,y,g])>1||c(p,f)})},m&&(n[p]=m(n[p])))}function c(p,m){try{l(s[p](m))}catch(f){d(i[0][3],f)}}function l(p){p.value instanceof Yo?Promise.resolve(p.value.v).then(u,A):d(i[0][2],p)}function u(p){c("next",p)}function A(p){c("throw",p)}function d(p,m){p(m),i.shift(),i.length&&c(i[0][0],i[0][1])}},Hhe=process.platform==="win32",Bg=class t{constructor(e){this.patterns=[],this.searchPaths=[],this.options=r0(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return u0(this,void 0,void 0,function*(){var e,r,s,n;let i=[];try{for(var o=!0,a=qhe(this.globGenerator()),c;c=yield a.next(),e=c.done,!e;o=!0){n=c.value,o=!1;let l=n;i.push(l)}}catch(l){r={error:l}}finally{try{!o&&!e&&(s=a.return)&&(yield s.call(a))}finally{if(r)throw r.error}}return i})}globGenerator(){return Ghe(this,arguments,function*(){let r=r0(this.options),s=[];for(let o of this.patterns)s.push(o),r.implicitDescendants&&(o.trailingSeparator||o.segments[o.segments.length-1]!=="**")&&s.push(new Od(o.negate,!0,o.segments.concat("**")));let n=[];for(let o of n0(s)){Ps(`Search path '${o}'`);try{yield Yo(Wl.promises.lstat(o))}catch(a){if(a.code==="ENOENT")continue;throw a}n.unshift(new Fd(o,1))}let i=[];for(;n.length;){let o=n.pop(),a=Uz(s,o.path),c=!!a||qz(s,o.path);if(!a&&!c)continue;let l=yield Yo(t.stat(o,r,i));if(l&&!(r.excludeHiddenFiles&&wg.basename(o.path).match(/^\./)))if(l.isDirectory()){if(a&gn.Directory&&r.matchDirectories)yield yield Yo(o.path);else if(!c)continue;let u=o.level+1,A=(yield Yo(Wl.promises.readdir(o.path))).map(d=>new Fd(wg.join(o.path,d),u));n.push(...A.reverse())}else a&gn.File&&(yield yield Yo(o.path))}})}static create(e,r){return u0(this,void 0,void 0,function*(){let s=new t(r);Hhe&&(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 Od(i));return s.searchPaths.push(...n0(s.patterns)),s})}static stat(e,r,s){return u0(this,void 0,void 0,function*(){let n;if(r.followSymbolicLinks)try{n=yield Wl.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){Ps(`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 Wl.promises.lstat(e.path);if(n.isDirectory()&&r.followSymbolicLinks){let i=yield Wl.promises.realpath(e.path);for(;s.length>=e.level;)s.pop();if(s.some(o=>o===i)){Ps(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}s.push(i)}return n})}};var zhe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function A$(t,e){return zhe(this,void 0,void 0,function*(){return yield Bg.create(t,e)})}var Og=B(require("crypto"),1),Xl=B(require("fs"),1),ja=B(require("path"),1),rY=B(eY(),1),sY=B(require("util"),1);var Yd;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(Yd||(Yd={}));var gr;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(gr||(gr={}));var os;(function(t){t.GNU="gnu",t.BSD="bsd"})(os||(os={}));var Lg=2,Mg=5e3,T0=5e3,v0=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,tY=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,Jd="cache.tar",P0="manifest.txt",x1e=10*Math.pow(1024,3);var Kl=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},qEe=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(o){return new Promise(function(a,c){o=t[i](o),n(a,c,o.done,o.value)})}}function n(i,o,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},o)}},GEe="1.0";function Wd(){return Kl(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=ja.join(s,"actions","temp")}let r=ja.join(e,Og.randomUUID());return yield Ss(r),r})}function Wn(t){return Xl.statSync(t).size}function k0(t){return Kl(this,void 0,void 0,function*(){var e,r,s,n,i;let o=[],a=(i=process.env.GITHUB_WORKSPACE)!==null&&i!==void 0?i:process.cwd(),c=yield A$(t.join(` `),{implicitDescendants:!1});try{for(var l=!0,u=qEe(c.globGenerator()),A;A=yield u.next(),e=A.done,!e;l=!0){n=A.value,l=!1;let p=ja.relative(a,n).replace(new RegExp(`\\${ja.sep}`,"g"),"/");N(`Matched: ${p}`),p===""?o.push("."):o.push(`${p}`)}}catch(d){r={error:d}}finally{try{!l&&!e&&(s=u.return)&&(yield s.call(u))}finally{if(r)throw r.error}}return o})}function jd(t){return Kl(this,void 0,void 0,function*(){return sY.promisify(Xl.unlink)(t)})}function nY(t){return Kl(this,arguments,void 0,function*(e,r=[]){let s="";r.push("--version"),N(`Checking ${e} ${r.join(" ")}`);try{yield ns(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:n=>s+=n.toString(),stderr:n=>s+=n.toString()}})}catch(n){N(n.message)}return s=s.trim(),N(s),s})}function Kd(){return Kl(this,void 0,void 0,function*(){let t=yield nY("zstd",["--quiet"]),e=rY.clean(t);return N(`zstd version: ${e}`),t===""?gr.Gzip:gr.ZstdWithoutLong})}function Jo(t){return t===gr.Gzip?Yd.Gzip:Yd.Zstd}function iY(){return Kl(this,void 0,void 0,function*(){return Xl.existsSync(v0)?v0:(yield nY("tar")).toLowerCase().includes("gnu tar")?pt("tar"):""})}function D0(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}function Zl(t,e,r=!1){let s=t.slice();return e&&s.push(e),process.platform==="win32"&&!r&&s.push("windows-only"),s.push(GEe),Og.createHash("sha256").update(s.join("|")).digest("hex")}function oY(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}var Tu=B(require("fs"),1),Q8=require("url");var jn=class extends Error{constructor(e){super(e),this.name="AbortError"}};var aY=require("node:os"),cY=B(require("node:util"),1),lY=B(require("node:process"),1);function uY(t,...e){lY.default.stderr.write(`${cY.default.format(t,...e)}${aY.EOL}`)}var AY=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,pY,_0=[],L0=[],Ug=[];AY&&M0(AY);var mY=Object.assign(t=>hY(t),{enable:M0,enabled:O0,disable:HEe,log:uY});function M0(t){pY=t,_0=[],L0=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?L0.push(r.substring(1)):_0.push(r);for(let r of Ug)r.enabled=O0(r.namespace)}function O0(t){if(t.endsWith("*"))return!0;for(let e of L0)if(dY(t,e))return!1;for(let e of _0)if(dY(t,e))return!0;return!1}function dY(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let d=[],p="";for(let m of e)m==="*"&&p==="*"||(p=m,d.push(m));r=d.join("")}let s=0,n=0,i=r.length,o=t.length,a=-1,c=-1;for(;s=0){if(n=a+1,s=c+1,s===o)return!1;for(;t[s]!==r[n];)if(s++,s===o)return!1;c=s,s++,n++;continue}else return!1;let l=s===t.length,u=n===r.length,A=n===r.length-1&&r[n]==="*";return l&&(u||A)}function HEe(){let t=pY||"";return M0(""),t}function hY(t){let e=Object.assign(r,{enabled:O0(t),destroy:zEe,log:mY.log,namespace:t,extend:$Ee});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return Ug.push(e),e}function zEe(){let t=Ug.indexOf(this);return t>=0?(Ug.splice(t,1),!0):!1}function $Ee(t){let e=hY(`${this.namespace}:${t}`);return e.log=this.log,e}var eu=mY;var F0=["verbose","info","warning","error"],fY={verbose:400,info:300,warning:200,error:100};function gY(t,e){e.log=(...r)=>{t.log(...r)}}function EY(t){return F0.includes(t)}function qg(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,s,n=eu(t.namespace);n.log=(...u)=>{eu.log(...u)};function i(u){if(u&&!EY(u))throw new Error(`Unknown log level '${u}'. Acceptable values: ${F0.join(",")}`);s=u;let A=[];for(let d of e)o(d)&&A.push(d.namespace);eu.enable(A.join(","))}r&&(EY(r)?i(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${F0.join(", ")}.`));function o(u){return!!(s&&fY[u.level]<=fY[s])}function a(u,A){let d=Object.assign(u.extend(A),{level:A});if(gY(u,d),o(d)){let p=eu.disable();eu.enable(p+","+d.namespace)}return e.add(d),d}function c(){return s}function l(u){let A=n.extend(u);return gY(n,A),{error:a(A,"error"),warning:a(A,"warning"),info:a(A,"info"),verbose:a(A,"verbose")}}return{setLogLevel:i,getLogLevel:c,createClientLogger:l,logger:n}}var yY=qg({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),VEe=yY.logger;function Xd(t){return yY.createClientLogger(t)}function Gg(t){return t.toLowerCase()}function*YEe(t){for(let e of t.values())yield[e.name,e.value]}var U0=class{_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(Gg(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(Gg(e))?.value}has(e){return this._headersMap.has(Gg(e))}delete(e){this._headersMap.delete(Gg(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 YEe(this._headersMap)}};function as(t){return new U0(t)}function Ka(){return crypto.randomUUID()}var q0=class{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||Ka(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function Hg(t){return new q0(t)}var CY=new Set(["Deserialize","Serialize","Retry","Sign"]),G0=class t{_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&&!CY.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!CY.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,o)=>a=>o.sendRequest(a,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(m){return{name:m,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let n=s("Serialize"),i=s("None"),o=s("Deserialize"),a=s("Retry"),c=s("Sign"),l=[n,i,o,a,c];function u(m){return m==="Retry"?a:m==="Serialize"?n:m==="Deserialize"?o:m==="Sign"?c:i}for(let m of this._policies){let f=m.policy,y=m.options,g=f.name;if(r.has(g))throw new Error("Duplicate policy names not allowed in pipeline");let E={policy:f,dependsOn:new Set,dependants:new Set};y.afterPhase&&(E.afterPhase=u(y.afterPhase),E.afterPhase.hasAfterPolicies=!0),r.set(g,E),u(y.phase).policies.add(E)}for(let m of this._policies){let{policy:f,options:y}=m,g=f.name,E=r.get(g);if(!E)throw new Error(`Missing node for policy ${g}`);if(y.afterPolicies)for(let C of y.afterPolicies){let I=r.get(C);I&&(E.dependsOn.add(I),I.dependants.add(E))}if(y.beforePolicies)for(let C of y.beforePolicies){let I=r.get(C);I&&(I.dependsOn.add(E),E.dependants.add(I))}}function A(m){m.hasRun=!0;for(let f of m.policies)if(!(f.afterPhase&&(!f.afterPhase.hasRun||f.afterPhase.policies.size))&&f.dependsOn.size===0){e.push(f.policy);for(let y of f.dependants)y.dependsOn.delete(f);r.delete(f.policy.name),m.policies.delete(f)}}function d(){for(let m of l){if(A(m),m.policies.size>0&&m!==i){i.hasRun||A(i);return}m.hasAfterPolicies&&A(i)}}let p=0;for(;r.size>0;){p++;let m=e.length;if(d(),e.length<=m&&p>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function zg(){return G0.create()}function tu(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}function Xa(t){if(tu(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}var IY=require("node:util"),BY=IY.inspect.custom;var H0="REDACTED",JEe=["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"],WEe=["api-version"],En=class{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=JEe.concat(e),r=WEe.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)||tu(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,H0);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]=H0;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]=H0;return r}};var jEe=new En,Er=class t extends Error{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,BY,{value:()=>`RestError: ${this.message} ${jEe.sanitize({...this,request:{...this.request,agent:s},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function $g(t){return t instanceof Er?!0:Xa(t)&&t.name==="RestError"}function _r(t,e){return Buffer.from(t,e)}var Vg=B(require("node:http"),1),Yg=B(require("node:https"),1),z0=B(require("node:zlib"),1),bY=require("node:stream");var _s=Xd("ts-http-runtime");var KEe={};function Zd(t){return t&&typeof t.pipe=="function"}function wY(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)};t.on("close",r),t.on("end",r),t.on("error",r)})}function QY(t){return t&&typeof t.byteLength=="number"}var Jg=class extends bY.Transform{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}},$0=class{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,s;if(e.abortSignal){if(e.abortSignal.aborted)throw new jn("The operation was aborted. Request has already been canceled.");s=l=>{l.type==="abort"&&r.abort()},e.abortSignal.addEventListener("abort",s)}let n;e.timeout>0&&(n=setTimeout(()=>{let l=new En;_s.info(`request to '${l.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let i=e.headers.get("Accept-Encoding"),o=i?.includes("gzip")||i?.includes("deflate"),a=typeof e.body=="function"?e.body():e.body;if(a&&!e.headers.has("Content-Length")){let l=tye(a);l!==null&&e.headers.set("Content-Length",l)}let c;try{if(a&&e.onUploadProgress){let m=e.onUploadProgress,f=new Jg(m);f.on("error",y=>{_s.error("Error in upload progress",y)}),Zd(a)?a.pipe(f):f.end(a),a=f}let l=await this.makeRequest(e,r,a);n!==void 0&&clearTimeout(n);let u=XEe(l),d={status:l.statusCode??0,headers:u,request:e};if(e.method==="HEAD")return l.resume(),d;c=o?ZEe(l,u):l;let p=e.onDownloadProgress;if(p){let m=new Jg(p);m.on("error",f=>{_s.error("Error in download progress",f)}),c.pipe(m),c=m}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(d.status)?d.readableStreamBody=c:d.bodyAsText=await eye(c),d}finally{if(e.abortSignal&&s){let l=Promise.resolve();Zd(a)&&(l=wY(a));let u=Promise.resolve();Zd(c)&&(u=wY(c)),Promise.all([l,u]).then(()=>{s&&e.abortSignal?.removeEventListener("abort",s)}).catch(A=>{_s.warning("Error when cleaning up abortListener on httpRequest",A)})}}}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 a={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((c,l)=>{let u=i?Vg.default.request(a,c):Yg.default.request(a,c);u.once("error",A=>{l(new Er(A.message,{code:A.code??Er.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let A=new jn("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(A),l(A)}),s&&Zd(s)?s.pipe(u):s?typeof s=="string"||Buffer.isBuffer(s)?u.end(s):QY(s)?u.end(ArrayBuffer.isView(s)?Buffer.from(s.buffer):Buffer.from(s)):(_s.error("Unrecognized body type",s),l(new Er("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){let s=e.disableKeepAlive;if(r)return s?Vg.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new Vg.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(s&&!e.tlsSettings)return Yg.default.globalAgent;let n=e.tlsSettings??KEe,i=this.cachedHttpsAgents.get(n);return i&&i.options.keepAlive===!s||(_s.info("No cached TLS Agent exist, creating a new Agent"),i=new Yg.default.Agent({keepAlive:!s,...n}),this.cachedHttpsAgents.set(n,i)),i}}};function XEe(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}function ZEe(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let s=z0.default.createGunzip();return t.pipe(s),s}else if(r==="deflate"){let s=z0.default.createInflate();return t.pipe(s),s}return t}function eye(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 Er(`Error reading response as text: ${n.message}`,{code:Er.PARSE_ERROR}))})})}function tye(t){return t?Buffer.isBuffer(t)?t.length:Zd(t)?null:QY(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}function xY(){return new $0}function Wg(){return xY()}var V0="logPolicy";function jg(t={}){let e=t.logger??_s.info,r=new En({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:V0,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}}}var Kg="redirectPolicy",NY=["GET","HEAD"];function Xg(t={}){let{maxRetries:e=20}=t;return{name:Kg,async sendRequest(r,s){let n=await s(r);return SY(s,n,e)}}}async function SY(t,e,r,s=0){let{request:n,status:i,headers:o}=e,a=o.get("location");if(a&&(i===300||i===301&&NY.includes(n.method)||i===302&&NY.includes(n.method)||i===303&&n.method==="POST"||i===307)&&s{let i,o,a=()=>n(new jn(r?.abortErrorMsg?r?.abortErrorMsg:rye)),c=()=>{r?.abortSignal&&o&&r.abortSignal.removeEventListener("abort",o)};if(o=()=>(i&&clearTimeout(i),c(),a()),r?.abortSignal&&r.abortSignal.aborted)return a();i=setTimeout(()=>{c(),s(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",o)})}function PY(t,e){let r=t.headers.get(e);if(!r)return;let s=Number(r);if(!Number.isNaN(s))return s}var Y0="Retry-After",sye=["retry-after-ms","x-ms-retry-after-ms",Y0];function kY(t){if(t&&[429,503].includes(t.status))try{for(let n of sye){let i=PY(t,n);if(i===0||i)return i*(n===Y0?1e3:1)}let e=t.headers.get(Y0);if(!e)return;let s=Date.parse(e)-Date.now();return Number.isFinite(s)?Math.max(0,s):void 0}catch{return}}function DY(t){return Number.isFinite(kY(t))}function J0(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=kY(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}var nye=1e3,iye=1e3*64;function rE(t={}){let e=t.retryDelayInMs??nye,r=t.maxRetryDelayInMs??iye;return{name:"exponentialRetryStrategy",retry({retryCount:s,response:n,responseError:i}){let o=aye(i),a=o&&t.ignoreSystemErrors,c=oye(n),l=c&&t.ignoreHttpStatusCodes;return n&&(DY(n)||!c)||l||a?{skipStrategy:!0}:i&&!o&&!c?{errorToThrow:i}:tE(s,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}function oye(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}function aye(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}var cye=Xd("ts-http-runtime retryPolicy"),lye="retryPolicy";function ec(t,e={maxRetries:3}){let r=e.logger||cye;return{name:lye,async sendRequest(s,n){let i,o,a=-1;e:for(;;){a+=1,i=void 0,o=void 0;try{r.info(`Retry ${a}: Attempting to send request`,s.requestId),i=await n(s),r.info(`Retry ${a}: Received a response from request`,s.requestId)}catch(c){if(r.error(`Retry ${a}: Received an error from request`,s.requestId),o=c,!c||o.name!=="RestError")throw c;i=o.response}if(s.abortSignal?.aborted)throw r.error(`Retry ${a}: Request aborted.`),new jn;if(a>=(e.maxRetries??3)){if(r.info(`Retry ${a}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),o)throw o;if(i)return i;throw new Error("Maximum retries reached with no response or error to throw")}r.info(`Retry ${a}: Processing ${t.length} retry strategies.`);t:for(let c of t){let l=c.logger||r;l.info(`Retry ${a}: Processing retry strategy ${c.name}.`);let u=c.retry({retryCount:a,response:i,responseError:o});if(u.skipStrategy){l.info(`Retry ${a}: Skipped.`);continue t}let{errorToThrow:A,retryAfterInMs:d,redirectTo:p}=u;if(A)throw l.error(`Retry ${a}: Retry strategy ${c.name} throws error:`,A),A;if(d||d===0){l.info(`Retry ${a}: Retry strategy ${c.name} retries after ${d}`),await vY(d,void 0,{abortSignal:s.abortSignal});continue e}if(p){l.info(`Retry ${a}: Retry strategy ${c.name} redirects to ${p}`),s.url=p;continue e}}if(o)throw r.info("None of the retry strategies could work with the received error. Throwing it."),o;if(i)return r.info("None of the retry strategies could work with the received response. Returning it."),i}}}}var W0="defaultRetryPolicy";function sE(t={}){return{name:W0,sendRequest:ec([J0(),rE(t)],{maxRetries:t.maxRetries??3}).sendRequest}}var _Y=typeof window<"u"&&typeof window.document<"u",LY=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),MY=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",OY=typeof Bun<"u"&&typeof Bun.version<"u",tc=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var FY=typeof navigator<"u"&&navigator?.product==="ReactNative";var j0="formDataPolicy";function uye(t){let e={};for(let[r,s]of t.entries())e[r]??=[],e[r].push(s);return e}function nE(){return{name:j0,async sendRequest(t,e){if(tc&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=uye(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=Aye(t.formData):await dye(t.formData,t),t.formData=void 0}return e(t)}}}function Aye(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()}async function dye(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 o of Array.isArray(i)?i:[i])if(typeof o=="string")s.push({headers:as({"Content-Disposition":`form-data; name="${n}"`}),body:_r(o,"utf-8")});else{if(o==null||typeof o!="object")throw new Error(`Unexpected value for key ${n}: ${o}. Value should be serialized to string first.`);{let a=o.name||"blob",c=as();c.set("Content-Disposition",`form-data; name="${n}"; filename="${a}"`),c.set("Content-Type",o.type||"application/octet-stream"),s.push({headers:c,body:o})}}e.multipartBody={parts:s}}var hJ=B(cJ(),1),fJ=B(AJ(),1);var ACe="HTTPS_PROXY",dCe="HTTP_PROXY",pCe="ALL_PROXY",mCe="NO_PROXY",sN="proxyPolicy",dJ=[],gJ=!1,hCe=new Map;function pE(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}function EJ(){if(!process)return;let t=pE(ACe),e=pE(pCe),r=pE(dCe);return t||e||r}function fCe(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}function gCe(){let t=pE(mCe);return gJ=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}function nN(t){if(!t&&(t=EJ(),!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}}function ECe(){let t=EJ();return t?new URL(t):void 0}function pJ(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}function mJ(t,e,r){if(t.agent)return;let n=new URL(t.url).protocol!=="https:";t.tlsSettings&&_s.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 fJ.HttpProxyAgent(r,{headers:i})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new hJ.HttpsProxyAgent(r,{headers:i})),t.agent=e.httpsProxyAgent)}function mE(t,e){gJ||dJ.push(...gCe());let r=t?pJ(t):ECe(),s={};return{name:sN,async sendRequest(n,i){return!n.proxySettings&&r&&!fCe(n.url,e?.customNoProxyList??dJ,e?.customNoProxyList?void 0:hCe)?mJ(n,s,r):n.proxySettings&&mJ(n,s,pJ(n.proxySettings)),i(n)}}}var iN="agentPolicy";function hE(t){return{name:iN,sendRequest:async(e,r)=>(e.agent||(e.agent=t),r(e))}}var oN="tlsPolicy";function fE(t){return{name:oN,sendRequest:async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e))}}function gE(t){return typeof t.stream=="function"}var EE=require("stream");async function*yJ(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}function yCe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=yJ.bind(t)),t.values||(t.values=yJ.bind(t))}function CJ(t){return t instanceof ReadableStream?(yCe(t),EE.Readable.fromWeb(t)):t}function CCe(t){return t instanceof Uint8Array?EE.Readable.from(Buffer.from(t)):gE(t)?CJ(t.stream()):CJ(t)}async function IJ(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(CCe);return EE.Readable.from((async function*(){for(let r of e)for await(let s of r)yield s})())}}function ICe(){return`----AzSDKFormBoundary${Ka()}`}function BCe(t){let e="";for(let[r,s]of t)e+=`${r}: ${s}\r `;return e}function wCe(t){return t instanceof Uint8Array?t.byteLength:gE(t)?t.size===-1?void 0:t.size:void 0}function bCe(t){let e=0;for(let r of t){let s=wCe(r);if(s===void 0)return;e+=s}return e}async function QCe(t,e,r){let s=[_r(`--${r}`,"utf-8"),...e.flatMap(i=>[_r(`\r `,"utf-8"),_r(BCe(i.headers),"utf-8"),_r(`\r `,"utf-8"),i.body,_r(`\r --${r}`,"utf-8")]),_r(`--\r \r `,"utf-8")],n=bCe(s);n&&t.headers.set("Content-Length",n),t.body=await IJ(s)}var sp="multipartPolicy",xCe=70,NCe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function SCe(t){if(t.length>xCe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!NCe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}function yE(){return{name:sp,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,o]=n;if(o&&r&&o!==r)throw new Error(`Multipart boundary was specified as ${o} in the header, but got ${r} in the request body`);return r??=o,r?SCe(r):r=ICe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await QCe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}function CE(){return zg()}var BJ=qg({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),aze=BJ.logger;function Xn(t){return BJ.createClientLogger(t)}var Zn=Xn("core-rest-pipeline");function lN(t={}){return jg({logger:Zn.info,...t})}var uN=Kg;function AN(t={}){return Xg(t)}var IE=B(require("node:os"),1),BE=B(require("node:process"),1);function wJ(){return"User-Agent"}async function bJ(t){if(BE.default&&BE.default.versions){let e=`${IE.default.type()} ${IE.default.release()}; ${IE.default.arch()}`,r=BE.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})`)}}var wE="1.22.2";function LCe(t){let e=[];for(let[r,s]of t){let n=s?`${r}/${s}`:r;e.push(n)}return e.join(" ")}function QJ(){return wJ()}async function bE(t){let e=new Map;e.set("core-rest-pipeline",wE),await bJ(e);let r=LCe(e);return t?`${t} ${r}`:r}var xJ=QJ(),NJ="userAgentPolicy";function dN(t={}){let e=bE(t.userAgentPrefix);return{name:NJ,async sendRequest(r,s){return r.headers.has(xJ)||r.headers.set(xJ,await e),s(r)}}}var us=class extends Error{constructor(e){super(e),this.name="AbortError"}};function pN(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,o)=>{function a(){o(new us(n??"The operation was aborted."))}function c(){s?.removeEventListener("abort",l)}function l(){r?.(),c(),a()}if(s?.aborted)return a();try{t(u=>{c(),i(u)},u=>{c(),o(u)})}catch(u){o(u)}s?.addEventListener("abort",l)})}var qCe="The delay was aborted.";function np(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return pN(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:s,abortErrorMsg:n??qCe})}function jo(t){if(Xa(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}`}}function SJ(t){return Xa(t)}function au(){return Ka()}var Ne=tc;var RJ=Symbol("rawContent");function hN(t){return typeof t[RJ]=="function"}function TJ(t){return hN(t)?t[RJ]():t}var QE=sp;function fN(){let t=yE();return{name:QE,sendRequest:async(e,r)=>{if(e.multipartBody)for(let s of e.multipartBody.parts)hN(s.body)&&(s.body=TJ(s.body));return t.sendRequest(e,r)}}}var gN=Zg;function EN(){return eE()}function yN(t={}){return sE(t)}function CN(){return nE()}function Ko(t){return nN(t)}function IN(t,e){return mE(t,e)}var vJ="setClientRequestIdPolicy";function BN(t="x-ms-client-request-id"){return{name:vJ,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}function wN(t){return hE(t)}function bN(t){return fE(t)}var cu={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function PJ(t={}){let e=new QN(t.parentContext);return t.span&&(e=e.setValue(cu.span,t.span)),t.namespace&&(e=e.setValue(cu.namespace,t.namespace)),e}var QN=class t{_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 DJ=B(kJ(),1),NE=DJ.state;function GCe(){return{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function HCe(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(t,e)=>({span:GCe(),tracingContext:PJ({parentContext:e.tracingContext})}),withContext(t,e,...r){return e(...r)}}}function ip(){return NE.instrumenterImplementation||(NE.instrumenterImplementation=HCe()),NE.instrumenterImplementation}function op(t){let{namespace:e,packageName:r,packageVersion:s}=t;function n(l,u,A){let d=ip().startSpan(l,{...A,packageName:r,packageVersion:s,tracingContext:u?.tracingOptions?.tracingContext}),p=d.tracingContext,m=d.span;p.getValue(cu.namespace)||(p=p.setValue(cu.namespace,e)),m.setAttribute("az.namespace",p.getValue(cu.namespace));let f=Object.assign({},u,{tracingOptions:{...u?.tracingOptions,tracingContext:p}});return{span:m,updatedOptions:f}}async function i(l,u,A,d){let{span:p,updatedOptions:m}=n(l,u,d);try{let f=await o(m.tracingOptions.tracingContext,()=>Promise.resolve(A(m,p)));return p.setStatus({status:"success"}),f}catch(f){throw p.setStatus({status:"error",error:f}),f}finally{p.end()}}function o(l,u,...A){return ip().withContext(l,u,...A)}function a(l){return ip().parseTraceparentHeader(l)}function c(l){return ip().createRequestHeaders(l)}return{startSpan:n,withSpan:i,withContext:o,parseTraceparentHeader:a,createRequestHeaders:c}}var Zi=Er;function sc(t){return $g(t)}var _J="tracingPolicy";function xN(t={}){let e=bE(t.userAgentPrefix),r=new En({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),s=zCe();return{name:_J,async sendRequest(n,i){if(!s)return i(n);let o=await e,a={"http.url":r.sanitizeUrl(n.url),"http.method":n.method,"http.user_agent":o,requestId:n.requestId};o&&(a["http.user_agent"]=o);let{span:c,tracingContext:l}=$Ce(s,n,a)??{};if(!c||!l)return i(n);try{let u=await s.withContext(l,i,n);return YCe(c,u),u}catch(u){throw VCe(c,u),u}}}}function zCe(){try{return op({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:wE})}catch(t){Zn.warning(`Error when creating the TracingClient: ${jo(t)}`);return}}function $Ce(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[o,a]of Object.entries(i))e.headers.set(o,a);return{span:s,tracingContext:n.tracingOptions.tracingContext}}catch(s){Zn.warning(`Skipping creating a tracing span due to an error: ${jo(s)}`);return}}function VCe(t,e){try{t.setStatus({status:"error",error:SJ(e)?e:void 0}),sc(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){Zn.warning(`Skipping tracing span processing due to an error: ${jo(r)}`)}}function YCe(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){Zn.warning(`Skipping tracing span processing due to an error: ${jo(r)}`)}}function SE(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)}function n(){e.abort(t.reason),s()}return t.addEventListener("abort",n),{abortSignal:e.signal,cleanup:s}}var JCe="wrapAbortSignalLikePolicy";function LJ(){return{name:JCe,sendRequest:async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:s}=SE(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{s?.()}}}}function NN(t){let e=CE();return Ne&&(t.agent&&e.addPolicy(wN(t.agent)),t.tlsOptions&&e.addPolicy(bN(t.tlsOptions)),e.addPolicy(IN(t.proxyOptions)),e.addPolicy(EN())),e.addPolicy(LJ()),e.addPolicy(CN(),{beforePolicies:[QE]}),e.addPolicy(dN(t.userAgentOptions)),e.addPolicy(BN(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(fN(),{afterPhase:"Deserialize"}),e.addPolicy(yN(t.retryOptions),{phase:"Retry"}),e.addPolicy(xN({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Ne&&e.addPolicy(AN(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(lN(t.loggingOptions),{afterPhase:"Sign"}),e}function ap(){let t=Wg();return{async sendRequest(e){let{abortSignal:r,cleanup:s}=e.abortSignal?SE(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{s?.()}}}}function eo(t){return as(t)}function cp(t){return Hg(t)}var KVe=Xn("core-rest-pipeline retryPolicy");var WCe={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function jCe(t,e,r){async function s(){if(Date.now()t.getToken(c,l),i.retryIntervalInMs,s?.expiresOnTimestamp??Date.now()).then(A=>(r=null,s=A,n=l.tenantId,s)).catch(A=>{throw r=null,s=null,n=void 0,A})),r}return async(c,l)=>{let u=!!l.claims,A=n!==l.tenantId;return u&&(s=null),A||u||o.mustRefresh?a(c,l):(o.shouldRefresh&&a(c,l),s)}}var UJ="bearerTokenAuthenticationPolicy";async function RE(t,e){try{return[await e(t),void 0]}catch(r){if(sc(r)&&r.response)return[r.response,r];throw r}}async function KCe(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}`)}function MJ(t){return t.status===401&&t.headers.has("WWW-Authenticate")}async function OJ(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}function lu(t){let{credential:e,scopes:r,challengeCallbacks:s}=t,n=t.logger||Zn,i={authorizeRequest:s?.authorizeRequest?.bind(s)??KCe,authorizeRequestOnChallenge:s?.authorizeRequestOnChallenge?.bind(s)},o=e?SN(e):()=>Promise.resolve(null);return{name:UJ,async sendRequest(a,c){if(!a.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:a,getAccessToken:o,logger:n});let l,u,A;if([l,u]=await RE(a,c),MJ(l)){let d=FJ(l.headers.get("WWW-Authenticate"));if(d){let p;try{p=atob(d)}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: ${d}`),l}A=await OJ({scopes:Array.isArray(r)?r:[r],response:l,request:a,getAccessToken:o,logger:n},p),A&&([l,u]=await RE(a,c))}else if(i.authorizeRequestOnChallenge&&(A=await i.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:a,response:l,getAccessToken:o,logger:n}),A&&([l,u]=await RE(a,c)),MJ(l)&&(d=FJ(l.headers.get("WWW-Authenticate")),d))){let p;try{p=atob(d)}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: ${d}`),l}A=await OJ({scopes:Array.isArray(r)?r:[r],response:l,request:a,getAccessToken:o,logger:n},p),A&&([l,u]=await RE(a,c))}}if(u)throw u;return l}}}function XCe(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,s=[],n;for(;(n=e.exec(t))!==null;){let i=n[1],o=n[2],a={},c;for(;(c=r.exec(o))!==null;)a[c[1]]=c[2];s.push({scheme:i,params:a})}return s}function FJ(t){return t?XCe(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}function As(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}var RN="DisableKeepAlivePolicy";function qJ(){return{name:RN,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}function GJ(t){return t.getOrderedPolicies().some(e=>e.name===RN)}function TN(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}function vN(t){return Buffer.from(t,"base64")}function eIe(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)}var tIe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function HJ(t){return tIe.test(t)}var rIe=/^[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 zJ(t){return rIe.test(t)}function sIe(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}function PN(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 o=i==="Composite"&&s.type.modelProperties||{},a=Object.keys(o).some(c=>o[c].serializedName==="");if(i==="Sequence"||a){let c=t.parsedBody??[];for(let l of Object.keys(o))o[l].serializedName&&(c[l]=t.parsedBody?.[l]);if(r)for(let l of Object.keys(r))c[l]=r[l];return n&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(o).length===0?null:c}return sIe({body:t.parsedBody,headers:r,hasNullableType:n,shouldWrapBody:eIe(t.parsedBody,i)})}var kN=class{modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,s){let n=(i,o)=>{throw new Error(`"${s}" with value "${r}" should satisfy the constraint "${i}": ${o}.`)};if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:i,ExclusiveMinimum:o,InclusiveMaximum:a,InclusiveMinimum:c,MaxItems:l,MaxLength:u,MinItems:A,MinLength:d,MultipleOf:p,Pattern:m,UniqueItems:f}=e.constraints;if(i!==void 0&&r>=i&&n("ExclusiveMaximum",i),o!==void 0&&r<=o&&n("ExclusiveMinimum",o),a!==void 0&&r>a&&n("InclusiveMaximum",a),c!==void 0&&rl&&n("MaxItems",l),u!==void 0&&r.length>u&&n("MaxLength",u),A!==void 0&&r.lengthE.indexOf(y)!==g)&&n("UniqueItems",f)}}serialize(e,r,s,n={xml:{}}){let i={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??!1,xmlCharKey:n.xml.xmlCharKey??"_"}},o={},a=e.type.name;s||(s=e.serializedName),a.match(/^Sequence$/i)!==null&&(o=[]),e.isConstant&&(r=e.defaultValue);let{required:c,nullable:l}=e;if(c&&l&&r===void 0)throw new Error(`${s} cannot be undefined.`);if(c&&!l&&r==null)throw new Error(`${s} cannot be null or undefined.`);if(!c&&l===!1&&r===null)throw new Error(`${s} cannot be null.`);return r==null||a.match(/^any$/i)!==null?o=r:a.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?o=lIe(a,s,r):a.match(/^Enum$/i)!==null?o=uIe(s,e.type.allowedValues,r):a.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?o=pIe(a,r,s):a.match(/^ByteArray$/i)!==null?o=AIe(s,r):a.match(/^Base64Url$/i)!==null?o=dIe(s,r):a.match(/^Sequence$/i)!==null?o=mIe(this,e,r,s,!!this.isXML,i):a.match(/^Dictionary$/i)!==null?o=hIe(this,e,r,s,!!this.isXML,i):a.match(/^Composite$/i)!==null&&(o=gIe(this,e,r,s,!!this.isXML,i)),o}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 o,a=e.type.name;if(s||(s=e.serializedName),a.match(/^Composite$/i)!==null)o=yIe(this,e,r,s,i);else{if(this.isXML){let c=i.xml.xmlCharKey;r["$"]!==void 0&&r[c]!==void 0&&(r=r[c])}a.match(/^Number$/i)!==null?(o=parseFloat(r),isNaN(o)&&(o=r)):a.match(/^Boolean$/i)!==null?r==="true"?o=!0:r==="false"?o=!1:o=r:a.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null?o=r:a.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null?o=new Date(r):a.match(/^UnixTime$/i)!==null?o=cIe(r):a.match(/^ByteArray$/i)!==null?o=vN(r):a.match(/^Base64Url$/i)!==null?o=oIe(r):a.match(/^Sequence$/i)!==null?o=IIe(this,e,r,s,i):a.match(/^Dictionary$/i)!==null&&(o=CIe(this,e,r,s,i))}return e.isConstant&&(o=e.defaultValue),o}};function ds(t={},e=!1){return new kN(t,e)}function nIe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}function iIe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=TN(t);return nIe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}function oIe(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)}}function DN(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}function aIe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}function cIe(t){if(t)return new Date(t*1e3)}function lIe(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"&&zJ(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}function uIe(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}function AIe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=TN(e)}return e}function dIe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=iIe(e)}return e}function pIe(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=aIe(e)}else if(t.match(/^TimeSpan$/i)!==null&&!HJ(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}function mIe(t,e,r,s,n,i){if(!Array.isArray(r))throw new Error(`${s} must be of type Array.`);let o=e.type.element;if(!o||typeof o!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${s}.`);o.type.name==="Composite"&&o.type.className&&(o=t.modelMappers[o.type.className]??o);let a=[];for(let c=0;cd!==u)&&(o[u]=t.serialize(c,r[u],s+'["'+u+'"]',i))}return o}return r}function JJ(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 a={...e};return a["$"]=i,a}}let o={};return o[s.xml.xmlCharKey]=e,o["$"]=i,o}function EIe(t,e){return["$",e.xml.xmlCharKey].includes(t)}function yIe(t,e,r,s,n){let i=n.xml.xmlCharKey??"_";TE(t,e)&&(e=WJ(t,e,r,"serializedName"));let o=YJ(t,e,s),a={},c=[];for(let u of Object.keys(o)){let A=o[u],d=DN(o[u].serializedName);c.push(d[0]);let{serializedName:p,xmlName:m,xmlElementName:f}=A,y=s;p!==""&&p!==void 0&&(y=s+"."+p);let g=A.headerCollectionPrefix;if(g){let E={};for(let C of Object.keys(r))C.startsWith(g)&&(E[C.substring(g.length)]=t.deserialize(A.type.value,r[C],y,n)),c.push(C);a[u]=E}else if(t.isXML)if(A.xmlIsAttribute&&r["$"])a[u]=t.deserialize(A,r["$"][m],y,n);else if(A.xmlIsMsText)r[i]!==void 0?a[u]=r[i]:typeof r=="string"&&(a[u]=r);else{let E=f||m||p;if(A.xmlIsWrapped){let I=r[m]?.[f]??[];a[u]=t.deserialize(A,I,y,n),c.push(m)}else{let C=r[E];a[u]=t.deserialize(A,C,y,n),c.push(E)}}else{let E,C=r,I=0;for(let F of d){if(!C)break;I++,C=C[F]}C===null&&I{for(let d in o)if(DN(o[d].serializedName)[0]===A)return!1;return!0};for(let A in r)u(A)&&(a[A]=t.deserialize(l,r[A],s+'["'+A+'"]',n))}else if(r&&!n.ignoreUnknownProperties)for(let u of Object.keys(r))a[u]===void 0&&!c.includes(u)&&!EIe(u,n)&&(a[u]=r[u]);return a}function CIe(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 o={};for(let a of Object.keys(r))o[a]=t.deserialize(i,r[a],s,n);return o}return r}function IIe(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 o=[];for(let a=0;a0)if(n.isConstant)i=n.defaultValue;else{let o=XJ(t,s);!o.propertyFound&&r&&(o=XJ(r,s));let a=!1;o.propertyFound||(a=n.required||s[0]==="options"&&s.length===2),i=a?n.defaultValue:o.propertyValue}}else{n.required&&(i={});for(let o in s){let a=n.type.modelProperties[o],c=s[o],l=Zo(t,{parameterPath:c,mapper:a},r);l!==void 0&&(i||(i={}),i[o]=l)}}return i}function XJ(t,e){let r={propertyFound:!1},s=0;for(;s=200&&r.status<300);c.headersMapper&&(i.parsedHeaders=a.serializer.deserialize(c.headersMapper,i.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return i}function RIe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}function TIe(t,e,r,s){let n=200<=t.status&&t.status<300;if(RIe(e)?n:!!r)if(r){if(!r.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let o=r??e.responses.default,a=t.request.streamResponseStatusCodes?.has(t.status)?`Unexpected status code: ${t.status}`:t.bodyAsText,c=new Zi(a,{statusCode:t.status,request:t.request,response:t});if(!o&&!(t.parsedBody?.error?.code&&t.parsedBody?.error?.message))throw c;let l=o?.bodyMapper,u=o?.headersMapper;try{if(t.parsedBody){let A=t.parsedBody,d;if(l){let m=A;if(e.isXML&&l.type.name===ei.Sequence){m=[];let f=l.xmlElementName;typeof A=="object"&&f&&(m=A[f])}d=e.serializer.deserialize(l,m,"error.response.parsedBody",s)}let p=A.error||d||A;c.code=p.code,p.message&&(c.message=p.message),l&&(c.response.parsedBody=d)}t.headers&&u&&(c.response.parsedHeaders=e.serializer.deserialize(u,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(A){c.message=`Error "${A.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:c,shouldReturnResponse:!1}}async function vIe(t,e,r,s,n){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let i=r.bodyAsText,o=r.headers.get("Content-Type")||"",a=o?o.split(";").map(c=>c.toLowerCase()):[];try{if(a.length===0||a.some(c=>t.indexOf(c)!==-1))return r.parsedBody=JSON.parse(i),r;if(a.some(c=>e.indexOf(c)!==-1)){if(!n)throw new Error("Parsing XML not supported.");let c=await n(i,s.xml);return r.parsedBody=c,r}}catch(c){let l=`Error "${c}" occurred while parsing the response body - ${r.bodyAsText}.`,u=c.code||Zi.PARSE_ERROR;throw new Zi(l,{code:u,statusCode:r.status,request:r.request,response:r})}}return r}function t3(t){let e=new Set;for(let r in t.responses){let s=t.responses[r];s.bodyMapper&&s.bodyMapper.type.name===ei.Stream&&e.add(Number(r))}return e}function ti(t){let{parameterPath:e,mapper:r}=t,s;return typeof e=="string"?s=e:Array.isArray(e)?s=e.join("."):s=r.serializedName,s}var r3="serializationPolicy";function PE(t={}){let e=t.stringifyXML;return{name:r3,async sendRequest(r,s){let n=to(r),i=n?.operationSpec,o=n?.operationArguments;return i&&o&&(PIe(r,o,i),kIe(r,o,i,e)),s(r)}}}function PIe(t,e,r){if(r.headerParameters)for(let n of r.headerParameters){let i=Zo(e,n);if(i!=null||n.mapper.required){i=r.serializer.serialize(n.mapper,i,ti(n));let o=n.mapper.headerCollectionPrefix;if(o)for(let a of Object.keys(i))t.headers.set(o+a,i[a]);else t.headers.set(n.mapper.serializedName||ti(n),i)}}let s=e.options?.requestOptions?.customHeaders;if(s)for(let n of Object.keys(s))t.headers.set(n,s[n])}function kIe(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??"_"}},o=i.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=Zo(e,r.requestBody);let a=r.requestBody.mapper,{required:c,serializedName:l,xmlName:u,xmlElementName:A,xmlNamespace:d,xmlNamespacePrefix:p,nullable:m}=a,f=a.type.name;try{if(t.body!==void 0&&t.body!==null||m&&t.body===null||c){let y=ti(r.requestBody);t.body=r.serializer.serialize(a,t.body,y,i);let g=f===ei.Stream;if(r.isXML){let E=p?`xmlns:${p}`:"xmlns",C=DIe(d,E,f,t.body,i);f===ei.Sequence?t.body=s(_Ie(C,A||u||l,E,d),{rootName:u||l,xmlCharKey:o}):g||(t.body=s(C,{rootName:u||l,xmlCharKey:o}))}else{if(f===ei.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;g||(t.body=JSON.stringify(t.body))}}}catch(y){throw new Error(`Error "${y.message}" occurred in serializing the payload - ${JSON.stringify(l,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let a of r.formDataParameters){let c=Zo(e,a);if(c!=null){let l=a.mapper.serializedName||ti(a);t.formData[l]=r.serializer.serialize(a.mapper,c,ti(a),i)}}}}function DIe(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}function _Ie(t,e,r,s){if(Array.isArray(t)||(t=[t]),!r||!s)return{[e]:t};let n={[e]:t};return n["$"]={[r]:s},n}function lp(t={}){let e=NN(t??{});return t.credentialOptions&&e.addPolicy(lu({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(PE(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(LN(t.deserializationOptions),{phase:"Deserialize"}),e}var MN;function s3(){return MN||(MN=ap()),MN}var LIe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function i3(t,e,r,s){let n=MIe(e,r,s),i=!1,o=n3(t,n);if(e.path){let l=n3(e.path,n);e.path==="/{nextLink}"&&l.startsWith("/")&&(l=l.substring(1)),OIe(l)?(o=l,i=!0):o=FIe(o,l)}let{queryParams:a,sequenceParams:c}=UIe(e,r,s);return o=GIe(o,a,c,i),o}function n3(t,e){let r=t;for(let[s,n]of e)r=r.split(s).join(n);return r}function MIe(t,e,r){let s=new Map;if(t.urlParameters?.length)for(let n of t.urlParameters){let i=Zo(e,n,r),o=ti(n);i=t.serializer.serialize(n.mapper,i,o),n.skipEncoding||(i=encodeURIComponent(i)),s.set(`{${n.mapper.serializedName||o}}`,i)}return s}function OIe(t){return t.includes("://")}function FIe(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),o=e.substring(n+1);s=s+i,o&&(r.search=r.search?`${r.search}&${o}`:o)}else s=s+e;return r.pathname=s,r.toString()}function UIe(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 o=Zo(e,i,r);if(o!=null||i.mapper.required){o=t.serializer.serialize(i.mapper,o,ti(i));let a=i.collectionFormat?LIe[i.collectionFormat]:"";if(Array.isArray(o)&&(o=o.map(c=>c??"")),i.collectionFormat==="Multi"&&o.length===0)continue;Array.isArray(o)&&(i.collectionFormat==="SSV"||i.collectionFormat==="TSV")&&(o=o.join(a)),i.skipEncoding||(Array.isArray(o)?o=o.map(c=>encodeURIComponent(c)):o=encodeURIComponent(o)),Array.isArray(o)&&(i.collectionFormat==="CSV"||i.collectionFormat==="Pipes")&&(o=o.join(a)),s.set(i.mapper.serializedName||ti(i),o)}}return{queryParams:s,sequenceParams:n}}function qIe(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),o=e.get(n);o?Array.isArray(o)?o.push(i):e.set(n,[o,i]):e.set(n,i)}return e}function GIe(t,e,r,s=!1){if(e.size===0)return t;let n=new URL(t),i=qIe(n.search);for(let[a,c]of e){let l=i.get(a);if(Array.isArray(l))if(Array.isArray(c)){l.push(...c);let u=new Set(l);i.set(a,Array.from(u))}else l.push(c);else l?(Array.isArray(c)?c.unshift(l):r.has(a)&&i.set(a,[l,c]),s||i.set(a,c)):i.set(a,c)}let o=[];for(let[a,c]of i)if(typeof c=="string")o.push(`${a}=${c}`);else if(Array.isArray(c))for(let l of c)o.push(`${a}=${l}`);else o.push(`${a}=${c}`);return n.search=o.length?`?${o.join("&")}`:"",n.toString()}var ON=Xn("core-client");var up=class{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&ON.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||s3(),this.pipeline=e.pipeline||HIe(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=i3(s,r,e,this),i=cp({url:n});i.method=r.httpMethod;let o=to(i);o.operationSpec=r,o.operationArguments=e;let a=r.contentType||this._requestContentType;a&&r.requestBody&&i.headers.set("Content-Type",a);let c=e.options;if(c){let l=c.requestOptions;l&&(l.timeout&&(i.timeout=l.timeout),l.onUploadProgress&&(i.onUploadProgress=l.onUploadProgress),l.onDownloadProgress&&(i.onDownloadProgress=l.onDownloadProgress),l.shouldDeserialize!==void 0&&(o.shouldDeserialize=l.shouldDeserialize),l.allowInsecureConnection&&(i.allowInsecureConnection=!0)),c.abortSignal&&(i.abortSignal=c.abortSignal),c.tracingOptions&&(i.tracingOptions=c.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),i.streamResponseStatusCodes===void 0&&(i.streamResponseStatusCodes=t3(r));try{let l=await this.sendRequest(i),u=PN(l,r.responses[l.status]);return c?.onResponse&&c.onResponse(l,u),u}catch(l){if(typeof l=="object"&&l?.response){let u=l.response,A=PN(u,r.responses[l.statusCode]||r.responses.default);l.details=A,c?.onResponse&&c.onResponse(u,A,l)}throw l}}};function HIe(t){let e=zIe(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return lp({...t,credentialOptions:r})}function zIe(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")}var o3={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function $Ie(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)}var kE=async t=>{let e=jIe(t.request),r=JIe(t.response);if(r){let s=WIe(r),n=YIe(t,s),i=VIe(s);if(!i)return!1;let o=await t.getAccessToken(n,{...e,tenantId:i});return o?(t.request.headers.set(o3.HeaderConstants.AUTHORIZATION,`${o.tokenType??"Bearer"} ${o.token}`),!0):!1}return!1};function VIe(t){let s=new URL(t.authorization_uri).pathname.split("/")[1];if(s&&$Ie(s))return s}function YIe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=o3.DefaultScope;let s=r.toString();return s==="https://disk.azure.com/.default"&&(s="https://disk.azure.com//.default"),[s]}function JIe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}function WIe(t){return`${t.slice(7).trim()} `.split(" ").filter(n=>n).map(n=>(([i,o])=>({[i]:o}))(n.trim().split("="))).reduce((n,i)=>({...n,...i}),{})}function jIe(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}var a3=Symbol("Original PipelineRequest"),KIe=Symbol.for("@azure/core-client original request");function dp(t,e={}){let s=t[a3],n=eo(t.headers.toJson({preserveCase:!0}));if(s)return s.headers=n,s;{let i=cp({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[KIe]=e.originalRequest),i}}function nc(t,e){let r=e?.originalRequest??t,s={url:t.url,method:t.method,headers:pp(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,o){return i===a3?t:i==="clone"?()=>nc(dp(s,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(n,i,o)},set(n,i,o,a){return i==="keepAlive"&&(t.disableKeepAlive=!o),typeof i=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(i)&&(t[i]=o),Reflect.set(n,i,o,a)}}):s}function pp(t){return new FN(t.toJSON({preserveCase:!0}))}function Ap(t){return t.toLowerCase()}var FN=class t{_headersMap;constructor(e){if(this._headersMap={},e)for(let r in e)this.set(r,e[r])}set(e,r){this._headersMap[Ap(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[Ap(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[Ap(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[Ap(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(nc(e,{createProxy:!0}));return _E(r)}}}var u3=":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",eBe=u3+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",tBe="["+u3+"]["+eBe+"]*",rBe=new RegExp("^"+tBe+"$");function LE(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 o=0;o"u")};function A3(t){return typeof t<"u"}var hp=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],ME=["__proto__","constructor","prototype"];var sBe={allowBooleanAttributes:!1,unpairedTags:[]};function OE(t,e){e=Object.assign({},sBe,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++)c+=t[i];if(c=c.trim(),c[c.length-1]==="/"&&(c=c.substring(0,c.length-1),i--),!ABe(c)){let A;return c.trim().length===0?A="Invalid space after '<'.":A="Tag '"+c+"' is an invalid name.",mt("InvalidTag",A,yr(t,i))}let l=oBe(t,i);if(l===!1)return mt("InvalidAttr","Attributes for '"+c+"' have open quote.",yr(t,i));let u=l.value;if(i=l.index,u[u.length-1]==="/"){let A=i-u.length;u=u.substring(0,u.length-1);let d=h3(u,e);if(d===!0)s=!0;else return mt(d.err.code,d.err.msg,yr(t,A+d.err.line))}else if(a)if(l.tagClosed){if(u.trim().length>0)return mt("InvalidTag","Closing tag '"+c+"' can't have attributes or invalid starting.",yr(t,o));if(r.length===0)return mt("InvalidTag","Closing tag '"+c+"' has not been opened.",yr(t,o));{let A=r.pop();if(c!==A.tagName){let d=yr(t,A.tagStartPos);return mt("InvalidTag","Expected closing tag '"+A.tagName+"' (opened in line "+d.line+", col "+d.col+") instead of closing tag '"+c+"'.",yr(t,o))}r.length==0&&(n=!0)}}else return mt("InvalidTag","Closing tag '"+c+"' doesn't have proper closing.",yr(t,i));else{let A=h3(u,e);if(A!==!0)return mt(A.err.code,A.err.msg,yr(t,i-u.length+A.err.line));if(n===!0)return mt("InvalidXml","Multiple possible root nodes found.",yr(t,i));e.unpairedTags.indexOf(c)!==-1||r.push({tagName:c,tagStartPos:o}),s=!0}for(i++;i0)return mt("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return mt("InvalidXml","Start tag expected.",1);return!0}function d3(t){return t===" "||t===" "||t===` `||t==="\r"}function p3(t,e){let r=e;for(;e5&&s==="xml")return mt("InvalidXml","XML declaration allowed only at the start of the document.",yr(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}function m3(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}var nBe='"',iBe="'";function oBe(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}}var aBe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function h3(t,e){let r=LE(t,aBe),s={};for(let n=0;n",GT:">",quot:'"',QUOT:'"',apos:"'",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",lsquor:"\u201A",rsquor:"\u2019",ldquor:"\u201E",bdquo:"\u201E",comma:",",period:".",colon:":",semi:";",excl:"!",quest:"?",num:"#",dollar:"$",percent:"%",amp:"&",ast:"*",commat:"@",lowbar:"_",verbar:"|",vert:"|",sol:"/",bsol:"\\",lbrace:"{",rbrace:"}",lbrack:"[",rbrack:"]",lpar:"(",rpar:")",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",COPY:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",REG:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",half:"\xBD",frac34:"\xBE",iquest:"\xBF",times:"\xD7",div:"\xF7",divide:"\xF7"},g3={Agrave:"\xC0",agrave:"\xE0",Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",Aring:"\xC5",aring:"\xE5",AElig:"\xC6",aelig:"\xE6",Ccedil:"\xC7",ccedil:"\xE7",Egrave:"\xC8",egrave:"\xE8",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Euml:"\xCB",euml:"\xEB",Igrave:"\xCC",igrave:"\xEC",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",Iuml:"\xCF",iuml:"\xEF",ETH:"\xD0",eth:"\xF0",Ntilde:"\xD1",ntilde:"\xF1",Ograve:"\xD2",ograve:"\xF2",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",Oslash:"\xD8",oslash:"\xF8",Ugrave:"\xD9",ugrave:"\xF9",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",THORN:"\xDE",thorn:"\xFE",szlig:"\xDF",yuml:"\xFF",Yuml:"\u0178"},E3={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"},y3={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"},C3={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"},I3={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:"<"},B3={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"},w3={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"},b3={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"},Q3={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"},FE={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"},x3={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"},N3={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"},dBe={...f3,...g3,...E3,...y3,...C3,...I3,...B3,...w3,...b3,...Q3,...FE,...x3,...N3},gp={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},HN={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 pBe=new Set("!?\\\\/[]$%{}^&*()<>|+");function S3(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(pBe.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}function zN(...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}var ic="external",UE="base",$N="all";function mBe(t){return!t||t===ic?new Set([ic]):t===$N?new Set([$N]):t===UE?new Set([UE]):Array.isArray(t)?new Set(t):new Set([ic])}var Mr=Object.freeze({allow:0,leave:1,remove:2,throw:3}),hBe=new Set([9,10,13]);function fBe(t){if(!t)return{xmlVersion:1,onLevel:Mr.allow,nullLevel:Mr.remove};let e=t.xmlVersion===1.1?1.1:1,r=Mr[t.onNCR]??Mr.allow,s=Mr[t.nullNCR]??Mr.remove,n=Math.max(s,Mr.remove);return{xmlVersion:e,onLevel:r,nullLevel:n}}var du=class{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=mBe(this._limit.applyLimitsTo??ic),this._numericAllowed=e.numericAllowed??!0,this._baseMap=zN(gp,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=fBe(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))S3(r);this._externalMap=zN(e)}addExternalEntity(e,r){S3(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=zN(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,o=0,a=this._maxTotalExpansions>0,c=this._maxExpandedLength>0,l=a||c;for(;o=n||e.charCodeAt(A)!==59){o++;continue}let d=e.slice(o+1,A);if(d.length===0){o++;continue}let p,m;if(this._removeSet.has(d))p="",m===void 0&&(m=ic);else if(this._leaveSet.has(d)){o++;continue}else if(d.charCodeAt(0)===35){let f=this._resolveNCR(d);if(f===void 0){o++;continue}p=f,m=UE}else{let f=this._resolveName(d);p=f?.value,m=f?.tier}if(p===void 0){o++;continue}if(o>i&&s.push(e.slice(i,o)),s.push(p),i=A+1,o=i,l&&this._tierCounts(m)){if(a&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(c){let f=p.length-(d.length+2);if(f>0&&(this._expandedLength+=f,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!hBe.has(e)?Mr.remove:-1}_applyNCRAction(e,r,s){switch(e){case Mr.allow:return String.fromCodePoint(s);case Mr.remove:return"";case Mr.leave:return;case Mr.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&&nhp.includes(t)?"__"+t:t,gBe={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:function(t,e){return e},attributeValueProcessor:function(t,e){return e},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,r){return t},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:R3};function EBe(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(hp.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(ME.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}function T3(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"}:T3(!0)}var v3=function(t){let e=Object.assign({},gBe,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&&EBe(s,n);return e.onDangerousProperty===null&&(e.onDangerousProperty=R3),e.processEntities=T3(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};var qE;typeof Symbol!="function"?qE="@@xmlMetadata":qE=Symbol("XML Node Metadata");var Or=class{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][qE]={startIndex:r})}static getMetaDataSymbol(){return qE}};var yp=class{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,o=!1,a=!1,c="";for(;r=this.options.maxEntityCount)throw new Error(`Entity count (${n+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);s[l]=u,n++}}else if(o&&oc(e,"!ELEMENT",r)){r+=8;let{index:l}=this.readElementExp(e,r+1);r=l}else if(o&&oc(e,"!ATTLIST",r))r+=8;else if(o&&oc(e,"!NOTATION",r)){r+=9;let{index:l}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=l}else if(oc(e,"!--",r))a=!0;else throw new Error("Invalid DOCTYPE");i++,c=""}else if(e[r]===">"){if(a?e[r-1]==="-"&&e[r-2]==="-"&&(a=!1,i--):i--,i===0)break}else e[r]==="["?o=!0:c+=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=Fr(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=Fr(e,r);let s=r;for(;r{for(;e1||i.length===1&&!a))return t;{let c=Number(r),l=String(c);if(c===0)return c;if(l.search(/[eE]/)!==-1)return e.eNotation?c:t;if(r.indexOf(".")!==-1)return l==="0"||l===o||l===`${n}${o}`?c:t;let u=i?o:r;return i?u===l||n+u===l?c:t:u===l||u===n+l?c:t}}else return t}}else return xBe(t,Number(r),e)}var BBe=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function wBe(t,e,r){if(!r.eNotation)return t;let s=e.match(BBe);if(s){let n=s[1]||"",i=s[3].indexOf("e")===-1?"E":"e",o=s[2],a=n?t[o.length+1]===i:t[o.length]===i;return o.length>1&&a?t:o.length===1&&(s[3].startsWith(`.${i}`)||s[3][0]===i)?Number(e):o.length>0?r.leadingZeros&&!a?(e=(s[1]||"")+s[3],Number(e)):t:Number(e)}else return t}function bBe(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}function QBe(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")}function xBe(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}}function YN(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}var ps=class{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)}},ri=class{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new JN(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],o=s?`${s}:${e}`:e,a=i.get(o)||0,c=0;for(let u of i.values())c+=u;i.set(o,a+1);let l={tag:e,position:c,counter:a};s!=null&&(l.namespace=s),r!=null&&(l.values=r),this.path.push(l)}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(o=>o.namespace?`${o.namespace}:${o.tag}`:o.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],o=!1;for(let a=r;a>=0;a--)if(this._matchSegment(i,this.path[a],a===this.path.length-1)){r=a-1,s--,o=!0;break}if(!o)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 NBe(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}function SBe(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}}var Cp=class{constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=kBe,this.parseTextData=RBe,this.resolveNameSpace=TBe,this.buildAttributesMap=PBe,this.isItStopNode=MBe,this.replaceEntitiesValue=_Be,this.readStopNodeData=UBe,this.saveTextToParentTag=LBe,this.addChild=DBe,this.ignoreAttributesFn=YN(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let r={...gp};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?r=this.options.htmlEntities:this.options.htmlEntities===!0&&(r={...HN,...FE}),this.entityDecoder=new du({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 ri,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new pu;let s=this.options.stopNodes;if(s&&s.length>0){for(let n=0;n0)){o||(t=this.replaceEntitiesValue(t,e,r));let c=a.jPath?r.toString():r,l=a.tagValueProcessor(e,t,c,n,i);return l==null?t:typeof l!=typeof t||l!==t?l:a.trimValues||t.trim()===t?KN(t,a.parseTagValue,a.numberParseOptions):t}}function TBe(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}var vBe=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function PBe(t,e,r,s=!1){let n=this.options;if(s===!0||n.ignoreAttributes!==!0&&typeof t=="string"){let i=LE(t,vBe),o=i.length,a={},c=new Array(o),l=!1,u={};for(let p=0;p",a,"Closing Tag is not closed."),A=t.substring(a+2,u).trim();if(n.removeNSPrefix){let p=A.indexOf(":");p!==-1&&(A=A.substr(p+1))}A=WN(n.transformTagName,A,"",n).tagName,r&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher));let d=this.matcher.getCurrentTag();if(A&&n.unpairedTagsSet.has(A))throw new Error(`Unpaired tag can not be used as closing tag: `);d&&n.unpairedTagsSet.has(d)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),s="",a=u}else if(l===63){let u=jN(t,a,!1,"?>");if(!u)throw new Error("Pi Tag is not closed.");s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let A=this.buildAttributesMap(u.tagExp,this.matcher,u.tagName,!0);if(A){let d=A[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(d)||1)}if(!(n.ignoreDeclaration&&u.tagName==="?xml"||n.ignorePiTags)){let d=new Or(u.tagName);d.add(n.textNodeName,""),u.tagName!==u.tagExp&&u.attrExpPresent&&n.ignoreAttributes!==!0&&(d[":@"]=A),this.addChild(r,d,this.readonlyMatcher,a)}a=u.closeIndex+1}else if(l===33&&t.charCodeAt(a+2)===45&&t.charCodeAt(a+3)===45){let u=mu(t,"-->",a+4,"Comment is not closed.");if(n.commentPropName){let A=t.substring(a+4,u-2);s=this.saveTextToParentTag(s,r,this.readonlyMatcher),r.add(n.commentPropName,[{[n.textNodeName]:A}])}a=u}else if(l===33&&t.charCodeAt(a+2)===68){let u=i.readDocType(t,a);this.entityDecoder.addInputEntities(u.entities),a=u.i}else if(l===33&&t.charCodeAt(a+2)===91){let u=mu(t,"]]>",a,"CDATA is not closed.")-2,A=t.substring(a+9,u);s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let d=this.parseTextData(A,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);d==null&&(d=""),n.cdataPropName?r.add(n.cdataPropName,[{[n.textNodeName]:A}]):r.add(n.textNodeName,d),a=u+2}else{let u=jN(t,a,n.removeNSPrefix);if(!u){let P=t.substring(Math.max(0,a-50),Math.min(o,a+50));throw new Error(`readTagExp returned undefined at position ${a}. Context: "${P}"`)}let A=u.tagName,d=u.rawTagName,p=u.tagExp,m=u.attrExpPresent,f=u.closeIndex;if({tagName:A,tagExp:p}=WN(n.transformTagName,A,p,n),n.strictReservedNames&&(A===n.commentPropName||A===n.cdataPropName||A===n.textNodeName||A===n.attributesGroupName))throw new Error(`Invalid tag name: ${A}`);r&&s&&r.tagname!=="!xml"&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher,!1));let y=r;y&&n.unpairedTagsSet.has(y.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let g=!1;p.length>0&&p.lastIndexOf("/")===p.length-1&&(g=!0,A[A.length-1]==="/"?(A=A.substr(0,A.length-1),p=A):p=p.substr(0,p.length-1),m=A!==p);let E=null,C={},I;I=SBe(d),A!==e.tagname&&this.matcher.push(A,{},I),A!==p&&m&&(E=this.buildAttributesMap(p,this.matcher,A),E&&(C=NBe(E,n))),A!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let Q=a;if(this.isCurrentNodeStopNode){let P="";if(g)a=u.closeIndex;else if(n.unpairedTagsSet.has(A))a=u.closeIndex;else{let pe=this.readStopNodeData(t,d,f+1);if(!pe)throw new Error(`Unexpected end of ${d}`);a=pe.i,P=pe.tagContent}let F=new Or(A);E&&(F[":@"]=E),F.add(n.textNodeName,P),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,F,this.readonlyMatcher,Q)}else{if(g){({tagName:A,tagExp:p}=WN(n.transformTagName,A,p,n));let P=new Or(A);E&&(P[":@"]=E),this.addChild(r,P,this.readonlyMatcher,Q),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(A)){let P=new Or(A);E&&(P[":@"]=E),this.addChild(r,P,this.readonlyMatcher,Q),this.matcher.pop(),this.isCurrentNodeStopNode=!1,a=u.closeIndex;continue}else{let P=new Or(A);if(this.tagsNodeStack.length>n.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),E&&(P[":@"]=E),this.addChild(r,P,this.readonlyMatcher,Q),r=P}s="",a=f}}}else s+=t[a];return e.child};function DBe(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))}function _Be(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)}function LBe(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}function MBe(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}function OBe(t,e,r=">"){let s=0,n=[],i=t.length,o=r.charCodeAt(0),a=r.length>1?r.charCodeAt(1):-1;for(let c=e;c",r,`${e} is not closed`);if(t.substring(r+2,a).trim()===e&&(n--,n===0))return{tagContent:t.substring(s,r),i:a};r=a}else if(o===63)r=mu(t,"?>",r+1,"StopNode is not closed.");else if(o===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=mu(t,"-->",r+3,"StopNode is not closed.");else if(o===33&&t.charCodeAt(r+2)===91)r=mu(t,"]]>",r,"StopNode is not closed.")-2;else{let a=jN(t,r,">");a&&((a&&a.tagName)===e&&a.tagExp[a.tagExp.length-1]!=="/"&&n++,r=a.closeIndex)}}}function KN(t,e,r){if(e&&typeof t=="string"){let s=t.trim();return s==="true"?!0:s==="false"?!1:VN(t,r)}else return A3(t)?t:""}function WN(t,e,r,s){if(t){let n=t(e);r===e&&(r=n),e=n}return e=P3(e,s),{tagName:e,tagExp:r}}function P3(t,e){if(ME.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return hp.includes(t)?e.onDangerousProperty(t):t}var XN=Or.getMetaDataSymbol();function qBe(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}function ZN(t,e,r,s){return k3(t,e,r,s)}function k3(t,e,r,s){let n,i={};for(let o=0;o0&&(i[e.textNodeName]=n):n!==void 0&&(i[e.textNodeName]=n),i}function GBe(t){let e=Object.keys(t);for(let r=0;r/g,"]]]]>")}function ea(t){return String(t).replace(/"/g,""").replace(/'/g,"'")}var D3=":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",$Be=D3+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",_3=":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}",VBe=_3+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",L3=(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)}},YBe=L3(D3,$Be),JBe=L3(_3,VBe,"u"),WBe=(t="1.0")=>t==="1.1"?JBe:YBe;var zE=(t,{xmlVersion:e="1.0"}={})=>WBe(e).qName.test(t);var jBe=` `;function KBe(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(rS(r)==="?xml"){let n=r[":@"];if(n){let i=e.attributeNamePrefix+"version";if(n[i])return n[i]}}return"1.0"}function O3(t,e,r,s,n){return!r.sanitizeName||zE(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}function tS(t,e){let r="";e.format&&(r=jBe);let s=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let o=0;oe.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let c=t.toString();return c=eS(c,e),c}return""}for(let c=0;c`,a=!1,s.pop();continue}else if(d===e.commentPropName){let C=l[u][0][e.textNodeName],I=GE(C);o+=r+``,a=!0,s.pop();continue}else if(d[0]==="?"){let C=M3(l[":@"],e,m,s,i);o+=(d==="?xml"?"":r)+`<${d}${C}?>`,a=!0,s.pop();continue}let f=r;f!==""&&(f+=e.indentBy);let y=M3(l[":@"],e,m,s,i),g=r+`<${d}${y}`,E;m?E=U3(l[u],e):E=F3(l[u],e,f,s,n,i),e.unpairedTags.indexOf(d)!==-1?e.suppressUnpairedNode?o+=g+">":o+=g+"/>":(!E||E.length===0)&&e.suppressEmptyNode?o+=g+"/>":E&&E.endsWith(">")?o+=g+`>${E}${r}`:(o+=g+">",E&&r!==""&&(E.includes("/>")||E.includes("`),a=!0,s.pop()}return o}function XBe(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]=ea(t[n]),s=!0}return s?r:null}function U3(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let s=0;s`:r+=`<${i}${o}>${a}`}}}return r}function ZBe(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)}="${ea(n)}"`}return r}function rS(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}var twe={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},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 Ur(t){if(this.options=Object.assign({},twe,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="")}function rwe(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"}function nS(t,e,r,s,n){return!r.sanitizeName||zE(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}Ur.prototype.build=function(t){if(this.options.preserveOrder)return tS(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new ri,r=rwe(t,this.options);return this.j2x(t,0,e,r).val}};Ur.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 o=this.options.jPath?r.toString():r,a=this.checkStopNode(r);for(let c in t){if(!Object.prototype.hasOwnProperty.call(t,c))continue;let u=c===this.options.textNodeName||c===this.options.cdataPropName||c===this.options.commentPropName||this.options.attributesGroupName&&c===this.options.attributesGroupName||this.isAttribute(c)||c[0]==="?"?c:nS(c,!1,this.options,r,s);if(typeof t[c]>"u")this.isAttribute(c)&&(i+="");else if(t[c]===null)this.isAttribute(c)||u===this.options.cdataPropName||u===this.options.commentPropName?i+="":u[0]==="?"?i+=this.indentate(e)+"<"+u+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+u+"/"+this.tagEndChar;else if(t[c]instanceof Date)i+=this.buildTextValNode(t[c],u,"",e,r);else if(typeof t[c]!="object"){let A=this.isAttribute(c);if(A&&!this.ignoreAttributesFn(A,o)){let d=nS(A,!0,this.options,r,s);n+=this.buildAttrPairStr(d,""+t[c],a)}else if(!A)if(c===this.options.textNodeName){let d=this.options.tagValueProcessor(c,""+t[c]);i+=this.replaceEntitiesValue(d)}else{r.push(u);let d=this.checkStopNode(r);if(r.pop(),d){let p=""+t[c];p===""?i+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:i+=this.indentate(e)+"<"+u+">"+p+""u"))if(f===null)u[0]==="?"?i+=this.indentate(e)+"<"+u+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+u+"/"+this.tagEndChar;else if(typeof f=="object")if(this.options.oneListGroup){r.push(u);let y=this.j2x(f,e+1,r,s);r.pop(),d+=y.val,this.options.attributesGroupName&&f.hasOwnProperty(this.options.attributesGroupName)&&(p+=y.attrStr)}else d+=this.processTextOrObjNode(f,u,e,r,s);else if(this.options.oneListGroup){let y=this.options.tagValueProcessor(u,f);y=this.replaceEntitiesValue(y),d+=y}else{r.push(u);let y=this.checkStopNode(r);if(r.pop(),y){let g=""+f;g===""?d+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:d+=this.indentate(e)+"<"+u+">"+g+"${n}`;else if(typeof n=="object"&&n!==null){let i=this.buildRawContent(n),o=this.buildAttributesForStopNode(n);i===""?e+=`<${r}${o}/>`:e+=`<${r}${o}>${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};Ur.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};Ur.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}};Ur.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=GE(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,"")}async function oS(t,e={}){if(!t)throw new Error("Document is empty");let r=q3.validate(t);if(r!==!0)throw r;let n=new hu(awe(e)).parse(t);if(n["?xml"]&&delete n["?xml"],!e.includeRoot)for(let i of Object.keys(n)){let o=n[i];return typeof o=="object"?Object.assign({},o):o}return n}var VE=Xn("storage-blob");var Y3=require("events");var $3=require("node:stream"),YE=class extends $3.Readable{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 a=this.byteOffsetInCurrentBuffer+e-s;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,a)),this.pushedBytesLength+=e-s,this.byteOffsetInCurrentBuffer=a,s=e;break}else{let a=this.byteOffsetInCurrentBuffer+o;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,a)),o===i?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=a,this.pushedBytesLength+=o,s+=o}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};var V3=B(require("node:buffer"),1),JE=V3.default.constants.MAX_LENGTH,WE=class{buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,s){this.capacity=e,this._size=0;let n=Math.ceil(e/JE);for(let i=0;i0&&(e[0]=e[0].slice(o))}getReadableStream(){return new YE(this.buffers,this.size)}};var jE=class{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new Y3.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,s,n,i,o){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=o}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 WE(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 aS;function cS(){return aS||(aS=ap()),aS}var si=class{_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 ro={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}},te={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 ta(t,e,r){let s=new URL(t),n=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,o=s.search===""?"?":s.search,a=[];for(let c of o.slice(1).split("&"))if(c){let[l]=c.split("=",2);l!==n&&a.push(c)}return i&&a.push(`${n}=${i}`),s.search=a.length?`?${a.join("&")}`:"",s.toString()}function KE(t,e){let r=new URL(t);return r.hostname=e,r.toString()}function XE(t){try{return new URL(t).pathname}catch{return}}function ZE(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("="),o=n.lastIndexOf("=");return i>0&&i===o&&o{let i,o=()=>{i!==void 0&&clearTimeout(i),n(r)};i=setTimeout(()=>{e!==void 0&&e.removeEventListener("abort",o),s()},t),e!==void 0&&e.addEventListener("abort",o)})}var Ip=class extends si{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=ta(e.url,ro.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(te.COOKIE),e.headers.remove(te.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};var Bp=class{create(e,r){return new Ip(e,r)}};var ac=class extends si{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var wp=class extends ac{constructor(e,r){super(e,r)}};var cc=class{create(e,r){throw new Error("Method should be implemented in children classes.")}};var Ye=class extends cc{create(e,r){return new wp(e,r)}};var J3=require("node:crypto");var cwe=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]),lwe=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]),uwe=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 ty(t,e){return Awe(t,e)?-1:1}function Awe(t,e){let r=[cwe,lwe,uwe],s=0,n=0,i=0;for(;si;let o=n0&&e.headers.set(te.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,te.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,te.CONTENT_ENCODING),this.getHeaderValueToSign(e,te.CONTENT_LENGTH),this.getHeaderValueToSign(e,te.CONTENT_MD5),this.getHeaderValueToSign(e,te.CONTENT_TYPE),this.getHeaderValueToSign(e,te.DATE),this.getHeaderValueToSign(e,te.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,te.IF_MATCH),this.getHeaderValueToSign(e,te.IF_NONE_MATCH),this.getHeaderValueToSign(e,te.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,te.RANGE)].join(` `)+` `+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),s=this.factory.computeHMACSHA256(r);return e.headers.set(te.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${s}`),e}getHeaderValueToSign(e,r){let s=e.headers.get(r);return!s||r===te.CONTENT_LENGTH&&s==="0"?"":s}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(n=>n.name.toLowerCase().startsWith(te.PREFIX_FOR_STORAGE));r.sort((n,i)=>ty(n.name.toLowerCase(),i.name.toLowerCase())),r=r.filter((n,i,o)=>!(i>0&&n.name.toLowerCase()===o[i-1].name.toLowerCase()));let s="";return r.forEach(n=>{s+=`${n.name.toLowerCase().trimRight()}:${n.value.trimLeft()} `}),s}getCanonicalizedResourceString(e){let r=XE(e.url)||"/",s="";s+=`/${this.factory.accountName}${r}`;let n=ZE(e.url),i={};if(n){let o=[];for(let a in n)if(Object.prototype.hasOwnProperty.call(n,a)){let c=a.toLowerCase();i[c]=n[a],o.push(c)}o.sort();for(let a of o)s+=` ${a}:${decodeURIComponent(i[a])}`}return s}};var tt=class extends cc{accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new bp(e,r,this)}computeHMACSHA256(e){return(0,J3.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var Tt=Xn("storage-common");var Fs;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(Fs||(Fs={}));var ra={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Fs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},dwe=new us("The operation was aborted."),Qp=class extends si{retryOptions;constructor(e,r,s=ra){super(e,r),this.retryOptions={retryPolicyType:s.retryPolicyType?s.retryPolicyType:ra.retryPolicyType,maxTries:s.maxTries&&s.maxTries>=1?Math.floor(s.maxTries):ra.maxTries,tryTimeoutInMs:s.tryTimeoutInMs&&s.tryTimeoutInMs>=0?s.tryTimeoutInMs:ra.tryTimeoutInMs,retryDelayInMs:s.retryDelayInMs&&s.retryDelayInMs>=0?Math.min(s.retryDelayInMs,s.maxRetryDelayInMs?s.maxRetryDelayInMs:ra.maxRetryDelayInMs):ra.retryDelayInMs,maxRetryDelayInMs:s.maxRetryDelayInMs&&s.maxRetryDelayInMs>=0?s.maxRetryDelayInMs:ra.maxRetryDelayInMs,secondaryHost:s.secondaryHost?s.secondaryHost:ra.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=KE(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=ta(n.url,ro.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let o;try{if(Tt.info(`RetryPolicy: =====> Try=${s} ${i?"Primary":"Secondary"}`),o=await this._nextPolicy.sendRequest(n),!this.shouldRetry(i,s,o))return o;r=r||!i&&o.status===404}catch(a){if(Tt.error(`RetryPolicy: Caught error, message: ${a.message}, code: ${a.code}`),!this.shouldRetry(i,s,o,a))throw a}return await this.delay(i,s,e.abortSignal),this.attemptSendRequest(e,r,++s)}shouldRetry(e,r,s,n){if(r>=this.retryOptions.maxTries)return Tt.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 o of i)if(n.name.toUpperCase().includes(o)||n.message.toUpperCase().includes(o)||n.code&&n.code.toString().toUpperCase()===o)return Tt.info(`RetryPolicy: Network error ${o} found, will retry.`),!0}if(s||n){let o=s?s.status:n?n.statusCode:0;if(!e&&o===404)return Tt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(o===503||o===500)return Tt.info(`RetryPolicy: Will retry for status code ${o}.`),!0}if(s&&s?.status>=400){let o=s.headers.get(te.X_MS_CopySourceErrorCode);if(o!==void 0)switch(o){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag')?(Tt.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 Fs.EXPONENTIAL:n=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Fs.FIXED:n=this.retryOptions.retryDelayInMs;break}else n=Math.random()*1e3;return Tt.info(`RetryPolicy: Delay for ${n}ms`),ey(n,s,dwe)}};var xp=class{retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new Qp(e,r,this.retryOptions)}};var pwe="storageBrowserPolicy";function W3(){return{name:pwe,async sendRequest(t,e){return Ne||((t.method==="GET"||t.method==="HEAD")&&(t.url=ta(t.url,ro.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(te.COOKIE),t.headers.delete(te.CONTENT_LENGTH)),e(t)}}}var mwe="StorageCorrectContentLengthPolicy";function j3(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(te.CONTENT_LENGTH,Buffer.byteLength(e.body))}return{name:mwe,async sendRequest(e,r){return t(e),r(e)}}}var hwe="storageRetryPolicy",fu={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Fs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},fwe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],gwe=new us("The operation was aborted.");function K3(t={}){let e=t.retryPolicyType??fu.retryPolicyType,r=t.maxTries??fu.maxTries,s=t.retryDelayInMs??fu.retryDelayInMs,n=t.maxRetryDelayInMs??fu.maxRetryDelayInMs,i=t.secondaryHost??fu.secondaryHost,o=t.tryTimeoutInMs??fu.tryTimeoutInMs;function a({isPrimaryRetry:l,attempt:u,response:A,error:d}){if(u>=r)return Tt.info(`RetryPolicy: Attempt(s) ${u} >= maxTries ${r}, no further try.`),!1;if(d){for(let p of fwe)if(d.name.toUpperCase().includes(p)||d.message.toUpperCase().includes(p)||d.code&&d.code.toString().toUpperCase()===p)return Tt.info(`RetryPolicy: Network error ${p} found, will retry.`),!0;if(d?.code==="PARSE_ERROR"&&d?.message.startsWith('Error "Error: Unclosed root tag'))return Tt.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(A||d){let p=A?.status??d?.statusCode??0;if(!l&&p===404)return Tt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(p===503||p===500)return Tt.info(`RetryPolicy: Will retry for status code ${p}.`),!0}if(A&&A?.status>=400){let p=A.headers.get(te.X_MS_CopySourceErrorCode);if(p!==void 0)switch(p){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}function c(l,u){let A=0;if(l)switch(e){case Fs.EXPONENTIAL:A=Math.min((Math.pow(2,u-1)-1)*s,n);break;case Fs.FIXED:A=s;break}else A=Math.random()*1e3;return Tt.info(`RetryPolicy: Delay for ${A}ms`),A}return{name:hwe,async sendRequest(l,u){o&&(l.url=ta(l.url,ro.Parameters.TIMEOUT,String(Math.floor(o/1e3))));let A=l.url,d=i?KE(l.url,i):void 0,p=!1,m=1,f=!0,y,g;for(;f;){let E=p||!d||!["GET","HEAD","OPTIONS"].includes(l.method)||m%2===1;l.url=E?A:d,y=void 0,g=void 0;try{Tt.info(`RetryPolicy: =====> Try=${m} ${E?"Primary":"Secondary"}`),y=await u(l),p=p||!E&&y.status===404}catch(C){if(sc(C))Tt.error(`RetryPolicy: Caught error, message: ${C.message}, code: ${C.code}`),g=C;else throw Tt.error(`RetryPolicy: Caught error, message: ${jo(C)}`),C}f=a({isPrimaryRetry:E,attempt:m,response:y,error:g}),f&&await ey(c(E,m),l.abortSignal,gwe),m++}if(y)return y;throw g??new Zi("RetryPolicy failed without known error.")}}}var X3=require("node:crypto");var Ewe="storageSharedKeyCredentialPolicy";function lS(t){function e(i){i.headers.set(te.X_MS_DATE,new Date().toUTCString()),i.body&&(typeof i.body=="string"||Buffer.isBuffer(i.body))&&i.body.length>0&&i.headers.set(te.CONTENT_LENGTH,Buffer.byteLength(i.body));let o=[i.method.toUpperCase(),r(i,te.CONTENT_LANGUAGE),r(i,te.CONTENT_ENCODING),r(i,te.CONTENT_LENGTH),r(i,te.CONTENT_MD5),r(i,te.CONTENT_TYPE),r(i,te.DATE),r(i,te.IF_MODIFIED_SINCE),r(i,te.IF_MATCH),r(i,te.IF_NONE_MATCH),r(i,te.IF_UNMODIFIED_SINCE),r(i,te.RANGE)].join(` `)+` `+s(i)+n(i),a=(0,X3.createHmac)("sha256",t.accountKey).update(o,"utf8").digest("base64");i.headers.set(te.AUTHORIZATION,`SharedKey ${t.accountName}:${a}`)}function r(i,o){let a=i.headers.get(o);return!a||o===te.CONTENT_LENGTH&&a==="0"?"":a}function s(i){let o=[];for(let[c,l]of i.headers)c.toLowerCase().startsWith(te.PREFIX_FOR_STORAGE)&&o.push({name:c,value:l});o.sort((c,l)=>ty(c.name.toLowerCase(),l.name.toLowerCase())),o=o.filter((c,l,u)=>!(l>0&&c.name.toLowerCase()===u[l-1].name.toLowerCase()));let a="";return o.forEach(c=>{a+=`${c.name.toLowerCase().trimRight()}:${c.value.trimLeft()} `}),a}function n(i){let o=XE(i.url)||"/",a="";a+=`/${t.accountName}${o}`;let c=ZE(i.url),l={};if(c){let u=[];for(let A in c)if(Object.prototype.hasOwnProperty.call(c,A)){let d=A.toLowerCase();l[d]=c[A],u.push(d)}u.sort();for(let A of u)a+=` ${A}:${decodeURIComponent(l[A])}`}return a}return{name:Ewe,async sendRequest(i,o){return e(i),o(i)}}}var ywe="storageRequestFailureDetailsParserPolicy";function Z3(){return{name:ywe,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}}}}var e4=require("node:crypto"),ry=class{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 sy="12.31.0",ny="2026-02-06";var iy="https://storage.azure.com/.default",so={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var yn="",uS="*",Cwe=1*1024*1024;var Iwe=4*Cwe;var t4="AES256",r4="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",s4=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],n4=["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"],i4="BlobUsesCustomerSpecifiedEncryption",o4="BlobDoesNotUseCustomerSpecifiedEncryption",a4=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function no(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}var Np=class{factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function ht(t,e={}){t||(t=new Ye);let r=new Np([],e);return r._credential=t,r}function Bwe(t){let e=[wwe,c4,bwe,Qwe,xwe,Nwe,Rwe];if(t.factories.length){let r=t.factories.filter(s=>!e.some(n=>n(s)));if(r.length){let s=r.some(n=>Swe(n));return{wrappedPolicies:qN(r),afterRetry:s}}}}function AS(t){let{httpClient:e,...r}=t.options,s=t._coreHttpClient;s||(s=e?GN(e):cS(),t._coreHttpClient=s);let n=t._corePipeline;if(!n){let i=`azsdk-js-azure-storage-blob/${sy}`,o=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;n=lp({...r,loggingOptions:{additionalAllowedHeaderNames:s4,additionalAllowedQueryParameters:n4,logger:VE.info},userAgentOptions:{userAgentPrefix:o},serializationOptions:{stringifyXML:$E,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:oS,serializerOptions:{xml:{xmlCharKey:"#"}}}}),n.removePolicy({phase:"Retry"}),n.removePolicy({name:gN}),n.addPolicy(j3()),n.addPolicy(K3(r.retryOptions),{phase:"Retry"}),n.addPolicy(Z3()),n.addPolicy(W3());let a=Bwe(t);a&&n.addPolicy(a.wrappedPolicies,a.afterRetry?{afterPhase:"Retry"}:void 0);let c=dS(t);As(c)?n.addPolicy(lu({credential:c,scopes:r.audience??iy,challengeCallbacks:{authorizeRequestOnChallenge:kE}}),{phase:"Sign"}):c instanceof tt&&n.addPolicy(lS({accountName:c.accountName,accountKey:c.accountKey}),{phase:"Sign"}),t._corePipeline=n}return{...r,allowInsecureConnection:!0,httpClient:s,pipeline:n}}function dS(t){if(t._credential)return t._credential;let e=new Ye;for(let r of t.factories)if(As(r.credential))e=r.credential;else if(c4(r))return r;return e}function c4(t){return t instanceof tt?!0:t.constructor.name==="StorageSharedKeyCredential"}function wwe(t){return t instanceof Ye?!0:t.constructor.name==="AnonymousCredential"}function bwe(t){return As(t.credential)}function Qwe(t){return t instanceof Bp?!0:t.constructor.name==="StorageBrowserPolicyFactory"}function xwe(t){return t instanceof xp?!0:t.constructor.name==="StorageRetryPolicyFactory"}function Nwe(t){return t.constructor.name==="TelemetryPolicyFactory"}function Swe(t){return t.constructor.name==="InjectorPolicyFactory"}function Rwe(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:async o=>({request:o,headers:o.headers.clone(),status:500})},s={log(o,a){},shouldLog(o){return!1}},i=t.create(r,s).constructor.name;return e.some(o=>i.startsWith(o))}var l4;(function(t){t.AES256="AES256"})(l4||(l4={}));var u4;(function(t){t.Backup="backup"})(u4||(u4={}));var A4;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(A4||(A4={}));var d4;(function(t){t.AccountAlreadyExists="AccountAlreadyExists",t.AccountBeingCreated="AccountBeingCreated",t.AccountIsDisabled="AccountIsDisabled",t.AuthenticationFailed="AuthenticationFailed",t.AuthorizationFailure="AuthorizationFailure",t.ConditionHeadersNotSupported="ConditionHeadersNotSupported",t.ConditionNotMet="ConditionNotMet",t.EmptyMetadataKey="EmptyMetadataKey",t.InsufficientAccountPermissions="InsufficientAccountPermissions",t.InternalError="InternalError",t.InvalidAuthenticationInfo="InvalidAuthenticationInfo",t.InvalidHeaderValue="InvalidHeaderValue",t.InvalidHttpVerb="InvalidHttpVerb",t.InvalidInput="InvalidInput",t.InvalidMd5="InvalidMd5",t.InvalidMetadata="InvalidMetadata",t.InvalidQueryParameterValue="InvalidQueryParameterValue",t.InvalidRange="InvalidRange",t.InvalidResourceName="InvalidResourceName",t.InvalidUri="InvalidUri",t.InvalidXmlDocument="InvalidXmlDocument",t.InvalidXmlNodeValue="InvalidXmlNodeValue",t.Md5Mismatch="Md5Mismatch",t.MetadataTooLarge="MetadataTooLarge",t.MissingContentLengthHeader="MissingContentLengthHeader",t.MissingRequiredQueryParameter="MissingRequiredQueryParameter",t.MissingRequiredHeader="MissingRequiredHeader",t.MissingRequiredXmlNode="MissingRequiredXmlNode",t.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",t.OperationTimedOut="OperationTimedOut",t.OutOfRangeInput="OutOfRangeInput",t.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",t.RequestBodyTooLarge="RequestBodyTooLarge",t.ResourceTypeMismatch="ResourceTypeMismatch",t.RequestUrlFailedToParse="RequestUrlFailedToParse",t.ResourceAlreadyExists="ResourceAlreadyExists",t.ResourceNotFound="ResourceNotFound",t.ServerBusy="ServerBusy",t.UnsupportedHeader="UnsupportedHeader",t.UnsupportedXmlNode="UnsupportedXmlNode",t.UnsupportedQueryParameter="UnsupportedQueryParameter",t.UnsupportedHttpVerb="UnsupportedHttpVerb",t.AppendPositionConditionNotMet="AppendPositionConditionNotMet",t.BlobAlreadyExists="BlobAlreadyExists",t.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",t.BlobNotFound="BlobNotFound",t.BlobOverwritten="BlobOverwritten",t.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",t.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",t.BlockCountExceedsLimit="BlockCountExceedsLimit",t.BlockListTooLong="BlockListTooLong",t.CannotChangeToLowerTier="CannotChangeToLowerTier",t.CannotVerifyCopySource="CannotVerifyCopySource",t.ContainerAlreadyExists="ContainerAlreadyExists",t.ContainerBeingDeleted="ContainerBeingDeleted",t.ContainerDisabled="ContainerDisabled",t.ContainerNotFound="ContainerNotFound",t.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",t.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",t.CopyIdMismatch="CopyIdMismatch",t.FeatureVersionMismatch="FeatureVersionMismatch",t.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",t.IncrementalCopyOfEarlierVersionSnapshotNotAllowed="IncrementalCopyOfEarlierVersionSnapshotNotAllowed",t.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",t.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",t.InvalidBlobOrBlock="InvalidBlobOrBlock",t.InvalidBlobTier="InvalidBlobTier",t.InvalidBlobType="InvalidBlobType",t.InvalidBlockId="InvalidBlockId",t.InvalidBlockList="InvalidBlockList",t.InvalidOperation="InvalidOperation",t.InvalidPageRange="InvalidPageRange",t.InvalidSourceBlobType="InvalidSourceBlobType",t.InvalidSourceBlobUrl="InvalidSourceBlobUrl",t.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",t.LeaseAlreadyPresent="LeaseAlreadyPresent",t.LeaseAlreadyBroken="LeaseAlreadyBroken",t.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",t.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",t.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",t.LeaseIdMissing="LeaseIdMissing",t.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",t.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",t.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",t.LeaseLost="LeaseLost",t.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",t.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",t.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",t.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",t.NoAuthenticationInformation="NoAuthenticationInformation",t.NoPendingCopyOperation="NoPendingCopyOperation",t.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",t.PendingCopyOperation="PendingCopyOperation",t.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",t.PreviousSnapshotNotFound="PreviousSnapshotNotFound",t.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",t.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",t.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",t.SnapshotCountExceeded="SnapshotCountExceeded",t.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",t.SnapshotsPresent="SnapshotsPresent",t.SourceConditionNotMet="SourceConditionNotMet",t.SystemInUse="SystemInUse",t.TargetConditionNotMet="TargetConditionNotMet",t.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",t.BlobBeingRehydrated="BlobBeingRehydrated",t.BlobArchived="BlobArchived",t.BlobNotArchived="BlobNotArchived",t.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",t.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",t.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",t.AuthorizationServiceMismatch="AuthorizationServiceMismatch",t.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",t.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType"})(d4||(d4={}));var ms={};nZ(ms,{AccessPolicy:()=>qwe,AppendBlobAppendBlockExceptionHeaders:()=>PT,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>DT,AppendBlobAppendBlockFromUrlHeaders:()=>kT,AppendBlobAppendBlockHeaders:()=>vT,AppendBlobCreateExceptionHeaders:()=>TT,AppendBlobCreateHeaders:()=>RT,AppendBlobSealExceptionHeaders:()=>LT,AppendBlobSealHeaders:()=>_T,ArrowConfiguration:()=>tbe,ArrowField:()=>rbe,BlobAbortCopyFromURLExceptionHeaders:()=>rT,BlobAbortCopyFromURLHeaders:()=>tT,BlobAcquireLeaseExceptionHeaders:()=>UR,BlobAcquireLeaseHeaders:()=>FR,BlobBreakLeaseExceptionHeaders:()=>JR,BlobBreakLeaseHeaders:()=>YR,BlobChangeLeaseExceptionHeaders:()=>VR,BlobChangeLeaseHeaders:()=>$R,BlobCopyFromURLExceptionHeaders:()=>eT,BlobCopyFromURLHeaders:()=>ZR,BlobCreateSnapshotExceptionHeaders:()=>jR,BlobCreateSnapshotHeaders:()=>WR,BlobDeleteExceptionHeaders:()=>bR,BlobDeleteHeaders:()=>wR,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>DR,BlobDeleteImmutabilityPolicyHeaders:()=>kR,BlobDownloadExceptionHeaders:()=>CR,BlobDownloadHeaders:()=>ay,BlobFlatListSegment:()=>Gwe,BlobGetAccountInfoExceptionHeaders:()=>iT,BlobGetAccountInfoHeaders:()=>nT,BlobGetPropertiesExceptionHeaders:()=>BR,BlobGetPropertiesHeaders:()=>IR,BlobGetTagsExceptionHeaders:()=>cT,BlobGetTagsHeaders:()=>aT,BlobHierarchyListSegment:()=>Vwe,BlobItemInternal:()=>Hwe,BlobName:()=>zwe,BlobPrefix:()=>Ywe,BlobPropertiesInternal:()=>$we,BlobQueryExceptionHeaders:()=>oT,BlobQueryHeaders:()=>ly,BlobReleaseLeaseExceptionHeaders:()=>GR,BlobReleaseLeaseHeaders:()=>qR,BlobRenewLeaseExceptionHeaders:()=>zR,BlobRenewLeaseHeaders:()=>HR,BlobServiceProperties:()=>Sp,BlobServiceStatistics:()=>pS,BlobSetExpiryExceptionHeaders:()=>SR,BlobSetExpiryHeaders:()=>NR,BlobSetHttpHeadersExceptionHeaders:()=>TR,BlobSetHttpHeadersHeaders:()=>RR,BlobSetImmutabilityPolicyExceptionHeaders:()=>PR,BlobSetImmutabilityPolicyHeaders:()=>vR,BlobSetLegalHoldExceptionHeaders:()=>LR,BlobSetLegalHoldHeaders:()=>_R,BlobSetMetadataExceptionHeaders:()=>OR,BlobSetMetadataHeaders:()=>MR,BlobSetTagsExceptionHeaders:()=>uT,BlobSetTagsHeaders:()=>lT,BlobSetTierExceptionHeaders:()=>sT,BlobSetTierHeaders:()=>cy,BlobStartCopyFromURLExceptionHeaders:()=>XR,BlobStartCopyFromURLHeaders:()=>KR,BlobTag:()=>Fwe,BlobTags:()=>Tp,BlobUndeleteExceptionHeaders:()=>xR,BlobUndeleteHeaders:()=>QR,Block:()=>Jwe,BlockBlobCommitBlockListExceptionHeaders:()=>VT,BlockBlobCommitBlockListHeaders:()=>$T,BlockBlobGetBlockListExceptionHeaders:()=>JT,BlockBlobGetBlockListHeaders:()=>YT,BlockBlobPutBlobFromUrlExceptionHeaders:()=>UT,BlockBlobPutBlobFromUrlHeaders:()=>FT,BlockBlobStageBlockExceptionHeaders:()=>GT,BlockBlobStageBlockFromURLExceptionHeaders:()=>zT,BlockBlobStageBlockFromURLHeaders:()=>HT,BlockBlobStageBlockHeaders:()=>qT,BlockBlobUploadExceptionHeaders:()=>OT,BlockBlobUploadHeaders:()=>MT,BlockList:()=>CS,BlockLookupList:()=>yS,ClearRange:()=>jwe,ContainerAcquireLeaseExceptionHeaders:()=>iR,ContainerAcquireLeaseHeaders:()=>nR,ContainerBreakLeaseExceptionHeaders:()=>AR,ContainerBreakLeaseHeaders:()=>uR,ContainerChangeLeaseExceptionHeaders:()=>pR,ContainerChangeLeaseHeaders:()=>dR,ContainerCreateExceptionHeaders:()=>FS,ContainerCreateHeaders:()=>OS,ContainerDeleteExceptionHeaders:()=>HS,ContainerDeleteHeaders:()=>GS,ContainerFilterBlobsExceptionHeaders:()=>sR,ContainerFilterBlobsHeaders:()=>rR,ContainerGetAccessPolicyExceptionHeaders:()=>YS,ContainerGetAccessPolicyHeaders:()=>VS,ContainerGetAccountInfoExceptionHeaders:()=>yR,ContainerGetAccountInfoHeaders:()=>ER,ContainerGetPropertiesExceptionHeaders:()=>qS,ContainerGetPropertiesHeaders:()=>US,ContainerItem:()=>Lwe,ContainerListBlobFlatSegmentExceptionHeaders:()=>hR,ContainerListBlobFlatSegmentHeaders:()=>mR,ContainerListBlobHierarchySegmentExceptionHeaders:()=>gR,ContainerListBlobHierarchySegmentHeaders:()=>fR,ContainerProperties:()=>Mwe,ContainerReleaseLeaseExceptionHeaders:()=>aR,ContainerReleaseLeaseHeaders:()=>oR,ContainerRenameExceptionHeaders:()=>ZS,ContainerRenameHeaders:()=>XS,ContainerRenewLeaseExceptionHeaders:()=>lR,ContainerRenewLeaseHeaders:()=>cR,ContainerRestoreExceptionHeaders:()=>KS,ContainerRestoreHeaders:()=>jS,ContainerSetAccessPolicyExceptionHeaders:()=>WS,ContainerSetAccessPolicyHeaders:()=>JS,ContainerSetMetadataExceptionHeaders:()=>$S,ContainerSetMetadataHeaders:()=>zS,ContainerSubmitBatchExceptionHeaders:()=>tR,ContainerSubmitBatchHeaders:()=>eR,CorsRule:()=>kwe,DelimitedTextConfiguration:()=>Zwe,FilterBlobItem:()=>Owe,FilterBlobSegment:()=>Rp,GeoReplication:()=>_we,JsonTextConfiguration:()=>ebe,KeyInfo:()=>hS,ListBlobsFlatSegmentResponse:()=>gS,ListBlobsHierarchySegmentResponse:()=>ES,ListContainersSegmentResponse:()=>mS,Logging:()=>Twe,Metrics:()=>Pwe,PageBlobClearPagesExceptionHeaders:()=>fT,PageBlobClearPagesHeaders:()=>hT,PageBlobCopyIncrementalExceptionHeaders:()=>ST,PageBlobCopyIncrementalHeaders:()=>NT,PageBlobCreateExceptionHeaders:()=>dT,PageBlobCreateHeaders:()=>AT,PageBlobGetPageRangesDiffExceptionHeaders:()=>BT,PageBlobGetPageRangesDiffHeaders:()=>IT,PageBlobGetPageRangesExceptionHeaders:()=>CT,PageBlobGetPageRangesHeaders:()=>yT,PageBlobResizeExceptionHeaders:()=>bT,PageBlobResizeHeaders:()=>wT,PageBlobUpdateSequenceNumberExceptionHeaders:()=>xT,PageBlobUpdateSequenceNumberHeaders:()=>QT,PageBlobUploadPagesExceptionHeaders:()=>mT,PageBlobUploadPagesFromURLExceptionHeaders:()=>ET,PageBlobUploadPagesFromURLHeaders:()=>gT,PageBlobUploadPagesHeaders:()=>pT,PageList:()=>oy,PageRange:()=>Wwe,QueryFormat:()=>Xwe,QueryRequest:()=>IS,QuerySerialization:()=>Kwe,RetentionPolicy:()=>vwe,ServiceFilterBlobsExceptionHeaders:()=>MS,ServiceFilterBlobsHeaders:()=>LS,ServiceGetAccountInfoExceptionHeaders:()=>kS,ServiceGetAccountInfoHeaders:()=>PS,ServiceGetPropertiesExceptionHeaders:()=>QS,ServiceGetPropertiesHeaders:()=>bS,ServiceGetStatisticsExceptionHeaders:()=>NS,ServiceGetStatisticsHeaders:()=>xS,ServiceGetUserDelegationKeyExceptionHeaders:()=>vS,ServiceGetUserDelegationKeyHeaders:()=>TS,ServiceListContainersSegmentExceptionHeaders:()=>RS,ServiceListContainersSegmentHeaders:()=>SS,ServiceSetPropertiesExceptionHeaders:()=>wS,ServiceSetPropertiesHeaders:()=>BS,ServiceSubmitBatchExceptionHeaders:()=>_S,ServiceSubmitBatchHeaders:()=>DS,SignedIdentifier:()=>Uwe,StaticWebsite:()=>Dwe,StorageError:()=>x,UserDelegationKey:()=>fS});var Sp={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"}}}}},Twe={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"}}}}},vwe={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"}}}}},Pwe={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"}}}}},kwe={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"}}}}},Dwe={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"}}}}},x={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"}}}}},pS={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},_we={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"}}}}},mS={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"}}}}},Lwe={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"}}}}}}},Mwe={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"}}}}},hS={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"}}}}},fS={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"}}}}},Rp={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"}}}}},Owe={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"}}}}},Tp={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"}}}}}}},Fwe={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"}}}}},Uwe={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"}}}}},qwe={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"}}}}},gS={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"}}}}},Gwe={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"}}}}}}},Hwe={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"}}}}},zwe={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"}}}}},$we={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"}}}}},ES={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"}}}}},Vwe={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"}}}}}}},Ywe={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},yS={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"}}}}}}},CS={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"}}}}}}},Jwe={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"}}}}},oy={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"}}}}},Wwe={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"}}}}},jwe={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"}}}}},IS={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"}}}}},Kwe={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},Xwe={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"}}}}}}},Zwe={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"}}}}},ebe={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},tbe={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"}}}}}}},rbe={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"}}}}},BS={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wS={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bS={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"}}}}},QS={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xS={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NS={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SS={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"}}}}},RS={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TS={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"}}}}},PS={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"}}}}},kS={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DS={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"}}}}},_S={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LS={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"}}}}},MS={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OS={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"}}}}},FS={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},US={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"}}}}},qS={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GS={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"}}}}},HS={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zS={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"}}}}},$S={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VS={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"}}}}},YS={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JS={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"}}}}},WS={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jS={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"}}}}},KS={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XS={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"}}}}},ZS={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eR={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"}}}}},tR={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rR={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"}}}}},sR={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nR={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"}}}}},iR={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oR={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"}}}}},aR={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cR={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"}}}}},lR={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uR={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"}}}}},AR={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dR={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"}}}}},pR={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mR={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"}}}}},hR={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fR={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"}}}}},gR={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ER={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"}}}}},yR={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ay={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"}}}}},CR={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IR={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"}}}}},BR={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wR={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bR={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QR={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xR={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NR={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"}}}}},SR={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RR={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"}}}}},TR={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"]}}}}},PR={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kR={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"}}}}},DR={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_R={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"}}}}},LR={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MR={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"}}}}},OR={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FR={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"}}}}},UR={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qR={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"}}}}},GR={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HR={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"}}}}},zR={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$R={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"}}}}},VR={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YR={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"}}}}},JR={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WR={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"}}}}},jR={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KR={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"}}}}},XR={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"}}}}},ZR={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"}}}}},eT={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"}}}}},tT={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"}}}}},rT={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cy={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"}}}}},sT={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nT={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"}}}}},iT={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ly={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"}}}}},oT={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aT={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"}}}}},cT={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lT={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"}}}}},uT={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AT={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"}}}}},dT={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pT={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"}}}}},mT={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hT={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"}}}}},fT={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gT={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"}}}}},ET={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"}}}}},yT={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"}}}}},CT={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IT={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"}}}}},BT={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wT={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bT={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QT={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xT={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NT={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"}}}}},ST={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RT={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"}}}}},TT={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"}}}}},PT={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kT={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"}}}}},DT={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"}}}}},_T={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"}}}}},LT={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MT={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"}}}}},OT={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FT={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"}}}}},UT={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"}}}}},qT={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"}}}}},GT={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HT={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"}}}}},zT={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"}}}}},$T={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"}}}}},VT={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YT={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"}}}}},JT={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var ni={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},p4={parameterPath:"blobServiceProperties",mapper:Sp},Us={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},S={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},vp={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},qs={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},R={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},T={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},v={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},q={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},m4={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Pp={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},kp={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},ii={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},oi={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},h4={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},f4={parameterPath:"keyInfo",mapper:hS},g4={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},gu={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},uy={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Ay={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ut={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},dy={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},py={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},my={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},qt={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},nr={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},WT={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},E4={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},y4={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},Ae={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},ae={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},ce={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},hy={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},jT={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},C4={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},fy={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},I4={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},B4={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},w4={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},b4={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},Q4={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},Gs={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},gy={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Ey={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},yy={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},Cy={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},sa={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},Iy={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},By={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},wy={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},by={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Qy={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},KT={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"},XT={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},x4={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},Cr={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},ai={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},lc={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},N4={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},S4={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},rt={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},st={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},nt={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"}}},fe={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},R4={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},T4={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},v4={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},P4={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"}}},ci={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},li={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},ui={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},Ai={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},di={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},pi={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},ZT={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Cn={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},In={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},D4={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},_4={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},Qt={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},L4={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},io={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"]}}},ev={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},mi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},hi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},fi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},gi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},xy={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},uc={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"}}},M4={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},Ei={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},O4={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},oo={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},ao={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},Ny={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},co={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},F4={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},U4={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},q4={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},G4={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},H4={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"]}}},z4={parameterPath:["options","queryRequest"],mapper:IS},$4={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},tv={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},rv={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},sv={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},nv={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},iv={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},V4={parameterPath:["options","tags"],mapper:Tp},Hs={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},yi={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},Y4={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},ov={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},av={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Ac={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},dc={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},pc={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Sy={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},cv={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Ry={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},Ty={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},vy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},J4={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Eu={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},W4={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},yu={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},j4={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},lv={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},K4={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},X4={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},Z4={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"}}},tW={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},uv={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Av={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},Py={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},ky={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},rW={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},dv={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},sW={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},pv={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},mv={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},nW={parameterPath:"blocks",mapper:yS},hv={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},iW={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var Dy=class{client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},sbe)}getProperties(e){return this.client.sendOperationRequest({options:e},nbe)}getStatistics(e){return this.client.sendOperationRequest({options:e},ibe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},obe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},abe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},cbe)}submitBatch(e,r,s,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:s,options:n},lbe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},ube)}},na=ds(ms,!0),sbe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:BS},default:{bodyMapper:x,headersMapper:wS}},requestBody:p4,queryParameters:[vp,qs,R],urlParameters:[S],headerParameters:[ni,Us,T,v],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:na},nbe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Sp,headersMapper:bS},default:{bodyMapper:x,headersMapper:QS}},queryParameters:[vp,qs,R],urlParameters:[S],headerParameters:[T,v,q],isXML:!0,serializer:na},ibe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:pS,headersMapper:xS},default:{bodyMapper:x,headersMapper:NS}},queryParameters:[vp,R,m4],urlParameters:[S],headerParameters:[T,v,q],isXML:!0,serializer:na},obe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:mS,headersMapper:SS},default:{bodyMapper:x,headersMapper:RS}},queryParameters:[R,Pp,kp,ii,oi,h4],urlParameters:[S],headerParameters:[T,v,q],isXML:!0,serializer:na},abe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:fS,headersMapper:TS},default:{bodyMapper:x,headersMapper:vS}},requestBody:f4,queryParameters:[vp,R,g4],urlParameters:[S],headerParameters:[ni,Us,T,v],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:na},cbe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:PS},default:{bodyMapper:x,headersMapper:kS}},queryParameters:[qs,R,gu],urlParameters:[S],headerParameters:[T,v,q],isXML:!0,serializer:na},lbe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:DS},default:{bodyMapper:x,headersMapper:_S}},requestBody:uy,queryParameters:[R,Ay],urlParameters:[S],headerParameters:[Us,T,v,Ut,dy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:na},ube={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Rp,headersMapper:LS},default:{bodyMapper:x,headersMapper:MS}},queryParameters:[R,ii,oi,py,my],urlParameters:[S],headerParameters:[T,v,q],isXML:!0,serializer:na};var _y=class{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},Abe)}getProperties(e){return this.client.sendOperationRequest({options:e},dbe)}delete(e){return this.client.sendOperationRequest({options:e},pbe)}setMetadata(e){return this.client.sendOperationRequest({options:e},mbe)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},hbe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},fbe)}restore(e){return this.client.sendOperationRequest({options:e},gbe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},Ebe)}submitBatch(e,r,s,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:s,options:n},ybe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Cbe)}acquireLease(e){return this.client.sendOperationRequest({options:e},Ibe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Bbe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},wbe)}breakLease(e){return this.client.sendOperationRequest({options:e},bbe)}changeLease(e,r,s){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:s},Qbe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},xbe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},Nbe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Sbe)}},Gt=ds(ms,!0),Abe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:OS},default:{bodyMapper:x,headersMapper:FS}},queryParameters:[R,qt],urlParameters:[S],headerParameters:[T,v,q,nr,WT,E4,y4],isXML:!0,serializer:Gt},dbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:US},default:{bodyMapper:x,headersMapper:qS}},queryParameters:[R,qt],urlParameters:[S],headerParameters:[T,v,q,Ae],isXML:!0,serializer:Gt},pbe={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:GS},default:{bodyMapper:x,headersMapper:HS}},queryParameters:[R,qt],urlParameters:[S],headerParameters:[T,v,q,Ae,ae,ce],isXML:!0,serializer:Gt},mbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:zS},default:{bodyMapper:x,headersMapper:$S}},queryParameters:[R,qt,hy],urlParameters:[S],headerParameters:[T,v,q,nr,Ae,ae],isXML:!0,serializer:Gt},hbe={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:VS},default:{bodyMapper:x,headersMapper:YS}},queryParameters:[R,qt,jT],urlParameters:[S],headerParameters:[T,v,q,Ae],isXML:!0,serializer:Gt},fbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:JS},default:{bodyMapper:x,headersMapper:WS}},requestBody:C4,queryParameters:[R,qt,jT],urlParameters:[S],headerParameters:[ni,Us,T,v,WT,Ae,ae,ce],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Gt},gbe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:jS},default:{bodyMapper:x,headersMapper:KS}},queryParameters:[R,qt,fy],urlParameters:[S],headerParameters:[T,v,q,I4,B4],isXML:!0,serializer:Gt},Ebe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:XS},default:{bodyMapper:x,headersMapper:ZS}},queryParameters:[R,qt,w4],urlParameters:[S],headerParameters:[T,v,q,b4,Q4],isXML:!0,serializer:Gt},ybe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:eR},default:{bodyMapper:x,headersMapper:tR}},requestBody:uy,queryParameters:[R,Ay,qt],urlParameters:[S],headerParameters:[Us,T,v,Ut,dy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Gt},Cbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Rp,headersMapper:rR},default:{bodyMapper:x,headersMapper:sR}},queryParameters:[R,ii,oi,py,my,qt],urlParameters:[S],headerParameters:[T,v,q],isXML:!0,serializer:Gt},Ibe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:nR},default:{bodyMapper:x,headersMapper:iR}},queryParameters:[R,qt,Gs],urlParameters:[S],headerParameters:[T,v,q,ae,ce,gy,Ey,yy],isXML:!0,serializer:Gt},Bbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:oR},default:{bodyMapper:x,headersMapper:aR}},queryParameters:[R,qt,Gs],urlParameters:[S],headerParameters:[T,v,q,ae,ce,Cy,sa],isXML:!0,serializer:Gt},wbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:cR},default:{bodyMapper:x,headersMapper:lR}},queryParameters:[R,qt,Gs],urlParameters:[S],headerParameters:[T,v,q,ae,ce,sa,Iy],isXML:!0,serializer:Gt},bbe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:uR},default:{bodyMapper:x,headersMapper:AR}},queryParameters:[R,qt,Gs],urlParameters:[S],headerParameters:[T,v,q,ae,ce,By,wy],isXML:!0,serializer:Gt},Qbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:dR},default:{bodyMapper:x,headersMapper:pR}},queryParameters:[R,qt,Gs],urlParameters:[S],headerParameters:[T,v,q,ae,ce,sa,by,Qy],isXML:!0,serializer:Gt},xbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:gS,headersMapper:mR},default:{bodyMapper:x,headersMapper:hR}},queryParameters:[R,Pp,kp,ii,oi,qt,KT,XT],urlParameters:[S],headerParameters:[T,v,q],isXML:!0,serializer:Gt},Nbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:ES,headersMapper:fR},default:{bodyMapper:x,headersMapper:gR}},queryParameters:[R,Pp,kp,ii,oi,qt,KT,XT,x4],urlParameters:[S],headerParameters:[T,v,q],isXML:!0,serializer:Gt},Sbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:ER},default:{bodyMapper:x,headersMapper:yR}},queryParameters:[qs,R,gu],urlParameters:[S],headerParameters:[T,v,q],isXML:!0,serializer:Gt};var Ly=class{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},Rbe)}getProperties(e){return this.client.sendOperationRequest({options:e},Tbe)}delete(e){return this.client.sendOperationRequest({options:e},vbe)}undelete(e){return this.client.sendOperationRequest({options:e},Pbe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},kbe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},Dbe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},_be)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Lbe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},Mbe)}setMetadata(e){return this.client.sendOperationRequest({options:e},Obe)}acquireLease(e){return this.client.sendOperationRequest({options:e},Fbe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Ube)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},qbe)}changeLease(e,r,s){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:s},Gbe)}breakLease(e){return this.client.sendOperationRequest({options:e},Hbe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},zbe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},$be)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},Vbe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},Ybe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},Jbe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Wbe)}query(e){return this.client.sendOperationRequest({options:e},jbe)}getTags(e){return this.client.sendOperationRequest({options:e},Kbe)}setTags(e){return this.client.sendOperationRequest({options:e},Xbe)}},Je=ds(ms,!0),Rbe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ay},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ay},default:{bodyMapper:x,headersMapper:CR}},queryParameters:[R,Cr,ai],urlParameters:[S],headerParameters:[T,v,q,Ae,ae,ce,lc,N4,S4,rt,st,nt,Ie,Be,fe],isXML:!0,serializer:Je},Tbe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:IR},default:{bodyMapper:x,headersMapper:BR}},queryParameters:[R,Cr,ai],urlParameters:[S],headerParameters:[T,v,q,Ae,ae,ce,rt,st,nt,Ie,Be,fe],isXML:!0,serializer:Je},vbe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:wR},default:{bodyMapper:x,headersMapper:bR}},queryParameters:[R,Cr,ai,T4],urlParameters:[S],headerParameters:[T,v,q,Ae,ae,ce,Ie,Be,fe,R4],isXML:!0,serializer:Je},Pbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:QR},default:{bodyMapper:x,headersMapper:xR}},queryParameters:[R,fy],urlParameters:[S],headerParameters:[T,v,q],isXML:!0,serializer:Je},kbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:NR},default:{bodyMapper:x,headersMapper:SR}},queryParameters:[R,v4],urlParameters:[S],headerParameters:[T,v,q,P4,k4],isXML:!0,serializer:Je},Dbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:RR},default:{bodyMapper:x,headersMapper:TR}},queryParameters:[qs,R],urlParameters:[S],headerParameters:[T,v,q,Ae,ae,ce,Ie,Be,fe,ci,li,ui,Ai,di,pi],isXML:!0,serializer:Je},_be={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:vR},default:{bodyMapper:x,headersMapper:PR}},queryParameters:[R,Cr,ai,ZT],urlParameters:[S],headerParameters:[T,v,q,ce,Cn,In],isXML:!0,serializer:Je},Lbe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:kR},default:{bodyMapper:x,headersMapper:DR}},queryParameters:[R,Cr,ai,ZT],urlParameters:[S],headerParameters:[T,v,q],isXML:!0,serializer:Je},Mbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:_R},default:{bodyMapper:x,headersMapper:LR}},queryParameters:[R,Cr,ai,D4],urlParameters:[S],headerParameters:[T,v,q,_4],isXML:!0,serializer:Je},Obe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:MR},default:{bodyMapper:x,headersMapper:OR}},queryParameters:[R,hy],urlParameters:[S],headerParameters:[T,v,q,nr,Ae,ae,ce,rt,st,nt,Ie,Be,fe,Qt],isXML:!0,serializer:Je},Fbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:FR},default:{bodyMapper:x,headersMapper:UR}},queryParameters:[R,Gs],urlParameters:[S],headerParameters:[T,v,q,ae,ce,gy,Ey,yy,Ie,Be,fe],isXML:!0,serializer:Je},Ube={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:qR},default:{bodyMapper:x,headersMapper:GR}},queryParameters:[R,Gs],urlParameters:[S],headerParameters:[T,v,q,ae,ce,Cy,sa,Ie,Be,fe],isXML:!0,serializer:Je},qbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:HR},default:{bodyMapper:x,headersMapper:zR}},queryParameters:[R,Gs],urlParameters:[S],headerParameters:[T,v,q,ae,ce,sa,Iy,Ie,Be,fe],isXML:!0,serializer:Je},Gbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:$R},default:{bodyMapper:x,headersMapper:VR}},queryParameters:[R,Gs],urlParameters:[S],headerParameters:[T,v,q,ae,ce,sa,by,Qy,Ie,Be,fe],isXML:!0,serializer:Je},Hbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:YR},default:{bodyMapper:x,headersMapper:JR}},queryParameters:[R,Gs],urlParameters:[S],headerParameters:[T,v,q,ae,ce,By,wy,Ie,Be,fe],isXML:!0,serializer:Je},zbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:WR},default:{bodyMapper:x,headersMapper:jR}},queryParameters:[R,L4],urlParameters:[S],headerParameters:[T,v,q,nr,Ae,ae,ce,rt,st,nt,Ie,Be,fe,Qt],isXML:!0,serializer:Je},$be={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:KR},default:{bodyMapper:x,headersMapper:XR}},queryParameters:[R],urlParameters:[S],headerParameters:[T,v,q,nr,Ae,ae,ce,Ie,Be,fe,Cn,In,io,ev,mi,hi,fi,gi,xy,uc,Bn,M4,Ei],isXML:!0,serializer:Je},Vbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:ZR},default:{bodyMapper:x,headersMapper:eT}},queryParameters:[R],urlParameters:[S],headerParameters:[T,v,q,nr,Ae,ae,ce,Ie,Be,fe,Cn,In,Qt,io,mi,hi,fi,gi,uc,Bn,Ei,O4,oo,ao,Ny,co],isXML:!0,serializer:Je},Ybe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:tT},default:{bodyMapper:x,headersMapper:rT}},queryParameters:[R,F4,q4],urlParameters:[S],headerParameters:[T,v,q,Ae,U4],isXML:!0,serializer:Je},Jbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:cy},202:{headersMapper:cy},default:{bodyMapper:x,headersMapper:sT}},queryParameters:[R,Cr,ai,G4],urlParameters:[S],headerParameters:[T,v,q,Ae,fe,ev,H4],isXML:!0,serializer:Je},Wbe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:nT},default:{bodyMapper:x,headersMapper:iT}},queryParameters:[qs,R,gu],urlParameters:[S],headerParameters:[T,v,q],isXML:!0,serializer:Je},jbe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ly},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ly},default:{bodyMapper:x,headersMapper:oT}},requestBody:z4,queryParameters:[R,Cr,$4],urlParameters:[S],headerParameters:[ni,Us,T,v,Ae,ae,ce,rt,st,nt,Ie,Be,fe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Je},Kbe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Tp,headersMapper:aT},default:{bodyMapper:x,headersMapper:cT}},queryParameters:[R,Cr,ai,tv],urlParameters:[S],headerParameters:[T,v,q,Ae,fe,rv,sv,nv,iv],isXML:!0,serializer:Je},Xbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:lT},default:{bodyMapper:x,headersMapper:uT}},requestBody:V4,queryParameters:[R,ai,tv],urlParameters:[S],headerParameters:[ni,Us,T,v,Ae,fe,rv,sv,nv,iv,Hs,yi],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Je};var My=class{client;constructor(e){this.client=e}create(e,r,s){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:s},Zbe)}uploadPages(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},eQe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},tQe)}uploadPagesFromURL(e,r,s,n,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:s,range:n,options:i},rQe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},sQe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},nQe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},iQe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},oQe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},aQe)}},lo=ds(ms,!0),Zbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:AT},default:{bodyMapper:x,headersMapper:dT}},queryParameters:[R],urlParameters:[S],headerParameters:[T,v,q,Ut,nr,Ae,ae,ce,rt,st,nt,Ie,Be,fe,ci,li,ui,Ai,di,pi,Cn,In,Qt,io,Bn,Ei,Y4,ov,av],isXML:!0,serializer:lo},eQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:pT},default:{bodyMapper:x,headersMapper:mT}},requestBody:dc,queryParameters:[R,Sy],urlParameters:[S],headerParameters:[T,v,Ut,Ae,ae,ce,lc,rt,st,nt,Ie,Be,fe,Qt,Hs,yi,Ac,pc,cv,Ry,Ty,vy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:lo},tQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:hT},default:{bodyMapper:x,headersMapper:fT}},queryParameters:[R,Sy],urlParameters:[S],headerParameters:[T,v,q,Ut,Ae,ae,ce,lc,rt,st,nt,Ie,Be,fe,Qt,Ry,Ty,vy,J4],isXML:!0,serializer:lo},rQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:gT},default:{bodyMapper:x,headersMapper:ET}},queryParameters:[R,Sy],urlParameters:[S],headerParameters:[T,v,q,Ut,Ae,ae,ce,rt,st,nt,Ie,Be,fe,Qt,mi,hi,fi,gi,oo,ao,co,cv,Ry,Ty,vy,Eu,W4,yu,j4],isXML:!0,serializer:lo},sQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:oy,headersMapper:yT},default:{bodyMapper:x,headersMapper:CT}},queryParameters:[R,ii,oi,Cr,lv],urlParameters:[S],headerParameters:[T,v,q,Ae,ae,ce,lc,Ie,Be,fe],isXML:!0,serializer:lo},nQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:oy,headersMapper:IT},default:{bodyMapper:x,headersMapper:BT}},queryParameters:[R,ii,oi,Cr,lv,K4],urlParameters:[S],headerParameters:[T,v,q,Ae,ae,ce,lc,Ie,Be,fe,X4],isXML:!0,serializer:lo},iQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:wT},default:{bodyMapper:x,headersMapper:bT}},queryParameters:[qs,R],urlParameters:[S],headerParameters:[T,v,q,Ae,ae,ce,rt,st,nt,Ie,Be,fe,Qt,ov],isXML:!0,serializer:lo},oQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:QT},default:{bodyMapper:x,headersMapper:xT}},queryParameters:[qs,R],urlParameters:[S],headerParameters:[T,v,q,Ae,ae,ce,Ie,Be,fe,av,Z4],isXML:!0,serializer:lo},aQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:NT},default:{bodyMapper:x,headersMapper:ST}},queryParameters:[R,eW],urlParameters:[S],headerParameters:[T,v,q,ae,ce,Ie,Be,fe,uc],isXML:!0,serializer:lo};var Oy=class{client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},cQe)}appendBlock(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},lQe)}appendBlockFromUrl(e,r,s){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:s},uQe)}seal(e){return this.client.sendOperationRequest({options:e},AQe)}},Fy=ds(ms,!0),cQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:RT},default:{bodyMapper:x,headersMapper:TT}},queryParameters:[R],urlParameters:[S],headerParameters:[T,v,q,Ut,nr,Ae,ae,ce,rt,st,nt,Ie,Be,fe,ci,li,ui,Ai,di,pi,Cn,In,Qt,Bn,Ei,tW],isXML:!0,serializer:Fy},lQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vT},default:{bodyMapper:x,headersMapper:PT}},requestBody:dc,queryParameters:[R,uv],urlParameters:[S],headerParameters:[T,v,Ut,Ae,ae,ce,rt,st,nt,Ie,Be,fe,Qt,Hs,yi,Ac,pc,Av,Py],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Fy},uQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:kT},default:{bodyMapper:x,headersMapper:DT}},queryParameters:[R,uv],urlParameters:[S],headerParameters:[T,v,q,Ut,Ae,ae,ce,rt,st,nt,Ie,Be,fe,Qt,mi,hi,fi,gi,oo,ao,co,Hs,Eu,yu,Av,Py,ky],isXML:!0,serializer:Fy},AQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:_T},default:{bodyMapper:x,headersMapper:LT}},queryParameters:[R,rW],urlParameters:[S],headerParameters:[T,v,q,Ae,ae,ce,Ie,Be,Py],isXML:!0,serializer:Fy};var Uy=class{client;constructor(e){this.client=e}upload(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},dQe)}putBlobFromUrl(e,r,s){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:s},pQe)}stageBlock(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:s,options:n},mQe)}stageBlockFromURL(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:s,options:n},hQe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},fQe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},gQe)}},Iu=ds(ms,!0),dQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:MT},default:{bodyMapper:x,headersMapper:OT}},requestBody:dc,queryParameters:[R],urlParameters:[S],headerParameters:[T,v,Ut,nr,Ae,ae,ce,rt,st,nt,Ie,Be,fe,ci,li,ui,Ai,di,pi,Cn,In,Qt,io,Bn,Ei,Hs,yi,Ac,pc,dv],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Iu},pQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:FT},default:{bodyMapper:x,headersMapper:UT}},queryParameters:[R],urlParameters:[S],headerParameters:[T,v,q,Ut,nr,Ae,ae,ce,rt,st,nt,Ie,Be,fe,ci,li,ui,Ai,di,pi,Qt,io,mi,hi,fi,gi,xy,uc,Bn,oo,ao,Ny,co,Hs,dv,sW],isXML:!0,serializer:Iu},mQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:qT},default:{bodyMapper:x,headersMapper:GT}},requestBody:dc,queryParameters:[R,pv,mv],urlParameters:[S],headerParameters:[T,v,Ut,Ae,rt,st,nt,Qt,Hs,yi,Ac,pc],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Iu},hQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:HT},default:{bodyMapper:x,headersMapper:zT}},queryParameters:[R,pv,mv],urlParameters:[S],headerParameters:[T,v,q,Ut,Ae,rt,st,nt,Qt,mi,hi,fi,gi,oo,ao,co,Eu,yu,ky],isXML:!0,serializer:Iu},fQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:$T},default:{bodyMapper:x,headersMapper:VT}},requestBody:nW,queryParameters:[R,hv],urlParameters:[S],headerParameters:[ni,Us,T,v,nr,Ae,ae,ce,rt,st,nt,Ie,Be,fe,ci,li,ui,Ai,di,pi,Cn,In,Qt,io,Bn,Ei,Hs,yi],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Iu},gQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:CS,headersMapper:YT},default:{bodyMapper:x,headersMapper:JT}},queryParameters:[R,Cr,hv,iW],urlParameters:[S],headerParameters:[T,v,q,Ae,fe],isXML:!0,serializer:Iu};var Dp=class extends mp{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}`,o={...s,...r,userAgentOptions:{userAgentPrefix:i},endpoint:r.endpoint??r.baseUri??"{url}"};super(o),this.url=e,this.version=r.version||"2026-02-06",this.service=new Dy(this),this.container=new _y(this),this.blob=new Ly(this),this.pageBlob=new My(this),this.appendBlob=new Oy(this),this.blockBlob=new Uy(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var _p=class extends Dp{async sendOperationRequest(e,r){let s={...r};return(s.path==="/{containerName}"||s.path==="/{containerName}/{blob}")&&(s.path=""),super.sendOperationRequest(e,s)}};function aW(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=yQe(r),e.pathname=r,e.toString()}function EQe(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}function mc(t,e){let r=t.split(";");for(let s of r)if(s.trim().startsWith(e))return s.trim().match(e+"=(.*)")[1];return""}function hc(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=EQe(t),t=r4);let r=mc(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"),o="";if(n=mc(t,"AccountName"),i=Buffer.from(mc(t,"AccountKey"),"base64"),!r){s=mc(t,"DefaultEndpointsProtocol");let a=s.toLowerCase();if(a!=="https"&&a!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(o=mc(t,"EndpointSuffix"),!o)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${s}://${n}.blob.${o}`}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=mc(t,"SharedAccessSignature"),n=mc(t,"AccountName");if(n||(n=yv(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}}}function yQe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function vt(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()}function Bu(t,e,r){let s=new URL(t),n=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,o=s.search===""?"?":s.search,a=[];for(let c of o.slice(1).split("&"))if(c){let[l]=c.split("=",2);l!==n&&a.push(c)}return i&&a.push(`${n}=${i}`),s.search=a.length?`?${a.join("&")}`:"",s.toString()}function fv(t,e){return new URL(t).searchParams.get(e)??void 0}function cW(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}function Lp(t,e){let r=new URL(t),s=r.search;return s?s+="&"+e:s=e,r.search=s,r.toString()}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"}function CQe(t){return Ne?Buffer.from(t).toString("base64"):btoa(t)}function gv(t,e){t.length>42&&(t=t.slice(0,42));let i=t+IQe(e.toString(),48-t.length,"0");return CQe(i)}function IQe(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))}function Ev(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}function yv(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:qy(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}function qy(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&&a4.includes(t.port)}function ia(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("&")}function lW(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}function Gy(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}function Cv(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.")}}function Hy(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]},o=e.findIndex(a=>a.policyId===s[0]);o>-1?e[o].rules.push(i):e.push({policyId:s[0],rules:[i]})}return e}function wu(t){return t?t.scheme+" "+t.value:void 0}function*Iv(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 Mp(t,e,r){return Op(t,e,r).sasQueryParameters}function Op(t,e,r){let s=t.version?t.version:ny,n=e instanceof tt?e:void 0,i;if(n===void 0&&r!==void 0&&(i=new ry(r,e)),n===void 0&&i===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(s>="2020-12-06")return n!==void 0?bQe(t,n):s>="2025-07-05"?SQe(t,i):NQe(t,i);if(s>="2018-11-09")return n!==void 0?wQe(t,n):s>="2020-02-10"?xQe(t,i):QQe(t,i);if(s>="2015-04-05"){if(n!==void 0)return BQe(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'.")}function BQe(t,e){if(t=gc(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=Ci.parse(t.permissions.toString()).toString():s=Ii.parse(t.permissions.toString()).toString());let n=[s||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",fc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?wn(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 bn(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}}function wQe(t,e){if(t=gc(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=Ci.parse(t.permissions.toString()).toString():n=Ii.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",fc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?wn(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(` `),o=e.computeHMACSHA256(i);return{sasQueryParameters:new bn(t.version,o,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}}function bQe(t,e){if(t=gc(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=Ci.parse(t.permissions.toString()).toString():n=Ii.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",fc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?wn(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(` `),o=e.computeHMACSHA256(i);return{sasQueryParameters:new bn(t.version,o,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}}function QQe(t,e){if(t=gc(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=Ci.parse(t.permissions.toString()).toString():n=Ii.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",fc(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?wn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` `),o=e.computeHMACSHA256(i);return{sasQueryParameters:new bn(t.version,o,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}}function xQe(t,e){if(t=gc(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=Ci.parse(t.permissions.toString()).toString():n=Ii.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",fc(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?wn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` `),o=e.computeHMACSHA256(i);return{sasQueryParameters:new bn(t.version,o,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}}function NQe(t,e){if(t=gc(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=Ci.parse(t.permissions.toString()).toString():n=Ii.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",fc(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?wn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` `),o=e.computeHMACSHA256(i);return{sasQueryParameters:new bn(t.version,o,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}}function SQe(t,e){if(t=gc(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=Ci.parse(t.permissions.toString()).toString():n=Ii.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",fc(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?wn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` `),o=e.computeHMACSHA256(i);return{sasQueryParameters:new bn(t.version,o,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}}function fc(t,e,r){let s=[`/blob/${t}/${e}`];return r&&s.push(`/${r}`),s.join("")}function gc(t){let e=t.version?t.version:ny;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}var Fp=class{_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=au()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==yn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==yn||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 H.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!==yn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==yn||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 H.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!==yn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==yn||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 H.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!==yn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==yn||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 H.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!==yn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==yn||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 H.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 AW=require("node:stream"),zy=class extends AW.Readable{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=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()};sourceAbortedHandler=()=>{let e=new us("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=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}`))};_destroy(e,r){this.removeSourceEventHandlers(),this.source.destroy(),r(e===null?void 0:e)}};var $y=class{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 zy(this.originalResponse.readableStreamBody,r,s,n,i)}};var gW=require("node:stream");var Bv=new Uint8Array([79,98,106,1]),dW="avro.codec",pW="avro.schema";var Xe=class t{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,o,a;do i=await t.readByte(e,r),o=i&128,s|=(i&127)<Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return c}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=(a,c={})=>t.readMapPair(a,r,c),i=await t.readArray(e,n,s),o={};for(let a of i)o[a.key]=a.value;return o}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 o=await r(e,s);n.push(o)}return n}},Ec;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(Ec||(Ec={}));var Ht;(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"})(Ht||(Ht={}));var uo=class t{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 Ht.NULL:case Ht.BOOLEAN:case Ht.INT:case Ht.LONG:case Ht.FLOAT:case Ht.DOUBLE:case Ht.BYTES:case Ht.STRING:return new wv(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new Qv(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case Ec.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 Nv(s,e.name);case Ec.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 bv(e.symbols);case Ec.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new xv(t.fromSchema(e.values));case Ec.ARRAY:case Ec.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},wv=class extends uo{_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Ht.NULL:return Xe.readNull();case Ht.BOOLEAN:return Xe.readBoolean(e,r);case Ht.INT:return Xe.readInt(e,r);case Ht.LONG:return Xe.readLong(e,r);case Ht.FLOAT:return Xe.readFloat(e,r);case Ht.DOUBLE:return Xe.readDouble(e,r);case Ht.BYTES:return Xe.readBytes(e,r);case Ht.STRING:return Xe.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},bv=class extends uo{_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let s=await Xe.readInt(e,r);return this._symbols[s]}},Qv=class extends uo{_types;constructor(e){super(),this._types=e}async read(e,r={}){let s=await Xe.readInt(e,r);return this._types[s].read(e,r)}},xv=class extends uo{_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let s=(n,i)=>this._itemType.read(n,i);return Xe.readMap(e,s,r)}},Nv=class extends uo{_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 Sv(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 Xe.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!Sv(this._syncMarker,s))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await Xe.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await Xe.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};var qp=class{};var fW=require("buffer"),hW=new us("Reading from the avro stream was aborted."),Gp=class extends qp{_position;_readable;toUint8Array(e){return typeof e=="string"?fW.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 hW;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 o=()=>{this._readable.removeListener("readable",a),this._readable.removeListener("error",c),this._readable.removeListener("end",c),this._readable.removeListener("close",c),r.abortSignal&&r.abortSignal.removeEventListener("abort",l)},a=()=>{let u=this._readable.read(e);u&&(this._position+=u.length,o(),n(this.toUint8Array(u)))},c=()=>{o(),i()},l=()=>{o(),i(hW)};this._readable.on("readable",a),this._readable.once("error",c),this._readable.once("end",c),this._readable.once("close",c),r.abortSignal&&r.abortSignal.addEventListener("abort",l)})}};var Vy=class extends gW.Readable{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 Up(new Gp(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 o=r.description;if(typeof o!="string")throw Error("Invalid description in avro error record.");let a=r.position;if(typeof a!="number")throw Error("Invalid position in avro error record.");this.onError({position:a,name:i,isFatal:n,description:o})}break;default:throw Error(`Unknown schema ${s} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};var Yy=class{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 Vy(this.originalResponse.readableStreamBody,r)}};var Rv;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(Rv||(Rv={}));var Tv;(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"})(Tv||(Tv={}));function oa(t){if(t!==void 0)return t}function Pt(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=t4)}var vv;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(vv||(vv={}));function Jy(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}}}}var r8=B(t8(),1),nC=class extends r8.Poller{intervalInMs;constructor(e){let{blobClient:r,copySource:s,intervalInMs:n=15e3,onProgress:i,resumeFrom:o,startCopyFromURLOptions:a}=e,c;o&&(c=JSON.parse(o).state);let l=Vp({...c,blobClient:r,copySource:s,startCopyFromURLOptions:a});super(l),typeof i=="function"&&this.onProgress(i),this.intervalInMs=n}delay(){return np(this.intervalInMs)}},Qxe=async function(e={}){let r=this.state,{copyId:s}=r;return r.isCompleted?Vp(r):s?(await r.blobClient.abortCopyFromURL(s,{abortSignal:e.abortSignal}),r.isCancelled=!0,Vp(r)):(r.isCancelled=!0,Vp(r))},xxe=async function(e={}){let r=this.state,{blobClient:s,copySource:n,startCopyFromURLOptions:i}=r;if(r.isStarted){if(!r.isCompleted)try{let o=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:a,copyProgress:c}=o,l=r.copyProgress;c&&(r.copyProgress=c),a==="pending"&&c!==l&&typeof e.fireProgress=="function"?e.fireProgress(r):a==="success"?(r.result=o,r.isCompleted=!0):a==="failed"&&(r.error=new Error(`Blob copy failed with reason: "${o.copyStatusDescription||"unknown"}"`),r.isCompleted=!0)}catch(o){r.error=o,r.isCompleted=!0}}else{r.isStarted=!0;let o=await s.startCopyFromURL(n,i);r.copyId=o.copyId,o.copyStatus==="success"&&(r.result=o,r.isCompleted=!0)}return Vp(r)},Nxe=function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})};function Vp(t){return{state:{...t},cancel:Qxe,toString:Nxe,update:xxe}}function qr(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}-`}var s8=require("events"),Yp;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(Yp||(Yp={}));var Jp=class{concurrency;actives=0;completed=0;offset=0;operations=[];state=Yp.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new s8.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(r){this.emitter.emit("error",r)}})}async do(){return this.operations.length===0?Promise.resolve():(this.parallelExecute(),new Promise((e,r)=>{this.emitter.on("finish",e),this.emitter.on("error",s=>{this.state=Yp.Error,r(s)})}))}nextOperation(){return this.offset=this.operations.length){this.emitter.emit("finish");return}for(;this.actives{let l=setTimeout(()=>c(new Error("The operation cannot be completed in timeout.")),1e5);t.on("readable",()=>{if(i>=o){clearTimeout(l),a();return}let u=t.read();if(!u)return;typeof u=="string"&&(u=Buffer.from(u,n));let A=i+u.length>o?o-i:u.length;e.fill(u.slice(0,A),r+i,r+i+A),i+=A}),t.on("end",()=>{clearTimeout(l),i{clearTimeout(l),c(u)})})}async function o8(t,e){return new Promise((r,s)=>{let n=iC.default.createWriteStream(e);t.on("error",i=>{s(i)}),n.on("error",i=>{s(i)}),n.on("close",r),t.pipe(n)})}var a8=n8.default.promisify(iC.default.stat),c8=iC.default.createReadStream;var Ao=class t extends bu{blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,s,n){n=n||{};let i,o;if(no(r))o=e,i=r;else if(Ne&&r instanceof tt||r instanceof Ye||As(r))o=e,n=s,i=ht(r,n);else if(!r&&typeof r!="string")o=e,s&&typeof s!="string"&&(n=s),i=ht(new Ye,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let a=r,c=s,l=hc(e);if(l.kind==="AccountConnString")if(Ne){let u=new tt(l.accountName,l.accountKey);o=vt(vt(l.url,encodeURIComponent(a)),encodeURIComponent(c)),n.proxyOptions||(n.proxyOptions=Ko(l.proxyUri)),i=ht(u,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(l.kind==="SASConnString")o=vt(vt(l.url,encodeURIComponent(a)),encodeURIComponent(c))+"?"+l.accountSas,i=ht(new Ye,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(o,i),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=fv(this.url,so.Parameters.SNAPSHOT),this._versionId=fv(this.url,so.Parameters.VERSIONID)}withSnapshot(e){return new t(Bu(this.url,so.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(Bu(this.url,so.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new aC(this.url,this.pipeline)}getBlockBlobClient(){return new Nu(this.url,this.pipeline)}getPageBlobClient(){return new cC(this.url,this.pipeline)}async download(e=0,r,s={}){return s.conditions=s.conditions||{},s.conditions=s.conditions||{},Pt(s.customerProvidedKey,this.isHttps),H.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:qr({offset:e,count:r}),rangeGetContentMD5:s.rangeGetContentMD5,rangeGetContentCRC64:s.rangeGetContentCrc64,snapshot:s.snapshot,cpkInfo:s.customerProvidedKey,tracingOptions:n.tracingOptions})),o={...i,_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:Hy(i.objectReplicationRules)};if(!Ne)return o;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 $y(o,async a=>{let c={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:qr({count:e+i.contentLength-a,offset:a}),rangeGetContentMD5:s.rangeGetContentMD5,rangeGetContentCRC64:s.rangeGetContentCrc64,snapshot:s.snapshot,cpkInfo:s.customerProvidedKey};return(await this.blobContext.download({abortSignal:s.abortSignal,...c})).readableStreamBody},e,i.contentLength,{maxRetryRequests:s.maxRetryRequests,onProgress:s.onProgress})})}async exists(e={}){return H.withSpan("BlobClient-exists",e,async r=>{try{return Pt(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===i4||s.details.errorCode===o4))return!0;throw s}})}async getProperties(e={}){return e.conditions=e.conditions||{},Pt(e.customerProvidedKey,this.isHttps),H.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:Hy(s.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},H.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 H.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 H.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||{},Pt(r.customerProvidedKey,this.isHttps),H.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||{},Pt(r.customerProvidedKey,this.isHttps),H.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 H.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:lW(e)})))}async getTags(e={}){return H.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:Gy({blobTagSet:s.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Fp(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},Pt(e.customerProvidedKey,this.isHttps),H.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:(...i)=>this.abortCopyFromURL(...i),getProperties:(...i)=>this.getProperties(...i),startCopyFromURL:(...i)=>this.startCopyFromURL(...i)},n=new nC({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 H.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||{},H.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:wu(r.sourceAuthorization),tier:oa(r.tier),blobTagsString:ia(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 H.withSpan("BlobClient-setAccessTier",r,async s=>J(await this.blobContext.setTier(oa(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,o=0,a=0,c=n;e instanceof Buffer?(i=e,o=r||0,a=typeof s=="number"?s:0):(o=typeof e=="number"?e:0,a=typeof r=="number"?r:0,c=s||{});let l=c.blockSize??0;if(l<0)throw new RangeError("blockSize option must be >= 0");if(l===0&&(l=4194304),o<0)throw new RangeError("offset option must be >= 0");if(a&&a<=0)throw new RangeError("count option must be greater than 0");return c.conditions||(c.conditions={}),H.withSpan("BlobClient-downloadToBuffer",c,async u=>{if(!a){let p=await this.getProperties({...c,tracingOptions:u.tracingOptions});if(a=p.contentLength-o,a<0)throw new RangeError(`offset ${o} shouldn't be larger than blob size ${p.contentLength}`)}if(!i)try{i=Buffer.alloc(a)}catch(p){throw new Error(`Unable to allocate the buffer of size: ${a}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${p.message}`)}if(i.length{let m=o+a;p+l{let o=await this.download(r,s,{...n,tracingOptions:i.tracingOptions});return o.readableStreamBody&&await o8(o.readableStreamBody,e),o.blobDownloadStream=void 0,o})}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(qy(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 H.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:oa(r.tier),blobTagsString:ia(r.tags),sealBlob:r.sealBlob,tracingOptions:s.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof tt))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let s=Mp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(Lp(this.url,s))})}generateSasStringToSign(e){if(!(this.credential instanceof tt))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return Op({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=Mp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();s(Lp(this.url,n))})}generateUserDelegationSasStringToSign(e,r){return Op({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return H.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>J(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return H.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 H.withSpan("BlobClient-setLegalHold",r,async s=>J(await this.blobContext.setLegalHold(e,{tracingOptions:s.tracingOptions})))}async getAccountInfo(e={}){return H.withSpan("BlobClient-getAccountInfo",e,async r=>J(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},aC=class t extends Ao{appendBlobContext;constructor(e,r,s,n){let i,o;if(n=n||{},no(r))o=e,i=r;else if(Ne&&r instanceof tt||r instanceof Ye||As(r))o=e,n=s,i=ht(r,n);else if(!r&&typeof r!="string")o=e,i=ht(new Ye,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let a=r,c=s,l=hc(e);if(l.kind==="AccountConnString")if(Ne){let u=new tt(l.accountName,l.accountKey);o=vt(vt(l.url,encodeURIComponent(a)),encodeURIComponent(c)),n.proxyOptions||(n.proxyOptions=Ko(l.proxyUri)),i=ht(u,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(l.kind==="SASConnString")o=vt(vt(l.url,encodeURIComponent(a)),encodeURIComponent(c))+"?"+l.accountSas,i=ht(new Ye,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(o,i),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t(Bu(this.url,so.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},Pt(e.customerProvidedKey,this.isHttps),H.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:ia(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:uS};return H.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||{},H.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||{},Pt(s.customerProvidedKey,this.isHttps),H.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||{},Pt(n.customerProvidedKey,this.isHttps),H.withSpan("AppendBlobClient-appendBlockFromURL",n,async i=>J(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:n.abortSignal,sourceRange:qr({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:wu(n.sourceAuthorization),cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:i.tracingOptions})))}},Nu=class t extends Ao{_blobContext;blockBlobContext;constructor(e,r,s,n){let i,o;if(n=n||{},no(r))o=e,i=r;else if(Ne&&r instanceof tt||r instanceof Ye||As(r))o=e,n=s,i=ht(r,n);else if(!r&&typeof r!="string")o=e,s&&typeof s!="string"&&(n=s),i=ht(new Ye,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let a=r,c=s,l=hc(e);if(l.kind==="AccountConnString")if(Ne){let u=new tt(l.accountName,l.accountKey);o=vt(vt(l.url,encodeURIComponent(a)),encodeURIComponent(c)),n.proxyOptions||(n.proxyOptions=Ko(l.proxyUri)),i=ht(u,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(l.kind==="SASConnString")o=vt(vt(l.url,encodeURIComponent(a)),encodeURIComponent(c))+"?"+l.accountSas,i=ht(new Ye,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(o,i),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t(Bu(this.url,so.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(Pt(r.customerProvidedKey,this.isHttps),!Ne)throw new Error("This operation currently is only supported in Node.js.");return H.withSpan("BlockBlobClient-query",r,async s=>{let n=J(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:Cv(r.inputTextConfiguration),outputSerialization:Cv(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:s.tracingOptions}));return new Yy(n,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,s={}){return s.conditions=s.conditions||{},Pt(s.customerProvidedKey,this.isHttps),H.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:oa(s.tier),blobTagsString:ia(s.tags),tracingOptions:n.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},Pt(r.customerProvidedKey,this.isHttps),H.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:wu(r.sourceAuthorization),tier:oa(r.tier),blobTagsString:ia(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}async stageBlock(e,r,s,n={}){return Pt(n.customerProvidedKey,this.isHttps),H.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 Pt(i.customerProvidedKey,this.isHttps),H.withSpan("BlockBlobClient-stageBlockFromURL",i,async o=>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:qr({offset:s,count:n}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:wu(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:o.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},Pt(r.customerProvidedKey,this.isHttps),H.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:oa(r.tier),blobTagsString:ia(r.tags),tracingOptions:s.tracingOptions})))}async getBlockList(e,r={}){return H.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 H.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,o)=>n.slice(i,i+o),n.byteLength,s)}else{let n=new Blob([e]);return this.uploadSeekableInternal((i,o)=>n.slice(i,i+o),n.size,s)}})}async uploadBrowserData(e,r={}){return H.withSpan("BlockBlobClient-uploadBrowserData",r,async s=>{let n=new Blob([e]);return this.uploadSeekableInternal((i,o)=>n.slice(i,i+o),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={}),H.withSpan("BlockBlobClient-uploadSeekableInternal",s,async o=>{if(r<=i)return J(await this.upload(e(0,r),r,o));let a=Math.floor((r-1)/n)+1;if(a>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 c=[],l=au(),u=0,A=new Jp(s.concurrency);for(let d=0;d{let p=gv(l,d),m=n*d,y=(d===a-1?r:m+n)-m;c.push(p),await this.stageBlock(p,e(m,y),y,{abortSignal:s.abortSignal,conditions:s.conditions,encryptionScope:s.encryptionScope,tracingOptions:o.tracingOptions}),u+=y,s.onProgress&&s.onProgress({loadedBytes:u})});return await A.do(),this.commitBlockList(c,o)})}async uploadFile(e,r={}){return H.withSpan("BlockBlobClient-uploadFile",r,async s=>{let n=(await a8(e)).size;return this.uploadSeekableInternal((i,o)=>()=>c8(e,{autoClose:!0,end:o?i+o-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={}),H.withSpan("BlockBlobClient-uploadStream",n,async i=>{let o=0,a=au(),c=0,l=[];return await new jE(e,r,s,async(A,d)=>{let p=gv(a,o);l.push(p),o++,await this.stageBlock(p,A,d,{customerProvidedKey:n.customerProvidedKey,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions}),c+=d,n.onProgress&&n.onProgress({loadedBytes:c})},Math.ceil(s/4*3)).do(),J(await this.commitBlockList(l,{...n,tracingOptions:i.tracingOptions}))})}},cC=class t extends Ao{pageBlobContext;constructor(e,r,s,n){let i,o;if(n=n||{},no(r))o=e,i=r;else if(Ne&&r instanceof tt||r instanceof Ye||As(r))o=e,n=s,i=ht(r,n);else if(!r&&typeof r!="string")o=e,i=ht(new Ye,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let a=r,c=s,l=hc(e);if(l.kind==="AccountConnString")if(Ne){let u=new tt(l.accountName,l.accountKey);o=vt(vt(l.url,encodeURIComponent(a)),encodeURIComponent(c)),n.proxyOptions||(n.proxyOptions=Ko(l.proxyUri)),i=ht(u,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(l.kind==="SASConnString")o=vt(vt(l.url,encodeURIComponent(a)),encodeURIComponent(c))+"?"+l.accountSas,i=ht(new Ye,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(o,i),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t(Bu(this.url,so.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},Pt(r.customerProvidedKey,this.isHttps),H.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:oa(r.tier),blobTagsString:ia(r.tags),tracingOptions:s.tracingOptions})))}async createIfNotExists(e,r={}){return H.withSpan("PageBlobClient-createIfNotExists",r,async s=>{try{let n={ifNoneMatch:uS},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||{},Pt(n.customerProvidedKey,this.isHttps),H.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:qr({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||{},Pt(i.customerProvidedKey,this.isHttps),H.withSpan("PageBlobClient-uploadPagesFromURL",i,async o=>J(await this.pageBlobContext.uploadPagesFromURL(e,qr({offset:r,count:n}),0,qr({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:wu(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:o.tracingOptions})))}async clearPages(e=0,r,s={}){return s.conditions=s.conditions||{},H.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:qr({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||{},H.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:qr({offset:e,count:r}),tracingOptions:n.tracingOptions}));return Jy(i)})}async listPageRangesSegment(e=0,r,s,n={}){return H.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:qr({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*Iv(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:(i={})=>this.listPageRangeItemSegments(e,r,i.continuationToken,{maxPageSize:i.maxPageSize,...s})}}async getPageRangesDiff(e,r,s,n={}){return n.conditions=n.conditions||{},H.withSpan("PageBlobClient-getPageRangesDiff",n,async i=>{let o=J(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevsnapshot:s,range:qr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return Jy(o)})}async listPageRangesDiffSegment(e,r,s,n,i={}){return H.withSpan("PageBlobClient-getPageRangesDiffSegment",i,async o=>J(await this.pageBlobContext.getPageRangesDiff({abortSignal:i?.abortSignal,leaseAccessConditions:i?.conditions,modifiedAccessConditions:{...i?.conditions,ifTags:i?.conditions?.tagConditions},prevsnapshot:s,range:qr({offset:e,count:r}),marker:n,maxPageSize:i?.maxPageSize,tracingOptions:o.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,s,n,i){let o;if(n||n===void 0)do o=await this.listPageRangesDiffSegment(e,r,s,n,i),n=o.continuationToken,yield await o;while(n)}async*listPageRangeDiffItems(e,r,s,n){let i;for await(let o of this.listPageRangeDiffItemSegments(e,r,s,i,n))yield*Iv(o)}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={})=>this.listPageRangeDiffItemSegments(e,r,s,o.continuationToken,{maxPageSize:o.maxPageSize,...n})}}async getPageRangesDiffForManagedDisks(e,r,s,n={}){return n.conditions=n.conditions||{},H.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",n,async i=>{let o=J(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevSnapshotUrl:s,range:qr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return Jy(o)})}async resize(e,r={}){return r.conditions=r.conditions||{},H.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||{},H.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 H.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 l8;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(l8||(l8={}));var u8;(function(t){t.AES256="AES256"})(u8||(u8={}));var lC=class extends Error{constructor(e){super(e),this.name="InvalidResponseError"}};var Su=class extends Error{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"}};Su.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Ic=class extends Error{constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries. Usage is recalculated every 6-12 hours. 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"}};Ic.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var Wp=class extends Error{constructor(e){super(e),this.name="RateLimitError"}};var Oxe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},tP=class{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);bt(`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=()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))};this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function A8(t,e,r){return Oxe(this,void 0,void 0,function*(){var s;let n=new Ao(t),i=n.getBlockBlobClient(),o=new tP((s=r?.archiveSizeBytes)!==null&&s!==void 0?s:0),a={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:o.onProgress()};try{o.startDisplayTimer(),N(`BlobClient: ${n.name}:${n.accountName}:${n.containerName}`);let c=yield i.uploadFile(e,a);if(c._response.status>=400)throw new lC(`uploadCacheArchiveSDK: upload failed with status code ${c._response.status}`);return c}catch(c){throw hn(`uploadCacheArchiveSDK: internal error uploading cache archive: ${c.message}`),c}finally{o.stopDisplayTimer()}})}var p8=B(require("buffer"),1),Bi=B(require("fs"),1),m8=B(require("stream"),1),h8=B(require("util"),1);var uC=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function AC(t){return t?t>=200&&t<300:!1}function Fxe(t){return t?t>=500:!0}function Uxe(t){return t?[et.BadGateway,et.ServiceUnavailable,et.GatewayTimeout].includes(t):!1}function qxe(t){return uC(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}function d8(t,e,r){return uC(this,arguments,void 0,function*(s,n,i,o=Lg,a=Mg,c=void 0){let l="",u=1;for(;u<=o;){let A,d,p=!1;try{A=yield n()}catch(m){c&&(A=c(m)),p=!0,l=m.message}if(A&&(d=i(A),!Fxe(d)))return A;if(d&&(p=Uxe(d),l=`Cache service responded with ${d}`),N(`${s} - Attempt ${u} of ${o} failed with error: ${l}`),!p){N(`${s} - Error is not retryable`);break}yield qxe(a),u++}throw Error(`${s} failed: ${l}`)})}function jp(t,e){return uC(this,arguments,void 0,function*(r,s,n=Lg,i=Mg){return yield d8(r,s,o=>o.statusCode,n,i,o=>{if(o instanceof Hn)return{statusCode:o.statusCode,result:null,headers:{},error:o}})})}function Ru(t,e){return uC(this,arguments,void 0,function*(r,s,n=Lg,i=Mg){return yield d8(r,s,o=>o.message.statusCode,n,i)})}var zs=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function Gxe(t,e){return zs(this,void 0,void 0,function*(){yield h8.promisify(m8.pipeline)(t.message,e)})}var dC=class{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,N(`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);bt(`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=()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))};this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function pC(t,e){return zs(this,void 0,void 0,function*(){let r=Bi.createWriteStream(e),s=new dr("actions/cache"),n=yield Ru("downloadCache",()=>zs(this,void 0,void 0,function*(){return s.get(t)}));n.message.socket.setTimeout(T0,()=>{n.message.destroy(),N(`Aborting download, socket timed out after ${T0} ms`)}),yield Gxe(n,r);let i=n.message.headers["content-length"];if(i){let o=parseInt(i),a=Wn(e);if(a!==o)throw new Error(`Incomplete download. Expected file size: ${o}, actual file size: ${a}`)}else N("Unable to validate download, no Content-Length header")})}function f8(t,e,r){return zs(this,void 0,void 0,function*(){var s;let n=yield Bi.promises.open(e,"w"),i=new dr("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let a=(yield Ru("downloadCacheMetadata",()=>zs(this,void 0,void 0,function*(){return yield i.request("HEAD",t,null,{})}))).message.headers["content-length"];if(a==null)throw new Error("Content-Length not found on blob response");let c=parseInt(a);if(Number.isNaN(c))throw new Error(`Could not interpret Content-Length: ${c}`);let l=[],u=4*1024*1024;for(let E=0;Ezs(this,void 0,void 0,function*(){return yield Hxe(i,t,E,C)})})}l.reverse();let A=0,d=0,p=new dC(c);p.startDisplayTimer();let m=p.onProgress(),f=[],y,g=()=>zs(this,void 0,void 0,function*(){let E=yield Promise.race(Object.values(f));yield n.write(E.buffer,0,E.count,E.offset),A--,delete f[E.offset],d+=E.count,m({loadedBytes:d})});for(;y=l.pop();)f[y.offset]=y.promiseGetter(),A++,A>=((s=r.downloadConcurrency)!==null&&s!==void 0?s:10)&&(yield g());for(;A>0;)yield g()}finally{i.dispose(),yield n.close()}})}function Hxe(t,e,r,s){return zs(this,void 0,void 0,function*(){let i=0;for(;;)try{let a=yield E8(3e4,zxe(t,e,r,s));if(typeof a=="string")throw new Error("downloadSegmentRetry failed due to timeout");return a}catch(o){if(i>=5)throw o;i++}})}function zxe(t,e,r,s){return zs(this,void 0,void 0,function*(){let n=yield Ru("downloadCachePart",()=>zs(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()}})}function g8(t,e,r){return zs(this,void 0,void 0,function*(){var s;let n=new Nu(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),o=(s=(yield n.getProperties()).contentLength)!==null&&s!==void 0?s:-1;if(o<0)N("Unable to determine content length, downloading file with http-client..."),yield pC(t,e);else{let a=Math.min(134217728,p8.constants.MAX_LENGTH),c=new dC(o),l=Bi.openSync(e,"w");try{c.startDisplayTimer();let u=new AbortController,A=u.signal;for(;!c.isDone();){let d=c.segmentOffset+c.segmentSize,p=Math.min(a,o-d);c.nextSegment(p);let m=yield E8(r.segmentTimeoutInMs||36e5,n.downloadToBuffer(d,p,{abortSignal:A,concurrency:r.downloadConcurrency,onProgress:c.onProgress()}));if(m==="timeout")throw u.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(m)&&Bi.writeFileSync(l,m)}}finally{c.stopDisplayTimer(),Bi.closeSync(l)}}})}var E8=(t,e)=>zs(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))});function rP(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),N(`Use Azure SDK: ${e.useAzureSdk}`),N(`Upload concurrency: ${e.uploadConcurrency}`),N(`Upload chunk size: ${e.uploadChunkSize}`),e}function y8(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),N(`Use Azure SDK: ${e.useAzureSdk}`),N(`Download concurrency: ${e.downloadConcurrency}`),N(`Request timeout (ms): ${e.timeoutInMs}`),N(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),N(`Segment download timeout (ms): ${e.segmentTimeoutInMs}`),N(`Lookup only: ${e.lookupOnly}`),e}function sP(){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}function Kp(){return sP()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}function mC(){let t=Kp();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}`)}}var w8=B(B8(),1);function hC(){return`@actions/cache-${w8.version}`}var Gr=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function Xp(t){let e=mC();if(!e)throw new Error("Cache Service Url not found, unable to restore cache.");let r=`${e}_apis/artifactcache/${t}`;return N(`Resource Url: ${r}`),r}function Yxe(t,e){return`${t};api-version=${e}`}function Jxe(){return{headers:{Accept:Yxe("application/json","6.0-preview.1")}}}function nP(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new zn(t);return new dr(hC(),[e],Jxe())}function x8(t,e,r){return Gr(this,void 0,void 0,function*(){let s=nP(),n=Zl(e,r?.compressionMethod,r?.enableCrossOsArchive),i=`cache?keys=${encodeURIComponent(t.join(","))}&version=${n}`,o=yield jp("getCacheEntry",()=>Gr(this,void 0,void 0,function*(){return s.getJson(Xp(i))}));if(o.statusCode===204)return $a()&&(yield Wxe(t[0],s,n)),null;if(!AC(o.statusCode))throw new Error(`Cache service responded with ${o.statusCode}`);let a=o.result,c=a?.archiveLocation;if(!c)throw new Error("Cache not found.");return zl(c),N("Cache Result:"),N(JSON.stringify(a)),a})}function Wxe(t,e,r){return Gr(this,void 0,void 0,function*(){let s=`caches?key=${encodeURIComponent(t)}`,n=yield jp("listCache",()=>Gr(this,void 0,void 0,function*(){return e.getJson(Xp(s))}));if(n.statusCode===200){let i=n.result,o=i?.totalCount;if(o&&o>0){N(`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 a of i?.artifactCaches||[])N(`Cache Key: ${a?.cacheKey}, Cache Version: ${a?.cacheVersion}, Cache Scope: ${a?.scope}, Cache Created: ${a?.creationTime}`)}}})}function iP(t,e,r){return Gr(this,void 0,void 0,function*(){let s=new Q8.URL(t),n=y8(r);s.hostname.endsWith(".blob.core.windows.net")?n.useAzureSdk?yield g8(t,e,n):n.concurrentBlobDownloads?yield f8(t,e,n):yield pC(t,e):yield pC(t,e)})}function N8(t,e,r){return Gr(this,void 0,void 0,function*(){let s=nP(),n=Zl(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:n,cacheSize:r?.cacheSize};return yield jp("reserveCache",()=>Gr(this,void 0,void 0,function*(){return s.postJson(Xp("caches"),i)}))})}function b8(t,e){return`bytes ${t}-${e}/*`}function jxe(t,e,r,s,n){return Gr(this,void 0,void 0,function*(){N(`Uploading chunk of size ${n-s+1} bytes at offset ${s} with content range: ${b8(s,n)}`);let i={"Content-Type":"application/octet-stream","Content-Range":b8(s,n)},o=yield Ru(`uploadChunk (start: ${s}, end: ${n})`,()=>Gr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!AC(o.message.statusCode))throw new Error(`Cache service responded with ${o.message.statusCode} during upload chunk.`)})}function Kxe(t,e,r,s){return Gr(this,void 0,void 0,function*(){let n=Wn(r),i=Xp(`caches/${e.toString()}`),o=Tu.openSync(r,"r"),a=rP(s),c=D0("uploadConcurrency",a.uploadConcurrency),l=D0("uploadChunkSize",a.uploadChunkSize),u=[...new Array(c).keys()];N("Awaiting all uploads");let A=0;try{yield Promise.all(u.map(()=>Gr(this,void 0,void 0,function*(){for(;ATu.createReadStream(r,{fd:o,start:p,end:m,autoClose:!1}).on("error",f=>{throw new Error(`Cache upload failed because file read failed with ${f.message}`)}),p,m)}})))}finally{Tu.closeSync(o)}})}function Xxe(t,e,r){return Gr(this,void 0,void 0,function*(){let s={size:r};return yield jp("commitCache",()=>Gr(this,void 0,void 0,function*(){return t.postJson(Xp(`caches/${e.toString()}`),s)}))})}function oP(t,e,r,s){return Gr(this,void 0,void 0,function*(){if(rP(s).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield A8(r,e,s)}else{let i=nP();N("Upload cache"),yield Kxe(i,t,e,s),N("Commiting cache");let o=Wn(e);bt(`Cache Size: ~${Math.round(o/(1024*1024))} MB (${o} B)`);let a=yield Xxe(i,t,o);if(!AC(a.statusCode))throw new Error(`Cache service responded with ${a.statusCode} during commit cache.`);bt("Cache saved successfully")}})}var I5=B(m5(),1),Et=B(gt(),1),fs=B(gt(),1),xc=B(gt(),1),Nc=B(gt(),1),Sc=B(gt(),1);var ek=B(gt(),1),tk=B(gt(),1),E5=B(gt(),1),y5=B(gt(),1),C5=B(gt(),1);var KP=B(gt(),1),XP=B(gt(),1),h5=B(gt(),1),f5=B(gt(),1),g5=B(gt(),1),ZP=class extends g5.MessageType{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,f5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,h5.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),o=e.pos+r;for(;e.poseI}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,y5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,E5.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),o=e.pos+r;for(;e.posNi},{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,Nc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,xc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),o=e.pos+r;for(;e.posNi},{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,Nc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,xc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),o=e.pos+r;for(;e.posNi},{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,Nc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,xc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),o=e.pos+r;for(;e.posuk.fromJson(n,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=Ak.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(n=>dk.fromJson(n,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=pk.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(n=>mk.fromJson(n,{ignoreUnknownFields:!0}))}};function B5(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(zl(r),zl(encodeURIComponent(r)))}catch(e){N(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}function w5(t){if(typeof t!="object"||t===null){N("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&B5(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&B5(t.signed_download_url)}var rI=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},hk=class{constructor(e,r,s,n){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=oY();this.baseUrl=mC(),r&&(this.maxAttempts=r),s&&(this.baseRetryIntervalMilliseconds=s),n&&(this.retryMultiplier=n),this.httpClient=new dr(e,[new zn(i)])}request(e,r,s,n){return rI(this,void 0,void 0,function*(){let i=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;N(`[Request] ${r} ${i}`);let o={"Content-Type":s};try{let{body:a}=yield this.retryableRequest(()=>rI(this,void 0,void 0,function*(){return this.httpClient.post(i,JSON.stringify(n),o)}));return a}catch(a){throw new Error(`Failed to ${r}: ${a.message}`)}})}retryableRequest(e){return rI(this,void 0,void 0,function*(){let r=0,s="",n="";for(;r0&&hn(`You've hit a rate limit, your rate limit will reset in ${A} seconds`)}throw new Wp(`Rate limited: ${s}`)}}catch(a){if(a instanceof SyntaxError&&N(`Raw Body: ${n}`),a instanceof Ic||a instanceof Wp)throw a;if(Su.isNetworkErrorCode(a?.code))throw new Su(a?.code);i=!0,s=a.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 o=this.getExponentialRetryTimeMilliseconds(r);bt(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${s}. Retrying request in ${o} ms...`),yield this.sleep(o),r++}throw new Error("Request failed")})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[et.BadGateway,et.GatewayTimeout,et.InternalServerError,et.ServiceUnavailable].includes(e):!1}sleep(e){return rI(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 fk(t){let e=new hk(hC(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new tI(e)}var sI=require("fs"),gs=B(require("path"),1);var mo=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},ua=process.platform==="win32";function cSe(){return mo(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield iY(),e=tY;if(t)return{path:t,type:os.GNU};if((0,sI.existsSync)(e))return{path:e,type:os.BSD};break}case"darwin":{let t=yield pt("gtar",!1);return t?{path:t,type:os.GNU}:{path:yield pt("tar",!0),type:os.BSD}}default:break}return{path:yield pt("tar",!0),type:os.GNU}})}function lSe(t,e,r){return mo(this,arguments,void 0,function*(s,n,i,o=""){let a=[`"${s.path}"`],c=Jo(n),l="cache.tar",u=b5(),A=s.type===os.BSD&&n!==gr.Gzip&&ua;switch(i){case"create":a.push("--posix","-cf",A?l:c.replace(new RegExp(`\\${gs.sep}`,"g"),"/"),"--exclude",A?l:c.replace(new RegExp(`\\${gs.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${gs.sep}`,"g"),"/"),"--files-from",P0);break;case"extract":a.push("-xf",A?l:o.replace(new RegExp(`\\${gs.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${gs.sep}`,"g"),"/"));break;case"list":a.push("-tf",A?l:o.replace(new RegExp(`\\${gs.sep}`,"g"),"/"),"-P");break}if(s.type===os.GNU)switch(process.platform){case"win32":a.push("--force-local");break;case"darwin":a.push("--delay-directory-restore");break}return a})}function gk(t,e){return mo(this,arguments,void 0,function*(r,s,n=""){let i,o=yield cSe(),a=yield lSe(o,r,s,n),c=s!=="create"?yield uSe(o,r,n):yield ASe(o,r),l=o.type===os.BSD&&r!==gr.Gzip&&ua;return l&&s!=="create"?i=[[...c].join(" "),[...a].join(" ")]:i=[[...a].join(" "),[...c].join(" ")],l?i:[i.join(" ")]})}function b5(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}function uSe(t,e,r){return mo(this,void 0,void 0,function*(){let s=t.type===os.BSD&&e!==gr.Gzip&&ua;switch(e){case gr.Zstd:return s?["zstd -d --long=30 --force -o",Jd,r.replace(new RegExp(`\\${gs.sep}`,"g"),"/")]:["--use-compress-program",ua?'"zstd -d --long=30"':"unzstd --long=30"];case gr.ZstdWithoutLong:return s?["zstd -d --force -o",Jd,r.replace(new RegExp(`\\${gs.sep}`,"g"),"/")]:["--use-compress-program",ua?'"zstd -d"':"unzstd"];default:return["-z"]}})}function ASe(t,e){return mo(this,void 0,void 0,function*(){let r=Jo(e),s=t.type===os.BSD&&e!==gr.Gzip&&ua;switch(e){case gr.Zstd:return s?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${gs.sep}`,"g"),"/"),Jd]:["--use-compress-program",ua?'"zstd -T0 --long=30"':"zstdmt --long=30"];case gr.ZstdWithoutLong:return s?["zstd -T0 --force -o",r.replace(new RegExp(`\\${gs.sep}`,"g"),"/"),Jd]:["--use-compress-program",ua?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}function Ek(t,e){return mo(this,void 0,void 0,function*(){for(let r of t)try{yield ns(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}`)}})}function pm(t,e){return mo(this,void 0,void 0,function*(){let r=yield gk(e,"list",t);yield Ek(r)})}function yk(t,e){return mo(this,void 0,void 0,function*(){let r=b5();yield Ss(r);let s=yield gk(e,"extract",t);yield Ek(s)})}function Ck(t,e,r){return mo(this,void 0,void 0,function*(){(0,sI.writeFileSync)(gs.join(t,P0),e.join(` `));let s=yield gk(r,"create");yield Ek(s,t)})}var Yu=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},Nn=class t extends Error{constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Vu=class t extends Error{constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},nI=class t extends Error{constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function Q5(t){if(!t||t.length===0)throw new Nn("Path Validation Error: At least one directory or file path is required")}function Ik(t){if(t.length>512)throw new Nn(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Nn(`Key Validation Error: ${t} cannot contain commas.`)}function Bk(){return Kp()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}function x5(t,e,r,s){return Yu(this,arguments,void 0,function*(n,i,o,a,c=!1){let l=Kp();return N(`Cache service version: ${l}`),Q5(n),l==="v2"?yield pSe(n,i,o,a,c):yield dSe(n,i,o,a,c)})}function dSe(t,e,r,s){return Yu(this,arguments,void 0,function*(n,i,o,a,c=!1){o=o||[];let l=[i,...o];if(N("Resolved Keys:"),N(JSON.stringify(l)),l.length>10)throw new Nn("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of l)Ik(d);let u=yield Kd(),A="";try{let d=yield x8(l,n,{compressionMethod:u,enableCrossOsArchive:c});if(!d?.archiveLocation)return;if(a?.lookupOnly)return bt("Lookup only - skipping download"),d.cacheKey;A=mm.join(yield Wd(),Jo(u)),N(`Archive Path: ${A}`),yield iP(d.archiveLocation,A,a),$a()&&(yield pm(A,u));let p=Wn(A);return bt(`Cache Size: ~${Math.round(p/(1024*1024))} MB (${p} B)`),yield yk(A,u),bt("Cache restored successfully"),d.cacheKey}catch(d){let p=d;if(p.name===Nn.name)throw d;p instanceof Hn&&typeof p.statusCode=="number"&&p.statusCode>=500?Pd(`Failed to restore: ${d.message}`):hn(`Failed to restore: ${d.message}`)}finally{try{yield jd(A)}catch(d){N(`Failed to delete archive: ${d}`)}}})}function pSe(t,e,r,s){return Yu(this,arguments,void 0,function*(n,i,o,a,c=!1){a=Object.assign(Object.assign({},a),{useAzureSdk:!0}),o=o||[];let l=[i,...o];if(N("Resolved Keys:"),N(JSON.stringify(l)),l.length>10)throw new Nn("Key Validation Error: Keys are limited to a maximum of 10.");for(let A of l)Ik(A);let u="";try{let A=fk(),d=yield Kd(),p={key:i,restoreKeys:o,version:Zl(n,d,c)},m=yield A.GetCacheEntryDownloadURL(p);if(!m.ok){N(`Cache not found for version ${p.version} of keys: ${l.join(", ")}`);return}if(p.key!==m.matchedKey?bt(`Cache hit for restore-key: ${m.matchedKey}`):bt(`Cache hit for: ${m.matchedKey}`),a?.lookupOnly)return bt("Lookup only - skipping download"),m.matchedKey;u=mm.join(yield Wd(),Jo(d)),N(`Archive path: ${u}`),N(`Starting download of archive to: ${u}`),yield iP(m.signedDownloadUrl,u,a);let y=Wn(u);return bt(`Cache Size: ~${Math.round(y/(1024*1024))} MB (${y} B)`),$a()&&(yield pm(u,d)),yield yk(u,d),bt("Cache restored successfully"),m.matchedKey}catch(A){let d=A;if(d.name===Nn.name)throw A;d instanceof Hn&&typeof d.statusCode=="number"&&d.statusCode>=500?Pd(`Failed to restore: ${A.message}`):hn(`Failed to restore: ${A.message}`)}finally{try{u&&(yield jd(u))}catch(A){N(`Failed to delete archive: ${A}`)}}})}function wk(t,e,r){return Yu(this,arguments,void 0,function*(s,n,i,o=!1){let a=Kp();return N(`Cache service version: ${a}`),Q5(s),Ik(n),a==="v2"?yield hSe(s,n,i,o):yield mSe(s,n,i,o)})}function mSe(t,e,r){return Yu(this,arguments,void 0,function*(s,n,i,o=!1){var a,c,l,u,A;let d=yield Kd(),p=-1,m=yield k0(s);if(N("Cache Paths:"),N(`${JSON.stringify(m)}`),m.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let f=yield Wd(),y=mm.join(f,Jo(d));N(`Archive Path: ${y}`);try{yield Ck(f,m,d),$a()&&(yield pm(y,d));let g=10*1024*1024*1024,E=Wn(y);if(N(`File Size: ${E}`),E>g&&!sP())throw new Error(`Cache size of ~${Math.round(E/(1024*1024))} MB (${E} B) is over the 10GB limit, not saving cache.`);N("Reserving Cache");let C=yield N8(n,s,{compressionMethod:d,enableCrossOsArchive:o,cacheSize:E});if(!((a=C?.result)===null||a===void 0)&&a.cacheId)p=(c=C?.result)===null||c===void 0?void 0:c.cacheId;else throw C?.statusCode===400?new Error((u=(l=C?.error)===null||l===void 0?void 0:l.message)!==null&&u!==void 0?u:`Cache size of ~${Math.round(E/(1024*1024))} MB (${E} B) is over the data cap limit, not saving cache.`):new Vu(`Unable to reserve cache with key ${n}, another job may be creating this cache. More details: ${(A=C?.error)===null||A===void 0?void 0:A.message}`);N(`Saving Cache (ID: ${p})`),yield oP(p,y,"",i)}catch(g){let E=g;if(E.name===Nn.name)throw g;E.name===Vu.name?bt(`Failed to save: ${E.message}`):E instanceof Hn&&typeof E.statusCode=="number"&&E.statusCode>=500?Pd(`Failed to save: ${E.message}`):hn(`Failed to save: ${E.message}`)}finally{try{yield jd(y)}catch(g){N(`Failed to delete archive: ${g}`)}}return p})}function hSe(t,e,r){return Yu(this,arguments,void 0,function*(s,n,i,o=!1){i=Object.assign(Object.assign({},i),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let a=yield Kd(),c=fk(),l=-1,u=yield k0(s);if(N("Cache Paths:"),N(`${JSON.stringify(u)}`),u.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 A=yield Wd(),d=mm.join(A,Jo(a));N(`Archive Path: ${d}`);try{yield Ck(A,u,a),$a()&&(yield pm(d,a));let p=Wn(d);N(`File Size: ${p}`),i.archiveSizeBytes=p,N("Reserving Cache");let m=Zl(s,a,o),f={key:n,version:m},y;try{let C=yield c.CreateCacheEntry(f);if(!C.ok)throw C.message&&hn(`Cache reservation failed: ${C.message}`),new Error(C.message||"Response was not ok");y=C.signedUploadUrl}catch(C){throw N(`Failed to reserve cache: ${C}`),new Vu(`Unable to reserve cache with key ${n}, another job may be creating this cache.`)}N(`Attempting to upload cache located at: ${d}`),yield oP(l,d,y,i);let g={key:n,version:m,sizeBytes:`${p}`},E=yield c.FinalizeCacheEntryUpload(g);if(N(`FinalizeCacheEntryUploadResponse: ${E.ok}`),!E.ok)throw E.message?new nI(E.message):new Error(`Unable to finalize cache with key ${n}, another job may be finalizing this cache.`);l=parseInt(E.entryId)}catch(p){let m=p;if(m.name===Nn.name)throw p;m.name===Vu.name?bt(`Failed to save: ${m.message}`):m.name===nI.name?hn(m.message):m instanceof Hn&&typeof m.statusCode=="number"&&m.statusCode>=500?Pd(`Failed to save: ${m.message}`):hn(`Failed to save: ${m.message}`)}finally{try{yield jd(d)}catch(p){N(`Failed to delete archive: ${p}`)}}return l})}var N5=B(require("util"),1),Si=class t{opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=N5.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=Qk.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=Qk.default.join(this.cacheDir,this.opts.cacheFile),iI.default.existsSync(this.cacheDir)||iI.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){re(`Cache.save ${e}`);let s=this.copyToCache(e),n=await Sd(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform());if(re(`Cache.save cached to hosted tool cache ${n}`),!this.ghaNoCache&&Bk())if(r)try{re(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await wk([this.cacheDir],this.ghaCacheKey)}catch(i){pn(`Failed to save cache: ${i}`)}else re(`Cache.save sending ${this.ghaCacheKey} to post state`),Gl(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return s}async find(){try{let e=wz(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return $(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&Bk()){if(re("GitHub Actions cache feature available"),await x5([this.cacheDir],this.ghaCacheKey))return $(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),e=await Sd(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform()),$(`Cached to hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`)}else this.ghaNoCache?$("GitHub Actions cache disabled"):$("GitHub Actions cache feature not available")}catch(e){pn(`Failed to restore cache: ${e}`)}return""}static async post(){let e=BG(t.POST_CACHE_KEY);if(!e)return $("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{$(`Caching ${r.key} to GitHub Actions cache`),await wk([r.dir],r.key)}catch(s){pn(`Failed to save cache: ${s}`)}return r}copyToCache(e){return $(`Copying ${e} to ${this.cachePath}`),iI.default.copyFileSync(e,this.cachePath),this.cachePath}platform(){let e=process.config.variables.arm_version;return`${bk.default.platform()}-${bk.default.arch()}${e?"v"+e:""}`}};var S5=!!process.env.STATE_isPost;S5||Gl("isPost","true");async function R5(t,e){if(S5)e&&await e(),await he("Post cache",async()=>{await Si.post()});else try{await t()}catch(r){IG(r.message)}}var zX=B(require("child_process"),1),Lt=B(require("fs"),1),$X=B(require("fs/promises"),1),Yr=B(require("os"),1),Nt=B(require("path"),1),VX=B(L5(),1),dA=B(ED(),1);var bD=B(require("fs"),1),z9=B(require("os"),1),$9=B(require("path"),1),V9=B(H9(),1),Vr=class t{static _tmpDir=bD.default.mkdtempSync($9.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||z9.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return bD.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return V9.tmpNameSync(e)}};var RD=B(require("fs"),1),e6=B(require("os"),1),Tm=B(require("path"),1);var de=class{static async exec(e,r,s){return re(`Exec.exec: ${e} ${r?.join(" ")}`),ns(e,r,s)}static async getExecOutput(e,r,s){return re(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),Fl(e,r,s)}};var SD=B(require("crypto"),1),X9=B(require("fs"),1),Rm=B(require("path"),1),Z9=B(ED(),1);var we=class t extends Error{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 o in i){let a=i[o];this[o]=Buffer.isBuffer(a)?a.toString(s.encoding):a==null?a:JSON.parse(JSON.stringify(a))}}};var Y9=function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)};var $I=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}},xD=QD;var Pve=12,kve=13,Dve=10,_ve=32,Lve=9,J9=function(t){return{bomSkipped:!1,bufBytesStart:0,castField:t.cast_function,commenting:!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 xD(20),firstLineToHeaders:t.cast_first_line_to_header,needMoreDataSize:Math.max(t.comment!==null?t.comment.length:0,...t.delimiter.map(e=>e.length),t.quote!==null?t.quote.length:0),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new xD(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:t.record_delimiter.length===0?0:Math.max(...t.record_delimiter.map(e=>e.length)),trimChars:[Buffer.from(" ",t.encoding)[0],Buffer.from(" ",t.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:[Buffer.from(Buffer.from([kve],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([Dve],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([Pve],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([_ve],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([Lve],"utf8").toString(),t.encoding)]}};var W9=function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})};var ND=function(t){let e={};for(let s in t)e[W9(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 we("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 we("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 we("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 we("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=$I(e.columns);else if(e.columns===void 0||e.columns===null||e.columns===!1)e.columns=!1;else throw new we("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 we("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 we("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 we("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 we("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(e.comment_no_infix)}`],e);let r=JSON.stringify(e.delimiter);if(Array.isArray(e.delimiter)||(e.delimiter=[e.delimiter]),e.delimiter.length===0)throw new we("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],e);if(e.delimiter=e.delimiter.map(function(s){if(s==null||s===!1)return Buffer.from(",",e.encoding);if(typeof s=="string"&&(s=Buffer.from(s,e.encoding)),!Buffer.isBuffer(s)||s.length===0)throw new we("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 we("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 we("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 we("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 we("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 we("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 we("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 we("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};var j9=function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},Mve=13,Ove=10,oA={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},K9=function(t={}){let e={bytes:0,bytes_records:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},r=ND(t);return{info:e,original_options:t,options:r,state:J9(r),__needMoreData:function(s,n,i){if(i)return!1;let{encoding:o,escape:a,quote:c}=this.options,{quoting:l,needMoreDataSize:u,recordDelimiterMaxLength:A}=this.state,d=n-s-1,p=Math.max(u,A===0?Buffer.from(`\r `,o).length:A,l?(a===null?0:a.length)+c.length:0,l?c.length+A:0);return dE){this.state.stop=!0,o();return}this.state.quoting===!1&&P.length===0&&this.__autoDiscoverRecordDelimiter(z,U)&&(P=this.options.record_delimiter);let ye=z[U];if(p===!0&&be.append(ye),(ye===Mve||ye===Ove)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(I!==null&&this.state.quoting===!0&&this.__isEscape(z,U,ye)&&U+I.lengthoA[Tn].equals(this.state.field.toString())?Tn:!1).filter(Boolean)[0],Jr=this.__error(new we("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(lt.column)} at line ${lt.lines}, value is ${JSON.stringify(this.state.field.toString(l))}`,ki?`(${ki} bom)`:void 0],this.options,lt,{field:this.state.field}));if(Jr!==void 0)return Jr}}else{this.state.quoting=!0,U+=Q.length-1;continue}if(this.state.quoting===!1){let lt=this.__isRecordDelimiter(ye,z,U);if(lt!==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)>=u){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),U+=lt-1;continue}if(y===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,U+=lt-1;continue}this.info.bytes=this.state.bufBytesStart+U;let Tn=this.__onField();if(Tn!==void 0)return Tn;this.info.bytes=this.state.bufBytesStart+U+lt;let fa=this.__onRecord(i);if(fa!==void 0)return fa;if(g!==-1&&this.info.records>=g){this.state.stop=!0,o();return}}this.state.commenting=!1,U+=lt-1;continue}if(this.state.commenting)continue;if(C!==null&&(c===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(C,z,U,ye)!==0){this.state.commenting=!0;continue}let ki=this.__isDelimiter(z,U,ye);if(ki!==0){this.info.bytes=this.state.bufBytesStart+U;let Jr=this.__onField();if(Jr!==void 0)return Jr;U+=ki-1;continue}}}if(this.state.commenting===!1&&d!==0&&this.state.record_length+this.state.field.length>d)return this.__error(new we("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${d}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let It=A===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(z,U),Ke=f===!1||this.state.wasQuoting===!1;if(It===!0&&Ke===!0)this.state.field.append(ye);else{if(f===!0&&!this.__isCharTrimable(z,U))return this.__error(new we("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()));It===!1&&(U+=this.__isCharTrimable(z,U)-1);continue}}if(n===!0)if(this.state.quoting===!0){let ye=this.__error(new we("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(ye!==void 0)return ye}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+U;let ye=this.__onField();if(ye!==void 0)return ye;let It=this.__onRecord(i);if(It!==void 0)return It}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=U,this.state.previousBuf=z.slice(U);this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1)},__onRecord:function(s){let{columns:n,group_columns_by_name:i,encoding:o,info:a,from:c,relax_column_count:l,relax_column_count_less:u,relax_column_count_more:A,raw:d,skip_records_with_empty_values:p}=this.options,{enabled:m,record:f}=this.state;if(m===!1)return this.__resetRecord();let y=f.length;if(n===!0){if(p===!0&&j9(f)){this.__resetRecord();return}return this.__firstLineToColumns(f)}if(n===!1&&this.info.records===0&&(this.state.expectedRecordLength=y),y!==this.state.expectedRecordLength){let g=n===!1?new we("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${y} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f}):new we("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${n.length},`,`got ${y} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f});if(l===!0||u===!0&&ythis.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=g;else{let E=this.__error(g);if(E)return E}}if(p===!0&&j9(f)){this.__resetRecord();return}if(this.state.recordHasError===!0){this.__resetRecord(),this.state.recordHasError=!1;return}if(this.info.records++,c===1||this.info.records>=c){let{objname:g}=this.options;if(n!==!1){let E={};for(let C=0,I=f.length;C{let{timchars:c}=this.state;e:for(let l=0;l=0},__compareBytes:function(s,n,i,o){if(s[0]!==o)return 0;let a=s.length;for(let c=1;cthis.state.record.length?s[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}};var VI=function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?{}:[],s=K9(e),n=a=>{s.options.objname===void 0?r.push(a):r[a[0]]=a[1]},i=()=>{},o=s.parse(t,!0,n,i);if(o!==void 0)throw o;return r};var wr=class t{static getInputList(e,r){return this.getList(dn(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let s=[];if(e=="")return s;let n=VI(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=dn(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let s=0;ssetTimeout(r,e*1e3))}static hash(e){return SD.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 SD.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,s){return Z9.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=Rm.default.resolve(e);return Rm.default.resolve(r).startsWith(s.endsWith(Rm.default.sep)?s:`${s}${Rm.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,o=[];return s&&o.push(`${s}h`),n&&o.push(`${n}m`),(i||o.length===0)&&o.push(`${i}s`),o.join("")}};var or=class t{static get configDir(){return process.env.DOCKER_CONFIG||Tm.default.join(e6.default.homedir(),".docker")}static configFile(){let e=Tm.default.join(t.configDir,"config.json");if(RD.default.existsSync(e))return JSON.parse(RD.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await pt("docker",!0).then(e=>(re(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(re(`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,"--"),o=new Si({htcName:n,htcVersion:i,baseCacheDir:Tm.default.join(t.configDir,".cache","images",n),cacheFile:"image.tar"}),a;r&&(a=await o.find(),a&&($(`Image found from cache in ${a}`),await t.getExecOutput(["load","-i",a],{ignoreReturnCode:!0}).then(l=>{l.stderr.length>0&&l.exitCode!=0&&pn(`Failed to load image from cache: ${l.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`)})));let c=!0;if(await t.getExecOutput(["pull",e],{ignoreReturnCode:!0}).then(l=>{if(l.stderr.length>0&&l.exitCode!=0){c=!1;let u=l.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error";if(a)pn(`Failed to pull image, using one from cache: ${u}`);else throw new Error(u)}}),r&&c){let l=Tm.default.join(Vr.tmpDir(),`${wr.hash(e)}.tar`);await t.getExecOutput(["save","-o",l,e],{ignoreReturnCode:!0}).then(async u=>{if(u.stderr.length>0&&u.exitCode!=0)pn(`Failed to save image: ${u.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);else{let A=await o.save(l);$(`Image cached to ${A}`)}})}}};var YI=require("fs"),t6=require("os"),aA=class{constructor(){var e,r,s;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,YI.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,YI.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${t6.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 kD=B(o6(),1),a6=B(pd(),1),Kve=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function c6(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}`}function l6(t){return new kD.HttpClient().getAgent(t)}function Xve(t){return new kD.HttpClient().getAgentDispatcher(t)}function u6(t){let e=Xve(t);return(s,n)=>Kve(this,void 0,void 0,function*(){return(0,a6.fetch)(s,Object.assign(Object.assign({},n),{dispatcher:e}))})}function A6(){return process.env.GITHUB_API_URL||"https://api.github.com"}function DD(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}function pa(){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})`:""}function eB(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)=>eB.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))}function d6(t,e,r,s){let n=s;t.registry[r]||(t.registry[r]=[]),e==="before"&&(s=(i,o)=>Promise.resolve().then(n.bind(null,o)).then(i.bind(null,o))),e==="after"&&(s=(i,o)=>{let a;return Promise.resolve().then(i.bind(null,o)).then(c=>(a=c,n(a,o))).then(()=>a)}),e==="error"&&(s=(i,o)=>Promise.resolve().then(i.bind(null,o)).catch(a=>n(a,o))),t.registry[r].push({hook:s,orig:n})}function p6(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)}var m6=Function.bind,h6=m6.bind(m6);function f6(t,e,r){let s=h6(p6,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]=h6(d6,null).apply(null,i)})}function ePe(){let t=Symbol("Singular"),e={registry:{}},r=eB.bind(null,e,t);return f6(r,e,t),r}function tPe(){let t={registry:{}},e=eB.bind(null,t);return f6(e,t),e}var g6={Singular:ePe,Collection:tPe};var rPe="0.0.0-development",sPe=`octokit-endpoint.js/${rPe} ${pa()}`,nPe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":sPe},mediaType:{format:""}};function iPe(t){return t?Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}):{}}function oPe(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)}function C6(t,e){let r=Object.assign({},t);return Object.keys(e).forEach(s=>{oPe(e[s])?s in t?r[s]=C6(t[s],e[s]):Object.assign(r,{[s]:e[s]}):Object.assign(r,{[s]:e[s]})}),r}function E6(t){for(let e in t)t[e]===void 0&&delete t[e];return t}function LD(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=iPe(r.headers),E6(r),E6(r.headers);let s=C6(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}function aPe(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("&")}var cPe=/\{[^{}}]+\}/g;function lPe(t){return t.replace(/(?:^\W+)|(?:(?r.concat(s),[]):[]}function y6(t,e){let r={__proto__:null};for(let s of Object.keys(t))e.indexOf(s)===-1&&(r[s]=t[s]);return r}function I6(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("")}function lA(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function Pm(t,e,r){return e=t==="+"||t==="#"?I6(e):lA(e),r?lA(r)+"="+e:e}function cA(t){return t!=null}function _D(t){return t===";"||t==="&"||t==="?"}function APe(t,e,r,s){var n=t[r],i=[];if(cA(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(Pm(e,n,_D(e)?r:""));else if(s==="*")Array.isArray(n)?n.filter(cA).forEach(function(o){i.push(Pm(e,o,_D(e)?r:""))}):Object.keys(n).forEach(function(o){cA(n[o])&&i.push(Pm(e,n[o],o))});else{let o=[];Array.isArray(n)?n.filter(cA).forEach(function(a){o.push(Pm(e,a))}):Object.keys(n).forEach(function(a){cA(n[a])&&(o.push(lA(a)),o.push(Pm(e,n[a].toString())))}),_D(e)?i.push(lA(r)+"="+o.join(",")):o.length!==0&&i.push(o.join(","))}else e===";"?cA(n)&&i.push(lA(r)):n===""&&(e==="&"||e==="?")?i.push(lA(r)+"="):n===""&&i.push("");return i}function dPe(t){return{expand:pPe.bind(null,t)}}function pPe(t,e){var r=["+","#",".","/",";","?","&"];return t=t.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(s,n,i){if(n){let a="",c=[];if(r.indexOf(n.charAt(0))!==-1&&(a=n.charAt(0),n=n.substr(1)),n.split(/,/g).forEach(function(l){var u=/([^:\*]*)(?::(\d+)|(\*))?/.exec(l);c.push(APe(e,a,u[1],u[2]||u[3]))}),a&&a!=="+"){var o=",";return a==="?"?o="&":a!=="#"&&(o=a),(c.length!==0?a:"")+c.join(o)}else return c.join(",")}else return I6(i)}),t==="/"?t:t.replace(/\/$/,"")}function B6(t){let e=t.method.toUpperCase(),r=(t.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),s=Object.assign({},t.headers),n,i=y6(t,["method","baseUrl","url","headers","request","mediaType"]),o=uPe(r);r=dPe(r).expand(i),/^http/.test(r)||(r=t.baseUrl+r);let a=Object.keys(t).filter(u=>o.includes(u)).concat("baseUrl"),c=y6(i,a);if(!/application\/octet-stream/i.test(s.accept)&&(t.mediaType.format&&(s.accept=s.accept.split(/,/).map(u=>u.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${t.mediaType.format}`)).join(",")),r.endsWith("/graphql")&&t.mediaType.previews?.length)){let u=s.accept.match(/(?{let d=t.mediaType.format?`.${t.mediaType.format}`:"+json";return`application/vnd.github.${A}-preview${d}`}).join(",")}return["GET","HEAD"].includes(e)?r=aPe(r,c):"data"in c?n=c.data:Object.keys(c).length&&(n=c),!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)}function mPe(t,e,r){return B6(LD(t,e,r))}function w6(t,e){let r=LD(t,e),s=mPe.bind(null,r);return Object.assign(s,{DEFAULTS:r,defaults:w6.bind(null,r),merge:LD.bind(null,r),parse:B6})}var b6=w6(null,nPe);var _6=B(S6(),1);var T6=/^-?\d+n+$/,MD=JSON.stringify,R6=JSON.parse,v6=(t,e,r)=>{if("rawJSON"in JSON)return MD(t,(c,l)=>typeof l=="bigint"?JSON.rawJSON(l.toString()):typeof e=="function"?e(c,l):(Array.isArray(e)&&e.includes(c),l),r);if(!t)return MD(t,e,r);let s=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,n=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g;return MD(t,(c,l)=>typeof l=="string"&&!!l.match(T6)||typeof l=="bigint"?l.toString()+"n":typeof e=="function"?e(c,l):(Array.isArray(e)&&e.includes(c),l),r).replace(s,"$1$2$3").replace(n,"$1$2$3")},hPe=()=>JSON.parse("1",(t,e,r)=>!!r&&r.source==="1"),fPe=(t,e)=>{let r=/^-?\d+$/;return JSON.parse(t,(s,n,i)=>{let o=typeof n=="number"&&(n>Number.MAX_SAFE_INTEGER||n{if(!t)return R6(t,e);if(hPe())return fPe(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+"$/,o=/^-?\d+n$/,a=t.replace(n,(c,l,u,A)=>{let d=c[0]==='"';if(d&&!!c.match(i))return c.substring(0,c.length-1)+'n"';let m=u||A,f=l&&(l.lengthtypeof l=="string"&&!!l.match(o)?BigInt(l.substring(0,l.length-1)):typeof l=="string"&&!!l.match(T6)?l.substring(0,l.length-1):typeof e!="function"?l:e(c,l,u))};var Mc=class extends Error{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(/(?"";async function D6(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=yPe(t.body)||Array.isArray(t.body)?v6(t.body):t.body,i=Object.fromEntries(Object.entries(t.headers).map(([A,d])=>[A,String(d)])),o;try{o=await e(t.url,{method:t.method,body:n,redirect:t.request?.redirect,headers:i,signal:t.request?.signal,...t.body&&{duplex:"half"}})}catch(A){let d="Unknown Error";if(A instanceof Error){if(A.name==="AbortError")throw A.status=500,A;d=A.message,A.name==="TypeError"&&"cause"in A&&(A.cause instanceof Error?d=A.cause.message:typeof A.cause=="string"&&(d=A.cause))}let p=new Mc(d,500,{request:t});throw p.cause=A,p}let a=o.status,c=o.url,l={};for(let[A,d]of o.headers)l[A]=d;let u={url:c,status:a,headers:l,data:""};if("deprecation"in l){let A=l.link&&l.link.match(/<([^<>]+)>; rel="deprecation"/),d=A&&A.pop();r.warn(`[@octokit/request] "${t.method} ${t.url}" is deprecated. It is scheduled to be removed on ${l.sunset}${d?`. See ${d}`:""}`)}if(a===204||a===205)return u;if(t.method==="HEAD"){if(a<400)return u;throw new Mc(o.statusText,a,{response:u,request:t})}if(a===304)throw u.data=await OD(o),new Mc("Not modified",a,{response:u,request:t});if(a>=400)throw u.data=await OD(o),new Mc(IPe(u.data),a,{response:u,request:t});return u.data=s?await OD(o):o.body,u}async function OD(t){let e=t.headers.get("content-type");if(!e)return t.text().catch(k6);let r=(0,_6.safeParse)(e);if(CPe(r)){let s="";try{return s=await t.text(),P6(s)}catch{return s}}else return r.type.startsWith("text/")||r.parameters.charset?.toLowerCase()==="utf-8"?t.text().catch(k6):t.arrayBuffer().catch(()=>new ArrayBuffer(0))}function CPe(t){return t.type==="application/json"||t.type==="application/scim+json"}function IPe(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)}`}function FD(t,e){let r=t.defaults(e);return Object.assign(function(n,i){let o=r.merge(n,i);if(!o.request||!o.request.hook)return D6(r.parse(o));let a=(c,l)=>D6(r.parse(r.merge(c,l)));return Object.assign(a,{endpoint:r,defaults:FD.bind(null,r)}),o.request.hook(a,o)},{endpoint:r,defaults:FD.bind(null,r)})}var Dm=FD(b6,EPe);var BPe="0.0.0-development";function wPe(t){return`Request failed due to following response errors: `+t.errors.map(e=>` - ${e.message}`).join(` `)}var bPe=class extends Error{constructor(t,e,r){super(wPe(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},QPe=["method","baseUrl","url","headers","request","query","mediaType","operationName"],xPe=["query","method","url"],L6=/\/api\/v3\/?$/;function NPe(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 o in r)if(xPe.includes(o))return Promise.reject(new Error(`[@octokit/graphql] "${o}" cannot be used as variable name`))}let s=typeof e=="string"?Object.assign({query:e},r):e,n=Object.keys(s).reduce((o,a)=>QPe.includes(a)?(o[a]=s[a],o):(o.variables||(o.variables={}),o.variables[a]=s[a],o),{}),i=s.baseUrl||t.endpoint.DEFAULTS.baseUrl;return L6.test(i)&&(n.url=i.replace(L6,"/api/graphql")),t(n).then(o=>{if(o.data.errors){let a={};for(let c of Object.keys(o.headers))a[c]=o.headers[c];throw new bPe(n,a,o.data)}return o.data.data})}function UD(t,e){let r=t.defaults(e);return Object.assign((n,i)=>NPe(r,n,i),{defaults:UD.bind(null,r),endpoint:r.endpoint})}var Q7e=UD(Dm,{headers:{"user-agent":`octokit-graphql.js/${BPe} ${pa()}`},method:"POST",url:"/graphql"});function M6(t){return UD(t,{method:"POST",url:"/graphql"})}var qD="(?:[a-zA-Z0-9_-]+)",O6="\\.",F6=new RegExp(`^${qD}${O6}${qD}${O6}${qD}$`),SPe=F6.test.bind(F6);async function RPe(t){let e=SPe(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"}}function TPe(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}async function vPe(t,e,r,s){let n=e.endpoint.merge(r,s);return n.headers.authorization=TPe(t),e(n)}var U6=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(RPe.bind(null,e),{hook:vPe.bind(null,e)})};var GD="7.0.6";var q6=()=>{},PPe=console.warn.bind(console),kPe=console.error.bind(console);function DPe(t={}){return typeof t.debug!="function"&&(t.debug=q6),typeof t.info!="function"&&(t.info=q6),typeof t.warn!="function"&&(t.warn=PPe),typeof t.error!="function"&&(t.error=kPe),t}var G6=`octokit-core.js/${GD} ${pa()}`,nB=class{static VERSION=GD;static defaults(e){return class extends this{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 plugins=r.concat(e.filter(n=>!r.includes(n)))}}constructor(e={}){let r=new g6.Collection,s={baseUrl:Dm.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} ${G6}`:G6,e.baseUrl&&(s.baseUrl=e.baseUrl),e.previews&&(s.mediaType.previews=e.previews),e.timeZone&&(s.headers["time-zone"]=e.timeZone),this.request=Dm.defaults(s),this.graphql=M6(this.request).defaults(s),this.log=DPe(e.log),this.hook=r,e.authStrategy){let{authStrategy:i,...o}=e,a=i(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:o},e.auth));r.wrap("request",a.hook),this.auth=a}else if(!e.auth)this.auth=async()=>({type:"unauthenticated"});else{let i=U6(e.auth);r.wrap("request",i.hook),this.auth=i}let n=this.constructor;for(let i=0;i({async next(){if(!a)return{done:!0};try{let c=await n({method:i,url:a,headers:o}),l=UPe(c);if(a=((l.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1],!a&&"total_commits"in l.data){let u=new URL(l.url),A=u.searchParams,d=parseInt(A.get("page")||"1",10),p=parseInt(A.get("per_page")||"250",10);d*p{if(n.done)return e;let i=!1;function o(){i=!0}return e=e.concat(s?s(n.value,o):n.value.data),i?e:$6(t,e,r,s)})}var V7e=Object.assign(z6,{iterator:VD});function YD(t){return{paginate:Object.assign(z6.bind(null,t),{iterator:VD.bind(null,t)})}}YD.VERSION=FPe;var K7e=new aA,JD=A6(),qPe={baseUrl:JD,request:{agent:l6(JD),fetch:u6(JD)}},V6=nB.plugin($D,YD).defaults(qPe);function Y6(t,e){let r=Object.assign({},e||{}),s=c6(t,r);s&&(r.auth=s);let n=DD(r.userAgent);return n&&(r.userAgent=n),r}var uA=new aA;function J6(t,e,...r){let s=V6.plugin(...r);return new s(Y6(t,e))}var Lm=B(require("http"),1),XD=B(require("https"),1);function WD(t){let e=t.protocol==="https:";if(HPe(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 iB(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new iB(`http://${r}`)}else return}function HPe(t){if(!t.hostname)return!1;let e=t.hostname;if(zPe(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(o=>o.trim().toUpperCase()).filter(o=>o))if(i==="*"||n.some(o=>o===i||o.endsWith(`.${i}`)||i.startsWith(".")&&o.endsWith(`${i}`)))return!0;return!1}function zPe(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}var iB=class extends URL{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 ma=B(Zm(),1),W6=B(pd(),1),Ct=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{l(s.next(u))}catch(A){o(A)}}function c(u){try{l(s.throw(u))}catch(A){o(A)}}function l(u){u.done?i(u.value):n(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},Xs;(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"})(Xs||(Xs={}));var Qr;(function(t){t.Accept="accept",t.ContentType="content-type"})(Qr||(Qr={}));var Co;(function(t){t.ApplicationJson="application/json"})(Co||(Co={}));var VPe=[Xs.MovedPermanently,Xs.ResourceMoved,Xs.SeeOther,Xs.TemporaryRedirect,Xs.PermanentRedirect],YPe=[Xs.BadGateway,Xs.ServiceUnavailable,Xs.GatewayTimeout],JPe=["OPTIONS","GET","DELETE","HEAD"],WPe=10,jPe=5,jD=class t extends Error{constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},KD=class{constructor(e){this.message=e}readBody(){return Ct(this,void 0,void 0,function*(){return new Promise(e=>Ct(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 Ct(this,void 0,void 0,function*(){return new Promise(e=>Ct(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 oB=class{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 Ct(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Ct(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Ct(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return Ct(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return Ct(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return Ct(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return Ct(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return Ct(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return Ct(this,arguments,void 0,function*(r,s={}){s[Qr.Accept]=this._getExistingOrDefaultHeader(s,Qr.Accept,Co.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return Ct(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[Qr.Accept]=this._getExistingOrDefaultHeader(i,Qr.Accept,Co.ApplicationJson),i[Qr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Co.ApplicationJson);let a=yield this.post(s,o,i);return this._processResponse(a,this.requestOptions)})}putJson(e,r){return Ct(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[Qr.Accept]=this._getExistingOrDefaultHeader(i,Qr.Accept,Co.ApplicationJson),i[Qr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Co.ApplicationJson);let a=yield this.put(s,o,i);return this._processResponse(a,this.requestOptions)})}patchJson(e,r){return Ct(this,arguments,void 0,function*(s,n,i={}){let o=JSON.stringify(n,null,2);i[Qr.Accept]=this._getExistingOrDefaultHeader(i,Qr.Accept,Co.ApplicationJson),i[Qr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Co.ApplicationJson);let a=yield this.patch(s,o,i);return this._processResponse(a,this.requestOptions)})}request(e,r,s,n){return Ct(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),o=this._prepareRequest(e,i,n),a=this._allowRetries&&JPe.includes(e)?this._maxRetries+1:1,c=0,l;do{if(l=yield this.requestRaw(o,s),l&&l.message&&l.message.statusCode===Xs.Unauthorized){let A;for(let d of this.handlers)if(d.canHandleAuthentication(l)){A=d;break}return A?A.handleAuthentication(this,o,s):l}let u=this._maxRedirects;for(;l.message.statusCode&&VPe.includes(l.message.statusCode)&&this._allowRedirects&&u>0;){let A=l.message.headers.location;if(!A)break;let d=new URL(A);if(i.protocol==="https:"&&i.protocol!==d.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 l.readBody(),d.hostname!==i.hostname)for(let p in n)p.toLowerCase()==="authorization"&&delete n[p];o=this._prepareRequest(e,d,n),l=yield this.requestRaw(o,s),u--}if(!l.message.statusCode||!YPe.includes(l.message.statusCode))return l;c+=1,c{function i(o,a){o?n(o):a?s(a):n(new Error("Unknown error"))}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(c,l){n||(n=!0,s(c,l))}let o=e.httpModule.request(e.options,c=>{let l=new KD(c);i(void 0,l)}),a;o.on("socket",c=>{a=c}),o.setTimeout(this._socketTimeout||3*6e4,()=>{a&&a.end(),i(new Error(`Request timeout: ${e.options.path}`))}),o.on("error",function(c){i(c)}),r&&typeof r=="string"&&o.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){o.end()}),r.pipe(o)):o.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),s=WD(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?XD:Lm;let o=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):o,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 a of this.handlers)a.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 o=_m(this.requestOptions.headers)[r];o&&(n=typeof o=="number"?o.toString():o)}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)[Qr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[Qr.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=WD(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||Lm.globalAgent.maxSockets),s&&s.hostname){let a={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},c,l=s.protocol==="https:";i?c=l?ma.httpsOverHttps:ma.httpsOverHttp:c=l?ma.httpOverHttps:ma.httpOverHttp,r=c(a),this._proxyAgent=r}if(!r){let a={keepAlive:this._keepAlive,maxSockets:o};r=i?new XD.Agent(a):new Lm.Agent(a),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 W6.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 Ct(this,void 0,void 0,function*(){e=Math.min(WPe,e);let r=jPe*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return Ct(this,void 0,void 0,function*(){return new Promise((s,n)=>Ct(this,void 0,void 0,function*(){let i=e.message.statusCode||0,o={statusCode:i,result:null,headers:{}};i===Xs.NotFound&&s(o);function a(u,A){if(typeof A=="string"){let d=new Date(A);if(!isNaN(d.valueOf()))return d}return A}let c,l;try{l=yield e.readBody(),l&&l.length>0&&(r&&r.deserializeDates?c=JSON.parse(l,a):c=JSON.parse(l),o.result=c),o.headers=e.message.headers}catch{}if(i>299){let u;c&&c.message?u=c.message:l&&l.length>0?u=l:u=`Failed request: (${i})`;let A=new jD(u,i);A.result=o.result,n(A)}else s(o)}))})}},_m=t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{});var Fc=class extends Error{};Fc.prototype.name="InvalidTokenError";function XPe(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}))}function ZPe(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 XPe(e)}catch{return atob(e)}}function j6(t,e){if(typeof t!="string")throw new Fc("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 Fc(`Invalid token specified: missing part #${r+1}`);let n;try{n=ZPe(s)}catch(i){throw new Fc(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(n)}catch(i){throw new Fc(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}var ha=class t{githubToken;octokit;constructor(e){this.githubToken=e?.token||process.env.GITHUB_TOKEN,this.octokit=J6(`${this.githubToken}`)}repoData(){return this.octokit.rest.repos.get({...uA.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}`,o=await new oB("docker-actions-toolkit").get(n,s?{Authorization:`token ${s}`}:void 0),a=await o.readBody(),c=o.message.statusCode||500;if(c>=400)throw new Error(`Failed to get ${e} releases from ${n} with status code ${c}: ${a}`);return JSON.parse(a)}static get context(){return uA}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`${uA.repo.owner}/${uA.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:uA.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?j6(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})`}$(`${r.Scope}: ${s}`)})}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${r.message}`)}}};var FX=B(zm(),1);var yB=class{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?(re(`Regctl.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(re(`Regctl.isAvailable error: ${r}`),!1));return re(`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 re("Regctl.versionSatisfies false: undefined version"),!1;let n=FX.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return re(`Regctl.versionSatisfies ${s} statisfies ${e}: ${n}`),n}};var UX=B(zm(),1);var CB=class{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?(re(`Undock.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(re(`Undock.isAvailable error: ${r}`),!1));return re(`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 re("Undock.versionSatisfies false: undefined version"),!1;let n=UX.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return re(`Undock.versionSatisfies ${s} statisfies ${e}: ${n}`),n}};var E_=B(require("fs"),1);var qX=()=>GX("docker-setup-win.ps1",W_e),y_=()=>GX("docker-service-logs.ps1",j_e);var GX=(t,e,r)=>{let s=Vr.tmpName({template:`docker-asset-XXXXXX-${t}`,tmpdir:Vr.tmpDir()});return E_.default.writeFileSync(s,e),r&&E_.default.chmodSync(s,r),s},W_e=` [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!" `,j_e=` Get-WinEvent -ea SilentlyContinue \` -FilterHashtable @{ProviderName= "docker"; LogName = "application"} | Sort-Object @{Expression="TimeCreated";Descending=$false} | ForEach-Object {"$($_.TimeCreated.ToUniversalTime().ToString("o")) [$($_.LevelDisplayName)] $($_.Message)"} `,HX=` # 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/v0.12.0/undock_0.12.0_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 $m=class t{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 yB,this.undock=e.undock||new CB,this.githubToken=e.githubToken||process.env.GITHUB_TOKEN}get toolDir(){return this._toolDir||Vr.tmpDir()}async download(){let e,r,s=Yr.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,$(`Downloading Docker ${i} from ${this.source.channel} at download.docker.com`),e=await this.downloadSourceArchive("docker",this.source),this.rootless){$(`Downloading Docker rootless extras ${i} from ${this.source.channel} at download.docker.com`);let a=await this.downloadSourceArchive("docker-rootless-extras",this.source);Lt.default.readdirSync(a).forEach(c=>{let l=Nt.default.join(a,c),u=Nt.default.join(e,c);Lt.default.copyFileSync(l,u)})}break}}$("Fixing perms"),Lt.default.readdir(Nt.default.join(e),function(i,o){if(i)throw i;o.forEach(function(a,c){wr.isDirectory(Nt.default.join(e,a))||Lt.default.chmodSync(Nt.default.join(e,a),"0755")})});let n=await Sd(e,r,this._version.replace(/(0+)([1-9]+)/,"$2"));return ql(n),$("Added Docker to PATH"),this._toolDir=n,n}async downloadSourceImage(e){let r=Nt.default.join(Vr.tmpDir(),"docker-install-image"),s=`dockereng/cli-bin:${this._version}`,n=`moby/moby-bin:${this._version}`;if($(`Downloading Docker CLI from ${s}`),await this.undock.run({source:s,dist:r}),["win32","linux"].includes(e))$(`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(re(`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){pn(i),this.gitCommit="master"}re(`docker.Install.downloadSourceImage gitCommit: ${this.gitCommit}`)}else pn(`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+/,""),re(`docker.Install.downloadSourceArchive version: ${this._version}`);let n=this.downloadURL(e,this._version,r.channel);$(`Downloading ${n}`);let i=await za(n);re(`docker.Install.downloadSourceArchive downloadPath: ${i}`);let o;return Yr.default.platform()=="win32"?o=await fg(i,o):o=await hg(i,o),wr.isDirectory(Nt.default.join(o,e))&&(o=Nt.default.join(o,e)),re(`docker.Install.downloadSourceArchive extractFolder: ${o}`),o}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=Yr.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: ${Yr.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=Nt.default.join(Yr.default.homedir(),".lima",this.limaInstanceName);await Ss(r);let s=`unix://${r}/docker.sock`;await t.limaInstalled()||await this.brewInstall("lima"),await he("Lima version",async()=>{await de.exec("lima",["--version"])}),await he("Creating lima config",async()=>{let o={};this.daemonConfig&&(o=JSON.parse(this.daemonConfig)),dA.registerHelper("stringify",function(l){return new dA.SafeString(JSON.stringify(l))});let a=e,c=dA.compile(HX)({customImages:t.limaCustomImages(),daemonConfig:o,dockerSock:`${r}/docker.sock`,localTCPPort:this.localTCPPort,gitCommit:this.gitCommit,srcType:e.type,srcArchiveVersion:this._version,srcArchiveChannel:a.channel,srcImageTag:e.tag});$(`Writing lima config to ${Nt.default.join(r,"lima.yaml")}`),Lt.default.writeFileSync(Nt.default.join(r,"lima.yaml"),c),$(c)}),await t.qemuInstalled()||await this.brewInstall("qemu");let n=await t.qemuBin();await he("QEMU version",async()=>{await de.exec(n,["--version"])});let i=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`});return await he("Starting lima instance",async()=>{let o=["start",`--name=${this.limaInstanceName}`,`--timeout=${process.env.LIMA_START_TIMEOUT??"15m"}`];process.env.LIMA_START_ARGS&&o.push(process.env.LIMA_START_ARGS);try{await de.exec(`limactl ${o.join(" ")}`,[],{env:i})}catch(a){throw await this.printDarwinDiagnostics(),$X.default.readdir(r).then(c=>{c.filter(l=>Nt.default.extname(l)===".log").forEach(l=>{let u=Nt.default.join(r,l),A=Lt.default.readFileSync(u,{encoding:"utf8"}).trim();A.length>0&&$(`### ${u}: ${A}`)})}).catch(()=>{}),a}}),await he("Create Docker context",async()=>{await or.exec(["context","create",this.contextName,"--docker",`host=${s}`]),await or.exec(["context","use",this.contextName])}),s}async installLinux(){let e=`unix://${Nt.default.join(this.runDir,"docker.sock")}`;await Ss(this.runDir);let r=Nt.default.join(this.runDir,"daemon.json");await Lt.default.writeFileSync(r,"{}");let s,n="/etc/docker/daemon.json";if(Lt.default.existsSync(n)&&(await he("Default Docker daemon config found",async()=>{$(JSON.stringify(JSON.parse(Lt.default.readFileSync(n,{encoding:"utf8"})),null,2))}),s=JSON.parse(Lt.default.readFileSync(n,{encoding:"utf8"}))),this.daemonConfig&&(s=Object.assign(s||{},JSON.parse(this.daemonConfig))),s){let o=JSON.stringify(s,null,2);await he("Writing Docker daemon config",async()=>{Lt.default.writeFileSync(r,o),$(o)})}let i=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`,XDG_RUNTIME_DIR:this.rootless&&this.runDir||void 0});return await he("Start Docker daemon",async()=>{let o=await pt("bash",!0),a=`${this.toolDir}/dockerd`;this.rootless&&(a=`${this.toolDir}/dockerd-rootless.sh`,Lt.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 c=`${a} --host="${e}" --config-file="${r}" --exec-root="${this.runDir}/execroot" --data-root="${this.runDir}/data" --pidfile="${this.runDir}/docker.pid"`;this.localTCPPort&&(c+=` --host="tcp://127.0.0.1:${this.localTCPPort}"`),$(`[command] ${c}`);let l="sudo";this.rootless&&(l+=" -u \\#1001"),(await zX.spawn(`${l} env "PATH=$PATH" "XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR" ${o} << EOF ( ${c} 2>&1 | tee "${this.runDir}/dockerd.log" ) & EOF`,[],{env:i,detached:!0,shell:!0,stdio:["ignore",process.stdout,process.stderr]})).unref(),await wr.sleep(3);let A=10;await(0,VX.default)(async d=>{try{await de.getExecOutput("docker version",void 0,{silent:!0,env:Object.assign({},i,{DOCKER_HOST:e,DOCKER_CONTENT_TRUST:"false"})})}catch(p){d(p)}},{retries:A,minTimeout:1e3,onRetry:(d,p)=>{$(`${d}. Retrying (${p}/${A})...`)}}),$("Docker daemon started started successfully")}),await he("Create Docker context",async()=>{await or.exec(["context","create",this.contextName,"--docker",`host=${e}`]),await or.exec(["context","use",this.contextName])}),e}async installWindows(){let e="npipe:////./pipe/setup_docker_action",r,s=Nt.default.join(this.runDir,"daemon.json");Lt.default.existsSync(s)&&(await he("Default Docker daemon config found",async()=>{$(JSON.stringify(JSON.parse(Lt.default.readFileSync(s,{encoding:"utf8"})),null,2))}),r=JSON.parse(Lt.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 he("Docker daemon config",async()=>{$(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 he("Install Docker daemon service",async()=>{let o=await wr.powershellCommand(qX(),i);await de.exec(o.command,o.args);let a=await wr.powershellCommand(y_());await de.exec(a.command,a.args)}),await he("Create Docker context",async()=>{await or.exec(["context","create",this.contextName,"--docker",`host=${e}`]),await or.exec(["context","use",this.contextName])}),e}async tearDown(){if(!this.runDir)throw new Error("runDir must be set");switch(Yr.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: ${Yr.default.platform()}`)}await he("Cleaning up toolDir",async()=>{this._toolDir&&Lt.default.rmSync(this._toolDir,{recursive:!0,force:!0})})}async tearDownDarwin(){await this.printDarwinDiagnostics(),await he("Stopping lima instance",async()=>{await de.exec("limactl",["stop","--tty=false",this.limaInstanceName,"--force"])}),await he("Removing lima instance",async()=>{await de.exec("limactl",["delete","--tty=false",this.limaInstanceName,"--force"])}),await he("Removing Docker context",async()=>{await or.exec(["context","rm","-f",this.contextName])}),await he("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 he(e,async()=>{let s=await de.getExecOutput("limactl",["shell","--tty=false",this.limaInstanceName,...r],{ignoreReturnCode:!0,silent:!0}).catch(i=>{$(`Failed to get ${e}: ${i}`)});if(!s)return;let n=[s.stdout.trim(),s.stderr.trim()].filter(Boolean).join(` `);n.length>0?$(n):s.exitCode!==0&&$(`${e} exited with code ${s.exitCode}`)})}async tearDownLinux(){await he("Docker daemon logs",async()=>{$(Lt.default.readFileSync(Nt.default.join(this.runDir,"dockerd.log"),{encoding:"utf8"}))}),await he("Stopping Docker daemon",async()=>{await de.exec("sudo",["kill","-s","SIGTERM",Lt.default.readFileSync(Nt.default.join(this.runDir,"docker.pid")).toString().trim()]),await wr.sleep(5)}),await he("Removing Docker context",async()=>{await or.exec(["context","rm","-f",this.contextName])}),await he("Cleaning up runDir",async()=>{await de.exec("sudo",["rm","-rf",this.runDir],{ignoreReturnCode:!0,failOnStdErr:!1})})}async tearDownWindows(){await he("Docker daemon logs",async()=>{let e=await wr.powershellCommand(y_());await de.exec(e.command,e.args)}),await he("Removing Docker context",async()=>{await or.exec(["context","rm","-f",this.contextName])}),await he("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(Yr.default.platform()){case"darwin":return"mac";case"linux":return"linux";case"win32":return"win";default:return Yr.default.platform()}}static platformArch(){switch(Yr.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 Yr.default.arch()}}static async limaInstalled(){return await pt("lima",!0).then(e=>(re(`docker.Install.limaInstalled ok: ${e}`),!0)).catch(e=>(re(`docker.Install.limaInstalled error: ${e}`),!1))}static async qemuBin(){switch(Yr.default.arch()){case"x64":return"qemu-system-x86_64";case"arm64":return"qemu-system-aarch64";default:return`qemu-system-${Yr.default.arch()}`}}static async qemuInstalled(){return await pt(await t.qemuBin(),!0).then(e=>(re(`docker.Install.qemuInstalled ok: ${e}`),!0)).catch(e=>(re(`docker.Install.qemuInstalled error: ${e}`),!1))}static async getRelease(e,r){let n=await new ha({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 wr.getList(r,{ignoreComma:!0,comment:"#"})){let n=s.indexOf(":"),i=s.substring(0,n).trim(),o=s.indexOf("@"),a=s.substring(n+1,o!==-1?o:void 0).trim(),c=o!==-1?s.substring(o+1).trim():"";e.push({location:a,arch:i,digest:c})}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 he(`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(l=>{if(l.stderr.length>0&&l.exitCode!=0)throw new Error(l.stderr);for(let u of l.stdout.trim().split(` `))if(u.includes(n))return!0;return!1})||await de.exec("brew",["tap-new",n],{env:s});let o=await de.getExecOutput("brew",["--repo",n],{ignoreReturnCode:!0,silent:!0,env:s}).then(l=>{if(l.stderr.length>0&&l.exitCode!=0)throw new Error(l.stderr);return l.stdout.trim()}),a=`https://raw.githubusercontent.com/Homebrew/homebrew-core/${r}/Formula/${e.charAt(0)}/${e}.rb`;await za(a,Nt.default.join(o,"Formula",`${e}.rb`)),await de.getExecOutput("brew",["ls","-1"],{ignoreReturnCode:!0,silent:!0,env:s}).then(l=>{if(l.stderr.length>0&&l.exitCode!=0)throw new Error(l.stderr);for(let u of l.stdout.trim().split(` `))if(u.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 Vm=B(require("fs"),1),Io=B(require("os"),1),IB=B(require("path"),1);var wB=B(zm(),1),C_=B(require("util"),1);var BB=class t{githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let s=await t.getDownloadVersion(e);re(`Install.download version: ${s.version}`);let n=await t.getRelease(s,this.githubToken);re(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);re(`Install.download vspec: ${i}`);let o=wB.clean(i)||"";if(!wB.valid(o))throw new Error(`Invalid regclient version "${i}".`);let a=new Si({htcName:"regctl-dl-bin",htcVersion:i,baseCacheDir:IB.default.join(Io.default.homedir(),".bin"),cacheFile:Io.default.platform()=="win32"?"regctl.exe":"regctl",ghaNoCache:r}),c=await a.find();if(c)return $(`regctl binary found in ${c}`),c;let l=C_.format(s.downloadURL,i,this.filename());$(`Downloading ${l}`);let u=await za(l,void 0,this.githubToken);re(`Install.download htcDownloadPath: ${u}`);let A=await a.save(u);return $(`Cached to ${A}`),A}async install(e,r){r=r||Vr.tmpDir();let s=IB.default.join(r,"regctl-bin");Vm.default.existsSync(s)||Vm.default.mkdirSync(s,{recursive:!0});let n=Io.default.platform()=="win32"?"regctl.exe":"regctl",i=IB.default.join(s,n);return Vm.default.copyFileSync(e,i),$("Fixing perms"),Vm.default.chmodSync(i,"0755"),ql(s),$("Added regctl to PATH"),$(`Binary path: ${i}`),i}filename(){let e;switch(Io.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=Io.default.arch();break}}let r=Io.default.platform()=="win32"?"windows":Io.default.platform(),s=Io.default.platform()=="win32"?".exe":"";return C_.format("regctl-%s-%s%s",r,e,s)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return $(`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 ha({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 Ym=B(require("fs"),1),Rn=B(require("os"),1),Jm=B(require("path"),1);var QB=B(zm(),1),I_=B(require("util"),1);var bB=class t{githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let s=await t.getDownloadVersion(e);re(`Install.download version: ${s.version}`);let n=await t.getRelease(s,this.githubToken);re(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);re(`Install.download vspec: ${i}`);let o=QB.clean(i)||"";if(!QB.valid(o))throw new Error(`Invalid Undock version "${i}".`);let a=new Si({htcName:"undock-dl-bin",htcVersion:i,baseCacheDir:Jm.default.join(Rn.default.homedir(),".bin"),cacheFile:Rn.default.platform()=="win32"?"undock.exe":"undock",ghaNoCache:r}),c=await a.find();if(c)return $(`Undock binary found in ${c}`),c;let l=I_.format(s.downloadURL,i,this.filename(i));$(`Downloading ${l}`);let u=await za(l,void 0,this.githubToken);re(`Install.download htcDownloadPath: ${u}`);let A;Rn.default.platform()=="win32"?A=await fg(u):A=await hg(u),$(`Extracted to ${A}`);let d=Jm.default.join(A,Rn.default.platform()=="win32"?"undock.exe":"undock");re(`Install.download exePath: ${d}`);let p=await a.save(d);return $(`Cached to ${p}`),p}async install(e,r){r=r||Vr.tmpDir();let s=Jm.default.join(r,"undock-bin");Ym.default.existsSync(s)||Ym.default.mkdirSync(s,{recursive:!0});let n=Rn.default.platform()=="win32"?"undock.exe":"undock",i=Jm.default.join(s,n);return Ym.default.copyFileSync(e,i),$("Fixing perms"),Ym.default.chmodSync(i,"0755"),ql(s),$("Added Undock to PATH"),$(`Binary path: ${i}`),i}filename(e){let r;switch(Rn.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=Rn.default.arch();break}}let s=Rn.default.platform()=="win32"?"windows":Rn.default.platform(),n=Rn.default.platform()=="win32"?".zip":".tar.gz";return I_.format("undock_%s_%s_%s%s",e,s,r,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return $(`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 ha({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 YX=B(require("os"),1),JX=B(require("path"),1);function WX(){let t=dn("version")||"latest",e=K_e(t),r=dn("channel");return r&&e.type==="archive"&&(e.channel=r),{source:e,daemonConfig:dn("daemon-config"),tcpPort:wr.getInputNumber("tcp-port"),context:dn("context"),setHost:hx("set-host"),rootless:hx("rootless"),runtimeBasedir:dn("runtime-basedir")||JX.default.join(YX.default.homedir(),"setup-docker-action"),githubToken:dn("github-token")}}function K_e(t){let[e,r,s,n]=["archive","latest","stable","latest"],i=VI(t,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let a of i){let c=a.toString().split(/(?<=^[^=]+?)=/).map(l=>l.trim());switch(c[0]){case"type":e=c[1];break;case"version":r=c[1];break;case"channel":s=c[1];break;case"tag":n=c[1];break;default:if(i.length===1){r=c[0];break}throw new Error(`Invalid field: ${c[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 o;switch(e){case"archive":o={type:"archive",version:r,channel:s};break;case"image":o={type:"image",tag:n};break;default:throw new Error(`Invalid version: ${t}`)}return o}var B_=process.env.STATE_rundir||"";function jX(t){Gl("rundir",t)}var eLe="v0.8.3",tLe="v0.10.0";R5(async()=>{let t=WX(),e=XX.default.join(t.runtimeBasedir,`run-${KX.randomUUID().slice(0,8)}`);if(t.context=="default")throw new Error("'default' context cannot be used.");t.source.type==="image"&&(await he("Download and install regctl",async()=>{let o=new BB({githubToken:t.githubToken}),a=await o.download(process.env.REGCTL_VERSION&&process.env.REGCTL_VERSION.trim()?process.env.REGCTL_VERSION:eLe,!0);await o.install(a)}),await he("Download and install undock",async()=>{let o=new bB({githubToken:t.githubToken}),a=await o.download(process.env.UNDOCK_VERSION&&process.env.UNDOCK_VERSION.trim()?process.env.UNDOCK_VERSION:tLe,!0);await o.install(a)}));let r,s;t.tcpPort&&(r=t.tcpPort,s=`tcp://127.0.0.1:${r}`);let n=new $m({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 or.isAvailable()||t.source)&&await he("Download docker",async()=>{i=await n.download()}),i){jX(e);let o=await n.install();await he("Setting outputs",async()=>{$(`sock=${o}`),fx("sock",o),s&&($(`tcp=${s}`),fx("tcp",s))}),t.setHost&&await he("Setting Docker host",async()=>{CG("DOCKER_HOST",o),$(`DOCKER_HOST=${o}`)})}await he("Docker info",async()=>{await or.printVersion(),await or.printInfo()})},async()=>{if(B_.length==0)return;await new $m({runDir:B_}).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