mirror of
https://github.com/docker/setup-qemu-action.git
synced 2026-10-31 03:32:27 +01:00
151 lines
1.3 MiB
Plaintext
Generated
151 lines
1.3 MiB
Plaintext
Generated
var q5=Object.create;var Jm=Object.defineProperty;var H5=Object.getOwnPropertyDescriptor;var z5=Object.getOwnPropertyNames;var G5=Object.getPrototypeOf,Y5=Object.prototype.hasOwnProperty;var o=(t,e)=>Jm(t,"name",{value:e,configurable:!0});var g=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),V5=(t,e)=>{for(var r in e)Jm(t,r,{get:e[r],enumerable:!0})},J5=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of z5(e))!Y5.call(t,s)&&s!==r&&Jm(t,s,{get:()=>e[s],enumerable:!(n=H5(e,s))||n.enumerable});return t};var Q=(t,e,r)=>(r=t!=null?q5(G5(t)):{},J5(e||!t||!t.__esModule?Jm(r,"default",{value:t,enumerable:!0}):r,t));var sk=g(ac=>{"use strict";var j0e=require("net"),K5=require("tls"),jC=require("http"),tk=require("https"),X5=require("events"),K0e=require("assert"),Z5=require("util");ac.httpOverHttp=e9;ac.httpsOverHttp=t9;ac.httpOverHttps=r9;ac.httpsOverHttps=n9;function e9(t){var e=new ii(t);return e.request=jC.request,e}o(e9,"httpOverHttp");function t9(t){var e=new ii(t);return e.request=jC.request,e.createSocket=rk,e.defaultPort=443,e}o(t9,"httpsOverHttp");function r9(t){var e=new ii(t);return e.request=tk.request,e}o(r9,"httpOverHttps");function n9(t){var e=new ii(t);return e.request=tk.request,e.createSocket=rk,e.defaultPort=443,e}o(n9,"httpsOverHttps");function ii(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||jC.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,s,i,a){for(var c=nk(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(ii,"TunnelingAgent");Z5.inherits(ii,X5.EventEmitter);ii.prototype.addRequest=o(function(e,r,n,s){var i=this,a=KC({request:e},i.options,nk(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");ii.prototype.createSocket=o(function(e,r){var n=this,s={};n.sockets.push(s);var i=KC({},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")),zi("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,h){process.nextTick(function(){A(d,m,h)})}o(l,"onUpgrade");function A(d,m,h){if(a.removeAllListeners(),m.removeAllListeners(),d.statusCode!==200){zi("tunneling socket could not be established, statusCode=%d",d.statusCode),m.destroy();var p=new Error("tunneling socket could not be established, statusCode="+d.statusCode);p.code="ECONNRESET",e.request.emit("error",p),n.removeSocket(s);return}if(h.length>0){zi("got illegal response body from proxy"),m.destroy();var p=new Error("got illegal response body from proxy");p.code="ECONNRESET",e.request.emit("error",p),n.removeSocket(s);return}return zi("tunneling connection has established"),n.sockets[n.sockets.indexOf(s)]=m,r(m)}o(A,"onConnect");function u(d){a.removeAllListeners(),zi(`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");ii.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 rk(t,e){var r=this;ii.prototype.createSocket.call(r,t,function(n){var s=t.request.getHeader("host"),i=KC({},r.options,{socket:n,servername:s?s.replace(/:.*$/,""):t.host}),a=K5.connect(0,i);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(rk,"createSecureSocket");function nk(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(nk,"toOptions");function KC(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(KC,"mergeOptions");var zi;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?zi=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"):zi=o(function(){},"debug");ac.debug=zi});var XC=g((eNe,ik)=>{ik.exports=sk()});var Oe=g((tNe,ok)=>{ok.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 ye=g((rNe,Pk)=>{"use strict";var ak=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[ak]===!0}[ak]=!0},ck=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),ZC=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[ck]===!0}[ck]=!0},lk=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),eI=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[lk]===!0}[lk]=!0},Ak=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),tI=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[Ak]===!0}[Ak]=!0},uk=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),rI=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[uk]===!0}[uk]=!0},dk=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),nI=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[dk]===!0}[dk]=!0},mk=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),sI=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[mk]===!0}[mk]=!0},hk=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),iI=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[hk]===!0}[hk]=!0},pk=Symbol.for("undici.error.UND_ERR_ABORT"),jm=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[pk]===!0}[pk]=!0},fk=Symbol.for("undici.error.UND_ERR_ABORTED"),oI=class extends jm{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[fk]===!0}[fk]=!0},gk=Symbol.for("undici.error.UND_ERR_INFO"),aI=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[gk]===!0}[gk]=!0},yk=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),cI=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[yk]===!0}[yk]=!0},Ek=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),lI=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[Ek]===!0}[Ek]=!0},Ck=Symbol.for("undici.error.UND_ERR_DESTROYED"),AI=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[Ck]===!0}[Ck]=!0},Ik=Symbol.for("undici.error.UND_ERR_CLOSED"),uI=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[Ik]===!0}[Ik]=!0},Bk=Symbol.for("undici.error.UND_ERR_SOCKET"),dI=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[Bk]===!0}[Bk]=!0},Qk=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),mI=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[Qk]===!0}[Qk]=!0},xk=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),hI=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[xk]===!0}[xk]=!0},bk=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),pI=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[bk]===!0}[bk]=!0},wk=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),fI=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[wk]===!0}[wk]=!0},Nk=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),gI=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[Nk]===!0}[Nk]=!0},Sk=Symbol.for("undici.error.UND_ERR_RESPONSE"),yI=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[Sk]===!0}[Sk]=!0},Rk=Symbol.for("undici.error.UND_ERR_PRX_TLS"),EI=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[Rk]===!0}[Rk]=!0},vk=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),CI=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[vk]===!0}get[vk](){return!0}};Pk.exports={AbortError:jm,HTTPParserError:pI,UndiciError:qe,HeadersTimeoutError:eI,HeadersOverflowError:tI,BodyTimeoutError:rI,RequestContentLengthMismatchError:cI,ConnectTimeoutError:ZC,ResponseStatusCodeError:nI,InvalidArgumentError:sI,InvalidReturnValueError:iI,RequestAbortedError:oI,ClientDestroyedError:AI,ClientClosedError:uI,InformationalError:aI,SocketError:dI,NotSupportedError:mI,ResponseContentLengthMismatchError:lI,BalancedPoolMissingUpstreamError:hI,ResponseExceededMaxSizeError:fI,RequestRetryError:gI,ResponseError:yI,SecureProxyConnectionError:EI,MessageSizeExceededError:CI}});var Xm=g((sNe,Dk)=>{"use strict";var Km={},II=["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<II.length;++t){let e=II[t],r=e.toLowerCase();Km[e]=Km[r]=r}Object.setPrototypeOf(Km,null);Dk.exports={wellknownHeaderNames:II,headerNameLowerCasedRecord:Km}});var Lk=g((iNe,Mk)=>{"use strict";var{wellknownHeaderNames:kk,headerNameLowerCasedRecord:s9}=Xm(),BI=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}},Zm=class{static{o(this,"TernarySearchTree")}node=null;insert(e,r){this.node===null?this.node=new BI(e,r,0):this.node.add(e,r)}lookup(e){return this.node?.search(e)?.value??null}},Tk=new Zm;for(let t=0;t<kk.length;++t){let e=s9[kk[t]];Tk.insert(e,e)}Mk.exports={TernarySearchTree:Zm,tree:Tk}});var le=g((aNe,Xk)=>{"use strict";var wA=require("node:assert"),{kDestroyed:Fk,kBodyUsed:cc,kListeners:QI,kBody:_k}=Oe(),{IncomingMessage:i9}=require("node:http"),rh=require("node:stream"),o9=require("node:net"),{Blob:a9}=require("node:buffer"),c9=require("node:util"),{stringify:l9}=require("node:querystring"),{EventEmitter:A9}=require("node:events"),{InvalidArgumentError:wt}=ye(),{headerNameLowerCasedRecord:u9}=Xm(),{tree:Uk}=Lk(),[d9,m9]=process.versions.node.split(".").map(t=>Number(t)),th=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[_k]=e,this[cc]=!1}async*[Symbol.asyncIterator](){wA(!this[cc],"disturbed"),this[cc]=!0,yield*this[_k]}};function h9(t){return nh(t)?(Gk(t)===0&&t.on("data",function(){wA(!1)}),typeof t.readableDidRead!="boolean"&&(t[cc]=!1,A9.prototype.on.call(t,"data",function(){this[cc]=!0})),t):t&&typeof t.pipeTo=="function"?new th(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&zk(t)?new th(t):t}o(h9,"wrapRequestBody");function p9(){}o(p9,"nop");function nh(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(nh,"isStream");function Ok(t){if(t===null)return!1;if(t instanceof a9)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(Ok,"isBlobLike");function f9(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=l9(e);return r&&(t+="?"+r),t}o(f9,"buildURL");function qk(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(qk,"isValidPort");function eh(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(eh,"isHttpOrHttpsPrefixed");function Hk(t){if(typeof t=="string"){if(t=new URL(t),!eh(t.origin||t.protocol))throw new wt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new wt("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&qk(t.port)===!1)throw new wt("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 wt("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new wt("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new wt("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new wt("Invalid URL origin: the origin must be a string or null/undefined.");if(!eh(t.origin||t.protocol))throw new wt("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(!eh(t.origin||t.protocol))throw new wt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(Hk,"parseURL");function g9(t){if(t=Hk(t),t.pathname!=="/"||t.search||t.hash)throw new wt("invalid url");return t}o(g9,"parseOrigin");function y9(t){if(t[0]==="["){let r=t.indexOf("]");return wA(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(y9,"getHostname");function E9(t){if(!t)return null;wA(typeof t=="string");let e=y9(t);return o9.isIP(e)?"":e}o(E9,"getServerName");function C9(t){return JSON.parse(JSON.stringify(t))}o(C9,"deepClone");function I9(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(I9,"isAsyncIterable");function zk(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(zk,"isIterable");function Gk(t){if(t==null)return 0;if(nh(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(Ok(t))return t.size!=null?t.size:null;if(Jk(t))return t.byteLength}return null}o(Gk,"bodyLength");function Yk(t){return t&&!!(t.destroyed||t[Fk]||rh.isDestroyed?.(t))}o(Yk,"isDestroyed");function B9(t,e){t==null||!nh(t)||Yk(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===i9&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[Fk]=!0))}o(B9,"destroy");var Q9=/timeout=(\d+)/;function x9(t){let e=t.toString().match(Q9);return e?parseInt(e[1],10)*1e3:null}o(x9,"parseKeepAliveTimeout");function Vk(t){return typeof t=="string"?u9[t]??t.toLowerCase():Uk.lookup(t)??t.toString("latin1").toLowerCase()}o(Vk,"headerNameToString");function b9(t){return Uk.lookup(t)??t.toString("latin1").toLowerCase()}o(b9,"bufferToLowerCasedHeaderName");function w9(t,e){e===void 0&&(e={});for(let r=0;r<t.length;r+=2){let n=Vk(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(w9,"parseHeaders");function N9(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(N9,"parseRawHeaders");function Jk(t){return t instanceof Uint8Array||Buffer.isBuffer(t)}o(Jk,"isBuffer");function S9(t,e,r){if(!t||typeof t!="object")throw new wt("handler must be an object");if(typeof t.onConnect!="function")throw new wt("invalid onConnect method");if(typeof t.onError!="function")throw new wt("invalid onError method");if(typeof t.onBodySent!="function"&&t.onBodySent!==void 0)throw new wt("invalid onBodySent method");if(r||e==="CONNECT"){if(typeof t.onUpgrade!="function")throw new wt("invalid onUpgrade method")}else{if(typeof t.onHeaders!="function")throw new wt("invalid onHeaders method");if(typeof t.onData!="function")throw new wt("invalid onData method");if(typeof t.onComplete!="function")throw new wt("invalid onComplete method")}}o(S9,"validateHandler");function R9(t){return!!(t&&(rh.isDisturbed(t)||t[cc]))}o(R9,"isDisturbed");function v9(t){return!!(t&&rh.isErrored(t))}o(v9,"isErrored");function P9(t){return!!(t&&rh.isReadable(t))}o(P9,"isReadable");function D9(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(D9,"getSocketInfo");function k9(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(k9,"ReadableStreamFrom");function T9(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(T9,"isFormDataLike");function M9(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(M9,"addAbortListener");var L9=typeof String.prototype.toWellFormed=="function",_9=typeof String.prototype.isWellFormed=="function";function Wk(t){return L9?`${t}`.toWellFormed():c9.toUSVString(t)}o(Wk,"toUSVString");function F9(t){return _9?`${t}`.isWellFormed():Wk(t)===`${t}`}o(F9,"isUSVString");function $k(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($k,"isTokenCharCode");function U9(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e)if(!$k(t.charCodeAt(e)))return!1;return!0}o(U9,"isValidHTTPToken");var O9=/[^\t\x20-\x7e\x80-\xff]/;function q9(t){return!O9.test(t)}o(q9,"isValidHeaderValue");function H9(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(H9,"parseRangeHeader");function z9(t,e,r){return(t[QI]??=[]).push([e,r]),t.on(e,r),t}o(z9,"addListener");function G9(t){for(let[e,r]of t[QI]??[])t.removeListener(e,r);t[QI]=null}o(G9,"removeAllListeners");function Y9(t,e,r){try{e.onError(r),wA(e.aborted)}catch(n){t.emit("error",n)}}o(Y9,"errorRequest");var jk=Object.create(null);jk.enumerable=!0;var xI={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"},Kk={...xI,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(xI,null);Object.setPrototypeOf(Kk,null);Xk.exports={kEnumerableProperty:jk,nop:p9,isDisturbed:R9,isErrored:v9,isReadable:P9,toUSVString:Wk,isUSVString:F9,isBlobLike:Ok,parseOrigin:g9,parseURL:Hk,getServerName:E9,isStream:nh,isIterable:zk,isAsyncIterable:I9,isDestroyed:Yk,headerNameToString:Vk,bufferToLowerCasedHeaderName:b9,addListener:z9,removeAllListeners:G9,errorRequest:Y9,parseRawHeaders:N9,parseHeaders:w9,parseKeepAliveTimeout:x9,destroy:B9,bodyLength:Gk,deepClone:C9,ReadableStreamFrom:k9,isBuffer:Jk,validateHandler:S9,getSocketInfo:D9,isFormDataLike:T9,buildURL:f9,addAbortListener:M9,isValidHTTPToken:U9,isValidHeaderValue:q9,isTokenCharCode:$k,parseRangeHeader:H9,normalizedMethodRecordsBase:xI,normalizedMethodRecords:Kk,isValidPort:qk,isHttpOrHttpsPrefixed:eh,nodeMajor:d9,nodeMinor:m9,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"],wrapRequestBody:h9}});var lc=g((lNe,eT)=>{"use strict";var xe=require("node:diagnostics_channel"),wI=require("node:util"),sh=wI.debuglog("undici"),bI=wI.debuglog("fetch"),_o=wI.debuglog("websocket"),Zk=!1,V9={beforeConnect:xe.channel("undici:client:beforeConnect"),connected:xe.channel("undici:client:connected"),connectError:xe.channel("undici:client:connectError"),sendHeaders:xe.channel("undici:client:sendHeaders"),create:xe.channel("undici:request:create"),bodySent:xe.channel("undici:request:bodySent"),headers:xe.channel("undici:request:headers"),trailers:xe.channel("undici:request:trailers"),error:xe.channel("undici:request:error"),open:xe.channel("undici:websocket:open"),close:xe.channel("undici:websocket:close"),socketError:xe.channel("undici:websocket:socket_error"),ping:xe.channel("undici:websocket:ping"),pong:xe.channel("undici:websocket:pong")};if(sh.enabled||bI.enabled){let t=bI.enabled?bI:sh;xe.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)}),xe.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)}),xe.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)}),xe.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)}),xe.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)}),xe.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)}),xe.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)}),Zk=!0}if(_o.enabled){if(!Zk){let t=sh.enabled?sh:_o;xe.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)}),xe.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)}),xe.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)}),xe.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)})}xe.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;_o("connection opened %s%s",e,r?`:${r}`:"")}),xe.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;_o("closed connection to %s - %s %s",e.url,r,n)}),xe.channel("undici:websocket:socket_error").subscribe(t=>{_o("connection errored - %s",t.message)}),xe.channel("undici:websocket:ping").subscribe(t=>{_o("ping received")}),xe.channel("undici:websocket:pong").subscribe(t=>{_o("pong received")})}eT.exports={channels:V9}});var sT=g((ANe,nT)=>{"use strict";var{InvalidArgumentError:Se,NotSupportedError:J9}=ye(),Pr=require("node:assert"),{isValidHTTPToken:rT,isValidHeaderValue:NA,isStream:W9,destroy:$9,isBuffer:j9,isFormDataLike:K9,isIterable:X9,isBlobLike:Z9,buildURL:e6,validateHandler:t6,getServerName:r6,normalizedMethodRecords:n6}=le(),{channels:Tt}=lc(),{headerNameLowerCasedRecord:tT}=Xm(),s6=/[^\u0021-\u00ff]/,an=Symbol("handler"),NI=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:h,expectContinue:p,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(s6.test(r))throw new Se("invalid request path");if(typeof n!="string")throw new Se("method must be a string");if(n6[n]===void 0&&!rT(n))throw new Se("invalid request method");if(A&&typeof A!="string")throw new Se("upgrade must be a string");if(A&&!NA(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(p!=null&&typeof p!="boolean")throw new Se("invalid expectContinue");if(this.headersTimeout=u,this.bodyTimeout=d,this.throwOnError=h===!0,this.method=n,this.abort=null,s==null)this.body=null;else if(W9(s)){this.body=s;let y=this.body._readableState;(!y||!y.autoDestroy)&&(this.endHandler=o(function(){$9(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(j9(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(K9(s)||X9(s)||Z9(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?e6(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=p??!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)ih(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");ih(this,y[0],y[1])}else{let y=Object.keys(i);for(let E=0;E<y.length;++E)ih(this,y[E],i[y[E]])}else if(i!=null)throw new Se("headers must be an object or an array");t6(C,n,A),this.servername=f||r6(this.host),this[an]=C,Tt.create.hasSubscribers&&Tt.create.publish({request:this})}onBodySent(e){if(this[an].onBodySent)try{return this[an].onBodySent(e)}catch(r){this.abort(r)}}onRequestSent(){if(Tt.bodySent.hasSubscribers&&Tt.bodySent.publish({request:this}),this[an].onRequestSent)try{return this[an].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(Pr(!this.aborted),Pr(!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){Pr(!this.aborted),Pr(!this.completed),Tt.headers.hasSubscribers&&Tt.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){Pr(!this.aborted),Pr(!this.completed);try{return this[an].onData(e)}catch(r){return this.abort(r),!1}}onUpgrade(e,r,n,s=""){this.onFinally(),Pr(!this.aborted),Pr(!this.completed),e!==null&&this.#e(e,r,s);let i=this[an].onUpgrade(e,r,n);return this.aborted||(this.completed=!0,e!==null&&this.#t()),i}onUpgradeResponse(e,r,n,s=""){Pr(!this.aborted),Pr(this.completed),Tt.headers.hasSubscribers&&this.#e(e,n(r),s),this.#t()}onUpgradeError(e){Pr(!this.aborted),Pr(this.completed),Tt.error.hasSubscribers&&Tt.error.publish({request:this,error:e})}#e(e,r,n){Tt.headers.hasSubscribers&&Tt.headers.publish({request:this,response:{statusCode:e,headers:r,statusText:n}})}#t(){Tt.trailers.hasSubscribers&&Tt.trailers.publish({request:this,trailers:[]})}onComplete(e){this.onFinally(),Pr(!this.aborted),this.completed=!0,Tt.trailers.hasSubscribers&&Tt.trailers.publish({request:this,trailers:e});try{return this[an].onComplete(e)}catch(r){this.onError(r)}}onError(e){if(this.onFinally(),Tt.error.hasSubscribers&&Tt.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 ih(this,e,r),this}};function ih(t,e,r){if(r&&typeof r=="object"&&!Array.isArray(r))throw new Se(`invalid ${e} header`);if(r===void 0)return;let n=tT[e];if(n===void 0&&(n=e.toLowerCase(),tT[n]===void 0&&!rT(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(!NA(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(!NA(a))throw new Se(`invalid ${e} header`);s.push(a)}}r=s}else if(typeof r=="string"){if(!NA(r))throw new Se(`invalid ${e} header`)}else if(r===null)r="";else if(r=`${r}`,!NA(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 J9("expect header not supported");t.headers.push(e,r)}}}o(ih,"processHeader");nT.exports=NI});var SA=g((dNe,iT)=>{"use strict";var i6=require("node:events"),oh=class extends i6{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 SI(this,n)}},SI=class extends oh{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)}};iT.exports=oh});var mc=g((hNe,aT)=>{"use strict";var o6=require("node:buffer"),a6=SA(),{ClientDestroyedError:RI,ClientClosedError:c6,InvalidArgumentError:Ac}=ye(),{kDestroy:l6,kClose:A6,kClosed:RA,kDestroyed:uc,kDispatch:vI,kInterceptors:Fo}=Oe(),oi=Symbol("onDestroyed"),dc=Symbol("onClosed"),ah=Symbol("Intercepted Dispatch"),PI=Symbol("webSocketOptions"),oT=Symbol("eventSourceOptions"),DI=class extends a6{static{o(this,"DispatcherBase")}constructor(e){super(),this[uc]=!1,this[oi]=null,this[RA]=!1,this[dc]=[],this[PI]=e?.webSocket??{},this[oT]=e?.eventSource??{}}get webSocketOptions(){return{maxFragments:this[PI].maxFragments??131072,maxPayloadSize:this[PI].maxPayloadSize??128*1024*1024}}get eventSourceOptions(){return{maxEventSize:this[oT].maxEventSize??o6.kStringMaxLength}}get destroyed(){return this[uc]}get closed(){return this[RA]}get interceptors(){return this[Fo]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Fo][r]!="function")throw new Ac("interceptor must be an function")}this[Fo]=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 Ac("invalid callback");if(this[uc]){queueMicrotask(()=>e(new RI,null));return}if(this[RA]){this[dc]?this[dc].push(e):queueMicrotask(()=>e(null,null));return}this[RA]=!0,this[dc].push(e);let r=o(()=>{let n=this[dc];this[dc]=null;for(let s=0;s<n.length;s++)n[s](null,null)},"onClosed");this[A6]().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 Ac("invalid callback");if(this[uc]){this[oi]?this[oi].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new RI),this[uc]=!0,this[oi]=this[oi]||[],this[oi].push(r);let n=o(()=>{let s=this[oi];this[oi]=null;for(let i=0;i<s.length;i++)s[i](null,null)},"onDestroyed");this[l6](e).then(()=>{queueMicrotask(n)})}[ah](e,r){if(!this[Fo]||this[Fo].length===0)return this[ah]=this[vI],this[vI](e,r);let n=this[vI].bind(this);for(let s=this[Fo].length-1;s>=0;s--)n=this[Fo][s](n);return this[ah]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new Ac("handler must be an object");try{if(!e||typeof e!="object")throw new Ac("opts must be an object.");if(this[uc]||this[oi])throw new RI;if(this[RA])throw new c6;return this[ah](e,r)}catch(n){if(typeof r.onError!="function")throw new Ac("invalid onError method");return r.onError(n),!1}}};aT.exports=DI});var UI=g((fNe,uT)=>{"use strict";var hc=0,kI=1e3,TI=(kI>>1)-1,ai,MI=Symbol("kFastTimer"),ci=[],LI=-2,_I=-1,lT=0,cT=1;function FI(){hc+=TI;let t=0,e=ci.length;for(;t<e;){let r=ci[t];r._state===lT?(r._idleStart=hc-TI,r._state=cT):r._state===cT&&hc>=r._idleStart+r._idleTimeout&&(r._state=_I,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===_I?(r._state=LI,--e!==0&&(ci[t]=ci[e])):++t}ci.length=e,ci.length!==0&&AT()}o(FI,"onTick");function AT(){ai?ai.refresh():(clearTimeout(ai),ai=setTimeout(FI,TI),ai.unref&&ai.unref())}o(AT,"refreshTimeout");var ch=class{static{o(this,"FastTimer")}[MI]=!0;_state=LI;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===LI&&ci.push(this),(!ai||ci.length===1)&&AT(),this._state=lT}clear(){this._state=_I,this._idleStart=-1}};uT.exports={setTimeout(t,e,r){return e<=kI?setTimeout(t,e,r):new ch(t,e,r)},clearTimeout(t){t[MI]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new ch(t,e,r)},clearFastTimeout(t){t.clear()},now(){return hc},tick(t=0){hc+=t-kI+1,FI(),FI()},reset(){hc=0,ci.length=0,clearTimeout(ai),ai=null},kFastTimer:MI}});var vA=g((CNe,fT)=>{"use strict";var u6=require("node:net"),dT=require("node:assert"),pT=le(),{InvalidArgumentError:d6,ConnectTimeoutError:m6}=ye(),lh=UI();function mT(){}o(mT,"noop");var OI,qI;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?qI=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))}}:qI=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 h6({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:s,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new d6("maxCachedSessions must be a positive integer or zero");let a={path:r,...i},c=new qI(e??100);return n=n??1e4,t=t??!1,o(function({hostname:A,host:u,protocol:d,port:m,servername:h,localAddress:p,httpSocket:f},C){let y;if(d==="https:"){OI||(OI=require("node:tls")),h=h||a.servername||pT.getServerName(u)||null;let I=h||A;dT(I);let B=s||c.get(I)||null;m=m||443,y=OI.connect({highWaterMark:16384,...a,servername:h,session:B,localAddress:p,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:f,port:m,host:A}),y.on("session",function(w){c.set(I,w)})}else dT(!f,"httpSocket can only be sent on TLS update"),m=m||80,y=u6.connect({highWaterMark:64*1024,...a,localAddress:p,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=p6(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(h6,"buildConnector");var p6=process.platform==="win32"?(t,e)=>{if(!e.timeout)return mT;let r=null,n=null,s=lh.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>hT(t.deref(),e))})},e.timeout);return()=>{lh.clearFastTimeout(s),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return mT;let r=null,n=lh.setFastTimeout(()=>{r=setImmediate(()=>{hT(t.deref(),e)})},e.timeout);return()=>{lh.clearFastTimeout(n),clearImmediate(r)}};function hT(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)`,pT.destroy(t,new m6(r))}o(hT,"onConnectTimeout");fT.exports=h6});var gT=g(Ah=>{"use strict";Object.defineProperty(Ah,"__esModule",{value:!0});Ah.enumToMap=void 0;function f6(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}o(f6,"enumToMap");Ah.enumToMap=f6});var yT=g(N=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0});N.SPECIAL_HEADERS=N.HEADER_STATE=N.MINOR=N.MAJOR=N.CONNECTION_TOKEN_CHARS=N.HEADER_CHARS=N.TOKEN=N.STRICT_TOKEN=N.HEX=N.URL_CHAR=N.STRICT_URL_CHAR=N.USERINFO_CHARS=N.MARK=N.ALPHANUM=N.NUM=N.HEX_MAP=N.NUM_MAP=N.ALPHA=N.FINISH=N.H_METHOD_MAP=N.METHOD_MAP=N.METHODS_RTSP=N.METHODS_ICE=N.METHODS_HTTP=N.METHODS=N.LENIENT_FLAGS=N.FLAGS=N.TYPE=N.ERROR=void 0;var g6=gT(),y6;(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"})(y6=N.ERROR||(N.ERROR={}));var E6;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(E6=N.TYPE||(N.TYPE={}));var C6;(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"})(C6=N.FLAGS||(N.FLAGS={}));var I6;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(I6=N.LENIENT_FLAGS||(N.LENIENT_FLAGS={}));var W;(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=N.METHODS||(N.METHODS={}));N.METHODS_HTTP=[W.DELETE,W.GET,W.HEAD,W.POST,W.PUT,W.CONNECT,W.OPTIONS,W.TRACE,W.COPY,W.LOCK,W.MKCOL,W.MOVE,W.PROPFIND,W.PROPPATCH,W.SEARCH,W.UNLOCK,W.BIND,W.REBIND,W.UNBIND,W.ACL,W.REPORT,W.MKACTIVITY,W.CHECKOUT,W.MERGE,W["M-SEARCH"],W.NOTIFY,W.SUBSCRIBE,W.UNSUBSCRIBE,W.PATCH,W.PURGE,W.MKCALENDAR,W.LINK,W.UNLINK,W.PRI,W.SOURCE];N.METHODS_ICE=[W.SOURCE];N.METHODS_RTSP=[W.OPTIONS,W.DESCRIBE,W.ANNOUNCE,W.SETUP,W.PLAY,W.PAUSE,W.TEARDOWN,W.GET_PARAMETER,W.SET_PARAMETER,W.REDIRECT,W.RECORD,W.FLUSH,W.GET,W.POST];N.METHOD_MAP=g6.enumToMap(W);N.H_METHOD_MAP={};Object.keys(N.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(N.H_METHOD_MAP[t]=N.METHOD_MAP[t])});var B6;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(B6=N.FINISH||(N.FINISH={}));N.ALPHA=[];for(let t=65;t<=90;t++)N.ALPHA.push(String.fromCharCode(t)),N.ALPHA.push(String.fromCharCode(t+32));N.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};N.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};N.NUM=["0","1","2","3","4","5","6","7","8","9"];N.ALPHANUM=N.ALPHA.concat(N.NUM);N.MARK=["-","_",".","!","~","*","'","(",")"];N.USERINFO_CHARS=N.ALPHANUM.concat(N.MARK).concat(["%",";",":","&","=","+","$",","]);N.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(N.ALPHANUM);N.URL_CHAR=N.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)N.URL_CHAR.push(t);N.HEX=N.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);N.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(N.ALPHANUM);N.TOKEN=N.STRICT_TOKEN.concat([" "]);N.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&N.HEADER_CHARS.push(t);N.CONNECTION_TOKEN_CHARS=N.HEADER_CHARS.filter(t=>t!==44);N.MAJOR=N.NUM_MAP;N.MINOR=N.MAJOR;var pc;(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"})(pc=N.HEADER_STATE||(N.HEADER_STATE={}));N.SPECIAL_HEADERS={connection:pc.CONNECTION,"content-length":pc.CONTENT_LENGTH,"proxy-connection":pc.CONNECTION,"transfer-encoding":pc.TRANSFER_ENCODING,upgrade:pc.UPGRADE}});var HI=g((bNe,ET)=>{"use strict";var{Buffer:Q6}=require("node:buffer");ET.exports=Q6.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbG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ABLQAAQd8ARw1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgNAIAEtAAAgAEGMzwBqLQAARw1kIABBAUYN+gEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQ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gIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJBkDM2AhAgAkEINgIMDJ0BCyACQQA2AgAgBkEBaiEB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Q0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECAC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QEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var PA=g((NNe,RT)=>{"use strict";var BT=["GET","HEAD","POST"],b6=new Set(BT),w6=[101,204,205,304],QT=[301,302,303,307,308],N6=new Set(QT),xT=["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"],S6=new Set(xT),bT=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],R6=new Set(bT),v6=["follow","manual","error"],wT=["GET","HEAD","OPTIONS","TRACE"],P6=new Set(wT),D6=["navigate","same-origin","no-cors","cors"],k6=["omit","same-origin","include"],T6=["default","no-store","reload","no-cache","force-cache","only-if-cached"],M6=["content-encoding","content-language","content-location","content-type","content-length"],L6=["half"],NT=["CONNECT","TRACE","TRACK"],_6=new Set(NT),ST=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],F6=new Set(ST);RT.exports={subresource:ST,forbiddenMethods:NT,requestBodyHeader:M6,referrerPolicy:bT,requestRedirect:v6,requestMode:D6,requestCredentials:k6,requestCache:T6,redirectStatus:QT,corsSafeListedMethods:BT,nullBodyStatus:w6,safeMethods:wT,badPorts:xT,requestDuplex:L6,subresourceSet:F6,badPortsSet:S6,redirectStatusSet:N6,corsSafeListedMethodsSet:b6,safeMethodsSet:P6,forbiddenMethodsSet:_6,referrerPolicySet:R6}});var GI=g((SNe,vT)=>{"use strict";var zI=Symbol.for("undici.globalOrigin.1");function U6(){return globalThis[zI]}o(U6,"getGlobalOrigin");function O6(t){if(t===void 0){Object.defineProperty(globalThis,zI,{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,zI,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(O6,"setGlobalOrigin");vT.exports={getGlobalOrigin:U6,setGlobalOrigin:O6}});var lr=g((vNe,_T)=>{"use strict";var dh=require("node:assert"),q6=new TextEncoder,DA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,H6=/[\u000A\u000D\u0009\u0020]/,z6=/[\u0009\u000A\u000C\u000D\u0020]/g,G6=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function Y6(t){dh(t.protocol==="data:");let e=kT(t,!0);e=e.slice(5);let r={position:0},n=fc(",",e,r),s=n.length;if(n=K6(n,!0,!0),r.position>=e.length)return"failure";r.position++;let i=e.slice(s+1),a=TT(i);if(/;(\u0020){0,}base64$/i.test(n)){let l=LT(a);if(a=J6(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=YI(n);return c==="failure"&&(c=YI("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(Y6,"dataURLProcessor");function kT(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(kT,"URLSerializer");function mh(t,e,r){let n="";for(;r.position<e.length&&t(e[r.position]);)n+=e[r.position],r.position++;return n}o(mh,"collectASequenceOfCodePoints");function fc(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(fc,"collectASequenceOfCodePointsFast");function TT(t){let e=q6.encode(t);return V6(e)}o(TT,"stringPercentDecode");function PT(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(PT,"isHexCharByte");function DT(t){return t>=48&&t<=57?t-48:(t&223)-55}o(DT,"hexByteToNumber");function V6(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&&!(PT(t[s+1])&&PT(t[s+2]))?r[n++]=37:(r[n++]=DT(t[s+1])<<4|DT(t[s+2]),s+=2)}return e===n?r:r.subarray(0,n)}o(V6,"percentDecode");function YI(t){t=uh(t,!0,!0);let e={position:0},r=fc("/",t,e);if(r.length===0||!DA.test(r)||e.position>t.length)return"failure";e.position++;let n=fc(";",t,e);if(n=uh(n,!1,!0),n.length===0||!DA.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++,mh(A=>H6.test(A),t,e);let c=mh(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=MT(t,e,!0),fc(";",t,e);else if(l=fc(";",t,e),l=uh(l,!1,!0),l.length===0)continue;c.length!==0&&DA.test(c)&&(l.length===0||G6.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(YI,"parseMIMEType");function J6(t){t=t.replace(z6,"");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(J6,"forgivingBase64");function MT(t,e,r){let n=e.position,s="";for(dh(t[e.position]==='"'),e.position++;s+=mh(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{dh(i==='"');break}}return r?s:t.slice(n,e.position)}o(MT,"collectAnHTTPQuotedString");function W6(t){dh(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[s,i]of e.entries())n+=";",n+=s,n+="=",DA.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),n+=i;return n}o(W6,"serializeAMimeType");function $6(t){return t===13||t===10||t===9||t===32}o($6,"isHTTPWhiteSpace");function uh(t,e=!0,r=!0){return VI(t,e,r,$6)}o(uh,"removeHTTPWhitespace");function j6(t){return t===13||t===10||t===9||t===12||t===32}o(j6,"isASCIIWhitespace");function K6(t,e=!0,r=!0){return VI(t,e,r,j6)}o(K6,"removeASCIIWhitespace");function VI(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(VI,"removeChars");function LT(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(LT,"isomorphicDecode");function X6(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(X6,"minimizeSupportedMimeType");_T.exports={dataURLProcessor:Y6,URLSerializer:kT,collectASequenceOfCodePoints:mh,collectASequenceOfCodePointsFast:fc,stringPercentDecode:TT,parseMIMEType:YI,collectAnHTTPQuotedString:MT,serializeAMimeType:W6,removeChars:VI,removeHTTPWhitespace:uh,minimizeSupportedMimeType:X6,HTTP_TOKEN_CODEPOINTS:DA,isomorphicDecode:LT}});var Mt=g((DNe,FT)=>{"use strict";var{types:ss,inspect:Z6}=require("node:util"),{markAsUncloneable:ej}=require("node:worker_threads"),{toUSVString:tj}=le(),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=ej||(()=>{});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 Z6(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(!ss.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=tj;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"||!ss.isAnyArrayBuffer(t))throw x.errors.conversionFailed({prefix:e,argument:`${r} ("${x.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&ss.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"||!ss.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&&ss.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"||!ss.isDataView(t))throw x.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&ss.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(ss.isAnyArrayBuffer(t))return x.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(ss.isTypedArray(t))return x.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(ss.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);FT.exports={webidl:x}});var Dr=g((kNe,XT)=>{"use strict";var{Transform:rj}=require("node:stream"),UT=require("node:zlib"),{redirectStatusSet:nj,referrerPolicySet:sj,badPortsSet:ij}=PA(),{getGlobalOrigin:OT}=GI(),{collectASequenceOfCodePoints:Uo,collectAnHTTPQuotedString:oj,removeChars:aj,parseMIMEType:cj}=lr(),{performance:lj}=require("node:perf_hooks"),{isBlobLike:Aj,ReadableStreamFrom:uj,isValidHTTPToken:qT,normalizedMethodRecordsBase:dj}=le(),Oo=require("node:assert"),{isUint8Array:mj}=require("node:util/types"),{webidl:kA}=Mt(),HT=[],ph;try{ph=require("node:crypto");let t=["sha256","sha384","sha512"];HT=ph.getHashes().filter(e=>t.includes(e))}catch{}function zT(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(zT,"responseURL");function hj(t,e){if(!nj.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&YT(r)&&(GT(r)||(r=pj(r)),r=new URL(r,zT(t))),r&&!r.hash&&(r.hash=e),r}o(hj,"responseLocationURL");function GT(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r>126||r<32)return!1}return!0}o(GT,"isValidEncodedURL");function pj(t){return Buffer.from(t,"binary").toString("utf8")}o(pj,"normalizeBinaryStringToUtf8");function MA(t){return t.urlList[t.urlList.length-1]}o(MA,"requestCurrentURL");function fj(t){let e=MA(t);return jT(e)&&ij.has(e.port)?"blocked":"allowed"}o(fj,"requestBadPort");function gj(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(gj,"isErrorLike");function yj(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(yj,"isValidReasonPhrase");var Ej=qT;function YT(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(`
|
|
`)||t.includes("\r")||t.includes("\0"))===!1}o(YT,"isValidHeaderValue");function Cj(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(sj.has(a)){s=a;break}}s!==""&&(t.referrerPolicy=s)}o(Cj,"setRequestReferrerPolicyOnRedirect");function Ij(){return"allowed"}o(Ij,"crossOriginResourcePolicyCheck");function Bj(){return"success"}o(Bj,"corsCheck");function Qj(){return"success"}o(Qj,"TAOCheck");function xj(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(xj,"appendFetchMetadata");function bj(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&&WI(t.origin)&&!WI(MA(t))&&(e=null);break;case"same-origin":fh(t,MA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(bj,"appendRequestOriginHeader");function gc(t,e){return t}o(gc,"coarsenTime");function wj(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:gc(t.domainLookupStartTime,r),domainLookupEndTime:gc(t.domainLookupEndTime,r),connectionStartTime:gc(t.connectionStartTime,r),connectionEndTime:gc(t.connectionEndTime,r),secureConnectionStartTime:gc(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}o(wj,"clampAndCoarsenConnectionTimingInfo");function Nj(t){return gc(lj.now(),t)}o(Nj,"coarsenedSharedCurrentTime");function Sj(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(Sj,"createOpaqueTimingInfo");function VT(){return{referrerPolicy:"strict-origin-when-cross-origin"}}o(VT,"makePolicyContainer");function Rj(t){return{referrerPolicy:t.referrerPolicy}}o(Rj,"clonePolicyContainer");function vj(t){let e=t.referrerPolicy;Oo(e);let r=null;if(t.referrer==="client"){let c=OT();if(!c||c.origin==="null")return"no-referrer";r=new URL(c)}else t.referrer instanceof URL&&(r=t.referrer);let n=JI(r),s=JI(r,!0);n.toString().length>4096&&(n=s);let i=fh(t,n),a=TA(n)&&!TA(t.url);switch(e){case"origin":return s??JI(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=MA(t);return fh(n,c)?n:TA(n)&&!TA(c)?"no-referrer":s}default:return a?"no-referrer":s}}o(vj,"determineRequestsReferrer");function JI(t,e){return Oo(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(JI,"stripURLForReferrer");function TA(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let 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(TA,"isURLPotentiallyTrustworthy");function Pj(t,e){if(ph===void 0)return!0;let r=JT(e);if(r==="no metadata"||r.length===0)return!0;let n=kj(r),s=Tj(r,n);for(let i of s){let a=i.algo,c=i.hash,l=ph.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)),Mj(l,c))return!0}return!1}o(Pj,"bytesMatch");var Dj=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function JT(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let s=Dj.exec(n);if(s===null||s.groups===void 0||s.groups.algo===void 0)continue;let i=s.groups.algo.toLowerCase();HT.includes(i)&&e.push(s.groups)}return r===!0?"no metadata":e}o(JT,"parseMetadata");function kj(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(kj,"getStrongestMetadata");function Tj(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(Tj,"filterMetadataListByAlgorithm");function Mj(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(Mj,"compareBase64Mixed");function Lj(t){}o(Lj,"tryUpgradeRequestToAPotentiallyTrustworthyURL");function fh(t,e){return t.origin===e.origin&&t.origin==="null"||t.protocol===e.protocol&&t.hostname===e.hostname&&t.port===e.port}o(fh,"sameOrigin");function _j(){let t,e;return{promise:new Promise((n,s)=>{t=n,e=s}),resolve:t,reject:e}}o(_j,"createDeferredPromise");function Fj(t){return t.controller.state==="aborted"}o(Fj,"isAborted");function Uj(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(Uj,"isCancelled");function Oj(t){return dj[t.toLowerCase()]??t}o(Oj,"normalizeMethod");function qj(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Oo(typeof e=="string"),e}o(qj,"serializeJavascriptValueToJSONString");var Hj=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function WT(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,Hj),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(WT,"createIterator");function zj(t,e,r,n=0,s=1){let i=WT(t,r,n,s),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return kA.brandCheck(this,e),i(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return kA.brandCheck(this,e),i(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return kA.brandCheck(this,e),i(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,A=globalThis){if(kA.brandCheck(this,e),kA.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(zj,"iteratorMixin");async function Gj(t,e,r){let n=e,s=r,i;try{i=t.stream.getReader()}catch(a){s(a);return}try{n(await $T(i))}catch(a){s(a)}}o(Gj,"fullyReadBody");function Yj(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(Yj,"isReadableStreamLike");function Vj(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(Vj,"readableStreamClose");var Jj=/[^\x00-\xFF]/;function hh(t){return Oo(!Jj.test(t)),t}o(hh,"isomorphicEncode");async function $T(t){let e=[],r=0;for(;;){let{done:n,value:s}=await t.read();if(n)return Buffer.concat(e,r);if(!mj(s))throw new TypeError("Received non-Uint8Array chunk");e.push(s),r+=s.length}}o($T,"readAllBytes");function Wj(t){Oo("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(Wj,"urlIsLocal");function WI(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(WI,"urlHasHttpsScheme");function jT(t){Oo("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(jT,"urlIsHttpHttpsScheme");function $j(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&Uo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&Uo(l=>l===" "||l===" ",r,n);let s=Uo(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),i=s.length?Number(s):null;if(e&&Uo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&Uo(l=>l===" "||l===" ",r,n);let a=Uo(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($j,"simpleRangeHeaderValue");function jj(t,e,r){let n="bytes ";return n+=hh(`${t}`),n+="-",n+=hh(`${e}`),n+="/",n+=hh(`${r}`),n}o(jj,"buildContentRange");var $I=class extends rj{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?UT.createInflate(this.#e):UT.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 Kj(t){return new $I(t)}o(Kj,"createInflate");function Xj(t){let e=null,r=null,n=null,s=KT("content-type",t);if(s===null)return"failure";for(let i of s){let a=cj(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(Xj,"extractMimeType");function Zj(t){let e=t,r={position:0},n=[],s="";for(;r.position<e.length;){if(s+=Uo(i=>i!=='"'&&i!==",",e,r),r.position<e.length)if(e.charCodeAt(r.position)===34){if(s+=oj(e,r),r.position<e.length)continue}else Oo(e.charCodeAt(r.position)===44),r.position++;s=aj(s,!0,!0,i=>i===9||i===32),n.push(s),s=""}return n}o(Zj,"gettingDecodingSplitting");function KT(t,e){let r=e.get(t,!0);return r===null?null:Zj(r)}o(KT,"getDecodeSplit");var eK=new TextDecoder;function tK(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),eK.decode(t))}o(tK,"utf8DecodeBytes");var jI=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return OT()}get origin(){return this.baseUrl?.origin}policyContainer=VT()},KI=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new jI},rK=new KI;XT.exports={isAborted:Fj,isCancelled:Uj,isValidEncodedURL:GT,createDeferredPromise:_j,ReadableStreamFrom:uj,tryUpgradeRequestToAPotentiallyTrustworthyURL:Lj,clampAndCoarsenConnectionTimingInfo:wj,coarsenedSharedCurrentTime:Nj,determineRequestsReferrer:vj,makePolicyContainer:VT,clonePolicyContainer:Rj,appendFetchMetadata:xj,appendRequestOriginHeader:bj,TAOCheck:Qj,corsCheck:Bj,crossOriginResourcePolicyCheck:Ij,createOpaqueTimingInfo:Sj,setRequestReferrerPolicyOnRedirect:Cj,isValidHTTPToken:qT,requestBadPort:fj,requestCurrentURL:MA,responseURL:zT,responseLocationURL:hj,isBlobLike:Aj,isURLPotentiallyTrustworthy:TA,isValidReasonPhrase:yj,sameOrigin:fh,normalizeMethod:Oj,serializeJavascriptValueToJSONString:qj,iteratorMixin:zj,createIterator:WT,isValidHeaderName:Ej,isValidHeaderValue:YT,isErrorLike:gj,fullyReadBody:Gj,bytesMatch:Pj,isReadableStreamLike:Yj,readableStreamClose:Vj,isomorphicEncode:hh,urlIsLocal:Wj,urlHasHttpsScheme:WI,urlIsHttpHttpsScheme:jT,readAllBytes:$T,simpleRangeHeaderValue:$j,buildContentRange:jj,parseMetadata:JT,createInflate:Kj,extractMimeType:Xj,getDecodeSplit:KT,utf8DecodeBytes:tK,environmentSettingsObject:rK}});var Gi=g((MNe,ZT)=>{"use strict";ZT.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var ZI=g((LNe,eM)=>{"use strict";var{Blob:nK,File:sK}=require("node:buffer"),{kState:li}=Gi(),{webidl:is}=Mt(),XI=class t{static{o(this,"FileLike")}constructor(e,r,n={}){let s=r,i=n.type,a=n.lastModified??Date.now();this[li]={blobLike:e,name:s,type:i,lastModified:a}}stream(...e){return is.brandCheck(this,t),this[li].blobLike.stream(...e)}arrayBuffer(...e){return is.brandCheck(this,t),this[li].blobLike.arrayBuffer(...e)}slice(...e){return is.brandCheck(this,t),this[li].blobLike.slice(...e)}text(...e){return is.brandCheck(this,t),this[li].blobLike.text(...e)}get size(){return is.brandCheck(this,t),this[li].blobLike.size}get type(){return is.brandCheck(this,t),this[li].blobLike.type}get name(){return is.brandCheck(this,t),this[li].name}get lastModified(){return is.brandCheck(this,t),this[li].lastModified}get[Symbol.toStringTag](){return"File"}};is.converters.Blob=is.interfaceConverter(nK);function iK(t){return t instanceof sK||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(iK,"isFileLike");eM.exports={FileLike:XI,isFileLike:iK}});var _A=g((FNe,iM)=>{"use strict";var{isBlobLike:gh,iteratorMixin:oK}=Dr(),{kState:Wt}=Gi(),{kEnumerableProperty:yc}=le(),{FileLike:tM,isFileLike:aK}=ZI(),{webidl:ke}=Mt(),{File:sM}=require("node:buffer"),rM=require("node:util"),nM=globalThis.File??sM,LA=class t{static{o(this,"FormData")}constructor(e){if(ke.util.markAsUncloneable(this),e!==void 0)throw ke.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[Wt]=[]}append(e,r,n=void 0){ke.brandCheck(this,t);let s="FormData.append";if(ke.argumentLengthCheck(arguments,2,s),arguments.length===3&&!gh(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=ke.converters.USVString(e,s,"name"),r=gh(r)?ke.converters.Blob(r,s,"value",{strict:!1}):ke.converters.USVString(r,s,"value"),n=arguments.length===3?ke.converters.USVString(n,s,"filename"):void 0;let i=eB(e,r,n);this[Wt].push(i)}delete(e){ke.brandCheck(this,t);let r="FormData.delete";ke.argumentLengthCheck(arguments,1,r),e=ke.converters.USVString(e,r,"name"),this[Wt]=this[Wt].filter(n=>n.name!==e)}get(e){ke.brandCheck(this,t);let r="FormData.get";ke.argumentLengthCheck(arguments,1,r),e=ke.converters.USVString(e,r,"name");let n=this[Wt].findIndex(s=>s.name===e);return n===-1?null:this[Wt][n].value}getAll(e){ke.brandCheck(this,t);let r="FormData.getAll";return ke.argumentLengthCheck(arguments,1,r),e=ke.converters.USVString(e,r,"name"),this[Wt].filter(n=>n.name===e).map(n=>n.value)}has(e){ke.brandCheck(this,t);let r="FormData.has";return ke.argumentLengthCheck(arguments,1,r),e=ke.converters.USVString(e,r,"name"),this[Wt].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){ke.brandCheck(this,t);let s="FormData.set";if(ke.argumentLengthCheck(arguments,2,s),arguments.length===3&&!gh(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=ke.converters.USVString(e,s,"name"),r=gh(r)?ke.converters.Blob(r,s,"name",{strict:!1}):ke.converters.USVString(r,s,"name"),n=arguments.length===3?ke.converters.USVString(n,s,"name"):void 0;let i=eB(e,r,n),a=this[Wt].findIndex(c=>c.name===e);a!==-1?this[Wt]=[...this[Wt].slice(0,a),i,...this[Wt].slice(a+1).filter(c=>c.name!==e)]:this[Wt].push(i)}[rM.inspect.custom](e,r){let n=this[Wt].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=rM.formatWithOptions(r,n);return`FormData ${s.slice(s.indexOf("]")+2)}`}};oK("FormData",LA,Wt,"name","value");Object.defineProperties(LA.prototype,{append:yc,delete:yc,get:yc,getAll:yc,has:yc,set:yc,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function eB(t,e,r){if(typeof e!="string"){if(aK(e)||(e=e instanceof Blob?new nM([e],"blob",{type:e.type}):new tM(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof sM?new nM([e],r,n):new tM(e,r,n)}}return{name:t,value:e}}o(eB,"makeEntry");iM.exports={FormData:LA,makeEntry:eB}});var uM=g((ONe,AM)=>{"use strict";var{isUSVString:oM,bufferToLowerCasedHeaderName:cK}=le(),{utf8DecodeBytes:lK}=Dr(),{HTTP_TOKEN_CODEPOINTS:AK,isomorphicDecode:aM}=lr(),{isFileLike:uK}=ZI(),{makeEntry:dK}=_A(),yh=require("node:assert"),{File:mK}=require("node:buffer"),hK=globalThis.File??mK,pK=Buffer.from('form-data; name="'),cM=Buffer.from("; filename"),fK=Buffer.from("--"),gK=Buffer.from(`--\r
|
|
`);function yK(t){for(let e=0;e<t.length;++e)if((t.charCodeAt(e)&-128)!==0)return!1;return!0}o(yK,"isAsciiString");function EK(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(EK,"validateBoundary");function CK(t,e){yh(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&&Eh(t,fK,i)||i.position===t.length-4&&Eh(t,gK,i))return s;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=IK(t,i);if(c==="failure")return"failure";let{name:l,filename:A,contentType:u,encoding:d}=c;i.position+=2;let m;{let p=t.indexOf(n.subarray(2),i.position);if(p===-1)return"failure";m=t.subarray(i.position,p-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 h;A!==null?(u??="text/plain",yK(u)||(u=""),h=new hK([m],A,{type:u})):h=lK(Buffer.from(m)),yh(oM(l)),yh(typeof h=="string"&&oM(h)||uK(h)),s.push(dK(l,h,A))}}o(CK,"multipartFormDataParser");function IK(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=Ec(c=>c!==10&&c!==13&&c!==58,t,e);if(a=tB(a,!0,!0,c=>c===9||c===32),!AK.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,Ec(c=>c===32||c===9,t,e),cK(a)){case"content-disposition":{if(r=n=null,!Eh(t,pK,e)||(e.position+=17,r=lM(t,e),r===null))return"failure";if(Eh(t,cM,e)){let c=e.position+cM.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=lM(t,e),n===null))return"failure"}break}case"content-type":{let c=Ec(l=>l!==10&&l!==13,t,e);c=tB(c,!1,!0,l=>l===9||l===32),s=aM(c);break}case"content-transfer-encoding":{let c=Ec(l=>l!==10&&l!==13,t,e);c=tB(c,!1,!0,l=>l===9||l===32),i=aM(c);break}default:Ec(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(IK,"parseMultipartFormDataHeaders");function lM(t,e){yh(t[e.position-1]===34);let r=Ec(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(lM,"parseMultipartFormDataName");function Ec(t,e,r){let n=r.position;for(;n<e.length&&t(e[n]);)++n;return e.subarray(r.position,r.position=n)}o(Ec,"collectASequenceOfBytes");function tB(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(tB,"removeChars");function Eh(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(Eh,"bufferStartsWith");AM.exports={multipartFormDataParser:CK,validateBoundary:EK}});var Bc=g((HNe,IM)=>{"use strict";var FA=le(),{ReadableStreamFrom:BK,isBlobLike:dM,isReadableStreamLike:QK,readableStreamClose:xK,createDeferredPromise:bK,fullyReadBody:wK,extractMimeType:NK,utf8DecodeBytes:pM}=Dr(),{FormData:mM}=_A(),{kState:Ic}=Gi(),{webidl:SK}=Mt(),{Blob:RK}=require("node:buffer"),rB=require("node:assert"),{isErrored:fM,isDisturbed:vK}=require("node:stream"),{isArrayBuffer:PK}=require("node:util/types"),{serializeAMimeType:DK}=lr(),{multipartFormDataParser:kK}=uM(),nB;try{let t=require("node:crypto");nB=o(e=>t.randomInt(0,e),"random")}catch{nB=o(t=>Math.floor(Math.random(t)),"random")}var Ch=new TextEncoder;function TK(){}o(TK,"noop");var gM=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,yM;gM&&(yM=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!vK(e)&&!fM(e)&&e.cancel("Response object has been garbage collected").catch(TK)}));function EM(t,e=!1){let r=null;t instanceof ReadableStream?r=t:dM(t)?r=t.stream():r=new ReadableStream({async pull(l){let A=typeof s=="string"?Ch.encode(s):s;A.byteLength&&l.enqueue(A),queueMicrotask(()=>xK(l))},start(){},type:"bytes"}),rB(QK(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(PK(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(FA.isFormDataLike(t)){let l=`----formdata-undici-0${`${nB(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=[],h=new Uint8Array([13,10]);i=0;let p=!1;for(let[C,y]of t)if(typeof y=="string"){let E=Ch.encode(A+`; name="${u(d(C))}"\r
|
|
\r
|
|
${d(y)}\r
|
|
`);m.push(E),i+=E.byteLength}else{let E=Ch.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,h),typeof y.size=="number"?i+=E.byteLength+y.size+h.byteLength:p=!0}let f=Ch.encode(`--${l}--\r
|
|
`);m.push(f),i+=f.byteLength,p&&(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(dM(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(FA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:BK(t)}if((typeof s=="string"||FA.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(!fM(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(EM,"extractBody");function MK(t,e=!1){return t instanceof ReadableStream&&(rB(!FA.isDisturbed(t),"The body has already been consumed."),rB(!t.locked,"The stream is locked.")),EM(t,e)}o(MK,"safelyExtractBody");function LK(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(LK,"cloneBody");function _K(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(_K,"throwIfAborted");function FK(t){return{blob(){return Cc(this,r=>{let n=hM(this);return n===null?n="":n&&(n=DK(n)),new RK([r],{type:n})},t)},arrayBuffer(){return Cc(this,r=>new Uint8Array(r).buffer,t)},text(){return Cc(this,pM,t)},json(){return Cc(this,OK,t)},formData(){return Cc(this,r=>{let n=hM(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let s=kK(r,n);if(s==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new mM;return i[Ic]=s,i}case"application/x-www-form-urlencoded":{let s=new URLSearchParams(r.toString()),i=new mM;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 Cc(this,r=>new Uint8Array(r),t)}}}o(FK,"bodyMixinMethods");function UK(t){Object.assign(t.prototype,FK(t))}o(UK,"mixinBody");async function Cc(t,e,r){if(SK.brandCheck(t,r),CM(t))throw new TypeError("Body is unusable: Body has already been read");_K(t[Ic]);let n=bK(),s=o(a=>n.reject(a),"errorSteps"),i=o(a=>{try{n.resolve(e(a))}catch(c){s(c)}},"successSteps");return t[Ic].body==null?(i(Buffer.allocUnsafe(0)),n.promise):(await wK(t[Ic].body,i,s),n.promise)}o(Cc,"consumeBody");function CM(t){let e=t[Ic].body;return e!=null&&(e.stream.locked||FA.isDisturbed(e.stream))}o(CM,"bodyUnusable");function OK(t){return JSON.parse(pM(t))}o(OK,"parseJSONFromBytes");function hM(t){let e=t[Ic].headersList,r=NK(e);return r==="failure"?null:r}o(hM,"bodyMimeType");IM.exports={extractBody:EM,safelyExtractBody:MK,cloneBody:LK,mixinBody:UK,streamRegistry:yM,hasFinalizationRegistry:gM,bodyUnusable:CM}});var _M=g((GNe,LM)=>{"use strict";var $=require("node:assert"),G=le(),{channels:BM}=lc(),sB=UI(),{RequestContentLengthMismatchError:qo,ResponseContentLengthMismatchError:QM,RequestAbortedError:PM,InvalidArgumentError:qK,HeadersTimeoutError:HK,HeadersOverflowError:zK,SocketError:Qc,InformationalError:Ho,BodyTimeoutError:GK,HTTPParserError:YK,ResponseExceededMaxSizeError:VK}=ye(),{kUrl:DM,kReset:Ar,kClient:xh,kParser:Me,kBlocking:qA,kRunning:dt,kPending:kM,kSize:xM,kWriting:Yi,kQueue:Tn,kNoRef:UA,kKeepAliveDefaultTimeout:JK,kHostHeader:WK,kPendingIdx:$K,kRunningIdx:cn,kError:$t,kPipelining:bh,kSocket:zo,kKeepAliveTimeoutValue:Nh,kMaxHeadersSize:iB,kKeepAliveMaxTimeout:jK,kKeepAliveTimeoutThreshold:KK,kHeadersTimeout:XK,kBodyTimeout:ZK,kStrictContentLength:cB,kMaxRequests:bM,kCounter:eX,kMaxResponseSize:tX,kOnError:wM,kResume:Ai,kHTTPContext:TM}=Oe(),kr=yT(),NM=Buffer.alloc(0),Ih=Buffer[Symbol.species],Bh=G.addListener,rX=G.removeAllListeners,Go=Symbol("kIdleSocketValidation"),xc=Symbol("kIdleSocketValidationTimeout"),dB=Symbol("kSocketUsed"),oB;async function nX(){let t=process.env.JEST_WORKER_ID?HI():void 0,e;try{e=await WebAssembly.compile(IT())}catch{e=await WebAssembly.compile(t||HI())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:o((r,n,s)=>0,"wasm_on_url"),wasm_on_status:o((r,n,s)=>{$(We.ptr===r);let i=n-as+os.byteOffset;return We.onStatus(new Ih(os.buffer,i,s))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>($(We.ptr===r),We.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,n,s)=>{$(We.ptr===r);let i=n-as+os.byteOffset;return We.onHeaderField(new Ih(os.buffer,i,s))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,n,s)=>{$(We.ptr===r);let i=n-as+os.byteOffset;return We.onHeaderValue(new Ih(os.buffer,i,s))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,n,s,i)=>($(We.ptr===r),We.onHeadersComplete(n,!!s,!!i)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,n,s)=>{$(We.ptr===r);let i=n-as+os.byteOffset;return We.onBody(new Ih(os.buffer,i,s))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>($(We.ptr===r),We.onMessageComplete()||0),"wasm_on_message_complete")}})}o(nX,"lazyllhttp");var aB=null,lB=nX();lB.catch();var We=null,os=null,Qh=0,as=null,sX=0,OA=1,bc=2|OA,wh=4|OA,AB=8|sX,uB=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){$(Number.isFinite(e[iB])&&e[iB]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(kr.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[iB],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[tX]}setTimeout(e,r){e!==this.timeoutValue||r&OA^this.timeoutType&OA?(this.timeout&&(sB.clearTimeout(this.timeout),this.timeout=null),e&&(r&OA?this.timeout=sB.setFastTimeout(SM,e,new WeakRef(this)):(this.timeout=setTimeout(SM,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||($(this.ptr!=null),$(We==null),this.llhttp.llhttp_resume(this.ptr),$(this.timeoutType===wh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||NM),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){$(this.ptr!=null),$(We==null),$(!this.paused);let{socket:r,llhttp:n}=this;e.length>Qh&&(as&&n.free(as),Qh=Math.ceil(e.length/4096)*4096,as=n.malloc(Qh)),new Uint8Array(n.memory.buffer,as,Qh).set(e);try{let s;try{os=e,We=this,s=n.llhttp_execute(this.ptr,as,e.length)}catch(a){throw a}finally{We=null,os=null}let i=n.llhttp_get_error_pos(this.ptr)-as;if(s!==kr.ERROR.OK){let a=e.subarray(i);if(s===kr.ERROR.PAUSED_UPGRADE)this.onUpgrade(a);else if(s===kr.ERROR.PAUSED)this.paused=!0,r.unshift(a);else throw this.createError(s,a)}}catch(s){G.destroy(r,s)}}finish(){$(We===null),$(this.ptr!=null),$(!this.paused);let{llhttp:e}=this,r;try{We=this,r=e.llhttp_finish(this.ptr)}finally{We=null}return r===kr.ERROR.OK?null:r===kr.ERROR.PAUSED||r===kr.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,NM)}createError(e,r){let{llhttp:n,contentLength:s,bytesRead:i}=this;if(s&&i!==parseInt(s,10))return new QM;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 YK(c,kr.ERROR[e],r)}destroy(){$(this.ptr!=null),$(We==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&sB.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 G.destroy(e,new Qc("bad response",G.getSocketInfo(e))),-1;let n=r[Tn][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=G.bufferToLowerCasedHeaderName(n);s==="keep-alive"?this.keepAlive+=e.toString():s==="connection"&&(this.connection+=e.toString())}else n.length===14&&G.bufferToLowerCasedHeaderName(n)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&G.destroy(this.socket,new zK)}onUpgrade(e){let{upgrade:r,client:n,socket:s,headers:i,statusCode:a,statusText:c}=this;$(r),$(n[zo]===s),$(!s.destroyed),$(!this.paused),$((i.length&1)===0);let l=n[Tn][n[cn]];$(l),$(l.upgrade||l.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[xh]=null,s[$t]=null,rX(s),n[zo]=null,n[TM]=null,n[Tn][n[cn]++]=null,n.emit("disconnect",n[DM],[n],new Ho("upgrade"));try{l.onUpgrade(a,i,s,c)}catch(A){G.errorRequest(n,l,A),G.destroy(s,A)}n[Ai]()}onHeadersComplete(e,r,n){let{client:s,socket:i,headers:a,statusText:c}=this;if(i.destroyed)return-1;if(s[dt]===0)return G.destroy(i,new Qc("bad response",G.getSocketInfo(i))),-1;let l=s[Tn][s[cn]];if(!l)return-1;if($(!this.upgrade),$(this.statusCode<200),e===100)return G.destroy(i,new Qc("bad response",G.getSocketInfo(i))),-1;if(r&&!l.upgrade)return G.destroy(i,new Qc("bad upgrade",G.getSocketInfo(i))),-1;if($(this.timeoutType===bc),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[ZK];this.setTimeout(u,wh)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return $(s[dt]===1),this.upgrade=!0,2;if(r)return $(s[dt]===1),this.upgrade=!0,2;if($((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&s[bh]){let u=this.keepAlive?G.parseKeepAliveTimeout(this.keepAlive):null;if(u!=null){let d=Math.min(u-s[KK],s[jK]);d<=0?i[Ar]=!0:s[Nh]=d}else s[Nh]=s[JK]}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[qA]&&(i[qA]=!1,s[Ai]()),A?kr.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:s,maxResponseSize:i}=this;if(n.destroyed)return-1;let a=r[Tn][r[cn]];if($(a),$(this.timeoutType===wh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),$(s>=200),i>-1&&this.bytesRead+e.length>i)return G.destroy(n,new VK),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return kr.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;$(n>=100),$((this.headers.length&1)===0);let A=e[Tn][e[cn]];if($(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 G.destroy(r,new QM),-1;if(A.onComplete(i),e[Tn][e[cn]++]=null,r[dB]=!0,r[Yi])return $(e[dt]===0),G.destroy(r,new Ho("reset")),kr.ERROR.PAUSED;if(l){if(r[Ar]&&e[dt]===0)return G.destroy(r,new Ho("reset")),kr.ERROR.PAUSED;e[bh]==null||e[bh]===1?setImmediate(()=>e[Ai]()):e[Ai]()}else return G.destroy(r,new Ho("reset")),kr.ERROR.PAUSED}}};function SM(t){let{socket:e,timeoutType:r,client:n,paused:s}=t.deref();r===bc?(!e[Yi]||e.writableNeedDrain||n[dt]>1)&&($(!s,"cannot be paused while waiting for headers"),G.destroy(e,new HK)):r===wh?s||G.destroy(e,new GK):r===AB&&($(n[dt]===0&&n[Nh]),G.destroy(e,new Ho("socket idle timeout")))}o(SM,"onParserTimeout");async function iX(t,e){t[zo]=e,aB||(aB=await lB,lB=null),e[UA]=!1,e[Yi]=!1,e[Ar]=!1,e[qA]=!1,e[Go]=0,e[xc]=null,e[dB]=!1,e[Me]=new uB(t,e,aB),Bh(e,"error",function(n){let s=this[Me];if(n.code==="ECONNRESET"&&s.statusCode&&!s.shouldKeepAlive){let i=s.finish();i&&(this[$t]=i,this[xh][wM](i));return}this[$t]=n,this[xh][wM](n)}),Bh(e,"readable",function(){let n=this[Me];n&&n.readMore()}),Bh(e,"end",function(){let n=this[Me];if(n.statusCode&&!n.shouldKeepAlive){let s=n.finish();s&&G.destroy(this,s);return}G.destroy(this,new Qc("other side closed",G.getSocketInfo(this)))}),Bh(e,"close",function(){let n=this[xh],s=this[Me];MM(this),s&&(!this[$t]&&s.statusCode&&!s.shouldKeepAlive&&(this[$t]=s.finish()||this[$t]),this[Me].destroy(),this[Me]=null);let i=this[$t]||new Qc("closed",G.getSocketInfo(this));if(n[zo]=null,n[TM]=null,n.destroyed){$(n[kM]===0);let a=n[Tn].splice(n[cn]);for(let c=0;c<a.length;c++){let l=a[c];G.errorRequest(n,l,i)}}else if(n[dt]>0&&i.code!=="UND_ERR_INFO"){let a=n[Tn][n[cn]];n[Tn][n[cn]++]=null,G.errorRequest(n,a,i)}n[$K]=n[cn],$(n[dt]===0),n.emit("disconnect",n[DM],[n],i),n[Ai]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return lX(t,...n)},resume(){aX(t)},destroy(n,s){r?queueMicrotask(s):e.destroy(n).on("close",s)},get destroyed(){return e.destroyed},busy(n){return!!(e[Yi]||e[Ar]||e[qA]||e[Go]===1||n&&(t[dt]>0&&!n.idempotent||t[dt]>0&&(n.upgrade||n.method==="CONNECT")||t[dt]>0&&G.bodyLength(n.body)!==0&&(G.isStream(n.body)||G.isAsyncIterable(n.body)||G.isFormDataLike(n.body))))}}}o(iX,"connectH1");function MM(t){t[xc]&&(clearImmediate(t[xc]),t[xc]=null),t[Go]=0}o(MM,"clearIdleSocketValidation");function oX(t,e){e[Go]=1,e[xc]=setImmediate(()=>{e[xc]=null,e[Go]=2,t[zo]===e&&!e.destroyed&&t[Ai]()})}o(oX,"scheduleIdleSocketValidation");function aX(t){let e=t[zo];if(e&&!e.destroyed){if(t[xM]===0?!e[UA]&&e.unref&&(e.unref(),e[UA]=!0):e[UA]&&e.ref&&(e.ref(),e[UA]=!1),t[dt]===0&&t[kM]>0&&e[dB]){if(e[Go]===0)return oX(t,e),e[Me].readMore(),e.destroyed,void 0;if(e[Go]===1)return e[Me].readMore(),e.destroyed,void 0}if(t[dt]===0&&(e[Me].readMore(),e.destroyed))return;if(t[xM]===0)e[Me].timeoutType!==AB&&e[Me].setTimeout(t[Nh],AB);else if(t[dt]>0&&e[Me].statusCode<200&&e[Me].timeoutType!==bc){let r=t[Tn][t[cn]],n=r.headersTimeout!=null?r.headersTimeout:t[XK];e[Me].setTimeout(n,bc)}}}o(aX,"resumeH1");function cX(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(cX,"shouldSendContentLength");function lX(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(G.isFormDataLike(l)){oB||(oB=Bc().extractBody);let[C,y]=oB(l);e.contentType==null&&A.push("content-type",y),l=C.stream,u=C.length}else if(G.isBlobLike(l)&&e.contentType==null){let C=l.type;if(C){let y=`${C}`;if(!G.isValidHeaderValue(y))return G.errorRequest(t,e,new qK("invalid content-type header")),!1;A.push("content-type",y)}}l&&typeof l.read=="function"&&l.read(0);let m=G.bodyLength(l);if(u=m??u,u===null&&(u=e.contentLength),u===0&&!d&&(u=null),cX(r)&&u>0&&e.contentLength!==null&&e.contentLength!==u){if(t[cB])return G.errorRequest(t,e,new qo),!1;process.emitWarning(new qo)}let h=t[zo];MM(h);let p=o(C=>{if(!e.aborted){if(e.completed){(e.upgrade||e.method==="CONNECT")&&G.destroy(h,new Ho("aborted"));return}G.errorRequest(t,e,C||new PM),G.destroy(l),G.destroy(h,new Ho("aborted"))}},"abort");try{e.onConnect(p)}catch(C){G.errorRequest(t,e,C)}if(e.aborted)return!1;r==="HEAD"&&(h[Ar]=!0),(i||r==="CONNECT")&&(h[Ar]=!0),c!=null&&(h[Ar]=c),t[bM]&&h[eX]++>=t[bM]&&(h[Ar]=!0),a&&(h[qA]=!0);let f=`${r} ${n} HTTP/1.1\r
|
|
`;if(typeof s=="string"?f+=`host: ${s}\r
|
|
`:f+=t[WK],i?f+=`connection: upgrade\r
|
|
upgrade: ${i}\r
|
|
`:t[bh]&&!h[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 BM.sendHeaders.hasSubscribers&&BM.sendHeaders.publish({request:e,headers:f,socket:h}),!l||m===0?RM(p,null,t,e,h,u,f,d):G.isBuffer(l)?RM(p,l,t,e,h,u,f,d):G.isBlobLike(l)?typeof l.stream=="function"?vM(p,l.stream(),t,e,h,u,f,d):uX(p,l,t,e,h,u,f,d):G.isStream(l)?AX(p,l,t,e,h,u,f,d):G.isIterable(l)?vM(p,l,t,e,h,u,f,d):$(!1),!0}o(lX,"writeH1");function AX(t,e,r,n,s,i,a,c){$(i!==0||r[dt]===0,"stream body cannot be pipelined");let l=!1,A=new Sh({abort:t,socket:s,request:n,contentLength:i,client:r,expectsPayload:c,header:a}),u=o(function(p){if(!l)try{!A.write(p)&&this.pause&&this.pause()}catch(f){G.destroy(this,f)}},"onData"),d=o(function(){l||e.resume&&e.resume()},"onDrain"),m=o(function(){if(queueMicrotask(()=>{e.removeListener("error",h)}),!l){let p=new PM;queueMicrotask(()=>h(p))}},"onClose"),h=o(function(p){if(!l){if(l=!0,$(s.destroyed||s[Yi]&&r[dt]<=1),s.off("drain",d).off("error",h),e.removeListener("data",u).removeListener("end",h).removeListener("close",m),!p)try{A.end()}catch(f){p=f}A.destroy(p),p&&(p.code!=="UND_ERR_INFO"||p.message!=="reset")?G.destroy(e,p):G.destroy(e)}},"onFinished");e.on("data",u).on("end",h).on("error",h).on("close",m),e.resume&&e.resume(),s.on("drain",d).on("error",h),e.errorEmitted??e.errored?setImmediate(()=>h(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>h(null)),(e.closeEmitted??e.closed)&&setImmediate(m)}o(AX,"writeStream");function RM(t,e,r,n,s,i,a,c){try{e?G.isBuffer(e)&&($(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"):($(i===null,"no body must not have content length"),s.write(`${a}\r
|
|
`,"latin1")),n.onRequestSent(),r[Ai]()}catch(l){t(l)}}o(RM,"writeBuffer");async function uX(t,e,r,n,s,i,a,c){$(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new qo;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[Ai]()}catch(l){t(l)}}o(uX,"writeBlob");async function vM(t,e,r,n,s,i,a,c){$(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,h)=>{$(l===null),s[$t]?h(s[$t]):l=m}),"waitForDrain");s.on("close",A).on("drain",A);let d=new Sh({abort:t,socket:s,request:n,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let m of e){if(s[$t])throw s[$t];d.write(m)||await u()}d.end()}catch(m){d.destroy(m)}finally{s.off("close",A).off("drain",A)}}o(vM,"writeIterable");var Sh=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[Yi]=!0}write(e){let{socket:r,request:n,contentLength:s,client:i,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[$t])throw r[$t];if(r.destroyed)return!1;let A=Buffer.byteLength(e);if(!A)return!0;if(s!==null&&a+A>s){if(i[cB])throw new qo;process.emitWarning(new qo)}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===bc&&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[Yi]=!1,e[$t])throw e[$t];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[cB])throw new qo;process.emitWarning(new qo)}e[Me].timeout&&e[Me].timeoutType===bc&&e[Me].timeout.refresh&&e[Me].timeout.refresh(),n[Ai]()}}destroy(e){let{socket:r,client:n,abort:s}=this;r[Yi]=!1,e&&($(n[dt]<=1,"pipeline should only contain this request"),s(e))}};LM.exports=iX});var YM=g((VNe,GM)=>{"use strict";var ls=require("node:assert"),{errorMonitor:mB}=require("node:events"),{pipeline:dX}=require("node:stream"),Ae=le(),{RequestContentLengthMismatchError:pB,RequestAbortedError:hB,SocketError:HA,InformationalError:Rh}=ye(),{kUrl:vh,kReset:Dh,kClient:wc,kRunning:kh,kPending:mX,kQueue:Yo,kPendingIdx:gB,kRunningIdx:cs,kError:Ln,kSocket:Nt,kStrictContentLength:hX,kOnError:yB,kMaxConcurrentStreams:HM,kHTTP2Session:Mn,kResume:Ji,kSize:pX,kHTTPContext:fX}=Oe(),Vi=Symbol("open streams"),FM,UM=!1,Ph;try{Ph=require("node:http2")}catch{Ph={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:gX,HTTP2_HEADER_METHOD:yX,HTTP2_HEADER_PATH:EX,HTTP2_HEADER_SCHEME:CX,HTTP2_HEADER_CONTENT_LENGTH:IX,HTTP2_HEADER_EXPECT:BX,HTTP2_HEADER_STATUS:fB}}=Ph;function zM(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(zM,"parseH2Headers");function QX(t){let{[fB]:e,...r}=t;return zM(r)}o(QX,"parseH2ResponseHeaders");async function xX(t,e){t[Nt]=e,UM||(UM=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=Ph.connect(t[vh],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[HM]});r[Vi]=0,r[wc]=t,r[Nt]=e,Ae.addListener(r,"error",wX),Ae.addListener(r,"frameError",NX),Ae.addListener(r,"end",SX),Ae.addListener(r,"goaway",RX),Ae.addListener(r,"close",function(){let{[wc]:s}=this,{[Nt]:i}=s,a=this[Nt][Ln]||this[Ln]||new HA("closed",Ae.getSocketInfo(i));if(s[Mn]=null,s.destroyed){ls(s[mX]===0);let c=s[Yo].splice(s[cs]);for(let l=0;l<c.length;l++){let A=c[l];Ae.errorRequest(s,A,a)}}}),r.unref(),t[Mn]=r,e[Mn]=r,Ae.addListener(e,"error",function(s){this[Ln]=s,this[wc][yB](s)}),Ae.addListener(e,"end",function(){Ae.destroy(this,new HA("other side closed",Ae.getSocketInfo(this)))}),Ae.addListener(e,"close",function(){let s=this[Ln]||new HA("closed",Ae.getSocketInfo(this));t[Nt]=null,this[Mn]!=null&&this[Mn].destroy(s),t[gB]=t[cs],ls(t[kh]===0),t.emit("disconnect",t[vh],[t],s),t[Ji]()});let n=!1;return e.on("close",()=>{n=!0}),{version:"h2",defaultPipelining:1/0,write(...s){return PX(t,...s)},resume(){bX(t)},destroy(s,i){n?queueMicrotask(i):e.destroy(s).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(xX,"connectH2");function bX(t){let e=t[Nt];e?.destroyed===!1&&(t[pX]===0&&t[HM]===0?(e.unref(),t[Mn].unref()):(e.ref(),t[Mn].ref()))}o(bX,"resumeH2");function wX(t){this[Nt][Ln]=t,this[wc][yB](t)}o(wX,"onHttp2SessionError");function NX(t,e,r){if(r===0){let n=new Rh(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[Nt][Ln]=n,this[wc][yB](n)}}o(NX,"onHttp2FrameError");function SX(){let t=new HA("other side closed",Ae.getSocketInfo(this[Nt]));this.destroy(t),Ae.destroy(this[Nt],t)}o(SX,"onHttp2SessionEnd");function RX(t){let e=this[Ln]||new HA(`HTTP/2: "GOAWAY" frame received with code ${t}`,Ae.getSocketInfo(this)),r=this[wc];if(r[Nt]=null,r[fX]=null,this[Mn]!=null&&(this[Mn].destroy(e),this[Mn]=null),Ae.destroy(this[Nt],e),r[cs]<r[Yo].length){let n=r[Yo][r[cs]];r[Yo][r[cs]++]=null,Ae.errorRequest(r,n,e),r[gB]=r[cs]}ls(r[kh]===0),r.emit("disconnect",r[vh],[r],e),r[Ji]()}o(RX,"onHTTP2GoAway");function vX(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(vX,"shouldSendContentLength");function PX(t,e){let r=t[Mn],{method:n,path:s,host:i,upgrade:a,expectContinue:c,signal:l,headers:A}=e,{body:u}=e;if(a)return Ae.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let d={};for(let B=0;B<A.length;B+=2){let w=A[B+0],S=A[B+1];if(Array.isArray(S))for(let T=0;T<S.length;T++)d[w]?d[w]+=`,${S[T]}`:d[w]=S[T];else d[w]=S}let m,{hostname:h,port:p}=t[vh];d[gX]=i||`${h}${p?`:${p}`:""}`,d[yX]=n;let f=o(B=>{if(!e.aborted){if(e.completed){n==="CONNECT"&&m!=null&&Ae.destroy(m,B||new hB);return}B=B||new hB,Ae.errorRequest(t,e,B),m!=null&&Ae.destroy(m,B),Ae.destroy(u,B),t[Yo][t[cs]++]=null,t[Ji]()}},"abort");try{e.onConnect(f)}catch(B){Ae.errorRequest(t,e,B)}if(e.aborted)return!1;if(n==="CONNECT"){r.ref(),m=r.request(d,{endStream:!1,signal:l});let B=!1,w=o(ee=>{B=!0,m.off(mB,S),e.onUpgradeResponse(Number(ee[fB]),ee,QX)},"onResponse"),S=o(ee=>{B=!0,m.off("response",w),e.onUpgradeError(ee)},"onUpgradeError"),T=o(()=>{try{e.onUpgrade(null,null,m)}catch(ee){m.off("response",w),f(ee);return}e.aborted||(m.off("error",f),m.once(mB,S),t[Yo][t[cs]++]=null)},"onReady");return m.once("response",w),m.once("error",f),++r[Vi],T(),m.once("close",()=>{!B&&e.completed&&(m.off("response",w),m.off(mB,S),e.onUpgradeError(new Rh(`HTTP/2: "stream error" received - code ${m.rstCode}`))),r[Vi]-=1,r[Vi]===0&&r.unref()}),!0}d[EX]=s,d[CX]="https";let C=n==="PUT"||n==="POST"||n==="PATCH";u&&typeof u.read=="function"&&u.read(0);let y=Ae.bodyLength(u);if(Ae.isFormDataLike(u)){FM??=Bc().extractBody;let[B,w]=FM(u);d["content-type"]=w,u=B.stream,y=B.length}if(y==null&&(y=e.contentLength),(y===0||!C)&&(y=null),vX(n)&&y>0&&e.contentLength!=null&&e.contentLength!==y){if(t[hX])return Ae.errorRequest(t,e,new pB),!1;process.emitWarning(new pB)}y!=null&&(ls(u,"no body must not have content length"),d[IX]=`${y}`),r.ref();let E=n==="GET"||n==="HEAD"||u===null;return c?(d[BX]="100-continue",m=r.request(d,{endStream:E,signal:l}),m.once("continue",I)):(m=r.request(d,{endStream:E,signal:l}),I()),++r[Vi],m.once("response",B=>{let{[fB]:w,...S}=B;if(e.onResponseStarted(),e.aborted){let T=new hB;Ae.errorRequest(t,e,T),Ae.destroy(m,T);return}e.onHeaders(Number(w),zM(S),m.resume.bind(m),"")===!1&&m.pause(),m.on("data",T=>{e.onData(T)===!1&&m.pause()})}),m.once("end",()=>{(m.state?.state==null||m.state.state<6)&&e.onComplete([]),r[Vi]===0&&r.unref(),f(new Rh("HTTP/2: stream half-closed (remote)")),t[Yo][t[cs]++]=null,t[gB]=t[cs],t[Ji]()}),m.once("close",()=>{r[Vi]-=1,r[Vi]===0&&r.unref()}),m.once("error",function(B){f(B)}),m.once("frameError",(B,w)=>{f(new Rh(`HTTP/2: "frameError" received - type ${B}, code ${w}`))}),!0;function I(){!u||y===0?OM(f,m,null,t,e,t[Nt],y,C):Ae.isBuffer(u)?OM(f,m,u,t,e,t[Nt],y,C):Ae.isBlobLike(u)?typeof u.stream=="function"?qM(f,m,u.stream(),t,e,t[Nt],y,C):kX(f,m,u,t,e,t[Nt],y,C):Ae.isStream(u)?DX(f,t[Nt],C,m,u,t,e,y):Ae.isIterable(u)?qM(f,m,u,t,e,t[Nt],y,C):ls(!1)}o(I,"writeBodyH2")}o(PX,"writeH2");function OM(t,e,r,n,s,i,a,c){try{r!=null&&Ae.isBuffer(r)&&(ls(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),s.onBodySent(r)),c||(i[Dh]=!0),s.onRequestSent(),n[Ji]()}catch(l){t(l)}}o(OM,"writeBuffer");function DX(t,e,r,n,s,i,a,c){ls(c!==0||i[kh]===0,"stream body cannot be pipelined");let l=dX(s,n,u=>{u?(Ae.destroy(l,u),t(u)):(Ae.removeAllListeners(l),a.onRequestSent(),r||(e[Dh]=!0),i[Ji]())});Ae.addListener(l,"data",A);function A(u){a.onBodySent(u)}o(A,"onPipeData")}o(DX,"writeStream");async function kX(t,e,r,n,s,i,a,c){ls(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new pB;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),s.onBodySent(l),s.onRequestSent(),c||(i[Dh]=!0),n[Ji]()}catch(l){t(l)}}o(kX,"writeBlob");async function qM(t,e,r,n,s,i,a,c){ls(a!==0||n[kh]===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)=>{ls(l===null),i[Ln]?m(i[Ln]):l=d}),"waitForDrain");e.on("close",A).on("drain",A);try{for await(let d of r){if(i[Ln])throw i[Ln];let m=e.write(d);s.onBodySent(d),m||await u()}e.end(),s.onRequestSent(),c||(i[Dh]=!0),n[Ji]()}catch(d){t(d)}finally{e.off("close",A).off("drain",A)}}o(qM,"writeIterable");GM.exports=xX});var Mh=g((WNe,WM)=>{"use strict";var As=le(),{kBodyUsed:zA}=Oe(),CB=require("node:assert"),{InvalidArgumentError:TX}=ye(),MX=require("node:events"),LX=[300,301,302,303,307,308],VM=Symbol("body"),Th=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[VM]=e,this[zA]=!1}async*[Symbol.asyncIterator](){CB(!this[zA],"disturbed"),this[zA]=!0,yield*this[VM]}},EB=class{static{o(this,"RedirectHandler")}constructor(e,r,n,s){if(r!=null&&(!Number.isInteger(r)||r<0))throw new TX("maxRedirections must be a positive number");As.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,As.isStream(this.opts.body)?(As.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){CB(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[zA]=!1,MX.prototype.on.call(this.opts.body,"data",function(){this[zA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Th(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&As.isIterable(this.opts.body)&&(this.opts.body=new Th(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||As.isDisturbed(this.opts.body)?null:_X(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}=As.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=FX(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 _X(t,e){if(LX.indexOf(t)===-1)return null;for(let r=0;r<e.length;r+=2)if(e[r].length===8&&As.headerNameToString(e[r])==="location")return e[r+1]}o(_X,"parseLocation");function JM(t,e,r){if(t.length===4)return As.headerNameToString(t)==="host";if(e&&As.headerNameToString(t).startsWith("content-"))return!0;if(r&&(t.length===13||t.length===6||t.length===19)){let n=As.headerNameToString(t);return n==="authorization"||n==="cookie"||n==="proxy-authorization"}return!1}o(JM,"shouldRemoveHeader");function FX(t,e,r){let n=[];if(Array.isArray(t))for(let s=0;s<t.length;s+=2)JM(t[s],e,r)||n.push(t[s],t[s+1]);else if(t&&typeof t=="object")for(let s of Object.keys(t))JM(s,e,r)||n.push(s,t[s]);else CB(t==null,"headers must be an object or an array");return n}o(FX,"cleanRequestHeaders");WM.exports=EB});var Lh=g((jNe,$M)=>{"use strict";var UX=Mh();function OX({maxRedirections:t}){return e=>o(function(n,s){let{maxRedirections:i=t}=n;if(!i)return e(n,s);let a=new UX(e,i,n,s);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}o(OX,"createRedirectInterceptor");$M.exports=OX});var Rc=g((XNe,iL)=>{"use strict";var ui=require("node:assert"),tL=require("node:net"),qX=require("node:http"),Vo=le(),{channels:Nc}=lc(),HX=sT(),zX=mc(),{InvalidArgumentError:st,InformationalError:GX,ClientDestroyedError:YX}=ye(),VX=vA(),{kUrl:us,kServerName:Wi,kClient:JX,kBusy:IB,kConnect:WX,kResuming:Jo,kRunning:WA,kPending:$A,kSize:JA,kQueue:_n,kConnected:$X,kConnecting:Sc,kNeedDrain:ji,kKeepAliveDefaultTimeout:jM,kHostHeader:jX,kPendingIdx:Fn,kRunningIdx:di,kError:KX,kPipelining:_h,kKeepAliveTimeoutValue:XX,kMaxHeadersSize:ZX,kKeepAliveMaxTimeout:eZ,kKeepAliveTimeoutThreshold:tZ,kHeadersTimeout:rZ,kBodyTimeout:nZ,kStrictContentLength:sZ,kConnector:GA,kMaxRedirections:iZ,kMaxRequests:BB,kCounter:oZ,kClose:aZ,kDestroy:cZ,kDispatch:lZ,kInterceptors:KM,kLocalAddress:YA,kMaxResponseSize:AZ,kOnError:uZ,kHTTPContext:it,kMaxConcurrentStreams:dZ,kResume:VA}=Oe(),mZ=_M(),hZ=YM(),XM=!1,$i=Symbol("kClosedResolve"),ZM=o(()=>{},"noop");function rL(t){return t[_h]??t[it]?.defaultPipelining??1}o(rL,"getPipelining");var QB=class extends zX{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:h,keepAliveTimeoutThreshold:p,socketPath:f,pipelining:C,tls:y,strictContentLength:E,maxCachedSessions:I,maxRedirections:B,connect:w,maxRequestsPerClient:S,localAddress:T,maxResponseSize:ee,autoSelectFamily:be,autoSelectFamilyAttemptTimeout:Be,maxConcurrentStreams:Ne,allowH2:ce,webSocket:De,eventSource:ie}={}){if(super({webSocket:De,eventSource:ie}),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(h!=null&&(!Number.isFinite(h)||h<=0))throw new st("invalid keepAliveMaxTimeout");if(p!=null&&!Number.isFinite(p))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(w!=null&&typeof w!="function"&&typeof w!="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(S!=null&&(!Number.isInteger(S)||S<0))throw new st("maxRequestsPerClient must be a positive number");if(T!=null&&(typeof T!="string"||tL.isIP(T)===0))throw new st("localAddress must be valid string IP address");if(ee!=null&&(!Number.isInteger(ee)||ee<-1))throw new st("maxResponseSize must be a positive number");if(Be!=null&&(!Number.isInteger(Be)||Be<-1))throw new st("autoSelectFamilyAttemptTimeout must be a positive number");if(ce!=null&&typeof ce!="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 w!="function"&&(w=VX({...y,maxCachedSessions:I,allowH2:ce,socketPath:f,timeout:c,...be?{autoSelectFamily:be,autoSelectFamilyAttemptTimeout:Be}:void 0,...w})),r?.Client&&Array.isArray(r.Client)?(this[KM]=r.Client,XM||(XM=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[KM]=[pZ({maxRedirections:B})],this[us]=Vo.parseOrigin(e),this[GA]=w,this[_h]=C??1,this[ZX]=n||qX.maxHeaderSize,this[jM]=d??4e3,this[eZ]=h??6e5,this[tZ]=p??2e3,this[XX]=this[jM],this[Wi]=null,this[YA]=T??null,this[Jo]=0,this[ji]=0,this[jX]=`host: ${this[us].hostname}${this[us].port?`:${this[us].port}`:""}\r
|
|
`,this[nZ]=l??3e5,this[rZ]=s??3e5,this[sZ]=E??!0,this[iZ]=B,this[BB]=S,this[$i]=null,this[AZ]=ee>-1?ee:-1,this[dZ]=Ne??100,this[it]=null,this[_n]=[],this[di]=0,this[Fn]=0,this[VA]=yt=>xB(this,yt),this[uZ]=yt=>nL(this,yt)}get pipelining(){return this[_h]}set pipelining(e){this[_h]=e,this[VA](!0)}get[$A](){return this[_n].length-this[Fn]}get[WA](){return this[Fn]-this[di]}get[JA](){return this[_n].length-this[di]}get[$X](){return!!this[it]&&!this[Sc]&&!this[it].destroyed}get[IB](){return!!(this[it]?.busy(null)||this[JA]>=(rL(this)||1)||this[$A]>0)}[WX](e){sL(this),this.once("connect",e)}[lZ](e,r){let n=e.origin||this[us].origin,s=new HX(n,e,r);return this[_n].push(s),this[Jo]||(Vo.bodyLength(s.body)==null&&Vo.isIterable(s.body)?(this[Jo]=1,queueMicrotask(()=>xB(this))):this[VA](!0)),this[Jo]&&this[ji]!==2&&this[IB]&&(this[ji]=2),this[ji]<2}async[aZ](){return new Promise(e=>{this[JA]?this[$i]=e:e(null)})}async[cZ](e){return new Promise(r=>{let n=this[_n].splice(this[Fn]);for(let i=0;i<n.length;i++){let a=n[i];Vo.errorRequest(this,a,e)}let s=o(()=>{this[$i]&&(this[$i](),this[$i]=null),r(null)},"callback");this[it]?(this[it].destroy(e,s),this[it]=null):queueMicrotask(s),this[VA]()})}},pZ=Lh();function nL(t,e){if(t[WA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){ui(t[Fn]===t[di]);let r=t[_n].splice(t[di]);for(let n=0;n<r.length;n++){let s=r[n];Vo.errorRequest(t,s,e)}ui(t[JA]===0)}}o(nL,"onError");async function sL(t){ui(!t[Sc]),ui(!t[it]);let{host:e,hostname:r,protocol:n,port:s}=t[us];if(r[0]==="["){let i=r.indexOf("]");ui(i!==-1);let a=r.substring(1,i);ui(tL.isIP(a)),r=a}t[Sc]=!0,Nc.beforeConnect.hasSubscribers&&Nc.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[it]?.version,servername:t[Wi],localAddress:t[YA]},connector:t[GA]});try{let i=await new Promise((a,c)=>{t[GA]({host:e,hostname:r,protocol:n,port:s,servername:t[Wi],localAddress:t[YA]},(l,A)=>{l?c(l):a(A)})});if(t.destroyed){Vo.destroy(i.on("error",ZM),new YX);return}ui(i);try{t[it]=i.alpnProtocol==="h2"?await hZ(t,i):await mZ(t,i)}catch(a){throw i.destroy().on("error",ZM),a}t[Sc]=!1,i[oZ]=0,i[BB]=t[BB],i[JX]=t,i[KX]=null,Nc.connected.hasSubscribers&&Nc.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[it]?.version,servername:t[Wi],localAddress:t[YA]},connector:t[GA],socket:i}),t.emit("connect",t[us],[t])}catch(i){if(t.destroyed)return;if(t[Sc]=!1,Nc.connectError.hasSubscribers&&Nc.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[it]?.version,servername:t[Wi],localAddress:t[YA]},connector:t[GA],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(ui(t[WA]===0);t[$A]>0&&t[_n][t[Fn]].servername===t[Wi];){let a=t[_n][t[Fn]++];Vo.errorRequest(t,a,i)}else nL(t,i);t.emit("connectionError",t[us],[t],i)}t[VA]()}o(sL,"connect");function eL(t){t[ji]=0,t.emit("drain",t[us],[t])}o(eL,"emitDrain");function xB(t,e){t[Jo]!==2&&(t[Jo]=2,fZ(t,e),t[Jo]=0,t[di]>256&&(t[_n].splice(0,t[di]),t[Fn]-=t[di],t[di]=0))}o(xB,"resume");function fZ(t,e){for(;;){if(t.destroyed){ui(t[$A]===0);return}if(t[$i]&&!t[JA]){t[$i](),t[$i]=null;return}if(t[it]&&t[it].resume(),t[IB])t[ji]=2;else if(t[ji]===2){e?(t[ji]=1,queueMicrotask(()=>eL(t))):eL(t);continue}if(t[$A]===0||t[WA]>=(rL(t)||1))return;let r=t[_n][t[Fn]];if(t[us].protocol==="https:"&&t[Wi]!==r.servername){if(t[WA]>0)return;t[Wi]=r.servername,t[it]?.destroy(new GX("servername changed"),()=>{t[it]=null,xB(t)})}if(t[Sc])return;if(!t[it]){sL(t);return}if(t[it].destroyed||t[it].busy(r))return;!r.aborted&&t[it].write(r)?t[Fn]++:t[_n].splice(t[Fn],1)}}o(fZ,"_resume");iL.exports=QB});var bB=g((tSe,oL)=>{"use strict";var Fh=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)}};oL.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new Fh}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new Fh),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var cL=g((nSe,aL)=>{var{kFree:gZ,kConnected:yZ,kPending:EZ,kQueued:CZ,kRunning:IZ,kSize:BZ}=Oe(),Wo=Symbol("pool"),wB=class{static{o(this,"PoolStats")}constructor(e){this[Wo]=e}get connected(){return this[Wo][yZ]}get free(){return this[Wo][gZ]}get pending(){return this[Wo][EZ]}get queued(){return this[Wo][CZ]}get running(){return this[Wo][IZ]}get size(){return this[Wo][BZ]}};aL.exports=wB});var DB=g((iSe,yL)=>{"use strict";var QZ=mc(),xZ=bB(),{kConnected:NB,kSize:lL,kRunning:AL,kPending:uL,kQueued:jA,kBusy:bZ,kFree:wZ,kUrl:NZ,kClose:SZ,kDestroy:RZ,kDispatch:vZ}=Oe(),PZ=cL(),ur=Symbol("clients"),jt=Symbol("needDrain"),KA=Symbol("queue"),SB=Symbol("closed resolve"),RB=Symbol("onDrain"),dL=Symbol("onConnect"),mL=Symbol("onDisconnect"),hL=Symbol("onConnectionError"),vB=Symbol("get dispatcher"),fL=Symbol("add client"),gL=Symbol("remove client"),pL=Symbol("stats"),PB=class extends QZ{static{o(this,"PoolBase")}constructor(e){super(e),this[KA]=new xZ,this[ur]=[],this[jA]=0;let r=this;this[RB]=o(function(s,i){let a=r[KA],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[jA]--,c=!this.dispatch(l.opts,l.handler)}this[jt]=c,!this[jt]&&r[jt]&&(r[jt]=!1,r.emit("drain",s,[r,...i])),r[SB]&&a.isEmpty()&&Promise.all(r[ur].map(l=>l.close())).then(r[SB])},"onDrain"),this[dL]=(n,s)=>{r.emit("connect",n,[r,...s])},this[mL]=(n,s,i)=>{r.emit("disconnect",n,[r,...s],i)},this[hL]=(n,s,i)=>{r.emit("connectionError",n,[r,...s],i)},this[pL]=new PZ(this)}get[bZ](){return this[jt]}get[NB](){return this[ur].filter(e=>e[NB]).length}get[wZ](){return this[ur].filter(e=>e[NB]&&!e[jt]).length}get[uL](){let e=this[jA];for(let{[uL]:r}of this[ur])e+=r;return e}get[AL](){let e=0;for(let{[AL]:r}of this[ur])e+=r;return e}get[lL](){let e=this[jA];for(let{[lL]:r}of this[ur])e+=r;return e}get stats(){return this[pL]}async[SZ](){this[KA].isEmpty()?await Promise.all(this[ur].map(e=>e.close())):await new Promise(e=>{this[SB]=e})}async[RZ](e){for(;;){let r=this[KA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[ur].map(r=>r.destroy(e)))}[vZ](e,r){let n=this[vB]();return n?n.dispatch(e,r)||(n[jt]=!0,this[jt]=!this[vB]()):(this[jt]=!0,this[KA].push({opts:e,handler:r}),this[jA]++),!this[jt]}[fL](e){return e.on("drain",this[RB]).on("connect",this[dL]).on("disconnect",this[mL]).on("connectionError",this[hL]),this[ur].push(e),this[jt]&&queueMicrotask(()=>{this[jt]&&this[RB](e[NZ],[this,e])}),this}[gL](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)}};yL.exports={PoolBase:PB,kClients:ur,kNeedDrain:jt,kAddClient:fL,kRemoveClient:gL,kGetDispatcher:vB}});var vc=g((aSe,BL)=>{"use strict";var{PoolBase:DZ,kClients:Uh,kNeedDrain:kZ,kAddClient:TZ,kGetDispatcher:MZ}=DB(),LZ=Rc(),{InvalidArgumentError:kB}=ye(),EL=le(),{kUrl:CL,kInterceptors:_Z}=Oe(),FZ=vA(),TB=Symbol("options"),MB=Symbol("connections"),IL=Symbol("factory");function UZ(t,e){return new LZ(t,e)}o(UZ,"defaultFactory");var LB=class extends DZ{static{o(this,"Pool")}constructor(e,{connections:r,factory:n=UZ,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 kB("invalid connections");if(typeof n!="function")throw new kB("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new kB("connect must be a function or an object");typeof s!="function"&&(s=FZ({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:i,...A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u}:void 0,...s})),super(m),this[_Z]=m.interceptors?.Pool&&Array.isArray(m.interceptors.Pool)?m.interceptors.Pool:[],this[MB]=r||null,this[CL]=EL.parseOrigin(e),this[TB]={...EL.deepClone(m),connect:s,allowH2:d},this[TB].interceptors=m.interceptors?{...m.interceptors}:void 0,this[IL]=n,this.on("connectionError",(h,p,f)=>{for(let C of p){let y=this[Uh].indexOf(C);y!==-1&&this[Uh].splice(y,1)}})}[MZ](){for(let e of this[Uh])if(!e[kZ])return e;if(!this[MB]||this[Uh].length<this[MB]){let e=this[IL](this[CL],this[TB]);return this[TZ](e),e}}};BL.exports=LB});var NL=g((lSe,wL)=>{"use strict";var{BalancedPoolMissingUpstreamError:OZ,InvalidArgumentError:qZ}=ye(),{PoolBase:HZ,kClients:Ut,kNeedDrain:XA,kAddClient:zZ,kRemoveClient:GZ,kGetDispatcher:YZ}=DB(),VZ=vc(),{kUrl:_B,kInterceptors:JZ}=Oe(),{parseOrigin:QL}=le(),xL=Symbol("factory"),Oh=Symbol("options"),bL=Symbol("kGreatestCommonDivisor"),$o=Symbol("kCurrentWeight"),jo=Symbol("kIndex"),ln=Symbol("kWeight"),qh=Symbol("kMaxWeightPerServer"),Hh=Symbol("kErrorPenalty");function WZ(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(WZ,"getGreatestCommonDivisor");function $Z(t,e){return new VZ(t,e)}o($Z,"defaultFactory");var FB=class extends HZ{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=$Z,...n}={}){if(super(),this[Oh]=n,this[jo]=-1,this[$o]=0,this[qh]=this[Oh].maxWeightPerServer||100,this[Hh]=this[Oh].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new qZ("factory must be a function.");this[JZ]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[xL]=r;for(let s of e)this.addUpstream(s);this._updateBalancedPoolStats()}addUpstream(e){let r=QL(e).origin;if(this[Ut].find(s=>s[_B].origin===r&&s.closed!==!0&&s.destroyed!==!0))return this;let n=this[xL](r,Object.assign({},this[Oh]));this[zZ](n),n.on("connect",()=>{n[ln]=Math.min(this[qh],n[ln]+this[Hh])}),n.on("connectionError",()=>{n[ln]=Math.max(1,n[ln]-this[Hh]),this._updateBalancedPoolStats()}),n.on("disconnect",(...s)=>{let i=s[2];i&&i.code==="UND_ERR_SOCKET"&&(n[ln]=Math.max(1,n[ln]-this[Hh]),this._updateBalancedPoolStats())});for(let s of this[Ut])s[ln]=this[qh];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;r<this[Ut].length;r++)e=WZ(this[Ut][r][ln],e);this[bL]=e}removeUpstream(e){let r=QL(e).origin,n=this[Ut].find(s=>s[_B].origin===r&&s.closed!==!0&&s.destroyed!==!0);return n&&this[GZ](n),this}get upstreams(){return this[Ut].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[_B].origin)}[YZ](){if(this[Ut].length===0)throw new OZ;if(!this[Ut].find(i=>!i[XA]&&i.closed!==!0&&i.destroyed!==!0)||this[Ut].map(i=>i[XA]).reduce((i,a)=>i&&a,!0))return;let n=0,s=this[Ut].findIndex(i=>!i[XA]);for(;n++<this[Ut].length;){this[jo]=(this[jo]+1)%this[Ut].length;let i=this[Ut][this[jo]];if(i[ln]>this[Ut][s][ln]&&!i[XA]&&(s=this[jo]),this[jo]===0&&(this[$o]=this[$o]-this[bL],this[$o]<=0&&(this[$o]=this[qh])),i[ln]>=this[$o]&&!i[XA])return i}return this[$o]=this[Ut][s][ln],this[jo]=s,this[Ut][s]}};wL.exports=FB});var Pc=g((uSe,TL)=>{"use strict";var{InvalidArgumentError:zh}=ye(),{kClients:Ki,kRunning:SL,kClose:jZ,kDestroy:KZ,kDispatch:XZ,kInterceptors:ZZ}=Oe(),e7=mc(),t7=vc(),r7=Rc(),n7=le(),s7=Lh(),RL=Symbol("onConnect"),vL=Symbol("onDisconnect"),PL=Symbol("onConnectionError"),i7=Symbol("maxRedirections"),DL=Symbol("onDrain"),kL=Symbol("factory"),UB=Symbol("options");function o7(t,e){return e&&e.connections===1?new r7(t,e):new t7(t,e)}o(o7,"defaultFactory");var OB=class extends e7{static{o(this,"Agent")}constructor({factory:e=o7,maxRedirections:r=0,connect:n,tls:s,...i}={}){if(typeof e!="function")throw new zh("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new zh("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new zh("maxRedirections must be a positive number");super(i),n&&typeof n!="function"&&(n={...n}),s&&typeof s!="function"&&(s={...s}),this[ZZ]=i.interceptors?.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[s7({maxRedirections:r})],this[UB]={...n7.deepClone(i),connect:n,tls:s},this[UB].interceptors=i.interceptors?{...i.interceptors}:void 0,this[i7]=r,this[kL]=e,this[Ki]=new Map,this[DL]=(a,c)=>{this.emit("drain",a,[this,...c])},this[RL]=(a,c)=>{this.emit("connect",a,[this,...c])},this[vL]=(a,c,l)=>{this.emit("disconnect",a,[this,...c],l)},this[PL]=(a,c,l)=>{this.emit("connectionError",a,[this,...c],l)}}get[SL](){let e=0;for(let r of this[Ki].values())e+=r[SL];return e}[XZ](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new zh("opts.origin must be a non-empty string or URL.");let s=this[Ki].get(n);return s||(s=this[kL](e.origin,this[UB]).on("drain",this[DL]).on("connect",this[RL]).on("disconnect",this[vL]).on("connectionError",this[PL]),this[Ki].set(n,s)),s.dispatch(e,r)}async[jZ](){let e=[];for(let r of this[Ki].values())e.push(r.close());this[Ki].clear(),await Promise.all(e)}async[KZ](e){let r=[];for(let n of this[Ki].values())r.push(n.destroy(e));this[Ki].clear(),await Promise.all(r)}};TL.exports=OB});var YB=g((mSe,YL)=>{"use strict";var{kProxy:qB,kClose:OL,kDestroy:qL,kDispatch:ML,kInterceptors:a7}=Oe(),{URL:Ko}=require("node:url"),c7=Pc(),HL=vc(),zL=mc(),{InvalidArgumentError:Dc,RequestAbortedError:l7,SecureProxyConnectionError:A7}=ye(),LL=vA(),GL=Rc(),Gh=Symbol("proxy agent"),Yh=Symbol("proxy client"),Xi=Symbol("proxy headers"),HB=Symbol("request tls settings"),_L=Symbol("proxy tls settings"),FL=Symbol("connect endpoint function"),UL=Symbol("tunnel proxy");function u7(t){return t==="https:"?443:80}o(u7,"defaultProtocolPort");function d7(t,e){return new HL(t,e)}o(d7,"defaultFactory");var m7=o(()=>{},"noop");function h7(t,e){return e.connections===1?new GL(t,e):new HL(t,e)}o(h7,"defaultAgentFactory");var zB=class extends zL{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:s}){if(super(),!e)throw new Dc("Proxy URL is mandatory");this[Xi]=r,s?this.#e=s(e,{connect:n}):this.#e=new GL(e,{connect:n})}[ML](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,A){if(c===407){typeof r.onError=="function"&&r.onError(new Dc("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 Ko(s);a.host=c}return e.headers={...this[Xi],...a},this.#e[ML](e,r)}async[OL](){return this.#e.close()}async[qL](e){return this.#e.destroy(e)}},GB=class extends zL{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof Ko)&&!e.uri)throw new Dc("Proxy uri is mandatory");let{clientFactory:r=d7}=e;if(typeof r!="function")throw new Dc("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[qB]={uri:i,protocol:l},this[a7]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[HB]=e.requestTls,this[_L]=e.proxyTls,this[Xi]=e.headers||{},this[UL]=n,e.auth&&e.token)throw new Dc("opts.auth cannot be used in combination with opts.token");e.auth?this[Xi]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[Xi]["proxy-authorization"]=e.token:A&&u&&(this[Xi]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(A)}:${decodeURIComponent(u)}`).toString("base64")}`);let m=LL({...e.proxyTls});this[FL]=LL({...e.requestTls});let h=e.factory||h7,p=o((f,C)=>{let{protocol:y}=new Ko(f);return!this[UL]&&y==="http:"&&this[qB].protocol==="http:"?new zB(this[qB].uri,{headers:this[Xi],connect:m,factory:h}):h(f,C)},"factory");this[Yh]=r(s,{connect:m}),this[Gh]=new c7({...e,factory:p,connect:o(async(f,C)=>{let y=f.host;f.port||(y+=`:${u7(f.protocol)}`);try{let{socket:E,statusCode:I}=await this[Yh].connect({origin:a,port:c,path:y,signal:f.signal,headers:{...this[Xi],host:f.host},servername:this[_L]?.servername||d});if(I!==200&&(E.on("error",m7).destroy(),C(new l7(`Proxy response (${I}) !== 200 when HTTP Tunneling`))),f.protocol!=="https:"){C(null,E);return}let B;this[HB]?B=this[HB].servername:B=f.servername,this[FL]({...f,servername:B,httpSocket:E},C)}catch(E){E.code==="ERR_TLS_CERT_ALTNAME_INVALID"?C(new A7(E)):C(E)}},"connect")})}dispatch(e,r){let n=p7(e.headers);if(f7(n),n&&!("host"in n)&&!("Host"in n)){let{host:s}=new Ko(e.origin);n.host=s}return this[Gh].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new Ko(e):e instanceof Ko?e:new Ko(e.uri)}async[OL](){await this[Gh].close(),await this[Yh].close()}async[qL](){await this[Gh].destroy(),await this[Yh].destroy()}};function p7(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(p7,"buildHeaders");function f7(t){if(t&&Object.keys(t).find(r=>r.toLowerCase()==="proxy-authorization"))throw new Dc("Proxy-Authorization should be sent in ProxyAgent constructor")}o(f7,"throwIfProxyAuthIsSent");YL.exports=GB});var KL=g((pSe,jL)=>{"use strict";var g7=mc(),{kClose:y7,kDestroy:E7,kClosed:VL,kDestroyed:JL,kDispatch:C7,kNoProxyAgent:ZA,kHttpProxyAgent:Zi,kHttpsProxyAgent:Xo}=Oe(),WL=YB(),I7=Pc(),B7={"http:":80,"https:":443},$L=!1,VB=class extends g7{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[ZA]=new I7(i);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[Zi]=new WL({...i,uri:a}):this[Zi]=this[ZA];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[Xo]=new WL({...i,uri:c}):this[Xo]=this[Zi],this.#n()}[C7](e,r){let n=new URL(e.origin);return this.#s(n).dispatch(e,r)}async[y7](){await this[ZA].close(),this[Zi][VL]||await this[Zi].close(),this[Xo][VL]||await this[Xo].close()}async[E7](e){await this[ZA].destroy(e),this[Zi][JL]||await this[Zi].destroy(e),this[Xo][JL]||await this[Xo].destroy(e)}#s(e){let{protocol:r,host:n,port:s}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),s=Number.parseInt(s,10)||B7[r]||0,this.#i(n,s)?r==="https:"?this[Xo]:this[Zi]:this[ZA]}#i(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??""}};jL.exports=VB});var Vh=g((gSe,r_)=>{"use strict";var eu=require("node:assert"),{kRetryHandlerDefaultRetry:XL}=Oe(),{RequestRetryError:Zo}=ye(),{isDisturbed:ZL,parseHeaders:Q7,parseRangeHeader:e_,wrapRequestBody:x7}=le();function b7(t){let e=Date.now();return new Date(t).getTime()-e}o(b7,"calculateRetryAfterHeader");function t_(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 Zo("Content-Length mismatch",r,{headers:t,data:{count:n}}):null}o(t_,"validatePartialResponseContentLength");var JB=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:h}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...s,body:x7(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[XL],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:h??[500,502,503,504,429],errorCodes:d??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.headersSent=!1,this.handler.onConnect(p=>{this.aborted=!0,this.abort?this.abort(p):this.reason=p})}checkpointResponseEnd(e,r){if(this.end==null&&this.opts.method!=="HEAD"){let n=e["content-length"];this.end=n!=null?Number(n)-1:null,eu(this.end==null||Number.isFinite(this.end),"invalid content-length")}this.resume=this.end!=null?r:null}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,r,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[XL](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:h,statusCodes:p,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(p)&&!p.includes(i)){s(e);return}if(y>u){s(e);return}let E=c?.["retry-after"];E&&(E=Number(E),E=Number.isNaN(E)?b7(E):E*1e3);let I=E>0?Math.min(E,m):Math.min(d*h**(y-1),m);setTimeout(()=>s(null),I)}onHeaders(e,r,n,s){let i=Q7(r);if(this.retryCount+=1,e>=300)return!this.headersSent&&this.retryOpts.statusCodes.includes(e)===!1?(this.headersSent=!0,this.checkpointResponseEnd(i,n),this.handler.onHeaders(e,r,n,s)):(this.abort(new Zo("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 Zo("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let c=e_(i["content-range"]);if(!c)return this.abort(new Zo("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new Zo("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let l=t_(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:A,size:u,end:d=u-1}=c;return this.start!==A||this.end!=null&&this.end!==d?(this.abort(new Zo("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1):(this.resume=n,!0)}if(this.end==null){if(e===206){let c=e_(i["content-range"]);if(c==null)return this.headersSent=!0,this.handler.onHeaders(e,r,n,s);let l=t_(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:A,size:u,end:d=u-1}=c;eu(A!=null&&Number.isFinite(A),"content-range mismatch"),eu(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 eu(Number.isFinite(this.start)),eu(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=n,this.headersSent=!0,this.etag=i.etag!=null?i.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,n,s)}let a=new Zo("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||ZL(this.opts.body)||this.headersSent&&this.resume==null)return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(n){if(n!=null||this.aborted||ZL(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")}};r_.exports=JB});var s_=g((ESe,n_)=>{"use strict";var w7=SA(),N7=Vh(),WB=class extends w7{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 N7({...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()}};n_.exports=WB});var eQ=g((ISe,m_)=>{"use strict";var l_=require("node:assert"),{Readable:S7}=require("node:stream"),{RequestAbortedError:A_,NotSupportedError:R7,InvalidArgumentError:v7,AbortError:$B}=ye(),u_=le(),{ReadableStreamFrom:P7}=le(),Tr=Symbol("kConsume"),tu=Symbol("kReading"),eo=Symbol("kBody"),i_=Symbol("kAbort"),d_=Symbol("kContentType"),o_=Symbol("kContentLength"),D7=o(()=>{},"noop"),jB=class extends S7{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[i_]=r,this[Tr]=null,this[eo]=null,this[d_]=n,this[o_]=s,this[tu]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new A_),e&&this[i_](),super.destroy(e)}_destroy(e,r){this[tu]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[tu]=!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[tu]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Tr]&&e!==null?(XB(this[Tr],e),this[tu]?super.push(e):!0):super.push(e)}async text(){return ru(this,"text")}async json(){return ru(this,"json")}async blob(){return ru(this,"blob")}async bytes(){return ru(this,"bytes")}async arrayBuffer(){return ru(this,"arrayBuffer")}async formData(){throw new R7}get bodyUsed(){return u_.isDisturbed(this)}get body(){return this[eo]||(this[eo]=P7(this),this[Tr]&&(this[eo].getReader(),l_(this[eo].locked))),this[eo]}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 v7("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((s,i)=>{this[o_]>r&&this.destroy(new $B);let a=o(()=>{this.destroy(n.reason??new $B)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?i(n.reason??new $B):s(null)}).on("error",D7).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function k7(t){return t[eo]&&t[eo].locked===!0||t[Tr]}o(k7,"isLocked");function T7(t){return u_.isDisturbed(t)||k7(t)}o(T7,"isUnusable");async function ru(t,e){return l_(!t[Tr]),new Promise((r,n)=>{if(T7(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){ZB(this[Tr],s)}).on("close",function(){this[Tr].body!==null&&ZB(this[Tr],new A_)}),M7(t[Tr])})})}o(ru,"consume");function M7(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++)XB(t,e.buffer[s])}else for(let r of e.buffer)XB(t,r);for(e.endEmitted?c_(this[Tr]):t.stream.on("end",function(){c_(this[Tr])}),t.stream.resume();t.stream.read()!=null;);}o(M7,"consumeStart");function KB(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(KB,"chunksDecode");function a_(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(a_,"chunksConcat");function c_(t){let{type:e,body:r,resolve:n,stream:s,length:i}=t;try{e==="text"?n(KB(r,i)):e==="json"?n(JSON.parse(KB(r,i))):e==="arrayBuffer"?n(a_(r,i).buffer):e==="blob"?n(new Blob(r,{type:s[d_]})):e==="bytes"&&n(a_(r,i)),ZB(t)}catch(a){s.destroy(a)}}o(c_,"consumeEnd");function XB(t,e){t.length+=e.length,t.body.push(e)}o(XB,"consumePush");function ZB(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(ZB,"consumeFinish");m_.exports={Readable:jB,chunksDecode:KB}});var tQ=g((QSe,y_)=>{var L7=require("node:assert"),{ResponseStatusCodeError:h_}=ye(),{chunksDecode:p_}=eQ(),_7=128*1024;async function F7({callback:t,body:e,contentType:r,statusCode:n,statusMessage:s,headers:i}){L7(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>_7){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${s?`: ${s}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new h_(l,n,i)));return}let A=Error.stackTraceLimit;Error.stackTraceLimit=0;let u;try{f_(r)?u=JSON.parse(p_(a,c)):g_(r)&&(u=p_(a,c))}catch{}finally{Error.stackTraceLimit=A}queueMicrotask(()=>t(new h_(l,n,i,u)))}o(F7,"getResolveErrorBodyCallback");var f_=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"),g_=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");y_.exports={getResolveErrorBodyCallback:F7,isContentTypeApplicationJson:f_,isContentTypeText:g_}});var I_=g((bSe,rQ)=>{"use strict";var U7=require("node:assert"),{Readable:O7}=eQ(),{InvalidArgumentError:kc,RequestAbortedError:E_}=ye(),Mr=le(),{getResolveErrorBodyCallback:q7}=tQ(),{AsyncResource:H7}=require("node:async_hooks"),Jh=class extends H7{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new kc("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 kc("invalid callback");if(u&&(typeof u!="number"||u<0))throw new kc("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new kc("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new kc("invalid method");if(c&&typeof c!="function")throw new kc("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw Mr.isStream(a)&&Mr.destroy(a.on("error",Mr.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,Mr.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new E_:this.removeAbortListener=Mr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new E_,this.res?Mr.destroy(this.res.on("error",Mr.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}U7(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"?Mr.parseRawHeaders(r):Mr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let m=A==="raw"?Mr.parseHeaders(r):d,h=m["content-type"],p=m["content-length"],f=new O7({resume:n,abort:c,contentType:h,contentLength:this.method!=="HEAD"&&p?Number(p):null,highWaterMark:u});this.removeAbortListener&&f.on("close",this.removeAbortListener),this.callback=null,this.res=f,i!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(q7,null,{callback:i,body:f,contentType:h,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){Mr.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(()=>{Mr.destroy(r,e)})),s&&(this.body=null,Mr.destroy(s,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function C_(t,e){if(e===void 0)return new Promise((r,n)=>{C_.call(this,t,(s,i)=>s?n(s):r(i))});try{this.dispatch(t,new Jh(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(C_,"request");rQ.exports=C_;rQ.exports.RequestHandler=Jh});var nu=g((NSe,x_)=>{var{addAbortListener:z7}=le(),{RequestAbortedError:G7}=ye(),Tc=Symbol("kListener"),ds=Symbol("kSignal");function B_(t){t.abort?t.abort(t[ds]?.reason):t.reason=t[ds]?.reason??new G7,Q_(t)}o(B_,"abort");function Y7(t,e){if(t.reason=null,t[ds]=null,t[Tc]=null,!!e){if(e.aborted){B_(t);return}t[ds]=e,t[Tc]=()=>{B_(t)},z7(t[ds],t[Tc])}}o(Y7,"addSignal");function Q_(t){t[ds]&&("removeEventListener"in t[ds]?t[ds].removeEventListener("abort",t[Tc]):t[ds].removeListener("abort",t[Tc]),t[ds]=null,t[Tc]=null)}o(Q_,"removeSignal");x_.exports={addSignal:Y7,removeSignal:Q_}});var S_=g((RSe,N_)=>{"use strict";var V7=require("node:assert"),{finished:J7,PassThrough:W7}=require("node:stream"),{InvalidArgumentError:Mc,InvalidReturnValueError:$7}=ye(),Un=le(),{getResolveErrorBodyCallback:j7}=tQ(),{AsyncResource:K7}=require("node:async_hooks"),{addSignal:X7,removeSignal:b_}=nu(),nQ=class extends K7{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new Mc("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 Mc("invalid callback");if(typeof r!="function")throw new Mc("invalid factory");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new Mc("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Mc("invalid method");if(l&&typeof l!="function")throw new Mc("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw Un.isStream(c)&&Un.destroy(c.on("error",Un.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,Un.isStream(c)&&c.on("error",d=>{this.onError(d)}),X7(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}V7(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"?Un.parseRawHeaders(r):Un.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 p=(A==="raw"?Un.parseHeaders(r):u)["content-type"];d=new W7,this.callback=null,this.runInAsyncScope(j7,null,{callback:l,body:d,contentType:p,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 $7("expected Writable");J7(d,{readable:!1},h=>{let{callback:p,res:f,opaque:C,trailers:y,abort:E}=this;this.res=null,(h||!f.readable)&&Un.destroy(f,h),this.callback=null,this.runInAsyncScope(p,null,h||null,{opaque:C,trailers:y}),h&&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;b_(this),r&&(this.trailers=Un.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:s,body:i}=this;b_(this),this.factory=null,r?(this.res=null,Un.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:s})})),i&&(this.body=null,Un.destroy(i,e))}};function w_(t,e,r){if(r===void 0)return new Promise((n,s)=>{w_.call(this,t,e,(i,a)=>i?s(i):n(a))});try{this.dispatch(t,new nQ(t,e,r))}catch(n){if(typeof r!="function")throw n;let s=t?.opaque;queueMicrotask(()=>r(n,{opaque:s}))}}o(w_,"stream");N_.exports=w_});var D_=g((PSe,P_)=>{"use strict";var{Readable:v_,Duplex:Z7,PassThrough:eee}=require("node:stream"),{InvalidArgumentError:su,InvalidReturnValueError:tee,RequestAbortedError:sQ}=ye(),An=le(),{AsyncResource:ree}=require("node:async_hooks"),{addSignal:nee,removeSignal:see}=nu(),R_=require("node:assert"),Lc=Symbol("resume"),iQ=class extends v_{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[Lc]=null}_read(){let{[Lc]:e}=this;e&&(this[Lc]=null,e())}_destroy(e,r){this._read(),r(e)}},oQ=class extends v_{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[Lc]=e}_read(){this[Lc]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new sQ),r(e)}},aQ=class extends ree{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new su("invalid opts");if(typeof r!="function")throw new su("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 su("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new su("invalid method");if(a&&typeof a!="function")throw new su("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 iQ().on("error",An.nop),this.ret=new Z7({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[Lc]=u},"write"),destroy:o((l,A)=>{let{body:u,req:d,res:m,ret:h,abort:p}=this;!l&&!h._readableState.endEmitted&&(l=new sQ),p&&l&&p(),An.destroy(u,l),An.destroy(d,l),An.destroy(m,l),see(this),A(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,nee(this,n)}onConnect(e,r){let{ret:n,res:s}=this;if(this.reason){e(this.reason);return}R_(!s,"pipeline cannot be retried"),R_(!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"?An.parseRawHeaders(r):An.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new oQ(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?An.parseRawHeaders(r):An.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",An.nop),l}if(!c||typeof c.on!="function")throw new tee("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;An.destroy(A,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||An.destroy(l,new sQ)}),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,An.destroy(r,e)}};function iee(t,e){try{let r=new aQ(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new eee().destroy(r)}}o(iee,"pipeline");P_.exports=iee});var F_=g((kSe,__)=>{"use strict";var{InvalidArgumentError:cQ,SocketError:oee}=ye(),{AsyncResource:aee}=require("node:async_hooks"),k_=le(),{addSignal:cee,removeSignal:T_}=nu(),M_=require("node:assert"),lQ=class extends aee{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new cQ("invalid opts");if(typeof r!="function")throw new cQ("invalid callback");let{signal:n,opaque:s,responseHeaders:i}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new cQ("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,cee(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}M_(this.callback),this.abort=e,this.context=null}onHeaders(){throw new oee("bad upgrade",null)}onUpgrade(e,r,n){M_(e===101);let{callback:s,opaque:i,context:a}=this;T_(this),this.callback=null;let c=this.responseHeaders==="raw"?k_.parseRawHeaders(r):k_.parseHeaders(r);this.runInAsyncScope(s,null,null,{headers:c,socket:n,opaque:i,context:a})}onError(e){let{callback:r,opaque:n}=this;T_(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function L_(t,e){if(e===void 0)return new Promise((r,n)=>{L_.call(this,t,(s,i)=>s?n(s):r(i))});try{let r=new lQ(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(L_,"upgrade");__.exports=L_});var z_=g((MSe,H_)=>{"use strict";var lee=require("node:assert"),{AsyncResource:Aee}=require("node:async_hooks"),{InvalidArgumentError:AQ,SocketError:uee}=ye(),U_=le(),{addSignal:dee,removeSignal:O_}=nu(),uQ=class extends Aee{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new AQ("invalid opts");if(typeof r!="function")throw new AQ("invalid callback");let{signal:n,opaque:s,responseHeaders:i}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new AQ("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=s||null,this.responseHeaders=i||null,this.callback=r,this.abort=null,dee(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}lee(this.callback),this.abort=e,this.context=r}onHeaders(){throw new uee("bad connect",null)}onUpgrade(e,r,n){let{callback:s,opaque:i,context:a}=this;O_(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?U_.parseRawHeaders(r):U_.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;O_(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function q_(t,e){if(e===void 0)return new Promise((r,n)=>{q_.call(this,t,(s,i)=>s?n(s):r(i))});try{let r=new uQ(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(q_,"connect");H_.exports=q_});var G_=g((_Se,_c)=>{"use strict";_c.exports.request=I_();_c.exports.stream=S_();_c.exports.pipeline=D_();_c.exports.upgrade=F_();_c.exports.connect=z_()});var mQ=g((FSe,V_)=>{"use strict";var{UndiciError:mee}=ye(),Y_=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),dQ=class t extends mee{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[Y_]===!0}[Y_]=!0};V_.exports={MockNotMatchedError:dQ}});var Fc=g((OSe,J_)=>{"use strict";J_.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 iu=g((qSe,sF)=>{"use strict";var{MockNotMatchedError:ea}=mQ(),{kDispatches:Wh,kMockAgent:hee,kOriginalDispatch:pee,kOrigin:fee,kGetNetConnect:gee}=Fc(),{buildURL:yee}=le(),{STATUS_CODES:Eee}=require("node:http"),{types:{isPromise:Cee}}=require("node:util");function mi(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(mi,"matchValue");function $_(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o($_,"lowerCaseEntries");function j_(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):$_(t)[e.toLocaleLowerCase()]}o(j_,"getHeaderByName");function fQ(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(fQ,"buildHeadersFromArray");function K_(t,e){if(typeof t.headers=="function")return Array.isArray(e)&&(e=fQ(e)),t.headers(e?$_(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=j_(e,r);if(!mi(n,s))return!1}return!0}o(K_,"matchHeaders");function W_(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(W_,"safeUrl");function Iee(t,{path:e,method:r,body:n,headers:s}){let i=mi(t.path,e),a=mi(t.method,r),c=typeof t.body<"u"?mi(t.body,n):!0,l=K_(t,s);return i&&a&&c&&l}o(Iee,"matchKey");function X_(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(X_,"getResponseData");function Z_(t,e){let r=e.query?yee(e.path,e.query):e.path,n=typeof r=="string"?W_(r):r,s=t.filter(({consumed:i})=>!i).filter(({path:i})=>mi(W_(i),n));if(s.length===0)throw new ea(`Mock dispatch not matched for path '${n}'`);if(s=s.filter(({method:i})=>mi(i,e.method)),s.length===0)throw new ea(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(s=s.filter(({body:i})=>typeof i<"u"?mi(i,e.body):!0),s.length===0)throw new ea(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(s=s.filter(i=>K_(i,e.headers)),s.length===0){let i=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new ea(`Mock dispatch not matched for headers '${i}' on path '${n}'`)}return s[0]}o(Z_,"getMockDispatch");function Bee(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(Bee,"addMockDispatch");function hQ(t,e){let r=t.findIndex(n=>n.consumed?Iee(n,e):!1);r!==-1&&t.splice(r,1)}o(hQ,"deleteMockDispatch");function eF(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(eF,"buildKey");function pQ(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(pQ,"generateKeyValues");function tF(t){return Eee[t]||"unknown"}o(tF,"getStatusText");async function Qee(t){let e=[];for await(let r of t)e.push(r);return Buffer.concat(e).toString("utf8")}o(Qee,"getResponse");function rF(t,e){let r=eF(t),n=Z_(this[Wh],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 hQ(this[Wh],r),e.onError(l),!0;typeof A=="number"&&A>0?setTimeout(()=>{h(this[Wh])},A):h(this[Wh]);function h(f,C=i){let y=Array.isArray(t.headers)?fQ(t.headers):t.headers,E=typeof C=="function"?C({...t,headers:y}):C;if(Cee(E)){E.then(S=>h(f,S));return}let I=X_(E),B=pQ(a),w=pQ(c);e.onConnect?.(S=>e.onError(S),null),e.onHeaders?.(s,B,p,tF(s)),e.onData?.(Buffer.from(I)),e.onComplete?.(w),hQ(f,r)}o(h,"handleReply");function p(){}return o(p,"resume"),!0}o(rF,"mockDispatch");function xee(){let t=this[hee],e=this[fee],r=this[pee];return o(function(s,i){if(t.isMockActive)try{rF.call(this,s,i)}catch(a){if(a instanceof ea){let c=t[gee]();if(c===!1)throw new ea(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(nF(c,e))r.call(this,s,i);else throw new ea(`${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(xee,"buildMockDispatch");function nF(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>mi(n,r.host)))}o(nF,"checkNetConnect");function bee(t){if(t){let{agent:e,...r}=t;return r}}o(bee,"buildMockOptions");sF.exports={getResponseData:X_,getMockDispatch:Z_,addMockDispatch:Bee,deleteMockDispatch:hQ,buildKey:eF,generateKeyValues:pQ,matchValue:mi,getResponse:Qee,getStatusText:tF,mockDispatch:rF,buildMockDispatch:xee,checkNetConnect:nF,buildMockOptions:bee,getHeaderByName:j_,buildHeadersFromArray:fQ}});var QQ=g((zSe,BQ)=>{"use strict";var{getResponseData:wee,buildKey:Nee,addMockDispatch:gQ}=iu(),{kDispatches:$h,kDispatchKey:jh,kDefaultHeaders:yQ,kDefaultTrailers:EQ,kContentLength:CQ,kMockDispatch:Kh}=Fc(),{InvalidArgumentError:ms}=ye(),{buildURL:See}=le(),Uc=class{static{o(this,"MockScope")}constructor(e){this[Kh]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new ms("waitInMs must be a valid integer > 0");return this[Kh].delay=e,this}persist(){return this[Kh].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new ms("repeatTimes must be a valid integer > 0");return this[Kh].times=e,this}},IQ=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new ms("opts must be an object");if(typeof e.path>"u")throw new ms("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=See(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[jh]=Nee(e),this[$h]=r,this[yQ]={},this[EQ]={},this[CQ]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let s=wee(r),i=this[CQ]?{"content-length":s.length}:{},a={...this[yQ],...i,...n.headers},c={...this[EQ],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new ms("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new ms("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 ms("reply options callback must return an object");let A={data:"",responseOptions:{},...l};return this.validateReplyParameters(A),{...this.createMockScopeDispatchData(A)}},"wrappedDefaultsCallback"),a=gQ(this[$h],this[jh],i);return new Uc(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=gQ(this[$h],this[jh],n);return new Uc(s)}replyWithError(e){if(typeof e>"u")throw new ms("error must be defined");let r=gQ(this[$h],this[jh],{error:e});return new Uc(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new ms("headers must be defined");return this[yQ]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new ms("trailers must be defined");return this[EQ]=e,this}replyContentLength(){return this[CQ]=!0,this}};BQ.exports.MockInterceptor=IQ;BQ.exports.MockScope=Uc});var wQ=g((YSe,uF)=>{"use strict";var{promisify:Ree}=require("node:util"),vee=Rc(),{buildMockDispatch:Pee}=iu(),{kDispatches:iF,kMockAgent:oF,kClose:aF,kOriginalClose:cF,kOrigin:lF,kOriginalDispatch:Dee,kConnected:xQ}=Fc(),{MockInterceptor:kee}=QQ(),AF=Oe(),{InvalidArgumentError:Tee}=ye(),bQ=class extends vee{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Tee("Argument opts.agent must implement Agent");this[oF]=r.agent,this[lF]=e,this[iF]=[],this[xQ]=1,this[Dee]=this.dispatch,this[cF]=this.close.bind(this),this.dispatch=Pee.call(this),this.close=this[aF]}get[AF.kConnected](){return this[xQ]}intercept(e){return new kee(e,this[iF])}async[aF](){await Ree(this[cF])(),this[xQ]=0,this[oF][AF.kClients].delete(this[lF])}};uF.exports=bQ});var RQ=g((JSe,yF)=>{"use strict";var{promisify:Mee}=require("node:util"),Lee=vc(),{buildMockDispatch:_ee}=iu(),{kDispatches:dF,kMockAgent:mF,kClose:hF,kOriginalClose:pF,kOrigin:fF,kOriginalDispatch:Fee,kConnected:NQ}=Fc(),{MockInterceptor:Uee}=QQ(),gF=Oe(),{InvalidArgumentError:Oee}=ye(),SQ=class extends Lee{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Oee("Argument opts.agent must implement Agent");this[mF]=r.agent,this[fF]=e,this[dF]=[],this[NQ]=1,this[Fee]=this.dispatch,this[pF]=this.close.bind(this),this.dispatch=_ee.call(this),this.close=this[hF]}get[gF.kConnected](){return this[NQ]}intercept(e){return new Uee(e,this[dF])}async[hF](){await Mee(this[pF])(),this[NQ]=0,this[mF][gF.kClients].delete(this[fF])}};yF.exports=SQ});var CF=g((jSe,EF)=>{"use strict";var qee={pronoun:"it",is:"is",was:"was",this:"this"},Hee={pronoun:"they",is:"are",was:"were",this:"these"};EF.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?qee:Hee,s=r?this.singular:this.plural;return{...n,count:e,noun:s}}}});var BF=g((ZSe,IF)=>{"use strict";var{Transform:zee}=require("node:stream"),{Console:Gee}=require("node:console"),Yee=process.versions.icu?"\u2705":"Y ",Vee=process.versions.icu?"\u274C":"N ";IF.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new zee({transform(r,n,s){s(null,r)}}),this.logger=new Gee({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?Yee:Vee,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var wF=g((tRe,bF)=>{"use strict";var{kClients:ta}=Oe(),Jee=Pc(),{kAgent:vQ,kMockAgentSet:Xh,kMockAgentGet:QF,kDispatches:PQ,kIsMockActive:Zh,kNetConnect:ra,kGetNetConnect:Wee,kOptions:ep,kFactory:tp}=Fc(),$ee=wQ(),jee=RQ(),{matchValue:Kee,buildMockOptions:Xee}=iu(),{InvalidArgumentError:xF,UndiciError:Zee}=ye(),ete=SA(),tte=CF(),rte=BF(),DQ=class extends ete{static{o(this,"MockAgent")}constructor(e){if(super(e),this[ra]=!0,this[Zh]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new xF("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new Jee(e);this[vQ]=r,this[ta]=r[ta],this[ep]=Xee(e)}get(e){let r=this[QF](e);return r||(r=this[tp](e),this[Xh](e,r)),r}dispatch(e,r){return this.get(e.origin),this[vQ].dispatch(e,r)}async close(){await this[vQ].close(),this[ta].clear()}deactivate(){this[Zh]=!1}activate(){this[Zh]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[ra])?this[ra].push(e):this[ra]=[e];else if(typeof e>"u")this[ra]=!0;else throw new xF("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[ra]=!1}get isMockActive(){return this[Zh]}[Xh](e,r){this[ta].set(e,r)}[tp](e){let r=Object.assign({agent:this},this[ep]);return this[ep]&&this[ep].connections===1?new $ee(e,r):new jee(e,r)}[QF](e){let r=this[ta].get(e);if(r)return r;if(typeof e!="string"){let n=this[tp]("http://localhost:9999");return this[Xh](e,n),n}for(let[n,s]of Array.from(this[ta]))if(s&&typeof n!="string"&&Kee(n,e)){let i=this[tp](e);return this[Xh](e,i),i[PQ]=s[PQ],i}}[Wee](){return this[ra]}pendingInterceptors(){let e=this[ta];return Array.from(e.entries()).flatMap(([r,n])=>n[PQ].map(s=>({...s,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new rte}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new tte("interceptor","interceptors").pluralize(r.length);throw new Zee(`
|
|
${n.count} ${n.noun} ${n.is} pending:
|
|
|
|
${e.format(r)}
|
|
`.trim())}};bF.exports=DQ});var ou=g((nRe,vF)=>{"use strict";var NF=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:nte}=ye(),ste=Pc();RF()===void 0&&SF(new ste);function SF(t){if(!t||typeof t.dispatch!="function")throw new nte("Argument agent must implement Agent");Object.defineProperty(globalThis,NF,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(SF,"setGlobalDispatcher");function RF(){return globalThis[NF]}o(RF,"getGlobalDispatcher");vF.exports={setGlobalDispatcher:SF,getGlobalDispatcher:RF}});var rp=g((oRe,PF)=>{"use strict";PF.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 kF=g((cRe,DF)=>{"use strict";var ite=Mh();DF.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 ite(r,a,s,i);return r(c,l)},"redirectInterceptor")}});var MF=g((ARe,TF)=>{"use strict";var ote=Vh();TF.exports=t=>e=>o(function(n,s){return e(n,new ote({...n,retryOptions:{...t,...n.retryOptions}},{handler:s,dispatch:e}))},"retryInterceptor")});var _F=g((dRe,LF)=>{"use strict";var ate=le(),{InvalidArgumentError:cte,RequestAbortedError:lte}=ye(),Ate=rp(),kQ=class extends Ate{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#r=!1;#s=!1;#i=0;#n=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new cte("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.#s=!0,this.#n=e}onHeaders(e,r,n,s){let a=ate.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new lte(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#s?!0:this.#o.onHeaders(e,r,n,s)}onError(e){this.#r||(e=this.#n??e,this.#o.onError(e))}onData(e){return this.#i=this.#i+e.length,this.#i>=this.#e&&(this.#r=!0,this.#s?this.#o.onError(this.#n):this.#o.onComplete([])),!0}onComplete(e){if(!this.#r){if(this.#s){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function ute({maxSize:t}={maxSize:1024*1024}){return e=>o(function(n,s){let{dumpMaxSize:i=t}=n,a=new kQ({maxSize:i},s);return e(n,a)},"Intercept")}o(ute,"createDumpInterceptor");LF.exports=ute});var OF=g((hRe,UF)=>{"use strict";var{isIP:dte}=require("node:net"),{lookup:mte}=require("node:dns"),hte=rp(),{InvalidArgumentError:Oc,InformationalError:pte}=ye(),FF=Math.pow(2,31)-1,TQ=class{static{o(this,"DNSInstance")}#e=0;#t=0;#r=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#s,this.pick=e.pick??this.#i}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 pte("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}`)}}#s(e,r,n){mte(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())})}#i(e,r,n){let s=null,{records:i,offset:a}=r,c;if(this.dualStack?(n==null&&(a==null||a===FF?(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===FF?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 MQ(this,e,r)}},MQ=class extends hte{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#r=null;#s=null;#i=null;constructor(e,{origin:r,handler:n,dispatch:s},i){super(n),this.#i=r,this.#s=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.#i,this.#t,(r,n)=>{if(r)return this.#s.onError(r);let s={...this.#t,origin:n};this.#r(s,this)});return}this.#s.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#i);default:this.#s.onError(e);break}}};UF.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Oc("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Oc("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Oc("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Oc("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Oc("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Oc("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 TQ(n);return i=>o(function(c,l){let A=c.origin.constructor===URL?c.origin:new URL(c.origin);return dte(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 na=g((fRe,JF)=>{"use strict";var{kConstruct:fte}=Oe(),{kEnumerableProperty:qc}=le(),{iteratorMixin:gte,isValidHeaderName:au,isValidHeaderValue:HF}=Dr(),{webidl:pe}=Mt(),LQ=require("node:assert"),np=require("node:util"),mt=Symbol("headers map"),Lr=Symbol("headers map sorted");function qF(t){return t===10||t===13||t===9||t===32}o(qF,"isHTTPWhiteSpaceCharCode");function zF(t){let e=0,r=t.length;for(;r>e&&qF(t.charCodeAt(r-1));)--r;for(;r>e&&qF(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(zF,"headerValueNormalize");function GF(t,e){if(Array.isArray(e))for(let r=0;r<e.length;++r){let n=e[r];if(n.length!==2)throw pe.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${n.length}.`});_Q(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)_Q(t,r[n],e[r[n]])}else throw pe.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}o(GF,"fill");function _Q(t,e,r){if(r=zF(r),au(e)){if(!HF(r))throw pe.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw pe.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(VF(t)==="immutable")throw new TypeError("immutable");return FQ(t).append(e,r,!1)}o(_Q,"appendHeader");function YF(t,e){return t[0]<e[0]?-1:1}o(YF,"compareHeaderName");var sp=class t{static{o(this,"HeadersList")}cookies=null;constructor(e){e instanceof t?(this[mt]=new Map(e[mt]),this[Lr]=e[Lr],this.cookies=e.cookies===null?null:[...e.cookies]):(this[mt]=new Map(e),this[Lr]=null)}contains(e,r){return this[mt].has(r?e:e.toLowerCase())}clear(){this[mt].clear(),this[Lr]=null,this.cookies=null}append(e,r,n){this[Lr]=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[Lr]=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[Lr]=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],LQ(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],LQ(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],LQ(i!==null);return r.sort(YF)}}},On=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){pe.util.markAsUncloneable(this),e!==fte&&(this.#t=new sp,this.#e="none",e!==void 0&&(e=pe.converters.HeadersInit(e,"Headers contructor","init"),GF(this,e)))}append(e,r){pe.brandCheck(this,t),pe.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return e=pe.converters.ByteString(e,n,"name"),r=pe.converters.ByteString(r,n,"value"),_Q(this,e,r)}delete(e){if(pe.brandCheck(this,t),pe.argumentLengthCheck(arguments,1,"Headers.delete"),e=pe.converters.ByteString(e,"Headers.delete","name"),!au(e))throw pe.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){pe.brandCheck(this,t),pe.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=pe.converters.ByteString(e,r,"name"),!au(e))throw pe.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){pe.brandCheck(this,t),pe.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=pe.converters.ByteString(e,r,"name"),!au(e))throw pe.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){pe.brandCheck(this,t),pe.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(e=pe.converters.ByteString(e,n,"name"),r=pe.converters.ByteString(r,n,"value"),r=zF(r),au(e)){if(!HF(r))throw pe.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw pe.errors.invalidArgument({prefix:n,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){pe.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[Lr](){if(this.#t[Lr])return this.#t[Lr];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[Lr]=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[Lr]=e}[np.inspect.custom](e,r){return r.depth??=e,`Headers ${np.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:VF,setHeadersGuard:yte,getHeadersList:FQ,setHeadersList:Ete}=On;Reflect.deleteProperty(On,"getHeadersGuard");Reflect.deleteProperty(On,"setHeadersGuard");Reflect.deleteProperty(On,"getHeadersList");Reflect.deleteProperty(On,"setHeadersList");gte("Headers",On,Lr,0,1);Object.defineProperties(On.prototype,{append:qc,delete:qc,get:qc,has:qc,set:qc,getSetCookie:qc,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[np.inspect.custom]:{enumerable:!1}});pe.converters.HeadersInit=function(t,e,r){if(pe.util.Type(t)==="Object"){let n=Reflect.get(t,Symbol.iterator);if(!np.types.isProxy(t)&&n===On.prototype.entries)try{return FQ(t).entriesList}catch{}return typeof n=="function"?pe.converters["sequence<sequence<ByteString>>"](t,e,r,n.bind(t)):pe.converters["record<ByteString, ByteString>"](t,e,r)}throw pe.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};JF.exports={fill:GF,compareHeaderName:YF,Headers:On,HeadersList:sp,getHeadersGuard:VF,setHeadersGuard:yte,setHeadersList:Ete,getHeadersList:FQ}});var lu=g((yRe,i2)=>{"use strict";var{Headers:ZF,HeadersList:WF,fill:Cte,getHeadersGuard:Ite,setHeadersGuard:e2,setHeadersList:t2}=na(),{extractBody:$F,cloneBody:Bte,mixinBody:Qte,hasFinalizationRegistry:r2,streamRegistry:n2,bodyUnusable:xte}=Bc(),UQ=le(),jF=require("node:util"),{kEnumerableProperty:_r}=UQ,{isValidReasonPhrase:bte,isCancelled:wte,isAborted:Nte,isBlobLike:Ste,serializeJavascriptValueToJSONString:Rte,isErrorLike:vte,isomorphicEncode:Pte,environmentSettingsObject:Dte}=Dr(),{redirectStatusSet:kte,nullBodyStatus:Tte}=PA(),{kState:He,kHeaders:hi}=Gi(),{webidl:oe}=Mt(),{FormData:Mte}=_A(),{URLSerializer:KF}=lr(),{kConstruct:op}=Oe(),OQ=require("node:assert"),{types:Lte}=require("node:util"),_te=new TextEncoder("utf-8"),sa=class t{static{o(this,"Response")}static error(){return cu(ap(),"immutable")}static json(e,r={}){oe.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=oe.converters.ResponseInit(r));let n=_te.encode(Rte(e)),s=$F(n),i=cu(Hc({}),"response");return XF(i,r,{body:s[0],type:"application/json"}),i}static redirect(e,r=302){oe.argumentLengthCheck(arguments,1,"Response.redirect"),e=oe.converters.USVString(e),r=oe.converters["unsigned short"](r);let n;try{n=new URL(e,Dte.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!kte.has(r))throw new RangeError(`Invalid status code ${r}`);let s=cu(Hc({}),"immutable");s[He].status=r;let i=Pte(KF(n));return s[He].headersList.append("location",i,!0),s}constructor(e=null,r={}){if(oe.util.markAsUncloneable(this),e===op)return;e!==null&&(e=oe.converters.BodyInit(e)),r=oe.converters.ResponseInit(r),this[He]=Hc({}),this[hi]=new ZF(op),e2(this[hi],"response"),t2(this[hi],this[He].headersList);let n=null;if(e!=null){let[s,i]=$F(e);n={body:s,type:i}}XF(this,r,n)}get type(){return oe.brandCheck(this,t),this[He].type}get url(){oe.brandCheck(this,t);let e=this[He].urlList,r=e[e.length-1]??null;return r===null?"":KF(r,!0)}get redirected(){return oe.brandCheck(this,t),this[He].urlList.length>1}get status(){return oe.brandCheck(this,t),this[He].status}get ok(){return oe.brandCheck(this,t),this[He].status>=200&&this[He].status<=299}get statusText(){return oe.brandCheck(this,t),this[He].statusText}get headers(){return oe.brandCheck(this,t),this[hi]}get body(){return oe.brandCheck(this,t),this[He].body?this[He].body.stream:null}get bodyUsed(){return oe.brandCheck(this,t),!!this[He].body&&UQ.isDisturbed(this[He].body.stream)}clone(){if(oe.brandCheck(this,t),xte(this))throw oe.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=qQ(this[He]);return r2&&this[He].body?.stream&&n2.register(this,new WeakRef(this[He].body.stream)),cu(e,Ite(this[hi]))}[jF.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 ${jF.formatWithOptions(r,n)}`}};Qte(sa);Object.defineProperties(sa.prototype,{type:_r,url:_r,status:_r,ok:_r,redirected:_r,statusText:_r,headers:_r,clone:_r,body:_r,bodyUsed:_r,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(sa,{json:_r,redirect:_r,error:_r});function qQ(t){if(t.internalResponse)return s2(qQ(t.internalResponse),t.type);let e=Hc({...t,body:null});return t.body!=null&&(e.body=Bte(e,t.body)),e}o(qQ,"cloneResponse");function Hc(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new WF(t?.headersList):new WF,urlList:t?.urlList?[...t.urlList]:[]}}o(Hc,"makeResponse");function ap(t){let e=vte(t);return Hc({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(ap,"makeNetworkError");function Fte(t){return t.type==="error"&&t.status===0}o(Fte,"isNetworkError");function ip(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 OQ(!(n in e)),r[n]=s,!0}})}o(ip,"makeFilteredResponse");function s2(t,e){if(e==="basic")return ip(t,{type:"basic",headersList:t.headersList});if(e==="cors")return ip(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return ip(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return ip(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});OQ(!1)}o(s2,"filterResponse");function Ute(t,e=null){return OQ(wte(t)),Nte(t)?ap(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):ap(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(Ute,"makeAppropriateNetworkError");function XF(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&&!bte(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&&Cte(t[hi],e.headers),r){if(Tte.includes(t.status))throw oe.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(XF,"initializeResponse");function cu(t,e){let r=new sa(op);return r[He]=t,r[hi]=new ZF(op),t2(r[hi],t.headersList),e2(r[hi],e),r2&&t.body?.stream&&n2.register(r,new WeakRef(t.body.stream)),r}o(cu,"fromInnerResponse");oe.converters.ReadableStream=oe.interfaceConverter(ReadableStream);oe.converters.FormData=oe.interfaceConverter(Mte);oe.converters.URLSearchParams=oe.interfaceConverter(URLSearchParams);oe.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?oe.converters.USVString(t,e,r):Ste(t)?oe.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||Lte.isArrayBuffer(t)?oe.converters.BufferSource(t,e,r):UQ.isFormDataLike(t)?oe.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?oe.converters.URLSearchParams(t,e,r):oe.converters.DOMString(t,e,r)};oe.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?oe.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:oe.converters.XMLHttpRequestBodyInit(t,e,r)};oe.converters.ResponseInit=oe.dictionaryConverter([{key:"status",converter:oe.converters["unsigned short"],defaultValue:o(()=>200,"defaultValue")},{key:"statusText",converter:oe.converters.ByteString,defaultValue:o(()=>"","defaultValue")},{key:"headers",converter:oe.converters.HeadersInit}]);i2.exports={isNetworkError:Fte,makeNetworkError:ap,makeResponse:Hc,makeAppropriateNetworkError:Ute,filterResponse:s2,Response:sa,cloneResponse:qQ,fromInnerResponse:cu}});var l2=g((CRe,c2)=>{"use strict";var{kConnected:o2,kSize:a2}=Oe(),HQ=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[o2]===0&&this.value[a2]===0?void 0:this.value}},zQ=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[o2]===0&&e[a2]===0&&this.finalizer(r)})}unregister(e){}};c2.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:HQ,FinalizationRegistry:zQ}):{WeakRef,FinalizationRegistry}}});var zc=g((BRe,x2)=>{"use strict";var{extractBody:Ote,mixinBody:qte,cloneBody:Hte,bodyUnusable:A2}=Bc(),{Headers:E2,fill:zte,HeadersList:up,setHeadersGuard:YQ,getHeadersGuard:Gte,setHeadersList:C2,getHeadersList:u2}=na(),{FinalizationRegistry:Yte}=l2()(),lp=le(),d2=require("node:util"),{isValidHTTPToken:Vte,sameOrigin:m2,environmentSettingsObject:cp}=Dr(),{forbiddenMethodsSet:Jte,corsSafeListedMethodsSet:Wte,referrerPolicy:$te,requestRedirect:jte,requestMode:Kte,requestCredentials:Xte,requestCache:Zte,requestDuplex:ere}=PA(),{kEnumerableProperty:ht,normalizedMethodRecordsBase:tre,normalizedMethodRecords:rre}=lp,{kHeaders:Fr,kSignal:Ap,kState:Le,kDispatcher:GQ}=Gi(),{webidl:j}=Mt(),{URLSerializer:nre}=lr(),{kConstruct:dp}=Oe(),sre=require("node:assert"),{getMaxListeners:h2,setMaxListeners:p2,getEventListeners:ire,defaultMaxListeners:f2}=require("node:events"),ore=Symbol("abortController"),I2=new Yte(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),mp=new WeakMap;function g2(t){return e;function e(){let r=t.deref();if(r!==void 0){I2.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=mp.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()}mp.delete(r.signal)}}}}o(g2,"buildAbort");var y2=!1,to=class t{static{o(this,"Request")}constructor(e,r={}){if(j.util.markAsUncloneable(this),e===dp)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=cp.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[GQ]=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=hp({urlList:[y]}),i="cors"}else this[GQ]=r.dispatcher||e[GQ],sre(e instanceof t),s=e[Le],c=e[Ap];let l=cp.settingsObject.origin,A="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&m2(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=hp({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:cp.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&&!m2(E,cp.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=rre[y];if(E!==void 0)s.method=E;else{if(!Vte(y))throw new TypeError(`'${y}' is not a valid HTTP method.`);let I=y.toUpperCase();if(Jte.has(I))throw new TypeError(`'${y}' HTTP method is unsupported.`);y=tre[I]??y,s.method=y}!y2&&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"}),y2=!0)}r.signal!==void 0&&(c=r.signal),this[Le]=s;let m=new AbortController;if(this[Ap]=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[ore]=m;let y=new WeakRef(m),E=g2(y);try{(typeof h2=="function"&&h2(c)===f2||ire(c,"abort").length>=f2)&&p2(1500,c)}catch{}lp.addAbortListener(c,E),I2.register(m,{signal:c,abort:E},E)}}if(this[Fr]=new E2(dp),C2(this[Fr],s.headersList),YQ(this[Fr],"request"),d==="no-cors"){if(!Wte.has(s.method))throw new TypeError(`'${s.method} is unsupported in no-cors mode.`);YQ(this[Fr],"request-no-cors")}if(u){let y=u2(this[Fr]),E=r.headers!==void 0?r.headers:new up(y);if(y.clear(),E instanceof up){for(let{name:I,value:B}of E.rawValues())y.append(I,B,!1);y.cookies=E.cookies}else zte(this[Fr],E)}let h=e instanceof t?e[Le].body:null;if((r.body!=null||h!=null)&&(s.method==="GET"||s.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let p=null;if(r.body!=null){let[y,E]=Ote(r.body,s.keepalive);p=y,E&&!u2(this[Fr]).contains("content-type",!0)&&this[Fr].append("content-type",E)}let f=p??h;if(f!=null&&f.source==null){if(p!=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(p==null&&h!=null){if(A2(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let y=new TransformStream;h.stream.pipeThrough(y),C={source:h.source,length:h.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),nre(this[Le].url)}get headers(){return j.brandCheck(this,t),this[Fr]}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[Ap]}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&&lp.isDisturbed(this[Le].body.stream)}get duplex(){return j.brandCheck(this,t),"half"}clone(){if(j.brandCheck(this,t),A2(this))throw new TypeError("unusable");let e=B2(this[Le]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=mp.get(this.signal);n===void 0&&(n=new Set,mp.set(this.signal,n));let s=new WeakRef(r);n.add(s),lp.addAbortListener(r.signal,g2(s))}return Q2(e,r.signal,Gte(this[Fr]))}[d2.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 ${d2.formatWithOptions(r,n)}`}};qte(to);function hp(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 up(t.headersList):new up}}o(hp,"makeRequest");function B2(t){let e=hp({...t,body:null});return t.body!=null&&(e.body=Hte(e,t.body)),e}o(B2,"cloneRequest");function Q2(t,e,r){let n=new to(dp);return n[Le]=t,n[Ap]=e,n[Fr]=new E2(dp),C2(n[Fr],t.headersList),YQ(n[Fr],r),n}o(Q2,"fromInnerRequest");Object.defineProperties(to.prototype,{method:ht,url:ht,headers:ht,redirect:ht,clone:ht,signal:ht,duplex:ht,destination:ht,body:ht,bodyUsed:ht,isHistoryNavigation:ht,isReloadNavigation:ht,keepalive:ht,integrity:ht,cache:ht,credentials:ht,attribute:ht,referrerPolicy:ht,referrer:ht,mode:ht,[Symbol.toStringTag]:{value:"Request",configurable:!0}});j.converters.Request=j.interfaceConverter(to);j.converters.RequestInfo=function(t,e,r){return typeof t=="string"?j.converters.USVString(t,e,r):t instanceof to?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:$te},{key:"mode",converter:j.converters.DOMString,allowedValues:Kte},{key:"credentials",converter:j.converters.DOMString,allowedValues:Xte},{key:"cache",converter:j.converters.DOMString,allowedValues:Zte},{key:"redirect",converter:j.converters.DOMString,allowedValues:jte},{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:ere},{key:"dispatcher",converter:j.converters.any}]);x2.exports={Request:to,makeRequest:hp,fromInnerRequest:Q2,cloneRequest:B2}});var uu=g((xRe,U2)=>{"use strict";var{makeNetworkError:we,makeAppropriateNetworkError:pp,filterResponse:VQ,makeResponse:fp,fromInnerResponse:are}=lu(),{HeadersList:b2}=na(),{Request:cre,cloneRequest:lre}=zc(),ro=require("node:zlib"),{bytesMatch:Are,makePolicyContainer:ure,clonePolicyContainer:dre,requestBadPort:mre,TAOCheck:hre,appendRequestOriginHeader:pre,responseLocationURL:fre,requestCurrentURL:hs,setRequestReferrerPolicyOnRedirect:gre,tryUpgradeRequestToAPotentiallyTrustworthyURL:yre,createOpaqueTimingInfo:KQ,appendFetchMetadata:Ere,corsCheck:Cre,crossOriginResourcePolicyCheck:Ire,determineRequestsReferrer:Bre,coarsenedSharedCurrentTime:Au,createDeferredPromise:Qre,isBlobLike:xre,sameOrigin:jQ,isCancelled:ia,isAborted:w2,isErrorLike:bre,fullyReadBody:wre,readableStreamClose:Nre,isomorphicEncode:gp,urlIsLocal:Sre,urlIsHttpHttpsScheme:XQ,urlHasHttpsScheme:Rre,clampAndCoarsenConnectionTimingInfo:vre,simpleRangeHeaderValue:Pre,buildContentRange:Dre,createInflate:kre,extractMimeType:Tre}=Dr(),{kState:v2,kDispatcher:Mre}=Gi(),oa=require("node:assert"),{safelyExtractBody:ZQ,extractBody:N2}=Bc(),{redirectStatusSet:P2,nullBodyStatus:D2,safeMethodsSet:Lre,requestBodyHeader:_re,subresourceSet:Fre}=PA(),Ure=require("node:events"),{Readable:Ore,pipeline:qre,finished:Hre}=require("node:stream"),{addAbortListener:zre,isErrored:Gre,isReadable:yp,bufferToLowerCasedHeaderName:S2}=le(),{dataURLProcessor:Yre,serializeAMimeType:Vre,minimizeSupportedMimeType:Jre}=lr(),{getGlobalDispatcher:Wre}=ou(),{webidl:$re}=Mt(),{STATUS_CODES:jre}=require("node:http"),Kre=["GET","HEAD"],Xre=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",JQ,Ep=class extends Ure{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 Zre(t){k2(t,"fetch")}o(Zre,"handleFetchDone");function ene(t,e=void 0){$re.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=Qre(),n;try{n=new cre(t,e)}catch(u){return r.reject(u),r.promise}let s=n[v2];if(n.signal.aborted)return WQ(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 zre(n.signal,()=>{c=!0,oa(l!=null),l.abort(n.signal.reason);let u=a?.deref();WQ(r,s,u,n.signal.reason)}),l=M2({request:s,processResponseEndOfBody:Zre,processResponse:o(u=>{if(!c){if(u.aborted){WQ(r,s,a,l.serializedAbortReason);return}if(u.type==="error"){r.reject(new TypeError("fetch failed",{cause:u.error}));return}a=new WeakRef(are(u,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[Mre]}),r.promise}o(ene,"fetch");function k2(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,s=t.cacheState;XQ(r)&&n!==null&&(t.timingAllowPassed||(n=KQ({startTime:n.startTime}),s=""),n.endTime=Au(),t.timingInfo=n,T2(n,r.href,e,globalThis,s))}o(k2,"finalizeAndReportTiming");var T2=performance.markResourceTiming;function WQ(t,e,r,n){if(t&&t.reject(n),e.body!=null&&yp(e.body?.stream)&&e.body.stream.cancel(n).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),r==null)return;let s=r[v2];s.body!=null&&yp(s.body?.stream)&&s.body.stream.cancel(n).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}o(WQ,"abortFetch");function M2({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:s,processResponseConsumeBody:i,useParallelQueue:a=!1,dispatcher:c=Wre()}){oa(c);let l=null,A=!1;t.client!=null&&(l=t.client.globalObject,A=t.client.crossOriginIsolatedCapability);let u=Au(A),d=KQ({startTime:u}),m={controller:new Ep(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:i,processResponseEndOfBody:s,taskDestination:l,crossOriginIsolatedCapability:A};return oa(!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=dre(t.client.policyContainer):t.policyContainer=ure()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,Fre.has(t.destination),L2(m).catch(h=>{m.controller.terminate(h)}),m.controller}o(M2,"fetching");async function L2(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!Sre(hs(r))&&(n=we("local URLs only")),yre(r),mre(r)==="blocked"&&(n=we("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=Bre(r)),n===null&&(n=await(async()=>{let i=hs(r);return jQ(i,r.url)&&r.responseTainting==="basic"||i.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await R2(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 R2(t)):XQ(hs(r))?(r.responseTainting="cors",await _2(t)):we("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=VQ(n,"basic"):r.responseTainting==="cors"?n=VQ(n,"cors"):r.responseTainting==="opaque"?n=VQ(n,"opaque"):oa(!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"||D2.includes(s.status))&&(s.body=null,t.controller.dump=!0),r.integrity){let i=o(c=>$Q(t,we(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){i(n.error);return}let a=o(c=>{if(!Are(c,r.integrity)){i("integrity mismatch");return}n.body=ZQ(c)[0],$Q(t,n)},"processBody");await wre(n.body,a,i)}else $Q(t,n)}o(L2,"mainFetch");function R2(t){if(ia(t)&&t.request.redirectCount===0)return Promise.resolve(pp(t));let{request:e}=t,{protocol:r}=hs(e);switch(r){case"about:":return Promise.resolve(we("about scheme is not supported"));case"blob:":{JQ||(JQ=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=JQ(n.toString());if(e.method!=="GET"||!xre(s))return Promise.resolve(we("invalid method"));let i=fp(),a=s.size,c=gp(`${a}`),l=s.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let A=e.headersList.get("range",!0),u=Pre(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 h=s.slice(d,m,l),p=N2(h);i.body=p[0];let f=gp(`${h.size}`),C=Dre(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=N2(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=Yre(n);if(s==="failure")return Promise.resolve(we("failed to fetch the data URL"));let i=Vre(s.mimeType);return Promise.resolve(fp({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:ZQ(s.body)[0]}))}case"file:":return Promise.resolve(we("not implemented... yet..."));case"http:":case"https:":return _2(t).catch(n=>we(n));default:return Promise.resolve(we("unknown scheme"))}}o(R2,"schemeFetch");function tne(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(tne,"finalizeResponse");function $Q(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=KQ(r),c="");let A=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){A=e.status;let u=Tre(e.headersList);u!=="failure"&&(l.contentType=Jre(u))}t.request.initiatorType!=null&&T2(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():Hre(s.body.stream,()=>{n()})}o($Q,"fetchFinale");async function _2(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 F2(t),e.responseTainting==="cors"&&Cre(e,r)==="failure")return we("cors failure");hre(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&Ire(e.origin,e.client,e.destination,n)==="blocked"?we("blocked"):(P2.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 rne(t,r):oa(!1)),r.timingInfo=s,r)}o(_2,"httpFetch");function rne(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,s;try{if(s=fre(n,hs(r).hash),s==null)return e}catch(a){return Promise.resolve(we(a))}if(!XQ(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)&&!jQ(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&&!Kre.includes(r.method)){r.method="GET",r.body=null;for(let a of _re)r.headersList.delete(a)}jQ(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&&(oa(r.body.source!=null),r.body=ZQ(r.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=Au(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),r.urlList.push(s),gre(r,n),L2(t,!0)}o(rne,"httpRedirectFetch");async function F2(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=lre(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=gp(`${u}`)),d!=null&&i.headersList.append("content-length",d,!0),u!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",gp(i.referrer.href),!0),pre(i),Ere(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",Xre),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)||(Rre(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 nne(s,A,r);!Lre.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():ia(t)?pp(t):we("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(ia(t))return pp(t);t.controller.connection.destroy(),a=await F2(t,e,!0)}return a}o(F2,"httpNetworkOrCacheFetch");async function nne(t,e=!1,r=!1){oa(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(p,f=!0){this.destroyed||(this.destroyed=!0,f&&this.abort?.(p??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 p=o(async function*(y){ia(t)||(yield y,t.processRequestBodyChunkLength?.(y.byteLength))},"processBodyChunk"),f=o(()=>{ia(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),C=o(y=>{ia(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*p(y);f()}catch(y){C(y)}})()}try{let{body:p,status:f,statusText:C,headersList:y,socket:E}=await h({body:l});if(E)s=fp({status:f,statusText:C,headersList:y,socket:E});else{let I=p[Symbol.asyncIterator]();t.controller.next=()=>I.next(),s=fp({status:f,statusText:C,headersList:y})}}catch(p){return p.name==="AbortError"?(t.controller.connection.destroy(),pp(t,p)):we(p)}let A=o(async()=>{await t.controller.resume()},"pullAlgorithm"),u=o(p=>{ia(t)||t.controller.abort(p)},"cancelAlgorithm"),d=new ReadableStream({async start(p){t.controller.controller=p},async pull(p){await A(p)},async cancel(p){await u(p)},type:"bytes"});s.body={stream:d,source:null,length:null},t.controller.resume||t.controller.on("terminated",m),t.controller.resume=async()=>{for(;;){let p,f;try{let{done:y,value:E}=await t.controller.next();if(w2(t))break;p=y?void 0:E}catch(y){t.controller.ended&&!i.encodedBodySize?p=void 0:(p=y,f=!0)}if(p===void 0){Nre(t.controller.controller),tne(t,s);return}if(i.decodedBodySize+=p?.byteLength??0,f){t.controller.terminate(p);return}let C=new Uint8Array(p);if(C.byteLength&&t.controller.controller.enqueue(C),Gre(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function m(p){w2(t)?(s.aborted=!0,yp(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):yp(d)&&t.controller.controller.error(new TypeError("terminated",{cause:bre(p)?p:void 0})),t.controller.connection.destroy()}return o(m,"onAborted"),s;function h({body:p}){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):p,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=vre(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=Au(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=Au(t.crossOriginIsolatedCapability)},onHeaders(I,B,w,S){if(I<200)return;let T="",ee=new b2;for(let ce=0;ce<B.length;ce+=2)ee.append(S2(B[ce]),B[ce+1].toString("latin1"),!0);T=ee.get("location",!0);let be=[],Be=T&&n.redirect==="follow"&&P2.has(I);if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!D2.includes(I)&&!Be){let ce=ee.get("content-encoding",!0),De=ce?ce.toLowerCase().split(","):[],ie=5;if(De.length>ie)return this.abort(new Error(`too many content-encodings in response: ${De.length}, maximum allowed is ${ie}`)),!0;for(let yt=De.length-1;yt>=0;--yt){let H=De[yt].trim();if(H==="x-gzip"||H==="gzip")be.push(ro.createGunzip({flush:ro.constants.Z_SYNC_FLUSH,finishFlush:ro.constants.Z_SYNC_FLUSH}));else if(H==="deflate")be.push(kre({flush:ro.constants.Z_SYNC_FLUSH,finishFlush:ro.constants.Z_SYNC_FLUSH}));else if(H==="br")be.push(ro.createBrotliDecompress({flush:ro.constants.BROTLI_OPERATION_FLUSH,finishFlush:ro.constants.BROTLI_OPERATION_FLUSH}));else{be.length=0;break}}}this.body=new Ore({read:w});let Ne=this.onError.bind(this);return y({status:I,statusText:S,headersList:ee,body:be.length?qre(this.body,...be,ce=>{ce&&this.onError(ce)}).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.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,w){if(I!==101)return;let S=new b2;for(let T=0;T<B.length;T+=2)S.append(S2(B[T]),B[T+1].toString("latin1"),!0);return y({status:I,statusText:jre[I],headersList:S,socket:w}),!0}}))}o(h,"dispatch")}o(nne,"httpNetworkFetch");U2.exports={fetch:ene,Fetch:Ep,fetching:M2,finalizeAndReportTiming:k2}});var ex=g((wRe,O2)=>{"use strict";O2.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 H2=g((NRe,q2)=>{"use strict";var{webidl:Ur}=Mt(),Cp=Symbol("ProgressEvent state"),tx=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=Ur.converters.DOMString(e,"ProgressEvent constructor","type"),r=Ur.converters.ProgressEventInit(r??{}),super(e,r),this[Cp]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return Ur.brandCheck(this,t),this[Cp].lengthComputable}get loaded(){return Ur.brandCheck(this,t),this[Cp].loaded}get total(){return Ur.brandCheck(this,t),this[Cp].total}};Ur.converters.ProgressEventInit=Ur.dictionaryConverter([{key:"lengthComputable",converter:Ur.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:Ur.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:Ur.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:Ur.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:Ur.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:Ur.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);q2.exports={ProgressEvent:tx}});var G2=g((RRe,z2)=>{"use strict";function sne(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(sne,"getEncoding");z2.exports={getEncoding:sne}});var X2=g((PRe,K2)=>{"use strict";var{kState:Gc,kError:rx,kResult:Y2,kAborted:du,kLastProgressEventFired:nx}=ex(),{ProgressEvent:ine}=H2(),{getEncoding:V2}=G2(),{serializeAMimeType:one,parseMIMEType:J2}=lr(),{types:ane}=require("node:util"),{StringDecoder:W2}=require("string_decoder"),{btoa:$2}=require("node:buffer"),cne={enumerable:!0,writable:!1,configurable:!1};function lne(t,e,r,n){if(t[Gc]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Gc]="loading",t[Y2]=null,t[rx]=null;let i=e.stream().getReader(),a=[],c=i.read(),l=!0;(async()=>{for(;!t[du];)try{let{done:A,value:u}=await c;if(l&&!t[du]&&queueMicrotask(()=>{no("loadstart",t)}),l=!1,!A&&ane.isUint8Array(u))a.push(u),(t[nx]===void 0||Date.now()-t[nx]>=50)&&!t[du]&&(t[nx]=Date.now(),queueMicrotask(()=>{no("progress",t)})),c=i.read();else if(A){queueMicrotask(()=>{t[Gc]="done";try{let d=Ane(a,r,e.type,n);if(t[du])return;t[Y2]=d,no("load",t)}catch(d){t[rx]=d,no("error",t)}t[Gc]!=="loading"&&no("loadend",t)});break}}catch(A){if(t[du])return;queueMicrotask(()=>{t[Gc]="done",t[rx]=A,no("error",t),t[Gc]!=="loading"&&no("loadend",t)});break}})()}o(lne,"readOperation");function no(t,e){let r=new ine(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(no,"fireAProgressEvent");function Ane(t,e,r,n){switch(e){case"DataURL":{let s="data:",i=J2(r||"application/octet-stream");i!=="failure"&&(s+=one(i)),s+=";base64,";let a=new W2("latin1");for(let c of t)s+=$2(a.write(c));return s+=$2(a.end()),s}case"Text":{let s="failure";if(n&&(s=V2(n)),s==="failure"&&r){let i=J2(r);i!=="failure"&&(s=V2(i.parameters.get("charset")))}return s==="failure"&&(s="UTF-8"),une(t,s)}case"ArrayBuffer":return j2(t).buffer;case"BinaryString":{let s="",i=new W2("latin1");for(let a of t)s+=i.write(a);return s+=i.end(),s}}}o(Ane,"packageData");function une(t,e){let r=j2(t),n=dne(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(une,"decode");function dne(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(dne,"BOMSniffing");function j2(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(j2,"combineByteSequences");K2.exports={staticPropertyDescriptors:cne,readOperation:lne,fireAProgressEvent:no}});var r1=g((kRe,t1)=>{"use strict";var{staticPropertyDescriptors:Yc,readOperation:Ip,fireAProgressEvent:Z2}=X2(),{kState:aa,kError:e1,kResult:Bp,kEvents:Ee,kAborted:mne}=ex(),{webidl:Re}=Mt(),{kEnumerableProperty:dr}=le(),qn=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[aa]="empty",this[Bp]=null,this[e1]=null,this[Ee]={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}),Ip(this,e,"ArrayBuffer")}readAsBinaryString(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Re.converters.Blob(e,{strict:!1}),Ip(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")),Ip(this,e,"Text",r)}readAsDataURL(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Re.converters.Blob(e,{strict:!1}),Ip(this,e,"DataURL")}abort(){if(this[aa]==="empty"||this[aa]==="done"){this[Bp]=null;return}this[aa]==="loading"&&(this[aa]="done",this[Bp]=null),this[mne]=!0,Z2("abort",this),this[aa]!=="loading"&&Z2("loadend",this)}get readyState(){switch(Re.brandCheck(this,t),this[aa]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Re.brandCheck(this,t),this[Bp]}get error(){return Re.brandCheck(this,t),this[e1]}get onloadend(){return Re.brandCheck(this,t),this[Ee].loadend}set onloadend(e){Re.brandCheck(this,t),this[Ee].loadend&&this.removeEventListener("loadend",this[Ee].loadend),typeof e=="function"?(this[Ee].loadend=e,this.addEventListener("loadend",e)):this[Ee].loadend=null}get onerror(){return Re.brandCheck(this,t),this[Ee].error}set onerror(e){Re.brandCheck(this,t),this[Ee].error&&this.removeEventListener("error",this[Ee].error),typeof e=="function"?(this[Ee].error=e,this.addEventListener("error",e)):this[Ee].error=null}get onloadstart(){return Re.brandCheck(this,t),this[Ee].loadstart}set onloadstart(e){Re.brandCheck(this,t),this[Ee].loadstart&&this.removeEventListener("loadstart",this[Ee].loadstart),typeof e=="function"?(this[Ee].loadstart=e,this.addEventListener("loadstart",e)):this[Ee].loadstart=null}get onprogress(){return Re.brandCheck(this,t),this[Ee].progress}set onprogress(e){Re.brandCheck(this,t),this[Ee].progress&&this.removeEventListener("progress",this[Ee].progress),typeof e=="function"?(this[Ee].progress=e,this.addEventListener("progress",e)):this[Ee].progress=null}get onload(){return Re.brandCheck(this,t),this[Ee].load}set onload(e){Re.brandCheck(this,t),this[Ee].load&&this.removeEventListener("load",this[Ee].load),typeof e=="function"?(this[Ee].load=e,this.addEventListener("load",e)):this[Ee].load=null}get onabort(){return Re.brandCheck(this,t),this[Ee].abort}set onabort(e){Re.brandCheck(this,t),this[Ee].abort&&this.removeEventListener("abort",this[Ee].abort),typeof e=="function"?(this[Ee].abort=e,this.addEventListener("abort",e)):this[Ee].abort=null}};qn.EMPTY=qn.prototype.EMPTY=0;qn.LOADING=qn.prototype.LOADING=1;qn.DONE=qn.prototype.DONE=2;Object.defineProperties(qn.prototype,{EMPTY:Yc,LOADING:Yc,DONE:Yc,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(qn,{EMPTY:Yc,LOADING:Yc,DONE:Yc});t1.exports={FileReader:qn}});var Qp=g((MRe,n1)=>{"use strict";n1.exports={kConstruct:Oe().kConstruct}});var o1=g((LRe,i1)=>{"use strict";var hne=require("node:assert"),{URLSerializer:s1}=lr(),{isValidHeaderName:pne}=Dr();function fne(t,e,r=!1){let n=s1(t,r),s=s1(e,r);return n===s}o(fne,"urlEquals");function gne(t){hne(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),pne(r)&&e.push(r);return e}o(gne,"getFieldValues");i1.exports={urlEquals:fne,getFieldValues:gne}});var l1=g((FRe,c1)=>{"use strict";var{kConstruct:yne}=Qp(),{urlEquals:Ene,getFieldValues:sx}=o1(),{kEnumerableProperty:ca,isDisturbed:Cne}=le(),{webidl:Y}=Mt(),{Response:Ine,cloneResponse:Bne,fromInnerResponse:Qne}=lu(),{Request:pi,fromInnerRequest:xne}=zc(),{kState:Hn}=Gi(),{fetching:bne}=uu(),{urlIsHttpHttpsScheme:xp,createDeferredPromise:Vc,readAllBytes:wne}=Dr(),ix=require("node:assert"),bp=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==yne&&Y.illegalConstructor(),Y.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){Y.brandCheck(this,t);let n="Cache.match";Y.argumentLengthCheck(arguments,1,n),e=Y.converters.RequestInfo(e,n,"request"),r=Y.converters.CacheQueryOptions(r,n,"options");let s=this.#i(e,r,1);if(s.length!==0)return s[0]}async matchAll(e=void 0,r={}){Y.brandCheck(this,t);let n="Cache.matchAll";return e!==void 0&&(e=Y.converters.RequestInfo(e,n,"request")),r=Y.converters.CacheQueryOptions(r,n,"options"),this.#i(e,r)}async add(e){Y.brandCheck(this,t);let r="Cache.add";Y.argumentLengthCheck(arguments,1,r),e=Y.converters.RequestInfo(e,r,"request");let n=[e];return await this.addAll(n)}async addAll(e){Y.brandCheck(this,t);let r="Cache.addAll";Y.argumentLengthCheck(arguments,1,r);let n=[],s=[];for(let m of e){if(m===void 0)throw Y.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(m=Y.converters.RequestInfo(m),typeof m=="string")continue;let h=m[Hn];if(!xp(h.url)||h.method!=="GET")throw Y.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let m of e){let h=new pi(m)[Hn];if(!xp(h.url))throw Y.errors.exception({header:r,message:"Expected http/s scheme."});h.initiator="fetch",h.destination="subresource",s.push(h);let p=Vc();i.push(bne({request:h,processResponse(f){if(f.type==="error"||f.status===206||f.status<200||f.status>299)p.reject(Y.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(f.headersList.contains("vary")){let C=sx(f.headersList.get("vary"));for(let y of C)if(y==="*"){p.reject(Y.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let E of i)E.abort();return}}},processResponseEndOfBody(f){if(f.aborted){p.reject(new DOMException("aborted","AbortError"));return}p.resolve(f)}})),n.push(p.promise)}let c=await Promise.all(n),l=[],A=0;for(let m of c){let h={type:"put",request:s[A],response:m};l.push(h),A++}let u=Vc(),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){Y.brandCheck(this,t);let n="Cache.put";Y.argumentLengthCheck(arguments,2,n),e=Y.converters.RequestInfo(e,n,"request"),r=Y.converters.Response(r,n,"response");let s=null;if(e instanceof pi?s=e[Hn]:s=new pi(e)[Hn],!xp(s.url)||s.method!=="GET")throw Y.errors.exception({header:n,message:"Expected an http/s scheme when method is not GET"});let i=r[Hn];if(i.status===206)throw Y.errors.exception({header:n,message:"Got 206 status"});if(i.headersList.contains("vary")){let h=sx(i.headersList.get("vary"));for(let p of h)if(p==="*")throw Y.errors.exception({header:n,message:"Got * vary field value"})}if(i.body&&(Cne(i.body.stream)||i.body.stream.locked))throw Y.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=Bne(i),c=Vc();if(i.body!=null){let p=i.body.stream.getReader();wne(p).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=Vc(),m=null;try{this.#t(l)}catch(h){m=h}return queueMicrotask(()=>{m===null?d.resolve():d.reject(m)}),d.promise}async delete(e,r={}){Y.brandCheck(this,t);let n="Cache.delete";Y.argumentLengthCheck(arguments,1,n),e=Y.converters.RequestInfo(e,n,"request"),r=Y.converters.CacheQueryOptions(r,n,"options");let s=null;if(e instanceof pi){if(s=e[Hn],s.method!=="GET"&&!r.ignoreMethod)return!1}else ix(typeof e=="string"),s=new pi(e)[Hn];let i=[],a={type:"delete",request:s,options:r};i.push(a);let c=Vc(),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={}){Y.brandCheck(this,t);let n="Cache.keys";e!==void 0&&(e=Y.converters.RequestInfo(e,n,"request")),r=Y.converters.CacheQueryOptions(r,n,"options");let s=null;if(e!==void 0)if(e instanceof pi){if(s=e[Hn],s.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(s=new pi(e)[Hn]);let i=Vc(),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=xne(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 Y.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#r(a.request,a.options,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);ix(A!==-1),r.splice(A,1)}}else if(a.type==="put"){if(a.response==null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!xp(l.url))throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#r(a.request);for(let A of c){let u=r.indexOf(A);ix(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.#s(e,c,l,r)&&s.push(a)}return s}#s(e,r,n=null,s){let i=new URL(e.url),a=new URL(r.url);if(s?.ignoreSearch&&(a.search="",i.search=""),!Ene(i,a,!0))return!1;if(n==null||s?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=sx(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}#i(e,r,n=1/0){let s=null;if(e!==void 0)if(e instanceof pi){if(s=e[Hn],s.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(s=new pi(e)[Hn]);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=Qne(c,"immutable");if(a.push(l.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(bp.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:ca,matchAll:ca,add:ca,addAll:ca,put:ca,delete:ca,keys:ca});var a1=[{key:"ignoreSearch",converter:Y.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreMethod",converter:Y.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreVary",converter:Y.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];Y.converters.CacheQueryOptions=Y.dictionaryConverter(a1);Y.converters.MultiCacheQueryOptions=Y.dictionaryConverter([...a1,{key:"cacheName",converter:Y.converters.DOMString}]);Y.converters.Response=Y.interfaceConverter(Ine);Y.converters["sequence<RequestInfo>"]=Y.sequenceConverter(Y.converters.RequestInfo);c1.exports={Cache:bp}});var u1=g((ORe,A1)=>{"use strict";var{kConstruct:mu}=Qp(),{Cache:wp}=l1(),{webidl:Ot}=Mt(),{kEnumerableProperty:hu}=le(),Np=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==mu&&Ot.illegalConstructor(),Ot.util.markAsUncloneable(this)}async match(e,r={}){if(Ot.brandCheck(this,t),Ot.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=Ot.converters.RequestInfo(e),r=Ot.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new wp(mu,n).match(e,r)}}else for(let n of this.#e.values()){let i=await new wp(mu,n).match(e,r);if(i!==void 0)return i}}async has(e){Ot.brandCheck(this,t);let r="CacheStorage.has";return Ot.argumentLengthCheck(arguments,1,r),e=Ot.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){Ot.brandCheck(this,t);let r="CacheStorage.open";if(Ot.argumentLengthCheck(arguments,1,r),e=Ot.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let s=this.#e.get(e);return new wp(mu,s)}let n=[];return this.#e.set(e,n),new wp(mu,n)}async delete(e){Ot.brandCheck(this,t);let r="CacheStorage.delete";return Ot.argumentLengthCheck(arguments,1,r),e=Ot.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return Ot.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(Np.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:hu,has:hu,open:hu,delete:hu,keys:hu});A1.exports={CacheStorage:Np}});var m1=g((HRe,d1)=>{"use strict";d1.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var cx=g((zRe,g1)=>{"use strict";function Nne(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(Nne,"isCTLExcludingHtab");function ox(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(ox,"validateCookieName");function ax(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(ax,"validateCookieValue");function p1(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(p1,"validateCookiePath");function h1(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}o(h1,"isLetterOrDigit");function Sne(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&&!h1(n))throw new Error("Invalid cookie domain");if(!h1(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(Sne,"validateCookieDomain");var Rne=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],vne=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Sp=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function f1(t){return typeof t=="number"&&(t=new Date(t)),`${Rne[t.getUTCDay()]}, ${Sp[t.getUTCDate()]} ${vne[t.getUTCMonth()]} ${t.getUTCFullYear()} ${Sp[t.getUTCHours()]}:${Sp[t.getUTCMinutes()]}:${Sp[t.getUTCSeconds()]} GMT`}o(f1,"toIMFDate");function Pne(t){if(t<0)throw new Error("Invalid cookie max-age")}o(Pne,"validateCookieMaxAge");function Dne(t){if(t.name.length===0)return null;ox(t.name),ax(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"&&(Pne(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(Sne(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(p1(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${f1(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("=");ox(i),ax(a),e.push(`${i}=${a}`)}return e.join("; ")}o(Dne,"stringify");g1.exports={isCTLExcludingHtab:Nne,validateCookieName:ox,validateCookiePath:p1,validateCookieValue:ax,toIMFDate:f1,stringify:Dne}});var E1=g((YRe,y1)=>{"use strict";var{maxNameValuePairSize:kne,maxAttributeValueSize:Tne}=m1(),{isCTLExcludingHtab:Mne}=cx(),{collectASequenceOfCodePointsFast:Rp}=lr(),Lne=require("node:assert");function _ne(t){if(Mne(t))return null;let e="",r="",n="",s="";if(t.includes(";")){let i={position:0};e=Rp(";",t,i),r=t.slice(i.position)}else e=t;if(!e.includes("="))s=e;else{let i={position:0};n=Rp("=",e,i),s=e.slice(i.position+1)}return n=n.trim(),s=s.trim(),n.length+s.length>kne?null:{name:n,value:s,...Jc(r)}}o(_ne,"parseSetCookie");function Jc(t,e={}){if(t.length===0)return e;Lne(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=Rp(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",s="";if(r.includes("=")){let a={position:0};n=Rp("=",r,a),s=r.slice(a.position+1)}else n=r;if(n=n.trim(),s=s.trim(),s.length>Tne)return Jc(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 Jc(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 Jc(t,e)}o(Jc,"parseUnparsedAttributes");y1.exports={parseSetCookie:_ne,parseUnparsedAttributes:Jc}});var B1=g((JRe,I1)=>{"use strict";var{parseSetCookie:Fne}=E1(),{stringify:Une}=cx(),{webidl:he}=Mt(),{Headers:vp}=na();function One(t){he.argumentLengthCheck(arguments,1,"getCookies"),he.brandCheck(t,vp,{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(One,"getCookies");function qne(t,e,r){he.brandCheck(t,vp,{strict:!1});let n="deleteCookie";he.argumentLengthCheck(arguments,2,n),e=he.converters.DOMString(e,n,"name"),r=he.converters.DeleteCookieAttributes(r),C1(t,{name:e,value:"",expires:new Date(0),...r})}o(qne,"deleteCookie");function Hne(t){he.argumentLengthCheck(arguments,1,"getSetCookies"),he.brandCheck(t,vp,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>Fne(r)):[]}o(Hne,"getSetCookies");function C1(t,e){he.argumentLengthCheck(arguments,2,"setCookie"),he.brandCheck(t,vp,{strict:!1}),e=he.converters.Cookie(e);let r=Une(e);r&&t.append("Set-Cookie",r)}o(C1,"setCookie");he.converters.DeleteCookieAttributes=he.dictionaryConverter([{converter:he.nullableConverter(he.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:he.nullableConverter(he.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")}]);he.converters.Cookie=he.dictionaryConverter([{converter:he.converters.DOMString,key:"name"},{converter:he.converters.DOMString,key:"value"},{converter:he.nullableConverter(t=>typeof t=="number"?he.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:o(()=>null,"defaultValue")},{converter:he.nullableConverter(he.converters["long long"]),key:"maxAge",defaultValue:o(()=>null,"defaultValue")},{converter:he.nullableConverter(he.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")},{converter:he.nullableConverter(he.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:he.nullableConverter(he.converters.boolean),key:"secure",defaultValue:o(()=>null,"defaultValue")},{converter:he.nullableConverter(he.converters.boolean),key:"httpOnly",defaultValue:o(()=>null,"defaultValue")},{converter:he.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:he.sequenceConverter(he.converters.DOMString),key:"unparsed",defaultValue:o(()=>new Array(0),"defaultValue")}]);I1.exports={getCookies:One,deleteCookie:qne,getSetCookies:Hne,setCookie:C1}});var $c=g(($Re,x1)=>{"use strict";var{webidl:z}=Mt(),{kEnumerableProperty:mr}=le(),{kConstruct:Q1}=Oe(),{MessagePort:zne}=require("node:worker_threads"),Wc=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===Q1){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(Q1,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:Gne}=Wc;delete Wc.createFastMessageEvent;var Pp=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}},Dp=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(Wc.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:mr,origin:mr,lastEventId:mr,source:mr,ports:mr,initMessageEvent:mr});Object.defineProperties(Pp.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:mr,code:mr,wasClean:mr});Object.defineProperties(Dp.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:mr,filename:mr,lineno:mr,colno:mr,error:mr});z.converters.MessagePort=z.interfaceConverter(zne);z.converters["sequence<MessagePort>"]=z.sequenceConverter(z.converters.MessagePort);var lx=[{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([...lx,{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([...lx,{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([...lx,{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}]);x1.exports={MessageEvent:Wc,CloseEvent:Pp,ErrorEvent:Dp,createFastMessageEvent:Gne}});var la=g((KRe,b1)=>{"use strict";var Yne="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",Vne={enumerable:!0,writable:!1,configurable:!1},Jne={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},Wne={NOT_SENT:0,PROCESSING:1,SENT:2},$ne={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},jne=2**16-1,Kne={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},Xne=Buffer.allocUnsafe(0),Zne={string:1,typedArray:2,arrayBuffer:3,blob:4};b1.exports={uid:Yne,sentCloseFrameState:Wne,staticPropertyDescriptors:Vne,states:Jne,opcodes:$ne,maxUnsigned16Bit:jne,parserStates:Kne,emptyBuffer:Xne,sendHints:Zne}});var pu=g((XRe,w1)=>{"use strict";w1.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 yu=g((ZRe,M1)=>{"use strict";var{kReadyState:fu,kController:ese,kResponse:tse,kBinaryType:rse,kWebSocketURL:nse}=pu(),{states:gu,opcodes:so}=la(),{ErrorEvent:sse,createFastMessageEvent:ise}=$c(),{isUtf8:ose}=require("node:buffer"),{collectASequenceOfCodePointsFast:ase,removeHTTPWhitespace:N1}=lr();function cse(t){return t[fu]===gu.CONNECTING}o(cse,"isConnecting");function lse(t){return t[fu]===gu.OPEN}o(lse,"isEstablished");function Ase(t){return t[fu]===gu.CLOSING}o(Ase,"isClosing");function use(t){return t[fu]===gu.CLOSED}o(use,"isClosed");function Ax(t,e,r=(s,i)=>new Event(s,i),n={}){let s=r(t,n);e.dispatchEvent(s)}o(Ax,"fireEvent");function dse(t,e,r){if(t[fu]!==gu.OPEN)return;let n;if(e===so.TEXT)try{n=T1(r)}catch{R1(t,"Received invalid UTF-8 in text frame.");return}else e===so.BINARY&&(t[rse]==="blob"?n=new Blob([r]):n=mse(r));Ax("message",t,ise,{origin:t[nse].origin,data:n})}o(dse,"websocketMessageReceived");function mse(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(mse,"toArrayBuffer");function hse(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(hse,"isValidSubprotocol");function pse(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(pse,"isValidStatusCode");function R1(t,e){let{[ese]:r,[tse]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&Ax("error",t,(s,i)=>new sse(s,i),{error:new Error(e),message:e})}o(R1,"failWebsocketConnection");function v1(t){return t===so.CLOSE||t===so.PING||t===so.PONG}o(v1,"isControlFrame");function P1(t){return t===so.CONTINUATION}o(P1,"isContinuationFrame");function D1(t){return t===so.TEXT||t===so.BINARY}o(D1,"isTextBinaryFrame");function fse(t){return D1(t)||P1(t)||v1(t)}o(fse,"isValidOpcode");function gse(t){let e={position:0},r=new Map;for(;e.position<t.length;){let n=ase(";",t,e),[s,i=""]=n.split("=");r.set(N1(s,!0,!1),N1(i,!1,!0)),e.position++}return r}o(gse,"parseExtensions");function yse(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(yse,"isValidClientWindowBits");var k1=typeof process.versions.icu=="string",S1=k1?new TextDecoder("utf-8",{fatal:!0}):void 0,T1=k1?S1.decode.bind(S1):function(t){if(ose(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};M1.exports={isConnecting:cse,isEstablished:lse,isClosing:Ase,isClosed:use,fireEvent:Ax,isValidSubprotocol:hse,isValidStatusCode:pse,failWebsocketConnection:R1,websocketMessageReceived:dse,utf8Decode:T1,isControlFrame:v1,isContinuationFrame:P1,isTextBinaryFrame:D1,isValidOpcode:fse,parseExtensions:gse,isValidClientWindowBits:yse}});var Tp=g((tve,L1)=>{"use strict";var{maxUnsigned16Bit:Ese}=la(),kp=16386,ux,Eu=null,jc=kp;try{ux=require("node:crypto")}catch{ux={randomFillSync:o(function(e,r,n){for(let s=0;s<e.length;++s)e[s]=Math.random()*255|0;return e},"randomFillSync")}}function Cse(){return jc===kp&&(jc=0,ux.randomFillSync(Eu??=Buffer.allocUnsafe(kp),0,kp)),[Eu[jc++],Eu[jc++],Eu[jc++],Eu[jc++]]}o(Cse,"generateMask");var dx=class{static{o(this,"WebsocketFrameSend")}constructor(e){this.frameData=e}createFrame(e){let r=this.frameData,n=Cse(),s=r?.byteLength??0,i=s,a=6;s>Ese?(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}};L1.exports={WebsocketFrameSend:dx}});var hx=g((nve,z1)=>{"use strict";var{uid:Ise,states:Cu,sentCloseFrameState:Mp,emptyBuffer:Bse,opcodes:Qse}=la(),{kReadyState:Iu,kSentClose:Lp,kByteParser:F1,kReceivedClose:_1,kResponse:U1}=pu(),{fireEvent:xse,failWebsocketConnection:io,isClosing:bse,isClosed:wse,isEstablished:Nse,parseExtensions:Sse}=yu(),{channels:Kc}=lc(),{CloseEvent:Rse}=$c(),{makeRequest:vse}=zc(),{fetching:Pse}=uu(),{Headers:Dse,getHeadersList:kse}=na(),{getDecodeSplit:Tse}=Dr(),{WebsocketFrameSend:Mse}=Tp(),mx;try{mx=require("node:crypto")}catch{}function Lse(t,e,r,n,s,i){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=vse({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let d=kse(new Dse(i.headers));c.headersList=d}let l=mx.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"),Pse({request:c,useParallelQueue:!0,dispatcher:i.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){io(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){io(n,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){io(n,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){io(n,'Server did not set Connection header to "upgrade".');return}let m=d.headersList.get("Sec-WebSocket-Accept"),h=mx.createHash("sha1").update(l+Ise).digest("base64");if(m!==h){io(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let p=d.headersList.get("Sec-WebSocket-Extensions"),f;if(p!==null&&(f=Sse(p),!f.has("permessage-deflate"))){io(n,"Sec-WebSocket-Extensions header does not match.");return}let C=d.headersList.get("Sec-WebSocket-Protocol");if(C!==null){let y=Tse("sec-websocket-protocol",c.headersList);if(y===null||!y.includes(C)){io(n,"Protocol was not set in the opening handshake.");return}}d.socket.on("data",O1),d.socket.on("close",q1),d.socket.on("error",H1),Kc.open.hasSubscribers&&Kc.open.publish({address:d.socket.address(),protocol:C,extensions:p}),s(d,f)}})}o(Lse,"establishWebSocketConnection");function _se(t,e,r,n){if(!(bse(t)||wse(t)))if(!Nse(t))io(t,"Connection was closed before it was established."),t[Iu]=Cu.CLOSING;else if(t[Lp]===Mp.NOT_SENT){t[Lp]=Mp.PROCESSING;let s=new Mse;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=Bse,t[U1].socket.write(s.createFrame(Qse.CLOSE)),t[Lp]=Mp.SENT,t[Iu]=Cu.CLOSING}else t[Iu]=Cu.CLOSING}o(_se,"closeWebSocketConnection");function O1(t){this.ws[F1].write(t)||this.pause()}o(O1,"onSocketData");function q1(){let{ws:t}=this,{[U1]:e}=t;e.socket.off("data",O1),e.socket.off("close",q1),e.socket.off("error",H1);let r=t[Lp]===Mp.SENT&&t[_1],n=1005,s="",i=t[F1].closingInfo;i&&!i.error?(n=i.code??1005,s=i.reason):t[_1]||(n=1006),t[Iu]=Cu.CLOSED,xse("close",t,(a,c)=>new Rse(a,c),{wasClean:r,code:n,reason:s}),Kc.close.hasSubscribers&&Kc.close.publish({websocket:t,code:n,reason:s})}o(q1,"onSocketClose");function H1(t){let{ws:e}=this;e[Iu]=Cu.CLOSING,Kc.socketError.hasSubscribers&&Kc.socketError.publish(t),this.destroy()}o(H1,"onSocketError");z1.exports={establishWebSocketConnection:Lse,closeWebSocketConnection:_se}});var Y1=g((ive,G1)=>{"use strict";var{createInflateRaw:Fse,Z_DEFAULT_WINDOWBITS:Use}=require("node:zlib"),{isValidClientWindowBits:Ose}=yu(),{MessageSizeExceededError:qse}=ye(),Hse=Buffer.from([0,0,255,255]),_p=Symbol("kBuffer"),Bu=Symbol("kLength"),px=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=Use;if(this.#t.serverMaxWindowBits){if(!Ose(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}s=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=Fse({windowBits:s})}catch(i){n(i);return}this.#e[_p]=[],this.#e[Bu]=0,this.#e.on("data",i=>{if(this.#e[Bu]+=i.length,this.#r>0&&this.#e[Bu]>this.#r){n(new qse),this.#e.removeAllListeners(),this.#e.destroy(),this.#e=null;return}this.#e[_p].push(i)}),this.#e.on("error",i=>{this.#e=null,n(i)})}this.#e.write(e),r&&this.#e.write(Hse),this.#e.flush(()=>{if(!this.#e)return;let s=Buffer.concat(this.#e[_p],this.#e[Bu]);this.#e[_p].length=0,this.#e[Bu]=0,n(null,s)})}};G1.exports={PerMessageDeflate:px}});var eU=g((ave,Z1)=>{"use strict";var{Writable:zse}=require("node:stream"),Gse=require("node:assert"),{parserStates:hr,opcodes:Xc,states:Yse,emptyBuffer:V1,sentCloseFrameState:J1}=la(),{kReadyState:Vse,kSentClose:W1,kResponse:fx,kReceivedClose:$1}=pu(),{channels:Fp}=lc(),{isValidStatusCode:Jse,isValidOpcode:Wse,failWebsocketConnection:Or,websocketMessageReceived:j1,utf8Decode:$se,isControlFrame:gx,isTextBinaryFrame:yx,isContinuationFrame:jse}=yu(),{WebsocketFrameSend:K1}=Tp(),{closeWebSocketConnection:X1}=hx(),{PerMessageDeflate:Kse}=Y1(),{MessageSizeExceededError:Ex}=ye();function Qu(t,e,r){X1(t,e,r,Buffer.byteLength(r)),Or(t,r)}o(Qu,"failWebsocketConnectionWithCode");var Cx=class extends zse{static{o(this,"ByteParser")}#e=[];#t=0;#r=0;#s=!1;#i=hr.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 Kse(r,n))}_write(e,r,n){this.#e.push(e),this.#r+=e.length,this.#s=!0,this.run(n)}#A(){return this.#c>0&&!gx(this.#n.opcode)&&this.#n.payloadLength+this.#t>this.#c?(Qu(this.ws,1009,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#s;)if(this.#i===hr.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!==Xc.CONTINUATION,c=r[1]&127,l=r[0]&64,A=r[0]&32,u=r[0]&16;if(!Wse(s))return Or(this.ws,"Invalid opcode received"),e();if(i)return Or(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#a.has("permessage-deflate")){Or(this.ws,"Expected RSV1 to be clear.");return}if(A!==0||u!==0){Or(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!yx(s)){Or(this.ws,"Invalid frame type was fragmented.");return}if(yx(s)&&this.#o.length>0){Or(this.ws,"Expected continuation frame");return}if(this.#n.fragmented&&a){Or(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&gx(s)){Or(this.ws,"Control frame either too large or fragmented");return}if(jse(s)&&this.#o.length===0&&!this.#n.compressed){Or(this.ws,"Unexpected continuation frame");return}if(c<=125){if(this.#n.payloadLength=c,this.#i=hr.READ_DATA,!this.#A())return}else c===126?this.#i=hr.PAYLOADLENGTH_16:c===127&&(this.#i=hr.PAYLOADLENGTH_64);yx(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.#i===hr.PAYLOADLENGTH_16){if(this.#r<2)return e();let r=this.consume(2);if(this.#n.payloadLength=r.readUInt16BE(0),this.#i=hr.READ_DATA,!this.#A())return}else if(this.#i===hr.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){Or(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#n.payloadLength=s,this.#i=hr.READ_DATA,!this.#A())return}else if(this.#i===hr.READ_DATA){if(this.#r<this.#n.payloadLength)return e();let r=this.consume(this.#n.payloadLength);if(gx(this.#n.opcode)){this.#s=this.parseControlFrame(r),this.#i=hr.INFO;let n=this.ws[fx].socket;if(this.#s&&n.writableNeedDrain){this.#s=!1,n.once("drain",()=>{this.destroyed||(this.#s=!0,this.run(e))});return}}else if(this.#n.compressed){this.#a.get("permessage-deflate").decompress(r,this.#n.fin,(n,s)=>{if(n){let i=n instanceof Ex?1009:1007;Qu(this.ws,i,n.message);return}if(this.writeFragments(s)){if(this.#c>0&&this.#t>this.#c){Qu(this.ws,1009,new Ex().message);return}if(!this.#n.fin){this.#i=hr.INFO,this.#s=!0,this.run(e);return}j1(this.ws,this.#n.binaryType,this.consumeFragments()),this.#s=!0,this.#i=hr.INFO,this.run(e)}}),this.#s=!1;break}else{if(!this.writeFragments(r))return;if(this.#c>0&&this.#t>this.#c){Qu(this.ws,1009,new Ex().message);return}!this.#n.fragmented&&this.#n.fin&&j1(this.ws,this.#n.binaryType,this.consumeFragments()),this.#i=hr.INFO}}}consume(e){if(e>this.#r)throw new Error("Called consume() before buffers satiated.");if(e===0)return V1;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?(Qu(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){Gse(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!Jse(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=$se(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===Xc.CLOSE){if(n===1)return Or(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 X1(this.ws,s,i,i.length),Or(this.ws,i),!1}if(this.ws[W1]!==J1.SENT){let s=V1;this.#n.closeInfo.code&&(s=Buffer.allocUnsafe(2),s.writeUInt16BE(this.#n.closeInfo.code,0));let i=new K1(s);this.ws[fx].socket.write(i.createFrame(Xc.CLOSE),a=>{a||(this.ws[W1]=J1.SENT)})}return this.ws[Vse]=Yse.CLOSING,this.ws[$1]=!0,!1}else if(r===Xc.PING){if(!this.ws[$1]){let s=new K1(e);this.ws[fx].socket.write(s.createFrame(Xc.PONG)),Fp.ping.hasSubscribers&&Fp.ping.publish({payload:e})}}else r===Xc.PONG&&Fp.pong.hasSubscribers&&Fp.pong.publish({payload:e});return!0}get closingInfo(){return this.#n.closeInfo}};Z1.exports={ByteParser:Cx}});var iU=g((lve,sU)=>{"use strict";var{WebsocketFrameSend:Xse}=Tp(),{opcodes:tU,sendHints:Zc}=la(),Zse=bB(),rU=Buffer[Symbol.species],Ix=class{static{o(this,"SendQueue")}#e=new Zse;#t=!1;#r;constructor(e){this.#r=e}add(e,r,n){if(n!==Zc.blob){let i=nU(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=nU(i,n)}),callback:r,frame:null};this.#e.push(s),this.#t||this.#s()}async#s(){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 nU(t,e){return new Xse(eie(t,e)).createFrame(e===Zc.string?tU.TEXT:tU.BINARY)}o(nU,"createFrame");function eie(t,e){switch(e){case Zc.string:return Buffer.from(t);case Zc.arrayBuffer:case Zc.blob:return new rU(t);case Zc.typedArray:return new rU(t.buffer,t.byteOffset,t.byteLength)}}o(eie,"toBuffer");sU.exports={SendQueue:Ix}});var pU=g((uve,hU)=>{"use strict";var{webidl:X}=Mt(),{URLSerializer:tie}=lr(),{environmentSettingsObject:oU}=Dr(),{staticPropertyDescriptors:oo,states:xu,sentCloseFrameState:rie,sendHints:Up}=la(),{kWebSocketURL:aU,kReadyState:Bx,kController:cU,kBinaryType:Op,kResponse:lU,kSentClose:nie,kByteParser:sie}=pu(),{isConnecting:iie,isEstablished:oie,isClosing:aie,isValidSubprotocol:cie,fireEvent:AU}=yu(),{establishWebSocketConnection:lie,closeWebSocketConnection:uU}=hx(),{ByteParser:Aie}=eU(),{kEnumerableProperty:un,isBlobLike:dU}=le(),{getGlobalDispatcher:uie}=ou(),{types:mU}=require("node:util"),{ErrorEvent:die,CloseEvent:mie}=$c(),{SendQueue:hie}=iU(),qr=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#r="";#s="";#i;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=oU.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=>cie(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[aU]=new URL(a.href);let c=oU.settingsObject;this[cU]=lie(a,r,c,this,(l,A)=>this.#n(l,A),s),this[Bx]=t.CONNECTING,this[nie]=rie.NOT_SENT,this[Op]="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");uU(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"),iie(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!oie(this)||aie(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#i.add(e,()=>{this.#t-=n},Up.string)}else mU.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},Up.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},Up.typedArray)):dU(e)&&(this.#t+=e.size,this.#i.add(e,()=>{this.#t-=e.size},Up.blob))}get readyState(){return X.brandCheck(this,t),this[Bx]}get bufferedAmount(){return X.brandCheck(this,t),this.#t}get url(){return X.brandCheck(this,t),tie(this[aU])}get extensions(){return X.brandCheck(this,t),this.#s}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[Op]}set binaryType(e){X.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Op]="blob":this[Op]=e}#n(e,r){this[lU]=e;let n=this[cU]?.dispatcher?.webSocketOptions,s=n?.maxFragments,i=n?.maxPayloadSize,a=new Aie(this,r,{maxFragments:s,maxPayloadSize:i});a.on("drain",pie),a.on("error",fie.bind(this)),e.socket.ws=this,this[sie]=a,this.#i=new hie(e.socket),this[Bx]=xu.OPEN;let c=e.headersList.get("sec-websocket-extensions");c!==null&&(this.#s=c);let l=e.headersList.get("sec-websocket-protocol");l!==null&&(this.#r=l),AU("open",this)}};qr.CONNECTING=qr.prototype.CONNECTING=xu.CONNECTING;qr.OPEN=qr.prototype.OPEN=xu.OPEN;qr.CLOSING=qr.prototype.CLOSING=xu.CLOSING;qr.CLOSED=qr.prototype.CLOSED=xu.CLOSED;Object.defineProperties(qr.prototype,{CONNECTING:oo,OPEN:oo,CLOSING:oo,CLOSED:oo,url:un,readyState:un,bufferedAmount:un,onopen:un,onerror:un,onclose:un,close:un,onmessage:un,binaryType:un,send:un,extensions:un,protocol:un,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(qr,{CONNECTING:oo,OPEN:oo,CLOSING:oo,CLOSED:oo});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(()=>uie(),"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(dU(t))return X.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||mU.isArrayBuffer(t))return X.converters.BufferSource(t)}return X.converters.USVString(t)};function pie(){this.ws[lU].socket.resume()}o(pie,"onParserDrain");function fie(t){let e,r;t instanceof mie?(e=t.reason,r=t.code):e=t.message,AU("error",this,()=>new die("error",{error:t,message:e})),uU(this,r)}o(fie,"onParserError");hU.exports={WebSocket:qr}});var Qx=g((mve,fU)=>{"use strict";function gie(t){return t.indexOf("\0")===-1}o(gie,"isValidLastEventId");function yie(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(yie,"isASCIINumber");function Eie(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(Eie,"delay");fU.exports={isValidLastEventId:gie,isASCIINumber:yie,delay:Eie}});var yU=g((pve,gU)=>{"use strict";var Cie=require("node:buffer"),{Transform:Iie}=require("node:stream"),{isASCIINumber:Bie,isValidLastEventId:Qie}=Qx(),el=[239,187,191],qp=10,bu=13,xie=58,bie=32,wie=Cie.kStringMaxLength,Nie=Buffer.from("data"),Sie=Buffer.from("event"),Rie=Buffer.from("id"),vie=Buffer.from("retry"),Pie=1024,Die=131072,kie=128;function Tie(t,e){if(e>=t.length)return!1;for(let r=e;r<t.length;r++)if(t[r]<48||t[r]>57)return!1;return!0}o(Tie,"isASCIINumberBytes");function Mie(t,e){for(let r=e;r<t.length;r++)if(t[r]===0)return!1;return!0}o(Mie,"isValidLastEventIdBytes");function Hp(t,e,r){if(e!==r.length)return!1;for(let n=0;n<e;n++)if(t[n]!==r[n])return!1;return!0}o(Hp,"isFieldName");function zp(){let t=new Error("EventSource message size exceeded");return t.aborted=!1,t}o(zp,"createMaxEventSizeExceededError");var xx=class extends Iie{static{o(this,"EventSourceStream")}state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;chunks=[];chunkIndex=0;pos=0;lineChunkIndex=0;linePos=0;lineLength=0;eventSize=0;eventFieldSizes={data:0,event:0,id:0,retry:0};dataLineCount=0;maxEventSize;maxDataLines;maxBufferedChunks;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},this.maxEventSize=e.maxEventSize??wie;let r=this.maxEventSize>0?Math.min(Die,Math.max(Pie,Math.floor(this.maxEventSize/kie))):0;this.maxDataLines=r,this.maxBufferedChunks=r,e.push&&(this.push=e.push)}_transform(e,r,n){if(e.length===0){n();return}if(this.maxEventSize>0&&this.chunks.length>=this.maxBufferedChunks&&e[0]!==qp&&e[0]!==bu){n(zp());return}if(this.chunks.push(e),this.checkBOM&&this.handleBOM()){n();return}for(;this.hasCurrentByte();){let s=this.currentByte();if(this.eventEndCheck){if(this.crlfCheck){if(s===qp){this.crlfCheck=!1,this.consumeCurrentByte();continue}this.crlfCheck=!1}if(s===qp||s===bu){s===bu&&(this.crlfCheck=!0),this.consumeCurrentByte(),this.hasPendingEvent()&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(s===qp||s===bu){s===bu&&(this.crlfCheck=!0);try{this.parseLine(this.readLine(),this.event)}catch(i){n(i);return}this.consumeCurrentByte(),this.eventEndCheck=!0;continue}if(this.maxEventSize>0&&++this.lineLength>this.maxEventSize+7){n(zp());return}this.advanceCursor()}n()}_destroy(e,r){this.chunks.length=0,this.clearEvent(),super._destroy(e,r)}parseLine(e,r){if(e.length===0)return;let n=e.indexOf(xie);if(n===0)return;let s=e.length,i=e.length;if(n!==-1&&(s=n,i=n+1,e[i]===bie&&++i),Hp(e,s,Nie)){if(this.maxEventSize>0&&this.dataLineCount>=this.maxDataLines)throw zp();let a=e.length-i,c=this.eventFieldSizes.data+(r.data===void 0?0:1)+a;this.setEventFieldSize("data",c);let l=e.toString("utf8",i);r.data===void 0?r.data=l:r.data+=`
|
|
${l}`,this.dataLineCount++;return}if(Hp(e,s,vie)){Tie(e,i)&&(this.setEventFieldSize("retry",e.length-i),r.retry=e.toString("utf8",i));return}if(Hp(e,s,Rie)){Mie(e,i)&&(this.setEventFieldSize("id",e.length-i),r.id=e.toString("utf8",i));return}Hp(e,s,Sie)&&i<e.length&&(this.setEventFieldSize("event",e.length-i),r.event=e.toString("utf8",i))}setEventFieldSize(e,r){let n=this.eventSize-this.eventFieldSizes[e]+r;if(this.maxEventSize>0&&n>this.maxEventSize)throw zp();this.eventSize=n,this.eventFieldSizes[e]=r}processEvent(e){e.retry&&Bie(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&Qie(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event.data=void 0,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0,this.eventSize=0,this.dataLineCount=0,this.eventFieldSizes.data=0,this.eventFieldSizes.event=0,this.eventFieldSizes.id=0,this.eventFieldSizes.retry=0}hasPendingEvent(){return this.event.data!==void 0||this.event.event!==void 0||this.event.id!==void 0||this.event.retry!==void 0}hasCurrentByte(){return this.chunkIndex<this.chunks.length&&this.pos<this.chunks[this.chunkIndex].length}currentByte(){return this.chunks[this.chunkIndex][this.pos]}consumeCurrentByte(){this.advanceCursor(),this.syncLineStartToCursor()}advanceCursor(){for(this.pos++;this.chunkIndex<this.chunks.length&&this.pos>=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.lineLength=0,this.dropConsumedChunks()}dropConsumedChunks(){if(this.lineChunkIndex>0){let e=this.lineChunkIndex;this.chunks.splice(0,e),this.lineChunkIndex=0,this.chunkIndex-=e}this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],r=0;for(let n=this.lineChunkIndex;n<=this.chunkIndex;n++){let s=this.chunks[n],i=n===this.lineChunkIndex?this.linePos:0,a=n===this.chunkIndex?this.pos:s.length,c=s.subarray(i,a);r+=c.length,e.push(c)}return Buffer.concat(e,r)}peekBufferedByte(e){let r=this.lineChunkIndex,n=this.linePos;for(;r<this.chunks.length;){let s=this.chunks[r],i=s.length-n;if(e<i)return s[n+e];e-=i,r++,n=0}}discardLeadingBytes(e){for(;e>0&&this.lineChunkIndex<this.chunks.length;){let n=this.chunks[this.lineChunkIndex].length-this.linePos;e<n?(this.linePos+=e,e=0):(e-=n,this.lineChunkIndex++,this.linePos=0)}this.chunkIndex=this.lineChunkIndex,this.pos=this.linePos,this.dropConsumedChunks()}handleBOM(){let e=this.peekBufferedByte(0),r=this.peekBufferedByte(1),n=this.peekBufferedByte(2);return r===void 0?(e===el[0]||(this.checkBOM=!1),!0):n===void 0?e===el[0]&&r===el[1]?!0:(this.checkBOM=!1,!1):(e===el[0]&&r===el[1]&&n===el[2]&&this.discardLeadingBytes(3),this.checkBOM=!1,!this.hasCurrentByte())}};gU.exports={EventSourceStream:xx}});var wU=g((gve,bU)=>{"use strict";var{pipeline:Lie}=require("node:stream"),{fetching:_ie}=uu(),{makeRequest:Fie}=zc(),{webidl:fi}=Mt(),{EventSourceStream:Uie}=yU(),{parseMIMEType:Oie}=lr(),{createFastMessageEvent:qie}=$c(),{isNetworkError:EU}=lu(),{delay:Hie}=Qx(),{kEnumerableProperty:Aa}=le(),{environmentSettingsObject:CU}=Dr(),{getGlobalDispatcher:zie}=ou(),IU=!1,BU=3e3,wu=0,QU=1,Nu=2,Gie="anonymous",Yie="use-credentials",tl=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#r=!1;#s=wu;#i=null;#n=null;#o;#a;constructor(e,r={}){super(),fi.util.markAsUncloneable(this);let n="EventSource constructor";fi.argumentLengthCheck(arguments,1,n),IU||(IU=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=fi.converters.USVString(e,n,"url"),r=fi.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:BU};let s=CU,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=Gie;r.withCredentials&&(a=Yie,this.#r=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=CU.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#i=Fie(c),this.#l()}get readyState(){return this.#s}get url(){return this.#t}get withCredentials(){return this.#r}#l(){if(this.#s===Nu)return;this.#s=wu;let e={request:this.#i,dispatcher:this.#o},r=o(n=>{EU(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(EU(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?Oie(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.#s=QU,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new Uie({eventSourceSettings:this.#a,maxEventSize:this.#o.eventSourceOptions?.maxEventSize,push:o(l=>{this.dispatchEvent(qie(l.type,l.options))},"push")});Lie(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#n=_ie(e)}async#c(){this.#s!==Nu&&(this.#s=wu,this.dispatchEvent(new Event("error")),await Hie(this.#a.reconnectionTime),this.#s===wu&&(this.#a.lastEventId.length&&this.#i.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#l()))}close(){fi.brandCheck(this,t),this.#s!==Nu&&(this.#s=Nu,this.#n.abort(),this.#i=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}},xU={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:wu,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:QU,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:Nu,writable:!1}};Object.defineProperties(tl,xU);Object.defineProperties(tl.prototype,xU);Object.defineProperties(tl.prototype,{close:Aa,onerror:Aa,onmessage:Aa,onopen:Aa,readyState:Aa,url:Aa,withCredentials:Aa});fi.converters.EventSourceInitDict=fi.dictionaryConverter([{key:"withCredentials",converter:fi.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:fi.converters.any,defaultValue:o(()=>zie(),"defaultValue")}]);bU.exports={EventSource:tl,defaultReconnectionTime:BU}});var bx=g((Eve,K)=>{"use strict";var Vie=Rc(),NU=SA(),Jie=vc(),Wie=NL(),$ie=Pc(),jie=YB(),Kie=KL(),Xie=s_(),SU=ye(),Yp=le(),{InvalidArgumentError:Gp}=SU,rl=G_(),Zie=vA(),eoe=wQ(),toe=wF(),roe=RQ(),noe=mQ(),soe=Vh(),{getGlobalDispatcher:RU,setGlobalDispatcher:ioe}=ou(),ooe=rp(),aoe=Mh(),coe=Lh();Object.assign(NU.prototype,rl);K.exports.Dispatcher=NU;K.exports.Client=Vie;K.exports.Pool=Jie;K.exports.BalancedPool=Wie;K.exports.Agent=$ie;K.exports.ProxyAgent=jie;K.exports.EnvHttpProxyAgent=Kie;K.exports.RetryAgent=Xie;K.exports.RetryHandler=soe;K.exports.DecoratorHandler=ooe;K.exports.RedirectHandler=aoe;K.exports.createRedirectInterceptor=coe;K.exports.interceptors={redirect:kF(),retry:MF(),dump:_F(),dns:OF()};K.exports.buildConnector=Zie;K.exports.errors=SU;K.exports.util={parseHeaders:Yp.parseHeaders,headerNameToString:Yp.headerNameToString};function Su(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 Gp("invalid url");if(r!=null&&typeof r!="object")throw new Gp("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new Gp("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(Yp.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=Yp.parseURL(e);let{agent:s,dispatcher:i=RU()}=r;if(s)throw new Gp("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(Su,"makeDispatcher");K.exports.setGlobalDispatcher=ioe;K.exports.getGlobalDispatcher=RU;var loe=uu().fetch;K.exports.fetch=o(async function(e,r=void 0){try{return await loe(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");K.exports.Headers=na().Headers;K.exports.Response=lu().Response;K.exports.Request=zc().Request;K.exports.FormData=_A().FormData;K.exports.File=globalThis.File??require("node:buffer").File;K.exports.FileReader=r1().FileReader;var{setGlobalOrigin:Aoe,getGlobalOrigin:uoe}=GI();K.exports.setGlobalOrigin=Aoe;K.exports.getGlobalOrigin=uoe;var{CacheStorage:doe}=u1(),{kConstruct:moe}=Qp();K.exports.caches=new doe(moe);var{deleteCookie:hoe,getCookies:poe,getSetCookies:foe,setCookie:goe}=B1();K.exports.deleteCookie=hoe;K.exports.getCookies=poe;K.exports.getSetCookies=foe;K.exports.setCookie=goe;var{parseMIMEType:yoe,serializeAMimeType:Eoe}=lr();K.exports.parseMIMEType=yoe;K.exports.serializeAMimeType=Eoe;var{CloseEvent:Coe,ErrorEvent:Ioe,MessageEvent:Boe}=$c();K.exports.WebSocket=pU().WebSocket;K.exports.CloseEvent=Coe;K.exports.ErrorEvent=Ioe;K.exports.MessageEvent=Boe;K.exports.request=Su(rl.request);K.exports.stream=Su(rl.stream);K.exports.pipeline=Su(rl.pipeline);K.exports.connect=Su(rl.connect);K.exports.upgrade=Su(rl.upgrade);K.exports.MockClient=eoe;K.exports.MockPool=roe;K.exports.MockAgent=toe;K.exports.mockErrors=noe;var{EventSource:Qoe}=wU();K.exports.EventSource=Qoe});var Lu=g((WPe,cO)=>{"use strict";var Goe="2.0.0",Yoe=Number.MAX_SAFE_INTEGER||9007199254740991,Voe=16,Joe=250,Woe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];cO.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Voe,MAX_SAFE_BUILD_LENGTH:Joe,MAX_SAFE_INTEGER:Yoe,RELEASE_TYPES:Woe,SEMVER_SPEC_VERSION:Goe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var _u=g(($Pe,lO)=>{"use strict";var $oe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};lO.exports=$oe});var cl=g((ys,AO)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Vx,MAX_SAFE_BUILD_LENGTH:joe,MAX_LENGTH:Koe}=Lu(),Xoe=_u();ys=AO.exports={};var Zoe=ys.re=[],eae=ys.safeRe=[],M=ys.src=[],tae=ys.safeSrc=[],L=ys.t={},rae=0,Jx="[a-zA-Z0-9-]",nae=[["\\s",1],["\\d",Koe],[Jx,joe]],sae=o(t=>{for(let[e,r]of nae)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),te=o((t,e,r)=>{let n=sae(e),s=rae++;Xoe(t,s,e),L[t]=s,M[s]=e,tae[s]=n,Zoe[s]=new RegExp(e,r?"g":void 0),eae[s]=new RegExp(n,r?"g":void 0)},"createToken");te("NUMERICIDENTIFIER","0|[1-9]\\d*");te("NUMERICIDENTIFIERLOOSE","\\d+");te("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Jx}*`);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",`${Jx}+`);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,${Vx}})(?:\\.(\\d{1,${Vx}}))?(?:\\.(\\d{1,${Vx}}))?`);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);ys.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);ys.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);ys.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 Xp=g((KPe,uO)=>{"use strict";var iae=Object.freeze({loose:!0}),oae=Object.freeze({}),aae=o(t=>t?typeof t!="object"?iae:t:oae,"parseOptions");uO.exports=aae});var Wx=g((ZPe,hO)=>{"use strict";var dO=/^[0-9]+$/,mO=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=dO.test(t),n=dO.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},"compareIdentifiers"),cae=o((t,e)=>mO(e,t),"rcompareIdentifiers");hO.exports={compareIdentifiers:mO,rcompareIdentifiers:cae}});var qt=g((tDe,fO)=>{"use strict";var Zp=_u(),{MAX_LENGTH:pO,MAX_SAFE_INTEGER:ef}=Lu(),{safeRe:tf,t:rf}=cl(),lae=Xp(),{compareIdentifiers:$x}=Wx(),jx=class t{static{o(this,"SemVer")}constructor(e,r){if(r=lae(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>pO)throw new TypeError(`version is longer than ${pO} characters`);Zp("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?tf[rf.LOOSE]:tf[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>ef||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ef||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ef||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<ef)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(Zp("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(Zp("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 $x(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(Zp("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 $x(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?tf[rf.PRERELEASELOOSE]:tf[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]),$x(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}};fO.exports=jx});var pa=g((nDe,yO)=>{"use strict";var gO=qt(),Aae=o((t,e,r=!1)=>{if(t instanceof gO)return t;try{return new gO(t,e)}catch(n){if(!r)return null;throw n}},"parse");yO.exports=Aae});var CO=g((iDe,EO)=>{"use strict";var uae=pa(),dae=o((t,e)=>{let r=uae(t,e);return r?r.version:null},"valid");EO.exports=dae});var BO=g((aDe,IO)=>{"use strict";var mae=pa(),hae=o((t,e)=>{let r=mae(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");IO.exports=hae});var bO=g((lDe,xO)=>{"use strict";var QO=qt(),pae=o((t,e,r,n,s)=>{typeof r=="string"&&(s=n,n=r,r=void 0);try{return new QO(t instanceof QO?t.version:t,r).inc(e,n,s).version}catch{return null}},"inc");xO.exports=pae});var SO=g((uDe,NO)=>{"use strict";var wO=pa(),fae=o((t,e)=>{let r=wO(t,null,!0),n=wO(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");NO.exports=fae});var vO=g((mDe,RO)=>{"use strict";var gae=qt(),yae=o((t,e)=>new gae(t,e).major,"major");RO.exports=yae});var DO=g((pDe,PO)=>{"use strict";var Eae=qt(),Cae=o((t,e)=>new Eae(t,e).minor,"minor");PO.exports=Cae});var TO=g((gDe,kO)=>{"use strict";var Iae=qt(),Bae=o((t,e)=>new Iae(t,e).patch,"patch");kO.exports=Bae});var LO=g((EDe,MO)=>{"use strict";var Qae=pa(),xae=o((t,e)=>{let r=Qae(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");MO.exports=xae});var dn=g((IDe,FO)=>{"use strict";var _O=qt(),bae=o((t,e,r)=>new _O(t,r).compare(new _O(e,r)),"compare");FO.exports=bae});var OO=g((QDe,UO)=>{"use strict";var wae=dn(),Nae=o((t,e,r)=>wae(e,t,r),"rcompare");UO.exports=Nae});var HO=g((bDe,qO)=>{"use strict";var Sae=dn(),Rae=o((t,e)=>Sae(t,e,!0),"compareLoose");qO.exports=Rae});var nf=g((NDe,GO)=>{"use strict";var zO=qt(),vae=o((t,e,r)=>{let n=new zO(t,r),s=new zO(e,r);return n.compare(s)||n.compareBuild(s)},"compareBuild");GO.exports=vae});var VO=g((RDe,YO)=>{"use strict";var Pae=nf(),Dae=o((t,e)=>t.sort((r,n)=>Pae(r,n,e)),"sort");YO.exports=Dae});var WO=g((PDe,JO)=>{"use strict";var kae=nf(),Tae=o((t,e)=>t.sort((r,n)=>kae(n,r,e)),"rsort");JO.exports=Tae});var Fu=g((kDe,$O)=>{"use strict";var Mae=dn(),Lae=o((t,e,r)=>Mae(t,e,r)>0,"gt");$O.exports=Lae});var sf=g((MDe,jO)=>{"use strict";var _ae=dn(),Fae=o((t,e,r)=>_ae(t,e,r)<0,"lt");jO.exports=Fae});var Kx=g((_De,KO)=>{"use strict";var Uae=dn(),Oae=o((t,e,r)=>Uae(t,e,r)===0,"eq");KO.exports=Oae});var Xx=g((UDe,XO)=>{"use strict";var qae=dn(),Hae=o((t,e,r)=>qae(t,e,r)!==0,"neq");XO.exports=Hae});var of=g((qDe,ZO)=>{"use strict";var zae=dn(),Gae=o((t,e,r)=>zae(t,e,r)>=0,"gte");ZO.exports=Gae});var af=g((zDe,eq)=>{"use strict";var Yae=dn(),Vae=o((t,e,r)=>Yae(t,e,r)<=0,"lte");eq.exports=Vae});var Zx=g((YDe,tq)=>{"use strict";var Jae=Kx(),Wae=Xx(),$ae=Fu(),jae=of(),Kae=sf(),Xae=af(),Zae=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 Jae(t,r,n);case"!=":return Wae(t,r,n);case">":return $ae(t,r,n);case">=":return jae(t,r,n);case"<":return Kae(t,r,n);case"<=":return Xae(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");tq.exports=Zae});var nq=g((JDe,rq)=>{"use strict";var ece=qt(),tce=pa(),{safeRe:cf,t:lf}=cl(),rce=o((t,e)=>{if(t instanceof ece)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?cf[lf.COERCEFULL]:cf[lf.COERCE]);else{let l=e.includePrerelease?cf[lf.COERCERTLFULL]:cf[lf.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 tce(`${n}.${s}.${i}${a}${c}`,e)},"coerce");rq.exports=rce});var iq=g(($De,sq)=>{"use strict";var eb=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}};sq.exports=eb});var mn=g((KDe,lq)=>{"use strict";var nce=/\s+/g,tb=class t{static{o(this,"Range")}constructor(e,r){if(r=ice(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof rb)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(nce," "),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=>!aq(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&&dce(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&&Ace)|(this.options.loose&&uce))+":"+e,s=oq.get(n);if(s)return s;let i=this.options.loose,a=i?Xt[Ht.HYPHENRANGELOOSE]:Xt[Ht.HYPHENRANGE];e=e.replace(a,Bce(this.options.includePrerelease)),_e("hyphen replace",e),e=e.replace(Xt[Ht.COMPARATORTRIM],ace),_e("comparator trim",e),e=e.replace(Xt[Ht.TILDETRIM],cce),_e("tilde trim",e),e=e.replace(Xt[Ht.CARETTRIM],lce),_e("caret trim",e);let c=e.split(" ").map(d=>mce(d,this.options)).join(" ").split(/\s+/).map(d=>Ice(d,this.options));i&&(c=c.filter(d=>(_e("loose invalid filter",d,this.options),!!d.match(Xt[Ht.COMPARATORLOOSE])))),_e("range list",c);let l=new Map,A=c.map(d=>new rb(d,this.options));for(let d of A){if(aq(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let u=[...l.values()];return oq.set(n,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>cq(n,r)&&e.set.some(s=>cq(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 oce(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(Qce(this.set[r],e,this.options))return!0;return!1}};lq.exports=tb;var sce=iq(),oq=new sce,ice=Xp(),rb=Uu(),_e=_u(),oce=qt(),{safeRe:Xt,t:Ht,comparatorTrimReplace:ace,tildeTrimReplace:cce,caretTrimReplace:lce}=cl(),{FLAG_INCLUDE_PRERELEASE:Ace,FLAG_LOOSE:uce}=Lu(),aq=o(t=>t.value==="<0.0.0-0","isNullSet"),dce=o(t=>t.value==="","isAny"),cq=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"),mce=o((t,e)=>(t=t.replace(Xt[Ht.BUILD],""),_e("comp",t,e),t=fce(t,e),_e("caret",t),t=hce(t,e),_e("tildes",t),t=yce(t,e),_e("xrange",t),t=Cce(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=>pce(r,e)).join(" "),"replaceTildes"),pce=o((t,e)=>{let r=e.loose?Xt[Ht.TILDELOOSE]:Xt[Ht.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"),fce=o((t,e)=>t.trim().split(/\s+/).map(r=>gce(r,e)).join(" "),"replaceCarets"),gce=o((t,e)=>{_e("caret",t,e);let r=e.loose?Xt[Ht.CARETLOOSE]:Xt[Ht.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"),yce=o((t,e)=>(_e("replaceXRanges",t,e),t.split(/\s+/).map(r=>Ece(r,e)).join(" ")),"replaceXRanges"),Ece=o((t,e)=>{t=t.trim();let r=e.loose?Xt[Ht.XRANGELOOSE]:Xt[Ht.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"),Cce=o((t,e)=>(_e("replaceStars",t,e),t.trim().replace(Xt[Ht.STAR],"")),"replaceStars"),Ice=o((t,e)=>(_e("replaceGTE0",t,e),t.trim().replace(Xt[e.includePrerelease?Ht.GTE0PRE:Ht.GTE0],"")),"replaceGTE0"),Bce=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"),Qce=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!==rb.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 Uu=g((ZDe,pq)=>{"use strict";var Ou=Symbol("SemVer ANY"),ib=class t{static{o(this,"Comparator")}static get ANY(){return Ou}constructor(e,r){if(r=Aq(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),sb("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Ou?this.value="":this.value=this.operator+this.semver.version,sb("comp",this)}parse(e){let r=this.options.loose?uq[dq.COMPARATORLOOSE]:uq[dq.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 mq(n[2],this.options.loose):this.semver=Ou}toString(){return this.value}test(e){if(sb("Comparator.test",e,this.options.loose),this.semver===Ou||e===Ou)return!0;if(typeof e=="string")try{e=new mq(e,this.options)}catch{return!1}return nb(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 hq(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new hq(this.value,r).test(e.semver):(r=Aq(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("=")||nb(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||nb(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};pq.exports=ib;var Aq=Xp(),{safeRe:uq,t:dq}=cl(),nb=Zx(),sb=_u(),mq=qt(),hq=mn()});var qu=g((tke,fq)=>{"use strict";var xce=mn(),bce=o((t,e,r)=>{try{e=new xce(e,r)}catch{return!1}return e.test(t)},"satisfies");fq.exports=bce});var yq=g((nke,gq)=>{"use strict";var wce=mn(),Nce=o((t,e)=>new wce(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");gq.exports=Nce});var Cq=g((ike,Eq)=>{"use strict";var Sce=qt(),Rce=mn(),vce=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new Rce(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===-1)&&(n=a,s=new Sce(n,r))}),n},"maxSatisfying");Eq.exports=vce});var Bq=g((ake,Iq)=>{"use strict";var Pce=qt(),Dce=mn(),kce=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new Dce(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===1)&&(n=a,s=new Pce(n,r))}),n},"minSatisfying");Iq.exports=kce});var bq=g((lke,xq)=>{"use strict";var ob=qt(),Tce=mn(),Qq=Fu(),Mce=o((t,e)=>{t=new Tce(t,e);let r=new ob("0.0.0");if(t.test(r)||(r=new ob("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 ob(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||Qq(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||Qq(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");xq.exports=Mce});var Nq=g((uke,wq)=>{"use strict";var Lce=mn(),_ce=o((t,e)=>{try{return new Lce(t,e).range||"*"}catch{return null}},"validRange");wq.exports=_ce});var Af=g((mke,Pq)=>{"use strict";var Fce=qt(),vq=Uu(),{ANY:Uce}=vq,Oce=mn(),qce=qu(),Sq=Fu(),Rq=sf(),Hce=af(),zce=of(),Gce=o((t,e,r,n)=>{t=new Fce(t,n),e=new Oce(e,n);let s,i,a,c,l;switch(r){case">":s=Sq,i=Hce,a=Rq,c=">",l=">=";break;case"<":s=Rq,i=zce,a=Sq,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(qce(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(h=>{h.semver===Uce&&(h=new vq(">=0.0.0")),d=d||h,m=m||h,s(h.semver,d.semver,n)?d=h:a(h.semver,m.semver,n)&&(m=h)}),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");Pq.exports=Gce});var kq=g((pke,Dq)=>{"use strict";var Yce=Af(),Vce=o((t,e,r)=>Yce(t,e,">",r),"gtr");Dq.exports=Vce});var Mq=g((gke,Tq)=>{"use strict";var Jce=Af(),Wce=o((t,e,r)=>Jce(t,e,"<",r),"ltr");Tq.exports=Wce});var Fq=g((Eke,_q)=>{"use strict";var Lq=mn(),$ce=o((t,e,r)=>(t=new Lq(t,r),e=new Lq(e,r),t.intersects(e,r)),"intersects");_q.exports=$ce});var Oq=g((Ike,Uq)=>{"use strict";var jce=qu(),Kce=dn();Uq.exports=(t,e,r)=>{let n=[],s=null,i=null,a=t.sort((u,d)=>Kce(u,d,r));for(let u of a)jce(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 Vq=g((Bke,Yq)=>{"use strict";var qq=mn(),cb=Uu(),{ANY:ab}=cb,Hu=qu(),lb=dn(),Xce=o((t,e,r={})=>{if(t===e)return!0;t=new qq(t,r),e=new qq(e,r);let n=!1;e:for(let s of t.set){for(let i of e.set){let a=ele(s,i,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),Zce=[new cb(">=0.0.0-0")],Hq=[new cb(">=0.0.0")],ele=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===ab){if(e.length===1&&e[0].semver===ab)return!0;r.includePrerelease?t=Zce:t=Hq}if(e.length===1&&e[0].semver===ab){if(r.includePrerelease)return!0;e=Hq}let n=new Set,s,i;for(let h of t)h.operator===">"||h.operator===">="?s=zq(s,h,r):h.operator==="<"||h.operator==="<="?i=Gq(i,h,r):n.add(h.semver);if(n.size>1)return null;let a;if(s&&i){if(a=lb(s.semver,i.semver,r),a>0)return null;if(a===0&&(s.operator!==">="||i.operator!=="<="))return null}for(let h of n){if(s&&!Hu(h,String(s),r)||i&&!Hu(h,String(i),r))return null;for(let p of e)if(!Hu(h,String(p),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 h of e){if(u=u||h.operator===">"||h.operator===">=",A=A||h.operator==="<"||h.operator==="<=",s){if(m&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===m.major&&h.semver.minor===m.minor&&h.semver.patch===m.patch&&(m=!1),h.operator===">"||h.operator===">="){if(c=zq(s,h,r),c===h&&c!==s)return!1}else if(s.operator===">="&&!Hu(s.semver,String(h),r))return!1}if(i){if(d&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===d.major&&h.semver.minor===d.minor&&h.semver.patch===d.patch&&(d=!1),h.operator==="<"||h.operator==="<="){if(l=Gq(i,h,r),l===h&&l!==i)return!1}else if(i.operator==="<="&&!Hu(i.semver,String(h),r))return!1}if(!h.operator&&(i||s)&&a!==0)return!1}return!(s&&A&&!i&&a!==0||i&&u&&!s&&a!==0||m||d)},"simpleSubset"),zq=o((t,e,r)=>{if(!t)return e;let n=lb(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),Gq=o((t,e,r)=>{if(!t)return e;let n=lb(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");Yq.exports=Xce});var ub=g((xke,$q)=>{"use strict";var Ab=cl(),Jq=Lu(),tle=qt(),Wq=Wx(),rle=pa(),nle=CO(),sle=BO(),ile=bO(),ole=SO(),ale=vO(),cle=DO(),lle=TO(),Ale=LO(),ule=dn(),dle=OO(),mle=HO(),hle=nf(),ple=VO(),fle=WO(),gle=Fu(),yle=sf(),Ele=Kx(),Cle=Xx(),Ile=of(),Ble=af(),Qle=Zx(),xle=nq(),ble=Uu(),wle=mn(),Nle=qu(),Sle=yq(),Rle=Cq(),vle=Bq(),Ple=bq(),Dle=Nq(),kle=Af(),Tle=kq(),Mle=Mq(),Lle=Fq(),_le=Oq(),Fle=Vq();$q.exports={parse:rle,valid:nle,clean:sle,inc:ile,diff:ole,major:ale,minor:cle,patch:lle,prerelease:Ale,compare:ule,rcompare:dle,compareLoose:mle,compareBuild:hle,sort:ple,rsort:fle,gt:gle,lt:yle,eq:Ele,neq:Cle,gte:Ile,lte:Ble,cmp:Qle,coerce:xle,Comparator:ble,Range:wle,satisfies:Nle,toComparators:Sle,maxSatisfying:Rle,minSatisfying:vle,minVersion:Ple,validRange:Dle,outside:kle,gtr:Tle,ltr:Mle,intersects:Lle,simplifyRange:_le,subset:Fle,SemVer:tle,re:Ab.re,src:Ab.src,tokens:Ab.t,SEMVER_SPEC_VERSION:Jq.SEMVER_SPEC_VERSION,RELEASE_TYPES:Jq.RELEASE_TYPES,compareIdentifiers:Wq.compareIdentifiers,rcompareIdentifiers:Wq.rcompareIdentifiers}});var uH=g((RTe,AH)=>{AH.exports=function(t,e){for(var r=[],n=0;n<t.length;n++){var s=e(t[n],n);eAe(s)?r.push.apply(r,s):r.push(s)}return r};var eAe=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}});var fH=g((vTe,pH)=>{"use strict";pH.exports=mH;function mH(t,e,r){t instanceof RegExp&&(t=dH(t,r)),e instanceof RegExp&&(e=dH(e,r));var n=hH(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(mH,"balanced");function dH(t,e){var r=e.match(t);return r?r[0]:null}o(dH,"maybeMatch");mH.range=hH;function hH(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(hH,"range")});var xH=g((kTe,QH)=>{var DTe=uH(),gH=fH();QH.exports=iAe;var yH="\0SLASH"+Math.random()+"\0",EH="\0OPEN"+Math.random()+"\0",Bb="\0CLOSE"+Math.random()+"\0",CH="\0COMMA"+Math.random()+"\0",IH="\0PERIOD"+Math.random()+"\0",tAe=1e5,rAe=4e6;function Cb(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(Cb,"numeric");function nAe(t){return t.split("\\\\").join(yH).split("\\{").join(EH).split("\\}").join(Bb).split("\\,").join(CH).split("\\.").join(IH)}o(nAe,"escapeBraces");function sAe(t){return t.split(yH).join("\\").split(EH).join("{").split(Bb).join("}").split(CH).join(",").split(IH).join(".")}o(sAe,"unescapeBraces");function BH(t){if(!t)return[""];var e=[],r=gH("{","}",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=BH(i);return i.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(BH,"parseCommaParts");function iAe(t,e){if(!t)return[];e=e||{};var r=e.max==null?tAe:e.max,n=e.maxLength==null?rAe:e.maxLength;return t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),Ib(nAe(t),r,n,!0).map(sAe)}o(iAe,"expandTop");function oAe(t){return"{"+t+"}"}o(oAe,"embrace");function aAe(t){return/^-?0\d/.test(t)}o(aAe,"isPadded");function cAe(t,e){return t<=e}o(cAe,"lte");function lAe(t,e){return t>=e}o(lAe,"gte");function Ju(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(Ju,"combine");function AAe(t,e,r,n){var s=t.split(/\.\./),i=[];if(s[0]===void 0||s[1]===void 0)return i;var a=Cb(s[0]),c=Cb(s[1]),l=Math.max(s[0].length,s[1].length),A=s.length===3&&s[2]!==void 0?Math.max(Math.abs(Cb(s[2])),1):1,u=cAe,d=c<a;d&&(A*=-1,u=lAe);for(var m=s.some(aAe),h=0,p=a;u(p,c)&&i.length<r;p+=A){var f;if(e)f=String.fromCharCode(p),f==="\\"&&(f="");else if(f=String(p),m){var C=l-f.length;if(C>0){var y=new Array(C+1).join("0");p<0?f="-"+y+f.slice(1):f=y+f}}if(h+f.length>n)break;i.push(f),h+=f.length}return i}o(AAe,"expandSequence");function Ib(t,e,r,n){for(var s=[""],i=[0],a=!1,c=!0,l;;){var A=gH("{","}",t);if(!A)return Ju(s,i,t,[""],e,r,a,[]);var u=A.pre;if(/\$$/.test(u))return Ju(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),h=d||m,p=A.body.indexOf(",")>=0;if(!h&&!p){if(A.post.match(/,(?!,).*\}/)){t=A.pre+"{"+A.body+Bb+A.post,n=!0,c=!0,a=!1,i=[];for(var f=0;f<s.length;f++)i.push(s[f].length);continue}return Ju(s,i,u+"{"+A.body+"}"+A.post,[""],e,r,a,[])}c&&(a=n&&!h,c=!1);var C;if(h)C=AAe(A.body,m,e,r);else{var y=BH(A.body);if(y.length===1&&y[0]!==void 0&&(y=Ib(y[0],e,r,!1).map(oAe),y.length===1)){if(l=[],s=Ju(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 w=0;w<y.length;w++)for(var S=Ib(y[w],e,r,!1),T=0;T<S.length;T++){var ee=S[T];if(!(E&&!ee)){if(C.length>=e||B+ee.length>r)break e;C.push(ee),B+=ee.length}}}if(l=[],s=Ju(s,i,u,C,e,r,a&&!A.post.length,l),i=l,!A.post.length)break;t=A.post}return s}o(Ib,"expand")});var vH=g((MTe,RH)=>{RH.exports=zr;zr.Minimatch=Lt;var Wu=(function(){try{return require("path")}catch{}})()||{sep:"/"};zr.sep=Wu.sep;var bb=zr.GLOBSTAR=Lt.GLOBSTAR={},uAe=xH(),bH={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Qb="[^/]",xb=Qb+"*?",dAe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",mAe="(?:(?!(?:\\/|^)\\.).)*?",wH=hAe("().*{}+?[]^$\\!");function hAe(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(hAe,"charSet");var NH=/\/+/;zr.filter=pAe;function pAe(t,e){return e=e||{},function(r,n,s){return zr(r,t,e)}}o(pAe,"filter");function mo(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(mo,"ext");zr.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return zr;var e=zr,r=o(function(s,i,a){return e(s,i,mo(t,a))},"minimatch");return r.Minimatch=o(function(s,i){return new e.Minimatch(s,mo(t,i))},"Minimatch"),r.Minimatch.defaults=o(function(s){return e.defaults(mo(t,s)).Minimatch},"defaults"),r.filter=o(function(s,i){return e.filter(s,mo(t,i))},"filter"),r.defaults=o(function(s){return e.defaults(mo(t,s))},"defaults"),r.makeRe=o(function(s,i){return e.makeRe(s,mo(t,i))},"makeRe"),r.braceExpand=o(function(s,i){return e.braceExpand(s,mo(t,i))},"braceExpand"),r.match=function(n,s,i){return e.match(n,s,mo(t,i))},r};Lt.defaults=function(t){return zr.defaults(t).Minimatch};function zr(t,e,r){return pf(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new Lt(e,r).match(t)}o(zr,"minimatch");function Lt(t,e){if(!(this instanceof Lt))return new Lt(t,e);pf(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&Wu.sep!=="/"&&(t=t.split(Wu.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(Lt,"Minimatch");Lt.prototype.debug=function(){};Lt.prototype.make=fAe;function fAe(){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(NH)}),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(fAe,"make");Lt.prototype.parseNegate=gAe;function gAe(){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(gAe,"parseNegate");zr.braceExpand=function(t,e){return SH(t,e)};Lt.prototype.braceExpand=SH;function SH(t,e){return e||(this instanceof Lt?e=this.options:e={}),t=typeof t>"u"?this.pattern:t,pf(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:uAe(t)}o(SH,"braceExpand");var yAe=1024*64,pf=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>yAe)throw new TypeError("pattern is too long")},"assertValidPattern");Lt.prototype.parse=EAe;var hf={};function EAe(t,e){pf(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return bb;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}(?:$|\\/))":"(?!\\.)",h=this;function p(){if(l){switch(l){case"*":n+=xb,s=!0;break;case"?":n+=Qb,s=!0;break;default:n+="\\"+l;break}h.debug("clearStateChar %j %j",l,n),l=!1}}o(p,"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&&wH[y]){n+="\\"+y,i=!1;continue}switch(y){case"/":return!1;case"\\":p(),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}h.debug("call clearStateChar %j",l),p(),l=y,r.noext&&p();continue;case"(":if(A){n+="(";continue}if(!l){n+="\\(";continue}a.push({type:l,start:f-1,reStart:n.length,open:bH[l].open,close:bH[l].close}),n+=l==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",l,n),l=!1;continue;case")":if(A||!a.length){n+="\\)";continue}p(),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}p(),n+="|";continue;case"[":if(p(),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,hf);n=n.substr(0,u)+"\\["+B[0]+"\\]",s=s||B[1],A=!1;continue}s=!0,A=!1,n+=y;continue;default:p(),i?i=!1:wH[y]&&!(y==="^"&&A)&&(n+="\\"),n+=y}}for(A&&(I=t.substr(d+1),B=this.parse(I,hf),n=n.substr(0,u)+"\\["+B[0],s=s||B[1]),E=a.pop();E;E=a.pop()){var w=n.slice(E.reStart+E.open.length);this.debug("setting tail",n,E),w=w.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(Je,ns,vr){return vr||(vr="\\"),ns+ns+vr+"|"}),this.debug(`tail=%j
|
|
%s`,w,w,E,n);var S=E.type==="*"?xb:E.type==="?"?Qb:"\\"+E.type;s=!0,n=n.slice(0,E.reStart)+S+"\\("+w}p(),i&&(n+="\\\\");var T=!1;switch(n.charAt(0)){case"[":case".":case"(":T=!0}for(var ee=c.length-1;ee>-1;ee--){var be=c[ee],Be=n.slice(0,be.reStart),Ne=n.slice(be.reStart,be.reEnd-8),ce=n.slice(be.reEnd-8,be.reEnd),De=n.slice(be.reEnd);ce+=De;var ie=Be.split("(").length-1,yt=De;for(f=0;f<ie;f++)yt=yt.replace(/\)[+*?]?/,"");De=yt;var H="";De===""&&e!==hf&&(H="$");var Qe=Be+Ne+De+H+ce;n=Qe}if(n!==""&&s&&(n="(?=.)"+n),T&&(n=m+n),e===hf)return[n,s];if(!s)return IAe(t);var rs=r.nocase?"i":"";try{var qi=new RegExp("^"+n+"$",rs)}catch{return new RegExp("$.")}return qi._glob=t,qi._src=n,qi}o(EAe,"parse");zr.makeRe=function(t,e){return new Lt(t,e||{}).makeRe()};Lt.prototype.makeRe=CAe;function CAe(){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?xb:e.dot?dAe:mAe,n=e.nocase?"i":"",s=t.map(function(i){return i.map(function(a){return a===bb?r:typeof a=="string"?BAe(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(CAe,"makeRe");zr.match=function(t,e,r){r=r||{};var n=new Lt(e,r);return t=t.filter(function(s){return n.match(s)}),n.options.nonull&&!t.length&&t.push(e),t};Lt.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;Wu.sep!=="/"&&(e=e.split(Wu.sep).join("/")),e=e.split(NH),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");Lt.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===bb){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 h;if(typeof l=="string"?(h=A===l,this.debug("string match",l,A,h)):(h=A.match(l),this.debug("pattern match",l,A,h)),!h)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 IAe(t){return t.replace(/\\(.)/g,"$1")}o(IAe,"globUnescape");function BAe(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(BAe,"regExpEscape")});var Ku=g((nMe,TH)=>{"use strict";var vAe="2.0.0",PAe=Number.MAX_SAFE_INTEGER||9007199254740991,DAe=16,kAe=250,TAe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];TH.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:DAe,MAX_SAFE_BUILD_LENGTH:kAe,MAX_SAFE_INTEGER:PAe,RELEASE_TYPES:TAe,SEMVER_SPEC_VERSION:vAe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Xu=g((sMe,MH)=>{"use strict";var MAe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};MH.exports=MAe});var ml=g((Es,LH)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Nb,MAX_SAFE_BUILD_LENGTH:LAe,MAX_LENGTH:_Ae}=Ku(),FAe=Xu();Es=LH.exports={};var UAe=Es.re=[],OAe=Es.safeRe=[],_=Es.src=[],qAe=Es.safeSrc=[],F=Es.t={},HAe=0,Sb="[a-zA-Z0-9-]",zAe=[["\\s",1],["\\d",_Ae],[Sb,LAe]],GAe=o(t=>{for(let[e,r]of zAe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),re=o((t,e,r)=>{let n=GAe(e),s=HAe++;FAe(t,s,e),F[t]=s,_[s]=e,qAe[s]=n,UAe[s]=new RegExp(e,r?"g":void 0),OAe[s]=new RegExp(n,r?"g":void 0)},"createToken");re("NUMERICIDENTIFIER","0|[1-9]\\d*");re("NUMERICIDENTIFIERLOOSE","\\d+");re("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Sb}*`);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",`${Sb}+`);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,${Nb}})(?:\\.(\\d{1,${Nb}}))?(?:\\.(\\d{1,${Nb}}))?`);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);Es.tildeTrimReplace="$1~";re("TILDE",`^${_[F.LONETILDE]}${_[F.XRANGEPLAIN]}$`);re("TILDELOOSE",`^${_[F.LONETILDE]}${_[F.XRANGEPLAINLOOSE]}$`);re("LONECARET","(?:\\^)");re("CARETTRIM",`(\\s*)${_[F.LONECARET]}\\s+`,!0);Es.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);Es.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 yf=g((oMe,_H)=>{"use strict";var YAe=Object.freeze({loose:!0}),VAe=Object.freeze({}),JAe=o(t=>t?typeof t!="object"?YAe:t:VAe,"parseOptions");_H.exports=JAe});var Rb=g((cMe,OH)=>{"use strict";var FH=/^[0-9]+$/,UH=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=FH.test(t),n=FH.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)=>UH(e,t),"rcompareIdentifiers");OH.exports={compareIdentifiers:UH,rcompareIdentifiers:WAe}});var zt=g((AMe,HH)=>{"use strict";var Ef=Xu(),{MAX_LENGTH:qH,MAX_SAFE_INTEGER:Cf}=Ku(),{safeRe:If,t:Bf}=ml(),$Ae=yf(),{compareIdentifiers:vb}=Rb(),Pb=class t{static{o(this,"SemVer")}constructor(e,r){if(r=$Ae(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>qH)throw new TypeError(`version is longer than ${qH} characters`);Ef("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?If[Bf.LOOSE]:If[Bf.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(Ef("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(Ef("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 vb(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(Ef("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 vb(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?If[Bf.PRERELEASELOOSE]:If[Bf.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]),vb(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}};HH.exports=Pb});var ya=g((dMe,GH)=>{"use strict";var zH=zt(),jAe=o((t,e,r=!1)=>{if(t instanceof zH)return t;try{return new zH(t,e)}catch(n){if(!r)return null;throw n}},"parse");GH.exports=jAe});var VH=g((hMe,YH)=>{"use strict";var KAe=ya(),XAe=o((t,e)=>{let r=KAe(t,e);return r?r.version:null},"valid");YH.exports=XAe});var WH=g((fMe,JH)=>{"use strict";var ZAe=ya(),eue=o((t,e)=>{let r=ZAe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");JH.exports=eue});var KH=g((yMe,jH)=>{"use strict";var $H=zt(),tue=o((t,e,r,n,s)=>{typeof r=="string"&&(s=n,n=r,r=void 0);try{return new $H(t instanceof $H?t.version:t,r).inc(e,n,s).version}catch{return null}},"inc");jH.exports=tue});var ez=g((CMe,ZH)=>{"use strict";var XH=ya(),rue=o((t,e)=>{let r=XH(t,null,!0),n=XH(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");ZH.exports=rue});var rz=g((BMe,tz)=>{"use strict";var nue=zt(),sue=o((t,e)=>new nue(t,e).major,"major");tz.exports=sue});var sz=g((xMe,nz)=>{"use strict";var iue=zt(),oue=o((t,e)=>new iue(t,e).minor,"minor");nz.exports=oue});var oz=g((wMe,iz)=>{"use strict";var aue=zt(),cue=o((t,e)=>new aue(t,e).patch,"patch");iz.exports=cue});var cz=g((SMe,az)=>{"use strict";var lue=ya(),Aue=o((t,e)=>{let r=lue(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");az.exports=Aue});var fn=g((vMe,Az)=>{"use strict";var lz=zt(),uue=o((t,e,r)=>new lz(t,r).compare(new lz(e,r)),"compare");Az.exports=uue});var dz=g((DMe,uz)=>{"use strict";var due=fn(),mue=o((t,e,r)=>due(e,t,r),"rcompare");uz.exports=mue});var hz=g((TMe,mz)=>{"use strict";var hue=fn(),pue=o((t,e)=>hue(t,e,!0),"compareLoose");mz.exports=pue});var Qf=g((LMe,fz)=>{"use strict";var pz=zt(),fue=o((t,e,r)=>{let n=new pz(t,r),s=new pz(e,r);return n.compare(s)||n.compareBuild(s)},"compareBuild");fz.exports=fue});var yz=g((FMe,gz)=>{"use strict";var gue=Qf(),yue=o((t,e)=>t.sort((r,n)=>gue(r,n,e)),"sort");gz.exports=yue});var Cz=g((OMe,Ez)=>{"use strict";var Eue=Qf(),Cue=o((t,e)=>t.sort((r,n)=>Eue(n,r,e)),"rsort");Ez.exports=Cue});var Zu=g((HMe,Iz)=>{"use strict";var Iue=fn(),Bue=o((t,e,r)=>Iue(t,e,r)>0,"gt");Iz.exports=Bue});var xf=g((GMe,Bz)=>{"use strict";var Que=fn(),xue=o((t,e,r)=>Que(t,e,r)<0,"lt");Bz.exports=xue});var Db=g((VMe,Qz)=>{"use strict";var bue=fn(),wue=o((t,e,r)=>bue(t,e,r)===0,"eq");Qz.exports=wue});var kb=g((WMe,xz)=>{"use strict";var Nue=fn(),Sue=o((t,e,r)=>Nue(t,e,r)!==0,"neq");xz.exports=Sue});var bf=g((jMe,bz)=>{"use strict";var Rue=fn(),vue=o((t,e,r)=>Rue(t,e,r)>=0,"gte");bz.exports=vue});var wf=g((XMe,wz)=>{"use strict";var Pue=fn(),Due=o((t,e,r)=>Pue(t,e,r)<=0,"lte");wz.exports=Due});var Tb=g((eLe,Nz)=>{"use strict";var kue=Db(),Tue=kb(),Mue=Zu(),Lue=bf(),_ue=xf(),Fue=wf(),Uue=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 Tue(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);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");Nz.exports=Uue});var Rz=g((rLe,Sz)=>{"use strict";var Oue=zt(),que=ya(),{safeRe:Nf,t:Sf}=ml(),Hue=o((t,e)=>{if(t instanceof Oue)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?Nf[Sf.COERCEFULL]:Nf[Sf.COERCE]);else{let l=e.includePrerelease?Nf[Sf.COERCERTLFULL]:Nf[Sf.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 que(`${n}.${s}.${i}${a}${c}`,e)},"coerce");Sz.exports=Hue});var Pz=g((sLe,vz)=>{"use strict";var Mb=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}};vz.exports=Mb});var gn=g((oLe,Mz)=>{"use strict";var zue=/\s+/g,Lb=class t{static{o(this,"Range")}constructor(e,r){if(r=Yue(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof _b)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(zue," "),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=>!kz(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&&Xue(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&&jue)|(this.options.loose&&Kue))+":"+e,s=Dz.get(n);if(s)return s;let i=this.options.loose,a=i?er[Gt.HYPHENRANGELOOSE]:er[Gt.HYPHENRANGE];e=e.replace(a,cde(this.options.includePrerelease)),Fe("hyphen replace",e),e=e.replace(er[Gt.COMPARATORTRIM],Jue),Fe("comparator trim",e),e=e.replace(er[Gt.TILDETRIM],Wue),Fe("tilde trim",e),e=e.replace(er[Gt.CARETTRIM],$ue),Fe("caret trim",e);let c=e.split(" ").map(d=>Zue(d,this.options)).join(" ").split(/\s+/).map(d=>ade(d,this.options));i&&(c=c.filter(d=>(Fe("loose invalid filter",d,this.options),!!d.match(er[Gt.COMPARATORLOOSE])))),Fe("range list",c);let l=new Map,A=c.map(d=>new _b(d,this.options));for(let d of A){if(kz(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let u=[...l.values()];return Dz.set(n,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>Tz(n,r)&&e.set.some(s=>Tz(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 Vue(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(lde(this.set[r],e,this.options))return!0;return!1}};Mz.exports=Lb;var Gue=Pz(),Dz=new Gue,Yue=yf(),_b=ed(),Fe=Xu(),Vue=zt(),{safeRe:er,t:Gt,comparatorTrimReplace:Jue,tildeTrimReplace:Wue,caretTrimReplace:$ue}=ml(),{FLAG_INCLUDE_PRERELEASE:jue,FLAG_LOOSE:Kue}=Ku(),kz=o(t=>t.value==="<0.0.0-0","isNullSet"),Xue=o(t=>t.value==="","isAny"),Tz=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"),Zue=o((t,e)=>(t=t.replace(er[Gt.BUILD],""),Fe("comp",t,e),t=rde(t,e),Fe("caret",t),t=ede(t,e),Fe("tildes",t),t=sde(t,e),Fe("xrange",t),t=ode(t,e),Fe("stars",t),t),"parseComparator"),tr=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),ede=o((t,e)=>t.trim().split(/\s+/).map(r=>tde(r,e)).join(" "),"replaceTildes"),tde=o((t,e)=>{let r=e.loose?er[Gt.TILDELOOSE]:er[Gt.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"),rde=o((t,e)=>t.trim().split(/\s+/).map(r=>nde(r,e)).join(" "),"replaceCarets"),nde=o((t,e)=>{Fe("caret",t,e);let r=e.loose?er[Gt.CARETLOOSE]:er[Gt.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"),sde=o((t,e)=>(Fe("replaceXRanges",t,e),t.split(/\s+/).map(r=>ide(r,e)).join(" ")),"replaceXRanges"),ide=o((t,e)=>{t=t.trim();let r=e.loose?er[Gt.XRANGELOOSE]:er[Gt.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"),ode=o((t,e)=>(Fe("replaceStars",t,e),t.trim().replace(er[Gt.STAR],"")),"replaceStars"),ade=o((t,e)=>(Fe("replaceGTE0",t,e),t.trim().replace(er[e.includePrerelease?Gt.GTE0PRE:Gt.GTE0],"")),"replaceGTE0"),cde=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"),lde=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!==_b.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 ed=g((cLe,qz)=>{"use strict";var td=Symbol("SemVer ANY"),Ob=class t{static{o(this,"Comparator")}static get ANY(){return td}constructor(e,r){if(r=Lz(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===td?this.value="":this.value=this.operator+this.semver.version,Ub("comp",this)}parse(e){let r=this.options.loose?_z[Fz.COMPARATORLOOSE]:_z[Fz.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 Uz(n[2],this.options.loose):this.semver=td}toString(){return this.value}test(e){if(Ub("Comparator.test",e,this.options.loose),this.semver===td||e===td)return!0;if(typeof e=="string")try{e=new Uz(e,this.options)}catch{return!1}return Fb(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new Oz(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new Oz(this.value,r).test(e.semver):(r=Lz(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("=")||Fb(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Fb(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};qz.exports=Ob;var Lz=yf(),{safeRe:_z,t:Fz}=ml(),Fb=Tb(),Ub=Xu(),Uz=zt(),Oz=gn()});var rd=g((ALe,Hz)=>{"use strict";var Ade=gn(),ude=o((t,e,r)=>{try{e=new Ade(e,r)}catch{return!1}return e.test(t)},"satisfies");Hz.exports=ude});var Gz=g((dLe,zz)=>{"use strict";var dde=gn(),mde=o((t,e)=>new dde(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");zz.exports=mde});var Vz=g((hLe,Yz)=>{"use strict";var hde=zt(),pde=gn(),fde=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new pde(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");Yz.exports=fde});var Wz=g((fLe,Jz)=>{"use strict";var gde=zt(),yde=gn(),Ede=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new yde(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===1)&&(n=a,s=new gde(n,r))}),n},"minSatisfying");Jz.exports=Ede});var Kz=g((yLe,jz)=>{"use strict";var qb=zt(),Cde=gn(),$z=Zu(),Ide=o((t,e)=>{t=new Cde(t,e);let r=new qb("0.0.0");if(t.test(r)||(r=new qb("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 qb(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||$z(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||$z(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");jz.exports=Ide});var Zz=g((CLe,Xz)=>{"use strict";var Bde=gn(),Qde=o((t,e)=>{try{return new Bde(t,e).range||"*"}catch{return null}},"validRange");Xz.exports=Qde});var Rf=g((BLe,nG)=>{"use strict";var xde=zt(),rG=ed(),{ANY:bde}=rG,wde=gn(),Nde=rd(),eG=Zu(),tG=xf(),Sde=wf(),Rde=bf(),vde=o((t,e,r,n)=>{t=new xde(t,n),e=new wde(e,n);let s,i,a,c,l;switch(r){case">":s=eG,i=Sde,a=tG,c=">",l=">=";break;case"<":s=tG,i=Rde,a=eG,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Nde(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(h=>{h.semver===bde&&(h=new rG(">=0.0.0")),d=d||h,m=m||h,s(h.semver,d.semver,n)?d=h:a(h.semver,m.semver,n)&&(m=h)}),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");nG.exports=vde});var iG=g((xLe,sG)=>{"use strict";var Pde=Rf(),Dde=o((t,e,r)=>Pde(t,e,">",r),"gtr");sG.exports=Dde});var aG=g((wLe,oG)=>{"use strict";var kde=Rf(),Tde=o((t,e,r)=>kde(t,e,"<",r),"ltr");oG.exports=Tde});var AG=g((SLe,lG)=>{"use strict";var cG=gn(),Mde=o((t,e,r)=>(t=new cG(t,r),e=new cG(e,r),t.intersects(e,r)),"intersects");lG.exports=Mde});var dG=g((vLe,uG)=>{"use strict";var Lde=rd(),_de=fn();uG.exports=(t,e,r)=>{let n=[],s=null,i=null,a=t.sort((u,d)=>_de(u,d,r));for(let u of a)Lde(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 yG=g((PLe,gG)=>{"use strict";var mG=gn(),zb=ed(),{ANY:Hb}=zb,nd=rd(),Gb=fn(),Fde=o((t,e,r={})=>{if(t===e)return!0;t=new mG(t,r),e=new mG(e,r);let n=!1;e:for(let s of t.set){for(let i of e.set){let a=Ode(s,i,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),Ude=[new zb(">=0.0.0-0")],hG=[new zb(">=0.0.0")],Ode=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Hb){if(e.length===1&&e[0].semver===Hb)return!0;r.includePrerelease?t=Ude:t=hG}if(e.length===1&&e[0].semver===Hb){if(r.includePrerelease)return!0;e=hG}let n=new Set,s,i;for(let h of t)h.operator===">"||h.operator===">="?s=pG(s,h,r):h.operator==="<"||h.operator==="<="?i=fG(i,h,r):n.add(h.semver);if(n.size>1)return null;let a;if(s&&i){if(a=Gb(s.semver,i.semver,r),a>0)return null;if(a===0&&(s.operator!==">="||i.operator!=="<="))return null}for(let h of n){if(s&&!nd(h,String(s),r)||i&&!nd(h,String(i),r))return null;for(let p of e)if(!nd(h,String(p),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 h of e){if(u=u||h.operator===">"||h.operator===">=",A=A||h.operator==="<"||h.operator==="<=",s){if(m&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===m.major&&h.semver.minor===m.minor&&h.semver.patch===m.patch&&(m=!1),h.operator===">"||h.operator===">="){if(c=pG(s,h,r),c===h&&c!==s)return!1}else if(s.operator===">="&&!nd(s.semver,String(h),r))return!1}if(i){if(d&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===d.major&&h.semver.minor===d.minor&&h.semver.patch===d.patch&&(d=!1),h.operator==="<"||h.operator==="<="){if(l=fG(i,h,r),l===h&&l!==i)return!1}else if(i.operator==="<="&&!nd(i.semver,String(h),r))return!1}if(!h.operator&&(i||s)&&a!==0)return!1}return!(s&&A&&!i&&a!==0||i&&u&&!s&&a!==0||m||d)},"simpleSubset"),pG=o((t,e,r)=>{if(!t)return e;let n=Gb(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),fG=o((t,e,r)=>{if(!t)return e;let n=Gb(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");gG.exports=Fde});var BG=g((kLe,IG)=>{"use strict";var Yb=ml(),EG=Ku(),qde=zt(),CG=Rb(),Hde=ya(),zde=VH(),Gde=WH(),Yde=KH(),Vde=ez(),Jde=rz(),Wde=sz(),$de=oz(),jde=cz(),Kde=fn(),Xde=dz(),Zde=hz(),eme=Qf(),tme=yz(),rme=Cz(),nme=Zu(),sme=xf(),ime=Db(),ome=kb(),ame=bf(),cme=wf(),lme=Tb(),Ame=Rz(),ume=ed(),dme=gn(),mme=rd(),hme=Gz(),pme=Vz(),fme=Wz(),gme=Kz(),yme=Zz(),Eme=Rf(),Cme=iG(),Ime=aG(),Bme=AG(),Qme=dG(),xme=yG();IG.exports={parse:Hde,valid:zde,clean:Gde,inc:Yde,diff:Vde,major:Jde,minor:Wde,patch:$de,prerelease:jde,compare:Kde,rcompare:Xde,compareLoose:Zde,compareBuild:eme,sort:tme,rsort:rme,gt:nme,lt:sme,eq:ime,neq:ome,gte:ame,lte:cme,cmp:lme,coerce:Ame,Comparator:ume,Range:dme,satisfies:mme,toComparators:hme,maxSatisfying:pme,minSatisfying:fme,minVersion:gme,validRange:yme,outside:Eme,gtr:Cme,ltr:Ime,intersects:Bme,simplifyRange:Qme,subset:xme,SemVer:qde,re:Yb.re,src:Yb.src,tokens:Yb.t,SEMVER_SPEC_VERSION:EG.SEMVER_SPEC_VERSION,RELEASE_TYPES:EG.RELEASE_TYPES,compareIdentifiers:CG.compareIdentifiers,rcompareIdentifiers:CG.rcompareIdentifiers}});var AY=g((FFe,lY)=>{var Cl=1e3,Il=Cl*60,Bl=Il*60,ba=Bl*24,ohe=ba*7,ahe=ba*365.25;lY.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return che(t);if(r==="number"&&isFinite(t))return e.long?Ahe(t):lhe(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function che(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*ahe;case"weeks":case"week":case"w":return r*ohe;case"days":case"day":case"d":return r*ba;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Bl;case"minutes":case"minute":case"mins":case"min":case"m":return r*Il;case"seconds":case"second":case"secs":case"sec":case"s":return r*Cl;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(che,"parse");function lhe(t){var e=Math.abs(t);return e>=ba?Math.round(t/ba)+"d":e>=Bl?Math.round(t/Bl)+"h":e>=Il?Math.round(t/Il)+"m":e>=Cl?Math.round(t/Cl)+"s":t+"ms"}o(lhe,"fmtShort");function Ahe(t){var e=Math.abs(t);return e>=ba?tg(t,e,ba,"day"):e>=Bl?tg(t,e,Bl,"hour"):e>=Il?tg(t,e,Il,"minute"):e>=Cl?tg(t,e,Cl,"second"):t+" ms"}o(Ahe,"fmtLong");function tg(t,e,r,n){var s=e>=r*1.5;return Math.round(t/r)+" "+n+(s?"s":"")}o(tg,"plural")});var fw=g((OFe,uY)=>{function uhe(t){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=s,r.enabled=a,r.humanize=AY(),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,h,p;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,(S,T)=>{if(S==="%%")return"%";B++;let ee=r.formatters[T];if(typeof ee=="function"){let be=C[B];S=ee.call(y,be),C.splice(B,1),B--}return S}),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:(h!==r.namespaces&&(h=r.namespaces,p=r.enabled(u)),p),"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,]+/),h=m.length;for(d=0;d<h;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(uhe,"setup");uY.exports=uhe});var dY=g((Vr,rg)=>{Vr.formatArgs=mhe;Vr.save=hhe;Vr.load=phe;Vr.useColors=dhe;Vr.storage=fhe();Vr.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`."))}})();Vr.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 dhe(){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(dhe,"useColors");function mhe(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+rg.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(mhe,"formatArgs");Vr.log=console.debug||console.log||(()=>{});function hhe(t){try{t?Vr.storage.setItem("debug",t):Vr.storage.removeItem("debug")}catch{}}o(hhe,"save");function phe(){let t;try{t=Vr.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(phe,"load");function fhe(){try{return localStorage}catch{}}o(fhe,"localstorage");rg.exports=fw()(Vr);var{formatters:ghe}=rg.exports;ghe.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var hY=g((zFe,mY)=>{"use strict";mY.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 gY=g((GFe,fY)=>{"use strict";var yhe=require("os"),pY=require("tty"),En=hY(),{env:St}=process,yo;En("no-color")||En("no-colors")||En("color=false")||En("color=never")?yo=0:(En("color")||En("colors")||En("color=true")||En("color=always"))&&(yo=1);"FORCE_COLOR"in St&&(St.FORCE_COLOR==="true"?yo=1:St.FORCE_COLOR==="false"?yo=0:yo=St.FORCE_COLOR.length===0?1:Math.min(parseInt(St.FORCE_COLOR,10),3));function gw(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(gw,"translateLevel");function yw(t,e){if(yo===0)return 0;if(En("color=16m")||En("color=full")||En("color=truecolor"))return 3;if(En("color=256"))return 2;if(t&&!e&&yo===void 0)return 0;let r=yo||0;if(St.TERM==="dumb")return r;if(process.platform==="win32"){let n=yhe.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in St)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in St)||St.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in St)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(St.TEAMCITY_VERSION)?1:0;if(St.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in St){let n=parseInt((St.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(St.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(St.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(St.TERM)||"COLORTERM"in St?1:r}o(yw,"supportsColor");function Ehe(t){let e=yw(t,t&&t.isTTY);return gw(e)}o(Ehe,"getSupportLevel");fY.exports={supportsColor:Ehe,stdout:gw(yw(!0,pY.isatty(1))),stderr:gw(yw(!0,pY.isatty(2)))}});var EY=g((_t,sg)=>{var Che=require("tty"),ng=require("util");_t.init=Nhe;_t.log=xhe;_t.formatArgs=Bhe;_t.save=bhe;_t.load=whe;_t.useColors=Ihe;_t.destroy=ng.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");_t.colors=[6,2,3,4,5,1];try{let t=gY();t&&(t.stderr||t).level>=2&&(_t.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{}_t.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 Ihe(){return"colors"in _t.inspectOpts?!!_t.inspectOpts.colors:Che.isatty(process.stderr.fd)}o(Ihe,"useColors");function Bhe(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+"+sg.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=Qhe()+e+" "+t[0]}o(Bhe,"formatArgs");function Qhe(){return _t.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(Qhe,"getDate");function xhe(...t){return process.stderr.write(ng.format(...t)+`
|
|
`)}o(xhe,"log");function bhe(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(bhe,"save");function whe(){return process.env.DEBUG}o(whe,"load");function Nhe(t){t.inspectOpts={};let e=Object.keys(_t.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=_t.inspectOpts[e[r]]}o(Nhe,"init");sg.exports=fw()(_t);var{formatters:yY}=sg.exports;yY.o=function(t){return this.inspectOpts.colors=this.useColors,ng.inspect(t,this.inspectOpts).split(`
|
|
`).map(e=>e.trim()).join(" ")};yY.O=function(t){return this.inspectOpts.colors=this.useColors,ng.inspect(t,this.inspectOpts)}});var ig=g((JFe,Ew)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Ew.exports=dY():Ew.exports=EY()});var BY=g(Er=>{"use strict";var She=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]})),Rhe=Er&&Er.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),CY=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)&&She(e,t,r);return Rhe(e,t),e};Object.defineProperty(Er,"__esModule",{value:!0});Er.req=Er.json=Er.toBuffer=void 0;var vhe=CY(require("http")),Phe=CY(require("https"));async function IY(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(IY,"toBuffer");Er.toBuffer=IY;async function Dhe(t){let r=(await IY(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let s=n;throw s.message+=` (input: ${r})`,s}}o(Dhe,"json");Er.json=Dhe;function khe(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Phe:vhe).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(khe,"req");Er.req=khe});var wY=g(Jr=>{"use strict";var xY=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]})),The=Jr&&Jr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),bY=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)&&xY(e,t,r);return The(e,t),e},Mhe=Jr&&Jr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&xY(e,t,r)};Object.defineProperty(Jr,"__esModule",{value:!0});Jr.Agent=void 0;var Lhe=bY(require("net")),QY=bY(require("http")),_he=require("https");Mhe(BY(),Jr);var Qs=Symbol("AgentBaseInternalState"),Cw=class extends QY.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Qs]={}}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 Lhe.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)?_he.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 QY.Agent)try{return c.addRequest(e,s)}catch(l){return n(l)}this[Qs].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(i,a),n(c)})}createConnection(){let e=this[Qs].currentSocket;if(this[Qs].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Qs].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Qs]&&(this[Qs].defaultPort=e)}get protocol(){return this[Qs].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Qs]&&(this[Qs].protocol=e)}};Jr.Agent=Cw});var NY=g(Ql=>{"use strict";var Fhe=Ql&&Ql.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ql,"__esModule",{value:!0});Ql.parseProxyResponse=void 0;var Uhe=Fhe(ig()),og=(0,Uhe.default)("https-proxy-agent:parse-proxy-response");function Ohe(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(),og("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(u){a(),og("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){og("have not received end of HTTP headers yet..."),i();return}let h=d.slice(0,m).toString("ascii").split(`\r
|
|
`),p=h.shift();if(!p)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let f=p.split(" "),C=+f[1],y=f.slice(2).join(" "),E={};for(let I of h){if(!I)continue;let B=I.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${I}"`));let w=I.slice(0,B).toLowerCase(),S=I.slice(B+1).trimStart(),T=E[w];typeof T=="string"?E[w]=[T,S]:Array.isArray(T)?T.push(S):E[w]=S}og("got proxy server response: %o %o",p,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(Ohe,"parseProxyResponse");Ql.parseProxyResponse=Ohe});var kY=g(Cn=>{"use strict";var qhe=Cn&&Cn.__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]})),Hhe=Cn&&Cn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),PY=Cn&&Cn.__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)&&qhe(e,t,r);return Hhe(e,t),e},DY=Cn&&Cn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Cn,"__esModule",{value:!0});Cn.HttpsProxyAgent=void 0;var ag=PY(require("net")),SY=PY(require("tls")),zhe=DY(require("assert")),Ghe=DY(ig()),Yhe=wY(),Vhe=require("url"),Jhe=NY(),hd=(0,Ghe.default)("https-proxy-agent"),RY=o(t=>t.servername===void 0&&t.host&&!ag.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),cg=class extends Yhe.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new Vhe.URL(e):e,this.proxyHeaders=r?.headers??{},hd("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?vY(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:"?(hd("Creating `tls.Socket`: %o",this.connectOpts),s=SY.connect(RY(this.connectOpts))):(hd("Creating `net.Socket`: %o",this.connectOpts),s=ag.connect(this.connectOpts));let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=ag.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,Jhe.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",Whe),r.secureEndpoint?(hd("Upgrading socket connection to TLS"),SY.connect({...vY(RY(r),"host","path","port"),socket:s})):s;s.destroy();let d=new ag.Socket({writable:!1});return d.readable=!0,e.once("socket",m=>{hd("Replaying proxy buffer for failed request"),(0,zhe.default)(m.listenerCount("data")>0),m.push(u),m.push(null)}),d}};cg.protocols=["http","https"];Cn.HttpsProxyAgent=cg;function Whe(t){t.resume()}o(Whe,"resume");function vY(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(vY,"omit")});var LY=g(Cr=>{"use strict";var $he=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]})),jhe=Cr&&Cr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),TY=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)&&$he(e,t,r);return jhe(e,t),e};Object.defineProperty(Cr,"__esModule",{value:!0});Cr.req=Cr.json=Cr.toBuffer=void 0;var Khe=TY(require("http")),Xhe=TY(require("https"));async function MY(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(MY,"toBuffer");Cr.toBuffer=MY;async function Zhe(t){let r=(await MY(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let s=n;throw s.message+=` (input: ${r})`,s}}o(Zhe,"json");Cr.json=Zhe;function epe(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Xhe:Khe).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(epe,"req");Cr.req=epe});var OY=g(Wr=>{"use strict";var FY=Wr&&Wr.__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]})),tpe=Wr&&Wr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),UY=Wr&&Wr.__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)&&FY(e,t,r);return tpe(e,t),e},rpe=Wr&&Wr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&FY(e,t,r)};Object.defineProperty(Wr,"__esModule",{value:!0});Wr.Agent=void 0;var npe=UY(require("net")),_Y=UY(require("http")),spe=require("https");rpe(LY(),Wr);var xs=Symbol("AgentBaseInternalState"),Iw=class extends _Y.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 npe.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))?spe.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 _Y.Agent)return c.addRequest(e,s);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)}};Wr.Agent=Iw});var zY=g(In=>{"use strict";var ipe=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]})),ope=In&&In.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),HY=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)&&ipe(e,t,r);return ope(e,t),e},ape=In&&In.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(In,"__esModule",{value:!0});In.HttpProxyAgent=void 0;var cpe=HY(require("net")),lpe=HY(require("tls")),Ape=ape(ig()),upe=require("events"),dpe=OY(),qY=require("url"),xl=(0,Ape.default)("http-proxy-agent"),lg=class extends dpe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new qY.URL(e):e,this.proxyHeaders=r?.headers??{},xl("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?mpe(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 qY.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;xl("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(xl("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),xl("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(xl("Creating `tls.Socket`: %o",this.connectOpts),i=lpe.connect(this.connectOpts)):(xl("Creating `net.Socket`: %o",this.connectOpts),i=cpe.connect(this.connectOpts)),await(0,upe.once)(i,"connect"),i}};lg.protocols=["http","https"];In.HttpProxyAgent=lg;function mpe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(mpe,"omit")});var uV=g(Qg=>{"use strict";Object.defineProperty(Qg,"__esModule",{value:!0});Qg.state=void 0;Qg.state={instrumenterImplementation:void 0}});var SV=g(Sg=>{"use strict";Object.defineProperty(Sg,"__esModule",{value:!0});Sg.state=void 0;Sg.state={operationRequestMap:new WeakMap}});var o4=g(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});var kCe=require("os"),TCe=require("util");function MCe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(MCe,"_interopDefaultLegacy");var LCe=MCe(TCe);function _Ce(t,...e){process.stderr.write(`${LCe.default.format(t,...e)}${kCe.EOL}`)}o(_Ce,"log");var j3=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,X3,ZR=[],ev=[],Jy=[];j3&&tv(j3);var Z3=Object.assign(t=>e4(t),{enable:tv,enabled:rv,disable:FCe,log:_Ce});function tv(t){X3=t,ZR=[],ev=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?ev.push(new RegExp(`^${n.substr(1)}$`)):ZR.push(new RegExp(`^${n}$`));for(let n of Jy)n.enabled=rv(n.namespace)}o(tv,"enable");function rv(t){if(t.endsWith("*"))return!0;for(let e of ev)if(e.test(t))return!1;for(let e of ZR)if(e.test(t))return!0;return!1}o(rv,"enabled");function FCe(){let t=X3||"";return tv(""),t}o(FCe,"disable");function e4(t){let e=Object.assign(r,{enabled:rv(t),destroy:UCe,log:Z3.log,namespace:t,extend:OCe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),Jy.push(e),e}o(e4,"createDebugger");function UCe(){let t=Jy.indexOf(this);return t>=0?(Jy.splice(t,1),!0):!1}o(UCe,"destroy");function OCe(t){let e=e4(`${this.namespace}:${t}`);return e.log=this.log,e}o(OCe,"extend");var tm=Z3,t4=new Set,Yy=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,Wy,$y=tm("azure");$y.log=(...t)=>{tm.log(...t)};var nv=["verbose","info","warning","error"];Yy&&(i4(Yy)?r4(Yy):console.error(`AZURE_LOG_LEVEL set to unknown log level '${Yy}'; logging is not enabled. Acceptable values: ${nv.join(", ")}.`));function r4(t){if(t&&!i4(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${nv.join(",")}`);Wy=t;let e=[];for(let r of t4)s4(r)&&e.push(r.namespace);tm.enable(e.join(","))}o(r4,"setLogLevel");function qCe(){return Wy}o(qCe,"getLogLevel");var K3={verbose:400,info:300,warning:200,error:100};function HCe(t){let e=$y.extend(t);return n4($y,e),{error:Vy(e,"error"),warning:Vy(e,"warning"),info:Vy(e,"info"),verbose:Vy(e,"verbose")}}o(HCe,"createClientLogger");function n4(t,e){e.log=(...r)=>{t.log(...r)}}o(n4,"patchLogMethod");function Vy(t,e){let r=Object.assign(t.extend(e),{level:e});if(n4(t,r),s4(r)){let n=tm.disable();tm.enable(n+","+r.namespace)}return t4.add(r),r}o(Vy,"createLogger");function s4(t){return!!(Wy&&K3[t.level]<=K3[Wy])}o(s4,"shouldEnable");function i4(t){return nv.includes(t)}o(i4,"isAzureLogLevel");Hl.AzureLogger=$y;Hl.createClientLogger=HCe;Hl.getLogLevel=qCe;Hl.setLogLevel=r4});var ov=g(nm=>{"use strict";Object.defineProperty(nm,"__esModule",{value:!0});var zl=new WeakMap,jy=new WeakMap,rm=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,zl.set(this,[]),jy.set(this,!1)}get aborted(){if(!jy.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return jy.get(this)}static get none(){return new t}addEventListener(e,r){if(!zl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");zl.get(this).push(r)}removeEventListener(e,r){if(!zl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=zl.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 a4(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=zl.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),jy.set(t,!0)}o(a4,"abortSignal");var sv=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},iv=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new rm,!!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(){a4(this._signal)}static timeout(e){let r=new rm,n=setTimeout(a4,e,r);return typeof n.unref=="function"&&n.unref(),r}};nm.AbortController=iv;nm.AbortError=sv;nm.AbortSignal=rm});var d4=g(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});var zCe=ov(),mv=require("crypto");function c4(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=e??{};return new Promise((i,a)=>{function c(){a(new zCe.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(c4,"createAbortablePromise");var GCe="The delay was aborted.";function YCe(t,e){let r,{abortSignal:n,abortErrorMsg:s}=e??{};return c4(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:s??GCe})}o(YCe,"delay");function VCe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(VCe,"getRandomIntegerInclusive");function l4(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(l4,"isObject");function A4(t){if(l4(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(A4,"isError");function JCe(t){if(A4(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(JCe,"getErrorMessage");async function WCe(t,e,r){let n=Buffer.from(t,"base64");return mv.createHmac("sha256",n).update(e).digest(r)}o(WCe,"computeSha256Hmac");async function $Ce(t,e){return mv.createHash("sha256").update(t).digest(e)}o($Ce,"computeSha256Hash");function hv(t){return typeof t<"u"&&t!==null}o(hv,"isDefined");function jCe(t,e){if(!hv(t)||typeof t!="object")return!1;for(let r of e)if(!u4(t,r))return!1;return!0}o(jCe,"isObjectWithProperties");function u4(t,e){return hv(t)&&typeof t=="object"&&e in t}o(u4,"objectHasProperty");function KCe(){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(KCe,"generateUUID");var av,dv=typeof((av=globalThis?.crypto)===null||av===void 0?void 0:av.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):mv.randomUUID;dv||(dv=KCe);function XCe(){return dv()}o(XCe,"randomUUID");var cv,lv,Av,uv,ZCe=typeof window<"u"&&typeof window.document<"u",eIe=typeof self=="object"&&typeof self?.importScripts=="function"&&(((cv=self.constructor)===null||cv===void 0?void 0:cv.name)==="DedicatedWorkerGlobalScope"||((lv=self.constructor)===null||lv===void 0?void 0:lv.name)==="ServiceWorkerGlobalScope"||((Av=self.constructor)===null||Av===void 0?void 0:Av.name)==="SharedWorkerGlobalScope"),tIe=typeof process<"u"&&!!process.version&&!!(!((uv=process.versions)===null||uv===void 0)&&uv.node),rIe=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",nIe=typeof Bun<"u"&&typeof Bun.version<"u",sIe=typeof navigator<"u"&&navigator?.product==="ReactNative";function iIe(t,e){switch(e){case"utf-8":return lIe(t);case"base64":return aIe(t);case"base64url":return cIe(t)}}o(iIe,"uint8ArrayToString");function oIe(t,e){switch(e){case"utf-8":return AIe(t);case"base64":return uIe(t);case"base64url":return dIe(t)}}o(oIe,"stringToUint8Array");function aIe(t){return Buffer.from(t).toString("base64")}o(aIe,"uint8ArrayToBase64");function cIe(t){return Buffer.from(t).toString("base64url")}o(cIe,"uint8ArrayToBase64Url");function lIe(t){return Buffer.from(t).toString("utf-8")}o(lIe,"uint8ArrayToUtf8String");function AIe(t){return Buffer.from(t)}o(AIe,"utf8StringToUint8Array");function uIe(t){return Buffer.from(t,"base64")}o(uIe,"base64ToUint8Array");function dIe(t){return Buffer.from(t,"base64url")}o(dIe,"base64UrlToUint8Array");et.computeSha256Hash=$Ce;et.computeSha256Hmac=WCe;et.createAbortablePromise=c4;et.delay=YCe;et.getErrorMessage=JCe;et.getRandomIntegerInclusive=VCe;et.isBrowser=ZCe;et.isBun=nIe;et.isDefined=hv;et.isDeno=rIe;et.isError=A4;et.isNode=tIe;et.isObject=l4;et.isObjectWithProperties=jCe;et.isReactNative=sIe;et.isWebWorker=eIe;et.objectHasProperty=u4;et.randomUUID=XCe;et.stringToUint8Array=oIe;et.uint8ArrayToString=iIe});var k4=g(Ga=>{"use strict";Object.defineProperty(Ga,"__esModule",{value:!0});var mIe=o4(),m4=ov(),hIe=d4(),za=mIe.createClientLogger("core-lro"),p4=2e3,f4=["succeeded","canceled","failed"];function g4(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(g4,"deserializeState");function h4(t){let{state:e,stateProxy:r,isOperationError:n}=t;return s=>{throw n(s)&&(r.setError(e,s),r.setFailed(e)),s}}o(h4,"setStateError");function pIe(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(pIe,"appendReadableErrorMessage");function fIe(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=pIe(e,n.message);return{code:r,message:e}}o(fIe,"simplifyError");function y4(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:h}=fIe(A);u=`. ${m}. ${h}`}let d=`The long-running operation has failed${u}`;r.setError(e,new Error(d)),r.setFailed(e),za.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,gIe({response:c,state:e,processResult:i}))}o(y4,"processOperationStatus");function gIe(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(gIe,"buildResult");async function E4(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};za.verbose("LRO: Operation description:",d);let m=r.initState(d),h=s({response:u,state:m,operationLocation:c});return y4({state:m,status:h,stateProxy:r,response:u,setErrorAsResult:a,processResult:n}),m}o(E4,"initOperation");async function yIe(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(h4({state:r,stateProxy:n,isOperationError:c})),u=i(A,r);if(za.verbose(`LRO: Status:
|
|
Polling from: ${r.config.operationLocation}
|
|
Operation status: ${u}
|
|
Polling status: ${f4.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let d=a(A,r);if(d!==void 0)return{response:await e(d).catch(h4({state:r,stateProxy:n,isOperationError:c})),status:u}}return{response:A,status:u}}o(yIe,"pollOperationHelper");async function C4(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:h,setDelay:p,isDone:f,setErrorAsResult:C}=t,{operationLocation:y}=r.config;if(y!==void 0){let{response:E,status:I}=await yIe({poll:e,getOperationStatus:i,state:r,stateProxy:n,operationLocation:y,getResourceLocation:a,isOperationError:l,options:s});if(y4({status:I,response:E,state:r,stateProxy:n,isDone:f,processResult:d,getError:m,setErrorAsResult:C}),!f4.includes(I)){let B=u?.(E);B&&p(B);let w=c?.(E,r);if(w!==void 0){let S=y!==w;r.config.operationLocation=w,A?.(w,S)}else A?.(y,!1)}h?.(r,E)}}o(C4,"pollOperation");function I4(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(I4,"getOperationLocationPollingUrl");function B4(t){return t.headers.location}o(B4,"getLocationHeader");function Q4(t){return t.headers["operation-location"]}o(Q4,"getOperationLocationHeader");function x4(t){return t.headers["azure-asyncoperation"]}o(x4,"getAzureAsyncOperationHeader");function EIe(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(EIe,"findResourceLocation");function b4(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:s}=t,i=Q4(e),a=x4(e),c=I4({operationLocation:i,azureAsyncOperation:a}),l=B4(e),A=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:EIe({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(b4,"inferLroMode");function w4(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 gv(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 za.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(w4,"transformStatus");function CIe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return w4({status:r,statusCode:t.statusCode})}o(CIe,"getStatus");function IIe(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 w4({status:i,statusCode:t.statusCode})}o(IIe,"getProvisioningState");function gv(t){return t===202?"running":t<300?"succeeded":"failed"}o(gv,"toOperationStatus");function N4({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?BIe(new Date(e)):r*1e3}}o(N4,"parseRetryAfter");function S4(t){let e=t.flatResponse.error;if(!e){za.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){za.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(S4,"getErrorFromResponse");function BIe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}o(BIe,"calculatePollingIntervalFromDate");function R4(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 gv(e.rawResponse.statusCode);case"Body":return yv(e,r);default:return"running"}}o(s,"helper");let i=s();return i==="running"&&n===void 0?"succeeded":i}o(R4,"getStatusFromInitialResponse");async function QIe(t){let{stateProxy:e,resourceLocationConfig:r,processResult:n,lro:s,setErrorAsResult:i}=t;return E4({init:o(async()=>{let a=await s.sendInitialRequest(),c=b4({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:R4,setErrorAsResult:i})}o(QIe,"initHttpOperation");function v4({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return I4({operationLocation:Q4(t),azureAsyncOperation:x4(t)});case"ResourceLocation":return B4(t);default:return}}o(v4,"getOperationLocation");function yv({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return CIe(t);case"ResourceLocation":return gv(t.statusCode);case"Body":return IIe(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}o(yv,"getOperationStatus");function P4({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(P4,"getResourceLocation");function D4(t){return t.name==="RestError"}o(D4,"isOperationError");async function xIe(t){let{lro:e,stateProxy:r,options:n,processResult:s,updateState:i,setDelay:a,state:c,setErrorAsResult:l}=t;return C4({state:c,stateProxy:r,setDelay:a,processResult:s?({flatResponse:A},u)=>s(A,u):({flatResponse:A})=>A,getError:S4,updateState:i,getPollingInterval:N4,getOperationLocation:v4,getOperationStatus:yv,isOperationError:D4,getResourceLocation:P4,options:n,poll:o(async(A,u)=>e.sendPollRequest(A,u),"poll"),setErrorAsResult:l})}o(xIe,"pollHttpOperation");var bIe=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 wIe(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:h,withOperationLocation:p,intervalInMs:f=p4,restoreFrom:C}=d||{},y=bIe(),E=p?(()=>{let Ne=!1;return(ce,De)=>{De?p(ce):Ne||p(ce),Ne=!0}})():void 0,I=C?g4(C):await E4({init:A,stateProxy:y,processResult:m,getOperationStatus:r,withOperationLocation:E,setErrorAsResult:!l}),B,w=new m4.AbortController,S=new Map,T=o(async()=>S.forEach(Ne=>Ne(I)),"handleProgressEvents"),ee="Operation was canceled",be=f,Be={getOperationState:o(()=>I,"getOperationState"),getResult:o(()=>I.result,"getResult"),isDone:o(()=>["succeeded","failed","canceled"].includes(I.status),"isDone"),isStopped:o(()=>B===void 0,"isStopped"),stopPolling:o(()=>{w.abort()},"stopPolling"),toString:o(()=>JSON.stringify({state:I}),"toString"),onProgress:o(Ne=>{let ce=Symbol();return S.set(ce,Ne),()=>S.delete(ce)},"onProgress"),pollUntilDone:o(Ne=>B??(B=(async()=>{let{abortSignal:ce}=Ne||{},{signal:De}=ce?new m4.AbortController([ce,w.signal]):w;if(!Be.isDone())for(await Be.poll({abortSignal:De});!Be.isDone();)await hIe.delay(be,{abortSignal:De}),await Be.poll({abortSignal:De});if(l)return Be.getResult();switch(I.status){case"succeeded":return Be.getResult();case"canceled":throw new Error(ee);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(Be.isDone())return}else switch(I.status){case"succeeded":return;case"canceled":throw new Error(ee);case"failed":throw I.error}if(await C4({poll:u,state:I,stateProxy:y,getOperationLocation:e,isOperationError:s,withOperationLocation:E,getPollingInterval:a,getOperationStatus:n,getResourceLocation:i,processResult:m,getError:c,updateState:h,options:Ne,setDelay:o(ce=>{be=ce},"setDelay"),setErrorAsResult:!l}),await T(),!l)switch(I.status){case"canceled":throw new Error(ee);case"failed":throw I.error}}};return Be}}o(wIe,"buildCreatePoller");async function NIe(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:s,restoreFrom:i,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return wIe({getStatusFromInitialResponse:R4,getStatusFromPollResponse:yv,isOperationError:D4,getOperationLocation:v4,getResourceLocation:P4,getPollingInterval:N4,getError:S4,resolveOnUnsuccessful:l})({init:o(async()=>{let A=await t.sendInitialRequest(),u=b4({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(NIe,"createHttpPoller");var SIe=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"),pv=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=SIe();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await QIe({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 xIe({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 za.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},Ky=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},Xy=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},Zy=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 Xy("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 Ky("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()}},fv=class extends Zy{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=p4,resumeFrom:s,resolveOnUnsuccessful:i=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:A}=r||{},u=s?g4(s):{},d=new pv(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))}};Ga.LroEngine=fv;Ga.Poller=Zy;Ga.PollerCancelledError=Xy;Ga.PollerStoppedError=Ky;Ga.createHttpPoller=NIe});var tW=g((nje,$Ie)=>{$Ie.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 nW=g((sje,rW)=>{var jIe=tW();rW.exports={version:jIe.version}});var dE=g(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.isJsonObject=Wl.typeofJsonValue=void 0;function sBe(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(sBe,"typeofJsonValue");Wl.typeofJsonValue=sBe;function iBe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(iBe,"isJsonObject");Wl.isJsonObject=iBe});var hE=g($l=>{"use strict";Object.defineProperty($l,"__esModule",{value:!0});$l.base64encode=$l.base64decode=void 0;var Mi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),mE=[];for(let t=0;t<Mi.length;t++)mE[Mi[t].charCodeAt(0)]=t;mE[45]=Mi.indexOf("+");mE[95]=Mi.indexOf("/");function oBe(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=mE[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(oBe,"base64decode");$l.base64decode=oBe;function aBe(t){let e="",r=0,n,s=0;for(let i=0;i<t.length;i++)switch(n=t[i],r){case 0:e+=Mi[n>>2],s=(n&3)<<4,r=1;break;case 1:e+=Mi[s|n>>4],s=(n&15)<<2,r=2;break;case 2:e+=Mi[s|n>>6],e+=Mi[n&63],r=0;break}return r&&(e+=Mi[s],e+="=",r==1&&(e+="=")),e}o(aBe,"base64encode");$l.base64encode=aBe});var lW=g(pE=>{"use strict";Object.defineProperty(pE,"__esModule",{value:!0});pE.utf8read=void 0;var Rv=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function cBe(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(Rv(n)),s=0);return r.length?(s&&r.push(Rv(n.slice(0,s))),r.join("")):Rv(n.slice(0,s))}o(cBe,"utf8read");pE.utf8read=cBe});var um=g(js=>{"use strict";Object.defineProperty(js,"__esModule",{value:!0});js.WireType=js.mergeBinaryOptions=js.UnknownFieldHandler=void 0;var lBe;(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")})(lBe=js.UnknownFieldHandler||(js.UnknownFieldHandler={}));function ABe(t,e){return Object.assign(Object.assign({},t),e)}o(ABe,"mergeBinaryOptions");js.mergeBinaryOptions=ABe;var uBe;(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"})(uBe=js.WireType||(js.WireType={}))});var gE=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 mBe(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(mBe,"varint64write");Nr.varint64write=mBe;var fE=65536*65536;function hBe(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>=fE&&(s=s+(n/fE|0),n=n%fE)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,n,s]}o(hBe,"int64fromString");Nr.int64fromString=hBe;function pBe(t,e){if(e>>>0<=2097151)return""+(fE*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(pBe,"int64toString");Nr.int64toString=pBe;function fBe(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(fBe,"varint32write");Nr.varint32write=fBe;function gBe(){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(gBe,"varint32read");Nr.varint32read=gBe});var Po=g(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.PbLong=vo.PbULong=vo.detectBi=void 0;var dm=gE(),Pe;function AW(){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(AW,"detectBi");vo.detectBi=AW;AW();function uW(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(uW,"assertBi");var dW=/^-?[0-9]+$/,EE=4294967296,yE=2147483648,CE=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*EE+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},mm=class t extends CE{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(),!dW.test(e))throw new Error("string is no integer");let[r,n,s]=dm.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/EE)}throw new Error("unknown value "+typeof e)}toString(){return Pe?this.toBigInt().toString():dm.int64toString(this.lo,this.hi)}toBigInt(){return uW(Pe),Pe.V.setInt32(0,this.lo,!0),Pe.V.setInt32(4,this.hi,!0),Pe.V.getBigUint64(0,!0)}};vo.PbULong=mm;mm.ZERO=new mm(0,0);var hm=class t extends CE{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(),!dW.test(e))throw new Error("string is no integer");let[r,n,s]=dm.int64fromString(e);if(r){if(s>yE||s==yE&&n!=0)throw new Error("signed long too small")}else if(s>=yE)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/EE):new t(-e,-e/EE).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&yE)!==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"-"+dm.int64toString(e.lo,e.hi)}return dm.int64toString(this.lo,this.hi)}toBigInt(){return uW(Pe),Pe.V.setInt32(0,this.lo,!0),Pe.V.setInt32(4,this.hi,!0),Pe.V.getBigInt64(0,!0)}};vo.PbLong=hm;hm.ZERO=new hm(0,0)});var vv=g(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.BinaryReader=Kl.binaryReadOptions=void 0;var jl=um(),pm=Po(),mW=gE(),hW={readUnknownField:!0,readerFactory:o(t=>new IE(t),"readerFactory")};function yBe(t){return t?Object.assign(Object.assign({},hW),t):hW}o(yBe,"binaryReadOptions");Kl.binaryReadOptions=yBe;var IE=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=mW.varint64read,this.uint32=mW.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 jl.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case jl.WireType.Bit64:this.pos+=4;case jl.WireType.Bit32:this.pos+=4;break;case jl.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case jl.WireType.StartGroup:let s;for(;(s=this.tag()[1])!==jl.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 pm.PbLong(...this.varint64())}uint64(){return new pm.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 pm.PbLong(e,r)}bool(){let[e,r]=this.varint64();return e!==0||r!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return new pm.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new pm.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),r=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(r,r+e)}string(){return this.textDecoder.decode(this.bytes())}};Kl.BinaryReader=IE});var Xl=g(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.assertFloat32=Sn.assertUInt32=Sn.assertInt32=Sn.assertNever=Sn.assert=void 0;function EBe(t,e){if(!t)throw new Error(e)}o(EBe,"assert");Sn.assert=EBe;function CBe(t,e){throw new Error(e??"Unexpected object: "+t)}o(CBe,"assertNever");Sn.assertNever=CBe;var IBe=34028234663852886e22,BBe=-34028234663852886e22,QBe=4294967295,xBe=2147483647,bBe=-2147483648;function wBe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>xBe||t<bBe)throw new Error("invalid int 32: "+t)}o(wBe,"assertInt32");Sn.assertInt32=wBe;function NBe(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>QBe||t<0)throw new Error("invalid uint 32: "+t)}o(NBe,"assertUInt32");Sn.assertUInt32=NBe;function SBe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>IBe||t<BBe))throw new Error("invalid float 32: "+t)}o(SBe,"assertFloat32");Sn.assertFloat32=SBe});var Pv=g(eA=>{"use strict";Object.defineProperty(eA,"__esModule",{value:!0});eA.BinaryWriter=eA.binaryWriteOptions=void 0;var fm=Po(),gm=gE(),Zl=Xl(),pW={writeUnknownFields:!0,writerFactory:o(()=>new BE,"writerFactory")};function RBe(t){return t?Object.assign(Object.assign({},pW),t):pW}o(RBe,"binaryWriteOptions");eA.binaryWriteOptions=RBe;var BE=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(Zl.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Zl.assertInt32(e),gm.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){Zl.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){Zl.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Zl.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Zl.assertInt32(e),e=(e<<1^e>>31)>>>0,gm.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),s=fm.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=fm.PbULong.from(e);return n.setInt32(0,s.lo,!0),n.setInt32(4,s.hi,!0),this.raw(r)}int64(e){let r=fm.PbLong.from(e);return gm.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=fm.PbLong.from(e),n=r.hi>>31,s=r.lo<<1^n,i=(r.hi<<1|r.lo>>>31)^n;return gm.varint64write(s,i,this.buf),this}uint64(e){let r=fm.PbULong.from(e);return gm.varint64write(r.lo,r.hi,this.buf),this}};eA.BinaryWriter=BE});var Dv=g(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.mergeJsonOptions=Do.jsonWriteOptions=Do.jsonReadOptions=void 0;var fW={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},gW={ignoreUnknownFields:!1};function vBe(t){return t?Object.assign(Object.assign({},gW),t):gW}o(vBe,"jsonReadOptions");Do.jsonReadOptions=vBe;function PBe(t){return t?Object.assign(Object.assign({},fW),t):fW}o(PBe,"jsonWriteOptions");Do.jsonWriteOptions=PBe;function DBe(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(DBe,"mergeJsonOptions");Do.mergeJsonOptions=DBe});var ym=g(QE=>{"use strict";Object.defineProperty(QE,"__esModule",{value:!0});QE.MESSAGE_TYPE=void 0;QE.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var kv=g(xE=>{"use strict";Object.defineProperty(xE,"__esModule",{value:!0});xE.lowerCamelCase=void 0;function kBe(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(kBe,"lowerCamelCase");xE.lowerCamelCase=kBe});var Xn=g(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Qt.readMessageOption=Qt.readFieldOption=Qt.readFieldOptions=Qt.normalizeFieldInfo=Qt.RepeatType=Qt.LongType=Qt.ScalarType=void 0;var yW=kv(),TBe;(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"})(TBe=Qt.ScalarType||(Qt.ScalarType={}));var MBe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(MBe=Qt.LongType||(Qt.LongType={}));var EW;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(EW=Qt.RepeatType||(Qt.RepeatType={}));function LBe(t){var e,r,n,s;return t.localName=(e=t.localName)!==null&&e!==void 0?e:yW.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:yW.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:EW.NO,t.opt=(s=t.opt)!==null&&s!==void 0?s:t.repeat||t.oneof?!1:t.kind=="message",t}o(LBe,"normalizeFieldInfo");Qt.normalizeFieldInfo=LBe;function _Be(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(_Be,"readFieldOptions");Qt.readFieldOptions=_Be;function FBe(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(FBe,"readFieldOption");Qt.readFieldOption=FBe;function UBe(t,e,r){let s=t.options[e];return s===void 0?s:r?r.fromJson(s):s}o(UBe,"readMessageOption");Qt.readMessageOption=UBe});var Tv=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 OBe(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(OBe,"isOneofGroup");Sr.isOneofGroup=OBe;function qBe(t,e){return t[e]}o(qBe,"getOneofValue");Sr.getOneofValue=qBe;function HBe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(HBe,"setOneofValue");Sr.setOneofValue=HBe;function zBe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(zBe,"setUnknownOneofValue");Sr.setUnknownOneofValue=zBe;function GBe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(GBe,"clearOneofValue");Sr.clearOneofValue=GBe;function YBe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(YBe,"getSelectedOneofValue");Sr.getSelectedOneofValue=YBe});var Lv=g(bE=>{"use strict";Object.defineProperty(bE,"__esModule",{value:!0});bE.ReflectionTypeCheck=void 0;var tt=Xn(),VBe=Tv(),Mv=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(!VBe.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)}}};bE.ReflectionTypeCheck=Mv});var NE=g(wE=>{"use strict";Object.defineProperty(wE,"__esModule",{value:!0});wE.reflectionLongConvert=void 0;var CW=Xn();function JBe(t,e){switch(e){case CW.LongType.BIGINT:return t.toBigInt();case CW.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(JBe,"reflectionLongConvert");wE.reflectionLongConvert=JBe});var Fv=g(vE=>{"use strict";Object.defineProperty(vE,"__esModule",{value:!0});vE.ReflectionJsonReader=void 0;var IW=dE(),WBe=hE(),xt=Xn(),SE=Po(),Va=Xl(),RE=NE(),_v=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=IW.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(IW.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 h;switch(c.V.kind){case"message":h=c.V.T().internalJsonRead(m,n);break;case"enum":if(h=this.enum(c.V.T(),m,c.name,n.ignoreUnknownFields),h===!1)continue;break;case"scalar":h=this.scalar(m,c.V.T,c.V.L,c.name);break}this.assert(h!==void 0,c.name+" map value",m);let p=d;c.K==xt.ScalarType.BOOL&&(p=p=="true"?!0:p=="false"?!1:p),p=this.scalar(p,c.K,xt.LongType.STRING,c.name).toString(),u[p]=h}}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"&&Va.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 Va.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:(Va.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}Va.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 xt.ScalarType.DOUBLE:case xt.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==xt.ScalarType.FLOAT&&Va.assertFloat32(a),a;case xt.ScalarType.INT32:case xt.ScalarType.FIXED32:case xt.ScalarType.SFIXED32:case xt.ScalarType.SINT32:case xt.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==xt.ScalarType.UINT32?Va.assertUInt32(c):Va.assertInt32(c),c;case xt.ScalarType.INT64:case xt.ScalarType.SFIXED64:case xt.ScalarType.SINT64:if(e===null)return RE.reflectionLongConvert(SE.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return RE.reflectionLongConvert(SE.PbLong.from(e),n);case xt.ScalarType.FIXED64:case xt.ScalarType.UINT64:if(e===null)return RE.reflectionLongConvert(SE.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return RE.reflectionLongConvert(SE.PbULong.from(e),n);case xt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case xt.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 xt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return WBe.base64decode(e)}}catch(a){i=a.message}this.assert(!1,s+(i?" - "+i:""),e)}};vE.ReflectionJsonReader=_v});var Ov=g(PE=>{"use strict";Object.defineProperty(PE,"__esModule",{value:!0});PE.ReflectionJsonWriter=void 0;var $Be=hE(),BW=Po(),ar=Xn(),Ye=Xl(),Uv=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=BW.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=BW.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case ar.ScalarType.BYTES:return Ye.assert(r instanceof Uint8Array),r.byteLength?$Be.base64encode(r):a?"":void 0}}};PE.ReflectionJsonWriter=Uv});var kE=g(DE=>{"use strict";Object.defineProperty(DE,"__esModule",{value:!0});DE.reflectionScalarDefault=void 0;var Zn=Xn(),QW=NE(),xW=Po();function jBe(t,e=Zn.LongType.STRING){switch(t){case Zn.ScalarType.BOOL:return!1;case Zn.ScalarType.UINT64:case Zn.ScalarType.FIXED64:return QW.reflectionLongConvert(xW.PbULong.ZERO,e);case Zn.ScalarType.INT64:case Zn.ScalarType.SFIXED64:case Zn.ScalarType.SINT64:return QW.reflectionLongConvert(xW.PbLong.ZERO,e);case Zn.ScalarType.DOUBLE:case Zn.ScalarType.FLOAT:return 0;case Zn.ScalarType.BYTES:return new Uint8Array(0);case Zn.ScalarType.STRING:return"";default:return 0}}o(jBe,"reflectionScalarDefault");DE.reflectionScalarDefault=jBe});var Hv=g(TE=>{"use strict";Object.defineProperty(TE,"__esModule",{value:!0});TE.ReflectionBinaryReader=void 0;var bW=um(),lt=Xn(),Em=NE(),wW=kE(),qv=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 h=e.skip(c);m!==!1&&(m===!0?bW.UnknownFieldHandler.onRead:m)(this.info.typeName,r,a,c,h);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,h=l.kind=="scalar"?l.L:void 0;if(u){let C=A[d];if(c==bW.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,h))}else C.push(this.scalar(e,m,h))}else A[d]=this.scalar(e,m,h);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[p,f]=this.mapEntry(l,e,n);A[d][p]=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=wW.reflectionScalarDefault(e.K);a=e.K==lt.ScalarType.BOOL?l.toString():l}if(c===void 0)switch(e.V.kind){case"scalar":c=wW.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 Em.reflectionLongConvert(e.int64(),n);case lt.ScalarType.UINT64:return Em.reflectionLongConvert(e.uint64(),n);case lt.ScalarType.FIXED64:return Em.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 Em.reflectionLongConvert(e.sfixed64(),n);case lt.ScalarType.SINT32:return e.sint32();case lt.ScalarType.SINT64:return Em.reflectionLongConvert(e.sint64(),n)}}};TE.ReflectionBinaryReader=qv});var Gv=g(ME=>{"use strict";Object.defineProperty(ME,"__esModule",{value:!0});ME.ReflectionBinaryWriter=void 0;var en=um(),Te=Xn(),tA=Xl(),Cm=Po(),zv=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"?Te.ScalarType.INT32:i.T;if(l)if(tA.assert(Array.isArray(a)),l==Te.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?tA.assert(i.opt):this.scalar(r,u,i.no,a,c||i.opt);break;case"message":if(l){tA.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":tA.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 Te.ScalarType.INT32:case Te.ScalarType.FIXED32:case Te.ScalarType.UINT32:case Te.ScalarType.SFIXED32:case Te.ScalarType.SINT32:a=Number.parseInt(s);break;case Te.ScalarType.BOOL:tA.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,Te.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;tA.assert(r!==Te.ScalarType.BYTES&&r!==Te.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 Te.ScalarType.INT32:s="int32";break;case Te.ScalarType.STRING:a=i||!r.length,n=en.WireType.LengthDelimited,s="string";break;case Te.ScalarType.BOOL:a=r===!1,s="bool";break;case Te.ScalarType.UINT32:s="uint32";break;case Te.ScalarType.DOUBLE:n=en.WireType.Bit64,s="double";break;case Te.ScalarType.FLOAT:n=en.WireType.Bit32,s="float";break;case Te.ScalarType.INT64:a=i||Cm.PbLong.from(r).isZero(),s="int64";break;case Te.ScalarType.UINT64:a=i||Cm.PbULong.from(r).isZero(),s="uint64";break;case Te.ScalarType.FIXED64:a=i||Cm.PbULong.from(r).isZero(),n=en.WireType.Bit64,s="fixed64";break;case Te.ScalarType.BYTES:a=i||!r.byteLength,n=en.WireType.LengthDelimited,s="bytes";break;case Te.ScalarType.FIXED32:n=en.WireType.Bit32,s="fixed32";break;case Te.ScalarType.SFIXED32:n=en.WireType.Bit32,s="sfixed32";break;case Te.ScalarType.SFIXED64:a=i||Cm.PbLong.from(r).isZero(),n=en.WireType.Bit64,s="sfixed64";break;case Te.ScalarType.SINT32:s="sint32";break;case Te.ScalarType.SINT64:a=i||Cm.PbLong.from(r).isZero(),s="sint64";break}return[n,s,i||a]}};ME.ReflectionBinaryWriter=zv});var Yv=g(LE=>{"use strict";Object.defineProperty(LE,"__esModule",{value:!0});LE.reflectionCreate=void 0;var KBe=kE(),XBe=ym();function ZBe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},XBe.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]=KBe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(ZBe,"reflectionCreate");LE.reflectionCreate=ZBe});var Vv=g(_E=>{"use strict";Object.defineProperty(_E,"__esModule",{value:!0});_E.reflectionMergePartial=void 0;function eQe(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(eQe,"reflectionMergePartial");_E.reflectionMergePartial=eQe});var Wv=g(UE=>{"use strict";Object.defineProperty(UE,"__esModule",{value:!0});UE.reflectionEquals=void 0;var Jv=Xn();function tQe(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"?Jv.ScalarType.INT32:n.T;if(!(n.repeat?NW(c,i,a):RW(c,i,a)))return!1;break;case"map":if(!(n.V.kind=="message"?SW(n.V.T(),FE(i),FE(a)):NW(n.V.kind=="enum"?Jv.ScalarType.INT32:n.V.T,FE(i),FE(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?SW(l,i,a):l.equals(i,a)))return!1;break}}return!0}o(tQe,"reflectionEquals");UE.reflectionEquals=tQe;var FE=Object.values;function RW(t,e,r){if(e===r)return!0;if(t!==Jv.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(RW,"primitiveEq");function NW(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!RW(t,e[n],r[n]))return!1;return!0}o(NW,"repeatedPrimitiveEq");function SW(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(SW,"repeatedMsgEq")});var DW=g(OE=>{"use strict";Object.defineProperty(OE,"__esModule",{value:!0});OE.MessageType=void 0;var rQe=ym(),nQe=Xn(),sQe=Lv(),iQe=Fv(),oQe=Ov(),aQe=Hv(),cQe=Gv(),lQe=Yv(),$v=Vv(),AQe=dE(),vW=Dv(),uQe=Wv(),dQe=Pv(),mQe=vv(),PW=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),hQe=PW[rQe.MESSAGE_TYPE]={},jv=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(nQe.normalizeFieldInfo),this.options=n??{},hQe.value=this,this.messagePrototype=Object.create(null,PW),this.refTypeCheck=new sQe.ReflectionTypeCheck(this),this.refJsonReader=new iQe.ReflectionJsonReader(this),this.refJsonWriter=new oQe.ReflectionJsonWriter(this),this.refBinReader=new aQe.ReflectionBinaryReader(this),this.refBinWriter=new cQe.ReflectionBinaryWriter(this)}create(e){let r=lQe.reflectionCreate(this);return e!==void 0&&$v.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return $v.reflectionMergePartial(this,r,e),r}equals(e,r){return uQe.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){$v.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=mQe.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,vW.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,vW.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 ${AQe.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}};OE.MessageType=jv});var kW=g(qE=>{"use strict";Object.defineProperty(qE,"__esModule",{value:!0});qE.containsMessageType=void 0;var pQe=ym();function fQe(t){return t[pQe.MESSAGE_TYPE]!=null}o(fQe,"containsMessageType");qE.containsMessageType=fQe});var MW=g(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.listEnumNumbers=Ks.listEnumNames=Ks.listEnumValues=Ks.isEnumObject=void 0;function TW(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(TW,"isEnumObject");Ks.isEnumObject=TW;function Kv(t){if(!TW(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(Kv,"listEnumValues");Ks.listEnumValues=Kv;function gQe(t){return Kv(t).map(e=>e.name)}o(gQe,"listEnumNames");Ks.listEnumNames=gQe;function yQe(t){return Kv(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(yQe,"listEnumNumbers");Ks.listEnumNumbers=yQe});var At=g(J=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0});var LW=dE();Object.defineProperty(J,"typeofJsonValue",{enumerable:!0,get:o(function(){return LW.typeofJsonValue},"get")});Object.defineProperty(J,"isJsonObject",{enumerable:!0,get:o(function(){return LW.isJsonObject},"get")});var _W=hE();Object.defineProperty(J,"base64decode",{enumerable:!0,get:o(function(){return _W.base64decode},"get")});Object.defineProperty(J,"base64encode",{enumerable:!0,get:o(function(){return _W.base64encode},"get")});var EQe=lW();Object.defineProperty(J,"utf8read",{enumerable:!0,get:o(function(){return EQe.utf8read},"get")});var Xv=um();Object.defineProperty(J,"WireType",{enumerable:!0,get:o(function(){return Xv.WireType},"get")});Object.defineProperty(J,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return Xv.mergeBinaryOptions},"get")});Object.defineProperty(J,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return Xv.UnknownFieldHandler},"get")});var FW=vv();Object.defineProperty(J,"BinaryReader",{enumerable:!0,get:o(function(){return FW.BinaryReader},"get")});Object.defineProperty(J,"binaryReadOptions",{enumerable:!0,get:o(function(){return FW.binaryReadOptions},"get")});var UW=Pv();Object.defineProperty(J,"BinaryWriter",{enumerable:!0,get:o(function(){return UW.BinaryWriter},"get")});Object.defineProperty(J,"binaryWriteOptions",{enumerable:!0,get:o(function(){return UW.binaryWriteOptions},"get")});var OW=Po();Object.defineProperty(J,"PbLong",{enumerable:!0,get:o(function(){return OW.PbLong},"get")});Object.defineProperty(J,"PbULong",{enumerable:!0,get:o(function(){return OW.PbULong},"get")});var Zv=Dv();Object.defineProperty(J,"jsonReadOptions",{enumerable:!0,get:o(function(){return Zv.jsonReadOptions},"get")});Object.defineProperty(J,"jsonWriteOptions",{enumerable:!0,get:o(function(){return Zv.jsonWriteOptions},"get")});Object.defineProperty(J,"mergeJsonOptions",{enumerable:!0,get:o(function(){return Zv.mergeJsonOptions},"get")});var CQe=ym();Object.defineProperty(J,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return CQe.MESSAGE_TYPE},"get")});var IQe=DW();Object.defineProperty(J,"MessageType",{enumerable:!0,get:o(function(){return IQe.MessageType},"get")});var Ja=Xn();Object.defineProperty(J,"ScalarType",{enumerable:!0,get:o(function(){return Ja.ScalarType},"get")});Object.defineProperty(J,"LongType",{enumerable:!0,get:o(function(){return Ja.LongType},"get")});Object.defineProperty(J,"RepeatType",{enumerable:!0,get:o(function(){return Ja.RepeatType},"get")});Object.defineProperty(J,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return Ja.normalizeFieldInfo},"get")});Object.defineProperty(J,"readFieldOptions",{enumerable:!0,get:o(function(){return Ja.readFieldOptions},"get")});Object.defineProperty(J,"readFieldOption",{enumerable:!0,get:o(function(){return Ja.readFieldOption},"get")});Object.defineProperty(J,"readMessageOption",{enumerable:!0,get:o(function(){return Ja.readMessageOption},"get")});var BQe=Lv();Object.defineProperty(J,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return BQe.ReflectionTypeCheck},"get")});var QQe=Yv();Object.defineProperty(J,"reflectionCreate",{enumerable:!0,get:o(function(){return QQe.reflectionCreate},"get")});var xQe=kE();Object.defineProperty(J,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return xQe.reflectionScalarDefault},"get")});var bQe=Vv();Object.defineProperty(J,"reflectionMergePartial",{enumerable:!0,get:o(function(){return bQe.reflectionMergePartial},"get")});var wQe=Wv();Object.defineProperty(J,"reflectionEquals",{enumerable:!0,get:o(function(){return wQe.reflectionEquals},"get")});var NQe=Hv();Object.defineProperty(J,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return NQe.ReflectionBinaryReader},"get")});var SQe=Gv();Object.defineProperty(J,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return SQe.ReflectionBinaryWriter},"get")});var RQe=Fv();Object.defineProperty(J,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return RQe.ReflectionJsonReader},"get")});var vQe=Ov();Object.defineProperty(J,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return vQe.ReflectionJsonWriter},"get")});var PQe=kW();Object.defineProperty(J,"containsMessageType",{enumerable:!0,get:o(function(){return PQe.containsMessageType},"get")});var Im=Tv();Object.defineProperty(J,"isOneofGroup",{enumerable:!0,get:o(function(){return Im.isOneofGroup},"get")});Object.defineProperty(J,"setOneofValue",{enumerable:!0,get:o(function(){return Im.setOneofValue},"get")});Object.defineProperty(J,"getOneofValue",{enumerable:!0,get:o(function(){return Im.getOneofValue},"get")});Object.defineProperty(J,"clearOneofValue",{enumerable:!0,get:o(function(){return Im.clearOneofValue},"get")});Object.defineProperty(J,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return Im.getSelectedOneofValue},"get")});var HE=MW();Object.defineProperty(J,"listEnumValues",{enumerable:!0,get:o(function(){return HE.listEnumValues},"get")});Object.defineProperty(J,"listEnumNames",{enumerable:!0,get:o(function(){return HE.listEnumNames},"get")});Object.defineProperty(J,"listEnumNumbers",{enumerable:!0,get:o(function(){return HE.listEnumNumbers},"get")});Object.defineProperty(J,"isEnumObject",{enumerable:!0,get:o(function(){return HE.isEnumObject},"get")});var DQe=kv();Object.defineProperty(J,"lowerCamelCase",{enumerable:!0,get:o(function(){return DQe.lowerCamelCase},"get")});var Bm=Xl();Object.defineProperty(J,"assert",{enumerable:!0,get:o(function(){return Bm.assert},"get")});Object.defineProperty(J,"assertNever",{enumerable:!0,get:o(function(){return Bm.assertNever},"get")});Object.defineProperty(J,"assertInt32",{enumerable:!0,get:o(function(){return Bm.assertInt32},"get")});Object.defineProperty(J,"assertUInt32",{enumerable:!0,get:o(function(){return Bm.assertUInt32},"get")});Object.defineProperty(J,"assertFloat32",{enumerable:!0,get:o(function(){return Bm.assertFloat32},"get")})});var eP=g(Xs=>{"use strict";Object.defineProperty(Xs,"__esModule",{value:!0});Xs.readServiceOption=Xs.readMethodOption=Xs.readMethodOptions=Xs.normalizeMethodInfo=void 0;var kQe=At();function TQe(t,e){var r,n,s;let i=t;return i.service=e,i.localName=(r=i.localName)!==null&&r!==void 0?r:kQe.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(TQe,"normalizeMethodInfo");Xs.normalizeMethodInfo=TQe;function MQe(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(MQe,"readMethodOptions");Xs.readMethodOptions=MQe;function LQe(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(LQe,"readMethodOption");Xs.readMethodOption=LQe;function _Qe(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(_Qe,"readServiceOption");Xs.readServiceOption=_Qe});var qW=g(zE=>{"use strict";Object.defineProperty(zE,"__esModule",{value:!0});zE.ServiceType=void 0;var FQe=eP(),tP=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(s=>FQe.normalizeMethodInfo(s,this)),this.options=n??{}}};zE.ServiceType=tP});var nP=g(GE=>{"use strict";Object.defineProperty(GE,"__esModule",{value:!0});GE.RpcError=void 0;var rP=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(`
|
|
`)}};GE.RpcError=rP});var sP=g(VE=>{"use strict";Object.defineProperty(VE,"__esModule",{value:!0});VE.mergeRpcOptions=void 0;var HW=At();function UQe(t,e){if(!e)return t;let r={};YE(t,r),YE(e,r);for(let n of Object.keys(e)){let s=e[n];switch(n){case"jsonOptions":r.jsonOptions=HW.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=HW.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},YE(t.meta,r.meta),YE(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(s):s.concat();break}}return r}o(UQe,"mergeRpcOptions");VE.mergeRpcOptions=UQe;function YE(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(YE,"copy")});var oP=g(Wa=>{"use strict";Object.defineProperty(Wa,"__esModule",{value:!0});Wa.Deferred=Wa.DeferredState=void 0;var Zs;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Zs=Wa.DeferredState||(Wa.DeferredState={}));var iP=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Zs.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!==Zs.PENDING)throw new Error(`cannot resolve ${Zs[this.state].toLowerCase()}`);this._resolve(e),this._state=Zs.RESOLVED}reject(e){if(this.state!==Zs.PENDING)throw new Error(`cannot reject ${Zs[this.state].toLowerCase()}`);this._reject(e),this._state=Zs.REJECTED}resolvePending(e){this._state===Zs.PENDING&&this.resolve(e)}rejectPending(e){this._state===Zs.PENDING&&this.reject(e)}};Wa.Deferred=iP});var cP=g(JE=>{"use strict";Object.defineProperty(JE,"__esModule",{value:!0});JE.RpcOutputStreamController=void 0;var zW=oP(),$a=At(),aP=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){$a.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){$a.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){$a.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(){$a.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;$a.assert(e,"bad state"),$a.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 zW.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;$a.assert(n.state==zW.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};JE.RpcOutputStreamController=aP});var AP=g(rA=>{"use strict";var OQe=rA&&rA.__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(rA,"__esModule",{value:!0});rA.UnaryCall=void 0;var lP=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 OQe(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}})}};rA.UnaryCall=lP});var dP=g(nA=>{"use strict";var qQe=nA&&nA.__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(nA,"__esModule",{value:!0});nA.ServerStreamingCall=void 0;var uP=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 qQe(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}})}};nA.ServerStreamingCall=uP});var hP=g(sA=>{"use strict";var HQe=sA&&sA.__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(sA,"__esModule",{value:!0});sA.ClientStreamingCall=void 0;var mP=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 HQe(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}})}};sA.ClientStreamingCall=mP});var fP=g(iA=>{"use strict";var zQe=iA&&iA.__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(iA,"__esModule",{value:!0});iA.DuplexStreamingCall=void 0;var pP=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 zQe(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}})}};iA.DuplexStreamingCall=pP});var YW=g(cA=>{"use strict";var GQe=cA&&cA.__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(cA,"__esModule",{value:!0});cA.TestTransport=void 0;var Rn=nP(),WE=At(),GW=cP(),YQe=sP(),VQe=AP(),JQe=dP(),WQe=hP(),$Qe=fP(),aA=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 oA?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof oA?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 Rn.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof Rn.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(WE.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),WE.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return GQe(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)WE.assert(e.O.is(i)),s.push(i);else this.data.response instanceof Rn.RpcError||(WE.assert(e.O.is(this.data.response)),s.push(this.data.response));try{yield kt(this.responseDelay,n)(void 0)}catch(i){r.notifyError(i);return}if(this.data.response instanceof Rn.RpcError){r.notifyError(this.data.response);return}for(let i of s){r.notifyMessage(i);try{yield kt(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof Rn.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof Rn.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 Rn.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 Rn.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return YQe.mergeRpcOptions({},e)}unary(e,r,n){var s;let i=(s=n.meta)!==null&&s!==void 0?s:{},a=this.promiseHeaders().then(kt(this.headerDelay,n.abort)),c=a.catch(u=>{}).then(kt(this.responseDelay,n.abort)).then(u=>this.promiseSingleResponse(e)),l=c.catch(u=>{}).then(kt(this.afterResponseDelay,n.abort)).then(u=>this.promiseStatus()),A=c.catch(u=>{}).then(kt(this.afterResponseDelay,n.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput={single:r},new VQe.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(kt(this.headerDelay,n.abort)),c=new GW.RpcOutputStreamController,l=a.then(kt(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then(kt(this.afterResponseDelay,n.abort)),A=l.then(()=>this.promiseStatus()),u=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(A,u),this.lastInput={single:r},new JQe.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(kt(this.headerDelay,r.abort)),a=i.catch(A=>{}).then(kt(this.responseDelay,r.abort)).then(A=>this.promiseSingleResponse(e)),c=a.catch(A=>{}).then(kt(this.afterResponseDelay,r.abort)).then(A=>this.promiseStatus()),l=a.catch(A=>{}).then(kt(this.afterResponseDelay,r.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new oA(this.data,r.abort),new WQe.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(kt(this.headerDelay,r.abort)),a=new GW.RpcOutputStreamController,c=i.then(kt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(kt(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),A=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput=new oA(this.data,r.abort),new $Qe.DuplexStreamingCall(e,s,this.lastInput,i,a,l,A)}};cA.TestTransport=aA;aA.defaultHeaders={responseHeader:"test"};aA.defaultStatus={code:"OK",detail:"all good"};aA.defaultTrailers={responseTrailer:"test"};function kt(t,e){return r=>new Promise((n,s)=>{if(e?.aborted)s(new Rn.RpcError("user cancel","CANCELLED"));else{let i=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(i),s(new Rn.RpcError("user cancel","CANCELLED"))})}})}o(kt,"delay");var oA=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 Rn.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(kt(r,this.abort))}complete(){if(this.data.inputComplete instanceof Rn.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(kt(e,this.abort))}}});var VW=g(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.stackDuplexStreamingInterceptors=vn.stackClientStreamingInterceptors=vn.stackServerStreamingInterceptors=vn.stackUnaryInterceptors=vn.stackIntercept=void 0;var jQe=At();function Qm(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,h,p)=>u.interceptUnary(d,m,h,p),"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,h,p)=>u.interceptServerStreaming(d,m,h,p),"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,h)=>u.interceptClientStreaming(d,m,h),"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,h)=>u.interceptDuplex(d,m,h),"tail")}return A(r,n)}jQe.assertNever(t)}o(Qm,"stackIntercept");vn.stackIntercept=Qm;function KQe(t,e,r,n){return Qm("unary",t,e,n,r)}o(KQe,"stackUnaryInterceptors");vn.stackUnaryInterceptors=KQe;function XQe(t,e,r,n){return Qm("serverStreaming",t,e,n,r)}o(XQe,"stackServerStreamingInterceptors");vn.stackServerStreamingInterceptors=XQe;function ZQe(t,e,r){return Qm("clientStreaming",t,e,r)}o(ZQe,"stackClientStreamingInterceptors");vn.stackClientStreamingInterceptors=ZQe;function exe(t,e,r){return Qm("duplex",t,e,r)}o(exe,"stackDuplexStreamingInterceptors");vn.stackDuplexStreamingInterceptors=exe});var JW=g($E=>{"use strict";Object.defineProperty($E,"__esModule",{value:!0});$E.ServerCallContextController=void 0;var gP=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)}}};$E.ServerCallContextController=gP});var $W=g(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});var txe=qW();Object.defineProperty(rt,"ServiceType",{enumerable:!0,get:o(function(){return txe.ServiceType},"get")});var yP=eP();Object.defineProperty(rt,"readMethodOptions",{enumerable:!0,get:o(function(){return yP.readMethodOptions},"get")});Object.defineProperty(rt,"readMethodOption",{enumerable:!0,get:o(function(){return yP.readMethodOption},"get")});Object.defineProperty(rt,"readServiceOption",{enumerable:!0,get:o(function(){return yP.readServiceOption},"get")});var rxe=nP();Object.defineProperty(rt,"RpcError",{enumerable:!0,get:o(function(){return rxe.RpcError},"get")});var nxe=sP();Object.defineProperty(rt,"mergeRpcOptions",{enumerable:!0,get:o(function(){return nxe.mergeRpcOptions},"get")});var sxe=cP();Object.defineProperty(rt,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return sxe.RpcOutputStreamController},"get")});var ixe=YW();Object.defineProperty(rt,"TestTransport",{enumerable:!0,get:o(function(){return ixe.TestTransport},"get")});var WW=oP();Object.defineProperty(rt,"Deferred",{enumerable:!0,get:o(function(){return WW.Deferred},"get")});Object.defineProperty(rt,"DeferredState",{enumerable:!0,get:o(function(){return WW.DeferredState},"get")});var oxe=fP();Object.defineProperty(rt,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return oxe.DuplexStreamingCall},"get")});var axe=hP();Object.defineProperty(rt,"ClientStreamingCall",{enumerable:!0,get:o(function(){return axe.ClientStreamingCall},"get")});var cxe=dP();Object.defineProperty(rt,"ServerStreamingCall",{enumerable:!0,get:o(function(){return cxe.ServerStreamingCall},"get")});var lxe=AP();Object.defineProperty(rt,"UnaryCall",{enumerable:!0,get:o(function(){return lxe.UnaryCall},"get")});var xm=VW();Object.defineProperty(rt,"stackIntercept",{enumerable:!0,get:o(function(){return xm.stackIntercept},"get")});Object.defineProperty(rt,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return xm.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(rt,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return xm.stackClientStreamingInterceptors},"get")});Object.defineProperty(rt,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return xm.stackServerStreamingInterceptors},"get")});Object.defineProperty(rt,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return xm.stackUnaryInterceptors},"get")});var Axe=JW();Object.defineProperty(rt,"ServerCallContextController",{enumerable:!0,get:o(function(){return Axe.ServerCallContextController},"get")})});var m8=g((vXe,d8)=>{function Pn(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(Pn,"RetryOperation");d8.exports=Pn;Pn.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};Pn.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};Pn.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};Pn.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)};Pn.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};Pn.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};Pn.prototype.start=Pn.prototype.try;Pn.prototype.errors=function(){return this._errors};Pn.prototype.attempts=function(){return this._attempts};Pn.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 h8=g(ec=>{var Bxe=m8();ec.operation=function(t){var e=ec.timeouts(t);return new Bxe(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};ec.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};ec.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};ec.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=ec.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 f8=g((TXe,p8)=>{p8.exports=h8()});var y8=g((MXe,g8)=>{var Qxe=f8();function xxe(t,e){function r(n,s){var i=e||{},a;"randomize"in i||(i.randomize=!0),a=Qxe.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(h){l(h,u)},"catchIt"))}o(A,"runAttempt"),a.attempt(A)}return o(r,"run"),new Promise(r)}o(xxe,"retry");g8.exports=xxe});var L8=g((_Xe,_i)=>{var ve=require("fs"),sC=require("os"),bt=require("path"),E8=require("crypto"),ti={fs:ve.constants,os:sC.constants},C8="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",x8=/XXXXXX/,bxe=3,b8=(ti.O_CREAT||ti.fs.O_CREAT)|(ti.O_EXCL||ti.fs.O_EXCL)|(ti.O_RDWR||ti.fs.O_RDWR),wxe=sC.platform()==="win32",Nxe=ti.EBADF||ti.os.errno.EBADF,Sxe=ti.ENOENT||ti.os.errno.ENOENT,w8=448,N8=384,Rxe="exit",uA=[],S8=ve.rmdirSync.bind(ve),R8=!1;function vxe(t,e){return ve.rm(t,{recursive:!0},e)}o(vxe,"rimraf");function v8(t){return ve.rmSync(t,{recursive:!0})}o(v8,"FN_RIMRAF_SYNC");function XP(t,e){let r=dA(t,e),n=r[0],s=r[1];Oxe(n,function(i,a){if(i)return s(i);let c=a.tries;o((function l(){try{let A=D8(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(XP,"tmpName");function ZP(t){let e=dA(t),r=e[0],n=qxe(r),s=n.tries;do{let i=D8(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(ZP,"tmpNameSync");function Pxe(t,e){let r=dA(t,e),n=r[0],s=r[1];XP(n,o(function(a,c){if(a)return s(a);ve.open(c,b8,n.mode||N8,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,jP(c,-1,n,!1))},"_discardCallback"));{let d=n.discardDescriptor||n.detachDescriptor;s(null,c,u,jP(c,d?-1:u,n,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(Pxe,"file");function Dxe(t){let e=dA(t),r=e[0],n=r.discardDescriptor||r.detachDescriptor,s=ZP(r),i=ve.openSync(s,b8,r.mode||N8);return r.discardDescriptor&&(ve.closeSync(i),i=void 0),{name:s,fd:i,removeCallback:jP(s,n?-1:i,r,!0)}}o(Dxe,"fileSync");function kxe(t,e){let r=dA(t,e),n=r[0],s=r[1];XP(n,o(function(a,c){if(a)return s(a);ve.mkdir(c,n.mode||w8,o(function(A){if(A)return s(A);s(null,c,P8(c,n,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(kxe,"dir");function Txe(t){let e=dA(t),r=e[0],n=ZP(r);return ve.mkdirSync(n,r.mode||w8),{name:n,removeCallback:P8(n,r,!0)}}o(Txe,"dirSync");function Mxe(t,e){let r=o(function(n){if(n&&!KP(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(Mxe,"_removeFileAsync");function Lxe(t){let e=null;try{0<=t[0]&&ve.closeSync(t[0])}catch(r){if(!Hxe(r)&&!KP(r))throw r}finally{try{ve.unlinkSync(t[1])}catch(r){KP(r)||(e=r)}}if(e!==null)throw e}o(Lxe,"_removeFileSync");function jP(t,e,r,n){let s=nC(Lxe,[e,t],n),i=nC(Mxe,[e,t],n,s);return r.keep||uA.unshift(s),n?s:i}o(jP,"_prepareTmpFileRemoveCallback");function P8(t,e,r){let n=e.unsafeCleanup?vxe:ve.rmdir.bind(ve),s=e.unsafeCleanup?v8:S8,i=nC(s,t,r),a=nC(n,t,r,i);return e.keep||uA.unshift(i),r?i:a}o(P8,"_prepareTmpDirRemoveCallback");function nC(t,e,r,n){let s=!1;return o(function i(a){if(!s){let c=n||i,l=uA.indexOf(c);return l>=0&&uA.splice(l,1),s=!0,r||t===S8||t===v8?t(e):t(e,a||function(){})}},"_cleanupCallback")}o(nC,"_prepareRemoveCallback");function _xe(){if(R8)for(;uA.length;)try{uA[0]()}catch{}}o(_xe,"_garbageCollector");function I8(t){let e=[],r=null;try{r=E8.randomBytes(t)}catch{r=E8.pseudoRandomBytes(t)}for(let n=0;n<t;n++)e.push(C8[r[n]%C8.length]);return e.join("")}o(I8,"_randomChars");function Rr(t){return typeof t>"u"}o(Rr,"_isUndefined");function dA(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(dA,"_parseArguments");function Fxe(t,e,r){let n=bt.isAbsolute(t)?t:bt.join(e,t);ve.stat(n,function(s){s?ve.realpath(bt.dirname(n),function(i,a){if(i)return r(i);r(null,bt.join(a,bt.basename(n)))}):ve.realpath(n,r)})}o(Fxe,"_resolvePath");function Uxe(t,e){let r=bt.isAbsolute(t)?t:bt.join(e,t);try{return ve.statSync(r),ve.realpathSync(r)}catch{let s=ve.realpathSync(bt.dirname(r));return bt.join(s,bt.basename(r))}}o(Uxe,"_resolvePathSync");function D8(t){let e=t.tmpdir;if(!Rr(t.name))return bt.join(e,t.dir,t.name);if(!Rr(t.template))return bt.join(e,t.dir,t.template).replace(x8,I8(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",I8(12),t.postfix?"-"+t.postfix:""].join("");return bt.join(e,t.dir,r)}o(D8,"_generateTmpName");function $P(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($P,"_assertPath");function k8(t){if(!Rr(t.name)){let e=t.name;if(bt.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=bt.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(x8))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||bxe:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Rr(t.prefix)?"":$P("prefix",t.prefix),t.postfix=Rr(t.postfix)?"":$P("postfix",t.postfix),t.template=Rr(t.template)?void 0:$P("template",t.template)}o(k8,"_assertOptionsBase");function B8(t,e,r,n){if(Rr(e))return n(null);Fxe(e,r,function(s,i){if(s)return n(s);let a=bt.relative(r,i);if(a.startsWith("..")||bt.isAbsolute(a))return n(new Error(`${t} option must be relative to "${r}", found "${a}".`));n(null,a)})}o(B8,"_getRelativePath");function Q8(t,e,r){if(Rr(e))return;let n=Uxe(e,r),s=bt.relative(r,n);if(s.startsWith("..")||bt.isAbsolute(s))throw new Error(`${t} option must be relative to "${r}", found "${s}".`);return s}o(Q8,"_getRelativePathSync");function Oxe(t,e){Gxe(t,function(r,n){if(r)return e(r);t.tmpdir=n;try{k8(t,n)}catch(s){return e(s)}B8("dir",t.dir,n,function(s,i){if(s)return e(s);t.dir=Rr(i)?"":i,B8("template",t.template,n,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(Oxe,"_assertAndSanitizeOptions");function qxe(t){let e=t.tmpdir=M8(t);k8(t,e);let r=Q8("dir",t.dir,e);return t.dir=Rr(r)?"":r,t.template=Q8("template",t.template,e),t}o(qxe,"_assertAndSanitizeOptionsSync");function Hxe(t){return T8(t,-Nxe,"EBADF")}o(Hxe,"_isEBADF");function KP(t){return T8(t,-Sxe,"ENOENT")}o(KP,"_isENOENT");function T8(t,e,r){return wxe?t.code===r:t.code===r&&t.errno===e}o(T8,"_isExpectedError");function zxe(){R8=!0}o(zxe,"setGracefulCleanup");function Gxe(t,e){return ve.realpath(t&&t.tmpdir||sC.tmpdir(),e)}o(Gxe,"_getTmpDir");function M8(t){return ve.realpathSync(t&&t.tmpdir||sC.tmpdir())}o(M8,"_getTmpDirSync");process.addListener(Rxe,_xe);Object.defineProperty(_i.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return M8()},"get")});_i.exports.dir=kxe;_i.exports.dirSync=Txe;_i.exports.file=Pxe;_i.exports.fileSync=Dxe;_i.exports.tmpName=XP;_i.exports.tmpNameSync=ZP;_i.exports.setGracefulCleanup=zxe});var cr=g(nn=>{"use strict";nn.__esModule=!0;nn.extend=O8;nn.indexOf=$xe;nn.escapeExpression=jxe;nn.isEmpty=Kxe;nn.createFrame=Xxe;nn.blockParams=Zxe;nn.appendContextPath=ebe;var Yxe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},Vxe=/[&<>"'`=]/g,Jxe=/[&<>"'`=]/;function Wxe(t){return Yxe[t]}o(Wxe,"escapeChar");function O8(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(O8,"extend");var rD=Object.prototype.toString;nn.toString=rD;var tD=o(function(e){return typeof e=="function"},"isFunction");tD(/x/)&&(nn.isFunction=tD=o(function(t){return typeof t=="function"&&rD.call(t)==="[object Function]"},"isFunction"));nn.isFunction=tD;var q8=Array.isArray||function(t){return t&&typeof t=="object"?rD.call(t)==="[object Array]":!1};nn.isArray=q8;function $xe(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}o($xe,"indexOf");function jxe(t){if(typeof t!="string"){if(t&&t.toHTML)return t.toHTML();if(t==null)return"";if(!t)return t+"";t=""+t}return Jxe.test(t)?t.replace(Vxe,Wxe):t}o(jxe,"escapeExpression");function Kxe(t){return!t&&t!==0?!0:!!(q8(t)&&t.length===0)}o(Kxe,"isEmpty");function Xxe(t){var e=O8({},t);return e._parent=t,e}o(Xxe,"createFrame");function Zxe(t,e){return t.path=e,t}o(Zxe,"blockParams");function ebe(t,e){return(t?t+".":"")+e}o(ebe,"appendContextPath")});var sn=g((oC,H8)=>{"use strict";oC.__esModule=!0;var nD=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function sD(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<nD.length;l++)this[nD[l]]=c[nD[l]];Error.captureStackTrace&&Error.captureStackTrace(this,sD);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(sD,"Exception");sD.prototype=new Error;oC.default=sD;H8.exports=oC.default});var G8=g((aC,z8)=>{"use strict";aC.__esModule=!0;var iD=cr();aC.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(iD.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=iD.createFrame(r.data);i.contextPath=iD.appendContextPath(r.data.contextPath,r.name),r={data:i}}return s(e,r)})};z8.exports=aC.default});var V8=g((cC,Y8)=>{"use strict";cC.__esModule=!0;function tbe(t){return t&&t.__esModule?t:{default:t}}o(tbe,"_interopRequireDefault");var Rm=cr(),rbe=sn(),nbe=tbe(rbe);cC.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new nbe.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=Rm.appendContextPath(r.data.contextPath,r.ids[0])+"."),Rm.isFunction(e)&&(e=e.call(this)),r.data&&(c=Rm.createFrame(r.data));function A(p,f,C){c&&(c.key=p,c.index=f,c.first=f===0,c.last=!!C,l&&(c.contextPath=l+p)),a=a+n(e[p],{data:c,blockParams:Rm.blockParams([e[p],p],[l+p,null])})}if(o(A,"execIteration"),e&&typeof e=="object")if(Rm.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](),h=m.next();!h.done;h=m.next())d.push(h.value);e=d;for(var u=e.length;i<u;i++)A(i,i,i===e.length-1)}else(function(){var p=void 0;Object.keys(e).forEach(function(f){p!==void 0&&A(p,i-1),p=f,i++}),p!==void 0&&A(p,i-1,!0)})();return i===0&&(a=s(this)),a})};Y8.exports=cC.default});var W8=g((lC,J8)=>{"use strict";lC.__esModule=!0;function sbe(t){return t&&t.__esModule?t:{default:t}}o(sbe,"_interopRequireDefault");var ibe=sn(),obe=sbe(ibe);lC.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new obe.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};J8.exports=lC.default});var X8=g((AC,K8)=>{"use strict";AC.__esModule=!0;function abe(t){return t&&t.__esModule?t:{default:t}}o(abe,"_interopRequireDefault");var $8=cr(),cbe=sn(),j8=abe(cbe);AC.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new j8.default("#if requires exactly one argument");return $8.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||$8.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new j8.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};K8.exports=AC.default});var e$=g((uC,Z8)=>{"use strict";uC.__esModule=!0;uC.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)})};Z8.exports=uC.default});var r$=g((dC,t$)=>{"use strict";dC.__esModule=!0;dC.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};t$.exports=dC.default});var s$=g((mC,n$)=>{"use strict";mC.__esModule=!0;function lbe(t){return t&&t.__esModule?t:{default:t}}o(lbe,"_interopRequireDefault");var vm=cr(),Abe=sn(),ube=lbe(Abe);mC.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new ube.default("#with requires exactly one argument");vm.isFunction(e)&&(e=e.call(this));var n=r.fn;if(vm.isEmpty(e))return r.inverse(this);var s=r.data;return r.data&&r.ids&&(s=vm.createFrame(r.data),s.contextPath=vm.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:s,blockParams:vm.blockParams([e],[s&&s.contextPath])})})};n$.exports=mC.default});var oD=g(hC=>{"use strict";hC.__esModule=!0;hC.registerDefaultHelpers=wbe;hC.moveHelperToHooks=Nbe;function tc(t){return t&&t.__esModule?t:{default:t}}o(tc,"_interopRequireDefault");var dbe=G8(),mbe=tc(dbe),hbe=V8(),pbe=tc(hbe),fbe=W8(),gbe=tc(fbe),ybe=X8(),Ebe=tc(ybe),Cbe=e$(),Ibe=tc(Cbe),Bbe=r$(),Qbe=tc(Bbe),xbe=s$(),bbe=tc(xbe);function wbe(t){mbe.default(t),pbe.default(t),gbe.default(t),Ebe.default(t),Ibe.default(t),Qbe.default(t),bbe.default(t)}o(wbe,"registerDefaultHelpers");function Nbe(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(Nbe,"moveHelperToHooks")});var o$=g((pC,i$)=>{"use strict";pC.__esModule=!0;var Sbe=cr();pC.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=Sbe.extend({},l,r.partials);var A=e(a,c);return n.partials=l,A},"ret")),r.partials[s.args[0]]=s.fn,i})};i$.exports=pC.default});var a$=g(aD=>{"use strict";aD.__esModule=!0;aD.registerDefaultDecorators=Dbe;function Rbe(t){return t&&t.__esModule?t:{default:t}}o(Rbe,"_interopRequireDefault");var vbe=o$(),Pbe=Rbe(vbe);function Dbe(t){Pbe.default(t)}o(Dbe,"registerDefaultDecorators")});var cD=g((fC,c$)=>{"use strict";fC.__esModule=!0;var kbe=cr(),mA={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=kbe.indexOf(mA.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=mA.lookupLevel(e),typeof console<"u"&&mA.lookupLevel(mA.level)<=e){var r=mA.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")};fC.default=mA;c$.exports=fC.default});var lD=g(Pm=>{"use strict";Pm.__esModule=!0;Pm.createProtoAccessControl=_be;Pm.resultIsAllowed=Fbe;Pm.resetLoggedProperties=Obe;function Tbe(t){return t&&t.__esModule?t:{default:t}}o(Tbe,"_interopRequireDefault");var l$=cr(),Mbe=cD(),Lbe=Tbe(Mbe),gC=Object.create(null);function _be(t){var e=Object.create(null);e.__proto__=!1,l$.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,l$.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(_be,"createProtoAccessControl");function Fbe(t,e,r){return A$(typeof t=="function"?e.methods:e.properties,r)}o(Fbe,"resultIsAllowed");function A$(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(Ube(e),!1)}o(A$,"checkWhiteList");function Ube(t){gC[t]!==!0&&(gC[t]=!0,Lbe.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(Ube,"logUnexpecedPropertyAccessOnce");function Obe(){Object.keys(gC).forEach(function(t){delete gC[t]})}o(Obe,"resetLoggedProperties")});var EC=g(ri=>{"use strict";ri.__esModule=!0;ri.HandlebarsEnvironment=dD;function u$(t){return t&&t.__esModule?t:{default:t}}o(u$,"_interopRequireDefault");var rc=cr(),qbe=sn(),AD=u$(qbe),Hbe=oD(),zbe=a$(),Gbe=cD(),yC=u$(Gbe),Ybe=lD(),Vbe="4.7.9";ri.VERSION=Vbe;var Jbe=8;ri.COMPILER_REVISION=Jbe;var Wbe=7;ri.LAST_COMPATIBLE_COMPILER_REVISION=Wbe;var $be={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};ri.REVISION_CHANGES=$be;var uD="[object Object]";function dD(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},Hbe.registerDefaultHelpers(this),zbe.registerDefaultDecorators(this)}o(dD,"HandlebarsEnvironment");dD.prototype={constructor:dD,logger:yC.default,log:yC.default.log,registerHelper:o(function(e,r){if(rc.toString.call(e)===uD){if(r)throw new AD.default("Arg not supported with multiple helpers");rc.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(rc.toString.call(e)===uD)rc.extend(this.partials,e);else{if(typeof r>"u")throw new AD.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(rc.toString.call(e)===uD){if(r)throw new AD.default("Arg not supported with multiple decorators");rc.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){Ybe.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var jbe=yC.default.log;ri.log=jbe;ri.createFrame=rc.createFrame;ri.logger=yC.default});var m$=g((CC,d$)=>{"use strict";CC.__esModule=!0;function mD(t){this.string=t}o(mD,"SafeString");mD.prototype.toString=mD.prototype.toHTML=function(){return""+this.string};CC.default=mD;d$.exports=CC.default});var h$=g(hD=>{"use strict";hD.__esModule=!0;hD.wrapHelper=Kbe;function Kbe(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(Kbe,"wrapHelper")});var C$=g(To=>{"use strict";To.__esModule=!0;To.checkRevision=nwe;To.template=swe;To.wrapProgram=IC;To.resolvePartial=iwe;To.invokePartial=owe;To.noop=y$;function Xbe(t){return t&&t.__esModule?t:{default:t}}o(Xbe,"_interopRequireDefault");function Zbe(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(Zbe,"_interopRequireWildcard");var ewe=cr(),hA=Zbe(ewe),twe=sn(),Fi=Xbe(twe),Ui=EC(),p$=oD(),rwe=h$(),f$=lD();function nwe(t){var e=t&&t[0]||1,r=Ui.COMPILER_REVISION;if(!(e>=Ui.LAST_COMPATIBLE_COMPILER_REVISION&&e<=Ui.COMPILER_REVISION))if(e<Ui.LAST_COMPATIBLE_COMPILER_REVISION){var n=Ui.REVISION_CHANGES[r],s=Ui.REVISION_CHANGES[e];throw new Fi.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 Fi.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(nwe,"checkRevision");function swe(t,e){if(!e)throw new Fi.default("No environment passed to template");if(!t||!t.main)throw new Fi.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=hA.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 Fi.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 Fi.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)||f$.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:hA.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],h=this.fn(c);return l||d||u||A?m=IC(this,c,h,l,A,u,d):m||(m=this.programs[c]=IC(this,c,h)),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=hA.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=awe(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=E$(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={};g$(c,e.helpers,s),g$(c,a.helpers,s),s.helpers=c,t.usePartial&&(s.partials=s.mergeIfNeeded(a.partials,e.partials)),(t.usePartial||t.useDecorators)&&(s.decorators=hA.extend({},e.decorators,a.decorators)),s.hooks={},s.protoAccessControl=f$.createProtoAccessControl(a);var l=a.allowCallsToHelperMissing||r;p$.moveHelperToHooks(s,"helperMissing",l),p$.moveHelperToHooks(s,"blockHelperMissing",l)}},i._child=function(a,c,l,A){if(t.useBlockParams&&!l)throw new Fi.default("must pass block params");if(t.useDepths&&!A)throw new Fi.default("must pass parent depths");return IC(s,a,t[a],c,0,l,A)},i}o(swe,"template");function IC(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=E$(r,c,t,a,n,i),c.program=e,c.depth=a?a.length:0,c.blockParams=s||0,c}o(IC,"wrapProgram");function iwe(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=BC(r.partials,t)):r.name==="@partial-block"?t=BC(r.data,"partial-block"):t=BC(r.partials,r.name),t}o(iwe,"resolvePartial");function owe(t,e,r){var n=BC(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!==y$&&(function(){r.data=Ui.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=Ui.createFrame(l.data),l.data["partial-block"]=n,i(c,l)},"partialBlockWrapper"),i.partials&&(r.partials=hA.extend({},r.partials,i.partials))})(),t===void 0&&s&&(t=s),t===void 0)throw new Fi.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}o(owe,"invokePartial");function y$(){return""}o(y$,"noop");function BC(t,e){if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}o(BC,"lookupOwnProperty");function awe(t,e){return(!e||!("root"in e))&&(e=e?Ui.createFrame(e):{},e.root=t),e}o(awe,"initData");function E$(t,e,r,n,s,i){if(t.decorator){var a={};e=t.decorator(e,a,r,n&&n[0],s,i,n),hA.extend(e,a)}return e}o(E$,"executeDecorators");function g$(t,e,r){e&&Object.keys(e).forEach(function(n){var s=e[n];t[n]=cwe(s,r)})}o(g$,"addHelpers");function cwe(t,e){var r=e.lookupProperty;return rwe.wrapHelper(t,function(n){return n.lookupProperty=r,n})}o(cwe,"passLookupPropertyOption")});var pD=g((QC,I$)=>{"use strict";QC.__esModule=!0;QC.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}};I$.exports=QC.default});var w$=g((xC,b$)=>{"use strict";xC.__esModule=!0;function gD(t){return t&&t.__esModule?t:{default:t}}o(gD,"_interopRequireDefault");function yD(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(yD,"_interopRequireWildcard");var lwe=EC(),B$=yD(lwe),Awe=m$(),uwe=gD(Awe),dwe=sn(),mwe=gD(dwe),hwe=cr(),fD=yD(hwe),pwe=C$(),Q$=yD(pwe),fwe=pD(),gwe=gD(fwe);function x$(){var t=new B$.HandlebarsEnvironment;return fD.extend(t,B$),t.SafeString=uwe.default,t.Exception=mwe.default,t.Utils=fD,t.escapeExpression=fD.escapeExpression,t.VM=Q$,t.template=function(e){return Q$.template(e,t)},t}o(x$,"create");var Dm=x$();Dm.create=x$;gwe.default(Dm);Dm.default=Dm;xC.default=Dm;b$.exports=xC.default});var ED=g((bC,S$)=>{"use strict";bC.__esModule=!0;var N$={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&&!N$.helpers.scopedId(e)&&!e.depth},"simpleId")}};bC.default=N$;S$.exports=bC.default});var v$=g((wC,R$)=>{"use strict";wC.__esModule=!0;var ywe=(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._$),h=c.prepareProgram([m],A[d-1].loc);h.chained=!0,this.$={strip:A[d-2].strip,program:h,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,h=0,p=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,w,S,T,ee,be,Be={},Ne,ce,De,ie;;){if(S=a[a.length-1],this.defaultActions[S]?T=this.defaultActions[S]:((B===null||typeof B>"u")&&(B=I()),T=A[S]&&A[S][B]),typeof T>"u"||!T.length||!T[0]){var yt="";if(!h){ie=[];for(Ne in A[S])this.terminals_[Ne]&&Ne>2&&ie.push("'"+this.terminals_[Ne]+"'");this.lexer.showPosition?yt="Parse error on line "+(d+1)+`:
|
|
`+this.lexer.showPosition()+`
|
|
Expecting `+ie.join(", ")+", got '"+(this.terminals_[B]||B)+"'":yt="Parse error on line "+(d+1)+": Unexpected "+(B==1?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(yt,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:C,expected:ie})}}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+S+", token: "+B);switch(T[0]){case 1:a.push(B),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(T[1]),B=null,w?(B=w,w=null):(m=this.lexer.yyleng,u=this.lexer.yytext,d=this.lexer.yylineno,C=this.lexer.yylloc,h>0&&h--);break;case 2:if(ce=this.productions_[T[1]][1],Be.$=c[c.length-ce],Be._$={first_line:l[l.length-(ce||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(ce||1)].first_column,last_column:l[l.length-1].last_column},y&&(Be._$.range=[l[l.length-(ce||1)].range[0],l[l.length-1].range[1]]),be=this.performAction.call(Be,u,m,d,this.yy,T[1],c,l),typeof be<"u")return be;ce&&(a=a.slice(0,-1*ce*2),c=c.slice(0,-1*ce),l=l.slice(0,-1*ce)),a.push(this.productions_[T[1]][0]),c.push(Be.$),l.push(Be._$),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})();wC.default=ywe;R$.exports=wC.default});var vC=g((RC,k$)=>{"use strict";RC.__esModule=!0;function Ewe(t){return t&&t.__esModule?t:{default:t}}o(Ewe,"_interopRequireDefault");var Cwe=sn(),CD=Ewe(Cwe);function NC(){this.parents=[]}o(NC,"Visitor");NC.prototype={constructor:NC,mutating:!1,acceptKey:o(function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!NC.prototype[n.type])throw new CD.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 CD.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 CD.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:SC,Decorator:SC,BlockStatement:P$,DecoratorBlock:P$,PartialStatement:D$,PartialBlockStatement:o(function(e){D$.call(this,e),this.acceptKey(e,"program")},"PartialBlockStatement"),ContentStatement:o(function(){},"ContentStatement"),CommentStatement:o(function(){},"CommentStatement"),SubExpression:SC,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 SC(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}o(SC,"visitSubExpression");function P$(t){SC.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}o(P$,"visitBlock");function D$(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}o(D$,"visitPartial");RC.default=NC;k$.exports=RC.default});var M$=g((PC,T$)=>{"use strict";PC.__esModule=!0;function Iwe(t){return t&&t.__esModule?t:{default:t}}o(Iwe,"_interopRequireDefault");var Bwe=vC(),Qwe=Iwe(Bwe);function ni(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(ni,"WhitespaceControl");ni.prototype=new Qwe.default;ni.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=ID(n,s,r),A=BD(n,s,r),u=c.openStandalone&&l,d=c.closeStandalone&&A,m=c.inlineStandalone&&l&&A;c.close&&nc(n,s,!0),c.open&&Mo(n,s,!0),e&&m&&(nc(n,s),Mo(n,s)&&a.type==="PartialStatement"&&(a.indent=/([ \t]+$)/.exec(n[s-1].original)[1])),e&&u&&(nc((a.program||a.inverse).body),Mo(n,s)),e&&d&&(nc(n,s),Mo((a.inverse||a.program).body))}}return t};ni.prototype.BlockStatement=ni.prototype.DecoratorBlock=ni.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:BD(e.body),closeStandalone:ID((n||e).body)};if(t.openStrip.close&&nc(e.body,null,!0),r){var a=t.inverseStrip;a.open&&Mo(e.body,null,!0),a.close&&nc(n.body,null,!0),t.closeStrip.open&&Mo(s.body,null,!0),!this.options.ignoreStandalone&&ID(e.body)&&BD(n.body)&&(Mo(e.body),nc(n.body))}else t.closeStrip.open&&Mo(e.body,null,!0);return i};ni.prototype.Decorator=ni.prototype.MustacheStatement=function(t){return t.strip};ni.prototype.PartialStatement=ni.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}};function ID(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(ID,"isPrevWhitespace");function BD(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(BD,"isNextWhitespace");function nc(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(nc,"omitRight");function Mo(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(Mo,"omitLeft");PC.default=ni;T$.exports=PC.default});var L$=g(Dn=>{"use strict";Dn.__esModule=!0;Dn.SourceLocation=wwe;Dn.id=Nwe;Dn.stripFlags=Swe;Dn.stripComment=Rwe;Dn.preparePath=vwe;Dn.prepareMustache=Pwe;Dn.prepareRawBlock=Dwe;Dn.prepareBlock=kwe;Dn.prepareProgram=Twe;Dn.preparePartialBlock=Mwe;function xwe(t){return t&&t.__esModule?t:{default:t}}o(xwe,"_interopRequireDefault");var bwe=sn(),QD=xwe(bwe);function xD(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new QD.default(t.path.original+" doesn't match "+e,r)}}o(xD,"validateClose");function wwe(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(wwe,"SourceLocation");function Nwe(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(Nwe,"id");function Swe(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(Swe,"stripFlags");function Rwe(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(Rwe,"stripComment");function vwe(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 QD.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(vwe,"preparePath");function Pwe(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(Pwe,"prepareMustache");function Dwe(t,e,r,n){xD(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(Dwe,"prepareRawBlock");function kwe(t,e,r,n,s,i){n&&n.path&&xD(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new QD.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(kwe,"prepareBlock");function Twe(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(Twe,"prepareProgram");function Mwe(t,e,r,n){return xD(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(Mwe,"preparePartialBlock")});var F$=g(Tm=>{"use strict";Tm.__esModule=!0;Tm.parseWithoutProcessing=_$;Tm.parse=Gwe;function Lwe(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(Lwe,"_interopRequireWildcard");function ND(t){return t&&t.__esModule?t:{default:t}}o(ND,"_interopRequireDefault");var _we=v$(),bD=ND(_we),Fwe=M$(),Uwe=ND(Fwe),Owe=L$(),qwe=Lwe(Owe),Hwe=sn(),km=ND(Hwe),zwe=cr();Tm.parser=bD.default;var DC={};zwe.extend(DC,qwe);function _$(t,e){if(t.type==="Program")return Ywe(t),t;bD.default.yy=DC,DC.locInfo=function(n){return new DC.SourceLocation(e&&e.srcName,n)};var r=bD.default.parse(t);return r}o(_$,"parseWithoutProcessing");function Gwe(t,e){var r=_$(t,e),n=new Uwe.default(e);return n.accept(r)}o(Gwe,"parse");function Ywe(t){wD(t)}o(Ywe,"validateInputAst");function wD(t){if(t!=null){if(Array.isArray(t)){t.forEach(wD);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!Vwe(t.depth))throw new km.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new km.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 km.default("Invalid AST: PathExpression.parts must only contain strings")}else if(t.type==="NumberLiteral"){if(typeof t.value!="number"||!isFinite(t.value))throw new km.default("Invalid AST: NumberLiteral.value must be a number")}else if(t.type==="BooleanLiteral"&&typeof t.value!="boolean")throw new km.default("Invalid AST: BooleanLiteral.value must be a boolean");Object.keys(t).forEach(function(r){r!=="loc"&&wD(t[r])})}}}o(wD,"validateAstNode");function Vwe(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&t>=0}o(Vwe,"isValidDepth")});var H$=g(Fm=>{"use strict";Fm.__esModule=!0;Fm.Compiler=SD;Fm.precompile=jwe;Fm.compile=Kwe;function O$(t){return t&&t.__esModule?t:{default:t}}o(O$,"_interopRequireDefault");var Jwe=sn(),Lm=O$(Jwe),_m=cr(),Wwe=ED(),Mm=O$(Wwe),$we=[].slice;function SD(){}o(SD,"Compiler");SD.prototype={compiler:SD,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||!q$(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=_m.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 Lm.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){U$(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 Lm.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){U$(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 Lm.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,Mm.default.helpers.simpleId(i))}},"helperSexpr"),PathExpression:o(function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=Mm.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:$we.call(arguments,1),loc:this.sourceNode[0].loc})},"opcode"),addDepth:o(function(e){e&&(this.useDepths=!0)},"addDepth"),classifySexpr:o(function(e){var r=Mm.default.helpers.simpleId(e.path),n=r&&!!this.blockParamIndex(e.path.parts[0]),s=!n&&Mm.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&&!Mm.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&&_m.indexOf(s,e);if(s&&i>=0)return[r,i]}},"blockParamIndex")};function jwe(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new Lm.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(jwe,"precompile");function Kwe(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new Lm.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=_m.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(Kwe,"compile");function q$(t,e){if(t===e)return!0;if(_m.isArray(t)&&_m.isArray(e)&&t.length===e.length){for(var r=0;r<t.length;r++)if(!q$(t[r],e[r]))return!1;return!0}}o(q$,"argEquals");function U$(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(U$,"transformLiteralToPath")});var G$=g(RD=>{var z$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");RD.encode=function(t){if(0<=t&&t<z$.length)return z$[t];throw new TypeError("Must be between 0 and 63: "+t)};RD.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 DD=g(PD=>{var Y$=G$(),vD=5,V$=1<<vD,J$=V$-1,W$=V$;function Xwe(t){return t<0?(-t<<1)+1:(t<<1)+0}o(Xwe,"toVLQSigned");function Zwe(t){var e=(t&1)===1,r=t>>1;return e?-r:r}o(Zwe,"fromVLQSigned");PD.encode=o(function(e){var r="",n,s=Xwe(e);do n=s&J$,s>>>=vD,s>0&&(n|=W$),r+=Y$.encode(n);while(s>0);return r},"base64VLQ_encode");PD.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=Y$.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&W$),l&=J$,i=i+(l<<a),a+=vD}while(c);n.value=Zwe(i),n.rest=r},"base64VLQ_decode")});var gA=g(Vt=>{function e0e(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(e0e,"getArg");Vt.getArg=e0e;var $$=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,t0e=/^data:.+\,.+$/;function Um(t){var e=t.match($$);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o(Um,"urlParse");Vt.urlParse=Um;function pA(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(pA,"urlGenerate");Vt.urlGenerate=pA;function kD(t){var e=t,r=Um(t);if(r){if(!r.path)return t;e=r.path}for(var n=Vt.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,pA(r)):e}o(kD,"normalize");Vt.normalize=kD;function j$(t,e){t===""&&(t="."),e===""&&(e=".");var r=Um(e),n=Um(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),pA(r);if(r||e.match(t0e))return e;if(n&&!n.host&&!n.path)return n.host=e,pA(n);var s=e.charAt(0)==="/"?e:kD(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=s,pA(n)):s}o(j$,"join");Vt.join=j$;Vt.isAbsolute=function(t){return t.charAt(0)==="/"||$$.test(t)};function r0e(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(r0e,"relative");Vt.relative=r0e;var K$=(function(){var t=Object.create(null);return!("__proto__"in t)})();function X$(t){return t}o(X$,"identity");function n0e(t){return Z$(t)?"$"+t:t}o(n0e,"toSetString");Vt.toSetString=K$?X$:n0e;function s0e(t){return Z$(t)?t.slice(1):t}o(s0e,"fromSetString");Vt.fromSetString=K$?X$:s0e;function Z$(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(Z$,"isProtoString");function i0e(t,e,r){var n=fA(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:fA(t.name,e.name)}o(i0e,"compareByOriginalPositions");Vt.compareByOriginalPositions=i0e;function o0e(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=fA(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:fA(t.name,e.name)}o(o0e,"compareByGeneratedPositionsDeflated");Vt.compareByGeneratedPositionsDeflated=o0e;function fA(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(fA,"strcmp");function a0e(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=fA(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:fA(t.name,e.name)}o(a0e,"compareByGeneratedPositionsInflated");Vt.compareByGeneratedPositionsInflated=a0e;function c0e(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(c0e,"parseSourceMapInput");Vt.parseSourceMapInput=c0e;function l0e(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=Um(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=j$(pA(n),e)}return kD(e)}o(l0e,"computeSourceURL");Vt.computeSourceURL=l0e});var LD=g(e5=>{var TD=gA(),MD=Object.prototype.hasOwnProperty,sc=typeof Map<"u";function Oi(){this._array=[],this._set=sc?new Map:Object.create(null)}o(Oi,"ArraySet");Oi.fromArray=o(function(e,r){for(var n=new Oi,s=0,i=e.length;s<i;s++)n.add(e[s],r);return n},"ArraySet_fromArray");Oi.prototype.size=o(function(){return sc?this._set.size:Object.getOwnPropertyNames(this._set).length},"ArraySet_size");Oi.prototype.add=o(function(e,r){var n=sc?e:TD.toSetString(e),s=sc?this.has(e):MD.call(this._set,n),i=this._array.length;(!s||r)&&this._array.push(e),s||(sc?this._set.set(e,i):this._set[n]=i)},"ArraySet_add");Oi.prototype.has=o(function(e){if(sc)return this._set.has(e);var r=TD.toSetString(e);return MD.call(this._set,r)},"ArraySet_has");Oi.prototype.indexOf=o(function(e){if(sc){var r=this._set.get(e);if(r>=0)return r}else{var n=TD.toSetString(e);if(MD.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");Oi.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");Oi.prototype.toArray=o(function(){return this._array.slice()},"ArraySet_toArray");e5.ArraySet=Oi});var n5=g(r5=>{var t5=gA();function A0e(t,e){var r=t.generatedLine,n=e.generatedLine,s=t.generatedColumn,i=e.generatedColumn;return n>r||n==r&&i>=s||t5.compareByGeneratedPositionsInflated(t,e)<=0}o(A0e,"generatedPositionAfter");function kC(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(kC,"MappingList");kC.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");kC.prototype.add=o(function(e){A0e(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");kC.prototype.toArray=o(function(){return this._sorted||(this._array.sort(t5.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");r5.MappingList=kC});var _D=g(s5=>{var Om=DD(),gt=gA(),TC=LD().ArraySet,u0e=n5().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 TC,this._names=new TC,this._mappings=new u0e,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 TC,c=new TC;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(),h=0,p=m.length;h<p;h++){if(A=m[h],l="",A.generatedLine!==r)for(e=0;A.generatedLine!==r;)l+=";",r++;else if(h>0){if(!gt.compareByGeneratedPositionsInflated(A,m[h-1]))continue;l+=","}l+=Om.encode(A.generatedColumn-e),e=A.generatedColumn,A.source!=null&&(d=this._sources.indexOf(A.source),l+=Om.encode(d-a),a=d,l+=Om.encode(A.originalLine-1-s),s=A.originalLine-1,l+=Om.encode(A.originalColumn-n),n=A.originalColumn,A.name!=null&&(u=this._names.indexOf(A.name),l+=Om.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");s5.SourceMapGenerator=kn});var i5=g(ic=>{ic.GREATEST_LOWER_BOUND=1;ic.LEAST_UPPER_BOUND=2;function FD(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?FD(a,e,r,n,s,i):i==ic.LEAST_UPPER_BOUND?e<n.length?e:-1:a:a-t>1?FD(t,a,r,n,s,i):i==ic.LEAST_UPPER_BOUND?a:t<0?-1:t}o(FD,"recursiveSearch");ic.search=o(function(e,r,n,s){if(r.length===0)return-1;var i=FD(-1,r.length,e,r,n,s||ic.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 a5=g(o5=>{function UD(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}o(UD,"swap");function d0e(t,e){return Math.round(t+Math.random()*(e-t))}o(d0e,"randomIntInRange");function OD(t,e,r,n){if(r<n){var s=d0e(r,n),i=r-1;UD(t,s,n);for(var a=t[n],c=r;c<n;c++)e(t[c],a)<=0&&(i+=1,UD(t,i,c));UD(t,i+1,c);var l=i+1;OD(t,e,r,l-1),OD(t,e,l+1,n)}}o(OD,"doQuickSort");o5.quickSort=function(t,e){OD(t,e,0,t.length-1)}});var l5=g(MC=>{var O=gA(),qD=i5(),yA=LD().ArraySet,m0e=DD(),qm=a5().quickSort;function Ue(t,e){var r=t;return typeof t=="string"&&(r=O.parseSourceMapInput(t)),r.sections!=null?new ts(r,e):new Ft(r,e)}o(Ue,"SourceMapConsumer");Ue.fromSourceMap=function(t,e){return Ft.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,qD.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");MC.SourceMapConsumer=Ue;function Ft(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=yA.fromArray(i.map(String),!0),this._sources=yA.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(Ft,"BasicSourceMapConsumer");Ft.prototype=Object.create(Ue.prototype);Ft.prototype.consumer=Ue;Ft.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};Ft.fromSourceMap=o(function(e,r){var n=Object.create(Ft.prototype),s=n._names=yA.fromArray(e._names.toArray(),!0),i=n._sources=yA.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(h){return O.computeSourceURL(n.sourceRoot,h,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 c5;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 qm(n.__originalMappings,O.compareByOriginalPositions),n},"SourceMapConsumer_fromSourceMap");Ft.prototype._version=3;Object.defineProperty(Ft.prototype,"sources",{get:o(function(){return this._absoluteSources.slice()},"get")});function c5(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}o(c5,"Mapping");Ft.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={},h=[],p=[],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 c5,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;)m0e.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])),p.push(f),typeof f.originalLine=="number"&&h.push(f)}qm(p,O.compareByGeneratedPositionsDeflated),this.__generatedMappings=p,qm(h,O.compareByOriginalPositions),this.__originalMappings=h},"SourceMapConsumer_parseMappings");Ft.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 qD.search(e,r,i,a)},"SourceMapConsumer_findMapping");Ft.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");Ft.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");Ft.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");Ft.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");Ft.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");MC.BasicSourceMapConsumer=Ft;function ts(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 yA,this._names=new yA;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(ts,"IndexedSourceMapConsumer");ts.prototype=Object.create(Ue.prototype);ts.prototype.constructor=Ue;ts.prototype._version=3;Object.defineProperty(ts.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")});ts.prototype.originalPositionFor=o(function(e){var r={generatedLine:O.getArg(e,"line"),generatedColumn:O.getArg(e,"column")},n=qD.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");ts.prototype.hasContentsOfAllSources=o(function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},"IndexedSourceMapConsumer_hasContentsOfAllSources");ts.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");ts.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");ts.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)}qm(this.__generatedMappings,O.compareByGeneratedPositionsDeflated),qm(this.__originalMappings,O.compareByOriginalPositions)},"IndexedSourceMapConsumer_parseMappings");MC.IndexedSourceMapConsumer=ts});var u5=g(A5=>{var h0e=_D().SourceMapGenerator,LC=gA(),p0e=/(\r?\n)/,f0e=10,EA="$$$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[EA]=!0,n!=null&&this.add(n)}o(on,"SourceNode");on.fromStringWithSourceMap=o(function(e,r,n){var s=new on,i=e.split(p0e),a=0,c=o(function(){var m=p(),h=p()||"";return m+h;function p(){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 h=i[a]||"",p=h.substr(0,m.generatedColumn-A);i[a]=h.substr(m.generatedColumn-A),A=m.generatedColumn,d(u,p),u=m;return}for(;l<m.generatedLine;)s.add(c()),l++;if(A<m.generatedColumn){var h=i[a]||"";s.add(h.substr(0,m.generatedColumn)),i[a]=h.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 h=r.sourceContentFor(m);h!=null&&(n!=null&&(m=LC.join(n,m)),s.setSourceContent(m,h))}),s;function d(m,h){if(m===null||m.source===void 0)s.add(h);else{var p=n?LC.join(n,m.source):m.source;s.add(new on(m.originalLine,m.originalColumn,p,h,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[EA]||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[EA]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this},"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[EA]?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[EA]?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[LC.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][EA]&&this.children[r].walkSourceContents(e);for(var s=Object.keys(this.sourceContents),r=0,n=s.length;r<n;r++)e(LC.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 h0e(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)===f0e?(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");A5.SourceNode=on});var d5=g(_C=>{_C.SourceMapGenerator=_D().SourceMapGenerator;_C.SourceMapConsumer=l5().SourceMapConsumer;_C.SourceNode=u5().SourceNode});var f5=g((FC,p5)=>{"use strict";FC.__esModule=!0;var zD=cr(),oc=void 0;try{(typeof define!="function"||!define.amd)&&(m5=d5(),oc=m5.SourceNode)}catch{}var m5;oc||(oc=o(function(t,e,r,n){this.src="",n&&this.add(n)},"SourceNode"),oc.prototype={add:o(function(e){zD.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){zD.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 HD(t,e,r){if(zD.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(HD,"castChunk");function h5(t){this.srcFile=t,this.source=[]}o(h5,"CodeGen");h5.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 oc(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 oc?e:(e=HD(e,this,r),new oc(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=HD(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(HD(e[n],this));return r},"generateList"),generateArray:o(function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r},"generateArray")};FC.default=h5;p5.exports=FC.default});var I5=g((UC,C5)=>{"use strict";UC.__esModule=!0;function E5(t){return t&&t.__esModule?t:{default:t}}o(E5,"_interopRequireDefault");var g5=EC(),g0e=sn(),GD=E5(g0e),y0e=cr(),E0e=f5(),y5=E5(E0e);function CA(t){this.value=t}o(CA,"Literal");function IA(){}o(IA,"JavaScriptCompiler");IA.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=g5.COMPILER_REVISION,r=g5.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,n){return y0e.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 GD.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,h=m.programs,p=m.decorators;for(l=0,A=h.length;l<A;l++)d[l]=h[l],p[l]&&(d[l+"_d"]=p[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 y5.default(this.options.srcName),this.decorators=new y5.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(C0e(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:IA,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 CA||(e=this.source.wrap(e)),this.inlineStack.push(e),e},"push"),pushStackLiteral:o(function(e){this.push(new CA(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 GD.default("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof CA)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 CA)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 CA)return n.value;if(!r){if(!this.stackSlot)throw new GD.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 CA?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=IA.RESERVED_WORDS={},r=0,n=t.length;r<n;r++)e[t[r]]=!0})();IA.isValidJavaScriptVariableName=function(t){return!IA.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)};function C0e(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(C0e,"strictLookup");UC.default=IA;C5.exports=UC.default});var x5=g((OC,Q5)=>{"use strict";OC.__esModule=!0;function Hm(t){return t&&t.__esModule?t:{default:t}}o(Hm,"_interopRequireDefault");var I0e=w$(),B0e=Hm(I0e),Q0e=ED(),x0e=Hm(Q0e),YD=F$(),VD=H$(),b0e=I5(),w0e=Hm(b0e),N0e=vC(),S0e=Hm(N0e),R0e=pD(),v0e=Hm(R0e),P0e=B0e.default.create;function B5(){var t=P0e();return t.compile=function(e,r){return VD.compile(e,r,t)},t.precompile=function(e,r){return VD.precompile(e,r,t)},t.AST=x0e.default,t.Compiler=VD.Compiler,t.JavaScriptCompiler=w0e.default,t.Parser=YD.parser,t.parse=YD.parse,t.parseWithoutProcessing=YD.parseWithoutProcessing,t}o(B5,"create");var BA=B5();BA.create=B5;v0e.default(BA);BA.Visitor=S0e.default;BA.default=BA;OC.default=BA;Q5.exports=OC.default});var b5=g(qC=>{"use strict";qC.__esModule=!0;qC.print=M0e;qC.PrintVisitor=nt;function D0e(t){return t&&t.__esModule?t:{default:t}}o(D0e,"_interopRequireDefault");var k0e=vC(),T0e=D0e(k0e);function M0e(t){return new nt().accept(t)}o(M0e,"print");function nt(){this.padding=0}o(nt,"PrintVisitor");nt.prototype=new T0e.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 R5=g((JZe,S5)=>{var HC=x5().default,N5=b5();HC.PrintVisitor=N5.PrintVisitor;HC.print=N5.print;S5.exports=HC;function w5(t,e){var r=require("fs"),n=r.readFileSync(e,"utf8");t.exports=HC.compile(n)}o(w5,"extension");typeof require<"u"&&require.extensions&&(require.extensions[".handlebars"]=w5,require.extensions[".hbs"]=w5)});var ZD=Q(require("os"),1);function si(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(si,"toCommandValue");function YC(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(YC,"toCommandProperties");function Hi(t,e,r){let n=new VC(t,e,r);process.stdout.write(n.toString()+ZD.EOL)}o(Hi,"issueCommand");function JC(t,e=""){Hi(t,{},e)}o(JC,"issue");var XD="::",VC=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=XD+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}=${$5(s)}`)}}return e+=`${XD}${W5(this.message)}`,e}};function W5(t){return si(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(W5,"escapeData");function $5(t){return si(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o($5,"escapeProperty");var ek=Q(require("crypto"),1),$m=Q(require("fs"),1),Wm=Q(require("os"),1);function WC(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!$m.existsSync(r))throw new Error(`Missing file at path: ${r}`);$m.appendFileSync(r,`${si(e)}${Wm.EOL}`,{encoding:"utf8"})}o(WC,"issueFileCommand");function $C(t,e){let r=`ghadelimiter_${ek.randomUUID()}`,n=si(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}${Wm.EOL}${n}${Wm.EOL}${r}`}o($C,"prepareKeyValueMessage");var Ox=Q(require("os"),1);var Vp=Q(XC(),1),xoe=Q(bx(),1);var ps;(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"})(ps||(ps={}));var vU;(function(t){t.Accept="accept",t.ContentType="content-type"})(vU||(vU={}));var PU;(function(t){t.ApplicationJson="application/json"})(PU||(PU={}));var Bve=[ps.MovedPermanently,ps.ResourceMoved,ps.SeeOther,ps.TemporaryRedirect,ps.PermanentRedirect],Qve=[ps.BadGateway,ps.ServiceUnavailable,ps.GatewayTimeout];var TU=require("os"),Ru=require("fs");var Nx=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:woe,appendFile:Noe,writeFile:Soe}=Ru.promises,kU="GITHUB_STEP_SUMMARY";var Sx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Nx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[kU];if(!e)throw new Error(`Unable to find environment variable for $${kU}. Check if your runtime environment supports job summaries.`);try{yield woe(e,Ru.constants.R_OK|Ru.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 Nx(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Soe:Noe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Nx(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(TU.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()}},Dve=new Sx;var Fx=Q(require("os"),1);var _x=require("string_decoder");var Pu=Q(require("os"),1),Lx=Q(require("events"),1),JU=Q(require("child_process"),1),WU=Q(require("path"),1);var HU=require("assert"),Hr=Q(require("path"),1);var vu=Q(require("fs"),1),ao=Q(require("path"),1);var Rx=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:vx,copyFile:LU,lstat:Jp,mkdir:_U,open:_ve,readdir:Px,rename:Roe,rm:FU,rmdir:Fve,stat:ua,symlink:UU,unlink:Dx}=vu.promises,fs=process.platform==="win32";function OU(t){return Rx(this,void 0,void 0,function*(){let e=yield vu.promises.readlink(t);return fs&&!e.endsWith("\\")?`${e}\\`:e})}o(OU,"readlink");var Uve=vu.constants.O_RDONLY;function sl(t){return Rx(this,void 0,void 0,function*(){try{yield ua(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(sl,"exists");function Wp(t){if(t=voe(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return fs?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(Wp,"isRooted");function kx(t,e){return Rx(this,void 0,void 0,function*(){let r;try{r=yield ua(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(fs){let s=ao.extname(t).toUpperCase();if(e.some(i=>i.toUpperCase()===s))return t}else if(MU(r))return t}let n=t;for(let s of e){t=n+s,r=void 0;try{r=yield ua(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(fs){try{let i=ao.dirname(t),a=ao.basename(t).toUpperCase();for(let c of yield Px(i))if(a===c.toUpperCase()){t=ao.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(MU(r))return t}}return""})}o(kx,"tryGetExecutablePath");function voe(t){return t=t||"",fs?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(voe,"normalizeSeparators");function MU(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(MU,"isUnixExecutable");var da=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 zU(t,e){return da(this,arguments,void 0,function*(r,n,s={}){let{force:i,recursive:a,copySourceDirectory:c}=Doe(s),l=(yield sl(n))?yield ua(n):null;if(l&&l.isFile()&&!i)return;let A=l&&l.isDirectory()&&c?Hr.join(n,Hr.basename(r)):n;if(!(yield sl(r)))throw new Error(`no such file or directory: ${r}`);if((yield ua(r)).isDirectory())if(a)yield GU(r,A,0,i);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(Hr.relative(r,A)==="")throw new Error(`'${A}' and '${r}' are the same file`);yield YU(r,A,i)}})}o(zU,"cp");function Tx(t){return da(this,void 0,void 0,function*(){if(fs&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield FU(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(Tx,"rmRF");function ma(t){return da(this,void 0,void 0,function*(){(0,HU.ok)(t,"a path argument must be provided"),yield _U(t,{recursive:!0})})}o(ma,"mkdirP");function pr(t,e){return da(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield pr(t,!1);if(!n)throw fs?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 Poe(t);return r&&r.length>0?r[0]:""})}o(pr,"which");function Poe(t){return da(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(fs&&process.env.PATHEXT)for(let s of process.env.PATHEXT.split(Hr.delimiter))s&&e.push(s);if(Wp(t)){let s=yield kx(t,e);return s?[s]:[]}if(t.includes(Hr.sep))return[];let r=[];if(process.env.PATH)for(let s of process.env.PATH.split(Hr.delimiter))s&&r.push(s);let n=[];for(let s of r){let i=yield kx(Hr.join(s,t),e);i&&n.push(i)}return n})}o(Poe,"findInPath");function Doe(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(Doe,"readCopyOptions");function GU(t,e,r,n){return da(this,void 0,void 0,function*(){if(r>=255)return;r++,yield ma(e);let s=yield Px(t);for(let i of s){let a=`${t}/${i}`,c=`${e}/${i}`;(yield Jp(a)).isDirectory()?yield GU(a,c,r,n):yield YU(a,c,n)}yield vx(e,(yield ua(t)).mode)})}o(GU,"cpDirRecursive");function YU(t,e,r){return da(this,void 0,void 0,function*(){if((yield Jp(t)).isSymbolicLink()){try{yield Jp(e),yield Dx(e)}catch(s){s.code==="EPERM"&&(yield vx(e,"0666"),yield Dx(e))}let n=yield OU(t);yield UU(n,e,fs?"junction":null)}else(!(yield sl(e))||r)&&(yield LU(t,e))})}o(YU,"copyFile");var $U=require("timers");var VU=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())})},$p=process.platform==="win32",jp=class extends Lx.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($p)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(Pu.EOL);for(;i>-1;){let a=s.substring(0,i);n(a),s=s.substring(i+Pu.EOL.length),i=s.indexOf(Pu.EOL)}return s}catch(s){return this._debug(`error processing line. Failed with error ${s}`),""}}_getSpawnFileName(){return $p&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if($p&&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 VU(this,void 0,void 0,function*(){return!Wp(this.toolPath)&&(this.toolPath.includes("/")||$p&&this.toolPath.includes("\\"))&&(this.toolPath=WU.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield pr(this.toolPath,!0),new Promise((e,r)=>VU(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)+Pu.EOL);let s=new Mx(n,this.toolPath);if(s.on("debug",A=>{this._debug(A)}),this.options.cwd&&!(yield sl(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),a=JU.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 jU(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(jU,"argStringToArray");var Mx=class t extends Lx.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,$U.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 KU=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 co(t,e,r){return KU(this,void 0,void 0,function*(){let n=jU(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 jp(s,e,r).exec()})}o(co,"exec");function Du(t,e,r){return KU(this,void 0,void 0,function*(){var n,s;let i="",a="",c=new _x.StringDecoder("utf8"),l=new _x.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"),h=Object.assign(Object.assign({},r?.listeners),{stdout:m,stderr:d}),p=yield co(t,e,Object.assign(Object.assign({},r),{listeners:h}));return i+=c.end(),a+=l.end(),{exitCode:p,stdout:i,stderr:a}})}o(Du,"getExecOutput");var Yve=Fx.default.platform(),Vve=Fx.default.arch();var Moe=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())})},Ux;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Ux||(Ux={}));function nl(t){Hi("add-mask",{},t)}o(nl,"setSecret");function ol(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(ol,"getInput");function qx(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],s=ol(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(qx,"getBooleanInput");function XU(t,e){if(process.env.GITHUB_OUTPUT||"")return WC("OUTPUT",$C(t,e));process.stdout.write(Ox.EOL),Hi("set-output",{name:t},si(e))}o(XU,"setOutput");function ZU(t){process.exitCode=Ux.Failure,al(t)}o(ZU,"setFailed");function ha(){return process.env.RUNNER_DEBUG==="1"}o(ha,"isDebug");function b(t){Hi("debug",{},t)}o(b,"debug");function al(t,e={}){Hi("error",YC(e),t instanceof Error?t.toString():t)}o(al,"error");function pt(t,e={}){Hi("warning",YC(e),t instanceof Error?t.toString():t)}o(pt,"warning");function ue(t){process.stdout.write(t+Ox.EOL)}o(ue,"info");function Loe(t){JC("group",t)}o(Loe,"startGroup");function _oe(){JC("endgroup")}o(_oe,"endGroup");function gs(t,e){return Moe(this,void 0,void 0,function*(){Loe(t);let r;try{r=yield e()}finally{_oe()}return r})}o(gs,"group");function Kp(t,e){if(process.env.GITHUB_STATE||"")return WC("STATE",$C(t,e));Hi("save-state",{name:t},si(e))}o(Kp,"saveState");function eO(t){return process.env[`STATE_${t}`]||""}o(eO,"getState");var Nm=Q(require("fs"),1),JP=Q(require("os"),1),WP=Q(require("path"),1);var rO=Q(require("os"),1);function Tu(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Tu,"toCommandValue");function nO(t,e,r){let n=new Hx(t,e,r);process.stdout.write(n.toString()+rO.EOL)}o(nO,"issueCommand");var tO="::",Hx=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=tO+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}=${Uoe(s)}`)}}return e+=`${tO}${Foe(this.message)}`,e}};function Foe(t){return Tu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Foe,"escapeData");function Uoe(t){return Tu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(Uoe,"escapeProperty");var iO=require("os"),Mu=require("fs");var zx=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:Ooe,appendFile:qoe,writeFile:Hoe}=Mu.promises,sO="GITHUB_STEP_SUMMARY";var Gx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return zx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[sO];if(!e)throw new Error(`Unable to find environment variable for $${sO}. Check if your runtime environment supports job summaries.`);try{yield Ooe(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 zx(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Hoe:qoe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return zx(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(iO.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()}},BPe=new Gx;var Yx=Q(require("os"),1);var NPe=Yx.default.platform(),SPe=Yx.default.arch();var oO;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(oO||(oO={}));function Kt(t){nO("debug",{},t)}o(Kt,"debug");var gr=Q(require("fs"),1);var Ule=Q(ub(),1);var uf=Q(require("os"),1),lo=Q(require("path"),1);var hn=Q(ub(),1);var Kq=require("assert");var jq=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 Mke=process.platform==="win32",Lke=process.platform==="darwin";function Xq(t,e,r,n){return jq(this,void 0,void 0,function*(){if(r=hn.clean(r)||r,n=n||uf.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 Hle(e,r,n);for(let i of gr.readdirSync(t)){let a=lo.join(t,i);yield zU(a,s,{recursive:!0})}return zle(e,r,n),s})}o(Xq,"cacheDir");function Zq(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||uf.arch(),!eH(e)){let s=qle(t,r);e=Gle(s,e)}let n="";if(e){e=hn.clean(e)||"";let s=lo.join(df(),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(Zq,"find");function qle(t,e){let r=[];e=e||uf.arch();let n=lo.join(df(),t);if(gr.existsSync(n)){let s=gr.readdirSync(n);for(let i of s)if(eH(i)){let a=lo.join(n,i,e||"");gr.existsSync(a)&&gr.existsSync(`${a}.complete`)&&r.push(i)}}return r}o(qle,"findAllVersions");function Hle(t,e,r){return jq(this,void 0,void 0,function*(){let n=lo.join(df(),t,hn.clean(e)||e,r||"");Kt(`destination ${n}`);let s=`${n}.complete`;return yield Tx(n),yield Tx(s),yield ma(n),n})}o(Hle,"_createToolPath");function zle(t,e,r){let s=`${lo.join(df(),t,hn.clean(e)||e,r||"")}.complete`;gr.writeFileSync(s,""),Kt("finished caching tool")}o(zle,"_completeToolPath");function eH(t){let e=hn.clean(t)||"";Kt(`isExplicit: ${e}`);let r=hn.valid(e)!=null;return Kt(`explicit? ${r}`),r}o(eH,"isExplicitVersion");function Gle(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(Gle,"evaluateVersions");function df(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,Kq.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(df,"_getCacheDirectory");var wm=Q(require("path"),1);var rH=Q(require("os"),1);function zu(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(zu,"toCommandValue");function nH(t,e,r){let n=new db(t,e,r);process.stdout.write(n.toString()+rH.EOL)}o(nH,"issueCommand");var tH="::",db=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=tH+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}=${Jle(s)}`)}}return e+=`${tH}${Vle(this.message)}`,e}};function Vle(t){return zu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Vle,"escapeData");function Jle(t){return zu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(Jle,"escapeProperty");var iH=require("os"),Gu=require("fs");var mb=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:$le,writeFile:jle}=Gu.promises,sH="GITHUB_STEP_SUMMARY";var hb=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return mb(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[sH];if(!e)throw new Error(`Unable to find environment variable for $${sH}. Check if your runtime environment supports job summaries.`);try{yield Wle(e,Gu.constants.R_OK|Gu.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 mb(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?jle:$le)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return mb(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(e,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(iH.EOL)}addCodeBlock(e,r){let 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()}},Xke=new hb;var pb=Q(require("os"),1);var nTe=pb.default.platform(),sTe=pb.default.arch();var oH;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(oH||(oH={}));function pn(t){nH("debug",{},t)}o(pn,"debug");var dl=Q(require("fs"),1);function gb(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,pn(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,pn(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,pn(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,pn(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,pn(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(gb,"getOptions");var gf=Q(require("path"),1);var ll=Q(require("path"),1),Ao=Q(require("assert"),1);var uo=process.platform==="win32";function yi(t){if(t=gi(t),uo&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=ll.dirname(t);return uo&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=gi(e)),e}o(yi,"dirname");function mf(t,e){if((0,Ao.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,Ao.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Yu(e))return e;if(uo){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,Ao.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(zn(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,Ao.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,Ao.default)(Yu(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||uo&&t.endsWith("\\")||(t+=ll.sep),t+e}o(mf,"ensureAbsoluteRoot");function Yu(t){return(0,Ao.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=zn(t),uo?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(Yu,"hasAbsoluteRoot");function Vu(t){return(0,Ao.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=zn(t),uo?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(Vu,"hasRoot");function zn(t){return t=t||"",uo?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(zn,"normalizeSeparators");function gi(t){return t?(t=zn(t),!t.endsWith(ll.sep)||t===ll.sep||uo&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(gi,"safeTrimTrailingSeparator");var Gn;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(Gn||(Gn={}));var aH=process.platform==="win32";function Eb(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let s=aH?n.searchPath.toUpperCase():n.searchPath;e[s]="candidate"}let r=[];for(let n of t){let s=aH?n.searchPath.toUpperCase():n.searchPath;if(e[s]==="included")continue;let i=!1,a=s,c=yi(a);for(;c!==a;){if(e[c]){i=!0;break}a=c,c=yi(a)}i||(r.push(n.searchPath),e[s]="included")}return r}o(Eb,"getSearchPaths");function cH(t,e){let r=Gn.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}o(cH,"match");function lH(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(lH,"partialMatch");var PH=Q(require("os"),1),ul=Q(require("path"),1);var ho=Q(require("assert"),1),DH=Q(vH(),1);var fa=Q(require("path"),1);var Al=Q(require("assert"),1);var QAe=process.platform==="win32",ga=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,Al.default)(e,"Parameter 'itemPath' must not be empty"),e=gi(e),!Vu(e))this.segments=e.split(fa.sep);else{let r=e,n=yi(r);for(;n!==r;){let s=fa.basename(r);this.segments.unshift(s),r=n,n=yi(r)}this.segments.unshift(r)}else{(0,Al.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,Al.default)(n,"Parameter 'itemPath' must not contain any empty segments"),n=zn(e[r]),r===0&&Vu(n)?(n=gi(n),(0,Al.default)(n===yi(n),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(n)):((0,Al.default)(!n.includes(fa.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(n))}}}toString(){let e=this.segments[0],r=e.endsWith(fa.sep)||QAe&&/^[A-Z]:$/i.test(e);for(let n=1;n<this.segments.length;n++)r?r=!1:e+=fa.sep,e+=this.segments[n];return e}};var{Minimatch:xAe}=DH.default,Ei=process.platform==="win32",$u=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,ho.default)(n.length,"Parameter 'segments' must not empty");let A=t.getLiteral(n[0]);(0,ho.default)(A&&Yu(A),"Parameter 'segments' first element must be a root path"),i=new ga(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 ga(i).segments,this.trailingSeparator=zn(i).endsWith(ul.sep),i=gi(i);let a=!1,c=this.segments.map(A=>t.getLiteral(A)).filter(A=>!a&&!(a=A===""));this.searchPath=new ga(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),Ei?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:Ei,nocomment:!0,noext:!0,nonegate:!0};i=Ei?i.replace(/\\/g,"/"):i,this.minimatch=new xAe(i,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=zn(e),!e.endsWith(ul.sep)&&this.isImplicitPattern===!1&&(e=`${e}${ul.sep}`)):e=gi(e),this.minimatch.match(e)?this.trailingSeparator?Gn.Directory:Gn.All:Gn.None}partialMatch(e){return e=gi(e),yi(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Ei?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Ei?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,ho.default)(e,"pattern cannot be empty");let n=new ga(e).segments.map(s=>t.getLiteral(s));if((0,ho.default)(n.every((s,i)=>(s!=="."||i===0)&&s!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,ho.default)(!Vu(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=zn(e),e==="."||e.startsWith(`.${ul.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${ul.sep}`))r=r||PH.homedir(),(0,ho.default)(r,"Unable to determine HOME directory"),(0,ho.default)(Yu(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Ei&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let s=mf("C:\\dummy-root",e.substr(0,2));e.length>2&&!s.endsWith("\\")&&(s+="\\"),e=t.globEscape(s)+e.substr(2)}else if(Ei&&(e==="\\"||e.match(/^\\[^\\]/))){let s=mf("C:\\dummy-root","\\");s.endsWith("\\")||(s+="\\"),e=t.globEscape(s)+e.substr(1)}else e=mf(t.globEscape(process.cwd()),e);return zn(e)}static getLiteral(e){let r="";for(let n=0;n<e.length;n++){let s=e[n];if(s==="\\"&&!Ei&&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==="\\"&&!Ei&&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 ju=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};var wb=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())})},bAe=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)}},po=function(t){return this instanceof po?(this.v=t,this):new po(t)},wAe=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(h){return function(p){return Promise.resolve(p).then(h,d)}}function c(h,p){n[h]&&(s[h]=function(f){return new Promise(function(C,y){i.push([h,f,C,y])>1||l(h,f)})},p&&(s[h]=p(s[h])))}function l(h,p){try{A(n[h](p))}catch(f){m(i[0][3],f)}}function A(h){h.value instanceof po?Promise.resolve(h.value.v).then(u,d):m(i[0][2],h)}function u(h){l("next",h)}function d(h){l("throw",h)}function m(h,p){h(p),i.shift(),i.length&&l(i[0][0],i[0][1])}},NAe=process.platform==="win32",ff=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=gb(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return wb(this,void 0,void 0,function*(){var e,r,n,s;let i=[];try{for(var a=!0,c=bAe(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 wAe(this,arguments,o(function*(){let r=gb(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 $u(a.negate,!0,a.segments.concat("**")));let s=[];for(let a of Eb(n)){pn(`Search path '${a}'`);try{yield po(dl.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}s.unshift(new ju(a,1))}let i=[];for(;s.length;){let a=s.pop(),c=cH(n,a.path),l=!!c||lH(n,a.path);if(!c&&!l)continue;let A=yield po(t.stat(a,r,i));if(A&&!(r.excludeHiddenFiles&&gf.basename(a.path).match(/^\./)))if(A.isDirectory()){if(c&Gn.Directory&&r.matchDirectories)yield yield po(a.path);else if(!l)continue;let u=a.level+1,d=(yield po(dl.promises.readdir(a.path))).map(m=>new ju(gf.join(a.path,m),u));s.push(...d.reverse())}else c&Gn.File&&(yield yield po(a.path))}},"globGenerator_1"))}static create(e,r){return wb(this,void 0,void 0,function*(){let n=new t(r);NAe&&(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 $u(i));return n.searchPaths.push(...Eb(n.patterns)),n})}static stat(e,r,n){return wb(this,void 0,void 0,function*(){let s;if(r.followSymbolicLinks)try{s=yield dl.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){pn(`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 dl.promises.lstat(e.path);if(s.isDirectory()&&r.followSymbolicLinks){let i=yield dl.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===i)){pn(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}n.push(i)}return s})}};var SAe=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 kH(t,e){return SAe(this,void 0,void 0,function*(){return yield ff.create(t,e)})}o(kH,"create");var kf=Q(require("crypto"),1),pl=Q(require("fs"),1),Ea=Q(require("path"),1),xG=Q(BG(),1),bG=Q(require("util"),1);var sd;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(sd||(sd={}));var rr;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(rr||(rr={}));var Gr;(function(t){t.GNU="gnu",t.BSD="bsd"})(Gr||(Gr={}));var vf=2,Pf=5e3,Vb=5e3,Jb=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,QG=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,id="cache.tar",Wb="manifest.txt",TLe=10*Math.pow(1024,3),Df="cache read denied:";var hl=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())})},bme=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)}},wme="1.0";function od(){return hl(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=Ea.join(n,"actions","temp")}let r=Ea.join(e,kf.randomUUID());return yield ma(r),r})}o(od,"createTempDirectory");function Cs(t){return pl.statSync(t).size}o(Cs,"getArchiveFileSizeInBytes");function $b(t){return hl(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 kH(t.join(`
|
|
`),{implicitDescendants:!1});try{for(var A=!0,u=bme(l.globGenerator()),d;d=yield u.next(),e=d.done,!e;A=!0){s=d.value,A=!1;let h=Ea.relative(c,s).replace(new RegExp(`\\${Ea.sep}`,"g"),"/");b(`Matched: ${h}`),h===""?a.push("."):a.push(`${h}`)}}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($b,"resolvePaths");function ad(t){return hl(this,void 0,void 0,function*(){return bG.promisify(pl.unlink)(t)})}o(ad,"unlinkFile");function wG(t){return hl(this,arguments,void 0,function*(e,r=[]){let n="";r.push("--version"),b(`Checking ${e} ${r.join(" ")}`);try{yield co(`${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(wG,"getVersion");function cd(){return hl(this,void 0,void 0,function*(){let t=yield wG("zstd",["--quiet"]),e=xG.clean(t);return b(`zstd version: ${e}`),t===""?rr.Gzip:rr.ZstdWithoutLong})}o(cd,"getCompressionMethod");function fo(t){return t===rr.Gzip?sd.Gzip:sd.Zstd}o(fo,"getCacheFileName");function NG(){return hl(this,void 0,void 0,function*(){return pl.existsSync(Jb)?Jb:(yield wG("tar")).toLowerCase().includes("gnu tar")?pr("tar"):""})}o(NG,"getGnuTarPathOnWindows");function jb(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(jb,"assertDefined");function fl(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(wme),kf.createHash("sha256").update(n.join("|")).digest("hex")}o(fl,"getCacheVersion");function SG(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(SG,"getRuntimeToken");var Ad=Q(require("http"),1),Zb=Q(require("https"),1);function Kb(t){let e=t.protocol==="https:";if(Nme(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 Mf(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Mf(`http://${r}`)}else return}o(Kb,"getProxyUrl");function Nme(t){if(!t.hostname)return!1;let e=t.hostname;if(Sme(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(Nme,"checkBypass");function Sme(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(Sme,"isLoopbackAddress");var Mf=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 go=Q(XC(),1),RG=Q(bx(),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())})},$e;(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"})($e||($e={}));var nr;(function(t){t.Accept="accept",t.ContentType="content-type"})(nr||(nr={}));var Ci;(function(t){t.ApplicationJson="application/json"})(Ci||(Ci={}));var vme=[$e.MovedPermanently,$e.ResourceMoved,$e.SeeOther,$e.TemporaryRedirect,$e.PermanentRedirect],Pme=[$e.BadGateway,$e.ServiceUnavailable,$e.GatewayTimeout],Dme=["OPTIONS","GET","DELETE","HEAD"],kme=10,Tme=5,Is=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},Xb=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 Ii=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,Ci.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,Ci.ApplicationJson),i[nr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Ci.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,Ci.ApplicationJson),i[nr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Ci.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,Ci.ApplicationJson),i[nr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Ci.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&&Dme.includes(e)?this._maxRetries+1:1,l=0,A;do{if(A=yield this.requestRaw(a,n),A&&A.message&&A.message.statusCode===$e.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&&vme.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 h in s)h.toLowerCase()==="authorization"&&delete s[h];a=this._prepareRequest(e,m,s),A=yield this.requestRaw(a,n),u--}if(!A.message.statusCode||!Pme.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 Xb(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=Kb(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?Zb:Ad;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({},ld(this.requestOptions.headers),ld(e||{})):ld(e||{})}_getExistingOrDefaultHeader(e,r,n){let s;if(this.requestOptions&&this.requestOptions.headers){let a=ld(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=ld(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=Kb(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||Ad.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?go.httpsOverHttps:go.httpsOverHttp:l=A?go.httpOverHttps:go.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new Zb.Agent(c):new Ad.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 RG.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=Tme*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===$e.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 Is(u,i);d.result=a.result,s(d)}else n(a)}))})}},ld=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var Mme=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 gl=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 Mme(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var Jl=Q(require("fs"),1),oW=require("url");var Bs=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var vG=require("node:os"),PG=Q(require("node:util"),1),DG=Q(require("node:process"),1);function kG(t,...e){DG.default.stderr.write(`${PG.default.format(t,...e)}${vG.EOL}`)}o(kG,"log");var TG=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,LG,ew=[],tw=[],Lf=[];TG&&rw(TG);var _G=Object.assign(t=>FG(t),{enable:rw,enabled:nw,disable:Lme,log:kG});function rw(t){LG=t,ew=[],tw=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?tw.push(r.substring(1)):ew.push(r);for(let r of Lf)r.enabled=nw(r.namespace)}o(rw,"enable");function nw(t){if(t.endsWith("*"))return!0;for(let e of tw)if(MG(t,e))return!1;for(let e of ew)if(MG(t,e))return!0;return!1}o(nw,"enabled");function MG(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let m=[],h="";for(let p of e)p==="*"&&h==="*"||(h=p,m.push(p));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(MG,"namespaceMatches");function Lme(){let t=LG||"";return rw(""),t}o(Lme,"disable");function FG(t){let e=Object.assign(r,{enabled:nw(t),destroy:_me,log:_G.log,namespace:t,extend:Fme});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),Lf.push(e),e}o(FG,"createDebugger");function _me(){let t=Lf.indexOf(this);return t>=0?(Lf.splice(t,1),!0):!1}o(_me,"destroy");function Fme(t){let e=FG(`${this.namespace}:${t}`);return e.log=this.log,e}o(Fme,"extend");var yl=_G;var sw=["verbose","info","warning","error"],UG={verbose:400,info:300,warning:200,error:100};function OG(t,e){e.log=(...r)=>{t.log(...r)}}o(OG,"patchLogMethod");function qG(t){return sw.includes(t)}o(qG,"isTypeSpecRuntimeLogLevel");function _f(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,s=yl(t.namespace);s.log=(...u)=>{yl.log(...u)};function i(u){if(u&&!qG(u))throw new Error(`Unknown log level '${u}'. Acceptable values: ${sw.join(",")}`);n=u;let d=[];for(let m of e)a(m)&&d.push(m.namespace);yl.enable(d.join(","))}o(i,"contextSetLogLevel"),r&&(qG(r)?i(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${sw.join(", ")}.`));function a(u){return!!(n&&UG[u.level]<=UG[n])}o(a,"shouldEnable");function c(u,d){let m=Object.assign(u.extend(d),{level:d});if(OG(u,m),a(m)){let h=yl.disable();yl.enable(h+","+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 OG(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(_f,"createLoggerContext");var HG=_f({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),Ume=HG.logger;function ud(t){return HG.createClientLogger(t)}o(ud,"createClientLogger");function Ff(t){return t.toLowerCase()}o(Ff,"normalizeName");function*Ome(t){for(let e of t.values())yield[e.name,e.value]}o(Ome,"headerIterator");var iw=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(Ff(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(Ff(e))?.value}has(e){return this._headersMap.has(Ff(e))}delete(e){this._headersMap.delete(Ff(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 Ome(this._headersMap)}};function Yr(t){return new iw(t)}o(Yr,"createHttpHeaders");function Ca(){return crypto.randomUUID()}o(Ca,"randomUUID");var ow=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??Yr(),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||Ca(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function Uf(t){return new ow(t)}o(Uf,"createPipelineRequest");var zG=new Set(["Deserialize","Serialize","Retry","Sign"]),aw=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&&!zG.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!zG.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(p){return{name:p,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(p){return p==="Retry"?c:p==="Serialize"?s:p==="Deserialize"?a:p==="Sign"?l:i}o(u,"getPhase");for(let p of this._policies){let f=p.policy,C=p.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 p of this._policies){let{policy:f,options:C}=p,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(p){p.hasRun=!0;for(let f of p.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),p.policies.delete(f)}}o(d,"walkPhase");function m(){for(let p of A){if(d(p),p.policies.size>0&&p!==i){i.hasRun||d(i);return}p.hasAfterPolicies&&d(i)}}o(m,"walkPhases");let h=0;for(;r.size>0;){h++;let p=e.length;if(m(),e.length<=p&&h>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function Of(){return aw.create()}o(Of,"createEmptyPipeline");function El(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(El,"isObject");function Ia(t){if(El(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(Ia,"isError");var GG=require("node:util"),YG=GG.inspect.custom;var cw="REDACTED",qme=["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"],Hme=["api-version"],Yn=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=qme.concat(e),r=Hme.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)||El(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,cw);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]=cw;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]=cw;return r}};var zme=new Yn,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,YG,{value:o(()=>`RestError: ${this.message}
|
|
${zme.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function qf(t){return t instanceof sr?!0:Ia(t)&&t.name==="RestError"}o(qf,"isRestError");function yr(t,e){return Buffer.from(t,e)}o(yr,"stringToUint8Array");var Hf=Q(require("node:http"),1),zf=Q(require("node:https"),1),lw=Q(require("node:zlib"),1),JG=require("node:stream");var yn=ud("ts-http-runtime");var Gme={};function dd(t){return t&&typeof t.pipe=="function"}o(dd,"isReadableStream");function VG(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(VG,"isStreamComplete");function WG(t){return t&&typeof t.byteLength=="number"}o(WG,"isArrayBuffer");var Gf=class extends JG.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}},Aw=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 Bs("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 Yn;yn.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 p=e.onUploadProgress,f=new Gf(p);f.on("error",C=>{yn.error("Error in upload progress",C)}),dd(c)?c.pipe(f):f.end(c),c=f}let A=await this.makeRequest(e,r,c);s!==void 0&&clearTimeout(s);let u=Yme(A),m={status:A.statusCode??0,headers:u,request:e};if(e.method==="HEAD")return A.resume(),m;l=a?Vme(A,u):A;let h=e.onDownloadProgress;if(h){let p=new Gf(h);p.on("error",f=>{yn.error("Error in download progress",f)}),l.pipe(p),l=p}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(m.status)?m.readableStreamBody=l:m.bodyAsText=await Jme(l),m}finally{if(e.abortSignal&&n){let A=Promise.resolve();dd(c)&&(A=VG(c));let u=Promise.resolve();dd(l)&&(u=VG(l)),Promise.all([A,u]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(d=>{yn.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?Hf.default.request(c,l):zf.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 Bs("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(d),A(d)}),n&&dd(n)?n.pipe(u):n?typeof n=="string"||Buffer.isBuffer(n)?u.end(n):WG(n)?u.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(yn.error("Unrecognized body type",n),A(new sr("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?Hf.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new Hf.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return zf.default.globalAgent;let s=e.tlsSettings??Gme,i=this.cachedHttpsAgents.get(s);return i&&i.options.keepAlive===!n||(yn.info("No cached TLS Agent exist, creating a new Agent"),i=new zf.default.Agent({keepAlive:!n,...s}),this.cachedHttpsAgents.set(s,i)),i}}};function Yme(t){let e=Yr();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(Yme,"getResponseHeaders");function Vme(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=lw.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=lw.default.createInflate();return t.pipe(n),n}return t}o(Vme,"getDecodedResponseStream");function Jme(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(Jme,"streamToText");function Wme(t){return t?Buffer.isBuffer(t)?t.length:dd(t)?null:WG(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(Wme,"getBodyLength");function $G(){return new Aw}o($G,"createNodeHttpClient");function Yf(){return $G()}o(Yf,"createDefaultHttpClient");var uw="logPolicy";function Vf(t={}){let e=t.logger??yn.info,r=new Yn({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:uw,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(Vf,"logPolicy");var Jf="redirectPolicy",jG=["GET","HEAD"];function Wf(t={}){let{maxRetries:e=20}=t;return{name:Jf,async sendRequest(r,n){let s=await n(r);return KG(n,s,e)}}}o(Wf,"redirectPolicy");async function KG(t,e,r,n=0){let{request:s,status:i,headers:a}=e,c=a.get("location");if(c&&(i===300||i===301&&jG.includes(s.method)||i===302&&jG.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 KG(t,A,r,n+1)}return e}o(KG,"handleRedirect");function XG(){return"User-Agent"}o(XG,"getHeaderName");function ZG(){return XG()}o(ZG,"getUserAgentHeaderName");var eFe=ZG();var $f="decompressResponsePolicy";function jf(){return{name:$f,async sendRequest(t,e){return t.method!=="HEAD"&&t.headers.set("Accept-Encoding","gzip,deflate"),e(t)}}}o(jf,"decompressResponsePolicy");function md(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(md,"getRandomIntegerInclusive");function Kf(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+md(0,n/2)}}o(Kf,"calculateRetryDelay");var $me="The operation was aborted.";function eY(t,e,r){return new Promise((n,s)=>{let i,a,c=o(()=>s(new Bs(r?.abortErrorMsg?r?.abortErrorMsg:$me)),"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(eY,"delay");function tY(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}o(tY,"parseHeaderValueAsNumber");var dw="Retry-After",jme=["retry-after-ms","x-ms-retry-after-ms",dw];function rY(t){if(t&&[429,503].includes(t.status))try{for(let s of jme){let i=tY(t,s);if(i===0||i)return i*(s===dw?1e3:1)}let e=t.headers.get(dw);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}o(rY,"getRetryAfterInMs");function nY(t){return Number.isFinite(rY(t))}o(nY,"isThrottlingRetryResponse");function mw(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=rY(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(mw,"throttlingRetryStrategy");var Kme=1e3,Xme=1e3*64;function Xf(t={}){let e=t.retryDelayInMs??Kme,r=t.maxRetryDelayInMs??Xme;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:s,responseError:i}){let a=ehe(i),c=a&&t.ignoreSystemErrors,l=Zme(s),A=l&&t.ignoreHttpStatusCodes;return s&&(nY(s)||!l)||A||c?{skipStrategy:!0}:i&&!a&&!l?{errorToThrow:i}:Kf(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(Xf,"exponentialRetryStrategy");function Zme(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(Zme,"isExponentialRetryResponse");function ehe(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(ehe,"isSystemError");var the=ud("ts-http-runtime retryPolicy"),rhe="retryPolicy";function Qa(t,e={maxRetries:3}){let r=e.logger||the;return{name:rhe,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 Bs;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:h}=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 eY(m,void 0,{abortSignal:n.abortSignal});continue e}if(h){A.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${h}`),n.url=h;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(Qa,"retryPolicy");var hw="defaultRetryPolicy";function Zf(t={}){return{name:hw,sendRequest:Qa([mw(),Xf(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(Zf,"defaultRetryPolicy");var sY=typeof window<"u"&&typeof window.document<"u",iY=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),oY=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",aY=typeof Bun<"u"&&typeof Bun.version<"u",xa=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var cY=typeof navigator<"u"&&navigator?.product==="ReactNative";var pw="formDataPolicy";function nhe(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}o(nhe,"formDataToFormDataMap");function eg(){return{name:pw,async sendRequest(t,e){if(xa&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=nhe(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=she(t.formData):await ihe(t.formData,t),t.formData=void 0}return e(t)}}}o(eg,"formDataPolicy");function she(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(she,"wwwFormUrlEncode");async function ihe(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:Yr({"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=Yr();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(ihe,"prepareFormData");var JY=Q(kY(),1),WY=Q(zY(),1);var hpe="HTTPS_PROXY",ppe="HTTP_PROXY",fpe="ALL_PROXY",gpe="NO_PROXY",Bw="proxyPolicy",GY=[],$Y=!1,ype=new Map;function Ag(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(Ag,"getEnvironmentValue");function jY(){if(!process)return;let t=Ag(hpe),e=Ag(fpe),r=Ag(ppe);return t||e||r}o(jY,"loadEnvironmentProxyValue");function Epe(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(Epe,"isBypassed");function Cpe(){let t=Ag(gpe);return $Y=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(Cpe,"loadNoProxy");function Qw(t){if(!t&&(t=jY(),!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(Qw,"getDefaultProxySettings");function Ipe(){let t=jY();return t?new URL(t):void 0}o(Ipe,"getDefaultProxySettingsInternal");function YY(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(YY,"getUrlFromProxySettings");function VY(t,e,r){if(t.agent)return;let s=new URL(t.url).protocol!=="https:";t.tlsSettings&&yn.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 WY.HttpProxyAgent(r,{headers:i})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new JY.HttpsProxyAgent(r,{headers:i})),t.agent=e.httpsProxyAgent)}o(VY,"setProxyAgentOnRequest");function ug(t,e){$Y||GY.push(...Cpe());let r=t?YY(t):Ipe(),n={};return{name:Bw,async sendRequest(s,i){return!s.proxySettings&&r&&!Epe(s.url,e?.customNoProxyList??GY,e?.customNoProxyList?void 0:ype)?VY(s,n,r):s.proxySettings&&VY(s,n,YY(s.proxySettings)),i(s)}}}o(ug,"proxyPolicy");var xw="agentPolicy";function dg(t){return{name:xw,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(dg,"agentPolicy");var bw="tlsPolicy";function mg(t){return{name:bw,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(mg,"tlsPolicy");function hg(t){return typeof t.stream=="function"}o(hg,"isBlob");var pg=require("stream");async function*KY(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(KY,"streamAsyncIterator");function Bpe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=KY.bind(t)),t.values||(t.values=KY.bind(t))}o(Bpe,"makeAsyncIterable");function XY(t){return t instanceof ReadableStream?(Bpe(t),pg.Readable.fromWeb(t)):t}o(XY,"ensureNodeStream");function Qpe(t){return t instanceof Uint8Array?pg.Readable.from(Buffer.from(t)):hg(t)?XY(t.stream()):XY(t)}o(Qpe,"toStream");async function ZY(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(Qpe);return pg.Readable.from((async function*(){for(let r of e)for await(let n of r)yield n})())}}o(ZY,"concat");function xpe(){return`----AzSDKFormBoundary${Ca()}`}o(xpe,"generateBoundary");function bpe(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r
|
|
`;return e}o(bpe,"encodeHeaders");function wpe(t){return t instanceof Uint8Array?t.byteLength:hg(t)?t.size===-1?void 0:t.size:void 0}o(wpe,"getLength");function Npe(t){let e=0;for(let r of t){let n=wpe(r);if(n===void 0)return;e+=n}return e}o(Npe,"getTotalLength");async function Spe(t,e,r){let n=[yr(`--${r}`,"utf-8"),...e.flatMap(i=>[yr(`\r
|
|
`,"utf-8"),yr(bpe(i.headers),"utf-8"),yr(`\r
|
|
`,"utf-8"),i.body,yr(`\r
|
|
--${r}`,"utf-8")]),yr(`--\r
|
|
\r
|
|
`,"utf-8")],s=Npe(n);s&&t.headers.set("Content-Length",s),t.body=await ZY(n)}o(Spe,"buildRequestBody");var pd="multipartPolicy",Rpe=70,vpe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function Ppe(t){if(t.length>Rpe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!vpe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(Ppe,"assertValidBoundary");function fg(){return{name:pd,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?Ppe(r):r=xpe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await Spe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(fg,"multipartPolicy");function gg(){return Of()}o(gg,"createEmptyPipeline");var eV=_f({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),DUe=eV.logger;function bs(t){return eV.createClientLogger(t)}o(bs,"createClientLogger");var ws=bs("core-rest-pipeline");function Sw(t={}){return Vf({logger:ws.info,...t})}o(Sw,"logPolicy");var Rw=Jf;function vw(t={}){return Wf(t)}o(vw,"redirectPolicy");var yg=Q(require("node:os"),1),Eg=Q(require("node:process"),1);function tV(){return"User-Agent"}o(tV,"getHeaderName");async function rV(t){if(Eg.default&&Eg.default.versions){let e=`${yg.default.type()} ${yg.default.release()}; ${yg.default.arch()}`,r=Eg.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(rV,"setPlatformSpecificData");var Cg="1.22.2";function Upe(t){let e=[];for(let[r,n]of t){let s=n?`${r}/${n}`:r;e.push(s)}return e.join(" ")}o(Upe,"getUserAgentString");function nV(){return tV()}o(nV,"getUserAgentHeaderName");async function Ig(t){let e=new Map;e.set("core-rest-pipeline",Cg),await rV(e);let r=Upe(e);return t?`${t} ${r}`:r}o(Ig,"getUserAgentValue");var sV=nV(),iV="userAgentPolicy";function Pw(t={}){let e=Ig(t.userAgentPrefix);return{name:iV,async sendRequest(r,n){return r.headers.has(sV)||r.headers.set(sV,await e),n(r)}}}o(Pw,"userAgentPolicy");var $r=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function Dw(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(Dw,"createAbortablePromise");var Gpe="The delay was aborted.";function fd(t,e){let r,{abortSignal:n,abortErrorMsg:s}=e??{};return Dw(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:s??Gpe})}o(fd,"delay");function Eo(t){if(Ia(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(Eo,"getErrorMessage");function oV(t){return Ia(t)}o(oV,"isError");function bl(){return Ca()}o(bl,"randomUUID");var Ce=xa;var aV=Symbol("rawContent");function Tw(t){return typeof t[aV]=="function"}o(Tw,"hasRawContent");function cV(t){return Tw(t)?t[aV]():t}o(cV,"getRawContent");var Bg=pd;function Mw(){let t=fg();return{name:Bg,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)Tw(n.body)&&(n.body=cV(n.body));return t.sendRequest(e,r)},"sendRequest")}}o(Mw,"multipartPolicy");var Lw=$f;function _w(){return jf()}o(_w,"decompressResponsePolicy");function Fw(t={}){return Zf(t)}o(Fw,"defaultRetryPolicy");function Uw(){return eg()}o(Uw,"formDataPolicy");function Co(t){return Qw(t)}o(Co,"getDefaultProxySettings");function Ow(t,e){return ug(t,e)}o(Ow,"proxyPolicy");var lV="setClientRequestIdPolicy";function qw(t="x-ms-client-request-id"){return{name:lV,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(qw,"setClientRequestIdPolicy");function Hw(t){return dg(t)}o(Hw,"agentPolicy");function zw(t){return mg(t)}o(zw,"tlsPolicy");var wl={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function AV(t={}){let e=new Gw(t.parentContext);return t.span&&(e=e.setValue(wl.span,t.span)),t.namespace&&(e=e.setValue(wl.namespace,t.namespace)),e}o(AV,"createTracingContext");var Gw=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 dV=Q(uV(),1),xg=dV.state;function Ype(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(Ype,"createDefaultTracingSpan");function Vpe(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:Ype(),tracingContext:AV({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(Vpe,"createDefaultInstrumenter");function gd(){return xg.instrumenterImplementation||(xg.instrumenterImplementation=Vpe()),xg.instrumenterImplementation}o(gd,"getInstrumenter");function yd(t){let{namespace:e,packageName:r,packageVersion:n}=t;function s(A,u,d){let m=gd().startSpan(A,{...d,packageName:r,packageVersion:n,tracingContext:u?.tracingOptions?.tracingContext}),h=m.tracingContext,p=m.span;h.getValue(wl.namespace)||(h=h.setValue(wl.namespace,e)),p.setAttribute("az.namespace",h.getValue(wl.namespace));let f=Object.assign({},u,{tracingOptions:{...u?.tracingOptions,tracingContext:h}});return{span:p,updatedOptions:f}}o(s,"startSpan");async function i(A,u,d,m){let{span:h,updatedOptions:p}=s(A,u,m);try{let f=await a(p.tracingOptions.tracingContext,()=>Promise.resolve(d(p,h)));return h.setStatus({status:"success"}),f}catch(f){throw h.setStatus({status:"error",error:f}),f}finally{h.end()}}o(i,"withSpan");function a(A,u,...d){return gd().withContext(A,u,...d)}o(a,"withContext");function c(A){return gd().parseTraceparentHeader(A)}o(c,"parseTraceparentHeader");function l(A){return gd().createRequestHeaders(A)}return o(l,"createRequestHeaders"),{startSpan:s,withSpan:i,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(yd,"createTracingClient");var Bi=sr;function wa(t){return qf(t)}o(wa,"isRestError");var mV="tracingPolicy";function Yw(t={}){let e=Ig(t.userAgentPrefix),r=new Yn({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=Jpe();return{name:mV,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}=Wpe(n,s,c)??{};if(!l||!A)return i(s);try{let u=await n.withContext(A,i,s);return jpe(l,u),u}catch(u){throw $pe(l,u),u}}}}o(Yw,"tracingPolicy");function Jpe(){try{return yd({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:Cg})}catch(t){ws.warning(`Error when creating the TracingClient: ${Eo(t)}`);return}}o(Jpe,"tryCreateTracingClient");function Wpe(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){ws.warning(`Skipping creating a tracing span due to an error: ${Eo(n)}`);return}}o(Wpe,"tryCreateSpan");function $pe(t,e){try{t.setStatus({status:"error",error:oV(e)?e:void 0}),wa(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){ws.warning(`Skipping tracing span processing due to an error: ${Eo(r)}`)}}o($pe,"tryProcessError");function jpe(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){ws.warning(`Skipping tracing span processing due to an error: ${Eo(r)}`)}}o(jpe,"tryProcessResponse");function bg(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(bg,"wrapAbortSignalLike");var Kpe="wrapAbortSignalLikePolicy";function hV(){return{name:Kpe,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=bg(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}},"sendRequest")}}o(hV,"wrapAbortSignalLikePolicy");function Vw(t){let e=gg();return Ce&&(t.agent&&e.addPolicy(Hw(t.agent)),t.tlsOptions&&e.addPolicy(zw(t.tlsOptions)),e.addPolicy(Ow(t.proxyOptions)),e.addPolicy(_w())),e.addPolicy(hV()),e.addPolicy(Uw(),{beforePolicies:[Bg]}),e.addPolicy(Pw(t.userAgentOptions)),e.addPolicy(qw(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(Mw(),{afterPhase:"Deserialize"}),e.addPolicy(Fw(t.retryOptions),{phase:"Retry"}),e.addPolicy(Yw({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Ce&&e.addPolicy(vw(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(Sw(t.loggingOptions),{afterPhase:"Sign"}),e}o(Vw,"createPipelineFromOptions");function Ed(){let t=Yf();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?bg(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(Ed,"createDefaultHttpClient");function Qi(t){return Yr(t)}o(Qi,"createHttpHeaders");function Cd(t){return Uf(t)}o(Cd,"createPipelineRequest");var cze=bs("core-rest-pipeline retryPolicy");var Xpe={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function Zpe(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 fd(e),s=await n();return s}o(Zpe,"beginRefresh");function Jw(t,e){let r=null,n=null,s,i={...Xpe,...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=Zpe(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(Jw,"createTokenCycler");var yV="bearerTokenAuthenticationPolicy";async function wg(t,e){try{return[await e(t),void 0]}catch(r){if(wa(r)&&r.response)return[r.response,r];throw r}}o(wg,"trySendRequest");async function efe(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(efe,"defaultAuthorizeRequest");function pV(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(pV,"isChallengeResponse");async function fV(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(fV,"authorizeRequestOnCaeChallenge");function Nl(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,s=t.logger||ws,i={authorizeRequest:n?.authorizeRequest?.bind(n)??efe,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?Jw(e):()=>Promise.resolve(null);return{name:yV,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 wg(c,l),pV(A)){let m=gV(A.headers.get("WWW-Authenticate"));if(m){let h;try{h=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 fV({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:s},h),d&&([A,u]=await wg(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 wg(c,l)),pV(A)&&(m=gV(A.headers.get("WWW-Authenticate")),m))){let h;try{h=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 fV({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:s},h),d&&([A,u]=await wg(c,l))}}if(u)throw u;return A}}}o(Nl,"bearerTokenAuthenticationPolicy");function tfe(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(tfe,"parseChallenges");function gV(t){return t?tfe(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(gV,"getCaeChallengeClaims");function jr(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(jr,"isTokenCredential");var Ww="DisableKeepAlivePolicy";function EV(){return{name:Ww,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(EV,"createDisableKeepAlivePolicy");function CV(t){return t.getOrderedPolicies().some(e=>e.name===Ww)}o(CV,"pipelineContainsDisableKeepAlivePolicy");function $w(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o($w,"encodeByteArray");function jw(t){return Buffer.from(t,"base64")}o(jw,"decodeString");function nfe(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(nfe,"isPrimitiveBody");var sfe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function IV(t){return sfe.test(t)}o(IV,"isDuration");var ife=/^[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 BV(t){return ife.test(t)}o(BV,"isValidUuid");function ofe(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(ofe,"handleNullableResponseAndWrappableBody");function Kw(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 ofe({body:t.parsedBody,headers:r,hasNullableType:s,shouldWrapBody:nfe(t.parsedBody,i)})}o(Kw,"flattenResponse");var Xw=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:h,Pattern:p,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),h!==void 0&&r%h!==0&&s("MultipleOf",h),p){let C=typeof p=="string"?new RegExp(p):p;(typeof r!="string"||r.match(C)===null)&&s("Pattern",p)}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=dfe(c,n,r):c.match(/^Enum$/i)!==null?a=mfe(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=ffe(c,r,n):c.match(/^ByteArray$/i)!==null?a=hfe(n,r):c.match(/^Base64Url$/i)!==null?a=pfe(n,r):c.match(/^Sequence$/i)!==null?a=gfe(this,e,r,n,!!this.isXML,i):c.match(/^Dictionary$/i)!==null?a=yfe(this,e,r,n,!!this.isXML,i):c.match(/^Composite$/i)!==null&&(a=Cfe(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=Bfe(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=ufe(r):c.match(/^ByteArray$/i)!==null?a=jw(r):c.match(/^Base64Url$/i)!==null?a=lfe(r):c.match(/^Sequence$/i)!==null?a=xfe(this,e,r,n,i):c.match(/^Dictionary$/i)!==null&&(a=Qfe(this,e,r,n,i))}return e.isConstant&&(a=e.defaultValue),a}};function Kr(t={},e=!1){return new Xw(t,e)}o(Kr,"createSerializer");function afe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(afe,"trimEnd");function cfe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=$w(t);return afe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(cfe,"bufferToBase64Url");function lfe(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,"/"),jw(t)}}o(lfe,"base64UrlToByteArray");function Zw(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(Zw,"splitSerializeName");function Afe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(Afe,"dateToUnixTime");function ufe(t){if(t)return new Date(t*1e3)}o(ufe,"unixTimeToDate");function dfe(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"&&BV(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(dfe,"serializeBasicTypes");function mfe(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(mfe,"serializeEnumType");function hfe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=$w(e)}return e}o(hfe,"serializeByteArrayType");function pfe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=cfe(e)}return e}o(pfe,"serializeBase64UrlType");function ffe(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=Afe(e)}else if(t.match(/^TimeSpan$/i)!==null&&!IV(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(ffe,"serializeDateTypes");function gfe(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(gfe,"serializeSequenceType");function yfe(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]=wV(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(yfe,"serializeDictionaryType");function Efe(t,e,r){let n=e.type.additionalProperties;return!n&&e.type.className?xV(t,e,r)?.type.additionalProperties:n}o(Efe,"resolveAdditionalProperties");function xV(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(xV,"resolveReferencedMapper");function bV(t,e,r){let n=e.type.modelProperties;if(!n){let s=xV(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(bV,"resolveModelProperties");function Cfe(t,e,r,n,s,i){if(Ng(t,e)&&(e=NV(t,e,r,"clientName")),r!=null){let a={},c=bV(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 h=Zw(u.serializedName);d=h.pop();for(let p of h){let f=m[p];f==null&&(r[A]!==void 0&&r[A]!==null||u.defaultValue!==void 0)&&(m[p]={}),m=m[p]}}if(m!=null){if(s&&e.xmlNamespace){let y=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns";m["$"]={...m["$"],[y]:e.xmlNamespace}}let h=u.serializedName!==""?n+"."+u.serializedName:n,p=r[A],f=Ng(t,e);f&&f.clientName===A&&p==null&&(p=e.serializedName);let C=t.serialize(u,p,h,i);if(C!==void 0&&d!==void 0&&d!==null){let y=wV(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=Efe(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(Cfe,"serializeCompositeType");function wV(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(wV,"getXmlObjectValue");function Ife(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(Ife,"isSpecialXmlProperty");function Bfe(t,e,r,n,s){let i=s.xml.xmlCharKey??"_";Ng(t,e)&&(e=NV(t,e,r,"serializedName"));let a=bV(t,e,n),c={},l=[];for(let u of Object.keys(a)){let d=a[u],m=Zw(a[u].serializedName);l.push(m[0]);let{serializedName:h,xmlName:p,xmlElementName:f}=d,C=n;h!==""&&h!==void 0&&(C=n+"."+h);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["$"][p],C,s);else if(d.xmlIsMsText)r[i]!==void 0?c[u]=r[i]:typeof r=="string"&&(c[u]=r);else{let E=f||p||h;if(d.xmlIsWrapped){let B=r[p]?.[f]??[];c[u]=t.deserialize(d,B,C,s),l.push(p)}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 T of m){if(!I)break;B++,I=I[T]}I===null&&B<m.length&&(I=void 0),E=I;let w=e.type.polymorphicDiscriminator;w&&u===w.clientName&&E==null&&(E=e.serializedName);let S;if(Array.isArray(r[u])&&a[u].serializedName===""){E=r[u];let T=t.deserialize(d,E,C,s);for(let[ee,be]of Object.entries(c))Object.prototype.hasOwnProperty.call(T,ee)||(T[ee]=be);c=T}else(E!==void 0||d.defaultValue!==void 0)&&(S=t.deserialize(d,E,C,s),c[u]=S)}}let A=e.type.additionalProperties;if(A){let u=o(d=>{for(let m in a)if(Zw(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)&&!Ife(u,s)&&(c[u]=r[u]);return c}o(Bfe,"deserializeCompositeType");function Qfe(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(Qfe,"deserializeDictionaryType");function xfe(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(xfe,"deserializeSequenceType");function bfe(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(bfe,"getIndexDiscriminator");function NV(t,e,r,n){let s=Ng(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=bfe(t.modelMappers.discriminators,a,c);l&&(e=l)}}}return e}o(NV,"getPolymorphicMapper");function Ng(t,e){return e.type.polymorphicDiscriminator||QV(t,e.type.uberParent)||QV(t,e.type.className)}o(Ng,"getPolymorphicDiscriminatorRecursively");function QV(t,e){return e&&t.modelMappers[e]&&t.modelMappers[e].type.polymorphicDiscriminator}o(QV,"getPolymorphicDiscriminatorSafely");var Ns={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 RV=Q(SV(),1),e0=RV.state;function Bo(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=vV(t,n);!a.propertyFound&&r&&(a=vV(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=Bo(t,{parameterPath:l,mapper:c},r);A!==void 0&&(i||(i={}),i[a]=A)}}return i}o(Bo,"getOperationArgumentValueFromParameter");function vV(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(vV,"getPropertyFromParameterPath");var PV=Symbol.for("@azure/core-client original request");function wfe(t){return PV in t}o(wfe,"hasOriginalRequest");function xi(t){if(wfe(t))return xi(t[PV]);let e=e0.operationRequestMap.get(t);return e||(e={},e0.operationRequestMap.set(t,e)),e}o(xi,"getOperationRequestInfo");var Nfe=["application/json","text/json"],Sfe=["application/xml","application/atom+xml"],DV="deserializationPolicy";function t0(t={}){let e=t.expectedContentTypes?.json??Nfe,r=t.expectedContentTypes?.xml??Sfe,n=t.parseXML,s=t.serializerOptions,i={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??!1,xmlCharKey:s?.xml.xmlCharKey??"_"}};return{name:DV,async sendRequest(a,c){let l=await c(a);return Pfe(e,r,l,i,n)}}}o(t0,"deserializationPolicy");function Rfe(t){let e,r=t.request,n=xi(r),s=n?.operationSpec;return s&&(n?.operationResponseGetter?e=n?.operationResponseGetter(s,t):e=s.responses[t.status]),e}o(Rfe,"getOperationResponseMap");function vfe(t){let e=t.request,n=xi(e)?.shouldDeserialize,s;return n===void 0?s=!0:typeof n=="boolean"?s=n:s=n(t),s}o(vfe,"shouldDeserializeResponse");async function Pfe(t,e,r,n,s){let i=await Tfe(t,e,r,n,s);if(!vfe(i))return i;let c=xi(i.request)?.operationSpec;if(!c||!c.responses)return i;let l=Rfe(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===Ns.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 Bi(`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(Pfe,"deserializeResponseBody");function Dfe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(Dfe,"isOperationSpecEmpty");function kfe(t,e,r,n){let s=200<=t.status&&t.status<300;if(Dfe(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 Bi(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 p=d;if(e.isXML&&A.type.name===Ns.Sequence){p=[];let f=A.xmlElementName;typeof d=="object"&&f&&(p=d[f])}m=e.serializer.deserialize(A,p,"error.response.parsedBody",n)}let h=d.error||m||d;l.code=h.code,h.message&&(l.message=h.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 Tfe(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||Bi.PARSE_ERROR;throw new Bi(A,{code:u,statusCode:r.status,request:r.request,response:r})}}return r}o(Tfe,"parse");function kV(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===Ns.Stream&&e.add(Number(r))}return e}o(kV,"getStreamingResponseStatusCodes");function Ss(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(Ss,"getPathStringFromParameter");var TV="serializationPolicy";function Rg(t={}){let e=t.stringifyXML;return{name:TV,async sendRequest(r,n){let s=xi(r),i=s?.operationSpec,a=s?.operationArguments;return i&&a&&(Mfe(r,a,i),Lfe(r,a,i,e)),n(r)}}}o(Rg,"serializationPolicy");function Mfe(t,e,r){if(r.headerParameters)for(let s of r.headerParameters){let i=Bo(e,s);if(i!=null||s.mapper.required){i=r.serializer.serialize(s.mapper,i,Ss(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||Ss(s),i)}}let n=e.options?.requestOptions?.customHeaders;if(n)for(let s of Object.keys(n))t.headers.set(s,n[s])}o(Mfe,"serializeHeaders");function Lfe(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=Bo(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:A,xmlName:u,xmlElementName:d,xmlNamespace:m,xmlNamespacePrefix:h,nullable:p}=c,f=c.type.name;try{if(t.body!==void 0&&t.body!==null||p&&t.body===null||l){let C=Ss(r.requestBody);t.body=r.serializer.serialize(c,t.body,C,i);let y=f===Ns.Stream;if(r.isXML){let E=h?`xmlns:${h}`:"xmlns",I=_fe(m,E,f,t.body,i);f===Ns.Sequence?t.body=n(Ffe(I,d||u||A,E,m),{rootName:u||A,xmlCharKey:a}):y||(t.body=n(I,{rootName:u||A,xmlCharKey:a}))}else{if(f===Ns.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=Bo(e,c);if(l!=null){let A=c.mapper.serializedName||Ss(c);t.formData[A]=r.serializer.serialize(c.mapper,l,Ss(c),i)}}}}o(Lfe,"serializeRequestBody");function _fe(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(_fe,"getXmlValueWithNamespace");function Ffe(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(Ffe,"prepareXMLRootList");function Id(t={}){let e=Vw(t??{});return t.credentialOptions&&e.addPolicy(Nl({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(Rg(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(t0(t.deserializationOptions),{phase:"Deserialize"}),e}o(Id,"createClientPipeline");var r0;function MV(){return r0||(r0=Ed()),r0}o(MV,"getCachedDefaultHttpClient");var Ufe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function _V(t,e,r,n){let s=Ofe(e,r,n),i=!1,a=LV(t,s);if(e.path){let A=LV(e.path,s);e.path==="/{nextLink}"&&A.startsWith("/")&&(A=A.substring(1)),qfe(A)?(a=A,i=!0):a=Hfe(a,A)}let{queryParams:c,sequenceParams:l}=zfe(e,r,n);return a=Yfe(a,c,l,i),a}o(_V,"getRequestUrl");function LV(t,e){let r=t;for(let[n,s]of e)r=r.split(n).join(s);return r}o(LV,"replaceAll");function Ofe(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let s of t.urlParameters){let i=Bo(e,s,r),a=Ss(s);i=t.serializer.serialize(s.mapper,i,a),s.skipEncoding||(i=encodeURIComponent(i)),n.set(`{${s.mapper.serializedName||a}}`,i)}return n}o(Ofe,"calculateUrlReplacements");function qfe(t){return t.includes("://")}o(qfe,"isAbsoluteUrl");function Hfe(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(Hfe,"appendPath");function zfe(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=Bo(e,i,r);if(a!=null||i.mapper.required){a=t.serializer.serialize(i.mapper,a,Ss(i));let c=i.collectionFormat?Ufe[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||Ss(i),a)}}return{queryParams:n,sequenceParams:s}}o(zfe,"calculateQueryParameters");function Gfe(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(Gfe,"simpleParseQueryParams");function Yfe(t,e,r,n=!1){if(e.size===0)return t;let s=new URL(t),i=Gfe(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(Yfe,"appendQueryParams");var n0=bs("core-client");var Bd=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&&n0.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||MV(),this.pipeline=e.pipeline||Vfe(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=_V(n,r,e,this),i=Cd({url:s});i.method=r.httpMethod;let a=xi(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=kV(r));try{let A=await this.sendRequest(i),u=Kw(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=Kw(u,r.responses[A.statusCode]||r.responses.default);A.details=d,l?.onResponse&&l.onResponse(u,d,A)}throw A}}};function Vfe(t){let e=Jfe(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return Id({...t,credentialOptions:r})}o(Vfe,"createDefaultPipeline");function Jfe(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(Jfe,"getCredentialScopes");var FV={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 vg=o(async t=>{let e=Zfe(t.request),r=Kfe(t.response);if(r){let n=Xfe(r),s=jfe(t,n),i=$fe(n);if(!i)return!1;let a=await t.getAccessToken(s,{...e,tenantId:i});return a?(t.request.headers.set(FV.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function $fe(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&Wfe(n))return n}o($fe,"extractTenantId");function jfe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=FV.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}o(jfe,"buildScopes");function Kfe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(Kfe,"getChallenge");function Xfe(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(Xfe,"parseChallenge");function Zfe(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(Zfe,"requestToOptions");var UV=Symbol("Original PipelineRequest"),ege=Symbol.for("@azure/core-client original request");function xd(t,e={}){let n=t[UV],s=Qi(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=s,n;{let i=Cd({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[ege]=e.originalRequest),i}}o(xd,"toPipelineRequest");function Na(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:bd(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===UV?t:i==="clone"?()=>Na(xd(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(Na,"toWebResourceLike");function bd(t){return new s0(t.toJSON({preserveCase:!0}))}o(bd,"toHttpHeadersLike");function Qd(t){return t.toLowerCase()}o(Qd,"getHeaderKey");var s0=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[Qd(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[Qd(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[Qd(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[Qd(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[Qd(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 OV=Symbol("Original FullOperationResponse");function Pg(t,e){let r=Na(t.request),n=bd(t.headers);return e?.createProxy?new Proxy(t,{get(s,i,a){return i==="headers"?n:i==="request"?r:i===OV?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(Pg,"toCompatResponse");function Dg(t){let r=t[OV],n=Qi(t.headers.toJson({preserveCase:!0}));return r?(r.headers=n,r):{...t,headers:n,request:xd(t.request)}}o(Dg,"toPipelineResponse");var wd=class extends Bd{static{o(this,"ExtendedServiceClient")}constructor(e){super(e),e.keepAliveOptions?.enable===!1&&!CV(this.pipeline)&&this.pipeline.addPolicy(EV()),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:Rw})}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:Pg(s)}),a}};var i0;(function(t){t[t.ERROR=1]="ERROR",t[t.INFO=3]="INFO",t[t.OFF=0]="OFF",t[t.WARNING=2]="WARNING"})(i0||(i0={}));var tge={log(t,e){},shouldLog(t){return!1}},qV="RequestPolicyFactoryPolicy";function o0(t){let e=t.slice().reverse();return{name:qV,async sendRequest(r,n){let s={async sendRequest(c){let l=await n(xd(c));return Pg(l,{createProxy:!0})}};for(let c of e)s=c.create(s,tge);let i=Na(r,{createProxy:!0}),a=await s.sendRequest(i);return Dg(a)}}}o(o0,"createRequestPolicyFactoryPolicy");function a0(t){return{sendRequest:o(async e=>{let r=await t.sendRequest(Na(e,{createProxy:!0}));return Dg(r)},"sendRequest")}}o(a0,"convertHttpClient");var HV=":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",nge=HV+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",sge="["+HV+"]["+nge+"]*",ige=new RegExp("^"+sge+"$");function kg(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(kg,"getAllMatches");var c0=o(function(t){let e=ige.exec(t);return!(e===null||typeof e>"u")},"isName");function zV(t){return typeof t<"u"}o(zV,"isExist");var Nd=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],Tg=["__proto__","constructor","prototype"];var oge={allowBooleanAttributes:!1,unpairedTags:[]};function Mg(t,e){e=Object.assign({},oge,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=YV(t,i),i.err)return i}else if(t[i]==="<"){let a=i;if(i++,t[i]==="!"){i=VV(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=lge(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=JV(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=JV(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=VV(t,i);continue}else if(t[i+1]==="?"){if(i=YV(t,++i),i.err)return i}else break;else if(t[i]==="&"){let d=dge(t,i);if(d==-1)return at("InvalidChar","char '&' is not expected.",ir(t,i));i=d}else if(s===!0&&!GV(t[i]))return at("InvalidXml","Extra text at the end",ir(t,i));t[i]==="<"&&i--}}else{if(GV(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(Mg,"validate");function GV(t){return t===" "||t===" "||t===`
|
|
`||t==="\r"}o(GV,"isWhiteSpace");function YV(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(YV,"readPI");function VV(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(VV,"readCommentAndCDATA");var age='"',cge="'";function lge(t,e){let r="",n="",s=!1;for(;e<t.length;e++){if(t[e]===age||t[e]===cge)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(lge,"readAttributeStr");var Age=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function JV(t,e){let r=kg(t,Age),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.",Sd(r[s]));if(r[s][3]!==void 0&&r[s][4]===void 0)return at("InvalidAttr","Attribute '"+r[s][2]+"' is without value.",Sd(r[s]));if(r[s][3]===void 0&&!e.allowBooleanAttributes)return at("InvalidAttr","boolean attribute '"+r[s][2]+"' is not allowed.",Sd(r[s]));let i=r[s][2];if(!mge(i))return at("InvalidAttr","Attribute '"+i+"' is an invalid name.",Sd(r[s]));if(!Object.prototype.hasOwnProperty.call(n,i))n[i]=1;else return at("InvalidAttr","Attribute '"+i+"' is repeated.",Sd(r[s]))}return!0}o(JV,"validateAttributeString");function uge(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(uge,"validateNumberAmpersand");function dge(t,e){if(e++,t[e]===";")return-1;if(t[e]==="#")return e++,uge(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(dge,"validateAmpersand");function at(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}o(at,"getErrorObject");function mge(t){return c0(t)}o(mge,"validateAttrName");function hge(t){return c0(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 Sd(t){return t.startIndex+t[1].length}o(Sd,"getPositionFromMatch");var WV={amp:"&",AMP:"&",lt:"<",LT:"<",gt:">",GT:">",quot:'"',QUOT:'"',apos:"'",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",lsquor:"\u201A",rsquor:"\u2019",ldquor:"\u201E",bdquo:"\u201E",comma:",",period:".",colon:":",semi:";",excl:"!",quest:"?",num:"#",dollar:"$",percent:"%",amp:"&",ast:"*",commat:"@",lowbar:"_",verbar:"|",vert:"|",sol:"/",bsol:"\\",lbrace:"{",rbrace:"}",lbrack:"[",rbrack:"]",lpar:"(",rpar:")",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",COPY:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",REG:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",half:"\xBD",frac34:"\xBE",iquest:"\xBF",times:"\xD7",div:"\xF7",divide:"\xF7"},$V={Agrave:"\xC0",agrave:"\xE0",Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",Aring:"\xC5",aring:"\xE5",AElig:"\xC6",aelig:"\xE6",Ccedil:"\xC7",ccedil:"\xE7",Egrave:"\xC8",egrave:"\xE8",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Euml:"\xCB",euml:"\xEB",Igrave:"\xCC",igrave:"\xEC",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",Iuml:"\xCF",iuml:"\xEF",ETH:"\xD0",eth:"\xF0",Ntilde:"\xD1",ntilde:"\xF1",Ograve:"\xD2",ograve:"\xF2",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",Oslash:"\xD8",oslash:"\xF8",Ugrave:"\xD9",ugrave:"\xF9",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",THORN:"\xDE",thorn:"\xFE",szlig:"\xDF",yuml:"\xFF",Yuml:"\u0178"},jV={Amacr:"\u0100",amacr:"\u0101",Abreve:"\u0102",abreve:"\u0103",Aogon:"\u0104",aogon:"\u0105",Cacute:"\u0106",cacute:"\u0107",Ccirc:"\u0108",ccirc:"\u0109",Cdot:"\u010A",cdot:"\u010B",Ccaron:"\u010C",ccaron:"\u010D",Dcaron:"\u010E",dcaron:"\u010F",Dstrok:"\u0110",dstrok:"\u0111",Emacr:"\u0112",emacr:"\u0113",Ecaron:"\u011A",ecaron:"\u011B",Edot:"\u0116",edot:"\u0117",Eogon:"\u0118",eogon:"\u0119",Gcirc:"\u011C",gcirc:"\u011D",Gbreve:"\u011E",gbreve:"\u011F",Gdot:"\u0120",gdot:"\u0121",Gcedil:"\u0122",Hcirc:"\u0124",hcirc:"\u0125",Hstrok:"\u0126",hstrok:"\u0127",Itilde:"\u0128",itilde:"\u0129",Imacr:"\u012A",imacr:"\u012B",Iogon:"\u012E",iogon:"\u012F",Idot:"\u0130",IJlig:"\u0132",ijlig:"\u0133",Jcirc:"\u0134",jcirc:"\u0135",Kcedil:"\u0136",kcedil:"\u0137",kgreen:"\u0138",Lacute:"\u0139",lacute:"\u013A",Lcedil:"\u013B",lcedil:"\u013C",Lcaron:"\u013D",lcaron:"\u013E",Lmidot:"\u013F",lmidot:"\u0140",Lstrok:"\u0141",lstrok:"\u0142",Nacute:"\u0143",nacute:"\u0144",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ENG:"\u014A",eng:"\u014B",Omacr:"\u014C",omacr:"\u014D",Odblac:"\u0150",odblac:"\u0151",OElig:"\u0152",oelig:"\u0153",Racute:"\u0154",racute:"\u0155",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",Sacute:"\u015A",sacute:"\u015B",Scirc:"\u015C",scirc:"\u015D",Scedil:"\u015E",scedil:"\u015F",Scaron:"\u0160",scaron:"\u0161",Tcedil:"\u0162",tcedil:"\u0163",Tcaron:"\u0164",tcaron:"\u0165",Tstrok:"\u0166",tstrok:"\u0167",Utilde:"\u0168",utilde:"\u0169",Umacr:"\u016A",umacr:"\u016B",Ubreve:"\u016C",ubreve:"\u016D",Uring:"\u016E",uring:"\u016F",Udblac:"\u0170",udblac:"\u0171",Uogon:"\u0172",uogon:"\u0173",Wcirc:"\u0174",wcirc:"\u0175",Ycirc:"\u0176",ycirc:"\u0177",Zacute:"\u0179",zacute:"\u017A",Zdot:"\u017B",zdot:"\u017C",Zcaron:"\u017D",zcaron:"\u017E"},KV={Alpha:"\u0391",alpha:"\u03B1",Beta:"\u0392",beta:"\u03B2",Gamma:"\u0393",gamma:"\u03B3",Delta:"\u0394",delta:"\u03B4",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",varepsilon:"\u03F5",Zeta:"\u0396",zeta:"\u03B6",Eta:"\u0397",eta:"\u03B7",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",vartheta:"\u03D1",Iota:"\u0399",iota:"\u03B9",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",varkappa:"\u03F0",Lambda:"\u039B",lambda:"\u03BB",Mu:"\u039C",mu:"\u03BC",Nu:"\u039D",nu:"\u03BD",Xi:"\u039E",xi:"\u03BE",Omicron:"\u039F",omicron:"\u03BF",Pi:"\u03A0",pi:"\u03C0",piv:"\u03D6",varpi:"\u03D6",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",varrho:"\u03F1",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",varsigma:"\u03C2",Tau:"\u03A4",tau:"\u03C4",Upsilon:"\u03A5",upsilon:"\u03C5",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",varphi:"\u03D5",Chi:"\u03A7",chi:"\u03C7",Psi:"\u03A8",psi:"\u03C8",Omega:"\u03A9",omega:"\u03C9",ohm:"\u03A9",Gammad:"\u03DC",gammad:"\u03DD",digamma:"\u03DD"},XV={Afr:"\u{1D504}",afr:"\u{1D51E}",Acy:"\u0410",acy:"\u0430",Bcy:"\u0411",bcy:"\u0431",Vcy:"\u0412",vcy:"\u0432",Gcy:"\u0413",gcy:"\u0433",Dcy:"\u0414",dcy:"\u0434",IEcy:"\u0415",iecy:"\u0435",IOcy:"\u0401",iocy:"\u0451",ZHcy:"\u0416",zhcy:"\u0436",Zcy:"\u0417",zcy:"\u0437",Icy:"\u0418",icy:"\u0438",Jcy:"\u0419",jcy:"\u0439",Kcy:"\u041A",kcy:"\u043A",Lcy:"\u041B",lcy:"\u043B",Mcy:"\u041C",mcy:"\u043C",Ncy:"\u041D",ncy:"\u043D",Ocy:"\u041E",ocy:"\u043E",Pcy:"\u041F",pcy:"\u043F",Rcy:"\u0420",rcy:"\u0440",Scy:"\u0421",scy:"\u0441",Tcy:"\u0422",tcy:"\u0442",Ucy:"\u0423",ucy:"\u0443",Fcy:"\u0424",fcy:"\u0444",KHcy:"\u0425",khcy:"\u0445",TScy:"\u0426",tscy:"\u0446",CHcy:"\u0427",chcy:"\u0447",SHcy:"\u0428",shcy:"\u0448",SHCHcy:"\u0429",shchcy:"\u0449",HARDcy:"\u042A",hardcy:"\u044A",Ycy:"\u042B",ycy:"\u044B",SOFTcy:"\u042C",softcy:"\u044C",Ecy:"\u042D",ecy:"\u044D",YUcy:"\u042E",yucy:"\u044E",YAcy:"\u042F",yacy:"\u044F",DJcy:"\u0402",djcy:"\u0452",GJcy:"\u0403",gjcy:"\u0453",Jukcy:"\u0404",jukcy:"\u0454",DScy:"\u0405",dscy:"\u0455",Iukcy:"\u0406",iukcy:"\u0456",YIcy:"\u0407",yicy:"\u0457",Jsercy:"\u0408",jsercy:"\u0458",LJcy:"\u0409",ljcy:"\u0459",NJcy:"\u040A",njcy:"\u045A",TSHcy:"\u040B",tshcy:"\u045B",KJcy:"\u040C",kjcy:"\u045C",Ubrcy:"\u040E",ubrcy:"\u045E",DZcy:"\u040F",dzcy:"\u045F"},ZV={plus:"+",minus:"\u2212",mnplus:"\u2213",mp:"\u2213",pm:"\xB1",times:"\xD7",div:"\xF7",divide:"\xF7",sdot:"\u22C5",star:"\u2606",starf:"\u2605",bigstar:"\u2605",lowast:"\u2217",ast:"*",midast:"*",compfn:"\u2218",smallcircle:"\u2218",bullet:"\u2022",bull:"\u2022",nbsp:"\xA0",hellip:"\u2026",mldr:"\u2026",prime:"\u2032",Prime:"\u2033",tprime:"\u2034",bprime:"\u2035",backprime:"\u2035",minus:"\u2212",minusd:"\u2238",dotminus:"\u2238",plusdo:"\u2214",dotplus:"\u2214",plusmn:"\xB1",minusplus:"\u2213",mnplus:"\u2213",mp:"\u2213",setminus:"\u2216",smallsetminus:"\u2216",Backslash:"\u2216",setmn:"\u2216",ssetmn:"\u2216",lowbar:"_",verbar:"|",vert:"|",VerticalLine:"|",colon:":",Colon:"\u2237",Proportion:"\u2237",ratio:"\u2236",equals:"=",ne:"\u2260",nequiv:"\u2262",equiv:"\u2261",Congruent:"\u2261",sim:"\u223C",thicksim:"\u223C",thksim:"\u223C",sime:"\u2243",simeq:"\u2243",TildeEqual:"\u2243",asymp:"\u2248",approx:"\u2248",thickapprox:"\u2248",thkap:"\u2248",TildeTilde:"\u2248",ncong:"\u2247",cong:"\u2245",TildeFullEqual:"\u2245",asympeq:"\u224D",CupCap:"\u224D",bump:"\u224E",Bumpeq:"\u224E",HumpDownHump:"\u224E",bumpe:"\u224F",bumpeq:"\u224F",HumpEqual:"\u224F",dotminus:"\u2238",minusd:"\u2238",plusdo:"\u2214",dotplus:"\u2214",le:"\u2264",LessEqual:"\u2264",ge:"\u2265",GreaterEqual:"\u2265",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",greater:">",less:"<"},eJ={alefsym:"\u2135",aleph:"\u2135",beth:"\u2136",gimel:"\u2137",daleth:"\u2138",forall:"\u2200",ForAll:"\u2200",part:"\u2202",PartialD:"\u2202",exist:"\u2203",Exists:"\u2203",nexist:"\u2204",nexists:"\u2204",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\u2205",nabla:"\u2207",Del:"\u2207",isin:"\u2208",isinv:"\u2208",in:"\u2208",Element:"\u2208",notin:"\u2209",notinva:"\u2209",ni:"\u220B",niv:"\u220B",SuchThat:"\u220B",ReverseElement:"\u220B",notni:"\u220C",notniva:"\u220C",prod:"\u220F",Product:"\u220F",coprod:"\u2210",Coproduct:"\u2210",sum:"\u2211",Sum:"\u2211",minus:"\u2212",mp:"\u2213",plusdo:"\u2214",dotplus:"\u2214",setminus:"\u2216",lowast:"\u2217",radic:"\u221A",Sqrt:"\u221A",prop:"\u221D",propto:"\u221D",Proportional:"\u221D",varpropto:"\u221D",infin:"\u221E",infintie:"\u29DD",ang:"\u2220",angle:"\u2220",angmsd:"\u2221",measuredangle:"\u2221",angsph:"\u2222",mid:"\u2223",VerticalBar:"\u2223",nmid:"\u2224",nsmid:"\u2224",npar:"\u2226",parallel:"\u2225",spar:"\u2225",nparallel:"\u2226",nspar:"\u2226",and:"\u2227",wedge:"\u2227",or:"\u2228",vee:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",Integral:"\u222B",conint:"\u222E",ContourIntegral:"\u222E",Conint:"\u222F",DoubleContourIntegral:"\u222F",Cconint:"\u2230",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",becaus:"\u2235",because:"\u2235",Because:"\u2235",ratio:"\u2236",Proportion:"\u2237",minusd:"\u2238",dotminus:"\u2238",mDDot:"\u223A",homtht:"\u223B",sim:"\u223C",bsimg:"\u223D",backsim:"\u223D",ac:"\u223E",mstpos:"\u223E",acd:"\u223F",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",nsime:"\u2244",nsimeq:"\u2244",nsimeq:"\u2244",ncong:"\u2247",simne:"\u2246",ncongdot:"\u2A6D\u0338",ngsim:"\u2275",nsim:"\u2241",napprox:"\u2249",nap:"\u2249",ngeq:"\u2271",nge:"\u2271",nleq:"\u2270",nle:"\u2270",ngtr:"\u226F",ngt:"\u226F",nless:"\u226E",nlt:"\u226E",nprec:"\u2280",npr:"\u2280",nsucc:"\u2281",nsc:"\u2281"},tJ={larr:"\u2190",leftarrow:"\u2190",LeftArrow:"\u2190",uarr:"\u2191",uparrow:"\u2191",UpArrow:"\u2191",rarr:"\u2192",rightarrow:"\u2192",RightArrow:"\u2192",darr:"\u2193",downarrow:"\u2193",DownArrow:"\u2193",harr:"\u2194",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",varr:"\u2195",updownarrow:"\u2195",UpDownArrow:"\u2195",nwarr:"\u2196",nwarrow:"\u2196",UpperLeftArrow:"\u2196",nearr:"\u2197",nearrow:"\u2197",UpperRightArrow:"\u2197",searr:"\u2198",searrow:"\u2198",LowerRightArrow:"\u2198",swarr:"\u2199",swarrow:"\u2199",LowerLeftArrow:"\u2199",lArr:"\u21D0",Leftarrow:"\u21D0",uArr:"\u21D1",Uparrow:"\u21D1",rArr:"\u21D2",Rightarrow:"\u21D2",dArr:"\u21D3",Downarrow:"\u21D3",hArr:"\u21D4",Leftrightarrow:"\u21D4",iff:"\u21D4",vArr:"\u21D5",Updownarrow:"\u21D5",lAarr:"\u21DA",Lleftarrow:"\u21DA",rAarr:"\u21DB",Rrightarrow:"\u21DB",lrarr:"\u21C6",leftrightarrows:"\u21C6",rlarr:"\u21C4",rightleftarrows:"\u21C4",lrhar:"\u21CB",leftrightharpoons:"\u21CB",ReverseEquilibrium:"\u21CB",rlhar:"\u21CC",rightleftharpoons:"\u21CC",Equilibrium:"\u21CC",udarr:"\u21C5",UpArrowDownArrow:"\u21C5",duarr:"\u21F5",DownArrowUpArrow:"\u21F5",llarr:"\u21C7",leftleftarrows:"\u21C7",rrarr:"\u21C9",rightrightarrows:"\u21C9",ddarr:"\u21CA",downdownarrows:"\u21CA",har:"\u21BD",lhard:"\u21BD",leftharpoondown:"\u21BD",lharu:"\u21BC",leftharpoonup:"\u21BC",rhard:"\u21C1",rightharpoondown:"\u21C1",rharu:"\u21C0",rightharpoonup:"\u21C0",lsh:"\u21B0",Lsh:"\u21B0",rsh:"\u21B1",Rsh:"\u21B1",ldsh:"\u21B2",rdsh:"\u21B3",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",mapstoleft:"\u21A4",mapstoup:"\u21A5",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",crarr:"\u21B5",nwarrow:"\u2196",nearrow:"\u2197",searrow:"\u2198",swarrow:"\u2199",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nrightarrow:"\u219B",nrarr:"\u219B",larrtl:"\u21A2",rarrtl:"\u21A3",leftarrowtail:"\u21A2",rightarrowtail:"\u21A3",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Larr:"\u219E",Rarr:"\u21A0",larrhk:"\u21A9",rarrhk:"\u21AA",larrlp:"\u21AB",looparrowleft:"\u21AB",rarrlp:"\u21AC",looparrowright:"\u21AC",harrw:"\u21AD",leftrightsquigarrow:"\u21AD",nrarrw:"\u219D\u0338",rarrw:"\u219D",rightsquigarrow:"\u219D",larrbfs:"\u291F",rarrbfs:"\u2920",nvHarr:"\u2904",nvlArr:"\u2902",nvrArr:"\u2903",larrfs:"\u291D",rarrfs:"\u291E",Map:"\u2905",larrsim:"\u2973",rarrsim:"\u2974",harrcir:"\u2948",Uarrocir:"\u2949",lurdshar:"\u294A",ldrdhar:"\u2967",ldrushar:"\u294B",rdldhar:"\u2969",lrhard:"\u296D",rlhar:"\u21CC",uharr:"\u21BE",uharl:"\u21BF",dharr:"\u21C2",dharl:"\u21C3",Uarr:"\u219F",Darr:"\u21A1",zigrarr:"\u21DD",nwArr:"\u21D6",neArr:"\u21D7",seArr:"\u21D8",swArr:"\u21D9",nharr:"\u21AE",nhArr:"\u21CE",nlarr:"\u219A",nlArr:"\u21CD",nrarr:"\u219B",nrArr:"\u21CF",larrb:"\u21E4",LeftArrowBar:"\u21E4",rarrb:"\u21E5",RightArrowBar:"\u21E5"},rJ={square:"\u25A1",Square:"\u25A1",squ:"\u25A1",squf:"\u25AA",squarf:"\u25AA",blacksquar:"\u25AA",blacksquare:"\u25AA",FilledVerySmallSquare:"\u25AA",blk34:"\u2593",blk12:"\u2592",blk14:"\u2591",block:"\u2588",srect:"\u25AD",rect:"\u25AD",sdot:"\u22C5",sdotb:"\u22A1",dotsquare:"\u22A1",triangle:"\u25B5",tri:"\u25B5",trine:"\u25B5",utri:"\u25B5",triangledown:"\u25BF",dtri:"\u25BF",tridown:"\u25BF",triangleleft:"\u25C3",ltri:"\u25C3",triangleright:"\u25B9",rtri:"\u25B9",blacktriangle:"\u25B4",utrif:"\u25B4",blacktriangledown:"\u25BE",dtrif:"\u25BE",blacktriangleleft:"\u25C2",ltrif:"\u25C2",blacktriangleright:"\u25B8",rtrif:"\u25B8",loz:"\u25CA",lozenge:"\u25CA",blacklozenge:"\u29EB",lozf:"\u29EB",bigcirc:"\u25EF",xcirc:"\u25EF",circ:"\u02C6",Circle:"\u25CB",cir:"\u25CB",o:"\u25CB",bullet:"\u2022",bull:"\u2022",hellip:"\u2026",mldr:"\u2026",nldr:"\u2025",boxh:"\u2500",HorizontalLine:"\u2500",boxv:"\u2502",boxdr:"\u250C",boxdl:"\u2510",boxur:"\u2514",boxul:"\u2518",boxvr:"\u251C",boxvl:"\u2524",boxhd:"\u252C",boxhu:"\u2534",boxvh:"\u253C",boxH:"\u2550",boxV:"\u2551",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxDl:"\u2555",boxdL:"\u2556",boxDL:"\u2557",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxUl:"\u255C",boxuL:"\u255B",boxUL:"\u255D",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",boxVl:"\u2562",boxvL:"\u2561",boxVL:"\u2563",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C"},nJ={excl:"!",iexcl:"\xA1",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",nbsp:"\xA0",comma:",",period:".",colon:":",semi:";",vert:"|",Verbar:"\u2016",verbar:"|",dblac:"\u02DD",circ:"\u02C6",caron:"\u02C7",breve:"\u02D8",dot:"\u02D9",ring:"\u02DA",ogon:"\u02DB",tilde:"\u02DC",DiacriticalGrave:"`",DiacriticalAcute:"\xB4",DiacriticalTilde:"\u02DC",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",grave:"`",acute:"\xB4"},Lg={cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",euro:"\u20AC",dollar:"$",euro:"\u20AC",fnof:"\u0192",inr:"\u20B9",af:"\u060B",birr:"\u1265\u122D",peso:"\u20B1",rub:"\u20BD",won:"\u20A9",yuan:"\xA5",cedil:"\xB8"},sJ={frac12:"\xBD",half:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044"},iJ={trade:"\u2122",TRADE:"\u2122",telrec:"\u2315",target:"\u2316",ulcorn:"\u231C",ulcorner:"\u231C",urcorn:"\u231D",urcorner:"\u231D",dlcorn:"\u231E",llcorner:"\u231E",drcorn:"\u231F",lrcorner:"\u231F",intercal:"\u22BA",intcal:"\u22BA",oplus:"\u2295",CirclePlus:"\u2295",ominus:"\u2296",CircleMinus:"\u2296",otimes:"\u2297",CircleTimes:"\u2297",osol:"\u2298",odot:"\u2299",CircleDot:"\u2299",oast:"\u229B",circledast:"\u229B",odash:"\u229D",circleddash:"\u229D",ocirc:"\u229A",circledcirc:"\u229A",boxplus:"\u229E",plusb:"\u229E",boxminus:"\u229F",minusb:"\u229F",boxtimes:"\u22A0",timesb:"\u22A0",boxdot:"\u22A1",sdotb:"\u22A1",veebar:"\u22BB",vee:"\u2228",barvee:"\u22BD",and:"\u2227",wedge:"\u2227",Cap:"\u22D2",Cup:"\u22D3",Fork:"\u22D4",pitchfork:"\u22D4",epar:"\u22D5",ltlarr:"\u2976",nvap:"\u224D\u20D2",nvsim:"\u223C\u20D2",nvge:"\u2265\u20D2",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvgt:">\u20D2",nvltrie:"\u22B4\u20D2",nvrtrie:"\u22B5\u20D2",Vdash:"\u22A9",dashv:"\u22A3",vDash:"\u22A8",Vdash:"\u22A9",Vvdash:"\u22AA",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF"},pge={...WV,...$V,...jV,...KV,...XV,...ZV,...eJ,...tJ,...rJ,...nJ,...Lg,...sJ,...iJ},Rd={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},l0={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 fge=new Set("!?\\\\/[]$%{}^&*()<>|+");function oJ(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(oJ,"validateEntityName");function A0(...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(A0,"mergeEntityMaps");var Sa="external",_g="base",u0="all";function gge(t){return!t||t===Sa?new Set([Sa]):t===u0?new Set([u0]):t===_g?new Set([_g]):Array.isArray(t)?new Set(t):new Set([Sa])}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 Rl=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??Sa),this._numericAllowed=e.numericAllowed??!0,this._baseMap=A0(Rd,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}setExternalEntities(e){if(e)for(let r of Object.keys(e))oJ(r);this._externalMap=A0(e)}addExternalEntity(e,r){oJ(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=A0(e)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=e===1.1?1.1:1}decode(e){if(typeof e!="string"||e.length===0)return e;let r=e,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 h,p;if(this._removeSet.has(m))h="",p===void 0&&(p=Sa);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}h=f,p=_g}else{let f=this._resolveName(m);h=f?.value,p=f?.tier}if(h===void 0){a++;continue}if(a>i&&n.push(e.slice(i,a)),n.push(h),i=d+1,a=i,A&&this._tierCounts(p)){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=h.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(u0)?!0:this._limitTiers.has(e)}_resolveName(e){if(e in this._inputMap)return{value:this._inputMap[e],tier:Sa};if(e in this._externalMap)return{value:this._externalMap[e],tier:Sa};if(e in this._baseMap)return{value:this._baseMap[e],tier:_g}}_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 aJ=o(t=>Nd.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},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:aJ};function Ige(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(Nd.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(Tg.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 cJ(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"}:cJ(!0)}o(cJ,"normalizeProcessEntities");var lJ=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=aJ),e.processEntities=cJ(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 Fg;typeof Symbol!="function"?Fg="@@xmlMetadata":Fg=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}),r!==void 0&&(this.child[this.child.length-1][Fg]={startIndex:r})}static getMetaDataSymbol(){return Fg}};var AJ=":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=AJ+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",uJ=":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=uJ+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",dJ=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=dJ(AJ,Bge),bge=dJ(uJ,Qge,"u"),wge=o((t="1.0")=>t==="1.1"?bge:xge,"getRegexes");var Ra=o((t,{xmlVersion:e="1.0"}={})=>wge(e).qName.test(t),"qName");var Pd=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="";for(;r<e.length;r++)if(e[r]==="<"&&!c){if(a&&va(e,"!ENTITY",r)){r+=7;let A,u;if([A,u,r]=this.readEntityExp(e,r+1,this.suppressValidationErr),u.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[A]=u,s++}}else if(a&&va(e,"!ELEMENT",r)){r+=8;let{index:A}=this.readElementExp(e,r+1);r=A}else if(a&&va(e,"!ATTLIST",r))r+=8;else if(a&&va(e,"!NOTATION",r)){r+=9;let{index:A}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=A}else if(va(e,"!--",r))c=!0;else throw new Error("Invalid DOCTYPE");i++,l=""}else if(e[r]===">"){if(c?e[r-1]==="-"&&e[r-2]==="-"&&(c=!1,i--):i--,i===0)break}else e[r]==="["?a=!0:l+=e[r];if(i!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities: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(vd(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&&vd(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&&!Ra(s,{xmlVersion:this.xmlVersion}))throw new Error(`Invalid element name: "${s}"`);r=Qr(e,r);let i="";if(e[r]==="E"&&va(e,"MPTY",r))r+=4;else if(e[r]==="A"&&va(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(vd(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(!vd(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(),!vd(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 va(t,e,r){for(let n=0;n<e.length;n++)if(e[n]!==t[r+n+1])return!1;return!0}o(va,"hasSeq");function vd(t,e){if(Ra(t,{xmlVersion:e}))return t;throw new Error(`Invalid entity name ${t}`)}o(vd,"validateEntityName");var Nge=/^[-+]?0x[a-fA-F0-9]+$/,Sge=/^0b[01]+$/,Rge=/^0o[0-7]+$/,vge=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,Pge={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original"};function m0(t,e={}){if(e=Object.assign({},Pge,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")return 0;if(e.hex&&Nge.test(r))return d0(r,16);if(e.binary&&Sge.test(r))return d0(r,2);if(e.octal&&Rge.test(r))return d0(r,8);if(isFinite(r)){if(r.includes("e")||r.includes("E"))return kge(t,r,e);{let n=vge.exec(r);if(n){let s=n[1]||"",i=n[2],a=Tge(n[3]),c=s?t[i.length+1]===".":t[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 return Mge(t,Number(r),e)}o(m0,"toNumber");var Dge=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function kge(t,e,r){if(!r.eNotation)return t;let n=e.match(Dge);if(n){let s=n[1]||"",i=n[3].indexOf("e")===-1?"E":"e",a=n[2],c=s?t[a.length+1]===i:t[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?(e=(n[1]||"")+n[3],Number(e)):t:Number(e)}else return t}o(kge,"resolveEnotation");function Tge(t){return t&&t.indexOf(".")!==-1&&(t=t.replace(/0+$/,""),t==="."?t="0":t[0]==="."?t="0"+t:t[t.length-1]==="."&&(t=t.substring(0,t.length-1))),t}o(Tge,"trimZeros");function d0(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(d0,"parse_int");function Mge(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(Mge,"handleInfinity");function h0(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(h0,"getIgnoreAttributesFn");var Xr=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 vl=class{static{o(this,"ExpressionSet")}constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],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())return this._deepWildcards.push(e),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 c=0;c<i.length;c++)if(e.matches(i[c]))return i[c]}let a=this._wildcardByDepth.get(r);if(a){for(let c=0;c<a.length;c++)if(e.matches(a[c]))return a[c]}for(let c=0;c<this._deepWildcards.length;c++)if(e.matches(this._deepWildcards[c]))return this._deepWildcards[c];return null}};var p0=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}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)}},Rs=class{static{o(this,"Matcher")}constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new p0(this)}push(e,r=null,n=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let s=this.path.length;this.siblingStacks[s]||(this.siblingStacks[s]=new Map);let i=this.siblingStacks[s],a=n?`${n}:${e}`:e,c=i.get(a)||0,l=0;for(let u of i.values())l+=u;i.set(a,c+1);let A={tag:e,position:l,counter:c};n!=null&&(A.namespace=n),r!=null&&(A.values=r),this.path.push(A)}pop(){if(this.path.length===0)return;this._pathStringCache=null;let e=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),e}updateCurrent(e){if(this.path.length>0){let r=this.path[this.path.length-1];e!=null&&(r.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(this.path.length!==0)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return!1;let r=this.path[this.path.length-1];return r.values!==void 0&&e in r.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,r=!0){let 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=[]}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=>new Map(e))}}restore(e){this._pathStringCache=null,this.path=e.path.map(r=>({...r})),this.siblingStacks=e.siblingStacks.map(r=>new Map(r))}readOnly(){return this._view}};function Lge(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(Lge,"extractRawAttributes");function _ge(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(_ge,"extractNamespace");var Dd=class{static{o(this,"OrderedObjParser")}constructor(e,r){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=Hge,this.parseTextData=Fge,this.resolveNameSpace=Uge,this.buildAttributesMap=qge,this.isItStopNode=Vge,this.replaceEntitiesValue=Gge,this.readStopNodeData=$ge,this.saveTextToParentTag=Yge,this.addChild=zge,this.ignoreAttributesFn=h0(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let n={...Rd};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?n=this.options.htmlEntities:this.options.htmlEntities===!0&&(n={...l0,...Lg}),this.entityDecoder=new Rl({namedEntities:{...n,...r},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new Rs,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new vl;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 Xr(a)):a instanceof Xr&&this.stopNodeExpressionsSet.add(a)}this.stopNodeExpressionsSet.seal()}}};function Fge(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?y0(t,c.parseTagValue,c.numberParseOptions):t}}o(Fge,"parseTextData");function Uge(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(Uge,"resolveNameSpace");var Oge=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function qge(t,e,r,n=!1){let s=this.options;if(n===!0||s.ignoreAttributes!==!0&&typeof t=="string"){let i=kg(t,Oge),a=i.length,c={},l=new Array(a),A=!1,u={};for(let h=0;h<a;h++){let p=this.resolveNameSpace(i[h][1]),f=i[h][4];if(p.length&&f!==void 0){let C=f;s.trimValues&&(C=C.trim()),C=this.replaceEntitiesValue(C,r,this.readonlyMatcher),l[h]=C,u[p]=C,A=!0}}A&&typeof e=="object"&&e.updateCurrent&&e.updateCurrent(u);let d=s.jPath?e.toString():this.readonlyMatcher,m=!1;for(let h=0;h<a;h++){let p=this.resolveNameSpace(i[h][1]);if(this.ignoreAttributesFn(p,d))continue;let f=s.attributeNamePrefix+p;if(p.length)if(s.transformAttributeName&&(f=s.transformAttributeName(f)),f=mJ(f,s),i[h][4]!==void 0){let C=l[h],y=s.attributeValueProcessor(p,C,d);y==null?c[f]=C:typeof y!=typeof C||y!==C?c[f]=y:c[f]=y0(C,s.parseAttributeValue,s.numberParseOptions),m=!0}else s.allowBooleanAttributes&&(c[f]=!0,m=!0)}if(!m)return;if(s.attributesGroupName&&!s.preserveOrder){let h={};return h[s.attributesGroupName]=c,h}return c}}o(qge,"buildAttributesMap");var Hge=o(function(t){t=t.replace(/\r\n?/g,`
|
|
`);let e=new Br("!xml"),r=e,n="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let s=this.options,i=new Pd(s.processEntities),a=t.length;for(let c=0;c<a;c++)if(t[c]==="<"){let A=t.charCodeAt(c+1);if(A===47){let u=Pl(t,">",c,"Closing Tag is not closed."),d=t.substring(c+2,u).trim();if(s.removeNSPrefix){let h=d.indexOf(":");h!==-1&&(d=d.substr(h+1))}d=f0(s.transformTagName,d,"",s).tagName,r&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher));let m=this.matcher.getCurrentTag();if(d&&s.unpairedTagsSet.has(d))throw new Error(`Unpaired tag can not be used as closing tag: </${d}>`);m&&s.unpairedTagsSet.has(m)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",c=u}else if(A===63){let u=g0(t,c,!1,"?>");if(!u)throw new Error("Pi Tag is not closed.");n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let d=this.buildAttributesMap(u.tagExp,this.matcher,u.tagName,!0);if(d){let m=d[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(m)||1),i.setXmlVersion(Number(m)||1)}if(!(s.ignoreDeclaration&&u.tagName==="?xml"||s.ignorePiTags)){let m=new Br(u.tagName);m.add(s.textNodeName,""),u.tagName!==u.tagExp&&u.attrExpPresent&&s.ignoreAttributes!==!0&&(m[":@"]=d),this.addChild(r,m,this.readonlyMatcher,c)}c=u.closeIndex+1}else if(A===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let u=Pl(t,"-->",c+4,"Comment is not closed.");if(s.commentPropName){let d=t.substring(c+4,u-2);n=this.saveTextToParentTag(n,r,this.readonlyMatcher),r.add(s.commentPropName,[{[s.textNodeName]:d}])}c=u}else if(A===33&&t.charCodeAt(c+2)===68){let u=i.readDocType(t,c);this.entityDecoder.addInputEntities(u.entities),c=u.i}else if(A===33&&t.charCodeAt(c+2)===91){let u=Pl(t,"]]>",c,"CDATA is not closed.")-2,d=t.substring(c+9,u);n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let m=this.parseTextData(d,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);m==null&&(m=""),s.cdataPropName?r.add(s.cdataPropName,[{[s.textNodeName]:d}]):r.add(s.textNodeName,m),c=u+2}else{let u=g0(t,c,s.removeNSPrefix);if(!u){let S=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${S}"`)}let d=u.tagName,m=u.rawTagName,h=u.tagExp,p=u.attrExpPresent,f=u.closeIndex;if({tagName:d,tagExp:h}=f0(s.transformTagName,d,h,s),s.strictReservedNames&&(d===s.commentPropName||d===s.cdataPropName||d===s.textNodeName||d===s.attributesGroupName))throw new Error(`Invalid tag name: ${d}`);r&&n&&r.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher,!1));let C=r;C&&s.unpairedTagsSet.has(C.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let y=!1;h.length>0&&h.lastIndexOf("/")===h.length-1&&(y=!0,d[d.length-1]==="/"?(d=d.substr(0,d.length-1),h=d):h=h.substr(0,h.length-1),p=d!==h);let E=null,I={},B;B=_ge(m),d!==e.tagname&&this.matcher.push(d,{},B),d!==h&&p&&(E=this.buildAttributesMap(h,this.matcher,d),E&&(I=Lge(E,s))),d!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let w=c;if(this.isCurrentNodeStopNode){let S="";if(y)c=u.closeIndex;else if(s.unpairedTagsSet.has(d))c=u.closeIndex;else{let ee=this.readStopNodeData(t,m,f+1);if(!ee)throw new Error(`Unexpected end of ${m}`);c=ee.i,S=ee.tagContent}let T=new Br(d);E&&(T[":@"]=E),T.add(s.textNodeName,S),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,T,this.readonlyMatcher,w)}else{if(y){({tagName:d,tagExp:h}=f0(s.transformTagName,d,h,s));let S=new Br(d);E&&(S[":@"]=E),this.addChild(r,S,this.readonlyMatcher,w),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(s.unpairedTagsSet.has(d)){let S=new Br(d);E&&(S[":@"]=E),this.addChild(r,S,this.readonlyMatcher,w),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=u.closeIndex;continue}else{let S=new Br(d);if(this.tagsNodeStack.length>s.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),E&&(S[":@"]=E),this.addChild(r,S,this.readonlyMatcher,w),r=S}n="",c=f}}}else n+=t[c];return e.child},"parseXml");function zge(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(zge,"addChild");function Gge(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(Gge,"replaceEntitiesValue");function Yge(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(Yge,"saveTextToParentTag");function Vge(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(Vge,"isItStopNode");function Jge(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(Jge,"tagExpWithClosingIndex");function Pl(t,e,r,n){let s=t.indexOf(e,r);if(s===-1)throw new Error(n);return s+e.length-1}o(Pl,"findClosingIndex");function Wge(t,e,r,n){let s=t.indexOf(e,r);if(s===-1)throw new Error(n);return s}o(Wge,"findClosingChar");function g0(t,e,r,n=">"){let s=Jge(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(g0,"readTagExp");function $ge(t,e,r){let n=r,s=1,i=t.length;for(;r<i;r++)if(t[r]==="<"){let a=t.charCodeAt(r+1);if(a===47){let c=Wge(t,">",r,`${e} is not closed`);if(t.substring(r+2,c).trim()===e&&(s--,s===0))return{tagContent:t.substring(n,r),i:c};r=c}else if(a===63)r=Pl(t,"?>",r+1,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=Pl(t,"-->",r+3,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===91)r=Pl(t,"]]>",r,"StopNode is not closed.")-2;else{let c=g0(t,r,!1);c&&((c&&c.tagName)===e&&c.tagExp[c.tagExp.length-1]!=="/"&&s++,r=c.closeIndex)}}}o($ge,"readStopNodeData");function y0(t,e,r){if(e&&typeof t=="string"){let n=t.trim();return n==="true"?!0:n==="false"?!1:m0(t,r)}else return zV(t)?t:""}o(y0,"parseValue");function f0(t,e,r,n){if(t){let s=t(e);r===e&&(r=s),e=s}return e=mJ(e,n),{tagName:e,tagExp:r}}o(f0,"transformTagName");function mJ(t,e){if(Tg.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return Nd.includes(t)?e.onDangerousProperty(t):t}o(mJ,"sanitizeName");var E0=Br.getMetaDataSymbol();function jge(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(jge,"stripAttributePrefix");function C0(t,e,r,n){return hJ(t,e,r,n)}o(C0,"prettify");function hJ(t,e,r,n){let s,i={};for(let a=0;a<t.length;a++){let c=t[a],l=Kge(c);if(l!==void 0&&l!==e.textNodeName){let A=jge(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=hJ(c[l],e,r,n),u=Zge(A,e);if(Object.keys(A).length===0&&e.alwaysCreateTextNode&&(A[e.textNodeName]=""),c[":@"]?Xge(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[E0]!==void 0&&typeof A=="object"&&A!==null&&(A[E0]=c[E0]),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(hJ,"compress");function Kge(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let n=e[r];if(n!==":@")return n}}o(Kge,"propName");function Xge(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(Xge,"assignAttributes");function Zge(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(Zge,"isLeafTag");var Dl=class{static{o(this,"XMLParser")}constructor(e){this.externalEntities={},this.options=lJ(e)}parse(e,r){if(typeof e!="string"&&e.toString)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=Mg(e,r);if(i!==!0)throw Error(`${i.err.msg}:${i.err.line}:${i.err.col}`)}let n=new Dd(this.options,this.externalEntities),s=n.parseXml(e);return this.options.preserveOrder||s===void 0?s:C0(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 '
'");if(r==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[e]=r}static getMetaDataSymbol(){return Br.getMetaDataSymbol()}};function Ug(t){return String(t).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}o(Ug,"safeComment");function Og(t){return String(t).replace(/\]\]>/g,"]]]]><![CDATA[>")}o(Og,"safeCdata");function Qo(t){return String(t).replace(/"/g,""").replace(/'/g,"'")}o(Qo,"escapeAttribute");var eye=`
|
|
`;function tye(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(Q0(r)==="?xml"){let s=r[":@"];if(s){let i=e.attributeNamePrefix+"version";if(s[i])return s[i]}}return"1.0"}o(tye,"detectXmlVersionFromArray");function fJ(t,e,r,n,s){return!r.sanitizeName||Ra(t,{xmlVersion:s})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(fJ,"resolveTagName");function B0(t,e){let r="";e.format&&(r=eye);let n=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let a=0;a<e.stopNodes.length;a++){let c=e.stopNodes[a];typeof c=="string"?n.push(new Xr(c)):c instanceof Xr&&n.push(c)}let s=tye(t,e),i=new Rs;return gJ(t,e,r,i,n,s)}o(B0,"toXml");function gJ(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=t.toString();return l=I0(l,e),l}return""}for(let l=0;l<t.length;l++){let A=t[l],u=Q0(A);if(u===void 0)continue;let m=u===e.textNodeName||u===e.cdataPropName||u===e.commentPropName||u[0]==="?"?u:fJ(u,!1,e,n,i),h=rye(A[":@"],e);n.push(m,h);let p=sye(n,s);if(m===e.textNodeName){let I=A[u];p||(I=e.tagValueProcessor(m,I),I=I0(I,e)),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=Og(I);a+=`<![CDATA[${B}]]>`,c=!1,n.pop();continue}else if(m===e.commentPropName){let I=A[u][0][e.textNodeName],B=Ug(I);a+=r+`<!--${B}-->`,c=!0,n.pop();continue}else if(m[0]==="?"){let I=pJ(A[":@"],e,p,n,i);a+=(m==="?xml"?"":r)+`<${m}${I}?>`,c=!0,n.pop();continue}let f=r;f!==""&&(f+=e.indentBy);let C=pJ(A[":@"],e,p,n,i),y=r+`<${m}${C}`,E;p?E=yJ(A[u],e):E=gJ(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(gJ,"arrToStr");function rye(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]=Qo(t[s]),n=!0}return n?r:null}o(rye,"extractAttributeValues");function yJ(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let n=0;n<t.length;n++){let s=t[n],i=Q0(s);if(i===e.textNodeName)r+=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=nye(s[":@"],e),c=yJ(s[i],e);!c||c.length===0?r+=`<${i}${a}/>`:r+=`<${i}${a}>${c}</${i}>`}}}return r}o(yJ,"getRawContent");function nye(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)}="${Qo(s)}"`}return r}o(nye,"attr_to_str_raw");function Q0(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(Q0,"propName");function pJ(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:fJ(c,!0,e,n,s),A;r?A=t[a]:(A=e.attributeValueProcessor(a,t[a]),A=I0(A,e)),A===!0&&e.suppressBooleanAttributes?i+=` ${l}`:i+=` ${l}="${Qo(A)}"`}return i}o(pJ,"attr_to_str");function sye(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(sye,"checkStopNode");function I0(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(I0,"replaceEntitiesValue");function x0(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(x0,"getIgnoreAttributesFn");var iye={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:o(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:o(function(t,e){return e},"attributeValueProcessor"),preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function xr(t){if(this.options=Object.assign({},iye,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 Xr(r)):r instanceof Xr&&this.stopNodeExpressions.push(r)}this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=x0(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=lye),this.processTextOrObjNode=aye,this.options.format?(this.indentate=cye,this.tagEndChar=`>
|
|
`,this.newLine=`
|
|
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(xr,"Builder");function oye(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(oye,"detectXmlVersionFromObj");function b0(t,e,r,n,s){return!r.sanitizeName||Ra(t,{xmlVersion:s})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(b0,"resolveTagName");xr.prototype.build=function(t){if(this.options.preserveOrder)return B0(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new Rs,r=oye(t,this.options);return this.j2x(t,0,e,r).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:b0(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=b0(d,!0,this.options,r,n);s+=this.buildAttrPairStr(m,""+t[l],c)}else if(!d)if(l===this.options.textNodeName){let m=this.options.tagValueProcessor(l,""+t[l]);i+=this.replaceEntitiesValue(m)}else{r.push(u);let m=this.checkStopNode(r);if(r.pop(),m){let h=""+t[l];h===""?i+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:i+=this.indentate(e)+"<"+u+">"+h+"</"+u+this.tagEndChar}else i+=this.buildTextValNode(t[l],u,"",e,r)}}else if(Array.isArray(t[l])){let d=t[l].length,m="",h="";for(let p=0;p<d;p++){let f=t[l][p];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)&&(h+=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),m+=C}else{r.push(u);let C=this.checkStopNode(r);if(r.pop(),C){let y=""+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,h,e)),i+=m}else if(this.options.attributesGroupName&&l===this.options.attributesGroupName){let d=Object.keys(t[l]),m=d.length;for(let h=0;h<m;h++){let p=b0(d[h],!0,this.options,r,n);s+=this.buildAttrPairStr(p,""+t[l][d[h]],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,""+e),e=this.replaceEntitiesValue(e)),this.options.suppressBooleanAttributes&&e==="true"?" "+t:" "+t+'="'+Qo(e)+'"'};function aye(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(aye,"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]=Qo(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]=Qo(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+'="'+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+'="'+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)+`<!--${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=Og(t);return this.indentate(n)+`<![CDATA[${i}]]>`+this.newLine}else if(this.options.commentPropName!==!1&&e===this.options.commentPropName){let i=Ug(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===""?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 cye(t){return this.options.indentBy.repeat(t)}o(cye,"indentate");function lye(t){return t.startsWith(this.options.attributeNamePrefix)&&t!==this.options.textNodeName?t.substr(this.attrPrefixLen):!1}o(lye,"isAttribute");var w0=xr;var EJ={validate:Mg};function BJ(t){var e;return{attributesGroupName:"$",textNodeName:(e=t.xmlCharKey)!==null&&e!==void 0?e:"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}o(BJ,"getCommonOptions");function Aye(t={}){var e,r;return Object.assign(Object.assign({},BJ(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(Aye,"getSerializerOptions");function uye(t={}){return Object.assign(Object.assign({},BJ(t)),{parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:t.stopNodes,processEntities:!0,trimValues:!1})}o(uye,"getParserOptions");function qg(t,e={}){let r=Aye(e),n=new w0(r),s={[r.rootNodeName]:t};return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${n.build(s)}`.replace(/\n/g,"")}o(qg,"stringifyXML");async function N0(t,e={}){if(!t)throw new Error("Document is empty");let r=EJ.validate(t);if(r!==!0)throw r;let s=new Dl(uye(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(N0,"parseXML");var Hg=bs("storage-blob");var bJ=require("events");var QJ=require("node:stream");var zg=class extends QJ.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 xJ=Q(require("node:buffer"),1);var Gg=xJ.default.constants.MAX_LENGTH,Yg=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/Gg);for(let i=0;i<s;i++){let a=i===s-1?e%Gg:Gg;a===0&&(a=Gg),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 zg(this.buffers,this.size)}};var Vg=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new bJ.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 Yg(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 S0;function R0(){return S0||(S0=Ed()),S0}o(R0,"getCachedDefaultHttpClient");var vs=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 bi={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 xo(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(xo,"setURLParameter");function Jg(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(Jg,"setURLHost");function Wg(t){try{return new URL(t).pathname}catch{return}}o(Wg,"getURLPath");function $g(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($g,"getURLQueries");async function jg(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(jg,"delay");var kd=class extends vs{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return Ce?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=xo(e.url,bi.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 Td=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new kd(e,r)}};var Pa=class extends vs{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var Md=class extends Pa{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var Da=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var ze=class extends Da{static{o(this,"AnonymousCredential")}create(e,r){return new Md(e,r)}};var wJ=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]),mye=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]),hye=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 Kg(t,e){return pye(t,e)?-1:1}o(Kg,"compareHeader");function pye(t,e){let r=[dye,mye,hye],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(pye,"isLessThan");var Ld=class extends Pa{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)=>Kg(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=Wg(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let s=$g(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 Da{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new Ld(e,r,this)}computeHMACSHA256(e){return(0,wJ.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var Ct=bs("storage-common");var Bn;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(Bn||(Bn={}));var bo={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Bn.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},fye=new $r("The operation was aborted."),_d=class extends vs{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=bo){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:bo.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):bo.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:bo.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:bo.maxRetryDelayInMs):bo.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:bo.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:bo.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=Jg(s.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(s.url=xo(s.url,bi.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Ct.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(Ct.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 Ct.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 Ct.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 Ct.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Ct.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')?(Ct.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 Bn.EXPONENTIAL:s=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Bn.FIXED:s=this.retryOptions.retryDelayInMs;break}else s=Math.random()*1e3;return Ct.info(`RetryPolicy: Delay for ${s}ms`),jg(s,n,fye)}};var Fd=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new _d(e,r,this.retryOptions)}};var gye="storageBrowserPolicy";function NJ(){return{name:gye,async sendRequest(t,e){return Ce||((t.method==="GET"||t.method==="HEAD")&&(t.url=xo(t.url,bi.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Z.COOKIE),t.headers.delete(Z.CONTENT_LENGTH)),e(t)}}}o(NJ,"storageBrowserPolicy");var yye="StorageCorrectContentLengthPolicy";function SJ(){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:yye,async sendRequest(e,r){return t(e),r(e)}}}o(SJ,"storageCorrectContentLengthPolicy");var Eye="storageRetryPolicy",kl={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Bn.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Cye=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],Iye=new $r("The operation was aborted.");function RJ(t={}){let e=t.retryPolicyType??kl.retryPolicyType,r=t.maxTries??kl.maxTries,n=t.retryDelayInMs??kl.retryDelayInMs,s=t.maxRetryDelayInMs??kl.maxRetryDelayInMs,i=t.secondaryHost??kl.secondaryHost,a=t.tryTimeoutInMs??kl.tryTimeoutInMs;function c({isPrimaryRetry:A,attempt:u,response:d,error:m}){if(u>=r)return Ct.info(`RetryPolicy: Attempt(s) ${u} >= maxTries ${r}, no further try.`),!1;if(m){for(let h of Cye)if(m.name.toUpperCase().includes(h)||m.message.toUpperCase().includes(h)||m.code&&m.code.toString().toUpperCase()===h)return Ct.info(`RetryPolicy: Network error ${h} found, will retry.`),!0;if(m?.code==="PARSE_ERROR"&&m?.message.startsWith('Error "Error: Unclosed root tag'))return Ct.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(d||m){let h=d?.status??m?.statusCode??0;if(!A&&h===404)return Ct.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(h===503||h===500)return Ct.info(`RetryPolicy: Will retry for status code ${h}.`),!0}if(d&&d?.status>=400){let h=d.headers.get(Z.X_MS_CopySourceErrorCode);if(h!==void 0)switch(h){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 Bn.EXPONENTIAL:d=Math.min((Math.pow(2,u-1)-1)*n,s);break;case Bn.FIXED:d=n;break}else d=Math.random()*1e3;return Ct.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:Eye,async sendRequest(A,u){a&&(A.url=xo(A.url,bi.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=A.url,m=i?Jg(A.url,i):void 0,h=!1,p=1,f=!0,C,y;for(;f;){let E=h||!m||!["GET","HEAD","OPTIONS"].includes(A.method)||p%2===1;A.url=E?d:m,C=void 0,y=void 0;try{Ct.info(`RetryPolicy: =====> Try=${p} ${E?"Primary":"Secondary"}`),C=await u(A),h=h||!E&&C.status===404}catch(I){if(wa(I))Ct.error(`RetryPolicy: Caught error, message: ${I.message}, code: ${I.code}`),y=I;else throw Ct.error(`RetryPolicy: Caught error, message: ${Eo(I)}`),I}f=c({isPrimaryRetry:E,attempt:p,response:C,error:y}),f&&await jg(l(E,p),A.abortSignal,Iye),p++}if(C)return C;throw y??new Bi("RetryPolicy failed without known error.")}}}o(RJ,"storageRetryPolicy");var vJ=require("node:crypto");var Bye="storageSharedKeyCredentialPolicy";function v0(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,vJ.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)=>Kg(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=Wg(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=$g(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:Bye,async sendRequest(i,a){return e(i),a(i)}}}o(v0,"storageSharedKeyCredentialPolicy");var Qye="storageRequestFailureDetailsParserPolicy";function PJ(){return{name:Qye,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(PJ,"storageRequestFailureDetailsParserPolicy");var DJ=require("node:crypto");var Xg=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,DJ.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var Zg="12.31.0",ey="2026-02-06";var ty="https://storage.azure.com/.default",wi={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var Vn="",P0="*",xye=1*1024*1024;var bye=4*xye;var kJ="AES256",TJ="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",MJ=["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"],LJ=["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"],_J="BlobUsesCustomerSpecifiedEncryption",FJ="BlobDoesNotUseCustomerSpecifiedEncryption",UJ=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function Ni(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(Ni,"isPipelineLike");var Ud=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 Ud([],e);return r._credential=t,r}o(ct,"newPipeline");function wye(t){let e=[Nye,OJ,Sye,Rye,vye,Pye,kye];if(t.factories.length){let r=t.factories.filter(n=>!e.some(s=>s(n)));if(r.length){let n=r.some(s=>Dye(s));return{wrappedPolicies:o0(r),afterRetry:n}}}}o(wye,"processDownlevelPipeline");function D0(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?a0(e):R0(),t._coreHttpClient=n);let s=t._corePipeline;if(!s){let i=`azsdk-js-azure-storage-blob/${Zg}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;s=Id({...r,loggingOptions:{additionalAllowedHeaderNames:MJ,additionalAllowedQueryParameters:LJ,logger:Hg.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:qg,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:N0,serializerOptions:{xml:{xmlCharKey:"#"}}}}),s.removePolicy({phase:"Retry"}),s.removePolicy({name:Lw}),s.addPolicy(SJ()),s.addPolicy(RJ(r.retryOptions),{phase:"Retry"}),s.addPolicy(PJ()),s.addPolicy(NJ());let c=wye(t);c&&s.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=k0(t);jr(l)?s.addPolicy(Nl({credential:l,scopes:r.audience??ty,challengeCallbacks:{authorizeRequestOnChallenge:vg}}),{phase:"Sign"}):l instanceof je&&s.addPolicy(v0({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=s}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:s}}o(D0,"getCoreClientOptions");function k0(t){if(t._credential)return t._credential;let e=new ze;for(let r of t.factories)if(jr(r.credential))e=r.credential;else if(OJ(r))return r;return e}o(k0,"getCredentialFromPipeline");function OJ(t){return t instanceof je?!0:t.constructor.name==="StorageSharedKeyCredential"}o(OJ,"isStorageSharedKeyCredential");function Nye(t){return t instanceof ze?!0:t.constructor.name==="AnonymousCredential"}o(Nye,"isAnonymousCredential");function Sye(t){return jr(t.credential)}o(Sye,"isCoreHttpBearerTokenFactory");function Rye(t){return t instanceof Td?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(Rye,"isStorageBrowserPolicyFactory");function vye(t){return t instanceof Fd?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(vye,"isStorageRetryPolicyFactory");function Pye(t){return t.constructor.name==="TelemetryPolicyFactory"}o(Pye,"isStorageTelemetryPolicyFactory");function Dye(t){return t.constructor.name==="InjectorPolicyFactory"}o(Dye,"isInjectorPolicyFactory");function kye(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(kye,"isCoreHttpPolicyFactory");var qJ;(function(t){t.AES256="AES256"})(qJ||(qJ={}));var HJ;(function(t){t.Backup="backup"})(HJ||(HJ={}));var zJ;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(zJ||(zJ={}));var GJ;(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"})(GJ||(GJ={}));var Zr={};V5(Zr,{AccessPolicy:()=>Yye,AppendBlobAppendBlockExceptionHeaders:()=>ZS,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>tR,AppendBlobAppendBlockFromUrlHeaders:()=>eR,AppendBlobAppendBlockHeaders:()=>XS,AppendBlobCreateExceptionHeaders:()=>KS,AppendBlobCreateHeaders:()=>jS,AppendBlobSealExceptionHeaders:()=>nR,AppendBlobSealHeaders:()=>rR,ArrowConfiguration:()=>iEe,ArrowField:()=>oEe,BlobAbortCopyFromURLExceptionHeaders:()=>QS,BlobAbortCopyFromURLHeaders:()=>BS,BlobAcquireLeaseExceptionHeaders:()=>aS,BlobAcquireLeaseHeaders:()=>oS,BlobBreakLeaseExceptionHeaders:()=>pS,BlobBreakLeaseHeaders:()=>hS,BlobChangeLeaseExceptionHeaders:()=>mS,BlobChangeLeaseHeaders:()=>dS,BlobCopyFromURLExceptionHeaders:()=>IS,BlobCopyFromURLHeaders:()=>CS,BlobCreateSnapshotExceptionHeaders:()=>gS,BlobCreateSnapshotHeaders:()=>fS,BlobDeleteExceptionHeaders:()=>YN,BlobDeleteHeaders:()=>GN,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>tS,BlobDeleteImmutabilityPolicyHeaders:()=>eS,BlobDownloadExceptionHeaders:()=>qN,BlobDownloadHeaders:()=>ny,BlobFlatListSegment:()=>Vye,BlobGetAccountInfoExceptionHeaders:()=>wS,BlobGetAccountInfoHeaders:()=>bS,BlobGetPropertiesExceptionHeaders:()=>zN,BlobGetPropertiesHeaders:()=>HN,BlobGetTagsExceptionHeaders:()=>RS,BlobGetTagsHeaders:()=>SS,BlobHierarchyListSegment:()=>jye,BlobItemInternal:()=>Jye,BlobName:()=>Wye,BlobPrefix:()=>Kye,BlobPropertiesInternal:()=>$ye,BlobQueryExceptionHeaders:()=>NS,BlobQueryHeaders:()=>iy,BlobReleaseLeaseExceptionHeaders:()=>lS,BlobReleaseLeaseHeaders:()=>cS,BlobRenewLeaseExceptionHeaders:()=>uS,BlobRenewLeaseHeaders:()=>AS,BlobServiceProperties:()=>Od,BlobServiceStatistics:()=>T0,BlobSetExpiryExceptionHeaders:()=>$N,BlobSetExpiryHeaders:()=>WN,BlobSetHttpHeadersExceptionHeaders:()=>KN,BlobSetHttpHeadersHeaders:()=>jN,BlobSetImmutabilityPolicyExceptionHeaders:()=>ZN,BlobSetImmutabilityPolicyHeaders:()=>XN,BlobSetLegalHoldExceptionHeaders:()=>nS,BlobSetLegalHoldHeaders:()=>rS,BlobSetMetadataExceptionHeaders:()=>iS,BlobSetMetadataHeaders:()=>sS,BlobSetTagsExceptionHeaders:()=>PS,BlobSetTagsHeaders:()=>vS,BlobSetTierExceptionHeaders:()=>xS,BlobSetTierHeaders:()=>sy,BlobStartCopyFromURLExceptionHeaders:()=>ES,BlobStartCopyFromURLHeaders:()=>yS,BlobTag:()=>zye,BlobTags:()=>Hd,BlobUndeleteExceptionHeaders:()=>JN,BlobUndeleteHeaders:()=>VN,Block:()=>Xye,BlockBlobCommitBlockListExceptionHeaders:()=>mR,BlockBlobCommitBlockListHeaders:()=>dR,BlockBlobGetBlockListExceptionHeaders:()=>pR,BlockBlobGetBlockListHeaders:()=>hR,BlockBlobPutBlobFromUrlExceptionHeaders:()=>aR,BlockBlobPutBlobFromUrlHeaders:()=>oR,BlockBlobStageBlockExceptionHeaders:()=>lR,BlockBlobStageBlockFromURLExceptionHeaders:()=>uR,BlockBlobStageBlockFromURLHeaders:()=>AR,BlockBlobStageBlockHeaders:()=>cR,BlockBlobUploadExceptionHeaders:()=>iR,BlockBlobUploadHeaders:()=>sR,BlockList:()=>q0,BlockLookupList:()=>O0,ClearRange:()=>eEe,ContainerAcquireLeaseExceptionHeaders:()=>wN,ContainerAcquireLeaseHeaders:()=>bN,ContainerBreakLeaseExceptionHeaders:()=>DN,ContainerBreakLeaseHeaders:()=>PN,ContainerChangeLeaseExceptionHeaders:()=>TN,ContainerChangeLeaseHeaders:()=>kN,ContainerCreateExceptionHeaders:()=>oN,ContainerCreateHeaders:()=>iN,ContainerDeleteExceptionHeaders:()=>AN,ContainerDeleteHeaders:()=>lN,ContainerFilterBlobsExceptionHeaders:()=>xN,ContainerFilterBlobsHeaders:()=>QN,ContainerGetAccessPolicyExceptionHeaders:()=>hN,ContainerGetAccessPolicyHeaders:()=>mN,ContainerGetAccountInfoExceptionHeaders:()=>ON,ContainerGetAccountInfoHeaders:()=>UN,ContainerGetPropertiesExceptionHeaders:()=>cN,ContainerGetPropertiesHeaders:()=>aN,ContainerItem:()=>Oye,ContainerListBlobFlatSegmentExceptionHeaders:()=>LN,ContainerListBlobFlatSegmentHeaders:()=>MN,ContainerListBlobHierarchySegmentExceptionHeaders:()=>FN,ContainerListBlobHierarchySegmentHeaders:()=>_N,ContainerProperties:()=>qye,ContainerReleaseLeaseExceptionHeaders:()=>SN,ContainerReleaseLeaseHeaders:()=>NN,ContainerRenameExceptionHeaders:()=>CN,ContainerRenameHeaders:()=>EN,ContainerRenewLeaseExceptionHeaders:()=>vN,ContainerRenewLeaseHeaders:()=>RN,ContainerRestoreExceptionHeaders:()=>yN,ContainerRestoreHeaders:()=>gN,ContainerSetAccessPolicyExceptionHeaders:()=>fN,ContainerSetAccessPolicyHeaders:()=>pN,ContainerSetMetadataExceptionHeaders:()=>dN,ContainerSetMetadataHeaders:()=>uN,ContainerSubmitBatchExceptionHeaders:()=>BN,ContainerSubmitBatchHeaders:()=>IN,CorsRule:()=>_ye,DelimitedTextConfiguration:()=>nEe,FilterBlobItem:()=>Hye,FilterBlobSegment:()=>qd,GeoReplication:()=>Uye,JsonTextConfiguration:()=>sEe,KeyInfo:()=>L0,ListBlobsFlatSegmentResponse:()=>F0,ListBlobsHierarchySegmentResponse:()=>U0,ListContainersSegmentResponse:()=>M0,Logging:()=>Tye,Metrics:()=>Lye,PageBlobClearPagesExceptionHeaders:()=>_S,PageBlobClearPagesHeaders:()=>LS,PageBlobCopyIncrementalExceptionHeaders:()=>$S,PageBlobCopyIncrementalHeaders:()=>WS,PageBlobCreateExceptionHeaders:()=>kS,PageBlobCreateHeaders:()=>DS,PageBlobGetPageRangesDiffExceptionHeaders:()=>zS,PageBlobGetPageRangesDiffHeaders:()=>HS,PageBlobGetPageRangesExceptionHeaders:()=>qS,PageBlobGetPageRangesHeaders:()=>OS,PageBlobResizeExceptionHeaders:()=>YS,PageBlobResizeHeaders:()=>GS,PageBlobUpdateSequenceNumberExceptionHeaders:()=>JS,PageBlobUpdateSequenceNumberHeaders:()=>VS,PageBlobUploadPagesExceptionHeaders:()=>MS,PageBlobUploadPagesFromURLExceptionHeaders:()=>US,PageBlobUploadPagesFromURLHeaders:()=>FS,PageBlobUploadPagesHeaders:()=>TS,PageList:()=>ry,PageRange:()=>Zye,QueryFormat:()=>rEe,QueryRequest:()=>H0,QuerySerialization:()=>tEe,RetentionPolicy:()=>Mye,ServiceFilterBlobsExceptionHeaders:()=>sN,ServiceFilterBlobsHeaders:()=>nN,ServiceGetAccountInfoExceptionHeaders:()=>eN,ServiceGetAccountInfoHeaders:()=>Z0,ServiceGetPropertiesExceptionHeaders:()=>V0,ServiceGetPropertiesHeaders:()=>Y0,ServiceGetStatisticsExceptionHeaders:()=>W0,ServiceGetStatisticsHeaders:()=>J0,ServiceGetUserDelegationKeyExceptionHeaders:()=>X0,ServiceGetUserDelegationKeyHeaders:()=>K0,ServiceListContainersSegmentExceptionHeaders:()=>j0,ServiceListContainersSegmentHeaders:()=>$0,ServiceSetPropertiesExceptionHeaders:()=>G0,ServiceSetPropertiesHeaders:()=>z0,ServiceSubmitBatchExceptionHeaders:()=>rN,ServiceSubmitBatchHeaders:()=>tN,SignedIdentifier:()=>Gye,StaticWebsite:()=>Fye,StorageError:()=>R,UserDelegationKey:()=>_0});var Od={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"}}}}},Tye={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"}}}}},Mye={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"}}}}},Lye={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"}}}}},_ye={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"}}}}},Fye={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"}}}}},T0={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},Uye={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"}}}}},M0={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"}}}}},Oye={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"}}}}}}},qye={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"}}}}},L0={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"}}}}},_0={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"}}}}},qd={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"}}}}},Hye={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"}}}}},Hd={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"}}}}}}},zye={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"}}}}},Gye={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"}}}}},Yye={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"}}}}},F0={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"}}}}},Vye={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"}}}}}}},Jye={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"}}}}},Wye={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"}}}}},$ye={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"}}}}},U0={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"}}}}},jye={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"}}}}}}},Kye={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},O0={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"}}}}}}},q0={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"}}}}}}},Xye={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"}}}}},ry={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"}}}}},Zye={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"}}}}},eEe={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"}}}}},H0={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"}}}}},tEe={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},rEe={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"}}}}}}},nEe={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"}}}}},sEe={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},iEe={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"}}}}}}},oEe={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"}}}}},z0={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"}}}}},G0={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Y0={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"}}}}},V0={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},J0={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"}}}}},W0={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$0={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"}}}}},j0={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},K0={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"}}}}},X0={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Z0={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"}}}}},eN={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tN={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"}}}}},rN={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nN={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"}}}}},sN={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iN={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"}}}}},oN={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aN={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"}}}}},cN={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lN={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"}}}}},AN={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uN={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"}}}}},dN={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mN={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"}}}}},hN={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pN={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"}}}}},fN={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gN={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"}}}}},yN={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EN={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"}}}}},CN={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IN={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"}}}}},BN={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QN={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"}}}}},xN={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bN={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"}}}}},wN={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NN={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"}}}}},SN={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RN={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"}}}}},vN={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PN={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"}}}}},DN={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kN={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"}}}}},TN={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MN={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"}}}}},LN={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_N={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"}}}}},FN={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},UN={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"}}}}},ON={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ny={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"}}}}},qN={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HN={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"}}}}},zN={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GN={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"}}}}},YN={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VN={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"}}}}},JN={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WN={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"}}}}},$N={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jN={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"}}}}},KN={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XN={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"]}}}}},ZN={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eS={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"}}}}},tS={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rS={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"}}}}},nS={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sS={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"}}}}},iS={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oS={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"}}}}},aS={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cS={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"}}}}},lS={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AS={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"}}}}},uS={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dS={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"}}}}},mS={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hS={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"}}}}},pS={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fS={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"}}}}},gS={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yS={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"}}}}},ES={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"}}}}},CS={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"}}}}},IS={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"}}}}},BS={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"}}}}},QS={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sy={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"}}}}},xS={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bS={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"}}}}},wS={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iy={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"}}}}},NS={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SS={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"}}}}},RS={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vS={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"}}}}},PS={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DS={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"}}}}},kS={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TS={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"}}}}},MS={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LS={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"}}}}},_S={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FS={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"}}}}},US={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"}}}}},OS={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"}}}}},qS={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HS={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"}}}}},zS={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GS={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"}}}}},YS={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VS={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"}}}}},JS={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WS={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"}}}}},$S={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jS={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"}}}}},KS={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XS={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"}}}}},ZS={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eR={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"}}}}},tR={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"}}}}},rR={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"}}}}},nR={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sR={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"}}}}},iR={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oR={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"}}}}},aR={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"}}}}},cR={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"}}}}},lR={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AR={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"}}}}},uR={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"}}}}},dR={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"}}}}},mR={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hR={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"}}}}},pR={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Ps={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},YJ={parameterPath:"blobServiceProperties",mapper:Od},Qn={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},zd={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},xn={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"}}},k={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"}}},VJ={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Gd={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Yd={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},Ds={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},ks={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},JJ={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},WJ={parameterPath:"keyInfo",mapper:L0},$J={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Tl={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},oy={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},ay={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Rt={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},cy={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},ly={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ay={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},vt={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Yt={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},fR={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},jJ={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},KJ={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},ae={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},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"}}},uy={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},gR={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},XJ={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},dy={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ZJ={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},e3={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},t3={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},r3={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},n3={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},bn={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},my={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},hy={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},py={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},fy={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},wo={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},gy={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},yy={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Ey={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},Cy={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Iy={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},yR={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"},ER={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},s3={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},or={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},Ts={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},ka={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},i3={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},o3={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"}}},de={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},a3={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},c3={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},l3={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},A3={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},u3={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},Ms={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},Ls={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},_s={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},Fs={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},Us={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},Os={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},CR={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Jn={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},Wn={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},d3={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},m3={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"}}},h3={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Si={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"]}}},IR={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},qs={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},Hs={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},zs={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},Gs={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},By={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},Ta={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},$n={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},p3={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},Ys={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},f3={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},Ri={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},vi={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},Qy={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},Pi={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},g3={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},y3={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},E3={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},C3={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},I3={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"]}}},B3={parameterPath:["options","queryRequest"],mapper:H0},Q3={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},BR={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},QR={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},xR={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},bR={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},wR={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},x3={parameterPath:["options","tags"],mapper:Hd},wn={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},Vs={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},b3={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},NR={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},SR={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Ma={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},La={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},_a={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},xy={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},RR={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},by={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},wy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},Ny={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},w3={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Ml={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},N3={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},Ll={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},S3={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},vR={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},R3={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},v3={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},P3={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},D3={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},k3={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},PR={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},DR={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},Sy={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},Ry={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},T3={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},kR={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},M3={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},TR={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},MR={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},L3={parameterPath:"blocks",mapper:O0},LR={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},_3={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var vy=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},aEe)}getProperties(e){return this.client.sendOperationRequest({options:e},cEe)}getStatistics(e){return this.client.sendOperationRequest({options:e},lEe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},AEe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},uEe)}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},mEe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},hEe)}},No=Kr(Zr,!0),aEe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:z0},default:{bodyMapper:R,headersMapper:G0}},requestBody:YJ,queryParameters:[zd,xn,P],urlParameters:[v],headerParameters:[Ps,Qn,D,k],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:No},cEe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Od,headersMapper:Y0},default:{bodyMapper:R,headersMapper:V0}},queryParameters:[zd,xn,P],urlParameters:[v],headerParameters:[D,k,U],isXML:!0,serializer:No},lEe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:T0,headersMapper:J0},default:{bodyMapper:R,headersMapper:W0}},queryParameters:[zd,P,VJ],urlParameters:[v],headerParameters:[D,k,U],isXML:!0,serializer:No},AEe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:M0,headersMapper:$0},default:{bodyMapper:R,headersMapper:j0}},queryParameters:[P,Gd,Yd,Ds,ks,JJ],urlParameters:[v],headerParameters:[D,k,U],isXML:!0,serializer:No},uEe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:_0,headersMapper:K0},default:{bodyMapper:R,headersMapper:X0}},requestBody:WJ,queryParameters:[zd,P,$J],urlParameters:[v],headerParameters:[Ps,Qn,D,k],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:No},dEe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:Z0},default:{bodyMapper:R,headersMapper:eN}},queryParameters:[xn,P,Tl],urlParameters:[v],headerParameters:[D,k,U],isXML:!0,serializer:No},mEe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:tN},default:{bodyMapper:R,headersMapper:rN}},requestBody:oy,queryParameters:[P,ay],urlParameters:[v],headerParameters:[Qn,D,k,Rt,cy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:No},hEe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:qd,headersMapper:nN},default:{bodyMapper:R,headersMapper:sN}},queryParameters:[P,Ds,ks,ly,Ay],urlParameters:[v],headerParameters:[D,k,U],isXML:!0,serializer:No};var Py=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},pEe)}getProperties(e){return this.client.sendOperationRequest({options:e},fEe)}delete(e){return this.client.sendOperationRequest({options:e},gEe)}setMetadata(e){return this.client.sendOperationRequest({options:e},yEe)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},EEe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},CEe)}restore(e){return this.client.sendOperationRequest({options:e},IEe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},BEe)}submitBatch(e,r,n,s){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:s},QEe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},xEe)}acquireLease(e){return this.client.sendOperationRequest({options:e},bEe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},wEe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},NEe)}breakLease(e){return this.client.sendOperationRequest({options:e},SEe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},REe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},vEe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},PEe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},DEe)}},Pt=Kr(Zr,!0),pEe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:iN},default:{bodyMapper:R,headersMapper:oN}},queryParameters:[P,vt],urlParameters:[v],headerParameters:[D,k,U,Yt,fR,jJ,KJ],isXML:!0,serializer:Pt},fEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:aN},default:{bodyMapper:R,headersMapper:cN}},queryParameters:[P,vt],urlParameters:[v],headerParameters:[D,k,U,ae],isXML:!0,serializer:Pt},gEe={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:lN},default:{bodyMapper:R,headersMapper:AN}},queryParameters:[P,vt],urlParameters:[v],headerParameters:[D,k,U,ae,ne,se],isXML:!0,serializer:Pt},yEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:uN},default:{bodyMapper:R,headersMapper:dN}},queryParameters:[P,vt,uy],urlParameters:[v],headerParameters:[D,k,U,Yt,ae,ne],isXML:!0,serializer:Pt},EEe={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:mN},default:{bodyMapper:R,headersMapper:hN}},queryParameters:[P,vt,gR],urlParameters:[v],headerParameters:[D,k,U,ae],isXML:!0,serializer:Pt},CEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:pN},default:{bodyMapper:R,headersMapper:fN}},requestBody:XJ,queryParameters:[P,vt,gR],urlParameters:[v],headerParameters:[Ps,Qn,D,k,fR,ae,ne,se],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Pt},IEe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:gN},default:{bodyMapper:R,headersMapper:yN}},queryParameters:[P,vt,dy],urlParameters:[v],headerParameters:[D,k,U,ZJ,e3],isXML:!0,serializer:Pt},BEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:EN},default:{bodyMapper:R,headersMapper:CN}},queryParameters:[P,vt,t3],urlParameters:[v],headerParameters:[D,k,U,r3,n3],isXML:!0,serializer:Pt},QEe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:IN},default:{bodyMapper:R,headersMapper:BN}},requestBody:oy,queryParameters:[P,ay,vt],urlParameters:[v],headerParameters:[Qn,D,k,Rt,cy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Pt},xEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:qd,headersMapper:QN},default:{bodyMapper:R,headersMapper:xN}},queryParameters:[P,Ds,ks,ly,Ay,vt],urlParameters:[v],headerParameters:[D,k,U],isXML:!0,serializer:Pt},bEe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:bN},default:{bodyMapper:R,headersMapper:wN}},queryParameters:[P,vt,bn],urlParameters:[v],headerParameters:[D,k,U,ne,se,my,hy,py],isXML:!0,serializer:Pt},wEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:NN},default:{bodyMapper:R,headersMapper:SN}},queryParameters:[P,vt,bn],urlParameters:[v],headerParameters:[D,k,U,ne,se,fy,wo],isXML:!0,serializer:Pt},NEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:RN},default:{bodyMapper:R,headersMapper:vN}},queryParameters:[P,vt,bn],urlParameters:[v],headerParameters:[D,k,U,ne,se,wo,gy],isXML:!0,serializer:Pt},SEe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:PN},default:{bodyMapper:R,headersMapper:DN}},queryParameters:[P,vt,bn],urlParameters:[v],headerParameters:[D,k,U,ne,se,yy,Ey],isXML:!0,serializer:Pt},REe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:kN},default:{bodyMapper:R,headersMapper:TN}},queryParameters:[P,vt,bn],urlParameters:[v],headerParameters:[D,k,U,ne,se,wo,Cy,Iy],isXML:!0,serializer:Pt},vEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:F0,headersMapper:MN},default:{bodyMapper:R,headersMapper:LN}},queryParameters:[P,Gd,Yd,Ds,ks,vt,yR,ER],urlParameters:[v],headerParameters:[D,k,U],isXML:!0,serializer:Pt},PEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:U0,headersMapper:_N},default:{bodyMapper:R,headersMapper:FN}},queryParameters:[P,Gd,Yd,Ds,ks,vt,yR,ER,s3],urlParameters:[v],headerParameters:[D,k,U],isXML:!0,serializer:Pt},DEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:UN},default:{bodyMapper:R,headersMapper:ON}},queryParameters:[xn,P,Tl],urlParameters:[v],headerParameters:[D,k,U],isXML:!0,serializer:Pt};var Dy=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},kEe)}getProperties(e){return this.client.sendOperationRequest({options:e},TEe)}delete(e){return this.client.sendOperationRequest({options:e},MEe)}undelete(e){return this.client.sendOperationRequest({options:e},LEe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},_Ee)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},FEe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},UEe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},OEe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},qEe)}setMetadata(e){return this.client.sendOperationRequest({options:e},HEe)}acquireLease(e){return this.client.sendOperationRequest({options:e},zEe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},GEe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},YEe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},VEe)}breakLease(e){return this.client.sendOperationRequest({options:e},JEe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},WEe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},$Ee)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},jEe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},KEe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},XEe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},ZEe)}query(e){return this.client.sendOperationRequest({options:e},eCe)}getTags(e){return this.client.sendOperationRequest({options:e},tCe)}setTags(e){return this.client.sendOperationRequest({options:e},rCe)}},Ge=Kr(Zr,!0),kEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ny},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ny},default:{bodyMapper:R,headersMapper:qN}},queryParameters:[P,or,Ts],urlParameters:[v],headerParameters:[D,k,U,ae,ne,se,ka,i3,o3,Ke,Xe,Ze,fe,ge,de],isXML:!0,serializer:Ge},TEe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:HN},default:{bodyMapper:R,headersMapper:zN}},queryParameters:[P,or,Ts],urlParameters:[v],headerParameters:[D,k,U,ae,ne,se,Ke,Xe,Ze,fe,ge,de],isXML:!0,serializer:Ge},MEe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:GN},default:{bodyMapper:R,headersMapper:YN}},queryParameters:[P,or,Ts,c3],urlParameters:[v],headerParameters:[D,k,U,ae,ne,se,fe,ge,de,a3],isXML:!0,serializer:Ge},LEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:VN},default:{bodyMapper:R,headersMapper:JN}},queryParameters:[P,dy],urlParameters:[v],headerParameters:[D,k,U],isXML:!0,serializer:Ge},_Ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:WN},default:{bodyMapper:R,headersMapper:$N}},queryParameters:[P,l3],urlParameters:[v],headerParameters:[D,k,U,A3,u3],isXML:!0,serializer:Ge},FEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:jN},default:{bodyMapper:R,headersMapper:KN}},queryParameters:[xn,P],urlParameters:[v],headerParameters:[D,k,U,ae,ne,se,fe,ge,de,Ms,Ls,_s,Fs,Us,Os],isXML:!0,serializer:Ge},UEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:XN},default:{bodyMapper:R,headersMapper:ZN}},queryParameters:[P,or,Ts,CR],urlParameters:[v],headerParameters:[D,k,U,se,Jn,Wn],isXML:!0,serializer:Ge},OEe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:eS},default:{bodyMapper:R,headersMapper:tS}},queryParameters:[P,or,Ts,CR],urlParameters:[v],headerParameters:[D,k,U],isXML:!0,serializer:Ge},qEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:rS},default:{bodyMapper:R,headersMapper:nS}},queryParameters:[P,or,Ts,d3],urlParameters:[v],headerParameters:[D,k,U,m3],isXML:!0,serializer:Ge},HEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:sS},default:{bodyMapper:R,headersMapper:iS}},queryParameters:[P,uy],urlParameters:[v],headerParameters:[D,k,U,Yt,ae,ne,se,Ke,Xe,Ze,fe,ge,de,ft],isXML:!0,serializer:Ge},zEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:oS},default:{bodyMapper:R,headersMapper:aS}},queryParameters:[P,bn],urlParameters:[v],headerParameters:[D,k,U,ne,se,my,hy,py,fe,ge,de],isXML:!0,serializer:Ge},GEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:cS},default:{bodyMapper:R,headersMapper:lS}},queryParameters:[P,bn],urlParameters:[v],headerParameters:[D,k,U,ne,se,fy,wo,fe,ge,de],isXML:!0,serializer:Ge},YEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:AS},default:{bodyMapper:R,headersMapper:uS}},queryParameters:[P,bn],urlParameters:[v],headerParameters:[D,k,U,ne,se,wo,gy,fe,ge,de],isXML:!0,serializer:Ge},VEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:dS},default:{bodyMapper:R,headersMapper:mS}},queryParameters:[P,bn],urlParameters:[v],headerParameters:[D,k,U,ne,se,wo,Cy,Iy,fe,ge,de],isXML:!0,serializer:Ge},JEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:hS},default:{bodyMapper:R,headersMapper:pS}},queryParameters:[P,bn],urlParameters:[v],headerParameters:[D,k,U,ne,se,yy,Ey,fe,ge,de],isXML:!0,serializer:Ge},WEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:fS},default:{bodyMapper:R,headersMapper:gS}},queryParameters:[P,h3],urlParameters:[v],headerParameters:[D,k,U,Yt,ae,ne,se,Ke,Xe,Ze,fe,ge,de,ft],isXML:!0,serializer:Ge},$Ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:yS},default:{bodyMapper:R,headersMapper:ES}},queryParameters:[P],urlParameters:[v],headerParameters:[D,k,U,Yt,ae,ne,se,fe,ge,de,Jn,Wn,Si,IR,qs,Hs,zs,Gs,By,Ta,$n,p3,Ys],isXML:!0,serializer:Ge},jEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:CS},default:{bodyMapper:R,headersMapper:IS}},queryParameters:[P],urlParameters:[v],headerParameters:[D,k,U,Yt,ae,ne,se,fe,ge,de,Jn,Wn,ft,Si,qs,Hs,zs,Gs,Ta,$n,Ys,f3,Ri,vi,Qy,Pi],isXML:!0,serializer:Ge},KEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:BS},default:{bodyMapper:R,headersMapper:QS}},queryParameters:[P,g3,E3],urlParameters:[v],headerParameters:[D,k,U,ae,y3],isXML:!0,serializer:Ge},XEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:sy},202:{headersMapper:sy},default:{bodyMapper:R,headersMapper:xS}},queryParameters:[P,or,Ts,C3],urlParameters:[v],headerParameters:[D,k,U,ae,de,IR,I3],isXML:!0,serializer:Ge},ZEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:bS},default:{bodyMapper:R,headersMapper:wS}},queryParameters:[xn,P,Tl],urlParameters:[v],headerParameters:[D,k,U],isXML:!0,serializer:Ge},eCe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:iy},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:iy},default:{bodyMapper:R,headersMapper:NS}},requestBody:B3,queryParameters:[P,or,Q3],urlParameters:[v],headerParameters:[Ps,Qn,D,k,ae,ne,se,Ke,Xe,Ze,fe,ge,de],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ge},tCe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Hd,headersMapper:SS},default:{bodyMapper:R,headersMapper:RS}},queryParameters:[P,or,Ts,BR],urlParameters:[v],headerParameters:[D,k,U,ae,de,QR,xR,bR,wR],isXML:!0,serializer:Ge},rCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:vS},default:{bodyMapper:R,headersMapper:PS}},requestBody:x3,queryParameters:[P,Ts,BR],urlParameters:[v],headerParameters:[Ps,Qn,D,k,ae,de,QR,xR,bR,wR,wn,Vs],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ge};var ky=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},nCe)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},sCe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},iCe)}uploadPagesFromURL(e,r,n,s,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:s,options:i},oCe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},aCe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},cCe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},lCe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},ACe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},uCe)}},Di=Kr(Zr,!0),nCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:DS},default:{bodyMapper:R,headersMapper:kS}},queryParameters:[P],urlParameters:[v],headerParameters:[D,k,U,Rt,Yt,ae,ne,se,Ke,Xe,Ze,fe,ge,de,Ms,Ls,_s,Fs,Us,Os,Jn,Wn,ft,Si,$n,Ys,b3,NR,SR],isXML:!0,serializer:Di},sCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:TS},default:{bodyMapper:R,headersMapper:MS}},requestBody:La,queryParameters:[P,xy],urlParameters:[v],headerParameters:[D,k,Rt,ae,ne,se,ka,Ke,Xe,Ze,fe,ge,de,ft,wn,Vs,Ma,_a,RR,by,wy,Ny],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Di},iCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:LS},default:{bodyMapper:R,headersMapper:_S}},queryParameters:[P,xy],urlParameters:[v],headerParameters:[D,k,U,Rt,ae,ne,se,ka,Ke,Xe,Ze,fe,ge,de,ft,by,wy,Ny,w3],isXML:!0,serializer:Di},oCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:FS},default:{bodyMapper:R,headersMapper:US}},queryParameters:[P,xy],urlParameters:[v],headerParameters:[D,k,U,Rt,ae,ne,se,Ke,Xe,Ze,fe,ge,de,ft,qs,Hs,zs,Gs,Ri,vi,Pi,RR,by,wy,Ny,Ml,N3,Ll,S3],isXML:!0,serializer:Di},aCe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:ry,headersMapper:OS},default:{bodyMapper:R,headersMapper:qS}},queryParameters:[P,Ds,ks,or,vR],urlParameters:[v],headerParameters:[D,k,U,ae,ne,se,ka,fe,ge,de],isXML:!0,serializer:Di},cCe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:ry,headersMapper:HS},default:{bodyMapper:R,headersMapper:zS}},queryParameters:[P,Ds,ks,or,vR,R3],urlParameters:[v],headerParameters:[D,k,U,ae,ne,se,ka,fe,ge,de,v3],isXML:!0,serializer:Di},lCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:GS},default:{bodyMapper:R,headersMapper:YS}},queryParameters:[xn,P],urlParameters:[v],headerParameters:[D,k,U,ae,ne,se,Ke,Xe,Ze,fe,ge,de,ft,NR],isXML:!0,serializer:Di},ACe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:VS},default:{bodyMapper:R,headersMapper:JS}},queryParameters:[xn,P],urlParameters:[v],headerParameters:[D,k,U,ae,ne,se,fe,ge,de,SR,P3],isXML:!0,serializer:Di},uCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:WS},default:{bodyMapper:R,headersMapper:$S}},queryParameters:[P,D3],urlParameters:[v],headerParameters:[D,k,U,ne,se,fe,ge,de,Ta],isXML:!0,serializer:Di};var Ty=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},mCe)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},hCe)}seal(e){return this.client.sendOperationRequest({options:e},pCe)}},My=Kr(Zr,!0),dCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:jS},default:{bodyMapper:R,headersMapper:KS}},queryParameters:[P],urlParameters:[v],headerParameters:[D,k,U,Rt,Yt,ae,ne,se,Ke,Xe,Ze,fe,ge,de,Ms,Ls,_s,Fs,Us,Os,Jn,Wn,ft,$n,Ys,k3],isXML:!0,serializer:My},mCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:XS},default:{bodyMapper:R,headersMapper:ZS}},requestBody:La,queryParameters:[P,PR],urlParameters:[v],headerParameters:[D,k,Rt,ae,ne,se,Ke,Xe,Ze,fe,ge,de,ft,wn,Vs,Ma,_a,DR,Sy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:My},hCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:eR},default:{bodyMapper:R,headersMapper:tR}},queryParameters:[P,PR],urlParameters:[v],headerParameters:[D,k,U,Rt,ae,ne,se,Ke,Xe,Ze,fe,ge,de,ft,qs,Hs,zs,Gs,Ri,vi,Pi,wn,Ml,Ll,DR,Sy,Ry],isXML:!0,serializer:My},pCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:rR},default:{bodyMapper:R,headersMapper:nR}},queryParameters:[P,T3],urlParameters:[v],headerParameters:[D,k,U,ae,ne,se,fe,ge,Sy],isXML:!0,serializer:My};var Ly=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},fCe)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},gCe)}stageBlock(e,r,n,s){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:s},yCe)}stageBlockFromURL(e,r,n,s){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:s},ECe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},CCe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},ICe)}},Fl=Kr(Zr,!0),fCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:sR},default:{bodyMapper:R,headersMapper:iR}},requestBody:La,queryParameters:[P],urlParameters:[v],headerParameters:[D,k,Rt,Yt,ae,ne,se,Ke,Xe,Ze,fe,ge,de,Ms,Ls,_s,Fs,Us,Os,Jn,Wn,ft,Si,$n,Ys,wn,Vs,Ma,_a,kR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Fl},gCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:oR},default:{bodyMapper:R,headersMapper:aR}},queryParameters:[P],urlParameters:[v],headerParameters:[D,k,U,Rt,Yt,ae,ne,se,Ke,Xe,Ze,fe,ge,de,Ms,Ls,_s,Fs,Us,Os,ft,Si,qs,Hs,zs,Gs,By,Ta,$n,Ri,vi,Qy,Pi,wn,kR,M3],isXML:!0,serializer:Fl},yCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:cR},default:{bodyMapper:R,headersMapper:lR}},requestBody:La,queryParameters:[P,TR,MR],urlParameters:[v],headerParameters:[D,k,Rt,ae,Ke,Xe,Ze,ft,wn,Vs,Ma,_a],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Fl},ECe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:AR},default:{bodyMapper:R,headersMapper:uR}},queryParameters:[P,TR,MR],urlParameters:[v],headerParameters:[D,k,U,Rt,ae,Ke,Xe,Ze,ft,qs,Hs,zs,Gs,Ri,vi,Pi,Ml,Ll,Ry],isXML:!0,serializer:Fl},CCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:dR},default:{bodyMapper:R,headersMapper:mR}},requestBody:L3,queryParameters:[P,LR],urlParameters:[v],headerParameters:[Ps,Qn,D,k,Yt,ae,ne,se,Ke,Xe,Ze,fe,ge,de,Ms,Ls,_s,Fs,Us,Os,Jn,Wn,ft,Si,$n,Ys,wn,Vs],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Fl},ICe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:q0,headersMapper:hR},default:{bodyMapper:R,headersMapper:pR}},queryParameters:[P,or,LR,_3],urlParameters:[v],headerParameters:[D,k,U,ae,de],isXML:!0,serializer:Fl};var Vd=class extends wd{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 vy(this),this.container=new Py(this),this.blob=new Dy(this),this.pageBlob=new ky(this),this.appendBlob=new Ty(this),this.blockBlob=new Ly(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var Jd=class extends Vd{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 U3(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=QCe(r),e.pathname=r,e.toString()}o(U3,"escapeURLPath");function BCe(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(BCe,"getProxyUriFromDevConnString");function Fa(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(Fa,"getValueInConnString");function Ua(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=BCe(t),t=TJ);let r=Fa(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=Fa(t,"AccountName"),i=Buffer.from(Fa(t,"AccountKey"),"base64"),!r){n=Fa(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=Fa(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=Fa(t,"SharedAccessSignature"),s=Fa(t,"AccountName");if(s||(s=OR(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(Ua,"extractConnectionStringParts");function QCe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(QCe,"escape");function It(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(It,"appendToURLPath");function Ul(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(Ul,"setURLParameter");function _R(t,e){return new URL(t).searchParams.get(e)??void 0}o(_R,"getURLParameter");function O3(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(O3,"getURLScheme");function Wd(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(Wd,"appendToURLQuery");function Ie(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(Ie,"truncatedISO8061Date");function xCe(t){return Ce?Buffer.from(t).toString("base64"):btoa(t)}o(xCe,"base64encode");function FR(t,e){t.length>42&&(t=t.slice(0,42));let i=t+bCe(e.toString(),48-t.length,"0");return xCe(i)}o(FR,"generateBlockID");function bCe(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(bCe,"padStart");function UR(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(UR,"iEqual");function OR(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:_y(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(OR,"getAccountNameFromUrl");function _y(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&&UJ.includes(t.port)}o(_y,"isIpEndpointStyle");function So(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(So,"toBlobTagsString");function q3(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(q3,"toBlobTags");function Fy(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(Fy,"toTags");function qR(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(qR,"toQuerySerialization");function Uy(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(Uy,"parseObjectReplicationRecord");function Ol(t){return t?t.scheme+" "+t.value:void 0}o(Ol,"httpAuthorizationToString");function*HR(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(HR,"ExtractPageRangeInfoItems");function V(t){if("_response"in t)return t;throw new TypeError(`Unexpected response object ${t}`)}o(V,"assertResponse");var ql=class{static{o(this,"StorageClient")}url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,r){this.url=U3(e),this.accountName=OR(e),this.pipeline=r,this.storageClientContext=new Jd(this.url,D0(r)),this.isHttps=UR(O3(this.url)||"","https"),this.credential=k0(r);let n=this.storageClientContext;n.requestContentType=void 0}};var q=yd({packageName:"@azure/storage-blob",packageVersion:Zg,namespace:"Microsoft.Storage"});var Js=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 Ws=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 jn(t){return t.end?`${t.start}-${t.end}`:t.start}o(jn,"ipRangeToString");var H3;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(H3||(H3={}));var Kn=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,h,p,f,C,y,E,I,B,w){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=w,this.encryptionScope=B,this.identifier=u,this.resource=d,this.cacheControl=m,this.contentDisposition=h,this.contentEncoding=p,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?Ie(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(r,n,this.expiresOn?Ie(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(r,n,this.ipRange?jn(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?Ie(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(r,n,this.signedExpiresOn?Ie(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 $d(t,e,r){return jd(t,e,r).sasQueryParameters}o($d,"generateBlobSASQueryParameters");function jd(t,e,r){let n=t.version?t.version:ey,s=e instanceof je?e:void 0,i;if(s===void 0&&r!==void 0&&(i=new Xg(r,e)),s===void 0&&i===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return s!==void 0?SCe(t,s):n>="2025-07-05"?DCe(t,i):PCe(t,i);if(n>="2018-11-09")return s!==void 0?NCe(t,s):n>="2020-02-10"?vCe(t,i):RCe(t,i);if(n>="2015-04-05"){if(s!==void 0)return wCe(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(jd,"generateBlobSASQueryParametersInternal");function wCe(t,e){if(t=qa(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=Js.parse(t.permissions.toString()).toString():n=Ws.parse(t.permissions.toString()).toString());let s=[n||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Oa(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?jn(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 Kn(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(wCe,"generateBlobSASQueryParameters20150405");function NCe(t,e){if(t=qa(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=Js.parse(t.permissions.toString()).toString():s=Ws.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Oa(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?jn(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 Kn(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(NCe,"generateBlobSASQueryParameters20181109");function SCe(t,e){if(t=qa(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=Js.parse(t.permissions.toString()).toString():s=Ws.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Oa(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?jn(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 Kn(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(SCe,"generateBlobSASQueryParameters20201206");function RCe(t,e){if(t=qa(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=Js.parse(t.permissions.toString()).toString():s=Ws.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Oa(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ie(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ie(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?jn(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 Kn(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(RCe,"generateBlobSASQueryParametersUDK20181109");function vCe(t,e){if(t=qa(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=Js.parse(t.permissions.toString()).toString():s=Ws.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Oa(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ie(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ie(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?jn(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 Kn(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(vCe,"generateBlobSASQueryParametersUDK20200210");function PCe(t,e){if(t=qa(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=Js.parse(t.permissions.toString()).toString():s=Ws.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Oa(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ie(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ie(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?jn(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 Kn(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(PCe,"generateBlobSASQueryParametersUDK20201206");function DCe(t,e){if(t=qa(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=Js.parse(t.permissions.toString()).toString():s=Ws.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Oa(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ie(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ie(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?jn(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 Kn(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(DCe,"generateBlobSASQueryParametersUDK20250705");function Oa(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(Oa,"getCanonicalName");function qa(t){let e=t.version?t.version:ey;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(qa,"SASSignatureValuesSanityCheckAndAutofill");var Kd=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=bl()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Vn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Vn||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=>V(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!==Vn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Vn||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=V(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!==Vn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Vn||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=>V(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!==Vn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Vn||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!==Vn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Vn||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 V(await this._containerOrBlobOperation.breakLease(s))})}};var z3=require("node:stream");var Oy=class extends z3.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 qy=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 Ce?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,s,i={}){this.originalResponse=e,this.blobDownloadStream=new Oy(this.originalResponse.readableStreamBody,r,n,s,i)}};var $3=require("node:stream");var zR=new Uint8Array([79,98,106,1]),G3="avro.codec",Y3="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}},Ha;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(Ha||(Ha={}));var Dt;(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"})(Dt||(Dt={}));var ki=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 Dt.NULL:case Dt.BOOLEAN:case Dt.INT:case Dt.LONG:case Dt.FLOAT:case Dt.DOUBLE:case Dt.BYTES:case Dt.STRING:return new GR(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new VR(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case Ha.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 WR(n,e.name);case Ha.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 YR(e.symbols);case Ha.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new JR(t.fromSchema(e.values));case Ha.ARRAY:case Ha.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},GR=class extends ki{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Dt.NULL:return Ve.readNull();case Dt.BOOLEAN:return Ve.readBoolean(e,r);case Dt.INT:return Ve.readInt(e,r);case Dt.LONG:return Ve.readLong(e,r);case Dt.FLOAT:return Ve.readFloat(e,r);case Dt.DOUBLE:return Ve.readDouble(e,r);case Dt.BYTES:return Ve.readBytes(e,r);case Dt.STRING:return Ve.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},YR=class extends ki{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]}},VR=class extends ki{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)}},JR=class extends ki{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)}},WR=class extends ki{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 $R(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($R,"arraysEqual");var Xd=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,zR.length,{abortSignal:e.abortSignal});if(!$R(r,zR))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[G3];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[Y3]);if(this._itemType=ki.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,!$R(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 Zd=class{static{o(this,"AvroReadable")}};var W3=require("buffer");var J3=new $r("Reading from the avro stream was aborted."),em=class extends Zd{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?W3.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 J3;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(J3)},"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 Hy=class extends $3.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 Xd(new em(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 zy=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 Ce?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new Hy(this.originalResponse.readableStreamBody,r)}};var jR;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(jR||(jR={}));var KR;(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"})(KR||(KR={}));function Ro(t){if(t!==void 0)return t}o(Ro,"toAccessTier");function Bt(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=kJ)}o(Bt,"ensureCpkIfSpecified");var XR;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(XR||(XR={}));function Gy(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(Gy,"rangeResponseFromModel");var T4=Q(k4(),1);var eE=class extends T4.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=sm({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(A),typeof i=="function"&&this.onProgress(i),this.intervalInMs=s}delay(){return fd(this.intervalInMs)}},RIe=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?sm(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,sm(r)):(r.isCancelled=!0,sm(r))},"cancel"),vIe=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 sm(r)},"update"),PIe=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function sm(t){return{state:{...t},cancel:RIe,toString:PIe,update:vIe}}o(sm,"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 M4=require("events");var im;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(im||(im={}));var om=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=im.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new M4.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=im.Error,r(n)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==im.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 tE=Q(require("node:fs"),1),L4=Q(require("node:util"),1);async function _4(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(_4,"streamToBuffer");async function F4(t,e){return new Promise((r,n)=>{let s=tE.default.createWriteStream(e);t.on("error",i=>{n(i)}),s.on("error",i=>{n(i)}),s.on("close",r),t.pipe(s)})}o(F4,"readStreamToLocalFile");var U4=L4.default.promisify(tE.default.stat),O4=tE.default.createReadStream;var Ti=class t extends ql{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(Ni(r))a=e,i=r;else if(Ce&&r instanceof je||r instanceof ze||jr(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=Ua(e);if(A.kind==="AccountConnString")if(Ce){let u=new je(A.accountName,A.accountKey);a=It(It(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=Co(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=It(It(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=_R(this.url,wi.Parameters.SNAPSHOT),this._versionId=_R(this.url,wi.Parameters.VERSIONID)}withSnapshot(e){return new t(Ul(this.url,wi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(Ul(this.url,wi.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new nE(this.url,this.pipeline)}getBlockBlobClient(){return new Gl(this.url,this.pipeline)}getPageBlobClient(){return new sE(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},Bt(n.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-download",n,async s=>{let i=V(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:Ce?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:Uy(i.objectReplicationRules)};if(!Ce)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 qy(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 Bt(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===_J||n.details.errorCode===FJ))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},Bt(e.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-getProperties",e,async r=>{let n=V(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:Uy(n.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},q.withSpan("BlobClient-delete",e,async r=>V(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=V(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=>V(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},Bt(r.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-setHTTPHeaders",r,async n=>V(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||{},Bt(r.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-setMetadata",r,async n=>V(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=>V(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions,tags:q3(e)})))}async getTags(e={}){return q.withSpan("BlobClient-getTags",e,async r=>{let n=V(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:Fy({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Kd(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},Bt(e.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-createSnapshot",e,async r=>V(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 eE({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=>V(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=>V(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:Ol(r.sourceAuthorization),tier:Ro(r.tier),blobTagsString:So(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=>V(await this.blobContext.setTier(Ro(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 h=await this.getProperties({...l,tracingOptions:u.tracingOptions});if(c=h.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${h.contentLength}`)}if(!i)try{i=Buffer.alloc(c)}catch(h){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". ${h.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 om(l.concurrency);for(let h=a;h<a+c;h=h+A)m.addOperation(async()=>{let p=a+c;h+A<p&&(p=h+A);let C=(await this.download(h,p-h,{abortSignal:l.abortSignal,conditions:l.conditions,maxRetryRequests:l.maxRetryRequestsPerBlock,customerProvidedKey:l.customerProvidedKey,tracingOptions:u.tracingOptions})).readableStreamBody;await _4(C,i,h-a,p-a),d+=p-h,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 F4(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(_y(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||{},V(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:Ro(r.tier),blobTagsString:So(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=$d({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(Wd(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 jd({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=$d({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n(Wd(this.url,s))})}generateUserDelegationSasStringToSign(e,r){return jd({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=>V(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return q.withSpan("BlobClient-setImmutabilityPolicy",r,async n=>V(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=>V(await this.blobContext.setLegalHold(e,{tracingOptions:n.tracingOptions})))}async getAccountInfo(e={}){return q.withSpan("BlobClient-getAccountInfo",e,async r=>V(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},nE=class t extends Ti{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},Ni(r))a=e,i=r;else if(Ce&&r instanceof je||r instanceof ze||jr(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=Ua(e);if(A.kind==="AccountConnString")if(Ce){let u=new je(A.accountName,A.accountKey);a=It(It(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=Co(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=It(It(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(Ul(this.url,wi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},Bt(e.customerProvidedKey,this.isHttps),q.withSpan("AppendBlobClient-create",e,async r=>V(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:So(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:P0};return q.withSpan("AppendBlobClient-createIfNotExists",e,async n=>{try{let s=V(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=>V(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||{},Bt(n.customerProvidedKey,this.isHttps),q.withSpan("AppendBlobClient-appendBlock",n,async s=>V(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||{},Bt(s.customerProvidedKey,this.isHttps),q.withSpan("AppendBlobClient-appendBlockFromURL",s,async i=>V(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:Ol(s.sourceAuthorization),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:i.tracingOptions})))}},Gl=class t extends Ti{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},Ni(r))a=e,i=r;else if(Ce&&r instanceof je||r instanceof ze||jr(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=Ua(e);if(A.kind==="AccountConnString")if(Ce){let u=new je(A.accountName,A.accountKey);a=It(It(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=Co(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=It(It(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(Ul(this.url,wi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(Bt(r.customerProvidedKey,this.isHttps),!Ce)throw new Error("This operation currently is only supported in Node.js.");return q.withSpan("BlockBlobClient-query",r,async n=>{let s=V(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:qR(r.inputTextConfiguration),outputSerialization:qR(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new zy(s,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},Bt(n.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-upload",n,async s=>V(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:Ro(n.tier),blobTagsString:So(n.tags),tracingOptions:s.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},Bt(r.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-syncUploadFromURL",r,async n=>V(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:Ol(r.sourceAuthorization),tier:Ro(r.tier),blobTagsString:So(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,r,n,s={}){return Bt(s.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-stageBlock",s,async i=>V(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 Bt(i.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-stageBlockFromURL",i,async a=>V(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:Ol(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},Bt(r.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-commitBlockList",r,async n=>V(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:Ro(r.tier),blobTagsString:So(r.tags),tracingOptions:n.tracingOptions})))}async getBlockList(e,r={}){return q.withSpan("BlockBlobClient-getBlockList",r,async n=>{let s=V(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(Ce){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 V(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=bl(),u=0,d=new om(n.concurrency);for(let m=0;m<c;m++)d.addOperation(async()=>{let h=FR(A,m),p=s*m,C=(m===c-1?r:p+s)-p;l.push(h),await this.stageBlock(h,e(p,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 U4(e)).size;return this.uploadSeekableInternal((i,a)=>()=>O4(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=bl(),l=0,A=[];return await new Vg(e,r,n,async(d,m)=>{let h=FR(c,a);A.push(h),a++,await this.stageBlock(h,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(),V(await this.commitBlockList(A,{...s,tracingOptions:i.tracingOptions}))})}},sE=class t extends Ti{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},Ni(r))a=e,i=r;else if(Ce&&r instanceof je||r instanceof ze||jr(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=Ua(e);if(A.kind==="AccountConnString")if(Ce){let u=new je(A.accountName,A.accountKey);a=It(It(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=Co(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=It(It(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(Ul(this.url,wi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},Bt(r.customerProvidedKey,this.isHttps),q.withSpan("PageBlobClient-create",r,async n=>V(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:Ro(r.tier),blobTagsString:So(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return q.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let s={ifNoneMatch:P0},i=V(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||{},Bt(s.customerProvidedKey,this.isHttps),q.withSpan("PageBlobClient-uploadPages",s,async i=>V(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||{},Bt(i.customerProvidedKey,this.isHttps),q.withSpan("PageBlobClient-uploadPagesFromURL",i,async a=>V(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:Ol(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=>V(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=V(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 Gy(i)})}async listPageRangesSegment(e=0,r,n,s={}){return q.withSpan("PageBlobClient-getPageRangesSegment",s,async i=>V(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*HR(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=V(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 Gy(a)})}async listPageRangesDiffSegment(e,r,n,s,i={}){return q.withSpan("PageBlobClient-getPageRangesDiffSegment",i,async a=>V(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*HR(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=V(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 Gy(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},q.withSpan("PageBlobClient-resize",r,async n=>V(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=>V(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=>V(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}};var q4;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(q4||(q4={}));var H4;(function(t){t.AES256="AES256"})(H4||(H4={}));var iE=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};var Yl=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"}};Yl.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Ya=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"}};Ya.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var am=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var HIe=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())})},Bv=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);ue(`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 z4(t,e,r){return HIe(this,void 0,void 0,function*(){var n;let s=new Ti(t),i=s.getBlockBlobClient(),a=new Bv((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 iE(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw pt(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(z4,"uploadCacheArchiveSDK");var Y4=Q(require("buffer"),1),$s=Q(require("fs"),1),V4=Q(require("stream"),1),J4=Q(require("util"),1);var oE=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 aE(t){return t?t>=200&&t<300:!1}o(aE,"isSuccessStatusCode");function zIe(t){return t?t>=500:!0}o(zIe,"isServerErrorStatusCode");function GIe(t){return t?[$e.BadGateway,$e.ServiceUnavailable,$e.GatewayTimeout].includes(t):!1}o(GIe,"isRetryableStatusCode");function YIe(t){return oE(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(YIe,"sleep");function G4(t,e,r){return oE(this,arguments,void 0,function*(n,s,i,a=vf,c=Pf,l=void 0){let A="",u=1;for(;u<=a;){let d,m,h=!1;try{d=yield s()}catch(p){l&&(d=l(p)),h=!0,A=p.message}if(d&&(m=i(d),!zIe(m)))return d;if(m&&(h=GIe(m),A=`Cache service responded with ${m}`),b(`${n} - Attempt ${u} of ${a} failed with error: ${A}`),!h){b(`${n} - Error is not retryable`);break}yield YIe(c),u++}throw Error(`${n} failed: ${A}`)})}o(G4,"retry");function cm(t,e){return oE(this,arguments,void 0,function*(r,n,s=vf,i=Pf){return yield G4(r,n,a=>a.statusCode,s,i,a=>{if(a instanceof Is)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(cm,"retryTypedResponse");function Vl(t,e){return oE(this,arguments,void 0,function*(r,n,s=vf,i=Pf){return yield G4(r,n,a=>a.message.statusCode,s,i)})}o(Vl,"retryHttpClientResponse");var Nn=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 VIe(t,e){return Nn(this,void 0,void 0,function*(){yield J4.promisify(V4.pipeline)(t.message,e)})}o(VIe,"pipeResponseToStream");var cE=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);ue(`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 lE(t,e){return Nn(this,void 0,void 0,function*(){let r=$s.createWriteStream(e),n=new Ii("actions/cache"),s=yield Vl("downloadCache",()=>Nn(this,void 0,void 0,function*(){return n.get(t)}));s.message.socket.setTimeout(Vb,()=>{s.message.destroy(),b(`Aborting download, socket timed out after ${Vb} ms`)}),yield VIe(s,r);let i=s.message.headers["content-length"];if(i){let a=parseInt(i),c=Cs(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(lE,"downloadCacheHttpClient");function W4(t,e,r){return Nn(this,void 0,void 0,function*(){var n;let s=yield $s.promises.open(e,"w"),i=new Ii("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield Vl("downloadCacheMetadata",()=>Nn(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(()=>Nn(this,void 0,void 0,function*(){return yield JIe(i,t,E,I)}),"promiseGetter")})}A.reverse();let d=0,m=0,h=new cE(l);h.startDisplayTimer();let p=h.onProgress(),f=[],C,y=o(()=>Nn(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,p({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(W4,"downloadCacheHttpClientConcurrent");function JIe(t,e,r,n){return Nn(this,void 0,void 0,function*(){let i=0;for(;;)try{let c=yield j4(3e4,WIe(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(JIe,"downloadSegmentRetry");function WIe(t,e,r,n){return Nn(this,void 0,void 0,function*(){let s=yield Vl("downloadCachePart",()=>Nn(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(WIe,"downloadSegment");function $4(t,e,r){return Nn(this,void 0,void 0,function*(){var n;let s=new Gl(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 lE(t,e);else{let c=Math.min(134217728,Y4.constants.MAX_LENGTH),l=new cE(a),A=$s.openSync(e,"w");try{l.startDisplayTimer();let u=new AbortController,d=u.signal;for(;!l.isDone();){let m=l.segmentOffset+l.segmentSize,h=Math.min(c,a-m);l.nextSegment(h);let p=yield j4(r.segmentTimeoutInMs||36e5,s.downloadToBuffer(m,h,{abortSignal:d,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(p==="timeout")throw u.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(p)&&$s.writeFileSync(A,p)}}finally{l.stopDisplayTimer(),$s.closeSync(A)}}})}o($4,"downloadCacheStorageSDK");var j4=o((t,e)=>Nn(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 Qv(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(Qv,"getUploadOptions");function K4(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(K4,"getDownloadOptions");function xv(){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(xv,"isGhes");function lm(){return xv()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(lm,"getCacheServiceVersion");var X4=["none","read","write","write-only"];function bv(){return(process.env.ACTIONS_CACHE_MODE||"").trim().toLowerCase()}o(bv,"getCacheMode");function Z4(t){return X4.includes(t)?t==="read"||t==="write":!0}o(Z4,"isCacheReadable");function eW(t){return X4.includes(t)?t==="write"||t==="write-only":!0}o(eW,"isCacheWritable");function AE(){let t=lm();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(AE,"getCacheServiceURL");var sW=Q(nW(),1);function uE(){return`@actions/cache-${sW.version}`}o(uE,"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 Am(t){let e=AE();if(!e)throw new Error("Cache Service Url not found, unable to restore cache.");let r=`${e}_apis/artifactcache/${t}`;return b(`Resource Url: ${r}`),r}o(Am,"getCacheApiUrl");function KIe(t,e){return`${t};api-version=${e}`}o(KIe,"createAcceptHeader");function XIe(){return{headers:{Accept:KIe("application/json","6.0-preview.1")}}}o(XIe,"getRequestOptions");function wv(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new gl(t);return new Ii(uE(),[e],XIe())}o(wv,"createHttpClient");function aW(t,e,r){return wr(this,void 0,void 0,function*(){var n;let s=wv(),i=fl(e,r?.compressionMethod,r?.enableCrossOsArchive),a=`cache?keys=${encodeURIComponent(t.join(","))}&version=${i}`,c=yield cm("getCacheEntry",()=>wr(this,void 0,void 0,function*(){return s.getJson(Am(a))}));if(c.statusCode===204)return ha()&&(yield ZIe(t[0],s,i)),null;if(!aE(c.statusCode)){let u=(n=c.error)===null||n===void 0?void 0:n.message;throw u?.includes(Df)?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 nl(A),b("Cache Result:"),b(JSON.stringify(l)),l})}o(aW,"getCacheEntry");function ZIe(t,e,r){return wr(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,s=yield cm("listCache",()=>wr(this,void 0,void 0,function*(){return e.getJson(Am(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(ZIe,"printCachesListForDiagnostics");function Nv(t,e,r){return wr(this,void 0,void 0,function*(){let n=new oW.URL(t),s=K4(r);n.hostname.endsWith(".blob.core.windows.net")?s.useAzureSdk?yield $4(t,e,s):s.concurrentBlobDownloads?yield W4(t,e,s):yield lE(t,e):yield lE(t,e)})}o(Nv,"downloadCache");function cW(t,e,r){return wr(this,void 0,void 0,function*(){let n=wv(),s=fl(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:s,cacheSize:r?.cacheSize};return yield cm("reserveCache",()=>wr(this,void 0,void 0,function*(){return n.postJson(Am("caches"),i)}))})}o(cW,"reserveCache");function iW(t,e){return`bytes ${t}-${e}/*`}o(iW,"getContentRange");function eBe(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: ${iW(n,s)}`);let i={"Content-Type":"application/octet-stream","Content-Range":iW(n,s)},a=yield Vl(`uploadChunk (start: ${n}, end: ${s})`,()=>wr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!aE(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(eBe,"uploadChunk");function tBe(t,e,r,n){return wr(this,void 0,void 0,function*(){let s=Cs(r),i=Am(`caches/${e.toString()}`),a=Jl.openSync(r,"r"),c=Qv(n),l=jb("uploadConcurrency",c.uploadConcurrency),A=jb("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),h=d,p=d+m-1;d+=A,yield eBe(t,i,()=>Jl.createReadStream(r,{fd:a,start:h,end:p,autoClose:!1}).on("error",f=>{throw new Error(`Cache upload failed because file read failed with ${f.message}`)}),h,p)}})))}finally{Jl.closeSync(a)}})}o(tBe,"uploadFile");function rBe(t,e,r){return wr(this,void 0,void 0,function*(){let n={size:r};return yield cm("commitCache",()=>wr(this,void 0,void 0,function*(){return t.postJson(Am(`caches/${e.toString()}`),n)}))})}o(rBe,"commitCache");function Sv(t,e,r,n){return wr(this,void 0,void 0,function*(){if(Qv(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield z4(r,e,n)}else{let i=wv();b("Upload cache"),yield tBe(i,t,e,n),b("Commiting cache");let a=Cs(e);ue(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield rBe(i,t,a);if(!aE(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);ue("Cache saved successfully")}})}o(Sv,"saveCache");var r8=Q($W(),1),ut=Q(At(),1),tn=Q(At(),1),ja=Q(At(),1),Ka=Q(At(),1),Xa=Q(At(),1);var BP=Q(At(),1),QP=Q(At(),1),ZW=Q(At(),1),e8=Q(At(),1),t8=Q(At(),1);var EP=Q(At(),1),CP=Q(At(),1),jW=Q(At(),1),KW=Q(At(),1),XW=Q(At(),1);var IP=class extends XW.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,KW.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,jW.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?CP.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.scope!==""&&r.tag(1,EP.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,EP.WireType.Varint).int64(e.permission);let s=n.writeUnknownFields;return s!==!1&&(s==!0?CP.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},jE=new IP;var xP=class extends t8.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(()=>jE,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,e8.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,ZW.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(jE.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?QP.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.repositoryId!=="0"&&r.tag(1,BP.WireType.Varint).int64(e.repositoryId);for(let i=0;i<e.scope.length;i++)jE.internalBinaryWrite(e.scope[i],r.tag(2,BP.WireType.LengthDelimited).fork(),n).join();let s=n.writeUnknownFields;return s!==!1&&(s==!0?QP.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},ei=new xP;var bP=class extends Xa.MessageType{static{o(this,"CreateCacheEntryRequest$Type")}constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:o(()=>ei,"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,Ka.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,ja.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=ei.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&&ei.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}},PP=new bP,wP=class extends Xa.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,Ka.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,ja.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}},DP=new wP,NP=class extends Xa.MessageType{static{o(this,"FinalizeCacheEntryUploadRequest$Type")}constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadRequest",[{no:1,name:"metadata",kind:"message",T:o(()=>ei,"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,Ka.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,ja.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=ei.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&&ei.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}},kP=new NP,SP=class extends Xa.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,Ka.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,ja.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}},TP=new SP,RP=class extends Xa.MessageType{static{o(this,"GetCacheEntryDownloadURLRequest$Type")}constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLRequest",[{no:1,name:"metadata",kind:"message",T:o(()=>ei,"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,Ka.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,ja.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=ei.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&&ei.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}},MP=new RP,vP=class extends Xa.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,Ka.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,ja.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}},LP=new vP,XKe=new r8.ServiceType("github.actions.results.api.v1.CacheService",[{name:"CreateCacheEntry",options:{},I:PP,O:DP},{name:"FinalizeCacheEntryUpload",options:{},I:kP,O:TP},{name:"GetCacheEntryDownloadURL",options:{},I:MP,O:LP}]);var KE=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=PP.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",r).then(s=>DP.fromJson(s,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=kP.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(s=>TP.fromJson(s,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=MP.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(s=>LP.fromJson(s,{ignoreUnknownFields:!0}))}};function n8(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(nl(r),nl(encodeURIComponent(r)))}catch(e){b(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(n8,"maskSigUrl");function s8(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"&&n8(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&n8(t.signed_download_url)}o(s8,"maskSecretUrls");var XE=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())})},_P=class{static{o(this,"CacheServiceClient")}constructor(e,r,n,s){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=SG();this.baseUrl=AE(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),s&&(this.retryMultiplier=s),this.httpClient=new Ii(e,[new gl(i)])}request(e,r,n,s){return XE(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(()=>XE(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 XE(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(s8(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(Ya.isUsageErrorMessage(A.msg))throw new Ya;n=`${n}: ${A.msg}`}if(l===$e.TooManyRequests){let u=c.message.headers["retry-after"];if(u){let d=parseInt(u,10);!isNaN(d)&&d>0&&pt(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new am(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&b(`Raw Body: ${s}`),c instanceof Ya||c instanceof am)throw c;if(Yl.isNetworkErrorCode(c?.code))throw new Yl(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);ue(`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?[$e.BadGateway,$e.GatewayTimeout,$e.InternalServerError,$e.ServiceUnavailable].includes(e):!1}sleep(e){return XE(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 FP(t){let e=new _P(uE(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new KE(e)}o(FP,"internalCacheTwirpClient");var ZE=require("fs"),rn=Q(require("path"),1);var Li=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())})},ko=process.platform==="win32";function dxe(){return Li(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield NG(),e=QG;if(t)return{path:t,type:Gr.GNU};if((0,ZE.existsSync)(e))return{path:e,type:Gr.BSD};break}case"darwin":{let t=yield pr("gtar",!1);return t?{path:t,type:Gr.GNU}:{path:yield pr("tar",!0),type:Gr.BSD}}default:break}return{path:yield pr("tar",!0),type:Gr.GNU}})}o(dxe,"getTarPath");function mxe(t,e,r){return Li(this,arguments,void 0,function*(n,s,i,a=""){let c=[`"${n.path}"`],l=fo(s),A="cache.tar",u=i8(),d=n.type===Gr.BSD&&s!==rr.Gzip&&ko;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",Wb);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===Gr.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(mxe,"getTarArgs");function UP(t,e){return Li(this,arguments,void 0,function*(r,n,s=""){let i,a=yield dxe(),c=yield mxe(a,r,n,s),l=n!=="create"?yield hxe(a,r,s):yield pxe(a,r),A=a.type===Gr.BSD&&r!==rr.Gzip&&ko;return A&&n!=="create"?i=[[...l].join(" "),[...c].join(" ")]:i=[[...c].join(" "),[...l].join(" ")],A?i:[i.join(" ")]})}o(UP,"getCommands");function i8(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(i8,"getWorkingDirectory");function hxe(t,e,r){return Li(this,void 0,void 0,function*(){let n=t.type===Gr.BSD&&e!==rr.Gzip&&ko;switch(e){case rr.Zstd:return n?["zstd -d --long=30 --force -o",id,r.replace(new RegExp(`\\${rn.sep}`,"g"),"/")]:["--use-compress-program",ko?'"zstd -d --long=30"':"unzstd --long=30"];case rr.ZstdWithoutLong:return n?["zstd -d --force -o",id,r.replace(new RegExp(`\\${rn.sep}`,"g"),"/")]:["--use-compress-program",ko?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(hxe,"getDecompressionProgram");function pxe(t,e){return Li(this,void 0,void 0,function*(){let r=fo(e),n=t.type===Gr.BSD&&e!==rr.Gzip&&ko;switch(e){case rr.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${rn.sep}`,"g"),"/"),id]:["--use-compress-program",ko?'"zstd -T0 --long=30"':"zstdmt --long=30"];case rr.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${rn.sep}`,"g"),"/"),id]:["--use-compress-program",ko?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(pxe,"getCompressionProgram");function OP(t,e){return Li(this,void 0,void 0,function*(){for(let r of t)try{yield co(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(OP,"execCommands");function bm(t,e){return Li(this,void 0,void 0,function*(){let r=yield UP(e,"list",t);yield OP(r)})}o(bm,"listTar");function qP(t,e){return Li(this,void 0,void 0,function*(){let r=i8();yield ma(r);let n=yield UP(e,"extract",t);yield OP(n)})}o(qP,"extractTar");function HP(t,e,r){return Li(this,void 0,void 0,function*(){(0,ZE.writeFileSync)(rn.join(t,Wb),e.join(`
|
|
`));let n=yield UP(r,"create");yield OP(n,t)})}o(HP,"createTar");var lA=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())})},es=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Za=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},zP="cache write denied:",eC=class t extends Za{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},o8=Df,tC=class t extends Error{static{o(this,"CacheReadDeniedError")}constructor(e){super(e),this.name="CacheReadDeniedError",Object.setPrototypeOf(this,t.prototype)}},rC=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function a8(t){if(!t||t.length===0)throw new es("Path Validation Error: At least one directory or file path is required")}o(a8,"checkPaths");function GP(t){if(t.length>512)throw new es(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new es(`Key Validation Error: ${t} cannot contain commas.`)}o(GP,"checkKey");function YP(){return lm()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(YP,"isFeatureAvailable");function c8(t,e,r,n){return lA(this,arguments,void 0,function*(s,i,a,c,l=!1){let A=lm();b(`Cache service version: ${A}`),a8(s);let u=bv();if(!Z4(u)){ue(`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 gxe(s,i,a,c,l):yield fxe(s,i,a,c,l)})}o(c8,"restoreCache");function fxe(t,e,r,n){return lA(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 es("Key Validation Error: Keys are limited to a maximum of 10.");for(let h of u)GP(h);let d=yield cd(),m="";try{let h;try{h=yield aW(u,s,{compressionMethod:d,enableCrossOsArchive:l})}catch(f){let C=(A=f?.message)!==null&&A!==void 0?A:"";throw C.includes(o8)?new tC(C):f}if(!h?.archiveLocation)return;if(c?.lookupOnly)return ue("Lookup only - skipping download"),h.cacheKey;m=wm.join(yield od(),fo(d)),b(`Archive Path: ${m}`),yield Nv(h.archiveLocation,m,c),ha()&&(yield bm(m,d));let p=Cs(m);return ue(`Cache Size: ~${Math.round(p/(1024*1024))} MB (${p} B)`),yield qP(m,d),ue("Cache restored successfully"),h.cacheKey}catch(h){let p=h;if(p.name===es.name)throw h;p instanceof Is&&typeof p.statusCode=="number"&&p.statusCode>=500?al(`Failed to restore: ${h.message}`):pt(`Failed to restore: ${h.message}`)}finally{try{yield ad(m)}catch(h){b(`Failed to delete archive: ${h}`)}}})}o(fxe,"restoreCacheV1");function gxe(t,e,r,n){return lA(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 es("Key Validation Error: Keys are limited to a maximum of 10.");for(let m of u)GP(m);let d="";try{let m=FP(),h=yield cd(),p={key:i,restoreKeys:a,version:fl(s,h,l)},f;try{f=yield m.GetCacheEntryDownloadURL(p)}catch(E){let I=(A=E?.message)!==null&&A!==void 0?A:"";throw I.includes(o8)?new tC(I):E}if(!f.ok){b(`Cache not found for version ${p.version} of keys: ${u.join(", ")}`);return}if(p.key!==f.matchedKey?ue(`Cache hit for restore-key: ${f.matchedKey}`):ue(`Cache hit for: ${f.matchedKey}`),c?.lookupOnly)return ue("Lookup only - skipping download"),f.matchedKey;d=wm.join(yield od(),fo(h)),b(`Archive path: ${d}`),b(`Starting download of archive to: ${d}`),yield Nv(f.signedDownloadUrl,d,c);let y=Cs(d);return ue(`Cache Size: ~${Math.round(y/(1024*1024))} MB (${y} B)`),ha()&&(yield bm(d,h)),yield qP(d,h),ue("Cache restored successfully"),f.matchedKey}catch(m){let h=m;if(h.name===es.name)throw m;h instanceof Is&&typeof h.statusCode=="number"&&h.statusCode>=500?al(`Failed to restore: ${m.message}`):pt(`Failed to restore: ${m.message}`)}finally{try{d&&(yield ad(d))}catch(m){b(`Failed to delete archive: ${m}`)}}})}o(gxe,"restoreCacheV2");function VP(t,e,r){return lA(this,arguments,void 0,function*(n,s,i,a=!1){let c=lm();b(`Cache service version: ${c}`),a8(n),GP(s);let l=bv();return eW(l)?c==="v2"?yield Exe(n,s,i,a):yield yxe(n,s,i,a):(ue(`Cache save skipped: the effective cache-mode '${l}' does not permit writes.`),b(`Skipped save for paths [${n.join(", ")}] with key '${s}'.`),-1)})}o(VP,"saveCache");function yxe(t,e,r){return lA(this,arguments,void 0,function*(n,s,i,a=!1){var c,l,A,u,d,m;let h=yield cd(),p=-1,f=yield $b(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 od(),y=wm.join(C,fo(h));b(`Archive Path: ${y}`);try{yield HP(C,f,h),ha()&&(yield bm(y,h));let E=10*1024*1024*1024,I=Cs(y);if(b(`File Size: ${I}`),I>E&&!xv())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 cW(s,n,{compressionMethod:h,enableCrossOsArchive:a,cacheSize:I});if(!((c=B?.result)===null||c===void 0)&&c.cacheId)p=(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 w=(d=B?.error)===null||d===void 0?void 0:d.message;throw w?.startsWith(zP)?new eC(`Unable to reserve cache with key ${s}. More details: ${w}`):new Za(`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: ${p})`),yield Sv(p,y,"",i)}catch(E){let I=E;if(I.name===es.name)throw E;I.name===Za.name?ue(`Failed to save: ${I.message}`):I instanceof Is&&typeof I.statusCode=="number"&&I.statusCode>=500?al(`Failed to save: ${I.message}`):pt(`Failed to save: ${I.message}`)}finally{try{yield ad(y)}catch(E){b(`Failed to delete archive: ${E}`)}}return p})}o(yxe,"saveCacheV1");function Exe(t,e,r){return lA(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 cd(),A=FP(),u=-1,d=yield $b(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 od(),h=wm.join(m,fo(l));b(`Archive Path: ${h}`);try{yield HP(m,d,l),ha()&&(yield bm(h,l));let p=Cs(h);b(`File Size: ${p}`),i.archiveSizeBytes=p,b("Reserving Cache");let f=fl(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(zP)&&pt(`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 w=(c=B?.message)!==null&&c!==void 0?c:"";throw w.startsWith(zP)?new eC(`Unable to reserve cache with key ${s}. More details: ${w}`):new Za(`Unable to reserve cache with key ${s}, another job may be creating this cache.`)}b(`Attempting to upload cache located at: ${h}`),yield Sv(u,h,y,i);let E={key:s,version:f,sizeBytes:`${p}`},I=yield A.FinalizeCacheEntryUpload(E);if(b(`FinalizeCacheEntryUploadResponse: ${I.ok}`),!I.ok)throw I.message?new rC(I.message):new Error(`Unable to finalize cache with key ${s}, another job may be finalizing this cache.`);u=parseInt(I.entryId)}catch(p){let f=p;if(f.name===es.name)throw p;f.name===Za.name?ue(`Failed to save: ${f.message}`):f.name===rC.name?pt(f.message):f instanceof Is&&typeof f.statusCode=="number"&&f.statusCode>=500?al(`Failed to save: ${f.message}`):pt(`Failed to save: ${f.message}`)}finally{try{yield ad(h)}catch(p){b(`Failed to delete archive: ${p}`)}}return u})}o(Exe,"saveCacheV2");var l8=Q(require("util"),1);var AA=class t{static{o(this,"Cache")}opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=l8.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=WP.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=WP.default.join(this.cacheDir,this.opts.cacheFile),Nm.default.existsSync(this.cacheDir)||Nm.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&&YP())if(r)try{b(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await VP([this.cacheDir],this.ghaCacheKey)}catch(i){pt(`Failed to save cache: ${i}`)}else b(`Cache.save sending ${this.ghaCacheKey} to post state`),Kp(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return n}async find(){try{let e=Zq(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return ue(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&YP()){if(b("GitHub Actions cache feature available"),await c8([this.cacheDir],this.ghaCacheKey)){if(ue(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),!Nm.default.existsSync(this.cachePath))return pt(`Cache file ${this.cachePath} does not exist`),"";let r=await this.cacheToHostedToolCache();return r&&ue(`Cached to hosted tool cache ${r}`),this.cachePath}}else this.ghaNoCache?ue("GitHub Actions cache disabled"):ue("GitHub Actions cache feature not available")}catch(e){pt(`Failed to restore cache: ${e}`)}return""}static async post(){let e=eO(t.POST_CACHE_KEY);if(!e)return ue("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{ue(`Caching ${r.key} to GitHub Actions cache`),await VP([r.dir],r.key)}catch(n){pt(`Failed to save cache: ${n}`)}return r}copyToCache(e){return ue(`Copying ${e} to ${this.cachePath}`),Nm.default.copyFileSync(e,this.cachePath),this.cachePath}async cacheToHostedToolCache(){try{return await Xq(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform())}catch(e){ue(`Failed to cache to hosted tool cache: ${e}`)}return""}platform(){let e=process.config.variables.arm_version;return`${JP.default.platform()}-${JP.default.arch()}${e?"v"+e:""}`}};var A8=!!process.env.STATE_isPost;A8||Kp("isPost","true");async function u8(t,e){if(A8)e&&await e(),await gs("Post cache",async()=>{await AA.post()});else try{await t()}catch(r){ZU(r.message)}}o(u8,"run");var jD=Q(require("fs"),1),_5=Q(require("os"),1),Ym=Q(require("path"),1),F5=require("util"),U5=Q(y8(),1);var eD=Q(require("fs"),1),_8=Q(require("os"),1),F8=Q(require("path"),1),U8=Q(L8(),1);var iC=class t{static{o(this,"Context")}static _tmpDir=eD.default.mkdtempSync(F8.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||_8.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return eD.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return U8.tmpNameSync(e)}};var Sm=class{static{o(this,"Exec")}static async exec(e,r,n){return b(`Exec.exec: ${e} ${r?.join(" ")}`),co(e,r,n)}static async getExecOutput(e,r,n){return b(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),Du(e,r,n)}};var $D=Q(require("crypto"),1),M5=Q(require("fs"),1),Gm=Q(require("path"),1),L5=Q(R5(),1);var me=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 zm=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var zC=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(zm(s)){if(typeof s.name!="string")throw new me("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 me("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 JD=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}},WD=JD;var v5=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 WD(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 WD(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 P5=o(function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})},"underscore");var QA=o(function(t){let e={};for(let n in t)e[P5(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 me("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 me("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 me("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 me("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=zC(e.columns);else if(e.columns===void 0||e.columns===null||e.columns===!1)e.columns=!1;else throw new me("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 me("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 me("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 me("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 me("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(e.comment_no_infix)}`],e);if(e.delimiter_auto===void 0||e.delimiter_auto===null||e.delimiter_auto===!1)e.delimiter_auto=!1;else if(e.delimiter_auto===!0)e.delimiter_auto={};else if(!zm(e.delimiter_auto))throw new me("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","delimiter_auto must be a boolean or a configuration object,",`got ${JSON.stringify(e.delimiter_auto)}`],e);if(e.delimiter_auto){if(e.delimiter_auto.preferred===void 0)e.delimiter_auto.preferred={44:1.8,9:1.8,59:1.6,32:1.6,58:1.5,46:1.4,47:1.4};else if(!zm(e.delimiter_auto.preferred))throw new me("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 me("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 me("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 me("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 me("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 me("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 me("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 me("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 me("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 me("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 me("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 D5=o(function(t,e){e||({delimiter_auto:e}=QA({delimiter_auto:!0})),typeof t=="string"&&(t=Buffer.from(t)),Buffer.isBuffer(t)&&(t=(s=>{let i=[],a=GC({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=L0e(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"),L0e=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 k5=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),_0e=13,F0e=10,xA={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},GC=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=QA(t);return{info:e,original_options:t,options:r,state:v5(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,h=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<h},"__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:h,raw:p,relax_quotes:f,rtrim:C,skip_empty_lines:y,to:E,to_line:I}=this.options,{comment:B,escape:w,quote:S,record_delimiter:T}=this.options,{bomSkipped:ee,delimiterDiscovered:be,delimiterBufPrevious:Be,rawBuffer:Ne,escapeIsQuote:ce}=this.state;if(!be&&A){let Qe;if(Be===void 0?Qe=n:Be!==void 0&&n===void 0?Qe=Be:Qe=Buffer.concat([Be,n]),n=void 0,s||Qe.length>A.size)this.options.delimiter=[Buffer.from(D5(Qe,this.options.delimiter_auto))],this.state.previousBuf=Qe,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=Qe;return}}let{previousBuf:De}=this.state,ie;if(De===void 0)if(n===void 0){a();return}else ie=n;else De!==void 0&&n===void 0?ie=De:ie=Buffer.concat([De,n]);if(ee===!1)if(c===!1)this.state.bomSkipped=!0;else if(ie.length<3){if(s===!1){this.state.previousBuf=ie;return}}else{for(let Qe in xA)if(xA[Qe].compare(ie,0,xA[Qe].length)===0){let rs=xA[Qe].length;this.state.bufBytesStart+=rs,ie=ie.slice(rs);let qi=QA({...this.original_options,encoding:Qe});for(let Je in qi)this.options[Je]=qi[Je];({comment:B,escape:w,quote:S}=this.options);break}this.state.bomSkipped=!0}let yt=ie.length,H;for(H=0;H<yt&&!this.__needMoreData(H,yt,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&&T.length===0&&this.__autoDiscoverRecordDelimiter(ie,H)&&(T=this.options.record_delimiter);let Qe=ie[H];if(p===!0&&Ne.append(Qe),(Qe===_0e||Qe===F0e)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(w!==null&&this.state.quoting===!0&&this.__isEscape(ie,H,Qe)&&H+w.length<yt)if(ce){if(this.__isQuote(ie,H+w.length)){this.state.escaping=!0,H+=w.length-1;continue}}else{this.state.escaping=!0,H+=w.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(ie,H))if(this.state.quoting===!0){let Je=ie[H+S.length],ns=C&&this.__isCharTrimable(ie,H+S.length),vr=B!==null&&this.__compareBytes(B,ie,H+S.length,Je),Lo=this.__isDelimiter(ie,H+S.length,Je),Vm=T.length===0?this.__autoDiscoverRecordDelimiter(ie,H+S.length):this.__isRecordDelimiter(Je,ie,H+S.length);if(w!==null&&this.__isEscape(ie,H,Qe)&&this.__isQuote(ie,H+w.length))H+=w.length-1;else if(!Je||Lo||Vm||vr||ns){this.state.quoting=!1,this.state.wasQuoting=!0,H+=S.length-1;continue}else if(f===!1){let KD=this.__error(new me("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(KD!==void 0)return KD}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(S),H+=S.length-1}else if(this.state.field.length!==0){if(f===!1){let Je=this.__infoField(),ns=Object.keys(xA).map(Lo=>xA[Lo].equals(this.state.field.toString())?Lo:!1).filter(Boolean)[0],vr=this.__error(new me("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))}`,ns?`(${ns} bom)`:void 0],this.options,Je,{field:this.state.field}));if(vr!==void 0)return vr}}else{this.state.quoting=!0,H+=S.length-1;continue}if(this.state.quoting===!1){let Je=this.__isRecordDelimiter(Qe,ie,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 Lo=this.__onField();if(Lo!==void 0)return Lo;this.info.bytes=this.state.bufBytesStart+H+Je;let Vm=this.__onRecord(i);if(Vm!==void 0)return Vm;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,ie,H,Qe)!==0){this.state.commenting=!0;continue}let ns=this.__isDelimiter(ie,H,Qe);if(ns!==0){this.info.bytes=this.state.bufBytesStart+H;let vr=this.__onField();if(vr!==void 0)return vr;H+=ns-1;continue}}}if(this.state.commenting===!1&&h!==0&&this.state.record_length+this.state.field.length>h)return this.__error(new me("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${h}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let rs=m===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(ie,H),qi=C===!1||this.state.wasQuoting===!1;if(rs===!0&&qi===!0)this.state.field.append(Qe);else{if(C===!0&&!this.__isCharTrimable(ie,H))return this.__error(new me("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()));rs===!1&&(H+=this.__isCharTrimable(ie,H)-1);continue}}if(s===!0)if(this.state.quoting===!0){let Qe=this.__error(new me("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(Qe!==void 0)return Qe}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+H;let Qe=this.__onField();if(Qe!==void 0)return Qe;let rs=this.__onRecord(i);if(rs!==void 0)return rs}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=ie.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:h}=this.options,{enabled:p,record:f}=this.state;if(p===!1)return this.__resetRecord();let C=f.length;if(s===!0){if(h===!0&&k5(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 me("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 me("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(h===!0&&k5(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 me("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=zC(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 T5=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],n=GC(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 bA=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(ol(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let n=[];if(e=="")return n;let s=T5(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=ol(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 pr("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 M5.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 $D.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 $D.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,n){return L5.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=Gm.default.resolve(e);return Gm.default.resolve(r).startsWith(n.endsWith(Gm.default.sep)?n:`${n}${Gm.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 Jt=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||Ym.default.join(_5.default.homedir(),".docker")}static configFile(){let e=Ym.default.join(t.configDir,"config.json");if(jD.default.existsSync(e))return JSON.parse(jD.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await pr("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 Sm.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return Sm.getExecOutput("docker",e,t.execOptions(r))}static getErrorMessage(e){let r=(0,F5.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 AA({htcName:s,htcVersion:i,baseCacheDir:Ym.default.join(t.configDir,".cache","images",s),cacheFile:"image.tar"}),c;r&&(c=await a.find(),c&&(ue(`Image found from cache in ${c}`),await t.getExecOutput(["load","-i",c],{ignoreReturnCode:!0}).then(A=>{A.stderr.length>0&&A.exitCode!=0&&pt(`Failed to load image from cache: ${t.getErrorMessage(A.stderr)}`)})));let l=!0;try{await t.pullWithRetry(e)}catch(A){if(l=!1,c)pt(`Failed to pull image, using one from cache: ${A.message}`);else throw A}if(r&&l){let A=Ym.default.join(iC.tmpDir(),`${bA.hash(e)}.tar`);await t.getExecOutput(["save","-o",A,e],{ignoreReturnCode:!0}).then(async u=>{if(u.stderr.length>0&&u.exitCode!=0)pt(`Failed to save image: ${t.getErrorMessage(u.stderr)}`);else{let d=await a.save(A);ue(`Image cached to ${d}`)}})}}static async pullWithRetry(e){await(0,U5.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 O5(){return{image:ol("image")||"docker.io/tonistiigi/binfmt:latest",platforms:bA.getInputList("platforms").join(",")||"all",reset:qx("reset"),cacheImage:qx("cache-image")}}o(O5,"getInputs");u8(async()=>{let t=O5();await gs("Docker info",async()=>{await Jt.printVersion(),await Jt.printInfo()}),await gs("Pulling binfmt Docker image",async()=>{await Jt.pull(t.image,t.cacheImage)}),await gs("Image info",async()=>{await Jt.getExecOutput(["image","inspect",t.image],{ignoreReturnCode:!0}).then(e=>{if(e.exitCode!=0)throw new Error(`Failed to inspect image ${t.image}: ${Jt.getErrorMessage(e.stderr)}`)})}),await gs("Binfmt version",async()=>{await Jt.getExecOutput(["run","--rm","--privileged",t.image,"--version"],{ignoreReturnCode:!0}).then(e=>{if(e.exitCode!=0)throw new Error(`Failed to get binfmt version: ${Jt.getErrorMessage(e.stderr)}`)})}),t.reset&&await gs("Uninstalling current emulators",async()=>{await Jt.getExecOutput(["run","--rm","--privileged",t.image,"--uninstall","qemu-*"],{ignoreReturnCode:!0}).then(e=>{if(e.exitCode!=0)throw new Error(`Failed to uninstall current emulators: ${Jt.getErrorMessage(e.stderr)}`)})}),await gs("Installing QEMU static binaries",async()=>{await Jt.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: ${Jt.getErrorMessage(e.stderr)}`)})}),await gs("Extracting available platforms",async()=>{await Jt.getExecOutput(["run","--rm","--privileged",t.image],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.exitCode!=0)throw new Error(`Failed to extract available platforms: ${Jt.getErrorMessage(e.stderr)}`);let r=JSON.parse(e.stdout.trim());ue(`${r.supported.join(",")}`),XU("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
|