Files
setup-qemu-action/dist/index.cjs
2026-11-12 02:07:59 +00:00

153 lines
1.3 MiB
Generated

var r9=Object.create;var rp=Object.defineProperty;var n9=Object.getOwnPropertyDescriptor;var s9=Object.getOwnPropertyNames;var i9=Object.getPrototypeOf,o9=Object.prototype.hasOwnProperty;var o=(t,e)=>rp(t,"name",{value:e,configurable:!0});var g=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),a9=(t,e)=>{for(var r in e)rp(t,r,{get:e[r],enumerable:!0})},c9=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of s9(e))!o9.call(t,s)&&s!==r&&rp(t,s,{get:()=>e[s],enumerable:!(n=n9(e,s))||n.enumerable});return t};var Q=(t,e,r)=>(r=t!=null?r9(i9(t)):{},c9(e||!t||!t.__esModule?rp(r,"default",{value:t,enumerable:!0}):r,t));var ET=g(dc=>{"use strict";var fNe=require("net"),d9=require("tls"),iI=require("http"),fT=require("https"),m9=require("events"),gNe=require("assert"),p9=require("util");dc.httpOverHttp=h9;dc.httpsOverHttp=f9;dc.httpOverHttps=g9;dc.httpsOverHttps=y9;function h9(t){var e=new ai(t);return e.request=iI.request,e}o(h9,"httpOverHttp");function f9(t){var e=new ai(t);return e.request=iI.request,e.createSocket=gT,e.defaultPort=443,e}o(f9,"httpsOverHttp");function g9(t){var e=new ai(t);return e.request=fT.request,e}o(g9,"httpOverHttps");function y9(t){var e=new ai(t);return e.request=fT.request,e.createSocket=gT,e.defaultPort=443,e}o(y9,"httpsOverHttps");function ai(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||iI.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,s,i,a){for(var c=yT(s,i,a),l=0,A=e.requests.length;l<A;++l){var u=e.requests[l];if(u.host===c.host&&u.port===c.port){e.requests.splice(l,1),u.request.onSocket(n);return}}n.destroy(),e.removeSocket(n)},"onFree"))}o(ai,"TunnelingAgent");p9.inherits(ai,m9.EventEmitter);ai.prototype.addRequest=o(function(e,r,n,s){var i=this,a=oI({request:e},i.options,yT(r,n,s));if(i.sockets.length>=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(c){c.on("free",l),c.on("close",A),c.on("agentRemove",A),e.onSocket(c);function l(){i.emit("free",c,a)}o(l,"onFree");function A(u){i.removeSocket(c),c.removeListener("free",l),c.removeListener("close",A),c.removeListener("agentRemove",A)}o(A,"onCloseOrRemove")})},"addRequest");ai.prototype.createSocket=o(function(e,r){var n=this,s={};n.sockets.push(s);var i=oI({},n.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")),$i("making CONNECT request");var a=n.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",A),a.once("error",u),a.end();function c(d){d.upgrade=!0}o(c,"onResponse");function l(d,m,p){process.nextTick(function(){A(d,m,p)})}o(l,"onUpgrade");function A(d,m,p){if(a.removeAllListeners(),m.removeAllListeners(),d.statusCode!==200){$i("tunneling socket could not be established, statusCode=%d",d.statusCode),m.destroy();var h=new Error("tunneling socket could not be established, statusCode="+d.statusCode);h.code="ECONNRESET",e.request.emit("error",h),n.removeSocket(s);return}if(p.length>0){$i("got illegal response body from proxy"),m.destroy();var h=new Error("got illegal response body from proxy");h.code="ECONNRESET",e.request.emit("error",h),n.removeSocket(s);return}return $i("tunneling connection has established"),n.sockets[n.sockets.indexOf(s)]=m,r(m)}o(A,"onConnect");function u(d){a.removeAllListeners(),$i(`tunneling socket could not be established, cause=%s
`,d.message,d.stack);var m=new Error("tunneling socket could not be established, cause="+d.message);m.code="ECONNRESET",e.request.emit("error",m),n.removeSocket(s)}o(u,"onError")},"createSocket");ai.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(s){n.request.onSocket(s)})}},"removeSocket");function gT(t,e){var r=this;ai.prototype.createSocket.call(r,t,function(n){var s=t.request.getHeader("host"),i=oI({},r.options,{socket:n,servername:s?s.replace(/:.*$/,""):t.host}),a=d9.connect(0,i);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(gT,"createSecureSocket");function yT(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(yT,"toOptions");function oI(t){for(var e=1,r=arguments.length;e<r;++e){var n=arguments[e];if(typeof n=="object")for(var s=Object.keys(n),i=0,a=s.length;i<a;++i){var c=s[i];n[c]!==void 0&&(t[c]=n[c])}}return t}o(oI,"mergeOptions");var $i;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?$i=o(function(){var t=Array.prototype.slice.call(arguments);typeof t[0]=="string"?t[0]="TUNNEL: "+t[0]:t.unshift("TUNNEL:"),console.error.apply(console,t)},"debug"):$i=o(function(){},"debug");dc.debug=$i});var aI=g((CNe,CT)=>{CT.exports=ET()});var Oe=g((INe,IT)=>{IT.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 Ee=g((BNe,VT)=>{"use strict";var BT=Symbol.for("undici.error.UND_ERR"),qe=class extends Error{static{o(this,"UndiciError")}constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[BT]===!0}[BT]=!0},QT=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),cI=class extends qe{static{o(this,"ConnectTimeoutError")}constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[QT]===!0}[QT]=!0},xT=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),lI=class extends qe{static{o(this,"HeadersTimeoutError")}constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[xT]===!0}[xT]=!0},bT=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),AI=class extends qe{static{o(this,"HeadersOverflowError")}constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[bT]===!0}[bT]=!0},wT=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),uI=class extends qe{static{o(this,"BodyTimeoutError")}constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[wT]===!0}[wT]=!0},NT=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),dI=class extends qe{static{o(this,"ResponseStatusCodeError")}constructor(e,r,n,s){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=s,this.status=r,this.statusCode=r,this.headers=n}static[Symbol.hasInstance](e){return e&&e[NT]===!0}[NT]=!0},ST=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),mI=class extends qe{static{o(this,"InvalidArgumentError")}constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&e[ST]===!0}[ST]=!0},RT=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),pI=class extends qe{static{o(this,"InvalidReturnValueError")}constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&e[RT]===!0}[RT]=!0},vT=Symbol.for("undici.error.UND_ERR_ABORT"),ip=class extends qe{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&e[vT]===!0}[vT]=!0},PT=Symbol.for("undici.error.UND_ERR_ABORTED"),hI=class extends ip{static{o(this,"RequestAbortedError")}constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[PT]===!0}[PT]=!0},DT=Symbol.for("undici.error.UND_ERR_INFO"),fI=class extends qe{static{o(this,"InformationalError")}constructor(e){super(e),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[DT]===!0}[DT]=!0},TT=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),gI=class extends qe{static{o(this,"RequestContentLengthMismatchError")}constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[TT]===!0}[TT]=!0},kT=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),yI=class extends qe{static{o(this,"ResponseContentLengthMismatchError")}constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[kT]===!0}[kT]=!0},MT=Symbol.for("undici.error.UND_ERR_DESTROYED"),EI=class extends qe{static{o(this,"ClientDestroyedError")}constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&e[MT]===!0}[MT]=!0},LT=Symbol.for("undici.error.UND_ERR_CLOSED"),CI=class extends qe{static{o(this,"ClientClosedError")}constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&e[LT]===!0}[LT]=!0},_T=Symbol.for("undici.error.UND_ERR_SOCKET"),II=class extends qe{static{o(this,"SocketError")}constructor(e,r){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=r}static[Symbol.hasInstance](e){return e&&e[_T]===!0}[_T]=!0},FT=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),BI=class extends qe{static{o(this,"NotSupportedError")}constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&e[FT]===!0}[FT]=!0},UT=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),QI=class extends qe{static{o(this,"BalancedPoolMissingUpstreamError")}constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&e[UT]===!0}[UT]=!0},OT=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),xI=class extends Error{static{o(this,"HTTPParserError")}constructor(e,r,n){super(e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=n?n.toString():void 0}static[Symbol.hasInstance](e){return e&&e[OT]===!0}[OT]=!0},qT=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),bI=class extends qe{static{o(this,"ResponseExceededMaxSizeError")}constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&e[qT]===!0}[qT]=!0},HT=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),wI=class extends qe{static{o(this,"RequestRetryError")}constructor(e,r,{headers:n,data:s}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=s,this.headers=n}static[Symbol.hasInstance](e){return e&&e[HT]===!0}[HT]=!0},zT=Symbol.for("undici.error.UND_ERR_RESPONSE"),NI=class extends qe{static{o(this,"ResponseError")}constructor(e,r,{headers:n,data:s}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.data=s,this.headers=n}static[Symbol.hasInstance](e){return e&&e[zT]===!0}[zT]=!0},GT=Symbol.for("undici.error.UND_ERR_PRX_TLS"),SI=class extends qe{static{o(this,"SecureProxyConnectionError")}constructor(e,r,n){super(r,{cause:e,...n??{}}),this.name="SecureProxyConnectionError",this.message=r||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&e[GT]===!0}[GT]=!0},YT=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),RI=class extends qe{static{o(this,"MessageSizeExceededError")}constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&e[YT]===!0}get[YT](){return!0}};VT.exports={AbortError:ip,HTTPParserError:xI,UndiciError:qe,HeadersTimeoutError:lI,HeadersOverflowError:AI,BodyTimeoutError:uI,RequestContentLengthMismatchError:gI,ConnectTimeoutError:cI,ResponseStatusCodeError:dI,InvalidArgumentError:mI,InvalidReturnValueError:pI,RequestAbortedError:hI,ClientDestroyedError:EI,ClientClosedError:CI,InformationalError:fI,SocketError:II,NotSupportedError:BI,ResponseContentLengthMismatchError:yI,BalancedPoolMissingUpstreamError:QI,ResponseExceededMaxSizeError:bI,RequestRetryError:wI,ResponseError:NI,SecureProxyConnectionError:SI,MessageSizeExceededError:RI}});var ap=g((xNe,JT)=>{"use strict";var op={},vI=["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<vI.length;++t){let e=vI[t],r=e.toLowerCase();op[e]=op[r]=r}Object.setPrototypeOf(op,null);JT.exports={wellknownHeaderNames:vI,headerNameLowerCasedRecord:op}});var KT=g((bNe,jT)=>{"use strict";var{wellknownHeaderNames:$T,headerNameLowerCasedRecord:E9}=ap(),PI=class t{static{o(this,"TstNode")}value=null;left=null;middle=null;right=null;code;constructor(e,r,n){if(n===void 0||n>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(n))>127)throw new TypeError("key must be ascii string");e.length!==++n?this.middle=new t(e,r,n):this.value=r}add(e,r){let n=e.length;if(n===0)throw new TypeError("Unreachable");let s=0,i=this;for(;;){let a=e.charCodeAt(s);if(a>127)throw new TypeError("key must be ascii string");if(i.code===a)if(n===++s){i.value=r;break}else if(i.middle!==null)i=i.middle;else{i.middle=new t(e,r,s);break}else if(i.code<a)if(i.left!==null)i=i.left;else{i.left=new t(e,r,s);break}else if(i.right!==null)i=i.right;else{i.right=new t(e,r,s);break}}}search(e){let r=e.length,n=0,s=this;for(;s!==null&&n<r;){let i=e[n];for(i<=90&&i>=65&&(i|=32);s!==null;){if(i===s.code){if(r===++n)return s;s=s.middle;break}s=s.code<i?s.left:s.right}}return null}},cp=class{static{o(this,"TernarySearchTree")}node=null;insert(e,r){this.node===null?this.node=new PI(e,r,0):this.node.add(e,r)}lookup(e){return this.node?.search(e)?.value??null}},WT=new cp;for(let t=0;t<$T.length;++t){let e=E9[$T[t]];WT.insert(e,e)}jT.exports={TernarySearchTree:cp,tree:WT}});var ce=g((NNe,mk)=>{"use strict";var MA=require("node:assert"),{kDestroyed:ZT,kBodyUsed:mc,kListeners:DI,kBody:XT}=Oe(),{IncomingMessage:C9}=require("node:http"),up=require("node:stream"),I9=require("node:net"),{Blob:B9}=require("node:buffer"),Q9=require("node:util"),{stringify:x9}=require("node:querystring"),{EventEmitter:b9}=require("node:events"),{InvalidArgumentError:bt}=Ee(),{headerNameLowerCasedRecord:w9}=ap(),{tree:ek}=KT(),[N9,S9]=process.versions.node.split(".").map(t=>Number(t)),Ap=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[XT]=e,this[mc]=!1}async*[Symbol.asyncIterator](){MA(!this[mc],"disturbed"),this[mc]=!0,yield*this[XT]}};function R9(t){return dp(t)?(ik(t)===0&&t.on("data",function(){MA(!1)}),typeof t.readableDidRead!="boolean"&&(t[mc]=!1,b9.prototype.on.call(t,"data",function(){this[mc]=!0})),t):t&&typeof t.pipeTo=="function"?new Ap(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&sk(t)?new Ap(t):t}o(R9,"wrapRequestBody");function v9(){}o(v9,"nop");function dp(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(dp,"isStream");function tk(t){if(t===null)return!1;if(t instanceof B9)return!0;if(typeof t!="object")return!1;{let e=t[Symbol.toStringTag];return(e==="Blob"||e==="File")&&("stream"in t&&typeof t.stream=="function"||"arrayBuffer"in t&&typeof t.arrayBuffer=="function")}}o(tk,"isBlobLike");function P9(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=x9(e);return r&&(t+="?"+r),t}o(P9,"buildURL");function rk(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(rk,"isValidPort");function lp(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(lp,"isHttpOrHttpsPrefixed");function nk(t){if(typeof t=="string"){if(t=new URL(t),!lp(t.origin||t.protocol))throw new bt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new bt("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&rk(t.port)===!1)throw new bt("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 bt("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new bt("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new bt("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new bt("Invalid URL origin: the origin must be a string or null/undefined.");if(!lp(t.origin||t.protocol))throw new bt("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,n=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),n&&n[0]!=="/"&&(n=`/${n}`),new URL(`${r}${n}`)}if(!lp(t.origin||t.protocol))throw new bt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(nk,"parseURL");function D9(t){if(t=nk(t),t.pathname!=="/"||t.search||t.hash)throw new bt("invalid url");return t}o(D9,"parseOrigin");function T9(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)}o(T9,"getHostname");function k9(t){if(!t)return null;MA(typeof t=="string");let e=T9(t);return I9.isIP(e)?"":e}o(k9,"getServerName");function M9(t){return JSON.parse(JSON.stringify(t))}o(M9,"deepClone");function L9(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(L9,"isAsyncIterable");function sk(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(sk,"isIterable");function ik(t){if(t==null)return 0;if(dp(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(tk(t))return t.size!=null?t.size:null;if(ck(t))return t.byteLength}return null}o(ik,"bodyLength");function ok(t){return t&&!!(t.destroyed||t[ZT]||up.isDestroyed?.(t))}o(ok,"isDestroyed");function _9(t,e){t==null||!dp(t)||ok(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===C9&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[ZT]=!0))}o(_9,"destroy");var F9=/timeout=(\d+)/;function U9(t){let e=t.toString().match(F9);return e?parseInt(e[1],10)*1e3:null}o(U9,"parseKeepAliveTimeout");function ak(t){return typeof t=="string"?w9[t]??t.toLowerCase():ek.lookup(t)??t.toString("latin1").toLowerCase()}o(ak,"headerNameToString");function O9(t){return ek.lookup(t)??t.toString("latin1").toLowerCase()}o(O9,"bufferToLowerCasedHeaderName");function q9(t,e){e===void 0&&(e={});for(let r=0;r<t.length;r+=2){let n=ak(t[r]),s=e[n];if(s)typeof s=="string"&&(s=[s],e[n]=s),s.push(t[r+1].toString("utf8"));else{let i=t[r+1];typeof i=="string"?e[n]=i:e[n]=Array.isArray(i)?i.map(a=>a.toString("utf8")):i.toString("utf8")}}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}o(q9,"parseHeaders");function H9(t){let e=t.length,r=new Array(e),n=!1,s=-1,i,a,c=0;for(let l=0;l<t.length;l+=2)i=t[l],a=t[l+1],typeof i!="string"&&(i=i.toString()),typeof a!="string"&&(a=a.toString("utf8")),c=i.length,c===14&&i[7]==="-"&&(i==="content-length"||i.toLowerCase()==="content-length")?n=!0:c===19&&i[7]==="-"&&(i==="content-disposition"||i.toLowerCase()==="content-disposition")&&(s=l+1),r[l]=i,r[l+1]=a;return n&&s!==-1&&(r[s]=Buffer.from(r[s]).toString("latin1")),r}o(H9,"parseRawHeaders");function ck(t){return t instanceof Uint8Array||Buffer.isBuffer(t)}o(ck,"isBuffer");function z9(t,e,r){if(!t||typeof t!="object")throw new bt("handler must be an object");if(typeof t.onConnect!="function")throw new bt("invalid onConnect method");if(typeof t.onError!="function")throw new bt("invalid onError method");if(typeof t.onBodySent!="function"&&t.onBodySent!==void 0)throw new bt("invalid onBodySent method");if(r||e==="CONNECT"){if(typeof t.onUpgrade!="function")throw new bt("invalid onUpgrade method")}else{if(typeof t.onHeaders!="function")throw new bt("invalid onHeaders method");if(typeof t.onData!="function")throw new bt("invalid onData method");if(typeof t.onComplete!="function")throw new bt("invalid onComplete method")}}o(z9,"validateHandler");function G9(t){return!!(t&&(up.isDisturbed(t)||t[mc]))}o(G9,"isDisturbed");function Y9(t){return!!(t&&up.isErrored(t))}o(Y9,"isErrored");function V9(t){return!!(t&&up.isReadable(t))}o(V9,"isReadable");function J9(t){return{localAddress:t.localAddress,localPort:t.localPort,remoteAddress:t.remoteAddress,remotePort:t.remotePort,remoteFamily:t.remoteFamily,timeout:t.timeout,bytesWritten:t.bytesWritten,bytesRead:t.bytesRead}}o(J9,"getSocketInfo");function $9(t){let e;return new ReadableStream({async start(){e=t[Symbol.asyncIterator]()},async pull(r){let{done:n,value:s}=await e.next();if(n)queueMicrotask(()=>{r.close(),r.byobRequest?.respond(0)});else{let i=Buffer.isBuffer(s)?s:Buffer.from(s);i.byteLength&&r.enqueue(new Uint8Array(i))}return r.desiredSize>0},async cancel(r){await e.return()},type:"bytes"})}o($9,"ReadableStreamFrom");function W9(t){return t&&typeof t=="object"&&typeof t.append=="function"&&typeof t.delete=="function"&&typeof t.get=="function"&&typeof t.getAll=="function"&&typeof t.has=="function"&&typeof t.set=="function"&&t[Symbol.toStringTag]==="FormData"}o(W9,"isFormDataLike");function j9(t,e){return"addEventListener"in t?(t.addEventListener("abort",e,{once:!0}),()=>t.removeEventListener("abort",e)):(t.addListener("abort",e),()=>t.removeListener("abort",e))}o(j9,"addAbortListener");var K9=typeof String.prototype.toWellFormed=="function",X9=typeof String.prototype.isWellFormed=="function";function lk(t){return K9?`${t}`.toWellFormed():Q9.toUSVString(t)}o(lk,"toUSVString");function Z9(t){return X9?`${t}`.isWellFormed():lk(t)===`${t}`}o(Z9,"isUSVString");function Ak(t){switch(t){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return!1;default:return t>=33&&t<=126}}o(Ak,"isTokenCharCode");function e6(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e)if(!Ak(t.charCodeAt(e)))return!1;return!0}o(e6,"isValidHTTPToken");var t6=/[^\t\x20-\x7e\x80-\xff]/;function r6(t){return!t6.test(t)}o(r6,"isValidHeaderValue");function n6(t){if(t==null||t==="")return{start:0,end:null,size:null};let e=t?t.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return e?{start:parseInt(e[1]),end:e[2]?parseInt(e[2]):null,size:e[3]?parseInt(e[3]):null}:null}o(n6,"parseRangeHeader");function s6(t,e,r){return(t[DI]??=[]).push([e,r]),t.on(e,r),t}o(s6,"addListener");function i6(t){for(let[e,r]of t[DI]??[])t.removeListener(e,r);t[DI]=null}o(i6,"removeAllListeners");function o6(t,e,r){try{e.onError(r),MA(e.aborted)}catch(n){t.emit("error",n)}}o(o6,"errorRequest");var uk=Object.create(null);uk.enumerable=!0;var TI={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"},dk={...TI,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(TI,null);Object.setPrototypeOf(dk,null);mk.exports={kEnumerableProperty:uk,nop:v9,isDisturbed:G9,isErrored:Y9,isReadable:V9,toUSVString:lk,isUSVString:Z9,isBlobLike:tk,parseOrigin:D9,parseURL:nk,getServerName:k9,isStream:dp,isIterable:sk,isAsyncIterable:L9,isDestroyed:ok,headerNameToString:ak,bufferToLowerCasedHeaderName:O9,addListener:s6,removeAllListeners:i6,errorRequest:o6,parseRawHeaders:H9,parseHeaders:q9,parseKeepAliveTimeout:U9,destroy:_9,bodyLength:ik,deepClone:M9,ReadableStreamFrom:$9,isBuffer:ck,validateHandler:z9,getSocketInfo:J9,isFormDataLike:W9,buildURL:P9,addAbortListener:j9,isValidHTTPToken:e6,isValidHeaderValue:r6,isTokenCharCode:Ak,parseRangeHeader:n6,normalizedMethodRecordsBase:TI,normalizedMethodRecords:dk,isValidPort:rk,isHttpOrHttpsPrefixed:lp,nodeMajor:N9,nodeMinor:S9,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"],wrapRequestBody:R9}});var pc=g((RNe,hk)=>{"use strict";var be=require("node:diagnostics_channel"),MI=require("node:util"),mp=MI.debuglog("undici"),kI=MI.debuglog("fetch"),qo=MI.debuglog("websocket"),pk=!1,a6={beforeConnect:be.channel("undici:client:beforeConnect"),connected:be.channel("undici:client:connected"),connectError:be.channel("undici:client:connectError"),sendHeaders:be.channel("undici:client:sendHeaders"),create:be.channel("undici:request:create"),bodySent:be.channel("undici:request:bodySent"),headers:be.channel("undici:request:headers"),trailers:be.channel("undici:request:trailers"),error:be.channel("undici:request:error"),open:be.channel("undici:websocket:open"),close:be.channel("undici:websocket:close"),socketError:be.channel("undici:websocket:socket_error"),ping:be.channel("undici:websocket:ping"),pong:be.channel("undici:websocket:pong")};if(mp.enabled||kI.enabled){let t=kI.enabled?kI:mp;be.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i}}=e;t("connecting to %s using %s%s",`${i}${s?`:${s}`:""}`,n,r)}),be.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i}}=e;t("connected to %s using %s%s",`${i}${s?`:${s}`:""}`,n,r)}),be.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i},error:a}=e;t("connection to %s using %s%s errored - %s",`${i}${s?`:${s}`:""}`,n,r,a.message)}),be.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:s}}=e;t("sending request to %s %s/%s",r,s,n)}),be.channel("undici:request:headers").subscribe(e=>{let{request:{method:r,path:n,origin:s},response:{statusCode:i}}=e;t("received response to %s %s/%s - HTTP %d",r,s,n,i)}),be.channel("undici:request:trailers").subscribe(e=>{let{request:{method:r,path:n,origin:s}}=e;t("trailers received from %s %s/%s",r,s,n)}),be.channel("undici:request:error").subscribe(e=>{let{request:{method:r,path:n,origin:s},error:i}=e;t("request to %s %s/%s errored - %s",r,s,n,i.message)}),pk=!0}if(qo.enabled){if(!pk){let t=mp.enabled?mp:qo;be.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i}}=e;t("connecting to %s%s using %s%s",i,s?`:${s}`:"",n,r)}),be.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i}}=e;t("connected to %s%s using %s%s",i,s?`:${s}`:"",n,r)}),be.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i},error:a}=e;t("connection to %s%s using %s%s errored - %s",i,s?`:${s}`:"",n,r,a.message)}),be.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:s}}=e;t("sending request to %s %s/%s",r,s,n)})}be.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;qo("connection opened %s%s",e,r?`:${r}`:"")}),be.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;qo("closed connection to %s - %s %s",e.url,r,n)}),be.channel("undici:websocket:socket_error").subscribe(t=>{qo("connection errored - %s",t.message)}),be.channel("undici:websocket:ping").subscribe(t=>{qo("ping received")}),be.channel("undici:websocket:pong").subscribe(t=>{qo("pong received")})}hk.exports={channels:a6}});var Ek=g((vNe,yk)=>{"use strict";var{InvalidArgumentError:Se,NotSupportedError:c6}=Ee(),ci=require("node:assert"),{isValidHTTPToken:gk,isValidHeaderValue:LA,isStream:l6,destroy:A6,isBuffer:u6,isFormDataLike:d6,isIterable:m6,isBlobLike:p6,buildURL:h6,validateHandler:f6,getServerName:g6,normalizedMethodRecords:y6}=ce(),{channels:os}=pc(),{headerNameLowerCasedRecord:fk}=ap(),E6=/[^\u0021-\u00ff]/,an=Symbol("handler"),LI=class{static{o(this,"Request")}constructor(e,{path:r,method:n,body:s,headers:i,query:a,idempotent:c,blocking:l,upgrade:A,headersTimeout:u,bodyTimeout:d,reset:m,throwOnError:p,expectContinue:h,servername:f},C){if(typeof r!="string")throw new Se("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new Se("path must be an absolute URL or start with a slash");if(E6.test(r))throw new Se("invalid request path");if(typeof n!="string")throw new Se("method must be a string");if(y6[n]===void 0&&!gk(n))throw new Se("invalid request method");if(A&&typeof A!="string")throw new Se("upgrade must be a string");if(A&&!LA(A))throw new Se("invalid upgrade header");if(u!=null&&(!Number.isFinite(u)||u<0))throw new Se("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new Se("invalid bodyTimeout");if(m!=null&&typeof m!="boolean")throw new Se("invalid reset");if(h!=null&&typeof h!="boolean")throw new Se("invalid expectContinue");if(this.headersTimeout=u,this.bodyTimeout=d,this.throwOnError=p===!0,this.method=n,this.abort=null,s==null)this.body=null;else if(l6(s)){this.body=s;let y=this.body._readableState;(!y||!y.autoDestroy)&&(this.endHandler=o(function(){A6(this)},"autoDestroy"),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(u6(s))this.body=s.byteLength?s:null;else if(ArrayBuffer.isView(s))this.body=s.buffer.byteLength?Buffer.from(s.buffer,s.byteOffset,s.byteLength):null;else if(s instanceof ArrayBuffer)this.body=s.byteLength?Buffer.from(s):null;else if(typeof s=="string")this.body=s.length?Buffer.from(s):null;else if(d6(s)||m6(s)||p6(s))this.body=s;else throw new Se("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=A||null,this.path=a?h6(r,a):r,this.origin=e,this.idempotent=c??(n==="HEAD"||n==="GET"),this.blocking=l??!1,this.reset=m??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=h??!1,Array.isArray(i)){if(i.length%2!==0)throw new Se("headers array must be even");for(let y=0;y<i.length;y+=2)pp(this,i[y],i[y+1])}else if(i&&typeof i=="object")if(i[Symbol.iterator])for(let y of i){if(!Array.isArray(y)||y.length!==2)throw new Se("headers must be in key-value pair format");pp(this,y[0],y[1])}else{let y=Object.keys(i);for(let E=0;E<y.length;++E)pp(this,y[E],i[y[E]])}else if(i!=null)throw new Se("headers must be an object or an array");f6(C,n,A),this.servername=f||g6(this.host),this[an]=C,os.create.hasSubscribers&&os.create.publish({request:this})}onBodySent(e){if(this[an].onBodySent)try{return this[an].onBodySent(e)}catch(r){this.abort(r)}}onRequestSent(){if(os.bodySent.hasSubscribers&&os.bodySent.publish({request:this}),this[an].onRequestSent)try{return this[an].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(ci(!this.aborted),ci(!this.completed),this.error)e(this.error);else return this.abort=e,this[an].onConnect(e)}onResponseStarted(){return this[an].onResponseStarted?.()}onHeaders(e,r,n,s){ci(!this.aborted),ci(!this.completed),os.headers.hasSubscribers&&os.headers.publish({request:this,response:{statusCode:e,headers:r,statusText:s}});try{return this[an].onHeaders(e,r,n,s)}catch(i){this.abort(i)}}onData(e){ci(!this.aborted),ci(!this.completed);try{return this[an].onData(e)}catch(r){return this.abort(r),!1}}onUpgrade(e,r,n){return ci(!this.aborted),ci(!this.completed),this[an].onUpgrade(e,r,n)}onComplete(e){this.onFinally(),ci(!this.aborted),this.completed=!0,os.trailers.hasSubscribers&&os.trailers.publish({request:this,trailers:e});try{return this[an].onComplete(e)}catch(r){this.onError(r)}}onError(e){if(this.onFinally(),os.error.hasSubscribers&&os.error.publish({request:this,error:e}),!this.aborted)return this.aborted=!0,this[an].onError(e)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(e,r){return pp(this,e,r),this}};function pp(t,e,r){if(r&&typeof r=="object"&&!Array.isArray(r))throw new Se(`invalid ${e} header`);if(r===void 0)return;let n=fk[e];if(n===void 0&&(n=e.toLowerCase(),fk[n]===void 0&&!gk(n)))throw new Se("invalid header key");if(Array.isArray(r)){let s=[];for(let i=0;i<r.length;i++)if(typeof r[i]=="string"){if(!LA(r[i]))throw new Se(`invalid ${e} header`);s.push(r[i])}else if(r[i]===null)s.push("");else{if(typeof r[i]=="object")throw new Se(`invalid ${e} header`);{let a=`${r[i]}`;if(!LA(a))throw new Se(`invalid ${e} header`);s.push(a)}}r=s}else if(typeof r=="string"){if(!LA(r))throw new Se(`invalid ${e} header`)}else if(r===null)r="";else if(r=`${r}`,!LA(r))throw new Se(`invalid ${e} header`);if(n==="host"){if(t.host!==null)throw new Se("duplicate host header");if(typeof r!="string")throw new Se("invalid host header");t.host=r}else if(n==="content-length"){if(t.contentLength!==null)throw new Se("duplicate content-length header");if(t.contentLength=parseInt(r,10),!Number.isFinite(t.contentLength))throw new Se("invalid content-length header")}else if(t.contentType===null&&n==="content-type")t.contentType=r,t.headers.push(e,r);else{if(n==="transfer-encoding"||n==="keep-alive"||n==="upgrade")throw new Se(`invalid ${n} header`);if(n==="connection"){let s=typeof r=="string"?r.toLowerCase():null;if(s!=="close"&&s!=="keep-alive")throw new Se("invalid connection header");s==="close"&&(t.reset=!0)}else{if(n==="expect")throw new c6("expect header not supported");t.headers.push(e,r)}}}o(pp,"processHeader");yk.exports=LI});var _A=g((DNe,Ck)=>{"use strict";var C6=require("node:events"),hp=class extends C6{static{o(this,"Dispatcher")}dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){let r=Array.isArray(e[0])?e[0]:e,n=this.dispatch.bind(this);for(let s of r)if(s!=null){if(typeof s!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof s}`);if(n=s(n),n==null||typeof n!="function"||n.length!==2)throw new TypeError("invalid interceptor")}return new _I(this,n)}},_I=class extends hp{static{o(this,"ComposedDispatcher")}#e=null;#t=null;constructor(e,r){super(),this.#e=e,this.#t=r}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}};Ck.exports=hp});var yc=g((kNe,Ik)=>{"use strict";var I6=_A(),{ClientDestroyedError:FI,ClientClosedError:B6,InvalidArgumentError:hc}=Ee(),{kDestroy:Q6,kClose:x6,kClosed:FA,kDestroyed:fc,kDispatch:UI,kInterceptors:Ho}=Oe(),li=Symbol("onDestroyed"),gc=Symbol("onClosed"),fp=Symbol("Intercepted Dispatch"),OI=Symbol("webSocketOptions"),qI=class extends I6{static{o(this,"DispatcherBase")}constructor(e){super(),this[fc]=!1,this[li]=null,this[FA]=!1,this[gc]=[],this[OI]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[OI].maxFragments??131072,maxPayloadSize:this[OI].maxPayloadSize??128*1024*1024}}get destroyed(){return this[fc]}get closed(){return this[FA]}get interceptors(){return this[Ho]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Ho][r]!="function")throw new hc("interceptor must be an function")}this[Ho]=e}close(e){if(e===void 0)return new Promise((n,s)=>{this.close((i,a)=>i?s(i):n(a))});if(typeof e!="function")throw new hc("invalid callback");if(this[fc]){queueMicrotask(()=>e(new FI,null));return}if(this[FA]){this[gc]?this[gc].push(e):queueMicrotask(()=>e(null,null));return}this[FA]=!0,this[gc].push(e);let r=o(()=>{let n=this[gc];this[gc]=null;for(let s=0;s<n.length;s++)n[s](null,null)},"onClosed");this[x6]().then(()=>this.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((s,i)=>{this.destroy(e,(a,c)=>a?i(a):s(c))});if(typeof r!="function")throw new hc("invalid callback");if(this[fc]){this[li]?this[li].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new FI),this[fc]=!0,this[li]=this[li]||[],this[li].push(r);let n=o(()=>{let s=this[li];this[li]=null;for(let i=0;i<s.length;i++)s[i](null,null)},"onDestroyed");this[Q6](e).then(()=>{queueMicrotask(n)})}[fp](e,r){if(!this[Ho]||this[Ho].length===0)return this[fp]=this[UI],this[UI](e,r);let n=this[UI].bind(this);for(let s=this[Ho].length-1;s>=0;s--)n=this[Ho][s](n);return this[fp]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new hc("handler must be an object");try{if(!e||typeof e!="object")throw new hc("opts must be an object.");if(this[fc]||this[li])throw new FI;if(this[FA])throw new B6;return this[fp](e,r)}catch(n){if(typeof r.onError!="function")throw new hc("invalid onError method");return r.onError(n),!1}}};Ik.exports=qI});var $I=g((LNe,bk)=>{"use strict";var Ec=0,HI=1e3,zI=(HI>>1)-1,Ai,GI=Symbol("kFastTimer"),ui=[],YI=-2,VI=-1,Qk=0,Bk=1;function JI(){Ec+=zI;let t=0,e=ui.length;for(;t<e;){let r=ui[t];r._state===Qk?(r._idleStart=Ec-zI,r._state=Bk):r._state===Bk&&Ec>=r._idleStart+r._idleTimeout&&(r._state=VI,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===VI?(r._state=YI,--e!==0&&(ui[t]=ui[e])):++t}ui.length=e,ui.length!==0&&xk()}o(JI,"onTick");function xk(){Ai?Ai.refresh():(clearTimeout(Ai),Ai=setTimeout(JI,zI),Ai.unref&&Ai.unref())}o(xk,"refreshTimeout");var gp=class{static{o(this,"FastTimer")}[GI]=!0;_state=YI;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===YI&&ui.push(this),(!Ai||ui.length===1)&&xk(),this._state=Qk}clear(){this._state=VI,this._idleStart=-1}};bk.exports={setTimeout(t,e,r){return e<=HI?setTimeout(t,e,r):new gp(t,e,r)},clearTimeout(t){t[GI]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new gp(t,e,r)},clearFastTimeout(t){t.clear()},now(){return Ec},tick(t=0){Ec+=t-HI+1,JI(),JI()},reset(){Ec=0,ui.length=0,clearTimeout(Ai),Ai=null},kFastTimer:GI}});var UA=g((ONe,vk)=>{"use strict";var b6=require("node:net"),wk=require("node:assert"),Rk=ce(),{InvalidArgumentError:w6,ConnectTimeoutError:N6}=Ee(),yp=$I();function Nk(){}o(Nk,"noop");var WI,jI;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?jI=class{static{o(this,"WeakSessionCache")}constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(r=>{if(this._sessionCache.size<this._maxCachedSessions)return;let n=this._sessionCache.get(r);n!==void 0&&n.deref()===void 0&&this._sessionCache.delete(r)})}get(e){let r=this._sessionCache.get(e);return r?r.deref():null}set(e,r){this._maxCachedSessions!==0&&(this._sessionCache.set(e,new WeakRef(r)),this._sessionRegistry.register(r,e))}}:jI=class{static{o(this,"SimpleSessionCache")}constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map}get(e){return this._sessionCache.get(e)}set(e,r){if(this._maxCachedSessions!==0){if(this._sessionCache.size>=this._maxCachedSessions){let{value:n}=this._sessionCache.keys().next();this._sessionCache.delete(n)}this._sessionCache.set(e,r)}}};function S6({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:s,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new w6("maxCachedSessions must be a positive integer or zero");let a={path:r,...i},c=new jI(e??100);return n=n??1e4,t=t??!1,o(function({hostname:A,host:u,protocol:d,port:m,servername:p,localAddress:h,httpSocket:f},C){let y;if(d==="https:"){WI||(WI=require("node:tls")),p=p||a.servername||Rk.getServerName(u)||null;let I=p||A;wk(I);let B=s||c.get(I)||null;m=m||443,y=WI.connect({highWaterMark:16384,...a,servername:p,session:B,localAddress:h,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:f,port:m,host:A}),y.on("session",function(N){c.set(I,N)})}else wk(!f,"httpSocket can only be sent on TLS update"),m=m||80,y=b6.connect({highWaterMark:64*1024,...a,localAddress:h,port:m,host:A});if(a.keepAlive==null||a.keepAlive){let I=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;y.setKeepAlive(!0,I)}let E=R6(new WeakRef(y),{timeout:n,hostname:A,port:m});return y.setNoDelay(!0).once(d==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(E),C){let I=C;C=null,I(null,this)}}).on("error",function(I){if(queueMicrotask(E),C){let B=C;C=null,B(I)}}),y},"connect")}o(S6,"buildConnector");var R6=process.platform==="win32"?(t,e)=>{if(!e.timeout)return Nk;let r=null,n=null,s=yp.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>Sk(t.deref(),e))})},e.timeout);return()=>{yp.clearFastTimeout(s),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return Nk;let r=null,n=yp.setFastTimeout(()=>{r=setImmediate(()=>{Sk(t.deref(),e)})},e.timeout);return()=>{yp.clearFastTimeout(n),clearImmediate(r)}};function Sk(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)`,Rk.destroy(t,new N6(r))}o(Sk,"onConnectTimeout");vk.exports=S6});var Pk=g(Ep=>{"use strict";Object.defineProperty(Ep,"__esModule",{value:!0});Ep.enumToMap=void 0;function v6(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}o(v6,"enumToMap");Ep.enumToMap=v6});var Dk=g(w=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0});w.SPECIAL_HEADERS=w.HEADER_STATE=w.MINOR=w.MAJOR=w.CONNECTION_TOKEN_CHARS=w.HEADER_CHARS=w.TOKEN=w.STRICT_TOKEN=w.HEX=w.URL_CHAR=w.STRICT_URL_CHAR=w.USERINFO_CHARS=w.MARK=w.ALPHANUM=w.NUM=w.HEX_MAP=w.NUM_MAP=w.ALPHA=w.FINISH=w.H_METHOD_MAP=w.METHOD_MAP=w.METHODS_RTSP=w.METHODS_ICE=w.METHODS_HTTP=w.METHODS=w.LENIENT_FLAGS=w.FLAGS=w.TYPE=w.ERROR=void 0;var P6=Pk(),D6;(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"})(D6=w.ERROR||(w.ERROR={}));var T6;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(T6=w.TYPE||(w.TYPE={}));var k6;(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"})(k6=w.FLAGS||(w.FLAGS={}));var M6;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(M6=w.LENIENT_FLAGS||(w.LENIENT_FLAGS={}));var $;(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"})($=w.METHODS||(w.METHODS={}));w.METHODS_HTTP=[$.DELETE,$.GET,$.HEAD,$.POST,$.PUT,$.CONNECT,$.OPTIONS,$.TRACE,$.COPY,$.LOCK,$.MKCOL,$.MOVE,$.PROPFIND,$.PROPPATCH,$.SEARCH,$.UNLOCK,$.BIND,$.REBIND,$.UNBIND,$.ACL,$.REPORT,$.MKACTIVITY,$.CHECKOUT,$.MERGE,$["M-SEARCH"],$.NOTIFY,$.SUBSCRIBE,$.UNSUBSCRIBE,$.PATCH,$.PURGE,$.MKCALENDAR,$.LINK,$.UNLINK,$.PRI,$.SOURCE];w.METHODS_ICE=[$.SOURCE];w.METHODS_RTSP=[$.OPTIONS,$.DESCRIBE,$.ANNOUNCE,$.SETUP,$.PLAY,$.PAUSE,$.TEARDOWN,$.GET_PARAMETER,$.SET_PARAMETER,$.REDIRECT,$.RECORD,$.FLUSH,$.GET,$.POST];w.METHOD_MAP=P6.enumToMap($);w.H_METHOD_MAP={};Object.keys(w.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(w.H_METHOD_MAP[t]=w.METHOD_MAP[t])});var L6;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(L6=w.FINISH||(w.FINISH={}));w.ALPHA=[];for(let t=65;t<=90;t++)w.ALPHA.push(String.fromCharCode(t)),w.ALPHA.push(String.fromCharCode(t+32));w.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};w.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};w.NUM=["0","1","2","3","4","5","6","7","8","9"];w.ALPHANUM=w.ALPHA.concat(w.NUM);w.MARK=["-","_",".","!","~","*","'","(",")"];w.USERINFO_CHARS=w.ALPHANUM.concat(w.MARK).concat(["%",";",":","&","=","+","$",","]);w.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(w.ALPHANUM);w.URL_CHAR=w.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)w.URL_CHAR.push(t);w.HEX=w.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);w.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(w.ALPHANUM);w.TOKEN=w.STRICT_TOKEN.concat([" "]);w.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&w.HEADER_CHARS.push(t);w.CONNECTION_TOKEN_CHARS=w.HEADER_CHARS.filter(t=>t!==44);w.MAJOR=w.NUM_MAP;w.MINOR=w.MAJOR;var Cc;(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"})(Cc=w.HEADER_STATE||(w.HEADER_STATE={}));w.SPECIAL_HEADERS={connection:Cc.CONNECTION,"content-length":Cc.CONTENT_LENGTH,"proxy-connection":Cc.CONNECTION,"transfer-encoding":Cc.TRANSFER_ENCODING,upgrade:Cc.UPGRADE}});var KI=g((YNe,Tk)=>{"use strict";var{Buffer:_6}=require("node:buffer");Tk.exports=_6.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAG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gAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAIoAhwiA0EBaw7d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kACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw9lANAQkRFRklLTk9QUVJTVFVWWFpbXF1eX2BhYmNkZWZnaGpsb3Bxc3V2eHl6e3x/gAGBAYIBgwGEAYUBhgGHAYgB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acBIQMgASAERg2FAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHtzwBqLQAARw1IIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyGAgsgAkEANgIAIAZBAWohAUERDEkLQagBIQMgASAERg2EAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHCzwBqLQAARw1HIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyFAgsgAkEANgIAIAZBAWohAUEsDEgLQakBIQMgASAERg2DAiACKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEHFzwBqLQAARw1GIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyEAgsgAkEANgIAIAZBAWohAUErDEcLQaoBIQMgASAERg2CAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHKzwBqLQAARw1FIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyDAgsgAkEANgIAIAZBAWohAUEUDEYLIAEgBEYEQEGrASEDDIICCwJAAkACQAJAIAEtAABBwgBrDg8AAQJHR0dHR0dHR0dHRwNHCyABQQFqIQFBkwEhAwzrAQsgAUEBaiEBQZQBIQMM6gELIAFBAWohAUGVASEDDOkBCyABQQFqIQFBlgEhAwzoAQsgASAERgRAQawBIQMMgQILIAEtAABBxQBHDUIgAUEBaiEBDD0LQa0BIQMgASAERg3/ASACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHNzwBqLQAARw1CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyAAgsgAkEANgIAIAZBAWohAUEODEMLIAEgBEYEQEGuASEDDP8BCyABLQAAQdAARw1AIAFBAWohAUElDEILQa8BIQMgASAERg39ASACKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEHQzwBqLQAARw1AIABBCEYNASAAQQFq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82AhAgAkEHNgIMQQAhAwy2AQsgAkEANgIcIAIgATYCFCACQcMPNgIQIAJBBzYCDEEAIQMMtQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0RIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMtAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAk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H///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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AkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6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hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var OA=g((JNe,zk)=>{"use strict";var Lk=["GET","HEAD","POST"],U6=new Set(Lk),O6=[101,204,205,304],_k=[301,302,303,307,308],q6=new Set(_k),Fk=["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"],H6=new Set(Fk),Uk=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],z6=new Set(Uk),G6=["follow","manual","error"],Ok=["GET","HEAD","OPTIONS","TRACE"],Y6=new Set(Ok),V6=["navigate","same-origin","no-cors","cors"],J6=["omit","same-origin","include"],$6=["default","no-store","reload","no-cache","force-cache","only-if-cached"],W6=["content-encoding","content-language","content-location","content-type","content-length"],j6=["half"],qk=["CONNECT","TRACE","TRACK"],K6=new Set(qk),Hk=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],X6=new Set(Hk);zk.exports={subresource:Hk,forbiddenMethods:qk,requestBodyHeader:W6,referrerPolicy:Uk,requestRedirect:G6,requestMode:V6,requestCredentials:J6,requestCache:$6,redirectStatus:_k,corsSafeListedMethods:Lk,nullBodyStatus:O6,safeMethods:Ok,badPorts:Fk,requestDuplex:j6,subresourceSet:X6,badPortsSet:H6,redirectStatusSet:q6,corsSafeListedMethodsSet:U6,safeMethodsSet:Y6,forbiddenMethodsSet:K6,referrerPolicySet:z6}});var ZI=g(($Ne,Gk)=>{"use strict";var XI=Symbol.for("undici.globalOrigin.1");function Z6(){return globalThis[XI]}o(Z6,"getGlobalOrigin");function ej(t){if(t===void 0){Object.defineProperty(globalThis,XI,{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,XI,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(ej,"setGlobalOrigin");Gk.exports={getGlobalOrigin:Z6,setGlobalOrigin:ej}});var lr=g((jNe,Kk)=>{"use strict";var Ip=require("node:assert"),tj=new TextEncoder,qA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,rj=/[\u000A\u000D\u0009\u0020]/,nj=/[\u0009\u000A\u000C\u000D\u0020]/g,sj=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function ij(t){Ip(t.protocol==="data:");let e=Jk(t,!0);e=e.slice(5);let r={position:0},n=Ic(",",e,r),s=n.length;if(n=uj(n,!0,!0),r.position>=e.length)return"failure";r.position++;let i=e.slice(s+1),a=$k(i);if(/;(\u0020){0,}base64$/i.test(n)){let l=jk(a);if(a=aj(l),a==="failure")return"failure";n=n.slice(0,-6),n=n.replace(/(\u0020)+$/,""),n=n.slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let c=eB(n);return c==="failure"&&(c=eB("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(ij,"dataURLProcessor");function Jk(t,e=!1){if(!e)return t.href;let r=t.href,n=t.hash.length,s=n===0?r:r.substring(0,r.length-n);return!n&&r.endsWith("#")?s.slice(0,-1):s}o(Jk,"URLSerializer");function Bp(t,e,r){let n="";for(;r.position<e.length&&t(e[r.position]);)n+=e[r.position],r.position++;return n}o(Bp,"collectASequenceOfCodePoints");function Ic(t,e,r){let n=e.indexOf(t,r.position),s=r.position;return n===-1?(r.position=e.length,e.slice(s)):(r.position=n,e.slice(s,r.position))}o(Ic,"collectASequenceOfCodePointsFast");function $k(t){let e=tj.encode(t);return oj(e)}o($k,"stringPercentDecode");function Yk(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(Yk,"isHexCharByte");function Vk(t){return t>=48&&t<=57?t-48:(t&223)-55}o(Vk,"hexByteToNumber");function oj(t){let e=t.length,r=new Uint8Array(e),n=0;for(let s=0;s<e;++s){let i=t[s];i!==37?r[n++]=i:i===37&&!(Yk(t[s+1])&&Yk(t[s+2]))?r[n++]=37:(r[n++]=Vk(t[s+1])<<4|Vk(t[s+2]),s+=2)}return e===n?r:r.subarray(0,n)}o(oj,"percentDecode");function eB(t){t=Cp(t,!0,!0);let e={position:0},r=Ic("/",t,e);if(r.length===0||!qA.test(r)||e.position>t.length)return"failure";e.position++;let n=Ic(";",t,e);if(n=Cp(n,!1,!0),n.length===0||!qA.test(n))return"failure";let s=r.toLowerCase(),i=n.toLowerCase(),a={type:s,subtype:i,parameters:new Map,essence:`${s}/${i}`};for(;e.position<t.length;){e.position++,Bp(A=>rj.test(A),t,e);let c=Bp(A=>A!==";"&&A!=="=",t,e);if(c=c.toLowerCase(),e.position<t.length){if(t[e.position]===";")continue;e.position++}if(e.position>t.length)break;let l=null;if(t[e.position]==='"')l=Wk(t,e,!0),Ic(";",t,e);else if(l=Ic(";",t,e),l=Cp(l,!1,!0),l.length===0)continue;c.length!==0&&qA.test(c)&&(l.length===0||sj.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(eB,"parseMIMEType");function aj(t){t=t.replace(nj,"");let e=t.length;if(e%4===0&&t.charCodeAt(e-1)===61&&(--e,t.charCodeAt(e-1)===61&&--e),e%4===1||/[^+/0-9A-Za-z]/.test(t.length===e?t:t.substring(0,e)))return"failure";let r=Buffer.from(t,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}o(aj,"forgivingBase64");function Wk(t,e,r){let n=e.position,s="";for(Ip(t[e.position]==='"'),e.position++;s+=Bp(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let i=t[e.position];if(e.position++,i==="\\"){if(e.position>=t.length){s+="\\";break}s+=t[e.position],e.position++}else{Ip(i==='"');break}}return r?s:t.slice(n,e.position)}o(Wk,"collectAnHTTPQuotedString");function cj(t){Ip(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[s,i]of e.entries())n+=";",n+=s,n+="=",qA.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),n+=i;return n}o(cj,"serializeAMimeType");function lj(t){return t===13||t===10||t===9||t===32}o(lj,"isHTTPWhiteSpace");function Cp(t,e=!0,r=!0){return tB(t,e,r,lj)}o(Cp,"removeHTTPWhitespace");function Aj(t){return t===13||t===10||t===9||t===12||t===32}o(Aj,"isASCIIWhitespace");function uj(t,e=!0,r=!0){return tB(t,e,r,Aj)}o(uj,"removeASCIIWhitespace");function tB(t,e,r,n){let s=0,i=t.length-1;if(e)for(;s<t.length&&n(t.charCodeAt(s));)s++;if(r)for(;i>0&&n(t.charCodeAt(i));)i--;return s===0&&i===t.length-1?t:t.slice(s,i+1)}o(tB,"removeChars");function jk(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",n=0,s=65535;for(;n<e;)n+s>e&&(s=e-n),r+=String.fromCharCode.apply(null,t.subarray(n,n+=s));return r}o(jk,"isomorphicDecode");function dj(t){switch(t.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return t.subtype.endsWith("+json")?"application/json":t.subtype.endsWith("+xml")?"application/xml":""}o(dj,"minimizeSupportedMimeType");Kk.exports={dataURLProcessor:ij,URLSerializer:Jk,collectASequenceOfCodePoints:Bp,collectASequenceOfCodePointsFast:Ic,stringPercentDecode:$k,parseMIMEType:eB,collectAnHTTPQuotedString:Wk,serializeAMimeType:cj,removeChars:tB,removeHTTPWhitespace:Cp,minimizeSupportedMimeType:dj,HTTP_TOKEN_CODEPOINTS:qA,isomorphicDecode:jk}});var Tt=g((XNe,Xk)=>{"use strict";var{types:as,inspect:mj}=require("node:util"),{markAsUncloneable:pj}=require("node:worker_threads"),{toUSVString:hj}=ce(),x={};x.converters={};x.util={};x.errors={};x.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};x.errors.conversionFailed=function(t){let e=t.types.length===1?"":" one of",r=`${t.argument} could not be converted to${e}: ${t.types.join(", ")}.`;return x.errors.exception({header:t.prefix,message:r})};x.errors.invalidArgument=function(t){return x.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};x.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}};x.argumentLengthCheck=function({length:t},e,r){if(t<e)throw x.errors.exception({message:`${e} argument${e!==1?"s":""} required, but${t?" only":""} ${t} found.`,header:r})};x.illegalConstructor=function(){throw x.errors.exception({header:"TypeError",message:"Illegal constructor"})};x.util.Type=function(t){switch(typeof t){case"undefined":return"Undefined";case"boolean":return"Boolean";case"string":return"String";case"symbol":return"Symbol";case"number":return"Number";case"bigint":return"BigInt";case"function":case"object":return t===null?"Null":"Object"}};x.util.markAsUncloneable=pj||(()=>{});x.util.ConvertToInt=function(t,e,r,n){let s,i;e===64?(s=Math.pow(2,53)-1,r==="unsigned"?i=0:i=Math.pow(-2,53)+1):r==="unsigned"?(i=0,s=Math.pow(2,e)-1):(i=Math.pow(-2,e)-1,s=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),n?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw x.errors.exception({header:"Integer conversion",message:`Could not convert ${x.util.Stringify(t)} to an integer.`});if(a=x.util.IntegerPart(a),a<i||a>s)throw x.errors.exception({header:"Integer conversion",message:`Value must be between ${i}-${s}, got ${a}.`});return a}return!Number.isNaN(a)&&n?.clamp===!0?(a=Math.min(Math.max(a,i),s),Math.floor(a)%2===0?a=Math.floor(a):a=Math.ceil(a),a):Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY?0:(a=x.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};x.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};x.util.Stringify=function(t){switch(x.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return mj(t);case"String":return`"${t}"`;default:return`${t}`}};x.sequenceConverter=function(t){return(e,r,n,s)=>{if(x.util.Type(e)!=="Object")throw x.errors.exception({header:r,message:`${n} (${x.util.Stringify(e)}) is not iterable.`});let i=typeof s=="function"?s():e?.[Symbol.iterator]?.(),a=[],c=0;if(i===void 0||typeof i.next!="function")throw x.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:l,value:A}=i.next();if(l)break;a.push(t(A,r,`${n}[${c++}]`))}return a}};x.recordConverter=function(t,e){return(r,n,s)=>{if(x.util.Type(r)!=="Object")throw x.errors.exception({header:n,message:`${s} ("${x.util.Type(r)}") is not an Object.`});let i={};if(!as.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let l of c){let A=t(l,n,s),u=e(r[l],n,s);i[A]=u}return i}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let A=t(c,n,s),u=e(r[c],n,s);i[A]=u}return i}};x.interfaceConverter=function(t){return(e,r,n,s)=>{if(s?.strict!==!1&&!(e instanceof t))throw x.errors.exception({header:r,message:`Expected ${n} ("${x.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};x.dictionaryConverter=function(t){return(e,r,n)=>{let s=x.util.Type(e),i={};if(s==="Null"||s==="Undefined")return i;if(s!=="Object")throw x.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let a of t){let{key:c,defaultValue:l,required:A,converter:u}=a;if(A===!0&&!Object.hasOwn(e,c))throw x.errors.exception({header:r,message:`Missing required key "${c}".`});let d=e[c],m=Object.hasOwn(a,"defaultValue");if(m&&d!==null&&(d??=l()),A||m||d!==void 0){if(d=u(d,r,`${n}.${c}`),a.allowedValues&&!a.allowedValues.includes(d))throw x.errors.exception({header:r,message:`${d} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});i[c]=d}}return i}};x.nullableConverter=function(t){return(e,r,n)=>e===null?e:t(e,r,n)};x.converters.DOMString=function(t,e,r,n){if(t===null&&n?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw x.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};x.converters.ByteString=function(t,e,r){let n=x.converters.DOMString(t,e,r);for(let s=0;s<n.length;s++)if(n.charCodeAt(s)>255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${s} has a value of ${n.charCodeAt(s)} which is greater than 255.`);return n};x.converters.USVString=hj;x.converters.boolean=function(t){return!!t};x.converters.any=function(t){return t};x.converters["long long"]=function(t,e,r){return x.util.ConvertToInt(t,64,"signed",void 0,e,r)};x.converters["unsigned long long"]=function(t,e,r){return x.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};x.converters["unsigned long"]=function(t,e,r){return x.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};x.converters["unsigned short"]=function(t,e,r,n){return x.util.ConvertToInt(t,16,"unsigned",n,e,r)};x.converters.ArrayBuffer=function(t,e,r,n){if(x.util.Type(t)!=="Object"||!as.isAnyArrayBuffer(t))throw x.errors.conversionFailed({prefix:e,argument:`${r} ("${x.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&as.isSharedArrayBuffer(t))throw x.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw x.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};x.converters.TypedArray=function(t,e,r,n,s){if(x.util.Type(t)!=="Object"||!as.isTypedArray(t)||t.constructor.name!==e.name)throw x.errors.conversionFailed({prefix:r,argument:`${n} ("${x.util.Stringify(t)}")`,types:[e.name]});if(s?.allowShared===!1&&as.isSharedArrayBuffer(t.buffer))throw x.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw x.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};x.converters.DataView=function(t,e,r,n){if(x.util.Type(t)!=="Object"||!as.isDataView(t))throw x.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&as.isSharedArrayBuffer(t.buffer))throw x.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw x.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};x.converters.BufferSource=function(t,e,r,n){if(as.isAnyArrayBuffer(t))return x.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(as.isTypedArray(t))return x.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(as.isDataView(t))return x.converters.DataView(t,e,r,{...n,allowShared:!1});throw x.errors.conversionFailed({prefix:e,argument:`${r} ("${x.util.Stringify(t)}")`,types:["BufferSource"]})};x.converters["sequence<ByteString>"]=x.sequenceConverter(x.converters.ByteString);x.converters["sequence<sequence<ByteString>>"]=x.sequenceConverter(x.converters["sequence<ByteString>"]);x.converters["record<ByteString, ByteString>"]=x.recordConverter(x.converters.ByteString,x.converters.ByteString);Xk.exports={webidl:x}});var Pr=g((ZNe,dM)=>{"use strict";var{Transform:fj}=require("node:stream"),Zk=require("node:zlib"),{redirectStatusSet:gj,referrerPolicySet:yj,badPortsSet:Ej}=OA(),{getGlobalOrigin:eM}=ZI(),{collectASequenceOfCodePoints:zo,collectAnHTTPQuotedString:Cj,removeChars:Ij,parseMIMEType:Bj}=lr(),{performance:Qj}=require("node:perf_hooks"),{isBlobLike:xj,ReadableStreamFrom:bj,isValidHTTPToken:tM,normalizedMethodRecordsBase:wj}=ce(),Go=require("node:assert"),{isUint8Array:Nj}=require("node:util/types"),{webidl:HA}=Tt(),rM=[],xp;try{xp=require("node:crypto");let t=["sha256","sha384","sha512"];rM=xp.getHashes().filter(e=>t.includes(e))}catch{}function nM(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(nM,"responseURL");function Sj(t,e){if(!gj.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&iM(r)&&(sM(r)||(r=Rj(r)),r=new URL(r,nM(t))),r&&!r.hash&&(r.hash=e),r}o(Sj,"responseLocationURL");function sM(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r>126||r<32)return!1}return!0}o(sM,"isValidEncodedURL");function Rj(t){return Buffer.from(t,"binary").toString("utf8")}o(Rj,"normalizeBinaryStringToUtf8");function GA(t){return t.urlList[t.urlList.length-1]}o(GA,"requestCurrentURL");function vj(t){let e=GA(t);return AM(e)&&Ej.has(e.port)?"blocked":"allowed"}o(vj,"requestBadPort");function Pj(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(Pj,"isErrorLike");function Dj(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(!(r===9||r>=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(Dj,"isValidReasonPhrase");var Tj=tM;function iM(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(`
`)||t.includes("\r")||t.includes("\0"))===!1}o(iM,"isValidHeaderValue");function kj(t,e){let{headersList:r}=e,n=(r.get("referrer-policy",!0)??"").split(","),s="";if(n.length>0)for(let i=n.length;i!==0;i--){let a=n[i-1].trim();if(yj.has(a)){s=a;break}}s!==""&&(t.referrerPolicy=s)}o(kj,"setRequestReferrerPolicyOnRedirect");function Mj(){return"allowed"}o(Mj,"crossOriginResourcePolicyCheck");function Lj(){return"success"}o(Lj,"corsCheck");function _j(){return"success"}o(_j,"TAOCheck");function Fj(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(Fj,"appendFetchMetadata");function Uj(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&&nB(t.origin)&&!nB(GA(t))&&(e=null);break;case"same-origin":bp(t,GA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(Uj,"appendRequestOriginHeader");function Bc(t,e){return t}o(Bc,"coarsenTime");function Oj(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:Bc(t.domainLookupStartTime,r),domainLookupEndTime:Bc(t.domainLookupEndTime,r),connectionStartTime:Bc(t.connectionStartTime,r),connectionEndTime:Bc(t.connectionEndTime,r),secureConnectionStartTime:Bc(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}o(Oj,"clampAndCoarsenConnectionTimingInfo");function qj(t){return Bc(Qj.now(),t)}o(qj,"coarsenedSharedCurrentTime");function Hj(t){return{startTime:t.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:t.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}o(Hj,"createOpaqueTimingInfo");function oM(){return{referrerPolicy:"strict-origin-when-cross-origin"}}o(oM,"makePolicyContainer");function zj(t){return{referrerPolicy:t.referrerPolicy}}o(zj,"clonePolicyContainer");function Gj(t){let e=t.referrerPolicy;Go(e);let r=null;if(t.referrer==="client"){let c=eM();if(!c||c.origin==="null")return"no-referrer";r=new URL(c)}else t.referrer instanceof URL&&(r=t.referrer);let n=rB(r),s=rB(r,!0);n.toString().length>4096&&(n=s);let i=bp(t,n),a=zA(n)&&!zA(t.url);switch(e){case"origin":return s??rB(r,!0);case"unsafe-url":return n;case"same-origin":return i?s:"no-referrer";case"origin-when-cross-origin":return i?n:s;case"strict-origin-when-cross-origin":{let c=GA(t);return bp(n,c)?n:zA(n)&&!zA(c)?"no-referrer":s}default:return a?"no-referrer":s}}o(Gj,"determineRequestsReferrer");function rB(t,e){return Go(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}o(rB,"stripURLForReferrer");function zA(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let n=new URL(r);return!!(n.protocol==="https:"||n.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(n.hostname)||n.hostname==="localhost"||n.hostname.includes("localhost.")||n.hostname.endsWith(".localhost"))}}o(zA,"isURLPotentiallyTrustworthy");function Yj(t,e){if(xp===void 0)return!0;let r=aM(e);if(r==="no metadata"||r.length===0)return!0;let n=Jj(r),s=$j(r,n);for(let i of s){let a=i.algo,c=i.hash,l=xp.createHash(a).update(t).digest("base64");if(l[l.length-1]==="="&&(l[l.length-2]==="="?l=l.slice(0,-2):l=l.slice(0,-1)),Wj(l,c))return!0}return!1}o(Yj,"bytesMatch");var Vj=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function aM(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let s=Vj.exec(n);if(s===null||s.groups===void 0||s.groups.algo===void 0)continue;let i=s.groups.algo.toLowerCase();rM.includes(i)&&e.push(s.groups)}return r===!0?"no metadata":e}o(aM,"parseMetadata");function Jj(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r<t.length;++r){let n=t[r];if(n.algo[3]==="5"){e="sha512";break}else{if(e[3]==="3")continue;n.algo[3]==="3"&&(e="sha384")}}return e}o(Jj,"getStrongestMetadata");function $j(t,e){if(t.length===1)return t;let r=0;for(let n=0;n<t.length;++n)t[n].algo===e&&(t[r++]=t[n]);return t.length=r,t}o($j,"filterMetadataListByAlgorithm");function Wj(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(t[r]!==e[r]){if(t[r]==="+"&&e[r]==="-"||t[r]==="/"&&e[r]==="_")continue;return!1}return!0}o(Wj,"compareBase64Mixed");function jj(t){}o(jj,"tryUpgradeRequestToAPotentiallyTrustworthyURL");function bp(t,e){return t.origin===e.origin&&t.origin==="null"||t.protocol===e.protocol&&t.hostname===e.hostname&&t.port===e.port}o(bp,"sameOrigin");function Kj(){let t,e;return{promise:new Promise((n,s)=>{t=n,e=s}),resolve:t,reject:e}}o(Kj,"createDeferredPromise");function Xj(t){return t.controller.state==="aborted"}o(Xj,"isAborted");function Zj(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(Zj,"isCancelled");function eK(t){return wj[t.toLowerCase()]??t}o(eK,"normalizeMethod");function tK(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Go(typeof e=="string"),e}o(tK,"serializeJavascriptValueToJSONString");var rK=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function cM(t,e,r=0,n=1){class s{static{o(this,"FastIterableIterator")}#e;#t;#r;constructor(a,c){this.#e=a,this.#t=c,this.#r=0}next(){if(typeof this!="object"||this===null||!(#e in this))throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`);let a=this.#r,c=this.#e[e],l=c.length;if(a>=l)return{value:void 0,done:!0};let{[r]:A,[n]:u}=c[a];this.#r=a+1;let d;switch(this.#t){case"key":d=A;break;case"value":d=u;break;case"key+value":d=[A,u];break}return{value:d,done:!1}}}return delete s.prototype.constructor,Object.setPrototypeOf(s.prototype,rK),Object.defineProperties(s.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(i,a){return new s(i,a)}}o(cM,"createIterator");function nK(t,e,r,n=0,s=1){let i=cM(t,r,n,s),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return HA.brandCheck(this,e),i(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return HA.brandCheck(this,e),i(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return HA.brandCheck(this,e),i(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,A=globalThis){if(HA.brandCheck(this,e),HA.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof l!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:u,1:d}of i(this,"key+value"))l.call(A,d,u,this)},"forEach")}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}o(nK,"iteratorMixin");async function sK(t,e,r){let n=e,s=r,i;try{i=t.stream.getReader()}catch(a){s(a);return}try{n(await lM(i))}catch(a){s(a)}}o(sK,"fullyReadBody");function iK(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(iK,"isReadableStreamLike");function oK(t){try{t.close(),t.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}}o(oK,"readableStreamClose");var aK=/[^\x00-\xFF]/;function Qp(t){return Go(!aK.test(t)),t}o(Qp,"isomorphicEncode");async function lM(t){let e=[],r=0;for(;;){let{done:n,value:s}=await t.read();if(n)return Buffer.concat(e,r);if(!Nj(s))throw new TypeError("Received non-Uint8Array chunk");e.push(s),r+=s.length}}o(lM,"readAllBytes");function cK(t){Go("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(cK,"urlIsLocal");function nB(t){return typeof t=="string"&&t[5]===":"&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&t[4]==="s"||t.protocol==="https:"}o(nB,"urlHasHttpsScheme");function AM(t){Go("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(AM,"urlIsHttpHttpsScheme");function lK(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&zo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&zo(l=>l===" "||l===" ",r,n);let s=zo(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),i=s.length?Number(s):null;if(e&&zo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&zo(l=>l===" "||l===" ",r,n);let a=zo(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),c=a.length?Number(a):null;return n.position<r.length||c===null&&i===null||i>c?"failure":{rangeStartValue:i,rangeEndValue:c}}o(lK,"simpleRangeHeaderValue");function AK(t,e,r){let n="bytes ";return n+=Qp(`${t}`),n+="-",n+=Qp(`${e}`),n+="/",n+=Qp(`${r}`),n}o(AK,"buildContentRange");var sB=class extends fj{static{o(this,"InflateStream")}#e;constructor(e){super(),this.#e=e}_transform(e,r,n){if(!this._inflateStream){if(e.length===0){n();return}this._inflateStream=(e[0]&15)===8?Zk.createInflate(this.#e):Zk.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",s=>this.destroy(s))}this._inflateStream.write(e,r,n)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function uK(t){return new sB(t)}o(uK,"createInflate");function dK(t){let e=null,r=null,n=null,s=uM("content-type",t);if(s===null)return"failure";for(let i of s){let a=Bj(i);a==="failure"||a.essence==="*/*"||(n=a,n.essence!==r?(e=null,n.parameters.has("charset")&&(e=n.parameters.get("charset")),r=n.essence):!n.parameters.has("charset")&&e!==null&&n.parameters.set("charset",e))}return n??"failure"}o(dK,"extractMimeType");function mK(t){let e=t,r={position:0},n=[],s="";for(;r.position<e.length;){if(s+=zo(i=>i!=='"'&&i!==",",e,r),r.position<e.length)if(e.charCodeAt(r.position)===34){if(s+=Cj(e,r),r.position<e.length)continue}else Go(e.charCodeAt(r.position)===44),r.position++;s=Ij(s,!0,!0,i=>i===9||i===32),n.push(s),s=""}return n}o(mK,"gettingDecodingSplitting");function uM(t,e){let r=e.get(t,!0);return r===null?null:mK(r)}o(uM,"getDecodeSplit");var pK=new TextDecoder;function hK(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),pK.decode(t))}o(hK,"utf8DecodeBytes");var iB=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return eM()}get origin(){return this.baseUrl?.origin}policyContainer=oM()},oB=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new iB},fK=new oB;dM.exports={isAborted:Xj,isCancelled:Zj,isValidEncodedURL:sM,createDeferredPromise:Kj,ReadableStreamFrom:bj,tryUpgradeRequestToAPotentiallyTrustworthyURL:jj,clampAndCoarsenConnectionTimingInfo:Oj,coarsenedSharedCurrentTime:qj,determineRequestsReferrer:Gj,makePolicyContainer:oM,clonePolicyContainer:zj,appendFetchMetadata:Fj,appendRequestOriginHeader:Uj,TAOCheck:_j,corsCheck:Lj,crossOriginResourcePolicyCheck:Mj,createOpaqueTimingInfo:Hj,setRequestReferrerPolicyOnRedirect:kj,isValidHTTPToken:tM,requestBadPort:vj,requestCurrentURL:GA,responseURL:nM,responseLocationURL:Sj,isBlobLike:xj,isURLPotentiallyTrustworthy:zA,isValidReasonPhrase:Dj,sameOrigin:bp,normalizeMethod:eK,serializeJavascriptValueToJSONString:tK,iteratorMixin:nK,createIterator:cM,isValidHeaderName:Tj,isValidHeaderValue:iM,isErrorLike:Pj,fullyReadBody:sK,bytesMatch:Yj,isReadableStreamLike:iK,readableStreamClose:oK,isomorphicEncode:Qp,urlIsLocal:cK,urlHasHttpsScheme:nB,urlIsHttpHttpsScheme:AM,readAllBytes:lM,simpleRangeHeaderValue:lK,buildContentRange:AK,parseMetadata:aM,createInflate:uK,extractMimeType:dK,getDecodeSplit:uM,utf8DecodeBytes:hK,environmentSettingsObject:fK}});var Wi=g((tSe,mM)=>{"use strict";mM.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var cB=g((rSe,pM)=>{"use strict";var{Blob:gK,File:yK}=require("node:buffer"),{kState:di}=Wi(),{webidl:cs}=Tt(),aB=class t{static{o(this,"FileLike")}constructor(e,r,n={}){let s=r,i=n.type,a=n.lastModified??Date.now();this[di]={blobLike:e,name:s,type:i,lastModified:a}}stream(...e){return cs.brandCheck(this,t),this[di].blobLike.stream(...e)}arrayBuffer(...e){return cs.brandCheck(this,t),this[di].blobLike.arrayBuffer(...e)}slice(...e){return cs.brandCheck(this,t),this[di].blobLike.slice(...e)}text(...e){return cs.brandCheck(this,t),this[di].blobLike.text(...e)}get size(){return cs.brandCheck(this,t),this[di].blobLike.size}get type(){return cs.brandCheck(this,t),this[di].blobLike.type}get name(){return cs.brandCheck(this,t),this[di].name}get lastModified(){return cs.brandCheck(this,t),this[di].lastModified}get[Symbol.toStringTag](){return"File"}};cs.converters.Blob=cs.interfaceConverter(gK);function EK(t){return t instanceof yK||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(EK,"isFileLike");pM.exports={FileLike:aB,isFileLike:EK}});var VA=g((sSe,EM)=>{"use strict";var{isBlobLike:wp,iteratorMixin:CK}=Pr(),{kState:$t}=Wi(),{kEnumerableProperty:Qc}=ce(),{FileLike:hM,isFileLike:IK}=cB(),{webidl:Te}=Tt(),{File:yM}=require("node:buffer"),fM=require("node:util"),gM=globalThis.File??yM,YA=class t{static{o(this,"FormData")}constructor(e){if(Te.util.markAsUncloneable(this),e!==void 0)throw Te.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[$t]=[]}append(e,r,n=void 0){Te.brandCheck(this,t);let s="FormData.append";if(Te.argumentLengthCheck(arguments,2,s),arguments.length===3&&!wp(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Te.converters.USVString(e,s,"name"),r=wp(r)?Te.converters.Blob(r,s,"value",{strict:!1}):Te.converters.USVString(r,s,"value"),n=arguments.length===3?Te.converters.USVString(n,s,"filename"):void 0;let i=lB(e,r,n);this[$t].push(i)}delete(e){Te.brandCheck(this,t);let r="FormData.delete";Te.argumentLengthCheck(arguments,1,r),e=Te.converters.USVString(e,r,"name"),this[$t]=this[$t].filter(n=>n.name!==e)}get(e){Te.brandCheck(this,t);let r="FormData.get";Te.argumentLengthCheck(arguments,1,r),e=Te.converters.USVString(e,r,"name");let n=this[$t].findIndex(s=>s.name===e);return n===-1?null:this[$t][n].value}getAll(e){Te.brandCheck(this,t);let r="FormData.getAll";return Te.argumentLengthCheck(arguments,1,r),e=Te.converters.USVString(e,r,"name"),this[$t].filter(n=>n.name===e).map(n=>n.value)}has(e){Te.brandCheck(this,t);let r="FormData.has";return Te.argumentLengthCheck(arguments,1,r),e=Te.converters.USVString(e,r,"name"),this[$t].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){Te.brandCheck(this,t);let s="FormData.set";if(Te.argumentLengthCheck(arguments,2,s),arguments.length===3&&!wp(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Te.converters.USVString(e,s,"name"),r=wp(r)?Te.converters.Blob(r,s,"name",{strict:!1}):Te.converters.USVString(r,s,"name"),n=arguments.length===3?Te.converters.USVString(n,s,"name"):void 0;let i=lB(e,r,n),a=this[$t].findIndex(c=>c.name===e);a!==-1?this[$t]=[...this[$t].slice(0,a),i,...this[$t].slice(a+1).filter(c=>c.name!==e)]:this[$t].push(i)}[fM.inspect.custom](e,r){let n=this[$t].reduce((i,a)=>(i[a.name]?Array.isArray(i[a.name])?i[a.name].push(a.value):i[a.name]=[i[a.name],a.value]:i[a.name]=a.value,i),{__proto__:null});r.depth??=e,r.colors??=!0;let s=fM.formatWithOptions(r,n);return`FormData ${s.slice(s.indexOf("]")+2)}`}};CK("FormData",YA,$t,"name","value");Object.defineProperties(YA.prototype,{append:Qc,delete:Qc,get:Qc,getAll:Qc,has:Qc,set:Qc,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function lB(t,e,r){if(typeof e!="string"){if(IK(e)||(e=e instanceof Blob?new gM([e],"blob",{type:e.type}):new hM(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof yM?new gM([e],r,n):new hM(e,r,n)}}return{name:t,value:e}}o(lB,"makeEntry");EM.exports={FormData:YA,makeEntry:lB}});var bM=g((oSe,xM)=>{"use strict";var{isUSVString:CM,bufferToLowerCasedHeaderName:BK}=ce(),{utf8DecodeBytes:QK}=Pr(),{HTTP_TOKEN_CODEPOINTS:xK,isomorphicDecode:IM}=lr(),{isFileLike:bK}=cB(),{makeEntry:wK}=VA(),Np=require("node:assert"),{File:NK}=require("node:buffer"),SK=globalThis.File??NK,RK=Buffer.from('form-data; name="'),BM=Buffer.from("; filename"),vK=Buffer.from("--"),PK=Buffer.from(`--\r
`);function DK(t){for(let e=0;e<t.length;++e)if((t.charCodeAt(e)&-128)!==0)return!1;return!0}o(DK,"isAsciiString");function TK(t){let e=t.length;if(e<27||e>70)return!1;for(let r=0;r<e;++r){let n=t.charCodeAt(r);if(!(n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||n===39||n===45||n===95))return!1}return!0}o(TK,"validateBoundary");function kK(t,e){Np(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let n=Buffer.from(`--${r}`,"utf8"),s=[],i={position:0};for(;t[i.position]===13&&t[i.position+1]===10;)i.position+=2;let a=t.length;for(;t[a-1]===10&&t[a-2]===13;)a-=2;for(a!==t.length&&(t=t.subarray(0,a));;){if(t.subarray(i.position,i.position+n.length).equals(n))i.position+=n.length;else return"failure";if(i.position===t.length-2&&Sp(t,vK,i)||i.position===t.length-4&&Sp(t,PK,i))return s;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=MK(t,i);if(c==="failure")return"failure";let{name:l,filename:A,contentType:u,encoding:d}=c;i.position+=2;let m;{let h=t.indexOf(n.subarray(2),i.position);if(h===-1)return"failure";m=t.subarray(i.position,h-4),i.position+=m.length,d==="base64"&&(m=Buffer.from(m.toString(),"base64"))}if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let p;A!==null?(u??="text/plain",DK(u)||(u=""),p=new SK([m],A,{type:u})):p=QK(Buffer.from(m)),Np(CM(l)),Np(typeof p=="string"&&CM(p)||bK(p)),s.push(wK(l,p,A))}}o(kK,"multipartFormDataParser");function MK(t,e){let r=null,n=null,s=null,i=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:n,contentType:s,encoding:i};let a=xc(c=>c!==10&&c!==13&&c!==58,t,e);if(a=AB(a,!0,!0,c=>c===9||c===32),!xK.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,xc(c=>c===32||c===9,t,e),BK(a)){case"content-disposition":{if(r=n=null,!Sp(t,RK,e)||(e.position+=17,r=QM(t,e),r===null))return"failure";if(Sp(t,BM,e)){let c=e.position+BM.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=QM(t,e),n===null))return"failure"}break}case"content-type":{let c=xc(l=>l!==10&&l!==13,t,e);c=AB(c,!1,!0,l=>l===9||l===32),s=IM(c);break}case"content-transfer-encoding":{let c=xc(l=>l!==10&&l!==13,t,e);c=AB(c,!1,!0,l=>l===9||l===32),i=IM(c);break}default:xc(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(MK,"parseMultipartFormDataHeaders");function QM(t,e){Np(t[e.position-1]===34);let r=xc(n=>n!==10&&n!==13&&n!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,`
`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}o(QM,"parseMultipartFormDataName");function xc(t,e,r){let n=r.position;for(;n<e.length&&t(e[n]);)++n;return e.subarray(r.position,r.position=n)}o(xc,"collectASequenceOfBytes");function AB(t,e,r,n){let s=0,i=t.length-1;if(e)for(;s<t.length&&n(t[s]);)s++;if(r)for(;i>0&&n(t[i]);)i--;return s===0&&i===t.length-1?t:t.subarray(s,i+1)}o(AB,"removeChars");function Sp(t,e,r){if(t.length<e.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[r.position+n])return!1;return!0}o(Sp,"bufferStartsWith");xM.exports={multipartFormDataParser:kK,validateBoundary:TK}});var Nc=g((cSe,MM)=>{"use strict";var JA=ce(),{ReadableStreamFrom:LK,isBlobLike:wM,isReadableStreamLike:_K,readableStreamClose:FK,createDeferredPromise:UK,fullyReadBody:OK,extractMimeType:qK,utf8DecodeBytes:RM}=Pr(),{FormData:NM}=VA(),{kState:wc}=Wi(),{webidl:HK}=Tt(),{Blob:zK}=require("node:buffer"),uB=require("node:assert"),{isErrored:vM,isDisturbed:GK}=require("node:stream"),{isArrayBuffer:YK}=require("node:util/types"),{serializeAMimeType:VK}=lr(),{multipartFormDataParser:JK}=bM(),dB;try{let t=require("node:crypto");dB=o(e=>t.randomInt(0,e),"random")}catch{dB=o(t=>Math.floor(Math.random(t)),"random")}var Rp=new TextEncoder;function $K(){}o($K,"noop");var PM=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,DM;PM&&(DM=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!GK(e)&&!vM(e)&&e.cancel("Response object has been garbage collected").catch($K)}));function TM(t,e=!1){let r=null;t instanceof ReadableStream?r=t:wM(t)?r=t.stream():r=new ReadableStream({async pull(l){let A=typeof s=="string"?Rp.encode(s):s;A.byteLength&&l.enqueue(A),queueMicrotask(()=>FK(l))},start(){},type:"bytes"}),uB(_K(r));let n=null,s=null,i=null,a=null;if(typeof t=="string")s=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)s=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(YK(t))s=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))s=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(JA.isFormDataLike(t)){let l=`----formdata-undici-0${`${dB(1e11)}`.padStart(11,"0")}`,A=`--${l}\r
Content-Disposition: form-data`;let u=o(C=>C.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),d=o(C=>C.replace(/\r?\n|\r/g,`\r
`),"normalizeLinefeeds"),m=[],p=new Uint8Array([13,10]);i=0;let h=!1;for(let[C,y]of t)if(typeof y=="string"){let E=Rp.encode(A+`; name="${u(d(C))}"\r
\r
${d(y)}\r
`);m.push(E),i+=E.byteLength}else{let E=Rp.encode(`${A}; name="${u(d(C))}"`+(y.name?`; filename="${u(y.name)}"`:"")+`\r
Content-Type: ${y.type||"application/octet-stream"}\r
\r
`);m.push(E,y,p),typeof y.size=="number"?i+=E.byteLength+y.size+p.byteLength:h=!0}let f=Rp.encode(`--${l}--\r
`);m.push(f),i+=f.byteLength,h&&(i=null),s=t,n=o(async function*(){for(let C of m)C.stream?yield*C.stream():yield C},"action"),a=`multipart/form-data; boundary=${l}`}else if(wM(t))s=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(JA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:LK(t)}if((typeof s=="string"||JA.isBuffer(s))&&(i=Buffer.byteLength(s)),n!=null){let l;r=new ReadableStream({async start(){l=n(t)[Symbol.asyncIterator]()},async pull(A){let{value:u,done:d}=await l.next();if(d)queueMicrotask(()=>{A.close(),A.byobRequest?.respond(0)});else if(!vM(r)){let m=new Uint8Array(u);m.byteLength&&A.enqueue(m)}return A.desiredSize>0},async cancel(A){await l.return()},type:"bytes"})}return[{stream:r,source:s,length:i},a]}o(TM,"extractBody");function WK(t,e=!1){return t instanceof ReadableStream&&(uB(!JA.isDisturbed(t),"The body has already been consumed."),uB(!t.locked,"The stream is locked.")),TM(t,e)}o(WK,"safelyExtractBody");function jK(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(jK,"cloneBody");function KK(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(KK,"throwIfAborted");function XK(t){return{blob(){return bc(this,r=>{let n=SM(this);return n===null?n="":n&&(n=VK(n)),new zK([r],{type:n})},t)},arrayBuffer(){return bc(this,r=>new Uint8Array(r).buffer,t)},text(){return bc(this,RM,t)},json(){return bc(this,eX,t)},formData(){return bc(this,r=>{let n=SM(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let s=JK(r,n);if(s==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new NM;return i[wc]=s,i}case"application/x-www-form-urlencoded":{let s=new URLSearchParams(r.toString()),i=new NM;for(let[a,c]of s)i.append(a,c);return i}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return bc(this,r=>new Uint8Array(r),t)}}}o(XK,"bodyMixinMethods");function ZK(t){Object.assign(t.prototype,XK(t))}o(ZK,"mixinBody");async function bc(t,e,r){if(HK.brandCheck(t,r),kM(t))throw new TypeError("Body is unusable: Body has already been read");KK(t[wc]);let n=UK(),s=o(a=>n.reject(a),"errorSteps"),i=o(a=>{try{n.resolve(e(a))}catch(c){s(c)}},"successSteps");return t[wc].body==null?(i(Buffer.allocUnsafe(0)),n.promise):(await OK(t[wc].body,i,s),n.promise)}o(bc,"consumeBody");function kM(t){let e=t[wc].body;return e!=null&&(e.stream.locked||JA.isDisturbed(e.stream))}o(kM,"bodyUnusable");function eX(t){return JSON.parse(RM(t))}o(eX,"parseJSONFromBytes");function SM(t){let e=t[wc].headersList,r=qK(e);return r==="failure"?null:r}o(SM,"bodyMimeType");MM.exports={extractBody:TM,safelyExtractBody:WK,cloneBody:jK,mixinBody:ZK,streamRegistry:DM,hasFinalizationRegistry:PM,bodyUnusable:kM}});var KM=g((ASe,jM)=>{"use strict";var V=require("node:assert"),W=ce(),{channels:LM}=pc(),mB=$I(),{RequestContentLengthMismatchError:Yo,ResponseContentLengthMismatchError:_M,RequestAbortedError:YM,InvalidArgumentError:tX,HeadersTimeoutError:rX,HeadersOverflowError:nX,SocketError:Sc,InformationalError:Rc,BodyTimeoutError:sX,HTTPParserError:iX,ResponseExceededMaxSizeError:oX}=Ee(),{kUrl:VM,kReset:Ar,kClient:Tp,kParser:Me,kBlocking:jA,kRunning:dt,kPending:JM,kSize:FM,kWriting:ji,kQueue:Mn,kNoRef:$A,kKeepAliveDefaultTimeout:aX,kHostHeader:cX,kPendingIdx:lX,kRunningIdx:cn,kError:Wt,kPipelining:kp,kSocket:Jo,kKeepAliveTimeoutValue:Lp,kMaxHeadersSize:pB,kKeepAliveMaxTimeout:AX,kKeepAliveTimeoutThreshold:uX,kHeadersTimeout:dX,kBodyTimeout:mX,kStrictContentLength:gB,kMaxRequests:UM,kCounter:pX,kMaxResponseSize:hX,kOnError:OM,kResume:mi,kHTTPContext:$M}=Oe(),Dr=Dk(),qM=Buffer.alloc(0),vp=Buffer[Symbol.species],Pp=W.addListener,fX=W.removeAllListeners,$o=Symbol("kIdleSocketValidation"),Vo=Symbol("kIdleSocketValidationTimeout"),IB=Symbol("kSocketUsed"),hB;async function gX(){let t=process.env.JEST_WORKER_ID?KI():void 0,e;try{e=await WebAssembly.compile(Mk())}catch{e=await WebAssembly.compile(t||KI())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:o((r,n,s)=>0,"wasm_on_url"),wasm_on_status:o((r,n,s)=>{V($e.ptr===r);let i=n-As+ls.byteOffset;return $e.onStatus(new vp(ls.buffer,i,s))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(V($e.ptr===r),$e.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,n,s)=>{V($e.ptr===r);let i=n-As+ls.byteOffset;return $e.onHeaderField(new vp(ls.buffer,i,s))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,n,s)=>{V($e.ptr===r);let i=n-As+ls.byteOffset;return $e.onHeaderValue(new vp(ls.buffer,i,s))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,n,s,i)=>(V($e.ptr===r),$e.onHeadersComplete(n,!!s,!!i)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,n,s)=>{V($e.ptr===r);let i=n-As+ls.byteOffset;return $e.onBody(new vp(ls.buffer,i,s))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(V($e.ptr===r),$e.onMessageComplete()||0),"wasm_on_message_complete")}})}o(gX,"lazyllhttp");var fB=null,yB=gX();yB.catch();var $e=null,ls=null,Dp=0,As=null,yX=0,WA=1,vc=2|WA,Mp=4|WA,EB=8|yX,CB=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){V(Number.isFinite(e[pB])&&e[pB]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(Dr.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[pB],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[hX]}setTimeout(e,r){e!==this.timeoutValue||r&WA^this.timeoutType&WA?(this.timeout&&(mB.clearTimeout(this.timeout),this.timeout=null),e&&(r&WA?this.timeout=mB.setFastTimeout(HM,e,new WeakRef(this)):(this.timeout=setTimeout(HM,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||(V(this.ptr!=null),V($e==null),this.llhttp.llhttp_resume(this.ptr),V(this.timeoutType===Mp),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||qM),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){V(this.ptr!=null),V($e==null),V(!this.paused);let{socket:r,llhttp:n}=this;e.length>Dp&&(As&&n.free(As),Dp=Math.ceil(e.length/4096)*4096,As=n.malloc(Dp)),new Uint8Array(n.memory.buffer,As,Dp).set(e);try{let s;try{ls=e,$e=this,s=n.llhttp_execute(this.ptr,As,e.length)}catch(a){throw a}finally{$e=null,ls=null}let i=n.llhttp_get_error_pos(this.ptr)-As;if(s!==Dr.ERROR.OK){let a=e.subarray(i);if(s===Dr.ERROR.PAUSED_UPGRADE)this.onUpgrade(a);else if(s===Dr.ERROR.PAUSED)this.paused=!0,r.unshift(a);else throw this.createError(s,a)}}catch(s){W.destroy(r,s)}}finish(){V($e===null),V(this.ptr!=null),V(!this.paused);let{llhttp:e}=this,r;try{$e=this,r=e.llhttp_finish(this.ptr)}finally{$e=null}return r===Dr.ERROR.OK?null:r===Dr.ERROR.PAUSED||r===Dr.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,qM)}createError(e,r){let{llhttp:n,contentLength:s,bytesRead:i}=this;if(s&&i!==parseInt(s,10))return new _M;let a=n.llhttp_get_error_reason(this.ptr),c="";if(a){let l=new Uint8Array(n.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,a,l).toString()+")"}return new iX(c,Dr.ERROR[e],r)}destroy(){V(this.ptr!=null),V($e==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&mB.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){this.statusText=e.toString()}onMessageBegin(){let{socket:e,client:r}=this;if(e.destroyed)return-1;if(r[dt]===0)return W.destroy(e,new Sc("bad response",W.getSocketInfo(e))),-1;let n=r[Mn][r[cn]];if(!n)return-1;n.onResponseStarted()}onHeaderField(e){let r=this.headers.length;(r&1)===0?this.headers.push(e):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]),this.trackHeader(e.length)}onHeaderValue(e){let r=this.headers.length;(r&1)===1?(this.headers.push(e),r+=1):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]);let n=this.headers[r-2];if(n.length===10){let s=W.bufferToLowerCasedHeaderName(n);s==="keep-alive"?this.keepAlive+=e.toString():s==="connection"&&(this.connection+=e.toString())}else n.length===14&&W.bufferToLowerCasedHeaderName(n)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&W.destroy(this.socket,new nX)}onUpgrade(e){let{upgrade:r,client:n,socket:s,headers:i,statusCode:a}=this;V(r),V(n[Jo]===s),V(!s.destroyed),V(!this.paused),V((i.length&1)===0);let c=n[Mn][n[cn]];V(c),V(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,s.unshift(e),s[Me].destroy(),s[Me]=null,s[Tp]=null,s[Wt]=null,fX(s),n[Jo]=null,n[$M]=null,n[Mn][n[cn]++]=null,n.emit("disconnect",n[VM],[n],new Rc("upgrade"));try{c.onUpgrade(a,i,s)}catch(l){W.destroy(s,l)}n[mi]()}onHeadersComplete(e,r,n){let{client:s,socket:i,headers:a,statusText:c}=this;if(i.destroyed)return-1;if(s[dt]===0)return W.destroy(i,new Sc("bad response",W.getSocketInfo(i))),-1;let l=s[Mn][s[cn]];if(!l)return-1;if(V(!this.upgrade),V(this.statusCode<200),e===100)return W.destroy(i,new Sc("bad response",W.getSocketInfo(i))),-1;if(r&&!l.upgrade)return W.destroy(i,new Sc("bad upgrade",W.getSocketInfo(i))),-1;if(V(this.timeoutType===vc),this.statusCode=e,this.shouldKeepAlive=n||l.method==="HEAD"&&!i[Ar]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let u=l.bodyTimeout!=null?l.bodyTimeout:s[mX];this.setTimeout(u,Mp)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return V(s[dt]===1),this.upgrade=!0,2;if(r)return V(s[dt]===1),this.upgrade=!0,2;if(V((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&s[kp]){let u=this.keepAlive?W.parseKeepAliveTimeout(this.keepAlive):null;if(u!=null){let d=Math.min(u-s[uX],s[AX]);d<=0?i[Ar]=!0:s[Lp]=d}else s[Lp]=s[aX]}else i[Ar]=!0;let A=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(i[jA]&&(i[jA]=!1,s[mi]()),A?Dr.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:s,maxResponseSize:i}=this;if(n.destroyed)return-1;let a=r[Mn][r[cn]];if(V(a),V(this.timeoutType===Mp),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),V(s>=200),i>-1&&this.bytesRead+e.length>i)return W.destroy(n,new oX),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return Dr.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:n,upgrade:s,headers:i,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!n||l))return-1;if(s)return;V(n>=100),V((this.headers.length&1)===0);let A=e[Mn][e[cn]];if(V(A),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(n<200)){if(A.method!=="HEAD"&&a&&c!==parseInt(a,10))return W.destroy(r,new _M),-1;if(A.onComplete(i),e[Mn][e[cn]++]=null,r[IB]=!0,r[ji])return V(e[dt]===0),W.destroy(r,new Rc("reset")),Dr.ERROR.PAUSED;if(l){if(r[Ar]&&e[dt]===0)return W.destroy(r,new Rc("reset")),Dr.ERROR.PAUSED;e[kp]==null||e[kp]===1?setImmediate(()=>e[mi]()):e[mi]()}else return W.destroy(r,new Rc("reset")),Dr.ERROR.PAUSED}}};function HM(t){let{socket:e,timeoutType:r,client:n,paused:s}=t.deref();r===vc?(!e[ji]||e.writableNeedDrain||n[dt]>1)&&(V(!s,"cannot be paused while waiting for headers"),W.destroy(e,new rX)):r===Mp?s||W.destroy(e,new sX):r===EB&&(V(n[dt]===0&&n[Lp]),W.destroy(e,new Rc("socket idle timeout")))}o(HM,"onParserTimeout");async function EX(t,e){t[Jo]=e,fB||(fB=await yB,yB=null),e[$A]=!1,e[ji]=!1,e[Ar]=!1,e[jA]=!1,e[$o]=0,e[Vo]=null,e[IB]=!1,e[Me]=new CB(t,e,fB),Pp(e,"error",function(n){V(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let s=this[Me];if(n.code==="ECONNRESET"&&s.statusCode&&!s.shouldKeepAlive){let i=s.finish();i&&(this[Wt]=i,this[Tp][OM](i));return}this[Wt]=n,this[Tp][OM](n)}),Pp(e,"readable",function(){let n=this[Me];n&&n.readMore()}),Pp(e,"end",function(){let n=this[Me];if(n.statusCode&&!n.shouldKeepAlive){let s=n.finish();s&&W.destroy(this,s);return}W.destroy(this,new Sc("other side closed",W.getSocketInfo(this)))}),Pp(e,"close",function(){let n=this[Tp],s=this[Me];WM(this),s&&(!this[Wt]&&s.statusCode&&!s.shouldKeepAlive&&(this[Wt]=s.finish()||this[Wt]),this[Me].destroy(),this[Me]=null);let i=this[Wt]||new Sc("closed",W.getSocketInfo(this));if(n[Jo]=null,n[$M]=null,n.destroyed){V(n[JM]===0);let a=n[Mn].splice(n[cn]);for(let c=0;c<a.length;c++){let l=a[c];W.errorRequest(n,l,i)}}else if(n[dt]>0&&i.code!=="UND_ERR_INFO"){let a=n[Mn][n[cn]];n[Mn][n[cn]++]=null,W.errorRequest(n,a,i)}n[lX]=n[cn],V(n[dt]===0),n.emit("disconnect",n[VM],[n],i),n[mi]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return QX(t,...n)},resume(){IX(t)},destroy(n,s){r?queueMicrotask(s):e.destroy(n).on("close",s)},get destroyed(){return e.destroyed},busy(n){return!!(e[ji]||e[Ar]||e[jA]||e[$o]===1||n&&(t[dt]>0&&!n.idempotent||t[dt]>0&&(n.upgrade||n.method==="CONNECT")||t[dt]>0&&W.bodyLength(n.body)!==0&&(W.isStream(n.body)||W.isAsyncIterable(n.body)||W.isFormDataLike(n.body))))}}}o(EX,"connectH1");function WM(t){t[Vo]&&(clearTimeout(t[Vo]),t[Vo]=null),t[$o]=0}o(WM,"clearIdleSocketValidation");function CX(t,e){e[$o]=1,e[Vo]=setTimeout(()=>{e[Vo]=null,e[$o]=2,t[Jo]===e&&!e.destroyed&&t[mi]()},0),e[Vo].unref?.()}o(CX,"scheduleIdleSocketValidation");function IX(t){let e=t[Jo];if(e&&!e.destroyed){if(t[FM]===0?!e[$A]&&e.unref&&(e.unref(),e[$A]=!0):e[$A]&&e.ref&&(e.ref(),e[$A]=!1),t[dt]===0&&t[JM]>0&&e[IB]){if(e[$o]===0)return CX(t,e),e[Me].readMore(),e.destroyed,void 0;if(e[$o]===1)return e[Me].readMore(),e.destroyed,void 0}if(t[dt]===0&&(e[Me].readMore(),e.destroyed))return;if(t[FM]===0)e[Me].timeoutType!==EB&&e[Me].setTimeout(t[Lp],EB);else if(t[dt]>0&&e[Me].statusCode<200&&e[Me].timeoutType!==vc){let r=t[Mn][t[cn]],n=r.headersTimeout!=null?r.headersTimeout:t[dX];e[Me].setTimeout(n,vc)}}}o(IX,"resumeH1");function BX(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(BX,"shouldSendContentLength");function QX(t,e){let{method:r,path:n,host:s,upgrade:i,blocking:a,reset:c}=e,{body:l,headers:A,contentLength:u}=e,d=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(W.isFormDataLike(l)){hB||(hB=Nc().extractBody);let[C,y]=hB(l);e.contentType==null&&A.push("content-type",y),l=C.stream,u=C.length}else if(W.isBlobLike(l)&&e.contentType==null){let C=l.type;if(C){let y=`${C}`;if(!W.isValidHeaderValue(y))return W.errorRequest(t,e,new tX("invalid content-type header")),!1;A.push("content-type",y)}}l&&typeof l.read=="function"&&l.read(0);let m=W.bodyLength(l);if(u=m??u,u===null&&(u=e.contentLength),u===0&&!d&&(u=null),BX(r)&&u>0&&e.contentLength!==null&&e.contentLength!==u){if(t[gB])return W.errorRequest(t,e,new Yo),!1;process.emitWarning(new Yo)}let p=t[Jo];WM(p);let h=o(C=>{e.aborted||e.completed||(W.errorRequest(t,e,C||new YM),W.destroy(l),W.destroy(p,new Rc("aborted")))},"abort");try{e.onConnect(h)}catch(C){W.errorRequest(t,e,C)}if(e.aborted)return!1;r==="HEAD"&&(p[Ar]=!0),(i||r==="CONNECT")&&(p[Ar]=!0),c!=null&&(p[Ar]=c),t[UM]&&p[pX]++>=t[UM]&&(p[Ar]=!0),a&&(p[jA]=!0);let f=`${r} ${n} HTTP/1.1\r
`;if(typeof s=="string"?f+=`host: ${s}\r
`:f+=t[cX],i?f+=`connection: upgrade\r
upgrade: ${i}\r
`:t[kp]&&!p[Ar]?f+=`connection: keep-alive\r
`:f+=`connection: close\r
`,Array.isArray(A))for(let C=0;C<A.length;C+=2){let y=A[C+0],E=A[C+1];if(Array.isArray(E))for(let I=0;I<E.length;I++)f+=`${y}: ${E[I]}\r
`;else f+=`${y}: ${E}\r
`}return LM.sendHeaders.hasSubscribers&&LM.sendHeaders.publish({request:e,headers:f,socket:p}),!l||m===0?zM(h,null,t,e,p,u,f,d):W.isBuffer(l)?zM(h,l,t,e,p,u,f,d):W.isBlobLike(l)?typeof l.stream=="function"?GM(h,l.stream(),t,e,p,u,f,d):bX(h,l,t,e,p,u,f,d):W.isStream(l)?xX(h,l,t,e,p,u,f,d):W.isIterable(l)?GM(h,l,t,e,p,u,f,d):V(!1),!0}o(QX,"writeH1");function xX(t,e,r,n,s,i,a,c){V(i!==0||r[dt]===0,"stream body cannot be pipelined");let l=!1,A=new _p({abort:t,socket:s,request:n,contentLength:i,client:r,expectsPayload:c,header:a}),u=o(function(h){if(!l)try{!A.write(h)&&this.pause&&this.pause()}catch(f){W.destroy(this,f)}},"onData"),d=o(function(){l||e.resume&&e.resume()},"onDrain"),m=o(function(){if(queueMicrotask(()=>{e.removeListener("error",p)}),!l){let h=new YM;queueMicrotask(()=>p(h))}},"onClose"),p=o(function(h){if(!l){if(l=!0,V(s.destroyed||s[ji]&&r[dt]<=1),s.off("drain",d).off("error",p),e.removeListener("data",u).removeListener("end",p).removeListener("close",m),!h)try{A.end()}catch(f){h=f}A.destroy(h),h&&(h.code!=="UND_ERR_INFO"||h.message!=="reset")?W.destroy(e,h):W.destroy(e)}},"onFinished");e.on("data",u).on("end",p).on("error",p).on("close",m),e.resume&&e.resume(),s.on("drain",d).on("error",p),e.errorEmitted??e.errored?setImmediate(()=>p(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>p(null)),(e.closeEmitted??e.closed)&&setImmediate(m)}o(xX,"writeStream");function zM(t,e,r,n,s,i,a,c){try{e?W.isBuffer(e)&&(V(i===e.byteLength,"buffer body must have content length"),s.cork(),s.write(`${a}content-length: ${i}\r
\r
`,"latin1"),s.write(e),s.uncork(),n.onBodySent(e),!c&&n.reset!==!1&&(s[Ar]=!0)):i===0?s.write(`${a}content-length: 0\r
\r
`,"latin1"):(V(i===null,"no body must not have content length"),s.write(`${a}\r
`,"latin1")),n.onRequestSent(),r[mi]()}catch(l){t(l)}}o(zM,"writeBuffer");async function bX(t,e,r,n,s,i,a,c){V(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new Yo;let l=Buffer.from(await e.arrayBuffer());s.cork(),s.write(`${a}content-length: ${i}\r
\r
`,"latin1"),s.write(l),s.uncork(),n.onBodySent(l),n.onRequestSent(),!c&&n.reset!==!1&&(s[Ar]=!0),r[mi]()}catch(l){t(l)}}o(bX,"writeBlob");async function GM(t,e,r,n,s,i,a,c){V(i!==0||r[dt]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let m=l;l=null,m()}}o(A,"onDrain");let u=o(()=>new Promise((m,p)=>{V(l===null),s[Wt]?p(s[Wt]):l=m}),"waitForDrain");s.on("close",A).on("drain",A);let d=new _p({abort:t,socket:s,request:n,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let m of e){if(s[Wt])throw s[Wt];d.write(m)||await u()}d.end()}catch(m){d.destroy(m)}finally{s.off("close",A).off("drain",A)}}o(GM,"writeIterable");var _p=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:n,contentLength:s,client:i,expectsPayload:a,header:c}){this.socket=r,this.request=n,this.contentLength=s,this.client=i,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[ji]=!0}write(e){let{socket:r,request:n,contentLength:s,client:i,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[Wt])throw r[Wt];if(r.destroyed)return!1;let A=Buffer.byteLength(e);if(!A)return!0;if(s!==null&&a+A>s){if(i[gB])throw new Yo;process.emitWarning(new Yo)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[Ar]=!0),s===null?r.write(`${l}transfer-encoding: chunked\r
`,"latin1"):r.write(`${l}content-length: ${s}\r
\r
`,"latin1")),s===null&&r.write(`\r
${A.toString(16)}\r
`,"latin1"),this.bytesWritten+=A;let u=r.write(e);return r.uncork(),n.onBodySent(e),u||r[Me].timeout&&r[Me].timeoutType===vc&&r[Me].timeout.refresh&&r[Me].timeout.refresh(),u}end(){let{socket:e,contentLength:r,client:n,bytesWritten:s,expectsPayload:i,header:a,request:c}=this;if(c.onRequestSent(),e[ji]=!1,e[Wt])throw e[Wt];if(!e.destroyed){if(s===0?i?e.write(`${a}content-length: 0\r
\r
`,"latin1"):e.write(`${a}\r
`,"latin1"):r===null&&e.write(`\r
0\r
\r
`,"latin1"),r!==null&&s!==r){if(n[gB])throw new Yo;process.emitWarning(new Yo)}e[Me].timeout&&e[Me].timeoutType===vc&&e[Me].timeout.refresh&&e[Me].timeout.refresh(),n[mi]()}}destroy(e){let{socket:r,client:n,abort:s}=this;r[ji]=!1,e&&(V(n[dt]<=1,"pipeline should only contain this request"),s(e))}};jM.exports=EX});var iL=g((dSe,sL)=>{"use strict";var ln=require("node:assert"),{pipeline:wX}=require("node:stream"),me=ce(),{RequestContentLengthMismatchError:BB,RequestAbortedError:XM,SocketError:KA,InformationalError:QB}=Ee(),{kUrl:Fp,kReset:Op,kClient:Pc,kRunning:qp,kPending:NX,kQueue:Ki,kPendingIdx:xB,kRunningIdx:Ln,kError:Fn,kSocket:wt,kStrictContentLength:SX,kOnError:bB,kMaxConcurrentStreams:nL,kHTTP2Session:_n,kResume:Xi,kSize:RX,kHTTPContext:vX}=Oe(),pi=Symbol("open streams"),ZM,eL=!1,Up;try{Up=require("node:http2")}catch{Up={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:PX,HTTP2_HEADER_METHOD:DX,HTTP2_HEADER_PATH:TX,HTTP2_HEADER_SCHEME:kX,HTTP2_HEADER_CONTENT_LENGTH:MX,HTTP2_HEADER_EXPECT:LX,HTTP2_HEADER_STATUS:_X}}=Up;function FX(t){let e=[];for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let s of n)e.push(Buffer.from(r),Buffer.from(s));else e.push(Buffer.from(r),Buffer.from(n));return e}o(FX,"parseH2Headers");async function UX(t,e){t[wt]=e,eL||(eL=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=Up.connect(t[Fp],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[nL]});r[pi]=0,r[Pc]=t,r[wt]=e,me.addListener(r,"error",qX),me.addListener(r,"frameError",HX),me.addListener(r,"end",zX),me.addListener(r,"goaway",GX),me.addListener(r,"close",function(){let{[Pc]:s}=this,{[wt]:i}=s,a=this[wt][Fn]||this[Fn]||new KA("closed",me.getSocketInfo(i));if(s[_n]=null,s.destroyed){ln(s[NX]===0);let c=s[Ki].splice(s[Ln]);for(let l=0;l<c.length;l++){let A=c[l];me.errorRequest(s,A,a)}}}),r.unref(),t[_n]=r,e[_n]=r,me.addListener(e,"error",function(s){ln(s.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Fn]=s,this[Pc][bB](s)}),me.addListener(e,"end",function(){me.destroy(this,new KA("other side closed",me.getSocketInfo(this)))}),me.addListener(e,"close",function(){let s=this[Fn]||new KA("closed",me.getSocketInfo(this));t[wt]=null,this[_n]!=null&&this[_n].destroy(s),t[xB]=t[Ln],ln(t[qp]===0),t.emit("disconnect",t[Fp],[t],s),t[Xi]()});let n=!1;return e.on("close",()=>{n=!0}),{version:"h2",defaultPipelining:1/0,write(...s){return VX(t,...s)},resume(){OX(t)},destroy(s,i){n?queueMicrotask(i):e.destroy(s).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(UX,"connectH2");function OX(t){let e=t[wt];e?.destroyed===!1&&(t[RX]===0&&t[nL]===0?(e.unref(),t[_n].unref()):(e.ref(),t[_n].ref()))}o(OX,"resumeH2");function qX(t){ln(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[wt][Fn]=t,this[Pc][bB](t)}o(qX,"onHttp2SessionError");function HX(t,e,r){if(r===0){let n=new QB(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[wt][Fn]=n,this[Pc][bB](n)}}o(HX,"onHttp2FrameError");function zX(){let t=new KA("other side closed",me.getSocketInfo(this[wt]));this.destroy(t),me.destroy(this[wt],t)}o(zX,"onHttp2SessionEnd");function GX(t){let e=this[Fn]||new KA(`HTTP/2: "GOAWAY" frame received with code ${t}`,me.getSocketInfo(this)),r=this[Pc];if(r[wt]=null,r[vX]=null,this[_n]!=null&&(this[_n].destroy(e),this[_n]=null),me.destroy(this[wt],e),r[Ln]<r[Ki].length){let n=r[Ki][r[Ln]];r[Ki][r[Ln]++]=null,me.errorRequest(r,n,e),r[xB]=r[Ln]}ln(r[qp]===0),r.emit("disconnect",r[Fp],[r],e),r[Xi]()}o(GX,"onHTTP2GoAway");function YX(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(YX,"shouldSendContentLength");function VX(t,e){let r=t[_n],{method:n,path:s,host:i,upgrade:a,expectContinue:c,signal:l,headers:A}=e,{body:u}=e;if(a)return me.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let d={};for(let B=0;B<A.length;B+=2){let N=A[B+0],k=A[B+1];if(Array.isArray(k))for(let S=0;S<k.length;S++)d[N]?d[N]+=`,${k[S]}`:d[N]=k[S];else d[N]=k}let m,{hostname:p,port:h}=t[Fp];d[PX]=i||`${p}${h?`:${h}`:""}`,d[DX]=n;let f=o(B=>{e.aborted||e.completed||(B=B||new XM,me.errorRequest(t,e,B),m!=null&&me.destroy(m,B),me.destroy(u,B),t[Ki][t[Ln]++]=null,t[Xi]())},"abort");try{e.onConnect(f)}catch(B){me.errorRequest(t,e,B)}if(e.aborted)return!1;if(n==="CONNECT")return r.ref(),m=r.request(d,{endStream:!1,signal:l}),m.id&&!m.pending?(e.onUpgrade(null,null,m),++r[pi],t[Ki][t[Ln]++]=null):m.once("ready",()=>{e.onUpgrade(null,null,m),++r[pi],t[Ki][t[Ln]++]=null}),m.once("close",()=>{r[pi]-=1,r[pi]===0&&r.unref()}),!0;d[TX]=s,d[kX]="https";let C=n==="PUT"||n==="POST"||n==="PATCH";u&&typeof u.read=="function"&&u.read(0);let y=me.bodyLength(u);if(me.isFormDataLike(u)){ZM??=Nc().extractBody;let[B,N]=ZM(u);d["content-type"]=N,u=B.stream,y=B.length}if(y==null&&(y=e.contentLength),(y===0||!C)&&(y=null),YX(n)&&y>0&&e.contentLength!=null&&e.contentLength!==y){if(t[SX])return me.errorRequest(t,e,new BB),!1;process.emitWarning(new BB)}y!=null&&(ln(u,"no body must not have content length"),d[MX]=`${y}`),r.ref();let E=n==="GET"||n==="HEAD"||u===null;return c?(d[LX]="100-continue",m=r.request(d,{endStream:E,signal:l}),m.once("continue",I)):(m=r.request(d,{endStream:E,signal:l}),I()),++r[pi],m.once("response",B=>{let{[_X]:N,...k}=B;if(e.onResponseStarted(),e.aborted){let S=new XM;me.errorRequest(t,e,S),me.destroy(m,S);return}e.onHeaders(Number(N),FX(k),m.resume.bind(m),"")===!1&&m.pause(),m.on("data",S=>{e.onData(S)===!1&&m.pause()})}),m.once("end",()=>{(m.state?.state==null||m.state.state<6)&&e.onComplete([]),r[pi]===0&&r.unref(),f(new QB("HTTP/2: stream half-closed (remote)")),t[Ki][t[Ln]++]=null,t[xB]=t[Ln],t[Xi]()}),m.once("close",()=>{r[pi]-=1,r[pi]===0&&r.unref()}),m.once("error",function(B){f(B)}),m.once("frameError",(B,N)=>{f(new QB(`HTTP/2: "frameError" received - type ${B}, code ${N}`))}),!0;function I(){!u||y===0?tL(f,m,null,t,e,t[wt],y,C):me.isBuffer(u)?tL(f,m,u,t,e,t[wt],y,C):me.isBlobLike(u)?typeof u.stream=="function"?rL(f,m,u.stream(),t,e,t[wt],y,C):$X(f,m,u,t,e,t[wt],y,C):me.isStream(u)?JX(f,t[wt],C,m,u,t,e,y):me.isIterable(u)?rL(f,m,u,t,e,t[wt],y,C):ln(!1)}o(I,"writeBodyH2")}o(VX,"writeH2");function tL(t,e,r,n,s,i,a,c){try{r!=null&&me.isBuffer(r)&&(ln(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),s.onBodySent(r)),c||(i[Op]=!0),s.onRequestSent(),n[Xi]()}catch(l){t(l)}}o(tL,"writeBuffer");function JX(t,e,r,n,s,i,a,c){ln(c!==0||i[qp]===0,"stream body cannot be pipelined");let l=wX(s,n,u=>{u?(me.destroy(l,u),t(u)):(me.removeAllListeners(l),a.onRequestSent(),r||(e[Op]=!0),i[Xi]())});me.addListener(l,"data",A);function A(u){a.onBodySent(u)}o(A,"onPipeData")}o(JX,"writeStream");async function $X(t,e,r,n,s,i,a,c){ln(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new BB;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),s.onBodySent(l),s.onRequestSent(),c||(i[Op]=!0),n[Xi]()}catch(l){t(l)}}o($X,"writeBlob");async function rL(t,e,r,n,s,i,a,c){ln(a!==0||n[qp]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let d=l;l=null,d()}}o(A,"onDrain");let u=o(()=>new Promise((d,m)=>{ln(l===null),i[Fn]?m(i[Fn]):l=d}),"waitForDrain");e.on("close",A).on("drain",A);try{for await(let d of r){if(i[Fn])throw i[Fn];let m=e.write(d);s.onBodySent(d),m||await u()}e.end(),s.onRequestSent(),c||(i[Op]=!0),n[Xi]()}catch(d){t(d)}finally{e.off("close",A).off("drain",A)}}o(rL,"writeIterable");sL.exports=UX});var zp=g((pSe,cL)=>{"use strict";var us=ce(),{kBodyUsed:XA}=Oe(),NB=require("node:assert"),{InvalidArgumentError:WX}=Ee(),jX=require("node:events"),KX=[300,301,302,303,307,308],oL=Symbol("body"),Hp=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[oL]=e,this[XA]=!1}async*[Symbol.asyncIterator](){NB(!this[XA],"disturbed"),this[XA]=!0,yield*this[oL]}},wB=class{static{o(this,"RedirectHandler")}constructor(e,r,n,s){if(r!=null&&(!Number.isInteger(r)||r<0))throw new WX("maxRedirections must be a positive number");us.validateHandler(s,n.method,n.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...n,maxRedirections:0},this.maxRedirections=r,this.handler=s,this.history=[],this.redirectionLimitReached=!1,us.isStream(this.opts.body)?(us.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){NB(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[XA]=!1,jX.prototype.on.call(this.opts.body,"data",function(){this[XA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Hp(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&us.isIterable(this.opts.body)&&(this.opts.body=new Hp(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,n){this.handler.onUpgrade(e,r,n)}onError(e){this.handler.onError(e)}onHeaders(e,r,n,s){if(this.location=this.history.length>=this.maxRedirections||us.isDisturbed(this.opts.body)?null:XX(e,r),this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){this.request&&this.request.abort(new Error("max redirects")),this.redirectionLimitReached=!0,this.abort(new Error("max redirects"));return}if(this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(e,r,n,s);let{origin:i,pathname:a,search:c}=us.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=ZX(this.opts.headers,e===303,this.opts.origin!==i),this.opts.path=l,this.opts.origin=i,this.opts.maxRedirections=0,this.opts.query=null,e===303&&this.opts.method!=="HEAD"&&(this.opts.method="GET",this.opts.body=null)}onData(e){if(!this.location)return this.handler.onData(e)}onComplete(e){this.location?(this.location=null,this.abort=null,this.dispatch(this.opts,this)):this.handler.onComplete(e)}onBodySent(e){this.handler.onBodySent&&this.handler.onBodySent(e)}};function XX(t,e){if(KX.indexOf(t)===-1)return null;for(let r=0;r<e.length;r+=2)if(e[r].length===8&&us.headerNameToString(e[r])==="location")return e[r+1]}o(XX,"parseLocation");function aL(t,e,r){if(t.length===4)return us.headerNameToString(t)==="host";if(e&&us.headerNameToString(t).startsWith("content-"))return!0;if(r&&(t.length===13||t.length===6||t.length===19)){let n=us.headerNameToString(t);return n==="authorization"||n==="cookie"||n==="proxy-authorization"}return!1}o(aL,"shouldRemoveHeader");function ZX(t,e,r){let n=[];if(Array.isArray(t))for(let s=0;s<t.length;s+=2)aL(t[s],e,r)||n.push(t[s],t[s+1]);else if(t&&typeof t=="object")for(let s of Object.keys(t))aL(s,e,r)||n.push(s,t[s]);else NB(t==null,"headers must be an object or an array");return n}o(ZX,"cleanRequestHeaders");cL.exports=wB});var Gp=g((fSe,lL)=>{"use strict";var eZ=zp();function tZ({maxRedirections:t}){return e=>o(function(n,s){let{maxRedirections:i=t}=n;if(!i)return e(n,s);let a=new eZ(e,i,n,s);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}o(tZ,"createRedirectInterceptor");lL.exports=tZ});var kc=g((ySe,EL)=>{"use strict";var hi=require("node:assert"),hL=require("node:net"),rZ=require("node:http"),Wo=ce(),{channels:Dc}=pc(),nZ=Ek(),sZ=yc(),{InvalidArgumentError:st,InformationalError:iZ,ClientDestroyedError:oZ}=Ee(),aZ=UA(),{kUrl:ds,kServerName:Zi,kClient:cZ,kBusy:SB,kConnect:lZ,kResuming:jo,kRunning:nu,kPending:su,kSize:ru,kQueue:Un,kConnected:AZ,kConnecting:Tc,kNeedDrain:to,kKeepAliveDefaultTimeout:AL,kHostHeader:uZ,kPendingIdx:On,kRunningIdx:fi,kError:dZ,kPipelining:Yp,kKeepAliveTimeoutValue:mZ,kMaxHeadersSize:pZ,kKeepAliveMaxTimeout:hZ,kKeepAliveTimeoutThreshold:fZ,kHeadersTimeout:gZ,kBodyTimeout:yZ,kStrictContentLength:EZ,kConnector:ZA,kMaxRedirections:CZ,kMaxRequests:RB,kCounter:IZ,kClose:BZ,kDestroy:QZ,kDispatch:xZ,kInterceptors:uL,kLocalAddress:eu,kMaxResponseSize:bZ,kOnError:wZ,kHTTPContext:it,kMaxConcurrentStreams:NZ,kResume:tu}=Oe(),SZ=KM(),RZ=iL(),dL=!1,eo=Symbol("kClosedResolve"),mL=o(()=>{},"noop");function fL(t){return t[Yp]??t[it]?.defaultPipelining??1}o(fL,"getPipelining");var vB=class extends sZ{static{o(this,"Client")}constructor(e,{interceptors:r,maxHeaderSize:n,headersTimeout:s,socketTimeout:i,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:A,keepAlive:u,keepAliveTimeout:d,maxKeepAliveTimeout:m,keepAliveMaxTimeout:p,keepAliveTimeoutThreshold:h,socketPath:f,pipelining:C,tls:y,strictContentLength:E,maxCachedSessions:I,maxRedirections:B,connect:N,maxRequestsPerClient:k,localAddress:S,maxResponseSize:de,autoSelectFamily:ye,autoSelectFamilyAttemptTimeout:Qe,maxConcurrentStreams:Ne,allowH2:ae,webSocket:De}={}){if(super({webSocket:De}),u!==void 0)throw new st("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new st("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new st("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(A!==void 0)throw new st("unsupported idleTimeout, use keepAliveTimeout instead");if(m!==void 0)throw new st("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new st("invalid maxHeaderSize");if(f!=null&&typeof f!="string")throw new st("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new st("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new st("invalid keepAliveTimeout");if(p!=null&&(!Number.isFinite(p)||p<=0))throw new st("invalid keepAliveMaxTimeout");if(h!=null&&!Number.isFinite(h))throw new st("invalid keepAliveTimeoutThreshold");if(s!=null&&(!Number.isInteger(s)||s<0))throw new st("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new st("bodyTimeout must be a positive integer or zero");if(N!=null&&typeof N!="function"&&typeof N!="object")throw new st("connect must be a function or an object");if(B!=null&&(!Number.isInteger(B)||B<0))throw new st("maxRedirections must be a positive number");if(k!=null&&(!Number.isInteger(k)||k<0))throw new st("maxRequestsPerClient must be a positive number");if(S!=null&&(typeof S!="string"||hL.isIP(S)===0))throw new st("localAddress must be valid string IP address");if(de!=null&&(!Number.isInteger(de)||de<-1))throw new st("maxResponseSize must be a positive number");if(Qe!=null&&(!Number.isInteger(Qe)||Qe<-1))throw new st("autoSelectFamilyAttemptTimeout must be a positive number");if(ae!=null&&typeof ae!="boolean")throw new st("allowH2 must be a valid boolean value");if(Ne!=null&&(typeof Ne!="number"||Ne<1))throw new st("maxConcurrentStreams must be a positive integer, greater than 0");typeof N!="function"&&(N=aZ({...y,maxCachedSessions:I,allowH2:ae,socketPath:f,timeout:c,...ye?{autoSelectFamily:ye,autoSelectFamilyAttemptTimeout:Qe}:void 0,...N})),r?.Client&&Array.isArray(r.Client)?(this[uL]=r.Client,dL||(dL=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[uL]=[vZ({maxRedirections:B})],this[ds]=Wo.parseOrigin(e),this[ZA]=N,this[Yp]=C??1,this[pZ]=n||rZ.maxHeaderSize,this[AL]=d??4e3,this[hZ]=p??6e5,this[fZ]=h??2e3,this[mZ]=this[AL],this[Zi]=null,this[eu]=S??null,this[jo]=0,this[to]=0,this[uZ]=`host: ${this[ds].hostname}${this[ds].port?`:${this[ds].port}`:""}\r
`,this[yZ]=l??3e5,this[gZ]=s??3e5,this[EZ]=E??!0,this[CZ]=B,this[RB]=k,this[eo]=null,this[bZ]=de>-1?de:-1,this[NZ]=Ne??100,this[it]=null,this[Un]=[],this[fi]=0,this[On]=0,this[tu]=ee=>PB(this,ee),this[wZ]=ee=>gL(this,ee)}get pipelining(){return this[Yp]}set pipelining(e){this[Yp]=e,this[tu](!0)}get[su](){return this[Un].length-this[On]}get[nu](){return this[On]-this[fi]}get[ru](){return this[Un].length-this[fi]}get[AZ](){return!!this[it]&&!this[Tc]&&!this[it].destroyed}get[SB](){return!!(this[it]?.busy(null)||this[ru]>=(fL(this)||1)||this[su]>0)}[lZ](e){yL(this),this.once("connect",e)}[xZ](e,r){let n=e.origin||this[ds].origin,s=new nZ(n,e,r);return this[Un].push(s),this[jo]||(Wo.bodyLength(s.body)==null&&Wo.isIterable(s.body)?(this[jo]=1,queueMicrotask(()=>PB(this))):this[tu](!0)),this[jo]&&this[to]!==2&&this[SB]&&(this[to]=2),this[to]<2}async[BZ](){return new Promise(e=>{this[ru]?this[eo]=e:e(null)})}async[QZ](e){return new Promise(r=>{let n=this[Un].splice(this[On]);for(let i=0;i<n.length;i++){let a=n[i];Wo.errorRequest(this,a,e)}let s=o(()=>{this[eo]&&(this[eo](),this[eo]=null),r(null)},"callback");this[it]?(this[it].destroy(e,s),this[it]=null):queueMicrotask(s),this[tu]()})}},vZ=Gp();function gL(t,e){if(t[nu]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){hi(t[On]===t[fi]);let r=t[Un].splice(t[fi]);for(let n=0;n<r.length;n++){let s=r[n];Wo.errorRequest(t,s,e)}hi(t[ru]===0)}}o(gL,"onError");async function yL(t){hi(!t[Tc]),hi(!t[it]);let{host:e,hostname:r,protocol:n,port:s}=t[ds];if(r[0]==="["){let i=r.indexOf("]");hi(i!==-1);let a=r.substring(1,i);hi(hL.isIP(a)),r=a}t[Tc]=!0,Dc.beforeConnect.hasSubscribers&&Dc.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[it]?.version,servername:t[Zi],localAddress:t[eu]},connector:t[ZA]});try{let i=await new Promise((a,c)=>{t[ZA]({host:e,hostname:r,protocol:n,port:s,servername:t[Zi],localAddress:t[eu]},(l,A)=>{l?c(l):a(A)})});if(t.destroyed){Wo.destroy(i.on("error",mL),new oZ);return}hi(i);try{t[it]=i.alpnProtocol==="h2"?await RZ(t,i):await SZ(t,i)}catch(a){throw i.destroy().on("error",mL),a}t[Tc]=!1,i[IZ]=0,i[RB]=t[RB],i[cZ]=t,i[dZ]=null,Dc.connected.hasSubscribers&&Dc.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[it]?.version,servername:t[Zi],localAddress:t[eu]},connector:t[ZA],socket:i}),t.emit("connect",t[ds],[t])}catch(i){if(t.destroyed)return;if(t[Tc]=!1,Dc.connectError.hasSubscribers&&Dc.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[it]?.version,servername:t[Zi],localAddress:t[eu]},connector:t[ZA],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(hi(t[nu]===0);t[su]>0&&t[Un][t[On]].servername===t[Zi];){let a=t[Un][t[On]++];Wo.errorRequest(t,a,i)}else gL(t,i);t.emit("connectionError",t[ds],[t],i)}t[tu]()}o(yL,"connect");function pL(t){t[to]=0,t.emit("drain",t[ds],[t])}o(pL,"emitDrain");function PB(t,e){t[jo]!==2&&(t[jo]=2,PZ(t,e),t[jo]=0,t[fi]>256&&(t[Un].splice(0,t[fi]),t[On]-=t[fi],t[fi]=0))}o(PB,"resume");function PZ(t,e){for(;;){if(t.destroyed){hi(t[su]===0);return}if(t[eo]&&!t[ru]){t[eo](),t[eo]=null;return}if(t[it]&&t[it].resume(),t[SB])t[to]=2;else if(t[to]===2){e?(t[to]=1,queueMicrotask(()=>pL(t))):pL(t);continue}if(t[su]===0||t[nu]>=(fL(t)||1))return;let r=t[Un][t[On]];if(t[ds].protocol==="https:"&&t[Zi]!==r.servername){if(t[nu]>0)return;t[Zi]=r.servername,t[it]?.destroy(new iZ("servername changed"),()=>{t[it]=null,PB(t)})}if(t[Tc])return;if(!t[it]){yL(t);return}if(t[it].destroyed||t[it].busy(r))return;!r.aborted&&t[it].write(r)?t[On]++:t[Un].splice(t[On],1)}}o(PZ,"_resume");EL.exports=vB});var DB=g((ISe,CL)=>{"use strict";var Vp=class{static{o(this,"FixedCircularBuffer")}constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};CL.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new Vp}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new Vp),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var BL=g((QSe,IL)=>{var{kFree:DZ,kConnected:TZ,kPending:kZ,kQueued:MZ,kRunning:LZ,kSize:_Z}=Oe(),Ko=Symbol("pool"),TB=class{static{o(this,"PoolStats")}constructor(e){this[Ko]=e}get connected(){return this[Ko][TZ]}get free(){return this[Ko][DZ]}get pending(){return this[Ko][kZ]}get queued(){return this[Ko][MZ]}get running(){return this[Ko][LZ]}get size(){return this[Ko][_Z]}};IL.exports=TB});var UB=g((bSe,DL)=>{"use strict";var FZ=yc(),UZ=DB(),{kConnected:kB,kSize:QL,kRunning:xL,kPending:bL,kQueued:iu,kBusy:OZ,kFree:qZ,kUrl:HZ,kClose:zZ,kDestroy:GZ,kDispatch:YZ}=Oe(),VZ=BL(),ur=Symbol("clients"),jt=Symbol("needDrain"),ou=Symbol("queue"),MB=Symbol("closed resolve"),LB=Symbol("onDrain"),wL=Symbol("onConnect"),NL=Symbol("onDisconnect"),SL=Symbol("onConnectionError"),_B=Symbol("get dispatcher"),vL=Symbol("add client"),PL=Symbol("remove client"),RL=Symbol("stats"),FB=class extends FZ{static{o(this,"PoolBase")}constructor(e){super(e),this[ou]=new UZ,this[ur]=[],this[iu]=0;let r=this;this[LB]=o(function(s,i){let a=r[ou],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[iu]--,c=!this.dispatch(l.opts,l.handler)}this[jt]=c,!this[jt]&&r[jt]&&(r[jt]=!1,r.emit("drain",s,[r,...i])),r[MB]&&a.isEmpty()&&Promise.all(r[ur].map(l=>l.close())).then(r[MB])},"onDrain"),this[wL]=(n,s)=>{r.emit("connect",n,[r,...s])},this[NL]=(n,s,i)=>{r.emit("disconnect",n,[r,...s],i)},this[SL]=(n,s,i)=>{r.emit("connectionError",n,[r,...s],i)},this[RL]=new VZ(this)}get[OZ](){return this[jt]}get[kB](){return this[ur].filter(e=>e[kB]).length}get[qZ](){return this[ur].filter(e=>e[kB]&&!e[jt]).length}get[bL](){let e=this[iu];for(let{[bL]:r}of this[ur])e+=r;return e}get[xL](){let e=0;for(let{[xL]:r}of this[ur])e+=r;return e}get[QL](){let e=this[iu];for(let{[QL]:r}of this[ur])e+=r;return e}get stats(){return this[RL]}async[zZ](){this[ou].isEmpty()?await Promise.all(this[ur].map(e=>e.close())):await new Promise(e=>{this[MB]=e})}async[GZ](e){for(;;){let r=this[ou].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[ur].map(r=>r.destroy(e)))}[YZ](e,r){let n=this[_B]();return n?n.dispatch(e,r)||(n[jt]=!0,this[jt]=!this[_B]()):(this[jt]=!0,this[ou].push({opts:e,handler:r}),this[iu]++),!this[jt]}[vL](e){return e.on("drain",this[LB]).on("connect",this[wL]).on("disconnect",this[NL]).on("connectionError",this[SL]),this[ur].push(e),this[jt]&&queueMicrotask(()=>{this[jt]&&this[LB](e[HZ],[this,e])}),this}[PL](e){e.close(()=>{let r=this[ur].indexOf(e);r!==-1&&this[ur].splice(r,1)}),this[jt]=this[ur].some(r=>!r[jt]&&r.closed!==!0&&r.destroyed!==!0)}};DL.exports={PoolBase:FB,kClients:ur,kNeedDrain:jt,kAddClient:vL,kRemoveClient:PL,kGetDispatcher:_B}});var Mc=g((NSe,LL)=>{"use strict";var{PoolBase:JZ,kClients:Jp,kNeedDrain:$Z,kAddClient:WZ,kGetDispatcher:jZ}=UB(),KZ=kc(),{InvalidArgumentError:OB}=Ee(),TL=ce(),{kUrl:kL,kInterceptors:XZ}=Oe(),ZZ=UA(),qB=Symbol("options"),HB=Symbol("connections"),ML=Symbol("factory");function e7(t,e){return new KZ(t,e)}o(e7,"defaultFactory");var zB=class extends JZ{static{o(this,"Pool")}constructor(e,{connections:r,factory:n=e7,connect:s,connectTimeout:i,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u,allowH2:d,...m}={}){if(r!=null&&(!Number.isFinite(r)||r<0))throw new OB("invalid connections");if(typeof n!="function")throw new OB("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new OB("connect must be a function or an object");typeof s!="function"&&(s=ZZ({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:i,...A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u}:void 0,...s})),super(m),this[XZ]=m.interceptors?.Pool&&Array.isArray(m.interceptors.Pool)?m.interceptors.Pool:[],this[HB]=r||null,this[kL]=TL.parseOrigin(e),this[qB]={...TL.deepClone(m),connect:s,allowH2:d},this[qB].interceptors=m.interceptors?{...m.interceptors}:void 0,this[ML]=n,this.on("connectionError",(p,h,f)=>{for(let C of h){let y=this[Jp].indexOf(C);y!==-1&&this[Jp].splice(y,1)}})}[jZ](){for(let e of this[Jp])if(!e[$Z])return e;if(!this[HB]||this[Jp].length<this[HB]){let e=this[ML](this[kL],this[qB]);return this[WZ](e),e}}};LL.exports=zB});var qL=g((RSe,OL)=>{"use strict";var{BalancedPoolMissingUpstreamError:t7,InvalidArgumentError:r7}=Ee(),{PoolBase:n7,kClients:Ft,kNeedDrain:au,kAddClient:s7,kRemoveClient:i7,kGetDispatcher:o7}=UB(),a7=Mc(),{kUrl:GB,kInterceptors:c7}=Oe(),{parseOrigin:_L}=ce(),FL=Symbol("factory"),$p=Symbol("options"),UL=Symbol("kGreatestCommonDivisor"),Xo=Symbol("kCurrentWeight"),Zo=Symbol("kIndex"),An=Symbol("kWeight"),Wp=Symbol("kMaxWeightPerServer"),jp=Symbol("kErrorPenalty");function l7(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(l7,"getGreatestCommonDivisor");function A7(t,e){return new a7(t,e)}o(A7,"defaultFactory");var YB=class extends n7{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=A7,...n}={}){if(super(),this[$p]=n,this[Zo]=-1,this[Xo]=0,this[Wp]=this[$p].maxWeightPerServer||100,this[jp]=this[$p].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new r7("factory must be a function.");this[c7]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[FL]=r;for(let s of e)this.addUpstream(s);this._updateBalancedPoolStats()}addUpstream(e){let r=_L(e).origin;if(this[Ft].find(s=>s[GB].origin===r&&s.closed!==!0&&s.destroyed!==!0))return this;let n=this[FL](r,Object.assign({},this[$p]));this[s7](n),n.on("connect",()=>{n[An]=Math.min(this[Wp],n[An]+this[jp])}),n.on("connectionError",()=>{n[An]=Math.max(1,n[An]-this[jp]),this._updateBalancedPoolStats()}),n.on("disconnect",(...s)=>{let i=s[2];i&&i.code==="UND_ERR_SOCKET"&&(n[An]=Math.max(1,n[An]-this[jp]),this._updateBalancedPoolStats())});for(let s of this[Ft])s[An]=this[Wp];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;r<this[Ft].length;r++)e=l7(this[Ft][r][An],e);this[UL]=e}removeUpstream(e){let r=_L(e).origin,n=this[Ft].find(s=>s[GB].origin===r&&s.closed!==!0&&s.destroyed!==!0);return n&&this[i7](n),this}get upstreams(){return this[Ft].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[GB].origin)}[o7](){if(this[Ft].length===0)throw new t7;if(!this[Ft].find(i=>!i[au]&&i.closed!==!0&&i.destroyed!==!0)||this[Ft].map(i=>i[au]).reduce((i,a)=>i&&a,!0))return;let n=0,s=this[Ft].findIndex(i=>!i[au]);for(;n++<this[Ft].length;){this[Zo]=(this[Zo]+1)%this[Ft].length;let i=this[Ft][this[Zo]];if(i[An]>this[Ft][s][An]&&!i[au]&&(s=this[Zo]),this[Zo]===0&&(this[Xo]=this[Xo]-this[UL],this[Xo]<=0&&(this[Xo]=this[Wp])),i[An]>=this[Xo]&&!i[au])return i}return this[Xo]=this[Ft][s][An],this[Zo]=s,this[Ft][s]}};OL.exports=YB});var Lc=g((PSe,$L)=>{"use strict";var{InvalidArgumentError:Kp}=Ee(),{kClients:ro,kRunning:HL,kClose:u7,kDestroy:d7,kDispatch:m7,kInterceptors:p7}=Oe(),h7=yc(),f7=Mc(),g7=kc(),y7=ce(),E7=Gp(),zL=Symbol("onConnect"),GL=Symbol("onDisconnect"),YL=Symbol("onConnectionError"),C7=Symbol("maxRedirections"),VL=Symbol("onDrain"),JL=Symbol("factory"),VB=Symbol("options");function I7(t,e){return e&&e.connections===1?new g7(t,e):new f7(t,e)}o(I7,"defaultFactory");var JB=class extends h7{static{o(this,"Agent")}constructor({factory:e=I7,maxRedirections:r=0,connect:n,...s}={}){if(typeof e!="function")throw new Kp("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Kp("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Kp("maxRedirections must be a positive number");super(s),n&&typeof n!="function"&&(n={...n}),this[p7]=s.interceptors?.Agent&&Array.isArray(s.interceptors.Agent)?s.interceptors.Agent:[E7({maxRedirections:r})],this[VB]={...y7.deepClone(s),connect:n},this[VB].interceptors=s.interceptors?{...s.interceptors}:void 0,this[C7]=r,this[JL]=e,this[ro]=new Map,this[VL]=(i,a)=>{this.emit("drain",i,[this,...a])},this[zL]=(i,a)=>{this.emit("connect",i,[this,...a])},this[GL]=(i,a,c)=>{this.emit("disconnect",i,[this,...a],c)},this[YL]=(i,a,c)=>{this.emit("connectionError",i,[this,...a],c)}}get[HL](){let e=0;for(let r of this[ro].values())e+=r[HL];return e}[m7](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new Kp("opts.origin must be a non-empty string or URL.");let s=this[ro].get(n);return s||(s=this[JL](e.origin,this[VB]).on("drain",this[VL]).on("connect",this[zL]).on("disconnect",this[GL]).on("connectionError",this[YL]),this[ro].set(n,s)),s.dispatch(e,r)}async[u7](){let e=[];for(let r of this[ro].values())e.push(r.close());this[ro].clear(),await Promise.all(e)}async[d7](e){let r=[];for(let n of this[ro].values())r.push(n.destroy(e));this[ro].clear(),await Promise.all(r)}};$L.exports=JB});var XB=g((TSe,i_)=>{"use strict";var{kProxy:$B,kClose:e_,kDestroy:t_,kDispatch:WL,kInterceptors:B7}=Oe(),{URL:ea}=require("node:url"),Q7=Lc(),r_=Mc(),n_=yc(),{InvalidArgumentError:_c,RequestAbortedError:x7,SecureProxyConnectionError:b7}=Ee(),jL=UA(),s_=kc(),Xp=Symbol("proxy agent"),Zp=Symbol("proxy client"),no=Symbol("proxy headers"),WB=Symbol("request tls settings"),KL=Symbol("proxy tls settings"),XL=Symbol("connect endpoint function"),ZL=Symbol("tunnel proxy");function w7(t){return t==="https:"?443:80}o(w7,"defaultProtocolPort");function N7(t,e){return new r_(t,e)}o(N7,"defaultFactory");var S7=o(()=>{},"noop");function R7(t,e){return e.connections===1?new s_(t,e):new r_(t,e)}o(R7,"defaultAgentFactory");var jB=class extends n_{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:s}){if(super(),!e)throw new _c("Proxy URL is mandatory");this[no]=r,s?this.#e=s(e,{connect:n}):this.#e=new s_(e,{connect:n})}[WL](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,A){if(c===407){typeof r.onError=="function"&&r.onError(new _c("Proxy Authentication Required (407)"));return}n&&n.call(this,c,l,A)};let{origin:s,path:i="/",headers:a={}}=e;if(e.path=s+i,!("host"in a)&&!("Host"in a)){let{host:c}=new ea(s);a.host=c}return e.headers={...this[no],...a},this.#e[WL](e,r)}async[e_](){return this.#e.close()}async[t_](e){return this.#e.destroy(e)}},KB=class extends n_{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof ea)&&!e.uri)throw new _c("Proxy uri is mandatory");let{clientFactory:r=N7}=e;if(typeof r!="function")throw new _c("Proxy opts.clientFactory must be a function.");let{proxyTunnel:n=!0}=e,s=this.#e(e),{href:i,origin:a,port:c,protocol:l,username:A,password:u,hostname:d}=s;if(this[$B]={uri:i,protocol:l},this[B7]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[WB]=e.requestTls,this[KL]=e.proxyTls,this[no]=e.headers||{},this[ZL]=n,e.auth&&e.token)throw new _c("opts.auth cannot be used in combination with opts.token");e.auth?this[no]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[no]["proxy-authorization"]=e.token:A&&u&&(this[no]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(A)}:${decodeURIComponent(u)}`).toString("base64")}`);let m=jL({...e.proxyTls});this[XL]=jL({...e.requestTls});let p=e.factory||R7,h=o((f,C)=>{let{protocol:y}=new ea(f);return!this[ZL]&&y==="http:"&&this[$B].protocol==="http:"?new jB(this[$B].uri,{headers:this[no],connect:m,factory:p}):p(f,C)},"factory");this[Zp]=r(s,{connect:m}),this[Xp]=new Q7({...e,factory:h,connect:o(async(f,C)=>{let y=f.host;f.port||(y+=`:${w7(f.protocol)}`);try{let{socket:E,statusCode:I}=await this[Zp].connect({origin:a,port:c,path:y,signal:f.signal,headers:{...this[no],host:f.host},servername:this[KL]?.servername||d});if(I!==200&&(E.on("error",S7).destroy(),C(new x7(`Proxy response (${I}) !== 200 when HTTP Tunneling`))),f.protocol!=="https:"){C(null,E);return}let B;this[WB]?B=this[WB].servername:B=f.servername,this[XL]({...f,servername:B,httpSocket:E},C)}catch(E){E.code==="ERR_TLS_CERT_ALTNAME_INVALID"?C(new b7(E)):C(E)}},"connect")})}dispatch(e,r){let n=v7(e.headers);if(P7(n),n&&!("host"in n)&&!("Host"in n)){let{host:s}=new ea(e.origin);n.host=s}return this[Xp].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new ea(e):e instanceof ea?e:new ea(e.uri)}async[e_](){await this[Xp].close(),await this[Zp].close()}async[t_](){await this[Xp].destroy(),await this[Zp].destroy()}};function v7(t){if(Array.isArray(t)){let e={};for(let r=0;r<t.length;r+=2)e[t[r]]=t[r+1];return e}return t}o(v7,"buildHeaders");function P7(t){if(t&&Object.keys(t).find(r=>r.toLowerCase()==="proxy-authorization"))throw new _c("Proxy-Authorization should be sent in ProxyAgent constructor")}o(P7,"throwIfProxyAuthIsSent");i_.exports=KB});var u_=g((MSe,A_)=>{"use strict";var D7=yc(),{kClose:T7,kDestroy:k7,kClosed:o_,kDestroyed:a_,kDispatch:M7,kNoProxyAgent:cu,kHttpProxyAgent:so,kHttpsProxyAgent:ta}=Oe(),c_=XB(),L7=Lc(),_7={"http:":80,"https:":443},l_=!1,ZB=class extends D7{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#r=null;constructor(e={}){super(),this.#r=e,l_||(l_=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:n,noProxy:s,...i}=e;this[cu]=new L7(i);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[so]=new c_({...i,uri:a}):this[so]=this[cu];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[ta]=new c_({...i,uri:c}):this[ta]=this[so],this.#n()}[M7](e,r){let n=new URL(e.origin);return this.#i(n).dispatch(e,r)}async[T7](){await this[cu].close(),this[so][o_]||await this[so].close(),this[ta][o_]||await this[ta].close()}async[k7](e){await this[cu].destroy(e),this[so][a_]||await this[so].destroy(e),this[ta][a_]||await this[ta].destroy(e)}#i(e){let{protocol:r,host:n,port:s}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),s=Number.parseInt(s,10)||_7[r]||0,this.#s(n,s)?r==="https:"?this[ta]:this[so]:this[cu]}#s(e,r){if(this.#o&&this.#n(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let n=0;n<this.#t.length;n++){let s=this.#t[n];if(!(s.port&&s.port!==r)){if(/^[.*]/.test(s.hostname)){if(e.endsWith(s.hostname.replace(/^\*/,"")))return!1}else if(e===s.hostname)return!1}}return!0}#n(){let e=this.#r.noProxy??this.#a,r=e.split(/[,\s]/),n=[];for(let s=0;s<r.length;s++){let i=r[s];if(!i)continue;let a=i.match(/^(.+):(\d+)$/);n.push({hostname:(a?a[1]:i).toLowerCase(),port:a?Number.parseInt(a[2],10):0})}this.#e=e,this.#t=n}get#o(){return this.#r.noProxy!==void 0?!1:this.#e!==this.#a}get#a(){return process.env.no_proxy??process.env.NO_PROXY??""}};A_.exports=ZB});var eh=g((_Se,f_)=>{"use strict";var Fc=require("node:assert"),{kRetryHandlerDefaultRetry:d_}=Oe(),{RequestRetryError:Uc}=Ee(),{isDisturbed:m_,parseHeaders:F7,parseRangeHeader:p_,wrapRequestBody:U7}=ce();function O7(t){let e=Date.now();return new Date(t).getTime()-e}o(O7,"calculateRetryAfterHeader");function h_(t,e,r,n){let s=t["content-length"];if(s==null||!Number.isFinite(e.start)||!Number.isFinite(e.end))return null;let i=Number(s),a=e.end-e.start+1;return!Number.isFinite(i)||i!==a?new Uc("Content-Length mismatch",r,{headers:t,data:{count:n}}):null}o(h_,"validatePartialResponseContentLength");var eQ=class t{static{o(this,"RetryHandler")}constructor(e,r){let{retryOptions:n,...s}=e,{retry:i,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:A,methods:u,errorCodes:d,retryAfter:m,statusCodes:p}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...s,body:U7(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[d_],retryAfter:m??!0,maxTimeout:c??30*1e3,minTimeout:l??500,timeoutFactor:A??2,maxRetries:a??5,methods:u??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:p??[500,502,503,504,429],errorCodes:d??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(h=>{this.aborted=!0,this.abort?this.abort(h):this.reason=h})}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,r,n){this.handler.onUpgrade&&this.handler.onUpgrade(e,r,n)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[d_](e,{state:r,opts:n},s){let{statusCode:i,code:a,headers:c}=e,{method:l,retryOptions:A}=n,{maxRetries:u,minTimeout:d,maxTimeout:m,timeoutFactor:p,statusCodes:h,errorCodes:f,methods:C}=A,{counter:y}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!f.includes(a)){s(e);return}if(Array.isArray(C)&&!C.includes(l)){s(e);return}if(i!=null&&Array.isArray(h)&&!h.includes(i)){s(e);return}if(y>u){s(e);return}let E=c?.["retry-after"];E&&(E=Number(E),E=Number.isNaN(E)?O7(E):E*1e3);let I=E>0?Math.min(E,m):Math.min(d*p**(y-1),m);setTimeout(()=>s(null),I)}onHeaders(e,r,n,s){let i=F7(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,s):(this.abort(new Uc("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 Uc("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let c=p_(i["content-range"]);if(!c)return this.abort(new Uc("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new Uc("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let l=h_(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:A,size:u,end:d=u-1}=c;return Fc(this.start===A,"content-range mismatch"),Fc(this.end==null||this.end===d,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let c=p_(i["content-range"]);if(c==null)return this.handler.onHeaders(e,r,n,s);let l=h_(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:A,size:u,end:d=u-1}=c;Fc(A!=null&&Number.isFinite(A),"content-range mismatch"),Fc(d!=null&&Number.isFinite(d),"invalid content-length"),this.start=A,this.end=d}if(this.end==null){let c=i["content-length"];this.end=c!=null?Number(c)-1:null}return Fc(Number.isFinite(this.start)),Fc(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=n,this.etag=i.etag!=null?i.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,n,s)}let a=new Uc("Request failed",e,{headers:i,data:{count:this.retryCount}});return this.abort(a),!1}onData(e){return this.start+=e.length,this.handler.onData(e)}onComplete(e){return this.retryCount=0,this.handler.onComplete(e)}onError(e){if(this.aborted||m_(this.opts.body))return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(n){if(n!=null||this.aborted||m_(this.opts.body))return this.handler.onError(n);if(this.start!==0){let s={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(s["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...s}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(s){this.handler.onError(s)}}o(r,"onRetry")}};f_.exports=eQ});var y_=g((USe,g_)=>{"use strict";var q7=_A(),H7=eh(),tQ=class extends q7{static{o(this,"RetryAgent")}#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let n=new H7({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:r});return this.#e.dispatch(e,n)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};g_.exports=tQ});var aQ=g((qSe,N_)=>{"use strict";var Q_=require("node:assert"),{Readable:z7}=require("node:stream"),{RequestAbortedError:x_,NotSupportedError:G7,InvalidArgumentError:Y7,AbortError:rQ}=Ee(),b_=ce(),{ReadableStreamFrom:V7}=ce(),Tr=Symbol("kConsume"),lu=Symbol("kReading"),io=Symbol("kBody"),E_=Symbol("kAbort"),w_=Symbol("kContentType"),C_=Symbol("kContentLength"),J7=o(()=>{},"noop"),nQ=class extends z7{static{o(this,"BodyReadable")}constructor({resume:e,abort:r,contentType:n="",contentLength:s,highWaterMark:i=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:i}),this._readableState.dataEmitted=!1,this[E_]=r,this[Tr]=null,this[io]=null,this[w_]=n,this[C_]=s,this[lu]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new x_),e&&this[E_](),super.destroy(e)}_destroy(e,r){this[lu]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[lu]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let n=super.off(e,...r);return(e==="data"||e==="readable")&&(this[lu]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Tr]&&e!==null?(iQ(this[Tr],e),this[lu]?super.push(e):!0):super.push(e)}async text(){return Au(this,"text")}async json(){return Au(this,"json")}async blob(){return Au(this,"blob")}async bytes(){return Au(this,"bytes")}async arrayBuffer(){return Au(this,"arrayBuffer")}async formData(){throw new G7}get bodyUsed(){return b_.isDisturbed(this)}get body(){return this[io]||(this[io]=V7(this),this[Tr]&&(this[io].getReader(),Q_(this[io].locked))),this[io]}async dump(e){let r=Number.isFinite(e?.limit)?e.limit:131072,n=e?.signal;if(n!=null&&(typeof n!="object"||!("aborted"in n)))throw new Y7("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((s,i)=>{this[C_]>r&&this.destroy(new rQ);let a=o(()=>{this.destroy(n.reason??new rQ)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?i(n.reason??new rQ):s(null)}).on("error",J7).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function $7(t){return t[io]&&t[io].locked===!0||t[Tr]}o($7,"isLocked");function W7(t){return b_.isDisturbed(t)||$7(t)}o(W7,"isUnusable");async function Au(t,e){return Q_(!t[Tr]),new Promise((r,n)=>{if(W7(t)){let s=t._readableState;s.destroyed&&s.closeEmitted===!1?t.on("error",i=>{n(i)}).on("close",()=>{n(new TypeError("unusable"))}):n(s.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[Tr]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(s){oQ(this[Tr],s)}).on("close",function(){this[Tr].body!==null&&oQ(this[Tr],new x_)}),j7(t[Tr])})})}o(Au,"consume");function j7(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let r=e.bufferIndex,n=e.buffer.length;for(let s=r;s<n;s++)iQ(t,e.buffer[s])}else for(let r of e.buffer)iQ(t,r);for(e.endEmitted?B_(this[Tr]):t.stream.on("end",function(){B_(this[Tr])}),t.stream.resume();t.stream.read()!=null;);}o(j7,"consumeStart");function sQ(t,e){if(t.length===0||e===0)return"";let r=t.length===1?t[0]:Buffer.concat(t,e),n=r.length,s=n>2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(s,n)}o(sQ,"chunksDecode");function I_(t,e){if(t.length===0||e===0)return new Uint8Array(0);if(t.length===1)return new Uint8Array(t[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(e).buffer),n=0;for(let s=0;s<t.length;++s){let i=t[s];r.set(i,n),n+=i.length}return r}o(I_,"chunksConcat");function B_(t){let{type:e,body:r,resolve:n,stream:s,length:i}=t;try{e==="text"?n(sQ(r,i)):e==="json"?n(JSON.parse(sQ(r,i))):e==="arrayBuffer"?n(I_(r,i).buffer):e==="blob"?n(new Blob(r,{type:s[w_]})):e==="bytes"&&n(I_(r,i)),oQ(t)}catch(a){s.destroy(a)}}o(B_,"consumeEnd");function iQ(t,e){t.length+=e.length,t.body.push(e)}o(iQ,"consumePush");function oQ(t,e){t.body!==null&&(e?t.reject(e):t.resolve(),t.type=null,t.stream=null,t.resolve=null,t.reject=null,t.length=0,t.body=null)}o(oQ,"consumeFinish");N_.exports={Readable:nQ,chunksDecode:sQ}});var cQ=g((zSe,D_)=>{var K7=require("node:assert"),{ResponseStatusCodeError:S_}=Ee(),{chunksDecode:R_}=aQ(),X7=128*1024;async function Z7({callback:t,body:e,contentType:r,statusCode:n,statusMessage:s,headers:i}){K7(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>X7){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${s?`: ${s}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new S_(l,n,i)));return}let A=Error.stackTraceLimit;Error.stackTraceLimit=0;let u;try{v_(r)?u=JSON.parse(R_(a,c)):P_(r)&&(u=R_(a,c))}catch{}finally{Error.stackTraceLimit=A}queueMicrotask(()=>t(new S_(l,n,i,u)))}o(Z7,"getResolveErrorBodyCallback");var v_=o(t=>t.length>15&&t[11]==="/"&&t[0]==="a"&&t[1]==="p"&&t[2]==="p"&&t[3]==="l"&&t[4]==="i"&&t[5]==="c"&&t[6]==="a"&&t[7]==="t"&&t[8]==="i"&&t[9]==="o"&&t[10]==="n"&&t[12]==="j"&&t[13]==="s"&&t[14]==="o"&&t[15]==="n","isContentTypeApplicationJson"),P_=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");D_.exports={getResolveErrorBodyCallback:Z7,isContentTypeApplicationJson:v_,isContentTypeText:P_}});var M_=g((YSe,lQ)=>{"use strict";var eee=require("node:assert"),{Readable:tee}=aQ(),{InvalidArgumentError:Oc,RequestAbortedError:T_}=Ee(),kr=ce(),{getResolveErrorBodyCallback:ree}=cQ(),{AsyncResource:nee}=require("node:async_hooks"),th=class extends nee{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Oc("invalid opts");let{signal:n,method:s,opaque:i,body:a,onInfo:c,responseHeaders:l,throwOnError:A,highWaterMark:u}=e;try{if(typeof r!="function")throw new Oc("invalid callback");if(u&&(typeof u!="number"||u<0))throw new Oc("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Oc("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new Oc("invalid method");if(c&&typeof c!="function")throw new Oc("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw kr.isStream(a)&&kr.destroy(a.on("error",kr.nop),d),d}this.method=s,this.responseHeaders=l||null,this.opaque=i||null,this.callback=r,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=A,this.highWaterMark=u,this.signal=n,this.reason=null,this.removeAbortListener=null,kr.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new T_:this.removeAbortListener=kr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new T_,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}eee(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,s){let{callback:i,opaque:a,abort:c,context:l,responseHeaders:A,highWaterMark:u}=this,d=A==="raw"?kr.parseRawHeaders(r):kr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let m=A==="raw"?kr.parseHeaders(r):d,p=m["content-type"],h=m["content-length"],f=new tee({resume:n,abort:c,contentType:p,contentLength:this.method!=="HEAD"&&h?Number(h):null,highWaterMark:u});this.removeAbortListener&&f.on("close",this.removeAbortListener),this.callback=null,this.res=f,i!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(ree,null,{callback:i,body:f,contentType:p,statusCode:e,statusMessage:s,headers:d}):this.runInAsyncScope(i,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:f,context:l}))}onData(e){return this.res.push(e)}onComplete(e){kr.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:n,body:s,opaque:i}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),r&&(this.res=null,queueMicrotask(()=>{kr.destroy(r,e)})),s&&(this.body=null,kr.destroy(s,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function k_(t,e){if(e===void 0)return new Promise((r,n)=>{k_.call(this,t,(s,i)=>s?n(s):r(i))});try{this.dispatch(t,new th(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(k_,"request");lQ.exports=k_;lQ.exports.RequestHandler=th});var uu=g((JSe,F_)=>{var{addAbortListener:see}=ce(),{RequestAbortedError:iee}=Ee(),qc=Symbol("kListener"),ms=Symbol("kSignal");function L_(t){t.abort?t.abort(t[ms]?.reason):t.reason=t[ms]?.reason??new iee,__(t)}o(L_,"abort");function oee(t,e){if(t.reason=null,t[ms]=null,t[qc]=null,!!e){if(e.aborted){L_(t);return}t[ms]=e,t[qc]=()=>{L_(t)},see(t[ms],t[qc])}}o(oee,"addSignal");function __(t){t[ms]&&("removeEventListener"in t[ms]?t[ms].removeEventListener("abort",t[qc]):t[ms].removeListener("abort",t[qc]),t[ms]=null,t[qc]=null)}o(__,"removeSignal");F_.exports={addSignal:oee,removeSignal:__}});var H_=g((WSe,q_)=>{"use strict";var aee=require("node:assert"),{finished:cee,PassThrough:lee}=require("node:stream"),{InvalidArgumentError:Hc,InvalidReturnValueError:Aee}=Ee(),qn=ce(),{getResolveErrorBodyCallback:uee}=cQ(),{AsyncResource:dee}=require("node:async_hooks"),{addSignal:mee,removeSignal:U_}=uu(),AQ=class extends dee{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new Hc("invalid opts");let{signal:s,method:i,opaque:a,body:c,onInfo:l,responseHeaders:A,throwOnError:u}=e;try{if(typeof n!="function")throw new Hc("invalid callback");if(typeof r!="function")throw new Hc("invalid factory");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new Hc("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Hc("invalid method");if(l&&typeof l!="function")throw new Hc("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw qn.isStream(c)&&qn.destroy(c.on("error",qn.nop),d),d}this.responseHeaders=A||null,this.opaque=a||null,this.factory=r,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=u||!1,qn.isStream(c)&&c.on("error",d=>{this.onError(d)}),mee(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}aee(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,s){let{factory:i,opaque:a,context:c,callback:l,responseHeaders:A}=this,u=A==="raw"?qn.parseRawHeaders(r):qn.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:u});return}this.factory=null;let d;if(this.throwOnError&&e>=400){let h=(A==="raw"?qn.parseHeaders(r):u)["content-type"];d=new lee,this.callback=null,this.runInAsyncScope(uee,null,{callback:l,body:d,contentType:h,statusCode:e,statusMessage:s,headers:u})}else{if(i===null)return;if(d=this.runInAsyncScope(i,null,{statusCode:e,headers:u,opaque:a,context:c}),!d||typeof d.write!="function"||typeof d.end!="function"||typeof d.on!="function")throw new Aee("expected Writable");cee(d,{readable:!1},p=>{let{callback:h,res:f,opaque:C,trailers:y,abort:E}=this;this.res=null,(p||!f.readable)&&qn.destroy(f,p),this.callback=null,this.runInAsyncScope(h,null,p||null,{opaque:C,trailers:y}),p&&E()})}return d.on("drain",n),this.res=d,(d.writableNeedDrain!==void 0?d.writableNeedDrain:d._writableState?.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;U_(this),r&&(this.trailers=qn.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:s,body:i}=this;U_(this),this.factory=null,r?(this.res=null,qn.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:s})})),i&&(this.body=null,qn.destroy(i,e))}};function O_(t,e,r){if(r===void 0)return new Promise((n,s)=>{O_.call(this,t,e,(i,a)=>i?s(i):n(a))});try{this.dispatch(t,new AQ(t,e,r))}catch(n){if(typeof r!="function")throw n;let s=t?.opaque;queueMicrotask(()=>r(n,{opaque:s}))}}o(O_,"stream");q_.exports=O_});var V_=g((KSe,Y_)=>{"use strict";var{Readable:G_,Duplex:pee,PassThrough:hee}=require("node:stream"),{InvalidArgumentError:du,InvalidReturnValueError:fee,RequestAbortedError:uQ}=Ee(),un=ce(),{AsyncResource:gee}=require("node:async_hooks"),{addSignal:yee,removeSignal:Eee}=uu(),z_=require("node:assert"),zc=Symbol("resume"),dQ=class extends G_{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[zc]=null}_read(){let{[zc]:e}=this;e&&(this[zc]=null,e())}_destroy(e,r){this._read(),r(e)}},mQ=class extends G_{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[zc]=e}_read(){this[zc]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new uQ),r(e)}},pQ=class extends gee{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new du("invalid opts");if(typeof r!="function")throw new du("invalid handler");let{signal:n,method:s,opaque:i,onInfo:a,responseHeaders:c}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new du("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new du("invalid method");if(a&&typeof a!="function")throw new du("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=i||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new dQ().on("error",un.nop),this.ret=new pee({readableObjectMode:e.objectMode,autoDestroy:!0,read:o(()=>{let{body:l}=this;l?.resume&&l.resume()},"read"),write:o((l,A,u)=>{let{req:d}=this;d.push(l,A)||d._readableState.destroyed?u():d[zc]=u},"write"),destroy:o((l,A)=>{let{body:u,req:d,res:m,ret:p,abort:h}=this;!l&&!p._readableState.endEmitted&&(l=new uQ),h&&l&&h(),un.destroy(u,l),un.destroy(d,l),un.destroy(m,l),Eee(this),A(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,yee(this,n)}onConnect(e,r){let{ret:n,res:s}=this;if(this.reason){e(this.reason);return}z_(!s,"pipeline cannot be retried"),z_(!n.destroyed),this.abort=e,this.context=r}onHeaders(e,r,n){let{opaque:s,handler:i,context:a}=this;if(e<200){if(this.onInfo){let l=this.responseHeaders==="raw"?un.parseRawHeaders(r):un.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new mQ(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?un.parseRawHeaders(r):un.parseHeaders(r);c=this.runInAsyncScope(i,null,{statusCode:e,headers:l,opaque:s,body:this.res,context:a})}catch(l){throw this.res.on("error",un.nop),l}if(!c||typeof c.on!="function")throw new fee("expected Readable");c.on("data",l=>{let{ret:A,body:u}=this;!A.push(l)&&u.pause&&u.pause()}).on("error",l=>{let{ret:A}=this;un.destroy(A,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||un.destroy(l,new uQ)}),this.body=c}onData(e){let{res:r}=this;return r.push(e)}onComplete(e){let{res:r}=this;r.push(null)}onError(e){let{ret:r}=this;this.handler=null,un.destroy(r,e)}};function Cee(t,e){try{let r=new pQ(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new hee().destroy(r)}}o(Cee,"pipeline");Y_.exports=Cee});var X_=g((ZSe,K_)=>{"use strict";var{InvalidArgumentError:hQ,SocketError:Iee}=Ee(),{AsyncResource:Bee}=require("node:async_hooks"),J_=ce(),{addSignal:Qee,removeSignal:$_}=uu(),W_=require("node:assert"),fQ=class extends Bee{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new hQ("invalid opts");if(typeof r!="function")throw new hQ("invalid callback");let{signal:n,opaque:s,responseHeaders:i}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new hQ("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=i||null,this.opaque=s||null,this.callback=r,this.abort=null,this.context=null,Qee(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}W_(this.callback),this.abort=e,this.context=null}onHeaders(){throw new Iee("bad upgrade",null)}onUpgrade(e,r,n){W_(e===101);let{callback:s,opaque:i,context:a}=this;$_(this),this.callback=null;let c=this.responseHeaders==="raw"?J_.parseRawHeaders(r):J_.parseHeaders(r);this.runInAsyncScope(s,null,null,{headers:c,socket:n,opaque:i,context:a})}onError(e){let{callback:r,opaque:n}=this;$_(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function j_(t,e){if(e===void 0)return new Promise((r,n)=>{j_.call(this,t,(s,i)=>s?n(s):r(i))});try{let r=new fQ(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(j_,"upgrade");K_.exports=j_});var n1=g((tRe,r1)=>{"use strict";var xee=require("node:assert"),{AsyncResource:bee}=require("node:async_hooks"),{InvalidArgumentError:gQ,SocketError:wee}=Ee(),Z_=ce(),{addSignal:Nee,removeSignal:e1}=uu(),yQ=class extends bee{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new gQ("invalid opts");if(typeof r!="function")throw new gQ("invalid callback");let{signal:n,opaque:s,responseHeaders:i}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new gQ("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=s||null,this.responseHeaders=i||null,this.callback=r,this.abort=null,Nee(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}xee(this.callback),this.abort=e,this.context=r}onHeaders(){throw new wee("bad connect",null)}onUpgrade(e,r,n){let{callback:s,opaque:i,context:a}=this;e1(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?Z_.parseRawHeaders(r):Z_.parseHeaders(r)),this.runInAsyncScope(s,null,null,{statusCode:e,headers:c,socket:n,opaque:i,context:a})}onError(e){let{callback:r,opaque:n}=this;e1(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function t1(t,e){if(e===void 0)return new Promise((r,n)=>{t1.call(this,t,(s,i)=>s?n(s):r(i))});try{let r=new yQ(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(t1,"connect");r1.exports=t1});var s1=g((nRe,Gc)=>{"use strict";Gc.exports.request=M_();Gc.exports.stream=H_();Gc.exports.pipeline=V_();Gc.exports.upgrade=X_();Gc.exports.connect=n1()});var CQ=g((sRe,o1)=>{"use strict";var{UndiciError:See}=Ee(),i1=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),EQ=class t extends See{static{o(this,"MockNotMatchedError")}constructor(e){super(e),Error.captureStackTrace(this,t),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&e[i1]===!0}[i1]=!0};o1.exports={MockNotMatchedError:EQ}});var Yc=g((oRe,a1)=>{"use strict";a1.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 mu=g((aRe,y1)=>{"use strict";var{MockNotMatchedError:ra}=CQ(),{kDispatches:rh,kMockAgent:Ree,kOriginalDispatch:vee,kOrigin:Pee,kGetNetConnect:Dee}=Yc(),{buildURL:Tee}=ce(),{STATUS_CODES:kee}=require("node:http"),{types:{isPromise:Mee}}=require("node:util");function gi(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(gi,"matchValue");function l1(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(l1,"lowerCaseEntries");function A1(t,e){if(Array.isArray(t)){for(let r=0;r<t.length;r+=2)if(t[r].toLocaleLowerCase()===e.toLocaleLowerCase())return t[r+1];return}else return typeof t.get=="function"?t.get(e):l1(t)[e.toLocaleLowerCase()]}o(A1,"getHeaderByName");function QQ(t){let e=t.slice(),r=[];for(let n=0;n<e.length;n+=2)r.push([e[n],e[n+1]]);return Object.fromEntries(r)}o(QQ,"buildHeadersFromArray");function u1(t,e){if(typeof t.headers=="function")return Array.isArray(e)&&(e=QQ(e)),t.headers(e?l1(e):{});if(typeof t.headers>"u")return!0;if(typeof e!="object"||typeof t.headers!="object")return!1;for(let[r,n]of Object.entries(t.headers)){let s=A1(e,r);if(!gi(n,s))return!1}return!0}o(u1,"matchHeaders");function c1(t){if(typeof t!="string")return t;let e=t.split("?");if(e.length!==2)return t;let r=new URLSearchParams(e.pop());return r.sort(),[...e,r.toString()].join("?")}o(c1,"safeUrl");function Lee(t,{path:e,method:r,body:n,headers:s}){let i=gi(t.path,e),a=gi(t.method,r),c=typeof t.body<"u"?gi(t.body,n):!0,l=u1(t,s);return i&&a&&c&&l}o(Lee,"matchKey");function d1(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(d1,"getResponseData");function m1(t,e){let r=e.query?Tee(e.path,e.query):e.path,n=typeof r=="string"?c1(r):r,s=t.filter(({consumed:i})=>!i).filter(({path:i})=>gi(c1(i),n));if(s.length===0)throw new ra(`Mock dispatch not matched for path '${n}'`);if(s=s.filter(({method:i})=>gi(i,e.method)),s.length===0)throw new ra(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(s=s.filter(({body:i})=>typeof i<"u"?gi(i,e.body):!0),s.length===0)throw new ra(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(s=s.filter(i=>u1(i,e.headers)),s.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 '${n}'`)}return s[0]}o(m1,"getMockDispatch");function _ee(t,e,r){let n={timesInvoked:0,times:1,persist:!1,consumed:!1},s=typeof r=="function"?{callback:r}:{...r},i={...n,...e,pending:!0,data:{error:null,...s}};return t.push(i),i}o(_ee,"addMockDispatch");function IQ(t,e){let r=t.findIndex(n=>n.consumed?Lee(n,e):!1);r!==-1&&t.splice(r,1)}o(IQ,"deleteMockDispatch");function p1(t){let{path:e,method:r,body:n,headers:s,query:i}=t;return{path:e,method:r,body:n,headers:s,query:i}}o(p1,"buildKey");function BQ(t){let e=Object.keys(t),r=[];for(let n=0;n<e.length;++n){let s=e[n],i=t[s],a=Buffer.from(`${s}`);if(Array.isArray(i))for(let c=0;c<i.length;++c)r.push(a,Buffer.from(`${i[c]}`));else r.push(a,Buffer.from(`${i}`))}return r}o(BQ,"generateKeyValues");function h1(t){return kee[t]||"unknown"}o(h1,"getStatusText");async function Fee(t){let e=[];for await(let r of t)e.push(r);return Buffer.concat(e).toString("utf8")}o(Fee,"getResponse");function f1(t,e){let r=p1(t),n=m1(this[rh],r);n.timesInvoked++,n.data.callback&&(n.data={...n.data,...n.data.callback(t)});let{data:{statusCode:s,data:i,headers:a,trailers:c,error:l},delay:A,persist:u}=n,{timesInvoked:d,times:m}=n;if(n.consumed=!u&&d>=m,n.pending=d<m,l!==null)return IQ(this[rh],r),e.onError(l),!0;typeof A=="number"&&A>0?setTimeout(()=>{p(this[rh])},A):p(this[rh]);function p(f,C=i){let y=Array.isArray(t.headers)?QQ(t.headers):t.headers,E=typeof C=="function"?C({...t,headers:y}):C;if(Mee(E)){E.then(k=>p(f,k));return}let I=d1(E),B=BQ(a),N=BQ(c);e.onConnect?.(k=>e.onError(k),null),e.onHeaders?.(s,B,h,h1(s)),e.onData?.(Buffer.from(I)),e.onComplete?.(N),IQ(f,r)}o(p,"handleReply");function h(){}return o(h,"resume"),!0}o(f1,"mockDispatch");function Uee(){let t=this[Ree],e=this[Pee],r=this[vee];return o(function(s,i){if(t.isMockActive)try{f1.call(this,s,i)}catch(a){if(a instanceof ra){let c=t[Dee]();if(c===!1)throw new ra(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(g1(c,e))r.call(this,s,i);else throw new ra(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect is not enabled for this origin)`)}else throw a}else r.call(this,s,i)},"dispatch")}o(Uee,"buildMockDispatch");function g1(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>gi(n,r.host)))}o(g1,"checkNetConnect");function Oee(t){if(t){let{agent:e,...r}=t;return r}}o(Oee,"buildMockOptions");y1.exports={getResponseData:d1,getMockDispatch:m1,addMockDispatch:_ee,deleteMockDispatch:IQ,buildKey:p1,generateKeyValues:BQ,matchValue:gi,getResponse:Fee,getStatusText:h1,mockDispatch:f1,buildMockDispatch:Uee,checkNetConnect:g1,buildMockOptions:Oee,getHeaderByName:A1,buildHeadersFromArray:QQ}});var vQ=g((lRe,RQ)=>{"use strict";var{getResponseData:qee,buildKey:Hee,addMockDispatch:xQ}=mu(),{kDispatches:nh,kDispatchKey:sh,kDefaultHeaders:bQ,kDefaultTrailers:wQ,kContentLength:NQ,kMockDispatch:ih}=Yc(),{InvalidArgumentError:ps}=Ee(),{buildURL:zee}=ce(),Vc=class{static{o(this,"MockScope")}constructor(e){this[ih]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new ps("waitInMs must be a valid integer > 0");return this[ih].delay=e,this}persist(){return this[ih].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new ps("repeatTimes must be a valid integer > 0");return this[ih].times=e,this}},SQ=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new ps("opts must be an object");if(typeof e.path>"u")throw new ps("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=zee(e.path,e.query);else{let n=new URL(e.path,"data://");e.path=n.pathname+n.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[sh]=Hee(e),this[nh]=r,this[bQ]={},this[wQ]={},this[NQ]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let s=qee(r),i=this[NQ]?{"content-length":s.length}:{},a={...this[bQ],...i,...n.headers},c={...this[wQ],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new ps("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new ps("responseOptions must be an object")}reply(e){if(typeof e=="function"){let i=o(c=>{let l=e(c);if(typeof l!="object"||l===null)throw new ps("reply options callback must return an object");let A={data:"",responseOptions:{},...l};return this.validateReplyParameters(A),{...this.createMockScopeDispatchData(A)}},"wrappedDefaultsCallback"),a=xQ(this[nh],this[sh],i);return new Vc(a)}let r={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(r);let n=this.createMockScopeDispatchData(r),s=xQ(this[nh],this[sh],n);return new Vc(s)}replyWithError(e){if(typeof e>"u")throw new ps("error must be defined");let r=xQ(this[nh],this[sh],{error:e});return new Vc(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new ps("headers must be defined");return this[bQ]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new ps("trailers must be defined");return this[wQ]=e,this}replyContentLength(){return this[NQ]=!0,this}};RQ.exports.MockInterceptor=SQ;RQ.exports.MockScope=Vc});var TQ=g((uRe,b1)=>{"use strict";var{promisify:Gee}=require("node:util"),Yee=kc(),{buildMockDispatch:Vee}=mu(),{kDispatches:E1,kMockAgent:C1,kClose:I1,kOriginalClose:B1,kOrigin:Q1,kOriginalDispatch:Jee,kConnected:PQ}=Yc(),{MockInterceptor:$ee}=vQ(),x1=Oe(),{InvalidArgumentError:Wee}=Ee(),DQ=class extends Yee{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Wee("Argument opts.agent must implement Agent");this[C1]=r.agent,this[Q1]=e,this[E1]=[],this[PQ]=1,this[Jee]=this.dispatch,this[B1]=this.close.bind(this),this.dispatch=Vee.call(this),this.close=this[I1]}get[x1.kConnected](){return this[PQ]}intercept(e){return new $ee(e,this[E1])}async[I1](){await Gee(this[B1])(),this[PQ]=0,this[C1][x1.kClients].delete(this[Q1])}};b1.exports=DQ});var LQ=g((mRe,D1)=>{"use strict";var{promisify:jee}=require("node:util"),Kee=Mc(),{buildMockDispatch:Xee}=mu(),{kDispatches:w1,kMockAgent:N1,kClose:S1,kOriginalClose:R1,kOrigin:v1,kOriginalDispatch:Zee,kConnected:kQ}=Yc(),{MockInterceptor:ete}=vQ(),P1=Oe(),{InvalidArgumentError:tte}=Ee(),MQ=class extends Kee{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new tte("Argument opts.agent must implement Agent");this[N1]=r.agent,this[v1]=e,this[w1]=[],this[kQ]=1,this[Zee]=this.dispatch,this[R1]=this.close.bind(this),this.dispatch=Xee.call(this),this.close=this[S1]}get[P1.kConnected](){return this[kQ]}intercept(e){return new ete(e,this[w1])}async[S1](){await jee(this[R1])(),this[kQ]=0,this[N1][P1.kClients].delete(this[v1])}};D1.exports=MQ});var k1=g((fRe,T1)=>{"use strict";var rte={pronoun:"it",is:"is",was:"was",this:"this"},nte={pronoun:"they",is:"are",was:"were",this:"these"};T1.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?rte:nte,s=r?this.singular:this.plural;return{...n,count:e,noun:s}}}});var L1=g((ERe,M1)=>{"use strict";var{Transform:ste}=require("node:stream"),{Console:ite}=require("node:console"),ote=process.versions.icu?"\u2705":"Y ",ate=process.versions.icu?"\u274C":"N ";M1.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new ste({transform(r,n,s){s(null,r)}}),this.logger=new ite({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:n,path:s,data:{statusCode:i},persist:a,times:c,timesInvoked:l,origin:A})=>({Method:n,Origin:A,Path:s,"Status code":i,Persistent:a?ote:ate,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var O1=g((IRe,U1)=>{"use strict";var{kClients:na}=Oe(),cte=Lc(),{kAgent:_Q,kMockAgentSet:oh,kMockAgentGet:_1,kDispatches:FQ,kIsMockActive:ah,kNetConnect:sa,kGetNetConnect:lte,kOptions:ch,kFactory:lh}=Yc(),Ate=TQ(),ute=LQ(),{matchValue:dte,buildMockOptions:mte}=mu(),{InvalidArgumentError:F1,UndiciError:pte}=Ee(),hte=_A(),fte=k1(),gte=L1(),UQ=class extends hte{static{o(this,"MockAgent")}constructor(e){if(super(e),this[sa]=!0,this[ah]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new F1("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new cte(e);this[_Q]=r,this[na]=r[na],this[ch]=mte(e)}get(e){let r=this[_1](e);return r||(r=this[lh](e),this[oh](e,r)),r}dispatch(e,r){return this.get(e.origin),this[_Q].dispatch(e,r)}async close(){await this[_Q].close(),this[na].clear()}deactivate(){this[ah]=!1}activate(){this[ah]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[sa])?this[sa].push(e):this[sa]=[e];else if(typeof e>"u")this[sa]=!0;else throw new F1("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[sa]=!1}get isMockActive(){return this[ah]}[oh](e,r){this[na].set(e,r)}[lh](e){let r=Object.assign({agent:this},this[ch]);return this[ch]&&this[ch].connections===1?new Ate(e,r):new ute(e,r)}[_1](e){let r=this[na].get(e);if(r)return r;if(typeof e!="string"){let n=this[lh]("http://localhost:9999");return this[oh](e,n),n}for(let[n,s]of Array.from(this[na]))if(s&&typeof n!="string"&&dte(n,e)){let i=this[lh](e);return this[oh](e,i),i[FQ]=s[FQ],i}}[lte](){return this[sa]}pendingInterceptors(){let e=this[na];return Array.from(e.entries()).flatMap(([r,n])=>n[FQ].map(s=>({...s,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new gte}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new fte("interceptor","interceptors").pluralize(r.length);throw new pte(`
${n.count} ${n.noun} ${n.is} pending:
${e.format(r)}
`.trim())}};U1.exports=UQ});var Ah=g((QRe,G1)=>{"use strict";var q1=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:yte}=Ee(),Ete=Lc();z1()===void 0&&H1(new Ete);function H1(t){if(!t||typeof t.dispatch!="function")throw new yte("Argument agent must implement Agent");Object.defineProperty(globalThis,q1,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(H1,"setGlobalDispatcher");function z1(){return globalThis[q1]}o(z1,"getGlobalDispatcher");G1.exports={setGlobalDispatcher:H1,getGlobalDispatcher:z1}});var uh=g((wRe,Y1)=>{"use strict";Y1.exports=class{static{o(this,"DecoratorHandler")}#e;constructor(e){if(typeof e!="object"||e===null)throw new TypeError("handler must be an object");this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}});var J1=g((SRe,V1)=>{"use strict";var Cte=zp();V1.exports=t=>{let e=t?.maxRedirections;return r=>o(function(s,i){let{maxRedirections:a=e,...c}=s;if(!a)return r(s,i);let l=new Cte(r,a,s,i);return r(c,l)},"redirectInterceptor")}});var W1=g((vRe,$1)=>{"use strict";var Ite=eh();$1.exports=t=>e=>o(function(n,s){return e(n,new Ite({...n,retryOptions:{...t,...n.retryOptions}},{handler:s,dispatch:e}))},"retryInterceptor")});var K1=g((DRe,j1)=>{"use strict";var Bte=ce(),{InvalidArgumentError:Qte,RequestAbortedError:xte}=Ee(),bte=uh(),OQ=class extends bte{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#r=!1;#i=!1;#s=0;#n=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new Qte("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.#n=e}onHeaders(e,r,n,s){let a=Bte.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new xte(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#i?!0:this.#o.onHeaders(e,r,n,s)}onError(e){this.#r||(e=this.#n??e,this.#o.onError(e))}onData(e){return this.#s=this.#s+e.length,this.#s>=this.#e&&(this.#r=!0,this.#i?this.#o.onError(this.#n):this.#o.onComplete([])),!0}onComplete(e){if(!this.#r){if(this.#i){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function wte({maxSize:t}={maxSize:1024*1024}){return e=>o(function(n,s){let{dumpMaxSize:i=t}=n,a=new OQ({maxSize:i},s);return e(n,a)},"Intercept")}o(wte,"createDumpInterceptor");j1.exports=wte});var e2=g((kRe,Z1)=>{"use strict";var{isIP:Nte}=require("node:net"),{lookup:Ste}=require("node:dns"),Rte=uh(),{InvalidArgumentError:Jc,InformationalError:vte}=Ee(),X1=Math.pow(2,31)-1,qQ=class{static{o(this,"DNSInstance")}#e=0;#t=0;#r=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#i,this.pick=e.pick??this.#s}get full(){return this.#r.size===this.#t}runLookup(e,r,n){let s=this.#r.get(e.hostname);if(s==null&&this.full){n(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(s==null)this.lookup(e,i,(a,c)=>{if(a||c==null||c.length===0){n(a??new vte("No DNS entries found"));return}this.setRecords(e,c);let l=this.#r.get(e.hostname),A=this.pick(e,l,i.affinity),u;typeof A.port=="number"?u=`:${A.port}`:e.port!==""?u=`:${e.port}`:u="",n(null,`${e.protocol}//${A.family===6?`[${A.address}]`:A.address}${u}`)});else{let a=this.pick(e,s,i.affinity);if(a==null){this.#r.delete(e.hostname),this.runLookup(e,r,n);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",n(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#i(e,r,n){Ste(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(s,i)=>{if(s)return n(s);let a=new Map;for(let c of i)a.set(`${c.address}:${c.family}`,c);n(null,a.values())})}#s(e,r,n){let s=null,{records:i,offset:a}=r,c;if(this.dualStack?(n==null&&(a==null||a===X1?(r.offset=0,n=4):(r.offset++,n=(r.offset&1)===1?6:4)),i[n]!=null&&i[n].ips.length>0?c=i[n]:c=i[n===4?6:4]):c=i[n],c==null||c.ips.length===0)return s;c.offset==null||c.offset===X1?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return s=c.ips[l]??null,s==null?s:Date.now()-s.timestamp>s.ttl?(c.ips.splice(l,1),this.pick(e,r,n)):s}setRecords(e,r){let n=Date.now(),s={records:{4:null,6:null}};for(let i of r){i.timestamp=n,typeof i.ttl=="number"?i.ttl=Math.min(i.ttl,this.#e):i.ttl=this.#e;let a=s.records[i.family]??{ips:[]};a.ips.push(i),s.records[i.family]=a}this.#r.set(e.hostname,s)}getHandler(e,r){return new HQ(this,e,r)}},HQ=class extends Rte{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#r=null;#i=null;#s=null;constructor(e,{origin:r,handler:n,dispatch:s},i){super(n),this.#s=r,this.#i=n,this.#t={...i},this.#e=e,this.#r=s}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#s,this.#t,(r,n)=>{if(r)return this.#i.onError(r);let s={...this.#t,origin:n};this.#r(s,this)});return}this.#i.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#s);default:this.#i.onError(e);break}}};Z1.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Jc("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Jc("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Jc("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Jc("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Jc("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Jc("Invalid pick. Must be a function");let e=t?.dualStack??!0,r;e?r=t?.affinity??null:r=t?.affinity??4;let n={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:r,maxItems:t?.maxItems??1/0},s=new qQ(n);return i=>o(function(c,l){let A=c.origin.constructor===URL?c.origin:new URL(c.origin);return Nte(A.hostname)!==0?i(c,l):(s.runLookup(A,c,(u,d)=>{if(u)return l.onError(u);let m=null;m={...c,servername:A.hostname,origin:d,headers:{host:A.hostname,...c.headers}},i(m,s.getHandler({origin:A,dispatch:i,handler:l},c))}),!0)},"dnsInterceptor")}});var ia=g((LRe,a2)=>{"use strict";var{kConstruct:Pte}=Oe(),{kEnumerableProperty:$c}=ce(),{iteratorMixin:Dte,isValidHeaderName:pu,isValidHeaderValue:r2}=Pr(),{webidl:he}=Tt(),zQ=require("node:assert"),dh=require("node:util"),mt=Symbol("headers map"),Mr=Symbol("headers map sorted");function t2(t){return t===10||t===13||t===9||t===32}o(t2,"isHTTPWhiteSpaceCharCode");function n2(t){let e=0,r=t.length;for(;r>e&&t2(t.charCodeAt(r-1));)--r;for(;r>e&&t2(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(n2,"headerValueNormalize");function s2(t,e){if(Array.isArray(e))for(let r=0;r<e.length;++r){let n=e[r];if(n.length!==2)throw he.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${n.length}.`});GQ(t,n[0],n[1])}else if(typeof e=="object"&&e!==null){let r=Object.keys(e);for(let n=0;n<r.length;++n)GQ(t,r[n],e[r[n]])}else throw he.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}o(s2,"fill");function GQ(t,e,r){if(r=n2(r),pu(e)){if(!r2(r))throw he.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw he.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(o2(t)==="immutable")throw new TypeError("immutable");return YQ(t).append(e,r,!1)}o(GQ,"appendHeader");function i2(t,e){return t[0]<e[0]?-1:1}o(i2,"compareHeaderName");var mh=class t{static{o(this,"HeadersList")}cookies=null;constructor(e){e instanceof t?(this[mt]=new Map(e[mt]),this[Mr]=e[Mr],this.cookies=e.cookies===null?null:[...e.cookies]):(this[mt]=new Map(e),this[Mr]=null)}contains(e,r){return this[mt].has(r?e:e.toLowerCase())}clear(){this[mt].clear(),this[Mr]=null,this.cookies=null}append(e,r,n){this[Mr]=null;let s=n?e:e.toLowerCase(),i=this[mt].get(s);if(i){let a=s==="cookie"?"; ":", ";this[mt].set(s,{name:i.name,value:`${i.value}${a}${r}`})}else this[mt].set(s,{name:e,value:r});s==="set-cookie"&&(this.cookies??=[]).push(r)}set(e,r,n){this[Mr]=null;let s=n?e:e.toLowerCase();s==="set-cookie"&&(this.cookies=[r]),this[mt].set(s,{name:e,value:r})}delete(e,r){this[Mr]=null,r||(e=e.toLowerCase()),e==="set-cookie"&&(this.cookies=null),this[mt].delete(e)}get(e,r){return this[mt].get(r?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:r}}of this[mt])yield[e,r]}get entries(){let e={};if(this[mt].size!==0)for(let{name:r,value:n}of this[mt].values())e[r]=n;return e}rawValues(){return this[mt].values()}get entriesList(){let e=[];if(this[mt].size!==0)for(let{0:r,1:{name:n,value:s}}of this[mt])if(r==="set-cookie")for(let i of this.cookies)e.push([n,i]);else e.push([n,s]);return e}toSortedArray(){let e=this[mt].size,r=new Array(e);if(e<=32){if(e===0)return r;let n=this[mt][Symbol.iterator](),s=n.next().value;r[0]=[s[0],s[1].value],zQ(s[1].value!==null);for(let i=1,a=0,c=0,l=0,A=0,u,d;i<e;++i){for(d=n.next().value,u=r[i]=[d[0],d[1].value],zQ(u[1]!==null),l=0,c=i;l<c;)A=l+(c-l>>1),r[A][0]<=u[0]?l=A+1:c=A;if(i!==A){for(a=i;a>l;)r[a]=r[--a];r[l]=u}}if(!n.next().done)throw new TypeError("Unreachable");return r}else{let n=0;for(let{0:s,1:{value:i}}of this[mt])r[n++]=[s,i],zQ(i!==null);return r.sort(i2)}}},Hn=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){he.util.markAsUncloneable(this),e!==Pte&&(this.#t=new mh,this.#e="none",e!==void 0&&(e=he.converters.HeadersInit(e,"Headers contructor","init"),s2(this,e)))}append(e,r){he.brandCheck(this,t),he.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return e=he.converters.ByteString(e,n,"name"),r=he.converters.ByteString(r,n,"value"),GQ(this,e,r)}delete(e){if(he.brandCheck(this,t),he.argumentLengthCheck(arguments,1,"Headers.delete"),e=he.converters.ByteString(e,"Headers.delete","name"),!pu(e))throw he.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){he.brandCheck(this,t),he.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=he.converters.ByteString(e,r,"name"),!pu(e))throw he.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){he.brandCheck(this,t),he.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=he.converters.ByteString(e,r,"name"),!pu(e))throw he.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){he.brandCheck(this,t),he.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(e=he.converters.ByteString(e,n,"name"),r=he.converters.ByteString(r,n,"value"),r=n2(r),pu(e)){if(!r2(r))throw he.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw he.errors.invalidArgument({prefix:n,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){he.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[Mr](){if(this.#t[Mr])return this.#t[Mr];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[Mr]=r;for(let s=0;s<r.length;++s){let{0:i,1:a}=r[s];if(i==="set-cookie")for(let c=0;c<n.length;++c)e.push([i,n[c]]);else e.push([i,a])}return this.#t[Mr]=e}[dh.inspect.custom](e,r){return r.depth??=e,`Headers ${dh.formatWithOptions(r,this.#t.entries)}`}static getHeadersGuard(e){return e.#e}static setHeadersGuard(e,r){e.#e=r}static getHeadersList(e){return e.#t}static setHeadersList(e,r){e.#t=r}},{getHeadersGuard:o2,setHeadersGuard:Tte,getHeadersList:YQ,setHeadersList:kte}=Hn;Reflect.deleteProperty(Hn,"getHeadersGuard");Reflect.deleteProperty(Hn,"setHeadersGuard");Reflect.deleteProperty(Hn,"getHeadersList");Reflect.deleteProperty(Hn,"setHeadersList");Dte("Headers",Hn,Mr,0,1);Object.defineProperties(Hn.prototype,{append:$c,delete:$c,get:$c,has:$c,set:$c,getSetCookie:$c,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[dh.inspect.custom]:{enumerable:!1}});he.converters.HeadersInit=function(t,e,r){if(he.util.Type(t)==="Object"){let n=Reflect.get(t,Symbol.iterator);if(!dh.types.isProxy(t)&&n===Hn.prototype.entries)try{return YQ(t).entriesList}catch{}return typeof n=="function"?he.converters["sequence<sequence<ByteString>>"](t,e,r,n.bind(t)):he.converters["record<ByteString, ByteString>"](t,e,r)}throw he.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};a2.exports={fill:s2,compareHeaderName:i2,Headers:Hn,HeadersList:mh,getHeadersGuard:o2,setHeadersGuard:Tte,setHeadersList:kte,getHeadersList:YQ}});var fu=g((FRe,E2)=>{"use strict";var{Headers:m2,HeadersList:c2,fill:Mte,getHeadersGuard:Lte,setHeadersGuard:p2,setHeadersList:h2}=ia(),{extractBody:l2,cloneBody:_te,mixinBody:Fte,hasFinalizationRegistry:f2,streamRegistry:g2,bodyUnusable:Ute}=Nc(),VQ=ce(),A2=require("node:util"),{kEnumerableProperty:Lr}=VQ,{isValidReasonPhrase:Ote,isCancelled:qte,isAborted:Hte,isBlobLike:zte,serializeJavascriptValueToJSONString:Gte,isErrorLike:Yte,isomorphicEncode:Vte,environmentSettingsObject:Jte}=Pr(),{redirectStatusSet:$te,nullBodyStatus:Wte}=OA(),{kState:He,kHeaders:yi}=Wi(),{webidl:ie}=Tt(),{FormData:jte}=VA(),{URLSerializer:u2}=lr(),{kConstruct:hh}=Oe(),JQ=require("node:assert"),{types:Kte}=require("node:util"),Xte=new TextEncoder("utf-8"),oa=class t{static{o(this,"Response")}static error(){return hu(fh(),"immutable")}static json(e,r={}){ie.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=ie.converters.ResponseInit(r));let n=Xte.encode(Gte(e)),s=l2(n),i=hu(Wc({}),"response");return d2(i,r,{body:s[0],type:"application/json"}),i}static redirect(e,r=302){ie.argumentLengthCheck(arguments,1,"Response.redirect"),e=ie.converters.USVString(e),r=ie.converters["unsigned short"](r);let n;try{n=new URL(e,Jte.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!$te.has(r))throw new RangeError(`Invalid status code ${r}`);let s=hu(Wc({}),"immutable");s[He].status=r;let i=Vte(u2(n));return s[He].headersList.append("location",i,!0),s}constructor(e=null,r={}){if(ie.util.markAsUncloneable(this),e===hh)return;e!==null&&(e=ie.converters.BodyInit(e)),r=ie.converters.ResponseInit(r),this[He]=Wc({}),this[yi]=new m2(hh),p2(this[yi],"response"),h2(this[yi],this[He].headersList);let n=null;if(e!=null){let[s,i]=l2(e);n={body:s,type:i}}d2(this,r,n)}get type(){return ie.brandCheck(this,t),this[He].type}get url(){ie.brandCheck(this,t);let e=this[He].urlList,r=e[e.length-1]??null;return r===null?"":u2(r,!0)}get redirected(){return ie.brandCheck(this,t),this[He].urlList.length>1}get status(){return ie.brandCheck(this,t),this[He].status}get ok(){return ie.brandCheck(this,t),this[He].status>=200&&this[He].status<=299}get statusText(){return ie.brandCheck(this,t),this[He].statusText}get headers(){return ie.brandCheck(this,t),this[yi]}get body(){return ie.brandCheck(this,t),this[He].body?this[He].body.stream:null}get bodyUsed(){return ie.brandCheck(this,t),!!this[He].body&&VQ.isDisturbed(this[He].body.stream)}clone(){if(ie.brandCheck(this,t),Ute(this))throw ie.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=$Q(this[He]);return f2&&this[He].body?.stream&&g2.register(this,new WeakRef(this[He].body.stream)),hu(e,Lte(this[yi]))}[A2.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${A2.formatWithOptions(r,n)}`}};Fte(oa);Object.defineProperties(oa.prototype,{type:Lr,url:Lr,status:Lr,ok:Lr,redirected:Lr,statusText:Lr,headers:Lr,clone:Lr,body:Lr,bodyUsed:Lr,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(oa,{json:Lr,redirect:Lr,error:Lr});function $Q(t){if(t.internalResponse)return y2($Q(t.internalResponse),t.type);let e=Wc({...t,body:null});return t.body!=null&&(e.body=_te(e,t.body)),e}o($Q,"cloneResponse");function Wc(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new c2(t?.headersList):new c2,urlList:t?.urlList?[...t.urlList]:[]}}o(Wc,"makeResponse");function fh(t){let e=Yte(t);return Wc({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(fh,"makeNetworkError");function Zte(t){return t.type==="error"&&t.status===0}o(Zte,"isNetworkError");function ph(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,n){return n in e?e[n]:r[n]},set(r,n,s){return JQ(!(n in e)),r[n]=s,!0}})}o(ph,"makeFilteredResponse");function y2(t,e){if(e==="basic")return ph(t,{type:"basic",headersList:t.headersList});if(e==="cors")return ph(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return ph(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return ph(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});JQ(!1)}o(y2,"filterResponse");function ere(t,e=null){return JQ(qte(t)),Hte(t)?fh(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):fh(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(ere,"makeAppropriateNetworkError");function d2(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&&!Ote(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[He].status=e.status),"statusText"in e&&e.statusText!=null&&(t[He].statusText=e.statusText),"headers"in e&&e.headers!=null&&Mte(t[yi],e.headers),r){if(Wte.includes(t.status))throw ie.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[He].body=r.body,r.type!=null&&!t[He].headersList.contains("content-type",!0)&&t[He].headersList.append("content-type",r.type,!0)}}o(d2,"initializeResponse");function hu(t,e){let r=new oa(hh);return r[He]=t,r[yi]=new m2(hh),h2(r[yi],t.headersList),p2(r[yi],e),f2&&t.body?.stream&&g2.register(r,new WeakRef(t.body.stream)),r}o(hu,"fromInnerResponse");ie.converters.ReadableStream=ie.interfaceConverter(ReadableStream);ie.converters.FormData=ie.interfaceConverter(jte);ie.converters.URLSearchParams=ie.interfaceConverter(URLSearchParams);ie.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?ie.converters.USVString(t,e,r):zte(t)?ie.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||Kte.isArrayBuffer(t)?ie.converters.BufferSource(t,e,r):VQ.isFormDataLike(t)?ie.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?ie.converters.URLSearchParams(t,e,r):ie.converters.DOMString(t,e,r)};ie.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?ie.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:ie.converters.XMLHttpRequestBodyInit(t,e,r)};ie.converters.ResponseInit=ie.dictionaryConverter([{key:"status",converter:ie.converters["unsigned short"],defaultValue:o(()=>200,"defaultValue")},{key:"statusText",converter:ie.converters.ByteString,defaultValue:o(()=>"","defaultValue")},{key:"headers",converter:ie.converters.HeadersInit}]);E2.exports={isNetworkError:Zte,makeNetworkError:fh,makeResponse:Wc,makeAppropriateNetworkError:ere,filterResponse:y2,Response:oa,cloneResponse:$Q,fromInnerResponse:hu}});var Q2=g((ORe,B2)=>{"use strict";var{kConnected:C2,kSize:I2}=Oe(),WQ=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[C2]===0&&this.value[I2]===0?void 0:this.value}},jQ=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[C2]===0&&e[I2]===0&&this.finalizer(r)})}unregister(e){}};B2.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:WQ,FinalizationRegistry:jQ}):{WeakRef,FinalizationRegistry}}});var jc=g((HRe,F2)=>{"use strict";var{extractBody:tre,mixinBody:rre,cloneBody:nre,bodyUnusable:x2}=Nc(),{Headers:T2,fill:sre,HeadersList:Ch,setHeadersGuard:XQ,getHeadersGuard:ire,setHeadersList:k2,getHeadersList:b2}=ia(),{FinalizationRegistry:ore}=Q2()(),yh=ce(),w2=require("node:util"),{isValidHTTPToken:are,sameOrigin:N2,environmentSettingsObject:gh}=Pr(),{forbiddenMethodsSet:cre,corsSafeListedMethodsSet:lre,referrerPolicy:Are,requestRedirect:ure,requestMode:dre,requestCredentials:mre,requestCache:pre,requestDuplex:hre}=OA(),{kEnumerableProperty:pt,normalizedMethodRecordsBase:fre,normalizedMethodRecords:gre}=yh,{kHeaders:_r,kSignal:Eh,kState:Le,kDispatcher:KQ}=Wi(),{webidl:j}=Tt(),{URLSerializer:yre}=lr(),{kConstruct:Ih}=Oe(),Ere=require("node:assert"),{getMaxListeners:S2,setMaxListeners:R2,getEventListeners:Cre,defaultMaxListeners:v2}=require("node:events"),Ire=Symbol("abortController"),M2=new ore(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),Bh=new WeakMap;function P2(t){return e;function e(){let r=t.deref();if(r!==void 0){M2.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=Bh.get(r.signal);if(n!==void 0){if(n.size!==0){for(let s of n){let i=s.deref();i!==void 0&&i.abort(this.reason)}n.clear()}Bh.delete(r.signal)}}}}o(P2,"buildAbort");var D2=!1,oo=class t{static{o(this,"Request")}constructor(e,r={}){if(j.util.markAsUncloneable(this),e===Ih)return;let n="Request constructor";j.argumentLengthCheck(arguments,1,n),e=j.converters.RequestInfo(e,n,"input"),r=j.converters.RequestInit(r,n,"init");let s=null,i=null,a=gh.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[KQ]=r.dispatcher;let y;try{y=new URL(e,a)}catch(E){throw new TypeError("Failed to parse URL from "+e,{cause:E})}if(y.username||y.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);s=Qh({urlList:[y]}),i="cors"}else this[KQ]=r.dispatcher||e[KQ],Ere(e instanceof t),s=e[Le],c=e[Eh];let l=gh.settingsObject.origin,A="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&N2(s.window,l)&&(A=s.window),r.window!=null)throw new TypeError(`'window' option '${A}' must be null`);"window"in r&&(A="no-window"),s=Qh({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:gh.settingsObject,window:A,priority:s.priority,origin:s.origin,referrer:s.referrer,referrerPolicy:s.referrerPolicy,mode:s.mode,credentials:s.credentials,cache:s.cache,redirect:s.redirect,integrity:s.integrity,keepalive:s.keepalive,reloadNavigation:s.reloadNavigation,historyNavigation:s.historyNavigation,urlList:[...s.urlList]});let u=Object.keys(r).length!==0;if(u&&(s.mode==="navigate"&&(s.mode="same-origin"),s.reloadNavigation=!1,s.historyNavigation=!1,s.origin="client",s.referrer="client",s.referrerPolicy="",s.url=s.urlList[s.urlList.length-1],s.urlList=[s.url]),r.referrer!==void 0){let y=r.referrer;if(y==="")s.referrer="no-referrer";else{let E;try{E=new URL(y,a)}catch(I){throw new TypeError(`Referrer "${y}" is not a valid URL.`,{cause:I})}E.protocol==="about:"&&E.hostname==="client"||l&&!N2(E,gh.settingsObject.baseUrl)?s.referrer="client":s.referrer=E}}r.referrerPolicy!==void 0&&(s.referrerPolicy=r.referrerPolicy);let d;if(r.mode!==void 0?d=r.mode:d=i,d==="navigate")throw j.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(d!=null&&(s.mode=d),r.credentials!==void 0&&(s.credentials=r.credentials),r.cache!==void 0&&(s.cache=r.cache),s.cache==="only-if-cached"&&s.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(s.redirect=r.redirect),r.integrity!=null&&(s.integrity=String(r.integrity)),r.keepalive!==void 0&&(s.keepalive=!!r.keepalive),r.method!==void 0){let y=r.method,E=gre[y];if(E!==void 0)s.method=E;else{if(!are(y))throw new TypeError(`'${y}' is not a valid HTTP method.`);let I=y.toUpperCase();if(cre.has(I))throw new TypeError(`'${y}' HTTP method is unsupported.`);y=fre[I]??y,s.method=y}!D2&&s.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"}),D2=!0)}r.signal!==void 0&&(c=r.signal),this[Le]=s;let m=new AbortController;if(this[Eh]=m.signal,c!=null){if(!c||typeof c.aborted!="boolean"||typeof c.addEventListener!="function")throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(c.aborted)m.abort(c.reason);else{this[Ire]=m;let y=new WeakRef(m),E=P2(y);try{(typeof S2=="function"&&S2(c)===v2||Cre(c,"abort").length>=v2)&&R2(1500,c)}catch{}yh.addAbortListener(c,E),M2.register(m,{signal:c,abort:E},E)}}if(this[_r]=new T2(Ih),k2(this[_r],s.headersList),XQ(this[_r],"request"),d==="no-cors"){if(!lre.has(s.method))throw new TypeError(`'${s.method} is unsupported in no-cors mode.`);XQ(this[_r],"request-no-cors")}if(u){let y=b2(this[_r]),E=r.headers!==void 0?r.headers:new Ch(y);if(y.clear(),E instanceof Ch){for(let{name:I,value:B}of E.rawValues())y.append(I,B,!1);y.cookies=E.cookies}else sre(this[_r],E)}let p=e instanceof t?e[Le].body:null;if((r.body!=null||p!=null)&&(s.method==="GET"||s.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let h=null;if(r.body!=null){let[y,E]=tre(r.body,s.keepalive);h=y,E&&!b2(this[_r]).contains("content-type",!0)&&this[_r].append("content-type",E)}let f=h??p;if(f!=null&&f.source==null){if(h!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(s.mode!=="same-origin"&&s.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');s.useCORSPreflightFlag=!0}let C=f;if(h==null&&p!=null){if(x2(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let y=new TransformStream;p.stream.pipeThrough(y),C={source:p.source,length:p.length,stream:y.readable}}this[Le].body=C}get method(){return j.brandCheck(this,t),this[Le].method}get url(){return j.brandCheck(this,t),yre(this[Le].url)}get headers(){return j.brandCheck(this,t),this[_r]}get destination(){return j.brandCheck(this,t),this[Le].destination}get referrer(){return j.brandCheck(this,t),this[Le].referrer==="no-referrer"?"":this[Le].referrer==="client"?"about:client":this[Le].referrer.toString()}get referrerPolicy(){return j.brandCheck(this,t),this[Le].referrerPolicy}get mode(){return j.brandCheck(this,t),this[Le].mode}get credentials(){return this[Le].credentials}get cache(){return j.brandCheck(this,t),this[Le].cache}get redirect(){return j.brandCheck(this,t),this[Le].redirect}get integrity(){return j.brandCheck(this,t),this[Le].integrity}get keepalive(){return j.brandCheck(this,t),this[Le].keepalive}get isReloadNavigation(){return j.brandCheck(this,t),this[Le].reloadNavigation}get isHistoryNavigation(){return j.brandCheck(this,t),this[Le].historyNavigation}get signal(){return j.brandCheck(this,t),this[Eh]}get body(){return j.brandCheck(this,t),this[Le].body?this[Le].body.stream:null}get bodyUsed(){return j.brandCheck(this,t),!!this[Le].body&&yh.isDisturbed(this[Le].body.stream)}get duplex(){return j.brandCheck(this,t),"half"}clone(){if(j.brandCheck(this,t),x2(this))throw new TypeError("unusable");let e=L2(this[Le]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=Bh.get(this.signal);n===void 0&&(n=new Set,Bh.set(this.signal,n));let s=new WeakRef(r);n.add(s),yh.addAbortListener(r.signal,P2(s))}return _2(e,r.signal,ire(this[_r]))}[w2.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${w2.formatWithOptions(r,n)}`}};rre(oo);function Qh(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 Ch(t.headersList):new Ch}}o(Qh,"makeRequest");function L2(t){let e=Qh({...t,body:null});return t.body!=null&&(e.body=nre(e,t.body)),e}o(L2,"cloneRequest");function _2(t,e,r){let n=new oo(Ih);return n[Le]=t,n[Eh]=e,n[_r]=new T2(Ih),k2(n[_r],t.headersList),XQ(n[_r],r),n}o(_2,"fromInnerRequest");Object.defineProperties(oo.prototype,{method:pt,url:pt,headers:pt,redirect:pt,clone:pt,signal:pt,duplex:pt,destination:pt,body:pt,bodyUsed:pt,isHistoryNavigation:pt,isReloadNavigation:pt,keepalive:pt,integrity:pt,cache:pt,credentials:pt,attribute:pt,referrerPolicy:pt,referrer:pt,mode:pt,[Symbol.toStringTag]:{value:"Request",configurable:!0}});j.converters.Request=j.interfaceConverter(oo);j.converters.RequestInfo=function(t,e,r){return typeof t=="string"?j.converters.USVString(t,e,r):t instanceof oo?j.converters.Request(t,e,r):j.converters.USVString(t,e,r)};j.converters.AbortSignal=j.interfaceConverter(AbortSignal);j.converters.RequestInit=j.dictionaryConverter([{key:"method",converter:j.converters.ByteString},{key:"headers",converter:j.converters.HeadersInit},{key:"body",converter:j.nullableConverter(j.converters.BodyInit)},{key:"referrer",converter:j.converters.USVString},{key:"referrerPolicy",converter:j.converters.DOMString,allowedValues:Are},{key:"mode",converter:j.converters.DOMString,allowedValues:dre},{key:"credentials",converter:j.converters.DOMString,allowedValues:mre},{key:"cache",converter:j.converters.DOMString,allowedValues:pre},{key:"redirect",converter:j.converters.DOMString,allowedValues:ure},{key:"integrity",converter:j.converters.DOMString},{key:"keepalive",converter:j.converters.boolean},{key:"signal",converter:j.nullableConverter(t=>j.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:j.converters.any},{key:"duplex",converter:j.converters.DOMString,allowedValues:hre},{key:"dispatcher",converter:j.converters.any}]);F2.exports={Request:oo,makeRequest:Qh,fromInnerRequest:_2,cloneRequest:L2}});var yu=g((GRe,Z2)=>{"use strict";var{makeNetworkError:we,makeAppropriateNetworkError:xh,filterResponse:ZQ,makeResponse:bh,fromInnerResponse:Bre}=fu(),{HeadersList:U2}=ia(),{Request:Qre,cloneRequest:xre}=jc(),ao=require("node:zlib"),{bytesMatch:bre,makePolicyContainer:wre,clonePolicyContainer:Nre,requestBadPort:Sre,TAOCheck:Rre,appendRequestOriginHeader:vre,responseLocationURL:Pre,requestCurrentURL:hs,setRequestReferrerPolicyOnRedirect:Dre,tryUpgradeRequestToAPotentiallyTrustworthyURL:Tre,createOpaqueTimingInfo:sx,appendFetchMetadata:kre,corsCheck:Mre,crossOriginResourcePolicyCheck:Lre,determineRequestsReferrer:_re,coarsenedSharedCurrentTime:gu,createDeferredPromise:Fre,isBlobLike:Ure,sameOrigin:nx,isCancelled:aa,isAborted:O2,isErrorLike:Ore,fullyReadBody:qre,readableStreamClose:Hre,isomorphicEncode:wh,urlIsLocal:zre,urlIsHttpHttpsScheme:ix,urlHasHttpsScheme:Gre,clampAndCoarsenConnectionTimingInfo:Yre,simpleRangeHeaderValue:Vre,buildContentRange:Jre,createInflate:$re,extractMimeType:Wre}=Pr(),{kState:G2,kDispatcher:jre}=Wi(),ca=require("node:assert"),{safelyExtractBody:ox,extractBody:q2}=Nc(),{redirectStatusSet:Y2,nullBodyStatus:V2,safeMethodsSet:Kre,requestBodyHeader:Xre,subresourceSet:Zre}=OA(),ene=require("node:events"),{Readable:tne,pipeline:rne,finished:nne}=require("node:stream"),{addAbortListener:sne,isErrored:ine,isReadable:Nh,bufferToLowerCasedHeaderName:H2}=ce(),{dataURLProcessor:one,serializeAMimeType:ane,minimizeSupportedMimeType:cne}=lr(),{getGlobalDispatcher:lne}=Ah(),{webidl:Ane}=Tt(),{STATUS_CODES:une}=require("node:http"),dne=["GET","HEAD"],mne=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",ex,Sh=class extends ene{static{o(this,"Fetch")}constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){this.state==="ongoing"&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){this.state==="ongoing"&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}};function pne(t){J2(t,"fetch")}o(pne,"handleFetchDone");function hne(t,e=void 0){Ane.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=Fre(),n;try{n=new Qre(t,e)}catch(u){return r.reject(u),r.promise}let s=n[G2];if(n.signal.aborted)return tx(r,s,null,n.signal.reason),r.promise;s.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(s.serviceWorkers="none");let a=null,c=!1,l=null;return sne(n.signal,()=>{c=!0,ca(l!=null),l.abort(n.signal.reason);let u=a?.deref();tx(r,s,u,n.signal.reason)}),l=W2({request:s,processResponseEndOfBody:pne,processResponse:o(u=>{if(!c){if(u.aborted){tx(r,s,a,l.serializedAbortReason);return}if(u.type==="error"){r.reject(new TypeError("fetch failed",{cause:u.error}));return}a=new WeakRef(Bre(u,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[jre]}),r.promise}o(hne,"fetch");function J2(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,s=t.cacheState;ix(r)&&n!==null&&(t.timingAllowPassed||(n=sx({startTime:n.startTime}),s=""),n.endTime=gu(),t.timingInfo=n,$2(n,r.href,e,globalThis,s))}o(J2,"finalizeAndReportTiming");var $2=performance.markResourceTiming;function tx(t,e,r,n){if(t&&t.reject(n),e.body!=null&&Nh(e.body?.stream)&&e.body.stream.cancel(n).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),r==null)return;let s=r[G2];s.body!=null&&Nh(s.body?.stream)&&s.body.stream.cancel(n).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}o(tx,"abortFetch");function W2({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:s,processResponseConsumeBody:i,useParallelQueue:a=!1,dispatcher:c=lne()}){ca(c);let l=null,A=!1;t.client!=null&&(l=t.client.globalObject,A=t.client.crossOriginIsolatedCapability);let u=gu(A),d=sx({startTime:u}),m={controller:new Sh(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:i,processResponseEndOfBody:s,taskDestination:l,crossOriginIsolatedCapability:A};return ca(!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=Nre(t.client.policyContainer):t.policyContainer=wre()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,Zre.has(t.destination),j2(m).catch(p=>{m.controller.terminate(p)}),m.controller}o(W2,"fetching");async function j2(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!zre(hs(r))&&(n=we("local URLs only")),Tre(r),Sre(r)==="blocked"&&(n=we("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=_re(r)),n===null&&(n=await(async()=>{let i=hs(r);return nx(i,r.url)&&r.responseTainting==="basic"||i.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await z2(t)):r.mode==="same-origin"?we('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?we('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await z2(t)):ix(hs(r))?(r.responseTainting="cors",await K2(t)):we("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=ZQ(n,"basic"):r.responseTainting==="cors"?n=ZQ(n,"cors"):r.responseTainting==="opaque"?n=ZQ(n,"opaque"):ca(!1));let s=n.status===0?n:n.internalResponse;if(s.urlList.length===0&&s.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),n.type==="opaque"&&s.status===206&&s.rangeRequested&&!r.headers.contains("range",!0)&&(n=s=we()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||V2.includes(s.status))&&(s.body=null,t.controller.dump=!0),r.integrity){let i=o(c=>rx(t,we(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){i(n.error);return}let a=o(c=>{if(!bre(c,r.integrity)){i("integrity mismatch");return}n.body=ox(c)[0],rx(t,n)},"processBody");await qre(n.body,a,i)}else rx(t,n)}o(j2,"mainFetch");function z2(t){if(aa(t)&&t.request.redirectCount===0)return Promise.resolve(xh(t));let{request:e}=t,{protocol:r}=hs(e);switch(r){case"about:":return Promise.resolve(we("about scheme is not supported"));case"blob:":{ex||(ex=require("node:buffer").resolveObjectURL);let n=hs(e);if(n.search.length!==0)return Promise.resolve(we("NetworkError when attempting to fetch resource."));let s=ex(n.toString());if(e.method!=="GET"||!Ure(s))return Promise.resolve(we("invalid method"));let i=bh(),a=s.size,c=wh(`${a}`),l=s.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let A=e.headersList.get("range",!0),u=Vre(A,!0);if(u==="failure")return Promise.resolve(we("failed to fetch the data URL"));let{rangeStartValue:d,rangeEndValue:m}=u;if(d===null)d=a-m,m=d+m-1;else{if(d>=a)return Promise.resolve(we("Range start is greater than the blob's size."));(m===null||m>=a)&&(m=a-1)}let p=s.slice(d,m,l),h=q2(p);i.body=h[0];let f=wh(`${p.size}`),C=Jre(d,m,a);i.status=206,i.statusText="Partial Content",i.headersList.set("content-length",f,!0),i.headersList.set("content-type",l,!0),i.headersList.set("content-range",C,!0)}else{let A=q2(s);i.statusText="OK",i.body=A[0],i.headersList.set("content-length",c,!0),i.headersList.set("content-type",l,!0)}return Promise.resolve(i)}case"data:":{let n=hs(e),s=one(n);if(s==="failure")return Promise.resolve(we("failed to fetch the data URL"));let i=ane(s.mimeType);return Promise.resolve(bh({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:ox(s.body)[0]}))}case"file:":return Promise.resolve(we("not implemented... yet..."));case"http:":case"https:":return K2(t).catch(n=>we(n));default:return Promise.resolve(we("unknown scheme"))}}o(z2,"schemeFetch");function fne(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(fne,"finalizeResponse");function rx(t,e){let r=t.timingInfo,n=o(()=>{let i=Date.now();t.request.destination==="document"&&(t.controller.fullTimingInfo=r),t.controller.reportTimingSteps=()=>{if(t.request.url.protocol!=="https:")return;r.endTime=i;let c=e.cacheState,l=e.bodyInfo;e.timingAllowPassed||(r=sx(r),c="");let A=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){A=e.status;let u=Wre(e.headersList);u!=="failure"&&(l.contentType=cne(u))}t.request.initiatorType!=null&&$2(r,t.request.url.href,t.request.initiatorType,globalThis,c,l,A)};let a=o(()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e)),t.request.initiatorType!=null&&t.controller.reportTimingSteps()},"processResponseEndOfBodyTask");queueMicrotask(()=>a())},"processResponseEndOfBody");t.processResponse!=null&&queueMicrotask(()=>{t.processResponse(e),t.processResponse=null});let s=e.type==="error"?e:e.internalResponse??e;s.body==null?n():nne(s.body.stream,()=>{n()})}o(rx,"fetchFinale");async function K2(t){let e=t.request,r=null,n=null,s=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),n=r=await X2(t),e.responseTainting==="cors"&&Mre(e,r)==="failure")return we("cors failure");Rre(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&Lre(e.origin,e.client,e.destination,n)==="blocked"?we("blocked"):(Y2.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=we("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await gne(t,r):ca(!1)),r.timingInfo=s,r)}o(K2,"httpFetch");function gne(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,s;try{if(s=Pre(n,hs(r).hash),s==null)return e}catch(a){return Promise.resolve(we(a))}if(!ix(s))return Promise.resolve(we("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(we("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(s.username||s.password)&&!nx(r,s))return Promise.resolve(we('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(s.username||s.password))return Promise.resolve(we('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(we());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!dne.includes(r.method)){r.method="GET",r.body=null;for(let a of Xre)r.headersList.delete(a)}nx(hs(r),s)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&(ca(r.body.source!=null),r.body=ox(r.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=gu(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),r.urlList.push(s),Dre(r,n),j2(t,!0)}o(gne,"httpRedirectFetch");async function X2(t,e=!1,r=!1){let n=t.request,s=null,i=null,a=null,c=null,l=!1;n.window==="no-window"&&n.redirect==="error"?(s=t,i=n):(i=xre(n),s={...t},s.request=i);let A=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",u=i.body?i.body.length:null,d=null;if(i.body==null&&["POST","PUT"].includes(i.method)&&(d="0"),u!=null&&(d=wh(`${u}`)),d!=null&&i.headersList.append("content-length",d,!0),u!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",wh(i.referrer.href),!0),vre(i),kre(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",mne),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)||(Gre(hs(i))?i.headersList.append("accept-encoding","br, gzip, deflate",!0):i.headersList.append("accept-encoding","gzip, deflate",!0)),i.headersList.delete("host",!0),c==null&&(i.cache="no-store"),i.cache!=="no-store"&&i.cache,a==null){if(i.cache==="only-if-cached")return we("only if cached");let m=await yne(s,A,r);!Kre.has(i.method)&&m.status>=200&&m.status<=399,l&&m.status,a==null&&(a=m)}if(a.urlList=[...i.urlList],i.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=A,a.status===407)return n.window==="no-window"?we():aa(t)?xh(t):we("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(aa(t))return xh(t);t.controller.connection.destroy(),a=await X2(t,e,!0)}return a}o(X2,"httpNetworkOrCacheFetch");async function yne(t,e=!1,r=!1){ca(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(h,f=!0){this.destroyed||(this.destroyed=!0,f&&this.abort?.(h??new DOMException("The operation was aborted.","AbortError")))}};let n=t.request,s=null,i=t.timingInfo;null==null&&(n.cache="no-store");let c=r?"yes":"no";n.mode;let l=null;if(n.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(n.body!=null){let h=o(async function*(y){aa(t)||(yield y,t.processRequestBodyChunkLength?.(y.byteLength))},"processBodyChunk"),f=o(()=>{aa(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),C=o(y=>{aa(t)||(y.name==="AbortError"?t.controller.abort():t.controller.terminate(y))},"processBodyError");l=(async function*(){try{for await(let y of n.body.stream)yield*h(y);f()}catch(y){C(y)}})()}try{let{body:h,status:f,statusText:C,headersList:y,socket:E}=await p({body:l});if(E)s=bh({status:f,statusText:C,headersList:y,socket:E});else{let I=h[Symbol.asyncIterator]();t.controller.next=()=>I.next(),s=bh({status:f,statusText:C,headersList:y})}}catch(h){return h.name==="AbortError"?(t.controller.connection.destroy(),xh(t,h)):we(h)}let A=o(async()=>{await t.controller.resume()},"pullAlgorithm"),u=o(h=>{aa(t)||t.controller.abort(h)},"cancelAlgorithm"),d=new ReadableStream({async start(h){t.controller.controller=h},async pull(h){await A(h)},async cancel(h){await u(h)},type:"bytes"});s.body={stream:d,source:null,length:null},t.controller.onAborted=m,t.controller.on("terminated",m),t.controller.resume=async()=>{for(;;){let h,f;try{let{done:y,value:E}=await t.controller.next();if(O2(t))break;h=y?void 0:E}catch(y){t.controller.ended&&!i.encodedBodySize?h=void 0:(h=y,f=!0)}if(h===void 0){Hre(t.controller.controller),fne(t,s);return}if(i.decodedBodySize+=h?.byteLength??0,f){t.controller.terminate(h);return}let C=new Uint8Array(h);if(C.byteLength&&t.controller.controller.enqueue(C),ine(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function m(h){O2(t)?(s.aborted=!0,Nh(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):Nh(d)&&t.controller.controller.error(new TypeError("terminated",{cause:Ore(h)?h:void 0})),t.controller.connection.destroy()}return o(m,"onAborted"),s;function p({body:h}){let f=hs(n),C=t.controller.dispatcher;return new Promise((y,E)=>C.dispatch({path:f.pathname+f.search,origin:f.origin,method:n.method,body:C.isMockActive?n.body&&(n.body.source||n.body.stream):h,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(I){let{connection:B}=t.controller;i.finalConnectionTimingInfo=Yre(void 0,i.postRedirectStartTime,t.crossOriginIsolatedCapability),B.destroyed?I(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",I),this.abort=B.abort=I),i.finalNetworkRequestStartTime=gu(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=gu(t.crossOriginIsolatedCapability)},onHeaders(I,B,N,k){if(I<200)return;let S="",de=new U2;for(let ae=0;ae<B.length;ae+=2)de.append(H2(B[ae]),B[ae+1].toString("latin1"),!0);S=de.get("location",!0),this.body=new tne({read:N});let ye=[],Qe=S&&n.redirect==="follow"&&Y2.has(I);if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!V2.includes(I)&&!Qe){let ae=de.get("content-encoding",!0),De=ae?ae.toLowerCase().split(","):[],ee=5;if(De.length>ee)return E(new Error(`too many content-encodings in response: ${De.length}, maximum allowed is ${ee}`)),!0;for(let Jt=De.length-1;Jt>=0;--Jt){let H=De[Jt].trim();if(H==="x-gzip"||H==="gzip")ye.push(ao.createGunzip({flush:ao.constants.Z_SYNC_FLUSH,finishFlush:ao.constants.Z_SYNC_FLUSH}));else if(H==="deflate")ye.push($re({flush:ao.constants.Z_SYNC_FLUSH,finishFlush:ao.constants.Z_SYNC_FLUSH}));else if(H==="br")ye.push(ao.createBrotliDecompress({flush:ao.constants.BROTLI_OPERATION_FLUSH,finishFlush:ao.constants.BROTLI_OPERATION_FLUSH}));else{ye.length=0;break}}}let Ne=this.onError.bind(this);return y({status:I,statusText:k,headersList:de,body:ye.length?rne(this.body,...ye,ae=>{ae&&this.onError(ae)}).on("error",Ne):this.body.on("error",Ne)}),!0},onData(I){if(t.controller.dump)return;let B=I;return i.encodedBodySize+=B.byteLength,this.body.push(B)},onComplete(){this.abort&&t.controller.off("terminated",this.abort),t.controller.onAborted&&t.controller.off("terminated",t.controller.onAborted),t.controller.ended=!0,this.body.push(null)},onError(I){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(I),t.controller.terminate(I),E(I)},onUpgrade(I,B,N){if(I!==101)return;let k=new U2;for(let S=0;S<B.length;S+=2)k.append(H2(B[S]),B[S+1].toString("latin1"),!0);return y({status:I,statusText:une[I],headersList:k,socket:N}),!0}}))}o(p,"dispatch")}o(yne,"httpNetworkFetch");Z2.exports={fetch:hne,Fetch:Sh,fetching:W2,finalizeAndReportTiming:J2}});var ax=g((VRe,eF)=>{"use strict";eF.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 rF=g((JRe,tF)=>{"use strict";var{webidl:Fr}=Tt(),Rh=Symbol("ProgressEvent state"),cx=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=Fr.converters.DOMString(e,"ProgressEvent constructor","type"),r=Fr.converters.ProgressEventInit(r??{}),super(e,r),this[Rh]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return Fr.brandCheck(this,t),this[Rh].lengthComputable}get loaded(){return Fr.brandCheck(this,t),this[Rh].loaded}get total(){return Fr.brandCheck(this,t),this[Rh].total}};Fr.converters.ProgressEventInit=Fr.dictionaryConverter([{key:"lengthComputable",converter:Fr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:Fr.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:Fr.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:Fr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:Fr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:Fr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);tF.exports={ProgressEvent:cx}});var sF=g((WRe,nF)=>{"use strict";function Ene(t){if(!t)return"failure";switch(t.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}o(Ene,"getEncoding");nF.exports={getEncoding:Ene}});var dF=g((KRe,uF)=>{"use strict";var{kState:Kc,kError:lx,kResult:iF,kAborted:Eu,kLastProgressEventFired:Ax}=ax(),{ProgressEvent:Cne}=rF(),{getEncoding:oF}=sF(),{serializeAMimeType:Ine,parseMIMEType:aF}=lr(),{types:Bne}=require("node:util"),{StringDecoder:cF}=require("string_decoder"),{btoa:lF}=require("node:buffer"),Qne={enumerable:!0,writable:!1,configurable:!1};function xne(t,e,r,n){if(t[Kc]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Kc]="loading",t[iF]=null,t[lx]=null;let i=e.stream().getReader(),a=[],c=i.read(),l=!0;(async()=>{for(;!t[Eu];)try{let{done:A,value:u}=await c;if(l&&!t[Eu]&&queueMicrotask(()=>{co("loadstart",t)}),l=!1,!A&&Bne.isUint8Array(u))a.push(u),(t[Ax]===void 0||Date.now()-t[Ax]>=50)&&!t[Eu]&&(t[Ax]=Date.now(),queueMicrotask(()=>{co("progress",t)})),c=i.read();else if(A){queueMicrotask(()=>{t[Kc]="done";try{let d=bne(a,r,e.type,n);if(t[Eu])return;t[iF]=d,co("load",t)}catch(d){t[lx]=d,co("error",t)}t[Kc]!=="loading"&&co("loadend",t)});break}}catch(A){if(t[Eu])return;queueMicrotask(()=>{t[Kc]="done",t[lx]=A,co("error",t),t[Kc]!=="loading"&&co("loadend",t)});break}})()}o(xne,"readOperation");function co(t,e){let r=new Cne(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(co,"fireAProgressEvent");function bne(t,e,r,n){switch(e){case"DataURL":{let s="data:",i=aF(r||"application/octet-stream");i!=="failure"&&(s+=Ine(i)),s+=";base64,";let a=new cF("latin1");for(let c of t)s+=lF(a.write(c));return s+=lF(a.end()),s}case"Text":{let s="failure";if(n&&(s=oF(n)),s==="failure"&&r){let i=aF(r);i!=="failure"&&(s=oF(i.parameters.get("charset")))}return s==="failure"&&(s="UTF-8"),wne(t,s)}case"ArrayBuffer":return AF(t).buffer;case"BinaryString":{let s="",i=new cF("latin1");for(let a of t)s+=i.write(a);return s+=i.end(),s}}}o(bne,"packageData");function wne(t,e){let r=AF(t),n=Nne(r),s=0;n!==null&&(e=n,s=n==="UTF-8"?3:2);let i=r.slice(s);return new TextDecoder(e).decode(i)}o(wne,"decode");function Nne(t){let[e,r,n]=t;return e===239&&r===187&&n===191?"UTF-8":e===254&&r===255?"UTF-16BE":e===255&&r===254?"UTF-16LE":null}o(Nne,"BOMSniffing");function AF(t){let e=t.reduce((n,s)=>n+s.byteLength,0),r=0;return t.reduce((n,s)=>(n.set(s,r),r+=s.byteLength,n),new Uint8Array(e))}o(AF,"combineByteSequences");uF.exports={staticPropertyDescriptors:Qne,readOperation:xne,fireAProgressEvent:co}});var fF=g((ZRe,hF)=>{"use strict";var{staticPropertyDescriptors:Xc,readOperation:vh,fireAProgressEvent:mF}=dF(),{kState:la,kError:pF,kResult:Ph,kEvents:Ce,kAborted:Sne}=ax(),{webidl:Re}=Tt(),{kEnumerableProperty:dr}=ce(),zn=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[la]="empty",this[Ph]=null,this[pF]=null,this[Ce]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=Re.converters.Blob(e,{strict:!1}),vh(this,e,"ArrayBuffer")}readAsBinaryString(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Re.converters.Blob(e,{strict:!1}),vh(this,e,"BinaryString")}readAsText(e,r=void 0){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=Re.converters.Blob(e,{strict:!1}),r!==void 0&&(r=Re.converters.DOMString(r,"FileReader.readAsText","encoding")),vh(this,e,"Text",r)}readAsDataURL(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Re.converters.Blob(e,{strict:!1}),vh(this,e,"DataURL")}abort(){if(this[la]==="empty"||this[la]==="done"){this[Ph]=null;return}this[la]==="loading"&&(this[la]="done",this[Ph]=null),this[Sne]=!0,mF("abort",this),this[la]!=="loading"&&mF("loadend",this)}get readyState(){switch(Re.brandCheck(this,t),this[la]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Re.brandCheck(this,t),this[Ph]}get error(){return Re.brandCheck(this,t),this[pF]}get onloadend(){return Re.brandCheck(this,t),this[Ce].loadend}set onloadend(e){Re.brandCheck(this,t),this[Ce].loadend&&this.removeEventListener("loadend",this[Ce].loadend),typeof e=="function"?(this[Ce].loadend=e,this.addEventListener("loadend",e)):this[Ce].loadend=null}get onerror(){return Re.brandCheck(this,t),this[Ce].error}set onerror(e){Re.brandCheck(this,t),this[Ce].error&&this.removeEventListener("error",this[Ce].error),typeof e=="function"?(this[Ce].error=e,this.addEventListener("error",e)):this[Ce].error=null}get onloadstart(){return Re.brandCheck(this,t),this[Ce].loadstart}set onloadstart(e){Re.brandCheck(this,t),this[Ce].loadstart&&this.removeEventListener("loadstart",this[Ce].loadstart),typeof e=="function"?(this[Ce].loadstart=e,this.addEventListener("loadstart",e)):this[Ce].loadstart=null}get onprogress(){return Re.brandCheck(this,t),this[Ce].progress}set onprogress(e){Re.brandCheck(this,t),this[Ce].progress&&this.removeEventListener("progress",this[Ce].progress),typeof e=="function"?(this[Ce].progress=e,this.addEventListener("progress",e)):this[Ce].progress=null}get onload(){return Re.brandCheck(this,t),this[Ce].load}set onload(e){Re.brandCheck(this,t),this[Ce].load&&this.removeEventListener("load",this[Ce].load),typeof e=="function"?(this[Ce].load=e,this.addEventListener("load",e)):this[Ce].load=null}get onabort(){return Re.brandCheck(this,t),this[Ce].abort}set onabort(e){Re.brandCheck(this,t),this[Ce].abort&&this.removeEventListener("abort",this[Ce].abort),typeof e=="function"?(this[Ce].abort=e,this.addEventListener("abort",e)):this[Ce].abort=null}};zn.EMPTY=zn.prototype.EMPTY=0;zn.LOADING=zn.prototype.LOADING=1;zn.DONE=zn.prototype.DONE=2;Object.defineProperties(zn.prototype,{EMPTY:Xc,LOADING:Xc,DONE:Xc,readAsArrayBuffer:dr,readAsBinaryString:dr,readAsText:dr,readAsDataURL:dr,abort:dr,readyState:dr,result:dr,error:dr,onloadstart:dr,onprogress:dr,onload:dr,onabort:dr,onerror:dr,onloadend:dr,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(zn,{EMPTY:Xc,LOADING:Xc,DONE:Xc});hF.exports={FileReader:zn}});var Dh=g((tve,gF)=>{"use strict";gF.exports={kConstruct:Oe().kConstruct}});var CF=g((rve,EF)=>{"use strict";var Rne=require("node:assert"),{URLSerializer:yF}=lr(),{isValidHeaderName:vne}=Pr();function Pne(t,e,r=!1){let n=yF(t,r),s=yF(e,r);return n===s}o(Pne,"urlEquals");function Dne(t){Rne(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),vne(r)&&e.push(r);return e}o(Dne,"getFieldValues");EF.exports={urlEquals:Pne,getFieldValues:Dne}});var QF=g((sve,BF)=>{"use strict";var{kConstruct:Tne}=Dh(),{urlEquals:kne,getFieldValues:ux}=CF(),{kEnumerableProperty:Aa,isDisturbed:Mne}=ce(),{webidl:G}=Tt(),{Response:Lne,cloneResponse:_ne,fromInnerResponse:Fne}=fu(),{Request:Ei,fromInnerRequest:Une}=jc(),{kState:Gn}=Wi(),{fetching:One}=yu(),{urlIsHttpHttpsScheme:Th,createDeferredPromise:Zc,readAllBytes:qne}=Pr(),dx=require("node:assert"),kh=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==Tne&&G.illegalConstructor(),G.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){G.brandCheck(this,t);let n="Cache.match";G.argumentLengthCheck(arguments,1,n),e=G.converters.RequestInfo(e,n,"request"),r=G.converters.CacheQueryOptions(r,n,"options");let s=this.#s(e,r,1);if(s.length!==0)return s[0]}async matchAll(e=void 0,r={}){G.brandCheck(this,t);let n="Cache.matchAll";return e!==void 0&&(e=G.converters.RequestInfo(e,n,"request")),r=G.converters.CacheQueryOptions(r,n,"options"),this.#s(e,r)}async add(e){G.brandCheck(this,t);let r="Cache.add";G.argumentLengthCheck(arguments,1,r),e=G.converters.RequestInfo(e,r,"request");let n=[e];return await this.addAll(n)}async addAll(e){G.brandCheck(this,t);let r="Cache.addAll";G.argumentLengthCheck(arguments,1,r);let n=[],s=[];for(let m of e){if(m===void 0)throw G.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(m=G.converters.RequestInfo(m),typeof m=="string")continue;let p=m[Gn];if(!Th(p.url)||p.method!=="GET")throw G.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let m of e){let p=new Ei(m)[Gn];if(!Th(p.url))throw G.errors.exception({header:r,message:"Expected http/s scheme."});p.initiator="fetch",p.destination="subresource",s.push(p);let h=Zc();i.push(One({request:p,processResponse(f){if(f.type==="error"||f.status===206||f.status<200||f.status>299)h.reject(G.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(f.headersList.contains("vary")){let C=ux(f.headersList.get("vary"));for(let y of C)if(y==="*"){h.reject(G.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let E of i)E.abort();return}}},processResponseEndOfBody(f){if(f.aborted){h.reject(new DOMException("aborted","AbortError"));return}h.resolve(f)}})),n.push(h.promise)}let c=await Promise.all(n),l=[],A=0;for(let m of c){let p={type:"put",request:s[A],response:m};l.push(p),A++}let u=Zc(),d=null;try{this.#t(l)}catch(m){d=m}return queueMicrotask(()=>{d===null?u.resolve(void 0):u.reject(d)}),u.promise}async put(e,r){G.brandCheck(this,t);let n="Cache.put";G.argumentLengthCheck(arguments,2,n),e=G.converters.RequestInfo(e,n,"request"),r=G.converters.Response(r,n,"response");let s=null;if(e instanceof Ei?s=e[Gn]:s=new Ei(e)[Gn],!Th(s.url)||s.method!=="GET")throw G.errors.exception({header:n,message:"Expected an http/s scheme when method is not GET"});let i=r[Gn];if(i.status===206)throw G.errors.exception({header:n,message:"Got 206 status"});if(i.headersList.contains("vary")){let p=ux(i.headersList.get("vary"));for(let h of p)if(h==="*")throw G.errors.exception({header:n,message:"Got * vary field value"})}if(i.body&&(Mne(i.body.stream)||i.body.stream.locked))throw G.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=_ne(i),c=Zc();if(i.body!=null){let h=i.body.stream.getReader();qne(h).then(c.resolve,c.reject)}else c.resolve(void 0);let l=[],A={type:"put",request:s,response:a};l.push(A);let u=await c.promise;a.body!=null&&(a.body.source=u);let d=Zc(),m=null;try{this.#t(l)}catch(p){m=p}return queueMicrotask(()=>{m===null?d.resolve():d.reject(m)}),d.promise}async delete(e,r={}){G.brandCheck(this,t);let n="Cache.delete";G.argumentLengthCheck(arguments,1,n),e=G.converters.RequestInfo(e,n,"request"),r=G.converters.CacheQueryOptions(r,n,"options");let s=null;if(e instanceof Ei){if(s=e[Gn],s.method!=="GET"&&!r.ignoreMethod)return!1}else dx(typeof e=="string"),s=new Ei(e)[Gn];let i=[],a={type:"delete",request:s,options:r};i.push(a);let c=Zc(),l=null,A;try{A=this.#t(i)}catch(u){l=u}return queueMicrotask(()=>{l===null?c.resolve(!!A?.length):c.reject(l)}),c.promise}async keys(e=void 0,r={}){G.brandCheck(this,t);let n="Cache.keys";e!==void 0&&(e=G.converters.RequestInfo(e,n,"request")),r=G.converters.CacheQueryOptions(r,n,"options");let s=null;if(e!==void 0)if(e instanceof Ei){if(s=e[Gn],s.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(s=new Ei(e)[Gn]);let i=Zc(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#r(s,r);for(let l of c)a.push(l[0])}return queueMicrotask(()=>{let c=[];for(let l of a){let A=Une(l,new AbortController().signal,"immutable");c.push(A)}i.resolve(Object.freeze(c))}),i.promise}#t(e){let r=this.#e,n=[...r],s=[],i=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw G.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#r(a.request,a.options,s).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#r(a.request,a.options),c.length===0)return[];for(let l of c){let A=r.indexOf(l);dx(A!==-1),r.splice(A,1)}}else if(a.type==="put"){if(a.response==null)throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!Th(l.url))throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#r(a.request);for(let A of c){let u=r.indexOf(A);dx(u!==-1),r.splice(u,1)}r.push([a.request,a.response]),s.push([a.request,a.response])}i.push([a.request,a.response])}return i}catch(a){throw this.#e.length=0,this.#e=n,a}}#r(e,r,n){let s=[],i=n??this.#e;for(let a of i){let[c,l]=a;this.#i(e,c,l,r)&&s.push(a)}return s}#i(e,r,n=null,s){let i=new URL(e.url),a=new URL(r.url);if(s?.ignoreSearch&&(a.search="",i.search=""),!kne(i,a,!0))return!1;if(n==null||s?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=ux(n.headersList.get("vary"));for(let l of c){if(l==="*")return!1;let A=r.headersList.get(l),u=e.headersList.get(l);if(A!==u)return!1}return!0}#s(e,r,n=1/0){let s=null;if(e!==void 0)if(e instanceof Ei){if(s=e[Gn],s.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(s=new Ei(e)[Gn]);let i=[];if(e===void 0)for(let c of this.#e)i.push(c[1]);else{let c=this.#r(s,r);for(let l of c)i.push(l[1])}let a=[];for(let c of i){let l=Fne(c,"immutable");if(a.push(l.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(kh.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Aa,matchAll:Aa,add:Aa,addAll:Aa,put:Aa,delete:Aa,keys:Aa});var IF=[{key:"ignoreSearch",converter:G.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreMethod",converter:G.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreVary",converter:G.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];G.converters.CacheQueryOptions=G.dictionaryConverter(IF);G.converters.MultiCacheQueryOptions=G.dictionaryConverter([...IF,{key:"cacheName",converter:G.converters.DOMString}]);G.converters.Response=G.interfaceConverter(Lne);G.converters["sequence<RequestInfo>"]=G.sequenceConverter(G.converters.RequestInfo);BF.exports={Cache:kh}});var bF=g((ove,xF)=>{"use strict";var{kConstruct:Cu}=Dh(),{Cache:Mh}=QF(),{webidl:Ut}=Tt(),{kEnumerableProperty:Iu}=ce(),Lh=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==Cu&&Ut.illegalConstructor(),Ut.util.markAsUncloneable(this)}async match(e,r={}){if(Ut.brandCheck(this,t),Ut.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=Ut.converters.RequestInfo(e),r=Ut.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new Mh(Cu,n).match(e,r)}}else for(let n of this.#e.values()){let i=await new Mh(Cu,n).match(e,r);if(i!==void 0)return i}}async has(e){Ut.brandCheck(this,t);let r="CacheStorage.has";return Ut.argumentLengthCheck(arguments,1,r),e=Ut.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){Ut.brandCheck(this,t);let r="CacheStorage.open";if(Ut.argumentLengthCheck(arguments,1,r),e=Ut.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let s=this.#e.get(e);return new Mh(Cu,s)}let n=[];return this.#e.set(e,n),new Mh(Cu,n)}async delete(e){Ut.brandCheck(this,t);let r="CacheStorage.delete";return Ut.argumentLengthCheck(arguments,1,r),e=Ut.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return Ut.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(Lh.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:Iu,has:Iu,open:Iu,delete:Iu,keys:Iu});xF.exports={CacheStorage:Lh}});var NF=g((cve,wF)=>{"use strict";wF.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var hx=g((lve,PF)=>{"use strict";function Hne(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r>=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(Hne,"isCTLExcludingHtab");function mx(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r<33||r>126||r===34||r===40||r===41||r===60||r===62||r===64||r===44||r===59||r===58||r===92||r===47||r===91||r===93||r===63||r===61||r===123||r===125)throw new Error("Invalid cookie name")}}o(mx,"validateCookieName");function px(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(;r<e;){let n=t.charCodeAt(r++);if(n<33||n>126||n===34||n===44||n===59||n===92)throw new Error("Invalid cookie value")}}o(px,"validateCookieValue");function RF(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r<32||r>126||r===59)throw new Error("Invalid cookie path")}}o(RF,"validateCookiePath");function SF(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}o(SF,"isLetterOrDigit");function zne(t){if(t===" ")return;if(t.length>255)throw new Error("Invalid cookie domain");let e=0;for(let r=0;r<t.length;++r){let n=t.charCodeAt(r);if(n===46){if(e===0)throw new Error("Invalid cookie domain");if(t.charCodeAt(r-1)===45)throw new Error("Invalid cookie domain");e=0;continue}if(e===0&&!SF(n))throw new Error("Invalid cookie domain");if(!SF(n)&&n!==45)throw new Error("Invalid cookie domain");if(++e>63)throw new Error("Invalid cookie domain")}if(e===0||t.charCodeAt(t.length-1)===45)throw new Error("Invalid cookie domain")}o(zne,"validateCookieDomain");var Gne=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Yne=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],_h=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function vF(t){return typeof t=="number"&&(t=new Date(t)),`${Gne[t.getUTCDay()]}, ${_h[t.getUTCDate()]} ${Yne[t.getUTCMonth()]} ${t.getUTCFullYear()} ${_h[t.getUTCHours()]}:${_h[t.getUTCMinutes()]}:${_h[t.getUTCSeconds()]} GMT`}o(vF,"toIMFDate");function Vne(t){if(t<0)throw new Error("Invalid cookie max-age")}o(Vne,"validateCookieMaxAge");function Jne(t){if(t.name.length===0)return null;mx(t.name),px(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"&&(Vne(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(zne(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(RF(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${vF(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let r of t.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[n,...s]=r.split("="),i=n.trim(),a=s.join("=");mx(i),px(a),e.push(`${i}=${a}`)}return e.join("; ")}o(Jne,"stringify");PF.exports={isCTLExcludingHtab:Hne,validateCookieName:mx,validateCookiePath:RF,validateCookieValue:px,toIMFDate:vF,stringify:Jne}});var TF=g((uve,DF)=>{"use strict";var{maxNameValuePairSize:$ne,maxAttributeValueSize:Wne}=NF(),{isCTLExcludingHtab:jne}=hx(),{collectASequenceOfCodePointsFast:Fh}=lr(),Kne=require("node:assert");function Xne(t){if(jne(t))return null;let e="",r="",n="",s="";if(t.includes(";")){let i={position:0};e=Fh(";",t,i),r=t.slice(i.position)}else e=t;if(!e.includes("="))s=e;else{let i={position:0};n=Fh("=",e,i),s=e.slice(i.position+1)}return n=n.trim(),s=s.trim(),n.length+s.length>$ne?null:{name:n,value:s,...el(r)}}o(Xne,"parseSetCookie");function el(t,e={}){if(t.length===0)return e;Kne(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=Fh(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",s="";if(r.includes("=")){let a={position:0};n=Fh("=",r,a),s=r.slice(a.position+1)}else n=r;if(n=n.trim(),s=s.trim(),s.length>Wne)return el(t,e);let i=n.toLowerCase();if(i==="expires"){let a=new Date(s);e.expires=a}else if(i==="max-age"){let a=s.charCodeAt(0);if((a<48||a>57)&&s[0]!=="-"||!/^\d+$/.test(s))return el(t,e);let c=Number(s);e.maxAge=c}else if(i==="domain"){let a=s;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(i==="path"){let a="";s.length===0||s[0]!=="/"?a="/":a=s,e.path=a}else if(i==="secure")e.secure=!0;else if(i==="httponly")e.httpOnly=!0;else if(i==="samesite"){let a=s.toLowerCase();a==="none"?e.sameSite="None":a==="strict"?e.sameSite="Strict":a==="lax"&&(e.sameSite="Lax")}else e.unparsed??=[],e.unparsed.push(`${n}=${s}`);return el(t,e)}o(el,"parseUnparsedAttributes");DF.exports={parseSetCookie:Xne,parseUnparsedAttributes:el}});var LF=g((mve,MF)=>{"use strict";var{parseSetCookie:Zne}=TF(),{stringify:ese}=hx(),{webidl:pe}=Tt(),{Headers:Uh}=ia();function tse(t){pe.argumentLengthCheck(arguments,1,"getCookies"),pe.brandCheck(t,Uh,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let n of e.split(";")){let[s,...i]=n.split("=");r[s.trim()]=i.join("=")}return r}o(tse,"getCookies");function rse(t,e,r){pe.brandCheck(t,Uh,{strict:!1});let n="deleteCookie";pe.argumentLengthCheck(arguments,2,n),e=pe.converters.DOMString(e,n,"name"),r=pe.converters.DeleteCookieAttributes(r),kF(t,{name:e,value:"",expires:new Date(0),...r})}o(rse,"deleteCookie");function nse(t){pe.argumentLengthCheck(arguments,1,"getSetCookies"),pe.brandCheck(t,Uh,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>Zne(r)):[]}o(nse,"getSetCookies");function kF(t,e){pe.argumentLengthCheck(arguments,2,"setCookie"),pe.brandCheck(t,Uh,{strict:!1}),e=pe.converters.Cookie(e);let r=ese(e);r&&t.append("Set-Cookie",r)}o(kF,"setCookie");pe.converters.DeleteCookieAttributes=pe.dictionaryConverter([{converter:pe.nullableConverter(pe.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:pe.nullableConverter(pe.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")}]);pe.converters.Cookie=pe.dictionaryConverter([{converter:pe.converters.DOMString,key:"name"},{converter:pe.converters.DOMString,key:"value"},{converter:pe.nullableConverter(t=>typeof t=="number"?pe.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:o(()=>null,"defaultValue")},{converter:pe.nullableConverter(pe.converters["long long"]),key:"maxAge",defaultValue:o(()=>null,"defaultValue")},{converter:pe.nullableConverter(pe.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")},{converter:pe.nullableConverter(pe.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:pe.nullableConverter(pe.converters.boolean),key:"secure",defaultValue:o(()=>null,"defaultValue")},{converter:pe.nullableConverter(pe.converters.boolean),key:"httpOnly",defaultValue:o(()=>null,"defaultValue")},{converter:pe.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:pe.sequenceConverter(pe.converters.DOMString),key:"unparsed",defaultValue:o(()=>new Array(0),"defaultValue")}]);MF.exports={getCookies:tse,deleteCookie:rse,getSetCookies:nse,setCookie:kF}});var rl=g((hve,FF)=>{"use strict";var{webidl:z}=Tt(),{kEnumerableProperty:mr}=ce(),{kConstruct:_F}=Oe(),{MessagePort:sse}=require("node:worker_threads"),tl=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===_F){super(arguments[1],arguments[2]),z.util.markAsUncloneable(this);return}let n="MessageEvent constructor";z.argumentLengthCheck(arguments,1,n),e=z.converters.DOMString(e,n,"type"),r=z.converters.MessageEventInit(r,n,"eventInitDict"),super(e,r),this.#e=r,z.util.markAsUncloneable(this)}get data(){return z.brandCheck(this,t),this.#e.data}get origin(){return z.brandCheck(this,t),this.#e.origin}get lastEventId(){return z.brandCheck(this,t),this.#e.lastEventId}get source(){return z.brandCheck(this,t),this.#e.source}get ports(){return z.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,n=!1,s=null,i="",a="",c=null,l=[]){return z.brandCheck(this,t),z.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:n,data:s,origin:i,lastEventId:a,source:c,ports:l})}static createFastMessageEvent(e,r){let n=new t(_F,e,r);return n.#e=r,n.#e.data??=null,n.#e.origin??="",n.#e.lastEventId??="",n.#e.source??=null,n.#e.ports??=[],n}},{createFastMessageEvent:ise}=tl;delete tl.createFastMessageEvent;var Oh=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let n="CloseEvent constructor";z.argumentLengthCheck(arguments,1,n),e=z.converters.DOMString(e,n,"type"),r=z.converters.CloseEventInit(r),super(e,r),this.#e=r,z.util.markAsUncloneable(this)}get wasClean(){return z.brandCheck(this,t),this.#e.wasClean}get code(){return z.brandCheck(this,t),this.#e.code}get reason(){return z.brandCheck(this,t),this.#e.reason}},qh=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let n="ErrorEvent constructor";z.argumentLengthCheck(arguments,1,n),super(e,r),z.util.markAsUncloneable(this),e=z.converters.DOMString(e,n,"type"),r=z.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return z.brandCheck(this,t),this.#e.message}get filename(){return z.brandCheck(this,t),this.#e.filename}get lineno(){return z.brandCheck(this,t),this.#e.lineno}get colno(){return z.brandCheck(this,t),this.#e.colno}get error(){return z.brandCheck(this,t),this.#e.error}};Object.defineProperties(tl.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:mr,origin:mr,lastEventId:mr,source:mr,ports:mr,initMessageEvent:mr});Object.defineProperties(Oh.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:mr,code:mr,wasClean:mr});Object.defineProperties(qh.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:mr,filename:mr,lineno:mr,colno:mr,error:mr});z.converters.MessagePort=z.interfaceConverter(sse);z.converters["sequence<MessagePort>"]=z.sequenceConverter(z.converters.MessagePort);var fx=[{key:"bubbles",converter:z.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:z.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:z.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];z.converters.MessageEventInit=z.dictionaryConverter([...fx,{key:"data",converter:z.converters.any,defaultValue:o(()=>null,"defaultValue")},{key:"origin",converter:z.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lastEventId",converter:z.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"source",converter:z.nullableConverter(z.converters.MessagePort),defaultValue:o(()=>null,"defaultValue")},{key:"ports",converter:z.converters["sequence<MessagePort>"],defaultValue:o(()=>new Array(0),"defaultValue")}]);z.converters.CloseEventInit=z.dictionaryConverter([...fx,{key:"wasClean",converter:z.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"code",converter:z.converters["unsigned short"],defaultValue:o(()=>0,"defaultValue")},{key:"reason",converter:z.converters.USVString,defaultValue:o(()=>"","defaultValue")}]);z.converters.ErrorEventInit=z.dictionaryConverter([...fx,{key:"message",converter:z.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"filename",converter:z.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lineno",converter:z.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"colno",converter:z.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"error",converter:z.converters.any}]);FF.exports={MessageEvent:tl,CloseEvent:Oh,ErrorEvent:qh,createFastMessageEvent:ise}});var ua=g((gve,UF)=>{"use strict";var ose="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",ase={enumerable:!0,writable:!1,configurable:!1},cse={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},lse={NOT_SENT:0,PROCESSING:1,SENT:2},Ase={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},use=2**16-1,dse={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},mse=Buffer.allocUnsafe(0),pse={string:1,typedArray:2,arrayBuffer:3,blob:4};UF.exports={uid:ose,sentCloseFrameState:lse,staticPropertyDescriptors:ase,states:cse,opcodes:Ase,maxUnsigned16Bit:use,parserStates:dse,emptyBuffer:mse,sendHints:pse}});var Bu=g((yve,OF)=>{"use strict";OF.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 bu=g((Eve,WF)=>{"use strict";var{kReadyState:Qu,kController:hse,kResponse:fse,kBinaryType:gse,kWebSocketURL:yse}=Bu(),{states:xu,opcodes:lo}=ua(),{ErrorEvent:Ese,createFastMessageEvent:Cse}=rl(),{isUtf8:Ise}=require("node:buffer"),{collectASequenceOfCodePointsFast:Bse,removeHTTPWhitespace:qF}=lr();function Qse(t){return t[Qu]===xu.CONNECTING}o(Qse,"isConnecting");function xse(t){return t[Qu]===xu.OPEN}o(xse,"isEstablished");function bse(t){return t[Qu]===xu.CLOSING}o(bse,"isClosing");function wse(t){return t[Qu]===xu.CLOSED}o(wse,"isClosed");function gx(t,e,r=(s,i)=>new Event(s,i),n={}){let s=r(t,n);e.dispatchEvent(s)}o(gx,"fireEvent");function Nse(t,e,r){if(t[Qu]!==xu.OPEN)return;let n;if(e===lo.TEXT)try{n=$F(r)}catch{zF(t,"Received invalid UTF-8 in text frame.");return}else e===lo.BINARY&&(t[gse]==="blob"?n=new Blob([r]):n=Sse(r));gx("message",t,Cse,{origin:t[yse].origin,data:n})}o(Nse,"websocketMessageReceived");function Sse(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(Sse,"toArrayBuffer");function Rse(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r<33||r>126||r===34||r===40||r===41||r===44||r===47||r===58||r===59||r===60||r===61||r===62||r===63||r===64||r===91||r===92||r===93||r===123||r===125)return!1}return!0}o(Rse,"isValidSubprotocol");function vse(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(vse,"isValidStatusCode");function zF(t,e){let{[hse]:r,[fse]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&gx("error",t,(s,i)=>new Ese(s,i),{error:new Error(e),message:e})}o(zF,"failWebsocketConnection");function GF(t){return t===lo.CLOSE||t===lo.PING||t===lo.PONG}o(GF,"isControlFrame");function YF(t){return t===lo.CONTINUATION}o(YF,"isContinuationFrame");function VF(t){return t===lo.TEXT||t===lo.BINARY}o(VF,"isTextBinaryFrame");function Pse(t){return VF(t)||YF(t)||GF(t)}o(Pse,"isValidOpcode");function Dse(t){let e={position:0},r=new Map;for(;e.position<t.length;){let n=Bse(";",t,e),[s,i=""]=n.split("=");r.set(qF(s,!0,!1),qF(i,!1,!0)),e.position++}return r}o(Dse,"parseExtensions");function Tse(t){if(t.length===0)return!1;for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(n<48||n>57)return!1}let e=Number.parseInt(t,10);return e>=8&&e<=15}o(Tse,"isValidClientWindowBits");var JF=typeof process.versions.icu=="string",HF=JF?new TextDecoder("utf-8",{fatal:!0}):void 0,$F=JF?HF.decode.bind(HF):function(t){if(Ise(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};WF.exports={isConnecting:Qse,isEstablished:xse,isClosing:bse,isClosed:wse,fireEvent:gx,isValidSubprotocol:Rse,isValidStatusCode:vse,failWebsocketConnection:zF,websocketMessageReceived:Nse,utf8Decode:$F,isControlFrame:GF,isContinuationFrame:YF,isTextBinaryFrame:VF,isValidOpcode:Pse,parseExtensions:Dse,isValidClientWindowBits:Tse}});var zh=g((Ive,jF)=>{"use strict";var{maxUnsigned16Bit:kse}=ua(),Hh=16386,yx,wu=null,nl=Hh;try{yx=require("node:crypto")}catch{yx={randomFillSync:o(function(e,r,n){for(let s=0;s<e.length;++s)e[s]=Math.random()*255|0;return e},"randomFillSync")}}function Mse(){return nl===Hh&&(nl=0,yx.randomFillSync(wu??=Buffer.allocUnsafe(Hh),0,Hh)),[wu[nl++],wu[nl++],wu[nl++],wu[nl++]]}o(Mse,"generateMask");var Ex=class{static{o(this,"WebsocketFrameSend")}constructor(e){this.frameData=e}createFrame(e){let r=this.frameData,n=Mse(),s=r?.byteLength??0,i=s,a=6;s>kse?(a+=8,i=127):s>125&&(a+=2,i=126);let c=Buffer.allocUnsafe(s+a);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e;c[a-4]=n[0],c[a-3]=n[1],c[a-2]=n[2],c[a-1]=n[3],c[1]=i,i===126?c.writeUInt16BE(s,2):i===127&&(c[2]=c[3]=0,c.writeUIntBE(s,4,6)),c[1]|=128;for(let l=0;l<s;++l)c[a+l]=r[l]^n[l&3];return c}};jF.exports={WebsocketFrameSend:Ex}});var Ix=g((Qve,nU)=>{"use strict";var{uid:Lse,states:Nu,sentCloseFrameState:Gh,emptyBuffer:_se,opcodes:Fse}=ua(),{kReadyState:Su,kSentClose:Yh,kByteParser:XF,kReceivedClose:KF,kResponse:ZF}=Bu(),{fireEvent:Use,failWebsocketConnection:Ao,isClosing:Ose,isClosed:qse,isEstablished:Hse,parseExtensions:zse}=bu(),{channels:sl}=pc(),{CloseEvent:Gse}=rl(),{makeRequest:Yse}=jc(),{fetching:Vse}=yu(),{Headers:Jse,getHeadersList:$se}=ia(),{getDecodeSplit:Wse}=Pr(),{WebsocketFrameSend:jse}=zh(),Cx;try{Cx=require("node:crypto")}catch{}function Kse(t,e,r,n,s,i){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=Yse({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let d=$se(new Jse(i.headers));c.headersList=d}let l=Cx.randomBytes(16).toString("base64");c.headersList.append("sec-websocket-key",l),c.headersList.append("sec-websocket-version","13");for(let d of e)c.headersList.append("sec-websocket-protocol",d);return c.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits"),Vse({request:c,useParallelQueue:!0,dispatcher:i.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){Ao(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){Ao(n,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Ao(n,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Ao(n,'Server did not set Connection header to "upgrade".');return}let m=d.headersList.get("Sec-WebSocket-Accept"),p=Cx.createHash("sha1").update(l+Lse).digest("base64");if(m!==p){Ao(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let h=d.headersList.get("Sec-WebSocket-Extensions"),f;if(h!==null&&(f=zse(h),!f.has("permessage-deflate"))){Ao(n,"Sec-WebSocket-Extensions header does not match.");return}let C=d.headersList.get("Sec-WebSocket-Protocol");if(C!==null&&!Wse("sec-websocket-protocol",c.headersList).includes(C)){Ao(n,"Protocol was not set in the opening handshake.");return}d.socket.on("data",eU),d.socket.on("close",tU),d.socket.on("error",rU),sl.open.hasSubscribers&&sl.open.publish({address:d.socket.address(),protocol:C,extensions:h}),s(d,f)}})}o(Kse,"establishWebSocketConnection");function Xse(t,e,r,n){if(!(Ose(t)||qse(t)))if(!Hse(t))Ao(t,"Connection was closed before it was established."),t[Su]=Nu.CLOSING;else if(t[Yh]===Gh.NOT_SENT){t[Yh]=Gh.PROCESSING;let s=new jse;e!==void 0&&r===void 0?(s.frameData=Buffer.allocUnsafe(2),s.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(s.frameData=Buffer.allocUnsafe(2+n),s.frameData.writeUInt16BE(e,0),s.frameData.write(r,2,"utf-8")):s.frameData=_se,t[ZF].socket.write(s.createFrame(Fse.CLOSE)),t[Yh]=Gh.SENT,t[Su]=Nu.CLOSING}else t[Su]=Nu.CLOSING}o(Xse,"closeWebSocketConnection");function eU(t){this.ws[XF].write(t)||this.pause()}o(eU,"onSocketData");function tU(){let{ws:t}=this,{[ZF]:e}=t;e.socket.off("data",eU),e.socket.off("close",tU),e.socket.off("error",rU);let r=t[Yh]===Gh.SENT&&t[KF],n=1005,s="",i=t[XF].closingInfo;i&&!i.error?(n=i.code??1005,s=i.reason):t[KF]||(n=1006),t[Su]=Nu.CLOSED,Use("close",t,(a,c)=>new Gse(a,c),{wasClean:r,code:n,reason:s}),sl.close.hasSubscribers&&sl.close.publish({websocket:t,code:n,reason:s})}o(tU,"onSocketClose");function rU(t){let{ws:e}=this;e[Su]=Nu.CLOSING,sl.socketError.hasSubscribers&&sl.socketError.publish(t),this.destroy()}o(rU,"onSocketError");nU.exports={establishWebSocketConnection:Kse,closeWebSocketConnection:Xse}});var iU=g((bve,sU)=>{"use strict";var{createInflateRaw:Zse,Z_DEFAULT_WINDOWBITS:eie}=require("node:zlib"),{isValidClientWindowBits:tie}=bu(),{MessageSizeExceededError:rie}=Ee(),nie=Buffer.from([0,0,255,255]),Vh=Symbol("kBuffer"),Ru=Symbol("kLength"),Bx=class{static{o(this,"PerMessageDeflate")}#e;#t={};#r=0;constructor(e,r){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits"),this.#r=r.maxPayloadSize}decompress(e,r,n){if(!this.#e){let s=eie;if(this.#t.serverMaxWindowBits){if(!tie(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}s=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=Zse({windowBits:s})}catch(i){n(i);return}this.#e[Vh]=[],this.#e[Ru]=0,this.#e.on("data",i=>{if(this.#e[Ru]+=i.length,this.#r>0&&this.#e[Ru]>this.#r){n(new rie),this.#e.removeAllListeners(),this.#e=null;return}this.#e[Vh].push(i)}),this.#e.on("error",i=>{this.#e=null,n(i)})}this.#e.write(e),r&&this.#e.write(nie),this.#e.flush(()=>{if(!this.#e)return;let s=Buffer.concat(this.#e[Vh],this.#e[Ru]);this.#e[Vh].length=0,this.#e[Ru]=0,n(null,s)})}};sU.exports={PerMessageDeflate:Bx}});var hU=g((Nve,pU)=>{"use strict";var{Writable:sie}=require("node:stream"),iie=require("node:assert"),{parserStates:pr,opcodes:il,states:oie,emptyBuffer:oU,sentCloseFrameState:aU}=ua(),{kReadyState:aie,kSentClose:cU,kResponse:lU,kReceivedClose:AU}=Bu(),{channels:Jh}=pc(),{isValidStatusCode:cie,isValidOpcode:lie,failWebsocketConnection:Ur,websocketMessageReceived:uU,utf8Decode:Aie,isControlFrame:Qx,isTextBinaryFrame:xx,isContinuationFrame:uie}=bu(),{WebsocketFrameSend:dU}=zh(),{closeWebSocketConnection:mU}=Ix(),{PerMessageDeflate:die}=iU(),{MessageSizeExceededError:bx}=Ee();function vu(t,e,r){mU(t,e,r,Buffer.byteLength(r)),Ur(t,r)}o(vu,"failWebsocketConnectionWithCode");var wx=class extends sie{static{o(this,"ByteParser")}#e=[];#t=0;#r=0;#i=!1;#s=pr.INFO;#n={};#o=[];#a;#l;#c;constructor(e,r,n={}){super(),this.ws=e,this.#a=r??new Map,this.#l=n.maxFragments??0,this.#c=n.maxPayloadSize??0,this.#a.has("permessage-deflate")&&this.#a.set("permessage-deflate",new die(r,n))}_write(e,r,n){this.#e.push(e),this.#r+=e.length,this.#i=!0,this.run(n)}#A(){return this.#c>0&&!Qx(this.#n.opcode)&&this.#n.payloadLength+this.#t>this.#c?(vu(this.ws,1009,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#i;)if(this.#s===pr.INFO){if(this.#r<2)return e();let r=this.consume(2),n=(r[0]&128)!==0,s=r[0]&15,i=(r[1]&128)===128,a=!n&&s!==il.CONTINUATION,c=r[1]&127,l=r[0]&64,A=r[0]&32,u=r[0]&16;if(!lie(s))return Ur(this.ws,"Invalid opcode received"),e();if(i)return Ur(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#a.has("permessage-deflate")){Ur(this.ws,"Expected RSV1 to be clear.");return}if(A!==0||u!==0){Ur(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!xx(s)){Ur(this.ws,"Invalid frame type was fragmented.");return}if(xx(s)&&this.#o.length>0){Ur(this.ws,"Expected continuation frame");return}if(this.#n.fragmented&&a){Ur(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&Qx(s)){Ur(this.ws,"Control frame either too large or fragmented");return}if(uie(s)&&this.#o.length===0&&!this.#n.compressed){Ur(this.ws,"Unexpected continuation frame");return}if(c<=125){if(this.#n.payloadLength=c,this.#s=pr.READ_DATA,!this.#A())return}else c===126?this.#s=pr.PAYLOADLENGTH_16:c===127&&(this.#s=pr.PAYLOADLENGTH_64);xx(s)&&(this.#n.binaryType=s,this.#n.compressed=l!==0),this.#n.opcode=s,this.#n.masked=i,this.#n.fin=n,this.#n.fragmented=a}else if(this.#s===pr.PAYLOADLENGTH_16){if(this.#r<2)return e();let r=this.consume(2);if(this.#n.payloadLength=r.readUInt16BE(0),this.#s=pr.READ_DATA,!this.#A())return}else if(this.#s===pr.PAYLOADLENGTH_64){if(this.#r<8)return e();let r=this.consume(8),n=r.readUInt32BE(0),s=r.readUInt32BE(4);if(n!==0||s>2**31-1){Ur(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#n.payloadLength=s,this.#s=pr.READ_DATA,!this.#A())return}else if(this.#s===pr.READ_DATA){if(this.#r<this.#n.payloadLength)return e();let r=this.consume(this.#n.payloadLength);if(Qx(this.#n.opcode))this.#i=this.parseControlFrame(r),this.#s=pr.INFO;else if(this.#n.compressed){this.#a.get("permessage-deflate").decompress(r,this.#n.fin,(n,s)=>{if(n){let i=n instanceof bx?1009:1007;vu(this.ws,i,n.message);return}if(this.writeFragments(s)){if(this.#c>0&&this.#t>this.#c){vu(this.ws,1009,new bx().message);return}if(!this.#n.fin){this.#s=pr.INFO,this.#i=!0,this.run(e);return}uU(this.ws,this.#n.binaryType,this.consumeFragments()),this.#i=!0,this.#s=pr.INFO,this.run(e)}}),this.#i=!1;break}else{if(!this.writeFragments(r))return;if(this.#c>0&&this.#t>this.#c){vu(this.ws,1009,new bx().message);return}!this.#n.fragmented&&this.#n.fin&&uU(this.ws,this.#n.binaryType,this.consumeFragments()),this.#s=pr.INFO}}}consume(e){if(e>this.#r)throw new Error("Called consume() before buffers satiated.");if(e===0)return oU;if(this.#e[0].length===e)return this.#r-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),n=0;for(;n!==e;){let s=this.#e[0],{length:i}=s;if(i+n===e){r.set(this.#e.shift(),n);break}else if(i+n>e){r.set(s.subarray(0,e-n),n),this.#e[0]=s.subarray(e-n);break}else r.set(this.#e.shift(),n),n+=s.length}return this.#r-=e,r}writeFragments(e){return this.#l>0&&this.#o.length===this.#l?(vu(this.ws,1008,"Too many message fragments"),!1):(this.#t+=e.length,this.#o.push(e),!0)}consumeFragments(){let e=this.#o;if(e.length===1)return this.#t=0,e.shift();let r=Buffer.concat(e,this.#t);return this.#o=[],this.#t=0,r}parseCloseBody(e){iie(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!cie(r))return{code:1002,reason:"Invalid status code",error:!0};let n=e.subarray(2);n[0]===239&&n[1]===187&&n[2]===191&&(n=n.subarray(3));try{n=Aie(n)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:r,reason:n,error:!1}}parseControlFrame(e){let{opcode:r,payloadLength:n}=this.#n;if(r===il.CLOSE){if(n===1)return Ur(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#n.closeInfo=this.parseCloseBody(e),this.#n.closeInfo.error){let{code:s,reason:i}=this.#n.closeInfo;return mU(this.ws,s,i,i.length),Ur(this.ws,i),!1}if(this.ws[cU]!==aU.SENT){let s=oU;this.#n.closeInfo.code&&(s=Buffer.allocUnsafe(2),s.writeUInt16BE(this.#n.closeInfo.code,0));let i=new dU(s);this.ws[lU].socket.write(i.createFrame(il.CLOSE),a=>{a||(this.ws[cU]=aU.SENT)})}return this.ws[aie]=oie.CLOSING,this.ws[AU]=!0,!1}else if(r===il.PING){if(!this.ws[AU]){let s=new dU(e);this.ws[lU].socket.write(s.createFrame(il.PONG)),Jh.ping.hasSubscribers&&Jh.ping.publish({payload:e})}}else r===il.PONG&&Jh.pong.hasSubscribers&&Jh.pong.publish({payload:e});return!0}get closingInfo(){return this.#n.closeInfo}};pU.exports={ByteParser:wx}});var CU=g((Rve,EU)=>{"use strict";var{WebsocketFrameSend:mie}=zh(),{opcodes:fU,sendHints:ol}=ua(),pie=DB(),gU=Buffer[Symbol.species],Nx=class{static{o(this,"SendQueue")}#e=new pie;#t=!1;#r;constructor(e){this.#r=e}add(e,r,n){if(n!==ol.blob){let i=yU(e,n);if(!this.#t)this.#r.write(i,r);else{let a={promise:null,callback:r,frame:i};this.#e.push(a)}return}let s={promise:e.arrayBuffer().then(i=>{s.promise=null,s.frame=yU(i,n)}),callback:r,frame:null};this.#e.push(s),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 yU(t,e){return new mie(hie(t,e)).createFrame(e===ol.string?fU.TEXT:fU.BINARY)}o(yU,"createFrame");function hie(t,e){switch(e){case ol.string:return Buffer.from(t);case ol.arrayBuffer:case ol.blob:return new gU(t);case ol.typedArray:return new gU(t.buffer,t.byteOffset,t.byteLength)}}o(hie,"toBuffer");EU.exports={SendQueue:Nx}});var vU=g((Pve,RU)=>{"use strict";var{webidl:X}=Tt(),{URLSerializer:fie}=lr(),{environmentSettingsObject:IU}=Pr(),{staticPropertyDescriptors:uo,states:Pu,sentCloseFrameState:gie,sendHints:$h}=ua(),{kWebSocketURL:BU,kReadyState:Sx,kController:QU,kBinaryType:Wh,kResponse:xU,kSentClose:yie,kByteParser:Eie}=Bu(),{isConnecting:Cie,isEstablished:Iie,isClosing:Bie,isValidSubprotocol:Qie,fireEvent:bU}=bu(),{establishWebSocketConnection:xie,closeWebSocketConnection:wU}=Ix(),{ByteParser:bie}=hU(),{kEnumerableProperty:dn,isBlobLike:NU}=ce(),{getGlobalDispatcher:wie}=Ah(),{types:SU}=require("node:util"),{ErrorEvent:Nie,CloseEvent:Sie}=rl(),{SendQueue:Rie}=CU(),Or=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#r="";#i="";#s;constructor(e,r=[]){super(),X.util.markAsUncloneable(this);let n="WebSocket constructor";X.argumentLengthCheck(arguments,1,n);let s=X.converters["DOMString or sequence<DOMString> or WebSocketInit"](r,n,"options");e=X.converters.USVString(e,n,"url"),r=s.protocols;let i=IU.settingsObject.baseUrl,a;try{a=new URL(e,i)}catch(l){throw new DOMException(l,"SyntaxError")}if(a.protocol==="http:"?a.protocol="ws:":a.protocol==="https:"&&(a.protocol="wss:"),a.protocol!=="ws:"&&a.protocol!=="wss:")throw new DOMException(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError");if(a.hash||a.href.endsWith("#"))throw new DOMException("Got fragment","SyntaxError");if(typeof r=="string"&&(r=[r]),r.length!==new Set(r.map(l=>l.toLowerCase())).size)throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(r.length>0&&!r.every(l=>Qie(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[BU]=new URL(a.href);let c=IU.settingsObject;this[QU]=xie(a,r,c,this,(l,A)=>this.#n(l,A),s),this[Sx]=t.CONNECTING,this[yie]=gie.NOT_SENT,this[Wh]="blob"}close(e=void 0,r=void 0){X.brandCheck(this,t);let n="WebSocket.close";if(e!==void 0&&(e=X.converters["unsigned short"](e,n,"code",{clamp:!0})),r!==void 0&&(r=X.converters.USVString(r,n,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let s=0;if(r!==void 0&&(s=Buffer.byteLength(r),s>123))throw new DOMException(`Reason must be less than 123 bytes; received ${s}`,"SyntaxError");wU(this,e,r,s)}send(e){X.brandCheck(this,t);let r="WebSocket.send";if(X.argumentLengthCheck(arguments,1,r),e=X.converters.WebSocketSendData(e,r,"data"),Cie(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!Iie(this)||Bie(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#s.add(e,()=>{this.#t-=n},$h.string)}else SU.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#s.add(e,()=>{this.#t-=e.byteLength},$h.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#s.add(e,()=>{this.#t-=e.byteLength},$h.typedArray)):NU(e)&&(this.#t+=e.size,this.#s.add(e,()=>{this.#t-=e.size},$h.blob))}get readyState(){return X.brandCheck(this,t),this[Sx]}get bufferedAmount(){return X.brandCheck(this,t),this.#t}get url(){return X.brandCheck(this,t),fie(this[BU])}get extensions(){return X.brandCheck(this,t),this.#i}get protocol(){return X.brandCheck(this,t),this.#r}get onopen(){return X.brandCheck(this,t),this.#e.open}set onopen(e){X.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 X.brandCheck(this,t),this.#e.error}set onerror(e){X.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 X.brandCheck(this,t),this.#e.close}set onclose(e){X.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 X.brandCheck(this,t),this.#e.message}set onmessage(e){X.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 X.brandCheck(this,t),this[Wh]}set binaryType(e){X.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Wh]="blob":this[Wh]=e}#n(e,r){this[xU]=e;let n=this[QU]?.dispatcher?.webSocketOptions,s=n?.maxFragments,i=n?.maxPayloadSize,a=new bie(this,r,{maxFragments:s,maxPayloadSize:i});a.on("drain",vie),a.on("error",Pie.bind(this)),e.socket.ws=this,this[Eie]=a,this.#s=new Rie(e.socket),this[Sx]=Pu.OPEN;let c=e.headersList.get("sec-websocket-extensions");c!==null&&(this.#i=c);let l=e.headersList.get("sec-websocket-protocol");l!==null&&(this.#r=l),bU("open",this)}};Or.CONNECTING=Or.prototype.CONNECTING=Pu.CONNECTING;Or.OPEN=Or.prototype.OPEN=Pu.OPEN;Or.CLOSING=Or.prototype.CLOSING=Pu.CLOSING;Or.CLOSED=Or.prototype.CLOSED=Pu.CLOSED;Object.defineProperties(Or.prototype,{CONNECTING:uo,OPEN:uo,CLOSING:uo,CLOSED:uo,url:dn,readyState:dn,bufferedAmount:dn,onopen:dn,onerror:dn,onclose:dn,close:dn,onmessage:dn,binaryType:dn,send:dn,extensions:dn,protocol:dn,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Or,{CONNECTING:uo,OPEN:uo,CLOSING:uo,CLOSED:uo});X.converters["sequence<DOMString>"]=X.sequenceConverter(X.converters.DOMString);X.converters["DOMString or sequence<DOMString>"]=function(t,e,r){return X.util.Type(t)==="Object"&&Symbol.iterator in t?X.converters["sequence<DOMString>"](t):X.converters.DOMString(t,e,r)};X.converters.WebSocketInit=X.dictionaryConverter([{key:"protocols",converter:X.converters["DOMString or sequence<DOMString>"],defaultValue:o(()=>new Array(0),"defaultValue")},{key:"dispatcher",converter:X.converters.any,defaultValue:o(()=>wie(),"defaultValue")},{key:"headers",converter:X.nullableConverter(X.converters.HeadersInit)}]);X.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(t){return X.util.Type(t)==="Object"&&!(Symbol.iterator in t)?X.converters.WebSocketInit(t):{protocols:X.converters["DOMString or sequence<DOMString>"](t)}};X.converters.WebSocketSendData=function(t){if(X.util.Type(t)==="Object"){if(NU(t))return X.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||SU.isArrayBuffer(t))return X.converters.BufferSource(t)}return X.converters.USVString(t)};function vie(){this.ws[xU].socket.resume()}o(vie,"onParserDrain");function Pie(t){let e,r;t instanceof Sie?(e=t.reason,r=t.code):e=t.message,bU("error",this,()=>new Nie("error",{error:t,message:e})),wU(this,r)}o(Pie,"onParserError");RU.exports={WebSocket:Or}});var Rx=g((Tve,PU)=>{"use strict";function Die(t){return t.indexOf("\0")===-1}o(Die,"isValidLastEventId");function Tie(t){if(t.length===0)return!1;for(let e=0;e<t.length;e++)if(t.charCodeAt(e)<48||t.charCodeAt(e)>57)return!1;return!0}o(Tie,"isASCIINumber");function kie(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(kie,"delay");PU.exports={isValidLastEventId:Die,isASCIINumber:Tie,delay:kie}});var MU=g((Mve,kU)=>{"use strict";var{Transform:Mie}=require("node:stream"),{isASCIINumber:DU,isValidLastEventId:TU}=Rx(),Ci=[239,187,191],vx=10,jh=13,Lie=58,_ie=32,Px=class extends Mie{static{o(this,"EventSourceStream")}state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,r,n){if(e.length===0){n();return}if(this.buffer?this.buffer=Buffer.concat([this.buffer,e]):this.buffer=e,this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===Ci[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===Ci[0]&&this.buffer[1]===Ci[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===Ci[0]&&this.buffer[1]===Ci[1]&&this.buffer[2]===Ci[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===Ci[0]&&this.buffer[1]===Ci[1]&&this.buffer[2]===Ci[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos<this.buffer.length;){if(this.eventEndCheck){if(this.crlfCheck){if(this.buffer[this.pos]===vx){this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.crlfCheck=!1;continue}this.crlfCheck=!1}if(this.buffer[this.pos]===vx||this.buffer[this.pos]===jh){this.buffer[this.pos]===jh&&(this.crlfCheck=!0),this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,(this.event.data!==void 0||this.event.event||this.event.id||this.event.retry)&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(this.buffer[this.pos]===vx||this.buffer[this.pos]===jh){this.buffer[this.pos]===jh&&(this.crlfCheck=!0),this.parseLine(this.buffer.subarray(0,this.pos),this.event),this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.eventEndCheck=!0;continue}this.pos++}n()}parseLine(e,r){if(e.length===0)return;let n=e.indexOf(Lie);if(n===0)return;let s="",i="";if(n!==-1){s=e.subarray(0,n).toString("utf8");let a=n+1;e[a]===_ie&&++a,i=e.subarray(a).toString("utf8")}else s=e.toString("utf8"),i="";switch(s){case"data":r[s]===void 0?r[s]=i:r[s]+=`
${i}`;break;case"retry":DU(i)&&(r[s]=i);break;case"id":TU(i)&&(r[s]=i);break;case"event":i.length>0&&(r[s]=i);break}}processEvent(e){e.retry&&DU(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&TU(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}}};kU.exports={EventSourceStream:Px}});var zU=g((_ve,HU)=>{"use strict";var{pipeline:Fie}=require("node:stream"),{fetching:Uie}=yu(),{makeRequest:Oie}=jc(),{webidl:Ii}=Tt(),{EventSourceStream:qie}=MU(),{parseMIMEType:Hie}=lr(),{createFastMessageEvent:zie}=rl(),{isNetworkError:LU}=fu(),{delay:Gie}=Rx(),{kEnumerableProperty:da}=ce(),{environmentSettingsObject:_U}=Pr(),FU=!1,UU=3e3,Du=0,OU=1,Tu=2,Yie="anonymous",Vie="use-credentials",al=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#r=!1;#i=Du;#s=null;#n=null;#o;#a;constructor(e,r={}){super(),Ii.util.markAsUncloneable(this);let n="EventSource constructor";Ii.argumentLengthCheck(arguments,1,n),FU||(FU=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Ii.converters.USVString(e,n,"url"),r=Ii.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:UU};let s=_U,i;try{i=new URL(e,s.settingsObject.baseUrl),this.#a.origin=i.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=i.href;let a=Yie;r.withCredentials&&(a=Vie,this.#r=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=_U.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#s=Oie(c),this.#l()}get readyState(){return this.#i}get url(){return this.#t}get withCredentials(){return this.#r}#l(){if(this.#i===Tu)return;this.#i=Du;let e={request:this.#s,dispatcher:this.#o},r=o(n=>{LU(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(LU(n))if(n.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#c();return}let s=n.headersList.get("content-type",!0),i=s!==null?Hie(s):"failure",a=i!=="failure"&&i.essence==="text/event-stream";if(n.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#i=OU,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new qie({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(zie(l.type,l.options))},"push")});Fie(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#n=Uie(e)}async#c(){this.#i!==Tu&&(this.#i=Du,this.dispatchEvent(new Event("error")),await Gie(this.#a.reconnectionTime),this.#i===Du&&(this.#a.lastEventId.length&&this.#s.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#l()))}close(){Ii.brandCheck(this,t),this.#i!==Tu&&(this.#i=Tu,this.#n.abort(),this.#s=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}},qU={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:Du,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:OU,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:Tu,writable:!1}};Object.defineProperties(al,qU);Object.defineProperties(al.prototype,qU);Object.defineProperties(al.prototype,{close:da,onerror:da,onmessage:da,onopen:da,readyState:da,url:da,withCredentials:da});Ii.converters.EventSourceInitDict=Ii.dictionaryConverter([{key:"withCredentials",converter:Ii.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:Ii.converters.any}]);HU.exports={EventSource:al,defaultReconnectionTime:UU}});var Dx=g((Uve,K)=>{"use strict";var Jie=kc(),GU=_A(),$ie=Mc(),Wie=qL(),jie=Lc(),Kie=XB(),Xie=u_(),Zie=y_(),YU=Ee(),Xh=ce(),{InvalidArgumentError:Kh}=YU,cl=s1(),eoe=UA(),toe=TQ(),roe=O1(),noe=LQ(),soe=CQ(),ioe=eh(),{getGlobalDispatcher:VU,setGlobalDispatcher:ooe}=Ah(),aoe=uh(),coe=zp(),loe=Gp();Object.assign(GU.prototype,cl);K.exports.Dispatcher=GU;K.exports.Client=Jie;K.exports.Pool=$ie;K.exports.BalancedPool=Wie;K.exports.Agent=jie;K.exports.ProxyAgent=Kie;K.exports.EnvHttpProxyAgent=Xie;K.exports.RetryAgent=Zie;K.exports.RetryHandler=ioe;K.exports.DecoratorHandler=aoe;K.exports.RedirectHandler=coe;K.exports.createRedirectInterceptor=loe;K.exports.interceptors={redirect:J1(),retry:W1(),dump:K1(),dns:e2()};K.exports.buildConnector=eoe;K.exports.errors=YU;K.exports.util={parseHeaders:Xh.parseHeaders,headerNameToString:Xh.headerNameToString};function ku(t){return(e,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new Kh("invalid url");if(r!=null&&typeof r!="object")throw new Kh("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new Kh("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(Xh.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=Xh.parseURL(e);let{agent:s,dispatcher:i=VU()}=r;if(s)throw new Kh("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")},n)}}o(ku,"makeDispatcher");K.exports.setGlobalDispatcher=ooe;K.exports.getGlobalDispatcher=VU;var Aoe=yu().fetch;K.exports.fetch=o(async function(e,r=void 0){try{return await Aoe(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");K.exports.Headers=ia().Headers;K.exports.Response=fu().Response;K.exports.Request=jc().Request;K.exports.FormData=VA().FormData;K.exports.File=globalThis.File??require("node:buffer").File;K.exports.FileReader=fF().FileReader;var{setGlobalOrigin:uoe,getGlobalOrigin:doe}=ZI();K.exports.setGlobalOrigin=uoe;K.exports.getGlobalOrigin=doe;var{CacheStorage:moe}=bF(),{kConstruct:poe}=Dh();K.exports.caches=new moe(poe);var{deleteCookie:hoe,getCookies:foe,getSetCookies:goe,setCookie:yoe}=LF();K.exports.deleteCookie=hoe;K.exports.getCookies=foe;K.exports.getSetCookies=goe;K.exports.setCookie=yoe;var{parseMIMEType:Eoe,serializeAMimeType:Coe}=lr();K.exports.parseMIMEType=Eoe;K.exports.serializeAMimeType=Coe;var{CloseEvent:Ioe,ErrorEvent:Boe,MessageEvent:Qoe}=rl();K.exports.WebSocket=vU().WebSocket;K.exports.CloseEvent=Ioe;K.exports.ErrorEvent=Boe;K.exports.MessageEvent=Qoe;K.exports.request=ku(cl.request);K.exports.stream=ku(cl.stream);K.exports.pipeline=ku(cl.pipeline);K.exports.connect=ku(cl.connect);K.exports.upgrade=ku(cl.upgrade);K.exports.MockClient=toe;K.exports.MockPool=noe;K.exports.MockAgent=roe;K.exports.mockErrors=soe;var{EventSource:xoe}=zU();K.exports.EventSource=xoe});var Hu=g((pDe,bO)=>{"use strict";var Yoe="2.0.0",Voe=Number.MAX_SAFE_INTEGER||9007199254740991,Joe=16,$oe=250,Woe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];bO.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Joe,MAX_SAFE_BUILD_LENGTH:$oe,MAX_SAFE_INTEGER:Voe,RELEASE_TYPES:Woe,SEMVER_SPEC_VERSION:Yoe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var zu=g((hDe,wO)=>{"use strict";var joe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};wO.exports=joe});var pl=g((Es,NO)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Zx,MAX_SAFE_BUILD_LENGTH:Koe,MAX_LENGTH:Xoe}=Hu(),Zoe=zu();Es=NO.exports={};var eae=Es.re=[],tae=Es.safeRe=[],M=Es.src=[],rae=Es.safeSrc=[],L=Es.t={},nae=0,eb="[a-zA-Z0-9-]",sae=[["\\s",1],["\\d",Xoe],[eb,Koe]],iae=o(t=>{for(let[e,r]of sae)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),te=o((t,e,r)=>{let n=iae(e),s=nae++;Zoe(t,s,e),L[t]=s,M[s]=e,rae[s]=n,eae[s]=new RegExp(e,r?"g":void 0),tae[s]=new RegExp(n,r?"g":void 0)},"createToken");te("NUMERICIDENTIFIER","0|[1-9]\\d*");te("NUMERICIDENTIFIERLOOSE","\\d+");te("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${eb}*`);te("MAINVERSION",`(${M[L.NUMERICIDENTIFIER]})\\.(${M[L.NUMERICIDENTIFIER]})\\.(${M[L.NUMERICIDENTIFIER]})`);te("MAINVERSIONLOOSE",`(${M[L.NUMERICIDENTIFIERLOOSE]})\\.(${M[L.NUMERICIDENTIFIERLOOSE]})\\.(${M[L.NUMERICIDENTIFIERLOOSE]})`);te("PRERELEASEIDENTIFIER",`(?:${M[L.NONNUMERICIDENTIFIER]}|${M[L.NUMERICIDENTIFIER]})`);te("PRERELEASEIDENTIFIERLOOSE",`(?:${M[L.NONNUMERICIDENTIFIER]}|${M[L.NUMERICIDENTIFIERLOOSE]})`);te("PRERELEASE",`(?:-(${M[L.PRERELEASEIDENTIFIER]}(?:\\.${M[L.PRERELEASEIDENTIFIER]})*))`);te("PRERELEASELOOSE",`(?:-?(${M[L.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${M[L.PRERELEASEIDENTIFIERLOOSE]})*))`);te("BUILDIDENTIFIER",`${eb}+`);te("BUILD",`(?:\\+(${M[L.BUILDIDENTIFIER]}(?:\\.${M[L.BUILDIDENTIFIER]})*))`);te("FULLPLAIN",`v?${M[L.MAINVERSION]}${M[L.PRERELEASE]}?${M[L.BUILD]}?`);te("FULL",`^${M[L.FULLPLAIN]}$`);te("LOOSEPLAIN",`[v=\\s]*${M[L.MAINVERSIONLOOSE]}${M[L.PRERELEASELOOSE]}?${M[L.BUILD]}?`);te("LOOSE",`^${M[L.LOOSEPLAIN]}$`);te("GTLT","((?:<|>)?=?)");te("XRANGEIDENTIFIERLOOSE",`${M[L.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);te("XRANGEIDENTIFIER",`${M[L.NUMERICIDENTIFIER]}|x|X|\\*`);te("XRANGEPLAIN",`[v=\\s]*(${M[L.XRANGEIDENTIFIER]})(?:\\.(${M[L.XRANGEIDENTIFIER]})(?:\\.(${M[L.XRANGEIDENTIFIER]})(?:${M[L.PRERELEASE]})?${M[L.BUILD]}?)?)?`);te("XRANGEPLAINLOOSE",`[v=\\s]*(${M[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[L.XRANGEIDENTIFIERLOOSE]})(?:${M[L.PRERELEASELOOSE]})?${M[L.BUILD]}?)?)?`);te("XRANGE",`^${M[L.GTLT]}\\s*${M[L.XRANGEPLAIN]}$`);te("XRANGELOOSE",`^${M[L.GTLT]}\\s*${M[L.XRANGEPLAINLOOSE]}$`);te("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Zx}})(?:\\.(\\d{1,${Zx}}))?(?:\\.(\\d{1,${Zx}}))?`);te("COERCE",`${M[L.COERCEPLAIN]}(?:$|[^\\d])`);te("COERCEFULL",M[L.COERCEPLAIN]+`(?:${M[L.PRERELEASE]})?(?:${M[L.BUILD]})?(?:$|[^\\d])`);te("COERCERTL",M[L.COERCE],!0);te("COERCERTLFULL",M[L.COERCEFULL],!0);te("LONETILDE","(?:~>?)");te("TILDETRIM",`(\\s*)${M[L.LONETILDE]}\\s+`,!0);Es.tildeTrimReplace="$1~";te("TILDE",`^${M[L.LONETILDE]}${M[L.XRANGEPLAIN]}$`);te("TILDELOOSE",`^${M[L.LONETILDE]}${M[L.XRANGEPLAINLOOSE]}$`);te("LONECARET","(?:\\^)");te("CARETTRIM",`(\\s*)${M[L.LONECARET]}\\s+`,!0);Es.caretTrimReplace="$1^";te("CARET",`^${M[L.LONECARET]}${M[L.XRANGEPLAIN]}$`);te("CARETLOOSE",`^${M[L.LONECARET]}${M[L.XRANGEPLAINLOOSE]}$`);te("COMPARATORLOOSE",`^${M[L.GTLT]}\\s*(${M[L.LOOSEPLAIN]})$|^$`);te("COMPARATOR",`^${M[L.GTLT]}\\s*(${M[L.FULLPLAIN]})$|^$`);te("COMPARATORTRIM",`(\\s*)${M[L.GTLT]}\\s*(${M[L.LOOSEPLAIN]}|${M[L.XRANGEPLAIN]})`,!0);Es.comparatorTrimReplace="$1$2$3";te("HYPHENRANGE",`^\\s*(${M[L.XRANGEPLAIN]})\\s+-\\s+(${M[L.XRANGEPLAIN]})\\s*$`);te("HYPHENRANGELOOSE",`^\\s*(${M[L.XRANGEPLAINLOOSE]})\\s+-\\s+(${M[L.XRANGEPLAINLOOSE]})\\s*$`);te("STAR","(<|>)?=?\\s*\\*");te("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");te("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var of=g((gDe,SO)=>{"use strict";var oae=Object.freeze({loose:!0}),aae=Object.freeze({}),cae=o(t=>t?typeof t!="object"?oae:t:aae,"parseOptions");SO.exports=cae});var tb=g((EDe,PO)=>{"use strict";var RO=/^[0-9]+$/,vO=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=RO.test(t),n=RO.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},"compareIdentifiers"),lae=o((t,e)=>vO(e,t),"rcompareIdentifiers");PO.exports={compareIdentifiers:vO,rcompareIdentifiers:lae}});var Ot=g((IDe,TO)=>{"use strict";var af=zu(),{MAX_LENGTH:DO,MAX_SAFE_INTEGER:cf}=Hu(),{safeRe:lf,t:Af}=pl(),Aae=of(),{compareIdentifiers:rb}=tb(),nb=class t{static{o(this,"SemVer")}constructor(e,r){if(r=Aae(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>DO)throw new TypeError(`version is longer than ${DO} characters`);af("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?lf[Af.LOOSE]:lf[Af.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>cf||this.major<0)throw new TypeError("Invalid major version");if(this.minor>cf||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>cf||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){let i=+s;if(i>=0&&i<cf)return i}return s}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(af("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let n=this.prerelease[r],s=e.prerelease[r];if(af("prerelease compare",r,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return rb(n,s)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let n=this.build[r],s=e.build[r];if(af("build compare",r,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return rb(n,s)}while(++r)}inc(e,r,n){if(e.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let s=`-${r}`.match(this.options.loose?lf[Af.PRERELEASELOOSE]:lf[Af.PRERELEASE]);if(!s||s[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let s=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[s];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(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(r){let i=[r,s];n===!1&&(i=[r]),rb(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}};TO.exports=nb});var ga=g((QDe,MO)=>{"use strict";var kO=Ot(),uae=o((t,e,r=!1)=>{if(t instanceof kO)return t;try{return new kO(t,e)}catch(n){if(!r)return null;throw n}},"parse");MO.exports=uae});var _O=g((bDe,LO)=>{"use strict";var dae=ga(),mae=o((t,e)=>{let r=dae(t,e);return r?r.version:null},"valid");LO.exports=mae});var UO=g((NDe,FO)=>{"use strict";var pae=ga(),hae=o((t,e)=>{let r=pae(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");FO.exports=hae});var HO=g((RDe,qO)=>{"use strict";var OO=Ot(),fae=o((t,e,r,n,s)=>{typeof r=="string"&&(s=n,n=r,r=void 0);try{return new OO(t instanceof OO?t.version:t,r).inc(e,n,s).version}catch{return null}},"inc");qO.exports=fae});var YO=g((PDe,GO)=>{"use strict";var zO=ga(),gae=o((t,e)=>{let r=zO(t,null,!0),n=zO(e,null,!0),s=r.compare(n);if(s===0)return null;let i=s>0,a=i?r:n,c=i?n:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let u=l?"pre":"";return r.major!==n.major?u+"major":r.minor!==n.minor?u+"minor":r.patch!==n.patch?u+"patch":"prerelease"},"diff");GO.exports=gae});var JO=g((TDe,VO)=>{"use strict";var yae=Ot(),Eae=o((t,e)=>new yae(t,e).major,"major");VO.exports=Eae});var WO=g((MDe,$O)=>{"use strict";var Cae=Ot(),Iae=o((t,e)=>new Cae(t,e).minor,"minor");$O.exports=Iae});var KO=g((_De,jO)=>{"use strict";var Bae=Ot(),Qae=o((t,e)=>new Bae(t,e).patch,"patch");jO.exports=Qae});var ZO=g((UDe,XO)=>{"use strict";var xae=ga(),bae=o((t,e)=>{let r=xae(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");XO.exports=bae});var mn=g((qDe,tq)=>{"use strict";var eq=Ot(),wae=o((t,e,r)=>new eq(t,r).compare(new eq(e,r)),"compare");tq.exports=wae});var nq=g((zDe,rq)=>{"use strict";var Nae=mn(),Sae=o((t,e,r)=>Nae(e,t,r),"rcompare");rq.exports=Sae});var iq=g((YDe,sq)=>{"use strict";var Rae=mn(),vae=o((t,e)=>Rae(t,e,!0),"compareLoose");sq.exports=vae});var uf=g((JDe,aq)=>{"use strict";var oq=Ot(),Pae=o((t,e,r)=>{let n=new oq(t,r),s=new oq(e,r);return n.compare(s)||n.compareBuild(s)},"compareBuild");aq.exports=Pae});var lq=g((WDe,cq)=>{"use strict";var Dae=uf(),Tae=o((t,e)=>t.sort((r,n)=>Dae(r,n,e)),"sort");cq.exports=Tae});var uq=g((KDe,Aq)=>{"use strict";var kae=uf(),Mae=o((t,e)=>t.sort((r,n)=>kae(n,r,e)),"rsort");Aq.exports=Mae});var Gu=g((ZDe,dq)=>{"use strict";var Lae=mn(),_ae=o((t,e,r)=>Lae(t,e,r)>0,"gt");dq.exports=_ae});var df=g((tTe,mq)=>{"use strict";var Fae=mn(),Uae=o((t,e,r)=>Fae(t,e,r)<0,"lt");mq.exports=Uae});var sb=g((nTe,pq)=>{"use strict";var Oae=mn(),qae=o((t,e,r)=>Oae(t,e,r)===0,"eq");pq.exports=qae});var ib=g((iTe,hq)=>{"use strict";var Hae=mn(),zae=o((t,e,r)=>Hae(t,e,r)!==0,"neq");hq.exports=zae});var mf=g((aTe,fq)=>{"use strict";var Gae=mn(),Yae=o((t,e,r)=>Gae(t,e,r)>=0,"gte");fq.exports=Yae});var pf=g((lTe,gq)=>{"use strict";var Vae=mn(),Jae=o((t,e,r)=>Vae(t,e,r)<=0,"lte");gq.exports=Jae});var ob=g((uTe,yq)=>{"use strict";var $ae=sb(),Wae=ib(),jae=Gu(),Kae=mf(),Xae=df(),Zae=pf(),ece=o((t,e,r,n)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return $ae(t,r,n);case"!=":return Wae(t,r,n);case">":return jae(t,r,n);case">=":return Kae(t,r,n);case"<":return Xae(t,r,n);case"<=":return Zae(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");yq.exports=ece});var Cq=g((mTe,Eq)=>{"use strict";var tce=Ot(),rce=ga(),{safeRe:hf,t:ff}=pl(),nce=o((t,e)=>{if(t instanceof tce)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?hf[ff.COERCEFULL]:hf[ff.COERCE]);else{let l=e.includePrerelease?hf[ff.COERCERTLFULL]:hf[ff.COERCERTL],A;for(;(A=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||A.index+A[0].length!==r.index+r[0].length)&&(r=A),l.lastIndex=A.index+A[1].length+A[2].length;l.lastIndex=-1}if(r===null)return null;let n=r[2],s=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return rce(`${n}.${s}.${i}${a}${c}`,e)},"coerce");Eq.exports=nce});var Bq=g((hTe,Iq)=>{"use strict";var ab=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let s=this.map.keys().next().value;this.delete(s)}this.map.set(e,r)}return this}};Iq.exports=ab});var pn=g((gTe,wq)=>{"use strict";var sce=/\s+/g,cb=class t{static{o(this,"Range")}constructor(e,r){if(r=oce(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof lb)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(sce," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(s=>!xq(s[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let s of this.set)if(s.length===1&&mce(s[0])){this.set=[s];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let r=this.set[e];for(let n=0;n<r.length;n++)n>0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let n=((this.options.includePrerelease&&uce)|(this.options.loose&&dce))+":"+e,s=Qq.get(n);if(s)return s;let i=this.options.loose,a=i?Xt[qt.HYPHENRANGELOOSE]:Xt[qt.HYPHENRANGE];e=e.replace(a,Qce(this.options.includePrerelease)),_e("hyphen replace",e),e=e.replace(Xt[qt.COMPARATORTRIM],cce),_e("comparator trim",e),e=e.replace(Xt[qt.TILDETRIM],lce),_e("tilde trim",e),e=e.replace(Xt[qt.CARETTRIM],Ace),_e("caret trim",e);let c=e.split(" ").map(d=>pce(d,this.options)).join(" ").split(/\s+/).map(d=>Bce(d,this.options));i&&(c=c.filter(d=>(_e("loose invalid filter",d,this.options),!!d.match(Xt[qt.COMPARATORLOOSE])))),_e("range list",c);let l=new Map,A=c.map(d=>new lb(d,this.options));for(let d of A){if(xq(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let u=[...l.values()];return Qq.set(n,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>bq(n,r)&&e.set.some(s=>bq(s,r)&&n.every(i=>s.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new ace(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(xce(this.set[r],e,this.options))return!0;return!1}};wq.exports=cb;var ice=Bq(),Qq=new ice,oce=of(),lb=Yu(),_e=zu(),ace=Ot(),{safeRe:Xt,t:qt,comparatorTrimReplace:cce,tildeTrimReplace:lce,caretTrimReplace:Ace}=pl(),{FLAG_INCLUDE_PRERELEASE:uce,FLAG_LOOSE:dce}=Hu(),xq=o(t=>t.value==="<0.0.0-0","isNullSet"),mce=o(t=>t.value==="","isAny"),bq=o((t,e)=>{let r=!0,n=t.slice(),s=n.pop();for(;r&&n.length;)r=n.every(i=>s.intersects(i,e)),s=n.pop();return r},"isSatisfiable"),pce=o((t,e)=>(t=t.replace(Xt[qt.BUILD],""),_e("comp",t,e),t=gce(t,e),_e("caret",t),t=hce(t,e),_e("tildes",t),t=Ece(t,e),_e("xrange",t),t=Ice(t,e),_e("stars",t),t),"parseComparator"),Zt=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),hce=o((t,e)=>t.trim().split(/\s+/).map(r=>fce(r,e)).join(" "),"replaceTildes"),fce=o((t,e)=>{let r=e.loose?Xt[qt.TILDELOOSE]:Xt[qt.TILDE];return t.replace(r,(n,s,i,a,c)=>{_e("tilde",t,n,s,i,a,c);let l;return Zt(s)?l="":Zt(i)?l=`>=${s}.0.0 <${+s+1}.0.0-0`:Zt(a)?l=`>=${s}.${i}.0 <${s}.${+i+1}.0-0`:c?(_e("replaceTilde pr",c),l=`>=${s}.${i}.${a}-${c} <${s}.${+i+1}.0-0`):l=`>=${s}.${i}.${a} <${s}.${+i+1}.0-0`,_e("tilde return",l),l})},"replaceTilde"),gce=o((t,e)=>t.trim().split(/\s+/).map(r=>yce(r,e)).join(" "),"replaceCarets"),yce=o((t,e)=>{_e("caret",t,e);let r=e.loose?Xt[qt.CARETLOOSE]:Xt[qt.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(s,i,a,c,l)=>{_e("caret",t,s,i,a,c,l);let A;return Zt(i)?A="":Zt(a)?A=`>=${i}.0.0${n} <${+i+1}.0.0-0`:Zt(c)?i==="0"?A=`>=${i}.${a}.0${n} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.0${n} <${+i+1}.0.0-0`:l?(_e("replaceCaret pr",l),i==="0"?a==="0"?A=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:A=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):(_e("no pr"),i==="0"?a==="0"?A=`>=${i}.${a}.${c}${n} <${i}.${a}.${+c+1}-0`:A=`>=${i}.${a}.${c}${n} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),_e("caret return",A),A})},"replaceCaret"),Ece=o((t,e)=>(_e("replaceXRanges",t,e),t.split(/\s+/).map(r=>Cce(r,e)).join(" ")),"replaceXRanges"),Cce=o((t,e)=>{t=t.trim();let r=e.loose?Xt[qt.XRANGELOOSE]:Xt[qt.XRANGE];return t.replace(r,(n,s,i,a,c,l)=>{_e("xRange",t,n,s,i,a,c,l);let A=Zt(i),u=A||Zt(a),d=u||Zt(c),m=d;return s==="="&&m&&(s=""),l=e.includePrerelease?"-0":"",A?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&m?(u&&(a=0),c=0,s===">"?(s=">=",u?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):s==="<="&&(s="<",u?i=+i+1:a=+a+1),s==="<"&&(l="-0"),n=`${s+i}.${a}.${c}${l}`):u?n=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),_e("xRange return",n),n})},"replaceXRange"),Ice=o((t,e)=>(_e("replaceStars",t,e),t.trim().replace(Xt[qt.STAR],"")),"replaceStars"),Bce=o((t,e)=>(_e("replaceGTE0",t,e),t.trim().replace(Xt[e.includePrerelease?qt.GTE0PRE:qt.GTE0],"")),"replaceGTE0"),Qce=o(t=>(e,r,n,s,i,a,c,l,A,u,d,m)=>(Zt(n)?r="":Zt(s)?r=`>=${n}.0.0${t?"-0":""}`:Zt(i)?r=`>=${n}.${s}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Zt(A)?l="":Zt(u)?l=`<${+A+1}.0.0-0`:Zt(d)?l=`<${A}.${+u+1}.0-0`:m?l=`<=${A}.${u}.${d}-${m}`:t?l=`<${A}.${u}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),xce=o((t,e,r)=>{for(let n=0;n<t.length;n++)if(!t[n].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(let n=0;n<t.length;n++)if(_e(t[n].semver),t[n].semver!==lb.ANY&&t[n].semver.prerelease.length>0){let s=t[n].semver;if(s.major===e.major&&s.minor===e.minor&&s.patch===e.patch)return!0}return!1}return!0},"testSet")});var Yu=g((ETe,Dq)=>{"use strict";var Vu=Symbol("SemVer ANY"),db=class t{static{o(this,"Comparator")}static get ANY(){return Vu}constructor(e,r){if(r=Nq(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),ub("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Vu?this.value="":this.value=this.operator+this.semver.version,ub("comp",this)}parse(e){let r=this.options.loose?Sq[Rq.COMPARATORLOOSE]:Sq[Rq.COMPARATOR],n=e.match(r);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new vq(n[2],this.options.loose):this.semver=Vu}toString(){return this.value}test(e){if(ub("Comparator.test",e,this.options.loose),this.semver===Vu||e===Vu)return!0;if(typeof e=="string")try{e=new vq(e,this.options)}catch{return!1}return Ab(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 Pq(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new Pq(this.value,r).test(e.semver):(r=Nq(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("=")||Ab(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Ab(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Dq.exports=db;var Nq=of(),{safeRe:Sq,t:Rq}=pl(),Ab=ob(),ub=zu(),vq=Ot(),Pq=pn()});var Ju=g((ITe,Tq)=>{"use strict";var bce=pn(),wce=o((t,e,r)=>{try{e=new bce(e,r)}catch{return!1}return e.test(t)},"satisfies");Tq.exports=wce});var Mq=g((QTe,kq)=>{"use strict";var Nce=pn(),Sce=o((t,e)=>new Nce(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");kq.exports=Sce});var _q=g((bTe,Lq)=>{"use strict";var Rce=Ot(),vce=pn(),Pce=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new vce(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===-1)&&(n=a,s=new Rce(n,r))}),n},"maxSatisfying");Lq.exports=Pce});var Uq=g((NTe,Fq)=>{"use strict";var Dce=Ot(),Tce=pn(),kce=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new Tce(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===1)&&(n=a,s=new Dce(n,r))}),n},"minSatisfying");Fq.exports=kce});var Hq=g((RTe,qq)=>{"use strict";var mb=Ot(),Mce=pn(),Oq=Gu(),Lce=o((t,e)=>{t=new Mce(t,e);let r=new mb("0.0.0");if(t.test(r)||(r=new mb("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n<t.set.length;++n){let s=t.set[n],i=null;s.forEach(a=>{let c=new mb(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||Oq(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||Oq(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");qq.exports=Lce});var Gq=g((PTe,zq)=>{"use strict";var _ce=pn(),Fce=o((t,e)=>{try{return new _ce(t,e).range||"*"}catch{return null}},"validRange");zq.exports=Fce});var gf=g((TTe,$q)=>{"use strict";var Uce=Ot(),Jq=Yu(),{ANY:Oce}=Jq,qce=pn(),Hce=Ju(),Yq=Gu(),Vq=df(),zce=pf(),Gce=mf(),Yce=o((t,e,r,n)=>{t=new Uce(t,n),e=new qce(e,n);let s,i,a,c,l;switch(r){case">":s=Yq,i=zce,a=Vq,c=">",l=">=";break;case"<":s=Vq,i=Gce,a=Yq,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Hce(t,e,n))return!1;for(let A=0;A<e.set.length;++A){let u=e.set[A],d=null,m=null;if(u.forEach(p=>{p.semver===Oce&&(p=new Jq(">=0.0.0")),d=d||p,m=m||p,s(p.semver,d.semver,n)?d=p:a(p.semver,m.semver,n)&&(m=p)}),d.operator===c||d.operator===l||(!m.operator||m.operator===c)&&i(t,m.semver))return!1;if(m.operator===l&&a(t,m.semver))return!1}return!0},"outside");$q.exports=Yce});var jq=g((MTe,Wq)=>{"use strict";var Vce=gf(),Jce=o((t,e,r)=>Vce(t,e,">",r),"gtr");Wq.exports=Jce});var Xq=g((_Te,Kq)=>{"use strict";var $ce=gf(),Wce=o((t,e,r)=>$ce(t,e,"<",r),"ltr");Kq.exports=Wce});var tH=g((UTe,eH)=>{"use strict";var Zq=pn(),jce=o((t,e,r)=>(t=new Zq(t,r),e=new Zq(e,r),t.intersects(e,r)),"intersects");eH.exports=jce});var nH=g((qTe,rH)=>{"use strict";var Kce=Ju(),Xce=mn();rH.exports=(t,e,r)=>{let n=[],s=null,i=null,a=t.sort((u,d)=>Xce(u,d,r));for(let u of a)Kce(u,e,r)?(i=u,s||(s=u)):(i&&n.push([s,i]),i=null,s=null);s&&n.push([s,null]);let c=[];for(let[u,d]of n)u===d?c.push(u):!d&&u===a[0]?c.push("*"):d?u===a[0]?c.push(`<=${d}`):c.push(`${u} - ${d}`):c.push(`>=${u}`);let l=c.join(" || "),A=typeof e.raw=="string"?e.raw:String(e);return l.length<A.length?l:e}});var lH=g((HTe,cH)=>{"use strict";var sH=pn(),hb=Yu(),{ANY:pb}=hb,$u=Ju(),fb=mn(),Zce=o((t,e,r={})=>{if(t===e)return!0;t=new sH(t,r),e=new sH(e,r);let n=!1;e:for(let s of t.set){for(let i of e.set){let a=tle(s,i,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),ele=[new hb(">=0.0.0-0")],iH=[new hb(">=0.0.0")],tle=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===pb){if(e.length===1&&e[0].semver===pb)return!0;r.includePrerelease?t=ele:t=iH}if(e.length===1&&e[0].semver===pb){if(r.includePrerelease)return!0;e=iH}let n=new Set,s,i;for(let p of t)p.operator===">"||p.operator===">="?s=oH(s,p,r):p.operator==="<"||p.operator==="<="?i=aH(i,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(s&&i){if(a=fb(s.semver,i.semver,r),a>0)return null;if(a===0&&(s.operator!==">="||i.operator!=="<="))return null}for(let p of n){if(s&&!$u(p,String(s),r)||i&&!$u(p,String(i),r))return null;for(let h of e)if(!$u(p,String(h),r))return!1;return!0}let c,l,A,u,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,m=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let p of e){if(u=u||p.operator===">"||p.operator===">=",A=A||p.operator==="<"||p.operator==="<=",s){if(m&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===m.major&&p.semver.minor===m.minor&&p.semver.patch===m.patch&&(m=!1),p.operator===">"||p.operator===">="){if(c=oH(s,p,r),c===p&&c!==s)return!1}else if(s.operator===">="&&!$u(s.semver,String(p),r))return!1}if(i){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(l=aH(i,p,r),l===p&&l!==i)return!1}else if(i.operator==="<="&&!$u(i.semver,String(p),r))return!1}if(!p.operator&&(i||s)&&a!==0)return!1}return!(s&&A&&!i&&a!==0||i&&u&&!s&&a!==0||m||d)},"simpleSubset"),oH=o((t,e,r)=>{if(!t)return e;let n=fb(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),aH=o((t,e,r)=>{if(!t)return e;let n=fb(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");cH.exports=Zce});var yb=g((GTe,dH)=>{"use strict";var gb=pl(),AH=Hu(),rle=Ot(),uH=tb(),nle=ga(),sle=_O(),ile=UO(),ole=HO(),ale=YO(),cle=JO(),lle=WO(),Ale=KO(),ule=ZO(),dle=mn(),mle=nq(),ple=iq(),hle=uf(),fle=lq(),gle=uq(),yle=Gu(),Ele=df(),Cle=sb(),Ile=ib(),Ble=mf(),Qle=pf(),xle=ob(),ble=Cq(),wle=Yu(),Nle=pn(),Sle=Ju(),Rle=Mq(),vle=_q(),Ple=Uq(),Dle=Hq(),Tle=Gq(),kle=gf(),Mle=jq(),Lle=Xq(),_le=tH(),Fle=nH(),Ule=lH();dH.exports={parse:nle,valid:sle,clean:ile,inc:ole,diff:ale,major:cle,minor:lle,patch:Ale,prerelease:ule,compare:dle,rcompare:mle,compareLoose:ple,compareBuild:hle,sort:fle,rsort:gle,gt:yle,lt:Ele,eq:Cle,neq:Ile,gte:Ble,lte:Qle,cmp:xle,coerce:ble,Comparator:wle,Range:Nle,satisfies:Sle,toComparators:Rle,maxSatisfying:vle,minSatisfying:Ple,minVersion:Dle,validRange:Tle,outside:kle,gtr:Mle,ltr:Lle,intersects:_le,simplifyRange:Fle,subset:Ule,SemVer:rle,re:gb.re,src:gb.src,tokens:gb.t,SEMVER_SPEC_VERSION:AH.SEMVER_SPEC_VERSION,RELEASE_TYPES:AH.RELEASE_TYPES,compareIdentifiers:uH.compareIdentifiers,rcompareIdentifiers:uH.rcompareIdentifiers}});var SH=g((Wke,NH)=>{NH.exports=function(t,e){for(var r=[],n=0;n<t.length;n++){var s=e(t[n],n);tAe(s)?r.push.apply(r,s):r.push(s)}return r};var tAe=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}});var TH=g((jke,DH)=>{"use strict";DH.exports=vH;function vH(t,e,r){t instanceof RegExp&&(t=RH(t,r)),e instanceof RegExp&&(e=RH(e,r));var n=PH(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}o(vH,"balanced");function RH(t,e){var r=e.match(t);return r?r[0]:null}o(RH,"maybeMatch");vH.range=PH;function PH(t,e,r){var n,s,i,a,c,l=r.indexOf(t),A=r.indexOf(e,l+1),u=l;if(l>=0&&A>0){if(t===e)return[l,A];for(n=[],i=r.length;u>=0&&!c;)u==l?(n.push(u),l=r.indexOf(t,u+1)):n.length==1?c=[n.pop(),A]:(s=n.pop(),s<i&&(i=s,a=A),A=r.indexOf(e,u+1)),u=l<A&&l>=0?l:A;n.length&&(c=[i,a])}return c}o(PH,"range")});var qH=g((Zke,OH)=>{var Xke=SH(),kH=TH();OH.exports=oAe;var MH="\0SLASH"+Math.random()+"\0",LH="\0OPEN"+Math.random()+"\0",Rb="\0CLOSE"+Math.random()+"\0",_H="\0COMMA"+Math.random()+"\0",FH="\0PERIOD"+Math.random()+"\0",rAe=1e5,nAe=4e6;function Nb(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(Nb,"numeric");function sAe(t){return t.split("\\\\").join(MH).split("\\{").join(LH).split("\\}").join(Rb).split("\\,").join(_H).split("\\.").join(FH)}o(sAe,"escapeBraces");function iAe(t){return t.split(MH).join("\\").split(LH).join("{").split(Rb).join("}").split(_H).join(",").split(FH).join(".")}o(iAe,"unescapeBraces");function UH(t){if(!t)return[""];var e=[],r=kH("{","}",t);if(!r)return t.split(",");var n=r.pre,s=r.body,i=r.post,a=n.split(",");a[a.length-1]+="{"+s+"}";var c=UH(i);return i.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(UH,"parseCommaParts");function oAe(t,e){if(!t)return[];e=e||{};var r=e.max==null?rAe:e.max,n=e.maxLength==null?nAe:e.maxLength;return t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),Sb(sAe(t),r,n,!0).map(iAe)}o(oAe,"expandTop");function aAe(t){return"{"+t+"}"}o(aAe,"embrace");function cAe(t){return/^-?0\d/.test(t)}o(cAe,"isPadded");function lAe(t,e){return t<=e}o(lAe,"lte");function AAe(t,e){return t>=e}o(AAe,"gte");function Zu(t,e,r,n,s,i,a,c){for(var l=[],A=0,u=0;u<t.length;u++)for(var d=0;d<n.length;d++){if(l.length>=s)return l;var m=t[u]+r+n[d];if(!(a&&m.length===e[u])){if(A+m.length>i)return l;l.push(m),c.push(e[u]),A+=m.length}}return l}o(Zu,"combine");function uAe(t,e,r,n){var s=t.split(/\.\./),i=[];if(s[0]===void 0||s[1]===void 0)return i;var a=Nb(s[0]),c=Nb(s[1]),l=Math.max(s[0].length,s[1].length),A=s.length===3&&s[2]!==void 0?Math.max(Math.abs(Nb(s[2])),1):1,u=lAe,d=c<a;d&&(A*=-1,u=AAe);for(var m=s.some(cAe),p=0,h=a;u(h,c)&&i.length<r;h+=A){var f;if(e)f=String.fromCharCode(h),f==="\\"&&(f="");else if(f=String(h),m){var C=l-f.length;if(C>0){var y=new Array(C+1).join("0");h<0?f="-"+y+f.slice(1):f=y+f}}if(p+f.length>n)break;i.push(f),p+=f.length}return i}o(uAe,"expandSequence");function Sb(t,e,r,n){for(var s=[""],i=[0],a=!1,c=!0,l;;){var A=kH("{","}",t);if(!A)return Zu(s,i,t,[""],e,r,a,[]);var u=A.pre;if(/\$$/.test(u))return Zu(s,i,t,[""],e,r,a,[]);var d=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(A.body),m=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(A.body),p=d||m,h=A.body.indexOf(",")>=0;if(!p&&!h){if(A.post.match(/,(?!,).*\}/)){t=A.pre+"{"+A.body+Rb+A.post,n=!0,c=!0,a=!1,i=[];for(var f=0;f<s.length;f++)i.push(s[f].length);continue}return Zu(s,i,u+"{"+A.body+"}"+A.post,[""],e,r,a,[])}c&&(a=n&&!p,c=!1);var C;if(p)C=uAe(A.body,m,e,r);else{var y=UH(A.body);if(y.length===1&&y[0]!==void 0&&(y=Sb(y[0],e,r,!1).map(aAe),y.length===1)){if(l=[],s=Zu(s,i,u+y[0],[""],e,r,a&&!A.post.length,l),i=l,!A.post.length)break;t=A.post;continue}for(var E=a&&!A.post.length&&!u,I=0;E&&I<s.length;I++)s[I].length!==i[I]&&(E=!1);C=[];var B=0;e:for(var N=0;N<y.length;N++)for(var k=Sb(y[N],e,r,!1),S=0;S<k.length;S++){var de=k[S];if(!(E&&!de)){if(C.length>=e||B+de.length>r)break e;C.push(de),B+=de.length}}}if(l=[],s=Zu(s,i,u,C,e,r,a&&!A.post.length,l),i=l,!A.post.length)break;t=A.post}return s}o(Sb,"expand")});var JH=g((tMe,VH)=>{VH.exports=Hr;Hr.Minimatch=kt;var ed=(function(){try{return require("path")}catch{}})()||{sep:"/"};Hr.sep=ed.sep;var Db=Hr.GLOBSTAR=kt.GLOBSTAR={},dAe=qH(),HH={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},vb="[^/]",Pb=vb+"*?",mAe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",pAe="(?:(?!(?:\\/|^)\\.).)*?",zH=hAe("().*{}+?[]^$\\!");function hAe(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(hAe,"charSet");var GH=/\/+/;Hr.filter=fAe;function fAe(t,e){return e=e||{},function(r,n,s){return Hr(r,t,e)}}o(fAe,"filter");function yo(t,e){e=e||{};var r={};return Object.keys(t).forEach(function(n){r[n]=t[n]}),Object.keys(e).forEach(function(n){r[n]=e[n]}),r}o(yo,"ext");Hr.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return Hr;var e=Hr,r=o(function(s,i,a){return e(s,i,yo(t,a))},"minimatch");return r.Minimatch=o(function(s,i){return new e.Minimatch(s,yo(t,i))},"Minimatch"),r.Minimatch.defaults=o(function(s){return e.defaults(yo(t,s)).Minimatch},"defaults"),r.filter=o(function(s,i){return e.filter(s,yo(t,i))},"filter"),r.defaults=o(function(s){return e.defaults(yo(t,s))},"defaults"),r.makeRe=o(function(s,i){return e.makeRe(s,yo(t,i))},"makeRe"),r.braceExpand=o(function(s,i){return e.braceExpand(s,yo(t,i))},"braceExpand"),r.match=function(n,s,i){return e.match(n,s,yo(t,i))},r};kt.defaults=function(t){return Hr.defaults(t).Minimatch};function Hr(t,e,r){return Bf(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new kt(e,r).match(t)}o(Hr,"minimatch");function kt(t,e){if(!(this instanceof kt))return new kt(t,e);Bf(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&ed.sep!=="/"&&(t=t.split(ed.sep).join("/")),this.options=e,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}o(kt,"Minimatch");kt.prototype.debug=function(){};kt.prototype.make=gAe;function gAe(){var t=this.pattern,e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=o(function(){console.error.apply(console,arguments)},"debug")),this.debug(this.pattern,r),r=this.globParts=r.map(function(n){return n.split(GH)}),this.debug(this.pattern,r),r=r.map(function(n,s,i){return n.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(n){return n.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}o(gAe,"make");kt.prototype.parseNegate=yAe;function yAe(){var t=this.pattern,e=!1,r=this.options,n=0;if(!r.nonegate){for(var s=0,i=t.length;s<i&&t.charAt(s)==="!";s++)e=!e,n++;n&&(this.pattern=t.substr(n)),this.negate=e}}o(yAe,"parseNegate");Hr.braceExpand=function(t,e){return YH(t,e)};kt.prototype.braceExpand=YH;function YH(t,e){return e||(this instanceof kt?e=this.options:e={}),t=typeof t>"u"?this.pattern:t,Bf(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:dAe(t)}o(YH,"braceExpand");var EAe=1024*64,Bf=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>EAe)throw new TypeError("pattern is too long")},"assertValidPattern");kt.prototype.parse=CAe;var If={};function CAe(t,e){Bf(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return Db;if(t==="")return"";var n="",s=!!r.nocase,i=!1,a=[],c=[],l,A=!1,u=-1,d=-1,m=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",p=this;function h(){if(l){switch(l){case"*":n+=Pb,s=!0;break;case"?":n+=vb,s=!0;break;default:n+="\\"+l;break}p.debug("clearStateChar %j %j",l,n),l=!1}}o(h,"clearStateChar");for(var f=0,C=t.length,y;f<C&&(y=t.charAt(f));f++){if(this.debug("%s %s %s %j",t,f,n,y),i&&zH[y]){n+="\\"+y,i=!1;continue}switch(y){case"/":return!1;case"\\":h(),i=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",t,f,n,y),A){this.debug(" in class"),y==="!"&&f===d+1&&(y="^"),n+=y;continue}p.debug("call clearStateChar %j",l),h(),l=y,r.noext&&h();continue;case"(":if(A){n+="(";continue}if(!l){n+="\\(";continue}a.push({type:l,start:f-1,reStart:n.length,open:HH[l].open,close:HH[l].close}),n+=l==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",l,n),l=!1;continue;case")":if(A||!a.length){n+="\\)";continue}h(),s=!0;var E=a.pop();n+=E.close,E.type==="!"&&c.push(E),E.reEnd=n.length;continue;case"|":if(A||!a.length||i){n+="\\|",i=!1;continue}h(),n+="|";continue;case"[":if(h(),A){n+="\\"+y;continue}A=!0,d=f,u=n.length,n+=y;continue;case"]":if(f===d+1||!A){n+="\\"+y,i=!1;continue}var I=t.substring(d+1,f);try{RegExp("["+I+"]")}catch{var B=this.parse(I,If);n=n.substr(0,u)+"\\["+B[0]+"\\]",s=s||B[1],A=!1;continue}s=!0,A=!1,n+=y;continue;default:h(),i?i=!1:zH[y]&&!(y==="^"&&A)&&(n+="\\"),n+=y}}for(A&&(I=t.substr(d+1),B=this.parse(I,If),n=n.substr(0,u)+"\\["+B[0],s=s||B[1]),E=a.pop();E;E=a.pop()){var N=n.slice(E.reStart+E.open.length);this.debug("setting tail",n,E),N=N.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(Je,is,vr){return vr||(vr="\\"),is+is+vr+"|"}),this.debug(`tail=%j
%s`,N,N,E,n);var k=E.type==="*"?Pb:E.type==="?"?vb:"\\"+E.type;s=!0,n=n.slice(0,E.reStart)+k+"\\("+N}h(),i&&(n+="\\\\");var S=!1;switch(n.charAt(0)){case"[":case".":case"(":S=!0}for(var de=c.length-1;de>-1;de--){var ye=c[de],Qe=n.slice(0,ye.reStart),Ne=n.slice(ye.reStart,ye.reEnd-8),ae=n.slice(ye.reEnd-8,ye.reEnd),De=n.slice(ye.reEnd);ae+=De;var ee=Qe.split("(").length-1,Jt=De;for(f=0;f<ee;f++)Jt=Jt.replace(/\)[+*?]?/,"");De=Jt;var H="";De===""&&e!==If&&(H="$");var xe=Qe+Ne+De+H+ae;n=xe}if(n!==""&&s&&(n="(?=.)"+n),S&&(n=m+n),e===If)return[n,s];if(!s)return BAe(t);var ss=r.nocase?"i":"";try{var Vi=new RegExp("^"+n+"$",ss)}catch{return new RegExp("$.")}return Vi._glob=t,Vi._src=n,Vi}o(CAe,"parse");Hr.makeRe=function(t,e){return new kt(t,e||{}).makeRe()};kt.prototype.makeRe=IAe;function IAe(){if(this.regexp||this.regexp===!1)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,r=e.noglobstar?Pb:e.dot?mAe:pAe,n=e.nocase?"i":"",s=t.map(function(i){return i.map(function(a){return a===Db?r:typeof a=="string"?QAe(a):a._src}).join("\\/")}).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,n)}catch{this.regexp=!1}return this.regexp}o(IAe,"makeRe");Hr.match=function(t,e,r){r=r||{};var n=new kt(e,r);return t=t.filter(function(s){return n.match(s)}),n.options.nonull&&!t.length&&t.push(e),t};kt.prototype.match=o(function(e,r){if(typeof r>"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var n=this.options;ed.sep!=="/"&&(e=e.split(ed.sep).join("/")),e=e.split(GH),this.debug(this.pattern,"split",e);var s=this.set;this.debug(this.pattern,"set",s);var i,a;for(a=e.length-1;a>=0&&(i=e[a],!i);a--);for(a=0;a<s.length;a++){var c=s[a],l=e;n.matchBase&&c.length===1&&(l=[i]);var A=this.matchOne(l,c,r);if(A)return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate},"match");kt.prototype.matchOne=function(t,e,r){var n=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var s=0,i=0,a=t.length,c=e.length;s<a&&i<c;s++,i++){this.debug("matchOne loop");var l=e[i],A=t[s];if(this.debug(e,l,A),l===!1)return!1;if(l===Db){this.debug("GLOBSTAR",[e,l,A]);var u=s,d=i+1;if(d===c){for(this.debug("** at the end");s<a;s++)if(t[s]==="."||t[s]===".."||!n.dot&&t[s].charAt(0)===".")return!1;return!0}for(;u<a;){var m=t[u];if(this.debug(`
globstar while`,t,u,e,d,m),this.matchOne(t.slice(u),e.slice(d),r))return this.debug("globstar found match!",u,a,m),!0;if(m==="."||m===".."||!n.dot&&m.charAt(0)==="."){this.debug("dot detected!",t,u,e,d);break}this.debug("globstar swallow a segment, and continue"),u++}return!!(r&&(this.debug(`
>>> no match, partial?`,t,u,e,d),u===a))}var p;if(typeof l=="string"?(p=A===l,this.debug("string match",l,A,p)):(p=A.match(l),this.debug("pattern match",l,A,p)),!p)return!1}if(s===a&&i===c)return!0;if(s===a)return r;if(i===c)return s===a-1&&t[s]==="";throw new Error("wtf?")};function BAe(t){return t.replace(/\\(.)/g,"$1")}o(BAe,"globUnescape");function QAe(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(QAe,"regExpEscape")});var nd=g((QMe,KH)=>{"use strict";var PAe="2.0.0",DAe=Number.MAX_SAFE_INTEGER||9007199254740991,TAe=16,kAe=250,MAe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];KH.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:TAe,MAX_SAFE_BUILD_LENGTH:kAe,MAX_SAFE_INTEGER:DAe,RELEASE_TYPES:MAe,SEMVER_SPEC_VERSION:PAe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var sd=g((xMe,XH)=>{"use strict";var LAe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};XH.exports=LAe});var El=g((Cs,ZH)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:kb,MAX_SAFE_BUILD_LENGTH:_Ae,MAX_LENGTH:FAe}=nd(),UAe=sd();Cs=ZH.exports={};var OAe=Cs.re=[],qAe=Cs.safeRe=[],_=Cs.src=[],HAe=Cs.safeSrc=[],F=Cs.t={},zAe=0,Mb="[a-zA-Z0-9-]",GAe=[["\\s",1],["\\d",FAe],[Mb,_Ae]],YAe=o(t=>{for(let[e,r]of GAe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),re=o((t,e,r)=>{let n=YAe(e),s=zAe++;UAe(t,s,e),F[t]=s,_[s]=e,HAe[s]=n,OAe[s]=new RegExp(e,r?"g":void 0),qAe[s]=new RegExp(n,r?"g":void 0)},"createToken");re("NUMERICIDENTIFIER","0|[1-9]\\d*");re("NUMERICIDENTIFIERLOOSE","\\d+");re("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Mb}*`);re("MAINVERSION",`(${_[F.NUMERICIDENTIFIER]})\\.(${_[F.NUMERICIDENTIFIER]})\\.(${_[F.NUMERICIDENTIFIER]})`);re("MAINVERSIONLOOSE",`(${_[F.NUMERICIDENTIFIERLOOSE]})\\.(${_[F.NUMERICIDENTIFIERLOOSE]})\\.(${_[F.NUMERICIDENTIFIERLOOSE]})`);re("PRERELEASEIDENTIFIER",`(?:${_[F.NONNUMERICIDENTIFIER]}|${_[F.NUMERICIDENTIFIER]})`);re("PRERELEASEIDENTIFIERLOOSE",`(?:${_[F.NONNUMERICIDENTIFIER]}|${_[F.NUMERICIDENTIFIERLOOSE]})`);re("PRERELEASE",`(?:-(${_[F.PRERELEASEIDENTIFIER]}(?:\\.${_[F.PRERELEASEIDENTIFIER]})*))`);re("PRERELEASELOOSE",`(?:-?(${_[F.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${_[F.PRERELEASEIDENTIFIERLOOSE]})*))`);re("BUILDIDENTIFIER",`${Mb}+`);re("BUILD",`(?:\\+(${_[F.BUILDIDENTIFIER]}(?:\\.${_[F.BUILDIDENTIFIER]})*))`);re("FULLPLAIN",`v?${_[F.MAINVERSION]}${_[F.PRERELEASE]}?${_[F.BUILD]}?`);re("FULL",`^${_[F.FULLPLAIN]}$`);re("LOOSEPLAIN",`[v=\\s]*${_[F.MAINVERSIONLOOSE]}${_[F.PRERELEASELOOSE]}?${_[F.BUILD]}?`);re("LOOSE",`^${_[F.LOOSEPLAIN]}$`);re("GTLT","((?:<|>)?=?)");re("XRANGEIDENTIFIERLOOSE",`${_[F.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);re("XRANGEIDENTIFIER",`${_[F.NUMERICIDENTIFIER]}|x|X|\\*`);re("XRANGEPLAIN",`[v=\\s]*(${_[F.XRANGEIDENTIFIER]})(?:\\.(${_[F.XRANGEIDENTIFIER]})(?:\\.(${_[F.XRANGEIDENTIFIER]})(?:${_[F.PRERELEASE]})?${_[F.BUILD]}?)?)?`);re("XRANGEPLAINLOOSE",`[v=\\s]*(${_[F.XRANGEIDENTIFIERLOOSE]})(?:\\.(${_[F.XRANGEIDENTIFIERLOOSE]})(?:\\.(${_[F.XRANGEIDENTIFIERLOOSE]})(?:${_[F.PRERELEASELOOSE]})?${_[F.BUILD]}?)?)?`);re("XRANGE",`^${_[F.GTLT]}\\s*${_[F.XRANGEPLAIN]}$`);re("XRANGELOOSE",`^${_[F.GTLT]}\\s*${_[F.XRANGEPLAINLOOSE]}$`);re("COERCEPLAIN",`(^|[^\\d])(\\d{1,${kb}})(?:\\.(\\d{1,${kb}}))?(?:\\.(\\d{1,${kb}}))?`);re("COERCE",`${_[F.COERCEPLAIN]}(?:$|[^\\d])`);re("COERCEFULL",_[F.COERCEPLAIN]+`(?:${_[F.PRERELEASE]})?(?:${_[F.BUILD]})?(?:$|[^\\d])`);re("COERCERTL",_[F.COERCE],!0);re("COERCERTLFULL",_[F.COERCEFULL],!0);re("LONETILDE","(?:~>?)");re("TILDETRIM",`(\\s*)${_[F.LONETILDE]}\\s+`,!0);Cs.tildeTrimReplace="$1~";re("TILDE",`^${_[F.LONETILDE]}${_[F.XRANGEPLAIN]}$`);re("TILDELOOSE",`^${_[F.LONETILDE]}${_[F.XRANGEPLAINLOOSE]}$`);re("LONECARET","(?:\\^)");re("CARETTRIM",`(\\s*)${_[F.LONECARET]}\\s+`,!0);Cs.caretTrimReplace="$1^";re("CARET",`^${_[F.LONECARET]}${_[F.XRANGEPLAIN]}$`);re("CARETLOOSE",`^${_[F.LONECARET]}${_[F.XRANGEPLAINLOOSE]}$`);re("COMPARATORLOOSE",`^${_[F.GTLT]}\\s*(${_[F.LOOSEPLAIN]})$|^$`);re("COMPARATOR",`^${_[F.GTLT]}\\s*(${_[F.FULLPLAIN]})$|^$`);re("COMPARATORTRIM",`(\\s*)${_[F.GTLT]}\\s*(${_[F.LOOSEPLAIN]}|${_[F.XRANGEPLAIN]})`,!0);Cs.comparatorTrimReplace="$1$2$3";re("HYPHENRANGE",`^\\s*(${_[F.XRANGEPLAIN]})\\s+-\\s+(${_[F.XRANGEPLAIN]})\\s*$`);re("HYPHENRANGELOOSE",`^\\s*(${_[F.XRANGEPLAINLOOSE]})\\s+-\\s+(${_[F.XRANGEPLAINLOOSE]})\\s*$`);re("STAR","(<|>)?=?\\s*\\*");re("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");re("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var bf=g((wMe,ez)=>{"use strict";var VAe=Object.freeze({loose:!0}),JAe=Object.freeze({}),$Ae=o(t=>t?typeof t!="object"?VAe:t:JAe,"parseOptions");ez.exports=$Ae});var Lb=g((SMe,nz)=>{"use strict";var tz=/^[0-9]+$/,rz=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=tz.test(t),n=tz.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},"compareIdentifiers"),WAe=o((t,e)=>rz(e,t),"rcompareIdentifiers");nz.exports={compareIdentifiers:rz,rcompareIdentifiers:WAe}});var Ht=g((vMe,iz)=>{"use strict";var wf=sd(),{MAX_LENGTH:sz,MAX_SAFE_INTEGER:Nf}=nd(),{safeRe:Sf,t:Rf}=El(),jAe=bf(),{compareIdentifiers:_b}=Lb(),Fb=class t{static{o(this,"SemVer")}constructor(e,r){if(r=jAe(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>sz)throw new TypeError(`version is longer than ${sz} characters`);wf("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?Sf[Rf.LOOSE]:Sf[Rf.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Nf||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Nf||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Nf||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){let i=+s;if(i>=0&&i<Nf)return i}return s}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(wf("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let n=this.prerelease[r],s=e.prerelease[r];if(wf("prerelease compare",r,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return _b(n,s)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let n=this.build[r],s=e.build[r];if(wf("build compare",r,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return _b(n,s)}while(++r)}inc(e,r,n){if(e.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let s=`-${r}`.match(this.options.loose?Sf[Rf.PRERELEASELOOSE]:Sf[Rf.PRERELEASE]);if(!s||s[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let s=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[s];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(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(r){let i=[r,s];n===!1&&(i=[r]),_b(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}};iz.exports=Fb});var Ca=g((DMe,az)=>{"use strict";var oz=Ht(),KAe=o((t,e,r=!1)=>{if(t instanceof oz)return t;try{return new oz(t,e)}catch(n){if(!r)return null;throw n}},"parse");az.exports=KAe});var lz=g((kMe,cz)=>{"use strict";var XAe=Ca(),ZAe=o((t,e)=>{let r=XAe(t,e);return r?r.version:null},"valid");cz.exports=ZAe});var uz=g((LMe,Az)=>{"use strict";var eue=Ca(),tue=o((t,e)=>{let r=eue(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");Az.exports=tue});var pz=g((FMe,mz)=>{"use strict";var dz=Ht(),rue=o((t,e,r,n,s)=>{typeof r=="string"&&(s=n,n=r,r=void 0);try{return new dz(t instanceof dz?t.version:t,r).inc(e,n,s).version}catch{return null}},"inc");mz.exports=rue});var gz=g((OMe,fz)=>{"use strict";var hz=Ca(),nue=o((t,e)=>{let r=hz(t,null,!0),n=hz(e,null,!0),s=r.compare(n);if(s===0)return null;let i=s>0,a=i?r:n,c=i?n:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let u=l?"pre":"";return r.major!==n.major?u+"major":r.minor!==n.minor?u+"minor":r.patch!==n.patch?u+"patch":"prerelease"},"diff");fz.exports=nue});var Ez=g((HMe,yz)=>{"use strict";var sue=Ht(),iue=o((t,e)=>new sue(t,e).major,"major");yz.exports=iue});var Iz=g((GMe,Cz)=>{"use strict";var oue=Ht(),aue=o((t,e)=>new oue(t,e).minor,"minor");Cz.exports=aue});var Qz=g((VMe,Bz)=>{"use strict";var cue=Ht(),lue=o((t,e)=>new cue(t,e).patch,"patch");Bz.exports=lue});var bz=g(($Me,xz)=>{"use strict";var Aue=Ca(),uue=o((t,e)=>{let r=Aue(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");xz.exports=uue});var gn=g((jMe,Nz)=>{"use strict";var wz=Ht(),due=o((t,e,r)=>new wz(t,r).compare(new wz(e,r)),"compare");Nz.exports=due});var Rz=g((XMe,Sz)=>{"use strict";var mue=gn(),pue=o((t,e,r)=>mue(e,t,r),"rcompare");Sz.exports=pue});var Pz=g((eLe,vz)=>{"use strict";var hue=gn(),fue=o((t,e)=>hue(t,e,!0),"compareLoose");vz.exports=fue});var vf=g((rLe,Tz)=>{"use strict";var Dz=Ht(),gue=o((t,e,r)=>{let n=new Dz(t,r),s=new Dz(e,r);return n.compare(s)||n.compareBuild(s)},"compareBuild");Tz.exports=gue});var Mz=g((sLe,kz)=>{"use strict";var yue=vf(),Eue=o((t,e)=>t.sort((r,n)=>yue(r,n,e)),"sort");kz.exports=Eue});var _z=g((oLe,Lz)=>{"use strict";var Cue=vf(),Iue=o((t,e)=>t.sort((r,n)=>Cue(n,r,e)),"rsort");Lz.exports=Iue});var id=g((cLe,Fz)=>{"use strict";var Bue=gn(),Que=o((t,e,r)=>Bue(t,e,r)>0,"gt");Fz.exports=Que});var Pf=g((ALe,Uz)=>{"use strict";var xue=gn(),bue=o((t,e,r)=>xue(t,e,r)<0,"lt");Uz.exports=bue});var Ub=g((dLe,Oz)=>{"use strict";var wue=gn(),Nue=o((t,e,r)=>wue(t,e,r)===0,"eq");Oz.exports=Nue});var Ob=g((pLe,qz)=>{"use strict";var Sue=gn(),Rue=o((t,e,r)=>Sue(t,e,r)!==0,"neq");qz.exports=Rue});var Df=g((fLe,Hz)=>{"use strict";var vue=gn(),Pue=o((t,e,r)=>vue(t,e,r)>=0,"gte");Hz.exports=Pue});var Tf=g((yLe,zz)=>{"use strict";var Due=gn(),Tue=o((t,e,r)=>Due(t,e,r)<=0,"lte");zz.exports=Tue});var qb=g((CLe,Gz)=>{"use strict";var kue=Ub(),Mue=Ob(),Lue=id(),_ue=Df(),Fue=Pf(),Uue=Tf(),Oue=o((t,e,r,n)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return kue(t,r,n);case"!=":return Mue(t,r,n);case">":return Lue(t,r,n);case">=":return _ue(t,r,n);case"<":return Fue(t,r,n);case"<=":return Uue(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");Gz.exports=Oue});var Vz=g((BLe,Yz)=>{"use strict";var que=Ht(),Hue=Ca(),{safeRe:kf,t:Mf}=El(),zue=o((t,e)=>{if(t instanceof que)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?kf[Mf.COERCEFULL]:kf[Mf.COERCE]);else{let l=e.includePrerelease?kf[Mf.COERCERTLFULL]:kf[Mf.COERCERTL],A;for(;(A=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||A.index+A[0].length!==r.index+r[0].length)&&(r=A),l.lastIndex=A.index+A[1].length+A[2].length;l.lastIndex=-1}if(r===null)return null;let n=r[2],s=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return Hue(`${n}.${s}.${i}${a}${c}`,e)},"coerce");Yz.exports=zue});var $z=g((xLe,Jz)=>{"use strict";var Hb=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let s=this.map.keys().next().value;this.delete(s)}this.map.set(e,r)}return this}};Jz.exports=Hb});var yn=g((wLe,Xz)=>{"use strict";var Gue=/\s+/g,zb=class t{static{o(this,"Range")}constructor(e,r){if(r=Vue(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof Gb)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(Gue," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(s=>!jz(s[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let s of this.set)if(s.length===1&&Zue(s[0])){this.set=[s];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let r=this.set[e];for(let n=0;n<r.length;n++)n>0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let n=((this.options.includePrerelease&&Kue)|(this.options.loose&&Xue))+":"+e,s=Wz.get(n);if(s)return s;let i=this.options.loose,a=i?er[zt.HYPHENRANGELOOSE]:er[zt.HYPHENRANGE];e=e.replace(a,lde(this.options.includePrerelease)),Fe("hyphen replace",e),e=e.replace(er[zt.COMPARATORTRIM],$ue),Fe("comparator trim",e),e=e.replace(er[zt.TILDETRIM],Wue),Fe("tilde trim",e),e=e.replace(er[zt.CARETTRIM],jue),Fe("caret trim",e);let c=e.split(" ").map(d=>ede(d,this.options)).join(" ").split(/\s+/).map(d=>cde(d,this.options));i&&(c=c.filter(d=>(Fe("loose invalid filter",d,this.options),!!d.match(er[zt.COMPARATORLOOSE])))),Fe("range list",c);let l=new Map,A=c.map(d=>new Gb(d,this.options));for(let d of A){if(jz(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let u=[...l.values()];return Wz.set(n,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>Kz(n,r)&&e.set.some(s=>Kz(s,r)&&n.every(i=>s.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new Jue(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(Ade(this.set[r],e,this.options))return!0;return!1}};Xz.exports=zb;var Yue=$z(),Wz=new Yue,Vue=bf(),Gb=od(),Fe=sd(),Jue=Ht(),{safeRe:er,t:zt,comparatorTrimReplace:$ue,tildeTrimReplace:Wue,caretTrimReplace:jue}=El(),{FLAG_INCLUDE_PRERELEASE:Kue,FLAG_LOOSE:Xue}=nd(),jz=o(t=>t.value==="<0.0.0-0","isNullSet"),Zue=o(t=>t.value==="","isAny"),Kz=o((t,e)=>{let r=!0,n=t.slice(),s=n.pop();for(;r&&n.length;)r=n.every(i=>s.intersects(i,e)),s=n.pop();return r},"isSatisfiable"),ede=o((t,e)=>(t=t.replace(er[zt.BUILD],""),Fe("comp",t,e),t=nde(t,e),Fe("caret",t),t=tde(t,e),Fe("tildes",t),t=ide(t,e),Fe("xrange",t),t=ade(t,e),Fe("stars",t),t),"parseComparator"),tr=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),tde=o((t,e)=>t.trim().split(/\s+/).map(r=>rde(r,e)).join(" "),"replaceTildes"),rde=o((t,e)=>{let r=e.loose?er[zt.TILDELOOSE]:er[zt.TILDE];return t.replace(r,(n,s,i,a,c)=>{Fe("tilde",t,n,s,i,a,c);let l;return tr(s)?l="":tr(i)?l=`>=${s}.0.0 <${+s+1}.0.0-0`:tr(a)?l=`>=${s}.${i}.0 <${s}.${+i+1}.0-0`:c?(Fe("replaceTilde pr",c),l=`>=${s}.${i}.${a}-${c} <${s}.${+i+1}.0-0`):l=`>=${s}.${i}.${a} <${s}.${+i+1}.0-0`,Fe("tilde return",l),l})},"replaceTilde"),nde=o((t,e)=>t.trim().split(/\s+/).map(r=>sde(r,e)).join(" "),"replaceCarets"),sde=o((t,e)=>{Fe("caret",t,e);let r=e.loose?er[zt.CARETLOOSE]:er[zt.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(s,i,a,c,l)=>{Fe("caret",t,s,i,a,c,l);let A;return tr(i)?A="":tr(a)?A=`>=${i}.0.0${n} <${+i+1}.0.0-0`:tr(c)?i==="0"?A=`>=${i}.${a}.0${n} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.0${n} <${+i+1}.0.0-0`:l?(Fe("replaceCaret pr",l),i==="0"?a==="0"?A=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:A=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):(Fe("no pr"),i==="0"?a==="0"?A=`>=${i}.${a}.${c}${n} <${i}.${a}.${+c+1}-0`:A=`>=${i}.${a}.${c}${n} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),Fe("caret return",A),A})},"replaceCaret"),ide=o((t,e)=>(Fe("replaceXRanges",t,e),t.split(/\s+/).map(r=>ode(r,e)).join(" ")),"replaceXRanges"),ode=o((t,e)=>{t=t.trim();let r=e.loose?er[zt.XRANGELOOSE]:er[zt.XRANGE];return t.replace(r,(n,s,i,a,c,l)=>{Fe("xRange",t,n,s,i,a,c,l);let A=tr(i),u=A||tr(a),d=u||tr(c),m=d;return s==="="&&m&&(s=""),l=e.includePrerelease?"-0":"",A?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&m?(u&&(a=0),c=0,s===">"?(s=">=",u?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):s==="<="&&(s="<",u?i=+i+1:a=+a+1),s==="<"&&(l="-0"),n=`${s+i}.${a}.${c}${l}`):u?n=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),Fe("xRange return",n),n})},"replaceXRange"),ade=o((t,e)=>(Fe("replaceStars",t,e),t.trim().replace(er[zt.STAR],"")),"replaceStars"),cde=o((t,e)=>(Fe("replaceGTE0",t,e),t.trim().replace(er[e.includePrerelease?zt.GTE0PRE:zt.GTE0],"")),"replaceGTE0"),lde=o(t=>(e,r,n,s,i,a,c,l,A,u,d,m)=>(tr(n)?r="":tr(s)?r=`>=${n}.0.0${t?"-0":""}`:tr(i)?r=`>=${n}.${s}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,tr(A)?l="":tr(u)?l=`<${+A+1}.0.0-0`:tr(d)?l=`<${A}.${+u+1}.0-0`:m?l=`<=${A}.${u}.${d}-${m}`:t?l=`<${A}.${u}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),Ade=o((t,e,r)=>{for(let n=0;n<t.length;n++)if(!t[n].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(let n=0;n<t.length;n++)if(Fe(t[n].semver),t[n].semver!==Gb.ANY&&t[n].semver.prerelease.length>0){let s=t[n].semver;if(s.major===e.major&&s.minor===e.minor&&s.patch===e.patch)return!0}return!1}return!0},"testSet")});var od=g((SLe,sG)=>{"use strict";var ad=Symbol("SemVer ANY"),Jb=class t{static{o(this,"Comparator")}static get ANY(){return ad}constructor(e,r){if(r=Zz(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Vb("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===ad?this.value="":this.value=this.operator+this.semver.version,Vb("comp",this)}parse(e){let r=this.options.loose?eG[tG.COMPARATORLOOSE]:eG[tG.COMPARATOR],n=e.match(r);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new rG(n[2],this.options.loose):this.semver=ad}toString(){return this.value}test(e){if(Vb("Comparator.test",e,this.options.loose),this.semver===ad||e===ad)return!0;if(typeof e=="string")try{e=new rG(e,this.options)}catch{return!1}return Yb(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 nG(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new nG(this.value,r).test(e.semver):(r=Zz(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("=")||Yb(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Yb(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};sG.exports=Jb;var Zz=bf(),{safeRe:eG,t:tG}=El(),Yb=qb(),Vb=sd(),rG=Ht(),nG=yn()});var cd=g((vLe,iG)=>{"use strict";var ude=yn(),dde=o((t,e,r)=>{try{e=new ude(e,r)}catch{return!1}return e.test(t)},"satisfies");iG.exports=dde});var aG=g((DLe,oG)=>{"use strict";var mde=yn(),pde=o((t,e)=>new mde(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");oG.exports=pde});var lG=g((kLe,cG)=>{"use strict";var hde=Ht(),fde=yn(),gde=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new fde(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===-1)&&(n=a,s=new hde(n,r))}),n},"maxSatisfying");cG.exports=gde});var uG=g((LLe,AG)=>{"use strict";var yde=Ht(),Ede=yn(),Cde=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new Ede(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===1)&&(n=a,s=new yde(n,r))}),n},"minSatisfying");AG.exports=Cde});var pG=g((FLe,mG)=>{"use strict";var $b=Ht(),Ide=yn(),dG=id(),Bde=o((t,e)=>{t=new Ide(t,e);let r=new $b("0.0.0");if(t.test(r)||(r=new $b("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n<t.set.length;++n){let s=t.set[n],i=null;s.forEach(a=>{let c=new $b(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||dG(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||dG(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");mG.exports=Bde});var fG=g((OLe,hG)=>{"use strict";var Qde=yn(),xde=o((t,e)=>{try{return new Qde(t,e).range||"*"}catch{return null}},"validRange");hG.exports=xde});var Lf=g((HLe,CG)=>{"use strict";var bde=Ht(),EG=od(),{ANY:wde}=EG,Nde=yn(),Sde=cd(),gG=id(),yG=Pf(),Rde=Tf(),vde=Df(),Pde=o((t,e,r,n)=>{t=new bde(t,n),e=new Nde(e,n);let s,i,a,c,l;switch(r){case">":s=gG,i=Rde,a=yG,c=">",l=">=";break;case"<":s=yG,i=vde,a=gG,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Sde(t,e,n))return!1;for(let A=0;A<e.set.length;++A){let u=e.set[A],d=null,m=null;if(u.forEach(p=>{p.semver===wde&&(p=new EG(">=0.0.0")),d=d||p,m=m||p,s(p.semver,d.semver,n)?d=p:a(p.semver,m.semver,n)&&(m=p)}),d.operator===c||d.operator===l||(!m.operator||m.operator===c)&&i(t,m.semver))return!1;if(m.operator===l&&a(t,m.semver))return!1}return!0},"outside");CG.exports=Pde});var BG=g((GLe,IG)=>{"use strict";var Dde=Lf(),Tde=o((t,e,r)=>Dde(t,e,">",r),"gtr");IG.exports=Tde});var xG=g((VLe,QG)=>{"use strict";var kde=Lf(),Mde=o((t,e,r)=>kde(t,e,"<",r),"ltr");QG.exports=Mde});var NG=g(($Le,wG)=>{"use strict";var bG=yn(),Lde=o((t,e,r)=>(t=new bG(t,r),e=new bG(e,r),t.intersects(e,r)),"intersects");wG.exports=Lde});var RG=g((jLe,SG)=>{"use strict";var _de=cd(),Fde=gn();SG.exports=(t,e,r)=>{let n=[],s=null,i=null,a=t.sort((u,d)=>Fde(u,d,r));for(let u of a)_de(u,e,r)?(i=u,s||(s=u)):(i&&n.push([s,i]),i=null,s=null);s&&n.push([s,null]);let c=[];for(let[u,d]of n)u===d?c.push(u):!d&&u===a[0]?c.push("*"):d?u===a[0]?c.push(`<=${d}`):c.push(`${u} - ${d}`):c.push(`>=${u}`);let l=c.join(" || "),A=typeof e.raw=="string"?e.raw:String(e);return l.length<A.length?l:e}});var MG=g((KLe,kG)=>{"use strict";var vG=yn(),jb=od(),{ANY:Wb}=jb,ld=cd(),Kb=gn(),Ude=o((t,e,r={})=>{if(t===e)return!0;t=new vG(t,r),e=new vG(e,r);let n=!1;e:for(let s of t.set){for(let i of e.set){let a=qde(s,i,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),Ode=[new jb(">=0.0.0-0")],PG=[new jb(">=0.0.0")],qde=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Wb){if(e.length===1&&e[0].semver===Wb)return!0;r.includePrerelease?t=Ode:t=PG}if(e.length===1&&e[0].semver===Wb){if(r.includePrerelease)return!0;e=PG}let n=new Set,s,i;for(let p of t)p.operator===">"||p.operator===">="?s=DG(s,p,r):p.operator==="<"||p.operator==="<="?i=TG(i,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(s&&i){if(a=Kb(s.semver,i.semver,r),a>0)return null;if(a===0&&(s.operator!==">="||i.operator!=="<="))return null}for(let p of n){if(s&&!ld(p,String(s),r)||i&&!ld(p,String(i),r))return null;for(let h of e)if(!ld(p,String(h),r))return!1;return!0}let c,l,A,u,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,m=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let p of e){if(u=u||p.operator===">"||p.operator===">=",A=A||p.operator==="<"||p.operator==="<=",s){if(m&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===m.major&&p.semver.minor===m.minor&&p.semver.patch===m.patch&&(m=!1),p.operator===">"||p.operator===">="){if(c=DG(s,p,r),c===p&&c!==s)return!1}else if(s.operator===">="&&!ld(s.semver,String(p),r))return!1}if(i){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(l=TG(i,p,r),l===p&&l!==i)return!1}else if(i.operator==="<="&&!ld(i.semver,String(p),r))return!1}if(!p.operator&&(i||s)&&a!==0)return!1}return!(s&&A&&!i&&a!==0||i&&u&&!s&&a!==0||m||d)},"simpleSubset"),DG=o((t,e,r)=>{if(!t)return e;let n=Kb(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),TG=o((t,e,r)=>{if(!t)return e;let n=Kb(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");kG.exports=Ude});var UG=g((ZLe,FG)=>{"use strict";var Xb=El(),LG=nd(),Hde=Ht(),_G=Lb(),zde=Ca(),Gde=lz(),Yde=uz(),Vde=pz(),Jde=gz(),$de=Ez(),Wde=Iz(),jde=Qz(),Kde=bz(),Xde=gn(),Zde=Rz(),eme=Pz(),tme=vf(),rme=Mz(),nme=_z(),sme=id(),ime=Pf(),ome=Ub(),ame=Ob(),cme=Df(),lme=Tf(),Ame=qb(),ume=Vz(),dme=od(),mme=yn(),pme=cd(),hme=aG(),fme=lG(),gme=uG(),yme=pG(),Eme=fG(),Cme=Lf(),Ime=BG(),Bme=xG(),Qme=NG(),xme=RG(),bme=MG();FG.exports={parse:zde,valid:Gde,clean:Yde,inc:Vde,diff:Jde,major:$de,minor:Wde,patch:jde,prerelease:Kde,compare:Xde,rcompare:Zde,compareLoose:eme,compareBuild:tme,sort:rme,rsort:nme,gt:sme,lt:ime,eq:ome,neq:ame,gte:cme,lte:lme,cmp:Ame,coerce:ume,Comparator:dme,Range:mme,satisfies:pme,toComparators:hme,maxSatisfying:fme,minSatisfying:gme,minVersion:yme,validRange:Eme,outside:Cme,gtr:Ime,ltr:Bme,intersects:Qme,simplifyRange:xme,subset:bme,SemVer:Hde,re:Xb.re,src:Xb.src,tokens:Xb.t,SEMVER_SPEC_VERSION:LG.SEMVER_SPEC_VERSION,RELEASE_TYPES:LG.RELEASE_TYPES,compareIdentifiers:_G.compareIdentifiers,rcompareIdentifiers:_G.rcompareIdentifiers}});var NY=g((s2e,wY)=>{var wl=1e3,Nl=wl*60,Sl=Nl*60,Na=Sl*24,ape=Na*7,cpe=Na*365.25;wY.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return lpe(t);if(r==="number"&&isFinite(t))return e.long?upe(t):Ape(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function lpe(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*cpe;case"weeks":case"week":case"w":return r*ape;case"days":case"day":case"d":return r*Na;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Sl;case"minutes":case"minute":case"mins":case"min":case"m":return r*Nl;case"seconds":case"second":case"secs":case"sec":case"s":return r*wl;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(lpe,"parse");function Ape(t){var e=Math.abs(t);return e>=Na?Math.round(t/Na)+"d":e>=Sl?Math.round(t/Sl)+"h":e>=Nl?Math.round(t/Nl)+"m":e>=wl?Math.round(t/wl)+"s":t+"ms"}o(Ape,"fmtShort");function upe(t){var e=Math.abs(t);return e>=Na?cg(t,e,Na,"day"):e>=Sl?cg(t,e,Sl,"hour"):e>=Nl?cg(t,e,Nl,"minute"):e>=wl?cg(t,e,wl,"second"):t+" ms"}o(upe,"fmtLong");function cg(t,e,r,n){var s=e>=r*1.5;return Math.round(t/r)+" "+n+(s?"s":"")}o(cg,"plural")});var Q0=g((o2e,SY)=>{function dpe(t){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=s,r.enabled=a,r.humanize=NY(),r.destroy=A,Object.keys(t).forEach(u=>{r[u]=t[u]}),r.names=[],r.skips=[],r.formatters={};function e(u){let d=0;for(let m=0;m<u.length;m++)d=(d<<5)-d+u.charCodeAt(m),d|=0;return r.colors[Math.abs(d)%r.colors.length]}o(e,"selectColor"),r.selectColor=e;function r(u){let d,m=null,p,h;function f(...C){if(!f.enabled)return;let y=f,E=Number(new Date),I=E-(d||E);y.diff=I,y.prev=d,y.curr=E,d=E,C[0]=r.coerce(C[0]),typeof C[0]!="string"&&C.unshift("%O");let B=0;C[0]=C[0].replace(/%([a-zA-Z%])/g,(k,S)=>{if(k==="%%")return"%";B++;let de=r.formatters[S];if(typeof de=="function"){let ye=C[B];k=de.call(y,ye),C.splice(B,1),B--}return k}),r.formatArgs.call(y,C),(y.log||r.log).apply(y,C)}return o(f,"debug"),f.namespace=u,f.useColors=r.useColors(),f.color=r.selectColor(u),f.extend=n,f.destroy=r.destroy,Object.defineProperty(f,"enabled",{enumerable:!0,configurable:!1,get:o(()=>m!==null?m:(p!==r.namespaces&&(p=r.namespaces,h=r.enabled(u)),h),"get"),set:o(C=>{m=C},"set")}),typeof r.init=="function"&&r.init(f),f}o(r,"createDebug");function n(u,d){let m=r(this.namespace+(typeof d>"u"?":":d)+u);return m.log=this.log,m}o(n,"extend");function s(u){r.save(u),r.namespaces=u,r.names=[],r.skips=[];let d,m=(typeof u=="string"?u:"").split(/[\s,]+/),p=m.length;for(d=0;d<p;d++)m[d]&&(u=m[d].replace(/\*/g,".*?"),u[0]==="-"?r.skips.push(new RegExp("^"+u.slice(1)+"$")):r.names.push(new RegExp("^"+u+"$")))}o(s,"enable");function i(){let u=[...r.names.map(c),...r.skips.map(c).map(d=>"-"+d)].join(",");return r.enable(""),u}o(i,"disable");function a(u){if(u[u.length-1]==="*")return!0;let d,m;for(d=0,m=r.skips.length;d<m;d++)if(r.skips[d].test(u))return!1;for(d=0,m=r.names.length;d<m;d++)if(r.names[d].test(u))return!0;return!1}o(a,"enabled");function c(u){return u.toString().substring(2,u.toString().length-2).replace(/\.\*\?$/,"*")}o(c,"toNamespace");function l(u){return u instanceof Error?u.stack||u.message:u}o(l,"coerce");function A(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return o(A,"destroy"),r.enable(r.load()),r}o(dpe,"setup");SY.exports=dpe});var RY=g((Yr,lg)=>{Yr.formatArgs=ppe;Yr.save=hpe;Yr.load=fpe;Yr.useColors=mpe;Yr.storage=gpe();Yr.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`."))}})();Yr.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 mpe(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}o(mpe,"useColors");function ppe(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+lg.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,s=>{s!=="%%"&&(r++,s==="%c"&&(n=r))}),t.splice(n,0,e)}o(ppe,"formatArgs");Yr.log=console.debug||console.log||(()=>{});function hpe(t){try{t?Yr.storage.setItem("debug",t):Yr.storage.removeItem("debug")}catch{}}o(hpe,"save");function fpe(){let t;try{t=Yr.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(fpe,"load");function gpe(){try{return localStorage}catch{}}o(gpe,"localstorage");lg.exports=Q0()(Yr);var{formatters:ype}=lg.exports;ype.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var PY=g((l2e,vY)=>{"use strict";vY.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),s=e.indexOf("--");return n!==-1&&(s===-1||n<s)}});var kY=g((A2e,TY)=>{"use strict";var Epe=require("os"),DY=require("tty"),Cn=PY(),{env:Nt}=process,Qo;Cn("no-color")||Cn("no-colors")||Cn("color=false")||Cn("color=never")?Qo=0:(Cn("color")||Cn("colors")||Cn("color=true")||Cn("color=always"))&&(Qo=1);"FORCE_COLOR"in Nt&&(Nt.FORCE_COLOR==="true"?Qo=1:Nt.FORCE_COLOR==="false"?Qo=0:Qo=Nt.FORCE_COLOR.length===0?1:Math.min(parseInt(Nt.FORCE_COLOR,10),3));function x0(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(x0,"translateLevel");function b0(t,e){if(Qo===0)return 0;if(Cn("color=16m")||Cn("color=full")||Cn("color=truecolor"))return 3;if(Cn("color=256"))return 2;if(t&&!e&&Qo===void 0)return 0;let r=Qo||0;if(Nt.TERM==="dumb")return r;if(process.platform==="win32"){let n=Epe.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in Nt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in Nt)||Nt.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Nt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Nt.TEAMCITY_VERSION)?1:0;if(Nt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Nt){let n=parseInt((Nt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Nt.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Nt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Nt.TERM)||"COLORTERM"in Nt?1:r}o(b0,"supportsColor");function Cpe(t){let e=b0(t,t&&t.isTTY);return x0(e)}o(Cpe,"getSupportLevel");TY.exports={supportsColor:Cpe,stdout:x0(b0(!0,DY.isatty(1))),stderr:x0(b0(!0,DY.isatty(2)))}});var LY=g((Mt,ug)=>{var Ipe=require("tty"),Ag=require("util");Mt.init=Spe;Mt.log=bpe;Mt.formatArgs=Qpe;Mt.save=wpe;Mt.load=Npe;Mt.useColors=Bpe;Mt.destroy=Ag.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Mt.colors=[6,2,3,4,5,1];try{let t=kY();t&&(t.stderr||t).level>=2&&(Mt.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{}Mt.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(s,i)=>i.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function Bpe(){return"colors"in Mt.inspectOpts?!!Mt.inspectOpts.colors:Ipe.isatty(process.stderr.fd)}o(Bpe,"useColors");function Qpe(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,s="\x1B[3"+(n<8?n:"8;5;"+n),i=` ${s};1m${e} \x1B[0m`;t[0]=i+t[0].split(`
`).join(`
`+i),t.push(s+"m+"+ug.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=xpe()+e+" "+t[0]}o(Qpe,"formatArgs");function xpe(){return Mt.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(xpe,"getDate");function bpe(...t){return process.stderr.write(Ag.format(...t)+`
`)}o(bpe,"log");function wpe(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(wpe,"save");function Npe(){return process.env.DEBUG}o(Npe,"load");function Spe(t){t.inspectOpts={};let e=Object.keys(Mt.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=Mt.inspectOpts[e[r]]}o(Spe,"init");ug.exports=Q0()(Mt);var{formatters:MY}=ug.exports;MY.o=function(t){return this.inspectOpts.colors=this.useColors,Ag.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};MY.O=function(t){return this.inspectOpts.colors=this.useColors,Ag.inspect(t,this.inspectOpts)}});var dg=g((m2e,w0)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?w0.exports=RY():w0.exports=LY()});var UY=g(Er=>{"use strict";var Rpe=Er&&Er.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),vpe=Er&&Er.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),_Y=Er&&Er.__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)&&Rpe(e,t,r);return vpe(e,t),e};Object.defineProperty(Er,"__esModule",{value:!0});Er.req=Er.json=Er.toBuffer=void 0;var Ppe=_Y(require("http")),Dpe=_Y(require("https"));async function FY(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(FY,"toBuffer");Er.toBuffer=FY;async function Tpe(t){let r=(await FY(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let s=n;throw s.message+=` (input: ${r})`,s}}o(Tpe,"json");Er.json=Tpe;function kpe(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Dpe:Ppe).request(t,e),s=new Promise((i,a)=>{n.once("response",i).once("error",a).end()});return n.then=s.then.bind(s),n}o(kpe,"req");Er.req=kpe});var zY=g(Vr=>{"use strict";var qY=Vr&&Vr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Mpe=Vr&&Vr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),HY=Vr&&Vr.__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)&&qY(e,t,r);return Mpe(e,t),e},Lpe=Vr&&Vr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&qY(e,t,r)};Object.defineProperty(Vr,"__esModule",{value:!0});Vr.Agent=void 0;var _pe=HY(require("net")),OY=HY(require("http")),Fpe=require("https");Lpe(UY(),Vr);var xs=Symbol("AgentBaseInternalState"),N0=class extends OY.Agent{static{o(this,"Agent")}constructor(e){super(e),this[xs]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(`
`).some(n=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new _pe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],s=n.indexOf(r);s!==-1&&(n.splice(s,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?Fpe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let s={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(s),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,s)).then(c=>{if(this.decrementSockets(i,a),c instanceof OY.Agent)try{return c.addRequest(e,s)}catch(l){return n(l)}this[xs].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(i,a),n(c)})}createConnection(){let e=this[xs].currentSocket;if(this[xs].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[xs].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[xs]&&(this[xs].defaultPort=e)}get protocol(){return this[xs].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[xs]&&(this[xs].protocol=e)}};Vr.Agent=N0});var GY=g(Rl=>{"use strict";var Upe=Rl&&Rl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Rl,"__esModule",{value:!0});Rl.parseProxyResponse=void 0;var Ope=Upe(dg()),mg=(0,Ope.default)("https-proxy-agent:parse-proxy-response");function qpe(t){return new Promise((e,r)=>{let n=0,s=[];function i(){let u=t.read();u?A(u):t.once("readable",i)}o(i,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",i)}o(a,"cleanup");function c(){a(),mg("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(u){a(),mg("onerror %o",u),r(u)}o(l,"onerror");function A(u){s.push(u),n+=u.length;let d=Buffer.concat(s,n),m=d.indexOf(`\r
\r
`);if(m===-1){mg("have not received end of HTTP headers yet..."),i();return}let p=d.slice(0,m).toString("ascii").split(`\r
`),h=p.shift();if(!h)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let f=h.split(" "),C=+f[1],y=f.slice(2).join(" "),E={};for(let I of p){if(!I)continue;let B=I.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${I}"`));let N=I.slice(0,B).toLowerCase(),k=I.slice(B+1).trimStart(),S=E[N];typeof S=="string"?E[N]=[S,k]:Array.isArray(S)?S.push(k):E[N]=k}mg("got proxy server response: %o %o",h,E),a(),e({connect:{statusCode:C,statusText:y,headers:E},buffered:d})}o(A,"ondata"),t.on("error",l),t.on("end",c),i()})}o(qpe,"parseProxyResponse");Rl.parseProxyResponse=qpe});var jY=g(In=>{"use strict";var Hpe=In&&In.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),zpe=In&&In.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),$Y=In&&In.__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)&&Hpe(e,t,r);return zpe(e,t),e},WY=In&&In.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(In,"__esModule",{value:!0});In.HttpsProxyAgent=void 0;var pg=$Y(require("net")),YY=$Y(require("tls")),Gpe=WY(require("assert")),Ype=WY(dg()),Vpe=zY(),Jpe=require("url"),$pe=GY(),Cd=(0,Ype.default)("https-proxy-agent"),VY=o(t=>t.servername===void 0&&t.host&&!pg.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),hg=class extends Vpe.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new Jpe.URL(e):e,this.proxyHeaders=r?.headers??{},Cd("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),s=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?JY(r,"headers"):null,host:n,port:s}}async connect(e,r){let{proxy:n}=this;if(!r.host)throw new TypeError('No "host" provided');let s;n.protocol==="https:"?(Cd("Creating `tls.Socket`: %o",this.connectOpts),s=YY.connect(VY(this.connectOpts))):(Cd("Creating `net.Socket`: %o",this.connectOpts),s=pg.connect(this.connectOpts));let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=pg.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r
`;if(n.username||n.password){let m=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(m).toString("base64")}`}i.Host=`${a}:${r.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let m of Object.keys(i))c+=`${m}: ${i[m]}\r
`;let l=(0,$pe.parseProxyResponse)(s);s.write(`${c}\r
`);let{connect:A,buffered:u}=await l;if(e.emit("proxyConnect",A),this.emit("proxyConnect",A,e),A.statusCode===200)return e.once("socket",Wpe),r.secureEndpoint?(Cd("Upgrading socket connection to TLS"),YY.connect({...JY(VY(r),"host","path","port"),socket:s})):s;s.destroy();let d=new pg.Socket({writable:!1});return d.readable=!0,e.once("socket",m=>{Cd("Replaying proxy buffer for failed request"),(0,Gpe.default)(m.listenerCount("data")>0),m.push(u),m.push(null)}),d}};hg.protocols=["http","https"];In.HttpsProxyAgent=hg;function Wpe(t){t.resume()}o(Wpe,"resume");function JY(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(JY,"omit")});var ZY=g(Cr=>{"use strict";var jpe=Cr&&Cr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Kpe=Cr&&Cr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),KY=Cr&&Cr.__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)&&jpe(e,t,r);return Kpe(e,t),e};Object.defineProperty(Cr,"__esModule",{value:!0});Cr.req=Cr.json=Cr.toBuffer=void 0;var Xpe=KY(require("http")),Zpe=KY(require("https"));async function XY(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(XY,"toBuffer");Cr.toBuffer=XY;async function ehe(t){let r=(await XY(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let s=n;throw s.message+=` (input: ${r})`,s}}o(ehe,"json");Cr.json=ehe;function the(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Zpe:Xpe).request(t,e),s=new Promise((i,a)=>{n.once("response",i).once("error",a).end()});return n.then=s.then.bind(s),n}o(the,"req");Cr.req=the});var nV=g(Jr=>{"use strict";var tV=Jr&&Jr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),rhe=Jr&&Jr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),rV=Jr&&Jr.__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)&&tV(e,t,r);return rhe(e,t),e},nhe=Jr&&Jr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&tV(e,t,r)};Object.defineProperty(Jr,"__esModule",{value:!0});Jr.Agent=void 0;var she=rV(require("net")),eV=rV(require("http")),ihe=require("https");nhe(ZY(),Jr);var bs=Symbol("AgentBaseInternalState"),S0=class extends eV.Agent{static{o(this,"Agent")}constructor(e){super(e),this[bs]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(`
`).some(n=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new she.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],s=n.indexOf(r);s!==-1&&(n.splice(s,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?ihe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let s={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(s),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,s)).then(c=>{if(this.decrementSockets(i,a),c instanceof eV.Agent)return c.addRequest(e,s);this[bs].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(i,a),n(c)})}createConnection(){let e=this[bs].currentSocket;if(this[bs].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[bs].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[bs]&&(this[bs].defaultPort=e)}get protocol(){return this[bs].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[bs]&&(this[bs].protocol=e)}};Jr.Agent=S0});var oV=g(Bn=>{"use strict";var ohe=Bn&&Bn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),ahe=Bn&&Bn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),iV=Bn&&Bn.__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)&&ohe(e,t,r);return ahe(e,t),e},che=Bn&&Bn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Bn,"__esModule",{value:!0});Bn.HttpProxyAgent=void 0;var lhe=iV(require("net")),Ahe=iV(require("tls")),uhe=che(dg()),dhe=require("events"),mhe=nV(),sV=require("url"),vl=(0,uhe.default)("http-proxy-agent"),fg=class extends mhe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new sV.URL(e):e,this.proxyHeaders=r?.headers??{},vl("Creating new HttpProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),s=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?phe(r,"headers"):null,host:n,port:s}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:n}=this,s=r.secureEndpoint?"https:":"http:",i=e.getHeader("host")||"localhost",a=`${s}//${i}`,c=new sV.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let l=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(n.username||n.password){let A=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;l["Proxy-Authorization"]=`Basic ${Buffer.from(A).toString("base64")}`}l["Proxy-Connection"]||(l["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let A of Object.keys(l)){let u=l[A];u&&e.setHeader(A,u)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let n,s;vl("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(vl("Patching connection write() output buffer with updated header"),n=e.outputData[0].data,s=n.indexOf(`\r
\r
`)+4,e.outputData[0].data=e._header+n.substring(s),vl("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(vl("Creating `tls.Socket`: %o",this.connectOpts),i=Ahe.connect(this.connectOpts)):(vl("Creating `net.Socket`: %o",this.connectOpts),i=lhe.connect(this.connectOpts)),await(0,dhe.once)(i,"connect"),i}};fg.protocols=["http","https"];Bn.HttpProxyAgent=fg;function phe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(phe,"omit")});var SV=g(vg=>{"use strict";Object.defineProperty(vg,"__esModule",{value:!0});vg.state=void 0;vg.state={instrumenterImplementation:void 0}});var YV=g(Mg=>{"use strict";Object.defineProperty(Mg,"__esModule",{value:!0});Mg.state=void 0;Mg.state={operationRequestMap:new WeakMap}});var I4=g(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});var ZCe=require("os"),eIe=require("util");function tIe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(tIe,"_interopDefaultLegacy");var rIe=tIe(eIe);function nIe(t,...e){process.stderr.write(`${rIe.default.format(t,...e)}${ZCe.EOL}`)}o(nIe,"log");var u4=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,m4,pv=[],hv=[],rE=[];u4&&fv(u4);var p4=Object.assign(t=>h4(t),{enable:fv,enabled:gv,disable:sIe,log:nIe});function fv(t){m4=t,pv=[],hv=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?hv.push(new RegExp(`^${n.substr(1)}$`)):pv.push(new RegExp(`^${n}$`));for(let n of rE)n.enabled=gv(n.namespace)}o(fv,"enable");function gv(t){if(t.endsWith("*"))return!0;for(let e of hv)if(e.test(t))return!1;for(let e of pv)if(e.test(t))return!0;return!1}o(gv,"enabled");function sIe(){let t=m4||"";return fv(""),t}o(sIe,"disable");function h4(t){let e=Object.assign(r,{enabled:gv(t),destroy:iIe,log:p4.log,namespace:t,extend:oIe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),rE.push(e),e}o(h4,"createDebugger");function iIe(){let t=rE.indexOf(this);return t>=0?(rE.splice(t,1),!0):!1}o(iIe,"destroy");function oIe(t){let e=h4(`${this.namespace}:${t}`);return e.log=this.log,e}o(oIe,"extend");var Am=p4,f4=new Set,eE=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,nE,sE=Am("azure");sE.log=(...t)=>{Am.log(...t)};var yv=["verbose","info","warning","error"];eE&&(C4(eE)?g4(eE):console.error(`AZURE_LOG_LEVEL set to unknown log level '${eE}'; logging is not enabled. Acceptable values: ${yv.join(", ")}.`));function g4(t){if(t&&!C4(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${yv.join(",")}`);nE=t;let e=[];for(let r of f4)E4(r)&&e.push(r.namespace);Am.enable(e.join(","))}o(g4,"setLogLevel");function aIe(){return nE}o(aIe,"getLogLevel");var d4={verbose:400,info:300,warning:200,error:100};function cIe(t){let e=sE.extend(t);return y4(sE,e),{error:tE(e,"error"),warning:tE(e,"warning"),info:tE(e,"info"),verbose:tE(e,"verbose")}}o(cIe,"createClientLogger");function y4(t,e){e.log=(...r)=>{t.log(...r)}}o(y4,"patchLogMethod");function tE(t,e){let r=Object.assign(t.extend(e),{level:e});if(y4(t,r),E4(r)){let n=Am.disable();Am.enable(n+","+r.namespace)}return f4.add(r),r}o(tE,"createLogger");function E4(t){return!!(nE&&d4[t.level]<=d4[nE])}o(E4,"shouldEnable");function C4(t){return yv.includes(t)}o(C4,"isAzureLogLevel");Kl.AzureLogger=sE;Kl.createClientLogger=cIe;Kl.getLogLevel=aIe;Kl.setLogLevel=g4});var Iv=g(dm=>{"use strict";Object.defineProperty(dm,"__esModule",{value:!0});var Xl=new WeakMap,iE=new WeakMap,um=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,Xl.set(this,[]),iE.set(this,!1)}get aborted(){if(!iE.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return iE.get(this)}static get none(){return new t}addEventListener(e,r){if(!Xl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Xl.get(this).push(r)}removeEventListener(e,r){if(!Xl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=Xl.get(this),s=n.indexOf(r);s>-1&&n.splice(s,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 B4(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=Xl.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),iE.set(t,!0)}o(B4,"abortSignal");var Ev=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},Cv=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new um,!!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(){B4(this._signal)}static timeout(e){let r=new um,n=setTimeout(B4,e,r);return typeof n.unref=="function"&&n.unref(),r}};dm.AbortController=Cv;dm.AbortError=Ev;dm.AbortSignal=um});var N4=g(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});var lIe=Iv(),Sv=require("crypto");function Q4(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=e??{};return new Promise((i,a)=>{function c(){a(new lIe.AbortError(s??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",A)}o(l,"removeListeners");function A(){r?.(),l(),c()}if(o(A,"onAbort"),n?.aborted)return c();try{t(u=>{l(),i(u)},u=>{l(),a(u)})}catch(u){a(u)}n?.addEventListener("abort",A)})}o(Q4,"createAbortablePromise");var AIe="The delay was aborted.";function uIe(t,e){let r,{abortSignal:n,abortErrorMsg:s}=e??{};return Q4(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:s??AIe})}o(uIe,"delay");function dIe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(dIe,"getRandomIntegerInclusive");function x4(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(x4,"isObject");function b4(t){if(x4(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(b4,"isError");function mIe(t){if(b4(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(mIe,"getErrorMessage");async function pIe(t,e,r){let n=Buffer.from(t,"base64");return Sv.createHmac("sha256",n).update(e).digest(r)}o(pIe,"computeSha256Hmac");async function hIe(t,e){return Sv.createHash("sha256").update(t).digest(e)}o(hIe,"computeSha256Hash");function Rv(t){return typeof t<"u"&&t!==null}o(Rv,"isDefined");function fIe(t,e){if(!Rv(t)||typeof t!="object")return!1;for(let r of e)if(!w4(t,r))return!1;return!0}o(fIe,"isObjectWithProperties");function w4(t,e){return Rv(t)&&typeof t=="object"&&e in t}o(w4,"objectHasProperty");function gIe(){let t="";for(let e=0;e<32;e++){let r=Math.floor(Math.random()*16);e===12?t+="4":e===16?t+=r&3|8:t+=r.toString(16),(e===7||e===11||e===15||e===19)&&(t+="-")}return t}o(gIe,"generateUUID");var Bv,Nv=typeof((Bv=globalThis?.crypto)===null||Bv===void 0?void 0:Bv.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):Sv.randomUUID;Nv||(Nv=gIe);function yIe(){return Nv()}o(yIe,"randomUUID");var Qv,xv,bv,wv,EIe=typeof window<"u"&&typeof window.document<"u",CIe=typeof self=="object"&&typeof self?.importScripts=="function"&&(((Qv=self.constructor)===null||Qv===void 0?void 0:Qv.name)==="DedicatedWorkerGlobalScope"||((xv=self.constructor)===null||xv===void 0?void 0:xv.name)==="ServiceWorkerGlobalScope"||((bv=self.constructor)===null||bv===void 0?void 0:bv.name)==="SharedWorkerGlobalScope"),IIe=typeof process<"u"&&!!process.version&&!!(!((wv=process.versions)===null||wv===void 0)&&wv.node),BIe=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",QIe=typeof Bun<"u"&&typeof Bun.version<"u",xIe=typeof navigator<"u"&&navigator?.product==="ReactNative";function bIe(t,e){switch(e){case"utf-8":return RIe(t);case"base64":return NIe(t);case"base64url":return SIe(t)}}o(bIe,"uint8ArrayToString");function wIe(t,e){switch(e){case"utf-8":return vIe(t);case"base64":return PIe(t);case"base64url":return DIe(t)}}o(wIe,"stringToUint8Array");function NIe(t){return Buffer.from(t).toString("base64")}o(NIe,"uint8ArrayToBase64");function SIe(t){return Buffer.from(t).toString("base64url")}o(SIe,"uint8ArrayToBase64Url");function RIe(t){return Buffer.from(t).toString("utf-8")}o(RIe,"uint8ArrayToUtf8String");function vIe(t){return Buffer.from(t)}o(vIe,"utf8StringToUint8Array");function PIe(t){return Buffer.from(t,"base64")}o(PIe,"base64ToUint8Array");function DIe(t){return Buffer.from(t,"base64url")}o(DIe,"base64UrlToUint8Array");et.computeSha256Hash=hIe;et.computeSha256Hmac=pIe;et.createAbortablePromise=Q4;et.delay=uIe;et.getErrorMessage=mIe;et.getRandomIntegerInclusive=dIe;et.isBrowser=EIe;et.isBun=QIe;et.isDefined=Rv;et.isDeno=BIe;et.isError=b4;et.isNode=IIe;et.isObject=x4;et.isObjectWithProperties=fIe;et.isReactNative=xIe;et.isWebWorker=CIe;et.objectHasProperty=w4;et.randomUUID=yIe;et.stringToUint8Array=wIe;et.uint8ArrayToString=bIe});var $4=g(Wa=>{"use strict";Object.defineProperty(Wa,"__esModule",{value:!0});var TIe=I4(),S4=Iv(),kIe=N4(),$a=TIe.createClientLogger("core-lro"),v4=2e3,P4=["succeeded","canceled","failed"];function D4(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(D4,"deserializeState");function R4(t){let{state:e,stateProxy:r,isOperationError:n}=t;return s=>{throw n(s)&&(r.setError(e,s),r.setFailed(e)),s}}o(R4,"setStateError");function MIe(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(MIe,"appendReadableErrorMessage");function LIe(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=MIe(e,n.message);return{code:r,message:e}}o(LIe,"simplifyError");function T4(t){let{state:e,stateProxy:r,status:n,isDone:s,processResult:i,getError:a,response:c,setErrorAsResult:l}=t;switch(n){case"succeeded":{r.setSucceeded(e);break}case"failed":{let A=a?.(c),u="";if(A){let{code:m,message:p}=LIe(A);u=`. ${m}. ${p}`}let d=`The long-running operation has failed${u}`;r.setError(e,new Error(d)),r.setFailed(e),$a.warning(d);break}case"canceled":{r.setCanceled(e);break}}(s?.(c,e)||s===void 0&&["succeeded","canceled"].concat(l?[]:["failed"]).includes(n))&&r.setResult(e,_Ie({response:c,state:e,processResult:i}))}o(T4,"processOperationStatus");function _Ie(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(_Ie,"buildResult");async function k4(t){let{init:e,stateProxy:r,processResult:n,getOperationStatus:s,withOperationLocation:i,setErrorAsResult:a}=t,{operationLocation:c,resourceLocation:l,metadata:A,response:u}=await e();c&&i?.(c,!1);let d={metadata:A,operationLocation:c,resourceLocation:l};$a.verbose("LRO: Operation description:",d);let m=r.initState(d),p=s({response:u,state:m,operationLocation:c});return T4({state:m,status:p,stateProxy:r,response:u,setErrorAsResult:a,processResult:n}),m}o(k4,"initOperation");async function FIe(t){let{poll:e,state:r,stateProxy:n,operationLocation:s,getOperationStatus:i,getResourceLocation:a,isOperationError:c,options:l}=t,A=await e(s,l).catch(R4({state:r,stateProxy:n,isOperationError:c})),u=i(A,r);if($a.verbose(`LRO: Status:
Polling from: ${r.config.operationLocation}
Operation status: ${u}
Polling status: ${P4.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let d=a(A,r);if(d!==void 0)return{response:await e(d).catch(R4({state:r,stateProxy:n,isOperationError:c})),status:u}}return{response:A,status:u}}o(FIe,"pollOperationHelper");async function M4(t){let{poll:e,state:r,stateProxy:n,options:s,getOperationStatus:i,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:A,getPollingInterval:u,processResult:d,getError:m,updateState:p,setDelay:h,isDone:f,setErrorAsResult:C}=t,{operationLocation:y}=r.config;if(y!==void 0){let{response:E,status:I}=await FIe({poll:e,getOperationStatus:i,state:r,stateProxy:n,operationLocation:y,getResourceLocation:a,isOperationError:l,options:s});if(T4({status:I,response:E,state:r,stateProxy:n,isDone:f,processResult:d,getError:m,setErrorAsResult:C}),!P4.includes(I)){let B=u?.(E);B&&h(B);let N=c?.(E,r);if(N!==void 0){let k=y!==N;r.config.operationLocation=N,A?.(N,k)}else A?.(y,!1)}p?.(r,E)}}o(M4,"pollOperation");function L4(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(L4,"getOperationLocationPollingUrl");function _4(t){return t.headers.location}o(_4,"getLocationHeader");function F4(t){return t.headers["operation-location"]}o(F4,"getOperationLocationHeader");function U4(t){return t.headers["azure-asyncoperation"]}o(U4,"getAzureAsyncOperationHeader");function UIe(t){var e;let{location:r,requestMethod:n,requestPath:s,resourceLocationConfig:i}=t;switch(n){case"PUT":return s;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:s;default:return a()}function a(){switch(i){case"azure-async-operation":return;case"original-uri":return s;default:return r}}o(a,"getDefault")}o(UIe,"findResourceLocation");function O4(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:s}=t,i=F4(e),a=U4(e),c=L4({operationLocation:i,azureAsyncOperation:a}),l=_4(e),A=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:UIe({requestMethod:A,location:l,requestPath:n,resourceLocationConfig:s})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:A==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}o(O4,"inferLroMode");function q4(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 Dv(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 $a.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(q4,"transformStatus");function OIe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return q4({status:r,statusCode:t.statusCode})}o(OIe,"getStatus");function qIe(t){var e,r;let{properties:n,provisioningState:s}=(e=t.body)!==null&&e!==void 0?e:{},i=(r=n?.provisioningState)!==null&&r!==void 0?r:s;return q4({status:i,statusCode:t.statusCode})}o(qIe,"getProvisioningState");function Dv(t){return t===202?"running":t<300?"succeeded":"failed"}o(Dv,"toOperationStatus");function H4({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?HIe(new Date(e)):r*1e3}}o(H4,"parseRetryAfter");function z4(t){let e=t.flatResponse.error;if(!e){$a.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){$a.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}o(z4,"getErrorFromResponse");function HIe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}o(HIe,"calculatePollingIntervalFromDate");function G4(t){let{response:e,state:r,operationLocation:n}=t;function s(){var a;switch((a=r.config.metadata)===null||a===void 0?void 0:a.mode){case void 0:return Dv(e.rawResponse.statusCode);case"Body":return Tv(e,r);default:return"running"}}o(s,"helper");let i=s();return i==="running"&&n===void 0?"succeeded":i}o(G4,"getStatusFromInitialResponse");async function zIe(t){let{stateProxy:e,resourceLocationConfig:r,processResult:n,lro:s,setErrorAsResult:i}=t;return k4({init:o(async()=>{let a=await s.sendInitialRequest(),c=O4({rawResponse:a.rawResponse,requestPath:s.requestPath,requestMethod:s.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},"init"),stateProxy:e,processResult:n?({flatResponse:a},c)=>n(a,c):({flatResponse:a})=>a,getOperationStatus:G4,setErrorAsResult:i})}o(zIe,"initHttpOperation");function Y4({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return L4({operationLocation:F4(t),azureAsyncOperation:U4(t)});case"ResourceLocation":return _4(t);default:return}}o(Y4,"getOperationLocation");function Tv({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return OIe(t);case"ResourceLocation":return Dv(t.statusCode);case"Body":return qIe(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}o(Tv,"getOperationStatus");function V4({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(V4,"getResourceLocation");function J4(t){return t.name==="RestError"}o(J4,"isOperationError");async function GIe(t){let{lro:e,stateProxy:r,options:n,processResult:s,updateState:i,setDelay:a,state:c,setErrorAsResult:l}=t;return M4({state:c,stateProxy:r,setDelay:a,processResult:s?({flatResponse:A},u)=>s(A,u):({flatResponse:A})=>A,getError:z4,updateState:i,getPollingInterval:H4,getOperationLocation:Y4,getOperationStatus:Tv,isOperationError:J4,getResourceLocation:V4,options:n,poll:o(async(A,u)=>e.sendPollRequest(A,u),"poll"),setErrorAsResult:l})}o(GIe,"pollHttpOperation");var YIe=o(()=>({initState:o(t=>({status:"running",config:t}),"initState"),setCanceled:o(t=>t.status="canceled","setCanceled"),setError:o((t,e)=>t.error=e,"setError"),setResult:o((t,e)=>t.result=e,"setResult"),setRunning:o(t=>t.status="running","setRunning"),setSucceeded:o(t=>t.status="succeeded","setSucceeded"),setFailed:o(t=>t.status="failed","setFailed"),getError:o(t=>t.error,"getError"),getResult:o(t=>t.result,"getResult"),isCanceled:o(t=>t.status==="canceled","isCanceled"),isFailed:o(t=>t.status==="failed","isFailed"),isRunning:o(t=>t.status==="running","isRunning"),isSucceeded:o(t=>t.status==="succeeded","isSucceeded")}),"createStateProxy$1");function VIe(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:n,isOperationError:s,getResourceLocation:i,getPollingInterval:a,getError:c,resolveOnUnsuccessful:l}=t;return async({init:A,poll:u},d)=>{let{processResult:m,updateState:p,withOperationLocation:h,intervalInMs:f=v4,restoreFrom:C}=d||{},y=YIe(),E=h?(()=>{let Ne=!1;return(ae,De)=>{De?h(ae):Ne||h(ae),Ne=!0}})():void 0,I=C?D4(C):await k4({init:A,stateProxy:y,processResult:m,getOperationStatus:r,withOperationLocation:E,setErrorAsResult:!l}),B,N=new S4.AbortController,k=new Map,S=o(async()=>k.forEach(Ne=>Ne(I)),"handleProgressEvents"),de="Operation was canceled",ye=f,Qe={getOperationState:o(()=>I,"getOperationState"),getResult:o(()=>I.result,"getResult"),isDone:o(()=>["succeeded","failed","canceled"].includes(I.status),"isDone"),isStopped:o(()=>B===void 0,"isStopped"),stopPolling:o(()=>{N.abort()},"stopPolling"),toString:o(()=>JSON.stringify({state:I}),"toString"),onProgress:o(Ne=>{let ae=Symbol();return k.set(ae,Ne),()=>k.delete(ae)},"onProgress"),pollUntilDone:o(Ne=>B??(B=(async()=>{let{abortSignal:ae}=Ne||{},{signal:De}=ae?new S4.AbortController([ae,N.signal]):N;if(!Qe.isDone())for(await Qe.poll({abortSignal:De});!Qe.isDone();)await kIe.delay(ye,{abortSignal:De}),await Qe.poll({abortSignal:De});if(l)return Qe.getResult();switch(I.status){case"succeeded":return Qe.getResult();case"canceled":throw new Error(de);case"failed":throw I.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{B=void 0})),"pollUntilDone"),async poll(Ne){if(l){if(Qe.isDone())return}else switch(I.status){case"succeeded":return;case"canceled":throw new Error(de);case"failed":throw I.error}if(await M4({poll:u,state:I,stateProxy:y,getOperationLocation:e,isOperationError:s,withOperationLocation:E,getPollingInterval:a,getOperationStatus:n,getResourceLocation:i,processResult:m,getError:c,updateState:p,options:Ne,setDelay:o(ae=>{ye=ae},"setDelay"),setErrorAsResult:!l}),await S(),!l)switch(I.status){case"canceled":throw new Error(de);case"failed":throw I.error}}};return Qe}}o(VIe,"buildCreatePoller");async function JIe(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:s,restoreFrom:i,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return VIe({getStatusFromInitialResponse:G4,getStatusFromPollResponse:Tv,isOperationError:J4,getOperationLocation:Y4,getResourceLocation:V4,getPollingInterval:H4,getError:z4,resolveOnUnsuccessful:l})({init:o(async()=>{let A=await t.sendInitialRequest(),u=O4({rawResponse:A.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:A,operationLocation:u?.operationLocation,resourceLocation:u?.resourceLocation},u?.mode?{metadata:{mode:u.mode}}:{})},"init"),poll:t.sendPollRequest},{intervalInMs:n,withOperationLocation:c,restoreFrom:i,updateState:a,processResult:s?({flatResponse:A},u)=>s(A,u):({flatResponse:A})=>A})}o(JIe,"createHttpPoller");var $Ie=o(()=>({initState:o(t=>({config:t,isStarted:!0}),"initState"),setCanceled:o(t=>t.isCancelled=!0,"setCanceled"),setError:o((t,e)=>t.error=e,"setError"),setResult:o((t,e)=>t.result=e,"setResult"),setRunning:o(t=>t.isStarted=!0,"setRunning"),setSucceeded:o(t=>t.isCompleted=!0,"setSucceeded"),setFailed:o(()=>{},"setFailed"),getError:o(t=>t.error,"getError"),getResult:o(t=>t.result,"getResult"),isCanceled:o(t=>!!t.isCancelled,"isCanceled"),isFailed:o(t=>!!t.error,"isFailed"),isRunning:o(t=>!!t.isStarted,"isRunning"),isSucceeded:o(t=>!!(t.isCompleted&&!t.isCancelled&&!t.error),"isSucceeded")}),"createStateProxy"),vv=class{static{o(this,"GenericPollOperation")}constructor(e,r,n,s,i,a,c){this.state=e,this.lro=r,this.setErrorAsResult=n,this.lroResourceLocationConfig=s,this.processResult=i,this.updateState=a,this.isDone=c}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let n=$Ie();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await zIe({lro:this.lro,stateProxy:n,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let s=this.updateState,i=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await GIe({lro:this.lro,state:this.state,stateProxy:n,processResult:this.processResult,updateState:s?(a,{rawResponse:c})=>s(a,c):void 0,isDone:i?({flatResponse:a},c)=>i(a,c):void 0,options:e,setDelay:o(a=>{this.pollerConfig.intervalInMs=a},"setDelay"),setErrorAsResult:this.setErrorAsResult}),(r=e?.fireProgress)===null||r===void 0||r.call(e,this.state),this}async cancel(){return $a.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},oE=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},aE=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},cE=class{static{o(this,"Poller")}constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((r,n)=>{this.resolve=r,this.reject=n}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let r of this.pollProgressCallbacks)r(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let r=o(()=>{this.pollOncePromise=void 0},"clearPollOncePromise");this.pollOncePromise.then(r,r).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new aE("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 oE("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()}},Pv=class extends cE{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=v4,resumeFrom:s,resolveOnUnsuccessful:i=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:A}=r||{},u=s?D4(s):{},d=new vv(u,e,!i,c,l,A,a);super(d),this.resolveOnUnsuccessful=i,this.config={intervalInMs:n},d.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};Wa.LroEngine=Pv;Wa.Poller=cE;Wa.PollerCancelledError=aE;Wa.PollerStoppedError=oE;Wa.createHttpPoller=JIe});var f8=g((pKe,hBe)=>{hBe.exports={name:"@actions/cache",version:"6.2.0",description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",type:"module",main:"lib/cache.js",types:"lib/cache.d.ts",exports:{".":{types:"./lib/cache.d.ts",import:"./lib/cache.js"}},directories:{lib:"lib",test:"__tests__"},files:["lib","!.DS_Store"],publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/actions/toolkit.git",directory:"packages/cache"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:'echo "Error: run tests from root" && exit 1',tsc:"tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^3.0.1","@actions/exec":"^3.0.0","@actions/glob":"^0.6.1","@actions/http-client":"^4.0.1","@actions/io":"^3.0.2","@azure/core-rest-pipeline":"^1.23.0","@azure/storage-blob":"^12.31.0","@protobuf-ts/runtime-rpc":"^2.11.1",semver:"^7.7.4"},devDependencies:{"@protobuf-ts/plugin":"^2.11.1","@types/node":"^25.6.0","@types/semver":"^7.7.1",typescript:"^5.9.3"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var y8=g((hKe,g8)=>{var fBe=f8();g8.exports={version:fBe.version}});var IE=g(nA=>{"use strict";Object.defineProperty(nA,"__esModule",{value:!0});nA.isJsonObject=nA.typeofJsonValue=void 0;function xBe(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(xBe,"typeofJsonValue");nA.typeofJsonValue=xBe;function bBe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(bBe,"isJsonObject");nA.isJsonObject=bBe});var QE=g(sA=>{"use strict";Object.defineProperty(sA,"__esModule",{value:!0});sA.base64encode=sA.base64decode=void 0;var Oi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),BE=[];for(let t=0;t<Oi.length;t++)BE[Oi[t].charCodeAt(0)]=t;BE[45]=Oi.indexOf("+");BE[95]=Oi.indexOf("/");function wBe(t){let e=t.length*3/4;t[t.length-2]=="="?e-=2:t[t.length-1]=="="&&(e-=1);let r=new Uint8Array(e),n=0,s=0,i,a=0;for(let c=0;c<t.length;c++){if(i=BE[t.charCodeAt(c)],i===void 0)switch(t[c]){case"=":s=0;case`
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(s){case 0:a=i,s=1;break;case 1:r[n++]=a<<2|(i&48)>>4,a=i,s=2;break;case 2:r[n++]=(a&15)<<4|(i&60)>>2,a=i,s=3;break;case 3:r[n++]=(a&3)<<6|i,s=0;break}}if(s==1)throw Error("invalid base64 string.");return r.subarray(0,n)}o(wBe,"base64decode");sA.base64decode=wBe;function NBe(t){let e="",r=0,n,s=0;for(let i=0;i<t.length;i++)switch(n=t[i],r){case 0:e+=Oi[n>>2],s=(n&3)<<4,r=1;break;case 1:e+=Oi[s|n>>4],s=(n&15)<<2,r=2;break;case 2:e+=Oi[s|n>>6],e+=Oi[n&63],r=0;break}return r&&(e+=Oi[s],e+="=",r==1&&(e+="=")),e}o(NBe,"base64encode");sA.base64encode=NBe});var x8=g(xE=>{"use strict";Object.defineProperty(xE,"__esModule",{value:!0});xE.utf8read=void 0;var Gv=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function SBe(t){if(t.length<1)return"";let e=0,r=[],n=[],s=0,i,a=t.length;for(;e<a;)i=t[e++],i<128?n[s++]=i:i>191&&i<224?n[s++]=(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,n[s++]=55296+(i>>10),n[s++]=56320+(i&1023)):n[s++]=(i&15)<<12|(t[e++]&63)<<6|t[e++]&63,s>8191&&(r.push(Gv(n)),s=0);return r.length?(s&&r.push(Gv(n.slice(0,s))),r.join("")):Gv(n.slice(0,s))}o(SBe,"utf8read");xE.utf8read=SBe});var Cm=g(Xs=>{"use strict";Object.defineProperty(Xs,"__esModule",{value:!0});Xs.WireType=Xs.mergeBinaryOptions=Xs.UnknownFieldHandler=void 0;var RBe;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,s,i,a)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:s,wireType:i,data:a})},t.onWrite=(r,n,s)=>{for(let{no:i,wireType:a,data:c}of t.list(n))s.tag(i,a).raw(c)},t.list=(r,n)=>{if(e(r)){let s=r[t.symbol];return n?s.filter(i=>i.no==n):s}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(RBe=Xs.UnknownFieldHandler||(Xs.UnknownFieldHandler={}));function vBe(t,e){return Object.assign(Object.assign({},t),e)}o(vBe,"mergeBinaryOptions");Xs.mergeBinaryOptions=vBe;var PBe;(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"})(PBe=Xs.WireType||(Xs.WireType={}))});var wE=g(Nr=>{"use strict";Object.defineProperty(Nr,"__esModule",{value:!0});Nr.varint32read=Nr.varint32write=Nr.int64toString=Nr.int64fromString=Nr.varint64write=Nr.varint64read=void 0;function DBe(){let t=0,e=0;for(let n=0;n<28;n+=7){let s=this.buf[this.pos++];if(t|=(s&127)<<n,(s&128)==0)return this.assertBounds(),[t,e]}let r=this.buf[this.pos++];if(t|=(r&15)<<28,e=(r&112)>>4,(r&128)==0)return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let s=this.buf[this.pos++];if(e|=(s&127)<<n,(s&128)==0)return this.assertBounds(),[t,e]}throw new Error("invalid varint")}o(DBe,"varint64read");Nr.varint64read=DBe;function TBe(t,e,r){for(let i=0;i<28;i=i+7){let a=t>>>i,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let n=t>>>28&15|(e&7)<<4,s=e>>3!=0;if(r.push((s?n|128:n)&255),!!s){for(let i=3;i<31;i=i+7){let a=e>>>i,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(TBe,"varint64write");Nr.varint64write=TBe;var bE=65536*65536;function kBe(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,s=0;function i(a,c){let l=Number(t.slice(a,c));s*=r,n=n*r+l,n>=bE&&(s=s+(n/bE|0),n=n%bE)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,n,s]}o(kBe,"int64fromString");Nr.int64fromString=kBe;function MBe(t,e){if(e>>>0<=2097151)return""+(bE*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,s=e>>16&65535,i=r+n*6777216+s*6710656,a=n+s*8147497,c=s*2,l=1e7;i>=l&&(a+=Math.floor(i/l),i%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function A(u,d){let m=u?String(u):"";return d?"0000000".slice(m.length)+m:m}return o(A,"decimalFrom1e7"),A(c,0)+A(a,c)+A(i,1)}o(MBe,"int64toString");Nr.int64toString=MBe;function LBe(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let r=0;r<9;r++)e.push(t&127|128),t=t>>7;e.push(1)}}o(LBe,"varint32write");Nr.varint32write=LBe;function _Be(){let t=this.buf[this.pos++],e=t&127;if((t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,(t&128)==0)return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;(t&128)!==0&&r<10;r++)t=this.buf[this.pos++];if((t&128)!=0)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(_Be,"varint32read");Nr.varint32read=_Be});var Mo=g(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.PbLong=ko.PbULong=ko.detectBi=void 0;var Im=wE(),Pe;function b8(){let t=new DataView(new ArrayBuffer(8));Pe=globalThis.BigInt!==void 0&&typeof t.getBigInt64=="function"&&typeof t.getBigUint64=="function"&&typeof t.setBigInt64=="function"&&typeof t.setBigUint64=="function"?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:t}:void 0}o(b8,"detectBi");ko.detectBi=b8;b8();function w8(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(w8,"assertBi");var N8=/^-?[0-9]+$/,SE=4294967296,NE=2147483648,RE=class{static{o(this,"SharedPbLong")}constructor(e,r){this.lo=e|0,this.hi=r|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*SE+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},Bm=class t extends RE{static{o(this,"PbULong")}static from(e){if(Pe)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Pe.C(e);case"number":if(e===0)return this.ZERO;e=Pe.C(e);case"bigint":if(!e)return this.ZERO;if(e<Pe.UMIN)throw new Error("signed value for ulong");if(e>Pe.UMAX)throw new Error("ulong too large");return Pe.V.setBigUint64(0,e,!0),new t(Pe.V.getInt32(0,!0),Pe.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!N8.test(e))throw new Error("string is no integer");let[r,n,s]=Im.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,s);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/SE)}throw new Error("unknown value "+typeof e)}toString(){return Pe?this.toBigInt().toString():Im.int64toString(this.lo,this.hi)}toBigInt(){return w8(Pe),Pe.V.setInt32(0,this.lo,!0),Pe.V.setInt32(4,this.hi,!0),Pe.V.getBigUint64(0,!0)}};ko.PbULong=Bm;Bm.ZERO=new Bm(0,0);var Qm=class t extends RE{static{o(this,"PbLong")}static from(e){if(Pe)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Pe.C(e);case"number":if(e===0)return this.ZERO;e=Pe.C(e);case"bigint":if(!e)return this.ZERO;if(e<Pe.MIN)throw new Error("signed long too small");if(e>Pe.MAX)throw new Error("signed long too large");return Pe.V.setBigInt64(0,e,!0),new t(Pe.V.getInt32(0,!0),Pe.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!N8.test(e))throw new Error("string is no integer");let[r,n,s]=Im.int64fromString(e);if(r){if(s>NE||s==NE&&n!=0)throw new Error("signed long too small")}else if(s>=NE)throw new Error("signed long too large");let i=new t(n,s);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/SE):new t(-e,-e/SE).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&NE)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Pe)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+Im.int64toString(e.lo,e.hi)}return Im.int64toString(this.lo,this.hi)}toBigInt(){return w8(Pe),Pe.V.setInt32(0,this.lo,!0),Pe.V.setInt32(4,this.hi,!0),Pe.V.getBigInt64(0,!0)}};ko.PbLong=Qm;Qm.ZERO=new Qm(0,0)});var Yv=g(oA=>{"use strict";Object.defineProperty(oA,"__esModule",{value:!0});oA.BinaryReader=oA.binaryReadOptions=void 0;var iA=Cm(),xm=Mo(),S8=wE(),R8={readUnknownField:!0,readerFactory:o(t=>new vE(t),"readerFactory")};function FBe(t){return t?Object.assign(Object.assign({},R8),t):R8}o(FBe,"binaryReadOptions");oA.binaryReadOptions=FBe;var vE=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=S8.varint64read,this.uint32=S8.varint32read,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.textDecoder=r??new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0})}tag(){let e=this.uint32(),r=e>>>3,n=e&7;if(r<=0||n<0||n>5)throw new Error("illegal tag: field no "+r+" wire type "+n);return[r,n]}skip(e){let r=this.pos;switch(e){case iA.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case iA.WireType.Bit64:this.pos+=4;case iA.WireType.Bit32:this.pos+=4;break;case iA.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case iA.WireType.StartGroup:let s;for(;(s=this.tag()[1])!==iA.WireType.EndGroup;)this.skip(s);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 xm.PbLong(...this.varint64())}uint64(){return new xm.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),n=-(e&1);return e=(e>>>1|(r&1)<<31)^n,r=r>>>1^n,new xm.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 xm.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new xm.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())}};oA.BinaryReader=vE});var aA=g(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.assertFloat32=Rn.assertUInt32=Rn.assertInt32=Rn.assertNever=Rn.assert=void 0;function UBe(t,e){if(!t)throw new Error(e)}o(UBe,"assert");Rn.assert=UBe;function OBe(t,e){throw new Error(e??"Unexpected object: "+t)}o(OBe,"assertNever");Rn.assertNever=OBe;var qBe=34028234663852886e22,HBe=-34028234663852886e22,zBe=4294967295,GBe=2147483647,YBe=-2147483648;function VBe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>GBe||t<YBe)throw new Error("invalid int 32: "+t)}o(VBe,"assertInt32");Rn.assertInt32=VBe;function JBe(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>zBe||t<0)throw new Error("invalid uint 32: "+t)}o(JBe,"assertUInt32");Rn.assertUInt32=JBe;function $Be(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>qBe||t<HBe))throw new Error("invalid float 32: "+t)}o($Be,"assertFloat32");Rn.assertFloat32=$Be});var Vv=g(lA=>{"use strict";Object.defineProperty(lA,"__esModule",{value:!0});lA.BinaryWriter=lA.binaryWriteOptions=void 0;var bm=Mo(),wm=wE(),cA=aA(),v8={writeUnknownFields:!0,writerFactory:o(()=>new PE,"writerFactory")};function WBe(t){return t?Object.assign(Object.assign({},v8),t):v8}o(WBe,"binaryWriteOptions");lA.binaryWriteOptions=WBe;var PE=class{static{o(this,"BinaryWriter")}constructor(e){this.stack=[],this.textEncoder=e??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let s=0;s<this.chunks.length;s++)e+=this.chunks[s].length;let r=new Uint8Array(e),n=0;for(let s=0;s<this.chunks.length;s++)r.set(this.chunks[s],n),n+=this.chunks[s].length;return this.chunks=[],r}fork(){return this.stack.push({chunks:this.chunks,buf:this.buf}),this.chunks=[],this.buf=[],this}join(){let e=this.finish(),r=this.stack.pop();if(!r)throw new Error("invalid state, fork stack empty");return this.chunks=r.chunks,this.buf=r.buf,this.uint32(e.byteLength),this.raw(e)}tag(e,r){return this.uint32((e<<3|r)>>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(cA.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return cA.assertInt32(e),wm.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){cA.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){cA.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){cA.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return cA.assertInt32(e),e=(e<<1^e>>31)>>>0,wm.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),s=bm.PbLong.from(e);return n.setInt32(0,s.lo,!0),n.setInt32(4,s.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),s=bm.PbULong.from(e);return n.setInt32(0,s.lo,!0),n.setInt32(4,s.hi,!0),this.raw(r)}int64(e){let r=bm.PbLong.from(e);return wm.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=bm.PbLong.from(e),n=r.hi>>31,s=r.lo<<1^n,i=(r.hi<<1|r.lo>>>31)^n;return wm.varint64write(s,i,this.buf),this}uint64(e){let r=bm.PbULong.from(e);return wm.varint64write(r.lo,r.hi,this.buf),this}};lA.BinaryWriter=PE});var Jv=g(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.mergeJsonOptions=Lo.jsonWriteOptions=Lo.jsonReadOptions=void 0;var P8={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},D8={ignoreUnknownFields:!1};function jBe(t){return t?Object.assign(Object.assign({},D8),t):D8}o(jBe,"jsonReadOptions");Lo.jsonReadOptions=jBe;function KBe(t){return t?Object.assign(Object.assign({},P8),t):P8}o(KBe,"jsonWriteOptions");Lo.jsonWriteOptions=KBe;function XBe(t,e){var r,n;let s=Object.assign(Object.assign({},t),e);return s.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(n=e?.typeRegistry)!==null&&n!==void 0?n:[]],s}o(XBe,"mergeJsonOptions");Lo.mergeJsonOptions=XBe});var Nm=g(DE=>{"use strict";Object.defineProperty(DE,"__esModule",{value:!0});DE.MESSAGE_TYPE=void 0;DE.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var $v=g(TE=>{"use strict";Object.defineProperty(TE,"__esModule",{value:!0});TE.lowerCamelCase=void 0;function ZBe(t){let e=!1,r=[];for(let n=0;n<t.length;n++){let s=t.charAt(n);s=="_"?e=!0:/\d/.test(s)?(r.push(s),e=!0):e?(r.push(s.toUpperCase()),e=!1):n==0?r.push(s.toLowerCase()):r.push(s)}return r.join("")}o(ZBe,"lowerCamelCase");TE.lowerCamelCase=ZBe});var es=g(Bt=>{"use strict";Object.defineProperty(Bt,"__esModule",{value:!0});Bt.readMessageOption=Bt.readFieldOption=Bt.readFieldOptions=Bt.normalizeFieldInfo=Bt.RepeatType=Bt.LongType=Bt.ScalarType=void 0;var T8=$v(),eQe;(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"})(eQe=Bt.ScalarType||(Bt.ScalarType={}));var tQe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(tQe=Bt.LongType||(Bt.LongType={}));var k8;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(k8=Bt.RepeatType||(Bt.RepeatType={}));function rQe(t){var e,r,n,s;return t.localName=(e=t.localName)!==null&&e!==void 0?e:T8.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:T8.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:k8.NO,t.opt=(s=t.opt)!==null&&s!==void 0?s:t.repeat||t.oneof?!1:t.kind=="message",t}o(rQe,"normalizeFieldInfo");Bt.normalizeFieldInfo=rQe;function nQe(t,e,r,n){var s;let i=(s=t.fields.find((a,c)=>a.localName==e||c==e))===null||s===void 0?void 0:s.options;return i&&i[r]?n.fromJson(i[r]):void 0}o(nQe,"readFieldOptions");Bt.readFieldOptions=nQe;function sQe(t,e,r,n){var s;let i=(s=t.fields.find((c,l)=>c.localName==e||l==e))===null||s===void 0?void 0:s.options;if(!i)return;let a=i[r];return a===void 0?a:n?n.fromJson(a):a}o(sQe,"readFieldOption");Bt.readFieldOption=sQe;function iQe(t,e,r){let s=t.options[e];return s===void 0?s:r?r.fromJson(s):s}o(iQe,"readMessageOption");Bt.readMessageOption=iQe});var Wv=g(Sr=>{"use strict";Object.defineProperty(Sr,"__esModule",{value:!0});Sr.getSelectedOneofValue=Sr.clearOneofValue=Sr.setUnknownOneofValue=Sr.setOneofValue=Sr.getOneofValue=Sr.isOneofGroup=void 0;function oQe(t){if(typeof t!="object"||t===null||!t.hasOwnProperty("oneofKind"))return!1;switch(typeof t.oneofKind){case"string":return t[t.oneofKind]===void 0?!1:Object.keys(t).length==2;case"undefined":return Object.keys(t).length==1;default:return!1}}o(oQe,"isOneofGroup");Sr.isOneofGroup=oQe;function aQe(t,e){return t[e]}o(aQe,"getOneofValue");Sr.getOneofValue=aQe;function cQe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(cQe,"setOneofValue");Sr.setOneofValue=cQe;function lQe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(lQe,"setUnknownOneofValue");Sr.setUnknownOneofValue=lQe;function AQe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(AQe,"clearOneofValue");Sr.clearOneofValue=AQe;function uQe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(uQe,"getSelectedOneofValue");Sr.getSelectedOneofValue=uQe});var Kv=g(kE=>{"use strict";Object.defineProperty(kE,"__esModule",{value:!0});kE.ReflectionTypeCheck=void 0;var tt=es(),dQe=Wv(),jv=class{static{o(this,"ReflectionTypeCheck")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}prepare(){if(this.data)return;let e=[],r=[],n=[];for(let s of this.fields)if(s.oneof)n.includes(s.oneof)||(n.push(s.oneof),e.push(s.oneof),r.push(s.oneof));else switch(r.push(s.localName),s.kind){case"scalar":case"enum":(!s.opt||s.repeat)&&e.push(s.localName);break;case"message":s.repeat&&e.push(s.localName);break;case"map":e.push(s.localName);break}this.data={req:e,known:r,oneofs:Object.values(n)}}is(e,r,n=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let s=Object.keys(e),i=this.data;if(s.length<i.req.length||i.req.some(a=>!s.includes(a))||!n&&s.some(a=>!i.known.includes(a)))return!1;if(r<1)return!0;for(let a of i.oneofs){let c=e[a];if(!dQe.isOneofGroup(c))return!1;if(c.oneofKind===void 0)continue;let l=this.fields.find(A=>A.localName===c.oneofKind);if(!l||!this.field(c[c.oneofKind],l,n,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,n,r))return!1;return!0}field(e,r,n,s){let i=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:i?this.scalars(e,r.T,s,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:i?this.scalars(e,tt.ScalarType.INT32,s):this.scalar(e,tt.ScalarType.INT32);case"message":return e===void 0?!0:i?this.messages(e,r.T(),n,s):this.message(e,r.T(),n,s);case"map":if(typeof e!="object"||e===null)return!1;if(s<2)return!0;if(!this.mapKeys(e,r.K,s))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,s,r.V.L);case"enum":return this.scalars(Object.values(e),tt.ScalarType.INT32,s);case"message":return this.messages(Object.values(e),r.V.T(),n,s)}break}return!0}message(e,r,n,s){return n?r.isAssignable(e,s):r.is(e,s)}messages(e,r,n,s){if(!Array.isArray(e))return!1;if(s<2)return!0;if(n){for(let i=0;i<e.length&&i<s;i++)if(!r.isAssignable(e[i],s-1))return!1}else for(let i=0;i<e.length&&i<s;i++)if(!r.is(e[i],s-1))return!1;return!0}scalar(e,r,n){let s=typeof e;switch(r){case tt.ScalarType.UINT64:case tt.ScalarType.FIXED64:case tt.ScalarType.INT64:case tt.ScalarType.SFIXED64:case tt.ScalarType.SINT64:switch(n){case tt.LongType.BIGINT:return s=="bigint";case tt.LongType.NUMBER:return s=="number"&&!isNaN(e);default:return s=="string"}case tt.ScalarType.BOOL:return s=="boolean";case tt.ScalarType.STRING:return s=="string";case tt.ScalarType.BYTES:return e instanceof Uint8Array;case tt.ScalarType.DOUBLE:case tt.ScalarType.FLOAT:return s=="number"&&!isNaN(e);default:return s=="number"&&Number.isInteger(e)}}scalars(e,r,n,s){if(!Array.isArray(e))return!1;if(n<2)return!0;if(Array.isArray(e)){for(let i=0;i<e.length&&i<n;i++)if(!this.scalar(e[i],r,s))return!1}return!0}mapKeys(e,r,n){let s=Object.keys(e);switch(r){case tt.ScalarType.INT32:case tt.ScalarType.FIXED32:case tt.ScalarType.SFIXED32:case tt.ScalarType.SINT32:case tt.ScalarType.UINT32:return this.scalars(s.slice(0,n).map(i=>parseInt(i)),r,n);case tt.ScalarType.BOOL:return this.scalars(s.slice(0,n).map(i=>i=="true"?!0:i=="false"?!1:i),r,n);default:return this.scalars(s,r,n,tt.LongType.STRING)}}};kE.ReflectionTypeCheck=jv});var LE=g(ME=>{"use strict";Object.defineProperty(ME,"__esModule",{value:!0});ME.reflectionLongConvert=void 0;var M8=es();function mQe(t,e){switch(e){case M8.LongType.BIGINT:return t.toBigInt();case M8.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(mQe,"reflectionLongConvert");ME.reflectionLongConvert=mQe});var Zv=g(UE=>{"use strict";Object.defineProperty(UE,"__esModule",{value:!0});UE.ReflectionJsonReader=void 0;var L8=IE(),pQe=QE(),Qt=es(),_E=Mo(),Ka=aA(),FE=LE(),Xv=class{static{o(this,"ReflectionJsonReader")}constructor(e){this.info=e}prepare(){var e;if(this.fMap===void 0){this.fMap={};let r=(e=this.info.fields)!==null&&e!==void 0?e:[];for(let n of r)this.fMap[n.name]=n,this.fMap[n.jsonName]=n,this.fMap[n.localName]=n}}assert(e,r,n){if(!e){let s=L8.typeofJsonValue(n);throw(s=="number"||s=="boolean")&&(s=n.toString()),new Error(`Cannot parse JSON ${s} for ${this.info.typeName}#${r}`)}}read(e,r,n){this.prepare();let s=[];for(let[i,a]of Object.entries(e)){let c=this.fMap[i];if(!c){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${i}`);continue}let l=c.localName,A;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(s.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);s.push(c.oneof),A=r[c.oneof]={oneofKind:l}}else A=r;if(c.kind=="map"){if(a===null)continue;this.assert(L8.isJsonObject(a),c.name,a);let u=A[l];for(let[d,m]of Object.entries(a)){this.assert(m!==null,c.name+" map value",null);let p;switch(c.V.kind){case"message":p=c.V.T().internalJsonRead(m,n);break;case"enum":if(p=this.enum(c.V.T(),m,c.name,n.ignoreUnknownFields),p===!1)continue;break;case"scalar":p=this.scalar(m,c.V.T,c.V.L,c.name);break}this.assert(p!==void 0,c.name+" map value",m);let h=d;c.K==Qt.ScalarType.BOOL&&(h=h=="true"?!0:h=="false"?!1:h),h=this.scalar(h,c.K,Qt.LongType.STRING,c.name).toString(),u[h]=p}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let u=A[l];for(let d of a){this.assert(d!==null,c.name,null);let m;switch(c.kind){case"message":m=c.T().internalJsonRead(d,n);break;case"enum":if(m=this.enum(c.T(),d,c.name,n.ignoreUnknownFields),m===!1)continue;break;case"scalar":m=this.scalar(d,c.T,c.L,c.name);break}this.assert(m!==void 0,c.name,a),u.push(m)}}else switch(c.kind){case"message":if(a===null&&c.T().typeName!="google.protobuf.Value"){this.assert(c.oneof===void 0,c.name+" (oneof member)",null);continue}A[l]=c.T().internalJsonRead(a,n,A[l]);break;case"enum":if(a===null)continue;let u=this.enum(c.T(),a,c.name,n.ignoreUnknownFields);if(u===!1)continue;A[l]=u;break;case"scalar":if(a===null)continue;A[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,n,s){if(e[0]=="google.protobuf.NullValue"&&Ka.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return Ka.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${r}.`),r;case"string":let i=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(i=r.substring(e[2].length));let a=e[1][i];return typeof a>"u"&&s?!1:(Ka.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}Ka.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,n,s){let i;try{switch(r){case Qt.ScalarType.DOUBLE:case Qt.ScalarType.FLOAT:if(e===null)return 0;if(e==="NaN")return Number.NaN;if(e==="Infinity")return Number.POSITIVE_INFINITY;if(e==="-Infinity")return Number.NEGATIVE_INFINITY;if(e===""){i="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){i="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let a=Number(e);if(Number.isNaN(a)){i="not a number";break}if(!Number.isFinite(a)){i="too large or small";break}return r==Qt.ScalarType.FLOAT&&Ka.assertFloat32(a),a;case Qt.ScalarType.INT32:case Qt.ScalarType.FIXED32:case Qt.ScalarType.SFIXED32:case Qt.ScalarType.SINT32:case Qt.ScalarType.UINT32:if(e===null)return 0;let c;if(typeof e=="number"?c=e:e===""?i="empty string":typeof e=="string"&&(e.trim().length!==e.length?i="extra whitespace":c=Number(e)),c===void 0)break;return r==Qt.ScalarType.UINT32?Ka.assertUInt32(c):Ka.assertInt32(c),c;case Qt.ScalarType.INT64:case Qt.ScalarType.SFIXED64:case Qt.ScalarType.SINT64:if(e===null)return FE.reflectionLongConvert(_E.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return FE.reflectionLongConvert(_E.PbLong.from(e),n);case Qt.ScalarType.FIXED64:case Qt.ScalarType.UINT64:if(e===null)return FE.reflectionLongConvert(_E.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return FE.reflectionLongConvert(_E.PbULong.from(e),n);case Qt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Qt.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){i="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case Qt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return pQe.base64decode(e)}}catch(a){i=a.message}this.assert(!1,s+(i?" - "+i:""),e)}};UE.ReflectionJsonReader=Xv});var tP=g(OE=>{"use strict";Object.defineProperty(OE,"__esModule",{value:!0});OE.ReflectionJsonWriter=void 0;var hQe=QE(),_8=Mo(),ar=es(),Ye=aA(),eP=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let n={},s=e;for(let i of this.fields){if(!i.oneof){let A=this.field(i,s[i.localName],r);A!==void 0&&(n[r.useProtoFieldName?i.name:i.jsonName]=A);continue}let a=s[i.oneof];if(a.oneofKind!==i.localName)continue;let c=i.kind=="scalar"||i.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,l=this.field(i,a[i.localName],c);Ye.assert(l!==void 0),n[r.useProtoFieldName?i.name:i.jsonName]=l}return n}field(e,r,n){let s;if(e.kind=="map"){Ye.assert(typeof r=="object"&&r!==null);let i={};switch(e.V.kind){case"scalar":for(let[l,A]of Object.entries(r)){let u=this.scalar(e.V.T,A,e.name,!1,!0);Ye.assert(u!==void 0),i[l.toString()]=u}break;case"message":let a=e.V.T();for(let[l,A]of Object.entries(r)){let u=this.message(a,A,e.name,n);Ye.assert(u!==void 0),i[l.toString()]=u}break;case"enum":let c=e.V.T();for(let[l,A]of Object.entries(r)){Ye.assert(A===void 0||typeof A=="number");let u=this.enum(c,A,e.name,!1,!0,n.enumAsInteger);Ye.assert(u!==void 0),i[l.toString()]=u}break}(n.emitDefaultValues||Object.keys(i).length>0)&&(s=i)}else if(e.repeat){Ye.assert(Array.isArray(r));let i=[];switch(e.kind){case"scalar":for(let l=0;l<r.length;l++){let A=this.scalar(e.T,r[l],e.name,e.opt,!0);Ye.assert(A!==void 0),i.push(A)}break;case"enum":let a=e.T();for(let l=0;l<r.length;l++){Ye.assert(r[l]===void 0||typeof r[l]=="number");let A=this.enum(a,r[l],e.name,e.opt,!0,n.enumAsInteger);Ye.assert(A!==void 0),i.push(A)}break;case"message":let c=e.T();for(let l=0;l<r.length;l++){let A=this.message(c,r[l],e.name,n);Ye.assert(A!==void 0),i.push(A)}break}(n.emitDefaultValues||i.length>0||n.emitDefaultValues)&&(s=i)}else switch(e.kind){case"scalar":s=this.scalar(e.T,r,e.name,e.opt,n.emitDefaultValues);break;case"enum":s=this.enum(e.T(),r,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":s=this.message(e.T(),r,e.name,n);break}return s}enum(e,r,n,s,i,a){if(e[0]=="google.protobuf.NullValue")return!i&&!s?void 0:null;if(r===void 0){Ye.assert(s);return}if(!(r===0&&!i&&!s))return Ye.assert(typeof r=="number"),Ye.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,n,s){return r===void 0?s.emitDefaultValues?null:void 0:e.internalJsonWrite(r,s)}scalar(e,r,n,s,i){if(r===void 0){Ye.assert(s);return}let a=i||s;switch(e){case ar.ScalarType.INT32:case ar.ScalarType.SFIXED32:case ar.ScalarType.SINT32:return r===0?a?0:void 0:(Ye.assertInt32(r),r);case ar.ScalarType.FIXED32:case ar.ScalarType.UINT32:return r===0?a?0:void 0:(Ye.assertUInt32(r),r);case ar.ScalarType.FLOAT:Ye.assertFloat32(r);case ar.ScalarType.DOUBLE:return r===0?a?0:void 0:(Ye.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case ar.ScalarType.STRING:return r===""?a?"":void 0:(Ye.assert(typeof r=="string"),r);case ar.ScalarType.BOOL:return r===!1?a?!1:void 0:(Ye.assert(typeof r=="boolean"),r);case ar.ScalarType.UINT64:case ar.ScalarType.FIXED64:Ye.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=_8.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case ar.ScalarType.INT64:case ar.ScalarType.SFIXED64:case ar.ScalarType.SINT64:Ye.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=_8.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case ar.ScalarType.BYTES:return Ye.assert(r instanceof Uint8Array),r.byteLength?hQe.base64encode(r):a?"":void 0}}};OE.ReflectionJsonWriter=eP});var HE=g(qE=>{"use strict";Object.defineProperty(qE,"__esModule",{value:!0});qE.reflectionScalarDefault=void 0;var ts=es(),F8=LE(),U8=Mo();function fQe(t,e=ts.LongType.STRING){switch(t){case ts.ScalarType.BOOL:return!1;case ts.ScalarType.UINT64:case ts.ScalarType.FIXED64:return F8.reflectionLongConvert(U8.PbULong.ZERO,e);case ts.ScalarType.INT64:case ts.ScalarType.SFIXED64:case ts.ScalarType.SINT64:return F8.reflectionLongConvert(U8.PbLong.ZERO,e);case ts.ScalarType.DOUBLE:case ts.ScalarType.FLOAT:return 0;case ts.ScalarType.BYTES:return new Uint8Array(0);case ts.ScalarType.STRING:return"";default:return 0}}o(fQe,"reflectionScalarDefault");qE.reflectionScalarDefault=fQe});var nP=g(zE=>{"use strict";Object.defineProperty(zE,"__esModule",{value:!0});zE.ReflectionBinaryReader=void 0;var O8=Cm(),lt=es(),Sm=LE(),q8=HE(),rP=class{static{o(this,"ReflectionBinaryReader")}constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){let r=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(r.map(n=>[n.no,n]))}}read(e,r,n,s){this.prepare();let i=s===void 0?e.len:e.pos+s;for(;e.pos<i;){let[a,c]=e.tag(),l=this.fieldNoToField.get(a);if(!l){let m=n.readUnknownField;if(m=="throw")throw new Error(`Unknown field ${a} (wire type ${c}) for ${this.info.typeName}`);let p=e.skip(c);m!==!1&&(m===!0?O8.UnknownFieldHandler.onRead:m)(this.info.typeName,r,a,c,p);continue}let A=r,u=l.repeat,d=l.localName;switch(l.oneof&&(A=A[l.oneof],A.oneofKind!==d&&(A=r[l.oneof]={oneofKind:d})),l.kind){case"scalar":case"enum":let m=l.kind=="enum"?lt.ScalarType.INT32:l.T,p=l.kind=="scalar"?l.L:void 0;if(u){let C=A[d];if(c==O8.WireType.LengthDelimited&&m!=lt.ScalarType.STRING&&m!=lt.ScalarType.BYTES){let y=e.uint32()+e.pos;for(;e.pos<y;)C.push(this.scalar(e,m,p))}else C.push(this.scalar(e,m,p))}else A[d]=this.scalar(e,m,p);break;case"message":if(u){let C=A[d],y=l.T().internalBinaryRead(e,e.uint32(),n);C.push(y)}else A[d]=l.T().internalBinaryRead(e,e.uint32(),n,A[d]);break;case"map":let[h,f]=this.mapEntry(l,e,n);A[d][h]=f;break}}}mapEntry(e,r,n){let s=r.uint32(),i=r.pos+s,a,c;for(;r.pos<i;){let[l,A]=r.tag();switch(l){case 1:e.K==lt.ScalarType.BOOL?a=r.bool().toString():a=this.scalar(r,e.K,lt.LongType.STRING);break;case 2:switch(e.V.kind){case"scalar":c=this.scalar(r,e.V.T,e.V.L);break;case"enum":c=r.int32();break;case"message":c=e.V.T().internalBinaryRead(r,r.uint32(),n);break}break;default:throw new Error(`Unknown field ${l} (wire type ${A}) in map entry for ${this.info.typeName}#${e.name}`)}}if(a===void 0){let l=q8.reflectionScalarDefault(e.K);a=e.K==lt.ScalarType.BOOL?l.toString():l}if(c===void 0)switch(e.V.kind){case"scalar":c=q8.reflectionScalarDefault(e.V.T,e.V.L);break;case"enum":c=0;break;case"message":c=e.V.T().create();break}return[a,c]}scalar(e,r,n){switch(r){case lt.ScalarType.INT32:return e.int32();case lt.ScalarType.STRING:return e.string();case lt.ScalarType.BOOL:return e.bool();case lt.ScalarType.DOUBLE:return e.double();case lt.ScalarType.FLOAT:return e.float();case lt.ScalarType.INT64:return Sm.reflectionLongConvert(e.int64(),n);case lt.ScalarType.UINT64:return Sm.reflectionLongConvert(e.uint64(),n);case lt.ScalarType.FIXED64:return Sm.reflectionLongConvert(e.fixed64(),n);case lt.ScalarType.FIXED32:return e.fixed32();case lt.ScalarType.BYTES:return e.bytes();case lt.ScalarType.UINT32:return e.uint32();case lt.ScalarType.SFIXED32:return e.sfixed32();case lt.ScalarType.SFIXED64:return Sm.reflectionLongConvert(e.sfixed64(),n);case lt.ScalarType.SINT32:return e.sint32();case lt.ScalarType.SINT64:return Sm.reflectionLongConvert(e.sint64(),n)}}};zE.ReflectionBinaryReader=rP});var iP=g(GE=>{"use strict";Object.defineProperty(GE,"__esModule",{value:!0});GE.ReflectionBinaryWriter=void 0;var en=Cm(),ke=es(),AA=aA(),Rm=Mo(),sP=class{static{o(this,"ReflectionBinaryWriter")}constructor(e){this.info=e}prepare(){if(!this.fields){let e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort((r,n)=>r.no-n.no)}}write(e,r,n){this.prepare();for(let i of this.fields){let a,c,l=i.repeat,A=i.localName;if(i.oneof){let u=e[i.oneof];if(u.oneofKind!==A)continue;a=u[A],c=!0}else a=e[A],c=!1;switch(i.kind){case"scalar":case"enum":let u=i.kind=="enum"?ke.ScalarType.INT32:i.T;if(l)if(AA.assert(Array.isArray(a)),l==ke.RepeatType.PACKED)this.packed(r,u,i.no,a);else for(let d of a)this.scalar(r,u,i.no,d,!0);else a===void 0?AA.assert(i.opt):this.scalar(r,u,i.no,a,c||i.opt);break;case"message":if(l){AA.assert(Array.isArray(a));for(let d of a)this.message(r,n,i.T(),i.no,d)}else this.message(r,n,i.T(),i.no,a);break;case"map":AA.assert(typeof a=="object"&&a!==null);for(let[d,m]of Object.entries(a))this.mapEntry(r,n,i,d,m);break}}let s=n.writeUnknownFields;s!==!1&&(s===!0?en.UnknownFieldHandler.onWrite:s)(this.info.typeName,e,r)}mapEntry(e,r,n,s,i){e.tag(n.no,en.WireType.LengthDelimited),e.fork();let a=s;switch(n.K){case ke.ScalarType.INT32:case ke.ScalarType.FIXED32:case ke.ScalarType.UINT32:case ke.ScalarType.SFIXED32:case ke.ScalarType.SINT32:a=Number.parseInt(s);break;case ke.ScalarType.BOOL:AA.assert(s=="true"||s=="false"),a=s=="true";break}switch(this.scalar(e,n.K,1,a,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,i,!0);break;case"enum":this.scalar(e,ke.ScalarType.INT32,2,i,!0);break;case"message":this.message(e,r,n.V.T(),2,i);break}e.join()}message(e,r,n,s,i){i!==void 0&&(n.internalBinaryWrite(i,e.tag(s,en.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,s,i){let[a,c,l]=this.scalarInfo(r,s);(!l||i)&&(e.tag(n,a),e[c](s))}packed(e,r,n,s){if(!s.length)return;AA.assert(r!==ke.ScalarType.BYTES&&r!==ke.ScalarType.STRING),e.tag(n,en.WireType.LengthDelimited),e.fork();let[,i]=this.scalarInfo(r);for(let a=0;a<s.length;a++)e[i](s[a]);e.join()}scalarInfo(e,r){let n=en.WireType.Varint,s,i=r===void 0,a=r===0;switch(e){case ke.ScalarType.INT32:s="int32";break;case ke.ScalarType.STRING:a=i||!r.length,n=en.WireType.LengthDelimited,s="string";break;case ke.ScalarType.BOOL:a=r===!1,s="bool";break;case ke.ScalarType.UINT32:s="uint32";break;case ke.ScalarType.DOUBLE:n=en.WireType.Bit64,s="double";break;case ke.ScalarType.FLOAT:n=en.WireType.Bit32,s="float";break;case ke.ScalarType.INT64:a=i||Rm.PbLong.from(r).isZero(),s="int64";break;case ke.ScalarType.UINT64:a=i||Rm.PbULong.from(r).isZero(),s="uint64";break;case ke.ScalarType.FIXED64:a=i||Rm.PbULong.from(r).isZero(),n=en.WireType.Bit64,s="fixed64";break;case ke.ScalarType.BYTES:a=i||!r.byteLength,n=en.WireType.LengthDelimited,s="bytes";break;case ke.ScalarType.FIXED32:n=en.WireType.Bit32,s="fixed32";break;case ke.ScalarType.SFIXED32:n=en.WireType.Bit32,s="sfixed32";break;case ke.ScalarType.SFIXED64:a=i||Rm.PbLong.from(r).isZero(),n=en.WireType.Bit64,s="sfixed64";break;case ke.ScalarType.SINT32:s="sint32";break;case ke.ScalarType.SINT64:a=i||Rm.PbLong.from(r).isZero(),s="sint64";break}return[n,s,i||a]}};GE.ReflectionBinaryWriter=sP});var oP=g(YE=>{"use strict";Object.defineProperty(YE,"__esModule",{value:!0});YE.reflectionCreate=void 0;var gQe=HE(),yQe=Nm();function EQe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},yQe.MESSAGE_TYPE,{value:t});for(let r of t.fields){let n=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[n]=[];else switch(r.kind){case"scalar":e[n]=gQe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(EQe,"reflectionCreate");YE.reflectionCreate=EQe});var aP=g(VE=>{"use strict";Object.defineProperty(VE,"__esModule",{value:!0});VE.reflectionMergePartial=void 0;function CQe(t,e,r){let n,s=r,i;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=s[a.oneof];if(l?.oneofKind==null)continue;if(n=l[c],i=e[a.oneof],i.oneofKind=l.oneofKind,n==null){delete i[c];continue}}else if(n=s[c],i=e,n==null)continue;switch(a.repeat&&(i[c].length=n.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let A=0;A<n.length;A++)i[c][A]=n[A];else i[c]=n;break;case"message":let l=a.T();if(a.repeat)for(let A=0;A<n.length;A++)i[c][A]=l.create(n[A]);else i[c]===void 0?i[c]=l.create(n):l.mergePartial(i[c],n);break;case"map":switch(a.V.kind){case"scalar":case"enum":Object.assign(i[c],n);break;case"message":let A=a.V.T();for(let u of Object.keys(n))i[c][u]=A.create(n[u]);break}break}}}o(CQe,"reflectionMergePartial");VE.reflectionMergePartial=CQe});var lP=g($E=>{"use strict";Object.defineProperty($E,"__esModule",{value:!0});$E.reflectionEquals=void 0;var cP=es();function IQe(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let n of t.fields){let s=n.localName,i=n.oneof?e[n.oneof][s]:e[s],a=n.oneof?r[n.oneof][s]:r[s];switch(n.kind){case"enum":case"scalar":let c=n.kind=="enum"?cP.ScalarType.INT32:n.T;if(!(n.repeat?H8(c,i,a):G8(c,i,a)))return!1;break;case"map":if(!(n.V.kind=="message"?z8(n.V.T(),JE(i),JE(a)):H8(n.V.kind=="enum"?cP.ScalarType.INT32:n.V.T,JE(i),JE(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?z8(l,i,a):l.equals(i,a)))return!1;break}}return!0}o(IQe,"reflectionEquals");$E.reflectionEquals=IQe;var JE=Object.values;function G8(t,e,r){if(e===r)return!0;if(t!==cP.ScalarType.BYTES)return!1;let n=e,s=r;if(n.length!==s.length)return!1;for(let i=0;i<n.length;i++)if(n[i]!=s[i])return!1;return!0}o(G8,"primitiveEq");function H8(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!G8(t,e[n],r[n]))return!1;return!0}o(H8,"repeatedPrimitiveEq");function z8(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!t.equals(e[n],r[n]))return!1;return!0}o(z8,"repeatedMsgEq")});var J8=g(WE=>{"use strict";Object.defineProperty(WE,"__esModule",{value:!0});WE.MessageType=void 0;var BQe=Nm(),QQe=es(),xQe=Kv(),bQe=Zv(),wQe=tP(),NQe=nP(),SQe=iP(),RQe=oP(),AP=aP(),vQe=IE(),Y8=Jv(),PQe=lP(),DQe=Vv(),TQe=Yv(),V8=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),kQe=V8[BQe.MESSAGE_TYPE]={},uP=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(QQe.normalizeFieldInfo),this.options=n??{},kQe.value=this,this.messagePrototype=Object.create(null,V8),this.refTypeCheck=new xQe.ReflectionTypeCheck(this),this.refJsonReader=new bQe.ReflectionJsonReader(this),this.refJsonWriter=new wQe.ReflectionJsonWriter(this),this.refBinReader=new NQe.ReflectionBinaryReader(this),this.refBinWriter=new SQe.ReflectionBinaryWriter(this)}create(e){let r=RQe.reflectionCreate(this);return e!==void 0&&AP.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return AP.reflectionMergePartial(this,r,e),r}equals(e,r){return PQe.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){AP.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=TQe.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,Y8.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,Y8.jsonWriteOptions(r))}toJsonString(e,r){var n;let s=this.toJson(e,r);return JSON.stringify(s,null,(n=r?.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,r){let n=DQe.binaryWriteOptions(r);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,r,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let s=n??this.create();return this.refJsonReader.read(e,s,r),s}throw new Error(`Unable to parse message ${this.typeName} from JSON ${vQe.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,n){return this.refBinWriter.write(e,r,n),r}internalBinaryRead(e,r,n,s){let i=s??this.create();return this.refBinReader.read(e,i,n,r),i}};WE.MessageType=uP});var $8=g(jE=>{"use strict";Object.defineProperty(jE,"__esModule",{value:!0});jE.containsMessageType=void 0;var MQe=Nm();function LQe(t){return t[MQe.MESSAGE_TYPE]!=null}o(LQe,"containsMessageType");jE.containsMessageType=LQe});var j8=g(Zs=>{"use strict";Object.defineProperty(Zs,"__esModule",{value:!0});Zs.listEnumNumbers=Zs.listEnumNames=Zs.listEnumValues=Zs.isEnumObject=void 0;function W8(t){if(typeof t!="object"||t===null||!t.hasOwnProperty(0))return!1;for(let e of Object.keys(t)){let r=parseInt(e);if(Number.isNaN(r)){let n=t[e];if(n===void 0||typeof n!="number"||t[n]===void 0)return!1}else{let n=t[r];if(n===void 0||t[n]!==r)return!1}}return!0}o(W8,"isEnumObject");Zs.isEnumObject=W8;function dP(t){if(!W8(t))throw new Error("not a typescript enum object");let e=[];for(let[r,n]of Object.entries(t))typeof n=="number"&&e.push({name:r,number:n});return e}o(dP,"listEnumValues");Zs.listEnumValues=dP;function _Qe(t){return dP(t).map(e=>e.name)}o(_Qe,"listEnumNames");Zs.listEnumNames=_Qe;function FQe(t){return dP(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(FQe,"listEnumNumbers");Zs.listEnumNumbers=FQe});var At=g(J=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0});var K8=IE();Object.defineProperty(J,"typeofJsonValue",{enumerable:!0,get:o(function(){return K8.typeofJsonValue},"get")});Object.defineProperty(J,"isJsonObject",{enumerable:!0,get:o(function(){return K8.isJsonObject},"get")});var X8=QE();Object.defineProperty(J,"base64decode",{enumerable:!0,get:o(function(){return X8.base64decode},"get")});Object.defineProperty(J,"base64encode",{enumerable:!0,get:o(function(){return X8.base64encode},"get")});var UQe=x8();Object.defineProperty(J,"utf8read",{enumerable:!0,get:o(function(){return UQe.utf8read},"get")});var mP=Cm();Object.defineProperty(J,"WireType",{enumerable:!0,get:o(function(){return mP.WireType},"get")});Object.defineProperty(J,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return mP.mergeBinaryOptions},"get")});Object.defineProperty(J,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return mP.UnknownFieldHandler},"get")});var Z8=Yv();Object.defineProperty(J,"BinaryReader",{enumerable:!0,get:o(function(){return Z8.BinaryReader},"get")});Object.defineProperty(J,"binaryReadOptions",{enumerable:!0,get:o(function(){return Z8.binaryReadOptions},"get")});var e$=Vv();Object.defineProperty(J,"BinaryWriter",{enumerable:!0,get:o(function(){return e$.BinaryWriter},"get")});Object.defineProperty(J,"binaryWriteOptions",{enumerable:!0,get:o(function(){return e$.binaryWriteOptions},"get")});var t$=Mo();Object.defineProperty(J,"PbLong",{enumerable:!0,get:o(function(){return t$.PbLong},"get")});Object.defineProperty(J,"PbULong",{enumerable:!0,get:o(function(){return t$.PbULong},"get")});var pP=Jv();Object.defineProperty(J,"jsonReadOptions",{enumerable:!0,get:o(function(){return pP.jsonReadOptions},"get")});Object.defineProperty(J,"jsonWriteOptions",{enumerable:!0,get:o(function(){return pP.jsonWriteOptions},"get")});Object.defineProperty(J,"mergeJsonOptions",{enumerable:!0,get:o(function(){return pP.mergeJsonOptions},"get")});var OQe=Nm();Object.defineProperty(J,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return OQe.MESSAGE_TYPE},"get")});var qQe=J8();Object.defineProperty(J,"MessageType",{enumerable:!0,get:o(function(){return qQe.MessageType},"get")});var Xa=es();Object.defineProperty(J,"ScalarType",{enumerable:!0,get:o(function(){return Xa.ScalarType},"get")});Object.defineProperty(J,"LongType",{enumerable:!0,get:o(function(){return Xa.LongType},"get")});Object.defineProperty(J,"RepeatType",{enumerable:!0,get:o(function(){return Xa.RepeatType},"get")});Object.defineProperty(J,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return Xa.normalizeFieldInfo},"get")});Object.defineProperty(J,"readFieldOptions",{enumerable:!0,get:o(function(){return Xa.readFieldOptions},"get")});Object.defineProperty(J,"readFieldOption",{enumerable:!0,get:o(function(){return Xa.readFieldOption},"get")});Object.defineProperty(J,"readMessageOption",{enumerable:!0,get:o(function(){return Xa.readMessageOption},"get")});var HQe=Kv();Object.defineProperty(J,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return HQe.ReflectionTypeCheck},"get")});var zQe=oP();Object.defineProperty(J,"reflectionCreate",{enumerable:!0,get:o(function(){return zQe.reflectionCreate},"get")});var GQe=HE();Object.defineProperty(J,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return GQe.reflectionScalarDefault},"get")});var YQe=aP();Object.defineProperty(J,"reflectionMergePartial",{enumerable:!0,get:o(function(){return YQe.reflectionMergePartial},"get")});var VQe=lP();Object.defineProperty(J,"reflectionEquals",{enumerable:!0,get:o(function(){return VQe.reflectionEquals},"get")});var JQe=nP();Object.defineProperty(J,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return JQe.ReflectionBinaryReader},"get")});var $Qe=iP();Object.defineProperty(J,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return $Qe.ReflectionBinaryWriter},"get")});var WQe=Zv();Object.defineProperty(J,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return WQe.ReflectionJsonReader},"get")});var jQe=tP();Object.defineProperty(J,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return jQe.ReflectionJsonWriter},"get")});var KQe=$8();Object.defineProperty(J,"containsMessageType",{enumerable:!0,get:o(function(){return KQe.containsMessageType},"get")});var vm=Wv();Object.defineProperty(J,"isOneofGroup",{enumerable:!0,get:o(function(){return vm.isOneofGroup},"get")});Object.defineProperty(J,"setOneofValue",{enumerable:!0,get:o(function(){return vm.setOneofValue},"get")});Object.defineProperty(J,"getOneofValue",{enumerable:!0,get:o(function(){return vm.getOneofValue},"get")});Object.defineProperty(J,"clearOneofValue",{enumerable:!0,get:o(function(){return vm.clearOneofValue},"get")});Object.defineProperty(J,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return vm.getSelectedOneofValue},"get")});var KE=j8();Object.defineProperty(J,"listEnumValues",{enumerable:!0,get:o(function(){return KE.listEnumValues},"get")});Object.defineProperty(J,"listEnumNames",{enumerable:!0,get:o(function(){return KE.listEnumNames},"get")});Object.defineProperty(J,"listEnumNumbers",{enumerable:!0,get:o(function(){return KE.listEnumNumbers},"get")});Object.defineProperty(J,"isEnumObject",{enumerable:!0,get:o(function(){return KE.isEnumObject},"get")});var XQe=$v();Object.defineProperty(J,"lowerCamelCase",{enumerable:!0,get:o(function(){return XQe.lowerCamelCase},"get")});var Pm=aA();Object.defineProperty(J,"assert",{enumerable:!0,get:o(function(){return Pm.assert},"get")});Object.defineProperty(J,"assertNever",{enumerable:!0,get:o(function(){return Pm.assertNever},"get")});Object.defineProperty(J,"assertInt32",{enumerable:!0,get:o(function(){return Pm.assertInt32},"get")});Object.defineProperty(J,"assertUInt32",{enumerable:!0,get:o(function(){return Pm.assertUInt32},"get")});Object.defineProperty(J,"assertFloat32",{enumerable:!0,get:o(function(){return Pm.assertFloat32},"get")})});var hP=g(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.readServiceOption=ei.readMethodOption=ei.readMethodOptions=ei.normalizeMethodInfo=void 0;var ZQe=At();function exe(t,e){var r,n,s;let i=t;return i.service=e,i.localName=(r=i.localName)!==null&&r!==void 0?r:ZQe.lowerCamelCase(i.name),i.serverStreaming=!!i.serverStreaming,i.clientStreaming=!!i.clientStreaming,i.options=(n=i.options)!==null&&n!==void 0?n:{},i.idempotency=(s=i.idempotency)!==null&&s!==void 0?s:void 0,i}o(exe,"normalizeMethodInfo");ei.normalizeMethodInfo=exe;function txe(t,e,r,n){var s;let i=(s=t.methods.find((a,c)=>a.localName===e||c===e))===null||s===void 0?void 0:s.options;return i&&i[r]?n.fromJson(i[r]):void 0}o(txe,"readMethodOptions");ei.readMethodOptions=txe;function rxe(t,e,r,n){var s;let i=(s=t.methods.find((c,l)=>c.localName===e||l===e))===null||s===void 0?void 0:s.options;if(!i)return;let a=i[r];return a===void 0?a:n?n.fromJson(a):a}o(rxe,"readMethodOption");ei.readMethodOption=rxe;function nxe(t,e,r){let n=t.options;if(!n)return;let s=n[e];return s===void 0?s:r?r.fromJson(s):s}o(nxe,"readServiceOption");ei.readServiceOption=nxe});var r$=g(XE=>{"use strict";Object.defineProperty(XE,"__esModule",{value:!0});XE.ServiceType=void 0;var sxe=hP(),fP=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(s=>sxe.normalizeMethodInfo(s,this)),this.options=n??{}}};XE.ServiceType=fP});var yP=g(ZE=>{"use strict";Object.defineProperty(ZE,"__esModule",{value:!0});ZE.RpcError=void 0;var gP=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",n){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=n??{}}toString(){let e=[this.name+": "+this.message];this.code&&(e.push(""),e.push("Code: "+this.code)),this.serviceName&&this.methodName&&e.push("Method: "+this.serviceName+"/"+this.methodName);let r=Object.entries(this.meta);if(r.length){e.push(""),e.push("Meta:");for(let[n,s]of r)e.push(` ${n}: ${s}`)}return e.join(`
`)}};ZE.RpcError=gP});var EP=g(tC=>{"use strict";Object.defineProperty(tC,"__esModule",{value:!0});tC.mergeRpcOptions=void 0;var n$=At();function ixe(t,e){if(!e)return t;let r={};eC(t,r),eC(e,r);for(let n of Object.keys(e)){let s=e[n];switch(n){case"jsonOptions":r.jsonOptions=n$.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=n$.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},eC(t.meta,r.meta),eC(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(s):s.concat();break}}return r}o(ixe,"mergeRpcOptions");tC.mergeRpcOptions=ixe;function eC(t,e){if(!t)return;let r=e;for(let[n,s]of Object.entries(t))s instanceof Date?r[n]=new Date(s.getTime()):Array.isArray(s)?r[n]=s.concat():r[n]=s}o(eC,"copy")});var IP=g(Za=>{"use strict";Object.defineProperty(Za,"__esModule",{value:!0});Za.Deferred=Za.DeferredState=void 0;var ti;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(ti=Za.DeferredState||(Za.DeferredState={}));var CP=class{static{o(this,"Deferred")}constructor(e=!0){this._state=ti.PENDING,this._promise=new Promise((r,n)=>{this._resolve=r,this._reject=n}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==ti.PENDING)throw new Error(`cannot resolve ${ti[this.state].toLowerCase()}`);this._resolve(e),this._state=ti.RESOLVED}reject(e){if(this.state!==ti.PENDING)throw new Error(`cannot reject ${ti[this.state].toLowerCase()}`);this._reject(e),this._state=ti.REJECTED}resolvePending(e){this._state===ti.PENDING&&this.resolve(e)}rejectPending(e){this._state===ti.PENDING&&this.reject(e)}};Za.Deferred=CP});var QP=g(rC=>{"use strict";Object.defineProperty(rC,"__esModule",{value:!0});rC.RpcOutputStreamController=void 0;var s$=IP(),ec=At(),BP=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,r){return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,n){ec.assert((e?1:0)+(r?1:0)+(n?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),n&&this.notifyComplete()}notifyMessage(e){ec.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){ec.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(){ec.assert(!this.closed,"stream is closed"),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void 0,void 0,!0)),this.clearLis()}[Symbol.asyncIterator](){return this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:o(()=>{let e=this._itState;ec.assert(e,"bad state"),ec.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 s$.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;ec.assert(n.state==s$.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};rC.RpcOutputStreamController=BP});var bP=g(uA=>{"use strict";var oxe=uA&&uA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(uA,"__esModule",{value:!0});uA.UnaryCall=void 0;var xP=class{static{o(this,"UnaryCall")}constructor(e,r,n,s,i,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=s,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return oxe(this,void 0,void 0,function*(){let[e,r,n,s]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:n,trailers:s}})}};uA.UnaryCall=xP});var NP=g(dA=>{"use strict";var axe=dA&&dA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(dA,"__esModule",{value:!0});dA.ServerStreamingCall=void 0;var wP=class{static{o(this,"ServerStreamingCall")}constructor(e,r,n,s,i,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=s,this.responses=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return axe(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:n}})}};dA.ServerStreamingCall=wP});var RP=g(mA=>{"use strict";var cxe=mA&&mA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(mA,"__esModule",{value:!0});mA.ClientStreamingCall=void 0;var SP=class{static{o(this,"ClientStreamingCall")}constructor(e,r,n,s,i,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=s,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return cxe(this,void 0,void 0,function*(){let[e,r,n,s]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:n,trailers:s}})}};mA.ClientStreamingCall=SP});var PP=g(pA=>{"use strict";var lxe=pA&&pA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(pA,"__esModule",{value:!0});pA.DuplexStreamingCall=void 0;var vP=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,n,s,i,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=s,this.responses=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return lxe(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:n}})}};pA.DuplexStreamingCall=vP});var o$=g(gA=>{"use strict";var Axe=gA&&gA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(gA,"__esModule",{value:!0});gA.TestTransport=void 0;var vn=yP(),nC=At(),i$=QP(),uxe=EP(),dxe=bP(),mxe=NP(),pxe=RP(),hxe=PP(),fA=class t{static{o(this,"TestTransport")}constructor(e){this.suppressUncaughtRejections=!0,this.headerDelay=10,this.responseDelay=50,this.betweenResponseDelay=10,this.afterResponseDelay=10,this.data=e??{}}get sentMessages(){return this.lastInput instanceof hA?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof hA?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 vn.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof vn.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(nC.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),nC.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return Axe(this,void 0,void 0,function*(){let s=[];if(this.data.response===void 0)s.push(e.O.create());else if(Array.isArray(this.data.response))for(let i of this.data.response)nC.assert(e.O.is(i)),s.push(i);else this.data.response instanceof vn.RpcError||(nC.assert(e.O.is(this.data.response)),s.push(this.data.response));try{yield Dt(this.responseDelay,n)(void 0)}catch(i){r.notifyError(i);return}if(this.data.response instanceof vn.RpcError){r.notifyError(this.data.response);return}for(let i of s){r.notifyMessage(i);try{yield Dt(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof vn.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof vn.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 vn.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 vn.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return uxe.mergeRpcOptions({},e)}unary(e,r,n){var s;let i=(s=n.meta)!==null&&s!==void 0?s:{},a=this.promiseHeaders().then(Dt(this.headerDelay,n.abort)),c=a.catch(u=>{}).then(Dt(this.responseDelay,n.abort)).then(u=>this.promiseSingleResponse(e)),l=c.catch(u=>{}).then(Dt(this.afterResponseDelay,n.abort)).then(u=>this.promiseStatus()),A=c.catch(u=>{}).then(Dt(this.afterResponseDelay,n.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput={single:r},new dxe.UnaryCall(e,i,r,a,c,l,A)}serverStreaming(e,r,n){var s;let i=(s=n.meta)!==null&&s!==void 0?s:{},a=this.promiseHeaders().then(Dt(this.headerDelay,n.abort)),c=new i$.RpcOutputStreamController,l=a.then(Dt(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then(Dt(this.afterResponseDelay,n.abort)),A=l.then(()=>this.promiseStatus()),u=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(A,u),this.lastInput={single:r},new mxe.ServerStreamingCall(e,i,r,a,c,A,u)}clientStreaming(e,r){var n;let s=(n=r.meta)!==null&&n!==void 0?n:{},i=this.promiseHeaders().then(Dt(this.headerDelay,r.abort)),a=i.catch(A=>{}).then(Dt(this.responseDelay,r.abort)).then(A=>this.promiseSingleResponse(e)),c=a.catch(A=>{}).then(Dt(this.afterResponseDelay,r.abort)).then(A=>this.promiseStatus()),l=a.catch(A=>{}).then(Dt(this.afterResponseDelay,r.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new hA(this.data,r.abort),new pxe.ClientStreamingCall(e,s,this.lastInput,i,a,c,l)}duplex(e,r){var n;let s=(n=r.meta)!==null&&n!==void 0?n:{},i=this.promiseHeaders().then(Dt(this.headerDelay,r.abort)),a=new i$.RpcOutputStreamController,c=i.then(Dt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(Dt(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),A=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput=new hA(this.data,r.abort),new hxe.DuplexStreamingCall(e,s,this.lastInput,i,a,l,A)}};gA.TestTransport=fA;fA.defaultHeaders={responseHeader:"test"};fA.defaultStatus={code:"OK",detail:"all good"};fA.defaultTrailers={responseTrailer:"test"};function Dt(t,e){return r=>new Promise((n,s)=>{if(e?.aborted)s(new vn.RpcError("user cancel","CANCELLED"));else{let i=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(i),s(new vn.RpcError("user cancel","CANCELLED"))})}})}o(Dt,"delay");var hA=class{static{o(this,"TestInputStream")}constructor(e,r){this._completed=!1,this._sent=[],this.data=e,this.abort=r}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof vn.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(Dt(r,this.abort))}complete(){if(this.data.inputComplete instanceof vn.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(Dt(e,this.abort))}}});var a$=g(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.stackDuplexStreamingInterceptors=Pn.stackClientStreamingInterceptors=Pn.stackServerStreamingInterceptors=Pn.stackUnaryInterceptors=Pn.stackIntercept=void 0;var fxe=At();function Dm(t,e,r,n,s){var i,a,c,l;if(t=="unary"){let A=o((u,d,m)=>e.unary(u,d,m),"tail");for(let u of((i=n.interceptors)!==null&&i!==void 0?i:[]).filter(d=>d.interceptUnary).reverse()){let d=A;A=o((m,p,h)=>u.interceptUnary(d,m,p,h),"tail")}return A(r,s,n)}if(t=="serverStreaming"){let A=o((u,d,m)=>e.serverStreaming(u,d,m),"tail");for(let u of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(d=>d.interceptServerStreaming).reverse()){let d=A;A=o((m,p,h)=>u.interceptServerStreaming(d,m,p,h),"tail")}return A(r,s,n)}if(t=="clientStreaming"){let A=o((u,d)=>e.clientStreaming(u,d),"tail");for(let u of((c=n.interceptors)!==null&&c!==void 0?c:[]).filter(d=>d.interceptClientStreaming).reverse()){let d=A;A=o((m,p)=>u.interceptClientStreaming(d,m,p),"tail")}return A(r,n)}if(t=="duplex"){let A=o((u,d)=>e.duplex(u,d),"tail");for(let u of((l=n.interceptors)!==null&&l!==void 0?l:[]).filter(d=>d.interceptDuplex).reverse()){let d=A;A=o((m,p)=>u.interceptDuplex(d,m,p),"tail")}return A(r,n)}fxe.assertNever(t)}o(Dm,"stackIntercept");Pn.stackIntercept=Dm;function gxe(t,e,r,n){return Dm("unary",t,e,n,r)}o(gxe,"stackUnaryInterceptors");Pn.stackUnaryInterceptors=gxe;function yxe(t,e,r,n){return Dm("serverStreaming",t,e,n,r)}o(yxe,"stackServerStreamingInterceptors");Pn.stackServerStreamingInterceptors=yxe;function Exe(t,e,r){return Dm("clientStreaming",t,e,r)}o(Exe,"stackClientStreamingInterceptors");Pn.stackClientStreamingInterceptors=Exe;function Cxe(t,e,r){return Dm("duplex",t,e,r)}o(Cxe,"stackDuplexStreamingInterceptors");Pn.stackDuplexStreamingInterceptors=Cxe});var c$=g(sC=>{"use strict";Object.defineProperty(sC,"__esModule",{value:!0});sC.ServerCallContextController=void 0;var DP=class{static{o(this,"ServerCallContextController")}constructor(e,r,n,s,i={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=n,this.trailers={},this._sendRH=s,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 n=r.indexOf(e);n>=0&&r.splice(n,1)}}};sC.ServerCallContextController=DP});var A$=g(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});var Ixe=r$();Object.defineProperty(rt,"ServiceType",{enumerable:!0,get:o(function(){return Ixe.ServiceType},"get")});var TP=hP();Object.defineProperty(rt,"readMethodOptions",{enumerable:!0,get:o(function(){return TP.readMethodOptions},"get")});Object.defineProperty(rt,"readMethodOption",{enumerable:!0,get:o(function(){return TP.readMethodOption},"get")});Object.defineProperty(rt,"readServiceOption",{enumerable:!0,get:o(function(){return TP.readServiceOption},"get")});var Bxe=yP();Object.defineProperty(rt,"RpcError",{enumerable:!0,get:o(function(){return Bxe.RpcError},"get")});var Qxe=EP();Object.defineProperty(rt,"mergeRpcOptions",{enumerable:!0,get:o(function(){return Qxe.mergeRpcOptions},"get")});var xxe=QP();Object.defineProperty(rt,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return xxe.RpcOutputStreamController},"get")});var bxe=o$();Object.defineProperty(rt,"TestTransport",{enumerable:!0,get:o(function(){return bxe.TestTransport},"get")});var l$=IP();Object.defineProperty(rt,"Deferred",{enumerable:!0,get:o(function(){return l$.Deferred},"get")});Object.defineProperty(rt,"DeferredState",{enumerable:!0,get:o(function(){return l$.DeferredState},"get")});var wxe=PP();Object.defineProperty(rt,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return wxe.DuplexStreamingCall},"get")});var Nxe=RP();Object.defineProperty(rt,"ClientStreamingCall",{enumerable:!0,get:o(function(){return Nxe.ClientStreamingCall},"get")});var Sxe=NP();Object.defineProperty(rt,"ServerStreamingCall",{enumerable:!0,get:o(function(){return Sxe.ServerStreamingCall},"get")});var Rxe=bP();Object.defineProperty(rt,"UnaryCall",{enumerable:!0,get:o(function(){return Rxe.UnaryCall},"get")});var Tm=a$();Object.defineProperty(rt,"stackIntercept",{enumerable:!0,get:o(function(){return Tm.stackIntercept},"get")});Object.defineProperty(rt,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return Tm.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(rt,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return Tm.stackClientStreamingInterceptors},"get")});Object.defineProperty(rt,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return Tm.stackServerStreamingInterceptors},"get")});Object.defineProperty(rt,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return Tm.stackUnaryInterceptors},"get")});var vxe=c$();Object.defineProperty(rt,"ServerCallContextController",{enumerable:!0,get:o(function(){return vxe.ServerCallContextController},"get")})});var S$=g((qZe,N$)=>{function Dn(t,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}o(Dn,"RetryOperation");N$.exports=Dn;Dn.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};Dn.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};Dn.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 n=this;return this._timer=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r),this._options.unref&&this._timer.unref(),!0};Dn.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)};Dn.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};Dn.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};Dn.prototype.start=Dn.prototype.try;Dn.prototype.errors=function(){return this._errors};Dn.prototype.attempts=function(){return this._attempts};Dn.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,n=0;n<this._errors.length;n++){var s=this._errors[n],i=s.message,a=(t[i]||0)+1;t[i]=a,a>=r&&(e=s,r=a)}return e}});var R$=g(ic=>{var Hxe=S$();ic.operation=function(t){var e=ic.timeouts(t);return new Hxe(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};ic.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 n=[],s=0;s<e.retries;s++)n.push(this.createTimeout(s,e));return t&&t.forever&&!n.length&&n.push(this.createTimeout(s,e)),n.sort(function(i,a){return i-a}),n};ic.createTimeout=function(t,e){var r=e.randomize?Math.random()+1:1,n=Math.round(r*Math.max(e.minTimeout,1)*Math.pow(e.factor,t));return n=Math.min(n,e.maxTimeout),n};ic.wrap=function(t,e,r){if(e instanceof Array&&(r=e,e=null),!r){r=[];for(var n in t)typeof t[n]=="function"&&r.push(n)}for(var s=0;s<r.length;s++){var i=r[s],a=t[i];t[i]=o(function(l){var A=ic.operation(e),u=Array.prototype.slice.call(arguments,1),d=u.pop();u.push(function(m){A.retry(m)||(m&&(arguments[0]=A.mainError()),d.apply(this,arguments))}),A.attempt(function(){l.apply(t,u)})},"retryWrapper").bind(t,a),t[i].options=e}}});var P$=g((YZe,v$)=>{v$.exports=R$()});var T$=g((VZe,D$)=>{var zxe=P$();function Gxe(t,e){function r(n,s){var i=e||{},a;"randomize"in i||(i.randomize=!0),a=zxe.operation(i);function c(u){s(u||new Error("Aborted"))}o(c,"bail");function l(u,d){if(u.bail){c(u);return}a.retry(u)?i.onRetry&&i.onRetry(u,d):s(a.mainError())}o(l,"onError");function A(u){var d;try{d=t(c,u)}catch(m){l(m,u);return}Promise.resolve(d).then(n).catch(o(function(p){l(p,u)},"catchIt"))}o(A,"runAttempt"),a.attempt(A)}return o(r,"run"),new Promise(r)}o(Gxe,"retry");D$.exports=Gxe});var K$=g(($Ze,Hi)=>{var ve=require("fs"),mC=require("os"),xt=require("path"),k$=require("crypto"),ni={fs:ve.constants,os:mC.constants},M$="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",U$=/XXXXXX/,Yxe=3,O$=(ni.O_CREAT||ni.fs.O_CREAT)|(ni.O_EXCL||ni.fs.O_EXCL)|(ni.O_RDWR||ni.fs.O_RDWR),Vxe=mC.platform()==="win32",Jxe=ni.EBADF||ni.os.errno.EBADF,$xe=ni.ENOENT||ni.os.errno.ENOENT,q$=448,H$=384,Wxe="exit",CA=[],z$=ve.rmdirSync.bind(ve),G$=!1;function jxe(t,e){return ve.rm(t,{recursive:!0},e)}o(jxe,"rimraf");function Y$(t){return ve.rmSync(t,{recursive:!0})}o(Y$,"FN_RIMRAF_SYNC");function mD(t,e){let r=IA(t,e),n=r[0],s=r[1];obe(n,function(i,a){if(i)return s(i);let c=a.tries;o((function l(){try{let A=J$(a);ve.stat(A,function(u){if(!u)return c-- >0?l():s(new Error("Could not get a unique tmp filename, max tries reached "+A));s(null,A)})}catch(A){s(A)}}),"_getUniqueName")()})}o(mD,"tmpName");function pD(t){let e=IA(t),r=e[0],n=abe(r),s=n.tries;do{let i=J$(n);try{ve.statSync(i)}catch{return i}}while(s-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(pD,"tmpNameSync");function Kxe(t,e){let r=IA(t,e),n=r[0],s=r[1];mD(n,o(function(a,c){if(a)return s(a);ve.open(c,O$,n.mode||H$,o(function(A,u){if(A)return s(A);if(n.discardDescriptor)return ve.close(u,o(function(m){return s(m,c,void 0,uD(c,-1,n,!1))},"_discardCallback"));{let d=n.discardDescriptor||n.detachDescriptor;s(null,c,u,uD(c,d?-1:u,n,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(Kxe,"file");function Xxe(t){let e=IA(t),r=e[0],n=r.discardDescriptor||r.detachDescriptor,s=pD(r),i=ve.openSync(s,O$,r.mode||H$);return r.discardDescriptor&&(ve.closeSync(i),i=void 0),{name:s,fd:i,removeCallback:uD(s,n?-1:i,r,!0)}}o(Xxe,"fileSync");function Zxe(t,e){let r=IA(t,e),n=r[0],s=r[1];mD(n,o(function(a,c){if(a)return s(a);ve.mkdir(c,n.mode||q$,o(function(A){if(A)return s(A);s(null,c,V$(c,n,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(Zxe,"dir");function ebe(t){let e=IA(t),r=e[0],n=pD(r);return ve.mkdirSync(n,r.mode||q$),{name:n,removeCallback:V$(n,r,!0)}}o(ebe,"dirSync");function tbe(t,e){let r=o(function(n){if(n&&!dD(n))return e(n);e()},"_handler");0<=t[0]?ve.close(t[0],function(){ve.unlink(t[1],r)}):ve.unlink(t[1],r)}o(tbe,"_removeFileAsync");function rbe(t){let e=null;try{0<=t[0]&&ve.closeSync(t[0])}catch(r){if(!cbe(r)&&!dD(r))throw r}finally{try{ve.unlinkSync(t[1])}catch(r){dD(r)||(e=r)}}if(e!==null)throw e}o(rbe,"_removeFileSync");function uD(t,e,r,n){let s=dC(rbe,[e,t],n),i=dC(tbe,[e,t],n,s);return r.keep||CA.unshift(s),n?s:i}o(uD,"_prepareTmpFileRemoveCallback");function V$(t,e,r){let n=e.unsafeCleanup?jxe:ve.rmdir.bind(ve),s=e.unsafeCleanup?Y$:z$,i=dC(s,t,r),a=dC(n,t,r,i);return e.keep||CA.unshift(i),r?i:a}o(V$,"_prepareTmpDirRemoveCallback");function dC(t,e,r,n){let s=!1;return o(function i(a){if(!s){let c=n||i,l=CA.indexOf(c);return l>=0&&CA.splice(l,1),s=!0,r||t===z$||t===Y$?t(e):t(e,a||function(){})}},"_cleanupCallback")}o(dC,"_prepareRemoveCallback");function nbe(){if(G$)for(;CA.length;)try{CA[0]()}catch{}}o(nbe,"_garbageCollector");function L$(t){let e=[],r=null;try{r=k$.randomBytes(t)}catch{r=k$.pseudoRandomBytes(t)}for(let n=0;n<t;n++)e.push(M$[r[n]%M$.length]);return e.join("")}o(L$,"_randomChars");function Rr(t){return typeof t>"u"}o(Rr,"_isUndefined");function IA(t,e){if(typeof t=="function")return[{},t];if(Rr(t))return[{},e];let r={};for(let n of Object.getOwnPropertyNames(t))r[n]=t[n];return[r,e]}o(IA,"_parseArguments");function sbe(t,e,r){let n=xt.isAbsolute(t)?t:xt.join(e,t);ve.stat(n,function(s){s?ve.realpath(xt.dirname(n),function(i,a){if(i)return r(i);r(null,xt.join(a,xt.basename(n)))}):ve.realpath(n,r)})}o(sbe,"_resolvePath");function ibe(t,e){let r=xt.isAbsolute(t)?t:xt.join(e,t);try{return ve.statSync(r),ve.realpathSync(r)}catch{let s=ve.realpathSync(xt.dirname(r));return xt.join(s,xt.basename(r))}}o(ibe,"_resolvePathSync");function J$(t){let e=t.tmpdir;if(!Rr(t.name))return xt.join(e,t.dir,t.name);if(!Rr(t.template))return xt.join(e,t.dir,t.template).replace(U$,L$(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",L$(12),t.postfix?"-"+t.postfix:""].join("");return xt.join(e,t.dir,r)}o(J$,"_generateTmpName");function AD(t,e){if(typeof e!="string")throw new Error(`${t} option must be a string, got "${typeof e}".`);if(e.includes(".."))throw new Error("Relative value not allowed");return e}o(AD,"_assertPath");function $$(t){if(!Rr(t.name)){let e=t.name;if(xt.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=xt.basename(e);if(r===".."||r==="."||r!==e)throw new Error(`name option must not contain a path, found "${e}".`)}if(!Rr(t.template)){if(typeof t.template!="string")throw new Error(`template option must be a string, got "${typeof t.template}".`);if(!t.template.match(U$))throw new Error(`Invalid template, found "${t.template}".`)}if(!Rr(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=Rr(t.name)?t.tries||Yxe:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Rr(t.prefix)?"":AD("prefix",t.prefix),t.postfix=Rr(t.postfix)?"":AD("postfix",t.postfix),t.template=Rr(t.template)?void 0:AD("template",t.template)}o($$,"_assertOptionsBase");function _$(t,e,r,n){if(Rr(e))return n(null);sbe(e,r,function(s,i){if(s)return n(s);let a=xt.relative(r,i);if(a.startsWith("..")||xt.isAbsolute(a))return n(new Error(`${t} option must be relative to "${r}", found "${a}".`));n(null,a)})}o(_$,"_getRelativePath");function F$(t,e,r){if(Rr(e))return;let n=ibe(e,r),s=xt.relative(r,n);if(s.startsWith("..")||xt.isAbsolute(s))throw new Error(`${t} option must be relative to "${r}", found "${s}".`);return s}o(F$,"_getRelativePathSync");function obe(t,e){Abe(t,function(r,n){if(r)return e(r);t.tmpdir=n;try{$$(t,n)}catch(s){return e(s)}_$("dir",t.dir,n,function(s,i){if(s)return e(s);t.dir=Rr(i)?"":i,_$("template",t.template,n,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(obe,"_assertAndSanitizeOptions");function abe(t){let e=t.tmpdir=j$(t);$$(t,e);let r=F$("dir",t.dir,e);return t.dir=Rr(r)?"":r,t.template=F$("template",t.template,e),t}o(abe,"_assertAndSanitizeOptionsSync");function cbe(t){return W$(t,-Jxe,"EBADF")}o(cbe,"_isEBADF");function dD(t){return W$(t,-$xe,"ENOENT")}o(dD,"_isENOENT");function W$(t,e,r){return Vxe?t.code===r:t.code===r&&t.errno===e}o(W$,"_isExpectedError");function lbe(){G$=!0}o(lbe,"setGracefulCleanup");function Abe(t,e){return ve.realpath(t&&t.tmpdir||mC.tmpdir(),e)}o(Abe,"_getTmpDir");function j$(t){return ve.realpathSync(t&&t.tmpdir||mC.tmpdir())}o(j$,"_getTmpDirSync");process.addListener(Wxe,nbe);Object.defineProperty(Hi.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return j$()},"get")});Hi.exports.dir=Zxe;Hi.exports.dirSync=ebe;Hi.exports.file=Kxe;Hi.exports.fileSync=Xxe;Hi.exports.tmpName=mD;Hi.exports.tmpNameSync=pD;Hi.exports.setGracefulCleanup=lbe});var cr=g(nn=>{"use strict";nn.__esModule=!0;nn.extend=tW;nn.indexOf=hbe;nn.escapeExpression=fbe;nn.isEmpty=gbe;nn.createFrame=ybe;nn.blockParams=Ebe;nn.appendContextPath=Cbe;var ube={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},dbe=/[&<>"'`=]/g,mbe=/[&<>"'`=]/;function pbe(t){return ube[t]}o(pbe,"escapeChar");function tW(t){for(var e=1;e<arguments.length;e++)for(var r in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],r)&&(t[r]=arguments[e][r]);return t}o(tW,"extend");var gD=Object.prototype.toString;nn.toString=gD;var fD=o(function(e){return typeof e=="function"},"isFunction");fD(/x/)&&(nn.isFunction=fD=o(function(t){return typeof t=="function"&&gD.call(t)==="[object Function]"},"isFunction"));nn.isFunction=fD;var rW=Array.isArray||function(t){return t&&typeof t=="object"?gD.call(t)==="[object Array]":!1};nn.isArray=rW;function hbe(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}o(hbe,"indexOf");function fbe(t){if(typeof t!="string"){if(t&&t.toHTML)return t.toHTML();if(t==null)return"";if(!t)return t+"";t=""+t}return mbe.test(t)?t.replace(dbe,pbe):t}o(fbe,"escapeExpression");function gbe(t){return!t&&t!==0?!0:!!(rW(t)&&t.length===0)}o(gbe,"isEmpty");function ybe(t){var e=tW({},t);return e._parent=t,e}o(ybe,"createFrame");function Ebe(t,e){return t.path=e,t}o(Ebe,"blockParams");function Cbe(t,e){return(t?t+".":"")+e}o(Cbe,"appendContextPath")});var sn=g((hC,nW)=>{"use strict";hC.__esModule=!0;var yD=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function ED(t,e){var r=e&&e.loc,n=void 0,s=void 0,i=void 0,a=void 0;r&&(n=r.start.line,s=r.end.line,i=r.start.column,a=r.end.column,t+=" - "+n+":"+i);for(var c=Error.prototype.constructor.call(this,t),l=0;l<yD.length;l++)this[yD[l]]=c[yD[l]];Error.captureStackTrace&&Error.captureStackTrace(this,ED);try{r&&(this.lineNumber=n,this.endLineNumber=s,Object.defineProperty?(Object.defineProperty(this,"column",{value:i,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:a,enumerable:!0})):(this.column=i,this.endColumn=a))}catch{}}o(ED,"Exception");ED.prototype=new Error;hC.default=ED;nW.exports=hC.default});var iW=g((fC,sW)=>{"use strict";fC.__esModule=!0;var CD=cr();fC.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var n=r.inverse,s=r.fn;if(e===!0)return s(this);if(e===!1||e==null)return n(this);if(CD.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):n(this);if(r.data&&r.ids){var i=CD.createFrame(r.data);i.contextPath=CD.appendContextPath(r.data.contextPath,r.name),r={data:i}}return s(e,r)})};sW.exports=fC.default});var aW=g((gC,oW)=>{"use strict";gC.__esModule=!0;function Ibe(t){return t&&t.__esModule?t:{default:t}}o(Ibe,"_interopRequireDefault");var Fm=cr(),Bbe=sn(),Qbe=Ibe(Bbe);gC.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new Qbe.default("Must pass iterator to #each");var n=r.fn,s=r.inverse,i=0,a="",c=void 0,l=void 0;r.data&&r.ids&&(l=Fm.appendContextPath(r.data.contextPath,r.ids[0])+"."),Fm.isFunction(e)&&(e=e.call(this)),r.data&&(c=Fm.createFrame(r.data));function A(h,f,C){c&&(c.key=h,c.index=f,c.first=f===0,c.last=!!C,l&&(c.contextPath=l+h)),a=a+n(e[h],{data:c,blockParams:Fm.blockParams([e[h],h],[l+h,null])})}if(o(A,"execIteration"),e&&typeof e=="object")if(Fm.isArray(e))for(var u=e.length;i<u;i++)i in e&&A(i,i,i===e.length-1);else if(typeof Symbol=="function"&&e[Symbol.iterator]){for(var d=[],m=e[Symbol.iterator](),p=m.next();!p.done;p=m.next())d.push(p.value);e=d;for(var u=e.length;i<u;i++)A(i,i,i===e.length-1)}else(function(){var h=void 0;Object.keys(e).forEach(function(f){h!==void 0&&A(h,i-1),h=f,i++}),h!==void 0&&A(h,i-1,!0)})();return i===0&&(a=s(this)),a})};oW.exports=gC.default});var lW=g((yC,cW)=>{"use strict";yC.__esModule=!0;function xbe(t){return t&&t.__esModule?t:{default:t}}o(xbe,"_interopRequireDefault");var bbe=sn(),wbe=xbe(bbe);yC.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new wbe.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};cW.exports=yC.default});var mW=g((EC,dW)=>{"use strict";EC.__esModule=!0;function Nbe(t){return t&&t.__esModule?t:{default:t}}o(Nbe,"_interopRequireDefault");var AW=cr(),Sbe=sn(),uW=Nbe(Sbe);EC.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new uW.default("#if requires exactly one argument");return AW.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||AW.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new uW.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};dW.exports=EC.default});var hW=g((CC,pW)=>{"use strict";CC.__esModule=!0;CC.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],n=0;n<arguments.length-1;n++)e.push(arguments[n]);var s=1;r.hash.level!=null?s=r.hash.level:r.data&&r.data.level!=null&&(s=r.data.level),e[0]=s,t.log.apply(t,e)})};pW.exports=CC.default});var gW=g((IC,fW)=>{"use strict";IC.__esModule=!0;IC.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};fW.exports=IC.default});var EW=g((BC,yW)=>{"use strict";BC.__esModule=!0;function Rbe(t){return t&&t.__esModule?t:{default:t}}o(Rbe,"_interopRequireDefault");var Um=cr(),vbe=sn(),Pbe=Rbe(vbe);BC.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new Pbe.default("#with requires exactly one argument");Um.isFunction(e)&&(e=e.call(this));var n=r.fn;if(Um.isEmpty(e))return r.inverse(this);var s=r.data;return r.data&&r.ids&&(s=Um.createFrame(r.data),s.contextPath=Um.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:s,blockParams:Um.blockParams([e],[s&&s.contextPath])})})};yW.exports=BC.default});var ID=g(QC=>{"use strict";QC.__esModule=!0;QC.registerDefaultHelpers=Vbe;QC.moveHelperToHooks=Jbe;function oc(t){return t&&t.__esModule?t:{default:t}}o(oc,"_interopRequireDefault");var Dbe=iW(),Tbe=oc(Dbe),kbe=aW(),Mbe=oc(kbe),Lbe=lW(),_be=oc(Lbe),Fbe=mW(),Ube=oc(Fbe),Obe=hW(),qbe=oc(Obe),Hbe=gW(),zbe=oc(Hbe),Gbe=EW(),Ybe=oc(Gbe);function Vbe(t){Tbe.default(t),Mbe.default(t),_be.default(t),Ube.default(t),qbe.default(t),zbe.default(t),Ybe.default(t)}o(Vbe,"registerDefaultHelpers");function Jbe(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(Jbe,"moveHelperToHooks")});var IW=g((xC,CW)=>{"use strict";xC.__esModule=!0;var $be=cr();xC.default=function(t){t.registerDecorator("inline",function(e,r,n,s){var i=e;return r.partials||(r.partials={},i=o(function(a,c){var l=n.partials;n.partials=$be.extend({},l,r.partials);var A=e(a,c);return n.partials=l,A},"ret")),r.partials[s.args[0]]=s.fn,i})};CW.exports=xC.default});var BW=g(BD=>{"use strict";BD.__esModule=!0;BD.registerDefaultDecorators=Xbe;function Wbe(t){return t&&t.__esModule?t:{default:t}}o(Wbe,"_interopRequireDefault");var jbe=IW(),Kbe=Wbe(jbe);function Xbe(t){Kbe.default(t)}o(Xbe,"registerDefaultDecorators")});var QD=g((bC,QW)=>{"use strict";bC.__esModule=!0;var Zbe=cr(),BA={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=Zbe.indexOf(BA.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=BA.lookupLevel(e),typeof console<"u"&&BA.lookupLevel(BA.level)<=e){var r=BA.methodMap[e];console[r]||(r="log");for(var n=arguments.length,s=Array(n>1?n-1:0),i=1;i<n;i++)s[i-1]=arguments[i];console[r].apply(console,s)}},"log")};bC.default=BA;QW.exports=bC.default});var xD=g(Om=>{"use strict";Om.__esModule=!0;Om.createProtoAccessControl=n0e;Om.resultIsAllowed=s0e;Om.resetLoggedProperties=o0e;function e0e(t){return t&&t.__esModule?t:{default:t}}o(e0e,"_interopRequireDefault");var xW=cr(),t0e=QD(),r0e=e0e(t0e),wC=Object.create(null);function n0e(t){var e=Object.create(null);e.__proto__=!1,xW.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,xW.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(n0e,"createProtoAccessControl");function s0e(t,e,r){return bW(typeof t=="function"?e.methods:e.properties,r)}o(s0e,"resultIsAllowed");function bW(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(i0e(e),!1)}o(bW,"checkWhiteList");function i0e(t){wC[t]!==!0&&(wC[t]=!0,r0e.default.log("error",'Handlebars: Access has been denied to resolve the property "'+t+`" because it is not an "own property" of its parent.
You can add a runtime option to disable the check or this warning:
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}o(i0e,"logUnexpecedPropertyAccessOnce");function o0e(){Object.keys(wC).forEach(function(t){delete wC[t]})}o(o0e,"resetLoggedProperties")});var SC=g(si=>{"use strict";si.__esModule=!0;si.HandlebarsEnvironment=ND;function wW(t){return t&&t.__esModule?t:{default:t}}o(wW,"_interopRequireDefault");var ac=cr(),a0e=sn(),bD=wW(a0e),c0e=ID(),l0e=BW(),A0e=QD(),NC=wW(A0e),u0e=xD(),d0e="4.7.9";si.VERSION=d0e;var m0e=8;si.COMPILER_REVISION=m0e;var p0e=7;si.LAST_COMPATIBLE_COMPILER_REVISION=p0e;var h0e={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"};si.REVISION_CHANGES=h0e;var wD="[object Object]";function ND(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},c0e.registerDefaultHelpers(this),l0e.registerDefaultDecorators(this)}o(ND,"HandlebarsEnvironment");ND.prototype={constructor:ND,logger:NC.default,log:NC.default.log,registerHelper:o(function(e,r){if(ac.toString.call(e)===wD){if(r)throw new bD.default("Arg not supported with multiple helpers");ac.extend(this.helpers,e)}else this.helpers[e]=r},"registerHelper"),unregisterHelper:o(function(e){delete this.helpers[e]},"unregisterHelper"),registerPartial:o(function(e,r){if(ac.toString.call(e)===wD)ac.extend(this.partials,e);else{if(typeof r>"u")throw new bD.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},"registerPartial"),unregisterPartial:o(function(e){delete this.partials[e]},"unregisterPartial"),registerDecorator:o(function(e,r){if(ac.toString.call(e)===wD){if(r)throw new bD.default("Arg not supported with multiple decorators");ac.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){u0e.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var f0e=NC.default.log;si.log=f0e;si.createFrame=ac.createFrame;si.logger=NC.default});var SW=g((RC,NW)=>{"use strict";RC.__esModule=!0;function SD(t){this.string=t}o(SD,"SafeString");SD.prototype.toString=SD.prototype.toHTML=function(){return""+this.string};RC.default=SD;NW.exports=RC.default});var RW=g(RD=>{"use strict";RD.__esModule=!0;RD.wrapHelper=g0e;function g0e(t,e){if(typeof t!="function")return t;var r=o(function(){var s=arguments[arguments.length-1];return arguments[arguments.length-1]=e(s),t.apply(this,arguments)},"wrapper");return r}o(g0e,"wrapHelper")});var MW=g(Fo=>{"use strict";Fo.__esModule=!0;Fo.checkRevision=Q0e;Fo.template=x0e;Fo.wrapProgram=vC;Fo.resolvePartial=b0e;Fo.invokePartial=w0e;Fo.noop=TW;function y0e(t){return t&&t.__esModule?t:{default:t}}o(y0e,"_interopRequireDefault");function E0e(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(E0e,"_interopRequireWildcard");var C0e=cr(),QA=E0e(C0e),I0e=sn(),zi=y0e(I0e),Gi=SC(),vW=ID(),B0e=RW(),PW=xD();function Q0e(t){var e=t&&t[0]||1,r=Gi.COMPILER_REVISION;if(!(e>=Gi.LAST_COMPATIBLE_COMPILER_REVISION&&e<=Gi.COMPILER_REVISION))if(e<Gi.LAST_COMPATIBLE_COMPILER_REVISION){var n=Gi.REVISION_CHANGES[r],s=Gi.REVISION_CHANGES[e];throw new zi.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+s+").")}else throw new zi.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}o(Q0e,"checkRevision");function x0e(t,e){if(!e)throw new zi.default("No environment passed to template");if(!t||!t.main)throw new zi.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var r=t.compiler&&t.compiler[0]===7;function n(a,c,l){l.hash&&(c=QA.extend({},c,l.hash),l.ids&&(l.ids[0]=!0)),a=e.VM.resolvePartial.call(this,a,c,l),l.hooks=this.hooks,l.protoAccessControl=this.protoAccessControl;var A=e.VM.invokePartial.call(this,a,c,l);if(A==null&&e.compile&&(l.partials[l.name]=e.compile(a,t.compilerOptions,e),A=l.partials[l.name](c,l)),A!=null){if(l.indent){for(var u=A.split(`
`),d=0,m=u.length;d<m&&!(!u[d]&&d+1===m);d++)u[d]=l.indent+u[d];A=u.join(`
`)}return A}else throw new zi.default("The partial "+l.name+" could not be compiled when running in runtime-only mode")}o(n,"invokePartialWrapper");var s={strict:o(function(c,l,A){if(!c||!(l in c))throw new zi.default('"'+l+'" not defined in '+c,{loc:A});return s.lookupProperty(c,l)},"strict"),lookupProperty:o(function(c,l){var A=c[l];if(A==null||Object.prototype.hasOwnProperty.call(c,l)||PW.resultIsAllowed(A,s.protoAccessControl,l))return A},"lookupProperty"),lookup:o(function(c,l){for(var A=c.length,u=0;u<A;u++){var d=c[u]&&s.lookupProperty(c[u],l);if(d!=null)return d}},"lookup"),lambda:o(function(c,l){return typeof c=="function"?c.call(l):c},"lambda"),escapeExpression:QA.escapeExpression,invokePartial:n,fn:o(function(c){var l=t[c];return l.decorator=t[c+"_d"],l},"fn"),programs:[],program:o(function(c,l,A,u,d){var m=this.programs[c],p=this.fn(c);return l||d||u||A?m=vC(this,c,p,l,A,u,d):m||(m=this.programs[c]=vC(this,c,p)),m},"program"),data:o(function(c,l){for(;c&&l--;)c=c._parent;return c},"data"),mergeIfNeeded:o(function(c,l){var A=c||l;return c&&l&&c!==l&&(A=QA.extend({},l,c)),A},"mergeIfNeeded"),nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function i(a){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],l=c.data;i._setup(c),!c.partial&&t.useData&&(l=N0e(a,l));var A=void 0,u=t.useBlockParams?[]:void 0;t.useDepths&&(c.depths?A=a!=c.depths[0]?[a].concat(c.depths):c.depths:A=[a]);function d(m){return""+t.main(s,m,s.helpers,s.partials,l,u,A)}return o(d,"main"),d=kW(t.main,d,s,c.depths||[],l,u),d(a,c)}return o(i,"ret"),i.isTop=!0,i._setup=function(a){if(a.partial)s.protoAccessControl=a.protoAccessControl,s.helpers=a.helpers,s.partials=a.partials,s.decorators=a.decorators,s.hooks=a.hooks;else{var c={};DW(c,e.helpers,s),DW(c,a.helpers,s),s.helpers=c,t.usePartial&&(s.partials=s.mergeIfNeeded(a.partials,e.partials)),(t.usePartial||t.useDecorators)&&(s.decorators=QA.extend({},e.decorators,a.decorators)),s.hooks={},s.protoAccessControl=PW.createProtoAccessControl(a);var l=a.allowCallsToHelperMissing||r;vW.moveHelperToHooks(s,"helperMissing",l),vW.moveHelperToHooks(s,"blockHelperMissing",l)}},i._child=function(a,c,l,A){if(t.useBlockParams&&!l)throw new zi.default("must pass block params");if(t.useDepths&&!A)throw new zi.default("must pass parent depths");return vC(s,a,t[a],c,0,l,A)},i}o(x0e,"template");function vC(t,e,r,n,s,i,a){function c(l){var A=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],u=a;return a&&l!=a[0]&&!(l===t.nullContext&&a[0]===null)&&(u=[l].concat(a)),r(t,l,t.helpers,t.partials,A.data||n,i&&[A.blockParams].concat(i),u)}return o(c,"prog"),c=kW(r,c,t,a,n,i),c.program=e,c.depth=a?a.length:0,c.blockParams=s||0,c}o(vC,"wrapProgram");function b0e(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=PC(r.partials,t)):r.name==="@partial-block"?t=PC(r.data,"partial-block"):t=PC(r.partials,r.name),t}o(b0e,"resolvePartial");function w0e(t,e,r){var n=PC(r.data,"partial-block");r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var s=void 0;if(r.fn&&r.fn!==TW&&(function(){r.data=Gi.createFrame(r.data);var i=r.fn;s=r.data["partial-block"]=o(function(c){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return l.data=Gi.createFrame(l.data),l.data["partial-block"]=n,i(c,l)},"partialBlockWrapper"),i.partials&&(r.partials=QA.extend({},r.partials,i.partials))})(),t===void 0&&s&&(t=s),t===void 0)throw new zi.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}o(w0e,"invokePartial");function TW(){return""}o(TW,"noop");function PC(t,e){if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}o(PC,"lookupOwnProperty");function N0e(t,e){return(!e||!("root"in e))&&(e=e?Gi.createFrame(e):{},e.root=t),e}o(N0e,"initData");function kW(t,e,r,n,s,i){if(t.decorator){var a={};e=t.decorator(e,a,r,n&&n[0],s,i,n),QA.extend(e,a)}return e}o(kW,"executeDecorators");function DW(t,e,r){e&&Object.keys(e).forEach(function(n){var s=e[n];t[n]=S0e(s,r)})}o(DW,"addHelpers");function S0e(t,e){var r=e.lookupProperty;return B0e.wrapHelper(t,function(n){return n.lookupProperty=r,n})}o(S0e,"passLookupPropertyOption")});var vD=g((DC,LW)=>{"use strict";DC.__esModule=!0;DC.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}};LW.exports=DC.default});var qW=g((TC,OW)=>{"use strict";TC.__esModule=!0;function DD(t){return t&&t.__esModule?t:{default:t}}o(DD,"_interopRequireDefault");function TD(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(TD,"_interopRequireWildcard");var R0e=SC(),_W=TD(R0e),v0e=SW(),P0e=DD(v0e),D0e=sn(),T0e=DD(D0e),k0e=cr(),PD=TD(k0e),M0e=MW(),FW=TD(M0e),L0e=vD(),_0e=DD(L0e);function UW(){var t=new _W.HandlebarsEnvironment;return PD.extend(t,_W),t.SafeString=P0e.default,t.Exception=T0e.default,t.Utils=PD,t.escapeExpression=PD.escapeExpression,t.VM=FW,t.template=function(e){return FW.template(e,t)},t}o(UW,"create");var qm=UW();qm.create=UW;_0e.default(qm);qm.default=qm;TC.default=qm;OW.exports=TC.default});var kD=g((kC,zW)=>{"use strict";kC.__esModule=!0;var HW={helpers:{helperExpression:o(function(e){return e.type==="SubExpression"||(e.type==="MustacheStatement"||e.type==="BlockStatement")&&!!(e.params&&e.params.length||e.hash)},"helperExpression"),scopedId:o(function(e){return/^\.|this\b/.test(e.original)},"scopedId"),simpleId:o(function(e){return e.parts.length===1&&!HW.helpers.scopedId(e)&&!e.depth},"simpleId")}};kC.default=HW;zW.exports=kC.default});var YW=g((MC,GW)=>{"use strict";MC.__esModule=!0;var F0e=(function(){var t={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:o(function(s,i,a,c,l,A,u){var d=A.length-1;switch(l){case 1:return A[d-1];case 2:this.$=c.prepareProgram(A[d]);break;case 3:this.$=A[d];break;case 4:this.$=A[d];break;case 5:this.$=A[d];break;case 6:this.$=A[d];break;case 7:this.$=A[d];break;case 8:this.$=A[d];break;case 9:this.$={type:"CommentStatement",value:c.stripComment(A[d]),strip:c.stripFlags(A[d],A[d]),loc:c.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:A[d],value:A[d],loc:c.locInfo(this._$)};break;case 11:this.$=c.prepareRawBlock(A[d-2],A[d-1],A[d],this._$);break;case 12:this.$={path:A[d-3],params:A[d-2],hash:A[d-1]};break;case 13:this.$=c.prepareBlock(A[d-3],A[d-2],A[d-1],A[d],!1,this._$);break;case 14:this.$=c.prepareBlock(A[d-3],A[d-2],A[d-1],A[d],!0,this._$);break;case 15:this.$={open:A[d-5],path:A[d-4],params:A[d-3],hash:A[d-2],blockParams:A[d-1],strip:c.stripFlags(A[d-5],A[d])};break;case 16:this.$={path:A[d-4],params:A[d-3],hash:A[d-2],blockParams:A[d-1],strip:c.stripFlags(A[d-5],A[d])};break;case 17:this.$={path:A[d-4],params:A[d-3],hash:A[d-2],blockParams:A[d-1],strip:c.stripFlags(A[d-5],A[d])};break;case 18:this.$={strip:c.stripFlags(A[d-1],A[d-1]),program:A[d]};break;case 19:var m=c.prepareBlock(A[d-2],A[d-1],A[d],A[d],!1,this._$),p=c.prepareProgram([m],A[d-1].loc);p.chained=!0,this.$={strip:A[d-2].strip,program:p,chain:!0};break;case 20:this.$=A[d];break;case 21:this.$={path:A[d-1],strip:c.stripFlags(A[d-2],A[d])};break;case 22:this.$=c.prepareMustache(A[d-3],A[d-2],A[d-1],A[d-4],c.stripFlags(A[d-4],A[d]),this._$);break;case 23:this.$=c.prepareMustache(A[d-3],A[d-2],A[d-1],A[d-4],c.stripFlags(A[d-4],A[d]),this._$);break;case 24:this.$={type:"PartialStatement",name:A[d-3],params:A[d-2],hash:A[d-1],indent:"",strip:c.stripFlags(A[d-4],A[d]),loc:c.locInfo(this._$)};break;case 25:this.$=c.preparePartialBlock(A[d-2],A[d-1],A[d],this._$);break;case 26:this.$={path:A[d-3],params:A[d-2],hash:A[d-1],strip:c.stripFlags(A[d-4],A[d])};break;case 27:this.$=A[d];break;case 28:this.$=A[d];break;case 29:this.$={type:"SubExpression",path:A[d-3],params:A[d-2],hash:A[d-1],loc:c.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:A[d],loc:c.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:c.id(A[d-2]),value:A[d],loc:c.locInfo(this._$)};break;case 32:this.$=c.id(A[d-1]);break;case 33:this.$=A[d];break;case 34:this.$=A[d];break;case 35:this.$={type:"StringLiteral",value:A[d],original:A[d],loc:c.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(A[d]),original:Number(A[d]),loc:c.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:A[d]==="true",original:A[d]==="true",loc:c.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:c.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:c.locInfo(this._$)};break;case 40:this.$=A[d];break;case 41:this.$=A[d];break;case 42:this.$=c.preparePath(!0,A[d],this._$);break;case 43:this.$=c.preparePath(!1,A[d],this._$);break;case 44:A[d-2].push({part:c.id(A[d]),original:A[d],separator:A[d-1]}),this.$=A[d-2];break;case 45:this.$=[{part:c.id(A[d]),original:A[d]}];break;case 46:this.$=[];break;case 47:A[d-1].push(A[d]);break;case 48:this.$=[];break;case 49:A[d-1].push(A[d]);break;case 50:this.$=[];break;case 51:A[d-1].push(A[d]);break;case 58:this.$=[];break;case 59:A[d-1].push(A[d]);break;case 64:this.$=[];break;case 65:A[d-1].push(A[d]);break;case 70:this.$=[];break;case 71:A[d-1].push(A[d]);break;case 78:this.$=[];break;case 79:A[d-1].push(A[d]);break;case 82:this.$=[];break;case 83:A[d-1].push(A[d]);break;case 86:this.$=[];break;case 87:A[d-1].push(A[d]);break;case 90:this.$=[];break;case 91:A[d-1].push(A[d]);break;case 94:this.$=[];break;case 95:A[d-1].push(A[d]);break;case 98:this.$=[A[d]];break;case 99:A[d-1].push(A[d]);break;case 100:this.$=[A[d]];break;case 101:A[d-1].push(A[d]);break}},"anonymous"),table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:o(function(s,i){throw new Error(s)},"parseError"),parse:o(function(s){var i=this,a=[0],c=[null],l=[],A=this.table,u="",d=0,m=0,p=0,h=2,f=1;this.lexer.setInput(s),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var C=this.lexer.yylloc;l.push(C);var y=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function E(H){a.length=a.length-2*H,c.length=c.length-H,l.length=l.length-H}o(E,"popStack");function I(){var H;return H=i.lexer.lex()||1,typeof H!="number"&&(H=i.symbols_[H]||H),H}o(I,"lex");for(var B,N,k,S,de,ye,Qe={},Ne,ae,De,ee;;){if(k=a[a.length-1],this.defaultActions[k]?S=this.defaultActions[k]:((B===null||typeof B>"u")&&(B=I()),S=A[k]&&A[k][B]),typeof S>"u"||!S.length||!S[0]){var Jt="";if(!p){ee=[];for(Ne in A[k])this.terminals_[Ne]&&Ne>2&&ee.push("'"+this.terminals_[Ne]+"'");this.lexer.showPosition?Jt="Parse error on line "+(d+1)+`:
`+this.lexer.showPosition()+`
Expecting `+ee.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Jt="Parse error on line "+(d+1)+": Unexpected "+(B==1?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Jt,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:C,expected:ee})}}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+k+", token: "+B);switch(S[0]){case 1:a.push(B),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(S[1]),B=null,N?(B=N,N=null):(m=this.lexer.yyleng,u=this.lexer.yytext,d=this.lexer.yylineno,C=this.lexer.yylloc,p>0&&p--);break;case 2:if(ae=this.productions_[S[1]][1],Qe.$=c[c.length-ae],Qe._$={first_line:l[l.length-(ae||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(ae||1)].first_column,last_column:l[l.length-1].last_column},y&&(Qe._$.range=[l[l.length-(ae||1)].range[0],l[l.length-1].range[1]]),ye=this.performAction.call(Qe,u,m,d,this.yy,S[1],c,l),typeof ye<"u")return ye;ae&&(a=a.slice(0,-1*ae*2),c=c.slice(0,-1*ae),l=l.slice(0,-1*ae)),a.push(this.productions_[S[1]][0]),c.push(Qe.$),l.push(Qe._$),De=A[a[a.length-2]][a[a.length-1]],a.push(De);break;case 3:return!0}}return!0},"parse")},e=(function(){var n={EOF:1,parseError:o(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw new Error(i)},"parseError"),setInput:o(function(i){return this._input=i,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:o(function(i){var a=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a-1),this.offset-=a;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var A=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===l.length?this.yylloc.first_column:0)+l[l.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-a]),this},"unput"),more:o(function(){return this._more=!0,this},"more"),less:o(function(i){this.unput(this.match.slice(i))},"less"),pastInput:o(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
`+a+"^"},"showPosition"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,a,c,l,A,u;this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),m=0;m<d.length&&(c=this._input.match(this.rules[d[m]]),!(c&&(!a||c[0].length>a[0].length)&&(a=c,l=m,!this.options.flex)));m++);return a?(u=a[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+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],i=this.performAction.call(this,this.yy,this,d[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var i=this.next();return typeof i<"u"?i:this.lex()},"lex"),begin:o(function(i){this.conditionStack.push(i)},"begin"),popState:o(function(){return this.conditionStack.pop()},"popState"),_currentRules:o(function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},"_currentRules"),topState:o(function(){return this.conditionStack[this.conditionStack.length-2]},"topState"),pushState:o(function(i){this.begin(i)},"begin")};return n.options={},n.performAction=o(function(i,a,c,l){function A(d,m){return a.yytext=a.yytext.substring(d,a.yyleng-m+d)}o(A,"strip");var u=l;switch(c){case 0:if(a.yytext.slice(-2)==="\\\\"?(A(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(A(0,1),this.begin("emu")):this.begin("mu"),a.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(A(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(a.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return a.yytext=A(1,2).replace(/\\"/g,'"'),80;break;case 32:return a.yytext=A(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return a.yytext=a.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},"anonymous"),n.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},n})();t.lexer=e;function r(){this.yy={}}return o(r,"Parser"),r.prototype=t,t.Parser=r,new r})();MC.default=F0e;GW.exports=MC.default});var UC=g((FC,$W)=>{"use strict";FC.__esModule=!0;function U0e(t){return t&&t.__esModule?t:{default:t}}o(U0e,"_interopRequireDefault");var O0e=sn(),MD=U0e(O0e);function LC(){this.parents=[]}o(LC,"Visitor");LC.prototype={constructor:LC,mutating:!1,acceptKey:o(function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!LC.prototype[n.type])throw new MD.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+e.type);e[r]=n}},"acceptKey"),acceptRequired:o(function(e,r){if(this.acceptKey(e,r),!e[r])throw new MD.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,n=e.length;r<n;r++)this.acceptKey(e,r),e[r]||(e.splice(r,1),r--,n--)},"acceptArray"),accept:o(function(e){if(e){if(!this[e.type])throw new MD.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var r=this[e.type](e);if(this.current=this.parents.shift(),!this.mutating||r)return r;if(r!==!1)return e}},"accept"),Program:o(function(e){this.acceptArray(e.body)},"Program"),MustacheStatement:_C,Decorator:_C,BlockStatement:VW,DecoratorBlock:VW,PartialStatement:JW,PartialBlockStatement:o(function(e){JW.call(this,e),this.acceptKey(e,"program")},"PartialBlockStatement"),ContentStatement:o(function(){},"ContentStatement"),CommentStatement:o(function(){},"CommentStatement"),SubExpression:_C,PathExpression:o(function(){},"PathExpression"),StringLiteral:o(function(){},"StringLiteral"),NumberLiteral:o(function(){},"NumberLiteral"),BooleanLiteral:o(function(){},"BooleanLiteral"),UndefinedLiteral:o(function(){},"UndefinedLiteral"),NullLiteral:o(function(){},"NullLiteral"),Hash:o(function(e){this.acceptArray(e.pairs)},"Hash"),HashPair:o(function(e){this.acceptRequired(e,"value")},"HashPair")};function _C(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}o(_C,"visitSubExpression");function VW(t){_C.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}o(VW,"visitBlock");function JW(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}o(JW,"visitPartial");FC.default=LC;$W.exports=FC.default});var jW=g((OC,WW)=>{"use strict";OC.__esModule=!0;function q0e(t){return t&&t.__esModule?t:{default:t}}o(q0e,"_interopRequireDefault");var H0e=UC(),z0e=q0e(H0e);function ii(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(ii,"WhitespaceControl");ii.prototype=new z0e.default;ii.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,s=0,i=n.length;s<i;s++){var a=n[s],c=this.accept(a);if(c){var l=LD(n,s,r),A=_D(n,s,r),u=c.openStandalone&&l,d=c.closeStandalone&&A,m=c.inlineStandalone&&l&&A;c.close&&cc(n,s,!0),c.open&&Uo(n,s,!0),e&&m&&(cc(n,s),Uo(n,s)&&a.type==="PartialStatement"&&(a.indent=/([ \t]+$)/.exec(n[s-1].original)[1])),e&&u&&(cc((a.program||a.inverse).body),Uo(n,s)),e&&d&&(cc(n,s),Uo((a.inverse||a.program).body))}}return t};ii.prototype.BlockStatement=ii.prototype.DecoratorBlock=ii.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var e=t.program||t.inverse,r=t.program&&t.inverse,n=r,s=r;if(r&&r.chained)for(n=r.body[0].program;s.chained;)s=s.body[s.body.length-1].program;var i={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:_D(e.body),closeStandalone:LD((n||e).body)};if(t.openStrip.close&&cc(e.body,null,!0),r){var a=t.inverseStrip;a.open&&Uo(e.body,null,!0),a.close&&cc(n.body,null,!0),t.closeStrip.open&&Uo(s.body,null,!0),!this.options.ignoreStandalone&&LD(e.body)&&_D(n.body)&&(Uo(e.body),cc(n.body))}else t.closeStrip.open&&Uo(e.body,null,!0);return i};ii.prototype.Decorator=ii.prototype.MustacheStatement=function(t){return t.strip};ii.prototype.PartialStatement=ii.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}};function LD(t,e,r){e===void 0&&(e=t.length);var n=t[e-1],s=t[e-2];if(!n)return r;if(n.type==="ContentStatement")return(s||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original)}o(LD,"isPrevWhitespace");function _D(t,e,r){e===void 0&&(e=-1);var n=t[e+1],s=t[e+2];if(!n)return r;if(n.type==="ContentStatement")return(s||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original)}o(_D,"isNextWhitespace");function cc(t,e,r){var n=t[e==null?0:e+1];if(!(!n||n.type!=="ContentStatement"||!r&&n.rightStripped)){var s=n.value;n.value=n.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==s}}o(cc,"omitRight");function Uo(t,e,r){var n=t[e==null?t.length-1:e-1];if(!(!n||n.type!=="ContentStatement"||!r&&n.leftStripped)){var s=n.value;return n.value=n.value.replace(r?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==s,n.leftStripped}}o(Uo,"omitLeft");OC.default=ii;WW.exports=OC.default});var KW=g(Tn=>{"use strict";Tn.__esModule=!0;Tn.SourceLocation=V0e;Tn.id=J0e;Tn.stripFlags=$0e;Tn.stripComment=W0e;Tn.preparePath=j0e;Tn.prepareMustache=K0e;Tn.prepareRawBlock=X0e;Tn.prepareBlock=Z0e;Tn.prepareProgram=ewe;Tn.preparePartialBlock=twe;function G0e(t){return t&&t.__esModule?t:{default:t}}o(G0e,"_interopRequireDefault");var Y0e=sn(),FD=G0e(Y0e);function UD(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new FD.default(t.path.original+" doesn't match "+e,r)}}o(UD,"validateClose");function V0e(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}o(V0e,"SourceLocation");function J0e(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(J0e,"id");function $0e(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o($0e,"stripFlags");function W0e(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(W0e,"stripComment");function j0e(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",s=[],i=0,a=0,c=e.length;a<c;a++){var l=e[a].part,A=e[a].original!==l;if(n+=(e[a].separator||"")+l,!A&&(l===".."||l==="."||l==="this")){if(s.length>0)throw new FD.default("Invalid path: "+n,{loc:r});l===".."&&i++}else s.push(l)}return{type:"PathExpression",data:t,depth:i,parts:s,original:n,loc:r}}o(j0e,"preparePath");function K0e(t,e,r,n,s,i){var a=n.charAt(3)||n.charAt(2),c=a!=="{"&&a!=="&",l=/\*/.test(n);return{type:l?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:c,strip:s,loc:this.locInfo(i)}}o(K0e,"prepareMustache");function X0e(t,e,r,n){UD(t,r),n=this.locInfo(n);var s={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:s,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}o(X0e,"prepareRawBlock");function Z0e(t,e,r,n,s,i){n&&n.path&&UD(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new FD.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),l=r.strip,c=r.program}return s&&(s=c,c=e,e=s),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:c,openStrip:t.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(i)}}o(Z0e,"prepareBlock");function ewe(t,e){if(!e&&t.length){var r=t[0].loc,n=t[t.length-1].loc;r&&n&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}o(ewe,"prepareProgram");function twe(t,e,r,n){return UD(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}o(twe,"preparePartialBlock")});var ZW=g(zm=>{"use strict";zm.__esModule=!0;zm.parseWithoutProcessing=XW;zm.parse=Awe;function rwe(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(rwe,"_interopRequireWildcard");function HD(t){return t&&t.__esModule?t:{default:t}}o(HD,"_interopRequireDefault");var nwe=YW(),OD=HD(nwe),swe=jW(),iwe=HD(swe),owe=KW(),awe=rwe(owe),cwe=sn(),Hm=HD(cwe),lwe=cr();zm.parser=OD.default;var qC={};lwe.extend(qC,awe);function XW(t,e){if(t.type==="Program")return uwe(t),t;OD.default.yy=qC,qC.locInfo=function(n){return new qC.SourceLocation(e&&e.srcName,n)};var r=OD.default.parse(t);return r}o(XW,"parseWithoutProcessing");function Awe(t,e){var r=XW(t,e),n=new iwe.default(e);return n.accept(r)}o(Awe,"parse");function uwe(t){qD(t)}o(uwe,"validateInputAst");function qD(t){if(t!=null){if(Array.isArray(t)){t.forEach(qD);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!dwe(t.depth))throw new Hm.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new Hm.default("Invalid AST: PathExpression.parts must be an array");for(var e=0;e<t.parts.length;e++)if(typeof t.parts[e]!="string")throw new Hm.default("Invalid AST: PathExpression.parts must only contain strings")}else if(t.type==="NumberLiteral"){if(typeof t.value!="number"||!isFinite(t.value))throw new Hm.default("Invalid AST: NumberLiteral.value must be a number")}else if(t.type==="BooleanLiteral"&&typeof t.value!="boolean")throw new Hm.default("Invalid AST: BooleanLiteral.value must be a boolean");Object.keys(t).forEach(function(r){r!=="loc"&&qD(t[r])})}}}o(qD,"validateAstNode");function dwe(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&t>=0}o(dwe,"isValidDepth")});var n5=g(Jm=>{"use strict";Jm.__esModule=!0;Jm.Compiler=zD;Jm.precompile=fwe;Jm.compile=gwe;function t5(t){return t&&t.__esModule?t:{default:t}}o(t5,"_interopRequireDefault");var mwe=sn(),Ym=t5(mwe),Vm=cr(),pwe=kD(),Gm=t5(pwe),hwe=[].slice;function zD(){}o(zD,"Compiler");zD.prototype={compiler:zD,equals:o(function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var n=0;n<r;n++){var s=this.opcodes[n],i=e.opcodes[n];if(s.opcode!==i.opcode||!r5(s.args,i.args))return!1}r=this.children.length;for(var n=0;n<r;n++)if(!this.children[n].equals(e.children[n]))return!1;return!0},"equals"),guid:0,compile:o(function(e,r){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=r,this.stringParams=r.stringParams,this.trackIds=r.trackIds,r.blockParams=r.blockParams||[],r.knownHelpers=Vm.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},r.knownHelpers),this.accept(e)},"compile"),compileProgram:o(function(e){var r=new this.compiler,n=r.compile(e,this.options),s=this.guid++;return this.usePartial=this.usePartial||n.usePartial,this.children[s]=n,this.useDepths=this.useDepths||n.useDepths,s},"compileProgram"),accept:o(function(e){if(!this[e.type])throw new Ym.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var r=this[e.type](e);return this.sourceNode.shift(),r},"accept"),Program:o(function(e){this.options.blockParams.unshift(e.blockParams);for(var r=e.body,n=r.length,s=0;s<n;s++)this.accept(r[s]);return this.options.blockParams.shift(),this.isSimple=n===1,this.blockParams=e.blockParams?e.blockParams.length:0,this},"Program"),BlockStatement:o(function(e){e5(e);var r=e.program,n=e.inverse;r=r&&this.compileProgram(r),n=n&&this.compileProgram(n);var s=this.classifySexpr(e);s==="helper"?this.helperSexpr(e,r,n):s==="simple"?(this.simpleSexpr(e),this.opcode("pushProgram",r),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,r,n),this.opcode("pushProgram",r),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},"BlockStatement"),DecoratorBlock:o(function(e){var r=e.program&&this.compileProgram(e.program),n=this.setupFullMustacheParams(e,r,void 0),s=e.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,s.original)},"DecoratorBlock"),PartialStatement:o(function(e){this.usePartial=!0;var r=e.program;r&&(r=this.compileProgram(e.program));var n=e.params;if(n.length>1)throw new Ym.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var s=e.name.original,i=e.name.type==="SubExpression";i&&this.accept(e.name),this.setupFullMustacheParams(e,r,void 0,!0);var a=e.indent||"";this.options.preventIndent&&a&&(this.opcode("appendContent",a),a=""),this.opcode("invokePartial",i,s,a),this.opcode("append")},"PartialStatement"),PartialBlockStatement:o(function(e){this.PartialStatement(e)},"PartialBlockStatement"),MustacheStatement:o(function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},"MustacheStatement"),Decorator:o(function(e){this.DecoratorBlock(e)},"Decorator"),ContentStatement:o(function(e){e.value&&this.opcode("appendContent",e.value)},"ContentStatement"),CommentStatement:o(function(){},"CommentStatement"),SubExpression:o(function(e){e5(e);var r=this.classifySexpr(e);r==="simple"?this.simpleSexpr(e):r==="helper"?this.helperSexpr(e):this.ambiguousSexpr(e)},"SubExpression"),ambiguousSexpr:o(function(e,r,n){var s=e.path,i=s.parts[0],a=r!=null||n!=null;this.opcode("getContext",s.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",n),s.strict=!0,this.accept(s),this.opcode("invokeAmbiguous",i,a)},"ambiguousSexpr"),simpleSexpr:o(function(e){var r=e.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},"simpleSexpr"),helperSexpr:o(function(e,r,n){var s=this.setupFullMustacheParams(e,r,n),i=e.path,a=i.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",s.length,a);else{if(this.options.knownHelpersOnly)throw new Ym.default("You specified knownHelpersOnly, but used the unknown helper "+a,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",s.length,i.original,Gm.default.helpers.simpleId(i))}},"helperSexpr"),PathExpression:o(function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=Gm.default.helpers.scopedId(e),s=!e.depth&&!n&&this.blockParamIndex(r);s?this.opcode("lookupBlockParam",s,e.parts):r?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},"PathExpression"),StringLiteral:o(function(e){this.opcode("pushString",e.value)},"StringLiteral"),NumberLiteral:o(function(e){this.opcode("pushLiteral",e.value)},"NumberLiteral"),BooleanLiteral:o(function(e){this.opcode("pushLiteral",e.value)},"BooleanLiteral"),UndefinedLiteral:o(function(){this.opcode("pushLiteral","undefined")},"UndefinedLiteral"),NullLiteral:o(function(){this.opcode("pushLiteral","null")},"NullLiteral"),Hash:o(function(e){var r=e.pairs,n=0,s=r.length;for(this.opcode("pushHash");n<s;n++)this.pushParam(r[n].value);for(;n--;)this.opcode("assignToHash",r[n].key);this.opcode("popHash")},"Hash"),opcode:o(function(e){this.opcodes.push({opcode:e,args:hwe.call(arguments,1),loc:this.sourceNode[0].loc})},"opcode"),addDepth:o(function(e){e&&(this.useDepths=!0)},"addDepth"),classifySexpr:o(function(e){var r=Gm.default.helpers.simpleId(e.path),n=r&&!!this.blockParamIndex(e.path.parts[0]),s=!n&&Gm.default.helpers.helperExpression(e),i=!n&&(s||r);if(i&&!s){var a=e.path.parts[0],c=this.options;c.knownHelpers[a]?s=!0:c.knownHelpersOnly&&(i=!1)}return s?"helper":i?"ambiguous":"simple"},"classifySexpr"),pushParams:o(function(e){for(var r=0,n=e.length;r<n;r++)this.pushParam(e[r])},"pushParams"),pushParam:o(function(e){var r=e.value!=null?e.value:e.original||"";if(this.stringParams)r.replace&&(r=r.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",r,e.type),e.type==="SubExpression"&&this.accept(e);else{if(this.trackIds){var n=void 0;if(e.parts&&!Gm.default.helpers.scopedId(e)&&!e.depth&&(n=this.blockParamIndex(e.parts[0])),n){var s=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,s)}else r=e.original||r,r.replace&&(r=r.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,r)}this.accept(e)}},"pushParam"),setupFullMustacheParams:o(function(e,r,n,s){var i=e.params;return this.pushParams(i),this.opcode("pushProgram",r),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",s),i},"setupFullMustacheParams"),blockParamIndex:o(function(e){for(var r=0,n=this.options.blockParams.length;r<n;r++){var s=this.options.blockParams[r],i=s&&Vm.indexOf(s,e);if(s&&i>=0)return[r,i]}},"blockParamIndex")};function fwe(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new Ym.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);e=e||{},"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=r.parse(t,e),s=new r.Compiler().compile(n,e);return new r.JavaScriptCompiler().compile(s,e)}o(fwe,"precompile");function gwe(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new Ym.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=Vm.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=void 0;function s(){var a=r.parse(t,e),c=new r.Compiler().compile(a,e),l=new r.JavaScriptCompiler().compile(c,e,void 0,!0);return r.template(l)}o(s,"compileInput");function i(a,c){return n||(n=s()),n.call(this,a,c)}return o(i,"ret"),i._setup=function(a){return n||(n=s()),n._setup(a)},i._child=function(a,c,l,A){return n||(n=s()),n._child(a,c,l,A)},i}o(gwe,"compile");function r5(t,e){if(t===e)return!0;if(Vm.isArray(t)&&Vm.isArray(e)&&t.length===e.length){for(var r=0;r<t.length;r++)if(!r5(t[r],e[r]))return!1;return!0}}o(r5,"argEquals");function e5(t){if(!t.path.parts){var e=t.path;t.path={type:"PathExpression",data:!1,depth:0,parts:[e.original+""],original:e.original+"",loc:e.loc}}}o(e5,"transformLiteralToPath")});var i5=g(GD=>{var s5="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");GD.encode=function(t){if(0<=t&&t<s5.length)return s5[t];throw new TypeError("Must be between 0 and 63: "+t)};GD.decode=function(t){var e=65,r=90,n=97,s=122,i=48,a=57,c=43,l=47,A=26,u=52;return e<=t&&t<=r?t-e:n<=t&&t<=s?t-n+A:i<=t&&t<=a?t-i+u:t==c?62:t==l?63:-1}});var JD=g(VD=>{var o5=i5(),YD=5,a5=1<<YD,c5=a5-1,l5=a5;function ywe(t){return t<0?(-t<<1)+1:(t<<1)+0}o(ywe,"toVLQSigned");function Ewe(t){var e=(t&1)===1,r=t>>1;return e?-r:r}o(Ewe,"fromVLQSigned");VD.encode=o(function(e){var r="",n,s=ywe(e);do n=s&c5,s>>>=YD,s>0&&(n|=l5),r+=o5.encode(n);while(s>0);return r},"base64VLQ_encode");VD.decode=o(function(e,r,n){var s=e.length,i=0,a=0,c,l;do{if(r>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(l=o5.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&l5),l&=c5,i=i+(l<<a),a+=YD}while(c);n.value=Ewe(i),n.rest=r},"base64VLQ_decode")});var wA=g(Yt=>{function Cwe(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}o(Cwe,"getArg");Yt.getArg=Cwe;var A5=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Iwe=/^data:.+\,.+$/;function $m(t){var e=t.match(A5);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o($m,"urlParse");Yt.urlParse=$m;function xA(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}o(xA,"urlGenerate");Yt.urlGenerate=xA;function $D(t){var e=t,r=$m(t);if(r){if(!r.path)return t;e=r.path}for(var n=Yt.isAbsolute(e),s=e.split(/\/+/),i,a=0,c=s.length-1;c>=0;c--)i=s[c],i==="."?s.splice(c,1):i===".."?a++:a>0&&(i===""?(s.splice(c+1,a),a=0):(s.splice(c,2),a--));return e=s.join("/"),e===""&&(e=n?"/":"."),r?(r.path=e,xA(r)):e}o($D,"normalize");Yt.normalize=$D;function u5(t,e){t===""&&(t="."),e===""&&(e=".");var r=$m(e),n=$m(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),xA(r);if(r||e.match(Iwe))return e;if(n&&!n.host&&!n.path)return n.host=e,xA(n);var s=e.charAt(0)==="/"?e:$D(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=s,xA(n)):s}o(u5,"join");Yt.join=u5;Yt.isAbsolute=function(t){return t.charAt(0)==="/"||A5.test(t)};function Bwe(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var n=t.lastIndexOf("/");if(n<0||(t=t.slice(0,n),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}o(Bwe,"relative");Yt.relative=Bwe;var d5=(function(){var t=Object.create(null);return!("__proto__"in t)})();function m5(t){return t}o(m5,"identity");function Qwe(t){return p5(t)?"$"+t:t}o(Qwe,"toSetString");Yt.toSetString=d5?m5:Qwe;function xwe(t){return p5(t)?t.slice(1):t}o(xwe,"fromSetString");Yt.fromSetString=d5?m5:xwe;function p5(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var r=e-10;r>=0;r--)if(t.charCodeAt(r)!==36)return!1;return!0}o(p5,"isProtoString");function bwe(t,e,r){var n=bA(t.source,e.source);return n!==0||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0||r)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:bA(t.name,e.name)}o(bwe,"compareByOriginalPositions");Yt.compareByOriginalPositions=bwe;function wwe(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=bA(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:bA(t.name,e.name)}o(wwe,"compareByGeneratedPositionsDeflated");Yt.compareByGeneratedPositionsDeflated=wwe;function bA(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(bA,"strcmp");function Nwe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=bA(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:bA(t.name,e.name)}o(Nwe,"compareByGeneratedPositionsInflated");Yt.compareByGeneratedPositionsInflated=Nwe;function Swe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(Swe,"parseSourceMapInput");Yt.parseSourceMapInput=Swe;function Rwe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=$m(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var s=n.path.lastIndexOf("/");s>=0&&(n.path=n.path.substring(0,s+1))}e=u5(xA(n),e)}return $D(e)}o(Rwe,"computeSourceURL");Yt.computeSourceURL=Rwe});var KD=g(h5=>{var WD=wA(),jD=Object.prototype.hasOwnProperty,lc=typeof Map<"u";function Yi(){this._array=[],this._set=lc?new Map:Object.create(null)}o(Yi,"ArraySet");Yi.fromArray=o(function(e,r){for(var n=new Yi,s=0,i=e.length;s<i;s++)n.add(e[s],r);return n},"ArraySet_fromArray");Yi.prototype.size=o(function(){return lc?this._set.size:Object.getOwnPropertyNames(this._set).length},"ArraySet_size");Yi.prototype.add=o(function(e,r){var n=lc?e:WD.toSetString(e),s=lc?this.has(e):jD.call(this._set,n),i=this._array.length;(!s||r)&&this._array.push(e),s||(lc?this._set.set(e,i):this._set[n]=i)},"ArraySet_add");Yi.prototype.has=o(function(e){if(lc)return this._set.has(e);var r=WD.toSetString(e);return jD.call(this._set,r)},"ArraySet_has");Yi.prototype.indexOf=o(function(e){if(lc){var r=this._set.get(e);if(r>=0)return r}else{var n=WD.toSetString(e);if(jD.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");Yi.prototype.at=o(function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},"ArraySet_at");Yi.prototype.toArray=o(function(){return this._array.slice()},"ArraySet_toArray");h5.ArraySet=Yi});var y5=g(g5=>{var f5=wA();function vwe(t,e){var r=t.generatedLine,n=e.generatedLine,s=t.generatedColumn,i=e.generatedColumn;return n>r||n==r&&i>=s||f5.compareByGeneratedPositionsInflated(t,e)<=0}o(vwe,"generatedPositionAfter");function HC(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(HC,"MappingList");HC.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");HC.prototype.add=o(function(e){vwe(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");HC.prototype.toArray=o(function(){return this._sorted||(this._array.sort(f5.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");g5.MappingList=HC});var XD=g(E5=>{var Wm=JD(),gt=wA(),zC=KD().ArraySet,Pwe=y5().MappingList;function kn(t){t||(t={}),this._file=gt.getArg(t,"file",null),this._sourceRoot=gt.getArg(t,"sourceRoot",null),this._skipValidation=gt.getArg(t,"skipValidation",!1),this._sources=new zC,this._names=new zC,this._mappings=new Pwe,this._sourcesContents=null}o(kn,"SourceMapGenerator");kn.prototype._version=3;kn.fromSourceMap=o(function(e){var r=e.sourceRoot,n=new kn({file:e.file,sourceRoot:r});return e.eachMapping(function(s){var i={generated:{line:s.generatedLine,column:s.generatedColumn}};s.source!=null&&(i.source=s.source,r!=null&&(i.source=gt.relative(r,i.source)),i.original={line:s.originalLine,column:s.originalColumn},s.name!=null&&(i.name=s.name)),n.addMapping(i)}),e.sources.forEach(function(s){var i=s;r!==null&&(i=gt.relative(r,s)),n._sources.has(i)||n._sources.add(i);var a=e.sourceContentFor(s);a!=null&&n.setSourceContent(s,a)}),n},"SourceMapGenerator_fromSourceMap");kn.prototype.addMapping=o(function(e){var r=gt.getArg(e,"generated"),n=gt.getArg(e,"original",null),s=gt.getArg(e,"source",null),i=gt.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,n,s,i),s!=null&&(s=String(s),this._sources.has(s)||this._sources.add(s)),i!=null&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:s,name:i})},"SourceMapGenerator_addMapping");kn.prototype.setSourceContent=o(function(e,r){var n=e;this._sourceRoot!=null&&(n=gt.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[gt.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[gt.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},"SourceMapGenerator_setSourceContent");kn.prototype.applySourceMap=o(function(e,r,n){var s=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.`);s=e.file}var i=this._sourceRoot;i!=null&&(s=gt.relative(i,s));var a=new zC,c=new zC;this._mappings.unsortedForEach(function(l){if(l.source===s&&l.originalLine!=null){var A=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});A.source!=null&&(l.source=A.source,n!=null&&(l.source=gt.join(n,l.source)),i!=null&&(l.source=gt.relative(i,l.source)),l.originalLine=A.line,l.originalColumn=A.column,A.name!=null&&(l.name=A.name))}var u=l.source;u!=null&&!a.has(u)&&a.add(u);var d=l.name;d!=null&&!c.has(d)&&c.add(d)},this),this._sources=a,this._names=c,e.sources.forEach(function(l){var A=e.sourceContentFor(l);A!=null&&(n!=null&&(l=gt.join(n,l)),i!=null&&(l=gt.relative(i,l)),this.setSourceContent(l,A))},this)},"SourceMapGenerator_applySourceMap");kn.prototype._validateMapping=o(function(e,r,n,s){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!n&&!s)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:s}))}},"SourceMapGenerator_validateMapping");kn.prototype._serializeMappings=o(function(){for(var e=0,r=1,n=0,s=0,i=0,a=0,c="",l,A,u,d,m=this._mappings.toArray(),p=0,h=m.length;p<h;p++){if(A=m[p],l="",A.generatedLine!==r)for(e=0;A.generatedLine!==r;)l+=";",r++;else if(p>0){if(!gt.compareByGeneratedPositionsInflated(A,m[p-1]))continue;l+=","}l+=Wm.encode(A.generatedColumn-e),e=A.generatedColumn,A.source!=null&&(d=this._sources.indexOf(A.source),l+=Wm.encode(d-a),a=d,l+=Wm.encode(A.originalLine-1-s),s=A.originalLine-1,l+=Wm.encode(A.originalColumn-n),n=A.originalColumn,A.name!=null&&(u=this._names.indexOf(A.name),l+=Wm.encode(u-i),i=u)),c+=l}return c},"SourceMapGenerator_serializeMappings");kn.prototype._generateSourcesContent=o(function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=gt.relative(r,n));var s=gt.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)},"SourceMapGenerator_generateSourcesContent");kn.prototype.toJSON=o(function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},"SourceMapGenerator_toJSON");kn.prototype.toString=o(function(){return JSON.stringify(this.toJSON())},"SourceMapGenerator_toString");E5.SourceMapGenerator=kn});var C5=g(Ac=>{Ac.GREATEST_LOWER_BOUND=1;Ac.LEAST_UPPER_BOUND=2;function ZD(t,e,r,n,s,i){var a=Math.floor((e-t)/2)+t,c=s(r,n[a],!0);return c===0?a:c>0?e-a>1?ZD(a,e,r,n,s,i):i==Ac.LEAST_UPPER_BOUND?e<n.length?e:-1:a:a-t>1?ZD(t,a,r,n,s,i):i==Ac.LEAST_UPPER_BOUND?a:t<0?-1:t}o(ZD,"recursiveSearch");Ac.search=o(function(e,r,n,s){if(r.length===0)return-1;var i=ZD(-1,r.length,e,r,n,s||Ac.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&n(r[i],r[i-1],!0)===0;)--i;return i},"search")});var B5=g(I5=>{function eT(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}o(eT,"swap");function Dwe(t,e){return Math.round(t+Math.random()*(e-t))}o(Dwe,"randomIntInRange");function tT(t,e,r,n){if(r<n){var s=Dwe(r,n),i=r-1;eT(t,s,n);for(var a=t[n],c=r;c<n;c++)e(t[c],a)<=0&&(i+=1,eT(t,i,c));eT(t,i+1,c);var l=i+1;tT(t,e,r,l-1),tT(t,e,l+1,n)}}o(tT,"doQuickSort");I5.quickSort=function(t,e){tT(t,e,0,t.length-1)}});var x5=g(GC=>{var O=wA(),rT=C5(),NA=KD().ArraySet,Twe=JD(),jm=B5().quickSort;function Ue(t,e){var r=t;return typeof t=="string"&&(r=O.parseSourceMapInput(t)),r.sections!=null?new ns(r,e):new _t(r,e)}o(Ue,"SourceMapConsumer");Ue.fromSourceMap=function(t,e){return _t.fromSourceMap(t,e)};Ue.prototype._version=3;Ue.prototype.__generatedMappings=null;Object.defineProperty(Ue.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings},"get")});Ue.prototype.__originalMappings=null;Object.defineProperty(Ue.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings},"get")});Ue.prototype._charIsMappingSeparator=o(function(e,r){var n=e.charAt(r);return n===";"||n===","},"SourceMapConsumer_charIsMappingSeparator");Ue.prototype._parseMappings=o(function(e,r){throw new Error("Subclasses must implement _parseMappings")},"SourceMapConsumer_parseMappings");Ue.GENERATED_ORDER=1;Ue.ORIGINAL_ORDER=2;Ue.GREATEST_LOWER_BOUND=1;Ue.LEAST_UPPER_BOUND=2;Ue.prototype.eachMapping=o(function(e,r,n){var s=r||null,i=n||Ue.GENERATED_ORDER,a;switch(i){case Ue.GENERATED_ORDER:a=this._generatedMappings;break;case Ue.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var c=this.sourceRoot;a.map(function(l){var A=l.source===null?null:this._sources.at(l.source);return A=O.computeSourceURL(c,A,this._sourceMapURL),{source:A,generatedLine:l.generatedLine,generatedColumn:l.generatedColumn,originalLine:l.originalLine,originalColumn:l.originalColumn,name:l.name===null?null:this._names.at(l.name)}},this).forEach(e,s)},"SourceMapConsumer_eachMapping");Ue.prototype.allGeneratedPositionsFor=o(function(e){var r=O.getArg(e,"line"),n={source:O.getArg(e,"source"),originalLine:r,originalColumn:O.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var s=[],i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",O.compareByOriginalPositions,rT.LEAST_UPPER_BOUND);if(i>=0){var a=this._originalMappings[i];if(e.column===void 0)for(var c=a.originalLine;a&&a.originalLine===c;)s.push({line:O.getArg(a,"generatedLine",null),column:O.getArg(a,"generatedColumn",null),lastColumn:O.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)s.push({line:O.getArg(a,"generatedLine",null),column:O.getArg(a,"generatedColumn",null),lastColumn:O.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i]}return s},"SourceMapConsumer_allGeneratedPositionsFor");GC.SourceMapConsumer=Ue;function _t(t,e){var r=t;typeof t=="string"&&(r=O.parseSourceMapInput(t));var n=O.getArg(r,"version"),s=O.getArg(r,"sources"),i=O.getArg(r,"names",[]),a=O.getArg(r,"sourceRoot",null),c=O.getArg(r,"sourcesContent",null),l=O.getArg(r,"mappings"),A=O.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);a&&(a=O.normalize(a)),s=s.map(String).map(O.normalize).map(function(u){return a&&O.isAbsolute(a)&&O.isAbsolute(u)?O.relative(a,u):u}),this._names=NA.fromArray(i.map(String),!0),this._sources=NA.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(u){return O.computeSourceURL(a,u,e)}),this.sourceRoot=a,this.sourcesContent=c,this._mappings=l,this._sourceMapURL=e,this.file=A}o(_t,"BasicSourceMapConsumer");_t.prototype=Object.create(Ue.prototype);_t.prototype.consumer=Ue;_t.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=O.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};_t.fromSourceMap=o(function(e,r){var n=Object.create(_t.prototype),s=n._names=NA.fromArray(e._names.toArray(),!0),i=n._sources=NA.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=r,n._absoluteSources=n._sources.toArray().map(function(p){return O.computeSourceURL(n.sourceRoot,p,r)});for(var a=e._mappings.toArray().slice(),c=n.__generatedMappings=[],l=n.__originalMappings=[],A=0,u=a.length;A<u;A++){var d=a[A],m=new Q5;m.generatedLine=d.generatedLine,m.generatedColumn=d.generatedColumn,d.source&&(m.source=i.indexOf(d.source),m.originalLine=d.originalLine,m.originalColumn=d.originalColumn,d.name&&(m.name=s.indexOf(d.name)),l.push(m)),c.push(m)}return jm(n.__originalMappings,O.compareByOriginalPositions),n},"SourceMapConsumer_fromSourceMap");_t.prototype._version=3;Object.defineProperty(_t.prototype,"sources",{get:o(function(){return this._absoluteSources.slice()},"get")});function Q5(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}o(Q5,"Mapping");_t.prototype._parseMappings=o(function(e,r){for(var n=1,s=0,i=0,a=0,c=0,l=0,A=e.length,u=0,d={},m={},p=[],h=[],f,C,y,E,I;u<A;)if(e.charAt(u)===";")n++,u++,s=0;else if(e.charAt(u)===",")u++;else{for(f=new Q5,f.generatedLine=n,E=u;E<A&&!this._charIsMappingSeparator(e,E);E++);if(C=e.slice(u,E),y=d[C],y)u+=C.length;else{for(y=[];u<E;)Twe.decode(e,u,m),I=m.value,u=m.rest,y.push(I);if(y.length===2)throw new Error("Found a source, but no line and column");if(y.length===3)throw new Error("Found a source and line, but no column");d[C]=y}f.generatedColumn=s+y[0],s=f.generatedColumn,y.length>1&&(f.source=c+y[1],c+=y[1],f.originalLine=i+y[2],i=f.originalLine,f.originalLine+=1,f.originalColumn=a+y[3],a=f.originalColumn,y.length>4&&(f.name=l+y[4],l+=y[4])),h.push(f),typeof f.originalLine=="number"&&p.push(f)}jm(h,O.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,jm(p,O.compareByOriginalPositions),this.__originalMappings=p},"SourceMapConsumer_parseMappings");_t.prototype._findMapping=o(function(e,r,n,s,i,a){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return rT.search(e,r,i,a)},"SourceMapConsumer_findMapping");_t.prototype.computeColumnSpans=o(function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}},"SourceMapConsumer_computeColumnSpans");_t.prototype.originalPositionFor=o(function(e){var r={generatedLine:O.getArg(e,"line"),generatedColumn:O.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",O.compareByGeneratedPositionsDeflated,O.getArg(e,"bias",Ue.GREATEST_LOWER_BOUND));if(n>=0){var s=this._generatedMappings[n];if(s.generatedLine===r.generatedLine){var i=O.getArg(s,"source",null);i!==null&&(i=this._sources.at(i),i=O.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var a=O.getArg(s,"name",null);return a!==null&&(a=this._names.at(a)),{source:i,line:O.getArg(s,"originalLine",null),column:O.getArg(s,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},"SourceMapConsumer_originalPositionFor");_t.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");_t.prototype.sourceContentFor=o(function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var s=e;this.sourceRoot!=null&&(s=O.relative(this.sourceRoot,s));var i;if(this.sourceRoot!=null&&(i=O.urlParse(this.sourceRoot))){var a=s.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!i.path||i.path=="/")&&this._sources.has("/"+s))return this.sourcesContent[this._sources.indexOf("/"+s)]}if(r)return null;throw new Error('"'+s+'" is not in the SourceMap.')},"SourceMapConsumer_sourceContentFor");_t.prototype.generatedPositionFor=o(function(e){var r=O.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:O.getArg(e,"line"),originalColumn:O.getArg(e,"column")},s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",O.compareByOriginalPositions,O.getArg(e,"bias",Ue.GREATEST_LOWER_BOUND));if(s>=0){var i=this._originalMappings[s];if(i.source===n.source)return{line:O.getArg(i,"generatedLine",null),column:O.getArg(i,"generatedColumn",null),lastColumn:O.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},"SourceMapConsumer_generatedPositionFor");GC.BasicSourceMapConsumer=_t;function ns(t,e){var r=t;typeof t=="string"&&(r=O.parseSourceMapInput(t));var n=O.getArg(r,"version"),s=O.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new NA,this._names=new NA;var i={line:-1,column:0};this._sections=s.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var c=O.getArg(a,"offset"),l=O.getArg(c,"line"),A=O.getArg(c,"column");if(l<i.line||l===i.line&&A<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=c,{generatedOffset:{generatedLine:l+1,generatedColumn:A+1},consumer:new Ue(O.getArg(a,"map"),e)}})}o(ns,"IndexedSourceMapConsumer");ns.prototype=Object.create(Ue.prototype);ns.prototype.constructor=Ue;ns.prototype._version=3;Object.defineProperty(ns.prototype,"sources",{get:o(function(){for(var t=[],e=0;e<this._sections.length;e++)for(var r=0;r<this._sections[e].consumer.sources.length;r++)t.push(this._sections[e].consumer.sources[r]);return t},"get")});ns.prototype.originalPositionFor=o(function(e){var r={generatedLine:O.getArg(e,"line"),generatedColumn:O.getArg(e,"column")},n=rT.search(r,this._sections,function(i,a){var c=i.generatedLine-a.generatedOffset.generatedLine;return c||i.generatedColumn-a.generatedOffset.generatedColumn}),s=this._sections[n];return s?s.consumer.originalPositionFor({line:r.generatedLine-(s.generatedOffset.generatedLine-1),column:r.generatedColumn-(s.generatedOffset.generatedLine===r.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},"IndexedSourceMapConsumer_originalPositionFor");ns.prototype.hasContentsOfAllSources=o(function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},"IndexedSourceMapConsumer_hasContentsOfAllSources");ns.prototype.sourceContentFor=o(function(e,r){for(var n=0;n<this._sections.length;n++){var s=this._sections[n],i=s.consumer.sourceContentFor(e,!0);if(i)return i}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')},"IndexedSourceMapConsumer_sourceContentFor");ns.prototype.generatedPositionFor=o(function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(O.getArg(e,"source"))!==-1){var s=n.consumer.generatedPositionFor(e);if(s){var i={line:s.line+(n.generatedOffset.generatedLine-1),column:s.column+(n.generatedOffset.generatedLine===s.line?n.generatedOffset.generatedColumn-1:0)};return i}}}return{line:null,column:null}},"IndexedSourceMapConsumer_generatedPositionFor");ns.prototype._parseMappings=o(function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var s=this._sections[n],i=s.consumer._generatedMappings,a=0;a<i.length;a++){var c=i[a],l=s.consumer._sources.at(c.source);l=O.computeSourceURL(s.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var A=null;c.name&&(A=s.consumer._names.at(c.name),this._names.add(A),A=this._names.indexOf(A));var u={source:l,generatedLine:c.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(s.generatedOffset.generatedLine===c.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:A};this.__generatedMappings.push(u),typeof u.originalLine=="number"&&this.__originalMappings.push(u)}jm(this.__generatedMappings,O.compareByGeneratedPositionsDeflated),jm(this.__originalMappings,O.compareByOriginalPositions)},"IndexedSourceMapConsumer_parseMappings");GC.IndexedSourceMapConsumer=ns});var w5=g(b5=>{var kwe=XD().SourceMapGenerator,YC=wA(),Mwe=/(\r?\n)/,Lwe=10,SA="$$$isSourceNode$$$";function on(t,e,r,n,s){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=s??null,this[SA]=!0,n!=null&&this.add(n)}o(on,"SourceNode");on.fromStringWithSourceMap=o(function(e,r,n){var s=new on,i=e.split(Mwe),a=0,c=o(function(){var m=h(),p=h()||"";return m+p;function h(){return a<i.length?i[a++]:void 0}},"shiftNextLine"),l=1,A=0,u=null;return r.eachMapping(function(m){if(u!==null)if(l<m.generatedLine)d(u,c()),l++,A=0;else{var p=i[a]||"",h=p.substr(0,m.generatedColumn-A);i[a]=p.substr(m.generatedColumn-A),A=m.generatedColumn,d(u,h),u=m;return}for(;l<m.generatedLine;)s.add(c()),l++;if(A<m.generatedColumn){var p=i[a]||"";s.add(p.substr(0,m.generatedColumn)),i[a]=p.substr(m.generatedColumn),A=m.generatedColumn}u=m},this),a<i.length&&(u&&d(u,c()),s.add(i.splice(a).join(""))),r.sources.forEach(function(m){var p=r.sourceContentFor(m);p!=null&&(n!=null&&(m=YC.join(n,m)),s.setSourceContent(m,p))}),s;function d(m,p){if(m===null||m.source===void 0)s.add(p);else{var h=n?YC.join(n,m.source):m.source;s.add(new on(m.originalLine,m.originalColumn,h,p,m.name))}}o(d,"addMappingWithCode")},"SourceNode_fromStringWithSourceMap");on.prototype.add=o(function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[SA]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this},"SourceNode_add");on.prototype.prepend=o(function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[SA]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this},"SourceNode_prepend");on.prototype.walk=o(function(e){for(var r,n=0,s=this.children.length;n<s;n++)r=this.children[n],r[SA]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})},"SourceNode_walk");on.prototype.join=o(function(e){var r,n,s=this.children.length;if(s>0){for(r=[],n=0;n<s-1;n++)r.push(this.children[n]),r.push(e);r.push(this.children[n]),this.children=r}return this},"SourceNode_join");on.prototype.replaceRight=o(function(e,r){var n=this.children[this.children.length-1];return n[SA]?n.replaceRight(e,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,r):this.children.push("".replace(e,r)),this},"SourceNode_replaceRight");on.prototype.setSourceContent=o(function(e,r){this.sourceContents[YC.toSetString(e)]=r},"SourceNode_setSourceContent");on.prototype.walkSourceContents=o(function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][SA]&&this.children[r].walkSourceContents(e);for(var s=Object.keys(this.sourceContents),r=0,n=s.length;r<n;r++)e(YC.fromSetString(s[r]),this.sourceContents[s[r]])},"SourceNode_walkSourceContents");on.prototype.toString=o(function(){var e="";return this.walk(function(r){e+=r}),e},"SourceNode_toString");on.prototype.toStringWithSourceMap=o(function(e){var r={code:"",line:1,column:0},n=new kwe(e),s=!1,i=null,a=null,c=null,l=null;return this.walk(function(A,u){r.code+=A,u.source!==null&&u.line!==null&&u.column!==null?((i!==u.source||a!==u.line||c!==u.column||l!==u.name)&&n.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:r.line,column:r.column},name:u.name}),i=u.source,a=u.line,c=u.column,l=u.name,s=!0):s&&(n.addMapping({generated:{line:r.line,column:r.column}}),i=null,s=!1);for(var d=0,m=A.length;d<m;d++)A.charCodeAt(d)===Lwe?(r.line++,r.column=0,d+1===m?(i=null,s=!1):s&&n.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:r.line,column:r.column},name:u.name})):r.column++}),this.walkSourceContents(function(A,u){n.setSourceContent(A,u)}),{code:r.code,map:n}},"SourceNode_toStringWithSourceMap");b5.SourceNode=on});var N5=g(VC=>{VC.SourceMapGenerator=XD().SourceMapGenerator;VC.SourceMapConsumer=x5().SourceMapConsumer;VC.SourceNode=w5().SourceNode});var P5=g((JC,v5)=>{"use strict";JC.__esModule=!0;var sT=cr(),uc=void 0;try{(typeof define!="function"||!define.amd)&&(S5=N5(),uc=S5.SourceNode)}catch{}var S5;uc||(uc=o(function(t,e,r,n){this.src="",n&&this.add(n)},"SourceNode"),uc.prototype={add:o(function(e){sT.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){sT.isArray(e)&&(e=e.join("")),this.src=e+this.src},"prepend"),toStringWithSourceMap:o(function(){return{code:this.toString()}},"toStringWithSourceMap"),toString:o(function(){return this.src},"toString")});function nT(t,e,r){if(sT.isArray(t)){for(var n=[],s=0,i=t.length;s<i;s++)n.push(e.wrap(t[s],r));return n}else if(typeof t=="boolean"||typeof t=="number")return t+"";return t}o(nT,"castChunk");function R5(t){this.srcFile=t,this.source=[]}o(R5,"CodeGen");R5.prototype={isEmpty:o(function(){return!this.source.length},"isEmpty"),prepend:o(function(e,r){this.source.unshift(this.wrap(e,r))},"prepend"),push:o(function(e,r){this.source.push(this.wrap(e,r))},"push"),merge:o(function(){var e=this.empty();return this.each(function(r){e.add([" ",r,`
`])}),e},"merge"),each:o(function(e){for(var r=0,n=this.source.length;r<n;r++)e(this.source[r])},"each"),empty:o(function(){var e=this.currentLocation||{start:{}};return new uc(e.start.line,e.start.column,this.srcFile)},"empty"),wrap:o(function(e){var r=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return e instanceof uc?e:(e=nT(e,this,r),new uc(r.start.line,r.start.column,this.srcFile,e))},"wrap"),functionCall:o(function(e,r,n){return n=this.generateList(n),this.wrap([e,r?"."+r+"(":"(",n,")"])},"functionCall"),quotedString:o(function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},"quotedString"),objectLiteral:o(function(e){var r=this,n=[];Object.keys(e).forEach(function(i){var a=nT(e[i],r);a!=="undefined"&&n.push([r.quotedString(i),":",a])});var s=this.generateList(n);return s.prepend("{"),s.add("}"),s},"objectLiteral"),generateList:o(function(e){for(var r=this.empty(),n=0,s=e.length;n<s;n++)n&&r.add(","),r.add(nT(e[n],this));return r},"generateList"),generateArray:o(function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r},"generateArray")};JC.default=R5;v5.exports=JC.default});var L5=g(($C,M5)=>{"use strict";$C.__esModule=!0;function k5(t){return t&&t.__esModule?t:{default:t}}o(k5,"_interopRequireDefault");var D5=SC(),_we=sn(),iT=k5(_we),Fwe=cr(),Uwe=P5(),T5=k5(Uwe);function RA(t){this.value=t}o(RA,"Literal");function vA(){}o(vA,"JavaScriptCompiler");vA.prototype={nameLookup:o(function(e,r){return this.internalNameLookup(e,r)},"nameLookup"),depthedLookup:o(function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},"depthedLookup"),compilerInfo:o(function(){var e=D5.COMPILER_REVISION,r=D5.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,n){return Fwe.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},"appendToBuffer"),initializeBuffer:o(function(){return this.quotedString("")},"initializeBuffer"),internalNameLookup:o(function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(r),")"]},"internalNameLookup"),lookupPropertyFunctionIsUsed:!1,compile:o(function(e,r,n,s){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!s,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,r),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,a=void 0,c=void 0,l=void 0,A=void 0;for(l=0,A=i.length;l<A;l++)a=i[l],this.source.currentLocation=a.loc,c=c||a.loc,this[a.opcode].apply(this,a.args);if(this.source.currentLocation=c,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new iT.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
`]),this.decorators.push("return fn;"),s?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend(`function(fn, props, container, depth0, data, blockParams, depths) {
`),this.decorators.push(`}
`),this.decorators=this.decorators.merge()));var u=this.createFunctionContext(s);if(this.isChild)return u;var d={compiler:this.compilerInfo(),main:u};this.decorators&&(d.main_d=this.decorators,d.useDecorators=!0);var m=this.context,p=m.programs,h=m.decorators;for(l=0,A=p.length;l<A;l++)d[l]=p[l],h[l]&&(d[l+"_d"]=h[l],d.useDecorators=!0);return this.environment.usePartial&&(d.usePartial=!0),this.options.data&&(d.useData=!0),this.useDepths&&(d.useDepths=!0),this.useBlockParams&&(d.useBlockParams=!0),this.options.compat&&(d.compat=!0),s?d.compilerOptions=this.options:(d.compiler=JSON.stringify(d.compiler),this.source.currentLocation={start:{line:1,column:0}},d=this.objectLiteral(d),r.srcName?(d=d.toStringWithSourceMap({file:r.destName}),d.map=d.map&&d.map.toString()):d=d.toString()),d},"compile"),preamble:o(function(){this.lastContext=0,this.source=new T5.default(this.options.srcName),this.decorators=new T5.default(this.options.srcName)},"preamble"),createFunctionContext:o(function(e){var r=this,n="",s=this.stackVars.concat(this.registers.list);s.length>0&&(n+=", "+s.join(", "));var i=0;Object.keys(this.aliases).forEach(function(l){var A=r.aliases[l];A.children&&A.referenceCount>1&&(n+=", alias"+ ++i+"="+l,A.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+this.lookupPropertyFunctionVarDeclaration());var a=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var c=this.mergeSource(n);return e?(a.push(c),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),`) {
`,c,"}"])},"createFunctionContext"),mergeSource:o(function(e){var r=this.environment.isSimple,n=!this.forceBuffer,s=void 0,i=void 0,a=void 0,c=void 0;return this.source.each(function(l){l.appendToBuffer?(a?l.prepend(" + "):a=l,c=l):(a&&(i?a.prepend("buffer += "):s=!0,c.add(";"),a=c=void 0),i=!0,r||(n=!1))}),n?a?(a.prepend("return "),c.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(s?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),c.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(s?"":`;
`)),this.source.merge()},"mergeSource"),lookupPropertyFunctionVarDeclaration:o(function(){return`
lookupProperty = container.lookupProperty || function(parent, propertyName) {
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
return parent[propertyName];
}
return undefined
}
`.trim()},"lookupPropertyFunctionVarDeclaration"),blockValue:o(function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var s=this.popStack();n.splice(1,0,s),this.push(this.source.functionCall(r,"call",n))},"blockValue"),ambiguousBlockValue:o(function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var n=this.topStack();r.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",r),"}"])},"ambiguousBlockValue"),appendContent:o(function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},"appendContent"),append:o(function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},"append"),appendEscaped:o(function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},"appendEscaped"),getContext:o(function(e){this.lastContext=e},"getContext"),pushContext:o(function(){this.pushStackLiteral(this.contextName(this.lastContext))},"pushContext"),lookupOnContext:o(function(e,r,n,s){var i=0;!s&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath("context",e,i,r,n)},"lookupOnContext"),lookupBlockParam:o(function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},"lookupBlockParam"),lookupData:o(function(e,r,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,n)},"lookupData"),resolvePath:o(function(e,r,n,s,i){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(Owe(this.options.strict&&i,this,r,n,e));return}for(var c=r.length,l=o(function(u){a.replaceStack(function(d){var m=a.nameLookup(d,r[u],e);return s?[" && ",m]:[" != null ? ",m," : ",d]})},"_loop"),A=n;A<c;A++)l(A)},"resolvePath"),resolvePossibleLambda:o(function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},"resolvePossibleLambda"),pushStringParam:o(function(e,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof e=="string"?this.pushString(e):this.pushStackLiteral(e))},"pushStringParam"),emptyHash:o(function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},"emptyHash"),pushHash:o(function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},"pushHash"),popHash:o(function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},"popHash"),pushString:o(function(e){this.pushStackLiteral(this.quotedString(e))},"pushString"),pushLiteral:o(function(e){this.pushStackLiteral(e)},"pushLiteral"),pushProgram:o(function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},"pushProgram"),registerDecorator:o(function(e,r){var n=this.nameLookup("decorators",r,"decorator"),s=this.setupHelperArgs(r,e);this.decorators.push(["var decorator = ",n,";"]),this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+r+'"'),"); }"]),this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",s])," || fn;"])},"registerDecorator"),invokeHelper:o(function(e,r,n){var s=this.popStack(),i=this.setupHelper(e,r),a=[];n&&a.push(i.name),a.push(s),this.options.strict||a.push(this.aliasable("container.hooks.helperMissing"));var c=["(",this.itemsSeparatedBy(a,"||"),")"],l=this.source.functionCall(c,"call",i.callParams);this.push(l)},"invokeHelper"),itemsSeparatedBy:o(function(e,r){var n=[];n.push(e[0]);for(var s=1;s<e.length;s++)n.push(r,e[s]);return n},"itemsSeparatedBy"),invokeKnownHelper:o(function(e,r){var n=this.setupHelper(e,r);this.push(this.source.functionCall(n.name,"call",n.callParams))},"invokeKnownHelper"),invokeAmbiguous:o(function(e,r){this.useRegister("helper");var n=this.popStack();this.emptyHash();var s=this.setupHelper(0,e,r),i=this.lastHelper=this.nameLookup("helpers",e,"helper"),a=["(","(helper = ",i," || ",n,")"];this.options.strict||(a[0]="(helper = ",a.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",a,s.paramsInit?["),(",s.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",s.callParams)," : helper))"])},"invokeAmbiguous"),invokePartial:o(function(e,r,n){var s=[],i=this.setupParams(r,1,s);e&&(r=this.popStack(),delete i.name),n&&(i.indent=JSON.stringify(n)),i.helpers="helpers",i.partials="partials",i.decorators="container.decorators",e?s.unshift(r):s.unshift(this.nameLookup("partials",r,"partial")),this.options.compat&&(i.depths="depths"),i=this.objectLiteral(i),s.push(i),this.push(this.source.functionCall("container.invokePartial","",s))},"invokePartial"),assignToHash:o(function(e){var r=this.popStack(),n=void 0,s=void 0,i=void 0;this.trackIds&&(i=this.popStack()),this.stringParams&&(s=this.popStack(),n=this.popStack());var a=this.hash;n&&(a.contexts[e]=n),s&&(a.types[e]=s),i&&(a.ids[e]=i),a.values[e]=r},"assignToHash"),pushId:o(function(e,r,n){e==="BlockParam"?this.pushStackLiteral("blockParams["+r[0]+"].path["+r[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):e==="PathExpression"?this.pushString(r):e==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},"pushId"),compiler:vA,compileChildren:o(function(e,r){for(var n=e.children,s=void 0,i=void 0,a=0,c=n.length;a<c;a++){s=n[a],i=new this.compiler;var l=this.matchExistingProgram(s);if(l==null){var A=this.context.programs.push("")-1;s.index=A,s.name="program"+A,this.context.programs[A]=i.compile(s,r,this.context,!this.precompile),this.context.decorators[A]=i.decorators,this.context.environments[A]=s,this.useDepths=this.useDepths||i.useDepths,this.useBlockParams=this.useBlockParams||i.useBlockParams,s.useDepths=this.useDepths,s.useBlockParams=this.useBlockParams}else s.index=l.index,s.name="program"+l.index,this.useDepths=this.useDepths||l.useDepths,this.useBlockParams=this.useBlockParams||l.useBlockParams}},"compileChildren"),matchExistingProgram:o(function(e){for(var r=0,n=this.context.environments.length;r<n;r++){var s=this.context.environments[r];if(s&&s.equals(e))return s}},"matchExistingProgram"),programExpression:o(function(e){var r=this.environment.children[e],n=[r.index,"data",r.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},"programExpression"),useRegister:o(function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},"useRegister"),push:o(function(e){return e instanceof RA||(e=this.source.wrap(e)),this.inlineStack.push(e),e},"push"),pushStackLiteral:o(function(e){this.push(new RA(e))},"pushStackLiteral"),pushSource:o(function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},"pushSource"),replaceStack:o(function(e){var r=["("],n=void 0,s=void 0,i=void 0;if(!this.isInline())throw new iT.default("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof RA)n=[a.value],r=["(",n],i=!0;else{s=!0;var c=this.incrStack();r=["((",this.push(c)," = ",a,")"],n=this.topStack()}var l=e.call(this,n);i||this.popStack(),s&&this.stackSlot--,this.push(r.concat(l,")"))},"replaceStack"),incrStack:o(function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},"incrStack"),topStackName:o(function(){return"stack"+this.stackSlot},"topStackName"),flushInline:o(function(){var e=this.inlineStack;this.inlineStack=[];for(var r=0,n=e.length;r<n;r++){var s=e[r];if(s instanceof RA)this.compileStack.push(s);else{var i=this.incrStack();this.pushSource([i," = ",s,";"]),this.compileStack.push(i)}}},"flushInline"),isInline:o(function(){return this.inlineStack.length},"isInline"),popStack:o(function(e){var r=this.isInline(),n=(r?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof RA)return n.value;if(!r){if(!this.stackSlot)throw new iT.default("Invalid stack pop");this.stackSlot--}return n},"popStack"),topStack:o(function(){var e=this.isInline()?this.inlineStack:this.compileStack,r=e[e.length-1];return r instanceof RA?r.value:r},"topStack"),contextName:o(function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},"contextName"),quotedString:o(function(e){return this.source.quotedString(e)},"quotedString"),objectLiteral:o(function(e){return this.source.objectLiteral(e)},"objectLiteral"),aliasable:o(function(e){var r=this.aliases[e];return r?(r.referenceCount++,r):(r=this.aliases[e]=this.source.wrap(e),r.aliasable=!0,r.referenceCount=1,r)},"aliasable"),setupHelper:o(function(e,r,n){var s=[],i=this.setupHelperArgs(r,e,s,n),a=this.nameLookup("helpers",r,"helper"),c=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:s,paramsInit:i,name:a,callParams:[c].concat(s)}},"setupHelper"),setupParams:o(function(e,r,n){var s={},i=[],a=[],c=[],l=!n,A=void 0;l&&(n=[]),s.name=this.quotedString(e),s.hash=this.popStack(),this.trackIds&&(s.hashIds=this.popStack()),this.stringParams&&(s.hashTypes=this.popStack(),s.hashContexts=this.popStack());var u=this.popStack(),d=this.popStack();(d||u)&&(s.fn=d||"container.noop",s.inverse=u||"container.noop");for(var m=r;m--;)A=this.popStack(),n[m]=A,this.trackIds&&(c[m]=this.popStack()),this.stringParams&&(a[m]=this.popStack(),i[m]=this.popStack());return l&&(s.args=this.source.generateArray(n)),this.trackIds&&(s.ids=this.source.generateArray(c)),this.stringParams&&(s.types=this.source.generateArray(a),s.contexts=this.source.generateArray(i)),this.options.data&&(s.data="data"),this.useBlockParams&&(s.blockParams="blockParams"),s},"setupParams"),setupHelperArgs:o(function(e,r,n,s){var i=this.setupParams(e,r,n);return i.loc=JSON.stringify(this.source.currentLocation),i=this.objectLiteral(i),s?(this.useRegister("options"),n.push("options"),["options=",i]):n?(n.push(i),""):i},"setupHelperArgs")};(function(){for(var t="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),e=vA.RESERVED_WORDS={},r=0,n=t.length;r<n;r++)e[t[r]]=!0})();vA.isValidJavaScriptVariableName=function(t){return!vA.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)};function Owe(t,e,r,n,s){var i=e.popStack(),a=r.length;t&&a--;for(var c=n;c<a;c++)i=e.nameLookup(i,r[c],s);return t?[e.aliasable("container.strict"),"(",i,", ",e.quotedString(r[a]),", ",JSON.stringify(e.source.currentLocation)," )"]:i}o(Owe,"strictLookup");$C.default=vA;M5.exports=$C.default});var U5=g((WC,F5)=>{"use strict";WC.__esModule=!0;function Km(t){return t&&t.__esModule?t:{default:t}}o(Km,"_interopRequireDefault");var qwe=qW(),Hwe=Km(qwe),zwe=kD(),Gwe=Km(zwe),oT=ZW(),aT=n5(),Ywe=L5(),Vwe=Km(Ywe),Jwe=UC(),$we=Km(Jwe),Wwe=vD(),jwe=Km(Wwe),Kwe=Hwe.default.create;function _5(){var t=Kwe();return t.compile=function(e,r){return aT.compile(e,r,t)},t.precompile=function(e,r){return aT.precompile(e,r,t)},t.AST=Gwe.default,t.Compiler=aT.Compiler,t.JavaScriptCompiler=Vwe.default,t.Parser=oT.parser,t.parse=oT.parse,t.parseWithoutProcessing=oT.parseWithoutProcessing,t}o(_5,"create");var PA=_5();PA.create=_5;jwe.default(PA);PA.Visitor=$we.default;PA.default=PA;WC.default=PA;F5.exports=WC.default});var O5=g(jC=>{"use strict";jC.__esModule=!0;jC.print=tNe;jC.PrintVisitor=nt;function Xwe(t){return t&&t.__esModule?t:{default:t}}o(Xwe,"_interopRequireDefault");var Zwe=UC(),eNe=Xwe(Zwe);function tNe(t){return new nt().accept(t)}o(tNe,"print");function nt(){this.padding=0}o(nt,"PrintVisitor");nt.prototype=new eNe.default;nt.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r<n;r++)e+=" ";return e+=t+`
`,e};nt.prototype.Program=function(t){var e="",r=t.body,n=void 0,s=void 0;if(t.blockParams){var i="BLOCK PARAMS: [";for(n=0,s=t.blockParams.length;n<s;n++)i+=" "+t.blockParams[n];i+=" ]",e+=this.pad(i)}for(n=0,s=r.length;n<s;n++)e+=this.accept(r[n]);return this.padding--,e};nt.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};nt.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};nt.prototype.BlockStatement=nt.prototype.DecoratorBlock=function(t){var e="";return e+=this.pad((t.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,e+=this.pad(this.SubExpression(t)),t.program&&(e+=this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--),t.inverse&&(t.program&&this.padding++,e+=this.pad("{{^}}"),this.padding++,e+=this.accept(t.inverse),this.padding--,t.program&&this.padding--),this.padding--,e};nt.prototype.PartialStatement=function(t){var e="PARTIAL:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),this.pad("{{> "+e+" }}")};nt.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+" }}")};nt.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};nt.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};nt.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,s=0,i=e.length;s<i;s++)r.push(this.accept(e[s]));return e="["+r.join(", ")+"]",n=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+n};nt.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};nt.prototype.StringLiteral=function(t){return'"'+t.value+'"'};nt.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};nt.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};nt.prototype.UndefinedLiteral=function(){return"UNDEFINED"};nt.prototype.NullLiteral=function(){return"NULL"};nt.prototype.Hash=function(t){for(var e=t.pairs,r=[],n=0,s=e.length;n<s;n++)r.push(this.accept(e[n]));return"HASH{"+r.join(", ")+"}"};nt.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var G5=g((set,z5)=>{var KC=U5().default,H5=O5();KC.PrintVisitor=H5.PrintVisitor;KC.print=H5.print;z5.exports=KC;function q5(t,e){var r=require("fs"),n=r.readFileSync(e,"utf8");t.exports=KC.compile(n)}o(q5,"extension");typeof require<"u"&&require.extensions&&(require.extensions[".handlebars"]=q5,require.extensions[".hbs"]=q5)});var pT=Q(require("os"),1);function oi(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(oi,"toCommandValue");function eI(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}o(eI,"toCommandProperties");function Ji(t,e,r){let n=new tI(t,e,r);process.stdout.write(n.toString()+pT.EOL)}o(Ji,"issueCommand");function rI(t,e=""){Ji(t,{},e)}o(rI,"issue");var mT="::",tI=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=mT+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let s=this.properties[n];s&&(r?r=!1:e+=",",e+=`${n}=${A9(s)}`)}}return e+=`${mT}${l9(this.message)}`,e}};function l9(t){return oi(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(l9,"escapeData");function A9(t){return oi(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(A9,"escapeProperty");var hT=Q(require("crypto"),1),sp=Q(require("fs"),1),np=Q(require("os"),1);function nI(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!sp.existsSync(r))throw new Error(`Missing file at path: ${r}`);sp.appendFileSync(r,`${oi(e)}${np.EOL}`,{encoding:"utf8"})}o(nI,"issueFileCommand");function sI(t,e){let r=`ghadelimiter_${hT.randomUUID()}`,n=oi(e);if(t.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${t}<<${r}${np.EOL}${n}${np.EOL}${r}`}o(sI,"prepareKeyValueMessage");var Jx=Q(require("os"),1);var Zh=Q(aI(),1),boe=Q(Dx(),1);var fs;(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"})(fs||(fs={}));var JU;(function(t){t.Accept="accept",t.ContentType="content-type"})(JU||(JU={}));var $U;(function(t){t.ApplicationJson="application/json"})($U||($U={}));var Hve=[fs.MovedPermanently,fs.ResourceMoved,fs.SeeOther,fs.TemporaryRedirect,fs.PermanentRedirect],zve=[fs.BadGateway,fs.ServiceUnavailable,fs.GatewayTimeout];var KU=require("os"),Mu=require("fs");var kx=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},{access:Noe,appendFile:Soe,writeFile:Roe}=Mu.promises,jU="GITHUB_STEP_SUMMARY";var Mx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return kx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[jU];if(!e)throw new Error(`Unable to find environment variable for $${jU}. Check if your runtime environment supports job summaries.`);try{yield Noe(e,Mu.constants.R_OK|Mu.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let s=Object.entries(n).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${s}>${r}</${e}>`:`<${e}${s}>`}write(e){return kx(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Roe:Soe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return kx(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(KU.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),s=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(s).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",s=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(n,s);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(s=>{let i=s.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:A,rowspan:u}=a,d=c?"th":"td",m=Object.assign(Object.assign({},A&&{colspan:A}),u&&{rowspan:u});return this.wrap(d,l,m)}).join("");return this.wrap("tr",i)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:s,height:i}=n||{},a=Object.assign(Object.assign({},s&&{width:s}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,s=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",i=this.wrap(s,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 n=Object.assign({},r&&{cite:r}),s=this.wrap("blockquote",e,n);return this.addRaw(s).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},Xve=new Mx;var Yx=Q(require("os"),1);var Gx=require("string_decoder");var _u=Q(require("os"),1),zx=Q(require("events"),1),AO=Q(require("child_process"),1),uO=Q(require("path"),1);var iO=require("assert"),qr=Q(require("path"),1);var Lu=Q(require("fs"),1),mo=Q(require("path"),1);var Lx=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},{chmod:_x,copyFile:ZU,lstat:ef,mkdir:eO,open:nPe,readdir:Fx,rename:voe,rm:tO,rmdir:sPe,stat:ma,symlink:rO,unlink:Ux}=Lu.promises,gs=process.platform==="win32";function nO(t){return Lx(this,void 0,void 0,function*(){let e=yield Lu.promises.readlink(t);return gs&&!e.endsWith("\\")?`${e}\\`:e})}o(nO,"readlink");var iPe=Lu.constants.O_RDONLY;function Al(t){return Lx(this,void 0,void 0,function*(){try{yield ma(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(Al,"exists");function tf(t){if(t=Poe(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return gs?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(tf,"isRooted");function Ox(t,e){return Lx(this,void 0,void 0,function*(){let r;try{r=yield ma(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(gs){let s=mo.extname(t).toUpperCase();if(e.some(i=>i.toUpperCase()===s))return t}else if(XU(r))return t}let n=t;for(let s of e){t=n+s,r=void 0;try{r=yield ma(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(gs){try{let i=mo.dirname(t),a=mo.basename(t).toUpperCase();for(let c of yield Fx(i))if(a===c.toUpperCase()){t=mo.join(i,c);break}}catch(i){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${i}`)}return t}else if(XU(r))return t}}return""})}o(Ox,"tryGetExecutablePath");function Poe(t){return t=t||"",gs?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(Poe,"normalizeSeparators");function XU(t){return(t.mode&1)>0||(t.mode&8)>0&&process.getgid!==void 0&&t.gid===process.getgid()||(t.mode&64)>0&&process.getuid!==void 0&&t.uid===process.getuid()}o(XU,"isUnixExecutable");var pa=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function oO(t,e){return pa(this,arguments,void 0,function*(r,n,s={}){let{force:i,recursive:a,copySourceDirectory:c}=Toe(s),l=(yield Al(n))?yield ma(n):null;if(l&&l.isFile()&&!i)return;let A=l&&l.isDirectory()&&c?qr.join(n,qr.basename(r)):n;if(!(yield Al(r)))throw new Error(`no such file or directory: ${r}`);if((yield ma(r)).isDirectory())if(a)yield aO(r,A,0,i);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(qr.relative(r,A)==="")throw new Error(`'${A}' and '${r}' are the same file`);yield cO(r,A,i)}})}o(oO,"cp");function qx(t){return pa(this,void 0,void 0,function*(){if(gs&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield tO(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(qx,"rmRF");function ha(t){return pa(this,void 0,void 0,function*(){(0,iO.ok)(t,"a path argument must be provided"),yield eO(t,{recursive:!0})})}o(ha,"mkdirP");function hr(t,e){return pa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield hr(t,!1);if(!n)throw gs?new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`):new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return n}let r=yield Doe(t);return r&&r.length>0?r[0]:""})}o(hr,"which");function Doe(t){return pa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(gs&&process.env.PATHEXT)for(let s of process.env.PATHEXT.split(qr.delimiter))s&&e.push(s);if(tf(t)){let s=yield Ox(t,e);return s?[s]:[]}if(t.includes(qr.sep))return[];let r=[];if(process.env.PATH)for(let s of process.env.PATH.split(qr.delimiter))s&&r.push(s);let n=[];for(let s of r){let i=yield Ox(qr.join(s,t),e);i&&n.push(i)}return n})}o(Doe,"findInPath");function Toe(t){let e=t.force==null?!0:t.force,r=!!t.recursive,n=t.copySourceDirectory==null?!0:!!t.copySourceDirectory;return{force:e,recursive:r,copySourceDirectory:n}}o(Toe,"readCopyOptions");function aO(t,e,r,n){return pa(this,void 0,void 0,function*(){if(r>=255)return;r++,yield ha(e);let s=yield Fx(t);for(let i of s){let a=`${t}/${i}`,c=`${e}/${i}`;(yield ef(a)).isDirectory()?yield aO(a,c,r,n):yield cO(a,c,n)}yield _x(e,(yield ma(t)).mode)})}o(aO,"cpDirRecursive");function cO(t,e,r){return pa(this,void 0,void 0,function*(){if((yield ef(t)).isSymbolicLink()){try{yield ef(e),yield Ux(e)}catch(s){s.code==="EPERM"&&(yield _x(e,"0666"),yield Ux(e))}let n=yield nO(t);yield rO(n,e,gs?"junction":null)}else(!(yield Al(e))||r)&&(yield ZU(t,e))})}o(cO,"copyFile");var dO=require("timers");var lO=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},rf=process.platform==="win32",nf=class extends zx.EventEmitter{static{o(this,"ToolRunner")}constructor(e,r,n){if(super(),!e)throw new Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=r||[],this.options=n||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,r){let n=this._getSpawnFileName(),s=this._getSpawnArgs(e),i=r?"":"[command]";if(rf)if(this._isCmdFile()){i+=n;for(let a of s)i+=` ${a}`}else if(e.windowsVerbatimArguments){i+=`"${n}"`;for(let a of s)i+=` ${a}`}else{i+=this._windowsQuoteCmdArg(n);for(let a of s)i+=` ${this._windowsQuoteCmdArg(a)}`}else{i+=n;for(let a of s)i+=` ${a}`}return i}_processLineBuffer(e,r,n){try{let s=r+e.toString(),i=s.indexOf(_u.EOL);for(;i>-1;){let a=s.substring(0,i);n(a),s=s.substring(i+_u.EOL.length),i=s.indexOf(_u.EOL)}return s}catch(s){return this._debug(`error processing line. Failed with error ${s}`),""}}_getSpawnFileName(){return rf&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(rf&&this._isCmdFile()){let r=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let n of this.args)r+=" ",r+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n);return r+='"',[r]}return this.args}_endsWith(e,r){return e.endsWith(r)}_isCmdFile(){let e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';let r=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],n=!1;for(let a of e)if(r.some(c=>c===a)){n=!0;break}if(!n)return e;let s='"',i=!0;for(let a=e.length;a>0;a--)s+=e[a-1],i&&e[a-1]==="\\"?s+="\\":e[a-1]==='"'?(i=!0,s+='"'):i=!1;return s+='"',s.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let r='"',n=!0;for(let s=e.length;s>0;s--)r+=e[s-1],n&&e[s-1]==="\\"?r+="\\":e[s-1]==='"'?(n=!0,r+="\\"):n=!1;return r+='"',r.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};let r={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return r.outStream=e.outStream||process.stdout,r.errStream=e.errStream||process.stderr,r}_getSpawnOptions(e,r){e=e||{};let n={};return n.cwd=e.cwd,n.env=e.env,n.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(n.argv0=`"${r}"`),n}exec(){return lO(this,void 0,void 0,function*(){return!tf(this.toolPath)&&(this.toolPath.includes("/")||rf&&this.toolPath.includes("\\"))&&(this.toolPath=uO.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield hr(this.toolPath,!0),new Promise((e,r)=>lO(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let A of this.args)this._debug(` ${A}`);let n=this._cloneExecOptions(this.options);!n.silent&&n.outStream&&n.outStream.write(this._getCommandString(n)+_u.EOL);let s=new Hx(n,this.toolPath);if(s.on("debug",A=>{this._debug(A)}),this.options.cwd&&!(yield Al(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),a=AO.spawn(i,this._getSpawnArgs(n),this._getSpawnOptions(this.options,i)),c="";a.stdout&&a.stdout.on("data",A=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(A),!n.silent&&n.outStream&&n.outStream.write(A),c=this._processLineBuffer(A,c,u=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(u)})});let l="";if(a.stderr&&a.stderr.on("data",A=>{s.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(A),!n.silent&&n.errStream&&n.outStream&&(n.failOnStdErr?n.errStream:n.outStream).write(A),l=this._processLineBuffer(A,l,u=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(u)})}),a.on("error",A=>{s.processError=A.message,s.processExited=!0,s.processClosed=!0,s.CheckComplete()}),a.on("exit",A=>{s.processExitCode=A,s.processExited=!0,this._debug(`Exit code ${A} received from tool '${this.toolPath}'`),s.CheckComplete()}),a.on("close",A=>{s.processExitCode=A,s.processExited=!0,s.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),s.CheckComplete()}),s.on("done",(A,u)=>{c.length>0&&this.emit("stdline",c),l.length>0&&this.emit("errline",l),a.removeAllListeners(),A?r(A):e(u)}),this.options.input){if(!a.stdin)throw new Error("child process missing stdin");a.stdin.end(this.options.input)}}))})}};function mO(t){let e=[],r=!1,n=!1,s="";function i(a){n&&a!=='"'&&(s+="\\"),s+=a,n=!1}o(i,"append");for(let a=0;a<t.length;a++){let c=t.charAt(a);if(c==='"'){n?i(c):r=!r;continue}if(c==="\\"&&n){i(c);continue}if(c==="\\"&&r){n=!0;continue}if(c===" "&&!r){s.length>0&&(e.push(s),s="");continue}i(c)}return s.length>0&&e.push(s.trim()),e}o(mO,"argStringToArray");var Hx=class t extends zx.EventEmitter{static{o(this,"ExecState")}constructor(e,r){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!r)throw new Error("toolPath must not be empty");this.options=e,this.toolPath=r,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=(0,dO.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 pO=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function po(t,e,r){return pO(this,void 0,void 0,function*(){let n=mO(t);if(n.length===0)throw new Error("Parameter 'commandLine' cannot be null or empty.");let s=n[0];return e=n.slice(1).concat(e||[]),new nf(s,e,r).exec()})}o(po,"exec");function Fu(t,e,r){return pO(this,void 0,void 0,function*(){var n,s;let i="",a="",c=new Gx.StringDecoder("utf8"),l=new Gx.StringDecoder("utf8"),A=(n=r?.listeners)===null||n===void 0?void 0:n.stdout,u=(s=r?.listeners)===null||s===void 0?void 0:s.stderr,d=o(f=>{a+=l.write(f),u&&u(f)},"stdErrListener"),m=o(f=>{i+=c.write(f),A&&A(f)},"stdOutListener"),p=Object.assign(Object.assign({},r?.listeners),{stdout:m,stderr:d}),h=yield po(t,e,Object.assign(Object.assign({},r),{listeners:p}));return i+=c.end(),a+=l.end(),{exitCode:h,stdout:i,stderr:a}})}o(Fu,"getExecOutput");var uPe=Yx.default.platform(),dPe=Yx.default.arch();var Loe=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},Vx;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Vx||(Vx={}));function ll(t){Ji("add-mask",{},t)}o(ll,"setSecret");function dl(t,e){let r=process.env[`INPUT_${t.replace(/ /g,"_").toUpperCase()}`]||"";if(e&&e.required&&!r)throw new Error(`Input required and not supplied: ${t}`);return e&&e.trimWhitespace===!1?r:r.trim()}o(dl,"getInput");function $x(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],s=dl(t,e);if(r.includes(s))return!0;if(n.includes(s))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${t}
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}o($x,"getBooleanInput");function hO(t,e){if(process.env.GITHUB_OUTPUT||"")return nI("OUTPUT",sI(t,e));process.stdout.write(Jx.EOL),Ji("set-output",{name:t},oi(e))}o(hO,"setOutput");function fO(t){process.exitCode=Vx.Failure,ml(t)}o(fO,"setFailed");function fa(){return process.env.RUNNER_DEBUG==="1"}o(fa,"isDebug");function b(t){Ji("debug",{},t)}o(b,"debug");function ml(t,e={}){Ji("error",eI(e),t instanceof Error?t.toString():t)}o(ml,"error");function ht(t,e={}){Ji("warning",eI(e),t instanceof Error?t.toString():t)}o(ht,"warning");function le(t){process.stdout.write(t+Jx.EOL)}o(le,"info");function _oe(t){rI("group",t)}o(_oe,"startGroup");function Foe(){rI("endgroup")}o(Foe,"endGroup");function ys(t,e){return Loe(this,void 0,void 0,function*(){_oe(t);let r;try{r=yield e()}finally{Foe()}return r})}o(ys,"group");function sf(t,e){if(process.env.GITHUB_STATE||"")return nI("STATE",sI(t,e));Ji("save-state",{name:t},oi(e))}o(sf,"saveState");function gO(t){return process.env[`STATE_${t}`]||""}o(gO,"getState");var Lm=Q(require("fs"),1),cD=Q(require("os"),1),lD=Q(require("path"),1);var EO=Q(require("os"),1);function Ou(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Ou,"toCommandValue");function CO(t,e,r){let n=new Wx(t,e,r);process.stdout.write(n.toString()+EO.EOL)}o(CO,"issueCommand");var yO="::",Wx=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=yO+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let s=this.properties[n];s&&(r?r=!1:e+=",",e+=`${n}=${Ooe(s)}`)}}return e+=`${yO}${Uoe(this.message)}`,e}};function Uoe(t){return Ou(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Uoe,"escapeData");function Ooe(t){return Ou(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(Ooe,"escapeProperty");var BO=require("os"),qu=require("fs");var jx=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},{access:qoe,appendFile:Hoe,writeFile:zoe}=qu.promises,IO="GITHUB_STEP_SUMMARY";var Kx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return jx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[IO];if(!e)throw new Error(`Unable to find environment variable for $${IO}. Check if your runtime environment supports job summaries.`);try{yield qoe(e,qu.constants.R_OK|qu.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let s=Object.entries(n).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${s}>${r}</${e}>`:`<${e}${s}>`}write(e){return jx(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?zoe:Hoe)(n,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(BO.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),s=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(s).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",s=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(n,s);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(s=>{let i=s.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:A,rowspan:u}=a,d=c?"th":"td",m=Object.assign(Object.assign({},A&&{colspan:A}),u&&{rowspan:u});return this.wrap(d,l,m)}).join("");return this.wrap("tr",i)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:s,height:i}=n||{},a=Object.assign(Object.assign({},s&&{width:s}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,s=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",i=this.wrap(s,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 n=Object.assign({},r&&{cite:r}),s=this.wrap("blockquote",e,n);return this.addRaw(s).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},HPe=new Kx;var Xx=Q(require("os"),1);var JPe=Xx.default.platform(),$Pe=Xx.default.arch();var QO;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(QO||(QO={}));function Kt(t){CO("debug",{},t)}o(Kt,"debug");var gr=Q(require("fs"),1);var Ole=Q(yb(),1);var yf=Q(require("os"),1),ho=Q(require("path"),1);var hn=Q(yb(),1);var pH=require("assert");var mH=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};var tke=process.platform==="win32",rke=process.platform==="darwin";function hH(t,e,r,n){return mH(this,void 0,void 0,function*(){if(r=hn.clean(r)||r,n=n||yf.arch(),Kt(`Caching tool ${e} ${r} ${n}`),Kt(`source dir: ${t}`),!gr.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let s=yield zle(e,r,n);for(let i of gr.readdirSync(t)){let a=ho.join(t,i);yield oO(a,s,{recursive:!0})}return Gle(e,r,n),s})}o(hH,"cacheDir");function fH(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||yf.arch(),!gH(e)){let s=Hle(t,r);e=Yle(s,e)}let n="";if(e){e=hn.clean(e)||"";let s=ho.join(Ef(),t,e,r);Kt(`checking cache: ${s}`),gr.existsSync(s)&&gr.existsSync(`${s}.complete`)?(Kt(`Found tool in cache ${t} ${e} ${r}`),n=s):Kt("not found")}return n}o(fH,"find");function Hle(t,e){let r=[];e=e||yf.arch();let n=ho.join(Ef(),t);if(gr.existsSync(n)){let s=gr.readdirSync(n);for(let i of s)if(gH(i)){let a=ho.join(n,i,e||"");gr.existsSync(a)&&gr.existsSync(`${a}.complete`)&&r.push(i)}}return r}o(Hle,"findAllVersions");function zle(t,e,r){return mH(this,void 0,void 0,function*(){let n=ho.join(Ef(),t,hn.clean(e)||e,r||"");Kt(`destination ${n}`);let s=`${n}.complete`;return yield qx(n),yield qx(s),yield ha(n),n})}o(zle,"_createToolPath");function Gle(t,e,r){let s=`${ho.join(Ef(),t,hn.clean(e)||e,r||"")}.complete`;gr.writeFileSync(s,""),Kt("finished caching tool")}o(Gle,"_completeToolPath");function gH(t){let e=hn.clean(t)||"";Kt(`isExplicit: ${e}`);let r=hn.valid(e)!=null;return Kt(`explicit? ${r}`),r}o(gH,"isExplicitVersion");function Yle(t,e){let r="";Kt(`evaluating ${t.length} versions`),t=t.sort((n,s)=>hn.gt(n,s)?1:-1);for(let n=t.length-1;n>=0;n--){let s=t[n];if(hn.satisfies(s,e)){r=s;break}}return r?Kt(`matched: ${r}`):Kt("match not found"),r}o(Yle,"evaluateVersions");function Ef(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,pH.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(Ef,"_getCacheDirectory");var Mm=Q(require("path"),1);var EH=Q(require("os"),1);function Wu(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Wu,"toCommandValue");function CH(t,e,r){let n=new Eb(t,e,r);process.stdout.write(n.toString()+EH.EOL)}o(CH,"issueCommand");var yH="::",Eb=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=yH+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let s=this.properties[n];s&&(r?r=!1:e+=",",e+=`${n}=${$le(s)}`)}}return e+=`${yH}${Jle(this.message)}`,e}};function Jle(t){return Wu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Jle,"escapeData");function $le(t){return Wu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o($le,"escapeProperty");var BH=require("os"),ju=require("fs");var Cb=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},{access:Wle,appendFile:jle,writeFile:Kle}=ju.promises,IH="GITHUB_STEP_SUMMARY";var Ib=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Cb(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[IH];if(!e)throw new Error(`Unable to find environment variable for $${IH}. Check if your runtime environment supports job summaries.`);try{yield Wle(e,ju.constants.R_OK|ju.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let s=Object.entries(n).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${s}>${r}</${e}>`:`<${e}${s}>`}write(e){return Cb(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Kle:jle)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Cb(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(BH.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),s=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(s).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",s=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(n,s);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(s=>{let i=s.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:A,rowspan:u}=a,d=c?"th":"td",m=Object.assign(Object.assign({},A&&{colspan:A}),u&&{rowspan:u});return this.wrap(d,l,m)}).join("");return this.wrap("tr",i)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:s,height:i}=n||{},a=Object.assign(Object.assign({},s&&{width:s}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,s=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",i=this.wrap(s,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 n=Object.assign({},r&&{cite:r}),s=this.wrap("blockquote",e,n);return this.addRaw(s).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},yke=new Ib;var Bb=Q(require("os"),1);var Qke=Bb.default.platform(),xke=Bb.default.arch();var QH;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(QH||(QH={}));function fn(t){CH("debug",{},t)}o(fn,"debug");var yl=Q(require("fs"),1);function xb(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,fn(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,fn(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,fn(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,fn(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,fn(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(xb,"getOptions");var xf=Q(require("path"),1);var hl=Q(require("path"),1),fo=Q(require("assert"),1);var go=process.platform==="win32";function Qi(t){if(t=Bi(t),go&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=hl.dirname(t);return go&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Bi(e)),e}o(Qi,"dirname");function Cf(t,e){if((0,fo.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,fo.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Ku(e))return e;if(go){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,fo.default)(r.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${r}'`),e[0].toUpperCase()===r[0].toUpperCase()?e.length===2?`${e[0]}:\\${r.substr(3)}`:(r.endsWith("\\")||(r+="\\"),`${e[0]}:\\${r.substr(3)}${e.substr(2)}`):`${e[0]}:\\${e.substr(2)}`}else if(Yn(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,fo.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,fo.default)(Ku(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||go&&t.endsWith("\\")||(t+=hl.sep),t+e}o(Cf,"ensureAbsoluteRoot");function Ku(t){return(0,fo.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=Yn(t),go?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(Ku,"hasAbsoluteRoot");function Xu(t){return(0,fo.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=Yn(t),go?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(Xu,"hasRoot");function Yn(t){return t=t||"",go?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(Yn,"normalizeSeparators");function Bi(t){return t?(t=Yn(t),!t.endsWith(hl.sep)||t===hl.sep||go&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(Bi,"safeTrimTrailingSeparator");var Vn;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(Vn||(Vn={}));var xH=process.platform==="win32";function wb(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let s=xH?n.searchPath.toUpperCase():n.searchPath;e[s]="candidate"}let r=[];for(let n of t){let s=xH?n.searchPath.toUpperCase():n.searchPath;if(e[s]==="included")continue;let i=!1,a=s,c=Qi(a);for(;c!==a;){if(e[c]){i=!0;break}a=c,c=Qi(a)}i||(r.push(n.searchPath),e[s]="included")}return r}o(wb,"getSearchPaths");function bH(t,e){let r=Vn.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}o(bH,"match");function wH(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(wH,"partialMatch");var $H=Q(require("os"),1),gl=Q(require("path"),1);var Eo=Q(require("assert"),1),WH=Q(JH(),1);var ya=Q(require("path"),1);var fl=Q(require("assert"),1);var xAe=process.platform==="win32",Ea=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,fl.default)(e,"Parameter 'itemPath' must not be empty"),e=Bi(e),!Xu(e))this.segments=e.split(ya.sep);else{let r=e,n=Qi(r);for(;n!==r;){let s=ya.basename(r);this.segments.unshift(s),r=n,n=Qi(r)}this.segments.unshift(r)}else{(0,fl.default)(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let r=0;r<e.length;r++){let n=e[r];(0,fl.default)(n,"Parameter 'itemPath' must not contain any empty segments"),n=Yn(e[r]),r===0&&Xu(n)?(n=Bi(n),(0,fl.default)(n===Qi(n),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(n)):((0,fl.default)(!n.includes(ya.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(n))}}}toString(){let e=this.segments[0],r=e.endsWith(ya.sep)||xAe&&/^[A-Z]:$/i.test(e);for(let n=1;n<this.segments.length;n++)r?r=!1:e+=ya.sep,e+=this.segments[n];return e}};var{Minimatch:bAe}=WH.default,xi=process.platform==="win32",td=class t{static{o(this,"Pattern")}constructor(e,r=!1,n,s){this.negate=!1;let i;if(typeof e=="string")i=e.trim();else{n=n||[],(0,Eo.default)(n.length,"Parameter 'segments' must not empty");let A=t.getLiteral(n[0]);(0,Eo.default)(A&&Ku(A),"Parameter 'segments' first element must be a root path"),i=new Ea(n).toString().trim(),e&&(i=`!${i}`)}for(;i.startsWith("!");)this.negate=!this.negate,i=i.substr(1).trim();i=t.fixupPattern(i,s),this.segments=new Ea(i).segments,this.trailingSeparator=Yn(i).endsWith(gl.sep),i=Bi(i);let a=!1,c=this.segments.map(A=>t.getLiteral(A)).filter(A=>!a&&!(a=A===""));this.searchPath=new Ea(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),xi?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:xi,nocomment:!0,noext:!0,nonegate:!0};i=xi?i.replace(/\\/g,"/"):i,this.minimatch=new bAe(i,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Yn(e),!e.endsWith(gl.sep)&&this.isImplicitPattern===!1&&(e=`${e}${gl.sep}`)):e=Bi(e),this.minimatch.match(e)?this.trailingSeparator?Vn.Directory:Vn.All:Vn.None}partialMatch(e){return e=Bi(e),Qi(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,Eo.default)(e,"pattern cannot be empty");let n=new Ea(e).segments.map(s=>t.getLiteral(s));if((0,Eo.default)(n.every((s,i)=>(s!=="."||i===0)&&s!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,Eo.default)(!Xu(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Yn(e),e==="."||e.startsWith(`.${gl.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${gl.sep}`))r=r||$H.homedir(),(0,Eo.default)(r,"Unable to determine HOME directory"),(0,Eo.default)(Ku(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 s=Cf("C:\\dummy-root",e.substr(0,2));e.length>2&&!s.endsWith("\\")&&(s+="\\"),e=t.globEscape(s)+e.substr(2)}else if(xi&&(e==="\\"||e.match(/^\\[^\\]/))){let s=Cf("C:\\dummy-root","\\");s.endsWith("\\")||(s+="\\"),e=t.globEscape(s)+e.substr(1)}else e=Cf(t.globEscape(process.cwd()),e);return Yn(e)}static getLiteral(e){let r="";for(let n=0;n<e.length;n++){let s=e[n];if(s==="\\"&&!xi&&n+1<e.length){r+=e[++n];continue}else{if(s==="*"||s==="?")return"";if(s==="["&&n+1<e.length){let i="",a=-1;for(let c=n+1;c<e.length;c++){let l=e[c];if(l==="\\"&&!xi&&c+1<e.length){i+=e[++c];continue}else if(l==="]"){a=c;break}else i+=l}if(a>=0){if(i.length>1)return"";if(i){r+=i,n=a;continue}}}}r+=s}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};var rd=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};var Tb=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},wAe=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),s(c,l,a.done,a.value)})}}function s(i,a,c,l){Promise.resolve(l).then(function(A){i({value:A,done:c})},a)}},Co=function(t){return this instanceof Co?(this.v=t,this):new Co(t)},NAe=function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),s,i=[];return s=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),s[Symbol.asyncIterator]=function(){return this},s;function a(p){return function(h){return Promise.resolve(h).then(p,d)}}function c(p,h){n[p]&&(s[p]=function(f){return new Promise(function(C,y){i.push([p,f,C,y])>1||l(p,f)})},h&&(s[p]=h(s[p])))}function l(p,h){try{A(n[p](h))}catch(f){m(i[0][3],f)}}function A(p){p.value instanceof Co?Promise.resolve(p.value.v).then(u,d):m(i[0][2],p)}function u(p){l("next",p)}function d(p){l("throw",p)}function m(p,h){p(h),i.shift(),i.length&&l(i[0][0],i[0][1])}},SAe=process.platform==="win32",Qf=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=xb(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return Tb(this,void 0,void 0,function*(){var e,r,n,s;let i=[];try{for(var a=!0,c=wAe(this.globGenerator()),l;l=yield c.next(),e=l.done,!e;a=!0){s=l.value,a=!1;let A=s;i.push(A)}}catch(A){r={error:A}}finally{try{!a&&!e&&(n=c.return)&&(yield n.call(c))}finally{if(r)throw r.error}}return i})}globGenerator(){return NAe(this,arguments,o(function*(){let r=xb(this.options),n=[];for(let a of this.patterns)n.push(a),r.implicitDescendants&&(a.trailingSeparator||a.segments[a.segments.length-1]!=="**")&&n.push(new td(a.negate,!0,a.segments.concat("**")));let s=[];for(let a of wb(n)){fn(`Search path '${a}'`);try{yield Co(yl.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}s.unshift(new rd(a,1))}let i=[];for(;s.length;){let a=s.pop(),c=bH(n,a.path),l=!!c||wH(n,a.path);if(!c&&!l)continue;let A=yield Co(t.stat(a,r,i));if(A&&!(r.excludeHiddenFiles&&xf.basename(a.path).match(/^\./)))if(A.isDirectory()){if(c&Vn.Directory&&r.matchDirectories)yield yield Co(a.path);else if(!l)continue;let u=a.level+1,d=(yield Co(yl.promises.readdir(a.path))).map(m=>new rd(xf.join(a.path,m),u));s.push(...d.reverse())}else c&Vn.File&&(yield yield Co(a.path))}},"globGenerator_1"))}static create(e,r){return Tb(this,void 0,void 0,function*(){let n=new t(r);SAe&&(e=e.replace(/\r\n/g,`
`),e=e.replace(/\r/g,`
`));let s=e.split(`
`).map(i=>i.trim());for(let i of s)!i||i.startsWith("#")||n.patterns.push(new td(i));return n.searchPaths.push(...wb(n.patterns)),n})}static stat(e,r,n){return Tb(this,void 0,void 0,function*(){let s;if(r.followSymbolicLinks)try{s=yield yl.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){fn(`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 s=yield yl.promises.lstat(e.path);if(s.isDirectory()&&r.followSymbolicLinks){let i=yield yl.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===i)){fn(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}n.push(i)}return s})}};var RAe=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function jH(t,e){return RAe(this,void 0,void 0,function*(){return yield Qf.create(t,e)})}o(jH,"create");var Of=Q(require("crypto"),1),Il=Q(require("fs"),1),Ia=Q(require("path"),1),qG=Q(UG(),1),HG=Q(require("util"),1);var Ad;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(Ad||(Ad={}));var rr;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(rr||(rr={}));var zr;(function(t){t.GNU="gnu",t.BSD="bsd"})(zr||(zr={}));var _f=2,Ff=5e3,Zb=5e3,e0=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,OG=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,ud="cache.tar",t0="manifest.txt",e_e=10*Math.pow(1024,3),Uf="cache read denied:";var Cl=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},wme=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),s(c,l,a.done,a.value)})}}function s(i,a,c,l){Promise.resolve(l).then(function(A){i({value:A,done:c})},a)}},Nme="1.0";function dd(){return Cl(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let n;t?n=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?n="/Users":n="/home",e=Ia.join(n,"actions","temp")}let r=Ia.join(e,Of.randomUUID());return yield ha(r),r})}o(dd,"createTempDirectory");function Is(t){return Il.statSync(t).size}o(Is,"getArchiveFileSizeInBytes");function r0(t){return Cl(this,void 0,void 0,function*(){var e,r,n,s,i;let a=[],c=(i=process.env.GITHUB_WORKSPACE)!==null&&i!==void 0?i:process.cwd(),l=yield jH(t.join(`
`),{implicitDescendants:!1});try{for(var A=!0,u=wme(l.globGenerator()),d;d=yield u.next(),e=d.done,!e;A=!0){s=d.value,A=!1;let p=Ia.relative(c,s).replace(new RegExp(`\\${Ia.sep}`,"g"),"/");b(`Matched: ${p}`),p===""?a.push("."):a.push(`${p}`)}}catch(m){r={error:m}}finally{try{!A&&!e&&(n=u.return)&&(yield n.call(u))}finally{if(r)throw r.error}}return a})}o(r0,"resolvePaths");function md(t){return Cl(this,void 0,void 0,function*(){return HG.promisify(Il.unlink)(t)})}o(md,"unlinkFile");function zG(t){return Cl(this,arguments,void 0,function*(e,r=[]){let n="";r.push("--version"),b(`Checking ${e} ${r.join(" ")}`);try{yield po(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(s=>n+=s.toString(),"stdout"),stderr:o(s=>n+=s.toString(),"stderr")}})}catch(s){b(s.message)}return n=n.trim(),b(n),n})}o(zG,"getVersion");function pd(){return Cl(this,void 0,void 0,function*(){let t=yield zG("zstd",["--quiet"]),e=qG.clean(t);return b(`zstd version: ${e}`),t===""?rr.Gzip:rr.ZstdWithoutLong})}o(pd,"getCompressionMethod");function Io(t){return t===rr.Gzip?Ad.Gzip:Ad.Zstd}o(Io,"getCacheFileName");function GG(){return Cl(this,void 0,void 0,function*(){return Il.existsSync(e0)?e0:(yield zG("tar")).toLowerCase().includes("gnu tar")?hr("tar"):""})}o(GG,"getGnuTarPathOnWindows");function n0(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(n0,"assertDefined");function Bl(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(Nme),Of.createHash("sha256").update(n.join("|")).digest("hex")}o(Bl,"getCacheVersion");function YG(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(YG,"getRuntimeToken");var fd=Q(require("http"),1),o0=Q(require("https"),1);function s0(t){let e=t.protocol==="https:";if(Sme(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 Hf(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Hf(`http://${r}`)}else return}o(s0,"getProxyUrl");function Sme(t){if(!t.hostname)return!1;let e=t.hostname;if(Rme(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let s=[t.hostname.toUpperCase()];typeof n=="number"&&s.push(`${s[0]}:${n}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||s.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(Sme,"checkBypass");function Rme(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(Rme,"isLoopbackAddress");var Hf=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}};var Bo=Q(aI(),1),VG=Q(Dx(),1);var ot=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},We;(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"})(We||(We={}));var nr;(function(t){t.Accept="accept",t.ContentType="content-type"})(nr||(nr={}));var bi;(function(t){t.ApplicationJson="application/json"})(bi||(bi={}));var Pme=[We.MovedPermanently,We.ResourceMoved,We.SeeOther,We.TemporaryRedirect,We.PermanentRedirect],Dme=[We.BadGateway,We.ServiceUnavailable,We.GatewayTimeout],Tme=["OPTIONS","GET","DELETE","HEAD"],kme=10,Mme=5,Bs=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},i0=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return ot(this,void 0,void 0,function*(){return new Promise(e=>ot(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return ot(this,void 0,void 0,function*(){return new Promise(e=>ot(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var wi=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return ot(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return ot(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return ot(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return ot(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return ot(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return ot(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return ot(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,s){return ot(this,void 0,void 0,function*(){return this.request(e,r,n,s)})}getJson(e){return ot(this,arguments,void 0,function*(r,n={}){n[nr.Accept]=this._getExistingOrDefaultHeader(n,nr.Accept,bi.ApplicationJson);let s=yield this.get(r,n);return this._processResponse(s,this.requestOptions)})}postJson(e,r){return ot(this,arguments,void 0,function*(n,s,i={}){let a=JSON.stringify(s,null,2);i[nr.Accept]=this._getExistingOrDefaultHeader(i,nr.Accept,bi.ApplicationJson),i[nr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,bi.ApplicationJson);let c=yield this.post(n,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return ot(this,arguments,void 0,function*(n,s,i={}){let a=JSON.stringify(s,null,2);i[nr.Accept]=this._getExistingOrDefaultHeader(i,nr.Accept,bi.ApplicationJson),i[nr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,bi.ApplicationJson);let c=yield this.put(n,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return ot(this,arguments,void 0,function*(n,s,i={}){let a=JSON.stringify(s,null,2);i[nr.Accept]=this._getExistingOrDefaultHeader(i,nr.Accept,bi.ApplicationJson),i[nr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,bi.ApplicationJson);let c=yield this.patch(n,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,n,s){return ot(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),a=this._prepareRequest(e,i,s),c=this._allowRetries&&Tme.includes(e)?this._maxRetries+1:1,l=0,A;do{if(A=yield this.requestRaw(a,n),A&&A.message&&A.message.statusCode===We.Unauthorized){let d;for(let m of this.handlers)if(m.canHandleAuthentication(A)){d=m;break}return d?d.handleAuthentication(this,a,n):A}let u=this._maxRedirects;for(;A.message.statusCode&&Pme.includes(A.message.statusCode)&&this._allowRedirects&&u>0;){let d=A.message.headers.location;if(!d)break;let m=new URL(d);if(i.protocol==="https:"&&i.protocol!==m.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 A.readBody(),m.hostname!==i.hostname)for(let p in s)p.toLowerCase()==="authorization"&&delete s[p];a=this._prepareRequest(e,m,s),A=yield this.requestRaw(a,n),u--}if(!A.message.statusCode||!Dme.includes(A.message.statusCode))return A;l+=1,l<c&&(yield A.readBody(),yield this._performExponentialBackoff(l))}while(l<c);return A})}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,r){return ot(this,void 0,void 0,function*(){return new Promise((n,s)=>{function i(a,c){a?s(a):c?n(c):s(new Error("Unknown error"))}o(i,"callbackForResult"),this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let s=!1;function i(l,A){s||(s=!0,n(l,A))}o(i,"handleResult");let a=e.httpModule.request(e.options,l=>{let A=new i0(l);i(void 0,A)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){i(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=s0(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let s={};s.parsedUrl=r;let i=s.parsedUrl.protocol==="https:";s.httpModule=i?o0:fd;let a=i?443:80;if(s.options={},s.options.host=s.parsedUrl.hostname,s.options.port=s.parsedUrl.port?parseInt(s.parsedUrl.port):a,s.options.path=(s.parsedUrl.pathname||"")+(s.parsedUrl.search||""),s.options.method=e,s.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(s.options.headers["user-agent"]=this.userAgent),s.options.agent=this._getAgent(s.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(s.options);return s}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},hd(this.requestOptions.headers),hd(e||{})):hd(e||{})}_getExistingOrDefaultHeader(e,r,n){let s;if(this.requestOptions&&this.requestOptions.headers){let a=hd(this.requestOptions.headers)[r];a&&(s=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:s!==void 0?s:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let i=hd(this.requestOptions.headers)[nr.ContentType];i&&(typeof i=="number"?n=String(i):Array.isArray(i)?n=i.join(", "):n=i)}let s=e[nr.ContentType];return s!==void 0?typeof s=="number"?String(s):Array.isArray(s)?s.join(", "):s:n!==void 0?n:r}_getAgent(e){let r,n=s0(e),s=n&&n.hostname;if(this._keepAlive&&s&&(r=this._proxyAgent),s||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||fd.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,A=n.protocol==="https:";i?l=A?Bo.httpsOverHttps:Bo.httpsOverHttp:l=A?Bo.httpOverHttps:Bo.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new o0.Agent(c):new fd.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let s=e.protocol==="https:";return n=new VG.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=n,s&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let s=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${s}`}return r}_performExponentialBackoff(e){return ot(this,void 0,void 0,function*(){e=Math.min(kme,e);let r=Mme*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return ot(this,void 0,void 0,function*(){return new Promise((n,s)=>ot(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===We.NotFound&&n(a);function c(u,d){if(typeof d=="string"){let m=new Date(d);if(!isNaN(m.valueOf()))return m}return d}o(c,"dateTimeDeserializer");let l,A;try{A=yield e.readBody(),A&&A.length>0&&(r&&r.deserializeDates?l=JSON.parse(A,c):l=JSON.parse(A),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let u;l&&l.message?u=l.message:A&&A.length>0?u=A:u=`Failed request: (${i})`;let d=new Bs(u,i);d.result=a.result,s(d)}else n(a)}))})}},hd=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var Lme=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};var Ql=class{static{o(this,"BearerCredentialHandler")}constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return Lme(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var rA=Q(require("fs"),1),I8=require("url");var Qs=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var JG=require("node:os"),$G=Q(require("node:util"),1),WG=Q(require("node:process"),1);function jG(t,...e){WG.default.stderr.write(`${$G.default.format(t,...e)}${JG.EOL}`)}o(jG,"log");var KG=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,ZG,a0=[],c0=[],zf=[];KG&&l0(KG);var eY=Object.assign(t=>tY(t),{enable:l0,enabled:A0,disable:_me,log:jG});function l0(t){ZG=t,a0=[],c0=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?c0.push(r.substring(1)):a0.push(r);for(let r of zf)r.enabled=A0(r.namespace)}o(l0,"enable");function A0(t){if(t.endsWith("*"))return!0;for(let e of c0)if(XG(t,e))return!1;for(let e of a0)if(XG(t,e))return!0;return!1}o(A0,"enabled");function XG(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let m=[],p="";for(let h of e)h==="*"&&p==="*"||(p=h,m.push(h));r=m.join("")}let n=0,s=0,i=r.length,a=t.length,c=-1,l=-1;for(;n<a&&s<i;)if(r[s]==="*"){if(c=s,s++,s===i)return!0;for(;t[n]!==r[s];)if(n++,n===a)return!1;l=n,n++,s++;continue}else if(r[s]===t[n])s++,n++;else if(c>=0){if(s=c+1,n=l+1,n===a)return!1;for(;t[n]!==r[s];)if(n++,n===a)return!1;l=n,n++,s++;continue}else return!1;let A=n===t.length,u=s===r.length,d=s===r.length-1&&r[s]==="*";return A&&(u||d)}o(XG,"namespaceMatches");function _me(){let t=ZG||"";return l0(""),t}o(_me,"disable");function tY(t){let e=Object.assign(r,{enabled:A0(t),destroy:Fme,log:eY.log,namespace:t,extend:Ume});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),zf.push(e),e}o(tY,"createDebugger");function Fme(){let t=zf.indexOf(this);return t>=0?(zf.splice(t,1),!0):!1}o(Fme,"destroy");function Ume(t){let e=tY(`${this.namespace}:${t}`);return e.log=this.log,e}o(Ume,"extend");var xl=eY;var u0=["verbose","info","warning","error"],rY={verbose:400,info:300,warning:200,error:100};function nY(t,e){e.log=(...r)=>{t.log(...r)}}o(nY,"patchLogMethod");function sY(t){return u0.includes(t)}o(sY,"isTypeSpecRuntimeLogLevel");function Gf(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,s=xl(t.namespace);s.log=(...u)=>{xl.log(...u)};function i(u){if(u&&!sY(u))throw new Error(`Unknown log level '${u}'. Acceptable values: ${u0.join(",")}`);n=u;let d=[];for(let m of e)a(m)&&d.push(m.namespace);xl.enable(d.join(","))}o(i,"contextSetLogLevel"),r&&(sY(r)?i(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${u0.join(", ")}.`));function a(u){return!!(n&&rY[u.level]<=rY[n])}o(a,"shouldEnable");function c(u,d){let m=Object.assign(u.extend(d),{level:d});if(nY(u,m),a(m)){let p=xl.disable();xl.enable(p+","+m.namespace)}return e.add(m),m}o(c,"createLogger");function l(){return n}o(l,"contextGetLogLevel");function A(u){let d=s.extend(u);return nY(s,d),{error:c(d,"error"),warning:c(d,"warning"),info:c(d,"info"),verbose:c(d,"verbose")}}return o(A,"contextCreateClientLogger"),{setLogLevel:i,getLogLevel:l,createClientLogger:A,logger:s}}o(Gf,"createLoggerContext");var iY=Gf({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),Ome=iY.logger;function gd(t){return iY.createClientLogger(t)}o(gd,"createClientLogger");function Yf(t){return t.toLowerCase()}o(Yf,"normalizeName");function*qme(t){for(let e of t.values())yield[e.name,e.value]}o(qme,"headerIterator");var d0=class{static{o(this,"HttpHeadersImpl")}_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let r of Object.keys(e))this.set(r,e[r])}set(e,r){this._headersMap.set(Yf(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(Yf(e))?.value}has(e){return this._headersMap.has(Yf(e))}delete(e){this._headersMap.delete(Yf(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let n of this._headersMap.values())r[n.name]=n.value;else for(let[n,s]of this._headersMap)r[n]=s.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return qme(this._headersMap)}};function Gr(t){return new d0(t)}o(Gr,"createHttpHeaders");function Ba(){return crypto.randomUUID()}o(Ba,"randomUUID");var m0=class{static{o(this,"PipelineRequestImpl")}url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??Gr(),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||Ba(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function Vf(t){return new m0(t)}o(Vf,"createPipelineRequest");var oY=new Set(["Deserialize","Serialize","Retry","Sign"]),p0=class t{static{o(this,"HttpPipeline")}_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,r={}){if(r.phase&&r.afterPhase)throw new Error("Policies inside a phase cannot specify afterPhase.");if(r.phase&&!oY.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!oY.has(r.afterPhase))throw new Error(`Invalid afterPhase name: ${r.afterPhase}`);this._policies.push({policy:e,options:r}),this._orderedPolicies=void 0}removePolicy(e){let r=[];return this._policies=this._policies.filter(n=>e.name&&n.policy.name===e.name||e.phase&&n.options.phase===e.phase?(r.push(n.policy),!1):!0),this._orderedPolicies=void 0,r}sendRequest(e,r){return this.getOrderedPolicies().reduceRight((i,a)=>c=>a.sendRequest(c,i),i=>e.sendRequest(i))(r)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new t(this._policies)}static create(){return new t}orderPolicies(){let e=[],r=new Map;function n(h){return{name:h,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}o(n,"createPhase");let s=n("Serialize"),i=n("None"),a=n("Deserialize"),c=n("Retry"),l=n("Sign"),A=[s,i,a,c,l];function u(h){return h==="Retry"?c:h==="Serialize"?s:h==="Deserialize"?a:h==="Sign"?l:i}o(u,"getPhase");for(let h of this._policies){let f=h.policy,C=h.options,y=f.name;if(r.has(y))throw new Error("Duplicate policy names not allowed in pipeline");let E={policy:f,dependsOn:new Set,dependants:new Set};C.afterPhase&&(E.afterPhase=u(C.afterPhase),E.afterPhase.hasAfterPolicies=!0),r.set(y,E),u(C.phase).policies.add(E)}for(let h of this._policies){let{policy:f,options:C}=h,y=f.name,E=r.get(y);if(!E)throw new Error(`Missing node for policy ${y}`);if(C.afterPolicies)for(let I of C.afterPolicies){let B=r.get(I);B&&(E.dependsOn.add(B),B.dependants.add(E))}if(C.beforePolicies)for(let I of C.beforePolicies){let B=r.get(I);B&&(B.dependsOn.add(E),E.dependants.add(B))}}function d(h){h.hasRun=!0;for(let f of h.policies)if(!(f.afterPhase&&(!f.afterPhase.hasRun||f.afterPhase.policies.size))&&f.dependsOn.size===0){e.push(f.policy);for(let C of f.dependants)C.dependsOn.delete(f);r.delete(f.policy.name),h.policies.delete(f)}}o(d,"walkPhase");function m(){for(let h of A){if(d(h),h.policies.size>0&&h!==i){i.hasRun||d(i);return}h.hasAfterPolicies&&d(i)}}o(m,"walkPhases");let p=0;for(;r.size>0;){p++;let h=e.length;if(m(),e.length<=h&&p>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function Jf(){return p0.create()}o(Jf,"createEmptyPipeline");function bl(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(bl,"isObject");function Qa(t){if(bl(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(Qa,"isError");var aY=require("node:util"),cY=aY.inspect.custom;var h0="REDACTED",Hme=["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"],zme=["api-version"],Jn=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=Hme.concat(e),r=zme.concat(r),this.allowedHeaderNames=new Set(e.map(n=>n.toLowerCase())),this.allowedQueryParameters=new Set(r.map(n=>n.toLowerCase()))}sanitize(e){let r=new Set;return JSON.stringify(e,(n,s)=>{if(s instanceof Error)return{...s,name:s.name,message:s.message};if(n==="headers")return this.sanitizeHeaders(s);if(n==="url")return this.sanitizeUrl(s);if(n==="query")return this.sanitizeQuery(s);if(n==="body")return;if(n==="response")return;if(n==="operationSpec")return;if(Array.isArray(s)||bl(s)){if(r.has(s))return"[Circular]";r.add(s)}return s},2)}sanitizeUrl(e){if(typeof e!="string"||e===null||e==="")return e;let r=new URL(e);if(!r.search)return e;for(let[n]of r.searchParams)this.allowedQueryParameters.has(n.toLowerCase())||r.searchParams.set(n,h0);return r.toString()}sanitizeHeaders(e){let r={};for(let n of Object.keys(e))this.allowedHeaderNames.has(n.toLowerCase())?r[n]=e[n]:r[n]=h0;return r}sanitizeQuery(e){if(typeof e!="object"||e===null)return e;let r={};for(let n of Object.keys(e))this.allowedQueryParameters.has(n.toLowerCase())?r[n]=e[n]:r[n]=h0;return r}};var Gme=new Jn,sr=class t extends Error{static{o(this,"RestError")}static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,r={}){super(e),this.name="RestError",this.code=r.code,this.statusCode=r.statusCode,Object.defineProperty(this,"request",{value:r.request,enumerable:!1}),Object.defineProperty(this,"response",{value:r.response,enumerable:!1});let n=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,cY,{value:o(()=>`RestError: ${this.message}
${Gme.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function $f(t){return t instanceof sr?!0:Qa(t)&&t.name==="RestError"}o($f,"isRestError");function yr(t,e){return Buffer.from(t,e)}o(yr,"stringToUint8Array");var Wf=Q(require("node:http"),1),jf=Q(require("node:https"),1),f0=Q(require("node:zlib"),1),AY=require("node:stream");var En=gd("ts-http-runtime");var Yme={};function yd(t){return t&&typeof t.pipe=="function"}o(yd,"isReadableStream");function lY(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=o(()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)},"handler");t.on("close",r),t.on("end",r),t.on("error",r)})}o(lY,"isStreamComplete");function uY(t){return t&&typeof t.byteLength=="number"}o(uY,"isArrayBuffer");var Kf=class extends AY.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,n){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),n()}catch(s){n(s)}}constructor(e){super(),this.progressCallback=e}},g0=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,n;if(e.abortSignal){if(e.abortSignal.aborted)throw new Qs("The operation was aborted. Request has already been canceled.");n=o(A=>{A.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",n)}let s;e.timeout>0&&(s=setTimeout(()=>{let A=new Jn;En.info(`request to '${A.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let i=e.headers.get("Accept-Encoding"),a=i?.includes("gzip")||i?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let A=Wme(c);A!==null&&e.headers.set("Content-Length",A)}let l;try{if(c&&e.onUploadProgress){let h=e.onUploadProgress,f=new Kf(h);f.on("error",C=>{En.error("Error in upload progress",C)}),yd(c)?c.pipe(f):f.end(c),c=f}let A=await this.makeRequest(e,r,c);s!==void 0&&clearTimeout(s);let u=Vme(A),m={status:A.statusCode??0,headers:u,request:e};if(e.method==="HEAD")return A.resume(),m;l=a?Jme(A,u):A;let p=e.onDownloadProgress;if(p){let h=new Kf(p);h.on("error",f=>{En.error("Error in download progress",f)}),l.pipe(h),l=h}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(m.status)?m.readableStreamBody=l:m.bodyAsText=await $me(l),m}finally{if(e.abortSignal&&n){let A=Promise.resolve();yd(c)&&(A=lY(c));let u=Promise.resolve();yd(l)&&(u=lY(l)),Promise.all([A,u]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(d=>{En.warning("Error when cleaning up abortListener on httpRequest",d)})}}}makeRequest(e,r,n){let s=new URL(e.url),i=s.protocol!=="https:";if(i&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,i),hostname:s.hostname,path:`${s.pathname}${s.search}`,port:s.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,A)=>{let u=i?Wf.default.request(c,l):jf.default.request(c,l);u.once("error",d=>{A(new sr(d.message,{code:d.code??sr.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new Qs("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(d),A(d)}),n&&yd(n)?n.pipe(u):n?typeof n=="string"||Buffer.isBuffer(n)?u.end(n):uY(n)?u.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(En.error("Unrecognized body type",n),A(new sr("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?Wf.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new Wf.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return jf.default.globalAgent;let s=e.tlsSettings??Yme,i=this.cachedHttpsAgents.get(s);return i&&i.options.keepAlive===!n||(En.info("No cached TLS Agent exist, creating a new Agent"),i=new jf.default.Agent({keepAlive:!n,...s}),this.cachedHttpsAgents.set(s,i)),i}}};function Vme(t){let e=Gr();for(let r of Object.keys(t.headers)){let n=t.headers[r];Array.isArray(n)?n.length>0&&e.set(r,n[0]):n&&e.set(r,n)}return e}o(Vme,"getResponseHeaders");function Jme(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=f0.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=f0.default.createInflate();return t.pipe(n),n}return t}o(Jme,"getDecodedResponseStream");function $me(t){return new Promise((e,r)=>{let n=[];t.on("data",s=>{Buffer.isBuffer(s)?n.push(s):n.push(Buffer.from(s))}),t.on("end",()=>{e(Buffer.concat(n).toString("utf8"))}),t.on("error",s=>{s&&s?.name==="AbortError"?r(s):r(new sr(`Error reading response as text: ${s.message}`,{code:sr.PARSE_ERROR}))})})}o($me,"streamToText");function Wme(t){return t?Buffer.isBuffer(t)?t.length:yd(t)?null:uY(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(Wme,"getBodyLength");function dY(){return new g0}o(dY,"createNodeHttpClient");function Xf(){return dY()}o(Xf,"createDefaultHttpClient");var y0="logPolicy";function Zf(t={}){let e=t.logger??En.info,r=new Jn({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:y0,async sendRequest(n,s){if(!e.enabled)return s(n);e(`Request: ${r.sanitize(n)}`);let i=await s(n);return e(`Response status code: ${i.status}`),e(`Headers: ${r.sanitize(i.headers)}`),i}}}o(Zf,"logPolicy");var eg="redirectPolicy",mY=["GET","HEAD"];function tg(t={}){let{maxRetries:e=20}=t;return{name:eg,async sendRequest(r,n){let s=await n(r);return pY(n,s,e)}}}o(tg,"redirectPolicy");async function pY(t,e,r,n=0){let{request:s,status:i,headers:a}=e,c=a.get("location");if(c&&(i===300||i===301&&mY.includes(s.method)||i===302&&mY.includes(s.method)||i===303&&s.method==="POST"||i===307)&&n<r){let l=new URL(c,s.url);s.url=l.toString(),i===303&&(s.method="GET",s.headers.delete("Content-Length"),delete s.body),s.headers.delete("Authorization");let A=await t(s);return pY(t,A,r,n+1)}return e}o(pY,"handleRedirect");function hY(){return"User-Agent"}o(hY,"getHeaderName");function fY(){return hY()}o(fY,"getUserAgentHeaderName");var C1e=fY();var rg="decompressResponsePolicy";function ng(){return{name:rg,async sendRequest(t,e){return t.method!=="HEAD"&&t.headers.set("Accept-Encoding","gzip,deflate"),e(t)}}}o(ng,"decompressResponsePolicy");function Ed(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(Ed,"getRandomIntegerInclusive");function sg(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+Ed(0,n/2)}}o(sg,"calculateRetryDelay");var jme="The operation was aborted.";function gY(t,e,r){return new Promise((n,s)=>{let i,a,c=o(()=>s(new Qs(r?.abortErrorMsg?r?.abortErrorMsg:jme)),"rejectOnAbort"),l=o(()=>{r?.abortSignal&&a&&r.abortSignal.removeEventListener("abort",a)},"removeListeners");if(a=o(()=>(i&&clearTimeout(i),l(),c()),"onAborted"),r?.abortSignal&&r.abortSignal.aborted)return c();i=setTimeout(()=>{l(),n(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}o(gY,"delay");function yY(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}o(yY,"parseHeaderValueAsNumber");var E0="Retry-After",Kme=["retry-after-ms","x-ms-retry-after-ms",E0];function EY(t){if(t&&[429,503].includes(t.status))try{for(let s of Kme){let i=yY(t,s);if(i===0||i)return i*(s===E0?1e3:1)}let e=t.headers.get(E0);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}o(EY,"getRetryAfterInMs");function CY(t){return Number.isFinite(EY(t))}o(CY,"isThrottlingRetryResponse");function C0(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=EY(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(C0,"throttlingRetryStrategy");var Xme=1e3,Zme=1e3*64;function ig(t={}){let e=t.retryDelayInMs??Xme,r=t.maxRetryDelayInMs??Zme;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:s,responseError:i}){let a=tpe(i),c=a&&t.ignoreSystemErrors,l=epe(s),A=l&&t.ignoreHttpStatusCodes;return s&&(CY(s)||!l)||A||c?{skipStrategy:!0}:i&&!a&&!l?{errorToThrow:i}:sg(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(ig,"exponentialRetryStrategy");function epe(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(epe,"isExponentialRetryResponse");function tpe(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(tpe,"isSystemError");var rpe=gd("ts-http-runtime retryPolicy"),npe="retryPolicy";function ba(t,e={maxRetries:3}){let r=e.logger||rpe;return{name:npe,async sendRequest(n,s){let i,a,c=-1;e:for(;;){c+=1,i=void 0,a=void 0;try{r.info(`Retry ${c}: Attempting to send request`,n.requestId),i=await s(n),r.info(`Retry ${c}: Received a response from request`,n.requestId)}catch(l){if(r.error(`Retry ${c}: Received an error from request`,n.requestId),a=l,!l||a.name!=="RestError")throw l;i=a.response}if(n.abortSignal?.aborted)throw r.error(`Retry ${c}: Request aborted.`),new Qs;if(c>=(e.maxRetries??3)){if(r.info(`Retry ${c}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),a)throw a;if(i)return i;throw new Error("Maximum retries reached with no response or error to throw")}r.info(`Retry ${c}: Processing ${t.length} retry strategies.`);t:for(let l of t){let A=l.logger||r;A.info(`Retry ${c}: Processing retry strategy ${l.name}.`);let u=l.retry({retryCount:c,response:i,responseError:a});if(u.skipStrategy){A.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:d,retryAfterInMs:m,redirectTo:p}=u;if(d)throw A.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,d),d;if(m||m===0){A.info(`Retry ${c}: Retry strategy ${l.name} retries after ${m}`),await gY(m,void 0,{abortSignal:n.abortSignal});continue e}if(p){A.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${p}`),n.url=p;continue e}}if(a)throw r.info("None of the retry strategies could work with the received error. Throwing it."),a;if(i)return r.info("None of the retry strategies could work with the received response. Returning it."),i}}}}o(ba,"retryPolicy");var I0="defaultRetryPolicy";function og(t={}){return{name:I0,sendRequest:ba([C0(),ig(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(og,"defaultRetryPolicy");var IY=typeof window<"u"&&typeof window.document<"u",BY=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),QY=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",xY=typeof Bun<"u"&&typeof Bun.version<"u",wa=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var bY=typeof navigator<"u"&&navigator?.product==="ReactNative";var B0="formDataPolicy";function spe(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}o(spe,"formDataToFormDataMap");function ag(){return{name:B0,async sendRequest(t,e){if(wa&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=spe(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=ipe(t.formData):await ope(t.formData,t),t.formData=void 0}return e(t)}}}o(ag,"formDataPolicy");function ipe(t){let e=new URLSearchParams;for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let s of n)e.append(r,s.toString());else e.append(r,n.toString());return e.toString()}o(ipe,"wwwFormUrlEncode");async function ope(t,e){let r=e.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;e.headers.set("Content-Type",r??"multipart/form-data");let n=[];for(let[s,i]of Object.entries(t))for(let a of Array.isArray(i)?i:[i])if(typeof a=="string")n.push({headers:Gr({"Content-Disposition":`form-data; name="${s}"`}),body:yr(a,"utf-8")});else{if(a==null||typeof a!="object")throw new Error(`Unexpected value for key ${s}: ${a}. Value should be serialized to string first.`);{let c=a.name||"blob",l=Gr();l.set("Content-Disposition",`form-data; name="${s}"; filename="${c}"`),l.set("Content-Type",a.type||"application/octet-stream"),n.push({headers:l,body:a})}}e.multipartBody={parts:n}}o(ope,"prepareFormData");var AV=Q(jY(),1),uV=Q(oV(),1);var hhe="HTTPS_PROXY",fhe="HTTP_PROXY",ghe="ALL_PROXY",yhe="NO_PROXY",R0="proxyPolicy",aV=[],dV=!1,Ehe=new Map;function gg(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(gg,"getEnvironmentValue");function mV(){if(!process)return;let t=gg(hhe),e=gg(ghe),r=gg(fhe);return t||e||r}o(mV,"loadEnvironmentProxyValue");function Che(t,e,r){if(e.length===0)return!1;let n=new URL(t).hostname;if(r?.has(n))return r.get(n);let s=!1;for(let i of e)i[0]==="."?(n.endsWith(i)||n.length===i.length-1&&n===i.slice(1))&&(s=!0):n===i&&(s=!0);return r?.set(n,s),s}o(Che,"isBypassed");function Ihe(){let t=gg(yhe);return dV=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(Ihe,"loadNoProxy");function v0(t){if(!t&&(t=mV(),!t))return;let e=new URL(t);return{host:(e.protocol?e.protocol+"//":"")+e.hostname,port:Number.parseInt(e.port||"80"),username:e.username,password:e.password}}o(v0,"getDefaultProxySettings");function Bhe(){let t=mV();return t?new URL(t):void 0}o(Bhe,"getDefaultProxySettingsInternal");function cV(t){let e;try{e=new URL(t.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${t.host}".`)}return e.port=String(t.port),t.username&&(e.username=t.username),t.password&&(e.password=t.password),e}o(cV,"getUrlFromProxySettings");function lV(t,e,r){if(t.agent)return;let s=new URL(t.url).protocol!=="https:";t.tlsSettings&&En.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let i=t.headers.toJSON();s?(e.httpProxyAgent||(e.httpProxyAgent=new uV.HttpProxyAgent(r,{headers:i})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new AV.HttpsProxyAgent(r,{headers:i})),t.agent=e.httpsProxyAgent)}o(lV,"setProxyAgentOnRequest");function yg(t,e){dV||aV.push(...Ihe());let r=t?cV(t):Bhe(),n={};return{name:R0,async sendRequest(s,i){return!s.proxySettings&&r&&!Che(s.url,e?.customNoProxyList??aV,e?.customNoProxyList?void 0:Ehe)?lV(s,n,r):s.proxySettings&&lV(s,n,cV(s.proxySettings)),i(s)}}}o(yg,"proxyPolicy");var P0="agentPolicy";function Eg(t){return{name:P0,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(Eg,"agentPolicy");var D0="tlsPolicy";function Cg(t){return{name:D0,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(Cg,"tlsPolicy");function Ig(t){return typeof t.stream=="function"}o(Ig,"isBlob");var Bg=require("stream");async function*pV(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(pV,"streamAsyncIterator");function Qhe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=pV.bind(t)),t.values||(t.values=pV.bind(t))}o(Qhe,"makeAsyncIterable");function hV(t){return t instanceof ReadableStream?(Qhe(t),Bg.Readable.fromWeb(t)):t}o(hV,"ensureNodeStream");function xhe(t){return t instanceof Uint8Array?Bg.Readable.from(Buffer.from(t)):Ig(t)?hV(t.stream()):hV(t)}o(xhe,"toStream");async function fV(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(xhe);return Bg.Readable.from((async function*(){for(let r of e)for await(let n of r)yield n})())}}o(fV,"concat");function bhe(){return`----AzSDKFormBoundary${Ba()}`}o(bhe,"generateBoundary");function whe(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r
`;return e}o(whe,"encodeHeaders");function Nhe(t){return t instanceof Uint8Array?t.byteLength:Ig(t)?t.size===-1?void 0:t.size:void 0}o(Nhe,"getLength");function She(t){let e=0;for(let r of t){let n=Nhe(r);if(n===void 0)return;e+=n}return e}o(She,"getTotalLength");async function Rhe(t,e,r){let n=[yr(`--${r}`,"utf-8"),...e.flatMap(i=>[yr(`\r
`,"utf-8"),yr(whe(i.headers),"utf-8"),yr(`\r
`,"utf-8"),i.body,yr(`\r
--${r}`,"utf-8")]),yr(`--\r
\r
`,"utf-8")],s=She(n);s&&t.headers.set("Content-Length",s),t.body=await fV(n)}o(Rhe,"buildRequestBody");var Id="multipartPolicy",vhe=70,Phe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function Dhe(t){if(t.length>vhe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!Phe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(Dhe,"assertValidBoundary");function Qg(){return{name:Id,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,n=t.headers.get("Content-Type")??"multipart/mixed",s=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!s)throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,i,a]=s;if(a&&r&&a!==r)throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);return r??=a,r?Dhe(r):r=bhe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await Rhe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(Qg,"multipartPolicy");function xg(){return Jf()}o(xg,"createEmptyPipeline");var gV=Gf({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),XUe=gV.logger;function ws(t){return gV.createClientLogger(t)}o(ws,"createClientLogger");var Ns=ws("core-rest-pipeline");function M0(t={}){return Zf({logger:Ns.info,...t})}o(M0,"logPolicy");var L0=eg;function _0(t={}){return tg(t)}o(_0,"redirectPolicy");var bg=Q(require("node:os"),1),wg=Q(require("node:process"),1);function yV(){return"User-Agent"}o(yV,"getHeaderName");async function EV(t){if(wg.default&&wg.default.versions){let e=`${bg.default.type()} ${bg.default.release()}; ${bg.default.arch()}`,r=wg.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(EV,"setPlatformSpecificData");var Ng="1.22.2";function Ohe(t){let e=[];for(let[r,n]of t){let s=n?`${r}/${n}`:r;e.push(s)}return e.join(" ")}o(Ohe,"getUserAgentString");function CV(){return yV()}o(CV,"getUserAgentHeaderName");async function Sg(t){let e=new Map;e.set("core-rest-pipeline",Ng),await EV(e);let r=Ohe(e);return t?`${t} ${r}`:r}o(Sg,"getUserAgentValue");var IV=CV(),BV="userAgentPolicy";function F0(t={}){let e=Sg(t.userAgentPrefix);return{name:BV,async sendRequest(r,n){return r.headers.has(IV)||r.headers.set(IV,await e),n(r)}}}o(F0,"userAgentPolicy");var $r=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function U0(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=e??{};return new Promise((i,a)=>{function c(){a(new $r(s??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",A)}o(l,"removeListeners");function A(){r?.(),l(),c()}if(o(A,"onAbort"),n?.aborted)return c();try{t(u=>{l(),i(u)},u=>{l(),a(u)})}catch(u){a(u)}n?.addEventListener("abort",A)})}o(U0,"createAbortablePromise");var Yhe="The delay was aborted.";function Bd(t,e){let r,{abortSignal:n,abortErrorMsg:s}=e??{};return U0(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:s??Yhe})}o(Bd,"delay");function xo(t){if(Qa(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(xo,"getErrorMessage");function QV(t){return Qa(t)}o(QV,"isError");function Pl(){return Ba()}o(Pl,"randomUUID");var Ie=wa;var xV=Symbol("rawContent");function q0(t){return typeof t[xV]=="function"}o(q0,"hasRawContent");function bV(t){return q0(t)?t[xV]():t}o(bV,"getRawContent");var Rg=Id;function H0(){let t=Qg();return{name:Rg,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)q0(n.body)&&(n.body=bV(n.body));return t.sendRequest(e,r)},"sendRequest")}}o(H0,"multipartPolicy");var z0=rg;function G0(){return ng()}o(G0,"decompressResponsePolicy");function Y0(t={}){return og(t)}o(Y0,"defaultRetryPolicy");function V0(){return ag()}o(V0,"formDataPolicy");function bo(t){return v0(t)}o(bo,"getDefaultProxySettings");function J0(t,e){return yg(t,e)}o(J0,"proxyPolicy");var wV="setClientRequestIdPolicy";function $0(t="x-ms-client-request-id"){return{name:wV,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o($0,"setClientRequestIdPolicy");function W0(t){return Eg(t)}o(W0,"agentPolicy");function j0(t){return Cg(t)}o(j0,"tlsPolicy");var Dl={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function NV(t={}){let e=new K0(t.parentContext);return t.span&&(e=e.setValue(Dl.span,t.span)),t.namespace&&(e=e.setValue(Dl.namespace,t.namespace)),e}o(NV,"createTracingContext");var K0=class t{static{o(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._contextMap):new Map}setValue(e,r){let n=new t(this);return n._contextMap.set(e,r),n}getValue(e){return this._contextMap.get(e)}deleteValue(e){let r=new t(this);return r._contextMap.delete(e),r}};var RV=Q(SV(),1),Pg=RV.state;function Vhe(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(Vhe,"createDefaultTracingSpan");function Jhe(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:Vhe(),tracingContext:NV({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(Jhe,"createDefaultInstrumenter");function Qd(){return Pg.instrumenterImplementation||(Pg.instrumenterImplementation=Jhe()),Pg.instrumenterImplementation}o(Qd,"getInstrumenter");function xd(t){let{namespace:e,packageName:r,packageVersion:n}=t;function s(A,u,d){let m=Qd().startSpan(A,{...d,packageName:r,packageVersion:n,tracingContext:u?.tracingOptions?.tracingContext}),p=m.tracingContext,h=m.span;p.getValue(Dl.namespace)||(p=p.setValue(Dl.namespace,e)),h.setAttribute("az.namespace",p.getValue(Dl.namespace));let f=Object.assign({},u,{tracingOptions:{...u?.tracingOptions,tracingContext:p}});return{span:h,updatedOptions:f}}o(s,"startSpan");async function i(A,u,d,m){let{span:p,updatedOptions:h}=s(A,u,m);try{let f=await a(h.tracingOptions.tracingContext,()=>Promise.resolve(d(h,p)));return p.setStatus({status:"success"}),f}catch(f){throw p.setStatus({status:"error",error:f}),f}finally{p.end()}}o(i,"withSpan");function a(A,u,...d){return Qd().withContext(A,u,...d)}o(a,"withContext");function c(A){return Qd().parseTraceparentHeader(A)}o(c,"parseTraceparentHeader");function l(A){return Qd().createRequestHeaders(A)}return o(l,"createRequestHeaders"),{startSpan:s,withSpan:i,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(xd,"createTracingClient");var Ni=sr;function Sa(t){return $f(t)}o(Sa,"isRestError");var vV="tracingPolicy";function X0(t={}){let e=Sg(t.userAgentPrefix),r=new Jn({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=$he();return{name:vV,async sendRequest(s,i){if(!n)return i(s);let a=await e,c={"http.url":r.sanitizeUrl(s.url),"http.method":s.method,"http.user_agent":a,requestId:s.requestId};a&&(c["http.user_agent"]=a);let{span:l,tracingContext:A}=Whe(n,s,c)??{};if(!l||!A)return i(s);try{let u=await n.withContext(A,i,s);return Khe(l,u),u}catch(u){throw jhe(l,u),u}}}}o(X0,"tracingPolicy");function $he(){try{return xd({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:Ng})}catch(t){Ns.warning(`Error when creating the TracingClient: ${xo(t)}`);return}}o($he,"tryCreateTracingClient");function Whe(t,e,r){try{let{span:n,updatedOptions:s}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording()){n.end();return}let i=t.createRequestHeaders(s.tracingOptions.tracingContext);for(let[a,c]of Object.entries(i))e.headers.set(a,c);return{span:n,tracingContext:s.tracingOptions.tracingContext}}catch(n){Ns.warning(`Skipping creating a tracing span due to an error: ${xo(n)}`);return}}o(Whe,"tryCreateSpan");function jhe(t,e){try{t.setStatus({status:"error",error:QV(e)?e:void 0}),Sa(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){Ns.warning(`Skipping tracing span processing due to an error: ${xo(r)}`)}}o(jhe,"tryProcessError");function Khe(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){Ns.warning(`Skipping tracing span processing due to an error: ${xo(r)}`)}}o(Khe,"tryProcessResponse");function Dg(t){if(t instanceof AbortSignal)return{abortSignal:t};if(t.aborted)return{abortSignal:AbortSignal.abort(t.reason)};let e=new AbortController,r=!0;function n(){r&&(t.removeEventListener("abort",s),r=!1)}o(n,"cleanup");function s(){e.abort(t.reason),n()}return o(s,"listener"),t.addEventListener("abort",s),{abortSignal:e.signal,cleanup:n}}o(Dg,"wrapAbortSignalLike");var Xhe="wrapAbortSignalLikePolicy";function PV(){return{name:Xhe,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=Dg(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}},"sendRequest")}}o(PV,"wrapAbortSignalLikePolicy");function Z0(t){let e=xg();return Ie&&(t.agent&&e.addPolicy(W0(t.agent)),t.tlsOptions&&e.addPolicy(j0(t.tlsOptions)),e.addPolicy(J0(t.proxyOptions)),e.addPolicy(G0())),e.addPolicy(PV()),e.addPolicy(V0(),{beforePolicies:[Rg]}),e.addPolicy(F0(t.userAgentOptions)),e.addPolicy($0(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(H0(),{afterPhase:"Deserialize"}),e.addPolicy(Y0(t.retryOptions),{phase:"Retry"}),e.addPolicy(X0({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Ie&&e.addPolicy(_0(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(M0(t.loggingOptions),{afterPhase:"Sign"}),e}o(Z0,"createPipelineFromOptions");function bd(){let t=Xf();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?Dg(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(bd,"createDefaultHttpClient");function Si(t){return Gr(t)}o(Si,"createHttpHeaders");function wd(t){return Vf(t)}o(wd,"createPipelineRequest");var Sze=ws("core-rest-pipeline retryPolicy");var Zhe={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function efe(t,e,r){async function n(){if(Date.now()<r)try{return await t()}catch{return null}else{let i=await t();if(i===null)throw new Error("Failed to refresh access token.");return i}}o(n,"tryGetAccessToken");let s=await n();for(;s===null;)await Bd(e),s=await n();return s}o(efe,"beginRefresh");function ew(t,e){let r=null,n=null,s,i={...Zhe,...e},a={get isRefreshing(){return r!==null},get shouldRefresh(){return a.isRefreshing?!1:n?.refreshAfterTimestamp&&n.refreshAfterTimestamp<Date.now()?!0:(n?.expiresOnTimestamp??0)-i.refreshWindowInMs<Date.now()},get mustRefresh(){return n===null||n.expiresOnTimestamp-i.forcedRefreshWindowInMs<Date.now()}};function c(l,A){return a.isRefreshing||(r=efe(o(()=>t.getToken(l,A),"tryGetAccessToken"),i.retryIntervalInMs,n?.expiresOnTimestamp??Date.now()).then(d=>(r=null,n=d,s=A.tenantId,n)).catch(d=>{throw r=null,n=null,s=void 0,d})),r}return o(c,"refresh"),async(l,A)=>{let u=!!A.claims,d=s!==A.tenantId;return u&&(n=null),d||u||a.mustRefresh?c(l,A):(a.shouldRefresh&&c(l,A),n)}}o(ew,"createTokenCycler");var MV="bearerTokenAuthenticationPolicy";async function Tg(t,e){try{return[await e(t),void 0]}catch(r){if(Sa(r)&&r.response)return[r.response,r];throw r}}o(Tg,"trySendRequest");async function tfe(t){let{scopes:e,getAccessToken:r,request:n}=t,s={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions,enableCae:!0},i=await r(e,s);i&&t.request.headers.set("Authorization",`Bearer ${i.token}`)}o(tfe,"defaultAuthorizeRequest");function DV(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(DV,"isChallengeResponse");async function TV(t,e){let{scopes:r}=t,n=await t.getAccessToken(r,{enableCae:!0,claims:e});return n?(t.request.headers.set("Authorization",`${n.tokenType??"Bearer"} ${n.token}`),!0):!1}o(TV,"authorizeRequestOnCaeChallenge");function Tl(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,s=t.logger||Ns,i={authorizeRequest:n?.authorizeRequest?.bind(n)??tfe,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?ew(e):()=>Promise.resolve(null);return{name:MV,async sendRequest(c,l){if(!c.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");await i.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:c,getAccessToken:a,logger:s});let A,u,d;if([A,u]=await Tg(c,l),DV(A)){let m=kV(A.headers.get("WWW-Authenticate"));if(m){let p;try{p=atob(m)}catch{return s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${m}`),A}d=await TV({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:s},p),d&&([A,u]=await Tg(c,l))}else if(i.authorizeRequestOnChallenge&&(d=await i.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:c,response:A,getAccessToken:a,logger:s}),d&&([A,u]=await Tg(c,l)),DV(A)&&(m=kV(A.headers.get("WWW-Authenticate")),m))){let p;try{p=atob(m)}catch{return s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${m}`),A}d=await TV({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:s},p),d&&([A,u]=await Tg(c,l))}}if(u)throw u;return A}}}o(Tl,"bearerTokenAuthenticationPolicy");function rfe(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,n=[],s;for(;(s=e.exec(t))!==null;){let i=s[1],a=s[2],c={},l;for(;(l=r.exec(a))!==null;)c[l[1]]=l[2];n.push({scheme:i,params:c})}return n}o(rfe,"parseChallenges");function kV(t){return t?rfe(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(kV,"getCaeChallengeClaims");function Wr(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(Wr,"isTokenCredential");var tw="DisableKeepAlivePolicy";function LV(){return{name:tw,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(LV,"createDisableKeepAlivePolicy");function _V(t){return t.getOrderedPolicies().some(e=>e.name===tw)}o(_V,"pipelineContainsDisableKeepAlivePolicy");function rw(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(rw,"encodeByteArray");function nw(t){return Buffer.from(t,"base64")}o(nw,"decodeString");function sfe(t,e){return e!=="Composite"&&e!=="Dictionary"&&(typeof t=="string"||typeof t=="number"||typeof t=="boolean"||e?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||t===void 0||t===null)}o(sfe,"isPrimitiveBody");var ife=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function FV(t){return ife.test(t)}o(FV,"isDuration");var ofe=/^[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 UV(t){return ofe.test(t)}o(UV,"isValidUuid");function afe(t){let e={...t.headers,...t.body};return t.hasNullableType&&Object.getOwnPropertyNames(e).length===0?t.shouldWrapBody?{body:null}:null:t.shouldWrapBody?{...t.headers,body:t.body}:e}o(afe,"handleNullableResponseAndWrappableBody");function sw(t,e){let r=t.parsedHeaders;if(t.request.method==="HEAD")return{...r,body:t.parsedBody};let n=e&&e.bodyMapper,s=!!n?.nullable,i=n?.type.name;if(i==="Stream")return{...r,blobBody:t.blobBody,readableStreamBody:t.readableStreamBody};let a=i==="Composite"&&n.type.modelProperties||{},c=Object.keys(a).some(l=>a[l].serializedName==="");if(i==="Sequence"||c){let l=t.parsedBody??[];for(let A of Object.keys(a))a[A].serializedName&&(l[A]=t.parsedBody?.[A]);if(r)for(let A of Object.keys(r))l[A]=r[A];return s&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(a).length===0?null:l}return afe({body:t.parsedBody,headers:r,hasNullableType:s,shouldWrapBody:sfe(t.parsedBody,i)})}o(sw,"flattenResponse");var iw=class{static{o(this,"SerializerImpl")}modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,n){let s=o((i,a)=>{throw new Error(`"${n}" with value "${r}" should satisfy the constraint "${i}": ${a}.`)},"failValidation");if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:i,ExclusiveMinimum:a,InclusiveMaximum:c,InclusiveMinimum:l,MaxItems:A,MaxLength:u,MinItems:d,MinLength:m,MultipleOf:p,Pattern:h,UniqueItems:f}=e.constraints;if(i!==void 0&&r>=i&&s("ExclusiveMaximum",i),a!==void 0&&r<=a&&s("ExclusiveMinimum",a),c!==void 0&&r>c&&s("InclusiveMaximum",c),l!==void 0&&r<l&&s("InclusiveMinimum",l),A!==void 0&&r.length>A&&s("MaxItems",A),u!==void 0&&r.length>u&&s("MaxLength",u),d!==void 0&&r.length<d&&s("MinItems",d),m!==void 0&&r.length<m&&s("MinLength",m),p!==void 0&&r%p!==0&&s("MultipleOf",p),h){let C=typeof h=="string"?new RegExp(h):h;(typeof r!="string"||r.match(C)===null)&&s("Pattern",h)}f&&r.some((C,y,E)=>E.indexOf(C)!==y)&&s("UniqueItems",f)}}serialize(e,r,n,s={xml:{}}){let i={xml:{rootName:s.xml.rootName??"",includeRoot:s.xml.includeRoot??!1,xmlCharKey:s.xml.xmlCharKey??"_"}},a={},c=e.type.name;n||(n=e.serializedName),c.match(/^Sequence$/i)!==null&&(a=[]),e.isConstant&&(r=e.defaultValue);let{required:l,nullable:A}=e;if(l&&A&&r===void 0)throw new Error(`${n} cannot be undefined.`);if(l&&!A&&r==null)throw new Error(`${n} cannot be null or undefined.`);if(!l&&A===!1&&r===null)throw new Error(`${n} cannot be null.`);return r==null||c.match(/^any$/i)!==null?a=r:c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?a=mfe(c,n,r):c.match(/^Enum$/i)!==null?a=pfe(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=gfe(c,r,n):c.match(/^ByteArray$/i)!==null?a=hfe(n,r):c.match(/^Base64Url$/i)!==null?a=ffe(n,r):c.match(/^Sequence$/i)!==null?a=yfe(this,e,r,n,!!this.isXML,i):c.match(/^Dictionary$/i)!==null?a=Efe(this,e,r,n,!!this.isXML,i):c.match(/^Composite$/i)!==null&&(a=Ife(this,e,r,n,!!this.isXML,i)),a}deserialize(e,r,n,s={xml:{}}){let i={xml:{rootName:s.xml.rootName??"",includeRoot:s.xml.includeRoot??!1,xmlCharKey:s.xml.xmlCharKey??"_"},ignoreUnknownProperties:s.ignoreUnknownProperties??!1};if(r==null)return this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped&&(r=[]),e.defaultValue!==void 0&&(r=e.defaultValue),r;let a,c=e.type.name;if(n||(n=e.serializedName),c.match(/^Composite$/i)!==null)a=Qfe(this,e,r,n,i);else{if(this.isXML){let l=i.xml.xmlCharKey;r["$"]!==void 0&&r[l]!==void 0&&(r=r[l])}c.match(/^Number$/i)!==null?(a=parseFloat(r),isNaN(a)&&(a=r)):c.match(/^Boolean$/i)!==null?r==="true"?a=!0:r==="false"?a=!1:a=r:c.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null?a=r:c.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null?a=new Date(r):c.match(/^UnixTime$/i)!==null?a=dfe(r):c.match(/^ByteArray$/i)!==null?a=nw(r):c.match(/^Base64Url$/i)!==null?a=Afe(r):c.match(/^Sequence$/i)!==null?a=bfe(this,e,r,n,i):c.match(/^Dictionary$/i)!==null&&(a=xfe(this,e,r,n,i))}return e.isConstant&&(a=e.defaultValue),a}};function jr(t={},e=!1){return new iw(t,e)}o(jr,"createSerializer");function cfe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(cfe,"trimEnd");function lfe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=rw(t);return cfe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(lfe,"bufferToBase64Url");function Afe(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,"/"),nw(t)}}o(Afe,"base64UrlToByteArray");function ow(t){let e=[],r="";if(t){let n=t.split(".");for(let s of n)s.charAt(s.length-1)==="\\"?r+=s.substr(0,s.length-1)+".":(r+=s,e.push(r),r="")}return e}o(ow,"splitSerializeName");function ufe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(ufe,"dateToUnixTime");function dfe(t){if(t)return new Date(t*1e3)}o(dfe,"unixTimeToDate");function mfe(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"&&UV(r)))throw new Error(`${e} with value "${r}" must be of type string and a valid uuid.`)}else if(t.match(/^Boolean$/i)!==null){if(typeof r!="boolean")throw new Error(`${e} with value ${r} must be of type boolean.`)}else if(t.match(/^Stream$/i)!==null){let n=typeof r;if(n!=="string"&&typeof r.pipe!="function"&&typeof r.tee!="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob=="function"||typeof Blob=="object")&&r instanceof Blob)&&n!=="function")throw new Error(`${e} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}o(mfe,"serializeBasicTypes");function pfe(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(s=>typeof s.valueOf()=="string"?s.toLowerCase()===r.toLowerCase():s===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}o(pfe,"serializeEnumType");function hfe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=rw(e)}return e}o(hfe,"serializeByteArrayType");function ffe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=lfe(e)}return e}o(ffe,"serializeBase64UrlType");function gfe(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=ufe(e)}else if(t.match(/^TimeSpan$/i)!==null&&!FV(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(gfe,"serializeDateTypes");function yfe(t,e,r,n,s,i){if(!Array.isArray(r))throw new Error(`${n} must be of type Array.`);let a=e.type.element;if(!a||typeof a!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}.`);a.type.name==="Composite"&&a.type.className&&(a=t.modelMappers[a.type.className]??a);let c=[];for(let l=0;l<r.length;l++){let A=t.serialize(a,r[l],n,i);if(s&&a.xmlNamespace){let u=a.xmlNamespacePrefix?`xmlns:${a.xmlNamespacePrefix}`:"xmlns";a.type.name==="Composite"?(c[l]={...A},c[l]["$"]={[u]:a.xmlNamespace}):(c[l]={},c[l][i.xml.xmlCharKey]=A,c[l]["$"]={[u]:a.xmlNamespace})}else c[l]=A}return c}o(yfe,"serializeSequenceType");function Efe(t,e,r,n,s,i){if(typeof r!="object")throw new Error(`${n} must be of type object.`);let a=e.type.value;if(!a||typeof a!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}.`);let c={};for(let l of Object.keys(r)){let A=t.serialize(a,r[l],n,i);c[l]=zV(a,A,s,i)}if(s&&e.xmlNamespace){let l=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns",A=c;return A["$"]={[l]:e.xmlNamespace},A}return c}o(Efe,"serializeDictionaryType");function Cfe(t,e,r){let n=e.type.additionalProperties;return!n&&e.type.className?qV(t,e,r)?.type.additionalProperties:n}o(Cfe,"resolveAdditionalProperties");function qV(t,e,r){let n=e.type.className;if(!n)throw new Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(e,void 0,2)}".`);return t.modelMappers[n]}o(qV,"resolveReferencedMapper");function HV(t,e,r){let n=e.type.modelProperties;if(!n){let s=qV(t,e,r);if(!s)throw new Error(`mapper() cannot be null or undefined for model "${e.type.className}".`);if(n=s?.type.modelProperties,!n)throw new Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(s)}" of type "${e.type.className}" for object "${r}".`)}return n}o(HV,"resolveModelProperties");function Ife(t,e,r,n,s,i){if(kg(t,e)&&(e=GV(t,e,r,"clientName")),r!=null){let a={},c=HV(t,e,n);for(let A of Object.keys(c)){let u=c[A];if(u.readOnly)continue;let d,m=a;if(t.isXML)u.xmlIsWrapped?d=u.xmlName:d=u.xmlElementName||u.xmlName;else{let p=ow(u.serializedName);d=p.pop();for(let h of p){let f=m[h];f==null&&(r[A]!==void 0&&r[A]!==null||u.defaultValue!==void 0)&&(m[h]={}),m=m[h]}}if(m!=null){if(s&&e.xmlNamespace){let y=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns";m["$"]={...m["$"],[y]:e.xmlNamespace}}let p=u.serializedName!==""?n+"."+u.serializedName:n,h=r[A],f=kg(t,e);f&&f.clientName===A&&h==null&&(h=e.serializedName);let C=t.serialize(u,h,p,i);if(C!==void 0&&d!==void 0&&d!==null){let y=zV(u,C,s,i);s&&u.xmlIsAttribute?(m["$"]=m["$"]||{},m["$"][d]=C):s&&u.xmlIsWrapped?m[d]={[u.xmlElementName]:y}:m[d]=y}}}let l=Cfe(t,e,n);if(l){let A=Object.keys(c);for(let u in r)A.every(m=>m!==u)&&(a[u]=t.serialize(l,r[u],n+'["'+u+'"]',i))}return a}return r}o(Ife,"serializeCompositeType");function zV(t,e,r,n){if(!r||!t.xmlNamespace)return e;let i={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace};if(["Composite"].includes(t.type.name)){if(e["$"])return e;{let c={...e};return c["$"]=i,c}}let a={};return a[n.xml.xmlCharKey]=e,a["$"]=i,a}o(zV,"getXmlObjectValue");function Bfe(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(Bfe,"isSpecialXmlProperty");function Qfe(t,e,r,n,s){let i=s.xml.xmlCharKey??"_";kg(t,e)&&(e=GV(t,e,r,"serializedName"));let a=HV(t,e,n),c={},l=[];for(let u of Object.keys(a)){let d=a[u],m=ow(a[u].serializedName);l.push(m[0]);let{serializedName:p,xmlName:h,xmlElementName:f}=d,C=n;p!==""&&p!==void 0&&(C=n+"."+p);let y=d.headerCollectionPrefix;if(y){let E={};for(let I of Object.keys(r))I.startsWith(y)&&(E[I.substring(y.length)]=t.deserialize(d.type.value,r[I],C,s)),l.push(I);c[u]=E}else if(t.isXML)if(d.xmlIsAttribute&&r["$"])c[u]=t.deserialize(d,r["$"][h],C,s);else if(d.xmlIsMsText)r[i]!==void 0?c[u]=r[i]:typeof r=="string"&&(c[u]=r);else{let E=f||h||p;if(d.xmlIsWrapped){let B=r[h]?.[f]??[];c[u]=t.deserialize(d,B,C,s),l.push(h)}else{let I=r[E];c[u]=t.deserialize(d,I,C,s),l.push(E)}}else{let E,I=r,B=0;for(let S of m){if(!I)break;B++,I=I[S]}I===null&&B<m.length&&(I=void 0),E=I;let N=e.type.polymorphicDiscriminator;N&&u===N.clientName&&E==null&&(E=e.serializedName);let k;if(Array.isArray(r[u])&&a[u].serializedName===""){E=r[u];let S=t.deserialize(d,E,C,s);for(let[de,ye]of Object.entries(c))Object.prototype.hasOwnProperty.call(S,de)||(S[de]=ye);c=S}else(E!==void 0||d.defaultValue!==void 0)&&(k=t.deserialize(d,E,C,s),c[u]=k)}}let A=e.type.additionalProperties;if(A){let u=o(d=>{for(let m in a)if(ow(a[m].serializedName)[0]===d)return!1;return!0},"isAdditionalProperty");for(let d in r)u(d)&&(c[d]=t.deserialize(A,r[d],n+'["'+d+'"]',s))}else if(r&&!s.ignoreUnknownProperties)for(let u of Object.keys(r))c[u]===void 0&&!l.includes(u)&&!Bfe(u,s)&&(c[u]=r[u]);return c}o(Qfe,"deserializeCompositeType");function xfe(t,e,r,n,s){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 ${n}`);if(r){let a={};for(let c of Object.keys(r))a[c]=t.deserialize(i,r[c],n,s);return a}return r}o(xfe,"deserializeDictionaryType");function bfe(t,e,r,n,s){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 ${n}`);if(r){Array.isArray(r)||(r=[r]),i.type.name==="Composite"&&i.type.className&&(i=t.modelMappers[i.type.className]??i);let a=[];for(let c=0;c<r.length;c++)a[c]=t.deserialize(i,r[c],`${n}[${c}]`,s);return a}return r}o(bfe,"deserializeSequenceType");function wfe(t,e,r){let n=[r];for(;n.length;){let s=n.shift(),i=e===s?e:s+"."+e;if(Object.prototype.hasOwnProperty.call(t,i))return t[i];for(let[a,c]of Object.entries(t))a.startsWith(s+".")&&c.type.uberParent===s&&c.type.className&&n.push(c.type.className)}}o(wfe,"getIndexDiscriminator");function GV(t,e,r,n){let s=kg(t,e);if(s){let i=s[n];if(i){n==="serializedName"&&(i=i.replace(/\\/gi,""));let a=r[i],c=e.type.uberParent??e.type.className;if(typeof a=="string"&&c){let l=wfe(t.modelMappers.discriminators,a,c);l&&(e=l)}}}return e}o(GV,"getPolymorphicMapper");function kg(t,e){return e.type.polymorphicDiscriminator||OV(t,e.type.uberParent)||OV(t,e.type.className)}o(kg,"getPolymorphicDiscriminatorRecursively");function OV(t,e){return e&&t.modelMappers[e]&&t.modelMappers[e].type.polymorphicDiscriminator}o(OV,"getPolymorphicDiscriminatorSafely");var Ss={Base64Url:"Base64Url",Boolean:"Boolean",ByteArray:"ByteArray",Composite:"Composite",Date:"Date",DateTime:"DateTime",DateTimeRfc1123:"DateTimeRfc1123",Dictionary:"Dictionary",Enum:"Enum",Number:"Number",Object:"Object",Sequence:"Sequence",String:"String",Stream:"Stream",TimeSpan:"TimeSpan",UnixTime:"UnixTime"};var VV=Q(YV(),1),aw=VV.state;function No(t,e,r){let n=e.parameterPath,s=e.mapper,i;if(typeof n=="string"&&(n=[n]),Array.isArray(n)){if(n.length>0)if(s.isConstant)i=s.defaultValue;else{let a=JV(t,n);!a.propertyFound&&r&&(a=JV(r,n));let c=!1;a.propertyFound||(c=s.required||n[0]==="options"&&n.length===2),i=c?s.defaultValue:a.propertyValue}}else{s.required&&(i={});for(let a in n){let c=s.type.modelProperties[a],l=n[a],A=No(t,{parameterPath:l,mapper:c},r);A!==void 0&&(i||(i={}),i[a]=A)}}return i}o(No,"getOperationArgumentValueFromParameter");function JV(t,e){let r={propertyFound:!1},n=0;for(;n<e.length;++n){let s=e[n];if(t&&s in t)t=t[s];else break}return n===e.length&&(r.propertyValue=t,r.propertyFound=!0),r}o(JV,"getPropertyFromParameterPath");var $V=Symbol.for("@azure/core-client original request");function Nfe(t){return $V in t}o(Nfe,"hasOriginalRequest");function Ri(t){if(Nfe(t))return Ri(t[$V]);let e=aw.operationRequestMap.get(t);return e||(e={},aw.operationRequestMap.set(t,e)),e}o(Ri,"getOperationRequestInfo");var Sfe=["application/json","text/json"],Rfe=["application/xml","application/atom+xml"],WV="deserializationPolicy";function cw(t={}){let e=t.expectedContentTypes?.json??Sfe,r=t.expectedContentTypes?.xml??Rfe,n=t.parseXML,s=t.serializerOptions,i={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??!1,xmlCharKey:s?.xml.xmlCharKey??"_"}};return{name:WV,async sendRequest(a,c){let l=await c(a);return Dfe(e,r,l,i,n)}}}o(cw,"deserializationPolicy");function vfe(t){let e,r=t.request,n=Ri(r),s=n?.operationSpec;return s&&(n?.operationResponseGetter?e=n?.operationResponseGetter(s,t):e=s.responses[t.status]),e}o(vfe,"getOperationResponseMap");function Pfe(t){let e=t.request,n=Ri(e)?.shouldDeserialize,s;return n===void 0?s=!0:typeof n=="boolean"?s=n:s=n(t),s}o(Pfe,"shouldDeserializeResponse");async function Dfe(t,e,r,n,s){let i=await Mfe(t,e,r,n,s);if(!Pfe(i))return i;let c=Ri(i.request)?.operationSpec;if(!c||!c.responses)return i;let l=vfe(i),{error:A,shouldReturnResponse:u}=kfe(i,c,l,n);if(A)throw A;if(u)return i;if(l){if(l.bodyMapper){let d=i.parsedBody;c.isXML&&l.bodyMapper.type.name===Ss.Sequence&&(d=typeof d=="object"?d[l.bodyMapper.xmlElementName]:[]);try{i.parsedBody=c.serializer.deserialize(l.bodyMapper,d,"operationRes.parsedBody",n)}catch(m){throw new Ni(`Error ${m} occurred in deserializing the responseBody - ${i.bodyAsText}`,{statusCode:i.status,request:i.request,response:i})}}else c.httpMethod==="HEAD"&&(i.parsedBody=r.status>=200&&r.status<300);l.headersMapper&&(i.parsedHeaders=c.serializer.deserialize(l.headersMapper,i.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return i}o(Dfe,"deserializeResponseBody");function Tfe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(Tfe,"isOperationSpecEmpty");function kfe(t,e,r,n){let s=200<=t.status&&t.status<300;if(Tfe(e)?s:!!r)if(r){if(!r.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let a=r??e.responses.default,c=t.request.streamResponseStatusCodes?.has(t.status)?`Unexpected status code: ${t.status}`:t.bodyAsText,l=new Ni(c,{statusCode:t.status,request:t.request,response:t});if(!a&&!(t.parsedBody?.error?.code&&t.parsedBody?.error?.message))throw l;let A=a?.bodyMapper,u=a?.headersMapper;try{if(t.parsedBody){let d=t.parsedBody,m;if(A){let h=d;if(e.isXML&&A.type.name===Ss.Sequence){h=[];let f=A.xmlElementName;typeof d=="object"&&f&&(h=d[f])}m=e.serializer.deserialize(A,h,"error.response.parsedBody",n)}let p=d.error||m||d;l.code=p.code,p.message&&(l.message=p.message),A&&(l.response.parsedBody=m)}t.headers&&u&&(l.response.parsedHeaders=e.serializer.deserialize(u,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(d){l.message=`Error "${d.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:l,shouldReturnResponse:!1}}o(kfe,"handleErrorResponse");async function Mfe(t,e,r,n,s){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let i=r.bodyAsText,a=r.headers.get("Content-Type")||"",c=a?a.split(";").map(l=>l.toLowerCase()):[];try{if(c.length===0||c.some(l=>t.indexOf(l)!==-1))return r.parsedBody=JSON.parse(i),r;if(c.some(l=>e.indexOf(l)!==-1)){if(!s)throw new Error("Parsing XML not supported.");let l=await s(i,n.xml);return r.parsedBody=l,r}}catch(l){let A=`Error "${l}" occurred while parsing the response body - ${r.bodyAsText}.`,u=l.code||Ni.PARSE_ERROR;throw new Ni(A,{code:u,statusCode:r.status,request:r.request,response:r})}}return r}o(Mfe,"parse");function jV(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===Ss.Stream&&e.add(Number(r))}return e}o(jV,"getStreamingResponseStatusCodes");function Rs(t){let{parameterPath:e,mapper:r}=t,n;return typeof e=="string"?n=e:Array.isArray(e)?n=e.join("."):n=r.serializedName,n}o(Rs,"getPathStringFromParameter");var KV="serializationPolicy";function Lg(t={}){let e=t.stringifyXML;return{name:KV,async sendRequest(r,n){let s=Ri(r),i=s?.operationSpec,a=s?.operationArguments;return i&&a&&(Lfe(r,a,i),_fe(r,a,i,e)),n(r)}}}o(Lg,"serializationPolicy");function Lfe(t,e,r){if(r.headerParameters)for(let s of r.headerParameters){let i=No(e,s);if(i!=null||s.mapper.required){i=r.serializer.serialize(s.mapper,i,Rs(s));let a=s.mapper.headerCollectionPrefix;if(a)for(let c of Object.keys(i))t.headers.set(a+c,i[c]);else t.headers.set(s.mapper.serializedName||Rs(s),i)}}let n=e.options?.requestOptions?.customHeaders;if(n)for(let s of Object.keys(n))t.headers.set(s,n[s])}o(Lfe,"serializeHeaders");function _fe(t,e,r,n=function(){throw new Error("XML serialization unsupported!")}){let s=e.options?.serializerOptions,i={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??!1,xmlCharKey:s?.xml.xmlCharKey??"_"}},a=i.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=No(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:A,xmlName:u,xmlElementName:d,xmlNamespace:m,xmlNamespacePrefix:p,nullable:h}=c,f=c.type.name;try{if(t.body!==void 0&&t.body!==null||h&&t.body===null||l){let C=Rs(r.requestBody);t.body=r.serializer.serialize(c,t.body,C,i);let y=f===Ss.Stream;if(r.isXML){let E=p?`xmlns:${p}`:"xmlns",I=Ffe(m,E,f,t.body,i);f===Ss.Sequence?t.body=n(Ufe(I,d||u||A,E,m),{rootName:u||A,xmlCharKey:a}):y||(t.body=n(I,{rootName:u||A,xmlCharKey:a}))}else{if(f===Ss.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;y||(t.body=JSON.stringify(t.body))}}}catch(C){throw new Error(`Error "${C.message}" occurred in serializing the payload - ${JSON.stringify(A,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let c of r.formDataParameters){let l=No(e,c);if(l!=null){let A=c.mapper.serializedName||Rs(c);t.formData[A]=r.serializer.serialize(c.mapper,l,Rs(c),i)}}}}o(_fe,"serializeRequestBody");function Ffe(t,e,r,n,s){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let i={};return i[s.xml.xmlCharKey]=n,i["$"]={[e]:t},i}return n}o(Ffe,"getXmlValueWithNamespace");function Ufe(t,e,r,n){if(Array.isArray(t)||(t=[t]),!r||!n)return{[e]:t};let s={[e]:t};return s["$"]={[r]:n},s}o(Ufe,"prepareXMLRootList");function Nd(t={}){let e=Z0(t??{});return t.credentialOptions&&e.addPolicy(Tl({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(Lg(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(cw(t.deserializationOptions),{phase:"Deserialize"}),e}o(Nd,"createClientPipeline");var lw;function XV(){return lw||(lw=bd()),lw}o(XV,"getCachedDefaultHttpClient");var Ofe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function eJ(t,e,r,n){let s=qfe(e,r,n),i=!1,a=ZV(t,s);if(e.path){let A=ZV(e.path,s);e.path==="/{nextLink}"&&A.startsWith("/")&&(A=A.substring(1)),Hfe(A)?(a=A,i=!0):a=zfe(a,A)}let{queryParams:c,sequenceParams:l}=Gfe(e,r,n);return a=Vfe(a,c,l,i),a}o(eJ,"getRequestUrl");function ZV(t,e){let r=t;for(let[n,s]of e)r=r.split(n).join(s);return r}o(ZV,"replaceAll");function qfe(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let s of t.urlParameters){let i=No(e,s,r),a=Rs(s);i=t.serializer.serialize(s.mapper,i,a),s.skipEncoding||(i=encodeURIComponent(i)),n.set(`{${s.mapper.serializedName||a}}`,i)}return n}o(qfe,"calculateUrlReplacements");function Hfe(t){return t.includes("://")}o(Hfe,"isAbsoluteUrl");function zfe(t,e){if(!e)return t;let r=new URL(t),n=r.pathname;n.endsWith("/")||(n=`${n}/`),e.startsWith("/")&&(e=e.substring(1));let s=e.indexOf("?");if(s!==-1){let i=e.substring(0,s),a=e.substring(s+1);n=n+i,a&&(r.search=r.search?`${r.search}&${a}`:a)}else n=n+e;return r.pathname=n,r.toString()}o(zfe,"appendPath");function Gfe(t,e,r){let n=new Map,s=new Set;if(t.queryParameters?.length)for(let i of t.queryParameters){i.mapper.type.name==="Sequence"&&i.mapper.serializedName&&s.add(i.mapper.serializedName);let a=No(e,i,r);if(a!=null||i.mapper.required){a=t.serializer.serialize(i.mapper,a,Rs(i));let c=i.collectionFormat?Ofe[i.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(l=>l??"")),i.collectionFormat==="Multi"&&a.length===0)continue;Array.isArray(a)&&(i.collectionFormat==="SSV"||i.collectionFormat==="TSV")&&(a=a.join(c)),i.skipEncoding||(Array.isArray(a)?a=a.map(l=>encodeURIComponent(l)):a=encodeURIComponent(a)),Array.isArray(a)&&(i.collectionFormat==="CSV"||i.collectionFormat==="Pipes")&&(a=a.join(c)),n.set(i.mapper.serializedName||Rs(i),a)}}return{queryParams:n,sequenceParams:s}}o(Gfe,"calculateQueryParameters");function Yfe(t){let e=new Map;if(!t||t[0]!=="?")return e;t=t.slice(1);let r=t.split("&");for(let n of r){let[s,i]=n.split("=",2),a=e.get(s);a?Array.isArray(a)?a.push(i):e.set(s,[a,i]):e.set(s,i)}return e}o(Yfe,"simpleParseQueryParams");function Vfe(t,e,r,n=!1){if(e.size===0)return t;let s=new URL(t),i=Yfe(s.search);for(let[c,l]of e){let A=i.get(c);if(Array.isArray(A))if(Array.isArray(l)){A.push(...l);let u=new Set(A);i.set(c,Array.from(u))}else A.push(l);else A?(Array.isArray(l)?l.unshift(A):r.has(c)&&i.set(c,[A,l]),n||i.set(c,l)):i.set(c,l)}let a=[];for(let[c,l]of i)if(typeof l=="string")a.push(`${c}=${l}`);else if(Array.isArray(l))for(let A of l)a.push(`${c}=${A}`);else a.push(`${c}=${l}`);return s.search=a.length?`?${a.join("&")}`:"",s.toString()}o(Vfe,"appendQueryParams");var Aw=ws("core-client");var Sd=class{static{o(this,"ServiceClient")}_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&Aw.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||XV(),this.pipeline=e.pipeline||Jfe(e),e.additionalPolicies?.length)for(let{policy:r,position:n}of e.additionalPolicies){let s=n==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(r,{afterPhase:s})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,r){let n=r.baseUrl||this._endpoint;if(!n)throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let s=eJ(n,r,e,this),i=wd({url:s});i.method=r.httpMethod;let a=Ri(i);a.operationSpec=r,a.operationArguments=e;let c=r.contentType||this._requestContentType;c&&r.requestBody&&i.headers.set("Content-Type",c);let l=e.options;if(l){let A=l.requestOptions;A&&(A.timeout&&(i.timeout=A.timeout),A.onUploadProgress&&(i.onUploadProgress=A.onUploadProgress),A.onDownloadProgress&&(i.onDownloadProgress=A.onDownloadProgress),A.shouldDeserialize!==void 0&&(a.shouldDeserialize=A.shouldDeserialize),A.allowInsecureConnection&&(i.allowInsecureConnection=!0)),l.abortSignal&&(i.abortSignal=l.abortSignal),l.tracingOptions&&(i.tracingOptions=l.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),i.streamResponseStatusCodes===void 0&&(i.streamResponseStatusCodes=jV(r));try{let A=await this.sendRequest(i),u=sw(A,r.responses[A.status]);return l?.onResponse&&l.onResponse(A,u),u}catch(A){if(typeof A=="object"&&A?.response){let u=A.response,d=sw(u,r.responses[A.statusCode]||r.responses.default);A.details=d,l?.onResponse&&l.onResponse(u,d,A)}throw A}}};function Jfe(t){let e=$fe(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return Nd({...t,credentialOptions:r})}o(Jfe,"createDefaultPipeline");function $fe(t){if(t.credentialScopes)return t.credentialScopes;if(t.endpoint)return`${t.endpoint}/.default`;if(t.baseUri)return`${t.baseUri}/.default`;if(t.credential&&!t.credentialScopes)throw new Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}o($fe,"getCredentialScopes");var tJ={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function Wfe(t){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t)}o(Wfe,"isUuid");var _g=o(async t=>{let e=ege(t.request),r=Xfe(t.response);if(r){let n=Zfe(r),s=Kfe(t,n),i=jfe(n);if(!i)return!1;let a=await t.getAccessToken(s,{...e,tenantId:i});return a?(t.request.headers.set(tJ.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function jfe(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&Wfe(n))return n}o(jfe,"extractTenantId");function Kfe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=tJ.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}o(Kfe,"buildScopes");function Xfe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(Xfe,"getChallenge");function Zfe(t){return`${t.slice(7).trim()} `.split(" ").filter(s=>s).map(s=>(([i,a])=>({[i]:a}))(s.trim().split("="))).reduce((s,i)=>({...s,...i}),{})}o(Zfe,"parseChallenge");function ege(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(ege,"requestToOptions");var rJ=Symbol("Original PipelineRequest"),tge=Symbol.for("@azure/core-client original request");function vd(t,e={}){let n=t[rJ],s=Si(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=s,n;{let i=wd({url:t.url,method:t.method,headers:s,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[tge]=e.originalRequest),i}}o(vd,"toPipelineRequest");function Ra(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:Pd(t.headers),withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.headers.get("x-ms-client-request-id")||t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,keepAlive:!!t.disableKeepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return e?.createProxy?new Proxy(n,{get(s,i,a){return i===rJ?t:i==="clone"?()=>Ra(vd(n,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(s,i,a)},set(s,i,a,c){return i==="keepAlive"&&(t.disableKeepAlive=!a),typeof i=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(i)&&(t[i]=a),Reflect.set(s,i,a,c)}}):n}o(Ra,"toWebResourceLike");function Pd(t){return new uw(t.toJSON({preserveCase:!0}))}o(Pd,"toHttpHeadersLike");function Rd(t){return t.toLowerCase()}o(Rd,"getHeaderKey");var uw=class t{static{o(this,"HttpHeaders")}_headersMap;constructor(e){if(this._headersMap={},e)for(let r in e)this.set(r,e[r])}set(e,r){this._headersMap[Rd(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[Rd(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[Rd(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[Rd(e)],r}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let r in this._headersMap)e.push(this._headersMap[r]);return e}headerNames(){let e=[],r=this.headersArray();for(let n=0;n<r.length;++n)e.push(r[n].name);return e}headerValues(){let e=[],r=this.headersArray();for(let n=0;n<r.length;++n)e.push(r[n].value);return e}toJson(e={}){let r={};if(e.preserveCase)for(let n in this._headersMap){let s=this._headersMap[n];r[s.name]=s.value}else for(let n in this._headersMap){let s=this._headersMap[n];r[Rd(s.name)]=s.value}return r}toString(){return JSON.stringify(this.toJson({preserveCase:!0}))}clone(){let e={};for(let r in this._headersMap){let n=this._headersMap[r];e[n.name]=n.value}return new t(e)}};var nJ=Symbol("Original FullOperationResponse");function Fg(t,e){let r=Ra(t.request),n=Pd(t.headers);return e?.createProxy?new Proxy(t,{get(s,i,a){return i==="headers"?n:i==="request"?r:i===nJ?t:Reflect.get(s,i,a)},set(s,i,a,c){return i==="headers"?n=a:i==="request"&&(r=a),Reflect.set(s,i,a,c)}}):{...t,request:r,headers:n}}o(Fg,"toCompatResponse");function Ug(t){let r=t[nJ],n=Si(t.headers.toJson({preserveCase:!0}));return r?(r.headers=n,r):{...t,headers:n,request:vd(t.request)}}o(Ug,"toPipelineResponse");var Dd=class extends Sd{static{o(this,"ExtendedServiceClient")}constructor(e){super(e),e.keepAliveOptions?.enable===!1&&!_V(this.pipeline)&&this.pipeline.addPolicy(LV()),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:L0})}async sendOperationRequest(e,r){let n=e?.options?.onResponse,s;function i(c,l,A){s=c,n&&n(c,l,A)}o(i,"onResponse"),e.options={...e.options,onResponse:i};let a=await super.sendOperationRequest(e,r);return s&&Object.defineProperty(a,"_response",{value:Fg(s)}),a}};var dw;(function(t){t[t.ERROR=1]="ERROR",t[t.INFO=3]="INFO",t[t.OFF=0]="OFF",t[t.WARNING=2]="WARNING"})(dw||(dw={}));var rge={log(t,e){},shouldLog(t){return!1}},sJ="RequestPolicyFactoryPolicy";function mw(t){let e=t.slice().reverse();return{name:sJ,async sendRequest(r,n){let s={async sendRequest(c){let l=await n(vd(c));return Fg(l,{createProxy:!0})}};for(let c of e)s=c.create(s,rge);let i=Ra(r,{createProxy:!0}),a=await s.sendRequest(i);return Ug(a)}}}o(mw,"createRequestPolicyFactoryPolicy");function pw(t){return{sendRequest:o(async e=>{let r=await t.sendRequest(Ra(e,{createProxy:!0}));return Ug(r)},"sendRequest")}}o(pw,"convertHttpClient");var iJ=":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",sge=iJ+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ige="["+iJ+"]["+sge+"]*",oge=new RegExp("^"+ige+"$");function oJ(t,e){let r=[],n=e.exec(t);for(;n;){let s=[];s.startIndex=e.lastIndex-n[0].length;let i=n.length;for(let a=0;a<i;a++)s.push(n[a]);r.push(s),n=e.exec(t)}return r}o(oJ,"getAllMatches");var hw=o(function(t){let e=oge.exec(t);return!(e===null||typeof e>"u")},"isName");function aJ(t){return typeof t<"u"}o(aJ,"isExist");var Td=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],Og=["__proto__","constructor","prototype"];var age={allowBooleanAttributes:!1,unpairedTags:[]};function qg(t,e){e=Object.assign({},age,e);let r=[],n=!1,s=!1;t[0]==="\uFEFF"&&(t=t.substr(1));for(let i=0;i<t.length;i++)if(t[i]==="<"&&t[i+1]==="?"){if(i+=2,i=cJ(t,i),i.err)return i}else if(t[i]==="<"){let a=i;if(i++,t[i]==="!"){i=lJ(t,i);continue}else{let c=!1;t[i]==="/"&&(c=!0,i++);let l="";for(;i<t.length&&t[i]!==">"&&t[i]!==" "&&t[i]!==" "&&t[i]!==`
`&&t[i]!=="\r";i++)l+=t[i];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),i--),!hge(l)){let d;return l.trim().length===0?d="Invalid space after '<'.":d="Tag '"+l+"' is an invalid name.",at("InvalidTag",d,ir(t,i))}let A=Age(t,i);if(A===!1)return at("InvalidAttr","Attributes for '"+l+"' have open quote.",ir(t,i));let u=A.value;if(i=A.index,u[u.length-1]==="/"){let d=i-u.length;u=u.substring(0,u.length-1);let m=AJ(u,e);if(m===!0)n=!0;else return at(m.err.code,m.err.msg,ir(t,d+m.err.line))}else if(c)if(A.tagClosed){if(u.trim().length>0)return at("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",ir(t,a));if(r.length===0)return at("InvalidTag","Closing tag '"+l+"' has not been opened.",ir(t,a));{let d=r.pop();if(l!==d.tagName){let m=ir(t,d.tagStartPos);return at("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+m.line+", col "+m.col+") instead of closing tag '"+l+"'.",ir(t,a))}r.length==0&&(s=!0)}}else return at("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",ir(t,i));else{let d=AJ(u,e);if(d!==!0)return at(d.err.code,d.err.msg,ir(t,i-u.length+d.err.line));if(s===!0)return at("InvalidXml","Multiple possible root nodes found.",ir(t,i));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:a}),n=!0}for(i++;i<t.length;i++)if(t[i]==="<")if(t[i+1]==="!"){i++,i=lJ(t,i);continue}else if(t[i+1]==="?"){if(i=cJ(t,++i),i.err)return i}else break;else if(t[i]==="&"){let d=mge(t,i);if(d==-1)return at("InvalidChar","char '&' is not expected.",ir(t,i));i=d}else if(s===!0&&!Ml(t[i]))return at("InvalidXml","Extra text at the end",ir(t,i));t[i]==="<"&&i--}}else{if(Ml(t[i]))continue;return at("InvalidChar","char '"+t[i]+"' is not expected.",ir(t,i))}if(n){if(r.length==1)return at("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",ir(t,r[0].tagStartPos));if(r.length>0)return at("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return at("InvalidXml","Start tag expected.",1);return!0}o(qg,"validate");function Ml(t){return t===" "||t===" "||t===`
`||t==="\r"}o(Ml,"isWhiteSpace");function cJ(t,e){let r=e;for(;e<t.length;e++)if(t[e]=="?"||t[e]==" "){let n=t.substr(r,e-r);if(e>5&&n==="xml")return at("InvalidXml","XML declaration allowed only at the start of the document.",ir(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(cJ,"readPI");function lJ(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e<t.length;e++)if(t[e]==="-"&&t[e+1]==="-"&&t[e+2]===">"){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<t.length;e++)if(t[e]==="<")r++;else if(t[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<t.length;e++)if(t[e]==="]"&&t[e+1]==="]"&&t[e+2]===">"){e+=2;break}}return e}o(lJ,"readCommentAndCDATA");var cge='"',lge="'";function Age(t,e){let r="",n="",s=!1;for(;e<t.length;e++){if(t[e]===cge||t[e]===lge)n===""?n=t[e]:n!==t[e]||(n="");else if(t[e]===">"&&n===""){s=!0;break}r+=t[e]}return n!==""?!1:{value:r,index:e,tagClosed:s}}o(Age,"readAttributeStr");function uge(t){let e=[],r=t.length,n=0;for(;n<r;){let s=n;for(;n<r&&Ml(t[n]);)n++;if(n>=r)break;if(t[n]==="="){n=s+1;continue}let i=t.slice(s,n),a=n;for(;n<r&&!Ml(t[n])&&t[n]!=="=";)n++;let c=t.slice(a,n),l,A=n;for(;A<r&&Ml(t[A]);)A++;A<r&&t[A]==="="&&(l=t.slice(n,A+1),n=A+1);let u,d,m=n;for(;m<r&&Ml(t[m]);)m++;if(m<r&&(t[m]==='"'||t[m]==="'")){let h=m+1,f=t.indexOf(t[m],h);f!==-1&&(u=t[m],d=t.slice(h,f),n=f+1)}let p={startIndex:s};p[1]=i,p[2]=c,p[3]=l,p[4]=u!==void 0?!0:void 0,p[5]=u,p[6]=d,e.push(p)}return e}o(uge,"scanAttributeTokens");function AJ(t,e){let r=uge(t),n={};for(let s=0;s<r.length;s++){if(r[s][1].length===0)return at("InvalidAttr","Attribute '"+r[s][2]+"' has no space in starting.",kd(r[s]));if(r[s][3]!==void 0&&r[s][4]===void 0)return at("InvalidAttr","Attribute '"+r[s][2]+"' is without value.",kd(r[s]));if(r[s][3]===void 0&&!e.allowBooleanAttributes)return at("InvalidAttr","boolean attribute '"+r[s][2]+"' is not allowed.",kd(r[s]));let i=r[s][2];if(!pge(i))return at("InvalidAttr","Attribute '"+i+"' is an invalid name.",kd(r[s]));if(!Object.prototype.hasOwnProperty.call(n,i))n[i]=1;else return at("InvalidAttr","Attribute '"+i+"' is repeated.",kd(r[s]))}return!0}o(AJ,"validateAttributeString");function dge(t,e){let r=/\d/;for(t[e]==="x"&&(e++,r=/[\da-fA-F]/);e<t.length;e++){if(t[e]===";")return e;if(!t[e].match(r))break}return-1}o(dge,"validateNumberAmpersand");function mge(t,e){if(e++,t[e]===";")return-1;if(t[e]==="#")return e++,dge(t,e);let r=0;for(;e<t.length;e++,r++)if(!(t[e].match(/\w/)&&r<20)){if(t[e]===";")break;return-1}return e}o(mge,"validateAmpersand");function at(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}o(at,"getErrorObject");function pge(t){return hw(t)}o(pge,"validateAttrName");function hge(t){return hw(t)}o(hge,"validateTagName");function ir(t,e){let r=t.substring(0,e).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}o(ir,"getLineNumberForPosition");function kd(t){return t.startIndex+t[1].length}o(kd,"getPositionFromMatch");var fw={cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",euro:"\u20AC",dollar:"$",fnof:"\u0192",inr:"\u20B9",af:"\u060B",birr:"\u1265\u122D",peso:"\u20B1",rub:"\u20BD",won:"\u20A9",yuan:"\xA5",cedil:"\xB8"};var Md={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},gw={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 Ll=Object.freeze({ALLOW:"allow",BLOCK:"block",THROW:"throw"}),fge=new Set("!?\\\\/[]$%{}^&*()<>|+");function uJ(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(fge.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}o(uJ,"validateEntityName");function Ld(...t){let e=Object.create(null);for(let r of t)if(r)for(let n of Object.keys(r)){let s=r[n];if(typeof s=="string")e[n]=s;else if(s&&typeof s=="object"&&s.val!==void 0){let i=s.val;typeof i=="string"&&(e[n]=i)}}return e}o(Ld,"mergeEntityMaps");var va="external",Hg="base",yw="all";function gge(t){return!t||t===va?new Set([va]):t===yw?new Set([yw]):t===Hg?new Set([Hg]):Array.isArray(t)?new Set(t):new Set([va])}o(gge,"parseLimitTiers");var Ir=Object.freeze({allow:0,leave:1,remove:2,throw:3}),yge=new Set([9,10,13]);function Ege(t){if(!t)return{xmlVersion:1,onLevel:Ir.allow,nullLevel:Ir.remove};let e=t.xmlVersion===1.1?1.1:1,r=Ir[t.onNCR]??Ir.allow,n=Ir[t.nullNCR]??Ir.remove,s=Math.max(n,Ir.remove);return{xmlVersion:e,onLevel:r,nullLevel:s}}o(Ege,"parseNCRConfig");var _l=class{static{o(this,"EntityDecoder")}constructor(e={}){this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck=typeof e.postCheck=="function"?e.postCheck:n=>n,this._limitTiers=gge(this._limit.applyLimitsTo??va),this._numericAllowed=e.numericAllowed??!0,this._baseMap=Ld(Md,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=Ege(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel,this._onExternalEntity=typeof e.onExternalEntity=="function"?e.onExternalEntity:null,this._onInputEntity=typeof e.onInputEntity=="function"?e.onInputEntity:null}_applyRegistrationHook(e,r,n,s){if(!e)return!0;let i=e(r,n);if(i===Ll.BLOCK)return!1;if(i===Ll.THROW)throw new Error(`[EntityDecoder] Registration of ${s} entity "&${r};" was rejected by hook`);return!0}setExternalEntities(e){if(e)for(let s of Object.keys(e))uJ(s);if(!this._onExternalEntity){this._externalMap=Ld(e);return}let r=Ld(e),n=Object.create(null);for(let[s,i]of Object.entries(r))this._applyRegistrationHook(this._onExternalEntity,s,i,"external")&&(n[s]=i);this._externalMap=n}addExternalEntity(e,r){uJ(e),typeof r=="string"&&r.indexOf("&")===-1&&this._applyRegistrationHook(this._onExternalEntity,e,r,"external")&&(this._externalMap[e]=r)}addInputEntities(e){if(this._totalExpansions=0,this._expandedLength=0,!this._onInputEntity){this._inputMap=Ld(e);return}let r=Ld(e),n=Object.create(null);for(let[s,i]of Object.entries(r))this._applyRegistrationHook(this._onInputEntity,s,i,"input")&&(n[s]=i);this._inputMap=n}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||e.indexOf("&")===-1)return e;let r=e,n=[],s=e.length,i=0,a=0,c=this._maxTotalExpansions>0,l=this._maxExpandedLength>0,A=c||l;for(;a<s;){if(e.charCodeAt(a)!==38){a++;continue}let d=a+1;for(;d<s&&e.charCodeAt(d)!==59&&d-a<=32;)d++;if(d>=s||e.charCodeAt(d)!==59){a++;continue}let m=e.slice(a+1,d);if(m.length===0){a++;continue}let p,h;if(this._removeSet.has(m))p="",h===void 0&&(h=va);else if(this._leaveSet.has(m)){a++;continue}else if(m.charCodeAt(0)===35){let f=this._resolveNCR(m);if(f===void 0){a++;continue}p=f,h=Hg}else{let f=this._resolveName(m);p=f?.value,h=f?.tier}if(p===void 0){a++;continue}if(a>i&&n.push(e.slice(i,a)),n.push(p),i=d+1,a=i,A&&this._tierCounts(h)){if(c&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(l){let f=p.length-(m.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<s&&n.push(e.slice(i));let u=n.length===0?e:n.join("");return this._postCheck(u,r)}_tierCounts(e){return this._limitTiers.has(yw)?!0:this._limitTiers.has(e)}_resolveName(e){if(e in this._inputMap)return{value:this._inputMap[e],tier:va};if(e in this._externalMap)return{value:this._externalMap[e],tier:va};if(e in this._baseMap)return{value:this._baseMap[e],tier:Hg}}_classifyNCR(e){return e===0?this._ncrNullLevel:e>=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!yge.has(e)?Ir.remove:-1}_applyNCRAction(e,r,n){switch(e){case Ir.allow:return String.fromCodePoint(n);case Ir.remove:return"";case Ir.leave:return;case Ir.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${r}; (U+${n.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(n)}}_resolveNCR(e){let r=e.charCodeAt(1),n;if(r===120||r===88?n=parseInt(e.slice(2),16):n=parseInt(e.slice(1),10),Number.isNaN(n)||n<0||n>1114111)return;let s=this._classifyNCR(n);if(!this._numericAllowed&&s<Ir.remove)return;let i=s===-1?this._ncrOnLevel:Math.max(this._ncrOnLevel,s);return this._applyNCRAction(i,e,n)}};var dJ=o(t=>Td.includes(t)?"__"+t:t,"defaultOnDangerousProperty"),Cge={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,unicode:!1},tagValueProcessor:o(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:o(function(t,e){return e},"attributeValueProcessor"),stopNodes:[],alwaysCreateTextNode:!1,isArray:o(()=>!1,"isArray"),commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:o(function(t,e,r){return t},"updateTag"),captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:dJ};function Ige(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(Td.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(Og.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(Ige,"validatePropertyName");function mJ(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"}:mJ(!0)}o(mJ,"normalizeProcessEntities");var pJ=o(function(t){let e=Object.assign({},Cge,t),r=[{value:e.attributeNamePrefix,name:"attributeNamePrefix"},{value:e.attributesGroupName,name:"attributesGroupName"},{value:e.textNodeName,name:"textNodeName"},{value:e.cdataPropName,name:"cdataPropName"},{value:e.commentPropName,name:"commentPropName"}];for(let{value:n,name:s}of r)n&&Ige(n,s);return e.onDangerousProperty===null&&(e.onDangerousProperty=dJ),e.processEntities=mJ(e.processEntities,e.htmlEntities),e.unpairedTagsSet=new Set(e.unpairedTags),e.stopNodes&&Array.isArray(e.stopNodes)&&(e.stopNodes=e.stopNodes.map(n=>typeof n=="string"&&n.startsWith("*.")?".."+n.substring(2):n)),e},"buildOptions");var Pa;typeof Symbol!="function"?Pa="@@xmlMetadata":Pa=Symbol("XML Node Metadata");var Br=class{static{o(this,"XmlNode")}constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,r){e==="__proto__"&&(e="#__proto__"),this.child.push({[e]:r})}addChild(e,r){e.tagname==="__proto__"&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),this.addStartIndex(r)}addStartIndex(e){e!==void 0&&(this.child[this.child.length-1][Pa]={startIndex:e})}addEndIndex(e){let r=this.child[this.child.length-1];r!==void 0&&r[Pa]!==void 0&&r[Pa].endIndex===void 0&&(r[Pa].endIndex=e)}static getMetaDataSymbol(){return Pa}};var fJ=":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",Bge=fJ+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",gJ=":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}",Qge=gJ+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",Ew=o((t,e,r="")=>{let n=t.replace(":",""),s=e.replace(":",""),i=`[${n}][${s}]*`;return{name:new RegExp(`^[${t}][${e}]*$`,r),ncName:new RegExp(`^${i}$`,r),qName:new RegExp(`^${i}(?::${i})?$`,r),nmToken:new RegExp(`^[${e}]+$`,r),nmTokens:new RegExp(`^[${e}]+(?:\\s+[${e}]+)*$`,r)}},"buildRegexes"),xge=Ew(fJ,Bge),bge=Ew(gJ,Qge,"u"),yJ=":A-Za-z_",wge=yJ+"\\-\\.\\d",Nge=Ew(yJ,wge),EJ=o((t="1.0",e=!1)=>e?Nge:t==="1.1"?bge:xge,"getRegexes");var Cw=o((t,{xmlVersion:e="1.0",asciiOnly:r=!1}={})=>EJ(e,r).qName.test(t),"qName");var hJ=["name","ncName","qName","nmToken","nmTokens"],zg=o((t,{xmlVersion:e="1.0",asciiOnly:r=!1,maxCacheSize:n=2048}={})=>{if(!hJ.includes(t))throw new TypeError(`Unknown production "${t}". Must be one of: ${hJ.join(", ")}`);let s=EJ(e,r)[t],i=new Map,a=o(c=>{let l=i.get(c);if(l!==void 0)return l;let A=s.test(c);return i.size<n&&i.set(c,A),A},"validator");return a.reset=()=>{i=new Map},a},"createValidator");var Fd=class{static{o(this,"DocTypeReader")}constructor(e,r){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=r||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,r){let n=Object.create(null),s=0;if(e[r+3]==="O"&&e[r+4]==="C"&&e[r+5]==="T"&&e[r+6]==="Y"&&e[r+7]==="P"&&e[r+8]==="E"){r=r+9;let i=1,a=!1,c=!1,l=null,A="";for(;r<e.length;r++){if(l!==null){e[r]===l&&(l=null),A+=e[r];continue}if(!a&&!c&&(e[r]==='"'||e[r]==="'")){l=e[r],A+=e[r];continue}if(e[r]==="<"&&!c){if(a&&Da(e,"!ENTITY",r)){r+=7;let u,d;if([u,d,r]=this.readEntityExp(e,r+1,this.suppressValidationErr),d.indexOf("&")===-1){if(this.options.enabled!==!1&&this.options.maxEntityCount!=null&&s>=this.options.maxEntityCount)throw new Error(`Entity count (${s+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);n[u]=d,s++}}else if(a&&Da(e,"!ELEMENT",r)){r+=8;let{index:u}=this.readElementExp(e,r+1);r=u}else if(a&&Da(e,"!ATTLIST",r))r+=8;else if(a&&Da(e,"!NOTATION",r)){r+=9;let{index:u}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=u}else if(Da(e,"!--",r))c=!0;else throw new Error("Invalid DOCTYPE");i++,A=""}else if(e[r]===">"){if(c?e[r-1]==="-"&&e[r-2]==="-"&&(c=!1,i--):i--,i===0)break}else e[r]==="["?a=!0:A+=e[r]}if(l!==null||i!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:n,i:r}}readEntityExp(e,r){r=Qr(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r])&&e[r]!=='"'&&e[r]!=="'";)r++;let s=e.substring(n,r);if(_d(s,{xmlVersion:this.xmlVersion}),r=Qr(e,r),!this.suppressValidationErr){if(e.substring(r,r+6).toUpperCase()==="SYSTEM")throw new Error("External entities are not supported");if(e[r]==="%")throw new Error("Parameter entities are not supported")}let i="";if([r,i]=this.readIdentifierVal(e,r,"entity"),this.options.enabled!==!1&&this.options.maxEntitySize!=null&&i.length>this.options.maxEntitySize)throw new Error(`Entity "${s}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return r--,[s,i,r]}readNotationExp(e,r){r=Qr(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let s=e.substring(n,r);!this.suppressValidationErr&&_d(s,{xmlVersion:this.xmlVersion}),r=Qr(e,r);let i=e.substring(r,r+6).toUpperCase();if(!this.suppressValidationErr&&i!=="SYSTEM"&&i!=="PUBLIC")throw new Error(`Expected SYSTEM or PUBLIC, found "${i}"`);r+=i.length,r=Qr(e,r);let a=null,c=null;if(i==="PUBLIC")[r,a]=this.readIdentifierVal(e,r,"publicIdentifier"),r=Qr(e,r),(e[r]==='"'||e[r]==="'")&&([r,c]=this.readIdentifierVal(e,r,"systemIdentifier"));else if(i==="SYSTEM"&&([r,c]=this.readIdentifierVal(e,r,"systemIdentifier"),!this.suppressValidationErr&&!c))throw new Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:s,publicIdentifier:a,systemIdentifier:c,index:--r}}readIdentifierVal(e,r,n){let s="",i=e[r];if(i!=='"'&&i!=="'")throw new Error(`Expected quoted string, found "${i}"`);r++;let a=r;for(;r<e.length&&e[r]!==i;)r++;if(s=e.substring(a,r),e[r]!==i)throw new Error(`Unterminated ${n} value`);return r++,[r,s]}readElementExp(e,r){r=Qr(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let s=e.substring(n,r);if(!this.suppressValidationErr&&!Cw(s,{xmlVersion:this.xmlVersion}))throw new Error(`Invalid element name: "${s}"`);r=Qr(e,r);let i="";if(e[r]==="E"&&Da(e,"MPTY",r))r+=4;else if(e[r]==="A"&&Da(e,"NY",r))r+=2;else if(e[r]==="("){r++;let a=r;for(;r<e.length&&e[r]!==")";)r++;if(i=e.substring(a,r),e[r]!==")")throw new Error("Unterminated content model")}else if(!this.suppressValidationErr)throw new Error(`Invalid Element Expression, found "${e[r]}"`);return{elementName:s,contentModel:i.trim(),index:r}}readAttlistExp(e,r){r=Qr(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let s=e.substring(n,r);for(_d(s,{xmlVersion:this.xmlVersion}),r=Qr(e,r),n=r;r<e.length&&!/\s/.test(e[r]);)r++;let i=e.substring(n,r);if(!_d(i,{xmlVersion:this.xmlVersion}))throw new Error(`Invalid attribute name: "${i}"`);r=Qr(e,r);let a="";if(e.substring(r,r+8).toUpperCase()==="NOTATION"){if(a="NOTATION",r+=8,r=Qr(e,r),e[r]!=="(")throw new Error(`Expected '(', found "${e[r]}"`);r++;let l=[];for(;r<e.length&&e[r]!==")";){let A=r;for(;r<e.length&&e[r]!=="|"&&e[r]!==")";)r++;let u=e.substring(A,r);if(u=u.trim(),!_d(u,{xmlVersion:this.xmlVersion}))throw new Error(`Invalid notation name: "${u}"`);l.push(u),e[r]==="|"&&(r++,r=Qr(e,r))}if(e[r]!==")")throw new Error("Unterminated list of notations");r++,a+=" ("+l.join("|")+")"}else{let l=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;a+=e.substring(l,r);let A=["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"];if(!this.suppressValidationErr&&!A.includes(a.toUpperCase()))throw new Error(`Invalid attribute type: "${a}"`)}r=Qr(e,r);let c="";return e.substring(r,r+8).toUpperCase()==="#REQUIRED"?(c="#REQUIRED",r+=8):e.substring(r,r+7).toUpperCase()==="#IMPLIED"?(c="#IMPLIED",r+=7):[r,c]=this.readIdentifierVal(e,r,"ATTLIST"),{elementName:s,attributeName:i,attributeType:a,defaultValue:c,index:r}}},Qr=o((t,e)=>{for(;e<t.length&&/\s/.test(t[e]);)e++;return e},"skipWhitespace");function Da(t,e,r){for(let n=0;n<e.length;n++)if(e[n]!==t[r+n+1])return!1;return!0}o(Da,"hasSeq");function _d(t,e){if(Cw(t,{xmlVersion:e}))return t;throw new Error(`Invalid entity name ${t}`)}o(_d,"validateEntityName");var Sge=[48,1632,1776,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,65296,120782,120792,120802,120812,120822,66720,68912,69734,69872,69942,70096,70384,70736,70864,71248,71360,71472,71904,72016,72688,72784,73040,73120,73552,92768,92864,93008,123200,123632,124144,125264,130032],Gg=255,Yg=new Map,CJ=65535,IJ=1632,Fl=IJ,Rge=CJ-IJ+1,Vg=new Uint8Array(Rge).fill(Gg);for(let t of Sge)for(let e=0;e<10;e++){let r=t+e;r<=CJ?Vg[r-Fl]=e:Yg.set(r,e)}var BJ=48,QJ=57,xJ=45,Jg=new Set([8722,65293,65123]);function vge(t){if(typeof t!="string")return t;let e=t.length;if(e===0)return t;let r=-1;for(let s=0;s<e;s++){let i=t.charCodeAt(s);if(!(i>=BJ&&i<=QJ||i===xJ)){if(i<Fl){if(Jg.has(i)){r=s;break}continue}if(i>=55296&&i<=56319){if(s+1<e){let a=t.charCodeAt(s+1);if(a>=56320&&a<=57343){let c=65536+(i-55296<<10)+(a-56320);if(Yg.has(c)){r=s;break}}}continue}if(Vg[i-Fl]!==Gg||Jg.has(i)){r=s;break}}}if(r===-1)return t;let n=[];r>0&&n.push(t.slice(0,r));for(let s=r;s<e;s++){let i=t.charCodeAt(s);if(i>=BJ&&i<=QJ||i===xJ){n.push(t[s]);continue}if(i<Fl){n.push(Jg.has(i)?"-":t[s]);continue}if(i>=55296&&i<=56319){if(s+1<e){let c=t.charCodeAt(s+1);if(c>=56320&&c<=57343){let l=65536+(i-55296<<10)+(c-56320),A=Yg.get(l);if(A!==void 0){n.push(String.fromCharCode(A+48)),s++;continue}}}n.push(t[s]);continue}if(Jg.has(i)){n.push("-");continue}let a=Vg[i-Fl];n.push(a!==Gg?String.fromCharCode(a+48):t[s])}return n.join("")}o(vge,"anynum");var bJ=vge;var Pge=/^[-+]?0x[a-fA-F0-9]+$/,Dge=/^0b[01]+$/,Tge=/^0o[0-7]+$/,kge=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,Mge={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original",unicode:!1};function Bw(t,e={}){if(e=Object.assign({},Mge,e),!t||typeof t!="string")return t;let r=t.trim();if(r.length===0)return t;if(e.skipLike!==void 0&&e.skipLike.test(r))return t;if(r==="0"||e.unicode&&(r=bJ(r),r==="0"))return 0;if(e.hex&&Pge.test(r))return Iw(r,16);if(e.binary&&Dge.test(r))return Iw(r,2);if(e.octal&&Tge.test(r))return Iw(r,8);if(isFinite(r)){if(r.includes("e")||r.includes("E"))return _ge(t,r,e);{let n=kge.exec(r);if(n){let s=n[1]||"",i=n[2],a=Fge(n[3]),c=s?r[i.length+1]===".":r[i.length]===".";if(!e.leadingZeros&&(i.length>1||i.length===1&&!c))return t;{let l=Number(r),A=String(l);if(l===0)return l;if(A.search(/[eE]/)!==-1)return e.eNotation?l:t;if(r.indexOf(".")!==-1)return A==="0"||A===a||A===`${s}${a}`?l:t;let u=i?a:r;return i?u===A||s+u===A?l:t:u===A||u===s+A?l:t}}else return t}}else{let n=Number(r);return Number.isNaN(n)?t:Uge(t,n,e)}}o(Bw,"toNumber");var Lge=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function _ge(t,e,r){if(!r.eNotation)return t;let n=e.match(Lge);if(n){let s=n[1]||"",i=n[3].indexOf("e")===-1?"E":"e",a=n[2],c=s?e[a.length+1]===i:e[a.length]===i;return a.length>1&&c?t:a.length===1&&(n[3].startsWith(`.${i}`)||n[3][0]===i)?Number(e):a.length>0?r.leadingZeros&&!c?Number(e):t:Number(e)}else return t}o(_ge,"resolveEnotation");function Fge(t){if(t&&t.indexOf(".")!==-1){let e=t.length;for(;e>0&&t.charCodeAt(e-1)===48;)e--;return t=t.slice(0,e),t==="."?t="0":t[0]==="."?t="0"+t:t[t.length-1]==="."&&(t=t.substring(0,t.length-1)),t}return t}o(Fge,"trimZeros");function Iw(t,e){let r=t.trim();if((e===2||e===8)&&(t=r.substring(2)),parseInt)return parseInt(t,e);if(Number.parseInt)return Number.parseInt(t,e);if(window&&window.parseInt)return window.parseInt(t,e);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}o(Iw,"parse_int");function Uge(t,e,r){let n=e===1/0;switch(r.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return n?"Infinity":"-Infinity";default:return t}}o(Uge,"handleInfinity");function Qw(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}o(Qw,"getIgnoreAttributesFn");var Kr=class{static{o(this,"Expression")}constructor(e,r={},n){this.pattern=e,this.separator=r.separator||".",this.segments=this._parse(e),this.data=n,this._hasDeepWildcard=this.segments.some(s=>s.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(s=>s.attrName!==void 0),this._hasPositionSelector=this.segments.some(s=>s.position!==void 0)}_parse(e){let r=[],n=0,s="";for(;n<e.length;)e[n]===this.separator?n+1<e.length&&e[n+1]===this.separator?(s.trim()&&(r.push(this._parseSegment(s.trim())),s=""),r.push({type:"deep-wildcard"}),n+=2):(s.trim()&&r.push(this._parseSegment(s.trim())),s="",n++):(s+=e[n],n++);return s.trim()&&r.push(this._parseSegment(s.trim())),r}_parseSegment(e){let r={type:"tag"},n=null,s=e,i=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(i&&(s=i[1]+i[3],i[2])){let u=i[2].slice(1,-1);u&&(n=u)}let a,c=s;if(s.includes("::")){let u=s.indexOf("::");if(a=s.substring(0,u).trim(),c=s.substring(u+2).trim(),!a)throw new Error(`Invalid namespace in pattern: ${e}`)}let l,A=null;if(c.includes(":")){let u=c.lastIndexOf(":"),d=c.substring(0,u).trim(),m=c.substring(u+1).trim();["first","last","odd","even"].includes(m)||/^nth\(\d+\)$/.test(m)?(l=d,A=m):l=c}else l=c;if(!l)throw new Error(`Invalid segment pattern: ${e}`);if(r.tag=l,a&&(r.namespace=a),n)if(n.includes("=")){let u=n.indexOf("=");r.attrName=n.substring(0,u).trim(),r.attrValue=n.substring(u+1).trim()}else r.attrName=n.trim();if(A){let u=A.match(/^nth\((\d+)\)$/);u?(r.position="nth",r.positionValue=parseInt(u[1],10)):r.position=A}return r}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}};var Ul=class{static{o(this,"ExpressionSet")}constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._deepByTerminalTag=new Map,this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw new TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard()){let i=e.segments[e.segments.length-1];if(i&&i.type!=="deep-wildcard"&&i.tag!=="*"){let a=i.tag;this._deepByTerminalTag.has(a)||this._deepByTerminalTag.set(a,[]),this._deepByTerminalTag.get(a).push(e)}else this._deepWildcards.push(e);return this}let r=e.length,s=e.segments[e.segments.length-1]?.tag;if(!s||s==="*")this._wildcardByDepth.has(r)||this._wildcardByDepth.set(r,[]),this._wildcardByDepth.get(r).push(e);else{let i=`${r}:${s}`;this._byDepthAndTag.has(i)||this._byDepthAndTag.set(i,[]),this._byDepthAndTag.get(i).push(e)}return this}addAll(e){for(let r of e)this.add(r);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return this.findMatch(e)!==null}findMatch(e){let r=e.getDepth(),n=e.getCurrentTag(),s=`${r}:${n}`,i=this._byDepthAndTag.get(s);if(i){for(let l=0;l<i.length;l++)if(e.matches(i[l]))return i[l]}let a=this._wildcardByDepth.get(r);if(a){for(let l=0;l<a.length;l++)if(e.matches(a[l]))return a[l]}let c=this._deepByTerminalTag.get(n);if(c){for(let l=0;l<c.length;l++)if(e.matches(c[l]))return c[l]}for(let l=0;l<this._deepWildcards.length;l++)if(e.matches(this._deepWildcards[l]))return this._deepWildcards[l];return null}};var xw=class{static{o(this,"MatcherView")}constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let r=this._matcher.path;if(r.length!==0)return r[r.length-1].values?.[e]}hasAttr(e){let r=this._matcher.path;if(r.length===0)return!1;let n=r[r.length-1];return n.values!==void 0&&e in n.values}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}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)}},vs=class{static{o(this,"Matcher")}constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new xw(this),this._keptAttrs=[]}push(e,r=null,n=null,s=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let i=this.path.length,a=this.siblingStacks[i];a||(a={counts:new Map,total:0},this.siblingStacks[i]=a);let c=n?`${n}:${e}`:e,l=a.counts.get(c)||0,A=a.total;a.counts.set(c,l+1),a.total++;let u={tag:e,position:A,counter:l};n!=null&&(u.namespace=n),r!=null&&(u.values=r),this.path.push(u);let d=this.path.length,m=s!==null?s.keep:null;if(m!=null&&m.length>0&&r)for(let p=0;p<m.length;p++){let h=m[p];r[h]!==void 0&&this._keptAttrs.push({depth:d,name:h,value:r[h]})}}pop(){if(this.path.length===0)return;this._pathStringCache=null;let e=this.path.pop();this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1);let r=this.path.length+1;for(;this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=r;)this._keptAttrs.pop();return 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}getAnyParentAttr(e){let r=this._keptAttrs;for(let n=r.length-1;n>=0;n--)if(r[n].name===e)return r[n].value}hasAnyParentAttr(e){let r=this._keptAttrs;for(let n=r.length-1;n>=0;n--)if(r[n].name===e)return!0;return!1}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,r=!0){let n=e||this.separator;if(n===this.separator&&r===!0){if(this._pathStringCache!==null)return this._pathStringCache;let i=this.path.map(a=>a.namespace?`${a.namespace}:${a.tag}`:a.tag).join(n);return this._pathStringCache=i,i}return this.path.map(i=>r&&i.namespace?`${i.namespace}:${i.tag}`:i.tag).join(n)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[],this._keptAttrs=[]}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<e.length;r++)if(!this._matchSegment(e[r],this.path[r],r===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let r=this.path.length-1,n=e.length-1;for(;n>=0&&r>=0;){let s=e[n];if(s.type==="deep-wildcard"){if(n--,n<0)return!0;let i=e[n],a=!1;for(let c=r;c>=0;c--)if(this._matchSegment(i,this.path[c],c===this.path.length-1)){r=c-1,n--,a=!0;break}if(!a)return!1}else{if(!this._matchSegment(s,this.path[r],r===this.path.length-1))return!1;r--,n--}}return n<0}_matchSegment(e,r,n){if(e.tag!=="*"&&e.tag!==r.tag||e.namespace!==void 0&&e.namespace!=="*"&&e.namespace!==r.namespace||e.attrName!==void 0&&(!n||!r.values||!(e.attrName in r.values)||e.attrValue!==void 0&&String(r.values[e.attrName])!==String(e.attrValue)))return!1;if(e.position!==void 0){if(!n)return!1;let s=r.counter??0;if(e.position==="first"&&s!==0)return!1;if(e.position==="odd"&&s%2!==1)return!1;if(e.position==="even"&&s%2!==0)return!1;if(e.position==="nth"&&s!==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=>e&&{counts:new Map(e.counts),total:e.total}),keptAttrs:this._keptAttrs.map(e=>({...e}))}}restore(e){this._pathStringCache=null,this.path=e.path.map(r=>({...r})),this.siblingStacks=e.siblingStacks.map(r=>r&&{counts:new Map(r.counts),total:r.total}),this._keptAttrs=(e.keptAttrs||[]).map(r=>({...r}))}readOnly(){return this._view}};var Oge=[{id:"html-script-open",description:"<script opening tag",pattern:/<script[\s>/]/i},{id:"html-script-close",description:"</script closing tag",pattern:/<\/script[\s>]/i},{id:"html-javascript-protocol",description:"javascript: URI scheme (with optional whitespace/encoding)",pattern:/j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i},{id:"html-vbscript-protocol",description:"vbscript: URI scheme",pattern:/vbscript[\t\n\r ]*:/i},{id:"html-data-html",description:"data:text/html URI \u2014 can execute scripts in browsers",pattern:/data[\t\n\r ]*:[\t\n\r ]*text\/html/i},{id:"html-data-xhtml",description:"data:application/xhtml+xml URI",pattern:/data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i},{id:"html-data-svg",description:"data:image/svg+xml URI \u2014 can execute scripts",pattern:/data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i},{id:"html-inline-event-handler",description:"Inline event handler attributes: onclick=, onerror=, onload=, etc.",pattern:/\bon\w{1,30}\s*=/i},{id:"html-entity-obfuscated-script",description:"HTML-entity-encoded <script (e.g. &#x3C;script or &lt;script)",pattern:/(?:&#x0*3[Cc];?|&#0*60;?|&lt;)\s*script/i},{id:"html-entity-obfuscated-javascript",description:'HTML-entity-encoded javascript: (partial \u2014 catches common &#106; or &#x6a; for "j")',pattern:/(?:&#x0*6[Aa];?|&#0*106;?)\s*(?:&#x0*61;?|a)[\s\S]{0,80}script\s*:/i},{id:"html-style-expression",description:"CSS expression() \u2014 IE-era code execution in style attributes",pattern:/style[\s\S]{0,20}expression\s*\(/i},{id:"html-object-embed",description:"<object or <embed tags that can load active content",pattern:/<(?:object|embed)[\s>/]/i},{id:"html-base-tag",description:"<base href= \u2014 can hijack all relative URLs on a page",pattern:/<base[\s>]/i},{id:"html-meta-refresh",description:'<meta http-equiv="refresh" \u2014 can redirect users',pattern:/<meta[\s\S]{0,40}http-equiv[\s\S]{0,20}refresh/i},{id:"html-srcdoc",description:"srcdoc= attribute on iframes \u2014 embeds HTML that can run scripts",pattern:/srcdoc\s*=/i},{id:"html-iframe",description:"<iframe tag",pattern:/<iframe[\s>/]/i},{id:"html-form",description:"<form tag \u2014 can be used for phishing / credential harvesting injection",pattern:/<form[\s>/]/i}],Ta=Oge;var qge=[{id:"xml-cdata-injection",description:"CDATA section injection: <![CDATA[ breaks out of text node context",pattern:/<!\[CDATA\[/i},{id:"xml-cdata-close",description:"CDATA close sequence: ]]> can terminate an enclosing CDATA section",pattern:/\]\]>/},{id:"xml-processing-instruction",description:"XML processing instruction: <?xml-stylesheet or <?php etc.",pattern:/<\?(?:xml[\- ]|php|asp)/i},{id:"xml-doctype-injection",description:"DOCTYPE declaration embedded in content \u2014 can define entities",pattern:/<!DOCTYPE(?:[\s[]|$)/i},{id:"xml-entity-system",description:"SYSTEM keyword \u2014 used in external entity declarations (XXE)",pattern:/\bSYSTEM\s+["']/i},{id:"xml-entity-public",description:"PUBLIC keyword \u2014 used in external entity declarations (XXE)",pattern:/\bPUBLIC\s+["']/i},{id:"xml-entity-declaration",description:"<!ENTITY declaration \u2014 defines entities, potential XXE or entity expansion",pattern:/<!ENTITY[\s%]/i},{id:"xml-billion-laughs",description:"Entity reference chaining / billion laughs: repeated &eX; style references",pattern:/(?:&\w{1,20};){3,}/},{id:"xml-namespace-confusion",description:"xmlns: attribute injection \u2014 can redefine namespaces to confuse parsers",pattern:/\bxmlns(?::\w{1,40})?\s*=/i},{id:"xml-comment-injection",description:"<!-- comment injection \u2014 can hide content from some parsers",pattern:/<!--/},{id:"xml-comment-close",description:"--> closes an enclosing XML comment",pattern:/-->/},{id:"xml-pi-close",description:"?> closes an enclosing processing instruction",pattern:/\?>/}],ka=qge;var Hge=[{id:"svg-script-element",description:"<script element inside SVG executes JavaScript",pattern:/<script[\s>/]/i},{id:"svg-xlink-href-javascript",description:"xlink:href with javascript: \u2014 classic SVG XSS via <a> or <use>",pattern:/xlink\s*:\s*href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-href-javascript",description:"href= with javascript: in SVG context (<a>, <animate>, etc.)",pattern:/href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-foreignobject",description:"<foreignObject embeds HTML inside SVG \u2014 can execute scripts",pattern:/<foreignObject[\s>/]/i},{id:"svg-use-external",description:"<use xlink:href or href pointing to external resource (non-fragment URL)",pattern:/<use[\s\S]{0,60}(?:xlink\s*:\s*)?href\s*=\s*(?:["'][^#]|[^"'#\s>])/i},{id:"svg-animate-href",description:'<animate attributeName="href" \u2014 can dynamically change href to javascript:',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*href["']/i},{id:"svg-animate-xlinkhref",description:'<animate attributeName="xlink:href"',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*xlink\s*:\s*href["']/i},{id:"svg-set-javascript",description:'<set to="javascript:..." \u2014 sets an attribute to a javascript: URI',pattern:/<set[\s\S]{0,80}to\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-event-handler",description:"SVG-specific event handler attributes: onload=, onerror=, onactivate=, etc.",pattern:/\bon(?:load|error|activate|begin|end|repeat|focus|blur|click|mouse\w{1,20}|key\w{1,20})\s*=/i},{id:"svg-handler-generic",description:"Generic on* handler catch-all for SVG attributes",pattern:/\bon\w{1,30}\s*=/i},{id:"svg-filter-feimage",description:"<feImage href= \u2014 filter primitive that can load external resources",pattern:/<feImage[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=/i},{id:"svg-image-external",description:"<image xlink:href with http/https or javascript protocol",pattern:/<image[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=\s*["']?\s*(?:https?|javascript)\s*:/i},{id:"svg-style-javascript",description:"style= attribute containing javascript: (e.g. background:url(javascript:...))",pattern:/style\s*=[\s\S]{0,60}javascript\s*:/i}],$g=Hge;var zge=[{id:"sql-block-comment-open",description:"SQL block comment open: /* ... */ \u2014 unusual in legitimate user text",pattern:/\/\*/},{id:"sql-union-select",description:"UNION SELECT \u2014 most common SQL injection aggregation attack",pattern:/\bUNION\s{1,20}(?:ALL\s{1,20})?SELECT\b/i},{id:"sql-drop-table",description:"DROP TABLE \u2014 destructive DDL injection",pattern:/\bDROP\s{1,20}TABLE\b/i},{id:"sql-drop-database",description:"DROP DATABASE \u2014 destructive DDL injection",pattern:/\bDROP\s{1,20}DATABASE\b/i},{id:"sql-insert-into",description:"INSERT INTO \u2014 data injection",pattern:/\bINSERT\s{1,20}INTO\b/i},{id:"sql-delete-from",description:"DELETE FROM \u2014 data deletion injection",pattern:/\bDELETE\s{1,20}FROM\b/i},{id:"sql-update-set",description:"UPDATE ... SET \u2014 data modification injection",pattern:/\bUPDATE\b[\s\S]{1,60}\bSET\b/i},{id:"sql-exec-xp",description:"EXEC xp_ \u2014 MSSQL extended stored procedure execution",pattern:/\bEXEC(?:UTE)?\s{1,20}xp_/i},{id:"sql-tautology-string",description:`Classic string tautology: ' OR '1'='1 or " OR "1"="1"`,pattern:/'\s{0,10}OR\s{0,10}'[^']{0,20}'\s*=\s*'[^']{0,20}/i},{id:"sql-tautology-numeric",description:"Numeric tautology: OR 1=1",pattern:/\bOR\s{1,10}1\s*=\s*1\b/i},{id:"sql-always-true-zero",description:"Numeric tautology: OR 0=0",pattern:/\bOR\s{1,10}0\s*=\s*0\b/i},{id:"sql-sleep-benchmark",description:"Time-based blind injection: SLEEP() or BENCHMARK()",pattern:/\b(?:SLEEP|BENCHMARK)\s*\(/i},{id:"sql-waitfor-delay",description:"MSSQL time-based blind injection: WAITFOR DELAY",pattern:/\bWAITFOR\s{1,20}DELAY\b/i},{id:"sql-char-function",description:"CHAR() function \u2014 used to obfuscate injected strings",pattern:/\bCHAR\s*\(\s*\d{1,3}/i},{id:"sql-information-schema",description:"INFORMATION_SCHEMA \u2014 reconnaissance query for table/column enumeration",pattern:/\bINFORMATION_SCHEMA\b/i}],Ud=zge;var Gge=[{id:"shell-path-traversal-unix",description:"Unix path traversal: ../ \u2014 climbing the directory tree",pattern:/\.\.\//},{id:"shell-path-traversal-windows",description:"Windows path traversal: ..\\ \u2014 climbing the directory tree",pattern:/\.\.\\/},{id:"shell-path-traversal-encoded",description:"URL-encoded path traversal: %2e%2e or %2f variants",pattern:/%2e%2e|%2f\.\.|\.\.%2f/i},{id:"shell-null-byte",description:"Null byte injection: \\x00 or %00 \u2014 truncates strings in C-backed functions",pattern:/\x00|%00/},{id:"shell-semicolon",description:"Semicolon command separator: cmd1; cmd2",pattern:/;/},{id:"shell-pipe",description:"Pipe operator: cmd1 | cmd2",pattern:/\|/},{id:"shell-and-operator",description:"AND operator: cmd1 && cmd2",pattern:/&&/},{id:"shell-or-operator",description:"OR operator: cmd1 || cmd2",pattern:/\|\|/},{id:"shell-backtick",description:"Backtick command substitution: `cmd`",pattern:/`/},{id:"shell-dollar-paren",description:"Dollar-paren command substitution: $(cmd)",pattern:/\$\(/},{id:"shell-dollar-brace",description:"Dollar-brace variable expansion: ${var} \u2014 can be abused for injection",pattern:/\$\{/},{id:"shell-redirect-out",description:"Output redirection: cmd > file or cmd >> file",pattern:/>{1,2}/},{id:"shell-redirect-in",description:"Input redirection: cmd < file",pattern:/</},{id:"shell-newline-injection",description:"Newline injection: \\n or \\r \u2014 can inject new shell commands",pattern:/[\n\r]/},{id:"shell-glob-star",description:"Glob expansion: * or ? \u2014 can expand to unintended files",pattern:/[/\\][*?]/},{id:"shell-absolute-root",description:"Absolute root path injection: string starting with / or \\ (Windows UNC)",pattern:/^(?:\/|\\\\)/},{id:"shell-windows-drive",description:"Windows drive letter path injection: C:\\ or D:/",pattern:/^[a-zA-Z]:[/\\]/},{id:"shell-curl-wget",description:"curl/wget with URL or flags \u2014 can exfiltrate data or download payloads",pattern:/\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i}],bw=Gge;var Yge=[{id:"redos-nested-quantifier-plus",description:"Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",pattern:/\([^)]*\+[^)]*\)[+*]/},{id:"redos-nested-quantifier-star",description:"Nested * quantifier: (a*)* or (a*)+ \u2014 catastrophic backtracking",pattern:/\([^)]*\*[^)]*\)[*+]/},{id:"redos-nested-groups",description:"Doubly nested quantified groups: ((a+)+) \u2014 guaranteed catastrophic",pattern:/\(\([^)]{0,40}\)[+*]\)[+*]/},{id:"redos-alternation-overlap",description:"Overlapping alternation under quantifier: (a|a)+ \u2014 ambiguous NFA paths",pattern:/\(([^|()]{1,20})\|(?:\1)(?:\|[^|()]{1,20}){0,5}\)[+*?]{1,2}/},{id:"redos-star-plus-concat",description:"(x*x)+ pattern \u2014 triggers super-linear backtracking",pattern:/\([^)]{0,10}\*[^)]{0,10}\)[+*]/},{id:"redos-dot-star-greedy",description:"(.*){n,} or (.+){n,} \u2014 repeated greedy dot quantifiers",pattern:/\(\.[*+]\)\{?\d/},{id:"redos-large-repetition",description:"Very large fixed or range repetition count {1000,} or {1000,n} \u2014 denial of service via backtracking",pattern:/\{\d{4,}(?:,\d*)?\}/},{id:"redos-catastrophic-alternation",description:"Long alternation with many similar branches \u2014 polynomial backtracking risk",pattern:/\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/}],ww=Yge;var Xr=`["'\\s]*:`,Vge=[{id:"nosql-where-operator",description:"$where \u2014 executes arbitrary JavaScript server-side in MongoDB",pattern:new RegExp(`\\$where${Xr}`,"i")},{id:"nosql-ne-operator",description:'$ne \u2014 "not equal" operator used to bypass equality checks',pattern:new RegExp(`\\$ne${Xr}`,"i")},{id:"nosql-gt-operator",description:'$gt \u2014 "greater than" used to bypass password/value checks',pattern:new RegExp(`\\$gte?${Xr}`,"i")},{id:"nosql-lt-operator",description:'$lt / $lte \u2014 "less than" bypass variants',pattern:new RegExp(`\\$lte?${Xr}`,"i")},{id:"nosql-regex-operator",description:"$regex \u2014 can be used to extract data character by character (blind injection)",pattern:new RegExp(`\\$regex${Xr}`,"i")},{id:"nosql-or-operator",description:"$or \u2014 logical OR; used to create always-true conditions",pattern:new RegExp(`\\$or${Xr}\\s*\\[`,"i")},{id:"nosql-and-operator",description:"$and \u2014 logical AND operator injection",pattern:new RegExp(`\\$and${Xr}\\s*\\[`,"i")},{id:"nosql-nor-operator",description:"$nor \u2014 logical NOR operator injection",pattern:new RegExp(`\\$nor${Xr}\\s*\\[`,"i")},{id:"nosql-exists-operator",description:"$exists \u2014 can enumerate fields to determine schema",pattern:new RegExp(`\\$exists${Xr}`,"i")},{id:"nosql-in-operator",description:"$in \u2014 matches any value in a list; can enumerate values",pattern:new RegExp(`\\$in${Xr}\\s*\\[`,"i")},{id:"nosql-expr-operator",description:"$expr \u2014 allows aggregation expressions in queries (MongoDB 3.6+)",pattern:new RegExp(`\\$expr${Xr}`,"i")},{id:"nosql-function-operator",description:"$function \u2014 executes arbitrary JavaScript in MongoDB 4.4+",pattern:new RegExp(`\\$function${Xr}`,"i")},{id:"nosql-accumulator-operator",description:"$accumulator \u2014 custom aggregation with arbitrary JS execution",pattern:new RegExp(`\\$accumulator${Xr}`,"i")},{id:"nosql-proto-pollution",description:"__proto__ \u2014 prototype pollution via object key injection",pattern:/__proto__/},{id:"nosql-constructor-prototype",description:"constructor.prototype \u2014 alternative prototype pollution vector (dot notation or JSON key)",pattern:/constructor[\s"':.,{\[]*prototype/i},{id:"nosql-proto-bracket",description:'["__proto__"] \u2014 bracket-notation prototype pollution',pattern:/\[["']__proto__["']\]/}],Nw=Vge;var Jge=[{id:"log-crlf-injection",description:"CRLF injection: literal \\r or \\n embeds fake log lines",pattern:/[\r\n]/},{id:"log-url-encoded-crlf",description:"URL-encoded CRLF: %0d, %0a, %0D, %0A \u2014 decoded by some log parsers",pattern:/%0[dDaA]/},{id:"log-unicode-newline",description:"Unicode newline variants: U+2028 (line separator), U+2029 (paragraph separator)",pattern:/[\u2028\u2029]/},{id:"log-log4shell-jndi",description:"Log4Shell: ${jndi:...} triggers remote code execution in Apache Log4j",pattern:/\$\{jndi\s*:/i},{id:"log-log4shell-obfuscated",description:"Obfuscated Log4Shell: ${::-j}... lookup-bypass prefix used to evade WAF detection",pattern:/\$\{::-/},{id:"log-log4j-lookup",description:"Log4j lookup syntax: ${env:...}, ${sys:...}, ${ctx:...} \u2014 data exfiltration",pattern:/\$\{(?:env|sys|ctx|main|map|sd|web|docker|k8s|spring)\s*:/i},{id:"log-ssti-double-brace",description:"SSTI double-brace: {{expression}} \u2014 Jinja2, Twig, Handlebars, etc.",pattern:/\{\{[\s\S]{0,80}\}\}/},{id:"log-ssti-hash-brace",description:"SSTI hash-brace: #{expression} \u2014 Thymeleaf, Velocity, Ruby ERB",pattern:/#\{[\s\S]{0,80}\}/},{id:"log-ssti-dollar-brace",description:"SSTI/EL injection: ${expression with operators or method calls} \u2014 JSP EL, Freemarker, SpEL",pattern:/\$\{[^}]*(?:\.|\(|\*|\+|\bclass\b|\bruntime\b|\bprocess\b|\bexec\b)[^}]{0,80}\}/i},{id:"log-ssti-percent-tag",description:"SSTI ERB/ASP tag: <%= expression %> \u2014 Ruby ERB, ASP",pattern:/<%=[\s\S]{0,80}%>/},{id:"log-null-byte",description:"Null byte: \\x00 or %00 \u2014 can truncate log entries in C-backed loggers",pattern:/\x00|%00/},{id:"log-ansi-escape",description:"ANSI escape sequence: ESC[ \u2014 can manipulate terminal output when logs are tailed",pattern:/\x1b\[/}],Sw=Jge;var $ge=[{id:"sql-line-comment",description:"SQL line comment: -- followed by whitespace or end of string",pattern:/--(?:\s|$)/},{id:"sql-stacked-query",description:"Stacked queries: semicolon immediately followed by a SQL keyword",pattern:/;\s{0,10}(?:SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC)\b/i},{id:"sql-hex-encoding",description:"Hex-encoded string injection: 0x41414141 style (MySQL)",pattern:/\b0x[0-9a-f]{4,}/i}],Wge=[...Ud,...$ge],Rw=Wge;var wJ=Object.freeze({colon:":",Tab:" ",NewLine:`
`}),jge=/&(?:#[xX]0*([0-9a-fA-F]{1,6});?|#0*([0-9]{1,7});?|([a-zA-Z][a-zA-Z0-9]{1,15});)/g;function vw(t){return t.indexOf("&")===-1?t:t.replace(jge,(e,r,n,s)=>{if(s!==void 0)return Object.prototype.hasOwnProperty.call(wJ,s)?wJ[s]:e;let i=r!==void 0?parseInt(r,16):parseInt(n,10);return!Number.isFinite(i)||i>1114111?e:String.fromCodePoint(i)})}o(vw,"decodeEntities");Ta.label="HTML";ka.label="XML";$g.label="SVG";Ta.decodeEntities=!0;ka.decodeEntities=!0;$g.decodeEntities=!0;Ud.label="SQL";Rw.label="SQL-STRICT";bw.label="SHELL";ww.label="REDOS";Nw.label="NOSQL";Sw.label="LOG";var f3e=Object.freeze({HTML:Ta,XML:ka,SVG:$g,SQL:Ud,"SQL-STRICT":Rw,SHELL:bw,REDOS:ww,NOSQL:Nw,LOG:Sw});function Kge(t){if(typeof t!="string")throw new TypeError(`is-unsafe: first argument must be a string, got ${typeof t}`)}o(Kge,"assertString");function Xge(t){if(!(t instanceof RegExp)){if(Array.isArray(t)){if(t.length===0)throw new TypeError("is-unsafe: context must not be an empty array");if(Array.isArray(t[0])){for(let e of t)if(!Array.isArray(e)||e.length===0)throw new TypeError("is-unsafe: each context in the array must be a non-empty pattern array (PatternList)")}return}throw new TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof t}`)}}o(Xge,"assertContext");function Zge(t){return t instanceof RegExp?{lists:null,regex:t}:Array.isArray(t[0])?{lists:t,regex:null}:{lists:[t],regex:null}}o(Zge,"normalise");function eye(t,e){if(!e.decodeEntities)return null;let r=vw(t);return r===t?null:r}o(eye,"decodedCopy");function tye(t,e){let r=e.label??"CUSTOM",n=eye(t,e);for(let s of e)if(s.pattern.test(t)||n!==null&&s.pattern.test(n))return{context:r,id:s.id,description:s.description,pattern:s.pattern};return null}o(tye,"matchList");function NJ(t,e){Kge(t),Xge(e);let{lists:r,regex:n}=Zge(e);if(n)return n.test(t);for(let s of r)if(tye(t,s)!==null)return!0;return!1}o(NJ,"isUnsafe");function rye(t,e){if(!t)return{};let r=e.attributesGroupName?t[e.attributesGroupName]:t;if(!r)return{};let n={};for(let s in r)if(s.startsWith(e.attributeNamePrefix)){let i=s.substring(e.attributeNamePrefix.length);n[i]=r[s]}else n[s]=r[s];return n}o(rye,"extractRawAttributes");function nye(t){if(!t||typeof t!="string")return;let e=t.indexOf(":");if(e!==-1&&e>0){let r=t.substring(0,e);if(r!=="xmlns")return r}}o(nye,"extractNamespace");var Od=class{static{o(this,"OrderedObjParser")}constructor(e,r){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=cye,this.parseTextData=sye,this.resolveNameSpace=iye,this.buildAttributesMap=aye,this.isItStopNode=dye,this.replaceEntitiesValue=Aye,this.readStopNodeData=hye,this.saveTextToParentTag=uye,this.addChild=lye,this.ignoreAttributesFn=Qw(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let n={...Md};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?n=this.options.htmlEntities:this.options.htmlEntities===!0&&(n={...gw,...fw}),this.entityDecoder=new _l({namedEntities:{...n,...r},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo},onInputEntity:o((i,a)=>NJ(a,[Ta,ka])?Ll.BLOCK:Ll.ALLOW,"onInputEntity")})),this.matcher=new vs,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new Ul;let s=this.options.stopNodes;if(s&&s.length>0){for(let i=0;i<s.length;i++){let a=s[i];typeof a=="string"?this.stopNodeExpressionsSet.add(new Kr(a)):a instanceof Kr&&this.stopNodeExpressionsSet.add(a)}this.stopNodeExpressionsSet.seal()}}};function sye(t,e,r,n,s,i,a){let c=this.options;if(t!==void 0&&(c.trimValues&&!n&&(t=t.trim()),t.length>0)){a||(t=this.replaceEntitiesValue(t,e,r));let l=c.jPath?r.toString():r,A=c.tagValueProcessor(e,t,l,s,i);return A==null?t:typeof A!=typeof t||A!==t?A:c.trimValues||t.trim()===t?Tw(t,c.parseTagValue,c.numberParseOptions):t}}o(sye,"parseTextData");function iye(t){if(this.options.removeNSPrefix){let e=t.split(":"),r=t.charAt(0)==="/"?"/":"";if(e[0]==="xmlns")return"";e.length===2&&(t=r+e[1])}return t}o(iye,"resolveNameSpace");var oye=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function aye(t,e,r,n=!1){let s=this.options;if(n===!0||s.ignoreAttributes!==!0&&typeof t=="string"){let i=oJ(t,oye),a=i.length,c={},l=new Array(a),A=!1,u={};for(let p=0;p<a;p++){let h=this.resolveNameSpace(i[p][1]),f=i[p][4];if(h.length&&f!==void 0){let C=f;s.trimValues&&(C=C.trim()),C=this.replaceEntitiesValue(C,r,this.readonlyMatcher),l[p]=C,u[h]=C,A=!0}}A&&typeof e=="object"&&e.updateCurrent&&e.updateCurrent(u);let d=s.jPath?e.toString():this.readonlyMatcher,m=!1;for(let p=0;p<a;p++){let h=this.resolveNameSpace(i[p][1]);if(this.ignoreAttributesFn(h,d))continue;let f=s.attributeNamePrefix+h;if(h.length)if(s.transformAttributeName&&(f=s.transformAttributeName(f)),f=SJ(f,s),i[p][4]!==void 0){let C=l[p],y=s.attributeValueProcessor(h,C,d);y==null?c[f]=C:typeof y!=typeof C||y!==C?c[f]=y:c[f]=Tw(C,s.parseAttributeValue,s.numberParseOptions),m=!0}else s.allowBooleanAttributes&&(c[f]=!0,m=!0)}if(!m)return;if(s.attributesGroupName&&!s.preserveOrder){let p={};return p[s.attributesGroupName]=c,p}return c}}o(aye,"buildAttributesMap");var cye=o(function(t){let e=this.options,r=e.captureMetaData?[]:void 0;t=t.replace(/\r\n?/g,e.captureMetaData?(l,A)=>(l.length===2&&r.push(A-r.length),`
`):`
`);let n=new Br("!xml"),s=n,i="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let a=new Fd(e.processEntities),c=t.length;for(let l=0;l<c;l++)if(t[l]==="<"){let u=t.charCodeAt(l+1);if(u===47){let d=Ol(t,">",l,"Closing Tag is not closed."),m=t.substring(l+2,d).trim();if(e.removeNSPrefix){let h=m.indexOf(":");h!==-1&&(m=m.substr(h+1))}m=Pw(e.transformTagName,m,"",e).tagName,s&&(i=this.saveTextToParentTag(i,s,this.readonlyMatcher));let p=this.matcher.getCurrentTag();if(m&&e.unpairedTagsSet.has(m))throw new Error(`Unpaired tag can not be used as closing tag: </${m}>`);p&&e.unpairedTagsSet.has(p)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,s=this.tagsNodeStack.pop()||n,e.captureMetaData&&s&&s.addEndIndex(Ma(d+1,r)),i="",l=d}else if(u===63){let d=Dw(t,l,!1,"?>");if(!d)throw new Error("Pi Tag is not closed.");i=this.saveTextToParentTag(i,s,this.readonlyMatcher);let m=this.buildAttributesMap(d.tagExp,this.matcher,d.tagName,!0);if(m){let p=m[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(p)||1),a.setXmlVersion(Number(p)||1)}if(!(e.ignoreDeclaration&&d.tagName==="?xml"||e.ignorePiTags)){let p=new Br(d.tagName);p.add(e.textNodeName,""),d.tagName!==d.tagExp&&d.attrExpPresent&&e.ignoreAttributes!==!0&&(p[":@"]=m);let h=e.captureMetaData?Ma(l,r):l;this.addChild(s,p,this.readonlyMatcher,h),e.captureMetaData&&s.addEndIndex(Ma(d.closeIndex+2,r))}l=d.closeIndex+1}else if(u===33&&t.charCodeAt(l+2)===45&&t.charCodeAt(l+3)===45){let d=Ol(t,"-->",l+4,"Comment is not closed.");if(e.commentPropName){let m=t.substring(l+4,d-2);i=this.saveTextToParentTag(i,s,this.readonlyMatcher),s.add(e.commentPropName,[{[e.textNodeName]:m}])}l=d}else if(u===33&&t.charCodeAt(l+2)===68){if(this.doctypefound)throw new Error("Multiple DOCTYPE declarations found.");this.doctypefound=!0;let d=a.readDocType(t,l);this.entityDecoder.addInputEntities(d.entities),l=d.i}else if(u===33&&t.charCodeAt(l+2)===91){let d=Ol(t,"]]>",l,"CDATA is not closed.")-2,m=t.substring(l+9,d);i=this.saveTextToParentTag(i,s,this.readonlyMatcher);let p=this.parseTextData(m,s.tagname,this.readonlyMatcher,!0,!1,!0,!0);p==null&&(p=""),e.cdataPropName?s.add(e.cdataPropName,[{[e.textNodeName]:m}]):s.add(e.textNodeName,p),l=d+2}else{let d=Dw(t,l,e.removeNSPrefix);if(!d){let S=t.substring(Math.max(0,l-50),Math.min(c,l+50));throw new Error(`readTagExp returned undefined at position ${l}. Context: "${S}"`)}let m=d.tagName,p=d.rawTagName,h=d.tagExp,f=d.attrExpPresent,C=d.closeIndex;if({tagName:m,tagExp:h}=Pw(e.transformTagName,m,h,e),e.strictReservedNames&&(m===e.commentPropName||m===e.cdataPropName||m===e.textNodeName||m===e.attributesGroupName))throw new Error(`Invalid tag name: ${m}`);s&&i&&s.tagname!=="!xml"&&(i=this.saveTextToParentTag(i,s,this.readonlyMatcher,!1));let y=s;y&&e.unpairedTagsSet.has(y.tagname)&&(s=this.tagsNodeStack.pop(),this.matcher.pop());let E=!1;h.length>0&&h.lastIndexOf("/")===h.length-1&&(E=!0,m[m.length-1]==="/"?(m=m.substr(0,m.length-1),h=m):h=h.substr(0,h.length-1),f=m!==h);let I=null,B={},N;N=nye(p),m!==n.tagname&&this.matcher.push(m,{},N),m!==h&&f&&(I=this.buildAttributesMap(h,this.matcher,m),I&&(B=rye(I,e))),m!==n.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let k=e.captureMetaData?Ma(l,r):l;if(this.isCurrentNodeStopNode){let S="";if(E)l=d.closeIndex;else if(e.unpairedTagsSet.has(m))l=d.closeIndex;else{let ye=this.readStopNodeData(t,p,C+1);if(!ye)throw new Error(`Unexpected end of ${p}`);l=ye.i,S=ye.tagContent}let de=new Br(m);I&&(de[":@"]=I),de.add(e.textNodeName,S),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(s,de,this.readonlyMatcher,k),e.captureMetaData&&s.addEndIndex(Ma(l+1,r))}else{if(E){({tagName:m,tagExp:h}=Pw(e.transformTagName,m,h,e));let S=new Br(m);I&&(S[":@"]=I),this.addChild(s,S,this.readonlyMatcher,k),e.captureMetaData&&s.addEndIndex(Ma(C+1,r)),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(e.unpairedTagsSet.has(m)){let S=new Br(m);I&&(S[":@"]=I),this.addChild(s,S,this.readonlyMatcher,k),e.captureMetaData&&s.addEndIndex(Ma(d.closeIndex+1,r)),this.matcher.pop(),this.isCurrentNodeStopNode=!1,l=d.closeIndex;continue}else{let S=new Br(m);if(this.tagsNodeStack.length>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(s),I&&(S[":@"]=I),this.addChild(s,S,this.readonlyMatcher,k),s=S}i="",l=C}}}else i+=t[l];return n.child},"parseXml");function Ma(t,e){let r=0,n=e.length;for(;r<n;){let s=Math.floor((r+n)/2);e[s]<t?r=s+1:n=s}return t+r}o(Ma,"getOriginalIndex");function lye(t,e,r,n){this.options.captureMetaData||(n=void 0);let s=this.options.jPath?r.toString():r,i=this.options.updateTag(e.tagname,s,e[":@"]);i===!1||(typeof i=="string"&&(e.tagname=i),t.addChild(e,n))}o(lye,"addChild");function Aye(t,e,r){let n=this.options.processEntities;if(!n||!n.enabled)return t;if(n.allowedTags){let s=this.options.jPath?r.toString():r;if(!(Array.isArray(n.allowedTags)?n.allowedTags.includes(e):n.allowedTags(e,s)))return t}if(n.tagFilter){let s=this.options.jPath?r.toString():r;if(!n.tagFilter(e,s))return t}return this.entityDecoder.decode(t)}o(Aye,"replaceEntitiesValue");function uye(t,e,r,n){return t&&(n===void 0&&(n=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,n),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}o(uye,"saveTextToParentTag");function dye(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(dye,"isItStopNode");function mye(t,e,r=">"){let n=0,s=t.length,i=r.charCodeAt(0),a=r.length>1?r.charCodeAt(1):-1,c="",l=e;for(let A=e;A<s;A++){let u=t.charCodeAt(A);if(n)u===n&&(n=0);else if(u===34||u===39)n=u;else if(u===i)if(a!==-1){if(t.charCodeAt(A+1)===a)return c+=t.substring(l,A),{data:c,index:A}}else return c+=t.substring(l,A),{data:c,index:A};else u===9&&!n&&(c+=t.substring(l,A)+" ",l=A+1)}}o(mye,"tagExpWithClosingIndex");function Ol(t,e,r,n){let s=t.indexOf(e,r);if(s===-1)throw new Error(n);return s+e.length-1}o(Ol,"findClosingIndex");function pye(t,e,r,n){let s=t.indexOf(e,r);if(s===-1)throw new Error(n);return s}o(pye,"findClosingChar");function Dw(t,e,r,n=">"){let s=mye(t,e+1,n);if(!s)return;let i=s.data,a=s.index,c=i.search(/\s/),l=i,A=!0;c!==-1&&(l=i.substring(0,c),i=i.substring(c+1).trimStart());let u=l;if(r){let d=l.indexOf(":");d!==-1&&(l=l.substr(d+1),A=l!==s.data.substr(d+1))}return{tagName:l,tagExp:i,closeIndex:a,attrExpPresent:A,rawTagName:u}}o(Dw,"readTagExp");function hye(t,e,r){let n=r,s=1,i=!1,a=-1,c=t.length;for(;r<c;r++)if(t[r]==="<"){let l=t.charCodeAt(r+1);if(l===47){let A=pye(t,">",r,`${e} is not closed`);if(t.substring(r+2,A).trim()===e&&(s--,s===0))return{tagContent:t.substring(n,r),i:A};r=A}else if(l===63)r=Ol(t,"?>",r+1,"StopNode is not closed.");else if(l===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=Ol(t,"-->",r+3,"StopNode is not closed.");else if(l===33&&t.charCodeAt(r+2)===91)r=Ol(t,"]]>",r,"StopNode is not closed.")-2;else{let A=i?void 0:Dw(t,r,!1);if(A)A.tagName===e&&A.tagExp[A.tagExp.length-1]!=="/"&&s++,r=A.closeIndex;else{if(i=!0,a<r&&(a=t.indexOf(">",r),a===-1))return;let u=t.indexOf("<",r+1);if(u===-1||u>a){let d=t.substring(r+1,a),m=d.search(/\s/);(m===-1?d:d.substring(0,m))===e&&d[d.length-1]!=="/"&&s++,r=a}}}}}o(hye,"readStopNodeData");function Tw(t,e,r){if(e&&typeof t=="string"){let n=t.trim();return n==="true"?!0:n==="false"?!1:Bw(t,r)}else return aJ(t)?t:""}o(Tw,"parseValue");function Pw(t,e,r,n){if(t){let s=t(e);r===e&&(r=s),e=s}return e=SJ(e,n),{tagName:e,tagExp:r}}o(Pw,"transformTagName");function SJ(t,e){if(Og.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return Td.includes(t)?e.onDangerousProperty(t):t}o(SJ,"sanitizeName");var kw=Br.getMetaDataSymbol();function fye(t,e){if(!t||typeof t!="object")return{};if(!e)return t;let r={};for(let n in t)if(n.startsWith(e)){let s=n.substring(e.length);r[s]=t[n]}else r[n]=t[n];return r}o(fye,"stripAttributePrefix");function Mw(t,e,r,n){return RJ(t,e,r,n)}o(Mw,"prettify");function RJ(t,e,r,n){let s,i={};for(let a=0;a<t.length;a++){let c=t[a],l=gye(c);if(l!==void 0&&l!==e.textNodeName){let A=fye(c[":@"]||{},e.attributeNamePrefix);r.push(l,A)}if(l===e.textNodeName)s===void 0?s=c[l]:s+=""+c[l];else{if(l===void 0)continue;if(c[l]){let A=RJ(c[l],e,r,n),u=Eye(A,e);if(Object.keys(A).length===0&&e.alwaysCreateTextNode&&(A[e.textNodeName]=""),c[":@"]?yye(A,c[":@"],n,e):Object.keys(A).length===1&&A[e.textNodeName]!==void 0&&!e.alwaysCreateTextNode?A=A[e.textNodeName]:Object.keys(A).length===0&&(e.alwaysCreateTextNode?A[e.textNodeName]="":A=""),c[kw]!==void 0&&typeof A=="object"&&A!==null&&(A[kw]=c[kw]),i[l]!==void 0&&Object.prototype.hasOwnProperty.call(i,l))Array.isArray(i[l])||(i[l]=[i[l]]),i[l].push(A);else{let d=e.jPath?n.toString():n;e.isArray(l,d,u)?i[l]=[A]:i[l]=A}l!==void 0&&l!==e.textNodeName&&r.pop()}}}return typeof s=="string"?s.length>0&&(i[e.textNodeName]=s):s!==void 0&&(i[e.textNodeName]=s),i}o(RJ,"compress");function gye(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let n=e[r];if(n!==":@")return n}}o(gye,"propName");function yye(t,e,r,n){if(e){let s=Object.keys(e),i=s.length;for(let a=0;a<i;a++){let c=s[a],l=c.startsWith(n.attributeNamePrefix)?c.substring(n.attributeNamePrefix.length):c,A=n.jPath?r.toString()+"."+l:r;n.isArray(c,A,!0,!0)?t[c]=[e[c]]:t[c]=e[c]}}}o(yye,"assignAttributes");function Eye(t,e){let{textNodeName:r}=e,n=Object.keys(t).length;return!!(n===0||n===1&&(t[r]||typeof t[r]=="boolean"||t[r]===0))}o(Eye,"isLeafTag");var ql=class{static{o(this,"XMLParser")}constructor(e){this.externalEntities={},this.options=pJ(e)}parse(e,r){if(typeof e!="string"&&e.toString)e instanceof Uint8Array&&!(typeof Buffer<"u"&&Buffer.isBuffer(e))?e=new TextDecoder("utf-8",{ignoreBOM:!0}).decode(e):e=e.toString();else if(typeof e!="string")throw new Error("XML data is accepted in String or Bytes[] form.");if(r){r===!0&&(r={});let i=qg(e,r);if(i!==!0)throw Error(`${i.err.msg}:${i.err.line}:${i.err.col}`)}let n=new Od(this.options,this.externalEntities),s=n.parseXml(e);return this.options.preserveOrder||s===void 0?s:Mw(s,this.options,n.matcher,n.readonlyMatcher)}addEntity(e,r){if(r.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(e.indexOf("&")!==-1||e.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if(r==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[e]=r}static getMetaDataSymbol(){return Br.getMetaDataSymbol()}};function Lt(t){return typeof t=="number"&&Object.is(t,-0)?"-0":String(t)}o(Lt,"valToStr");function qd(t){return Lt(t).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}o(qd,"safeComment");function Wg(t){return Lt(t).replace(/\]\]>/g,"]]]]><![CDATA[>")}o(Wg,"safeCdata");function Ps(t){return Lt(t).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}o(Ps,"escapeAttribute");var Cye=`
`;function Iye(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(Fw(r)==="?xml"){let s=r[":@"];if(s){let i=e.attributeNamePrefix+"version";if(s[i])return s[i]}}return"1.0"}o(Iye,"detectXmlVersionFromArray");function PJ(t,e,r,n,s){return!r.sanitizeName||s(t)?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(PJ,"resolveTagName");function _w(t,e){let r="";e.format&&(r=Cye);let n=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let c=0;c<e.stopNodes.length;c++){let l=e.stopNodes[c];typeof l=="string"?n.push(new Kr(l)):l instanceof Kr&&n.push(l)}let s=Iye(t,e),i=zg("qName",{xmlVersion:s}),a=new vs;return DJ(t,e,r,a,n,i)}o(_w,"toXml");function DJ(t,e,r,n,s,i){let a="",c=!1;if(e.maxNestedTags&&n.getDepth()>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let l=Lt(t);return l=Lw(l,e),l}return""}for(let l=0;l<t.length;l++){let A=t[l],u=Fw(A);if(u===void 0)continue;let m=u===e.textNodeName||u===e.cdataPropName||u===e.commentPropName||u[0]==="?"?u:PJ(u,!1,e,n,i),p=Bye(A[":@"],e);n.push(m,p);let h=xye(n,s);if(m===e.textNodeName){let I=A[u];h||(I=e.tagValueProcessor(m,I),I=Lw(I,e)),I=Lt(I),c&&(a+=r),a+=I,c=!1,n.pop();continue}else if(m===e.cdataPropName){c&&(a+=r);let I=A[u][0][e.textNodeName],B=Wg(I);a+=`<![CDATA[${B}]]>`,c=!1,n.pop();continue}else if(m===e.commentPropName){let I=A[u][0][e.textNodeName],B=qd(I);a+=r+`<!--${B}-->`,c=!0,n.pop();continue}else if(m[0]==="?"){let I=vJ(A[":@"],e,h,n,i);a+=(m==="?xml"?"":r)+`<${m}${I}?>`,c=!0,n.pop();continue}let f=r;f!==""&&(f+=e.indentBy);let C=vJ(A[":@"],e,h,n,i),y=r+`<${m}${C}`,E;h?E=TJ(A[u],e):E=DJ(A[u],e,f,n,s,i),e.unpairedTags.indexOf(m)!==-1?e.suppressUnpairedNode?a+=y+">":a+=y+"/>":(!E||E.length===0)&&e.suppressEmptyNode?a+=y+"/>":E&&E.endsWith(">")?a+=y+`>${E}${r}</${m}>`:(a+=y+">",E&&r!==""&&(E.includes("/>")||E.includes("</"))?a+=r+e.indentBy+E+r:a+=E,a+=`</${m}>`),c=!0,n.pop()}return a}o(DJ,"arrToStr");function Bye(t,e){if(!t||e.ignoreAttributes)return null;let r={},n=!1;for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let i=s.startsWith(e.attributeNamePrefix)?s.substr(e.attributeNamePrefix.length):s;r[i]=Ps(t[s]),n=!0}return n?r:null}o(Bye,"extractAttributeValues");function TJ(t,e){if(!Array.isArray(t))return t!=null?Lt(t):"";let r="";for(let n=0;n<t.length;n++){let s=t[n],i=Fw(s);if(i===e.textNodeName)r+=Lt(s[i]);else if(i===e.cdataPropName)r+=s[i][0][e.textNodeName];else if(i===e.commentPropName)r+=s[i][0][e.textNodeName];else{if(i&&i[0]==="?")continue;if(i){let a=Qye(s[":@"],e),c=TJ(s[i],e);!c||c.length===0?r+=`<${i}${a}/>`:r+=`<${i}${a}>${c}</${i}>`}}}return r}o(TJ,"getRawContent");function Qye(t,e){let r="";if(t&&!e.ignoreAttributes)for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let s=t[n];s===!0&&e.suppressBooleanAttributes?r+=` ${n.substr(e.attributeNamePrefix.length)}`:r+=` ${n.substr(e.attributeNamePrefix.length)}="${Ps(s)}"`}return r}o(Qye,"attr_to_str_raw");function Fw(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let n=e[r];if(Object.prototype.hasOwnProperty.call(t,n)&&n!==":@")return n}}o(Fw,"propName");function vJ(t,e,r,n,s){let i="";if(t&&!e.ignoreAttributes)for(let a in t){if(!Object.prototype.hasOwnProperty.call(t,a))continue;let c=a.substr(e.attributeNamePrefix.length),l=r?c:PJ(c,!0,e,n,s),A;r?A=t[a]:(A=e.attributeValueProcessor(a,t[a]),A=Lw(A,e)),A===!0&&e.suppressBooleanAttributes?i+=` ${l}`:i+=` ${l}="${Ps(A)}"`}return i}o(vJ,"attr_to_str");function xye(t,e){if(!e||e.length===0)return!1;for(let r=0;r<e.length;r++)if(t.matches(e[r]))return!0;return!1}o(xye,"checkStopNode");function Lw(t,e){if(t&&t.length>0&&e.processEntities)for(let r=0;r<e.entities.length;r++){let n=e.entities[r];t=t.replace(n.regex,n.val)}return t}o(Lw,"replaceEntitiesValue");function Uw(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}o(Uw,"getIgnoreAttributesFn");var bye={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:o(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:o(function(t,e){return e},"attributeValueProcessor"),preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function xr(t){if(this.options=Object.assign({},bye,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.options.stopNodes.length;e++){let r=this.options.stopNodes[e];typeof r=="string"?this.stopNodeExpressions.push(new Kr(r)):r instanceof Kr&&this.stopNodeExpressions.push(r)}this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=Uw(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Rye),this.processTextOrObjNode=Nye,this.options.format?(this.indentate=Sye,this.tagEndChar=`>
`,this.newLine=`
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(xr,"Builder");function wye(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let s=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(s)return s}let n=r[e.attributeNamePrefix+"version"];if(n)return n}return"1.0"}o(wye,"detectXmlVersionFromObj");function Ow(t,e,r,n,s){return!r.sanitizeName||s(t)?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(Ow,"resolveTagName");xr.prototype.build=function(t){if(this.options.preserveOrder)return _w(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new vs,r=wye(t,this.options),n=zg("qName",{xmlVersion:r});return this.j2x(t,0,e,n).val}};xr.prototype.j2x=function(t,e,r,n){let s="",i="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");let a=this.options.jPath?r.toString():r,c=this.checkStopNode(r);for(let l in t){if(!Object.prototype.hasOwnProperty.call(t,l))continue;let u=l===this.options.textNodeName||l===this.options.cdataPropName||l===this.options.commentPropName||this.options.attributesGroupName&&l===this.options.attributesGroupName||this.isAttribute(l)||l[0]==="?"?l:Ow(l,!1,this.options,r,n);if(typeof t[l]>"u")this.isAttribute(l)&&(i+="");else if(t[l]===null)this.isAttribute(l)||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[l]instanceof Date)i+=this.buildTextValNode(t[l],u,"",e,r);else if(typeof t[l]!="object"){let d=this.isAttribute(l);if(d&&!this.ignoreAttributesFn(d,a)){let m=Ow(d,!0,this.options,r,n);s+=this.buildAttrPairStr(m,Lt(t[l]),c)}else if(!d)if(l===this.options.textNodeName){let m=this.options.tagValueProcessor(l,Lt(t[l]));i+=this.replaceEntitiesValue(m)}else{r.push(u);let m=this.checkStopNode(r);if(r.pop(),m){let p=Lt(t[l]);p===""?i+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:i+=this.indentate(e)+"<"+u+">"+p+"</"+u+this.tagEndChar}else i+=this.buildTextValNode(t[l],u,"",e,r)}}else if(Array.isArray(t[l])){let d=t[l].length,m="",p="";for(let h=0;h<d;h++){let f=t[l][h];if(!(typeof f>"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 C=this.j2x(f,e+1,r,n);r.pop(),m+=C.val,this.options.attributesGroupName&&f.hasOwnProperty(this.options.attributesGroupName)&&(p+=C.attrStr)}else m+=this.processTextOrObjNode(f,u,e,r,n);else if(this.options.oneListGroup){let C=this.options.tagValueProcessor(u,f);C=this.replaceEntitiesValue(C),C=Lt(C),m+=C}else{r.push(u);let C=this.checkStopNode(r);if(r.pop(),C){let y=Lt(f);y===""?m+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:m+=this.indentate(e)+"<"+u+">"+y+"</"+u+this.tagEndChar}else m+=this.buildTextValNode(f,u,"",e,r)}}this.options.oneListGroup&&(m=this.buildObjectNode(m,u,p,e)),i+=m}else if(this.options.attributesGroupName&&l===this.options.attributesGroupName){let d=Object.keys(t[l]),m=d.length;for(let p=0;p<m;p++){let h=Ow(d[p],!0,this.options,r,n);s+=this.buildAttrPairStr(h,Lt(t[l][d[p]]),c)}}else i+=this.processTextOrObjNode(t[l],u,e,r,n)}return{attrStr:s,val:i}};xr.prototype.buildAttrPairStr=function(t,e,r){return r||(e=this.options.attributeValueProcessor(t,Lt(e)),e=this.replaceEntitiesValue(e)),this.options.suppressBooleanAttributes&&e==="true"?" "+t:" "+t+'="'+Ps(e)+'"'};function Nye(t,e,r,n,s){let i=this.extractAttributes(t);if(n.push(e,i),this.checkStopNode(n)){let l=this.buildRawContent(t),A=this.buildAttributesForStopNode(t);return n.pop(),this.buildObjectNode(l,e,A,r)}let c=this.j2x(t,r+1,n,s);return n.pop(),e[0]==="?"?this.buildTextValNode("",e,c.attrStr,r,n):t[this.options.textNodeName]!==void 0&&Object.keys(t).length===1?this.buildTextValNode(t[this.options.textNodeName],e,c.attrStr,r,n):this.buildObjectNode(c.val,e,c.attrStr,r)}o(Nye,"processTextOrObjNode");xr.prototype.extractAttributes=function(t){if(!t||typeof t!="object")return null;let e={},r=!1;if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){let n=t[this.options.attributesGroupName];for(let s in n){if(!Object.prototype.hasOwnProperty.call(n,s))continue;let i=s.startsWith(this.options.attributeNamePrefix)?s.substring(this.options.attributeNamePrefix.length):s;e[i]=Ps(n[s]),r=!0}}else for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let s=this.isAttribute(n);s&&(e[s]=Ps(t[n]),r=!0)}return r?e:null};xr.prototype.buildRawContent=function(t){if(typeof t=="string")return t;if(typeof t!="object"||t===null)return String(t);if(t[this.options.textNodeName]!==void 0)return t[this.options.textNodeName];let e="";for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;let n=t[r];if(r===this.options.textNodeName)e+=n;else if(Array.isArray(n)){for(let s of n)if(typeof s=="string"||typeof s=="number")e+=`<${r}>${s}</${r}>`;else if(typeof s=="object"&&s!==null){let i=this.buildRawContent(s),a=this.buildAttributesForStopNode(s);i===""?e+=`<${r}${a}/>`:e+=`<${r}${a}>${i}</${r}>`}}else if(typeof n=="object"&&n!==null){let s=this.buildRawContent(n),i=this.buildAttributesForStopNode(n);s===""?e+=`<${r}${i}/>`:e+=`<${r}${i}>${s}</${r}>`}else e+=`<${r}>${n}</${r}>`}return e};xr.prototype.buildAttributesForStopNode=function(t){if(!t||typeof t!="object")return"";let e="";if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){let r=t[this.options.attributesGroupName];for(let n in r){if(!Object.prototype.hasOwnProperty.call(r,n))continue;let s=n.startsWith(this.options.attributeNamePrefix)?n.substring(this.options.attributeNamePrefix.length):n,i=r[n];i===!0&&this.options.suppressBooleanAttributes?e+=" "+s:e+=" "+s+'="'+Ps(i)+'"'}}else for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let n=this.isAttribute(r);if(n){let s=t[r];s===!0&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+Ps(s)+'"'}}return e};xr.prototype.buildObjectNode=function(t,e,r,n){if(t==="")return e[0]==="?"?this.indentate(n)+"<"+e+r+"?"+this.tagEndChar:this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar;if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let s="</"+e+this.tagEndChar,i="";return e[0]==="?"&&(i="?",s=""),(r||r==="")&&t.indexOf("<")===-1?this.indentate(n)+"<"+e+r+i+">"+t+s:this.options.commentPropName!==!1&&e===this.options.commentPropName&&i.length===0?this.indentate(n)+`<!--${qd(t)}-->`+this.newLine:this.indentate(n)+"<"+e+r+i+this.tagEndChar+t+this.indentate(n)+s}};xr.prototype.closeTag=function(t){let e="";return this.options.unpairedTags.indexOf(t)!==-1?this.options.suppressUnpairedNode||(e="/"):this.options.suppressEmptyNode?e="/":e=`></${t}`,e};xr.prototype.checkStopNode=function(t){if(!this.stopNodeExpressions||this.stopNodeExpressions.length===0)return!1;for(let e=0;e<this.stopNodeExpressions.length;e++)if(t.matches(this.stopNodeExpressions[e]))return!0;return!1};xr.prototype.buildTextValNode=function(t,e,r,n,s){if(this.options.cdataPropName!==!1&&e===this.options.cdataPropName){let i=Wg(t);return this.indentate(n)+`<![CDATA[${i}]]>`+this.newLine}else if(this.options.commentPropName!==!1&&e===this.options.commentPropName){let i=qd(t);return this.indentate(n)+`<!--${i}-->`+this.newLine}else{if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(e,t);return i=this.replaceEntitiesValue(i),i=Lt(i),i===""?this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(n)+"<"+e+r+">"+i+"</"+e+this.tagEndChar}}};xr.prototype.replaceEntitiesValue=function(t){if(t&&t.length>0&&this.options.processEntities)for(let e=0;e<this.options.entities.length;e++){let r=this.options.entities[e];t=t.replace(r.regex,r.val)}return t};function Sye(t){return this.options.indentBy.repeat(t)}o(Sye,"indentate");function Rye(t){return t.startsWith(this.options.attributeNamePrefix)&&t!==this.options.textNodeName?t.substr(this.attrPrefixLen):!1}o(Rye,"isAttribute");var qw=xr;var kJ={validate:qg};function _J(t){var e;return{attributesGroupName:"$",textNodeName:(e=t.xmlCharKey)!==null&&e!==void 0?e:"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}o(_J,"getCommonOptions");function vye(t={}){var e,r;return Object.assign(Object.assign({},_J(t)),{attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:(e=t.rootName)!==null&&e!==void 0?e:"root",cdataPropName:(r=t.cdataPropName)!==null&&r!==void 0?r:"__cdata"})}o(vye,"getSerializerOptions");function Pye(t={}){return Object.assign(Object.assign({},_J(t)),{parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:t.stopNodes,processEntities:!0,trimValues:!1})}o(Pye,"getParserOptions");function jg(t,e={}){let r=vye(e),n=new qw(r),s={[r.rootNodeName]:t};return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${n.build(s)}`.replace(/\n/g,"")}o(jg,"stringifyXML");async function Hw(t,e={}){if(!t)throw new Error("Document is empty");let r=kJ.validate(t);if(r!==!0)throw r;let s=new ql(Pye(e)).parse(t);if(s["?xml"]&&delete s["?xml"],!e.includeRoot)for(let i of Object.keys(s)){let a=s[i];return typeof a=="object"?Object.assign({},a):a}return s}o(Hw,"parseXML");var Kg=ws("storage-blob");var OJ=require("events");var FJ=require("node:stream");var Xg=class extends FJ.Readable{static{o(this,"BuffersStream")}buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,r,n){super(n),this.buffers=e,this.byteLength=r,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let s=0;for(let i of this.buffers)s+=i.byteLength;if(s<this.byteLength)throw new Error("Data size shouldn't be larger than the total length of buffers.")}_read(e){this.pushedBytesLength>=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let r=[],n=0;for(;n<e&&this.pushedBytesLength<this.byteLength;){let s=this.byteLength-this.pushedBytesLength,i=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,a=Math.min(i,s);if(a>e-n){let c=this.byteOffsetInCurrentBuffer+e-n;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),this.pushedBytesLength+=e-n,this.byteOffsetInCurrentBuffer=c,n=e;break}else{let c=this.byteOffsetInCurrentBuffer+a;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),a===i?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=c,this.pushedBytesLength+=a,n+=a}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};var UJ=Q(require("node:buffer"),1);var Zg=UJ.default.constants.MAX_LENGTH,ey=class{static{o(this,"PooledBuffer")}buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,n){this.capacity=e,this._size=0;let s=Math.ceil(e/Zg);for(let i=0;i<s;i++){let a=i===s-1?e%Zg:Zg;a===0&&(a=Zg),this.buffers.push(Buffer.allocUnsafe(a))}r&&this.fill(r,n)}fill(e,r){this._size=Math.min(this.capacity,r);let n=0,s=0,i=0,a=0,c=0;for(;c<this._size;){let l=e[n],A=this.buffers[s],u=l.copy(A,i,a);c+=u,a+=u,i+=u,a===l.length&&(n++,a=0),i===A.length&&(s++,i=0)}e.splice(0,n),e.length>0&&(e[0]=e[0].slice(a))}getReadableStream(){return new Xg(this.buffers,this.size)}};var ty=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new OJ.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,n,s,i,a){if(r<=0)throw new RangeError(`bufferSize must be larger than 0, current is ${r}`);if(n<=0)throw new RangeError(`maxBuffers must be larger than 0, current is ${n}`);if(i<=0)throw new RangeError(`concurrency must be larger than 0, current is ${i}`);this.bufferSize=r,this.maxBuffers=n,this.readable=e,this.outgoingHandler=s,this.concurrency=i,this.encoding=a}async do(){return new Promise((e,r)=>{this.readable.on("data",n=>{n=typeof n=="string"?Buffer.from(n,this.encoding):n,this.appendUnresolvedData(n),this.resolveData()||this.readable.pause()}),this.readable.on("error",n=>{this.emitter.emit("error",n)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",n=>{this.isError=!0,this.readable.pause(),r(n)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0)if(this.unresolvedLength>0&&this.unresolvedLength<this.bufferSize){let n=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler(()=>n.getReadableStream(),n.size,this.offset).then(e).catch(r)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new ey(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.maxBuffers)e=this.shiftBufferFromUnresolvedDataArray(),this.numBuffers++;else return!1;this.outgoing.push(e),this.triggerOutgoingHandlers()}return!0}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency)return;e=this.outgoing.shift(),e&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let r=e.size;this.executingOutgoingHandlers++,this.offset+=r;try{await this.outgoingHandler(()=>e.getReadableStream(),r,this.offset-r)}catch(n){this.emitter.emit("error",n);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}};var zw;function Gw(){return zw||(zw=bd()),zw}o(Gw,"getCachedDefaultHttpClient");var Ds=class{static{o(this,"BaseRequestPolicy")}_nextPolicy;_options;constructor(e,r){this._nextPolicy=e,this._options=r}shouldLog(e){return this._options.shouldLog(e)}log(e,r){this._options.log(e,r)}};var vi={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}},Z={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 So(t,e,r){let n=new URL(t),s=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[A]=l.split("=",2);A!==s&&c.push(l)}return i&&c.push(`${s}=${i}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(So,"setURLParameter");function ry(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(ry,"setURLHost");function ny(t){try{return new URL(t).pathname}catch{return}}o(ny,"getURLPath");function sy(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(s=>{let i=s.indexOf("="),a=s.lastIndexOf("=");return i>0&&i===a&&a<s.length-1});let n={};for(let s of r){let i=s.split("="),a=i[0],c=i[1];n[a]=c}return n}o(sy,"getURLQueries");async function iy(t,e,r){return new Promise((n,s)=>{let i,a=o(()=>{i!==void 0&&clearTimeout(i),s(r)},"abortHandler");i=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(iy,"delay");var Hd=class extends Ds{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return Ie?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=So(e.url,vi.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(Z.COOKIE),e.headers.remove(Z.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};var zd=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new Hd(e,r)}};var La=class extends Ds{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var Gd=class extends La{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var _a=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var ze=class extends _a{static{o(this,"AnonymousCredential")}create(e,r){return new Gd(e,r)}};var qJ=require("node:crypto");var Dye=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]),Tye=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]),kye=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 oy(t,e){return Mye(t,e)?-1:1}o(oy,"compareHeader");function Mye(t,e){let r=[Dye,Tye,kye],n=0,s=0,i=0;for(;n<r.length;){if(n===r.length-1&&s!==i)return s>i;let a=s<t.length?r[n][t[s].charCodeAt(0)]:1,c=i<e.length?r[n][e[i].charCodeAt(0)]:1;if(a===1&&c===1)s=0,i=0,++n;else if(a===c)++s,++i;else if(a===0)++s;else if(c===0)++i;else return a<c}return!1}o(Mye,"isLessThan");var Yd=class extends La{static{o(this,"StorageSharedKeyCredentialPolicy")}factory;constructor(e,r,n){super(e,r),this.factory=n}signRequest(e){e.headers.set(Z.X_MS_DATE,new Date().toUTCString()),e.body&&(typeof e.body=="string"||e.body!==void 0)&&e.body.length>0&&e.headers.set(Z.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,Z.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,Z.CONTENT_ENCODING),this.getHeaderValueToSign(e,Z.CONTENT_LENGTH),this.getHeaderValueToSign(e,Z.CONTENT_MD5),this.getHeaderValueToSign(e,Z.CONTENT_TYPE),this.getHeaderValueToSign(e,Z.DATE),this.getHeaderValueToSign(e,Z.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,Z.IF_MATCH),this.getHeaderValueToSign(e,Z.IF_NONE_MATCH),this.getHeaderValueToSign(e,Z.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,Z.RANGE)].join(`
`)+`
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(r);return e.headers.set(Z.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===Z.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(s=>s.name.toLowerCase().startsWith(Z.PREFIX_FOR_STORAGE));r.sort((s,i)=>oy(s.name.toLowerCase(),i.name.toLowerCase())),r=r.filter((s,i,a)=>!(i>0&&s.name.toLowerCase()===a[i-1].name.toLowerCase()));let n="";return r.forEach(s=>{n+=`${s.name.toLowerCase().trimRight()}:${s.value.trimLeft()}
`}),n}getCanonicalizedResourceString(e){let r=ny(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let s=sy(e.url),i={};if(s){let a=[];for(let c in s)if(Object.prototype.hasOwnProperty.call(s,c)){let l=c.toLowerCase();i[l]=s[c],a.push(l)}a.sort();for(let c of a)n+=`
${c}:${decodeURIComponent(i[c])}`}return n}};var je=class extends _a{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new Yd(e,r,this)}computeHMACSHA256(e){return(0,qJ.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var Et=ws("storage-common");var Qn;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(Qn||(Qn={}));var Ro={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Qn.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Lye=new $r("The operation was aborted."),Vd=class extends Ds{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=Ro){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:Ro.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):Ro.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:Ro.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:Ro.maxRetryDelayInMs):Ro.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:Ro.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:Ro.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,n){let s=e.clone(),i=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;i||(s.url=ry(s.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(s.url=So(s.url,vi.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Et.info(`RetryPolicy: =====> Try=${n} ${i?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(s),!this.shouldRetry(i,n,a))return a;r=r||!i&&a.status===404}catch(c){if(Et.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(i,n,a,c))throw c}return await this.delay(i,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,s){if(r>=this.retryOptions.maxTries)return Et.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(s){for(let a of i)if(s.name.toUpperCase().includes(a)||s.message.toUpperCase().includes(a)||s.code&&s.code.toString().toUpperCase()===a)return Et.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(n||s){let a=n?n.status:s?s.statusCode:0;if(!e&&a===404)return Et.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Et.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(n&&n?.status>=400){let a=n.headers.get(Z.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return s?.code==="PARSE_ERROR"&&s?.message.startsWith('Error "Error: Unclosed root tag')?(Et.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,n){let s=0;if(e)switch(this.retryOptions.retryPolicyType){case Qn.EXPONENTIAL:s=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Qn.FIXED:s=this.retryOptions.retryDelayInMs;break}else s=Math.random()*1e3;return Et.info(`RetryPolicy: Delay for ${s}ms`),iy(s,n,Lye)}};var Jd=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new Vd(e,r,this.retryOptions)}};var _ye="storageBrowserPolicy";function HJ(){return{name:_ye,async sendRequest(t,e){return Ie||((t.method==="GET"||t.method==="HEAD")&&(t.url=So(t.url,vi.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Z.COOKIE),t.headers.delete(Z.CONTENT_LENGTH)),e(t)}}}o(HJ,"storageBrowserPolicy");var Fye="StorageCorrectContentLengthPolicy";function zJ(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(Z.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:Fye,async sendRequest(e,r){return t(e),r(e)}}}o(zJ,"storageCorrectContentLengthPolicy");var Uye="storageRetryPolicy",Hl={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Qn.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Oye=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],qye=new $r("The operation was aborted.");function GJ(t={}){let e=t.retryPolicyType??Hl.retryPolicyType,r=t.maxTries??Hl.maxTries,n=t.retryDelayInMs??Hl.retryDelayInMs,s=t.maxRetryDelayInMs??Hl.maxRetryDelayInMs,i=t.secondaryHost??Hl.secondaryHost,a=t.tryTimeoutInMs??Hl.tryTimeoutInMs;function c({isPrimaryRetry:A,attempt:u,response:d,error:m}){if(u>=r)return Et.info(`RetryPolicy: Attempt(s) ${u} >= maxTries ${r}, no further try.`),!1;if(m){for(let p of Oye)if(m.name.toUpperCase().includes(p)||m.message.toUpperCase().includes(p)||m.code&&m.code.toString().toUpperCase()===p)return Et.info(`RetryPolicy: Network error ${p} found, will retry.`),!0;if(m?.code==="PARSE_ERROR"&&m?.message.startsWith('Error "Error: Unclosed root tag'))return Et.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(d||m){let p=d?.status??m?.statusCode??0;if(!A&&p===404)return Et.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(p===503||p===500)return Et.info(`RetryPolicy: Will retry for status code ${p}.`),!0}if(d&&d?.status>=400){let p=d.headers.get(Z.X_MS_CopySourceErrorCode);if(p!==void 0)switch(p){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}o(c,"shouldRetry");function l(A,u){let d=0;if(A)switch(e){case Qn.EXPONENTIAL:d=Math.min((Math.pow(2,u-1)-1)*n,s);break;case Qn.FIXED:d=n;break}else d=Math.random()*1e3;return Et.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:Uye,async sendRequest(A,u){a&&(A.url=So(A.url,vi.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=A.url,m=i?ry(A.url,i):void 0,p=!1,h=1,f=!0,C,y;for(;f;){let E=p||!m||!["GET","HEAD","OPTIONS"].includes(A.method)||h%2===1;A.url=E?d:m,C=void 0,y=void 0;try{Et.info(`RetryPolicy: =====> Try=${h} ${E?"Primary":"Secondary"}`),C=await u(A),p=p||!E&&C.status===404}catch(I){if(Sa(I))Et.error(`RetryPolicy: Caught error, message: ${I.message}, code: ${I.code}`),y=I;else throw Et.error(`RetryPolicy: Caught error, message: ${xo(I)}`),I}f=c({isPrimaryRetry:E,attempt:h,response:C,error:y}),f&&await iy(l(E,h),A.abortSignal,qye),h++}if(C)return C;throw y??new Ni("RetryPolicy failed without known error.")}}}o(GJ,"storageRetryPolicy");var YJ=require("node:crypto");var Hye="storageSharedKeyCredentialPolicy";function Yw(t){function e(i){i.headers.set(Z.X_MS_DATE,new Date().toUTCString()),i.body&&(typeof i.body=="string"||Buffer.isBuffer(i.body))&&i.body.length>0&&i.headers.set(Z.CONTENT_LENGTH,Buffer.byteLength(i.body));let a=[i.method.toUpperCase(),r(i,Z.CONTENT_LANGUAGE),r(i,Z.CONTENT_ENCODING),r(i,Z.CONTENT_LENGTH),r(i,Z.CONTENT_MD5),r(i,Z.CONTENT_TYPE),r(i,Z.DATE),r(i,Z.IF_MODIFIED_SINCE),r(i,Z.IF_MATCH),r(i,Z.IF_NONE_MATCH),r(i,Z.IF_UNMODIFIED_SINCE),r(i,Z.RANGE)].join(`
`)+`
`+n(i)+s(i),c=(0,YJ.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");i.headers.set(Z.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(i,a){let c=i.headers.get(a);return!c||a===Z.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function n(i){let a=[];for(let[l,A]of i.headers)l.toLowerCase().startsWith(Z.PREFIX_FOR_STORAGE)&&a.push({name:l,value:A});a.sort((l,A)=>oy(l.name.toLowerCase(),A.name.toLowerCase())),a=a.filter((l,A,u)=>!(A>0&&l.name.toLowerCase()===u[A-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()}
`}),c}o(n,"getCanonicalizedHeadersString");function s(i){let a=ny(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=sy(i.url),A={};if(l){let u=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let m=d.toLowerCase();A[m]=l[d],u.push(m)}u.sort();for(let d of u)c+=`
${d}:${decodeURIComponent(A[d])}`}return c}return o(s,"getCanonicalizedResourceString"),{name:Hye,async sendRequest(i,a){return e(i),a(i)}}}o(Yw,"storageSharedKeyCredentialPolicy");var zye="storageRequestFailureDetailsParserPolicy";function VJ(){return{name:zye,async sendRequest(t,e){try{return await e(t)}catch(r){throw typeof r=="object"&&r!==null&&r.response&&r.response.parsedBody&&r.response.parsedBody.code==="InvalidHeaderValue"&&r.response.parsedBody.HeaderName==="x-ms-version"&&(r.message=`The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.
`),r}}}}o(VJ,"storageRequestFailureDetailsParserPolicy");var JJ=require("node:crypto");var ay=class{static{o(this,"UserDelegationKeyCredential")}accountName;userDelegationKey;key;constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return(0,JJ.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var cy="12.31.0",ly="2026-02-06";var Ay="https://storage.azure.com/.default",Pi={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var $n="",Vw="*",Gye=1*1024*1024;var Yye=4*Gye;var $J="AES256",WJ="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",jJ=["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"],KJ=["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"],XJ="BlobUsesCustomerSpecifiedEncryption",ZJ="BlobDoesNotUseCustomerSpecifiedEncryption",e3=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function Di(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}o(Di,"isPipelineLike");var $d=class{static{o(this,"Pipeline")}factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function ct(t,e={}){t||(t=new ze);let r=new $d([],e);return r._credential=t,r}o(ct,"newPipeline");function Vye(t){let e=[Jye,t3,$ye,Wye,jye,Kye,Zye];if(t.factories.length){let r=t.factories.filter(n=>!e.some(s=>s(n)));if(r.length){let n=r.some(s=>Xye(s));return{wrappedPolicies:mw(r),afterRetry:n}}}}o(Vye,"processDownlevelPipeline");function Jw(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?pw(e):Gw(),t._coreHttpClient=n);let s=t._corePipeline;if(!s){let i=`azsdk-js-azure-storage-blob/${cy}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;s=Nd({...r,loggingOptions:{additionalAllowedHeaderNames:jJ,additionalAllowedQueryParameters:KJ,logger:Kg.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:jg,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:Hw,serializerOptions:{xml:{xmlCharKey:"#"}}}}),s.removePolicy({phase:"Retry"}),s.removePolicy({name:z0}),s.addPolicy(zJ()),s.addPolicy(GJ(r.retryOptions),{phase:"Retry"}),s.addPolicy(VJ()),s.addPolicy(HJ());let c=Vye(t);c&&s.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=$w(t);Wr(l)?s.addPolicy(Tl({credential:l,scopes:r.audience??Ay,challengeCallbacks:{authorizeRequestOnChallenge:_g}}),{phase:"Sign"}):l instanceof je&&s.addPolicy(Yw({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=s}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:s}}o(Jw,"getCoreClientOptions");function $w(t){if(t._credential)return t._credential;let e=new ze;for(let r of t.factories)if(Wr(r.credential))e=r.credential;else if(t3(r))return r;return e}o($w,"getCredentialFromPipeline");function t3(t){return t instanceof je?!0:t.constructor.name==="StorageSharedKeyCredential"}o(t3,"isStorageSharedKeyCredential");function Jye(t){return t instanceof ze?!0:t.constructor.name==="AnonymousCredential"}o(Jye,"isAnonymousCredential");function $ye(t){return Wr(t.credential)}o($ye,"isCoreHttpBearerTokenFactory");function Wye(t){return t instanceof zd?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(Wye,"isStorageBrowserPolicyFactory");function jye(t){return t instanceof Jd?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(jye,"isStorageRetryPolicyFactory");function Kye(t){return t.constructor.name==="TelemetryPolicyFactory"}o(Kye,"isStorageTelemetryPolicyFactory");function Xye(t){return t.constructor.name==="InjectorPolicyFactory"}o(Xye,"isInjectorPolicyFactory");function Zye(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:o(async a=>({request:a,headers:a.headers.clone(),status:500}),"sendRequest")},n={log(a,c){},shouldLog(a){return!1}},i=t.create(r,n).constructor.name;return e.some(a=>i.startsWith(a))}o(Zye,"isCoreHttpPolicyFactory");var r3;(function(t){t.AES256="AES256"})(r3||(r3={}));var n3;(function(t){t.Backup="backup"})(n3||(n3={}));var s3;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(s3||(s3={}));var i3;(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"})(i3||(i3={}));var Zr={};a9(Zr,{AccessPolicy:()=>uEe,AppendBlobAppendBlockExceptionHeaders:()=>pR,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>fR,AppendBlobAppendBlockFromUrlHeaders:()=>hR,AppendBlobAppendBlockHeaders:()=>mR,AppendBlobCreateExceptionHeaders:()=>dR,AppendBlobCreateHeaders:()=>uR,AppendBlobSealExceptionHeaders:()=>yR,AppendBlobSealHeaders:()=>gR,ArrowConfiguration:()=>bEe,ArrowField:()=>wEe,BlobAbortCopyFromURLExceptionHeaders:()=>FS,BlobAbortCopyFromURLHeaders:()=>_S,BlobAcquireLeaseExceptionHeaders:()=>BS,BlobAcquireLeaseHeaders:()=>IS,BlobBreakLeaseExceptionHeaders:()=>vS,BlobBreakLeaseHeaders:()=>RS,BlobChangeLeaseExceptionHeaders:()=>SS,BlobChangeLeaseHeaders:()=>NS,BlobCopyFromURLExceptionHeaders:()=>LS,BlobCopyFromURLHeaders:()=>MS,BlobCreateSnapshotExceptionHeaders:()=>DS,BlobCreateSnapshotHeaders:()=>PS,BlobDeleteExceptionHeaders:()=>oS,BlobDeleteHeaders:()=>iS,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>fS,BlobDeleteImmutabilityPolicyHeaders:()=>hS,BlobDownloadExceptionHeaders:()=>rS,BlobDownloadHeaders:()=>dy,BlobFlatListSegment:()=>dEe,BlobGetAccountInfoExceptionHeaders:()=>qS,BlobGetAccountInfoHeaders:()=>OS,BlobGetPropertiesExceptionHeaders:()=>sS,BlobGetPropertiesHeaders:()=>nS,BlobGetTagsExceptionHeaders:()=>GS,BlobGetTagsHeaders:()=>zS,BlobHierarchyListSegment:()=>fEe,BlobItemInternal:()=>mEe,BlobName:()=>pEe,BlobPrefix:()=>gEe,BlobPropertiesInternal:()=>hEe,BlobQueryExceptionHeaders:()=>HS,BlobQueryHeaders:()=>py,BlobReleaseLeaseExceptionHeaders:()=>xS,BlobReleaseLeaseHeaders:()=>QS,BlobRenewLeaseExceptionHeaders:()=>wS,BlobRenewLeaseHeaders:()=>bS,BlobServiceProperties:()=>Wd,BlobServiceStatistics:()=>Ww,BlobSetExpiryExceptionHeaders:()=>AS,BlobSetExpiryHeaders:()=>lS,BlobSetHttpHeadersExceptionHeaders:()=>dS,BlobSetHttpHeadersHeaders:()=>uS,BlobSetImmutabilityPolicyExceptionHeaders:()=>pS,BlobSetImmutabilityPolicyHeaders:()=>mS,BlobSetLegalHoldExceptionHeaders:()=>yS,BlobSetLegalHoldHeaders:()=>gS,BlobSetMetadataExceptionHeaders:()=>CS,BlobSetMetadataHeaders:()=>ES,BlobSetTagsExceptionHeaders:()=>VS,BlobSetTagsHeaders:()=>YS,BlobSetTierExceptionHeaders:()=>US,BlobSetTierHeaders:()=>my,BlobStartCopyFromURLExceptionHeaders:()=>kS,BlobStartCopyFromURLHeaders:()=>TS,BlobTag:()=>lEe,BlobTags:()=>Kd,BlobUndeleteExceptionHeaders:()=>cS,BlobUndeleteHeaders:()=>aS,Block:()=>yEe,BlockBlobCommitBlockListExceptionHeaders:()=>SR,BlockBlobCommitBlockListHeaders:()=>NR,BlockBlobGetBlockListExceptionHeaders:()=>vR,BlockBlobGetBlockListHeaders:()=>RR,BlockBlobPutBlobFromUrlExceptionHeaders:()=>BR,BlockBlobPutBlobFromUrlHeaders:()=>IR,BlockBlobStageBlockExceptionHeaders:()=>xR,BlockBlobStageBlockFromURLExceptionHeaders:()=>wR,BlockBlobStageBlockFromURLHeaders:()=>bR,BlockBlobStageBlockHeaders:()=>QR,BlockBlobUploadExceptionHeaders:()=>CR,BlockBlobUploadHeaders:()=>ER,BlockList:()=>rN,BlockLookupList:()=>tN,ClearRange:()=>CEe,ContainerAcquireLeaseExceptionHeaders:()=>qN,ContainerAcquireLeaseHeaders:()=>ON,ContainerBreakLeaseExceptionHeaders:()=>JN,ContainerBreakLeaseHeaders:()=>VN,ContainerChangeLeaseExceptionHeaders:()=>WN,ContainerChangeLeaseHeaders:()=>$N,ContainerCreateExceptionHeaders:()=>IN,ContainerCreateHeaders:()=>CN,ContainerDeleteExceptionHeaders:()=>bN,ContainerDeleteHeaders:()=>xN,ContainerFilterBlobsExceptionHeaders:()=>UN,ContainerFilterBlobsHeaders:()=>FN,ContainerGetAccessPolicyExceptionHeaders:()=>RN,ContainerGetAccessPolicyHeaders:()=>SN,ContainerGetAccountInfoExceptionHeaders:()=>tS,ContainerGetAccountInfoHeaders:()=>eS,ContainerGetPropertiesExceptionHeaders:()=>QN,ContainerGetPropertiesHeaders:()=>BN,ContainerItem:()=>oEe,ContainerListBlobFlatSegmentExceptionHeaders:()=>KN,ContainerListBlobFlatSegmentHeaders:()=>jN,ContainerListBlobHierarchySegmentExceptionHeaders:()=>ZN,ContainerListBlobHierarchySegmentHeaders:()=>XN,ContainerProperties:()=>aEe,ContainerReleaseLeaseExceptionHeaders:()=>zN,ContainerReleaseLeaseHeaders:()=>HN,ContainerRenameExceptionHeaders:()=>MN,ContainerRenameHeaders:()=>kN,ContainerRenewLeaseExceptionHeaders:()=>YN,ContainerRenewLeaseHeaders:()=>GN,ContainerRestoreExceptionHeaders:()=>TN,ContainerRestoreHeaders:()=>DN,ContainerSetAccessPolicyExceptionHeaders:()=>PN,ContainerSetAccessPolicyHeaders:()=>vN,ContainerSetMetadataExceptionHeaders:()=>NN,ContainerSetMetadataHeaders:()=>wN,ContainerSubmitBatchExceptionHeaders:()=>_N,ContainerSubmitBatchHeaders:()=>LN,CorsRule:()=>nEe,DelimitedTextConfiguration:()=>QEe,FilterBlobItem:()=>cEe,FilterBlobSegment:()=>jd,GeoReplication:()=>iEe,JsonTextConfiguration:()=>xEe,KeyInfo:()=>Kw,ListBlobsFlatSegmentResponse:()=>Zw,ListBlobsHierarchySegmentResponse:()=>eN,ListContainersSegmentResponse:()=>jw,Logging:()=>eEe,Metrics:()=>rEe,PageBlobClearPagesExceptionHeaders:()=>XS,PageBlobClearPagesHeaders:()=>KS,PageBlobCopyIncrementalExceptionHeaders:()=>AR,PageBlobCopyIncrementalHeaders:()=>lR,PageBlobCreateExceptionHeaders:()=>$S,PageBlobCreateHeaders:()=>JS,PageBlobGetPageRangesDiffExceptionHeaders:()=>sR,PageBlobGetPageRangesDiffHeaders:()=>nR,PageBlobGetPageRangesExceptionHeaders:()=>rR,PageBlobGetPageRangesHeaders:()=>tR,PageBlobResizeExceptionHeaders:()=>oR,PageBlobResizeHeaders:()=>iR,PageBlobUpdateSequenceNumberExceptionHeaders:()=>cR,PageBlobUpdateSequenceNumberHeaders:()=>aR,PageBlobUploadPagesExceptionHeaders:()=>jS,PageBlobUploadPagesFromURLExceptionHeaders:()=>eR,PageBlobUploadPagesFromURLHeaders:()=>ZS,PageBlobUploadPagesHeaders:()=>WS,PageList:()=>uy,PageRange:()=>EEe,QueryFormat:()=>BEe,QueryRequest:()=>nN,QuerySerialization:()=>IEe,RetentionPolicy:()=>tEe,ServiceFilterBlobsExceptionHeaders:()=>EN,ServiceFilterBlobsHeaders:()=>yN,ServiceGetAccountInfoExceptionHeaders:()=>hN,ServiceGetAccountInfoHeaders:()=>pN,ServiceGetPropertiesExceptionHeaders:()=>aN,ServiceGetPropertiesHeaders:()=>oN,ServiceGetStatisticsExceptionHeaders:()=>lN,ServiceGetStatisticsHeaders:()=>cN,ServiceGetUserDelegationKeyExceptionHeaders:()=>mN,ServiceGetUserDelegationKeyHeaders:()=>dN,ServiceListContainersSegmentExceptionHeaders:()=>uN,ServiceListContainersSegmentHeaders:()=>AN,ServiceSetPropertiesExceptionHeaders:()=>iN,ServiceSetPropertiesHeaders:()=>sN,ServiceSubmitBatchExceptionHeaders:()=>gN,ServiceSubmitBatchHeaders:()=>fN,SignedIdentifier:()=>AEe,StaticWebsite:()=>sEe,StorageError:()=>R,UserDelegationKey:()=>Xw});var Wd={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"}}}}},eEe={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"}}}}},tEe={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"}}}}},rEe={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"}}}}},nEe={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"}}}}},sEe={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"}}}}},R={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"}}}}},Ww={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},iEe={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"}}}}},jw={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"}}}}},oEe={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"}}}}}}},aEe={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"}}}}},Kw={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"}}}}},Xw={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"}}}}},jd={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"}}}}},cEe={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"}}}}},Kd={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"}}}}}}},lEe={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"}}}}},AEe={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"}}}}},uEe={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"}}}}},Zw={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"}}}}},dEe={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"}}}}}}},mEe={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"}}}}},pEe={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"}}}}},hEe={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"}}}}},eN={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"}}}}},fEe={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"}}}}}}},gEe={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},tN={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"}}}}}}},rN={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"}}}}}}},yEe={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"}}}}},uy={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"}}}}},EEe={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"}}}}},CEe={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"}}}}},nN={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"}}}}},IEe={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},BEe={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"}}}}}}},QEe={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"}}}}},xEe={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},bEe={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"}}}}}}},wEe={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"}}}}},sN={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"}}}}},iN={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oN={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"}}}}},aN={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cN={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"}}}}},lN={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AN={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"}}}}},uN={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dN={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"}}}}},mN={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pN={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"}}}}},hN={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fN={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"}}}}},gN={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yN={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"}}}}},EN={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CN={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"}}}}},IN={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BN={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"}}}}},QN={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xN={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"}}}}},bN={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wN={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"}}}}},NN={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SN={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"}}}}},RN={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vN={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"}}}}},PN={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DN={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"}}}}},TN={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kN={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"}}}}},MN={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LN={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"}}}}},_N={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FN={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"}}}}},UN={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ON={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"}}}}},qN={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HN={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"}}}}},zN={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GN={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"}}}}},YN={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VN={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"}}}}},JN={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$N={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"}}}}},WN={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jN={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"}}}}},KN={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XN={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"}}}}},ZN={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eS={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"}}}}},tS={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dy={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"}}}}},rS={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nS={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"}}}}},sS={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iS={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"}}}}},oS={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aS={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"}}}}},cS={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lS={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"}}}}},AS={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uS={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"}}}}},dS={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mS={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"]}}}}},pS={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hS={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"}}}}},fS={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gS={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"}}}}},yS={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ES={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"}}}}},CS={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IS={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"}}}}},BS={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QS={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"}}}}},xS={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bS={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"}}}}},wS={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NS={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"}}}}},SS={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RS={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"}}}}},vS={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PS={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"}}}}},DS={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TS={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"}}}}},kS={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"}}}}},MS={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"}}}}},LS={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"}}}}},_S={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"}}}}},FS={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},my={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"}}}}},US={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OS={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"}}}}},qS={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},py={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"}}}}},HS={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zS={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"}}}}},GS={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YS={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"}}}}},VS={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JS={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"}}}}},$S={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WS={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"}}}}},jS={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KS={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"}}}}},XS={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZS={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"}}}}},eR={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"}}}}},tR={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"}}}}},rR={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nR={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"}}}}},sR={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iR={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"}}}}},oR={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aR={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"}}}}},cR={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lR={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"}}}}},AR={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uR={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"}}}}},dR={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mR={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"}}}}},pR={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hR={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"}}}}},fR={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"}}}}},gR={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"}}}}},yR={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ER={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"}}}}},CR={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IR={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"}}}}},BR={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"}}}}},QR={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"}}}}},xR={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bR={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"}}}}},wR={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"}}}}},NR={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"}}}}},SR={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RR={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"}}}}},vR={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Ts={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},o3={parameterPath:"blobServiceProperties",mapper:Wd},xn={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},v={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},Xd={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},bn={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},P={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},D={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},T={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},U={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},a3={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Zd={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},em={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},ks={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},Ms={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},c3={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},l3={parameterPath:"keyInfo",mapper:Kw},A3={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},zl={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},hy={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},fy={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},St={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},gy={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},yy={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ey={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},Rt={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Gt={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},PR={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},u3={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},d3={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},oe={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},ne={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},se={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},Cy={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},DR={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},m3={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},Iy={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},p3={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},h3={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},f3={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},g3={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},y3={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},wn={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},By={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Qy={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},xy={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},by={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},vo={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},wy={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Ny={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Sy={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},Ry={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},vy={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},TR={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"},kR={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},E3={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},or={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},Ls={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},Fa={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},C3={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},I3={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},Ke={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},Xe={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},Ze={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},fe={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},ge={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},Ae={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},B3={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},Q3={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},x3={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},b3={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},w3={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},_s={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},Fs={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},Us={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},Os={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},qs={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},Hs={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},MR={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Wn={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},jn={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},N3={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},S3={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},ft={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},R3={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ti={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"]}}},LR={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},zs={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},Gs={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},Ys={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},Vs={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},Py={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},Ua={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},Kn={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},v3={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},Js={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},P3={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},ki={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},Mi={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},Dy={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},Li={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},D3={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},T3={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},k3={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},M3={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},L3={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"]}}},_3={parameterPath:["options","queryRequest"],mapper:nN},F3={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},_R={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},FR={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},UR={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},OR={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},qR={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},U3={parameterPath:["options","tags"],mapper:Kd},Nn={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},$s={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},O3={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},HR={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},zR={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Oa={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},qa={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Ha={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Ty={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},GR={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},ky={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},My={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},Ly={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},q3={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Gl={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},H3={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},Yl={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},z3={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},YR={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},G3={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},Y3={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},V3={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},J3={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},$3={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},VR={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},JR={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},_y={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},Fy={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},W3={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},$R={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},j3={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},WR={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},jR={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},K3={parameterPath:"blocks",mapper:tN},KR={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},X3={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var Uy=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},NEe)}getProperties(e){return this.client.sendOperationRequest({options:e},SEe)}getStatistics(e){return this.client.sendOperationRequest({options:e},REe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},vEe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},PEe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},DEe)}submitBatch(e,r,n,s){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:s},TEe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},kEe)}},Po=jr(Zr,!0),NEe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:sN},default:{bodyMapper:R,headersMapper:iN}},requestBody:o3,queryParameters:[Xd,bn,P],urlParameters:[v],headerParameters:[Ts,xn,D,T],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Po},SEe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Wd,headersMapper:oN},default:{bodyMapper:R,headersMapper:aN}},queryParameters:[Xd,bn,P],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:Po},REe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Ww,headersMapper:cN},default:{bodyMapper:R,headersMapper:lN}},queryParameters:[Xd,P,a3],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:Po},vEe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:jw,headersMapper:AN},default:{bodyMapper:R,headersMapper:uN}},queryParameters:[P,Zd,em,ks,Ms,c3],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:Po},PEe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:Xw,headersMapper:dN},default:{bodyMapper:R,headersMapper:mN}},requestBody:l3,queryParameters:[Xd,P,A3],urlParameters:[v],headerParameters:[Ts,xn,D,T],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Po},DEe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:pN},default:{bodyMapper:R,headersMapper:hN}},queryParameters:[bn,P,zl],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:Po},TEe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:fN},default:{bodyMapper:R,headersMapper:gN}},requestBody:hy,queryParameters:[P,fy],urlParameters:[v],headerParameters:[xn,D,T,St,gy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Po},kEe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:jd,headersMapper:yN},default:{bodyMapper:R,headersMapper:EN}},queryParameters:[P,ks,Ms,yy,Ey],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:Po};var Oy=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},MEe)}getProperties(e){return this.client.sendOperationRequest({options:e},LEe)}delete(e){return this.client.sendOperationRequest({options:e},_Ee)}setMetadata(e){return this.client.sendOperationRequest({options:e},FEe)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},UEe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},OEe)}restore(e){return this.client.sendOperationRequest({options:e},qEe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},HEe)}submitBatch(e,r,n,s){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:s},zEe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},GEe)}acquireLease(e){return this.client.sendOperationRequest({options:e},YEe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},VEe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},JEe)}breakLease(e){return this.client.sendOperationRequest({options:e},$Ee)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},WEe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},jEe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},KEe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},XEe)}},vt=jr(Zr,!0),MEe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:CN},default:{bodyMapper:R,headersMapper:IN}},queryParameters:[P,Rt],urlParameters:[v],headerParameters:[D,T,U,Gt,PR,u3,d3],isXML:!0,serializer:vt},LEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:BN},default:{bodyMapper:R,headersMapper:QN}},queryParameters:[P,Rt],urlParameters:[v],headerParameters:[D,T,U,oe],isXML:!0,serializer:vt},_Ee={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:xN},default:{bodyMapper:R,headersMapper:bN}},queryParameters:[P,Rt],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se],isXML:!0,serializer:vt},FEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:wN},default:{bodyMapper:R,headersMapper:NN}},queryParameters:[P,Rt,Cy],urlParameters:[v],headerParameters:[D,T,U,Gt,oe,ne],isXML:!0,serializer:vt},UEe={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:SN},default:{bodyMapper:R,headersMapper:RN}},queryParameters:[P,Rt,DR],urlParameters:[v],headerParameters:[D,T,U,oe],isXML:!0,serializer:vt},OEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:vN},default:{bodyMapper:R,headersMapper:PN}},requestBody:m3,queryParameters:[P,Rt,DR],urlParameters:[v],headerParameters:[Ts,xn,D,T,PR,oe,ne,se],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:vt},qEe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:DN},default:{bodyMapper:R,headersMapper:TN}},queryParameters:[P,Rt,Iy],urlParameters:[v],headerParameters:[D,T,U,p3,h3],isXML:!0,serializer:vt},HEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:kN},default:{bodyMapper:R,headersMapper:MN}},queryParameters:[P,Rt,f3],urlParameters:[v],headerParameters:[D,T,U,g3,y3],isXML:!0,serializer:vt},zEe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:LN},default:{bodyMapper:R,headersMapper:_N}},requestBody:hy,queryParameters:[P,fy,Rt],urlParameters:[v],headerParameters:[xn,D,T,St,gy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:vt},GEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:jd,headersMapper:FN},default:{bodyMapper:R,headersMapper:UN}},queryParameters:[P,ks,Ms,yy,Ey,Rt],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:vt},YEe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:ON},default:{bodyMapper:R,headersMapper:qN}},queryParameters:[P,Rt,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,By,Qy,xy],isXML:!0,serializer:vt},VEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:HN},default:{bodyMapper:R,headersMapper:zN}},queryParameters:[P,Rt,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,by,vo],isXML:!0,serializer:vt},JEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:GN},default:{bodyMapper:R,headersMapper:YN}},queryParameters:[P,Rt,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,vo,wy],isXML:!0,serializer:vt},$Ee={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:VN},default:{bodyMapper:R,headersMapper:JN}},queryParameters:[P,Rt,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,Ny,Sy],isXML:!0,serializer:vt},WEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:$N},default:{bodyMapper:R,headersMapper:WN}},queryParameters:[P,Rt,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,vo,Ry,vy],isXML:!0,serializer:vt},jEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Zw,headersMapper:jN},default:{bodyMapper:R,headersMapper:KN}},queryParameters:[P,Zd,em,ks,Ms,Rt,TR,kR],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:vt},KEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:eN,headersMapper:XN},default:{bodyMapper:R,headersMapper:ZN}},queryParameters:[P,Zd,em,ks,Ms,Rt,TR,kR,E3],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:vt},XEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:eS},default:{bodyMapper:R,headersMapper:tS}},queryParameters:[bn,P,zl],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:vt};var qy=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},ZEe)}getProperties(e){return this.client.sendOperationRequest({options:e},eCe)}delete(e){return this.client.sendOperationRequest({options:e},tCe)}undelete(e){return this.client.sendOperationRequest({options:e},rCe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},nCe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},sCe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},iCe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},oCe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},aCe)}setMetadata(e){return this.client.sendOperationRequest({options:e},cCe)}acquireLease(e){return this.client.sendOperationRequest({options:e},lCe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},ACe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},uCe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},dCe)}breakLease(e){return this.client.sendOperationRequest({options:e},mCe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},pCe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},hCe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},fCe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},gCe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},yCe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},ECe)}query(e){return this.client.sendOperationRequest({options:e},CCe)}getTags(e){return this.client.sendOperationRequest({options:e},ICe)}setTags(e){return this.client.sendOperationRequest({options:e},BCe)}},Ge=jr(Zr,!0),ZEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:dy},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:dy},default:{bodyMapper:R,headersMapper:rS}},queryParameters:[P,or,Ls],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,Fa,C3,I3,Ke,Xe,Ze,fe,ge,Ae],isXML:!0,serializer:Ge},eCe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:nS},default:{bodyMapper:R,headersMapper:sS}},queryParameters:[P,or,Ls],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae],isXML:!0,serializer:Ge},tCe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:iS},default:{bodyMapper:R,headersMapper:oS}},queryParameters:[P,or,Ls,Q3],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,fe,ge,Ae,B3],isXML:!0,serializer:Ge},rCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:aS},default:{bodyMapper:R,headersMapper:cS}},queryParameters:[P,Iy],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:Ge},nCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:lS},default:{bodyMapper:R,headersMapper:AS}},queryParameters:[P,x3],urlParameters:[v],headerParameters:[D,T,U,b3,w3],isXML:!0,serializer:Ge},sCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:uS},default:{bodyMapper:R,headersMapper:dS}},queryParameters:[bn,P],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,fe,ge,Ae,_s,Fs,Us,Os,qs,Hs],isXML:!0,serializer:Ge},iCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:mS},default:{bodyMapper:R,headersMapper:pS}},queryParameters:[P,or,Ls,MR],urlParameters:[v],headerParameters:[D,T,U,se,Wn,jn],isXML:!0,serializer:Ge},oCe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:hS},default:{bodyMapper:R,headersMapper:fS}},queryParameters:[P,or,Ls,MR],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:Ge},aCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:gS},default:{bodyMapper:R,headersMapper:yS}},queryParameters:[P,or,Ls,N3],urlParameters:[v],headerParameters:[D,T,U,S3],isXML:!0,serializer:Ge},cCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ES},default:{bodyMapper:R,headersMapper:CS}},queryParameters:[P,Cy],urlParameters:[v],headerParameters:[D,T,U,Gt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft],isXML:!0,serializer:Ge},lCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:IS},default:{bodyMapper:R,headersMapper:BS}},queryParameters:[P,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,By,Qy,xy,fe,ge,Ae],isXML:!0,serializer:Ge},ACe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:QS},default:{bodyMapper:R,headersMapper:xS}},queryParameters:[P,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,by,vo,fe,ge,Ae],isXML:!0,serializer:Ge},uCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:bS},default:{bodyMapper:R,headersMapper:wS}},queryParameters:[P,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,vo,wy,fe,ge,Ae],isXML:!0,serializer:Ge},dCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:NS},default:{bodyMapper:R,headersMapper:SS}},queryParameters:[P,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,vo,Ry,vy,fe,ge,Ae],isXML:!0,serializer:Ge},mCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:RS},default:{bodyMapper:R,headersMapper:vS}},queryParameters:[P,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,Ny,Sy,fe,ge,Ae],isXML:!0,serializer:Ge},pCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:PS},default:{bodyMapper:R,headersMapper:DS}},queryParameters:[P,R3],urlParameters:[v],headerParameters:[D,T,U,Gt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft],isXML:!0,serializer:Ge},hCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:TS},default:{bodyMapper:R,headersMapper:kS}},queryParameters:[P],urlParameters:[v],headerParameters:[D,T,U,Gt,oe,ne,se,fe,ge,Ae,Wn,jn,Ti,LR,zs,Gs,Ys,Vs,Py,Ua,Kn,v3,Js],isXML:!0,serializer:Ge},fCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:MS},default:{bodyMapper:R,headersMapper:LS}},queryParameters:[P],urlParameters:[v],headerParameters:[D,T,U,Gt,oe,ne,se,fe,ge,Ae,Wn,jn,ft,Ti,zs,Gs,Ys,Vs,Ua,Kn,Js,P3,ki,Mi,Dy,Li],isXML:!0,serializer:Ge},gCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:_S},default:{bodyMapper:R,headersMapper:FS}},queryParameters:[P,D3,k3],urlParameters:[v],headerParameters:[D,T,U,oe,T3],isXML:!0,serializer:Ge},yCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:my},202:{headersMapper:my},default:{bodyMapper:R,headersMapper:US}},queryParameters:[P,or,Ls,M3],urlParameters:[v],headerParameters:[D,T,U,oe,Ae,LR,L3],isXML:!0,serializer:Ge},ECe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:OS},default:{bodyMapper:R,headersMapper:qS}},queryParameters:[bn,P,zl],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:Ge},CCe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:py},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:py},default:{bodyMapper:R,headersMapper:HS}},requestBody:_3,queryParameters:[P,or,F3],urlParameters:[v],headerParameters:[Ts,xn,D,T,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ge},ICe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Kd,headersMapper:zS},default:{bodyMapper:R,headersMapper:GS}},queryParameters:[P,or,Ls,_R],urlParameters:[v],headerParameters:[D,T,U,oe,Ae,FR,UR,OR,qR],isXML:!0,serializer:Ge},BCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:YS},default:{bodyMapper:R,headersMapper:VS}},requestBody:U3,queryParameters:[P,Ls,_R],urlParameters:[v],headerParameters:[Ts,xn,D,T,oe,Ae,FR,UR,OR,qR,Nn,$s],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ge};var Hy=class{static{o(this,"PageBlobImpl")}client;constructor(e){this.client=e}create(e,r,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:n},QCe)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},xCe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},bCe)}uploadPagesFromURL(e,r,n,s,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:s,options:i},wCe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},NCe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},SCe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},RCe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},vCe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},PCe)}},_i=jr(Zr,!0),QCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:JS},default:{bodyMapper:R,headersMapper:$S}},queryParameters:[P],urlParameters:[v],headerParameters:[D,T,U,St,Gt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,_s,Fs,Us,Os,qs,Hs,Wn,jn,ft,Ti,Kn,Js,O3,HR,zR],isXML:!0,serializer:_i},xCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:WS},default:{bodyMapper:R,headersMapper:jS}},requestBody:qa,queryParameters:[P,Ty],urlParameters:[v],headerParameters:[D,T,St,oe,ne,se,Fa,Ke,Xe,Ze,fe,ge,Ae,ft,Nn,$s,Oa,Ha,GR,ky,My,Ly],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:_i},bCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:KS},default:{bodyMapper:R,headersMapper:XS}},queryParameters:[P,Ty],urlParameters:[v],headerParameters:[D,T,U,St,oe,ne,se,Fa,Ke,Xe,Ze,fe,ge,Ae,ft,ky,My,Ly,q3],isXML:!0,serializer:_i},wCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ZS},default:{bodyMapper:R,headersMapper:eR}},queryParameters:[P,Ty],urlParameters:[v],headerParameters:[D,T,U,St,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft,zs,Gs,Ys,Vs,ki,Mi,Li,GR,ky,My,Ly,Gl,H3,Yl,z3],isXML:!0,serializer:_i},NCe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:uy,headersMapper:tR},default:{bodyMapper:R,headersMapper:rR}},queryParameters:[P,ks,Ms,or,YR],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,Fa,fe,ge,Ae],isXML:!0,serializer:_i},SCe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:uy,headersMapper:nR},default:{bodyMapper:R,headersMapper:sR}},queryParameters:[P,ks,Ms,or,YR,G3],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,Fa,fe,ge,Ae,Y3],isXML:!0,serializer:_i},RCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:iR},default:{bodyMapper:R,headersMapper:oR}},queryParameters:[bn,P],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft,HR],isXML:!0,serializer:_i},vCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:aR},default:{bodyMapper:R,headersMapper:cR}},queryParameters:[bn,P],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,fe,ge,Ae,zR,V3],isXML:!0,serializer:_i},PCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:lR},default:{bodyMapper:R,headersMapper:AR}},queryParameters:[P,J3],urlParameters:[v],headerParameters:[D,T,U,ne,se,fe,ge,Ae,Ua],isXML:!0,serializer:_i};var zy=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},DCe)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},TCe)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},kCe)}seal(e){return this.client.sendOperationRequest({options:e},MCe)}},Gy=jr(Zr,!0),DCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:uR},default:{bodyMapper:R,headersMapper:dR}},queryParameters:[P],urlParameters:[v],headerParameters:[D,T,U,St,Gt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,_s,Fs,Us,Os,qs,Hs,Wn,jn,ft,Kn,Js,$3],isXML:!0,serializer:Gy},TCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:mR},default:{bodyMapper:R,headersMapper:pR}},requestBody:qa,queryParameters:[P,VR],urlParameters:[v],headerParameters:[D,T,St,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft,Nn,$s,Oa,Ha,JR,_y],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Gy},kCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:hR},default:{bodyMapper:R,headersMapper:fR}},queryParameters:[P,VR],urlParameters:[v],headerParameters:[D,T,U,St,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft,zs,Gs,Ys,Vs,ki,Mi,Li,Nn,Gl,Yl,JR,_y,Fy],isXML:!0,serializer:Gy},MCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:gR},default:{bodyMapper:R,headersMapper:yR}},queryParameters:[P,W3],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,fe,ge,_y],isXML:!0,serializer:Gy};var Yy=class{static{o(this,"BlockBlobImpl")}client;constructor(e){this.client=e}upload(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},LCe)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},_Ce)}stageBlock(e,r,n,s){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:s},FCe)}stageBlockFromURL(e,r,n,s){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:s},UCe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},OCe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},qCe)}},Jl=jr(Zr,!0),LCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ER},default:{bodyMapper:R,headersMapper:CR}},requestBody:qa,queryParameters:[P],urlParameters:[v],headerParameters:[D,T,St,Gt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,_s,Fs,Us,Os,qs,Hs,Wn,jn,ft,Ti,Kn,Js,Nn,$s,Oa,Ha,$R],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Jl},_Ce={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:IR},default:{bodyMapper:R,headersMapper:BR}},queryParameters:[P],urlParameters:[v],headerParameters:[D,T,U,St,Gt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,_s,Fs,Us,Os,qs,Hs,ft,Ti,zs,Gs,Ys,Vs,Py,Ua,Kn,ki,Mi,Dy,Li,Nn,$R,j3],isXML:!0,serializer:Jl},FCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:QR},default:{bodyMapper:R,headersMapper:xR}},requestBody:qa,queryParameters:[P,WR,jR],urlParameters:[v],headerParameters:[D,T,St,oe,Ke,Xe,Ze,ft,Nn,$s,Oa,Ha],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Jl},UCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bR},default:{bodyMapper:R,headersMapper:wR}},queryParameters:[P,WR,jR],urlParameters:[v],headerParameters:[D,T,U,St,oe,Ke,Xe,Ze,ft,zs,Gs,Ys,Vs,ki,Mi,Li,Gl,Yl,Fy],isXML:!0,serializer:Jl},OCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NR},default:{bodyMapper:R,headersMapper:SR}},requestBody:K3,queryParameters:[P,KR],urlParameters:[v],headerParameters:[Ts,xn,D,T,Gt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,_s,Fs,Us,Os,qs,Hs,Wn,jn,ft,Ti,Kn,Js,Nn,$s],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Jl},qCe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:rN,headersMapper:RR},default:{bodyMapper:R,headersMapper:vR}},queryParameters:[P,or,KR,X3],urlParameters:[v],headerParameters:[D,T,U,oe,Ae],isXML:!0,serializer:Jl};var tm=class extends Dd{static{o(this,"StorageClient")}url;version;constructor(e,r){if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let n={requestContentType:"application/json; charset=utf-8"},s="azsdk-js-azure-storage-blob/12.30.0",i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${s}`:`${s}`,a={...n,...r,userAgentOptions:{userAgentPrefix:i},endpoint:r.endpoint??r.baseUri??"{url}"};super(a),this.url=e,this.version=r.version||"2026-02-06",this.service=new Uy(this),this.container=new Oy(this),this.blob=new qy(this),this.pageBlob=new Hy(this),this.appendBlob=new zy(this),this.blockBlob=new Yy(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var rm=class extends tm{static{o(this,"StorageContextClient")}async sendOperationRequest(e,r){let n={...r};return(n.path==="/{containerName}"||n.path==="/{containerName}/{blob}")&&(n.path=""),super.sendOperationRequest(e,n)}};function e4(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=zCe(r),e.pathname=r,e.toString()}o(e4,"escapeURLPath");function HCe(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let n of r)n.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=n.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(HCe,"getProxyUriFromDevConnString");function za(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(za,"getValueInConnString");function Ga(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=HCe(t),t=WJ);let r=za(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",s="",i=Buffer.from("accountKey","base64"),a="";if(s=za(t,"AccountName"),i=Buffer.from(za(t,"AccountKey"),"base64"),!r){n=za(t,"DefaultEndpointsProtocol");let c=n.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=za(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${s}.blob.${a}`}if(s){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:s,accountKey:i,proxyUri:e}}else{let n=za(t,"SharedAccessSignature"),s=za(t,"AccountName");if(s||(s=tv(r)),r){if(!n)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return n.startsWith("?")&&(n=n.substring(1)),{kind:"SASConnString",url:r,accountName:s,accountSas:n}}}o(Ga,"extractConnectionStringParts");function zCe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(zCe,"escape");function Ct(t,e){let r=new URL(t),n=r.pathname;return n=n?n.endsWith("/")?`${n}${e}`:`${n}/${e}`:e,r.pathname=n,r.toString()}o(Ct,"appendToURLPath");function $l(t,e,r){let n=new URL(t),s=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[A]=l.split("=",2);A!==s&&c.push(l)}return i&&c.push(`${s}=${i}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o($l,"setURLParameter");function XR(t,e){return new URL(t).searchParams.get(e)??void 0}o(XR,"getURLParameter");function t4(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(t4,"getURLScheme");function nm(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(nm,"appendToURLQuery");function Be(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(Be,"truncatedISO8061Date");function GCe(t){return Ie?Buffer.from(t).toString("base64"):btoa(t)}o(GCe,"base64encode");function ZR(t,e){t.length>42&&(t=t.slice(0,42));let i=t+YCe(e.toString(),48-t.length,"0");return GCe(i)}o(ZR,"generateBlockID");function YCe(t,e,r=" "){return String.prototype.padStart?t.padStart(e,r):(r=r||" ",t.length>e?t:(e=e-t.length,e>r.length&&(r+=r.repeat(e/r.length)),r.slice(0,e)+t))}o(YCe,"padStart");function ev(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(ev,"iEqual");function tv(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:Vy(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(tv,"getAccountNameFromUrl");function Vy(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&&e3.includes(t.port)}o(Vy,"isIpEndpointStyle");function Do(t){if(t===void 0)return;let e=[];for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.push(`${encodeURIComponent(r)}=${encodeURIComponent(n)}`)}return e.join("&")}o(Do,"toBlobTagsString");function r4(t){if(t===void 0)return;let e={blobTagSet:[]};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.blobTagSet.push({key:r,value:n})}return e}o(r4,"toBlobTags");function Jy(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(Jy,"toTags");function rv(t){if(t!==void 0)switch(t.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:t.columnSeparator||",",fieldQuote:t.fieldQuote||"",recordSeparator:t.recordSeparator,escapeChar:t.escapeCharacter||"",headersPresent:t.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:t.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:t.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}o(rv,"toQuerySerialization");function $y(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let n=r.split("_"),s="or-";n[0].startsWith(s)&&(n[0]=n[0].substring(s.length));let i={ruleId:n[1],replicationStatus:t[r]},a=e.findIndex(c=>c.policyId===n[0]);a>-1?e[a].rules.push(i):e.push({policyId:n[0],rules:[i]})}return e}o($y,"parseObjectReplicationRecord");function Wl(t){return t?t.scheme+" "+t.value:void 0}o(Wl,"httpAuthorizationToString");function*nv(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let n=0,s=0;for(;n<e.length&&s<r.length;)e[n].start<r[s].start?(yield{start:e[n].start,end:e[n].end,isClear:!1},++n):(yield{start:r[s].start,end:r[s].end,isClear:!0},++s);for(;n<e.length;++n)yield{start:e[n].start,end:e[n].end,isClear:!1};for(;s<r.length;++s)yield{start:r[s].start,end:r[s].end,isClear:!0}}o(nv,"ExtractPageRangeInfoItems");function Y(t){if("_response"in t)return t;throw new TypeError(`Unexpected response object ${t}`)}o(Y,"assertResponse");var jl=class{static{o(this,"StorageClient")}url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,r){this.url=e4(e),this.accountName=tv(e),this.pipeline=r,this.storageClientContext=new rm(this.url,Jw(r)),this.isHttps=ev(t4(this.url)||"","https"),this.credential=$w(r);let n=this.storageClientContext;n.requestContentType=void 0}};var q=xd({packageName:"@azure/storage-blob",packageVersion:cy,namespace:"Microsoft.Storage"});var Ws=class t{static{o(this,"BlobSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"x":r.deleteVersion=!0;break;case"t":r.tag=!0;break;case"m":r.move=!0;break;case"e":r.execute=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission: ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}};var js=class t{static{o(this,"ContainerSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"l":r.list=!0;break;case"t":r.tag=!0;break;case"x":r.deleteVersion=!0;break;case"m":r.move=!0;break;case"e":r.execute=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;case"f":r.filterByTags=!0;break;default:throw new RangeError(`Invalid permission ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.list&&(r.list=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),e.filterByTags&&(r.filterByTags=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}};function Xn(t){return t.end?`${t.start}-${t.end}`:t.start}o(Xn,"ipRangeToString");var n4;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(n4||(n4={}));var Zn=class{static{o(this,"SASQueryParameters")}version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;preauthorizedAgentObjectId;correlationId;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,r,n,s,i,a,c,l,A,u,d,m,p,h,f,C,y,E,I,B,N){this.version=e,this.signature=r,n!==void 0&&typeof n!="string"?(this.permissions=n.permissions,this.services=n.services,this.resourceTypes=n.resourceTypes,this.protocol=n.protocol,this.startsOn=n.startsOn,this.expiresOn=n.expiresOn,this.ipRangeInner=n.ipRange,this.identifier=n.identifier,this.delegatedUserObjectId=n.delegatedUserObjectId,this.encryptionScope=n.encryptionScope,this.resource=n.resource,this.cacheControl=n.cacheControl,this.contentDisposition=n.contentDisposition,this.contentEncoding=n.contentEncoding,this.contentLanguage=n.contentLanguage,this.contentType=n.contentType,n.userDelegationKey&&(this.signedOid=n.userDelegationKey.signedObjectId,this.signedTenantId=n.userDelegationKey.signedTenantId,this.signedStartsOn=n.userDelegationKey.signedStartsOn,this.signedExpiresOn=n.userDelegationKey.signedExpiresOn,this.signedService=n.userDelegationKey.signedService,this.signedVersion=n.userDelegationKey.signedVersion,this.preauthorizedAgentObjectId=n.preauthorizedAgentObjectId,this.correlationId=n.correlationId)):(this.services=s,this.resourceTypes=i,this.expiresOn=l,this.permissions=n,this.protocol=a,this.startsOn=c,this.ipRangeInner=A,this.delegatedUserObjectId=N,this.encryptionScope=B,this.identifier=u,this.resource=d,this.cacheControl=m,this.contentDisposition=p,this.contentEncoding=h,this.contentLanguage=f,this.contentType=C,y&&(this.signedOid=y.signedObjectId,this.signedTenantId=y.signedTenantId,this.signedStartsOn=y.signedStartsOn,this.signedExpiresOn=y.signedExpiresOn,this.signedService=y.signedService,this.signedVersion=y.signedVersion,this.preauthorizedAgentObjectId=E,this.correlationId=I))}toString(){let e=["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","sig","rscc","rscd","rsce","rscl","rsct","saoid","scid","sduoid"],r=[];for(let n of e)switch(n){case"sv":this.tryAppendQueryParameter(r,n,this.version);break;case"ss":this.tryAppendQueryParameter(r,n,this.services);break;case"srt":this.tryAppendQueryParameter(r,n,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(r,n,this.protocol);break;case"st":this.tryAppendQueryParameter(r,n,this.startsOn?Be(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(r,n,this.expiresOn?Be(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(r,n,this.ipRange?Xn(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(r,n,this.identifier);break;case"ses":this.tryAppendQueryParameter(r,n,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(r,n,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(r,n,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(r,n,this.signedStartsOn?Be(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(r,n,this.signedExpiresOn?Be(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(r,n,this.signedService);break;case"skv":this.tryAppendQueryParameter(r,n,this.signedVersion);break;case"sr":this.tryAppendQueryParameter(r,n,this.resource);break;case"sp":this.tryAppendQueryParameter(r,n,this.permissions);break;case"sig":this.tryAppendQueryParameter(r,n,this.signature);break;case"rscc":this.tryAppendQueryParameter(r,n,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(r,n,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(r,n,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(r,n,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(r,n,this.contentType);break;case"saoid":this.tryAppendQueryParameter(r,n,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(r,n,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(r,n,this.delegatedUserObjectId);break}return r.join("&")}tryAppendQueryParameter(e,r,n){n&&(r=encodeURIComponent(r),n=encodeURIComponent(n),r.length>0&&n.length>0&&e.push(`${r}=${n}`))}};function sm(t,e,r){return im(t,e,r).sasQueryParameters}o(sm,"generateBlobSASQueryParameters");function im(t,e,r){let n=t.version?t.version:ly,s=e instanceof je?e:void 0,i;if(s===void 0&&r!==void 0&&(i=new ay(r,e)),s===void 0&&i===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return s!==void 0?$Ce(t,s):n>="2025-07-05"?XCe(t,i):KCe(t,i);if(n>="2018-11-09")return s!==void 0?JCe(t,s):n>="2020-02-10"?jCe(t,i):WCe(t,i);if(n>="2015-04-05"){if(s!==void 0)return VCe(t,s);throw new RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.")}throw new RangeError("'version' must be >= '2015-04-05'.")}o(im,"generateBlobSASQueryParametersInternal");function VCe(t,e){if(t=Va(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";t.blobName&&(r="b");let n;t.permissions&&(t.blobName?n=Ws.parse(t.permissions.toString()).toString():n=js.parse(t.permissions.toString()).toString());let s=[n||"",t.startsOn?Be(t.startsOn,!1):"",t.expiresOn?Be(t.expiresOn,!1):"",Ya(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Xn(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(s);return{sasQueryParameters:new Zn(t.version,i,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:s}}o(VCe,"generateBlobSASQueryParameters20150405");function JCe(t,e){if(t=Va(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Ws.parse(t.permissions.toString()).toString():s=js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Be(t.startsOn,!1):"",t.expiresOn?Be(t.expiresOn,!1):"",Ya(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Xn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Zn(t.version,a,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:i}}o(JCe,"generateBlobSASQueryParameters20181109");function $Ce(t,e){if(t=Va(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Ws.parse(t.permissions.toString()).toString():s=js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Be(t.startsOn,!1):"",t.expiresOn?Be(t.expiresOn,!1):"",Ya(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Xn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Zn(t.version,a,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,void 0,void 0,void 0,t.encryptionScope),stringToSign:i}}o($Ce,"generateBlobSASQueryParameters20201206");function WCe(t,e){if(t=Va(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Ws.parse(t.permissions.toString()).toString():s=js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Be(t.startsOn,!1):"",t.expiresOn?Be(t.expiresOn,!1):"",Ya(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Be(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Be(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Xn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Zn(t.version,a,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,e.userDelegationKey),stringToSign:i}}o(WCe,"generateBlobSASQueryParametersUDK20181109");function jCe(t,e){if(t=Va(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Ws.parse(t.permissions.toString()).toString():s=js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Be(t.startsOn,!1):"",t.expiresOn?Be(t.expiresOn,!1):"",Ya(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Be(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Be(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Xn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Zn(t.version,a,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:i}}o(jCe,"generateBlobSASQueryParametersUDK20200210");function KCe(t,e){if(t=Va(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Ws.parse(t.permissions.toString()).toString():s=js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Be(t.startsOn,!1):"",t.expiresOn?Be(t.expiresOn,!1):"",Ya(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Be(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Be(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Xn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Zn(t.version,a,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:i}}o(KCe,"generateBlobSASQueryParametersUDK20201206");function XCe(t,e){if(t=Va(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Ws.parse(t.permissions.toString()).toString():s=js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Be(t.startsOn,!1):"",t.expiresOn?Be(t.expiresOn,!1):"",Ya(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Be(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Be(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?Xn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Zn(t.version,a,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:i}}o(XCe,"generateBlobSASQueryParametersUDK20250705");function Ya(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(Ya,"getCanonicalName");function Va(t){let e=t.version?t.version:ly;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}o(Va,"SASSignatureValuesSanityCheckAndAutofill");var om=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let n=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=n.container):(this._isContainer=!1,this._containerOrBlobOperation=n.blob),r||(r=Pl()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==$n||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==$n||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 q.withSpan("BlobLeaseClient-acquireLease",r,async n=>Y(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==$n||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==$n||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 q.withSpan("BlobLeaseClient-changeLease",r,async n=>{let s=Y(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return this._leaseId=e,s})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==$n||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==$n||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 q.withSpan("BlobLeaseClient-releaseLease",e,async r=>Y(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!==$n||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==$n||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 q.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!==$n||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==$n||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 q.withSpan("BlobLeaseClient-breakLease",r,async n=>{let s={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions};return Y(await this._containerOrBlobOperation.breakLease(s))})}};var s4=require("node:stream");var Wy=class extends s4.Readable{static{o(this,"RetriableReadableStream")}start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,r,n,s,i={}){super({highWaterMark:i.highWaterMark}),this.getter=r,this.source=e,this.start=n,this.offset=n,this.end=n+s-1,this.maxRetryRequests=i.maxRetryRequests&&i.maxRetryRequests>=0?i.maxRetryRequests:0,this.onProgress=i.onProgress,this.options=i,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=o(e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()},"sourceDataHandler");sourceAbortedHandler=o(()=>{let e=new $r("The operation was aborted.");this.destroy(e)},"sourceAbortedHandler");sourceErrorOrEndHandler=o(e=>{if(e&&e.name==="AbortError"){this.destroy(e);return}this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries<this.maxRetryRequests?(this.retries+=1,this.getter(this.offset).then(r=>{this.source=r,this.setSourceEventHandlers()}).catch(r=>{this.destroy(r)})):this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))},"sourceErrorOrEndHandler");_destroy(e,r){this.removeSourceEventHandlers(),this.source.destroy(),r(e===null?void 0:e)}};var jy=class{static{o(this,"BlobDownloadResponse")}get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return Ie?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,s,i={}){this.originalResponse=e,this.blobDownloadStream=new Wy(this.originalResponse.readableStreamBody,r,n,s,i)}};var A4=require("node:stream");var sv=new Uint8Array([79,98,106,1]),i4="avro.codec",o4="avro.schema";var Ve=class t{static{o(this,"AvroParser")}static async readFixedBytes(e,r,n={}){let s=await e.read(r,{abortSignal:n.abortSignal});if(s.length!==r)throw new Error("Hit stream end.");return s}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let n=0,s=0,i,a,c;do i=await t.readByte(e,r),a=i&128,n|=(i&127)<<s,s+=7;while(a&&s<28);if(a){n=n,c=268435456;do i=await t.readByte(e,r),n+=(i&127)*c,c*=128;while(i&128);let l=(n%2?-(n+1):n)/2;if(l<Number.MIN_SAFE_INTEGER||l>Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return l}return n>>1^-(n&1)}static async readLong(e,r={}){return t.readZigZagLong(e,r)}static async readInt(e,r={}){return t.readZigZagLong(e,r)}static async readNull(){return null}static async readBoolean(e,r={}){let n=await t.readByte(e,r);if(n===1)return!0;if(n===0)return!1;throw new Error("Byte was not a boolean.")}static async readFloat(e,r={}){let n=await t.readFixedBytes(e,4,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat32(0,!0)}static async readDouble(e,r={}){let n=await t.readFixedBytes(e,8,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat64(0,!0)}static async readBytes(e,r={}){let n=await t.readLong(e,r);if(n<0)throw new Error("Bytes size was negative.");return e.read(n,{abortSignal:r.abortSignal})}static async readString(e,r={}){let n=await t.readBytes(e,r);return new TextDecoder().decode(n)}static async readMapPair(e,r,n={}){let s=await t.readString(e,n),i=await r(e,n);return{key:s,value:i}}static async readMap(e,r,n={}){let s=o((c,l={})=>t.readMapPair(c,r,l),"readPairMethod"),i=await t.readArray(e,s,n),a={};for(let c of i)a[c.key]=c.value;return a}static async readArray(e,r,n={}){let s=[];for(let i=await t.readLong(e,n);i!==0;i=await t.readLong(e,n))for(i<0&&(await t.readLong(e,n),i=-i);i--;){let a=await r(e,n);s.push(a)}return s}},Ja;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(Ja||(Ja={}));var Pt;(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"})(Pt||(Pt={}));var Fi=class t{static{o(this,"AvroType")}static fromSchema(e){return typeof e=="string"?t.fromStringSchema(e):Array.isArray(e)?t.fromArraySchema(e):t.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case Pt.NULL:case Pt.BOOLEAN:case Pt.INT:case Pt.LONG:case Pt.FLOAT:case Pt.DOUBLE:case Pt.BYTES:case Pt.STRING:return new iv(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new av(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case Ja.RECORD:if(e.aliases)throw new Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw new Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let n={};if(!e.fields)throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let s of e.fields)n[s.name]=t.fromSchema(s.type);return new lv(n,e.name);case Ja.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 ov(e.symbols);case Ja.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new cv(t.fromSchema(e.values));case Ja.ARRAY:case Ja.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},iv=class extends Fi{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Pt.NULL:return Ve.readNull();case Pt.BOOLEAN:return Ve.readBoolean(e,r);case Pt.INT:return Ve.readInt(e,r);case Pt.LONG:return Ve.readLong(e,r);case Pt.FLOAT:return Ve.readFloat(e,r);case Pt.DOUBLE:return Ve.readDouble(e,r);case Pt.BYTES:return Ve.readBytes(e,r);case Pt.STRING:return Ve.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},ov=class extends Fi{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let n=await Ve.readInt(e,r);return this._symbols[n]}},av=class extends Fi{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let n=await Ve.readInt(e,r);return this._types[n].read(e,r)}},cv=class extends Fi{static{o(this,"AvroMapType")}_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let n=o((s,i)=>this._itemType.read(s,i),"readItemMethod");return Ve.readMap(e,n,r)}},lv=class extends Fi{static{o(this,"AvroRecordType")}_name;_fields;constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let n={};n.$schema=this._name;for(let s in this._fields)Object.prototype.hasOwnProperty.call(this._fields,s)&&(n[s]=await this._fields[s].read(e,r));return n}};function Av(t,e){if(t===e)return!0;if(t==null||e==null||t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(t[r]!==e[r])return!1;return!0}o(Av,"arraysEqual");var am=class{static{o(this,"AvroReader")}_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,r,n,s){this._dataStream=e,this._headerStream=r||e,this._initialized=!1,this._blockOffset=n||0,this._objectIndex=s||0,this._initialBlockOffset=n||0}async initialize(e={}){let r=await Ve.readFixedBytes(this._headerStream,sv.length,{abortSignal:e.abortSignal});if(!Av(r,sv))throw new Error("Stream is not an Avro file.");this._metadata=await Ve.readMap(this._headerStream,Ve.readString,{abortSignal:e.abortSignal});let n=this._metadata[i4];if(!(n==null||n==="null"))throw new Error("Codecs are not supported");this._syncMarker=await Ve.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let s=JSON.parse(this._metadata[o4]);if(this._itemType=Fi.fromSchema(s),this._blockOffset===0&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await Ve.readLong(this._dataStream,{abortSignal:e.abortSignal}),await Ve.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let i=0;i<this._objectIndex;i++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async*parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let r=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,this._itemsRemainingInBlock===0){let n=await Ve.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!Av(this._syncMarker,n))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await Ve.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await Ve.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};var cm=class{static{o(this,"AvroReadable")}};var l4=require("buffer");var c4=new $r("Reading from the avro stream was aborted."),lm=class extends cm{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?l4.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 c4;if(e<0)throw new Error(`size parameter should be positive: ${e}`);if(e===0)return new Uint8Array;if(!this._readable.readable)throw new Error("Stream no longer readable.");let n=this._readable.read(e);return n?(this._position+=n.length,this.toUint8Array(n)):new Promise((s,i)=>{let a=o(()=>{this._readable.removeListener("readable",c),this._readable.removeListener("error",l),this._readable.removeListener("end",l),this._readable.removeListener("close",l),r.abortSignal&&r.abortSignal.removeEventListener("abort",A)},"cleanUp"),c=o(()=>{let u=this._readable.read(e);u&&(this._position+=u.length,a(),s(this.toUint8Array(u)))},"readableCallback"),l=o(()=>{a(),i()},"rejectCallback"),A=o(()=>{a(),i(c4)},"abortHandler");this._readable.on("readable",c),this._readable.once("error",l),this._readable.once("end",l),this._readable.once("close",l),r.abortSignal&&r.abortSignal.addEventListener("abort",A)})}};var Ky=class extends A4.Readable{static{o(this,"BlobQuickQueryStream")}source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,r={}){super(),this.source=e,this.onProgress=r.onProgress,this.onError=r.onError,this.avroReader=new am(new lm(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:r.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){this.avroPaused=!1;let e;do{if(e=await this.avroIter.next(),e.done)break;let r=e.value,n=r.$schema;if(typeof n!="string")throw Error("Missing schema in avro record.");switch(n){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let s=r.data;if(!(s instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(s))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let s=r.bytesScanned;if(typeof s!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:s})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let s=r.totalBytes;if(typeof s!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:s})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let s=r.fatal;if(typeof s!="boolean")throw Error("Invalid fatal in avro error record.");let i=r.name;if(typeof i!="string")throw Error("Invalid name in avro error record.");let a=r.description;if(typeof a!="string")throw Error("Invalid description in avro error record.");let c=r.position;if(typeof c!="number")throw Error("Invalid position in avro error record.");this.onError({position:c,name:i,isFatal:s,description:a})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};var Xy=class{static{o(this,"BlobQueryResponse")}get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return Ie?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new Ky(this.originalResponse.readableStreamBody,r)}};var uv;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(uv||(uv={}));var dv;(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"})(dv||(dv={}));function To(t){if(t!==void 0)return t}o(To,"toAccessTier");function It(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=$J)}o(It,"ensureCpkIfSpecified");var mv;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(mv||(mv={}));function Zy(t){let e=(t._response.parsedBody.pageRange||[]).map(n=>({offset:n.start,count:n.end-n.start})),r=(t._response.parsedBody.clearRange||[]).map(n=>({offset:n.start,count:n.end-n.start}));return{...t,pageRange:e,clearRange:r,_response:{...t._response,parsedBody:{pageRange:e,clearRange:r}}}}o(Zy,"rangeResponseFromModel");var W4=Q($4(),1);var lE=class extends W4.Poller{static{o(this,"BlobBeginCopyFromUrlPoller")}intervalInMs;constructor(e){let{blobClient:r,copySource:n,intervalInMs:s=15e3,onProgress:i,resumeFrom:a,startCopyFromURLOptions:c}=e,l;a&&(l=JSON.parse(a).state);let A=mm({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(A),typeof i=="function"&&this.onProgress(i),this.intervalInMs=s}delay(){return Bd(this.intervalInMs)}},WIe=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?mm(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,mm(r)):(r.isCancelled=!0,mm(r))},"cancel"),jIe=o(async function(e={}){let r=this.state,{blobClient:n,copySource:s,startCopyFromURLOptions:i}=r;if(r.isStarted){if(!r.isCompleted)try{let a=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:c,copyProgress:l}=a,A=r.copyProgress;l&&(r.copyProgress=l),c==="pending"&&l!==A&&typeof e.fireProgress=="function"?e.fireProgress(r):c==="success"?(r.result=a,r.isCompleted=!0):c==="failed"&&(r.error=new Error(`Blob copy failed with reason: "${a.copyStatusDescription||"unknown"}"`),r.isCompleted=!0)}catch(a){r.error=a,r.isCompleted=!0}}else{r.isStarted=!0;let a=await n.startCopyFromURL(s,i);r.copyId=a.copyId,a.copyStatus==="success"&&(r.result=a,r.isCompleted=!0)}return mm(r)},"update"),KIe=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function mm(t){return{state:{...t},cancel:WIe,toString:KIe,update:jIe}}o(mm,"makeBlobBeginCopyFromURLPollOperation");function br(t){if(t.offset<0)throw new RangeError("Range.offset cannot be smaller than 0.");if(t.count&&t.count<=0)throw new RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return t.count?`bytes=${t.offset}-${t.offset+t.count-1}`:`bytes=${t.offset}-`}o(br,"rangeToString");var j4=require("events");var pm;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(pm||(pm={}));var hm=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=pm.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new j4.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(r){this.emitter.emit("error",r)}})}async do(){return this.operations.length===0?Promise.resolve():(this.parallelExecute(),new Promise((e,r)=>{this.emitter.on("finish",e),this.emitter.on("error",n=>{this.state=pm.Error,r(n)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==pm.Error){if(this.completed>=this.operations.length){this.emitter.emit("finish");return}for(;this.actives<this.concurrency;){let e=this.nextOperation();if(e)e();else return}}}};var AE=Q(require("node:fs"),1),K4=Q(require("node:util"),1);async function X4(t,e,r,n,s){let i=0,a=n-r;return new Promise((c,l)=>{let A=setTimeout(()=>l(new Error("The operation cannot be completed in timeout.")),1e5);t.on("readable",()=>{if(i>=a){clearTimeout(A),c();return}let u=t.read();if(!u)return;typeof u=="string"&&(u=Buffer.from(u,s));let d=i+u.length>a?a-i:u.length;e.fill(u.slice(0,d),r+i,r+i+d),i+=d}),t.on("end",()=>{clearTimeout(A),i<a&&l(new Error(`Stream drains before getting enough data needed. Data read: ${i}, data need: ${a}`)),c()}),t.on("error",u=>{clearTimeout(A),l(u)})})}o(X4,"streamToBuffer");async function Z4(t,e){return new Promise((r,n)=>{let s=AE.default.createWriteStream(e);t.on("error",i=>{n(i)}),s.on("error",i=>{n(i)}),s.on("close",r),t.pipe(s)})}o(Z4,"readStreamToLocalFile");var e8=K4.default.promisify(AE.default.stat),t8=AE.default.createReadStream;var Ui=class t extends jl{static{o(this,"BlobClient")}blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,n,s){s=s||{};let i,a;if(Di(r))a=e,i=r;else if(Ie&&r instanceof je||r instanceof ze||Wr(r))a=e,s=n,i=ct(r,s);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(s=n),i=ct(new ze,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=Ga(e);if(A.kind==="AccountConnString")if(Ie){let u=new je(A.accountName,A.accountKey);a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=bo(A.proxyUri)),i=ct(u,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,i=ct(new ze,s);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=XR(this.url,Pi.Parameters.SNAPSHOT),this._versionId=XR(this.url,Pi.Parameters.VERSIONID)}withSnapshot(e){return new t($l(this.url,Pi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t($l(this.url,Pi.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new dE(this.url,this.pipeline)}getBlockBlobClient(){return new Zl(this.url,this.pipeline)}getPageBlobClient(){return new mE(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},It(n.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-download",n,async s=>{let i=Y(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:Ie?void 0:n.onProgress},range:e===0&&!r?void 0:br({offset:e,count:r}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:s.tracingOptions})),a={...i,_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:$y(i.objectReplicationRules)};if(!Ie)return a;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.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 jy(a,async c=>{let l={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||i.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:n.conditions?.tagConditions},range:br({count:e+i.contentLength-c,offset:c}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download({abortSignal:n.abortSignal,...l})).readableStreamBody},e,i.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return q.withSpan("BlobClient-exists",e,async r=>{try{return It(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;if(n.statusCode===409&&(n.details.errorCode===XJ||n.details.errorCode===ZJ))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},It(e.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-getProperties",e,async r=>{let n=Y(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:$y(n.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},q.withSpan("BlobClient-delete",e,async r=>Y(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 q.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let n=Y(await this.delete(r));return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="BlobNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async undelete(e={}){return q.withSpan("BlobClient-undelete",e,async r=>Y(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},It(r.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-setHTTPHeaders",r,async n=>Y(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async setMetadata(e,r={}){return r.conditions=r.conditions||{},It(r.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-setMetadata",r,async n=>Y(await this.blobContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async setTags(e,r={}){return q.withSpan("BlobClient-setTags",r,async n=>Y(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions,tags:r4(e)})))}async getTags(e={}){return q.withSpan("BlobClient-getTags",e,async r=>{let n=Y(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,tags:Jy({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new om(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},It(e.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-createSnapshot",e,async r=>Y(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:r.tracingOptions})))}async beginCopyFromURL(e,r={}){let n={abortCopyFromURL:o((...i)=>this.abortCopyFromURL(...i),"abortCopyFromURL"),getProperties:o((...i)=>this.getProperties(...i),"getProperties"),startCopyFromURL:o((...i)=>this.startCopyFromURL(...i),"startCopyFromURL")},s=new lE({blobClient:n,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await s.poll(),s}async abortCopyFromURL(e,r={}){return q.withSpan("BlobClient-abortCopyFromURL",r,async n=>Y(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},q.withSpan("BlobClient-syncCopyFromURL",r,async n=>Y(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:Wl(r.sourceAuthorization),tier:To(r.tier),blobTagsString:Do(r.tags),immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async setAccessTier(e,r={}){return q.withSpan("BlobClient-setAccessTier",r,async n=>Y(await this.blobContext.setTier(To(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},rehydratePriority:r.rehydratePriority,tracingOptions:n.tracingOptions})))}async downloadToBuffer(e,r,n,s={}){let i,a=0,c=0,l=s;e instanceof Buffer?(i=e,a=r||0,c=typeof n=="number"?n:0):(a=typeof e=="number"?e:0,c=typeof r=="number"?r:0,l=n||{});let A=l.blockSize??0;if(A<0)throw new RangeError("blockSize option must be >= 0");if(A===0&&(A=4194304),a<0)throw new RangeError("offset option must be >= 0");if(c&&c<=0)throw new RangeError("count option must be greater than 0");return l.conditions||(l.conditions={}),q.withSpan("BlobClient-downloadToBuffer",l,async u=>{if(!c){let p=await this.getProperties({...l,tracingOptions:u.tracingOptions});if(c=p.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${p.contentLength}`)}if(!i)try{i=Buffer.alloc(c)}catch(p){throw new Error(`Unable to allocate the buffer of size: ${c}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${p.message}`)}if(i.length<c)throw new RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${c}`);let d=0,m=new hm(l.concurrency);for(let p=a;p<a+c;p=p+A)m.addOperation(async()=>{let h=a+c;p+A<h&&(h=p+A);let C=(await this.download(p,h-p,{abortSignal:l.abortSignal,conditions:l.conditions,maxRetryRequests:l.maxRetryRequestsPerBlock,customerProvidedKey:l.customerProvidedKey,tracingOptions:u.tracingOptions})).readableStreamBody;await X4(C,i,p-a,h-a),d+=h-p,l.onProgress&&l.onProgress({loadedBytes:d})});return await m.do(),i})}async downloadToFile(e,r=0,n,s={}){return q.withSpan("BlobClient-downloadToFile",s,async i=>{let a=await this.download(r,n,{...s,tracingOptions:i.tracingOptions});return a.readableStreamBody&&await Z4(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,r;try{let n=new URL(this.url);if(n.host.split(".")[1]==="blob"){let s=n.pathname.match("/([^/]*)(/(.*))?");e=s[1],r=s[3]}else if(Vy(n)){let s=n.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=s[2],r=s[4]}else{let s=n.pathname.match("/([^/]*)(/(.*))?");e=s[1],r=s[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 q.withSpan("BlobClient-startCopyFromURL",r,async n=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},Y(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:To(r.tier),blobTagsString:Do(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof je))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=sm({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(nm(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof je))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return im({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let s=sm({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n(nm(this.url,s))})}generateUserDelegationSasStringToSign(e,r){return im({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return q.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>Y(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return q.withSpan("BlobClient-setImmutabilityPolicy",r,async n=>Y(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:n.tracingOptions})))}async setLegalHold(e,r={}){return q.withSpan("BlobClient-setLegalHold",r,async n=>Y(await this.blobContext.setLegalHold(e,{tracingOptions:n.tracingOptions})))}async getAccountInfo(e={}){return q.withSpan("BlobClient-getAccountInfo",e,async r=>Y(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},dE=class t extends Ui{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},Di(r))a=e,i=r;else if(Ie&&r instanceof je||r instanceof ze||Wr(r))a=e,s=n,i=ct(r,s);else if(!r&&typeof r!="string")a=e,i=ct(new ze,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=Ga(e);if(A.kind==="AccountConnString")if(Ie){let u=new je(A.accountName,A.accountKey);a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=bo(A.proxyUri)),i=ct(u,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,i=ct(new ze,s);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t($l(this.url,Pi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},It(e.customerProvidedKey,this.isHttps),q.withSpan("AppendBlobClient-create",e,async r=>Y(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:Do(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:Vw};return q.withSpan("AppendBlobClient-createIfNotExists",e,async n=>{try{let s=Y(await this.create({...n,conditions:r}));return{succeeded:!0,...s,_response:s._response}}catch(s){if(s.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...s.response?.parsedHeaders,_response:s.response};throw s}})}async seal(e={}){return e.conditions=e.conditions||{},q.withSpan("AppendBlobClient-seal",e,async r=>Y(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async appendBlock(e,r,n={}){return n.conditions=n.conditions||{},It(n.customerProvidedKey,this.isHttps),q.withSpan("AppendBlobClient-appendBlock",n,async s=>Y(await this.appendBlobContext.appendBlock(r,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:s.tracingOptions})))}async appendBlockFromURL(e,r,n,s={}){return s.conditions=s.conditions||{},s.sourceConditions=s.sourceConditions||{},It(s.customerProvidedKey,this.isHttps),q.withSpan("AppendBlobClient-appendBlockFromURL",s,async i=>Y(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:s.abortSignal,sourceRange:br({offset:r,count:n}),sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,appendPositionAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:s.sourceConditions?.ifMatch,sourceIfModifiedSince:s.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:s.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:s.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:Wl(s.sourceAuthorization),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:i.tracingOptions})))}},Zl=class t extends Ui{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},Di(r))a=e,i=r;else if(Ie&&r instanceof je||r instanceof ze||Wr(r))a=e,s=n,i=ct(r,s);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(s=n),i=ct(new ze,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=Ga(e);if(A.kind==="AccountConnString")if(Ie){let u=new je(A.accountName,A.accountKey);a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=bo(A.proxyUri)),i=ct(u,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,i=ct(new ze,s);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t($l(this.url,Pi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(It(r.customerProvidedKey,this.isHttps),!Ie)throw new Error("This operation currently is only supported in Node.js.");return q.withSpan("BlockBlobClient-query",r,async n=>{let s=Y(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:rv(r.inputTextConfiguration),outputSerialization:rv(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new Xy(s,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},It(n.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-upload",n,async s=>Y(await this.blockBlobContext.upload(r,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:n.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:n.immutabilityPolicy?.policyMode,legalHold:n.legalHold,tier:To(n.tier),blobTagsString:Do(n.tags),tracingOptions:s.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},It(r.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-syncUploadFromURL",r,async n=>Y(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:Wl(r.sourceAuthorization),tier:To(r.tier),blobTagsString:Do(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,r,n,s={}){return It(s.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-stageBlock",s,async i=>Y(await this.blockBlobContext.stageBlock(e,n,r,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,requestOptions:{onUploadProgress:s.onProgress},transactionalContentMD5:s.transactionalContentMD5,transactionalContentCrc64:s.transactionalContentCrc64,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:i.tracingOptions})))}async stageBlockFromURL(e,r,n=0,s,i={}){return It(i.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-stageBlockFromURL",i,async a=>Y(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,sourceRange:n===0&&!s?void 0:br({offset:n,count:s}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:Wl(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},It(r.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-commitBlockList",r,async n=>Y(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:To(r.tier),blobTagsString:Do(r.tags),tracingOptions:n.tracingOptions})))}async getBlockList(e,r={}){return q.withSpan("BlockBlobClient-getBlockList",r,async n=>{let s=Y(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return s.committedBlocks||(s.committedBlocks=[]),s.uncommittedBlocks||(s.uncommittedBlocks=[]),s})}async uploadData(e,r={}){return q.withSpan("BlockBlobClient-uploadData",r,async n=>{if(Ie){let s;return e instanceof Buffer?s=e:e instanceof ArrayBuffer?s=Buffer.from(e):(e=e,s=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((i,a)=>s.slice(i,i+a),s.byteLength,n)}else{let s=new Blob([e]);return this.uploadSeekableInternal((i,a)=>s.slice(i,i+a),s.size,n)}})}async uploadBrowserData(e,r={}){return q.withSpan("BlockBlobClient-uploadBrowserData",r,async n=>{let s=new Blob([e]);return this.uploadSeekableInternal((i,a)=>s.slice(i,i+a),s.size,n)})}async uploadSeekableInternal(e,r,n={}){let s=n.blockSize??0;if(s<0||s>4194304e3)throw new RangeError(`blockSize option must be >= 0 and <= ${4194304e3}`);let i=n.maxSingleShotSize??268435456;if(i<0||i>268435456)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${268435456}`);if(s===0){if(r>4194304e3*5e4)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>i&&(s=Math.ceil(r/5e4),s<4194304&&(s=4194304))}return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),q.withSpan("BlockBlobClient-uploadSeekableInternal",n,async a=>{if(r<=i)return Y(await this.upload(e(0,r),r,a));let c=Math.floor((r-1)/s)+1;if(c>5e4)throw new RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${5e4}`);let l=[],A=Pl(),u=0,d=new hm(n.concurrency);for(let m=0;m<c;m++)d.addOperation(async()=>{let p=ZR(A,m),h=s*m,C=(m===c-1?r:h+s)-h;l.push(p),await this.stageBlock(p,e(h,C),C,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:a.tracingOptions}),u+=C,n.onProgress&&n.onProgress({loadedBytes:u})});return await d.do(),this.commitBlockList(l,a)})}async uploadFile(e,r={}){return q.withSpan("BlockBlobClient-uploadFile",r,async n=>{let s=(await e8(e)).size;return this.uploadSeekableInternal((i,a)=>()=>t8(e,{autoClose:!0,end:a?i+a-1:1/0,start:i}),s,{...r,tracingOptions:n.tracingOptions})})}async uploadStream(e,r=8388608,n=5,s={}){return s.blobHTTPHeaders||(s.blobHTTPHeaders={}),s.conditions||(s.conditions={}),q.withSpan("BlockBlobClient-uploadStream",s,async i=>{let a=0,c=Pl(),l=0,A=[];return await new ty(e,r,n,async(d,m)=>{let p=ZR(c,a);A.push(p),a++,await this.stageBlock(p,d,m,{customerProvidedKey:s.customerProvidedKey,conditions:s.conditions,encryptionScope:s.encryptionScope,tracingOptions:i.tracingOptions}),l+=m,s.onProgress&&s.onProgress({loadedBytes:l})},Math.ceil(n/4*3)).do(),Y(await this.commitBlockList(A,{...s,tracingOptions:i.tracingOptions}))})}},mE=class t extends Ui{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},Di(r))a=e,i=r;else if(Ie&&r instanceof je||r instanceof ze||Wr(r))a=e,s=n,i=ct(r,s);else if(!r&&typeof r!="string")a=e,i=ct(new ze,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=Ga(e);if(A.kind==="AccountConnString")if(Ie){let u=new je(A.accountName,A.accountKey);a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=bo(A.proxyUri)),i=ct(u,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,i=ct(new ze,s);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t($l(this.url,Pi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},It(r.customerProvidedKey,this.isHttps),q.withSpan("PageBlobClient-create",r,async n=>Y(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:To(r.tier),blobTagsString:Do(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return q.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let s={ifNoneMatch:Vw},i=Y(await this.create(e,{...r,conditions:s,tracingOptions:n.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(s){if(s.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...s.response?.parsedHeaders,_response:s.response};throw s}})}async uploadPages(e,r,n,s={}){return s.conditions=s.conditions||{},It(s.customerProvidedKey,this.isHttps),q.withSpan("PageBlobClient-uploadPages",s,async i=>Y(await this.pageBlobContext.uploadPages(n,e,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onUploadProgress:s.onProgress},range:br({offset:r,count:n}),sequenceNumberAccessConditions:s.conditions,transactionalContentMD5:s.transactionalContentMD5,transactionalContentCrc64:s.transactionalContentCrc64,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:i.tracingOptions})))}async uploadPagesFromURL(e,r,n,s,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},It(i.customerProvidedKey,this.isHttps),q.withSpan("PageBlobClient-uploadPagesFromURL",i,async a=>Y(await this.pageBlobContext.uploadPagesFromURL(e,br({offset:r,count:s}),0,br({offset:n,count:s}),{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:Wl(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,n={}){return n.conditions=n.conditions||{},q.withSpan("PageBlobClient-clearPages",n,async s=>Y(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:br({offset:e,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:s.tracingOptions})))}async getPageRanges(e=0,r,n={}){return n.conditions=n.conditions||{},q.withSpan("PageBlobClient-getPageRanges",n,async s=>{let i=Y(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:br({offset:e,count:r}),tracingOptions:s.tracingOptions}));return Zy(i)})}async listPageRangesSegment(e=0,r,n,s={}){return q.withSpan("PageBlobClient-getPageRangesSegment",s,async i=>Y(await this.pageBlobContext.getPageRanges({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},range:br({offset:e,count:r}),marker:n,maxPageSize:s.maxPageSize,tracingOptions:i.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,n,s={}){let i;if(n||n===void 0)do i=await this.listPageRangesSegment(e,r,n,s),n=i.continuationToken,yield await i;while(n)}async*listPageRangeItems(e=0,r,n={}){let s;for await(let i of this.listPageRangeItemSegments(e,r,s,n))yield*nv(i)}listPageRanges(e=0,r,n={}){n.conditions=n.conditions||{};let s=this.listPageRangeItems(e,r,n);return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:o((i={})=>this.listPageRangeItemSegments(e,r,i.continuationToken,{maxPageSize:i.maxPageSize,...n}),"byPage")}}async getPageRangesDiff(e,r,n,s={}){return s.conditions=s.conditions||{},q.withSpan("PageBlobClient-getPageRangesDiff",s,async i=>{let a=Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},prevsnapshot:n,range:br({offset:e,count:r}),tracingOptions:i.tracingOptions}));return Zy(a)})}async listPageRangesDiffSegment(e,r,n,s,i={}){return q.withSpan("PageBlobClient-getPageRangesDiffSegment",i,async a=>Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:i?.abortSignal,leaseAccessConditions:i?.conditions,modifiedAccessConditions:{...i?.conditions,ifTags:i?.conditions?.tagConditions},prevsnapshot:n,range:br({offset:e,count:r}),marker:s,maxPageSize:i?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,n,s,i){let a;if(s||s===void 0)do a=await this.listPageRangesDiffSegment(e,r,n,s,i),s=a.continuationToken,yield await a;while(s)}async*listPageRangeDiffItems(e,r,n,s){let i;for await(let a of this.listPageRangeDiffItemSegments(e,r,n,i,s))yield*nv(a)}listPageRangesDiff(e,r,n,s={}){s.conditions=s.conditions||{};let i=this.listPageRangeDiffItems(e,r,n,{...s});return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:o((a={})=>this.listPageRangeDiffItemSegments(e,r,n,a.continuationToken,{maxPageSize:a.maxPageSize,...s}),"byPage")}}async getPageRangesDiffForManagedDisks(e,r,n,s={}){return s.conditions=s.conditions||{},q.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",s,async i=>{let a=Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},prevSnapshotUrl:n,range:br({offset:e,count:r}),tracingOptions:i.tracingOptions}));return Zy(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},q.withSpan("PageBlobClient-resize",r,async n=>Y(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async updateSequenceNumber(e,r,n={}){return n.conditions=n.conditions||{},q.withSpan("PageBlobClient-updateSequenceNumber",n,async s=>Y(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:r,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},tracingOptions:s.tracingOptions})))}async startCopyIncremental(e,r={}){return q.withSpan("PageBlobClient-startCopyIncremental",r,async n=>Y(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}};var r8;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(r8||(r8={}));var n8;(function(t){t.AES256="AES256"})(n8||(n8={}));var pE=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};var eA=class extends Error{static{o(this,"NetworkError")}constructor(e){let r=`Unable to make request: ${e}
If you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(r),this.code=e,this.name="NetworkError"}};eA.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var ja=class extends Error{static{o(this,"UsageError")}constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries.
More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};ja.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var fm=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var cBe=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},_v=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,r=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,s=(e/(1024*1024)/(n/1e3)).toFixed(1);le(`Sent ${e} of ${this.contentLength} (${r}%), ${s} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function s8(t,e,r){return cBe(this,void 0,void 0,function*(){var n;let s=new Ui(t),i=s.getBlockBlobClient(),a=new _v((n=r?.archiveSizeBytes)!==null&&n!==void 0?n:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),b(`BlobClient: ${s.name}:${s.accountName}:${s.containerName}`);let l=yield i.uploadFile(e,c);if(l._response.status>=400)throw new pE(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw ht(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(s8,"uploadCacheArchiveSDK");var o8=Q(require("buffer"),1),Ks=Q(require("fs"),1),a8=Q(require("stream"),1),c8=Q(require("util"),1);var hE=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function fE(t){return t?t>=200&&t<300:!1}o(fE,"isSuccessStatusCode");function lBe(t){return t?t>=500:!0}o(lBe,"isServerErrorStatusCode");function ABe(t){return t?[We.BadGateway,We.ServiceUnavailable,We.GatewayTimeout].includes(t):!1}o(ABe,"isRetryableStatusCode");function uBe(t){return hE(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(uBe,"sleep");function i8(t,e,r){return hE(this,arguments,void 0,function*(n,s,i,a=_f,c=Ff,l=void 0){let A="",u=1;for(;u<=a;){let d,m,p=!1;try{d=yield s()}catch(h){l&&(d=l(h)),p=!0,A=h.message}if(d&&(m=i(d),!lBe(m)))return d;if(m&&(p=ABe(m),A=`Cache service responded with ${m}`),b(`${n} - Attempt ${u} of ${a} failed with error: ${A}`),!p){b(`${n} - Error is not retryable`);break}yield uBe(c),u++}throw Error(`${n} failed: ${A}`)})}o(i8,"retry");function gm(t,e){return hE(this,arguments,void 0,function*(r,n,s=_f,i=Ff){return yield i8(r,n,a=>a.statusCode,s,i,a=>{if(a instanceof Bs)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(gm,"retryTypedResponse");function tA(t,e){return hE(this,arguments,void 0,function*(r,n,s=_f,i=Ff){return yield i8(r,n,a=>a.message.statusCode,s,i)})}o(tA,"retryHttpClientResponse");var Sn=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function dBe(t,e){return Sn(this,void 0,void 0,function*(){yield c8.promisify(a8.pipeline)(t.message,e)})}o(dBe,"pipeResponseToStream");var gE=class{static{o(this,"DownloadProgress")}constructor(e){this.contentLength=e,this.segmentIndex=0,this.segmentSize=0,this.segmentOffset=0,this.receivedBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}nextSegment(e){this.segmentOffset=this.segmentOffset+this.segmentSize,this.segmentIndex=this.segmentIndex+1,this.segmentSize=e,this.receivedBytes=0,b(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(e){this.receivedBytes=e}getTransferredBytes(){return this.segmentOffset+this.receivedBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.segmentOffset+this.receivedBytes,r=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,s=(e/(1024*1024)/(n/1e3)).toFixed(1);le(`Received ${e} of ${this.contentLength} (${r}%), ${s} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setReceivedBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function yE(t,e){return Sn(this,void 0,void 0,function*(){let r=Ks.createWriteStream(e),n=new wi("actions/cache"),s=yield tA("downloadCache",()=>Sn(this,void 0,void 0,function*(){return n.get(t)}));s.message.socket.setTimeout(Zb,()=>{s.message.destroy(),b(`Aborting download, socket timed out after ${Zb} ms`)}),yield dBe(s,r);let i=s.message.headers["content-length"];if(i){let a=parseInt(i),c=Is(e);if(c!==a)throw new Error(`Incomplete download. Expected file size: ${a}, actual file size: ${c}`)}else b("Unable to validate download, no Content-Length header")})}o(yE,"downloadCacheHttpClient");function l8(t,e,r){return Sn(this,void 0,void 0,function*(){var n;let s=yield Ks.promises.open(e,"w"),i=new wi("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield tA("downloadCacheMetadata",()=>Sn(this,void 0,void 0,function*(){return yield i.request("HEAD",t,null,{})}))).message.headers["content-length"];if(c==null)throw new Error("Content-Length not found on blob response");let l=parseInt(c);if(Number.isNaN(l))throw new Error(`Could not interpret Content-Length: ${l}`);let A=[],u=4*1024*1024;for(let E=0;E<l;E+=u){let I=Math.min(u,l-E);A.push({offset:E,promiseGetter:o(()=>Sn(this,void 0,void 0,function*(){return yield mBe(i,t,E,I)}),"promiseGetter")})}A.reverse();let d=0,m=0,p=new gE(l);p.startDisplayTimer();let h=p.onProgress(),f=[],C,y=o(()=>Sn(this,void 0,void 0,function*(){let E=yield Promise.race(Object.values(f));yield s.write(E.buffer,0,E.count,E.offset),d--,delete f[E.offset],m+=E.count,h({loadedBytes:m})}),"waitAndWrite");for(;C=A.pop();)f[C.offset]=C.promiseGetter(),d++,d>=((n=r.downloadConcurrency)!==null&&n!==void 0?n:10)&&(yield y());for(;d>0;)yield y()}finally{i.dispose(),yield s.close()}})}o(l8,"downloadCacheHttpClientConcurrent");function mBe(t,e,r,n){return Sn(this,void 0,void 0,function*(){let i=0;for(;;)try{let c=yield u8(3e4,pBe(t,e,r,n));if(typeof c=="string")throw new Error("downloadSegmentRetry failed due to timeout");return c}catch(a){if(i>=5)throw a;i++}})}o(mBe,"downloadSegmentRetry");function pBe(t,e,r,n){return Sn(this,void 0,void 0,function*(){let s=yield tA("downloadCachePart",()=>Sn(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+n-1}`})}));if(!s.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:n,buffer:yield s.readBodyBuffer()}})}o(pBe,"downloadSegment");function A8(t,e,r){return Sn(this,void 0,void 0,function*(){var n;let s=new Zl(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),a=(n=(yield s.getProperties()).contentLength)!==null&&n!==void 0?n:-1;if(a<0)b("Unable to determine content length, downloading file with http-client..."),yield yE(t,e);else{let c=Math.min(134217728,o8.constants.MAX_LENGTH),l=new gE(a),A=Ks.openSync(e,"w");try{l.startDisplayTimer();let u=new AbortController,d=u.signal;for(;!l.isDone();){let m=l.segmentOffset+l.segmentSize,p=Math.min(c,a-m);l.nextSegment(p);let h=yield u8(r.segmentTimeoutInMs||36e5,s.downloadToBuffer(m,p,{abortSignal:d,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(h==="timeout")throw u.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(h)&&Ks.writeFileSync(A,h)}}finally{l.stopDisplayTimer(),Ks.closeSync(A)}}})}o(A8,"downloadCacheStorageSDK");var u8=o((t,e)=>Sn(void 0,void 0,void 0,function*(){let r,n=new Promise(s=>{r=setTimeout(()=>s("timeout"),t)});return Promise.race([e,n]).then(s=>(clearTimeout(r),s))}),"promiseWithTimeout");function Fv(t){let e={useAzureSdk:!1,uploadConcurrency:4,uploadChunkSize:33554432};return t&&(typeof t.useAzureSdk=="boolean"&&(e.useAzureSdk=t.useAzureSdk),typeof t.uploadConcurrency=="number"&&(e.uploadConcurrency=t.uploadConcurrency),typeof t.uploadChunkSize=="number"&&(e.uploadChunkSize=t.uploadChunkSize)),e.uploadConcurrency=isNaN(Number(process.env.CACHE_UPLOAD_CONCURRENCY))?e.uploadConcurrency:Math.min(32,Number(process.env.CACHE_UPLOAD_CONCURRENCY)),e.uploadChunkSize=isNaN(Number(process.env.CACHE_UPLOAD_CHUNK_SIZE))?e.uploadChunkSize:Math.min(128*1024*1024,Number(process.env.CACHE_UPLOAD_CHUNK_SIZE)*1024*1024),b(`Use Azure SDK: ${e.useAzureSdk}`),b(`Upload concurrency: ${e.uploadConcurrency}`),b(`Upload chunk size: ${e.uploadChunkSize}`),e}o(Fv,"getUploadOptions");function d8(t){let e={useAzureSdk:!1,concurrentBlobDownloads:!0,downloadConcurrency:8,timeoutInMs:3e4,segmentTimeoutInMs:6e5,lookupOnly:!1};t&&(typeof t.useAzureSdk=="boolean"&&(e.useAzureSdk=t.useAzureSdk),typeof t.concurrentBlobDownloads=="boolean"&&(e.concurrentBlobDownloads=t.concurrentBlobDownloads),typeof t.downloadConcurrency=="number"&&(e.downloadConcurrency=t.downloadConcurrency),typeof t.timeoutInMs=="number"&&(e.timeoutInMs=t.timeoutInMs),typeof t.segmentTimeoutInMs=="number"&&(e.segmentTimeoutInMs=t.segmentTimeoutInMs),typeof t.lookupOnly=="boolean"&&(e.lookupOnly=t.lookupOnly));let r=process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS;return r&&!isNaN(Number(r))&&isFinite(Number(r))&&(e.segmentTimeoutInMs=Number(r)*60*1e3),b(`Use Azure SDK: ${e.useAzureSdk}`),b(`Download concurrency: ${e.downloadConcurrency}`),b(`Request timeout (ms): ${e.timeoutInMs}`),b(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),b(`Segment download timeout (ms): ${e.segmentTimeoutInMs}`),b(`Lookup only: ${e.lookupOnly}`),e}o(d8,"getDownloadOptions");function Uv(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",n=e.endsWith(".GHE.COM"),s=e.endsWith(".LOCALHOST");return!r&&!n&&!s}o(Uv,"isGhes");function ym(){return Uv()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(ym,"getCacheServiceVersion");var m8=["none","read","write","write-only"];function Ov(){return(process.env.ACTIONS_CACHE_MODE||"").trim().toLowerCase()}o(Ov,"getCacheMode");function p8(t){return m8.includes(t)?t==="read"||t==="write":!0}o(p8,"isCacheReadable");function h8(t){return m8.includes(t)?t==="write"||t==="write-only":!0}o(h8,"isCacheWritable");function EE(){let t=ym();switch(t){case"v1":return process.env.ACTIONS_CACHE_URL||process.env.ACTIONS_RESULTS_URL||"";case"v2":return process.env.ACTIONS_RESULTS_URL||"";default:throw new Error(`Unsupported cache service version: ${t}`)}}o(EE,"getCacheServiceURL");var E8=Q(y8(),1);function CE(){return`@actions/cache-${E8.version}`}o(CE,"getUserAgentString");var wr=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function Em(t){let e=EE();if(!e)throw new Error("Cache Service Url not found, unable to restore cache.");let r=`${e}_apis/artifactcache/${t}`;return b(`Resource Url: ${r}`),r}o(Em,"getCacheApiUrl");function gBe(t,e){return`${t};api-version=${e}`}o(gBe,"createAcceptHeader");function yBe(){return{headers:{Accept:gBe("application/json","6.0-preview.1")}}}o(yBe,"getRequestOptions");function qv(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new Ql(t);return new wi(CE(),[e],yBe())}o(qv,"createHttpClient");function B8(t,e,r){return wr(this,void 0,void 0,function*(){var n;let s=qv(),i=Bl(e,r?.compressionMethod,r?.enableCrossOsArchive),a=`cache?keys=${encodeURIComponent(t.join(","))}&version=${i}`,c=yield gm("getCacheEntry",()=>wr(this,void 0,void 0,function*(){return s.getJson(Em(a))}));if(c.statusCode===204)return fa()&&(yield EBe(t[0],s,i)),null;if(!fE(c.statusCode)){let u=(n=c.error)===null||n===void 0?void 0:n.message;throw u?.includes(Uf)?new Error(u):new Error(`Cache service responded with ${c.statusCode}`)}let l=c.result,A=l?.archiveLocation;if(!A)throw new Error("Cache not found.");return ll(A),b("Cache Result:"),b(JSON.stringify(l)),l})}o(B8,"getCacheEntry");function EBe(t,e,r){return wr(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,s=yield gm("listCache",()=>wr(this,void 0,void 0,function*(){return e.getJson(Em(n))}));if(s.statusCode===200){let i=s.result,a=i?.totalCount;if(a&&a>0){b(`No matching cache found for cache key '${t}', version '${r} and scope ${process.env.GITHUB_REF}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key
Other caches with similar key:`);for(let c of i?.artifactCaches||[])b(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(EBe,"printCachesListForDiagnostics");function Hv(t,e,r){return wr(this,void 0,void 0,function*(){let n=new I8.URL(t),s=d8(r);n.hostname.endsWith(".blob.core.windows.net")?s.useAzureSdk?yield A8(t,e,s):s.concurrentBlobDownloads?yield l8(t,e,s):yield yE(t,e):yield yE(t,e)})}o(Hv,"downloadCache");function Q8(t,e,r){return wr(this,void 0,void 0,function*(){let n=qv(),s=Bl(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:s,cacheSize:r?.cacheSize};return yield gm("reserveCache",()=>wr(this,void 0,void 0,function*(){return n.postJson(Em("caches"),i)}))})}o(Q8,"reserveCache");function C8(t,e){return`bytes ${t}-${e}/*`}o(C8,"getContentRange");function CBe(t,e,r,n,s){return wr(this,void 0,void 0,function*(){b(`Uploading chunk of size ${s-n+1} bytes at offset ${n} with content range: ${C8(n,s)}`);let i={"Content-Type":"application/octet-stream","Content-Range":C8(n,s)},a=yield tA(`uploadChunk (start: ${n}, end: ${s})`,()=>wr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!fE(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(CBe,"uploadChunk");function IBe(t,e,r,n){return wr(this,void 0,void 0,function*(){let s=Is(r),i=Em(`caches/${e.toString()}`),a=rA.openSync(r,"r"),c=Fv(n),l=n0("uploadConcurrency",c.uploadConcurrency),A=n0("uploadChunkSize",c.uploadChunkSize),u=[...new Array(l).keys()];b("Awaiting all uploads");let d=0;try{yield Promise.all(u.map(()=>wr(this,void 0,void 0,function*(){for(;d<s;){let m=Math.min(s-d,A),p=d,h=d+m-1;d+=A,yield CBe(t,i,()=>rA.createReadStream(r,{fd:a,start:p,end:h,autoClose:!1}).on("error",f=>{throw new Error(`Cache upload failed because file read failed with ${f.message}`)}),p,h)}})))}finally{rA.closeSync(a)}})}o(IBe,"uploadFile");function BBe(t,e,r){return wr(this,void 0,void 0,function*(){let n={size:r};return yield gm("commitCache",()=>wr(this,void 0,void 0,function*(){return t.postJson(Em(`caches/${e.toString()}`),n)}))})}o(BBe,"commitCache");function zv(t,e,r,n){return wr(this,void 0,void 0,function*(){if(Fv(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield s8(r,e,n)}else{let i=qv();b("Upload cache"),yield IBe(i,t,e,n),b("Commiting cache");let a=Is(e);le(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield BBe(i,t,a);if(!fE(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);le("Cache saved successfully")}})}o(zv,"saveCache");var g$=Q(A$(),1),ut=Q(At(),1),tn=Q(At(),1),tc=Q(At(),1),rc=Q(At(),1),nc=Q(At(),1);var _P=Q(At(),1),FP=Q(At(),1),p$=Q(At(),1),h$=Q(At(),1),f$=Q(At(),1);var kP=Q(At(),1),MP=Q(At(),1),u$=Q(At(),1),d$=Q(At(),1),m$=Q(At(),1);var LP=class extends m$.MessageType{static{o(this,"CacheScope$Type")}constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){let r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,d$.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,u$.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.scope=e.string();break;case 2:i.permission=e.int64().toString();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?MP.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.scope!==""&&r.tag(1,kP.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,kP.WireType.Varint).int64(e.permission);let s=n.writeUnknownFields;return s!==!1&&(s==!0?MP.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},iC=new LP;var UP=class extends f$.MessageType{static{o(this,"CacheMetadata$Type")}constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:o(()=>iC,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,h$.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,p$.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.repositoryId=e.int64().toString();break;case 2:i.scope.push(iC.internalBinaryRead(e,e.uint32(),n));break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?FP.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.repositoryId!=="0"&&r.tag(1,_P.WireType.Varint).int64(e.repositoryId);for(let i=0;i<e.scope.length;i++)iC.internalBinaryWrite(e.scope[i],r.tag(2,_P.WireType.LengthDelimited).fork(),n).join();let s=n.writeUnknownFields;return s!==!1&&(s==!0?FP.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},ri=new UP;var OP=class extends nc.MessageType{static{o(this,"CreateCacheEntryRequest$Type")}constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:o(()=>ri,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",version:""};return globalThis.Object.defineProperty(r,rc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,tc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.metadata=ri.internalBinaryRead(e,e.uint32(),n,i.metadata);break;case 2:i.key=e.string();break;case 3:i.version=e.string();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?tn.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.metadata&&ri.internalBinaryWrite(e.metadata,r.tag(1,ut.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,ut.WireType.LengthDelimited).string(e.key),e.version!==""&&r.tag(3,ut.WireType.LengthDelimited).string(e.version);let s=n.writeUnknownFields;return s!==!1&&(s==!0?tn.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},VP=new OP,qP=class extends nc.MessageType{static{o(this,"CreateCacheEntryResponse$Type")}constructor(){super("github.actions.results.api.v1.CreateCacheEntryResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"signed_upload_url",kind:"scalar",T:9},{no:3,name:"message",kind:"scalar",T:9}])}create(e){let r={ok:!1,signedUploadUrl:"",message:""};return globalThis.Object.defineProperty(r,rc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,tc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.ok=e.bool();break;case 2:i.signedUploadUrl=e.string();break;case 3:i.message=e.string();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?tn.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,ut.WireType.Varint).bool(e.ok),e.signedUploadUrl!==""&&r.tag(2,ut.WireType.LengthDelimited).string(e.signedUploadUrl),e.message!==""&&r.tag(3,ut.WireType.LengthDelimited).string(e.message);let s=n.writeUnknownFields;return s!==!1&&(s==!0?tn.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},JP=new qP,HP=class extends nc.MessageType{static{o(this,"FinalizeCacheEntryUploadRequest$Type")}constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadRequest",[{no:1,name:"metadata",kind:"message",T:o(()=>ri,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"size_bytes",kind:"scalar",T:3},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",sizeBytes:"0",version:""};return globalThis.Object.defineProperty(r,rc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,tc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.metadata=ri.internalBinaryRead(e,e.uint32(),n,i.metadata);break;case 2:i.key=e.string();break;case 3:i.sizeBytes=e.int64().toString();break;case 4:i.version=e.string();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?tn.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.metadata&&ri.internalBinaryWrite(e.metadata,r.tag(1,ut.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,ut.WireType.LengthDelimited).string(e.key),e.sizeBytes!=="0"&&r.tag(3,ut.WireType.Varint).int64(e.sizeBytes),e.version!==""&&r.tag(4,ut.WireType.LengthDelimited).string(e.version);let s=n.writeUnknownFields;return s!==!1&&(s==!0?tn.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},$P=new HP,zP=class extends nc.MessageType{static{o(this,"FinalizeCacheEntryUploadResponse$Type")}constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"entry_id",kind:"scalar",T:3},{no:3,name:"message",kind:"scalar",T:9}])}create(e){let r={ok:!1,entryId:"0",message:""};return globalThis.Object.defineProperty(r,rc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,tc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.ok=e.bool();break;case 2:i.entryId=e.int64().toString();break;case 3:i.message=e.string();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?tn.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,ut.WireType.Varint).bool(e.ok),e.entryId!=="0"&&r.tag(2,ut.WireType.Varint).int64(e.entryId),e.message!==""&&r.tag(3,ut.WireType.LengthDelimited).string(e.message);let s=n.writeUnknownFields;return s!==!1&&(s==!0?tn.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},WP=new zP,GP=class extends nc.MessageType{static{o(this,"GetCacheEntryDownloadURLRequest$Type")}constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLRequest",[{no:1,name:"metadata",kind:"message",T:o(()=>ri,"T")},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"restore_keys",kind:"scalar",repeat:2,T:9},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",restoreKeys:[],version:""};return globalThis.Object.defineProperty(r,rc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,tc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.metadata=ri.internalBinaryRead(e,e.uint32(),n,i.metadata);break;case 2:i.key=e.string();break;case 3:i.restoreKeys.push(e.string());break;case 4:i.version=e.string();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?tn.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.metadata&&ri.internalBinaryWrite(e.metadata,r.tag(1,ut.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,ut.WireType.LengthDelimited).string(e.key);for(let i=0;i<e.restoreKeys.length;i++)r.tag(3,ut.WireType.LengthDelimited).string(e.restoreKeys[i]);e.version!==""&&r.tag(4,ut.WireType.LengthDelimited).string(e.version);let s=n.writeUnknownFields;return s!==!1&&(s==!0?tn.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},jP=new GP,YP=class extends nc.MessageType{static{o(this,"GetCacheEntryDownloadURLResponse$Type")}constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"signed_download_url",kind:"scalar",T:9},{no:3,name:"matched_key",kind:"scalar",T:9}])}create(e){let r={ok:!1,signedDownloadUrl:"",matchedKey:""};return globalThis.Object.defineProperty(r,rc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,tc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.ok=e.bool();break;case 2:i.signedDownloadUrl=e.string();break;case 3:i.matchedKey=e.string();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?tn.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,ut.WireType.Varint).bool(e.ok),e.signedDownloadUrl!==""&&r.tag(2,ut.WireType.LengthDelimited).string(e.signedDownloadUrl),e.matchedKey!==""&&r.tag(3,ut.WireType.LengthDelimited).string(e.matchedKey);let s=n.writeUnknownFields;return s!==!1&&(s==!0?tn.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},KP=new YP,lZe=new g$.ServiceType("github.actions.results.api.v1.CacheService",[{name:"CreateCacheEntry",options:{},I:VP,O:JP},{name:"FinalizeCacheEntryUpload",options:{},I:$P,O:WP},{name:"GetCacheEntryDownloadURL",options:{},I:jP,O:KP}]);var oC=class{static{o(this,"CacheServiceClientJSON")}constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=VP.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",r).then(s=>JP.fromJson(s,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=$P.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(s=>WP.fromJson(s,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=jP.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(s=>KP.fromJson(s,{ignoreUnknownFields:!0}))}};function y$(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(ll(r),ll(encodeURIComponent(r)))}catch(e){b(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(y$,"maskSigUrl");function E$(t){if(typeof t!="object"||t===null){b("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&y$(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&y$(t.signed_download_url)}o(E$,"maskSecretUrls");var aC=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},XP=class{static{o(this,"CacheServiceClient")}constructor(e,r,n,s){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=YG();this.baseUrl=EE(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),s&&(this.retryMultiplier=s),this.httpClient=new wi(e,[new Ql(i)])}request(e,r,n,s){return aC(this,void 0,void 0,function*(){let i=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;b(`[Request] ${r} ${i}`);let a={"Content-Type":n};try{let{body:c}=yield this.retryableRequest(()=>aC(this,void 0,void 0,function*(){return this.httpClient.post(i,JSON.stringify(s),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return aC(this,void 0,void 0,function*(){let r=0,n="",s="";for(;r<this.maxAttempts;){let i=!1;try{let c=yield e(),l=c.message.statusCode;s=yield c.readBody(),b(`[Response] - ${c.message.statusCode}`),b(`Headers: ${JSON.stringify(c.message.headers,null,2)}`);let A=JSON.parse(s);if(E$(A),b(`Body: ${JSON.stringify(A,null,2)}`),this.isSuccessStatusCode(l))return{response:c,body:A};if(i=this.isRetryableHttpStatusCode(l),n=`Failed request: (${l}) ${c.message.statusMessage}`,A.msg){if(ja.isUsageErrorMessage(A.msg))throw new ja;n=`${n}: ${A.msg}`}if(l===We.TooManyRequests){let u=c.message.headers["retry-after"];if(u){let d=parseInt(u,10);!isNaN(d)&&d>0&&ht(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new fm(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&b(`Raw Body: ${s}`),c instanceof ja||c instanceof fm)throw c;if(eA.isNetworkErrorCode(c?.code))throw new eA(c?.code);i=!0,n=c.message}if(!i)throw new Error(`Received non-retryable error: ${n}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${n}`);let a=this.getExponentialRetryTimeMilliseconds(r);le(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${n}. Retrying request in ${a} ms...`),yield this.sleep(a),r++}throw new Error("Request failed")})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[We.BadGateway,We.GatewayTimeout,We.InternalServerError,We.ServiceUnavailable].includes(e):!1}sleep(e){return aC(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e))})}getExponentialRetryTimeMilliseconds(e){if(e<0)throw new Error("attempt should be a positive integer");if(e===0)return this.baseRetryIntervalMilliseconds;let r=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e),n=r*this.retryMultiplier;return Math.trunc(Math.random()*(n-r)+r)}};function ZP(t){let e=new XP(CE(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new oC(e)}o(ZP,"internalCacheTwirpClient");var cC=require("fs"),rn=Q(require("path"),1);var qi=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},_o=process.platform==="win32";function Dxe(){return qi(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield GG(),e=OG;if(t)return{path:t,type:zr.GNU};if((0,cC.existsSync)(e))return{path:e,type:zr.BSD};break}case"darwin":{let t=yield hr("gtar",!1);return t?{path:t,type:zr.GNU}:{path:yield hr("tar",!0),type:zr.BSD}}default:break}return{path:yield hr("tar",!0),type:zr.GNU}})}o(Dxe,"getTarPath");function Txe(t,e,r){return qi(this,arguments,void 0,function*(n,s,i,a=""){let c=[`"${n.path}"`],l=Io(s),A="cache.tar",u=C$(),d=n.type===zr.BSD&&s!==rr.Gzip&&_o;switch(i){case"create":c.push("--posix","-cf",d?A:l.replace(new RegExp(`\\${rn.sep}`,"g"),"/"),"--exclude",d?A:l.replace(new RegExp(`\\${rn.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${rn.sep}`,"g"),"/"),"--files-from",t0);break;case"extract":c.push("-xf",d?A:a.replace(new RegExp(`\\${rn.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${rn.sep}`,"g"),"/"));break;case"list":c.push("-tf",d?A:a.replace(new RegExp(`\\${rn.sep}`,"g"),"/"),"-P");break}if(n.type===zr.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(Txe,"getTarArgs");function eD(t,e){return qi(this,arguments,void 0,function*(r,n,s=""){let i,a=yield Dxe(),c=yield Txe(a,r,n,s),l=n!=="create"?yield kxe(a,r,s):yield Mxe(a,r),A=a.type===zr.BSD&&r!==rr.Gzip&&_o;return A&&n!=="create"?i=[[...l].join(" "),[...c].join(" ")]:i=[[...c].join(" "),[...l].join(" ")],A?i:[i.join(" ")]})}o(eD,"getCommands");function C$(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(C$,"getWorkingDirectory");function kxe(t,e,r){return qi(this,void 0,void 0,function*(){let n=t.type===zr.BSD&&e!==rr.Gzip&&_o;switch(e){case rr.Zstd:return n?["zstd -d --long=30 --force -o",ud,r.replace(new RegExp(`\\${rn.sep}`,"g"),"/")]:["--use-compress-program",_o?'"zstd -d --long=30"':"unzstd --long=30"];case rr.ZstdWithoutLong:return n?["zstd -d --force -o",ud,r.replace(new RegExp(`\\${rn.sep}`,"g"),"/")]:["--use-compress-program",_o?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(kxe,"getDecompressionProgram");function Mxe(t,e){return qi(this,void 0,void 0,function*(){let r=Io(e),n=t.type===zr.BSD&&e!==rr.Gzip&&_o;switch(e){case rr.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${rn.sep}`,"g"),"/"),ud]:["--use-compress-program",_o?'"zstd -T0 --long=30"':"zstdmt --long=30"];case rr.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${rn.sep}`,"g"),"/"),ud]:["--use-compress-program",_o?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(Mxe,"getCompressionProgram");function tD(t,e){return qi(this,void 0,void 0,function*(){for(let r of t)try{yield po(r,void 0,{cwd:e,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(n){throw new Error(`${r.split(" ")[0]} failed with error: ${n?.message}`)}})}o(tD,"execCommands");function km(t,e){return qi(this,void 0,void 0,function*(){let r=yield eD(e,"list",t);yield tD(r)})}o(km,"listTar");function rD(t,e){return qi(this,void 0,void 0,function*(){let r=C$();yield ha(r);let n=yield eD(e,"extract",t);yield tD(n)})}o(rD,"extractTar");function nD(t,e,r){return qi(this,void 0,void 0,function*(){(0,cC.writeFileSync)(rn.join(t,t0),e.join(`
`));let n=yield eD(r,"create");yield tD(n,t)})}o(nD,"createTar");var yA=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},rs=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},sc=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},sD="cache write denied:",lC=class t extends sc{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},I$=Uf,AC=class t extends Error{static{o(this,"CacheReadDeniedError")}constructor(e){super(e),this.name="CacheReadDeniedError",Object.setPrototypeOf(this,t.prototype)}},uC=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function B$(t){if(!t||t.length===0)throw new rs("Path Validation Error: At least one directory or file path is required")}o(B$,"checkPaths");function iD(t){if(t.length>512)throw new rs(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new rs(`Key Validation Error: ${t} cannot contain commas.`)}o(iD,"checkKey");function oD(){return ym()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(oD,"isFeatureAvailable");function Q$(t,e,r,n){return yA(this,arguments,void 0,function*(s,i,a,c,l=!1){let A=ym();b(`Cache service version: ${A}`),B$(s);let u=Ov();if(!p8(u)){le(`Cache restore skipped: the effective cache-mode '${u}' does not permit reads.`),b(`Skipped restore for paths [${s.join(", ")}] with primary key '${i}'.`);return}return A==="v2"?yield _xe(s,i,a,c,l):yield Lxe(s,i,a,c,l)})}o(Q$,"restoreCache");function Lxe(t,e,r,n){return yA(this,arguments,void 0,function*(s,i,a,c,l=!1){var A;a=a||[];let u=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(u)),u.length>10)throw new rs("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of u)iD(p);let d=yield pd(),m="";try{let p;try{p=yield B8(u,s,{compressionMethod:d,enableCrossOsArchive:l})}catch(f){let C=(A=f?.message)!==null&&A!==void 0?A:"";throw C.includes(I$)?new AC(C):f}if(!p?.archiveLocation)return;if(c?.lookupOnly)return le("Lookup only - skipping download"),p.cacheKey;m=Mm.join(yield dd(),Io(d)),b(`Archive Path: ${m}`),yield Hv(p.archiveLocation,m,c),fa()&&(yield km(m,d));let h=Is(m);return le(`Cache Size: ~${Math.round(h/(1024*1024))} MB (${h} B)`),yield rD(m,d),le("Cache restored successfully"),p.cacheKey}catch(p){let h=p;if(h.name===rs.name)throw p;h instanceof Bs&&typeof h.statusCode=="number"&&h.statusCode>=500?ml(`Failed to restore: ${p.message}`):ht(`Failed to restore: ${p.message}`)}finally{try{yield md(m)}catch(p){b(`Failed to delete archive: ${p}`)}}})}o(Lxe,"restoreCacheV1");function _xe(t,e,r,n){return yA(this,arguments,void 0,function*(s,i,a,c,l=!1){var A;c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let u=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(u)),u.length>10)throw new rs("Key Validation Error: Keys are limited to a maximum of 10.");for(let m of u)iD(m);let d="";try{let m=ZP(),p=yield pd(),h={key:i,restoreKeys:a,version:Bl(s,p,l)},f;try{f=yield m.GetCacheEntryDownloadURL(h)}catch(E){let I=(A=E?.message)!==null&&A!==void 0?A:"";throw I.includes(I$)?new AC(I):E}if(!f.ok){b(`Cache not found for version ${h.version} of keys: ${u.join(", ")}`);return}if(h.key!==f.matchedKey?le(`Cache hit for restore-key: ${f.matchedKey}`):le(`Cache hit for: ${f.matchedKey}`),c?.lookupOnly)return le("Lookup only - skipping download"),f.matchedKey;d=Mm.join(yield dd(),Io(p)),b(`Archive path: ${d}`),b(`Starting download of archive to: ${d}`),yield Hv(f.signedDownloadUrl,d,c);let y=Is(d);return le(`Cache Size: ~${Math.round(y/(1024*1024))} MB (${y} B)`),fa()&&(yield km(d,p)),yield rD(d,p),le("Cache restored successfully"),f.matchedKey}catch(m){let p=m;if(p.name===rs.name)throw m;p instanceof Bs&&typeof p.statusCode=="number"&&p.statusCode>=500?ml(`Failed to restore: ${m.message}`):ht(`Failed to restore: ${m.message}`)}finally{try{d&&(yield md(d))}catch(m){b(`Failed to delete archive: ${m}`)}}})}o(_xe,"restoreCacheV2");function aD(t,e,r){return yA(this,arguments,void 0,function*(n,s,i,a=!1){let c=ym();b(`Cache service version: ${c}`),B$(n),iD(s);let l=Ov();return h8(l)?c==="v2"?yield Uxe(n,s,i,a):yield Fxe(n,s,i,a):(le(`Cache save skipped: the effective cache-mode '${l}' does not permit writes.`),b(`Skipped save for paths [${n.join(", ")}] with key '${s}'.`),-1)})}o(aD,"saveCache");function Fxe(t,e,r){return yA(this,arguments,void 0,function*(n,s,i,a=!1){var c,l,A,u,d,m;let p=yield pd(),h=-1,f=yield r0(n);if(b("Cache Paths:"),b(`${JSON.stringify(f)}`),f.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let C=yield dd(),y=Mm.join(C,Io(p));b(`Archive Path: ${y}`);try{yield nD(C,f,p),fa()&&(yield km(y,p));let E=10*1024*1024*1024,I=Is(y);if(b(`File Size: ${I}`),I>E&&!Uv())throw new Error(`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the 10GB limit, not saving cache.`);b("Reserving Cache");let B=yield Q8(s,n,{compressionMethod:p,enableCrossOsArchive:a,cacheSize:I});if(!((c=B?.result)===null||c===void 0)&&c.cacheId)h=(l=B?.result)===null||l===void 0?void 0:l.cacheId;else{if(B?.statusCode===400)throw new Error((u=(A=B?.error)===null||A===void 0?void 0:A.message)!==null&&u!==void 0?u:`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the data cap limit, not saving cache.`);{let N=(d=B?.error)===null||d===void 0?void 0:d.message;throw N?.startsWith(sD)?new lC(`Unable to reserve cache with key ${s}. More details: ${N}`):new sc(`Unable to reserve cache with key ${s}, another job may be creating this cache. More details: ${(m=B?.error)===null||m===void 0?void 0:m.message}`)}}b(`Saving Cache (ID: ${h})`),yield zv(h,y,"",i)}catch(E){let I=E;if(I.name===rs.name)throw E;I.name===sc.name?le(`Failed to save: ${I.message}`):I instanceof Bs&&typeof I.statusCode=="number"&&I.statusCode>=500?ml(`Failed to save: ${I.message}`):ht(`Failed to save: ${I.message}`)}finally{try{yield md(y)}catch(E){b(`Failed to delete archive: ${E}`)}}return h})}o(Fxe,"saveCacheV1");function Uxe(t,e,r){return yA(this,arguments,void 0,function*(n,s,i,a=!1){var c;i=Object.assign(Object.assign({},i),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let l=yield pd(),A=ZP(),u=-1,d=yield r0(n);if(b("Cache Paths:"),b(`${JSON.stringify(d)}`),d.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let m=yield dd(),p=Mm.join(m,Io(l));b(`Archive Path: ${p}`);try{yield nD(m,d,l),fa()&&(yield km(p,l));let h=Is(p);b(`File Size: ${h}`),i.archiveSizeBytes=h,b("Reserving Cache");let f=Bl(n,l,a),C={key:s,version:f},y;try{let B=yield A.CreateCacheEntry(C);if(!B.ok)throw B.message&&!B.message.startsWith(sD)&&ht(`Cache reservation failed: ${B.message}`),new Error(B.message||"Response was not ok");y=B.signedUploadUrl}catch(B){b(`Failed to reserve cache: ${B}`);let N=(c=B?.message)!==null&&c!==void 0?c:"";throw N.startsWith(sD)?new lC(`Unable to reserve cache with key ${s}. More details: ${N}`):new sc(`Unable to reserve cache with key ${s}, another job may be creating this cache.`)}b(`Attempting to upload cache located at: ${p}`),yield zv(u,p,y,i);let E={key:s,version:f,sizeBytes:`${h}`},I=yield A.FinalizeCacheEntryUpload(E);if(b(`FinalizeCacheEntryUploadResponse: ${I.ok}`),!I.ok)throw I.message?new uC(I.message):new Error(`Unable to finalize cache with key ${s}, another job may be finalizing this cache.`);u=parseInt(I.entryId)}catch(h){let f=h;if(f.name===rs.name)throw h;f.name===sc.name?le(`Failed to save: ${f.message}`):f.name===uC.name?ht(f.message):f instanceof Bs&&typeof f.statusCode=="number"&&f.statusCode>=500?ml(`Failed to save: ${f.message}`):ht(`Failed to save: ${f.message}`)}finally{try{yield md(p)}catch(h){b(`Failed to delete archive: ${h}`)}}return u})}o(Uxe,"saveCacheV2");var x$=Q(require("util"),1);var EA=class t{static{o(this,"Cache")}opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=x$.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=lD.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=lD.default.join(this.cacheDir,this.opts.cacheFile),Lm.default.existsSync(this.cacheDir)||Lm.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){b(`Cache.save ${e}`);let n=this.copyToCache(e),s=await this.cacheToHostedToolCache();if(s&&b(`Cache.save cached to hosted tool cache ${s}`),!this.ghaNoCache&&oD())if(r)try{b(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await aD([this.cacheDir],this.ghaCacheKey)}catch(i){ht(`Failed to save cache: ${i}`)}else b(`Cache.save sending ${this.ghaCacheKey} to post state`),sf(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return n}async find(){try{let e=fH(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return le(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&oD()){if(b("GitHub Actions cache feature available"),await Q$([this.cacheDir],this.ghaCacheKey)){if(le(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),!Lm.default.existsSync(this.cachePath))return ht(`Cache file ${this.cachePath} does not exist`),"";let r=await this.cacheToHostedToolCache();return r&&le(`Cached to hosted tool cache ${r}`),this.cachePath}}else this.ghaNoCache?le("GitHub Actions cache disabled"):le("GitHub Actions cache feature not available")}catch(e){ht(`Failed to restore cache: ${e}`)}return""}static async post(){let e=gO(t.POST_CACHE_KEY);if(!e)return le("State not set"),Promise.resolve(void 0);let r;try{r=JSON.parse(e)}catch(n){throw new Error(`Failed to parse cache post state: ${n}`)}if(!r.dir||!r.key)throw new Error(`Invalid cache post state: ${e}`);try{le(`Caching ${r.key} to GitHub Actions cache`),await aD([r.dir],r.key)}catch(n){ht(`Failed to save cache: ${n}`)}return r}copyToCache(e){return le(`Copying ${e} to ${this.cachePath}`),Lm.default.copyFileSync(e,this.cachePath),this.cachePath}async cacheToHostedToolCache(){try{return await hH(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform())}catch(e){le(`Failed to cache to hosted tool cache: ${e}`)}return""}platform(){let e=process.config.variables.arm_version;return`${cD.default.platform()}-${cD.default.arch()}${e?"v"+e:""}`}};var b$=!!process.env.STATE_isPost;b$||sf("isPost","true");async function w$(t,e){if(b$)e&&await e(),await ys("Post cache",async()=>{await EA.post()});else try{await t()}catch(r){fO(r.message)}}o(w$,"run");var uT=Q(require("fs"),1),X5=Q(require("os"),1),ep=Q(require("path"),1),Z5=require("util"),e9=Q(T$(),1);var hD=Q(require("fs"),1),X$=Q(require("os"),1),Z$=Q(require("path"),1),eW=Q(K$(),1);var pC=class t{static{o(this,"Context")}static _tmpDir=hD.default.mkdtempSync(Z$.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||X$.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return hD.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return eW.tmpNameSync(e)}};var _m=class{static{o(this,"Exec")}static async exec(e,r,n){return b(`Exec.exec: ${e} ${r?.join(" ")}`),po(e,r,n)}static async getExecOutput(e,r,n){return b(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),Fu(e,r,n)}};var AT=Q(require("crypto"),1),j5=Q(require("fs"),1),Zm=Q(require("path"),1),K5=Q(G5(),1);var ue=class t extends Error{static{o(this,"CsvError")}constructor(e,r,n,...s){Array.isArray(r)&&(r=r.join(" ").trim()),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,t),this.code=e;for(let i of s)for(let a in i){let c=i[a];this[a]=Buffer.isBuffer(c)?c.toString(n.encoding):c==null?c:JSON.parse(JSON.stringify(c))}}};var Xm=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var XC=o(function(t){let e=[];for(let r=0,n=t.length;r<n;r++){let s=t[r];if(s==null||s===!1)e[r]={disabled:!0};else if(typeof s=="string"||typeof s=="number")e[r]={name:`${s}`};else if(Xm(s)){if(typeof s.name!="string")throw new ue("CSV_OPTION_COLUMNS_MISSING_NAME",["Option columns missing name:",`property "name" is required at position ${r}`,"when column is an object literal"]);e[r]=s}else throw new ue("CSV_INVALID_COLUMN_DEFINITION",["Invalid column definition:","expect a string or a literal object,",`got ${JSON.stringify(s)} at position ${r}`])}return e},"normalize_columns_array");var cT=class{static{o(this,"ResizeableBuffer")}constructor(e=100){this.size=e,this.length=0,this.buf=Buffer.allocUnsafe(e)}prepend(e){if(Buffer.isBuffer(e)){let r=this.length+e.length;if(r>=this.size&&(this.resize(),r>=this.size))throw Error("INVALID_BUFFER_STATE");let n=this.buf;this.buf=Buffer.allocUnsafe(this.size),e.copy(this.buf,0),n.copy(this.buf,e.length),this.length+=e.length}else{let r=this.length++;r===this.size&&this.resize();let n=this.clone();this.buf[0]=e,n.copy(this.buf,1,0,r)}}append(e){let r=this.length++;r===this.size&&this.resize(),this.buf[r]=e}clone(){return Buffer.from(this.buf.slice(0,this.length))}resize(){let e=this.length;this.size=this.size*2;let r=Buffer.allocUnsafe(this.size);this.buf.copy(r,0,0,e),this.buf=r}toString(e){return e?this.buf.toString(e,0,this.length):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}},lT=cT;var Y5=o(function(t){let e=[32,9,10,13,12,11,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288,65279].reduce((n,s)=>{let i=Buffer.from(String.fromCharCode(s),t.encoding);return s!==63&&i.length===1&&i[0]===63||n.push(i),n},[]),r=new Uint8Array(256);for(let n of e)r[n[0]]=1;return{bomSkipped:!1,bufBytesStart:0,castField:t.cast_function,commenting:!1,delimiterBufPrevious:void 0,delimiterDiscovered:!1,error:void 0,enabled:t.from_line===1,escaping:!1,escapeIsQuote:Buffer.isBuffer(t.escape)&&Buffer.isBuffer(t.quote)&&Buffer.compare(t.escape,t.quote)===0,expectedRecordLength:Array.isArray(t.columns)?t.columns.length:void 0,field:new lT(20),firstLineToHeaders:t.cast_first_line_to_header,needMoreDataSize:Math.max(t.comment!==null?t.comment.length:0,...t.delimiter?t.delimiter.map(n=>n.length):[],t.delimiter_auto?1:0,t.quote!==null?t.quote.length:0,...e.map(n=>n.length)),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new lT(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:t.record_delimiter.length===0?0:Math.max(...t.record_delimiter.map(n=>n.length)),trimChars:[Buffer.from(" ",t.encoding)[0],Buffer.from(" ",t.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:e,timcharFirstBytes:r}},"init_state");var V5=o(function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})},"underscore");var DA=o(function(t){let e={};for(let n in t)e[V5(n)]=t[n];if(e.encoding===void 0||e.encoding===!0)e.encoding="utf8";else if(e.encoding===null||e.encoding===!1)e.encoding=null;else if(typeof e.encoding!="string"&&e.encoding!==null)throw new ue("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 ue("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 ue("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(e.cast)}`],e);if(e.cast_date===void 0||e.cast_date===null||e.cast_date===!1||e.cast_date==="")e.cast_date=!1;else if(e.cast_date===!0)e.cast_date=function(n){let s=Date.parse(n);return isNaN(s)?n:new Date(s)};else if(typeof e.cast_date!="function")throw new ue("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=XC(e.columns);else if(e.columns===void 0||e.columns===null||e.columns===!1)e.columns=!1;else throw new ue("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 ue("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 ue("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 ue("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 ue("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(e.comment_no_infix)}`],e);if(e.delimiter_auto===void 0||e.delimiter_auto===null||e.delimiter_auto===!1)e.delimiter_auto=!1;else if(e.delimiter_auto===!0)e.delimiter_auto={};else if(!Xm(e.delimiter_auto))throw new ue("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","delimiter_auto must be a boolean or a configuration object,",`got ${JSON.stringify(e.delimiter_auto)}`],e);if(e.delimiter_auto){if(e.delimiter_auto.preferred===void 0)e.delimiter_auto.preferred={44:1.8,9:1.8,59:1.6,32:1.6,58:1.5,46:1.4,47:1.4};else if(!Xm(e.delimiter_auto.preferred))throw new ue("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","preferred must be an object,",`got ${JSON.stringify(e.delimiter_auto.preferred)}`],e);if(e.delimiter_auto.score===void 0)e.delimiter_auto.score=(n,s)=>(n.total-n.std)*(s.preferred[n.char_code]||1);else if(typeof e.delimiter_auto.score!="function")throw new ue("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","score must be a function,",`got ${JSON.stringify(e.delimiter_auto.score)}`],e);if(e.delimiter_auto.size===void 0)e.delimiter_auto.size=2048;else if(typeof e.delimiter_auto.size!="number")throw new ue("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","size must be a number,",`got ${JSON.stringify(e.delimiter_auto.size)}`],e)}let r=JSON.stringify(e.delimiter);if(e.delimiter_auto!==!1&&(e.delimiter=[]),Array.isArray(e.delimiter)||((e.delimiter===void 0||e.delimiter===null||e.delimiter===!1)&&(e.delimiter=Buffer.from(",",e.encoding)),e.delimiter=[e.delimiter]),e.delimiter=e.delimiter.map(function(n){if(typeof n=="string"&&(n=Buffer.from(n,e.encoding)),!Buffer.isBuffer(n)||n.length===0)throw new ue("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],e);return n}),e.escape===void 0||e.escape===!0?e.escape=Buffer.from('"',e.encoding):typeof e.escape=="string"?e.escape=Buffer.from(e.escape,e.encoding):(e.escape===null||e.escape===!1)&&(e.escape=null),e.escape!==null&&!Buffer.isBuffer(e.escape))throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(e.escape)}`);if(e.from===void 0||e.from===null)e.from=1;else if(typeof e.from=="string"&&/\d+/.test(e.from)&&(e.from=parseInt(e.from)),Number.isInteger(e.from)){if(e.from<0)throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(t.from)}`)}else throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(e.from)}`);if(e.from_line===void 0||e.from_line===null)e.from_line=1;else if(typeof e.from_line=="string"&&/\d+/.test(e.from_line)&&(e.from_line=parseInt(e.from_line)),Number.isInteger(e.from_line)){if(e.from_line<=0)throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(t.from_line)}`)}else throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(t.from_line)}`);if(e.ignore_last_delimiters===void 0||e.ignore_last_delimiters===null)e.ignore_last_delimiters=!1;else if(typeof e.ignore_last_delimiters=="number")e.ignore_last_delimiters=Math.floor(e.ignore_last_delimiters),e.ignore_last_delimiters===0&&(e.ignore_last_delimiters=!1);else if(typeof e.ignore_last_delimiters!="boolean")throw new ue("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 ue("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 ue("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 ue("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 ue("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);if(e.record_delimiter=e.record_delimiter.map(function(n,s){if(typeof n!="string"&&!Buffer.isBuffer(n))throw new ue("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${s},`,`got ${JSON.stringify(n)}`],e);if(n.length===0)throw new ue("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${s},`,`got ${JSON.stringify(n)}`],e);return typeof n=="string"&&(n=Buffer.from(n,e.encoding)),n}),typeof e.relax_column_count!="boolean")if(e.relax_column_count===void 0||e.relax_column_count===null)e.relax_column_count=!1;else throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(e.relax_column_count)}`);if(typeof e.relax_column_count_less!="boolean")if(e.relax_column_count_less===void 0||e.relax_column_count_less===null)e.relax_column_count_less=!1;else throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(e.relax_column_count_less)}`);if(typeof e.relax_column_count_more!="boolean")if(e.relax_column_count_more===void 0||e.relax_column_count_more===null)e.relax_column_count_more=!1;else throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(e.relax_column_count_more)}`);if(typeof e.relax_quotes!="boolean")if(e.relax_quotes===void 0||e.relax_quotes===null)e.relax_quotes=!1;else throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(e.relax_quotes)}`);if(typeof e.skip_empty_lines!="boolean")if(e.skip_empty_lines===void 0||e.skip_empty_lines===null)e.skip_empty_lines=!1;else throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(e.skip_empty_lines)}`);if(typeof e.skip_records_with_empty_values!="boolean")if(e.skip_records_with_empty_values===void 0||e.skip_records_with_empty_values===null)e.skip_records_with_empty_values=!1;else throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(e.skip_records_with_empty_values)}`);if(typeof e.skip_records_with_error!="boolean")if(e.skip_records_with_error===void 0||e.skip_records_with_error===null)e.skip_records_with_error=!1;else throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(e.skip_records_with_error)}`);if(e.rtrim===void 0||e.rtrim===null||e.rtrim===!1)e.rtrim=!1;else if(e.rtrim!==!0)throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(e.rtrim)}`);if(e.ltrim===void 0||e.ltrim===null||e.ltrim===!1)e.ltrim=!1;else if(e.ltrim!==!0)throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(e.ltrim)}`);if(e.trim===void 0||e.trim===null||e.trim===!1)e.trim=!1;else if(e.trim!==!0)throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(e.trim)}`);if(e.trim===!0&&t.ltrim!==!1?e.ltrim=!0:e.ltrim!==!0&&(e.ltrim=!1),e.trim===!0&&t.rtrim!==!1?e.rtrim=!0:e.rtrim!==!0&&(e.rtrim=!1),e.to===void 0||e.to===null)e.to=-1;else if(e.to!==-1)if(typeof e.to=="string"&&/\d+/.test(e.to)&&(e.to=parseInt(e.to)),Number.isInteger(e.to)){if(e.to<=0)throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(t.to)}`)}else throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(t.to)}`);if(e.to_line===void 0||e.to_line===null)e.to_line=-1;else if(e.to_line!==-1)if(typeof e.to_line=="string"&&/\d+/.test(e.to_line)&&(e.to_line=parseInt(e.to_line)),Number.isInteger(e.to_line)){if(e.to_line<=0)throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(t.to_line)}`)}else throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(t.to_line)}`);return e},"normalize_options");var J5=o(function(t,e){e||({delimiter_auto:e}=DA({delimiter_auto:!0})),typeof t=="string"&&(t=Buffer.from(t)),Buffer.isBuffer(t)&&(t=(s=>{let i=[],a=ZC({delimiter:[]}),c=o(u=>i.push(u),"push"),l=o(()=>{},"close"),A=a.parse(s,!0,c,l);if(A!==void 0)throw A;return i})(t));let r=Array(127).fill().map(()=>({lines:[]}));t.map(([s],i)=>{for(let a=0,c=s.length;a<c;a++){let l=s.charCodeAt(a);r[l].lines[i]===void 0&&(r[l].lines[i]=0),r[l].lines[i]++}}),r.map((s,i)=>{s.char_code=i,s.std=rNe(s.lines),s.total=s.lines.reduce((a,c)=>a+c,0),s.preferred=!!e.preferred[i],s.score=e.score(s,e)});let n=r.reduce((s,i)=>s.score>i.score?s:i,{});return String.fromCharCode(n.char_code)},"delimiter_discover"),rNe=o(function(t){let e=t.length;if(e===0)return 0;let r=t.reduce((n,s)=>n+s)/e;return Math.sqrt(t.map(n=>Math.pow(n-r,2)).reduce((n,s)=>n+s)/e)},"std");var $5=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),nNe=13,sNe=10,TA={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},ZC=o(function(t={}){let e={bytes:0,bytes_records:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},r=DA(t);return{info:e,original_options:t,options:r,state:Y5(r),__needMoreData:o(function(n,s,i){if(i)return!1;let{encoding:a,escape:c,quote:l}=this.options,{quoting:A,needMoreDataSize:u,recordDelimiterMaxLength:d}=this.state,m=s-n-1,p=Math.max(u,d===0?Buffer.from(`\r
`,a).length:d,A?(c===null?0:c.length)+l.length:0,A?l.length+d:0);return m<p},"__needMoreData"),parse:o(function(n,s,i,a){let{bom:c,comment_no_infix:l,delimiter_auto:A,encoding:u,from_line:d,ltrim:m,max_record_size:p,raw:h,relax_quotes:f,rtrim:C,skip_empty_lines:y,to:E,to_line:I}=this.options,{comment:B,escape:N,quote:k,record_delimiter:S}=this.options,{bomSkipped:de,delimiterDiscovered:ye,delimiterBufPrevious:Qe,rawBuffer:Ne,escapeIsQuote:ae}=this.state;if(!ye&&A){let xe;if(Qe===void 0?xe=n:Qe!==void 0&&n===void 0?xe=Qe:xe=Buffer.concat([Qe,n]),n=void 0,s||xe.length>A.size)this.options.delimiter=[Buffer.from(J5(xe,this.options.delimiter_auto))],this.state.previousBuf=xe,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=xe;return}}let{previousBuf:De}=this.state,ee;if(De===void 0)if(n===void 0){a();return}else ee=n;else De!==void 0&&n===void 0?ee=De:ee=Buffer.concat([De,n]);if(de===!1)if(c===!1)this.state.bomSkipped=!0;else if(ee.length<3){if(s===!1){this.state.previousBuf=ee;return}}else{for(let xe in TA)if(TA[xe].compare(ee,0,TA[xe].length)===0){let ss=TA[xe].length;this.state.bufBytesStart+=ss,ee=ee.slice(ss);let Vi=DA({...this.original_options,encoding:xe});for(let Je in Vi)this.options[Je]=Vi[Je];({comment:B,escape:N,quote:k}=this.options);break}this.state.bomSkipped=!0}let Jt=ee.length,H;for(H=0;H<Jt&&!this.__needMoreData(H,Jt,s);H++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),I!==-1&&this.info.lines>I){this.state.stop=!0,a();return}this.state.quoting===!1&&S.length===0&&this.__autoDiscoverRecordDelimiter(ee,H)&&(S=this.options.record_delimiter);let xe=ee[H];if(h===!0&&Ne.append(xe),(xe===nNe||xe===sNe)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(N!==null&&this.state.quoting===!0&&this.__isEscape(ee,H,xe)&&H+N.length<Jt)if(ae){if(this.__isQuote(ee,H+N.length)){this.state.escaping=!0,H+=N.length-1;continue}}else{this.state.escaping=!0,H+=N.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(ee,H))if(this.state.quoting===!0){let Je=ee[H+k.length],is=C&&this.__isCharTrimable(ee,H+k.length),vr=B!==null&&this.__compareBytes(B,ee,H+k.length,Je),Oo=this.__isDelimiter(ee,H+k.length,Je),tp=S.length===0?this.__autoDiscoverRecordDelimiter(ee,H+k.length):this.__isRecordDelimiter(Je,ee,H+k.length);if(N!==null&&this.__isEscape(ee,H,xe)&&this.__isQuote(ee,H+N.length))H+=N.length-1;else if(!Je||Oo||tp||vr||is){this.state.quoting=!1,this.state.wasQuoting=!0,H+=k.length-1;continue}else if(f===!1){let dT=this.__error(new ue("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(Je)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(dT!==void 0)return dT}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(k),H+=k.length-1}else if(this.state.field.length!==0){if(f===!1){let Je=this.__infoField(),is=Object.keys(TA).map(Oo=>TA[Oo].equals(this.state.field.toString())?Oo:!1).filter(Boolean)[0],vr=this.__error(new ue("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(Je.column)} at line ${Je.lines}, value is ${JSON.stringify(this.state.field.toString(u))}`,is?`(${is} bom)`:void 0],this.options,Je,{field:this.state.field}));if(vr!==void 0)return vr}}else{this.state.quoting=!0,H+=k.length-1;continue}if(this.state.quoting===!1){let Je=this.__isRecordDelimiter(xe,ee,H);if(Je!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=d){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),H+=Je-1;continue}if(y===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,H+=Je-1;continue}this.info.bytes=this.state.bufBytesStart+H;let Oo=this.__onField();if(Oo!==void 0)return Oo;this.info.bytes=this.state.bufBytesStart+H+Je;let tp=this.__onRecord(i);if(tp!==void 0)return tp;if(E!==-1&&this.info.records>=E){this.state.stop=!0,a();return}}this.state.commenting=!1,H+=Je-1;continue}if(this.state.commenting)continue;if(B!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(B,ee,H,xe)!==0){this.state.commenting=!0;continue}let is=this.__isDelimiter(ee,H,xe);if(is!==0){this.info.bytes=this.state.bufBytesStart+H;let vr=this.__onField();if(vr!==void 0)return vr;H+=is-1;continue}}}if(this.state.commenting===!1&&p!==0&&this.state.record_length+this.state.field.length>p)return this.__error(new ue("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${p}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let ss=m===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(ee,H),Vi=C===!1||this.state.wasQuoting===!1;if(ss===!0&&Vi===!0)this.state.field.append(xe);else{if(C===!0&&!this.__isCharTrimable(ee,H))return this.__error(new ue("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()));ss===!1&&(H+=this.__isCharTrimable(ee,H)-1);continue}}if(s===!0)if(this.state.quoting===!0){let xe=this.__error(new ue("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(xe!==void 0)return xe}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+H;let xe=this.__onField();if(xe!==void 0)return xe;let ss=this.__onRecord(i);if(ss!==void 0)return ss}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=H,this.state.previousBuf=ee.slice(H);this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1)},"parse"),__onRecord:o(function(n){let{columns:s,group_columns_by_name:i,encoding:a,info:c,from:l,relax_column_count:A,relax_column_count_less:u,relax_column_count_more:d,raw:m,skip_records_with_empty_values:p}=this.options,{enabled:h,record:f}=this.state;if(h===!1)return this.__resetRecord();let C=f.length;if(s===!0){if(p===!0&&$5(f)){this.__resetRecord();return}return this.__firstLineToColumns(f)}if(s===!1&&this.info.records===0&&(this.state.expectedRecordLength=C),C!==this.state.expectedRecordLength){let y=s===!1?new ue("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${C} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f}):new ue("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${s.length},`,`got ${C} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f});if(A===!0||u===!0&&C<this.state.expectedRecordLength||d===!0&&C>this.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=y;else{let E=this.__error(y);if(E)return E}}if(p===!0&&$5(f)){this.__resetRecord();return}if(this.state.recordHasError===!0){this.__resetRecord(),this.state.recordHasError=!1;return}if(this.info.records++,l===1||this.info.records>=l){let{objname:y}=this.options;if(s!==!1){let E={};for(let I=0,B=f.length;I<B;I++)s[I]===void 0||s[I].disabled||(i===!0&&Object.hasOwn(E,s[I].name)?Array.isArray(E[s[I].name])?E[s[I].name]=E[s[I].name].concat(f[I]):E[s[I].name]=[E[s[I].name],f[I]]:Object.defineProperty(E,s[I].name,{value:f[I],enumerable:!0,writable:!0,configurable:!0}));if(m===!0||c===!0){let I=Object.assign({record:E},m===!0?{raw:this.state.rawBuffer.toString(a)}:{},c===!0?{info:this.__infoRecord()}:{}),B=this.__push(y===void 0?I:[E[y],I],n);if(B)return B}else{let I=this.__push(y===void 0?E:[E[y],E],n);if(I)return I}}else if(m===!0||c===!0){let E=Object.assign({record:f},m===!0?{raw:this.state.rawBuffer.toString(a)}:{},c===!0?{info:this.__infoRecord()}:{}),I=this.__push(y===void 0?E:[f[y],E],n);if(I)return I}else{let E=this.__push(y===void 0?f:[f[y],f],n);if(E)return E}}this.__resetRecord()},"__onRecord"),__firstLineToColumns:o(function(n){let{firstLineToHeaders:s}=this.state;try{let i=s===void 0?n:s.call(null,n);if(!Array.isArray(i))return this.__error(new ue("CSV_INVALID_COLUMN_MAPPING",["Invalid Column Mapping:","expect an array from column function,",`got ${JSON.stringify(i)}`],this.options,this.__infoField(),{headers:i}));let a=XC(i);this.state.expectedRecordLength=a.length,this.options.columns=a,this.__resetRecord();return}catch(i){return i}},"__firstLineToColumns"),__resetRecord:o(function(){this.options.raw===!0&&this.state.rawBuffer.reset(),this.state.error=void 0,this.state.record=[],this.state.record_length=0},"__resetRecord"),__onField:o(function(){let{cast:n,encoding:s,rtrim:i,max_record_size:a}=this.options,{enabled:c,wasQuoting:l}=this.state;if(c===!1)return this.__resetField();let A=this.state.field.toString(s);if(i===!0&&l===!1&&(A=A.trimRight()),n===!0){let[u,d]=this.__cast(A);if(u!==void 0)return u;A=d}this.state.record.push(A),a!==0&&typeof A=="string"&&(this.state.record_length+=A.length),this.__resetField()},"__onField"),__resetField:o(function(){this.state.field.reset(),this.state.wasQuoting=!1},"__resetField"),__push:o(function(n,s){let{on_record:i}=this.options;if(i!==void 0){let a=this.__infoRecord();try{n=i.call(null,n,a)}catch(c){return c}if(n==null)return}this.info.bytes_records+=this.info.bytes,s(n)},"__push"),__cast:o(function(n){let{columns:s,relax_column_count:i}=this.options;if(Array.isArray(s)===!0&&i&&this.options.columns.length<=this.state.record.length)return[void 0,void 0];if(this.state.castField!==null)try{let c=this.__infoField();return[void 0,this.state.castField.call(null,n,c)]}catch(c){return[c]}if(this.__isFloat(n))return[void 0,parseFloat(n)];if(this.options.cast_date!==!1){let c=this.__infoField();return[void 0,this.options.cast_date.call(null,n,c)]}return[void 0,n]},"__cast"),__compareBytes:o(function(n,s,i,a){if(n[0]!==a)return 0;let c=n.length;for(let l=1;l<c;l++)if(n[l]!==s[i+l])return 0;return c},"__compareBytes"),__isCharTrimable:o(function(n,s){let{timchars:i,timcharFirstBytes:a}=this.state,c=n[s];if(c===void 0||a[c]===0)return 0;e:for(let l=0;l<i.length;l++){let A=i[l];for(let u=0;u<A.length;u++)if(A[u]!==n[s+u])continue e;return A.length}return 0},"__isCharTrimable"),__isDelimiter:o(function(n,s,i){let{delimiter:a,ignore_last_delimiters:c}=this.options;if(c===!0&&this.state.record.length===this.options.columns.length-1)return 0;if(c!==!1&&typeof c=="number"&&this.state.record.length===c-1)return 0;e:for(let l=0;l<a.length;l++){let A=a[l];if(A[0]===i){for(let u=1;u<A.length;u++)if(A[u]!==n[s+u])continue e;return A.length}}return 0},"__isDelimiter"),__isEscape:o(function(n,s,i){let{escape:a}=this.options;if(a===null)return!1;let c=a.length;if(a[0]===i){for(let l=0;l<c;l++)if(a[l]!==n[s+l])return!1;return!0}return!1},"__isEscape"),__isFloat:o(function(n){return n-parseFloat(n)+1>=0},"__isFloat"),__isQuote:o(function(n,s){let{quote:i}=this.options;if(i===null)return!1;let a=i.length;for(let c=0;c<a;c++)if(i[c]!==n[s+c])return!1;return!0},"__isQuote"),__isRecordDelimiter:o(function(n,s,i){let{record_delimiter:a}=this.options,c=a.length;e:for(let l=0;l<c;l++){let A=a[l],u=A.length;if(A[0]===n){for(let d=1;d<u;d++)if(A[d]!==s[i+d])continue e;return A.length}}return 0},"__isRecordDelimiter"),__autoDiscoverRecordDelimiter:o(function(n,s){let{encoding:i}=this.options,a=[Buffer.from(`\r
`,i),Buffer.from(`
`,i),Buffer.from("\r",i)];e:for(let c=0;c<a.length;c++){let l=a[c].length;for(let A=0;A<l;A++)if(a[c][A]!==n[s+A])continue e;return this.options.record_delimiter.push(a[c]),this.state.recordDelimiterMaxLength=a[c].length,a[c].length}return 0},"__autoDiscoverRecordDelimiter"),__error:o(function(n){let{encoding:s,raw:i,skip_records_with_error:a}=this.options,c=typeof n=="string"?new Error(n):n;if(a){if(this.state.recordHasError=!0,this.options.on_skip!==void 0)try{this.options.on_skip(c,i?this.state.rawBuffer.toString(s):void 0)}catch(l){return l}return}else return c},"__error"),__infoDataSet:o(function(){return{...this.info,columns:this.options.columns}},"__infoDataSet"),__infoRecord:o(function(){let{columns:n,raw:s,encoding:i}=this.options;return{...this.__infoDataSet(),bytes_records:this.info.bytes,error:this.state.error,header:n===!0,index:this.state.record.length,raw:s?this.state.rawBuffer.toString(i):void 0}},"__infoRecord"),__infoField:o(function(){let{columns:n}=this.options,s=Array.isArray(n),i=this.info.bytes_records;return{...this.__infoRecord(),bytes_records:i,column:s===!0?n.length>this.state.record.length?n[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var W5=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],n=ZC(e),s=o(c=>{n.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),i=o(()=>{},"close"),a=n.parse(t,!0,s,i);if(a!==void 0)throw a;return r},"parse");var kA=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(dl(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let n=[];if(e=="")return n;let s=W5(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let i of s)i.length==1?r?.ignoreComma?n.push(i[0]):n.push(...i[0].split(",")):r?.ignoreComma?n.push(i.join(",")):n.push(...i);return n.filter(i=>i).map(i=>r?.trimWhitespace===!1?i:i.trim())}static getInputNumber(e){let r=dl(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let n=0;n<e.length;n++)await r(e[n],n,e)}static isValidURL(e){let r;try{r=new URL(e)}catch{return!1}return r.protocol==="http:"||r.protocol==="https:"}static isValidRef(e){if(t.isValidURL(e))return!0;for(let r of["git://","github.com/","git@"])if(e.startsWith(r))return!0;return!1}static async powershellCommand(e,r){let n=await hr("powershell",!0),s=e.replace(/'/g,"''"),i=[];if(r)for(let a in r)i.push(`-${a} '${r[a].replace(/'/g,"''")}'`);return{command:`"${n}"`,args:["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-EncodedCommand",Buffer.from(`& '${s}' ${i.join(" ")}`,"utf16le").toString("base64")]}}static isDirectory(e){try{return j5.default.lstatSync(e).isDirectory()}catch{}return!1}static trimPrefix(e,r){return!e||!r||e.indexOf(r)!==0?e:e.substring(r.length)}static trimSuffix(e,r){if(!e||!r)return e;let n=e.lastIndexOf(r);return n===-1||n+r.length!==e.length?e:e.substring(0,n)}static sleep(e){return new Promise(r=>setTimeout(r,e*1e3))}static hash(e){return AT.default.createHash("sha256").update(e).digest("hex")}static parseBool(e){if(e===void 0)return!1;switch(e){case"1":case"t":case"T":case"true":case"TRUE":case"True":return!0;case"0":case"f":case"F":case"false":case"FALSE":case"False":return!1;default:throw new Error(`parseBool syntax error: ${e}`)}}static parseBoolOrDefault(e,r=!1){try{return this.parseBool(e)}catch{return r}}static formatFileSize(e){if(e===0)return"0 Bytes";let r=1024,n=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],s=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,s)).toFixed(2))+" "+n[s]}static generateRandomString(e=10){return AT.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,n){return K5.default.compile(e,r)(n)}static stringToUnicodeEntities(e){return Array.from(e).map(r=>`&#x${r.charCodeAt(0).toString(16)};`).join("")}static countLines(e){return e.split(/\r\n|\r|\n/).length}static isPathRelativeTo(e,r){let n=Zm.default.resolve(e);return Zm.default.resolve(r).startsWith(n.endsWith(Zm.default.sep)?n:`${n}${Zm.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),n=Math.floor(r/3600),s=Math.floor(r%3600/60),i=r%60,a=[];return n&&a.push(`${n}h`),s&&a.push(`${s}m`),(i||a.length===0)&&a.push(`${i}s`),a.join("")}};var Vt=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||ep.default.join(X5.default.homedir(),".docker")}static configFile(){let e=ep.default.join(t.configDir,"config.json");if(uT.default.existsSync(e))return JSON.parse(uT.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await hr("docker",!0).then(e=>(b(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(b(`Docker.isAvailable error: ${e}`),!1))}static async isDaemonRunning(){try{return await t.getExecOutput(["version"],{silent:!0}),!0}catch{return!1}}static async exec(e,r){return _m.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return _m.getExecOutput("docker",e,t.execOptions(r))}static getErrorMessage(e){let r=(0,Z5.stripVTControlCharacters)(e).split(/[\r\n]/);for(let n=r.length-1;n>=0;n--){let s=r[n].trim();if(s)return s}return"unknown error"}static execOptions(e){return e||(e={}),e.env?e.env.DOCKER_CONTENT_TRUST="false":e.env=Object.assign({},process.env,{DOCKER_CONTENT_TRUST:"false"}),e}static async context(e){let r=["context","inspect","--format","{{.Name}}"];return e&&r.push(e),await t.getExecOutput(r,{ignoreReturnCode:!0,silent:!0}).then(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr);return n.stdout.trim()})}static async contextInspect(e){let r=["context","inspect","--format=json"];return e&&r.push(e),await t.getExecOutput(r,{ignoreReturnCode:!0,silent:!0}).then(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr.trim());return JSON.parse(n.stdout.trim())[0]})}static async printVersion(){await t.exec(["version"])}static async printInfo(){await t.exec(["info"])}static parseRepoTag(e){let r,n=e.indexOf("@"),s=e.lastIndexOf(":");if(n>=0)r=n;else if(s>=0)r=s;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 n=t.parseRepoTag(e),s=n.repository.replace(/[^a-zA-Z0-9.]+/g,"--"),i=n.tag.replace(/[^a-zA-Z0-9.]+/g,"--"),a=new EA({htcName:s,htcVersion:i,baseCacheDir:ep.default.join(t.configDir,".cache","images",s),cacheFile:"image.tar"}),c;r&&(c=await a.find(),c&&(le(`Image found from cache in ${c}`),await t.getExecOutput(["load","-i",c],{ignoreReturnCode:!0}).then(A=>{A.stderr.length>0&&A.exitCode!=0&&ht(`Failed to load image from cache: ${t.getErrorMessage(A.stderr)}`)})));let l=!0;try{await t.pullWithRetry(e)}catch(A){if(l=!1,c)ht(`Failed to pull image, using one from cache: ${A.message}`);else throw A}if(r&&l){let A=ep.default.join(pC.tmpDir(),`${kA.hash(e)}.tar`);await t.getExecOutput(["save","-o",A,e],{ignoreReturnCode:!0}).then(async u=>{if(u.stderr.length>0&&u.exitCode!=0)ht(`Failed to save image: ${t.getErrorMessage(u.stderr)}`);else{let d=await a.save(A);le(`Image cached to ${d}`)}})}}static async pullWithRetry(e){await(0,e9.default)(async n=>{let s=await t.getExecOutput(["pull",e],{ignoreReturnCode:!0});if(s.stderr.length>0&&s.exitCode!=0){let i=t.getErrorMessage(s.stderr);if(!t.isPullTransientError(i)){n(new Error(i));return}throw new Error(i)}},{retries:4,minTimeout:1e3,factor:2,onRetry:o((n,s)=>{b(`Docker pull failed, retrying (${s}/5)...
${n}`)},"onRetry")})}static isPullTransientError(e){return/Client\.Timeout exceeded|TLS handshake timeout|i\/o timeout|context deadline exceeded|request canceled|connection reset by peer|connection refused|connection timed out|temporary failure|unexpected EOF|\bEOF\b|server misbehaving/i.test(e)||/\b(500|502|503|504)\b/.test(e)||/\b(service unavailable|bad gateway|gateway timeout|internal server error)\b/i.test(e)}};function t9(){return{image:dl("image")||"docker.io/tonistiigi/binfmt:latest",platforms:kA.getInputList("platforms").join(",")||"all",reset:$x("reset"),cacheImage:$x("cache-image")}}o(t9,"getInputs");w$(async()=>{let t=t9();await ys("Docker info",async()=>{await Vt.printVersion(),await Vt.printInfo()}),await ys("Pulling binfmt Docker image",async()=>{await Vt.pull(t.image,t.cacheImage)}),await ys("Image info",async()=>{await Vt.getExecOutput(["image","inspect",t.image],{ignoreReturnCode:!0}).then(e=>{if(e.exitCode!=0)throw new Error(`Failed to inspect image ${t.image}: ${Vt.getErrorMessage(e.stderr)}`)})}),await ys("Binfmt version",async()=>{await Vt.getExecOutput(["run","--rm","--privileged",t.image,"--version"],{ignoreReturnCode:!0}).then(e=>{if(e.exitCode!=0)throw new Error(`Failed to get binfmt version: ${Vt.getErrorMessage(e.stderr)}`)})}),t.reset&&await ys("Uninstalling current emulators",async()=>{await Vt.getExecOutput(["run","--rm","--privileged",t.image,"--uninstall","qemu-*"],{ignoreReturnCode:!0}).then(e=>{if(e.exitCode!=0)throw new Error(`Failed to uninstall current emulators: ${Vt.getErrorMessage(e.stderr)}`)})}),await ys("Installing QEMU static binaries",async()=>{await Vt.getExecOutput(["run","--rm","--privileged",t.image,"--install",t.platforms],{ignoreReturnCode:!0}).then(e=>{if(e.exitCode!=0)throw new Error(`Failed to install QEMU static binaries: ${Vt.getErrorMessage(e.stderr)}`)})}),await ys("Extracting available platforms",async()=>{await Vt.getExecOutput(["run","--rm","--privileged",t.image],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.exitCode!=0)throw new Error(`Failed to extract available platforms: ${Vt.getErrorMessage(e.stderr)}`);let r=JSON.parse(e.stdout.trim());le(`${r.supported.join(",")}`),hO("platforms",r.supported.join(","))})})});
/*! Bundled license information:
undici/lib/web/fetch/body.js:
(*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
undici/lib/web/websocket/frame.js:
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
tmp/lib/tmp.js:
(*!
* Tmp
*
* Copyright (c) 2011-2017 KARASZI Istvan <github@spam.raszi.hu>
*
* MIT Licensed
*)
*/
//# sourceMappingURL=index.cjs.map