Add `mise.toml` and `.mise.toml` to the version file readers, using the existing `@iarna/toml` dependency for robust TOML parsing. Handles both string and array formats under `[tools]`. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
140 lines
1.4 MiB
Generated
140 lines
1.4 MiB
Generated
var T8=Object.create;var Ol=Object.defineProperty;var O8=Object.getOwnPropertyDescriptor;var M8=Object.getOwnPropertyNames;var k8=Object.getPrototypeOf,L8=Object.prototype.hasOwnProperty;var o=(t,e)=>Ol(t,"name",{value:e,configurable:!0});var td=(t,e)=>()=>(t&&(e=t(t=0)),e);var m=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rd=(t,e)=>{for(var r in e)Ol(t,r,{get:e[r],enumerable:!0})},a_=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of M8(e))!L8.call(t,i)&&i!==r&&Ol(t,i,{get:()=>e[i],enumerable:!(n=O8(e,i))||n.enumerable});return t};var nd=(t,e,r)=>(r=t!=null?T8(k8(t)):{},a_(e||!t||!t.__esModule?Ol(r,"default",{value:t,enumerable:!0}):r,t)),Wt=t=>a_(Ol({},"__esModule",{value:!0}),t);var sd=m(id=>{"use strict";Object.defineProperty(id,"__esModule",{value:!0});id.toCommandValue=U8;id.toCommandProperties=F8;function U8(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(U8,"toCommandValue");function F8(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(F8,"toCommandProperties")});var u_=m(Xn=>{"use strict";var q8=Xn&&Xn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),H8=Xn&&Xn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),z8=Xn&&Xn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&q8(r,e,n[i]);return H8(r,e),r}}();Object.defineProperty(Xn,"__esModule",{value:!0});Xn.issueCommand=A_;Xn.issue=G8;var j8=z8(require("os")),l_=sd();function A_(t,e,r){let n=new eC(t,e,r);process.stdout.write(n.toString()+j8.EOL)}o(A_,"issueCommand");function G8(t,e=""){A_(t,{},e)}o(G8,"issue");var c_="::",eC=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=c_+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 i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${J8(i)}`)}}return e+=`${c_}${Y8(this.message)}`,e}};function Y8(t){return(0,l_.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Y8,"escapeData");function J8(t){return(0,l_.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(J8,"escapeProperty")});var h_=m(Zn=>{"use strict";var V8=Zn&&Zn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),W8=Zn&&Zn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),rC=Zn&&Zn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&V8(r,e,n[i]);return W8(r,e),r}}();Object.defineProperty(Zn,"__esModule",{value:!0});Zn.issueFileCommand=$8;Zn.prepareKeyValueMessage=X8;var K8=rC(require("crypto")),d_=rC(require("fs")),tC=rC(require("os")),p_=sd();function $8(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!d_.existsSync(r))throw new Error(`Missing file at path: ${r}`);d_.appendFileSync(r,`${(0,p_.toCommandValue)(e)}${tC.EOL}`,{encoding:"utf8"})}o($8,"issueFileCommand");function X8(t,e){let r=`ghadelimiter_${K8.randomUUID()}`,n=(0,p_.toCommandValue)(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}${tC.EOL}${n}${tC.EOL}${r}`}o(X8,"prepareKeyValueMessage")});var m_=m(ad=>{"use strict";Object.defineProperty(ad,"__esModule",{value:!0});ad.getProxyUrl=Z8;ad.checkBypass=f_;function Z8(t){let e=t.protocol==="https:";if(f_(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 od(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new od(`http://${r}`)}else return}o(Z8,"getProxyUrl");function f_(t){if(!t.hostname)return!1;let e=t.hostname;if(e5(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 i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(f_,"checkBypass");function e5(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(e5,"isLoopbackAddress");var od=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 E_=m(la=>{"use strict";var Pqe=require("net"),t5=require("tls"),nC=require("http"),g_=require("https"),r5=require("events"),Dqe=require("assert"),n5=require("util");la.httpOverHttp=i5;la.httpsOverHttp=s5;la.httpOverHttps=o5;la.httpsOverHttps=a5;function i5(t){var e=new Oi(t);return e.request=nC.request,e}o(i5,"httpOverHttp");function s5(t){var e=new Oi(t);return e.request=nC.request,e.createSocket=y_,e.defaultPort=443,e}o(s5,"httpsOverHttp");function o5(t){var e=new Oi(t);return e.request=g_.request,e}o(o5,"httpOverHttps");function a5(t){var e=new Oi(t);return e.request=g_.request,e.createSocket=y_,e.defaultPort=443,e}o(a5,"httpsOverHttps");function Oi(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||nC.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,i,s,a){for(var c=C_(i,s,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(Oi,"TunnelingAgent");n5.inherits(Oi,r5.EventEmitter);Oi.prototype.addRequest=o(function(e,r,n,i){var s=this,a=iC({request:e},s.options,C_(r,n,i));if(s.sockets.length>=this.maxSockets){s.requests.push(a);return}s.createSocket(a,function(c){c.on("free",l),c.on("close",A),c.on("agentRemove",A),e.onSocket(c);function l(){s.emit("free",c,a)}o(l,"onFree");function A(u){s.removeSocket(c),c.removeListener("free",l),c.removeListener("close",A),c.removeListener("agentRemove",A)}o(A,"onCloseOrRemove")})},"addRequest");Oi.prototype.createSocket=o(function(e,r){var n=this,i={};n.sockets.push(i);var s=iC({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(s.localAddress=e.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),cs("making CONNECT request");var a=n.request(s);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,f,g){process.nextTick(function(){A(d,f,g)})}o(l,"onUpgrade");function A(d,f,g){if(a.removeAllListeners(),f.removeAllListeners(),d.statusCode!==200){cs("tunneling socket could not be established, statusCode=%d",d.statusCode),f.destroy();var C=new Error("tunneling socket could not be established, statusCode="+d.statusCode);C.code="ECONNRESET",e.request.emit("error",C),n.removeSocket(i);return}if(g.length>0){cs("got illegal response body from proxy"),f.destroy();var C=new Error("got illegal response body from proxy");C.code="ECONNRESET",e.request.emit("error",C),n.removeSocket(i);return}return cs("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=f,r(f)}o(A,"onConnect");function u(d){a.removeAllListeners(),cs(`tunneling socket could not be established, cause=%s
|
|
`,d.message,d.stack);var f=new Error("tunneling socket could not be established, cause="+d.message);f.code="ECONNRESET",e.request.emit("error",f),n.removeSocket(i)}o(u,"onError")},"createSocket");Oi.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(i){n.request.onSocket(i)})}},"removeSocket");function y_(t,e){var r=this;Oi.prototype.createSocket.call(r,t,function(n){var i=t.request.getHeader("host"),s=iC({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):t.host}),a=t5.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(y_,"createSecureSocket");function C_(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(C_,"toOptions");function iC(t){for(var e=1,r=arguments.length;e<r;++e){var n=arguments[e];if(typeof n=="object")for(var i=Object.keys(n),s=0,a=i.length;s<a;++s){var c=i[s];n[c]!==void 0&&(t[c]=n[c])}}return t}o(iC,"mergeOptions");var cs;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?cs=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"):cs=o(function(){},"debug");la.debug=cs});var I_=m((Mqe,B_)=>{B_.exports=E_()});var tt=m((kqe,b_)=>{b_.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 ve=m((Lqe,J_)=>{"use strict";var Q_=Symbol.for("undici.error.UND_ERR"),ct=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[Q_]===!0}[Q_]=!0},w_=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),sC=class extends ct{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[w_]===!0}[w_]=!0},N_=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),oC=class extends ct{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[N_]===!0}[N_]=!0},x_=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),aC=class extends ct{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[x_]===!0}[x_]=!0},S_=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),cC=class extends ct{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[S_]===!0}[S_]=!0},R_=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),lC=class extends ct{static{o(this,"ResponseStatusCodeError")}constructor(e,r,n,i){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=i,this.status=r,this.statusCode=r,this.headers=n}static[Symbol.hasInstance](e){return e&&e[R_]===!0}[R_]=!0},__=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),AC=class extends ct{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[__]===!0}[__]=!0},v_=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),uC=class extends ct{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[v_]===!0}[v_]=!0},P_=Symbol.for("undici.error.UND_ERR_ABORT"),cd=class extends ct{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[P_]===!0}[P_]=!0},D_=Symbol.for("undici.error.UND_ERR_ABORTED"),dC=class extends cd{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[D_]===!0}[D_]=!0},T_=Symbol.for("undici.error.UND_ERR_INFO"),pC=class extends ct{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[T_]===!0}[T_]=!0},O_=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),hC=class extends ct{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[O_]===!0}[O_]=!0},M_=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),fC=class extends ct{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[M_]===!0}[M_]=!0},k_=Symbol.for("undici.error.UND_ERR_DESTROYED"),mC=class extends ct{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[k_]===!0}[k_]=!0},L_=Symbol.for("undici.error.UND_ERR_CLOSED"),gC=class extends ct{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[L_]===!0}[L_]=!0},U_=Symbol.for("undici.error.UND_ERR_SOCKET"),yC=class extends ct{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[U_]===!0}[U_]=!0},F_=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),CC=class extends ct{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[F_]===!0}[F_]=!0},q_=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),EC=class extends ct{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[q_]===!0}[q_]=!0},H_=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),BC=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[H_]===!0}[H_]=!0},z_=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),IC=class extends ct{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[z_]===!0}[z_]=!0},j_=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),bC=class extends ct{static{o(this,"RequestRetryError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[j_]===!0}[j_]=!0},G_=Symbol.for("undici.error.UND_ERR_RESPONSE"),QC=class extends ct{static{o(this,"ResponseError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[G_]===!0}[G_]=!0},Y_=Symbol.for("undici.error.UND_ERR_PRX_TLS"),wC=class extends ct{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[Y_]===!0}[Y_]=!0};J_.exports={AbortError:cd,HTTPParserError:BC,UndiciError:ct,HeadersTimeoutError:oC,HeadersOverflowError:aC,BodyTimeoutError:cC,RequestContentLengthMismatchError:hC,ConnectTimeoutError:sC,ResponseStatusCodeError:lC,InvalidArgumentError:AC,InvalidReturnValueError:uC,RequestAbortedError:dC,ClientDestroyedError:mC,ClientClosedError:gC,InformationalError:pC,SocketError:yC,NotSupportedError:CC,ResponseContentLengthMismatchError:fC,BalancedPoolMissingUpstreamError:EC,ResponseExceededMaxSizeError:IC,RequestRetryError:bC,ResponseError:QC,SecureProxyConnectionError:wC}});var Ad=m((Fqe,V_)=>{"use strict";var ld={},NC=["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<NC.length;++t){let e=NC[t],r=e.toLowerCase();ld[e]=ld[r]=r}Object.setPrototypeOf(ld,null);V_.exports={wellknownHeaderNames:NC,headerNameLowerCasedRecord:ld}});var X_=m((qqe,$_)=>{"use strict";var{wellknownHeaderNames:W_,headerNameLowerCasedRecord:c5}=Ad(),xC=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 i=0,s=this;for(;;){let a=e.charCodeAt(i);if(a>127)throw new TypeError("key must be ascii string");if(s.code===a)if(n===++i){s.value=r;break}else if(s.middle!==null)s=s.middle;else{s.middle=new t(e,r,i);break}else if(s.code<a)if(s.left!==null)s=s.left;else{s.left=new t(e,r,i);break}else if(s.right!==null)s=s.right;else{s.right=new t(e,r,i);break}}}search(e){let r=e.length,n=0,i=this;for(;i!==null&&n<r;){let s=e[n];for(s<=90&&s>=65&&(s|=32);i!==null;){if(s===i.code){if(r===++n)return i;i=i.middle;break}i=i.code<s?i.left:i.right}}return null}},ud=class{static{o(this,"TernarySearchTree")}node=null;insert(e,r){this.node===null?this.node=new xC(e,r,0):this.node.add(e,r)}lookup(e){return this.node?.search(e)?.value??null}},K_=new ud;for(let t=0;t<W_.length;++t){let e=c5[W_[t]];K_.insert(e,e)}$_.exports={TernarySearchTree:ud,tree:K_}});var Ee=m((zqe,hv)=>{"use strict";var Ml=require("node:assert"),{kDestroyed:ev,kBodyUsed:Aa,kListeners:SC,kBody:Z_}=tt(),{IncomingMessage:l5}=require("node:http"),hd=require("node:stream"),A5=require("node:net"),{Blob:u5}=require("node:buffer"),d5=require("node:util"),{stringify:p5}=require("node:querystring"),{EventEmitter:h5}=require("node:events"),{InvalidArgumentError:kt}=ve(),{headerNameLowerCasedRecord:f5}=Ad(),{tree:tv}=X_(),[m5,g5]=process.versions.node.split(".").map(t=>Number(t)),pd=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[Z_]=e,this[Aa]=!1}async*[Symbol.asyncIterator](){Ml(!this[Aa],"disturbed"),this[Aa]=!0,yield*this[Z_]}};function y5(t){return fd(t)?(ov(t)===0&&t.on("data",function(){Ml(!1)}),typeof t.readableDidRead!="boolean"&&(t[Aa]=!1,h5.prototype.on.call(t,"data",function(){this[Aa]=!0})),t):t&&typeof t.pipeTo=="function"?new pd(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&sv(t)?new pd(t):t}o(y5,"wrapRequestBody");function C5(){}o(C5,"nop");function fd(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(fd,"isStream");function rv(t){if(t===null)return!1;if(t instanceof u5)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(rv,"isBlobLike");function E5(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=p5(e);return r&&(t+="?"+r),t}o(E5,"buildURL");function nv(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(nv,"isValidPort");function dd(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(dd,"isHttpOrHttpsPrefixed");function iv(t){if(typeof t=="string"){if(t=new URL(t),!dd(t.origin||t.protocol))throw new kt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new kt("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&nv(t.port)===!1)throw new kt("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 kt("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new kt("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new kt("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new kt("Invalid URL origin: the origin must be a string or null/undefined.");if(!dd(t.origin||t.protocol))throw new kt("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(!dd(t.origin||t.protocol))throw new kt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(iv,"parseURL");function B5(t){if(t=iv(t),t.pathname!=="/"||t.search||t.hash)throw new kt("invalid url");return t}o(B5,"parseOrigin");function I5(t){if(t[0]==="["){let r=t.indexOf("]");return Ml(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(I5,"getHostname");function b5(t){if(!t)return null;Ml(typeof t=="string");let e=I5(t);return A5.isIP(e)?"":e}o(b5,"getServerName");function Q5(t){return JSON.parse(JSON.stringify(t))}o(Q5,"deepClone");function w5(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(w5,"isAsyncIterable");function sv(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(sv,"isIterable");function ov(t){if(t==null)return 0;if(fd(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(rv(t))return t.size!=null?t.size:null;if(lv(t))return t.byteLength}return null}o(ov,"bodyLength");function av(t){return t&&!!(t.destroyed||t[ev]||hd.isDestroyed?.(t))}o(av,"isDestroyed");function N5(t,e){t==null||!fd(t)||av(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===l5&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[ev]=!0))}o(N5,"destroy");var x5=/timeout=(\d+)/;function S5(t){let e=t.toString().match(x5);return e?parseInt(e[1],10)*1e3:null}o(S5,"parseKeepAliveTimeout");function cv(t){return typeof t=="string"?f5[t]??t.toLowerCase():tv.lookup(t)??t.toString("latin1").toLowerCase()}o(cv,"headerNameToString");function R5(t){return tv.lookup(t)??t.toString("latin1").toLowerCase()}o(R5,"bufferToLowerCasedHeaderName");function _5(t,e){e===void 0&&(e={});for(let r=0;r<t.length;r+=2){let n=cv(t[r]),i=e[n];if(i)typeof i=="string"&&(i=[i],e[n]=i),i.push(t[r+1].toString("utf8"));else{let s=t[r+1];typeof s=="string"?e[n]=s:e[n]=Array.isArray(s)?s.map(a=>a.toString("utf8")):s.toString("utf8")}}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}o(_5,"parseHeaders");function v5(t){let e=t.length,r=new Array(e),n=!1,i=-1,s,a,c=0;for(let l=0;l<t.length;l+=2)s=t[l],a=t[l+1],typeof s!="string"&&(s=s.toString()),typeof a!="string"&&(a=a.toString("utf8")),c=s.length,c===14&&s[7]==="-"&&(s==="content-length"||s.toLowerCase()==="content-length")?n=!0:c===19&&s[7]==="-"&&(s==="content-disposition"||s.toLowerCase()==="content-disposition")&&(i=l+1),r[l]=s,r[l+1]=a;return n&&i!==-1&&(r[i]=Buffer.from(r[i]).toString("latin1")),r}o(v5,"parseRawHeaders");function lv(t){return t instanceof Uint8Array||Buffer.isBuffer(t)}o(lv,"isBuffer");function P5(t,e,r){if(!t||typeof t!="object")throw new kt("handler must be an object");if(typeof t.onConnect!="function")throw new kt("invalid onConnect method");if(typeof t.onError!="function")throw new kt("invalid onError method");if(typeof t.onBodySent!="function"&&t.onBodySent!==void 0)throw new kt("invalid onBodySent method");if(r||e==="CONNECT"){if(typeof t.onUpgrade!="function")throw new kt("invalid onUpgrade method")}else{if(typeof t.onHeaders!="function")throw new kt("invalid onHeaders method");if(typeof t.onData!="function")throw new kt("invalid onData method");if(typeof t.onComplete!="function")throw new kt("invalid onComplete method")}}o(P5,"validateHandler");function D5(t){return!!(t&&(hd.isDisturbed(t)||t[Aa]))}o(D5,"isDisturbed");function T5(t){return!!(t&&hd.isErrored(t))}o(T5,"isErrored");function O5(t){return!!(t&&hd.isReadable(t))}o(O5,"isReadable");function M5(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(M5,"getSocketInfo");function k5(t){let e;return new ReadableStream({async start(){e=t[Symbol.asyncIterator]()},async pull(r){let{done:n,value:i}=await e.next();if(n)queueMicrotask(()=>{r.close(),r.byobRequest?.respond(0)});else{let s=Buffer.isBuffer(i)?i:Buffer.from(i);s.byteLength&&r.enqueue(new Uint8Array(s))}return r.desiredSize>0},async cancel(r){await e.return()},type:"bytes"})}o(k5,"ReadableStreamFrom");function L5(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(L5,"isFormDataLike");function U5(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(U5,"addAbortListener");var F5=typeof String.prototype.toWellFormed=="function",q5=typeof String.prototype.isWellFormed=="function";function Av(t){return F5?`${t}`.toWellFormed():d5.toUSVString(t)}o(Av,"toUSVString");function H5(t){return q5?`${t}`.isWellFormed():Av(t)===`${t}`}o(H5,"isUSVString");function uv(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(uv,"isTokenCharCode");function z5(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e)if(!uv(t.charCodeAt(e)))return!1;return!0}o(z5,"isValidHTTPToken");var j5=/[^\t\x20-\x7e\x80-\xff]/;function G5(t){return!j5.test(t)}o(G5,"isValidHeaderValue");function Y5(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(Y5,"parseRangeHeader");function J5(t,e,r){return(t[SC]??=[]).push([e,r]),t.on(e,r),t}o(J5,"addListener");function V5(t){for(let[e,r]of t[SC]??[])t.removeListener(e,r);t[SC]=null}o(V5,"removeAllListeners");function W5(t,e,r){try{e.onError(r),Ml(e.aborted)}catch(n){t.emit("error",n)}}o(W5,"errorRequest");var dv=Object.create(null);dv.enumerable=!0;var RC={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"},pv={...RC,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(RC,null);Object.setPrototypeOf(pv,null);hv.exports={kEnumerableProperty:dv,nop:C5,isDisturbed:D5,isErrored:T5,isReadable:O5,toUSVString:Av,isUSVString:H5,isBlobLike:rv,parseOrigin:B5,parseURL:iv,getServerName:b5,isStream:fd,isIterable:sv,isAsyncIterable:w5,isDestroyed:av,headerNameToString:cv,bufferToLowerCasedHeaderName:R5,addListener:J5,removeAllListeners:V5,errorRequest:W5,parseRawHeaders:v5,parseHeaders:_5,parseKeepAliveTimeout:S5,destroy:N5,bodyLength:ov,deepClone:Q5,ReadableStreamFrom:k5,isBuffer:lv,validateHandler:P5,getSocketInfo:M5,isFormDataLike:L5,buildURL:E5,addAbortListener:U5,isValidHTTPToken:z5,isValidHeaderValue:G5,isTokenCharCode:uv,parseRangeHeader:Y5,normalizedMethodRecordsBase:RC,normalizedMethodRecords:pv,isValidPort:nv,isHttpOrHttpsPrefixed:dd,nodeMajor:m5,nodeMinor:g5,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"],wrapRequestBody:y5}});var ua=m((Gqe,mv)=>{"use strict";var Oe=require("node:diagnostics_channel"),vC=require("node:util"),md=vC.debuglog("undici"),_C=vC.debuglog("fetch"),ro=vC.debuglog("websocket"),fv=!1,K5={beforeConnect:Oe.channel("undici:client:beforeConnect"),connected:Oe.channel("undici:client:connected"),connectError:Oe.channel("undici:client:connectError"),sendHeaders:Oe.channel("undici:client:sendHeaders"),create:Oe.channel("undici:request:create"),bodySent:Oe.channel("undici:request:bodySent"),headers:Oe.channel("undici:request:headers"),trailers:Oe.channel("undici:request:trailers"),error:Oe.channel("undici:request:error"),open:Oe.channel("undici:websocket:open"),close:Oe.channel("undici:websocket:close"),socketError:Oe.channel("undici:websocket:socket_error"),ping:Oe.channel("undici:websocket:ping"),pong:Oe.channel("undici:websocket:pong")};if(md.enabled||_C.enabled){let t=_C.enabled?_C:md;Oe.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connecting to %s using %s%s",`${s}${i?`:${i}`:""}`,n,r)}),Oe.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connected to %s using %s%s",`${s}${i?`:${i}`:""}`,n,r)}),Oe.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:a}=e;t("connection to %s using %s%s errored - %s",`${s}${i?`:${i}`:""}`,n,r,a.message)}),Oe.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)}),Oe.channel("undici:request:headers").subscribe(e=>{let{request:{method:r,path:n,origin:i},response:{statusCode:s}}=e;t("received response to %s %s/%s - HTTP %d",r,i,n,s)}),Oe.channel("undici:request:trailers").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("trailers received from %s %s/%s",r,i,n)}),Oe.channel("undici:request:error").subscribe(e=>{let{request:{method:r,path:n,origin:i},error:s}=e;t("request to %s %s/%s errored - %s",r,i,n,s.message)}),fv=!0}if(ro.enabled){if(!fv){let t=md.enabled?md:ro;Oe.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connecting to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Oe.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connected to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Oe.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:a}=e;t("connection to %s%s using %s%s errored - %s",s,i?`:${i}`:"",n,r,a.message)}),Oe.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)})}Oe.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;ro("connection opened %s%s",e,r?`:${r}`:"")}),Oe.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;ro("closed connection to %s - %s %s",e.url,r,n)}),Oe.channel("undici:websocket:socket_error").subscribe(t=>{ro("connection errored - %s",t.message)}),Oe.channel("undici:websocket:ping").subscribe(t=>{ro("ping received")}),Oe.channel("undici:websocket:pong").subscribe(t=>{ro("pong received")})}mv.exports={channels:K5}});var Bv=m((Yqe,Ev)=>{"use strict";var{InvalidArgumentError:lt,NotSupportedError:$5}=ve(),Mi=require("node:assert"),{isValidHTTPToken:Cv,isValidHeaderValue:gv,isStream:X5,destroy:Z5,isBuffer:e9,isFormDataLike:t9,isIterable:r9,isBlobLike:n9,buildURL:i9,validateHandler:s9,getServerName:o9,normalizedMethodRecords:a9}=Ee(),{channels:ei}=ua(),{headerNameLowerCasedRecord:yv}=Ad(),c9=/[^\u0021-\u00ff]/,on=Symbol("handler"),PC=class{static{o(this,"Request")}constructor(e,{path:r,method:n,body:i,headers:s,query:a,idempotent:c,blocking:l,upgrade:A,headersTimeout:u,bodyTimeout:d,reset:f,throwOnError:g,expectContinue:C,servername:Q},S){if(typeof r!="string")throw new lt("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new lt("path must be an absolute URL or start with a slash");if(c9.test(r))throw new lt("invalid request path");if(typeof n!="string")throw new lt("method must be a string");if(a9[n]===void 0&&!Cv(n))throw new lt("invalid request method");if(A&&typeof A!="string")throw new lt("upgrade must be a string");if(u!=null&&(!Number.isFinite(u)||u<0))throw new lt("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new lt("invalid bodyTimeout");if(f!=null&&typeof f!="boolean")throw new lt("invalid reset");if(C!=null&&typeof C!="boolean")throw new lt("invalid expectContinue");if(this.headersTimeout=u,this.bodyTimeout=d,this.throwOnError=g===!0,this.method=n,this.abort=null,i==null)this.body=null;else if(X5(i)){this.body=i;let w=this.body._readableState;(!w||!w.autoDestroy)&&(this.endHandler=o(function(){Z5(this)},"autoDestroy"),this.body.on("end",this.endHandler)),this.errorHandler=R=>{this.abort?this.abort(R):this.error=R},this.body.on("error",this.errorHandler)}else if(e9(i))this.body=i.byteLength?i:null;else if(ArrayBuffer.isView(i))this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null;else if(i instanceof ArrayBuffer)this.body=i.byteLength?Buffer.from(i):null;else if(typeof i=="string")this.body=i.length?Buffer.from(i):null;else if(t9(i)||r9(i)||n9(i))this.body=i;else throw new lt("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?i9(r,a):r,this.origin=e,this.idempotent=c??(n==="HEAD"||n==="GET"),this.blocking=l??!1,this.reset=f??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=C??!1,Array.isArray(s)){if(s.length%2!==0)throw new lt("headers array must be even");for(let w=0;w<s.length;w+=2)gd(this,s[w],s[w+1])}else if(s&&typeof s=="object")if(s[Symbol.iterator])for(let w of s){if(!Array.isArray(w)||w.length!==2)throw new lt("headers must be in key-value pair format");gd(this,w[0],w[1])}else{let w=Object.keys(s);for(let R=0;R<w.length;++R)gd(this,w[R],s[w[R]])}else if(s!=null)throw new lt("headers must be an object or an array");s9(S,n,A),this.servername=Q||o9(this.host),this[on]=S,ei.create.hasSubscribers&&ei.create.publish({request:this})}onBodySent(e){if(this[on].onBodySent)try{return this[on].onBodySent(e)}catch(r){this.abort(r)}}onRequestSent(){if(ei.bodySent.hasSubscribers&&ei.bodySent.publish({request:this}),this[on].onRequestSent)try{return this[on].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(Mi(!this.aborted),Mi(!this.completed),this.error)e(this.error);else return this.abort=e,this[on].onConnect(e)}onResponseStarted(){return this[on].onResponseStarted?.()}onHeaders(e,r,n,i){Mi(!this.aborted),Mi(!this.completed),ei.headers.hasSubscribers&&ei.headers.publish({request:this,response:{statusCode:e,headers:r,statusText:i}});try{return this[on].onHeaders(e,r,n,i)}catch(s){this.abort(s)}}onData(e){Mi(!this.aborted),Mi(!this.completed);try{return this[on].onData(e)}catch(r){return this.abort(r),!1}}onUpgrade(e,r,n){return Mi(!this.aborted),Mi(!this.completed),this[on].onUpgrade(e,r,n)}onComplete(e){this.onFinally(),Mi(!this.aborted),this.completed=!0,ei.trailers.hasSubscribers&&ei.trailers.publish({request:this,trailers:e});try{return this[on].onComplete(e)}catch(r){this.onError(r)}}onError(e){if(this.onFinally(),ei.error.hasSubscribers&&ei.error.publish({request:this,error:e}),!this.aborted)return this.aborted=!0,this[on].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 gd(this,e,r),this}};function gd(t,e,r){if(r&&typeof r=="object"&&!Array.isArray(r))throw new lt(`invalid ${e} header`);if(r===void 0)return;let n=yv[e];if(n===void 0&&(n=e.toLowerCase(),yv[n]===void 0&&!Cv(n)))throw new lt("invalid header key");if(Array.isArray(r)){let i=[];for(let s=0;s<r.length;s++)if(typeof r[s]=="string"){if(!gv(r[s]))throw new lt(`invalid ${e} header`);i.push(r[s])}else if(r[s]===null)i.push("");else{if(typeof r[s]=="object")throw new lt(`invalid ${e} header`);i.push(`${r[s]}`)}r=i}else if(typeof r=="string"){if(!gv(r))throw new lt(`invalid ${e} header`)}else r===null?r="":r=`${r}`;if(t.host===null&&n==="host"){if(typeof r!="string")throw new lt("invalid host header");t.host=r}else if(t.contentLength===null&&n==="content-length"){if(t.contentLength=parseInt(r,10),!Number.isFinite(t.contentLength))throw new lt("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 lt(`invalid ${n} header`);if(n==="connection"){let i=typeof r=="string"?r.toLowerCase():null;if(i!=="close"&&i!=="keep-alive")throw new lt("invalid connection header");i==="close"&&(t.reset=!0)}else{if(n==="expect")throw new $5("expect header not supported");t.headers.push(e,r)}}}o(gd,"processHeader");Ev.exports=PC});var kl=m((Vqe,Iv)=>{"use strict";var l9=require("node:events"),yd=class extends l9{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 i of r)if(i!=null){if(typeof i!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof i}`);if(n=i(n),n==null||typeof n!="function"||n.length!==2)throw new TypeError("invalid interceptor")}return new DC(this,n)}},DC=class extends yd{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)}};Iv.exports=yd});var fa=m((Kqe,bv)=>{"use strict";var A9=kl(),{ClientDestroyedError:TC,ClientClosedError:u9,InvalidArgumentError:da}=ve(),{kDestroy:d9,kClose:p9,kClosed:Ll,kDestroyed:pa,kDispatch:OC,kInterceptors:no}=tt(),ki=Symbol("onDestroyed"),ha=Symbol("onClosed"),Cd=Symbol("Intercepted Dispatch"),MC=class extends A9{static{o(this,"DispatcherBase")}constructor(){super(),this[pa]=!1,this[ki]=null,this[Ll]=!1,this[ha]=[]}get destroyed(){return this[pa]}get closed(){return this[Ll]}get interceptors(){return this[no]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[no][r]!="function")throw new da("interceptor must be an function")}this[no]=e}close(e){if(e===void 0)return new Promise((n,i)=>{this.close((s,a)=>s?i(s):n(a))});if(typeof e!="function")throw new da("invalid callback");if(this[pa]){queueMicrotask(()=>e(new TC,null));return}if(this[Ll]){this[ha]?this[ha].push(e):queueMicrotask(()=>e(null,null));return}this[Ll]=!0,this[ha].push(e);let r=o(()=>{let n=this[ha];this[ha]=null;for(let i=0;i<n.length;i++)n[i](null,null)},"onClosed");this[p9]().then(()=>this.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((i,s)=>{this.destroy(e,(a,c)=>a?s(a):i(c))});if(typeof r!="function")throw new da("invalid callback");if(this[pa]){this[ki]?this[ki].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new TC),this[pa]=!0,this[ki]=this[ki]||[],this[ki].push(r);let n=o(()=>{let i=this[ki];this[ki]=null;for(let s=0;s<i.length;s++)i[s](null,null)},"onDestroyed");this[d9](e).then(()=>{queueMicrotask(n)})}[Cd](e,r){if(!this[no]||this[no].length===0)return this[Cd]=this[OC],this[OC](e,r);let n=this[OC].bind(this);for(let i=this[no].length-1;i>=0;i--)n=this[no][i](n);return this[Cd]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new da("handler must be an object");try{if(!e||typeof e!="object")throw new da("opts must be an object.");if(this[pa]||this[ki])throw new TC;if(this[Ll])throw new u9;return this[Cd](e,r)}catch(n){if(typeof r.onError!="function")throw new da("invalid onError method");return r.onError(n),!1}}};bv.exports=MC});var zC=m((Xqe,xv)=>{"use strict";var ma=0,kC=1e3,LC=(kC>>1)-1,Li,UC=Symbol("kFastTimer"),Ui=[],FC=-2,qC=-1,wv=0,Qv=1;function HC(){ma+=LC;let t=0,e=Ui.length;for(;t<e;){let r=Ui[t];r._state===wv?(r._idleStart=ma-LC,r._state=Qv):r._state===Qv&&ma>=r._idleStart+r._idleTimeout&&(r._state=qC,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===qC?(r._state=FC,--e!==0&&(Ui[t]=Ui[e])):++t}Ui.length=e,Ui.length!==0&&Nv()}o(HC,"onTick");function Nv(){Li?Li.refresh():(clearTimeout(Li),Li=setTimeout(HC,LC),Li.unref&&Li.unref())}o(Nv,"refreshTimeout");var Ed=class{static{o(this,"FastTimer")}[UC]=!0;_state=FC;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===FC&&Ui.push(this),(!Li||Ui.length===1)&&Nv(),this._state=wv}clear(){this._state=qC,this._idleStart=-1}};xv.exports={setTimeout(t,e,r){return e<=kC?setTimeout(t,e,r):new Ed(t,e,r)},clearTimeout(t){t[UC]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new Ed(t,e,r)},clearFastTimeout(t){t.clear()},now(){return ma},tick(t=0){ma+=t-kC+1,HC(),HC()},reset(){ma=0,Ui.length=0,clearTimeout(Li),Li=null},kFastTimer:UC}});var Ul=m((rHe,Pv)=>{"use strict";var h9=require("node:net"),Sv=require("node:assert"),vv=Ee(),{InvalidArgumentError:f9,ConnectTimeoutError:m9}=ve(),Bd=zC();function Rv(){}o(Rv,"noop");var jC,GC;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?GC=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))}}:GC=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 g9({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:i,...s}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new f9("maxCachedSessions must be a positive integer or zero");let a={path:r,...s},c=new GC(e??100);return n=n??1e4,t=t??!1,o(function({hostname:A,host:u,protocol:d,port:f,servername:g,localAddress:C,httpSocket:Q},S){let w;if(d==="https:"){jC||(jC=require("node:tls")),g=g||a.servername||vv.getServerName(u)||null;let T=g||A;Sv(T);let L=i||c.get(T)||null;f=f||443,w=jC.connect({highWaterMark:16384,...a,servername:g,session:L,localAddress:C,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:Q,port:f,host:A}),w.on("session",function(W){c.set(T,W)})}else Sv(!Q,"httpSocket can only be sent on TLS update"),f=f||80,w=h9.connect({highWaterMark:64*1024,...a,localAddress:C,port:f,host:A});if(a.keepAlive==null||a.keepAlive){let T=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;w.setKeepAlive(!0,T)}let R=y9(new WeakRef(w),{timeout:n,hostname:A,port:f});return w.setNoDelay(!0).once(d==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(R),S){let T=S;S=null,T(null,this)}}).on("error",function(T){if(queueMicrotask(R),S){let L=S;S=null,L(T)}}),w},"connect")}o(g9,"buildConnector");var y9=process.platform==="win32"?(t,e)=>{if(!e.timeout)return Rv;let r=null,n=null,i=Bd.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>_v(t.deref(),e))})},e.timeout);return()=>{Bd.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return Rv;let r=null,n=Bd.setFastTimeout(()=>{r=setImmediate(()=>{_v(t.deref(),e)})},e.timeout);return()=>{Bd.clearFastTimeout(n),clearImmediate(r)}};function _v(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)`,vv.destroy(t,new m9(r))}o(_v,"onConnectTimeout");Pv.exports=g9});var Dv=m(Id=>{"use strict";Object.defineProperty(Id,"__esModule",{value:!0});Id.enumToMap=void 0;function C9(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}o(C9,"enumToMap");Id.enumToMap=C9});var Tv=m(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});j.SPECIAL_HEADERS=j.HEADER_STATE=j.MINOR=j.MAJOR=j.CONNECTION_TOKEN_CHARS=j.HEADER_CHARS=j.TOKEN=j.STRICT_TOKEN=j.HEX=j.URL_CHAR=j.STRICT_URL_CHAR=j.USERINFO_CHARS=j.MARK=j.ALPHANUM=j.NUM=j.HEX_MAP=j.NUM_MAP=j.ALPHA=j.FINISH=j.H_METHOD_MAP=j.METHOD_MAP=j.METHODS_RTSP=j.METHODS_ICE=j.METHODS_HTTP=j.METHODS=j.LENIENT_FLAGS=j.FLAGS=j.TYPE=j.ERROR=void 0;var E9=Dv(),B9;(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"})(B9=j.ERROR||(j.ERROR={}));var I9;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(I9=j.TYPE||(j.TYPE={}));var b9;(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"})(b9=j.FLAGS||(j.FLAGS={}));var Q9;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(Q9=j.LENIENT_FLAGS||(j.LENIENT_FLAGS={}));var ne;(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"})(ne=j.METHODS||(j.METHODS={}));j.METHODS_HTTP=[ne.DELETE,ne.GET,ne.HEAD,ne.POST,ne.PUT,ne.CONNECT,ne.OPTIONS,ne.TRACE,ne.COPY,ne.LOCK,ne.MKCOL,ne.MOVE,ne.PROPFIND,ne.PROPPATCH,ne.SEARCH,ne.UNLOCK,ne.BIND,ne.REBIND,ne.UNBIND,ne.ACL,ne.REPORT,ne.MKACTIVITY,ne.CHECKOUT,ne.MERGE,ne["M-SEARCH"],ne.NOTIFY,ne.SUBSCRIBE,ne.UNSUBSCRIBE,ne.PATCH,ne.PURGE,ne.MKCALENDAR,ne.LINK,ne.UNLINK,ne.PRI,ne.SOURCE];j.METHODS_ICE=[ne.SOURCE];j.METHODS_RTSP=[ne.OPTIONS,ne.DESCRIBE,ne.ANNOUNCE,ne.SETUP,ne.PLAY,ne.PAUSE,ne.TEARDOWN,ne.GET_PARAMETER,ne.SET_PARAMETER,ne.REDIRECT,ne.RECORD,ne.FLUSH,ne.GET,ne.POST];j.METHOD_MAP=E9.enumToMap(ne);j.H_METHOD_MAP={};Object.keys(j.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(j.H_METHOD_MAP[t]=j.METHOD_MAP[t])});var w9;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(w9=j.FINISH||(j.FINISH={}));j.ALPHA=[];for(let t=65;t<=90;t++)j.ALPHA.push(String.fromCharCode(t)),j.ALPHA.push(String.fromCharCode(t+32));j.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};j.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};j.NUM=["0","1","2","3","4","5","6","7","8","9"];j.ALPHANUM=j.ALPHA.concat(j.NUM);j.MARK=["-","_",".","!","~","*","'","(",")"];j.USERINFO_CHARS=j.ALPHANUM.concat(j.MARK).concat(["%",";",":","&","=","+","$",","]);j.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(j.ALPHANUM);j.URL_CHAR=j.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)j.URL_CHAR.push(t);j.HEX=j.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);j.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(j.ALPHANUM);j.TOKEN=j.STRICT_TOKEN.concat([" "]);j.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&j.HEADER_CHARS.push(t);j.CONNECTION_TOKEN_CHARS=j.HEADER_CHARS.filter(t=>t!==44);j.MAJOR=j.NUM_MAP;j.MINOR=j.MAJOR;var ga;(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"})(ga=j.HEADER_STATE||(j.HEADER_STATE={}));j.SPECIAL_HEADERS={connection:ga.CONNECTION,"content-length":ga.CONTENT_LENGTH,"proxy-connection":ga.CONNECTION,"transfer-encoding":ga.TRANSFER_ENCODING,upgrade:ga.UPGRADE}});var YC=m((aHe,Ov)=>{"use strict";var{Buffer:N9}=require("node:buffer");Ov.exports=N9.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGC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EEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEg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gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQ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BAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var Fl=m((lHe,Gv)=>{"use strict";var Lv=["GET","HEAD","POST"],S9=new Set(Lv),R9=[101,204,205,304],Uv=[301,302,303,307,308],_9=new Set(Uv),Fv=["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"],v9=new Set(Fv),qv=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],P9=new Set(qv),D9=["follow","manual","error"],Hv=["GET","HEAD","OPTIONS","TRACE"],T9=new Set(Hv),O9=["navigate","same-origin","no-cors","cors"],M9=["omit","same-origin","include"],k9=["default","no-store","reload","no-cache","force-cache","only-if-cached"],L9=["content-encoding","content-language","content-location","content-type","content-length"],U9=["half"],zv=["CONNECT","TRACE","TRACK"],F9=new Set(zv),jv=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],q9=new Set(jv);Gv.exports={subresource:jv,forbiddenMethods:zv,requestBodyHeader:L9,referrerPolicy:qv,requestRedirect:D9,requestMode:O9,requestCredentials:M9,requestCache:k9,redirectStatus:Uv,corsSafeListedMethods:Lv,nullBodyStatus:R9,safeMethods:Hv,badPorts:Fv,requestDuplex:U9,subresourceSet:q9,badPortsSet:v9,redirectStatusSet:_9,corsSafeListedMethodsSet:S9,safeMethodsSet:T9,forbiddenMethodsSet:F9,referrerPolicySet:P9}});var VC=m((AHe,Yv)=>{"use strict";var JC=Symbol.for("undici.globalOrigin.1");function H9(){return globalThis[JC]}o(H9,"getGlobalOrigin");function z9(t){if(t===void 0){Object.defineProperty(globalThis,JC,{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,JC,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(z9,"setGlobalOrigin");Yv.exports={getGlobalOrigin:H9,setGlobalOrigin:z9}});var gr=m((dHe,Zv)=>{"use strict";var Qd=require("node:assert"),j9=new TextEncoder,ql=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,G9=/[\u000A\u000D\u0009\u0020]/,Y9=/[\u0009\u000A\u000C\u000D\u0020]/g,J9=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function V9(t){Qd(t.protocol==="data:");let e=Wv(t,!0);e=e.slice(5);let r={position:0},n=ya(",",e,r),i=n.length;if(n=eX(n,!0,!0),r.position>=e.length)return"failure";r.position++;let s=e.slice(i+1),a=Kv(s);if(/;(\u0020){0,}base64$/i.test(n)){let l=Xv(a);if(a=K9(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=WC(n);return c==="failure"&&(c=WC("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(V9,"dataURLProcessor");function Wv(t,e=!1){if(!e)return t.href;let r=t.href,n=t.hash.length,i=n===0?r:r.substring(0,r.length-n);return!n&&r.endsWith("#")?i.slice(0,-1):i}o(Wv,"URLSerializer");function wd(t,e,r){let n="";for(;r.position<e.length&&t(e[r.position]);)n+=e[r.position],r.position++;return n}o(wd,"collectASequenceOfCodePoints");function ya(t,e,r){let n=e.indexOf(t,r.position),i=r.position;return n===-1?(r.position=e.length,e.slice(i)):(r.position=n,e.slice(i,r.position))}o(ya,"collectASequenceOfCodePointsFast");function Kv(t){let e=j9.encode(t);return W9(e)}o(Kv,"stringPercentDecode");function Jv(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(Jv,"isHexCharByte");function Vv(t){return t>=48&&t<=57?t-48:(t&223)-55}o(Vv,"hexByteToNumber");function W9(t){let e=t.length,r=new Uint8Array(e),n=0;for(let i=0;i<e;++i){let s=t[i];s!==37?r[n++]=s:s===37&&!(Jv(t[i+1])&&Jv(t[i+2]))?r[n++]=37:(r[n++]=Vv(t[i+1])<<4|Vv(t[i+2]),i+=2)}return e===n?r:r.subarray(0,n)}o(W9,"percentDecode");function WC(t){t=bd(t,!0,!0);let e={position:0},r=ya("/",t,e);if(r.length===0||!ql.test(r)||e.position>t.length)return"failure";e.position++;let n=ya(";",t,e);if(n=bd(n,!1,!0),n.length===0||!ql.test(n))return"failure";let i=r.toLowerCase(),s=n.toLowerCase(),a={type:i,subtype:s,parameters:new Map,essence:`${i}/${s}`};for(;e.position<t.length;){e.position++,wd(A=>G9.test(A),t,e);let c=wd(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=$v(t,e,!0),ya(";",t,e);else if(l=ya(";",t,e),l=bd(l,!1,!0),l.length===0)continue;c.length!==0&&ql.test(c)&&(l.length===0||J9.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(WC,"parseMIMEType");function K9(t){t=t.replace(Y9,"");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(K9,"forgivingBase64");function $v(t,e,r){let n=e.position,i="";for(Qd(t[e.position]==='"'),e.position++;i+=wd(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let s=t[e.position];if(e.position++,s==="\\"){if(e.position>=t.length){i+="\\";break}i+=t[e.position],e.position++}else{Qd(s==='"');break}}return r?i:t.slice(n,e.position)}o($v,"collectAnHTTPQuotedString");function $9(t){Qd(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[i,s]of e.entries())n+=";",n+=i,n+="=",ql.test(s)||(s=s.replace(/(\\|")/g,"\\$1"),s='"'+s,s+='"'),n+=s;return n}o($9,"serializeAMimeType");function X9(t){return t===13||t===10||t===9||t===32}o(X9,"isHTTPWhiteSpace");function bd(t,e=!0,r=!0){return KC(t,e,r,X9)}o(bd,"removeHTTPWhitespace");function Z9(t){return t===13||t===10||t===9||t===12||t===32}o(Z9,"isASCIIWhitespace");function eX(t,e=!0,r=!0){return KC(t,e,r,Z9)}o(eX,"removeASCIIWhitespace");function KC(t,e,r,n){let i=0,s=t.length-1;if(e)for(;i<t.length&&n(t.charCodeAt(i));)i++;if(r)for(;s>0&&n(t.charCodeAt(s));)s--;return i===0&&s===t.length-1?t:t.slice(i,s+1)}o(KC,"removeChars");function Xv(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",n=0,i=65535;for(;n<e;)n+i>e&&(i=e-n),r+=String.fromCharCode.apply(null,t.subarray(n,n+=i));return r}o(Xv,"isomorphicDecode");function tX(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(tX,"minimizeSupportedMimeType");Zv.exports={dataURLProcessor:V9,URLSerializer:Wv,collectASequenceOfCodePoints:wd,collectASequenceOfCodePointsFast:ya,stringPercentDecode:Kv,parseMIMEType:WC,collectAnHTTPQuotedString:$v,serializeAMimeType:$9,removeChars:KC,removeHTTPWhitespace:bd,minimizeSupportedMimeType:tX,HTTP_TOKEN_CODEPOINTS:ql,isomorphicDecode:Xv}});var Yt=m((hHe,eP)=>{"use strict";var{types:ti,inspect:rX}=require("node:util"),{markAsUncloneable:nX}=require("node:worker_threads"),{toUSVString:iX}=Ee(),z={};z.converters={};z.util={};z.errors={};z.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};z.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 z.errors.exception({header:t.prefix,message:r})};z.errors.invalidArgument=function(t){return z.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};z.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}};z.argumentLengthCheck=function({length:t},e,r){if(t<e)throw z.errors.exception({message:`${e} argument${e!==1?"s":""} required, but${t?" only":""} ${t} found.`,header:r})};z.illegalConstructor=function(){throw z.errors.exception({header:"TypeError",message:"Illegal constructor"})};z.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"}};z.util.markAsUncloneable=nX||(()=>{});z.util.ConvertToInt=function(t,e,r,n){let i,s;e===64?(i=Math.pow(2,53)-1,r==="unsigned"?s=0:s=Math.pow(-2,53)+1):r==="unsigned"?(s=0,i=Math.pow(2,e)-1):(s=Math.pow(-2,e)-1,i=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 z.errors.exception({header:"Integer conversion",message:`Could not convert ${z.util.Stringify(t)} to an integer.`});if(a=z.util.IntegerPart(a),a<s||a>i)throw z.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${i}, got ${a}.`});return a}return!Number.isNaN(a)&&n?.clamp===!0?(a=Math.min(Math.max(a,s),i),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=z.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};z.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};z.util.Stringify=function(t){switch(z.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return rX(t);case"String":return`"${t}"`;default:return`${t}`}};z.sequenceConverter=function(t){return(e,r,n,i)=>{if(z.util.Type(e)!=="Object")throw z.errors.exception({header:r,message:`${n} (${z.util.Stringify(e)}) is not iterable.`});let s=typeof i=="function"?i():e?.[Symbol.iterator]?.(),a=[],c=0;if(s===void 0||typeof s.next!="function")throw z.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:l,value:A}=s.next();if(l)break;a.push(t(A,r,`${n}[${c++}]`))}return a}};z.recordConverter=function(t,e){return(r,n,i)=>{if(z.util.Type(r)!=="Object")throw z.errors.exception({header:n,message:`${i} ("${z.util.Type(r)}") is not an Object.`});let s={};if(!ti.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let l of c){let A=t(l,n,i),u=e(r[l],n,i);s[A]=u}return s}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let A=t(c,n,i),u=e(r[c],n,i);s[A]=u}return s}};z.interfaceConverter=function(t){return(e,r,n,i)=>{if(i?.strict!==!1&&!(e instanceof t))throw z.errors.exception({header:r,message:`Expected ${n} ("${z.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};z.dictionaryConverter=function(t){return(e,r,n)=>{let i=z.util.Type(e),s={};if(i==="Null"||i==="Undefined")return s;if(i!=="Object")throw z.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 z.errors.exception({header:r,message:`Missing required key "${c}".`});let d=e[c],f=Object.hasOwn(a,"defaultValue");if(f&&d!==null&&(d??=l()),A||f||d!==void 0){if(d=u(d,r,`${n}.${c}`),a.allowedValues&&!a.allowedValues.includes(d))throw z.errors.exception({header:r,message:`${d} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});s[c]=d}}return s}};z.nullableConverter=function(t){return(e,r,n)=>e===null?e:t(e,r,n)};z.converters.DOMString=function(t,e,r,n){if(t===null&&n?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw z.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};z.converters.ByteString=function(t,e,r){let n=z.converters.DOMString(t,e,r);for(let i=0;i<n.length;i++)if(n.charCodeAt(i)>255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${i} has a value of ${n.charCodeAt(i)} which is greater than 255.`);return n};z.converters.USVString=iX;z.converters.boolean=function(t){return!!t};z.converters.any=function(t){return t};z.converters["long long"]=function(t,e,r){return z.util.ConvertToInt(t,64,"signed",void 0,e,r)};z.converters["unsigned long long"]=function(t,e,r){return z.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};z.converters["unsigned long"]=function(t,e,r){return z.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};z.converters["unsigned short"]=function(t,e,r,n){return z.util.ConvertToInt(t,16,"unsigned",n,e,r)};z.converters.ArrayBuffer=function(t,e,r,n){if(z.util.Type(t)!=="Object"||!ti.isAnyArrayBuffer(t))throw z.errors.conversionFailed({prefix:e,argument:`${r} ("${z.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&ti.isSharedArrayBuffer(t))throw z.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw z.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};z.converters.TypedArray=function(t,e,r,n,i){if(z.util.Type(t)!=="Object"||!ti.isTypedArray(t)||t.constructor.name!==e.name)throw z.errors.conversionFailed({prefix:r,argument:`${n} ("${z.util.Stringify(t)}")`,types:[e.name]});if(i?.allowShared===!1&&ti.isSharedArrayBuffer(t.buffer))throw z.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw z.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};z.converters.DataView=function(t,e,r,n){if(z.util.Type(t)!=="Object"||!ti.isDataView(t))throw z.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&ti.isSharedArrayBuffer(t.buffer))throw z.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw z.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};z.converters.BufferSource=function(t,e,r,n){if(ti.isAnyArrayBuffer(t))return z.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(ti.isTypedArray(t))return z.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(ti.isDataView(t))return z.converters.DataView(t,e,r,{...n,allowShared:!1});throw z.errors.conversionFailed({prefix:e,argument:`${r} ("${z.util.Stringify(t)}")`,types:["BufferSource"]})};z.converters["sequence<ByteString>"]=z.sequenceConverter(z.converters.ByteString);z.converters["sequence<sequence<ByteString>>"]=z.sequenceConverter(z.converters["sequence<ByteString>"]);z.converters["record<ByteString, ByteString>"]=z.recordConverter(z.converters.ByteString,z.converters.ByteString);eP.exports={webidl:z}});var Or=m((fHe,hP)=>{"use strict";var{Transform:sX}=require("node:stream"),tP=require("node:zlib"),{redirectStatusSet:oX,referrerPolicySet:aX,badPortsSet:cX}=Fl(),{getGlobalOrigin:rP}=VC(),{collectASequenceOfCodePoints:io,collectAnHTTPQuotedString:lX,removeChars:AX,parseMIMEType:uX}=gr(),{performance:dX}=require("node:perf_hooks"),{isBlobLike:pX,ReadableStreamFrom:hX,isValidHTTPToken:nP,normalizedMethodRecordsBase:fX}=Ee(),so=require("node:assert"),{isUint8Array:mX}=require("node:util/types"),{webidl:Hl}=Yt(),iP=[],xd;try{xd=require("node:crypto");let t=["sha256","sha384","sha512"];iP=xd.getHashes().filter(e=>t.includes(e))}catch{}function sP(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(sP,"responseURL");function gX(t,e){if(!oX.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&aP(r)&&(oP(r)||(r=yX(r)),r=new URL(r,sP(t))),r&&!r.hash&&(r.hash=e),r}o(gX,"responseLocationURL");function oP(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r>126||r<32)return!1}return!0}o(oP,"isValidEncodedURL");function yX(t){return Buffer.from(t,"binary").toString("utf8")}o(yX,"normalizeBinaryStringToUtf8");function jl(t){return t.urlList[t.urlList.length-1]}o(jl,"requestCurrentURL");function CX(t){let e=jl(t);return dP(e)&&cX.has(e.port)?"blocked":"allowed"}o(CX,"requestBadPort");function EX(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(EX,"isErrorLike");function BX(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(BX,"isValidReasonPhrase");var IX=nP;function aP(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(`
|
|
`)||t.includes("\r")||t.includes("\0"))===!1}o(aP,"isValidHeaderValue");function bX(t,e){let{headersList:r}=e,n=(r.get("referrer-policy",!0)??"").split(","),i="";if(n.length>0)for(let s=n.length;s!==0;s--){let a=n[s-1].trim();if(aX.has(a)){i=a;break}}i!==""&&(t.referrerPolicy=i)}o(bX,"setRequestReferrerPolicyOnRedirect");function QX(){return"allowed"}o(QX,"crossOriginResourcePolicyCheck");function wX(){return"success"}o(wX,"corsCheck");function NX(){return"success"}o(NX,"TAOCheck");function xX(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(xX,"appendFetchMetadata");function SX(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&&XC(t.origin)&&!XC(jl(t))&&(e=null);break;case"same-origin":Sd(t,jl(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(SX,"appendRequestOriginHeader");function Ca(t,e){return t}o(Ca,"coarsenTime");function RX(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:Ca(t.domainLookupStartTime,r),domainLookupEndTime:Ca(t.domainLookupEndTime,r),connectionStartTime:Ca(t.connectionStartTime,r),connectionEndTime:Ca(t.connectionEndTime,r),secureConnectionStartTime:Ca(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}o(RX,"clampAndCoarsenConnectionTimingInfo");function _X(t){return Ca(dX.now(),t)}o(_X,"coarsenedSharedCurrentTime");function vX(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(vX,"createOpaqueTimingInfo");function cP(){return{referrerPolicy:"strict-origin-when-cross-origin"}}o(cP,"makePolicyContainer");function PX(t){return{referrerPolicy:t.referrerPolicy}}o(PX,"clonePolicyContainer");function DX(t){let e=t.referrerPolicy;so(e);let r=null;if(t.referrer==="client"){let c=rP();if(!c||c.origin==="null")return"no-referrer";r=new URL(c)}else t.referrer instanceof URL&&(r=t.referrer);let n=$C(r),i=$C(r,!0);n.toString().length>4096&&(n=i);let s=Sd(t,n),a=zl(n)&&!zl(t.url);switch(e){case"origin":return i??$C(r,!0);case"unsafe-url":return n;case"same-origin":return s?i:"no-referrer";case"origin-when-cross-origin":return s?n:i;case"strict-origin-when-cross-origin":{let c=jl(t);return Sd(n,c)?n:zl(n)&&!zl(c)?"no-referrer":i}case"strict-origin":case"no-referrer-when-downgrade":default:return a?"no-referrer":i}}o(DX,"determineRequestsReferrer");function $C(t,e){return so(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($C,"stripURLForReferrer");function zl(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(zl,"isURLPotentiallyTrustworthy");function TX(t,e){if(xd===void 0)return!0;let r=lP(e);if(r==="no metadata"||r.length===0)return!0;let n=MX(r),i=kX(r,n);for(let s of i){let a=s.algo,c=s.hash,l=xd.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)),LX(l,c))return!0}return!1}o(TX,"bytesMatch");var OX=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function lP(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let i=OX.exec(n);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let s=i.groups.algo.toLowerCase();iP.includes(s)&&e.push(i.groups)}return r===!0?"no metadata":e}o(lP,"parseMetadata");function MX(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(MX,"getStrongestMetadata");function kX(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(kX,"filterMetadataListByAlgorithm");function LX(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(LX,"compareBase64Mixed");function UX(t){}o(UX,"tryUpgradeRequestToAPotentiallyTrustworthyURL");function Sd(t,e){return t.origin===e.origin&&t.origin==="null"||t.protocol===e.protocol&&t.hostname===e.hostname&&t.port===e.port}o(Sd,"sameOrigin");function FX(){let t,e;return{promise:new Promise((n,i)=>{t=n,e=i}),resolve:t,reject:e}}o(FX,"createDeferredPromise");function qX(t){return t.controller.state==="aborted"}o(qX,"isAborted");function HX(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(HX,"isCancelled");function zX(t){return fX[t.toLowerCase()]??t}o(zX,"normalizeMethod");function jX(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return so(typeof e=="string"),e}o(jX,"serializeJavascriptValueToJSONString");var GX=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function AP(t,e,r=0,n=1){class i{static{o(this,"FastIterableIterator")}#e;#t;#i;constructor(a,c){this.#e=a,this.#t=c,this.#i=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.#i,c=this.#e[e],l=c.length;if(a>=l)return{value:void 0,done:!0};let{[r]:A,[n]:u}=c[a];this.#i=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 i.prototype.constructor,Object.setPrototypeOf(i.prototype,GX),Object.defineProperties(i.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(s,a){return new i(s,a)}}o(AP,"createIterator");function YX(t,e,r,n=0,i=1){let s=AP(t,r,n,i),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return Hl.brandCheck(this,e),s(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return Hl.brandCheck(this,e),s(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return Hl.brandCheck(this,e),s(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,A=globalThis){if(Hl.brandCheck(this,e),Hl.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 s(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(YX,"iteratorMixin");async function JX(t,e,r){let n=e,i=r,s;try{s=t.stream.getReader()}catch(a){i(a);return}try{n(await uP(s))}catch(a){i(a)}}o(JX,"fullyReadBody");function VX(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(VX,"isReadableStreamLike");function WX(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(WX,"readableStreamClose");var KX=/[^\x00-\xFF]/;function Nd(t){return so(!KX.test(t)),t}o(Nd,"isomorphicEncode");async function uP(t){let e=[],r=0;for(;;){let{done:n,value:i}=await t.read();if(n)return Buffer.concat(e,r);if(!mX(i))throw new TypeError("Received non-Uint8Array chunk");e.push(i),r+=i.length}}o(uP,"readAllBytes");function $X(t){so("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o($X,"urlIsLocal");function XC(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(XC,"urlHasHttpsScheme");function dP(t){so("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(dP,"urlIsHttpHttpsScheme");function XX(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&io(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&io(l=>l===" "||l===" ",r,n);let i=io(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),s=i.length?Number(i):null;if(e&&io(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&io(l=>l===" "||l===" ",r,n);let a=io(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&&s===null||s>c?"failure":{rangeStartValue:s,rangeEndValue:c}}o(XX,"simpleRangeHeaderValue");function ZX(t,e,r){let n="bytes ";return n+=Nd(`${t}`),n+="-",n+=Nd(`${e}`),n+="/",n+=Nd(`${r}`),n}o(ZX,"buildContentRange");var ZC=class extends sX{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?tP.createInflate(this.#e):tP.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",i=>this.destroy(i))}this._inflateStream.write(e,r,n)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function e6(t){return new ZC(t)}o(e6,"createInflate");function t6(t){let e=null,r=null,n=null,i=pP("content-type",t);if(i===null)return"failure";for(let s of i){let a=uX(s);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(t6,"extractMimeType");function r6(t){let e=t,r={position:0},n=[],i="";for(;r.position<e.length;){if(i+=io(s=>s!=='"'&&s!==",",e,r),r.position<e.length)if(e.charCodeAt(r.position)===34){if(i+=lX(e,r),r.position<e.length)continue}else so(e.charCodeAt(r.position)===44),r.position++;i=AX(i,!0,!0,s=>s===9||s===32),n.push(i),i=""}return n}o(r6,"gettingDecodingSplitting");function pP(t,e){let r=e.get(t,!0);return r===null?null:r6(r)}o(pP,"getDecodeSplit");var n6=new TextDecoder;function i6(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),n6.decode(t))}o(i6,"utf8DecodeBytes");var eE=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return rP()}get origin(){return this.baseUrl?.origin}policyContainer=cP()},tE=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new eE},s6=new tE;hP.exports={isAborted:qX,isCancelled:HX,isValidEncodedURL:oP,createDeferredPromise:FX,ReadableStreamFrom:hX,tryUpgradeRequestToAPotentiallyTrustworthyURL:UX,clampAndCoarsenConnectionTimingInfo:RX,coarsenedSharedCurrentTime:_X,determineRequestsReferrer:DX,makePolicyContainer:cP,clonePolicyContainer:PX,appendFetchMetadata:xX,appendRequestOriginHeader:SX,TAOCheck:NX,corsCheck:wX,crossOriginResourcePolicyCheck:QX,createOpaqueTimingInfo:vX,setRequestReferrerPolicyOnRedirect:bX,isValidHTTPToken:nP,requestBadPort:CX,requestCurrentURL:jl,responseURL:sP,responseLocationURL:gX,isBlobLike:pX,isURLPotentiallyTrustworthy:zl,isValidReasonPhrase:BX,sameOrigin:Sd,normalizeMethod:zX,serializeJavascriptValueToJSONString:jX,iteratorMixin:YX,createIterator:AP,isValidHeaderName:IX,isValidHeaderValue:aP,isErrorLike:EX,fullyReadBody:JX,bytesMatch:TX,isReadableStreamLike:VX,readableStreamClose:WX,isomorphicEncode:Nd,urlIsLocal:$X,urlHasHttpsScheme:XC,urlIsHttpHttpsScheme:dP,readAllBytes:uP,simpleRangeHeaderValue:XX,buildContentRange:ZX,parseMetadata:lP,createInflate:e6,extractMimeType:t6,getDecodeSplit:pP,utf8DecodeBytes:i6,environmentSettingsObject:s6}});var ls=m((gHe,fP)=>{"use strict";fP.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var nE=m((yHe,mP)=>{"use strict";var{Blob:o6,File:a6}=require("node:buffer"),{kState:Fi}=ls(),{webidl:ri}=Yt(),rE=class t{static{o(this,"FileLike")}constructor(e,r,n={}){let i=r,s=n.type,a=n.lastModified??Date.now();this[Fi]={blobLike:e,name:i,type:s,lastModified:a}}stream(...e){return ri.brandCheck(this,t),this[Fi].blobLike.stream(...e)}arrayBuffer(...e){return ri.brandCheck(this,t),this[Fi].blobLike.arrayBuffer(...e)}slice(...e){return ri.brandCheck(this,t),this[Fi].blobLike.slice(...e)}text(...e){return ri.brandCheck(this,t),this[Fi].blobLike.text(...e)}get size(){return ri.brandCheck(this,t),this[Fi].blobLike.size}get type(){return ri.brandCheck(this,t),this[Fi].blobLike.type}get name(){return ri.brandCheck(this,t),this[Fi].name}get lastModified(){return ri.brandCheck(this,t),this[Fi].lastModified}get[Symbol.toStringTag](){return"File"}};ri.converters.Blob=ri.interfaceConverter(o6);function c6(t){return t instanceof a6||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(c6,"isFileLike");mP.exports={FileLike:rE,isFileLike:c6}});var Yl=m((EHe,BP)=>{"use strict";var{isBlobLike:Rd,iteratorMixin:l6}=Or(),{kState:lr}=ls(),{kEnumerableProperty:Ea}=Ee(),{FileLike:gP,isFileLike:A6}=nE(),{webidl:Je}=Yt(),{File:EP}=require("node:buffer"),yP=require("node:util"),CP=globalThis.File??EP,Gl=class t{static{o(this,"FormData")}constructor(e){if(Je.util.markAsUncloneable(this),e!==void 0)throw Je.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[lr]=[]}append(e,r,n=void 0){Je.brandCheck(this,t);let i="FormData.append";if(Je.argumentLengthCheck(arguments,2,i),arguments.length===3&&!Rd(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Je.converters.USVString(e,i,"name"),r=Rd(r)?Je.converters.Blob(r,i,"value",{strict:!1}):Je.converters.USVString(r,i,"value"),n=arguments.length===3?Je.converters.USVString(n,i,"filename"):void 0;let s=iE(e,r,n);this[lr].push(s)}delete(e){Je.brandCheck(this,t);let r="FormData.delete";Je.argumentLengthCheck(arguments,1,r),e=Je.converters.USVString(e,r,"name"),this[lr]=this[lr].filter(n=>n.name!==e)}get(e){Je.brandCheck(this,t);let r="FormData.get";Je.argumentLengthCheck(arguments,1,r),e=Je.converters.USVString(e,r,"name");let n=this[lr].findIndex(i=>i.name===e);return n===-1?null:this[lr][n].value}getAll(e){Je.brandCheck(this,t);let r="FormData.getAll";return Je.argumentLengthCheck(arguments,1,r),e=Je.converters.USVString(e,r,"name"),this[lr].filter(n=>n.name===e).map(n=>n.value)}has(e){Je.brandCheck(this,t);let r="FormData.has";return Je.argumentLengthCheck(arguments,1,r),e=Je.converters.USVString(e,r,"name"),this[lr].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){Je.brandCheck(this,t);let i="FormData.set";if(Je.argumentLengthCheck(arguments,2,i),arguments.length===3&&!Rd(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Je.converters.USVString(e,i,"name"),r=Rd(r)?Je.converters.Blob(r,i,"name",{strict:!1}):Je.converters.USVString(r,i,"name"),n=arguments.length===3?Je.converters.USVString(n,i,"name"):void 0;let s=iE(e,r,n),a=this[lr].findIndex(c=>c.name===e);a!==-1?this[lr]=[...this[lr].slice(0,a),s,...this[lr].slice(a+1).filter(c=>c.name!==e)]:this[lr].push(s)}[yP.inspect.custom](e,r){let n=this[lr].reduce((s,a)=>(s[a.name]?Array.isArray(s[a.name])?s[a.name].push(a.value):s[a.name]=[s[a.name],a.value]:s[a.name]=a.value,s),{__proto__:null});r.depth??=e,r.colors??=!0;let i=yP.formatWithOptions(r,n);return`FormData ${i.slice(i.indexOf("]")+2)}`}};l6("FormData",Gl,lr,"name","value");Object.defineProperties(Gl.prototype,{append:Ea,delete:Ea,get:Ea,getAll:Ea,has:Ea,set:Ea,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function iE(t,e,r){if(typeof e!="string"){if(A6(e)||(e=e instanceof Blob?new CP([e],"blob",{type:e.type}):new gP(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof EP?new CP([e],r,n):new gP(e,r,n)}}return{name:t,value:e}}o(iE,"makeEntry");BP.exports={FormData:Gl,makeEntry:iE}});var xP=m((IHe,NP)=>{"use strict";var{isUSVString:IP,bufferToLowerCasedHeaderName:u6}=Ee(),{utf8DecodeBytes:d6}=Or(),{HTTP_TOKEN_CODEPOINTS:p6,isomorphicDecode:bP}=gr(),{isFileLike:h6}=nE(),{makeEntry:f6}=Yl(),_d=require("node:assert"),{File:m6}=require("node:buffer"),g6=globalThis.File??m6,y6=Buffer.from('form-data; name="'),QP=Buffer.from("; filename"),C6=Buffer.from("--"),E6=Buffer.from(`--\r
|
|
`);function B6(t){for(let e=0;e<t.length;++e)if(t.charCodeAt(e)&-128)return!1;return!0}o(B6,"isAsciiString");function I6(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(I6,"validateBoundary");function b6(t,e){_d(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"),i=[],s={position:0};for(;t[s.position]===13&&t[s.position+1]===10;)s.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(s.position,s.position+n.length).equals(n))s.position+=n.length;else return"failure";if(s.position===t.length-2&&vd(t,C6,s)||s.position===t.length-4&&vd(t,E6,s))return i;if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let c=Q6(t,s);if(c==="failure")return"failure";let{name:l,filename:A,contentType:u,encoding:d}=c;s.position+=2;let f;{let C=t.indexOf(n.subarray(2),s.position);if(C===-1)return"failure";f=t.subarray(s.position,C-4),s.position+=f.length,d==="base64"&&(f=Buffer.from(f.toString(),"base64"))}if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let g;A!==null?(u??="text/plain",B6(u)||(u=""),g=new g6([f],A,{type:u})):g=d6(Buffer.from(f)),_d(IP(l)),_d(typeof g=="string"&&IP(g)||h6(g)),i.push(f6(l,g,A))}}o(b6,"multipartFormDataParser");function Q6(t,e){let r=null,n=null,i=null,s=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:n,contentType:i,encoding:s};let a=Ba(c=>c!==10&&c!==13&&c!==58,t,e);if(a=sE(a,!0,!0,c=>c===9||c===32),!p6.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,Ba(c=>c===32||c===9,t,e),u6(a)){case"content-disposition":{if(r=n=null,!vd(t,y6,e)||(e.position+=17,r=wP(t,e),r===null))return"failure";if(vd(t,QP,e)){let c=e.position+QP.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=wP(t,e),n===null))return"failure"}break}case"content-type":{let c=Ba(l=>l!==10&&l!==13,t,e);c=sE(c,!1,!0,l=>l===9||l===32),i=bP(c);break}case"content-transfer-encoding":{let c=Ba(l=>l!==10&&l!==13,t,e);c=sE(c,!1,!0,l=>l===9||l===32),s=bP(c);break}default:Ba(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(Q6,"parseMultipartFormDataHeaders");function wP(t,e){_d(t[e.position-1]===34);let r=Ba(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(wP,"parseMultipartFormDataName");function Ba(t,e,r){let n=r.position;for(;n<e.length&&t(e[n]);)++n;return e.subarray(r.position,r.position=n)}o(Ba,"collectASequenceOfBytes");function sE(t,e,r,n){let i=0,s=t.length-1;if(e)for(;i<t.length&&n(t[i]);)i++;if(r)for(;s>0&&n(t[s]);)s--;return i===0&&s===t.length-1?t:t.subarray(i,s+1)}o(sE,"removeChars");function vd(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(vd,"bufferStartsWith");NP.exports={multipartFormDataParser:b6,validateBoundary:I6}});var Qa=m((QHe,kP)=>{"use strict";var Jl=Ee(),{ReadableStreamFrom:w6,isBlobLike:SP,isReadableStreamLike:N6,readableStreamClose:x6,createDeferredPromise:S6,fullyReadBody:R6,extractMimeType:_6,utf8DecodeBytes:vP}=Or(),{FormData:RP}=Yl(),{kState:ba}=ls(),{webidl:v6}=Yt(),{Blob:P6}=require("node:buffer"),oE=require("node:assert"),{isErrored:PP,isDisturbed:D6}=require("node:stream"),{isArrayBuffer:T6}=require("node:util/types"),{serializeAMimeType:O6}=gr(),{multipartFormDataParser:M6}=xP(),aE;try{let t=require("node:crypto");aE=o(e=>t.randomInt(0,e),"random")}catch{aE=o(t=>Math.floor(Math.random(t)),"random")}var Pd=new TextEncoder;function k6(){}o(k6,"noop");var DP=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,TP;DP&&(TP=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!D6(e)&&!PP(e)&&e.cancel("Response object has been garbage collected").catch(k6)}));function OP(t,e=!1){let r=null;t instanceof ReadableStream?r=t:SP(t)?r=t.stream():r=new ReadableStream({async pull(l){let A=typeof i=="string"?Pd.encode(i):i;A.byteLength&&l.enqueue(A),queueMicrotask(()=>x6(l))},start(){},type:"bytes"}),oE(N6(r));let n=null,i=null,s=null,a=null;if(typeof t=="string")i=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)i=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(T6(t))i=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))i=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(Jl.isFormDataLike(t)){let l=`----formdata-undici-0${`${aE(1e11)}`.padStart(11,"0")}`,A=`--${l}\r
|
|
Content-Disposition: form-data`;let u=o(S=>S.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),d=o(S=>S.replace(/\r?\n|\r/g,`\r
|
|
`),"normalizeLinefeeds"),f=[],g=new Uint8Array([13,10]);s=0;let C=!1;for(let[S,w]of t)if(typeof w=="string"){let R=Pd.encode(A+`; name="${u(d(S))}"\r
|
|
\r
|
|
${d(w)}\r
|
|
`);f.push(R),s+=R.byteLength}else{let R=Pd.encode(`${A}; name="${u(d(S))}"`+(w.name?`; filename="${u(w.name)}"`:"")+`\r
|
|
Content-Type: ${w.type||"application/octet-stream"}\r
|
|
\r
|
|
`);f.push(R,w,g),typeof w.size=="number"?s+=R.byteLength+w.size+g.byteLength:C=!0}let Q=Pd.encode(`--${l}--\r
|
|
`);f.push(Q),s+=Q.byteLength,C&&(s=null),i=t,n=o(async function*(){for(let S of f)S.stream?yield*S.stream():yield S},"action"),a=`multipart/form-data; boundary=${l}`}else if(SP(t))i=t,s=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(Jl.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:w6(t)}if((typeof i=="string"||Jl.isBuffer(i))&&(s=Buffer.byteLength(i)),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(!PP(r)){let f=new Uint8Array(u);f.byteLength&&A.enqueue(f)}return A.desiredSize>0},async cancel(A){await l.return()},type:"bytes"})}return[{stream:r,source:i,length:s},a]}o(OP,"extractBody");function L6(t,e=!1){return t instanceof ReadableStream&&(oE(!Jl.isDisturbed(t),"The body has already been consumed."),oE(!t.locked,"The stream is locked.")),OP(t,e)}o(L6,"safelyExtractBody");function U6(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(U6,"cloneBody");function F6(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(F6,"throwIfAborted");function q6(t){return{blob(){return Ia(this,r=>{let n=_P(this);return n===null?n="":n&&(n=O6(n)),new P6([r],{type:n})},t)},arrayBuffer(){return Ia(this,r=>new Uint8Array(r).buffer,t)},text(){return Ia(this,vP,t)},json(){return Ia(this,z6,t)},formData(){return Ia(this,r=>{let n=_P(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let i=M6(r,n);if(i==="failure")throw new TypeError("Failed to parse body as FormData.");let s=new RP;return s[ba]=i,s}case"application/x-www-form-urlencoded":{let i=new URLSearchParams(r.toString()),s=new RP;for(let[a,c]of i)s.append(a,c);return s}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return Ia(this,r=>new Uint8Array(r),t)}}}o(q6,"bodyMixinMethods");function H6(t){Object.assign(t.prototype,q6(t))}o(H6,"mixinBody");async function Ia(t,e,r){if(v6.brandCheck(t,r),MP(t))throw new TypeError("Body is unusable: Body has already been read");F6(t[ba]);let n=S6(),i=o(a=>n.reject(a),"errorSteps"),s=o(a=>{try{n.resolve(e(a))}catch(c){i(c)}},"successSteps");return t[ba].body==null?(s(Buffer.allocUnsafe(0)),n.promise):(await R6(t[ba].body,s,i),n.promise)}o(Ia,"consumeBody");function MP(t){let e=t[ba].body;return e!=null&&(e.stream.locked||Jl.isDisturbed(e.stream))}o(MP,"bodyUnusable");function z6(t){return JSON.parse(vP(t))}o(z6,"parseJSONFromBytes");function _P(t){let e=t[ba].headersList,r=_6(e);return r==="failure"?null:r}o(_P,"bodyMimeType");kP.exports={extractBody:OP,safelyExtractBody:L6,cloneBody:U6,mixinBody:H6,streamRegistry:TP,hasFinalizationRegistry:DP,bodyUnusable:MP}});var VP=m((NHe,JP)=>{"use strict";var oe=require("node:assert"),pe=Ee(),{channels:LP}=ua(),cE=zC(),{RequestContentLengthMismatchError:oo,ResponseContentLengthMismatchError:j6,RequestAbortedError:jP,HeadersTimeoutError:G6,HeadersOverflowError:Y6,SocketError:Ld,InformationalError:wa,BodyTimeoutError:J6,HTTPParserError:V6,ResponseExceededMaxSizeError:W6}=ve(),{kUrl:GP,kReset:yr,kClient:dE,kParser:dt,kBlocking:Kl,kRunning:Kt,kPending:K6,kSize:UP,kWriting:us,kQueue:Dn,kNoRef:Vl,kKeepAliveDefaultTimeout:$6,kHostHeader:X6,kPendingIdx:Z6,kRunningIdx:an,kError:cn,kPipelining:Md,kSocket:Na,kKeepAliveTimeoutValue:Ud,kMaxHeadersSize:lE,kKeepAliveMaxTimeout:eZ,kKeepAliveTimeoutThreshold:tZ,kHeadersTimeout:rZ,kBodyTimeout:nZ,kStrictContentLength:pE,kMaxRequests:FP,kCounter:iZ,kMaxResponseSize:sZ,kOnError:oZ,kResume:As,kHTTPContext:YP}=tt(),ni=Tv(),aZ=Buffer.alloc(0),Dd=Buffer[Symbol.species],Td=pe.addListener,cZ=pe.removeAllListeners,AE;async function lZ(){let t=process.env.JEST_WORKER_ID?YC():void 0,e;try{e=await WebAssembly.compile(kv())}catch{e=await WebAssembly.compile(t||YC())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(r,n,i)=>0,wasm_on_status:(r,n,i)=>{oe(vt.ptr===r);let s=n-si+ii.byteOffset;return vt.onStatus(new Dd(ii.buffer,s,i))||0},wasm_on_message_begin:r=>(oe(vt.ptr===r),vt.onMessageBegin()||0),wasm_on_header_field:(r,n,i)=>{oe(vt.ptr===r);let s=n-si+ii.byteOffset;return vt.onHeaderField(new Dd(ii.buffer,s,i))||0},wasm_on_header_value:(r,n,i)=>{oe(vt.ptr===r);let s=n-si+ii.byteOffset;return vt.onHeaderValue(new Dd(ii.buffer,s,i))||0},wasm_on_headers_complete:(r,n,i,s)=>(oe(vt.ptr===r),vt.onHeadersComplete(n,!!i,!!s)||0),wasm_on_body:(r,n,i)=>{oe(vt.ptr===r);let s=n-si+ii.byteOffset;return vt.onBody(new Dd(ii.buffer,s,i))||0},wasm_on_message_complete:r=>(oe(vt.ptr===r),vt.onMessageComplete()||0)}})}o(lZ,"lazyllhttp");var uE=null,hE=lZ();hE.catch();var vt=null,ii=null,Od=0,si=null,AZ=0,Wl=1,xa=2|Wl,kd=4|Wl,fE=8|AZ,mE=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){oe(Number.isFinite(e[lE])&&e[lE]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(ni.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[lE],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[sZ]}setTimeout(e,r){e!==this.timeoutValue||r&Wl^this.timeoutType&Wl?(this.timeout&&(cE.clearTimeout(this.timeout),this.timeout=null),e&&(r&Wl?this.timeout=cE.setFastTimeout(qP,e,new WeakRef(this)):(this.timeout=setTimeout(qP,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||(oe(this.ptr!=null),oe(vt==null),this.llhttp.llhttp_resume(this.ptr),oe(this.timeoutType===kd),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||aZ),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){oe(this.ptr!=null),oe(vt==null),oe(!this.paused);let{socket:r,llhttp:n}=this;e.length>Od&&(si&&n.free(si),Od=Math.ceil(e.length/4096)*4096,si=n.malloc(Od)),new Uint8Array(n.memory.buffer,si,Od).set(e);try{let i;try{ii=e,vt=this,i=n.llhttp_execute(this.ptr,si,e.length)}catch(a){throw a}finally{vt=null,ii=null}let s=n.llhttp_get_error_pos(this.ptr)-si;if(i===ni.ERROR.PAUSED_UPGRADE)this.onUpgrade(e.slice(s));else if(i===ni.ERROR.PAUSED)this.paused=!0,r.unshift(e.slice(s));else if(i!==ni.ERROR.OK){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()+")"}throw new V6(c,ni.ERROR[i],e.slice(s))}}catch(i){pe.destroy(r,i)}}destroy(){oe(this.ptr!=null),oe(vt==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&cE.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){this.statusText=e.toString()}onMessageBegin(){let{socket:e,client:r}=this;if(e.destroyed)return-1;let n=r[Dn][r[an]];if(!n)return-1;n.onResponseStarted()}onHeaderField(e){let r=this.headers.length;r&1?this.headers[r-1]=Buffer.concat([this.headers[r-1],e]):this.headers.push(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 i=pe.bufferToLowerCasedHeaderName(n);i==="keep-alive"?this.keepAlive+=e.toString():i==="connection"&&(this.connection+=e.toString())}else n.length===14&&pe.bufferToLowerCasedHeaderName(n)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&pe.destroy(this.socket,new Y6)}onUpgrade(e){let{upgrade:r,client:n,socket:i,headers:s,statusCode:a}=this;oe(r),oe(n[Na]===i),oe(!i.destroyed),oe(!this.paused),oe((s.length&1)===0);let c=n[Dn][n[an]];oe(c),oe(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,i.unshift(e),i[dt].destroy(),i[dt]=null,i[dE]=null,i[cn]=null,cZ(i),n[Na]=null,n[YP]=null,n[Dn][n[an]++]=null,n.emit("disconnect",n[GP],[n],new wa("upgrade"));try{c.onUpgrade(a,s,i)}catch(l){pe.destroy(i,l)}n[As]()}onHeadersComplete(e,r,n){let{client:i,socket:s,headers:a,statusText:c}=this;if(s.destroyed)return-1;let l=i[Dn][i[an]];if(!l)return-1;if(oe(!this.upgrade),oe(this.statusCode<200),e===100)return pe.destroy(s,new Ld("bad response",pe.getSocketInfo(s))),-1;if(r&&!l.upgrade)return pe.destroy(s,new Ld("bad upgrade",pe.getSocketInfo(s))),-1;if(oe(this.timeoutType===xa),this.statusCode=e,this.shouldKeepAlive=n||l.method==="HEAD"&&!s[yr]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let u=l.bodyTimeout!=null?l.bodyTimeout:i[nZ];this.setTimeout(u,kd)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return oe(i[Kt]===1),this.upgrade=!0,2;if(r)return oe(i[Kt]===1),this.upgrade=!0,2;if(oe((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[Md]){let u=this.keepAlive?pe.parseKeepAliveTimeout(this.keepAlive):null;if(u!=null){let d=Math.min(u-i[tZ],i[eZ]);d<=0?s[yr]=!0:i[Ud]=d}else i[Ud]=i[$6]}else s[yr]=!0;let A=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(s[Kl]&&(s[Kl]=!1,i[As]()),A?ni.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:i,maxResponseSize:s}=this;if(n.destroyed)return-1;let a=r[Dn][r[an]];if(oe(a),oe(this.timeoutType===kd),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),oe(i>=200),s>-1&&this.bytesRead+e.length>s)return pe.destroy(n,new W6),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return ni.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:n,upgrade:i,headers:s,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!n||l))return-1;if(i)return;oe(n>=100),oe((this.headers.length&1)===0);let A=e[Dn][e[an]];if(oe(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 pe.destroy(r,new j6),-1;if(A.onComplete(s),e[Dn][e[an]++]=null,r[us])return oe(e[Kt]===0),pe.destroy(r,new wa("reset")),ni.ERROR.PAUSED;if(l){if(r[yr]&&e[Kt]===0)return pe.destroy(r,new wa("reset")),ni.ERROR.PAUSED;e[Md]==null||e[Md]===1?setImmediate(()=>e[As]()):e[As]()}else return pe.destroy(r,new wa("reset")),ni.ERROR.PAUSED}}};function qP(t){let{socket:e,timeoutType:r,client:n,paused:i}=t.deref();r===xa?(!e[us]||e.writableNeedDrain||n[Kt]>1)&&(oe(!i,"cannot be paused while waiting for headers"),pe.destroy(e,new G6)):r===kd?i||pe.destroy(e,new J6):r===fE&&(oe(n[Kt]===0&&n[Ud]),pe.destroy(e,new wa("socket idle timeout")))}o(qP,"onParserTimeout");async function uZ(t,e){t[Na]=e,uE||(uE=await hE,hE=null),e[Vl]=!1,e[us]=!1,e[yr]=!1,e[Kl]=!1,e[dt]=new mE(t,e,uE),Td(e,"error",function(n){oe(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let i=this[dt];if(n.code==="ECONNRESET"&&i.statusCode&&!i.shouldKeepAlive){i.onMessageComplete();return}this[cn]=n,this[dE][oZ](n)}),Td(e,"readable",function(){let n=this[dt];n&&n.readMore()}),Td(e,"end",function(){let n=this[dt];if(n.statusCode&&!n.shouldKeepAlive){n.onMessageComplete();return}pe.destroy(this,new Ld("other side closed",pe.getSocketInfo(this)))}),Td(e,"close",function(){let n=this[dE],i=this[dt];i&&(!this[cn]&&i.statusCode&&!i.shouldKeepAlive&&i.onMessageComplete(),this[dt].destroy(),this[dt]=null);let s=this[cn]||new Ld("closed",pe.getSocketInfo(this));if(n[Na]=null,n[YP]=null,n.destroyed){oe(n[K6]===0);let a=n[Dn].splice(n[an]);for(let c=0;c<a.length;c++){let l=a[c];pe.errorRequest(n,l,s)}}else if(n[Kt]>0&&s.code!=="UND_ERR_INFO"){let a=n[Dn][n[an]];n[Dn][n[an]++]=null,pe.errorRequest(n,a,s)}n[Z6]=n[an],oe(n[Kt]===0),n.emit("disconnect",n[GP],[n],s),n[As]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return hZ(t,...n)},resume(){dZ(t)},destroy(n,i){r?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(n){return!!(e[us]||e[yr]||e[Kl]||n&&(t[Kt]>0&&!n.idempotent||t[Kt]>0&&(n.upgrade||n.method==="CONNECT")||t[Kt]>0&&pe.bodyLength(n.body)!==0&&(pe.isStream(n.body)||pe.isAsyncIterable(n.body)||pe.isFormDataLike(n.body))))}}}o(uZ,"connectH1");function dZ(t){let e=t[Na];if(e&&!e.destroyed){if(t[UP]===0?!e[Vl]&&e.unref&&(e.unref(),e[Vl]=!0):e[Vl]&&e.ref&&(e.ref(),e[Vl]=!1),t[UP]===0)e[dt].timeoutType!==fE&&e[dt].setTimeout(t[Ud],fE);else if(t[Kt]>0&&e[dt].statusCode<200&&e[dt].timeoutType!==xa){let r=t[Dn][t[an]],n=r.headersTimeout!=null?r.headersTimeout:t[rZ];e[dt].setTimeout(n,xa)}}}o(dZ,"resumeH1");function pZ(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(pZ,"shouldSendContentLength");function hZ(t,e){let{method:r,path:n,host:i,upgrade:s,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(pe.isFormDataLike(l)){AE||(AE=Qa().extractBody);let[S,w]=AE(l);e.contentType==null&&A.push("content-type",w),l=S.stream,u=S.length}else pe.isBlobLike(l)&&e.contentType==null&&l.type&&A.push("content-type",l.type);l&&typeof l.read=="function"&&l.read(0);let f=pe.bodyLength(l);if(u=f??u,u===null&&(u=e.contentLength),u===0&&!d&&(u=null),pZ(r)&&u>0&&e.contentLength!==null&&e.contentLength!==u){if(t[pE])return pe.errorRequest(t,e,new oo),!1;process.emitWarning(new oo)}let g=t[Na],C=o(S=>{e.aborted||e.completed||(pe.errorRequest(t,e,S||new jP),pe.destroy(l),pe.destroy(g,new wa("aborted")))},"abort");try{e.onConnect(C)}catch(S){pe.errorRequest(t,e,S)}if(e.aborted)return!1;r==="HEAD"&&(g[yr]=!0),(s||r==="CONNECT")&&(g[yr]=!0),c!=null&&(g[yr]=c),t[FP]&&g[iZ]++>=t[FP]&&(g[yr]=!0),a&&(g[Kl]=!0);let Q=`${r} ${n} HTTP/1.1\r
|
|
`;if(typeof i=="string"?Q+=`host: ${i}\r
|
|
`:Q+=t[X6],s?Q+=`connection: upgrade\r
|
|
upgrade: ${s}\r
|
|
`:t[Md]&&!g[yr]?Q+=`connection: keep-alive\r
|
|
`:Q+=`connection: close\r
|
|
`,Array.isArray(A))for(let S=0;S<A.length;S+=2){let w=A[S+0],R=A[S+1];if(Array.isArray(R))for(let T=0;T<R.length;T++)Q+=`${w}: ${R[T]}\r
|
|
`;else Q+=`${w}: ${R}\r
|
|
`}return LP.sendHeaders.hasSubscribers&&LP.sendHeaders.publish({request:e,headers:Q,socket:g}),!l||f===0?HP(C,null,t,e,g,u,Q,d):pe.isBuffer(l)?HP(C,l,t,e,g,u,Q,d):pe.isBlobLike(l)?typeof l.stream=="function"?zP(C,l.stream(),t,e,g,u,Q,d):mZ(C,l,t,e,g,u,Q,d):pe.isStream(l)?fZ(C,l,t,e,g,u,Q,d):pe.isIterable(l)?zP(C,l,t,e,g,u,Q,d):oe(!1),!0}o(hZ,"writeH1");function fZ(t,e,r,n,i,s,a,c){oe(s!==0||r[Kt]===0,"stream body cannot be pipelined");let l=!1,A=new Fd({abort:t,socket:i,request:n,contentLength:s,client:r,expectsPayload:c,header:a}),u=o(function(C){if(!l)try{!A.write(C)&&this.pause&&this.pause()}catch(Q){pe.destroy(this,Q)}},"onData"),d=o(function(){l||e.resume&&e.resume()},"onDrain"),f=o(function(){if(queueMicrotask(()=>{e.removeListener("error",g)}),!l){let C=new jP;queueMicrotask(()=>g(C))}},"onClose"),g=o(function(C){if(!l){if(l=!0,oe(i.destroyed||i[us]&&r[Kt]<=1),i.off("drain",d).off("error",g),e.removeListener("data",u).removeListener("end",g).removeListener("close",f),!C)try{A.end()}catch(Q){C=Q}A.destroy(C),C&&(C.code!=="UND_ERR_INFO"||C.message!=="reset")?pe.destroy(e,C):pe.destroy(e)}},"onFinished");e.on("data",u).on("end",g).on("error",g).on("close",f),e.resume&&e.resume(),i.on("drain",d).on("error",g),e.errorEmitted??e.errored?setImmediate(()=>g(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>g(null)),(e.closeEmitted??e.closed)&&setImmediate(f)}o(fZ,"writeStream");function HP(t,e,r,n,i,s,a,c){try{e?pe.isBuffer(e)&&(oe(s===e.byteLength,"buffer body must have content length"),i.cork(),i.write(`${a}content-length: ${s}\r
|
|
\r
|
|
`,"latin1"),i.write(e),i.uncork(),n.onBodySent(e),!c&&n.reset!==!1&&(i[yr]=!0)):s===0?i.write(`${a}content-length: 0\r
|
|
\r
|
|
`,"latin1"):(oe(s===null,"no body must not have content length"),i.write(`${a}\r
|
|
`,"latin1")),n.onRequestSent(),r[As]()}catch(l){t(l)}}o(HP,"writeBuffer");async function mZ(t,e,r,n,i,s,a,c){oe(s===e.size,"blob body must have content length");try{if(s!=null&&s!==e.size)throw new oo;let l=Buffer.from(await e.arrayBuffer());i.cork(),i.write(`${a}content-length: ${s}\r
|
|
\r
|
|
`,"latin1"),i.write(l),i.uncork(),n.onBodySent(l),n.onRequestSent(),!c&&n.reset!==!1&&(i[yr]=!0),r[As]()}catch(l){t(l)}}o(mZ,"writeBlob");async function zP(t,e,r,n,i,s,a,c){oe(s!==0||r[Kt]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let f=l;l=null,f()}}o(A,"onDrain");let u=o(()=>new Promise((f,g)=>{oe(l===null),i[cn]?g(i[cn]):l=f}),"waitForDrain");i.on("close",A).on("drain",A);let d=new Fd({abort:t,socket:i,request:n,contentLength:s,client:r,expectsPayload:c,header:a});try{for await(let f of e){if(i[cn])throw i[cn];d.write(f)||await u()}d.end()}catch(f){d.destroy(f)}finally{i.off("close",A).off("drain",A)}}o(zP,"writeIterable");var Fd=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:n,contentLength:i,client:s,expectsPayload:a,header:c}){this.socket=r,this.request=n,this.contentLength=i,this.client=s,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[us]=!0}write(e){let{socket:r,request:n,contentLength:i,client:s,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[cn])throw r[cn];if(r.destroyed)return!1;let A=Buffer.byteLength(e);if(!A)return!0;if(i!==null&&a+A>i){if(s[pE])throw new oo;process.emitWarning(new oo)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[yr]=!0),i===null?r.write(`${l}transfer-encoding: chunked\r
|
|
`,"latin1"):r.write(`${l}content-length: ${i}\r
|
|
\r
|
|
`,"latin1")),i===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[dt].timeout&&r[dt].timeoutType===xa&&r[dt].timeout.refresh&&r[dt].timeout.refresh(),u}end(){let{socket:e,contentLength:r,client:n,bytesWritten:i,expectsPayload:s,header:a,request:c}=this;if(c.onRequestSent(),e[us]=!1,e[cn])throw e[cn];if(!e.destroyed){if(i===0?s?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&&i!==r){if(n[pE])throw new oo;process.emitWarning(new oo)}e[dt].timeout&&e[dt].timeoutType===xa&&e[dt].timeout.refresh&&e[dt].timeout.refresh(),n[As]()}}destroy(e){let{socket:r,client:n,abort:i}=this;r[us]=!1,e&&(oe(n[Kt]<=1,"pipeline should only contain this request"),i(e))}};JP.exports=uZ});var rD=m((SHe,tD)=>{"use strict";var ln=require("node:assert"),{pipeline:gZ}=require("node:stream"),we=Ee(),{RequestContentLengthMismatchError:gE,RequestAbortedError:WP,SocketError:$l,InformationalError:yE}=ve(),{kUrl:qd,kReset:zd,kClient:Sa,kRunning:jd,kPending:yZ,kQueue:ds,kPendingIdx:CE,kRunningIdx:Tn,kError:Mn,kSocket:Lt,kStrictContentLength:CZ,kOnError:EE,kMaxConcurrentStreams:eD,kHTTP2Session:On,kResume:ps,kSize:EZ,kHTTPContext:BZ}=tt(),qi=Symbol("open streams"),KP,$P=!1,Hd;try{Hd=require("node:http2")}catch{Hd={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:IZ,HTTP2_HEADER_METHOD:bZ,HTTP2_HEADER_PATH:QZ,HTTP2_HEADER_SCHEME:wZ,HTTP2_HEADER_CONTENT_LENGTH:NZ,HTTP2_HEADER_EXPECT:xZ,HTTP2_HEADER_STATUS:SZ}}=Hd;function RZ(t){let e=[];for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.push(Buffer.from(r),Buffer.from(i));else e.push(Buffer.from(r),Buffer.from(n));return e}o(RZ,"parseH2Headers");async function _Z(t,e){t[Lt]=e,$P||($P=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=Hd.connect(t[qd],{createConnection:()=>e,peerMaxConcurrentStreams:t[eD]});r[qi]=0,r[Sa]=t,r[Lt]=e,we.addListener(r,"error",PZ),we.addListener(r,"frameError",DZ),we.addListener(r,"end",TZ),we.addListener(r,"goaway",OZ),we.addListener(r,"close",function(){let{[Sa]:i}=this,{[Lt]:s}=i,a=this[Lt][Mn]||this[Mn]||new $l("closed",we.getSocketInfo(s));if(i[On]=null,i.destroyed){ln(i[yZ]===0);let c=i[ds].splice(i[Tn]);for(let l=0;l<c.length;l++){let A=c[l];we.errorRequest(i,A,a)}}}),r.unref(),t[On]=r,e[On]=r,we.addListener(e,"error",function(i){ln(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Mn]=i,this[Sa][EE](i)}),we.addListener(e,"end",function(){we.destroy(this,new $l("other side closed",we.getSocketInfo(this)))}),we.addListener(e,"close",function(){let i=this[Mn]||new $l("closed",we.getSocketInfo(this));t[Lt]=null,this[On]!=null&&this[On].destroy(i),t[CE]=t[Tn],ln(t[jd]===0),t.emit("disconnect",t[qd],[t],i),t[ps]()});let n=!1;return e.on("close",()=>{n=!0}),{version:"h2",defaultPipelining:1/0,write(...i){return kZ(t,...i)},resume(){vZ(t)},destroy(i,s){n?queueMicrotask(s):e.destroy(i).on("close",s)},get destroyed(){return e.destroyed},busy(){return!1}}}o(_Z,"connectH2");function vZ(t){let e=t[Lt];e?.destroyed===!1&&(t[EZ]===0&&t[eD]===0?(e.unref(),t[On].unref()):(e.ref(),t[On].ref()))}o(vZ,"resumeH2");function PZ(t){ln(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Lt][Mn]=t,this[Sa][EE](t)}o(PZ,"onHttp2SessionError");function DZ(t,e,r){if(r===0){let n=new yE(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[Lt][Mn]=n,this[Sa][EE](n)}}o(DZ,"onHttp2FrameError");function TZ(){let t=new $l("other side closed",we.getSocketInfo(this[Lt]));this.destroy(t),we.destroy(this[Lt],t)}o(TZ,"onHttp2SessionEnd");function OZ(t){let e=this[Mn]||new $l(`HTTP/2: "GOAWAY" frame received with code ${t}`,we.getSocketInfo(this)),r=this[Sa];if(r[Lt]=null,r[BZ]=null,this[On]!=null&&(this[On].destroy(e),this[On]=null),we.destroy(this[Lt],e),r[Tn]<r[ds].length){let n=r[ds][r[Tn]];r[ds][r[Tn]++]=null,we.errorRequest(r,n,e),r[CE]=r[Tn]}ln(r[jd]===0),r.emit("disconnect",r[qd],[r],e),r[ps]()}o(OZ,"onHTTP2GoAway");function MZ(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(MZ,"shouldSendContentLength");function kZ(t,e){let r=t[On],{method:n,path:i,host:s,upgrade:a,expectContinue:c,signal:l,headers:A}=e,{body:u}=e;if(a)return we.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let d={};for(let L=0;L<A.length;L+=2){let W=A[L+0],de=A[L+1];if(Array.isArray(de))for(let le=0;le<de.length;le++)d[W]?d[W]+=`,${de[le]}`:d[W]=de[le];else d[W]=de}let f,{hostname:g,port:C}=t[qd];d[IZ]=s||`${g}${C?`:${C}`:""}`,d[bZ]=n;let Q=o(L=>{e.aborted||e.completed||(L=L||new WP,we.errorRequest(t,e,L),f!=null&&we.destroy(f,L),we.destroy(u,L),t[ds][t[Tn]++]=null,t[ps]())},"abort");try{e.onConnect(Q)}catch(L){we.errorRequest(t,e,L)}if(e.aborted)return!1;if(n==="CONNECT")return r.ref(),f=r.request(d,{endStream:!1,signal:l}),f.id&&!f.pending?(e.onUpgrade(null,null,f),++r[qi],t[ds][t[Tn]++]=null):f.once("ready",()=>{e.onUpgrade(null,null,f),++r[qi],t[ds][t[Tn]++]=null}),f.once("close",()=>{r[qi]-=1,r[qi]===0&&r.unref()}),!0;d[QZ]=i,d[wZ]="https";let S=n==="PUT"||n==="POST"||n==="PATCH";u&&typeof u.read=="function"&&u.read(0);let w=we.bodyLength(u);if(we.isFormDataLike(u)){KP??=Qa().extractBody;let[L,W]=KP(u);d["content-type"]=W,u=L.stream,w=L.length}if(w==null&&(w=e.contentLength),(w===0||!S)&&(w=null),MZ(n)&&w>0&&e.contentLength!=null&&e.contentLength!==w){if(t[CZ])return we.errorRequest(t,e,new gE),!1;process.emitWarning(new gE)}w!=null&&(ln(u,"no body must not have content length"),d[NZ]=`${w}`),r.ref();let R=n==="GET"||n==="HEAD"||u===null;return c?(d[xZ]="100-continue",f=r.request(d,{endStream:R,signal:l}),f.once("continue",T)):(f=r.request(d,{endStream:R,signal:l}),T()),++r[qi],f.once("response",L=>{let{[SZ]:W,...de}=L;if(e.onResponseStarted(),e.aborted){let le=new WP;we.errorRequest(t,e,le),we.destroy(f,le);return}e.onHeaders(Number(W),RZ(de),f.resume.bind(f),"")===!1&&f.pause(),f.on("data",le=>{e.onData(le)===!1&&f.pause()})}),f.once("end",()=>{(f.state?.state==null||f.state.state<6)&&e.onComplete([]),r[qi]===0&&r.unref(),Q(new yE("HTTP/2: stream half-closed (remote)")),t[ds][t[Tn]++]=null,t[CE]=t[Tn],t[ps]()}),f.once("close",()=>{r[qi]-=1,r[qi]===0&&r.unref()}),f.once("error",function(L){Q(L)}),f.once("frameError",(L,W)=>{Q(new yE(`HTTP/2: "frameError" received - type ${L}, code ${W}`))}),!0;function T(){!u||w===0?XP(Q,f,null,t,e,t[Lt],w,S):we.isBuffer(u)?XP(Q,f,u,t,e,t[Lt],w,S):we.isBlobLike(u)?typeof u.stream=="function"?ZP(Q,f,u.stream(),t,e,t[Lt],w,S):UZ(Q,f,u,t,e,t[Lt],w,S):we.isStream(u)?LZ(Q,t[Lt],S,f,u,t,e,w):we.isIterable(u)?ZP(Q,f,u,t,e,t[Lt],w,S):ln(!1)}o(T,"writeBodyH2")}o(kZ,"writeH2");function XP(t,e,r,n,i,s,a,c){try{r!=null&&we.isBuffer(r)&&(ln(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),i.onBodySent(r)),c||(s[zd]=!0),i.onRequestSent(),n[ps]()}catch(l){t(l)}}o(XP,"writeBuffer");function LZ(t,e,r,n,i,s,a,c){ln(c!==0||s[jd]===0,"stream body cannot be pipelined");let l=gZ(i,n,u=>{u?(we.destroy(l,u),t(u)):(we.removeAllListeners(l),a.onRequestSent(),r||(e[zd]=!0),s[ps]())});we.addListener(l,"data",A);function A(u){a.onBodySent(u)}o(A,"onPipeData")}o(LZ,"writeStream");async function UZ(t,e,r,n,i,s,a,c){ln(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new gE;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),i.onBodySent(l),i.onRequestSent(),c||(s[zd]=!0),n[ps]()}catch(l){t(l)}}o(UZ,"writeBlob");async function ZP(t,e,r,n,i,s,a,c){ln(a!==0||n[jd]===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,f)=>{ln(l===null),s[Mn]?f(s[Mn]):l=d}),"waitForDrain");e.on("close",A).on("drain",A);try{for await(let d of r){if(s[Mn])throw s[Mn];let f=e.write(d);i.onBodySent(d),f||await u()}e.end(),i.onRequestSent(),c||(s[zd]=!0),n[ps]()}catch(d){t(d)}finally{e.off("close",A).off("drain",A)}}o(ZP,"writeIterable");tD.exports=_Z});var Yd=m((_He,sD)=>{"use strict";var oi=Ee(),{kBodyUsed:Xl}=tt(),IE=require("node:assert"),{InvalidArgumentError:FZ}=ve(),qZ=require("node:events"),HZ=[300,301,302,303,307,308],nD=Symbol("body"),Gd=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[nD]=e,this[Xl]=!1}async*[Symbol.asyncIterator](){IE(!this[Xl],"disturbed"),this[Xl]=!0,yield*this[nD]}},BE=class{static{o(this,"RedirectHandler")}constructor(e,r,n,i){if(r!=null&&(!Number.isInteger(r)||r<0))throw new FZ("maxRedirections must be a positive number");oi.validateHandler(i,n.method,n.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...n,maxRedirections:0},this.maxRedirections=r,this.handler=i,this.history=[],this.redirectionLimitReached=!1,oi.isStream(this.opts.body)?(oi.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){IE(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[Xl]=!1,qZ.prototype.on.call(this.opts.body,"data",function(){this[Xl]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Gd(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&oi.isIterable(this.opts.body)&&(this.opts.body=new Gd(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,i){if(this.location=this.history.length>=this.maxRedirections||oi.isDisturbed(this.opts.body)?null:zZ(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,i);let{origin:s,pathname:a,search:c}=oi.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=jZ(this.opts.headers,e===303,this.opts.origin!==s),this.opts.path=l,this.opts.origin=s,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 zZ(t,e){if(HZ.indexOf(t)===-1)return null;for(let r=0;r<e.length;r+=2)if(e[r].length===8&&oi.headerNameToString(e[r])==="location")return e[r+1]}o(zZ,"parseLocation");function iD(t,e,r){if(t.length===4)return oi.headerNameToString(t)==="host";if(e&&oi.headerNameToString(t).startsWith("content-"))return!0;if(r&&(t.length===13||t.length===6||t.length===19)){let n=oi.headerNameToString(t);return n==="authorization"||n==="cookie"||n==="proxy-authorization"}return!1}o(iD,"shouldRemoveHeader");function jZ(t,e,r){let n=[];if(Array.isArray(t))for(let i=0;i<t.length;i+=2)iD(t[i],e,r)||n.push(t[i],t[i+1]);else if(t&&typeof t=="object")for(let i of Object.keys(t))iD(i,e,r)||n.push(i,t[i]);else IE(t==null,"headers must be an object or an array");return n}o(jZ,"cleanRequestHeaders");sD.exports=BE});var Jd=m((PHe,oD)=>{"use strict";var GZ=Yd();function YZ({maxRedirections:t}){return e=>o(function(n,i){let{maxRedirections:s=t}=n;if(!s)return e(n,i);let a=new GZ(e,s,n,i);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}o(YZ,"createRedirectInterceptor");oD.exports=YZ});var va=m((THe,mD)=>{"use strict";var Hi=require("node:assert"),dD=require("node:net"),JZ=require("node:http"),ao=Ee(),{channels:Ra}=ua(),VZ=Bv(),WZ=fa(),{InvalidArgumentError:Bt,InformationalError:KZ,ClientDestroyedError:$Z}=ve(),XZ=Ul(),{kUrl:ai,kServerName:hs,kClient:ZZ,kBusy:bE,kConnect:e7,kResuming:co,kRunning:nA,kPending:iA,kSize:rA,kQueue:kn,kConnected:t7,kConnecting:_a,kNeedDrain:ms,kKeepAliveDefaultTimeout:aD,kHostHeader:r7,kPendingIdx:Ln,kRunningIdx:zi,kError:n7,kPipelining:Vd,kKeepAliveTimeoutValue:i7,kMaxHeadersSize:s7,kKeepAliveMaxTimeout:o7,kKeepAliveTimeoutThreshold:a7,kHeadersTimeout:c7,kBodyTimeout:l7,kStrictContentLength:A7,kConnector:Zl,kMaxRedirections:u7,kMaxRequests:QE,kCounter:d7,kClose:p7,kDestroy:h7,kDispatch:f7,kInterceptors:cD,kLocalAddress:eA,kMaxResponseSize:m7,kOnError:g7,kHTTPContext:It,kMaxConcurrentStreams:y7,kResume:tA}=tt(),C7=VP(),E7=rD(),lD=!1,fs=Symbol("kClosedResolve"),AD=o(()=>{},"noop");function pD(t){return t[Vd]??t[It]?.defaultPipelining??1}o(pD,"getPipelining");var wE=class extends WZ{static{o(this,"Client")}constructor(e,{interceptors:r,maxHeaderSize:n,headersTimeout:i,socketTimeout:s,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:A,keepAlive:u,keepAliveTimeout:d,maxKeepAliveTimeout:f,keepAliveMaxTimeout:g,keepAliveTimeoutThreshold:C,socketPath:Q,pipelining:S,tls:w,strictContentLength:R,maxCachedSessions:T,maxRedirections:L,connect:W,maxRequestsPerClient:de,localAddress:le,maxResponseSize:De,autoSelectFamily:Te,autoSelectFamilyAttemptTimeout:qe,maxConcurrentStreams:$e,allowH2:fe}={}){if(super(),u!==void 0)throw new Bt("unsupported keepAlive, use pipelining=0 instead");if(s!==void 0)throw new Bt("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new Bt("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(A!==void 0)throw new Bt("unsupported idleTimeout, use keepAliveTimeout instead");if(f!==void 0)throw new Bt("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new Bt("invalid maxHeaderSize");if(Q!=null&&typeof Q!="string")throw new Bt("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new Bt("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new Bt("invalid keepAliveTimeout");if(g!=null&&(!Number.isFinite(g)||g<=0))throw new Bt("invalid keepAliveMaxTimeout");if(C!=null&&!Number.isFinite(C))throw new Bt("invalid keepAliveTimeoutThreshold");if(i!=null&&(!Number.isInteger(i)||i<0))throw new Bt("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new Bt("bodyTimeout must be a positive integer or zero");if(W!=null&&typeof W!="function"&&typeof W!="object")throw new Bt("connect must be a function or an object");if(L!=null&&(!Number.isInteger(L)||L<0))throw new Bt("maxRedirections must be a positive number");if(de!=null&&(!Number.isInteger(de)||de<0))throw new Bt("maxRequestsPerClient must be a positive number");if(le!=null&&(typeof le!="string"||dD.isIP(le)===0))throw new Bt("localAddress must be valid string IP address");if(De!=null&&(!Number.isInteger(De)||De<-1))throw new Bt("maxResponseSize must be a positive number");if(qe!=null&&(!Number.isInteger(qe)||qe<-1))throw new Bt("autoSelectFamilyAttemptTimeout must be a positive number");if(fe!=null&&typeof fe!="boolean")throw new Bt("allowH2 must be a valid boolean value");if($e!=null&&(typeof $e!="number"||$e<1))throw new Bt("maxConcurrentStreams must be a positive integer, greater than 0");typeof W!="function"&&(W=XZ({...w,maxCachedSessions:T,allowH2:fe,socketPath:Q,timeout:c,...Te?{autoSelectFamily:Te,autoSelectFamilyAttemptTimeout:qe}:void 0,...W})),r?.Client&&Array.isArray(r.Client)?(this[cD]=r.Client,lD||(lD=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[cD]=[B7({maxRedirections:L})],this[ai]=ao.parseOrigin(e),this[Zl]=W,this[Vd]=S??1,this[s7]=n||JZ.maxHeaderSize,this[aD]=d??4e3,this[o7]=g??6e5,this[a7]=C??2e3,this[i7]=this[aD],this[hs]=null,this[eA]=le??null,this[co]=0,this[ms]=0,this[r7]=`host: ${this[ai].hostname}${this[ai].port?`:${this[ai].port}`:""}\r
|
|
`,this[l7]=l??3e5,this[c7]=i??3e5,this[A7]=R??!0,this[u7]=L,this[QE]=de,this[fs]=null,this[m7]=De>-1?De:-1,this[y7]=$e??100,this[It]=null,this[kn]=[],this[zi]=0,this[Ln]=0,this[tA]=je=>NE(this,je),this[g7]=je=>hD(this,je)}get pipelining(){return this[Vd]}set pipelining(e){this[Vd]=e,this[tA](!0)}get[iA](){return this[kn].length-this[Ln]}get[nA](){return this[Ln]-this[zi]}get[rA](){return this[kn].length-this[zi]}get[t7](){return!!this[It]&&!this[_a]&&!this[It].destroyed}get[bE](){return!!(this[It]?.busy(null)||this[rA]>=(pD(this)||1)||this[iA]>0)}[e7](e){fD(this),this.once("connect",e)}[f7](e,r){let n=e.origin||this[ai].origin,i=new VZ(n,e,r);return this[kn].push(i),this[co]||(ao.bodyLength(i.body)==null&&ao.isIterable(i.body)?(this[co]=1,queueMicrotask(()=>NE(this))):this[tA](!0)),this[co]&&this[ms]!==2&&this[bE]&&(this[ms]=2),this[ms]<2}async[p7](){return new Promise(e=>{this[rA]?this[fs]=e:e(null)})}async[h7](e){return new Promise(r=>{let n=this[kn].splice(this[Ln]);for(let s=0;s<n.length;s++){let a=n[s];ao.errorRequest(this,a,e)}let i=o(()=>{this[fs]&&(this[fs](),this[fs]=null),r(null)},"callback");this[It]?(this[It].destroy(e,i),this[It]=null):queueMicrotask(i),this[tA]()})}},B7=Jd();function hD(t,e){if(t[nA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){Hi(t[Ln]===t[zi]);let r=t[kn].splice(t[zi]);for(let n=0;n<r.length;n++){let i=r[n];ao.errorRequest(t,i,e)}Hi(t[rA]===0)}}o(hD,"onError");async function fD(t){Hi(!t[_a]),Hi(!t[It]);let{host:e,hostname:r,protocol:n,port:i}=t[ai];if(r[0]==="["){let s=r.indexOf("]");Hi(s!==-1);let a=r.substring(1,s);Hi(dD.isIP(a)),r=a}t[_a]=!0,Ra.beforeConnect.hasSubscribers&&Ra.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[It]?.version,servername:t[hs],localAddress:t[eA]},connector:t[Zl]});try{let s=await new Promise((a,c)=>{t[Zl]({host:e,hostname:r,protocol:n,port:i,servername:t[hs],localAddress:t[eA]},(l,A)=>{l?c(l):a(A)})});if(t.destroyed){ao.destroy(s.on("error",AD),new $Z);return}Hi(s);try{t[It]=s.alpnProtocol==="h2"?await E7(t,s):await C7(t,s)}catch(a){throw s.destroy().on("error",AD),a}t[_a]=!1,s[d7]=0,s[QE]=t[QE],s[ZZ]=t,s[n7]=null,Ra.connected.hasSubscribers&&Ra.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[It]?.version,servername:t[hs],localAddress:t[eA]},connector:t[Zl],socket:s}),t.emit("connect",t[ai],[t])}catch(s){if(t.destroyed)return;if(t[_a]=!1,Ra.connectError.hasSubscribers&&Ra.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[It]?.version,servername:t[hs],localAddress:t[eA]},connector:t[Zl],error:s}),s.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(Hi(t[nA]===0);t[iA]>0&&t[kn][t[Ln]].servername===t[hs];){let a=t[kn][t[Ln]++];ao.errorRequest(t,a,s)}else hD(t,s);t.emit("connectionError",t[ai],[t],s)}t[tA]()}o(fD,"connect");function uD(t){t[ms]=0,t.emit("drain",t[ai],[t])}o(uD,"emitDrain");function NE(t,e){t[co]!==2&&(t[co]=2,I7(t,e),t[co]=0,t[zi]>256&&(t[kn].splice(0,t[zi]),t[Ln]-=t[zi],t[zi]=0))}o(NE,"resume");function I7(t,e){for(;;){if(t.destroyed){Hi(t[iA]===0);return}if(t[fs]&&!t[rA]){t[fs](),t[fs]=null;return}if(t[It]&&t[It].resume(),t[bE])t[ms]=2;else if(t[ms]===2){e?(t[ms]=1,queueMicrotask(()=>uD(t))):uD(t);continue}if(t[iA]===0||t[nA]>=(pD(t)||1))return;let r=t[kn][t[Ln]];if(t[ai].protocol==="https:"&&t[hs]!==r.servername){if(t[nA]>0)return;t[hs]=r.servername,t[It]?.destroy(new KZ("servername changed"),()=>{t[It]=null,NE(t)})}if(t[_a])return;if(!t[It]){fD(t);return}if(t[It].destroyed||t[It].busy(r))return;!r.aborted&&t[It].write(r)?t[Ln]++:t[kn].splice(t[Ln],1)}}o(I7,"_resume");mD.exports=wE});var xE=m((kHe,gD)=>{"use strict";var Wd=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)}};gD.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new Wd}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new Wd),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var CD=m((UHe,yD)=>{var{kFree:b7,kConnected:Q7,kPending:w7,kQueued:N7,kRunning:x7,kSize:S7}=tt(),lo=Symbol("pool"),SE=class{static{o(this,"PoolStats")}constructor(e){this[lo]=e}get connected(){return this[lo][Q7]}get free(){return this[lo][b7]}get pending(){return this[lo][w7]}get queued(){return this[lo][N7]}get running(){return this[lo][x7]}get size(){return this[lo][S7]}};yD.exports=SE});var TE=m((qHe,RD)=>{"use strict";var R7=fa(),_7=xE(),{kConnected:RE,kSize:ED,kRunning:BD,kPending:ID,kQueued:sA,kBusy:v7,kFree:P7,kUrl:D7,kClose:T7,kDestroy:O7,kDispatch:M7}=tt(),k7=CD(),Cr=Symbol("clients"),Ar=Symbol("needDrain"),oA=Symbol("queue"),_E=Symbol("closed resolve"),vE=Symbol("onDrain"),bD=Symbol("onConnect"),QD=Symbol("onDisconnect"),wD=Symbol("onConnectionError"),PE=Symbol("get dispatcher"),xD=Symbol("add client"),SD=Symbol("remove client"),ND=Symbol("stats"),DE=class extends R7{static{o(this,"PoolBase")}constructor(){super(),this[oA]=new _7,this[Cr]=[],this[sA]=0;let e=this;this[vE]=o(function(n,i){let s=e[oA],a=!1;for(;!a;){let c=s.shift();if(!c)break;e[sA]--,a=!this.dispatch(c.opts,c.handler)}this[Ar]=a,!this[Ar]&&e[Ar]&&(e[Ar]=!1,e.emit("drain",n,[e,...i])),e[_E]&&s.isEmpty()&&Promise.all(e[Cr].map(c=>c.close())).then(e[_E])},"onDrain"),this[bD]=(r,n)=>{e.emit("connect",r,[e,...n])},this[QD]=(r,n,i)=>{e.emit("disconnect",r,[e,...n],i)},this[wD]=(r,n,i)=>{e.emit("connectionError",r,[e,...n],i)},this[ND]=new k7(this)}get[v7](){return this[Ar]}get[RE](){return this[Cr].filter(e=>e[RE]).length}get[P7](){return this[Cr].filter(e=>e[RE]&&!e[Ar]).length}get[ID](){let e=this[sA];for(let{[ID]:r}of this[Cr])e+=r;return e}get[BD](){let e=0;for(let{[BD]:r}of this[Cr])e+=r;return e}get[ED](){let e=this[sA];for(let{[ED]:r}of this[Cr])e+=r;return e}get stats(){return this[ND]}async[T7](){this[oA].isEmpty()?await Promise.all(this[Cr].map(e=>e.close())):await new Promise(e=>{this[_E]=e})}async[O7](e){for(;;){let r=this[oA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[Cr].map(r=>r.destroy(e)))}[M7](e,r){let n=this[PE]();return n?n.dispatch(e,r)||(n[Ar]=!0,this[Ar]=!this[PE]()):(this[Ar]=!0,this[oA].push({opts:e,handler:r}),this[sA]++),!this[Ar]}[xD](e){return e.on("drain",this[vE]).on("connect",this[bD]).on("disconnect",this[QD]).on("connectionError",this[wD]),this[Cr].push(e),this[Ar]&&queueMicrotask(()=>{this[Ar]&&this[vE](e[D7],[this,e])}),this}[SD](e){e.close(()=>{let r=this[Cr].indexOf(e);r!==-1&&this[Cr].splice(r,1)}),this[Ar]=this[Cr].some(r=>!r[Ar]&&r.closed!==!0&&r.destroyed!==!0)}};RD.exports={PoolBase:DE,kClients:Cr,kNeedDrain:Ar,kAddClient:xD,kRemoveClient:SD,kGetDispatcher:PE}});var Pa=m((zHe,DD)=>{"use strict";var{PoolBase:L7,kClients:Kd,kNeedDrain:U7,kAddClient:F7,kGetDispatcher:q7}=TE(),H7=va(),{InvalidArgumentError:OE}=ve(),_D=Ee(),{kUrl:vD,kInterceptors:z7}=tt(),j7=Ul(),ME=Symbol("options"),kE=Symbol("connections"),PD=Symbol("factory");function G7(t,e){return new H7(t,e)}o(G7,"defaultFactory");var LE=class extends L7{static{o(this,"Pool")}constructor(e,{connections:r,factory:n=G7,connect:i,connectTimeout:s,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u,allowH2:d,...f}={}){if(super(),r!=null&&(!Number.isFinite(r)||r<0))throw new OE("invalid connections");if(typeof n!="function")throw new OE("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new OE("connect must be a function or an object");typeof i!="function"&&(i=j7({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:s,...A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u}:void 0,...i})),this[z7]=f.interceptors?.Pool&&Array.isArray(f.interceptors.Pool)?f.interceptors.Pool:[],this[kE]=r||null,this[vD]=_D.parseOrigin(e),this[ME]={..._D.deepClone(f),connect:i,allowH2:d},this[ME].interceptors=f.interceptors?{...f.interceptors}:void 0,this[PD]=n,this.on("connectionError",(g,C,Q)=>{for(let S of C){let w=this[Kd].indexOf(S);w!==-1&&this[Kd].splice(w,1)}})}[q7](){for(let e of this[Kd])if(!e[U7])return e;if(!this[kE]||this[Kd].length<this[kE]){let e=this[PD](this[vD],this[ME]);return this[F7](e),e}}};DD.exports=LE});var LD=m((GHe,kD)=>{"use strict";var{BalancedPoolMissingUpstreamError:Y7,InvalidArgumentError:J7}=ve(),{PoolBase:V7,kClients:$t,kNeedDrain:aA,kAddClient:W7,kRemoveClient:K7,kGetDispatcher:$7}=TE(),X7=Pa(),{kUrl:UE,kInterceptors:Z7}=tt(),{parseOrigin:TD}=Ee(),OD=Symbol("factory"),$d=Symbol("options"),MD=Symbol("kGreatestCommonDivisor"),Ao=Symbol("kCurrentWeight"),uo=Symbol("kIndex"),An=Symbol("kWeight"),Xd=Symbol("kMaxWeightPerServer"),Zd=Symbol("kErrorPenalty");function eee(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(eee,"getGreatestCommonDivisor");function tee(t,e){return new X7(t,e)}o(tee,"defaultFactory");var FE=class extends V7{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=tee,...n}={}){if(super(),this[$d]=n,this[uo]=-1,this[Ao]=0,this[Xd]=this[$d].maxWeightPerServer||100,this[Zd]=this[$d].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new J7("factory must be a function.");this[Z7]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[OD]=r;for(let i of e)this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let r=TD(e).origin;if(this[$t].find(i=>i[UE].origin===r&&i.closed!==!0&&i.destroyed!==!0))return this;let n=this[OD](r,Object.assign({},this[$d]));this[W7](n),n.on("connect",()=>{n[An]=Math.min(this[Xd],n[An]+this[Zd])}),n.on("connectionError",()=>{n[An]=Math.max(1,n[An]-this[Zd]),this._updateBalancedPoolStats()}),n.on("disconnect",(...i)=>{let s=i[2];s&&s.code==="UND_ERR_SOCKET"&&(n[An]=Math.max(1,n[An]-this[Zd]),this._updateBalancedPoolStats())});for(let i of this[$t])i[An]=this[Xd];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;r<this[$t].length;r++)e=eee(this[$t][r][An],e);this[MD]=e}removeUpstream(e){let r=TD(e).origin,n=this[$t].find(i=>i[UE].origin===r&&i.closed!==!0&&i.destroyed!==!0);return n&&this[K7](n),this}get upstreams(){return this[$t].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[UE].origin)}[$7](){if(this[$t].length===0)throw new Y7;if(!this[$t].find(s=>!s[aA]&&s.closed!==!0&&s.destroyed!==!0)||this[$t].map(s=>s[aA]).reduce((s,a)=>s&&a,!0))return;let n=0,i=this[$t].findIndex(s=>!s[aA]);for(;n++<this[$t].length;){this[uo]=(this[uo]+1)%this[$t].length;let s=this[$t][this[uo]];if(s[An]>this[$t][i][An]&&!s[aA]&&(i=this[uo]),this[uo]===0&&(this[Ao]=this[Ao]-this[MD],this[Ao]<=0&&(this[Ao]=this[Xd])),s[An]>=this[Ao]&&!s[aA])return s}return this[Ao]=this[$t][i][An],this[uo]=i,this[$t][i]}};kD.exports=FE});var Da=m((JHe,GD)=>{"use strict";var{InvalidArgumentError:ep}=ve(),{kClients:gs,kRunning:UD,kClose:ree,kDestroy:nee,kDispatch:iee,kInterceptors:see}=tt(),oee=fa(),aee=Pa(),cee=va(),lee=Ee(),Aee=Jd(),FD=Symbol("onConnect"),qD=Symbol("onDisconnect"),HD=Symbol("onConnectionError"),uee=Symbol("maxRedirections"),zD=Symbol("onDrain"),jD=Symbol("factory"),qE=Symbol("options");function dee(t,e){return e&&e.connections===1?new cee(t,e):new aee(t,e)}o(dee,"defaultFactory");var HE=class extends oee{static{o(this,"Agent")}constructor({factory:e=dee,maxRedirections:r=0,connect:n,...i}={}){if(super(),typeof e!="function")throw new ep("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new ep("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new ep("maxRedirections must be a positive number");n&&typeof n!="function"&&(n={...n}),this[see]=i.interceptors?.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[Aee({maxRedirections:r})],this[qE]={...lee.deepClone(i),connect:n},this[qE].interceptors=i.interceptors?{...i.interceptors}:void 0,this[uee]=r,this[jD]=e,this[gs]=new Map,this[zD]=(s,a)=>{this.emit("drain",s,[this,...a])},this[FD]=(s,a)=>{this.emit("connect",s,[this,...a])},this[qD]=(s,a,c)=>{this.emit("disconnect",s,[this,...a],c)},this[HD]=(s,a,c)=>{this.emit("connectionError",s,[this,...a],c)}}get[UD](){let e=0;for(let r of this[gs].values())e+=r[UD];return e}[iee](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new ep("opts.origin must be a non-empty string or URL.");let i=this[gs].get(n);return i||(i=this[jD](e.origin,this[qE]).on("drain",this[zD]).on("connect",this[FD]).on("disconnect",this[qD]).on("connectionError",this[HD]),this[gs].set(n,i)),i.dispatch(e,r)}async[ree](){let e=[];for(let r of this[gs].values())e.push(r.close());this[gs].clear(),await Promise.all(e)}async[nee](e){let r=[];for(let n of this[gs].values())r.push(n.destroy(e));this[gs].clear(),await Promise.all(r)}};GD.exports=HE});var JE=m((WHe,rT)=>{"use strict";var{kProxy:zE,kClose:$D,kDestroy:XD,kDispatch:YD,kInterceptors:pee}=tt(),{URL:po}=require("node:url"),hee=Da(),ZD=Pa(),eT=fa(),{InvalidArgumentError:Ta,RequestAbortedError:fee,SecureProxyConnectionError:mee}=ve(),JD=Ul(),tT=va(),tp=Symbol("proxy agent"),rp=Symbol("proxy client"),ys=Symbol("proxy headers"),jE=Symbol("request tls settings"),VD=Symbol("proxy tls settings"),WD=Symbol("connect endpoint function"),KD=Symbol("tunnel proxy");function gee(t){return t==="https:"?443:80}o(gee,"defaultProtocolPort");function yee(t,e){return new ZD(t,e)}o(yee,"defaultFactory");var Cee=o(()=>{},"noop");function Eee(t,e){return e.connections===1?new tT(t,e):new ZD(t,e)}o(Eee,"defaultAgentFactory");var GE=class extends eT{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:i}){if(super(),!e)throw new Ta("Proxy URL is mandatory");this[ys]=r,i?this.#e=i(e,{connect:n}):this.#e=new tT(e,{connect:n})}[YD](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,A){if(c===407){typeof r.onError=="function"&&r.onError(new Ta("Proxy Authentication Required (407)"));return}n&&n.call(this,c,l,A)};let{origin:i,path:s="/",headers:a={}}=e;if(e.path=i+s,!("host"in a)&&!("Host"in a)){let{host:c}=new po(i);a.host=c}return e.headers={...this[ys],...a},this.#e[YD](e,r)}async[$D](){return this.#e.close()}async[XD](e){return this.#e.destroy(e)}},YE=class extends eT{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof po)&&!e.uri)throw new Ta("Proxy uri is mandatory");let{clientFactory:r=yee}=e;if(typeof r!="function")throw new Ta("Proxy opts.clientFactory must be a function.");let{proxyTunnel:n=!0}=e,i=this.#e(e),{href:s,origin:a,port:c,protocol:l,username:A,password:u,hostname:d}=i;if(this[zE]={uri:s,protocol:l},this[pee]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[jE]=e.requestTls,this[VD]=e.proxyTls,this[ys]=e.headers||{},this[KD]=n,e.auth&&e.token)throw new Ta("opts.auth cannot be used in combination with opts.token");e.auth?this[ys]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[ys]["proxy-authorization"]=e.token:A&&u&&(this[ys]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(A)}:${decodeURIComponent(u)}`).toString("base64")}`);let f=JD({...e.proxyTls});this[WD]=JD({...e.requestTls});let g=e.factory||Eee,C=o((Q,S)=>{let{protocol:w}=new po(Q);return!this[KD]&&w==="http:"&&this[zE].protocol==="http:"?new GE(this[zE].uri,{headers:this[ys],connect:f,factory:g}):g(Q,S)},"factory");this[rp]=r(i,{connect:f}),this[tp]=new hee({...e,factory:C,connect:async(Q,S)=>{let w=Q.host;Q.port||(w+=`:${gee(Q.protocol)}`);try{let{socket:R,statusCode:T}=await this[rp].connect({origin:a,port:c,path:w,signal:Q.signal,headers:{...this[ys],host:Q.host},servername:this[VD]?.servername||d});if(T!==200&&(R.on("error",Cee).destroy(),S(new fee(`Proxy response (${T}) !== 200 when HTTP Tunneling`))),Q.protocol!=="https:"){S(null,R);return}let L;this[jE]?L=this[jE].servername:L=Q.servername,this[WD]({...Q,servername:L,httpSocket:R},S)}catch(R){R.code==="ERR_TLS_CERT_ALTNAME_INVALID"?S(new mee(R)):S(R)}}})}dispatch(e,r){let n=Bee(e.headers);if(Iee(n),n&&!("host"in n)&&!("Host"in n)){let{host:i}=new po(e.origin);n.host=i}return this[tp].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new po(e):e instanceof po?e:new po(e.uri)}async[$D](){await this[tp].close(),await this[rp].close()}async[XD](){await this[tp].destroy(),await this[rp].destroy()}};function Bee(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(Bee,"buildHeaders");function Iee(t){if(t&&Object.keys(t).find(r=>r.toLowerCase()==="proxy-authorization"))throw new Ta("Proxy-Authorization should be sent in ProxyAgent constructor")}o(Iee,"throwIfProxyAuthIsSent");rT.exports=YE});var cT=m(($He,aT)=>{"use strict";var bee=fa(),{kClose:Qee,kDestroy:wee,kClosed:nT,kDestroyed:iT,kDispatch:Nee,kNoProxyAgent:cA,kHttpProxyAgent:Cs,kHttpsProxyAgent:ho}=tt(),sT=JE(),xee=Da(),See={"http:":80,"https:":443},oT=!1,VE=class extends bee{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#i=null;constructor(e={}){super(),this.#i=e,oT||(oT=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:n,noProxy:i,...s}=e;this[cA]=new xee(s);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[Cs]=new sT({...s,uri:a}):this[Cs]=this[cA];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[ho]=new sT({...s,uri:c}):this[ho]=this[Cs],this.#s()}[Nee](e,r){let n=new URL(e.origin);return this.#n(n).dispatch(e,r)}async[Qee](){await this[cA].close(),this[Cs][nT]||await this[Cs].close(),this[ho][nT]||await this[ho].close()}async[wee](e){await this[cA].destroy(e),this[Cs][iT]||await this[Cs].destroy(e),this[ho][iT]||await this[ho].destroy(e)}#n(e){let{protocol:r,host:n,port:i}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||See[r]||0,this.#r(n,i)?r==="https:"?this[ho]:this[Cs]:this[cA]}#r(e,r){if(this.#o&&this.#s(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let n=0;n<this.#t.length;n++){let i=this.#t[n];if(!(i.port&&i.port!==r)){if(/^[.*]/.test(i.hostname)){if(e.endsWith(i.hostname.replace(/^\*/,"")))return!1}else if(e===i.hostname)return!1}}return!0}#s(){let e=this.#i.noProxy??this.#a,r=e.split(/[,\s]/),n=[];for(let i=0;i<r.length;i++){let s=r[i];if(!s)continue;let a=s.match(/^(.+):(\d+)$/);n.push({hostname:(a?a[1]:s).toLowerCase(),port:a?Number.parseInt(a[2],10):0})}this.#e=e,this.#t=n}get#o(){return this.#i.noProxy!==void 0?!1:this.#e!==this.#a}get#a(){return process.env.no_proxy??process.env.NO_PROXY??""}};aT.exports=VE});var np=m((ZHe,dT)=>{"use strict";var Oa=require("node:assert"),{kRetryHandlerDefaultRetry:lT}=tt(),{RequestRetryError:lA}=ve(),{isDisturbed:AT,parseHeaders:Ree,parseRangeHeader:uT,wrapRequestBody:_ee}=Ee();function vee(t){let e=Date.now();return new Date(t).getTime()-e}o(vee,"calculateRetryAfterHeader");var WE=class t{static{o(this,"RetryHandler")}constructor(e,r){let{retryOptions:n,...i}=e,{retry:s,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:A,methods:u,errorCodes:d,retryAfter:f,statusCodes:g}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...i,body:_ee(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:s??t[lT],retryAfter:f??!0,maxTimeout:c??30*1e3,minTimeout:l??500,timeoutFactor:A??2,maxRetries:a??5,methods:u??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:g??[500,502,503,504,429],errorCodes:d??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(C=>{this.aborted=!0,this.abort?this.abort(C):this.reason=C})}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[lT](e,{state:r,opts:n},i){let{statusCode:s,code:a,headers:c}=e,{method:l,retryOptions:A}=n,{maxRetries:u,minTimeout:d,maxTimeout:f,timeoutFactor:g,statusCodes:C,errorCodes:Q,methods:S}=A,{counter:w}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!Q.includes(a)){i(e);return}if(Array.isArray(S)&&!S.includes(l)){i(e);return}if(s!=null&&Array.isArray(C)&&!C.includes(s)){i(e);return}if(w>u){i(e);return}let R=c?.["retry-after"];R&&(R=Number(R),R=Number.isNaN(R)?vee(R):R*1e3);let T=R>0?Math.min(R,f):Math.min(d*g**(w-1),f);setTimeout(()=>i(null),T)}onHeaders(e,r,n,i){let s=Ree(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,i):(this.abort(new lA("Request failed",e,{headers:s,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new lA("server does not support the range header and the payload was partially consumed",e,{headers:s,data:{count:this.retryCount}})),!1;let c=uT(s["content-range"]);if(!c)return this.abort(new lA("Content-Range mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==s.etag)return this.abort(new lA("ETag mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;let{start:l,size:A,end:u=A-1}=c;return Oa(this.start===l,"content-range mismatch"),Oa(this.end==null||this.end===u,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let c=uT(s["content-range"]);if(c==null)return this.handler.onHeaders(e,r,n,i);let{start:l,size:A,end:u=A-1}=c;Oa(l!=null&&Number.isFinite(l),"content-range mismatch"),Oa(u!=null&&Number.isFinite(u),"invalid content-length"),this.start=l,this.end=u}if(this.end==null){let c=s["content-length"];this.end=c!=null?Number(c)-1:null}return Oa(Number.isFinite(this.start)),Oa(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=n,this.etag=s.etag!=null?s.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,n,i)}let a=new lA("Request failed",e,{headers:s,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||AT(this.opts.body))return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(n){if(n!=null||this.aborted||AT(this.opts.body))return this.handler.onError(n);if(this.start!==0){let i={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(i["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...i}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}o(r,"onRetry")}};dT.exports=WE});var hT=m((t1e,pT)=>{"use strict";var Pee=kl(),Dee=np(),KE=class extends Pee{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 Dee({...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()}};pT.exports=KE});var rB=m((n1e,bT)=>{"use strict";var CT=require("node:assert"),{Readable:Tee}=require("node:stream"),{RequestAbortedError:ET,NotSupportedError:Oee,InvalidArgumentError:Mee,AbortError:$E}=ve(),BT=Ee(),{ReadableStreamFrom:kee}=Ee(),Mr=Symbol("kConsume"),AA=Symbol("kReading"),Es=Symbol("kBody"),fT=Symbol("kAbort"),IT=Symbol("kContentType"),mT=Symbol("kContentLength"),Lee=o(()=>{},"noop"),XE=class extends Tee{static{o(this,"BodyReadable")}constructor({resume:e,abort:r,contentType:n="",contentLength:i,highWaterMark:s=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:s}),this._readableState.dataEmitted=!1,this[fT]=r,this[Mr]=null,this[Es]=null,this[IT]=n,this[mT]=i,this[AA]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new ET),e&&this[fT](),super.destroy(e)}_destroy(e,r){this[AA]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[AA]=!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[AA]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Mr]&&e!==null?(eB(this[Mr],e),this[AA]?super.push(e):!0):super.push(e)}async text(){return uA(this,"text")}async json(){return uA(this,"json")}async blob(){return uA(this,"blob")}async bytes(){return uA(this,"bytes")}async arrayBuffer(){return uA(this,"arrayBuffer")}async formData(){throw new Oee}get bodyUsed(){return BT.isDisturbed(this)}get body(){return this[Es]||(this[Es]=kee(this),this[Mr]&&(this[Es].getReader(),CT(this[Es].locked))),this[Es]}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 Mee("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((i,s)=>{this[mT]>r&&this.destroy(new $E);let a=o(()=>{this.destroy(n.reason??new $E)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?s(n.reason??new $E):i(null)}).on("error",Lee).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function Uee(t){return t[Es]&&t[Es].locked===!0||t[Mr]}o(Uee,"isLocked");function Fee(t){return BT.isDisturbed(t)||Uee(t)}o(Fee,"isUnusable");async function uA(t,e){return CT(!t[Mr]),new Promise((r,n)=>{if(Fee(t)){let i=t._readableState;i.destroyed&&i.closeEmitted===!1?t.on("error",s=>{n(s)}).on("close",()=>{n(new TypeError("unusable"))}):n(i.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[Mr]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(i){tB(this[Mr],i)}).on("close",function(){this[Mr].body!==null&&tB(this[Mr],new ET)}),qee(t[Mr])})})}o(uA,"consume");function qee(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let r=e.bufferIndex,n=e.buffer.length;for(let i=r;i<n;i++)eB(t,e.buffer[i])}else for(let r of e.buffer)eB(t,r);for(e.endEmitted?yT(this[Mr]):t.stream.on("end",function(){yT(this[Mr])}),t.stream.resume();t.stream.read()!=null;);}o(qee,"consumeStart");function ZE(t,e){if(t.length===0||e===0)return"";let r=t.length===1?t[0]:Buffer.concat(t,e),n=r.length,i=n>2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(i,n)}o(ZE,"chunksDecode");function gT(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 i=0;i<t.length;++i){let s=t[i];r.set(s,n),n+=s.length}return r}o(gT,"chunksConcat");function yT(t){let{type:e,body:r,resolve:n,stream:i,length:s}=t;try{e==="text"?n(ZE(r,s)):e==="json"?n(JSON.parse(ZE(r,s))):e==="arrayBuffer"?n(gT(r,s).buffer):e==="blob"?n(new Blob(r,{type:i[IT]})):e==="bytes"&&n(gT(r,s)),tB(t)}catch(a){i.destroy(a)}}o(yT,"consumeEnd");function eB(t,e){t.length+=e.length,t.body.push(e)}o(eB,"consumePush");function tB(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(tB,"consumeFinish");bT.exports={Readable:XE,chunksDecode:ZE}});var nB=m((s1e,ST)=>{var Hee=require("node:assert"),{ResponseStatusCodeError:QT}=ve(),{chunksDecode:wT}=rB(),zee=128*1024;async function jee({callback:t,body:e,contentType:r,statusCode:n,statusMessage:i,headers:s}){Hee(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>zee){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${i?`: ${i}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new QT(l,n,s)));return}let A=Error.stackTraceLimit;Error.stackTraceLimit=0;let u;try{NT(r)?u=JSON.parse(wT(a,c)):xT(r)&&(u=wT(a,c))}catch{}finally{Error.stackTraceLimit=A}queueMicrotask(()=>t(new QT(l,n,s,u)))}o(jee,"getResolveErrorBodyCallback");var NT=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"),xT=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");ST.exports={getResolveErrorBodyCallback:jee,isContentTypeApplicationJson:NT,isContentTypeText:xT}});var vT=m((a1e,iB)=>{"use strict";var Gee=require("node:assert"),{Readable:Yee}=rB(),{InvalidArgumentError:Ma,RequestAbortedError:RT}=ve(),kr=Ee(),{getResolveErrorBodyCallback:Jee}=nB(),{AsyncResource:Vee}=require("node:async_hooks"),ip=class extends Vee{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Ma("invalid opts");let{signal:n,method:i,opaque:s,body:a,onInfo:c,responseHeaders:l,throwOnError:A,highWaterMark:u}=e;try{if(typeof r!="function")throw new Ma("invalid callback");if(u&&(typeof u!="number"||u<0))throw new Ma("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Ma("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Ma("invalid method");if(c&&typeof c!="function")throw new Ma("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw kr.isStream(a)&&kr.destroy(a.on("error",kr.nop),d),d}this.method=i,this.responseHeaders=l||null,this.opaque=s||null,this.callback=r,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=A,this.highWaterMark=u,this.signal=n,this.reason=null,this.removeAbortListener=null,kr.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new RT:this.removeAbortListener=kr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new RT,this.res?kr.destroy(this.res.on("error",kr.nop),this.reason):this.abort&&this.abort(this.reason),this.removeAbortListener&&(this.res?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}))}onConnect(e,r){if(this.reason){e(this.reason);return}Gee(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{callback:s,opaque:a,abort:c,context:l,responseHeaders:A,highWaterMark:u}=this,d=A==="raw"?kr.parseRawHeaders(r):kr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let f=A==="raw"?kr.parseHeaders(r):d,g=f["content-type"],C=f["content-length"],Q=new Yee({resume:n,abort:c,contentType:g,contentLength:this.method!=="HEAD"&&C?Number(C):null,highWaterMark:u});this.removeAbortListener&&Q.on("close",this.removeAbortListener),this.callback=null,this.res=Q,s!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(Jee,null,{callback:s,body:Q,contentType:g,statusCode:e,statusMessage:i,headers:d}):this.runInAsyncScope(s,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:Q,context:l}))}onData(e){return this.res.push(e)}onComplete(e){kr.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:n,body:i,opaque:s}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{kr.destroy(r,e)})),i&&(this.body=null,kr.destroy(i,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function _T(t,e){if(e===void 0)return new Promise((r,n)=>{_T.call(this,t,(i,s)=>i?n(i):r(s))});try{this.dispatch(t,new ip(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(_T,"request");iB.exports=_T;iB.exports.RequestHandler=ip});var dA=m((l1e,TT)=>{var{addAbortListener:Wee}=Ee(),{RequestAbortedError:Kee}=ve(),ka=Symbol("kListener"),ci=Symbol("kSignal");function PT(t){t.abort?t.abort(t[ci]?.reason):t.reason=t[ci]?.reason??new Kee,DT(t)}o(PT,"abort");function $ee(t,e){if(t.reason=null,t[ci]=null,t[ka]=null,!!e){if(e.aborted){PT(t);return}t[ci]=e,t[ka]=()=>{PT(t)},Wee(t[ci],t[ka])}}o($ee,"addSignal");function DT(t){t[ci]&&("removeEventListener"in t[ci]?t[ci].removeEventListener("abort",t[ka]):t[ci].removeListener("abort",t[ka]),t[ci]=null,t[ka]=null)}o(DT,"removeSignal");TT.exports={addSignal:$ee,removeSignal:DT}});var LT=m((u1e,kT)=>{"use strict";var Xee=require("node:assert"),{finished:Zee,PassThrough:ete}=require("node:stream"),{InvalidArgumentError:La,InvalidReturnValueError:tte}=ve(),Un=Ee(),{getResolveErrorBodyCallback:rte}=nB(),{AsyncResource:nte}=require("node:async_hooks"),{addSignal:ite,removeSignal:OT}=dA(),sB=class extends nte{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new La("invalid opts");let{signal:i,method:s,opaque:a,body:c,onInfo:l,responseHeaders:A,throwOnError:u}=e;try{if(typeof n!="function")throw new La("invalid callback");if(typeof r!="function")throw new La("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new La("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new La("invalid method");if(l&&typeof l!="function")throw new La("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)}),ite(this,i)}onConnect(e,r){if(this.reason){e(this.reason);return}Xee(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{factory:s,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 C=(A==="raw"?Un.parseHeaders(r):u)["content-type"];d=new ete,this.callback=null,this.runInAsyncScope(rte,null,{callback:l,body:d,contentType:C,statusCode:e,statusMessage:i,headers:u})}else{if(s===null)return;if(d=this.runInAsyncScope(s,null,{statusCode:e,headers:u,opaque:a,context:c}),!d||typeof d.write!="function"||typeof d.end!="function"||typeof d.on!="function")throw new tte("expected Writable");Zee(d,{readable:!1},g=>{let{callback:C,res:Q,opaque:S,trailers:w,abort:R}=this;this.res=null,(g||!Q.readable)&&Un.destroy(Q,g),this.callback=null,this.runInAsyncScope(C,null,g||null,{opaque:S,trailers:w}),g&&R()})}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;OT(this),r&&(this.trailers=Un.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:i,body:s}=this;OT(this),this.factory=null,r?(this.res=null,Un.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),s&&(this.body=null,Un.destroy(s,e))}};function MT(t,e,r){if(r===void 0)return new Promise((n,i)=>{MT.call(this,t,e,(s,a)=>s?i(s):n(a))});try{this.dispatch(t,new sB(t,e,r))}catch(n){if(typeof r!="function")throw n;let i=t?.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}o(MT,"stream");kT.exports=MT});var HT=m((p1e,qT)=>{"use strict";var{Readable:FT,Duplex:ste,PassThrough:ote}=require("node:stream"),{InvalidArgumentError:pA,InvalidReturnValueError:ate,RequestAbortedError:oB}=ve(),un=Ee(),{AsyncResource:cte}=require("node:async_hooks"),{addSignal:lte,removeSignal:Ate}=dA(),UT=require("node:assert"),Ua=Symbol("resume"),aB=class extends FT{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[Ua]=null}_read(){let{[Ua]:e}=this;e&&(this[Ua]=null,e())}_destroy(e,r){this._read(),r(e)}},cB=class extends FT{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[Ua]=e}_read(){this[Ua]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new oB),r(e)}},lB=class extends cte{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new pA("invalid opts");if(typeof r!="function")throw new pA("invalid handler");let{signal:n,method:i,opaque:s,onInfo:a,responseHeaders:c}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new pA("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new pA("invalid method");if(a&&typeof a!="function")throw new pA("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new aB().on("error",un.nop),this.ret=new ste({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:l}=this;l?.resume&&l.resume()},write:(l,A,u)=>{let{req:d}=this;d.push(l,A)||d._readableState.destroyed?u():d[Ua]=u},destroy:(l,A)=>{let{body:u,req:d,res:f,ret:g,abort:C}=this;!l&&!g._readableState.endEmitted&&(l=new oB),C&&l&&C(),un.destroy(u,l),un.destroy(d,l),un.destroy(f,l),Ate(this),A(l)}}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,lte(this,n)}onConnect(e,r){let{ret:n,res:i}=this;if(this.reason){e(this.reason);return}UT(!i,"pipeline cannot be retried"),UT(!n.destroyed),this.abort=e,this.context=r}onHeaders(e,r,n){let{opaque:i,handler:s,context:a}=this;if(e<200){if(this.onInfo){let l=this.responseHeaders==="raw"?un.parseRawHeaders(r):un.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new cB(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?un.parseRawHeaders(r):un.parseHeaders(r);c=this.runInAsyncScope(s,null,{statusCode:e,headers:l,opaque:i,body:this.res,context:a})}catch(l){throw this.res.on("error",un.nop),l}if(!c||typeof c.on!="function")throw new ate("expected Readable");c.on("data",l=>{let{ret:A,body:u}=this;!A.push(l)&&u.pause&&u.pause()}).on("error",l=>{let{ret:A}=this;un.destroy(A,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||un.destroy(l,new oB)}),this.body=c}onData(e){let{res:r}=this;return r.push(e)}onComplete(e){let{res:r}=this;r.push(null)}onError(e){let{ret:r}=this;this.handler=null,un.destroy(r,e)}};function ute(t,e){try{let r=new lB(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new ote().destroy(r)}}o(ute,"pipeline");qT.exports=ute});var VT=m((f1e,JT)=>{"use strict";var{InvalidArgumentError:AB,SocketError:dte}=ve(),{AsyncResource:pte}=require("node:async_hooks"),zT=Ee(),{addSignal:hte,removeSignal:jT}=dA(),GT=require("node:assert"),uB=class extends pte{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new AB("invalid opts");if(typeof r!="function")throw new AB("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new AB("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=i||null,this.callback=r,this.abort=null,this.context=null,hte(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}GT(this.callback),this.abort=e,this.context=null}onHeaders(){throw new dte("bad upgrade",null)}onUpgrade(e,r,n){GT(e===101);let{callback:i,opaque:s,context:a}=this;jT(this),this.callback=null;let c=this.responseHeaders==="raw"?zT.parseRawHeaders(r):zT.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;jT(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function YT(t,e){if(e===void 0)return new Promise((r,n)=>{YT.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new uB(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(YT,"upgrade");JT.exports=YT});var ZT=m((g1e,XT)=>{"use strict";var fte=require("node:assert"),{AsyncResource:mte}=require("node:async_hooks"),{InvalidArgumentError:dB,SocketError:gte}=ve(),WT=Ee(),{addSignal:yte,removeSignal:KT}=dA(),pB=class extends mte{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new dB("invalid opts");if(typeof r!="function")throw new dB("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new dB("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=r,this.abort=null,yte(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}fte(this.callback),this.abort=e,this.context=r}onHeaders(){throw new gte("bad connect",null)}onUpgrade(e,r,n){let{callback:i,opaque:s,context:a}=this;KT(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?WT.parseRawHeaders(r):WT.parseHeaders(r)),this.runInAsyncScope(i,null,null,{statusCode:e,headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;KT(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function $T(t,e){if(e===void 0)return new Promise((r,n)=>{$T.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new pB(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($T,"connect");XT.exports=$T});var eO=m((C1e,Fa)=>{"use strict";Fa.exports.request=vT();Fa.exports.stream=LT();Fa.exports.pipeline=HT();Fa.exports.upgrade=VT();Fa.exports.connect=ZT()});var fB=m((E1e,rO)=>{"use strict";var{UndiciError:Cte}=ve(),tO=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),hB=class t extends Cte{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[tO]===!0}[tO]=!0};rO.exports={MockNotMatchedError:hB}});var qa=m((I1e,nO)=>{"use strict";nO.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 hA=m((b1e,hO)=>{"use strict";var{MockNotMatchedError:fo}=fB(),{kDispatches:sp,kMockAgent:Ete,kOriginalDispatch:Bte,kOrigin:Ite,kGetNetConnect:bte}=qa(),{buildURL:Qte}=Ee(),{STATUS_CODES:wte}=require("node:http"),{types:{isPromise:Nte}}=require("node:util");function ji(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(ji,"matchValue");function sO(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(sO,"lowerCaseEntries");function oO(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):sO(t)[e.toLocaleLowerCase()]}o(oO,"getHeaderByName");function yB(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(yB,"buildHeadersFromArray");function aO(t,e){if(typeof t.headers=="function")return Array.isArray(e)&&(e=yB(e)),t.headers(e?sO(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 i=oO(e,r);if(!ji(n,i))return!1}return!0}o(aO,"matchHeaders");function iO(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(iO,"safeUrl");function xte(t,{path:e,method:r,body:n,headers:i}){let s=ji(t.path,e),a=ji(t.method,r),c=typeof t.body<"u"?ji(t.body,n):!0,l=aO(t,i);return s&&a&&c&&l}o(xte,"matchKey");function cO(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(cO,"getResponseData");function lO(t,e){let r=e.query?Qte(e.path,e.query):e.path,n=typeof r=="string"?iO(r):r,i=t.filter(({consumed:s})=>!s).filter(({path:s})=>ji(iO(s),n));if(i.length===0)throw new fo(`Mock dispatch not matched for path '${n}'`);if(i=i.filter(({method:s})=>ji(s,e.method)),i.length===0)throw new fo(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(i=i.filter(({body:s})=>typeof s<"u"?ji(s,e.body):!0),i.length===0)throw new fo(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(i=i.filter(s=>aO(s,e.headers)),i.length===0){let s=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new fo(`Mock dispatch not matched for headers '${s}' on path '${n}'`)}return i[0]}o(lO,"getMockDispatch");function Ste(t,e,r){let n={timesInvoked:0,times:1,persist:!1,consumed:!1},i=typeof r=="function"?{callback:r}:{...r},s={...n,...e,pending:!0,data:{error:null,...i}};return t.push(s),s}o(Ste,"addMockDispatch");function mB(t,e){let r=t.findIndex(n=>n.consumed?xte(n,e):!1);r!==-1&&t.splice(r,1)}o(mB,"deleteMockDispatch");function AO(t){let{path:e,method:r,body:n,headers:i,query:s}=t;return{path:e,method:r,body:n,headers:i,query:s}}o(AO,"buildKey");function gB(t){let e=Object.keys(t),r=[];for(let n=0;n<e.length;++n){let i=e[n],s=t[i],a=Buffer.from(`${i}`);if(Array.isArray(s))for(let c=0;c<s.length;++c)r.push(a,Buffer.from(`${s[c]}`));else r.push(a,Buffer.from(`${s}`))}return r}o(gB,"generateKeyValues");function uO(t){return wte[t]||"unknown"}o(uO,"getStatusText");async function Rte(t){let e=[];for await(let r of t)e.push(r);return Buffer.concat(e).toString("utf8")}o(Rte,"getResponse");function dO(t,e){let r=AO(t),n=lO(this[sp],r);n.timesInvoked++,n.data.callback&&(n.data={...n.data,...n.data.callback(t)});let{data:{statusCode:i,data:s,headers:a,trailers:c,error:l},delay:A,persist:u}=n,{timesInvoked:d,times:f}=n;if(n.consumed=!u&&d>=f,n.pending=d<f,l!==null)return mB(this[sp],r),e.onError(l),!0;typeof A=="number"&&A>0?setTimeout(()=>{g(this[sp])},A):g(this[sp]);function g(Q,S=s){let w=Array.isArray(t.headers)?yB(t.headers):t.headers,R=typeof S=="function"?S({...t,headers:w}):S;if(Nte(R)){R.then(de=>g(Q,de));return}let T=cO(R),L=gB(a),W=gB(c);e.onConnect?.(de=>e.onError(de),null),e.onHeaders?.(i,L,C,uO(i)),e.onData?.(Buffer.from(T)),e.onComplete?.(W),mB(Q,r)}o(g,"handleReply");function C(){}return o(C,"resume"),!0}o(dO,"mockDispatch");function _te(){let t=this[Ete],e=this[Ite],r=this[Bte];return o(function(i,s){if(t.isMockActive)try{dO.call(this,i,s)}catch(a){if(a instanceof fo){let c=t[bte]();if(c===!1)throw new fo(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(pO(c,e))r.call(this,i,s);else throw new fo(`${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,i,s)},"dispatch")}o(_te,"buildMockDispatch");function pO(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>ji(n,r.host)))}o(pO,"checkNetConnect");function vte(t){if(t){let{agent:e,...r}=t;return r}}o(vte,"buildMockOptions");hO.exports={getResponseData:cO,getMockDispatch:lO,addMockDispatch:Ste,deleteMockDispatch:mB,buildKey:AO,generateKeyValues:gB,matchValue:ji,getResponse:Rte,getStatusText:uO,mockDispatch:dO,buildMockDispatch:_te,checkNetConnect:pO,buildMockOptions:vte,getHeaderByName:oO,buildHeadersFromArray:yB}});var wB=m((w1e,QB)=>{"use strict";var{getResponseData:Pte,buildKey:Dte,addMockDispatch:CB}=hA(),{kDispatches:op,kDispatchKey:ap,kDefaultHeaders:EB,kDefaultTrailers:BB,kContentLength:IB,kMockDispatch:cp}=qa(),{InvalidArgumentError:li}=ve(),{buildURL:Tte}=Ee(),Ha=class{static{o(this,"MockScope")}constructor(e){this[cp]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new li("waitInMs must be a valid integer > 0");return this[cp].delay=e,this}persist(){return this[cp].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new li("repeatTimes must be a valid integer > 0");return this[cp].times=e,this}},bB=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new li("opts must be an object");if(typeof e.path>"u")throw new li("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=Tte(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[ap]=Dte(e),this[op]=r,this[EB]={},this[BB]={},this[IB]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let i=Pte(r),s=this[IB]?{"content-length":i.length}:{},a={...this[EB],...s,...n.headers},c={...this[BB],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new li("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new li("responseOptions must be an object")}reply(e){if(typeof e=="function"){let s=o(c=>{let l=e(c);if(typeof l!="object"||l===null)throw new li("reply options callback must return an object");let A={data:"",responseOptions:{},...l};return this.validateReplyParameters(A),{...this.createMockScopeDispatchData(A)}},"wrappedDefaultsCallback"),a=CB(this[op],this[ap],s);return new Ha(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),i=CB(this[op],this[ap],n);return new Ha(i)}replyWithError(e){if(typeof e>"u")throw new li("error must be defined");let r=CB(this[op],this[ap],{error:e});return new Ha(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new li("headers must be defined");return this[EB]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new li("trailers must be defined");return this[BB]=e,this}replyContentLength(){return this[IB]=!0,this}};QB.exports.MockInterceptor=bB;QB.exports.MockScope=Ha});var SB=m((x1e,BO)=>{"use strict";var{promisify:Ote}=require("node:util"),Mte=va(),{buildMockDispatch:kte}=hA(),{kDispatches:fO,kMockAgent:mO,kClose:gO,kOriginalClose:yO,kOrigin:CO,kOriginalDispatch:Lte,kConnected:NB}=qa(),{MockInterceptor:Ute}=wB(),EO=tt(),{InvalidArgumentError:Fte}=ve(),xB=class extends Mte{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Fte("Argument opts.agent must implement Agent");this[mO]=r.agent,this[CO]=e,this[fO]=[],this[NB]=1,this[Lte]=this.dispatch,this[yO]=this.close.bind(this),this.dispatch=kte.call(this),this.close=this[gO]}get[EO.kConnected](){return this[NB]}intercept(e){return new Ute(e,this[fO])}async[gO](){await Ote(this[yO])(),this[NB]=0,this[mO][EO.kClients].delete(this[CO])}};BO.exports=xB});var vB=m((R1e,SO)=>{"use strict";var{promisify:qte}=require("node:util"),Hte=Pa(),{buildMockDispatch:zte}=hA(),{kDispatches:IO,kMockAgent:bO,kClose:QO,kOriginalClose:wO,kOrigin:NO,kOriginalDispatch:jte,kConnected:RB}=qa(),{MockInterceptor:Gte}=wB(),xO=tt(),{InvalidArgumentError:Yte}=ve(),_B=class extends Hte{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Yte("Argument opts.agent must implement Agent");this[bO]=r.agent,this[NO]=e,this[IO]=[],this[RB]=1,this[jte]=this.dispatch,this[wO]=this.close.bind(this),this.dispatch=zte.call(this),this.close=this[QO]}get[xO.kConnected](){return this[RB]}intercept(e){return new Gte(e,this[IO])}async[QO](){await qte(this[wO])(),this[RB]=0,this[bO][xO.kClients].delete(this[NO])}};SO.exports=_B});var _O=m((P1e,RO)=>{"use strict";var Jte={pronoun:"it",is:"is",was:"was",this:"this"},Vte={pronoun:"they",is:"are",was:"were",this:"these"};RO.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?Jte:Vte,i=r?this.singular:this.plural;return{...n,count:e,noun:i}}}});var PO=m((O1e,vO)=>{"use strict";var{Transform:Wte}=require("node:stream"),{Console:Kte}=require("node:console"),$te=process.versions.icu?"\u2705":"Y ",Xte=process.versions.icu?"\u274C":"N ";vO.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new Wte({transform(r,n,i){i(null,r)}}),this.logger=new Kte({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:n,path:i,data:{statusCode:s},persist:a,times:c,timesInvoked:l,origin:A})=>({Method:n,Origin:A,Path:i,"Status code":s,Persistent:a?$te:Xte,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var MO=m((k1e,OO)=>{"use strict";var{kClients:mo}=tt(),Zte=Da(),{kAgent:PB,kMockAgentSet:lp,kMockAgentGet:DO,kDispatches:DB,kIsMockActive:Ap,kNetConnect:go,kGetNetConnect:ere,kOptions:up,kFactory:dp}=qa(),tre=SB(),rre=vB(),{matchValue:nre,buildMockOptions:ire}=hA(),{InvalidArgumentError:TO,UndiciError:sre}=ve(),ore=kl(),are=_O(),cre=PO(),TB=class extends ore{static{o(this,"MockAgent")}constructor(e){if(super(e),this[go]=!0,this[Ap]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new TO("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new Zte(e);this[PB]=r,this[mo]=r[mo],this[up]=ire(e)}get(e){let r=this[DO](e);return r||(r=this[dp](e),this[lp](e,r)),r}dispatch(e,r){return this.get(e.origin),this[PB].dispatch(e,r)}async close(){await this[PB].close(),this[mo].clear()}deactivate(){this[Ap]=!1}activate(){this[Ap]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[go])?this[go].push(e):this[go]=[e];else if(typeof e>"u")this[go]=!0;else throw new TO("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[go]=!1}get isMockActive(){return this[Ap]}[lp](e,r){this[mo].set(e,r)}[dp](e){let r=Object.assign({agent:this},this[up]);return this[up]&&this[up].connections===1?new tre(e,r):new rre(e,r)}[DO](e){let r=this[mo].get(e);if(r)return r;if(typeof e!="string"){let n=this[dp]("http://localhost:9999");return this[lp](e,n),n}for(let[n,i]of Array.from(this[mo]))if(i&&typeof n!="string"&&nre(n,e)){let s=this[dp](e);return this[lp](e,s),s[DB]=i[DB],s}}[ere](){return this[go]}pendingInterceptors(){let e=this[mo];return Array.from(e.entries()).flatMap(([r,n])=>n[DB].map(i=>({...i,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new cre}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new are("interceptor","interceptors").pluralize(r.length);throw new sre(`
|
|
${n.count} ${n.noun} ${n.is} pending:
|
|
|
|
${e.format(r)}
|
|
`.trim())}};OO.exports=TB});var pp=m((U1e,FO)=>{"use strict";var kO=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:lre}=ve(),Are=Da();UO()===void 0&&LO(new Are);function LO(t){if(!t||typeof t.dispatch!="function")throw new lre("Argument agent must implement Agent");Object.defineProperty(globalThis,kO,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(LO,"setGlobalDispatcher");function UO(){return globalThis[kO]}o(UO,"getGlobalDispatcher");FO.exports={setGlobalDispatcher:LO,getGlobalDispatcher:UO}});var hp=m((H1e,qO)=>{"use strict";qO.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 zO=m((j1e,HO)=>{"use strict";var ure=Yd();HO.exports=t=>{let e=t?.maxRedirections;return r=>o(function(i,s){let{maxRedirections:a=e,...c}=i;if(!a)return r(i,s);let l=new ure(r,a,i,s);return r(c,l)},"redirectInterceptor")}});var GO=m((Y1e,jO)=>{"use strict";var dre=np();jO.exports=t=>e=>o(function(n,i){return e(n,new dre({...n,retryOptions:{...t,...n.retryOptions}},{handler:i,dispatch:e}))},"retryInterceptor")});var JO=m((V1e,YO)=>{"use strict";var pre=Ee(),{InvalidArgumentError:hre,RequestAbortedError:fre}=ve(),mre=hp(),OB=class extends mre{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#i=!1;#n=!1;#r=0;#s=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new hre("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.#n=!0,this.#s=e}onHeaders(e,r,n,i){let a=pre.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new fre(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#n?!0:this.#o.onHeaders(e,r,n,i)}onError(e){this.#i||(e=this.#s??e,this.#o.onError(e))}onData(e){return this.#r=this.#r+e.length,this.#r>=this.#e&&(this.#i=!0,this.#n?this.#o.onError(this.#s):this.#o.onComplete([])),!0}onComplete(e){if(!this.#i){if(this.#n){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function gre({maxSize:t}={maxSize:1024*1024}){return e=>o(function(n,i){let{dumpMaxSize:s=t}=n,a=new OB({maxSize:s},i);return e(n,a)},"Intercept")}o(gre,"createDumpInterceptor");YO.exports=gre});var KO=m((K1e,WO)=>{"use strict";var{isIP:yre}=require("node:net"),{lookup:Cre}=require("node:dns"),Ere=hp(),{InvalidArgumentError:za,InformationalError:Bre}=ve(),VO=Math.pow(2,31)-1,MB=class{static{o(this,"DNSInstance")}#e=0;#t=0;#i=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.#n,this.pick=e.pick??this.#r}get full(){return this.#i.size===this.#t}runLookup(e,r,n){let i=this.#i.get(e.hostname);if(i==null&&this.full){n(null,e.origin);return}let s={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(i==null)this.lookup(e,s,(a,c)=>{if(a||c==null||c.length===0){n(a??new Bre("No DNS entries found"));return}this.setRecords(e,c);let l=this.#i.get(e.hostname),A=this.pick(e,l,s.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,i,s.affinity);if(a==null){this.#i.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}`)}}#n(e,r,n){Cre(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(i,s)=>{if(i)return n(i);let a=new Map;for(let c of s)a.set(`${c.address}:${c.family}`,c);n(null,a.values())})}#r(e,r,n){let i=null,{records:s,offset:a}=r,c;if(this.dualStack?(n==null&&(a==null||a===VO?(r.offset=0,n=4):(r.offset++,n=(r.offset&1)===1?6:4)),s[n]!=null&&s[n].ips.length>0?c=s[n]:c=s[n===4?6:4]):c=s[n],c==null||c.ips.length===0)return i;c.offset==null||c.offset===VO?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return i=c.ips[l]??null,i==null?i:Date.now()-i.timestamp>i.ttl?(c.ips.splice(l,1),this.pick(e,r,n)):i}setRecords(e,r){let n=Date.now(),i={records:{4:null,6:null}};for(let s of r){s.timestamp=n,typeof s.ttl=="number"?s.ttl=Math.min(s.ttl,this.#e):s.ttl=this.#e;let a=i.records[s.family]??{ips:[]};a.ips.push(s),i.records[s.family]=a}this.#i.set(e.hostname,i)}getHandler(e,r){return new kB(this,e,r)}},kB=class extends Ere{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#i=null;#n=null;#r=null;constructor(e,{origin:r,handler:n,dispatch:i},s){super(n),this.#r=r,this.#n=n,this.#t={...s},this.#e=e,this.#i=i}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#r,this.#t,(r,n)=>{if(r)return this.#n.onError(r);let i={...this.#t,origin:n};this.#i(i,this)});return}this.#n.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#r);default:this.#n.onError(e);break}}};WO.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new za("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new za("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new za("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new za("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new za("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new za("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},i=new MB(n);return s=>o(function(c,l){let A=c.origin.constructor===URL?c.origin:new URL(c.origin);return yre(A.hostname)!==0?s(c,l):(i.runLookup(A,c,(u,d)=>{if(u)return l.onError(u);let f=null;f={...c,servername:A.hostname,origin:d,headers:{host:A.hostname,...c.headers}},s(f,i.getHandler({origin:A,dispatch:s,handler:l},c))}),!0)},"dnsInterceptor")}});var yo=m((X1e,nM)=>{"use strict";var{kConstruct:Ire}=tt(),{kEnumerableProperty:ja}=Ee(),{iteratorMixin:bre,isValidHeaderName:fA,isValidHeaderValue:XO}=Or(),{webidl:Se}=Yt(),LB=require("node:assert"),fp=require("node:util"),Nt=Symbol("headers map"),Lr=Symbol("headers map sorted");function $O(t){return t===10||t===13||t===9||t===32}o($O,"isHTTPWhiteSpaceCharCode");function ZO(t){let e=0,r=t.length;for(;r>e&&$O(t.charCodeAt(r-1));)--r;for(;r>e&&$O(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(ZO,"headerValueNormalize");function eM(t,e){if(Array.isArray(e))for(let r=0;r<e.length;++r){let n=e[r];if(n.length!==2)throw Se.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${n.length}.`});UB(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)UB(t,r[n],e[r[n]])}else throw Se.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}o(eM,"fill");function UB(t,e,r){if(r=ZO(r),fA(e)){if(!XO(r))throw Se.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw Se.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(rM(t)==="immutable")throw new TypeError("immutable");return FB(t).append(e,r,!1)}o(UB,"appendHeader");function tM(t,e){return t[0]<e[0]?-1:1}o(tM,"compareHeaderName");var mp=class t{static{o(this,"HeadersList")}cookies=null;constructor(e){e instanceof t?(this[Nt]=new Map(e[Nt]),this[Lr]=e[Lr],this.cookies=e.cookies===null?null:[...e.cookies]):(this[Nt]=new Map(e),this[Lr]=null)}contains(e,r){return this[Nt].has(r?e:e.toLowerCase())}clear(){this[Nt].clear(),this[Lr]=null,this.cookies=null}append(e,r,n){this[Lr]=null;let i=n?e:e.toLowerCase(),s=this[Nt].get(i);if(s){let a=i==="cookie"?"; ":", ";this[Nt].set(i,{name:s.name,value:`${s.value}${a}${r}`})}else this[Nt].set(i,{name:e,value:r});i==="set-cookie"&&(this.cookies??=[]).push(r)}set(e,r,n){this[Lr]=null;let i=n?e:e.toLowerCase();i==="set-cookie"&&(this.cookies=[r]),this[Nt].set(i,{name:e,value:r})}delete(e,r){this[Lr]=null,r||(e=e.toLowerCase()),e==="set-cookie"&&(this.cookies=null),this[Nt].delete(e)}get(e,r){return this[Nt].get(r?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:r}}of this[Nt])yield[e,r]}get entries(){let e={};if(this[Nt].size!==0)for(let{name:r,value:n}of this[Nt].values())e[r]=n;return e}rawValues(){return this[Nt].values()}get entriesList(){let e=[];if(this[Nt].size!==0)for(let{0:r,1:{name:n,value:i}}of this[Nt])if(r==="set-cookie")for(let s of this.cookies)e.push([n,s]);else e.push([n,i]);return e}toSortedArray(){let e=this[Nt].size,r=new Array(e);if(e<=32){if(e===0)return r;let n=this[Nt][Symbol.iterator](),i=n.next().value;r[0]=[i[0],i[1].value],LB(i[1].value!==null);for(let s=1,a=0,c=0,l=0,A=0,u,d;s<e;++s){for(d=n.next().value,u=r[s]=[d[0],d[1].value],LB(u[1]!==null),l=0,c=s;l<c;)A=l+(c-l>>1),r[A][0]<=u[0]?l=A+1:c=A;if(s!==A){for(a=s;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:i,1:{value:s}}of this[Nt])r[n++]=[i,s],LB(s!==null);return r.sort(tM)}}},Fn=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){Se.util.markAsUncloneable(this),e!==Ire&&(this.#t=new mp,this.#e="none",e!==void 0&&(e=Se.converters.HeadersInit(e,"Headers contructor","init"),eM(this,e)))}append(e,r){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return e=Se.converters.ByteString(e,n,"name"),r=Se.converters.ByteString(r,n,"value"),UB(this,e,r)}delete(e){if(Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,1,"Headers.delete"),e=Se.converters.ByteString(e,"Headers.delete","name"),!fA(e))throw Se.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){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=Se.converters.ByteString(e,r,"name"),!fA(e))throw Se.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=Se.converters.ByteString(e,r,"name"),!fA(e))throw Se.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(e=Se.converters.ByteString(e,n,"name"),r=Se.converters.ByteString(r,n,"value"),r=ZO(r),fA(e)){if(!XO(r))throw Se.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw Se.errors.invalidArgument({prefix:n,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){Se.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 i=0;i<r.length;++i){let{0:s,1:a}=r[i];if(s==="set-cookie")for(let c=0;c<n.length;++c)e.push([s,n[c]]);else e.push([s,a])}return this.#t[Lr]=e}[fp.inspect.custom](e,r){return r.depth??=e,`Headers ${fp.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:rM,setHeadersGuard:Qre,getHeadersList:FB,setHeadersList:wre}=Fn;Reflect.deleteProperty(Fn,"getHeadersGuard");Reflect.deleteProperty(Fn,"setHeadersGuard");Reflect.deleteProperty(Fn,"getHeadersList");Reflect.deleteProperty(Fn,"setHeadersList");bre("Headers",Fn,Lr,0,1);Object.defineProperties(Fn.prototype,{append:ja,delete:ja,get:ja,has:ja,set:ja,getSetCookie:ja,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[fp.inspect.custom]:{enumerable:!1}});Se.converters.HeadersInit=function(t,e,r){if(Se.util.Type(t)==="Object"){let n=Reflect.get(t,Symbol.iterator);if(!fp.types.isProxy(t)&&n===Fn.prototype.entries)try{return FB(t).entriesList}catch{}return typeof n=="function"?Se.converters["sequence<sequence<ByteString>>"](t,e,r,n.bind(t)):Se.converters["record<ByteString, ByteString>"](t,e,r)}throw Se.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};nM.exports={fill:eM,compareHeaderName:tM,Headers:Fn,HeadersList:mp,getHeadersGuard:rM,setHeadersGuard:Qre,setHeadersList:wre,getHeadersList:FB}});var gA=m((e2e,fM)=>{"use strict";var{Headers:lM,HeadersList:iM,fill:Nre,getHeadersGuard:xre,setHeadersGuard:AM,setHeadersList:uM}=yo(),{extractBody:sM,cloneBody:Sre,mixinBody:Rre,hasFinalizationRegistry:dM,streamRegistry:pM,bodyUnusable:_re}=Qa(),qB=Ee(),oM=require("node:util"),{kEnumerableProperty:Ur}=qB,{isValidReasonPhrase:vre,isCancelled:Pre,isAborted:Dre,isBlobLike:Tre,serializeJavascriptValueToJSONString:Ore,isErrorLike:Mre,isomorphicEncode:kre,environmentSettingsObject:Lre}=Or(),{redirectStatusSet:Ure,nullBodyStatus:Fre}=Fl(),{kState:rt,kHeaders:Gi}=ls(),{webidl:me}=Yt(),{FormData:qre}=Yl(),{URLSerializer:aM}=gr(),{kConstruct:yp}=tt(),HB=require("node:assert"),{types:Hre}=require("node:util"),zre=new TextEncoder("utf-8"),Co=class t{static{o(this,"Response")}static error(){return mA(Cp(),"immutable")}static json(e,r={}){me.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=me.converters.ResponseInit(r));let n=zre.encode(Ore(e)),i=sM(n),s=mA(Ga({}),"response");return cM(s,r,{body:i[0],type:"application/json"}),s}static redirect(e,r=302){me.argumentLengthCheck(arguments,1,"Response.redirect"),e=me.converters.USVString(e),r=me.converters["unsigned short"](r);let n;try{n=new URL(e,Lre.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!Ure.has(r))throw new RangeError(`Invalid status code ${r}`);let i=mA(Ga({}),"immutable");i[rt].status=r;let s=kre(aM(n));return i[rt].headersList.append("location",s,!0),i}constructor(e=null,r={}){if(me.util.markAsUncloneable(this),e===yp)return;e!==null&&(e=me.converters.BodyInit(e)),r=me.converters.ResponseInit(r),this[rt]=Ga({}),this[Gi]=new lM(yp),AM(this[Gi],"response"),uM(this[Gi],this[rt].headersList);let n=null;if(e!=null){let[i,s]=sM(e);n={body:i,type:s}}cM(this,r,n)}get type(){return me.brandCheck(this,t),this[rt].type}get url(){me.brandCheck(this,t);let e=this[rt].urlList,r=e[e.length-1]??null;return r===null?"":aM(r,!0)}get redirected(){return me.brandCheck(this,t),this[rt].urlList.length>1}get status(){return me.brandCheck(this,t),this[rt].status}get ok(){return me.brandCheck(this,t),this[rt].status>=200&&this[rt].status<=299}get statusText(){return me.brandCheck(this,t),this[rt].statusText}get headers(){return me.brandCheck(this,t),this[Gi]}get body(){return me.brandCheck(this,t),this[rt].body?this[rt].body.stream:null}get bodyUsed(){return me.brandCheck(this,t),!!this[rt].body&&qB.isDisturbed(this[rt].body.stream)}clone(){if(me.brandCheck(this,t),_re(this))throw me.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=zB(this[rt]);return dM&&this[rt].body?.stream&&pM.register(this,new WeakRef(this[rt].body.stream)),mA(e,xre(this[Gi]))}[oM.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 ${oM.formatWithOptions(r,n)}`}};Rre(Co);Object.defineProperties(Co.prototype,{type:Ur,url:Ur,status:Ur,ok:Ur,redirected:Ur,statusText:Ur,headers:Ur,clone:Ur,body:Ur,bodyUsed:Ur,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(Co,{json:Ur,redirect:Ur,error:Ur});function zB(t){if(t.internalResponse)return hM(zB(t.internalResponse),t.type);let e=Ga({...t,body:null});return t.body!=null&&(e.body=Sre(e,t.body)),e}o(zB,"cloneResponse");function Ga(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new iM(t?.headersList):new iM,urlList:t?.urlList?[...t.urlList]:[]}}o(Ga,"makeResponse");function Cp(t){let e=Mre(t);return Ga({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(Cp,"makeNetworkError");function jre(t){return t.type==="error"&&t.status===0}o(jre,"isNetworkError");function gp(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,n){return n in e?e[n]:r[n]},set(r,n,i){return HB(!(n in e)),r[n]=i,!0}})}o(gp,"makeFilteredResponse");function hM(t,e){if(e==="basic")return gp(t,{type:"basic",headersList:t.headersList});if(e==="cors")return gp(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return gp(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return gp(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});HB(!1)}o(hM,"filterResponse");function Gre(t,e=null){return HB(Pre(t)),Dre(t)?Cp(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):Cp(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(Gre,"makeAppropriateNetworkError");function cM(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&&!vre(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[rt].status=e.status),"statusText"in e&&e.statusText!=null&&(t[rt].statusText=e.statusText),"headers"in e&&e.headers!=null&&Nre(t[Gi],e.headers),r){if(Fre.includes(t.status))throw me.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[rt].body=r.body,r.type!=null&&!t[rt].headersList.contains("content-type",!0)&&t[rt].headersList.append("content-type",r.type,!0)}}o(cM,"initializeResponse");function mA(t,e){let r=new Co(yp);return r[rt]=t,r[Gi]=new lM(yp),uM(r[Gi],t.headersList),AM(r[Gi],e),dM&&t.body?.stream&&pM.register(r,new WeakRef(t.body.stream)),r}o(mA,"fromInnerResponse");me.converters.ReadableStream=me.interfaceConverter(ReadableStream);me.converters.FormData=me.interfaceConverter(qre);me.converters.URLSearchParams=me.interfaceConverter(URLSearchParams);me.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?me.converters.USVString(t,e,r):Tre(t)?me.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||Hre.isArrayBuffer(t)?me.converters.BufferSource(t,e,r):qB.isFormDataLike(t)?me.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?me.converters.URLSearchParams(t,e,r):me.converters.DOMString(t,e,r)};me.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?me.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:me.converters.XMLHttpRequestBodyInit(t,e,r)};me.converters.ResponseInit=me.dictionaryConverter([{key:"status",converter:me.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:me.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:me.converters.HeadersInit}]);fM.exports={isNetworkError:jre,makeNetworkError:Cp,makeResponse:Ga,makeAppropriateNetworkError:Gre,filterResponse:hM,Response:Co,cloneResponse:zB,fromInnerResponse:mA}});var CM=m((r2e,yM)=>{"use strict";var{kConnected:mM,kSize:gM}=tt(),jB=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[mM]===0&&this.value[gM]===0?void 0:this.value}},GB=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[mM]===0&&e[gM]===0&&this.finalizer(r)})}unregister(e){}};yM.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:jB,FinalizationRegistry:GB}):{WeakRef,FinalizationRegistry}}});var Ya=m((i2e,TM)=>{"use strict";var{extractBody:Yre,mixinBody:Jre,cloneBody:Vre,bodyUnusable:EM}=Qa(),{Headers:RM,fill:Wre,HeadersList:bp,setHeadersGuard:JB,getHeadersGuard:Kre,setHeadersList:_M,getHeadersList:BM}=yo(),{FinalizationRegistry:$re}=CM()(),Bp=Ee(),IM=require("node:util"),{isValidHTTPToken:Xre,sameOrigin:bM,environmentSettingsObject:Ep}=Or(),{forbiddenMethodsSet:Zre,corsSafeListedMethodsSet:ene,referrerPolicy:tne,requestRedirect:rne,requestMode:nne,requestCredentials:ine,requestCache:sne,requestDuplex:one}=Fl(),{kEnumerableProperty:xt,normalizedMethodRecordsBase:ane,normalizedMethodRecords:cne}=Bp,{kHeaders:Fr,kSignal:Ip,kState:Xe,kDispatcher:YB}=ls(),{webidl:ae}=Yt(),{URLSerializer:lne}=gr(),{kConstruct:Qp}=tt(),Ane=require("node:assert"),{getMaxListeners:QM,setMaxListeners:wM,getEventListeners:une,defaultMaxListeners:NM}=require("node:events"),dne=Symbol("abortController"),vM=new $re(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),wp=new WeakMap;function xM(t){return e;function e(){let r=t.deref();if(r!==void 0){vM.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=wp.get(r.signal);if(n!==void 0){if(n.size!==0){for(let i of n){let s=i.deref();s!==void 0&&s.abort(this.reason)}n.clear()}wp.delete(r.signal)}}}}o(xM,"buildAbort");var SM=!1,Bs=class t{static{o(this,"Request")}constructor(e,r={}){if(ae.util.markAsUncloneable(this),e===Qp)return;let n="Request constructor";ae.argumentLengthCheck(arguments,1,n),e=ae.converters.RequestInfo(e,n,"input"),r=ae.converters.RequestInit(r,n,"init");let i=null,s=null,a=Ep.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[YB]=r.dispatcher;let w;try{w=new URL(e,a)}catch(R){throw new TypeError("Failed to parse URL from "+e,{cause:R})}if(w.username||w.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);i=Np({urlList:[w]}),s="cors"}else this[YB]=r.dispatcher||e[YB],Ane(e instanceof t),i=e[Xe],c=e[Ip];let l=Ep.settingsObject.origin,A="client";if(i.window?.constructor?.name==="EnvironmentSettingsObject"&&bM(i.window,l)&&(A=i.window),r.window!=null)throw new TypeError(`'window' option '${A}' must be null`);"window"in r&&(A="no-window"),i=Np({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:Ep.settingsObject,window:A,priority:i.priority,origin:i.origin,referrer:i.referrer,referrerPolicy:i.referrerPolicy,mode:i.mode,credentials:i.credentials,cache:i.cache,redirect:i.redirect,integrity:i.integrity,keepalive:i.keepalive,reloadNavigation:i.reloadNavigation,historyNavigation:i.historyNavigation,urlList:[...i.urlList]});let u=Object.keys(r).length!==0;if(u&&(i.mode==="navigate"&&(i.mode="same-origin"),i.reloadNavigation=!1,i.historyNavigation=!1,i.origin="client",i.referrer="client",i.referrerPolicy="",i.url=i.urlList[i.urlList.length-1],i.urlList=[i.url]),r.referrer!==void 0){let w=r.referrer;if(w==="")i.referrer="no-referrer";else{let R;try{R=new URL(w,a)}catch(T){throw new TypeError(`Referrer "${w}" is not a valid URL.`,{cause:T})}R.protocol==="about:"&&R.hostname==="client"||l&&!bM(R,Ep.settingsObject.baseUrl)?i.referrer="client":i.referrer=R}}r.referrerPolicy!==void 0&&(i.referrerPolicy=r.referrerPolicy);let d;if(r.mode!==void 0?d=r.mode:d=s,d==="navigate")throw ae.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(d!=null&&(i.mode=d),r.credentials!==void 0&&(i.credentials=r.credentials),r.cache!==void 0&&(i.cache=r.cache),i.cache==="only-if-cached"&&i.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(i.redirect=r.redirect),r.integrity!=null&&(i.integrity=String(r.integrity)),r.keepalive!==void 0&&(i.keepalive=!!r.keepalive),r.method!==void 0){let w=r.method,R=cne[w];if(R!==void 0)i.method=R;else{if(!Xre(w))throw new TypeError(`'${w}' is not a valid HTTP method.`);let T=w.toUpperCase();if(Zre.has(T))throw new TypeError(`'${w}' HTTP method is unsupported.`);w=ane[T]??w,i.method=w}!SM&&i.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"}),SM=!0)}r.signal!==void 0&&(c=r.signal),this[Xe]=i;let f=new AbortController;if(this[Ip]=f.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)f.abort(c.reason);else{this[dne]=f;let w=new WeakRef(f),R=xM(w);try{(typeof QM=="function"&&QM(c)===NM||une(c,"abort").length>=NM)&&wM(1500,c)}catch{}Bp.addAbortListener(c,R),vM.register(f,{signal:c,abort:R},R)}}if(this[Fr]=new RM(Qp),_M(this[Fr],i.headersList),JB(this[Fr],"request"),d==="no-cors"){if(!ene.has(i.method))throw new TypeError(`'${i.method} is unsupported in no-cors mode.`);JB(this[Fr],"request-no-cors")}if(u){let w=BM(this[Fr]),R=r.headers!==void 0?r.headers:new bp(w);if(w.clear(),R instanceof bp){for(let{name:T,value:L}of R.rawValues())w.append(T,L,!1);w.cookies=R.cookies}else Wre(this[Fr],R)}let g=e instanceof t?e[Xe].body:null;if((r.body!=null||g!=null)&&(i.method==="GET"||i.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let C=null;if(r.body!=null){let[w,R]=Yre(r.body,i.keepalive);C=w,R&&!BM(this[Fr]).contains("content-type",!0)&&this[Fr].append("content-type",R)}let Q=C??g;if(Q!=null&&Q.source==null){if(C!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(i.mode!=="same-origin"&&i.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');i.useCORSPreflightFlag=!0}let S=Q;if(C==null&&g!=null){if(EM(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let w=new TransformStream;g.stream.pipeThrough(w),S={source:g.source,length:g.length,stream:w.readable}}this[Xe].body=S}get method(){return ae.brandCheck(this,t),this[Xe].method}get url(){return ae.brandCheck(this,t),lne(this[Xe].url)}get headers(){return ae.brandCheck(this,t),this[Fr]}get destination(){return ae.brandCheck(this,t),this[Xe].destination}get referrer(){return ae.brandCheck(this,t),this[Xe].referrer==="no-referrer"?"":this[Xe].referrer==="client"?"about:client":this[Xe].referrer.toString()}get referrerPolicy(){return ae.brandCheck(this,t),this[Xe].referrerPolicy}get mode(){return ae.brandCheck(this,t),this[Xe].mode}get credentials(){return this[Xe].credentials}get cache(){return ae.brandCheck(this,t),this[Xe].cache}get redirect(){return ae.brandCheck(this,t),this[Xe].redirect}get integrity(){return ae.brandCheck(this,t),this[Xe].integrity}get keepalive(){return ae.brandCheck(this,t),this[Xe].keepalive}get isReloadNavigation(){return ae.brandCheck(this,t),this[Xe].reloadNavigation}get isHistoryNavigation(){return ae.brandCheck(this,t),this[Xe].historyNavigation}get signal(){return ae.brandCheck(this,t),this[Ip]}get body(){return ae.brandCheck(this,t),this[Xe].body?this[Xe].body.stream:null}get bodyUsed(){return ae.brandCheck(this,t),!!this[Xe].body&&Bp.isDisturbed(this[Xe].body.stream)}get duplex(){return ae.brandCheck(this,t),"half"}clone(){if(ae.brandCheck(this,t),EM(this))throw new TypeError("unusable");let e=PM(this[Xe]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=wp.get(this.signal);n===void 0&&(n=new Set,wp.set(this.signal,n));let i=new WeakRef(r);n.add(i),Bp.addAbortListener(r.signal,xM(i))}return DM(e,r.signal,Kre(this[Fr]))}[IM.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 ${IM.formatWithOptions(r,n)}`}};Jre(Bs);function Np(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 bp(t.headersList):new bp}}o(Np,"makeRequest");function PM(t){let e=Np({...t,body:null});return t.body!=null&&(e.body=Vre(e,t.body)),e}o(PM,"cloneRequest");function DM(t,e,r){let n=new Bs(Qp);return n[Xe]=t,n[Ip]=e,n[Fr]=new RM(Qp),_M(n[Fr],t.headersList),JB(n[Fr],r),n}o(DM,"fromInnerRequest");Object.defineProperties(Bs.prototype,{method:xt,url:xt,headers:xt,redirect:xt,clone:xt,signal:xt,duplex:xt,destination:xt,body:xt,bodyUsed:xt,isHistoryNavigation:xt,isReloadNavigation:xt,keepalive:xt,integrity:xt,cache:xt,credentials:xt,attribute:xt,referrerPolicy:xt,referrer:xt,mode:xt,[Symbol.toStringTag]:{value:"Request",configurable:!0}});ae.converters.Request=ae.interfaceConverter(Bs);ae.converters.RequestInfo=function(t,e,r){return typeof t=="string"?ae.converters.USVString(t,e,r):t instanceof Bs?ae.converters.Request(t,e,r):ae.converters.USVString(t,e,r)};ae.converters.AbortSignal=ae.interfaceConverter(AbortSignal);ae.converters.RequestInit=ae.dictionaryConverter([{key:"method",converter:ae.converters.ByteString},{key:"headers",converter:ae.converters.HeadersInit},{key:"body",converter:ae.nullableConverter(ae.converters.BodyInit)},{key:"referrer",converter:ae.converters.USVString},{key:"referrerPolicy",converter:ae.converters.DOMString,allowedValues:tne},{key:"mode",converter:ae.converters.DOMString,allowedValues:nne},{key:"credentials",converter:ae.converters.DOMString,allowedValues:ine},{key:"cache",converter:ae.converters.DOMString,allowedValues:sne},{key:"redirect",converter:ae.converters.DOMString,allowedValues:rne},{key:"integrity",converter:ae.converters.DOMString},{key:"keepalive",converter:ae.converters.boolean},{key:"signal",converter:ae.nullableConverter(t=>ae.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:ae.converters.any},{key:"duplex",converter:ae.converters.DOMString,allowedValues:one},{key:"dispatcher",converter:ae.converters.any}]);TM.exports={Request:Bs,makeRequest:Np,fromInnerRequest:DM,cloneRequest:PM}});var CA=m((o2e,WM)=>{"use strict";var{makeNetworkError:He,makeAppropriateNetworkError:xp,filterResponse:VB,makeResponse:Sp,fromInnerResponse:pne}=gA(),{HeadersList:OM}=yo(),{Request:hne,cloneRequest:fne}=Ya(),Is=require("node:zlib"),{bytesMatch:mne,makePolicyContainer:gne,clonePolicyContainer:yne,requestBadPort:Cne,TAOCheck:Ene,appendRequestOriginHeader:Bne,responseLocationURL:Ine,requestCurrentURL:Ai,setRequestReferrerPolicyOnRedirect:bne,tryUpgradeRequestToAPotentiallyTrustworthyURL:Qne,createOpaqueTimingInfo:ZB,appendFetchMetadata:wne,corsCheck:Nne,crossOriginResourcePolicyCheck:xne,determineRequestsReferrer:Sne,coarsenedSharedCurrentTime:yA,createDeferredPromise:Rne,isBlobLike:_ne,sameOrigin:XB,isCancelled:Eo,isAborted:MM,isErrorLike:vne,fullyReadBody:Pne,readableStreamClose:Dne,isomorphicEncode:Rp,urlIsLocal:Tne,urlIsHttpHttpsScheme:eI,urlHasHttpsScheme:One,clampAndCoarsenConnectionTimingInfo:Mne,simpleRangeHeaderValue:kne,buildContentRange:Lne,createInflate:Une,extractMimeType:Fne}=Or(),{kState:FM,kDispatcher:qne}=ls(),Bo=require("node:assert"),{safelyExtractBody:tI,extractBody:kM}=Qa(),{redirectStatusSet:qM,nullBodyStatus:HM,safeMethodsSet:Hne,requestBodyHeader:zne,subresourceSet:jne}=Fl(),Gne=require("node:events"),{Readable:Yne,pipeline:Jne,finished:Vne}=require("node:stream"),{addAbortListener:Wne,isErrored:Kne,isReadable:_p,bufferToLowerCasedHeaderName:LM}=Ee(),{dataURLProcessor:$ne,serializeAMimeType:Xne,minimizeSupportedMimeType:Zne}=gr(),{getGlobalDispatcher:eie}=pp(),{webidl:tie}=Yt(),{STATUS_CODES:rie}=require("node:http"),nie=["GET","HEAD"],iie=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",WB,vp=class extends Gne{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 sie(t){zM(t,"fetch")}o(sie,"handleFetchDone");function oie(t,e=void 0){tie.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=Rne(),n;try{n=new hne(t,e)}catch(u){return r.reject(u),r.promise}let i=n[FM];if(n.signal.aborted)return KB(r,i,null,n.signal.reason),r.promise;i.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(i.serviceWorkers="none");let a=null,c=!1,l=null;return Wne(n.signal,()=>{c=!0,Bo(l!=null),l.abort(n.signal.reason);let u=a?.deref();KB(r,i,u,n.signal.reason)}),l=GM({request:i,processResponseEndOfBody:sie,processResponse:o(u=>{if(!c){if(u.aborted){KB(r,i,a,l.serializedAbortReason);return}if(u.type==="error"){r.reject(new TypeError("fetch failed",{cause:u.error}));return}a=new WeakRef(pne(u,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[qne]}),r.promise}o(oie,"fetch");function zM(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,i=t.cacheState;eI(r)&&n!==null&&(t.timingAllowPassed||(n=ZB({startTime:n.startTime}),i=""),n.endTime=yA(),t.timingInfo=n,jM(n,r.href,e,globalThis,i))}o(zM,"finalizeAndReportTiming");var jM=performance.markResourceTiming;function KB(t,e,r,n){if(t&&t.reject(n),e.body!=null&&_p(e.body?.stream)&&e.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s}),r==null)return;let i=r[FM];i.body!=null&&_p(i.body?.stream)&&i.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s})}o(KB,"abortFetch");function GM({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:a=!1,dispatcher:c=eie()}){Bo(c);let l=null,A=!1;t.client!=null&&(l=t.client.globalObject,A=t.client.crossOriginIsolatedCapability);let u=yA(A),d=ZB({startTime:u}),f={controller:new vp(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:i,taskDestination:l,crossOriginIsolatedCapability:A};return Bo(!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=yne(t.client.policyContainer):t.policyContainer=gne()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,jne.has(t.destination),YM(f).catch(g=>{f.controller.terminate(g)}),f.controller}o(GM,"fetching");async function YM(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!Tne(Ai(r))&&(n=He("local URLs only")),Qne(r),Cne(r)==="blocked"&&(n=He("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=Sne(r)),n===null&&(n=await(async()=>{let s=Ai(r);return XB(s,r.url)&&r.responseTainting==="basic"||s.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await UM(t)):r.mode==="same-origin"?He('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?He('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await UM(t)):eI(Ai(r))?(r.responseTainting="cors",await JM(t)):He("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=VB(n,"basic"):r.responseTainting==="cors"?n=VB(n,"cors"):r.responseTainting==="opaque"?n=VB(n,"opaque"):Bo(!1));let i=n.status===0?n:n.internalResponse;if(i.urlList.length===0&&i.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),n.type==="opaque"&&i.status===206&&i.rangeRequested&&!r.headers.contains("range",!0)&&(n=i=He()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||HM.includes(i.status))&&(i.body=null,t.controller.dump=!0),r.integrity){let s=o(c=>$B(t,He(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){s(n.error);return}let a=o(c=>{if(!mne(c,r.integrity)){s("integrity mismatch");return}n.body=tI(c)[0],$B(t,n)},"processBody");await Pne(n.body,a,s)}else $B(t,n)}o(YM,"mainFetch");function UM(t){if(Eo(t)&&t.request.redirectCount===0)return Promise.resolve(xp(t));let{request:e}=t,{protocol:r}=Ai(e);switch(r){case"about:":return Promise.resolve(He("about scheme is not supported"));case"blob:":{WB||(WB=require("node:buffer").resolveObjectURL);let n=Ai(e);if(n.search.length!==0)return Promise.resolve(He("NetworkError when attempting to fetch resource."));let i=WB(n.toString());if(e.method!=="GET"||!_ne(i))return Promise.resolve(He("invalid method"));let s=Sp(),a=i.size,c=Rp(`${a}`),l=i.type;if(e.headersList.contains("range",!0)){s.rangeRequested=!0;let A=e.headersList.get("range",!0),u=kne(A,!0);if(u==="failure")return Promise.resolve(He("failed to fetch the data URL"));let{rangeStartValue:d,rangeEndValue:f}=u;if(d===null)d=a-f,f=d+f-1;else{if(d>=a)return Promise.resolve(He("Range start is greater than the blob's size."));(f===null||f>=a)&&(f=a-1)}let g=i.slice(d,f,l),C=kM(g);s.body=C[0];let Q=Rp(`${g.size}`),S=Lne(d,f,a);s.status=206,s.statusText="Partial Content",s.headersList.set("content-length",Q,!0),s.headersList.set("content-type",l,!0),s.headersList.set("content-range",S,!0)}else{let A=kM(i);s.statusText="OK",s.body=A[0],s.headersList.set("content-length",c,!0),s.headersList.set("content-type",l,!0)}return Promise.resolve(s)}case"data:":{let n=Ai(e),i=$ne(n);if(i==="failure")return Promise.resolve(He("failed to fetch the data URL"));let s=Xne(i.mimeType);return Promise.resolve(Sp({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:tI(i.body)[0]}))}case"file:":return Promise.resolve(He("not implemented... yet..."));case"http:":case"https:":return JM(t).catch(n=>He(n));default:return Promise.resolve(He("unknown scheme"))}}o(UM,"schemeFetch");function aie(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(aie,"finalizeResponse");function $B(t,e){let r=t.timingInfo,n=o(()=>{let s=Date.now();t.request.destination==="document"&&(t.controller.fullTimingInfo=r),t.controller.reportTimingSteps=()=>{if(t.request.url.protocol!=="https:")return;r.endTime=s;let c=e.cacheState,l=e.bodyInfo;e.timingAllowPassed||(r=ZB(r),c="");let A=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){A=e.status;let u=Fne(e.headersList);u!=="failure"&&(l.contentType=Zne(u))}t.request.initiatorType!=null&&jM(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 i=e.type==="error"?e:e.internalResponse??e;i.body==null?n():Vne(i.body.stream,()=>{n()})}o($B,"fetchFinale");async function JM(t){let e=t.request,r=null,n=null,i=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),n=r=await VM(t),e.responseTainting==="cors"&&Nne(e,r)==="failure")return He("cors failure");Ene(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&xne(e.origin,e.client,e.destination,n)==="blocked"?He("blocked"):(qM.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=He("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await cie(t,r):Bo(!1)),r.timingInfo=i,r)}o(JM,"httpFetch");function cie(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,i;try{if(i=Ine(n,Ai(r).hash),i==null)return e}catch(a){return Promise.resolve(He(a))}if(!eI(i))return Promise.resolve(He("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(He("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!XB(r,i))return Promise.resolve(He('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(He('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(He());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!nie.includes(r.method)){r.method="GET",r.body=null;for(let a of zne)r.headersList.delete(a)}XB(Ai(r),i)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&(Bo(r.body.source!=null),r.body=tI(r.body.source)[0]);let s=t.timingInfo;return s.redirectEndTime=s.postRedirectStartTime=yA(t.crossOriginIsolatedCapability),s.redirectStartTime===0&&(s.redirectStartTime=s.startTime),r.urlList.push(i),bne(r,n),YM(t,!0)}o(cie,"httpRedirectFetch");async function VM(t,e=!1,r=!1){let n=t.request,i=null,s=null,a=null,c=null,l=!1;n.window==="no-window"&&n.redirect==="error"?(i=t,s=n):(s=fne(n),i={...t},i.request=s);let A=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",u=s.body?s.body.length:null,d=null;if(s.body==null&&["POST","PUT"].includes(s.method)&&(d="0"),u!=null&&(d=Rp(`${u}`)),d!=null&&s.headersList.append("content-length",d,!0),u!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append("referer",Rp(s.referrer.href),!0),Bne(s),wne(s),s.headersList.contains("user-agent",!0)||s.headersList.append("user-agent",iie),s.cache==="default"&&(s.headersList.contains("if-modified-since",!0)||s.headersList.contains("if-none-match",!0)||s.headersList.contains("if-unmodified-since",!0)||s.headersList.contains("if-match",!0)||s.headersList.contains("if-range",!0))&&(s.cache="no-store"),s.cache==="no-cache"&&!s.preventNoCacheCacheControlHeaderModification&&!s.headersList.contains("cache-control",!0)&&s.headersList.append("cache-control","max-age=0",!0),(s.cache==="no-store"||s.cache==="reload")&&(s.headersList.contains("pragma",!0)||s.headersList.append("pragma","no-cache",!0),s.headersList.contains("cache-control",!0)||s.headersList.append("cache-control","no-cache",!0)),s.headersList.contains("range",!0)&&s.headersList.append("accept-encoding","identity",!0),s.headersList.contains("accept-encoding",!0)||(One(Ai(s))?s.headersList.append("accept-encoding","br, gzip, deflate",!0):s.headersList.append("accept-encoding","gzip, deflate",!0)),s.headersList.delete("host",!0),c==null&&(s.cache="no-store"),s.cache!=="no-store"&&s.cache,a==null){if(s.cache==="only-if-cached")return He("only if cached");let f=await lie(i,A,r);!Hne.has(s.method)&&f.status>=200&&f.status<=399,l&&f.status,a==null&&(a=f)}if(a.urlList=[...s.urlList],s.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=A,a.status===407)return n.window==="no-window"?He():Eo(t)?xp(t):He("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(Eo(t))return xp(t);t.controller.connection.destroy(),a=await VM(t,e,!0)}return a}o(VM,"httpNetworkOrCacheFetch");async function lie(t,e=!1,r=!1){Bo(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(C,Q=!0){this.destroyed||(this.destroyed=!0,Q&&this.abort?.(C??new DOMException("The operation was aborted.","AbortError")))}};let n=t.request,i=null,s=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 C=o(async function*(w){Eo(t)||(yield w,t.processRequestBodyChunkLength?.(w.byteLength))},"processBodyChunk"),Q=o(()=>{Eo(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),S=o(w=>{Eo(t)||(w.name==="AbortError"?t.controller.abort():t.controller.terminate(w))},"processBodyError");l=async function*(){try{for await(let w of n.body.stream)yield*C(w);Q()}catch(w){S(w)}}()}try{let{body:C,status:Q,statusText:S,headersList:w,socket:R}=await g({body:l});if(R)i=Sp({status:Q,statusText:S,headersList:w,socket:R});else{let T=C[Symbol.asyncIterator]();t.controller.next=()=>T.next(),i=Sp({status:Q,statusText:S,headersList:w})}}catch(C){return C.name==="AbortError"?(t.controller.connection.destroy(),xp(t,C)):He(C)}let A=o(async()=>{await t.controller.resume()},"pullAlgorithm"),u=o(C=>{Eo(t)||t.controller.abort(C)},"cancelAlgorithm"),d=new ReadableStream({async start(C){t.controller.controller=C},async pull(C){await A(C)},async cancel(C){await u(C)},type:"bytes"});i.body={stream:d,source:null,length:null},t.controller.onAborted=f,t.controller.on("terminated",f),t.controller.resume=async()=>{for(;;){let C,Q;try{let{done:w,value:R}=await t.controller.next();if(MM(t))break;C=w?void 0:R}catch(w){t.controller.ended&&!s.encodedBodySize?C=void 0:(C=w,Q=!0)}if(C===void 0){Dne(t.controller.controller),aie(t,i);return}if(s.decodedBodySize+=C?.byteLength??0,Q){t.controller.terminate(C);return}let S=new Uint8Array(C);if(S.byteLength&&t.controller.controller.enqueue(S),Kne(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function f(C){MM(t)?(i.aborted=!0,_p(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):_p(d)&&t.controller.controller.error(new TypeError("terminated",{cause:vne(C)?C:void 0})),t.controller.connection.destroy()}return o(f,"onAborted"),i;function g({body:C}){let Q=Ai(n),S=t.controller.dispatcher;return new Promise((w,R)=>S.dispatch({path:Q.pathname+Q.search,origin:Q.origin,method:n.method,body:S.isMockActive?n.body&&(n.body.source||n.body.stream):C,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(T){let{connection:L}=t.controller;s.finalConnectionTimingInfo=Mne(void 0,s.postRedirectStartTime,t.crossOriginIsolatedCapability),L.destroyed?T(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",T),this.abort=L.abort=T),s.finalNetworkRequestStartTime=yA(t.crossOriginIsolatedCapability)},onResponseStarted(){s.finalNetworkResponseStartTime=yA(t.crossOriginIsolatedCapability)},onHeaders(T,L,W,de){if(T<200)return;let le="",De=new OM;for(let fe=0;fe<L.length;fe+=2)De.append(LM(L[fe]),L[fe+1].toString("latin1"),!0);le=De.get("location",!0),this.body=new Yne({read:W});let Te=[],qe=le&&n.redirect==="follow"&&qM.has(T);if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!HM.includes(T)&&!qe){let fe=De.get("content-encoding",!0),je=fe?fe.toLowerCase().split(","):[],Kn=5;if(je.length>Kn)return R(new Error(`too many content-encodings in response: ${je.length}, maximum allowed is ${Kn}`)),!0;for(let Pi=je.length-1;Pi>=0;--Pi){let Di=je[Pi].trim();if(Di==="x-gzip"||Di==="gzip")Te.push(Is.createGunzip({flush:Is.constants.Z_SYNC_FLUSH,finishFlush:Is.constants.Z_SYNC_FLUSH}));else if(Di==="deflate")Te.push(Une({flush:Is.constants.Z_SYNC_FLUSH,finishFlush:Is.constants.Z_SYNC_FLUSH}));else if(Di==="br")Te.push(Is.createBrotliDecompress({flush:Is.constants.BROTLI_OPERATION_FLUSH,finishFlush:Is.constants.BROTLI_OPERATION_FLUSH}));else{Te.length=0;break}}}let $e=this.onError.bind(this);return w({status:T,statusText:de,headersList:De,body:Te.length?Jne(this.body,...Te,fe=>{fe&&this.onError(fe)}).on("error",$e):this.body.on("error",$e)}),!0},onData(T){if(t.controller.dump)return;let L=T;return s.encodedBodySize+=L.byteLength,this.body.push(L)},onComplete(){this.abort&&t.controller.off("terminated",this.abort),t.controller.onAborted&&t.controller.off("terminated",t.controller.onAborted),t.controller.ended=!0,this.body.push(null)},onError(T){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(T),t.controller.terminate(T),R(T)},onUpgrade(T,L,W){if(T!==101)return;let de=new OM;for(let le=0;le<L.length;le+=2)de.append(LM(L[le]),L[le+1].toString("latin1"),!0);return w({status:T,statusText:rie[T],headersList:de,socket:W}),!0}}))}o(g,"dispatch")}o(lie,"httpNetworkFetch");WM.exports={fetch:oie,Fetch:vp,fetching:GM,finalizeAndReportTiming:zM}});var rI=m((c2e,KM)=>{"use strict";KM.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 XM=m((l2e,$M)=>{"use strict";var{webidl:qr}=Yt(),Pp=Symbol("ProgressEvent state"),nI=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=qr.converters.DOMString(e,"ProgressEvent constructor","type"),r=qr.converters.ProgressEventInit(r??{}),super(e,r),this[Pp]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return qr.brandCheck(this,t),this[Pp].lengthComputable}get loaded(){return qr.brandCheck(this,t),this[Pp].loaded}get total(){return qr.brandCheck(this,t),this[Pp].total}};qr.converters.ProgressEventInit=qr.dictionaryConverter([{key:"lengthComputable",converter:qr.converters.boolean,defaultValue:()=>!1},{key:"loaded",converter:qr.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:qr.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:qr.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:qr.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:qr.converters.boolean,defaultValue:()=>!1}]);$M.exports={ProgressEvent:nI}});var ek=m((u2e,ZM)=>{"use strict";function Aie(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(Aie,"getEncoding");ZM.exports={getEncoding:Aie}});var ck=m((p2e,ak)=>{"use strict";var{kState:Ja,kError:iI,kResult:tk,kAborted:EA,kLastProgressEventFired:sI}=rI(),{ProgressEvent:uie}=XM(),{getEncoding:rk}=ek(),{serializeAMimeType:die,parseMIMEType:nk}=gr(),{types:pie}=require("node:util"),{StringDecoder:ik}=require("string_decoder"),{btoa:sk}=require("node:buffer"),hie={enumerable:!0,writable:!1,configurable:!1};function fie(t,e,r,n){if(t[Ja]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Ja]="loading",t[tk]=null,t[iI]=null;let s=e.stream().getReader(),a=[],c=s.read(),l=!0;(async()=>{for(;!t[EA];)try{let{done:A,value:u}=await c;if(l&&!t[EA]&&queueMicrotask(()=>{bs("loadstart",t)}),l=!1,!A&&pie.isUint8Array(u))a.push(u),(t[sI]===void 0||Date.now()-t[sI]>=50)&&!t[EA]&&(t[sI]=Date.now(),queueMicrotask(()=>{bs("progress",t)})),c=s.read();else if(A){queueMicrotask(()=>{t[Ja]="done";try{let d=mie(a,r,e.type,n);if(t[EA])return;t[tk]=d,bs("load",t)}catch(d){t[iI]=d,bs("error",t)}t[Ja]!=="loading"&&bs("loadend",t)});break}}catch(A){if(t[EA])return;queueMicrotask(()=>{t[Ja]="done",t[iI]=A,bs("error",t),t[Ja]!=="loading"&&bs("loadend",t)});break}})()}o(fie,"readOperation");function bs(t,e){let r=new uie(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(bs,"fireAProgressEvent");function mie(t,e,r,n){switch(e){case"DataURL":{let i="data:",s=nk(r||"application/octet-stream");s!=="failure"&&(i+=die(s)),i+=";base64,";let a=new ik("latin1");for(let c of t)i+=sk(a.write(c));return i+=sk(a.end()),i}case"Text":{let i="failure";if(n&&(i=rk(n)),i==="failure"&&r){let s=nk(r);s!=="failure"&&(i=rk(s.parameters.get("charset")))}return i==="failure"&&(i="UTF-8"),gie(t,i)}case"ArrayBuffer":return ok(t).buffer;case"BinaryString":{let i="",s=new ik("latin1");for(let a of t)i+=s.write(a);return i+=s.end(),i}}}o(mie,"packageData");function gie(t,e){let r=ok(t),n=yie(r),i=0;n!==null&&(e=n,i=n==="UTF-8"?3:2);let s=r.slice(i);return new TextDecoder(e).decode(s)}o(gie,"decode");function yie(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(yie,"BOMSniffing");function ok(t){let e=t.reduce((n,i)=>n+i.byteLength,0),r=0;return t.reduce((n,i)=>(n.set(i,r),r+=i.byteLength,n),new Uint8Array(e))}o(ok,"combineByteSequences");ak.exports={staticPropertyDescriptors:hie,readOperation:fie,fireAProgressEvent:bs}});var dk=m((f2e,uk)=>{"use strict";var{staticPropertyDescriptors:Va,readOperation:Dp,fireAProgressEvent:lk}=ck(),{kState:Io,kError:Ak,kResult:Tp,kEvents:Pe,kAborted:Cie}=rI(),{webidl:Ge}=Yt(),{kEnumerableProperty:Er}=Ee(),qn=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[Io]="empty",this[Tp]=null,this[Ak]=null,this[Pe]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){Ge.brandCheck(this,t),Ge.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=Ge.converters.Blob(e,{strict:!1}),Dp(this,e,"ArrayBuffer")}readAsBinaryString(e){Ge.brandCheck(this,t),Ge.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Ge.converters.Blob(e,{strict:!1}),Dp(this,e,"BinaryString")}readAsText(e,r=void 0){Ge.brandCheck(this,t),Ge.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=Ge.converters.Blob(e,{strict:!1}),r!==void 0&&(r=Ge.converters.DOMString(r,"FileReader.readAsText","encoding")),Dp(this,e,"Text",r)}readAsDataURL(e){Ge.brandCheck(this,t),Ge.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Ge.converters.Blob(e,{strict:!1}),Dp(this,e,"DataURL")}abort(){if(this[Io]==="empty"||this[Io]==="done"){this[Tp]=null;return}this[Io]==="loading"&&(this[Io]="done",this[Tp]=null),this[Cie]=!0,lk("abort",this),this[Io]!=="loading"&&lk("loadend",this)}get readyState(){switch(Ge.brandCheck(this,t),this[Io]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Ge.brandCheck(this,t),this[Tp]}get error(){return Ge.brandCheck(this,t),this[Ak]}get onloadend(){return Ge.brandCheck(this,t),this[Pe].loadend}set onloadend(e){Ge.brandCheck(this,t),this[Pe].loadend&&this.removeEventListener("loadend",this[Pe].loadend),typeof e=="function"?(this[Pe].loadend=e,this.addEventListener("loadend",e)):this[Pe].loadend=null}get onerror(){return Ge.brandCheck(this,t),this[Pe].error}set onerror(e){Ge.brandCheck(this,t),this[Pe].error&&this.removeEventListener("error",this[Pe].error),typeof e=="function"?(this[Pe].error=e,this.addEventListener("error",e)):this[Pe].error=null}get onloadstart(){return Ge.brandCheck(this,t),this[Pe].loadstart}set onloadstart(e){Ge.brandCheck(this,t),this[Pe].loadstart&&this.removeEventListener("loadstart",this[Pe].loadstart),typeof e=="function"?(this[Pe].loadstart=e,this.addEventListener("loadstart",e)):this[Pe].loadstart=null}get onprogress(){return Ge.brandCheck(this,t),this[Pe].progress}set onprogress(e){Ge.brandCheck(this,t),this[Pe].progress&&this.removeEventListener("progress",this[Pe].progress),typeof e=="function"?(this[Pe].progress=e,this.addEventListener("progress",e)):this[Pe].progress=null}get onload(){return Ge.brandCheck(this,t),this[Pe].load}set onload(e){Ge.brandCheck(this,t),this[Pe].load&&this.removeEventListener("load",this[Pe].load),typeof e=="function"?(this[Pe].load=e,this.addEventListener("load",e)):this[Pe].load=null}get onabort(){return Ge.brandCheck(this,t),this[Pe].abort}set onabort(e){Ge.brandCheck(this,t),this[Pe].abort&&this.removeEventListener("abort",this[Pe].abort),typeof e=="function"?(this[Pe].abort=e,this.addEventListener("abort",e)):this[Pe].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:Va,LOADING:Va,DONE:Va,readAsArrayBuffer:Er,readAsBinaryString:Er,readAsText:Er,readAsDataURL:Er,abort:Er,readyState:Er,result:Er,error:Er,onloadstart:Er,onprogress:Er,onload:Er,onabort:Er,onerror:Er,onloadend:Er,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(qn,{EMPTY:Va,LOADING:Va,DONE:Va});uk.exports={FileReader:qn}});var Op=m((g2e,pk)=>{"use strict";pk.exports={kConstruct:tt().kConstruct}});var mk=m((y2e,fk)=>{"use strict";var Eie=require("node:assert"),{URLSerializer:hk}=gr(),{isValidHeaderName:Bie}=Or();function Iie(t,e,r=!1){let n=hk(t,r),i=hk(e,r);return n===i}o(Iie,"urlEquals");function bie(t){Eie(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),Bie(r)&&e.push(r);return e}o(bie,"getFieldValues");fk.exports={urlEquals:Iie,getFieldValues:bie}});var Ck=m((E2e,yk)=>{"use strict";var{kConstruct:Qie}=Op(),{urlEquals:wie,getFieldValues:oI}=mk(),{kEnumerableProperty:bo,isDisturbed:Nie}=Ee(),{webidl:te}=Yt(),{Response:xie,cloneResponse:Sie,fromInnerResponse:Rie}=gA(),{Request:Yi,fromInnerRequest:_ie}=Ya(),{kState:Hn}=ls(),{fetching:vie}=CA(),{urlIsHttpHttpsScheme:Mp,createDeferredPromise:Wa,readAllBytes:Pie}=Or(),aI=require("node:assert"),kp=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==Qie&&te.illegalConstructor(),te.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){te.brandCheck(this,t);let n="Cache.match";te.argumentLengthCheck(arguments,1,n),e=te.converters.RequestInfo(e,n,"request"),r=te.converters.CacheQueryOptions(r,n,"options");let i=this.#r(e,r,1);if(i.length!==0)return i[0]}async matchAll(e=void 0,r={}){te.brandCheck(this,t);let n="Cache.matchAll";return e!==void 0&&(e=te.converters.RequestInfo(e,n,"request")),r=te.converters.CacheQueryOptions(r,n,"options"),this.#r(e,r)}async add(e){te.brandCheck(this,t);let r="Cache.add";te.argumentLengthCheck(arguments,1,r),e=te.converters.RequestInfo(e,r,"request");let n=[e];return await this.addAll(n)}async addAll(e){te.brandCheck(this,t);let r="Cache.addAll";te.argumentLengthCheck(arguments,1,r);let n=[],i=[];for(let f of e){if(f===void 0)throw te.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(f=te.converters.RequestInfo(f),typeof f=="string")continue;let g=f[Hn];if(!Mp(g.url)||g.method!=="GET")throw te.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let s=[];for(let f of e){let g=new Yi(f)[Hn];if(!Mp(g.url))throw te.errors.exception({header:r,message:"Expected http/s scheme."});g.initiator="fetch",g.destination="subresource",i.push(g);let C=Wa();s.push(vie({request:g,processResponse(Q){if(Q.type==="error"||Q.status===206||Q.status<200||Q.status>299)C.reject(te.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(Q.headersList.contains("vary")){let S=oI(Q.headersList.get("vary"));for(let w of S)if(w==="*"){C.reject(te.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let R of s)R.abort();return}}},processResponseEndOfBody(Q){if(Q.aborted){C.reject(new DOMException("aborted","AbortError"));return}C.resolve(Q)}})),n.push(C.promise)}let c=await Promise.all(n),l=[],A=0;for(let f of c){let g={type:"put",request:i[A],response:f};l.push(g),A++}let u=Wa(),d=null;try{this.#t(l)}catch(f){d=f}return queueMicrotask(()=>{d===null?u.resolve(void 0):u.reject(d)}),u.promise}async put(e,r){te.brandCheck(this,t);let n="Cache.put";te.argumentLengthCheck(arguments,2,n),e=te.converters.RequestInfo(e,n,"request"),r=te.converters.Response(r,n,"response");let i=null;if(e instanceof Yi?i=e[Hn]:i=new Yi(e)[Hn],!Mp(i.url)||i.method!=="GET")throw te.errors.exception({header:n,message:"Expected an http/s scheme when method is not GET"});let s=r[Hn];if(s.status===206)throw te.errors.exception({header:n,message:"Got 206 status"});if(s.headersList.contains("vary")){let g=oI(s.headersList.get("vary"));for(let C of g)if(C==="*")throw te.errors.exception({header:n,message:"Got * vary field value"})}if(s.body&&(Nie(s.body.stream)||s.body.stream.locked))throw te.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=Sie(s),c=Wa();if(s.body!=null){let C=s.body.stream.getReader();Pie(C).then(c.resolve,c.reject)}else c.resolve(void 0);let l=[],A={type:"put",request:i,response:a};l.push(A);let u=await c.promise;a.body!=null&&(a.body.source=u);let d=Wa(),f=null;try{this.#t(l)}catch(g){f=g}return queueMicrotask(()=>{f===null?d.resolve():d.reject(f)}),d.promise}async delete(e,r={}){te.brandCheck(this,t);let n="Cache.delete";te.argumentLengthCheck(arguments,1,n),e=te.converters.RequestInfo(e,n,"request"),r=te.converters.CacheQueryOptions(r,n,"options");let i=null;if(e instanceof Yi){if(i=e[Hn],i.method!=="GET"&&!r.ignoreMethod)return!1}else aI(typeof e=="string"),i=new Yi(e)[Hn];let s=[],a={type:"delete",request:i,options:r};s.push(a);let c=Wa(),l=null,A;try{A=this.#t(s)}catch(u){l=u}return queueMicrotask(()=>{l===null?c.resolve(!!A?.length):c.reject(l)}),c.promise}async keys(e=void 0,r={}){te.brandCheck(this,t);let n="Cache.keys";e!==void 0&&(e=te.converters.RequestInfo(e,n,"request")),r=te.converters.CacheQueryOptions(r,n,"options");let i=null;if(e!==void 0)if(e instanceof Yi){if(i=e[Hn],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new Yi(e)[Hn]);let s=Wa(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#i(i,r);for(let l of c)a.push(l[0])}return queueMicrotask(()=>{let c=[];for(let l of a){let A=_ie(l,new AbortController().signal,"immutable");c.push(A)}s.resolve(Object.freeze(c))}),s.promise}#t(e){let r=this.#e,n=[...r],i=[],s=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw te.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#i(a.request,a.options,i).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#i(a.request,a.options),c.length===0)return[];for(let l of c){let A=r.indexOf(l);aI(A!==-1),r.splice(A,1)}}else if(a.type==="put"){if(a.response==null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!Mp(l.url))throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#i(a.request);for(let A of c){let u=r.indexOf(A);aI(u!==-1),r.splice(u,1)}r.push([a.request,a.response]),i.push([a.request,a.response])}s.push([a.request,a.response])}return s}catch(a){throw this.#e.length=0,this.#e=n,a}}#i(e,r,n){let i=[],s=n??this.#e;for(let a of s){let[c,l]=a;this.#n(e,c,l,r)&&i.push(a)}return i}#n(e,r,n=null,i){let s=new URL(e.url),a=new URL(r.url);if(i?.ignoreSearch&&(a.search="",s.search=""),!wie(s,a,!0))return!1;if(n==null||i?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=oI(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}#r(e,r,n=1/0){let i=null;if(e!==void 0)if(e instanceof Yi){if(i=e[Hn],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new Yi(e)[Hn]);let s=[];if(e===void 0)for(let c of this.#e)s.push(c[1]);else{let c=this.#i(i,r);for(let l of c)s.push(l[1])}let a=[];for(let c of s){let l=Rie(c,"immutable");if(a.push(l.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(kp.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:bo,matchAll:bo,add:bo,addAll:bo,put:bo,delete:bo,keys:bo});var gk=[{key:"ignoreSearch",converter:te.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:te.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:te.converters.boolean,defaultValue:()=>!1}];te.converters.CacheQueryOptions=te.dictionaryConverter(gk);te.converters.MultiCacheQueryOptions=te.dictionaryConverter([...gk,{key:"cacheName",converter:te.converters.DOMString}]);te.converters.Response=te.interfaceConverter(xie);te.converters["sequence<RequestInfo>"]=te.sequenceConverter(te.converters.RequestInfo);yk.exports={Cache:kp}});var Bk=m((I2e,Ek)=>{"use strict";var{kConstruct:BA}=Op(),{Cache:Lp}=Ck(),{webidl:Xt}=Yt(),{kEnumerableProperty:IA}=Ee(),Up=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==BA&&Xt.illegalConstructor(),Xt.util.markAsUncloneable(this)}async match(e,r={}){if(Xt.brandCheck(this,t),Xt.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=Xt.converters.RequestInfo(e),r=Xt.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new Lp(BA,n).match(e,r)}}else for(let n of this.#e.values()){let s=await new Lp(BA,n).match(e,r);if(s!==void 0)return s}}async has(e){Xt.brandCheck(this,t);let r="CacheStorage.has";return Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){Xt.brandCheck(this,t);let r="CacheStorage.open";if(Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let i=this.#e.get(e);return new Lp(BA,i)}let n=[];return this.#e.set(e,n),new Lp(BA,n)}async delete(e){Xt.brandCheck(this,t);let r="CacheStorage.delete";return Xt.argumentLengthCheck(arguments,1,r),e=Xt.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return Xt.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(Up.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:IA,has:IA,open:IA,delete:IA,keys:IA});Ek.exports={CacheStorage:Up}});var bk=m((Q2e,Ik)=>{"use strict";Ik.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var cI=m((w2e,Sk)=>{"use strict";function Die(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(Die,"isCTLExcludingHtab");function Qk(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(Qk,"validateCookieName");function wk(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(wk,"validateCookieValue");function Nk(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r<32||r===127||r===59)throw new Error("Invalid cookie path")}}o(Nk,"validateCookiePath");function Tie(t){if(t.startsWith("-")||t.endsWith(".")||t.endsWith("-"))throw new Error("Invalid cookie domain")}o(Tie,"validateCookieDomain");var Oie=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Mie=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Fp=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function xk(t){return typeof t=="number"&&(t=new Date(t)),`${Oie[t.getUTCDay()]}, ${Fp[t.getUTCDate()]} ${Mie[t.getUTCMonth()]} ${t.getUTCFullYear()} ${Fp[t.getUTCHours()]}:${Fp[t.getUTCMinutes()]}:${Fp[t.getUTCSeconds()]} GMT`}o(xk,"toIMFDate");function kie(t){if(t<0)throw new Error("Invalid cookie max-age")}o(kie,"validateCookieMaxAge");function Lie(t){if(t.name.length===0)return null;Qk(t.name),wk(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"&&(kie(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(Tie(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(Nk(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${xk(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,...i]=r.split("=");e.push(`${n.trim()}=${i.join("=")}`)}return e.join("; ")}o(Lie,"stringify");Sk.exports={isCTLExcludingHtab:Die,validateCookieName:Qk,validateCookiePath:Nk,validateCookieValue:wk,toIMFDate:xk,stringify:Lie}});var _k=m((x2e,Rk)=>{"use strict";var{maxNameValuePairSize:Uie,maxAttributeValueSize:Fie}=bk(),{isCTLExcludingHtab:qie}=cI(),{collectASequenceOfCodePointsFast:qp}=gr(),Hie=require("node:assert");function zie(t){if(qie(t))return null;let e="",r="",n="",i="";if(t.includes(";")){let s={position:0};e=qp(";",t,s),r=t.slice(s.position)}else e=t;if(!e.includes("="))i=e;else{let s={position:0};n=qp("=",e,s),i=e.slice(s.position+1)}return n=n.trim(),i=i.trim(),n.length+i.length>Uie?null:{name:n,value:i,...Ka(r)}}o(zie,"parseSetCookie");function Ka(t,e={}){if(t.length===0)return e;Hie(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=qp(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",i="";if(r.includes("=")){let a={position:0};n=qp("=",r,a),i=r.slice(a.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>Fie)return Ka(t,e);let s=n.toLowerCase();if(s==="expires"){let a=new Date(i);e.expires=a}else if(s==="max-age"){let a=i.charCodeAt(0);if((a<48||a>57)&&i[0]!=="-"||!/^\d+$/.test(i))return Ka(t,e);let c=Number(i);e.maxAge=c}else if(s==="domain"){let a=i;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(s==="path"){let a="";i.length===0||i[0]!=="/"?a="/":a=i,e.path=a}else if(s==="secure")e.secure=!0;else if(s==="httponly")e.httpOnly=!0;else if(s==="samesite"){let a="Default",c=i.toLowerCase();c.includes("none")&&(a="None"),c.includes("strict")&&(a="Strict"),c.includes("lax")&&(a="Lax"),e.sameSite=a}else e.unparsed??=[],e.unparsed.push(`${n}=${i}`);return Ka(t,e)}o(Ka,"parseUnparsedAttributes");Rk.exports={parseSetCookie:zie,parseUnparsedAttributes:Ka}});var Dk=m((R2e,Pk)=>{"use strict";var{parseSetCookie:jie}=_k(),{stringify:Gie}=cI(),{webidl:Ne}=Yt(),{Headers:Hp}=yo();function Yie(t){Ne.argumentLengthCheck(arguments,1,"getCookies"),Ne.brandCheck(t,Hp,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let n of e.split(";")){let[i,...s]=n.split("=");r[i.trim()]=s.join("=")}return r}o(Yie,"getCookies");function Jie(t,e,r){Ne.brandCheck(t,Hp,{strict:!1});let n="deleteCookie";Ne.argumentLengthCheck(arguments,2,n),e=Ne.converters.DOMString(e,n,"name"),r=Ne.converters.DeleteCookieAttributes(r),vk(t,{name:e,value:"",expires:new Date(0),...r})}o(Jie,"deleteCookie");function Vie(t){Ne.argumentLengthCheck(arguments,1,"getSetCookies"),Ne.brandCheck(t,Hp,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>jie(r)):[]}o(Vie,"getSetCookies");function vk(t,e){Ne.argumentLengthCheck(arguments,2,"setCookie"),Ne.brandCheck(t,Hp,{strict:!1}),e=Ne.converters.Cookie(e);let r=Gie(e);r&&t.append("Set-Cookie",r)}o(vk,"setCookie");Ne.converters.DeleteCookieAttributes=Ne.dictionaryConverter([{converter:Ne.nullableConverter(Ne.converters.DOMString),key:"path",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.DOMString),key:"domain",defaultValue:()=>null}]);Ne.converters.Cookie=Ne.dictionaryConverter([{converter:Ne.converters.DOMString,key:"name"},{converter:Ne.converters.DOMString,key:"value"},{converter:Ne.nullableConverter(t=>typeof t=="number"?Ne.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.DOMString),key:"path",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.boolean),key:"secure",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:Ne.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:Ne.sequenceConverter(Ne.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);Pk.exports={getCookies:Yie,deleteCookie:Jie,getSetCookies:Vie,setCookie:vk}});var Xa=m((v2e,Ok)=>{"use strict";var{webidl:ee}=Yt(),{kEnumerableProperty:Br}=Ee(),{kConstruct:Tk}=tt(),{MessagePort:Wie}=require("node:worker_threads"),$a=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===Tk){super(arguments[1],arguments[2]),ee.util.markAsUncloneable(this);return}let n="MessageEvent constructor";ee.argumentLengthCheck(arguments,1,n),e=ee.converters.DOMString(e,n,"type"),r=ee.converters.MessageEventInit(r,n,"eventInitDict"),super(e,r),this.#e=r,ee.util.markAsUncloneable(this)}get data(){return ee.brandCheck(this,t),this.#e.data}get origin(){return ee.brandCheck(this,t),this.#e.origin}get lastEventId(){return ee.brandCheck(this,t),this.#e.lastEventId}get source(){return ee.brandCheck(this,t),this.#e.source}get ports(){return ee.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,n=!1,i=null,s="",a="",c=null,l=[]){return ee.brandCheck(this,t),ee.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:n,data:i,origin:s,lastEventId:a,source:c,ports:l})}static createFastMessageEvent(e,r){let n=new t(Tk,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:Kie}=$a;delete $a.createFastMessageEvent;var zp=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let n="CloseEvent constructor";ee.argumentLengthCheck(arguments,1,n),e=ee.converters.DOMString(e,n,"type"),r=ee.converters.CloseEventInit(r),super(e,r),this.#e=r,ee.util.markAsUncloneable(this)}get wasClean(){return ee.brandCheck(this,t),this.#e.wasClean}get code(){return ee.brandCheck(this,t),this.#e.code}get reason(){return ee.brandCheck(this,t),this.#e.reason}},jp=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let n="ErrorEvent constructor";ee.argumentLengthCheck(arguments,1,n),super(e,r),ee.util.markAsUncloneable(this),e=ee.converters.DOMString(e,n,"type"),r=ee.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return ee.brandCheck(this,t),this.#e.message}get filename(){return ee.brandCheck(this,t),this.#e.filename}get lineno(){return ee.brandCheck(this,t),this.#e.lineno}get colno(){return ee.brandCheck(this,t),this.#e.colno}get error(){return ee.brandCheck(this,t),this.#e.error}};Object.defineProperties($a.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:Br,origin:Br,lastEventId:Br,source:Br,ports:Br,initMessageEvent:Br});Object.defineProperties(zp.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:Br,code:Br,wasClean:Br});Object.defineProperties(jp.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:Br,filename:Br,lineno:Br,colno:Br,error:Br});ee.converters.MessagePort=ee.interfaceConverter(Wie);ee.converters["sequence<MessagePort>"]=ee.sequenceConverter(ee.converters.MessagePort);var lI=[{key:"bubbles",converter:ee.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:ee.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:ee.converters.boolean,defaultValue:()=>!1}];ee.converters.MessageEventInit=ee.dictionaryConverter([...lI,{key:"data",converter:ee.converters.any,defaultValue:()=>null},{key:"origin",converter:ee.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:ee.converters.DOMString,defaultValue:()=>""},{key:"source",converter:ee.nullableConverter(ee.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:ee.converters["sequence<MessagePort>"],defaultValue:()=>new Array(0)}]);ee.converters.CloseEventInit=ee.dictionaryConverter([...lI,{key:"wasClean",converter:ee.converters.boolean,defaultValue:()=>!1},{key:"code",converter:ee.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:ee.converters.USVString,defaultValue:()=>""}]);ee.converters.ErrorEventInit=ee.dictionaryConverter([...lI,{key:"message",converter:ee.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:ee.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:ee.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:ee.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:ee.converters.any}]);Ok.exports={MessageEvent:$a,CloseEvent:zp,ErrorEvent:jp,createFastMessageEvent:Kie}});var Qo=m((D2e,Mk)=>{"use strict";var $ie="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",Xie={enumerable:!0,writable:!1,configurable:!1},Zie={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},ese={NOT_SENT:0,PROCESSING:1,SENT:2},tse={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},rse=2**16-1,nse={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},ise=Buffer.allocUnsafe(0),sse={string:1,typedArray:2,arrayBuffer:3,blob:4};Mk.exports={uid:$ie,sentCloseFrameState:ese,staticPropertyDescriptors:Xie,states:Zie,opcodes:tse,maxUnsigned16Bit:rse,parserStates:nse,emptyBuffer:ise,sendHints:sse}});var bA=m((T2e,kk)=>{"use strict";kk.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 NA=m((O2e,Yk)=>{"use strict";var{kReadyState:QA,kController:ose,kResponse:ase,kBinaryType:cse,kWebSocketURL:lse}=bA(),{states:wA,opcodes:Qs}=Qo(),{ErrorEvent:Ase,createFastMessageEvent:use}=Xa(),{isUtf8:dse}=require("node:buffer"),{collectASequenceOfCodePointsFast:pse,removeHTTPWhitespace:Lk}=gr();function hse(t){return t[QA]===wA.CONNECTING}o(hse,"isConnecting");function fse(t){return t[QA]===wA.OPEN}o(fse,"isEstablished");function mse(t){return t[QA]===wA.CLOSING}o(mse,"isClosing");function gse(t){return t[QA]===wA.CLOSED}o(gse,"isClosed");function AI(t,e,r=(i,s)=>new Event(i,s),n={}){let i=r(t,n);e.dispatchEvent(i)}o(AI,"fireEvent");function yse(t,e,r){if(t[QA]!==wA.OPEN)return;let n;if(e===Qs.TEXT)try{n=Gk(r)}catch{Fk(t,"Received invalid UTF-8 in text frame.");return}else e===Qs.BINARY&&(t[cse]==="blob"?n=new Blob([r]):n=Cse(r));AI("message",t,use,{origin:t[lse].origin,data:n})}o(yse,"websocketMessageReceived");function Cse(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(Cse,"toArrayBuffer");function Ese(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(Ese,"isValidSubprotocol");function Bse(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(Bse,"isValidStatusCode");function Fk(t,e){let{[ose]:r,[ase]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&AI("error",t,(i,s)=>new Ase(i,s),{error:new Error(e),message:e})}o(Fk,"failWebsocketConnection");function qk(t){return t===Qs.CLOSE||t===Qs.PING||t===Qs.PONG}o(qk,"isControlFrame");function Hk(t){return t===Qs.CONTINUATION}o(Hk,"isContinuationFrame");function zk(t){return t===Qs.TEXT||t===Qs.BINARY}o(zk,"isTextBinaryFrame");function Ise(t){return zk(t)||Hk(t)||qk(t)}o(Ise,"isValidOpcode");function bse(t){let e={position:0},r=new Map;for(;e.position<t.length;){let n=pse(";",t,e),[i,s=""]=n.split("=");r.set(Lk(i,!0,!1),Lk(s,!1,!0)),e.position++}return r}o(bse,"parseExtensions");function Qse(t){for(let e=0;e<t.length;e++){let r=t.charCodeAt(e);if(r<48||r>57)return!1}return!0}o(Qse,"isValidClientWindowBits");var jk=typeof process.versions.icu=="string",Uk=jk?new TextDecoder("utf-8",{fatal:!0}):void 0,Gk=jk?Uk.decode.bind(Uk):function(t){if(dse(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};Yk.exports={isConnecting:hse,isEstablished:fse,isClosing:mse,isClosed:gse,fireEvent:AI,isValidSubprotocol:Ese,isValidStatusCode:Bse,failWebsocketConnection:Fk,websocketMessageReceived:yse,utf8Decode:Gk,isControlFrame:qk,isContinuationFrame:Hk,isTextBinaryFrame:zk,isValidOpcode:Ise,parseExtensions:bse,isValidClientWindowBits:Qse}});var Yp=m((k2e,Jk)=>{"use strict";var{maxUnsigned16Bit:wse}=Qo(),Gp=16386,uI,xA=null,Za=Gp;try{uI=require("node:crypto")}catch{uI={randomFillSync:o(function(e,r,n){for(let i=0;i<e.length;++i)e[i]=Math.random()*255|0;return e},"randomFillSync")}}function Nse(){return Za===Gp&&(Za=0,uI.randomFillSync(xA??=Buffer.allocUnsafe(Gp),0,Gp)),[xA[Za++],xA[Za++],xA[Za++],xA[Za++]]}o(Nse,"generateMask");var dI=class{static{o(this,"WebsocketFrameSend")}constructor(e){this.frameData=e}createFrame(e){let r=this.frameData,n=Nse(),i=r?.byteLength??0,s=i,a=6;i>wse?(a+=8,s=127):i>125&&(a+=2,s=126);let c=Buffer.allocUnsafe(i+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]=s,s===126?c.writeUInt16BE(i,2):s===127&&(c[2]=c[3]=0,c.writeUIntBE(i,4,6)),c[1]|=128;for(let l=0;l<i;++l)c[a+l]=r[l]^n[l&3];return c}};Jk.exports={WebsocketFrameSend:dI}});var hI=m((U2e,eL)=>{"use strict";var{uid:xse,states:SA,sentCloseFrameState:Jp,emptyBuffer:Sse,opcodes:Rse}=Qo(),{kReadyState:RA,kSentClose:Vp,kByteParser:Wk,kReceivedClose:Vk,kResponse:Kk}=bA(),{fireEvent:_se,failWebsocketConnection:ws,isClosing:vse,isClosed:Pse,isEstablished:Dse,parseExtensions:Tse}=NA(),{channels:ec}=ua(),{CloseEvent:Ose}=Xa(),{makeRequest:Mse}=Ya(),{fetching:kse}=CA(),{Headers:Lse,getHeadersList:Use}=yo(),{getDecodeSplit:Fse}=Or(),{WebsocketFrameSend:qse}=Yp(),pI;try{pI=require("node:crypto")}catch{}function Hse(t,e,r,n,i,s){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=Mse({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(s.headers){let d=Use(new Lse(s.headers));c.headersList=d}let l=pI.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"),kse({request:c,useParallelQueue:!0,dispatcher:s.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){ws(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){ws(n,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){ws(n,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){ws(n,'Server did not set Connection header to "upgrade".');return}let f=d.headersList.get("Sec-WebSocket-Accept"),g=pI.createHash("sha1").update(l+xse).digest("base64");if(f!==g){ws(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let C=d.headersList.get("Sec-WebSocket-Extensions"),Q;if(C!==null&&(Q=Tse(C),!Q.has("permessage-deflate"))){ws(n,"Sec-WebSocket-Extensions header does not match.");return}let S=d.headersList.get("Sec-WebSocket-Protocol");if(S!==null&&!Fse("sec-websocket-protocol",c.headersList).includes(S)){ws(n,"Protocol was not set in the opening handshake.");return}d.socket.on("data",$k),d.socket.on("close",Xk),d.socket.on("error",Zk),ec.open.hasSubscribers&&ec.open.publish({address:d.socket.address(),protocol:S,extensions:C}),i(d,Q)}})}o(Hse,"establishWebSocketConnection");function zse(t,e,r,n){if(!(vse(t)||Pse(t)))if(!Dse(t))ws(t,"Connection was closed before it was established."),t[RA]=SA.CLOSING;else if(t[Vp]===Jp.NOT_SENT){t[Vp]=Jp.PROCESSING;let i=new qse;e!==void 0&&r===void 0?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(i.frameData=Buffer.allocUnsafe(2+n),i.frameData.writeUInt16BE(e,0),i.frameData.write(r,2,"utf-8")):i.frameData=Sse,t[Kk].socket.write(i.createFrame(Rse.CLOSE)),t[Vp]=Jp.SENT,t[RA]=SA.CLOSING}else t[RA]=SA.CLOSING}o(zse,"closeWebSocketConnection");function $k(t){this.ws[Wk].write(t)||this.pause()}o($k,"onSocketData");function Xk(){let{ws:t}=this,{[Kk]:e}=t;e.socket.off("data",$k),e.socket.off("close",Xk),e.socket.off("error",Zk);let r=t[Vp]===Jp.SENT&&t[Vk],n=1005,i="",s=t[Wk].closingInfo;s&&!s.error?(n=s.code??1005,i=s.reason):t[Vk]||(n=1006),t[RA]=SA.CLOSED,_se("close",t,(a,c)=>new Ose(a,c),{wasClean:r,code:n,reason:i}),ec.close.hasSubscribers&&ec.close.publish({websocket:t,code:n,reason:i})}o(Xk,"onSocketClose");function Zk(t){let{ws:e}=this;e[RA]=SA.CLOSING,ec.socketError.hasSubscribers&&ec.socketError.publish(t),this.destroy()}o(Zk,"onSocketError");eL.exports={establishWebSocketConnection:Hse,closeWebSocketConnection:zse}});var rL=m((q2e,tL)=>{"use strict";var{createInflateRaw:jse,Z_DEFAULT_WINDOWBITS:Gse}=require("node:zlib"),{isValidClientWindowBits:Yse}=NA(),Jse=Buffer.from([0,0,255,255]),Wp=Symbol("kBuffer"),Kp=Symbol("kLength"),fI=class{static{o(this,"PerMessageDeflate")}#e;#t={};constructor(e){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits")}decompress(e,r,n){if(!this.#e){let i=Gse;if(this.#t.serverMaxWindowBits){if(!Yse(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#t.serverMaxWindowBits)}this.#e=jse({windowBits:i}),this.#e[Wp]=[],this.#e[Kp]=0,this.#e.on("data",s=>{this.#e[Wp].push(s),this.#e[Kp]+=s.length}),this.#e.on("error",s=>{this.#e=null,n(s)})}this.#e.write(e),r&&this.#e.write(Jse),this.#e.flush(()=>{let i=Buffer.concat(this.#e[Wp],this.#e[Kp]);this.#e[Wp].length=0,this.#e[Kp]=0,n(null,i)})}};tL.exports={PerMessageDeflate:fI}});var pL=m((z2e,dL)=>{"use strict";var{Writable:Vse}=require("node:stream"),Wse=require("node:assert"),{parserStates:Ir,opcodes:tc,states:Kse,emptyBuffer:nL,sentCloseFrameState:iL}=Qo(),{kReadyState:$se,kSentClose:sL,kResponse:oL,kReceivedClose:aL}=bA(),{channels:$p}=ua(),{isValidStatusCode:Xse,isValidOpcode:Zse,failWebsocketConnection:dn,websocketMessageReceived:cL,utf8Decode:eoe,isControlFrame:lL,isTextBinaryFrame:mI,isContinuationFrame:toe}=NA(),{WebsocketFrameSend:AL}=Yp(),{closeWebSocketConnection:uL}=hI(),{PerMessageDeflate:roe}=rL(),gI=class extends Vse{static{o(this,"ByteParser")}#e=[];#t=0;#i=!1;#n=Ir.INFO;#r={};#s=[];#o;constructor(e,r){super(),this.ws=e,this.#o=r??new Map,this.#o.has("permessage-deflate")&&this.#o.set("permessage-deflate",new roe(r))}_write(e,r,n){this.#e.push(e),this.#t+=e.length,this.#i=!0,this.run(n)}run(e){for(;this.#i;)if(this.#n===Ir.INFO){if(this.#t<2)return e();let r=this.consume(2),n=(r[0]&128)!==0,i=r[0]&15,s=(r[1]&128)===128,a=!n&&i!==tc.CONTINUATION,c=r[1]&127,l=r[0]&64,A=r[0]&32,u=r[0]&16;if(!Zse(i))return dn(this.ws,"Invalid opcode received"),e();if(s)return dn(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#o.has("permessage-deflate")){dn(this.ws,"Expected RSV1 to be clear.");return}if(A!==0||u!==0){dn(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!mI(i)){dn(this.ws,"Invalid frame type was fragmented.");return}if(mI(i)&&this.#s.length>0){dn(this.ws,"Expected continuation frame");return}if(this.#r.fragmented&&a){dn(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&lL(i)){dn(this.ws,"Control frame either too large or fragmented");return}if(toe(i)&&this.#s.length===0&&!this.#r.compressed){dn(this.ws,"Unexpected continuation frame");return}c<=125?(this.#r.payloadLength=c,this.#n=Ir.READ_DATA):c===126?this.#n=Ir.PAYLOADLENGTH_16:c===127&&(this.#n=Ir.PAYLOADLENGTH_64),mI(i)&&(this.#r.binaryType=i,this.#r.compressed=l!==0),this.#r.opcode=i,this.#r.masked=s,this.#r.fin=n,this.#r.fragmented=a}else if(this.#n===Ir.PAYLOADLENGTH_16){if(this.#t<2)return e();let r=this.consume(2);this.#r.payloadLength=r.readUInt16BE(0),this.#n=Ir.READ_DATA}else if(this.#n===Ir.PAYLOADLENGTH_64){if(this.#t<8)return e();let r=this.consume(8),n=r.readUInt32BE(0);if(n>2**31-1){dn(this.ws,"Received payload length > 2^31 bytes.");return}let i=r.readUInt32BE(4);this.#r.payloadLength=(n<<8)+i,this.#n=Ir.READ_DATA}else if(this.#n===Ir.READ_DATA){if(this.#t<this.#r.payloadLength)return e();let r=this.consume(this.#r.payloadLength);if(lL(this.#r.opcode))this.#i=this.parseControlFrame(r),this.#n=Ir.INFO;else if(this.#r.compressed){this.#o.get("permessage-deflate").decompress(r,this.#r.fin,(n,i)=>{if(n){uL(this.ws,1007,n.message,n.message.length);return}if(this.#s.push(i),!this.#r.fin){this.#n=Ir.INFO,this.#i=!0,this.run(e);return}cL(this.ws,this.#r.binaryType,Buffer.concat(this.#s)),this.#i=!0,this.#n=Ir.INFO,this.#s.length=0,this.run(e)}),this.#i=!1;break}else{if(this.#s.push(r),!this.#r.fragmented&&this.#r.fin){let n=Buffer.concat(this.#s);cL(this.ws,this.#r.binaryType,n),this.#s.length=0}this.#n=Ir.INFO}}}consume(e){if(e>this.#t)throw new Error("Called consume() before buffers satiated.");if(e===0)return nL;if(this.#e[0].length===e)return this.#t-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),n=0;for(;n!==e;){let i=this.#e[0],{length:s}=i;if(s+n===e){r.set(this.#e.shift(),n);break}else if(s+n>e){r.set(i.subarray(0,e-n),n),this.#e[0]=i.subarray(e-n);break}else r.set(this.#e.shift(),n),n+=i.length}return this.#t-=e,r}parseCloseBody(e){Wse(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!Xse(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=eoe(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.#r;if(r===tc.CLOSE){if(n===1)return dn(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#r.closeInfo=this.parseCloseBody(e),this.#r.closeInfo.error){let{code:i,reason:s}=this.#r.closeInfo;return uL(this.ws,i,s,s.length),dn(this.ws,s),!1}if(this.ws[sL]!==iL.SENT){let i=nL;this.#r.closeInfo.code&&(i=Buffer.allocUnsafe(2),i.writeUInt16BE(this.#r.closeInfo.code,0));let s=new AL(i);this.ws[oL].socket.write(s.createFrame(tc.CLOSE),a=>{a||(this.ws[sL]=iL.SENT)})}return this.ws[$se]=Kse.CLOSING,this.ws[aL]=!0,!1}else if(r===tc.PING){if(!this.ws[aL]){let i=new AL(e);this.ws[oL].socket.write(i.createFrame(tc.PONG)),$p.ping.hasSubscribers&&$p.ping.publish({payload:e})}}else r===tc.PONG&&$p.pong.hasSubscribers&&$p.pong.publish({payload:e});return!0}get closingInfo(){return this.#r.closeInfo}};dL.exports={ByteParser:gI}});var yL=m((G2e,gL)=>{"use strict";var{WebsocketFrameSend:noe}=Yp(),{opcodes:hL,sendHints:rc}=Qo(),ioe=xE(),fL=Buffer[Symbol.species],yI=class{static{o(this,"SendQueue")}#e=new ioe;#t=!1;#i;constructor(e){this.#i=e}add(e,r,n){if(n!==rc.blob){let s=mL(e,n);if(!this.#t)this.#i.write(s,r);else{let a={promise:null,callback:r,frame:s};this.#e.push(a)}return}let i={promise:e.arrayBuffer().then(s=>{i.promise=null,i.frame=mL(s,n)}),callback:r,frame:null};this.#e.push(i),this.#t||this.#n()}async#n(){this.#t=!0;let e=this.#e;for(;!e.isEmpty();){let r=e.shift();r.promise!==null&&await r.promise,this.#i.write(r.frame,r.callback),r.callback=r.frame=null}this.#t=!1}};function mL(t,e){return new noe(soe(t,e)).createFrame(e===rc.string?hL.TEXT:hL.BINARY)}o(mL,"createFrame");function soe(t,e){switch(e){case rc.string:return Buffer.from(t);case rc.arrayBuffer:case rc.blob:return new fL(t);case rc.typedArray:return new fL(t.buffer,t.byteOffset,t.byteLength)}}o(soe,"toBuffer");gL.exports={SendQueue:yI}});var xL=m((J2e,NL)=>{"use strict";var{webidl:Ae}=Yt(),{URLSerializer:ooe}=gr(),{environmentSettingsObject:CL}=Or(),{staticPropertyDescriptors:Ns,states:_A,sentCloseFrameState:aoe,sendHints:Xp}=Qo(),{kWebSocketURL:EL,kReadyState:CI,kController:coe,kBinaryType:Zp,kResponse:BL,kSentClose:loe,kByteParser:Aoe}=bA(),{isConnecting:uoe,isEstablished:doe,isClosing:poe,isValidSubprotocol:hoe,fireEvent:IL}=NA(),{establishWebSocketConnection:foe,closeWebSocketConnection:bL}=hI(),{ByteParser:moe}=pL(),{kEnumerableProperty:pn,isBlobLike:QL}=Ee(),{getGlobalDispatcher:goe}=pp(),{types:wL}=require("node:util"),{ErrorEvent:yoe,CloseEvent:Coe}=Xa(),{SendQueue:Eoe}=yL(),Hr=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#i="";#n="";#r;constructor(e,r=[]){super(),Ae.util.markAsUncloneable(this);let n="WebSocket constructor";Ae.argumentLengthCheck(arguments,1,n);let i=Ae.converters["DOMString or sequence<DOMString> or WebSocketInit"](r,n,"options");e=Ae.converters.USVString(e,n,"url"),r=i.protocols;let s=CL.settingsObject.baseUrl,a;try{a=new URL(e,s)}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=>hoe(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[EL]=new URL(a.href);let c=CL.settingsObject;this[coe]=foe(a,r,c,this,(l,A)=>this.#s(l,A),i),this[CI]=t.CONNECTING,this[loe]=aoe.NOT_SENT,this[Zp]="blob"}close(e=void 0,r=void 0){Ae.brandCheck(this,t);let n="WebSocket.close";if(e!==void 0&&(e=Ae.converters["unsigned short"](e,n,"code",{clamp:!0})),r!==void 0&&(r=Ae.converters.USVString(r,n,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let i=0;if(r!==void 0&&(i=Buffer.byteLength(r),i>123))throw new DOMException(`Reason must be less than 123 bytes; received ${i}`,"SyntaxError");bL(this,e,r,i)}send(e){Ae.brandCheck(this,t);let r="WebSocket.send";if(Ae.argumentLengthCheck(arguments,1,r),e=Ae.converters.WebSocketSendData(e,r,"data"),uoe(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!doe(this)||poe(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#r.add(e,()=>{this.#t-=n},Xp.string)}else wL.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#r.add(e,()=>{this.#t-=e.byteLength},Xp.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#r.add(e,()=>{this.#t-=e.byteLength},Xp.typedArray)):QL(e)&&(this.#t+=e.size,this.#r.add(e,()=>{this.#t-=e.size},Xp.blob))}get readyState(){return Ae.brandCheck(this,t),this[CI]}get bufferedAmount(){return Ae.brandCheck(this,t),this.#t}get url(){return Ae.brandCheck(this,t),ooe(this[EL])}get extensions(){return Ae.brandCheck(this,t),this.#n}get protocol(){return Ae.brandCheck(this,t),this.#i}get onopen(){return Ae.brandCheck(this,t),this.#e.open}set onopen(e){Ae.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 Ae.brandCheck(this,t),this.#e.error}set onerror(e){Ae.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 Ae.brandCheck(this,t),this.#e.close}set onclose(e){Ae.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 Ae.brandCheck(this,t),this.#e.message}set onmessage(e){Ae.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 Ae.brandCheck(this,t),this[Zp]}set binaryType(e){Ae.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Zp]="blob":this[Zp]=e}#s(e,r){this[BL]=e;let n=new moe(this,r);n.on("drain",Boe),n.on("error",Ioe.bind(this)),e.socket.ws=this,this[Aoe]=n,this.#r=new Eoe(e.socket),this[CI]=_A.OPEN;let i=e.headersList.get("sec-websocket-extensions");i!==null&&(this.#n=i);let s=e.headersList.get("sec-websocket-protocol");s!==null&&(this.#i=s),IL("open",this)}};Hr.CONNECTING=Hr.prototype.CONNECTING=_A.CONNECTING;Hr.OPEN=Hr.prototype.OPEN=_A.OPEN;Hr.CLOSING=Hr.prototype.CLOSING=_A.CLOSING;Hr.CLOSED=Hr.prototype.CLOSED=_A.CLOSED;Object.defineProperties(Hr.prototype,{CONNECTING:Ns,OPEN:Ns,CLOSING:Ns,CLOSED:Ns,url:pn,readyState:pn,bufferedAmount:pn,onopen:pn,onerror:pn,onclose:pn,close:pn,onmessage:pn,binaryType:pn,send:pn,extensions:pn,protocol:pn,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Hr,{CONNECTING:Ns,OPEN:Ns,CLOSING:Ns,CLOSED:Ns});Ae.converters["sequence<DOMString>"]=Ae.sequenceConverter(Ae.converters.DOMString);Ae.converters["DOMString or sequence<DOMString>"]=function(t,e,r){return Ae.util.Type(t)==="Object"&&Symbol.iterator in t?Ae.converters["sequence<DOMString>"](t):Ae.converters.DOMString(t,e,r)};Ae.converters.WebSocketInit=Ae.dictionaryConverter([{key:"protocols",converter:Ae.converters["DOMString or sequence<DOMString>"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:Ae.converters.any,defaultValue:()=>goe()},{key:"headers",converter:Ae.nullableConverter(Ae.converters.HeadersInit)}]);Ae.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(t){return Ae.util.Type(t)==="Object"&&!(Symbol.iterator in t)?Ae.converters.WebSocketInit(t):{protocols:Ae.converters["DOMString or sequence<DOMString>"](t)}};Ae.converters.WebSocketSendData=function(t){if(Ae.util.Type(t)==="Object"){if(QL(t))return Ae.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||wL.isArrayBuffer(t))return Ae.converters.BufferSource(t)}return Ae.converters.USVString(t)};function Boe(){this.ws[BL].socket.resume()}o(Boe,"onParserDrain");function Ioe(t){let e,r;t instanceof Coe?(e=t.reason,r=t.code):e=t.message,IL("error",this,()=>new yoe("error",{error:t,message:e})),bL(this,r)}o(Ioe,"onParserError");NL.exports={WebSocket:Hr}});var EI=m((W2e,SL)=>{"use strict";function boe(t){return t.indexOf("\0")===-1}o(boe,"isValidLastEventId");function Qoe(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(Qoe,"isASCIINumber");function woe(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(woe,"delay");SL.exports={isValidLastEventId:boe,isASCIINumber:Qoe,delay:woe}});var PL=m(($2e,vL)=>{"use strict";var{Transform:Noe}=require("node:stream"),{isASCIINumber:RL,isValidLastEventId:_L}=EI(),Ji=[239,187,191],BI=10,eh=13,xoe=58,Soe=32,II=class extends Noe{static{o(this,"EventSourceStream")}state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,r,n){if(e.length===0){n();return}if(this.buffer?this.buffer=Buffer.concat([this.buffer,e]):this.buffer=e,this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===Ji[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===Ji[0]&&this.buffer[1]===Ji[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===Ji[0]&&this.buffer[1]===Ji[1]&&this.buffer[2]===Ji[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===Ji[0]&&this.buffer[1]===Ji[1]&&this.buffer[2]===Ji[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos<this.buffer.length;){if(this.eventEndCheck){if(this.crlfCheck){if(this.buffer[this.pos]===BI){this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.crlfCheck=!1;continue}this.crlfCheck=!1}if(this.buffer[this.pos]===BI||this.buffer[this.pos]===eh){this.buffer[this.pos]===eh&&(this.crlfCheck=!0),this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,(this.event.data!==void 0||this.event.event||this.event.id||this.event.retry)&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(this.buffer[this.pos]===BI||this.buffer[this.pos]===eh){this.buffer[this.pos]===eh&&(this.crlfCheck=!0),this.parseLine(this.buffer.subarray(0,this.pos),this.event),this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.eventEndCheck=!0;continue}this.pos++}n()}parseLine(e,r){if(e.length===0)return;let n=e.indexOf(xoe);if(n===0)return;let i="",s="";if(n!==-1){i=e.subarray(0,n).toString("utf8");let a=n+1;e[a]===Soe&&++a,s=e.subarray(a).toString("utf8")}else i=e.toString("utf8"),s="";switch(i){case"data":r[i]===void 0?r[i]=s:r[i]+=`
|
|
${s}`;break;case"retry":RL(s)&&(r[i]=s);break;case"id":_L(s)&&(r[i]=s);break;case"event":s.length>0&&(r[i]=s);break}}processEvent(e){e.retry&&RL(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&_L(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event={data:void 0,event:void 0,id:void 0,retry:void 0}}};vL.exports={EventSourceStream:II}});var FL=m((Z2e,UL)=>{"use strict";var{pipeline:Roe}=require("node:stream"),{fetching:_oe}=CA(),{makeRequest:voe}=Ya(),{webidl:Vi}=Yt(),{EventSourceStream:Poe}=PL(),{parseMIMEType:Doe}=gr(),{createFastMessageEvent:Toe}=Xa(),{isNetworkError:DL}=gA(),{delay:Ooe}=EI(),{kEnumerableProperty:wo}=Ee(),{environmentSettingsObject:TL}=Or(),OL=!1,ML=3e3,vA=0,kL=1,PA=2,Moe="anonymous",koe="use-credentials",nc=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#i=!1;#n=vA;#r=null;#s=null;#o;#a;constructor(e,r={}){super(),Vi.util.markAsUncloneable(this);let n="EventSource constructor";Vi.argumentLengthCheck(arguments,1,n),OL||(OL=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Vi.converters.USVString(e,n,"url"),r=Vi.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:ML};let i=TL,s;try{s=new URL(e,i.settingsObject.baseUrl),this.#a.origin=s.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=s.href;let a=Moe;r.withCredentials&&(a=koe,this.#i=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=TL.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#r=voe(c),this.#c()}get readyState(){return this.#n}get url(){return this.#t}get withCredentials(){return this.#i}#c(){if(this.#n===PA)return;this.#n=vA;let e={request:this.#r,dispatcher:this.#o},r=o(n=>{DL(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#l()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(DL(n))if(n.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#l();return}let i=n.headersList.get("content-type",!0),s=i!==null?Doe(i):"failure",a=s!=="failure"&&s.essence==="text/event-stream";if(n.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#n=kL,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new Poe({eventSourceSettings:this.#a,push:l=>{this.dispatchEvent(Toe(l.type,l.options))}});Roe(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=_oe(e)}async#l(){this.#n!==PA&&(this.#n=vA,this.dispatchEvent(new Event("error")),await Ooe(this.#a.reconnectionTime),this.#n===vA&&(this.#a.lastEventId.length&&this.#r.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){Vi.brandCheck(this,t),this.#n!==PA&&(this.#n=PA,this.#s.abort(),this.#r=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}},LL={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:vA,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:kL,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:PA,writable:!1}};Object.defineProperties(nc,LL);Object.defineProperties(nc.prototype,LL);Object.defineProperties(nc.prototype,{close:wo,onerror:wo,onmessage:wo,onopen:wo,readyState:wo,url:wo,withCredentials:wo});Vi.converters.EventSourceInitDict=Vi.dictionaryConverter([{key:"withCredentials",converter:Vi.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:Vi.converters.any}]);UL.exports={EventSource:nc,defaultReconnectionTime:ML}});var jL=m((tze,ce)=>{"use strict";var Loe=va(),qL=kl(),Uoe=Pa(),Foe=LD(),qoe=Da(),Hoe=JE(),zoe=cT(),joe=hT(),HL=ve(),rh=Ee(),{InvalidArgumentError:th}=HL,ic=eO(),Goe=Ul(),Yoe=SB(),Joe=MO(),Voe=vB(),Woe=fB(),Koe=np(),{getGlobalDispatcher:zL,setGlobalDispatcher:$oe}=pp(),Xoe=hp(),Zoe=Yd(),eae=Jd();Object.assign(qL.prototype,ic);ce.exports.Dispatcher=qL;ce.exports.Client=Loe;ce.exports.Pool=Uoe;ce.exports.BalancedPool=Foe;ce.exports.Agent=qoe;ce.exports.ProxyAgent=Hoe;ce.exports.EnvHttpProxyAgent=zoe;ce.exports.RetryAgent=joe;ce.exports.RetryHandler=Koe;ce.exports.DecoratorHandler=Xoe;ce.exports.RedirectHandler=Zoe;ce.exports.createRedirectInterceptor=eae;ce.exports.interceptors={redirect:zO(),retry:GO(),dump:JO(),dns:KO()};ce.exports.buildConnector=Goe;ce.exports.errors=HL;ce.exports.util={parseHeaders:rh.parseHeaders,headerNameToString:rh.headerNameToString};function DA(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 th("invalid url");if(r!=null&&typeof r!="object")throw new th("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new th("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(rh.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=rh.parseURL(e);let{agent:i,dispatcher:s=zL()}=r;if(i)throw new th("unsupported opts.agent. Did you mean opts.client?");return t.call(s,{...r,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}o(DA,"makeDispatcher");ce.exports.setGlobalDispatcher=$oe;ce.exports.getGlobalDispatcher=zL;var tae=CA().fetch;ce.exports.fetch=o(async function(e,r=void 0){try{return await tae(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");ce.exports.Headers=yo().Headers;ce.exports.Response=gA().Response;ce.exports.Request=Ya().Request;ce.exports.FormData=Yl().FormData;ce.exports.File=globalThis.File??require("node:buffer").File;ce.exports.FileReader=dk().FileReader;var{setGlobalOrigin:rae,getGlobalOrigin:nae}=VC();ce.exports.setGlobalOrigin=rae;ce.exports.getGlobalOrigin=nae;var{CacheStorage:iae}=Bk(),{kConstruct:sae}=Op();ce.exports.caches=new iae(sae);var{deleteCookie:oae,getCookies:aae,getSetCookies:cae,setCookie:lae}=Dk();ce.exports.deleteCookie=oae;ce.exports.getCookies=aae;ce.exports.getSetCookies=cae;ce.exports.setCookie=lae;var{parseMIMEType:Aae,serializeAMimeType:uae}=gr();ce.exports.parseMIMEType=Aae;ce.exports.serializeAMimeType=uae;var{CloseEvent:dae,ErrorEvent:pae,MessageEvent:hae}=Xa();ce.exports.WebSocket=xL().WebSocket;ce.exports.CloseEvent=dae;ce.exports.ErrorEvent=pae;ce.exports.MessageEvent=hae;ce.exports.request=DA(ic.request);ce.exports.stream=DA(ic.stream);ce.exports.pipeline=DA(ic.pipeline);ce.exports.connect=DA(ic.connect);ce.exports.upgrade=DA(ic.upgrade);ce.exports.MockClient=Yoe;ce.exports.MockPool=Voe;ce.exports.MockAgent=Joe;ce.exports.mockErrors=Woe;var{EventSource:fae}=FL();ce.exports.EventSource=fae});var No=m(nt=>{"use strict";var mae=nt&&nt.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),gae=nt&&nt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),oh=nt&&nt.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&mae(r,e,n[i]);return gae(r,e),r}}(),bt=nt&&nt.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(nt,"__esModule",{value:!0});nt.HttpClient=nt.HttpClientResponse=nt.HttpClientError=nt.MediaTypes=nt.Headers=nt.HttpCodes=void 0;nt.getProxyUrl=Cae;nt.isHttps=wae;var bI=oh(require("http")),GL=oh(require("https")),QI=oh(m_()),nh=oh(I_()),yae=jL(),hn;(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"})(hn||(nt.HttpCodes=hn={}));var ur;(function(t){t.Accept="accept",t.ContentType="content-type"})(ur||(nt.Headers=ur={}));var Wi;(function(t){t.ApplicationJson="application/json"})(Wi||(nt.MediaTypes=Wi={}));function Cae(t){let e=QI.getProxyUrl(new URL(t));return e?e.href:""}o(Cae,"getProxyUrl");var Eae=[hn.MovedPermanently,hn.ResourceMoved,hn.SeeOther,hn.TemporaryRedirect,hn.PermanentRedirect],Bae=[hn.BadGateway,hn.ServiceUnavailable,hn.GatewayTimeout],Iae=["OPTIONS","GET","DELETE","HEAD"],bae=10,Qae=5,ih=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}};nt.HttpClientError=ih;var sh=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return bt(this,void 0,void 0,function*(){return new Promise(e=>bt(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 bt(this,void 0,void 0,function*(){return new Promise(e=>bt(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};nt.HttpClientResponse=sh;function wae(t){return new URL(t).protocol==="https:"}o(wae,"isHttps");var wI=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return bt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return bt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return bt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return bt(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return bt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return bt(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return bt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return bt(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return bt(this,arguments,void 0,function*(r,n={}){n[ur.Accept]=this._getExistingOrDefaultHeader(n,ur.Accept,Wi.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return bt(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[ur.Accept]=this._getExistingOrDefaultHeader(s,ur.Accept,Wi.ApplicationJson),s[ur.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Wi.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return bt(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[ur.Accept]=this._getExistingOrDefaultHeader(s,ur.Accept,Wi.ApplicationJson),s[ur.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Wi.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return bt(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[ur.Accept]=this._getExistingOrDefaultHeader(s,ur.Accept,Wi.ApplicationJson),s[ur.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,Wi.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return bt(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&Iae.includes(e)?this._maxRetries+1:1,l=0,A;do{if(A=yield this.requestRaw(a,n),A&&A.message&&A.message.statusCode===hn.Unauthorized){let d;for(let f of this.handlers)if(f.canHandleAuthentication(A)){d=f;break}return d?d.handleAuthentication(this,a,n):A}let u=this._maxRedirects;for(;A.message.statusCode&&Eae.includes(A.message.statusCode)&&this._allowRedirects&&u>0;){let d=A.message.headers.location;if(!d)break;let f=new URL(d);if(s.protocol==="https:"&&s.protocol!==f.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(),f.hostname!==s.hostname)for(let g in i)g.toLowerCase()==="authorization"&&delete i[g];a=this._prepareRequest(e,f,i),A=yield this.requestRaw(a,n),u--}if(!A.message.statusCode||!Bae.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 bt(this,void 0,void 0,function*(){return new Promise((n,i)=>{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,A){i||(i=!0,n(l,A))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let A=new sh(l);s(void 0,A)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(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=QI.getProxyUrl(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?GL:bI;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},TA(this.requestOptions.headers),TA(e||{})):TA(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=TA(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=TA(this.requestOptions.headers)[ur.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[ur.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=QI.getProxyUrl(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||bI.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:";s?l=A?nh.httpsOverHttps:nh.httpsOverHttp:l=A?nh.httpOverHttps:nh.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new GL.Agent(c):new bI.Agent(c),this._agent=r}return s&&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 i=e.protocol==="https:";return n=new yae.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,i&&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 i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return bt(this,void 0,void 0,function*(){e=Math.min(bae,e);let r=Qae*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return bt(this,void 0,void 0,function*(){return new Promise((n,i)=>bt(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===hn.NotFound&&n(a);function c(u,d){if(typeof d=="string"){let f=new Date(d);if(!isNaN(f.valueOf()))return f}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(s>299){let u;l&&l.message?u=l.message:A&&A.length>0?u=A:u=`Failed request: (${s})`;let d=new ih(u,s);d.result=a.result,i(d)}else n(a)}))})}};nt.HttpClient=wI;var TA=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var ah=m(ui=>{"use strict";var RI=ui&&ui.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(ui,"__esModule",{value:!0});ui.PersonalAccessTokenCredentialHandler=ui.BearerCredentialHandler=ui.BasicCredentialHandler=void 0;var NI=class{static{o(this,"BasicCredentialHandler")}constructor(e,r){this.username=e,this.password=r}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return RI(this,void 0,void 0,function*(){throw new Error("not implemented")})}};ui.BasicCredentialHandler=NI;var xI=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 RI(this,void 0,void 0,function*(){throw new Error("not implemented")})}};ui.BearerCredentialHandler=xI;var SI=class{static{o(this,"PersonalAccessTokenCredentialHandler")}constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return RI(this,void 0,void 0,function*(){throw new Error("not implemented")})}};ui.PersonalAccessTokenCredentialHandler=SI});var VL=m(sc=>{"use strict";var YL=sc&&sc.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(sc,"__esModule",{value:!0});sc.OidcClient=void 0;var Nae=No(),xae=ah(),JL=Zt(),_I=class t{static{o(this,"OidcClient")}static createHttpClient(e=!0,r=10){let n={allowRetries:e,maxRetries:r};return new Nae.HttpClient("actions/oidc-client",[new xae.BearerCredentialHandler(t.getRequestToken())],n)}static getRequestToken(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){return YL(this,void 0,void 0,function*(){var r;let s=(r=(yield t.createHttpClient().getJson(e).catch(a=>{throw new Error(`Failed to get ID Token.
|
|
|
|
Error Code : ${a.statusCode}
|
|
|
|
Error Message: ${a.message}`)})).result)===null||r===void 0?void 0:r.value;if(!s)throw new Error("Response json body do not have ID Token field");return s})}static getIDToken(e){return YL(this,void 0,void 0,function*(){try{let r=t.getIDTokenUrl();if(e){let i=encodeURIComponent(e);r=`${r}&audience=${i}`}(0,JL.debug)(`ID token url is ${r}`);let n=yield t.getCall(r);return(0,JL.setSecret)(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};sc.OidcClient=_I});var TI=m(br=>{"use strict";var vI=br&&br.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(br,"__esModule",{value:!0});br.summary=br.markdownSummary=br.SUMMARY_DOCS_URL=br.SUMMARY_ENV_VAR=void 0;var Sae=require("os"),PI=require("fs"),{access:Rae,appendFile:_ae,writeFile:vae}=PI.promises;br.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";br.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var DI=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return vI(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[br.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${br.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield Rae(e,PI.constants.R_OK|PI.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 i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${e}${i}>${r}</${e}>`:`<${e}${i}>`}write(e){return vI(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?vae:_ae)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return vI(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(Sae.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.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",f=Object.assign(Object.assign({},A&&{colspan:A}),u&&{rowspan:u});return this.wrap(d,l,f)}).join("");return this.wrap("tr",s)}).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:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).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}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},WL=new DI;br.markdownSummary=WL;br.summary=WL});var KL=m(zn=>{"use strict";var Pae=zn&&zn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Dae=zn&&zn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Tae=zn&&zn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&Pae(r,e,n[i]);return Dae(r,e),r}}();Object.defineProperty(zn,"__esModule",{value:!0});zn.toPosixPath=Mae;zn.toWin32Path=kae;zn.toPlatformPath=Lae;var Oae=Tae(require("path"));function Mae(t){return t.replace(/[\\]/g,"/")}o(Mae,"toPosixPath");function kae(t){return t.replace(/[/]/g,"\\")}o(kae,"toWin32Path");function Lae(t){return t.replace(/[/\\]/g,Oae.sep)}o(Lae,"toPlatformPath")});var MI=m(X=>{"use strict";var Uae=X&&X.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Fae=X&&X.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),XL=X&&X.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&Uae(r,e,n[i]);return Fae(r,e),r}}(),lh=X&&X.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},zr;Object.defineProperty(X,"__esModule",{value:!0});X.READONLY=X.UV_FS_O_EXLOCK=X.IS_WINDOWS=X.unlink=X.symlink=X.stat=X.rmdir=X.rm=X.rename=X.readdir=X.open=X.mkdir=X.lstat=X.copyFile=X.chmod=void 0;X.readlink=qae;X.exists=Hae;X.isDirectory=zae;X.isRooted=jae;X.tryGetExecutablePath=Gae;X.getCmdPath=Jae;var OI=XL(require("fs")),ch=XL(require("path"));zr=OI.promises,X.chmod=zr.chmod,X.copyFile=zr.copyFile,X.lstat=zr.lstat,X.mkdir=zr.mkdir,X.open=zr.open,X.readdir=zr.readdir,X.rename=zr.rename,X.rm=zr.rm,X.rmdir=zr.rmdir,X.stat=zr.stat,X.symlink=zr.symlink,X.unlink=zr.unlink;X.IS_WINDOWS=process.platform==="win32";function qae(t){return lh(this,void 0,void 0,function*(){let e=yield OI.promises.readlink(t);return X.IS_WINDOWS&&!e.endsWith("\\")?`${e}\\`:e})}o(qae,"readlink");X.UV_FS_O_EXLOCK=268435456;X.READONLY=OI.constants.O_RDONLY;function Hae(t){return lh(this,void 0,void 0,function*(){try{yield(0,X.stat)(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(Hae,"exists");function zae(t){return lh(this,arguments,void 0,function*(e,r=!1){return(r?yield(0,X.stat)(e):yield(0,X.lstat)(e)).isDirectory()})}o(zae,"isDirectory");function jae(t){if(t=Yae(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return X.IS_WINDOWS?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(jae,"isRooted");function Gae(t,e){return lh(this,void 0,void 0,function*(){let r;try{r=yield(0,X.stat)(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(X.IS_WINDOWS){let i=ch.extname(t).toUpperCase();if(e.some(s=>s.toUpperCase()===i))return t}else if($L(r))return t}let n=t;for(let i of e){t=n+i,r=void 0;try{r=yield(0,X.stat)(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(X.IS_WINDOWS){try{let s=ch.dirname(t),a=ch.basename(t).toUpperCase();for(let c of yield(0,X.readdir)(s))if(a===c.toUpperCase()){t=ch.join(s,c);break}}catch(s){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${s}`)}return t}else if($L(r))return t}}return""})}o(Gae,"tryGetExecutablePath");function Yae(t){return t=t||"",X.IS_WINDOWS?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(Yae,"normalizeSeparators");function $L(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($L,"isUnixExecutable");function Jae(){var t;return(t=process.env.COMSPEC)!==null&&t!==void 0?t:"cmd.exe"}o(Jae,"getCmdPath")});var Ah=m(er=>{"use strict";var Vae=er&&er.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Wae=er&&er.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),ZL=er&&er.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&Vae(r,e,n[i]);return Wae(r,e),r}}(),xs=er&&er.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(er,"__esModule",{value:!0});er.cp=$ae;er.mv=Xae;er.rmRF=eU;er.mkdirP=kI;er.which=tU;er.findInPath=rU;var Kae=require("assert"),di=ZL(require("path")),Me=ZL(MI());function $ae(t,e){return xs(this,arguments,void 0,function*(r,n,i={}){let{force:s,recursive:a,copySourceDirectory:c}=Zae(i),l=(yield Me.exists(n))?yield Me.stat(n):null;if(l&&l.isFile()&&!s)return;let A=l&&l.isDirectory()&&c?di.join(n,di.basename(r)):n;if(!(yield Me.exists(r)))throw new Error(`no such file or directory: ${r}`);if((yield Me.stat(r)).isDirectory())if(a)yield nU(r,A,0,s);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(di.relative(r,A)==="")throw new Error(`'${A}' and '${r}' are the same file`);yield iU(r,A,s)}})}o($ae,"cp");function Xae(t,e){return xs(this,arguments,void 0,function*(r,n,i={}){if(yield Me.exists(n)){let s=!0;if((yield Me.isDirectory(n))&&(n=di.join(n,di.basename(r)),s=yield Me.exists(n)),s)if(i.force==null||i.force)yield eU(n);else throw new Error("Destination already exists")}yield kI(di.dirname(n)),yield Me.rename(r,n)})}o(Xae,"mv");function eU(t){return xs(this,void 0,void 0,function*(){if(Me.IS_WINDOWS&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield Me.rm(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(eU,"rmRF");function kI(t){return xs(this,void 0,void 0,function*(){(0,Kae.ok)(t,"a path argument must be provided"),yield Me.mkdir(t,{recursive:!0})})}o(kI,"mkdirP");function tU(t,e){return xs(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield tU(t,!1);if(!n)throw Me.IS_WINDOWS?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 rU(t);return r&&r.length>0?r[0]:""})}o(tU,"which");function rU(t){return xs(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(Me.IS_WINDOWS&&process.env.PATHEXT)for(let i of process.env.PATHEXT.split(di.delimiter))i&&e.push(i);if(Me.isRooted(t)){let i=yield Me.tryGetExecutablePath(t,e);return i?[i]:[]}if(t.includes(di.sep))return[];let r=[];if(process.env.PATH)for(let i of process.env.PATH.split(di.delimiter))i&&r.push(i);let n=[];for(let i of r){let s=yield Me.tryGetExecutablePath(di.join(i,t),e);s&&n.push(s)}return n})}o(rU,"findInPath");function Zae(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(Zae,"readCopyOptions");function nU(t,e,r,n){return xs(this,void 0,void 0,function*(){if(r>=255)return;r++,yield kI(e);let i=yield Me.readdir(t);for(let s of i){let a=`${t}/${s}`,c=`${e}/${s}`;(yield Me.lstat(a)).isDirectory()?yield nU(a,c,r,n):yield iU(a,c,n)}yield Me.chmod(e,(yield Me.stat(t)).mode)})}o(nU,"cpDirRecursive");function iU(t,e,r){return xs(this,void 0,void 0,function*(){if((yield Me.lstat(t)).isSymbolicLink()){try{yield Me.lstat(e),yield Me.unlink(e)}catch(i){i.code==="EPERM"&&(yield Me.chmod(e,"0666"),yield Me.unlink(e))}let n=yield Me.readlink(t);yield Me.symlink(n,e,Me.IS_WINDOWS?"junction":null)}else(!(yield Me.exists(e))||r)&&(yield Me.copyFile(t,e))})}o(iU,"copyFile")});var cU=m(jr=>{"use strict";var ece=jr&&jr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),tce=jr&&jr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),oc=jr&&jr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&ece(r,e,n[i]);return tce(r,e),r}}(),sU=jr&&jr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(jr,"__esModule",{value:!0});jr.ToolRunner=void 0;jr.argStringToArray=oce;var uh=oc(require("os")),aU=oc(require("events")),rce=oc(require("child_process")),nce=oc(require("path")),ice=oc(Ah()),oU=oc(MI()),sce=require("timers"),dh=process.platform==="win32",LI=class extends aU.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(),i=this._getSpawnArgs(e),s=r?"":"[command]";if(dh)if(this._isCmdFile()){s+=n;for(let a of i)s+=` ${a}`}else if(e.windowsVerbatimArguments){s+=`"${n}"`;for(let a of i)s+=` ${a}`}else{s+=this._windowsQuoteCmdArg(n);for(let a of i)s+=` ${this._windowsQuoteCmdArg(a)}`}else{s+=n;for(let a of i)s+=` ${a}`}return s}_processLineBuffer(e,r,n){try{let i=r+e.toString(),s=i.indexOf(uh.EOL);for(;s>-1;){let a=i.substring(0,s);n(a),i=i.substring(s+uh.EOL.length),s=i.indexOf(uh.EOL)}return i}catch(i){return this._debug(`error processing line. Failed with error ${i}`),""}}_getSpawnFileName(){return dh&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(dh&&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 i='"',s=!0;for(let a=e.length;a>0;a--)i+=e[a-1],s&&e[a-1]==="\\"?i+="\\":e[a-1]==='"'?(s=!0,i+='"'):s=!1;return i+='"',i.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 i=e.length;i>0;i--)r+=e[i-1],n&&e[i-1]==="\\"?r+="\\":e[i-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 sU(this,void 0,void 0,function*(){return!oU.isRooted(this.toolPath)&&(this.toolPath.includes("/")||dh&&this.toolPath.includes("\\"))&&(this.toolPath=nce.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield ice.which(this.toolPath,!0),new Promise((e,r)=>sU(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)+uh.EOL);let i=new UI(n,this.toolPath);if(i.on("debug",A=>{this._debug(A)}),this.options.cwd&&!(yield oU.exists(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let s=this._getSpawnFileName(),a=rce.spawn(s,this._getSpawnArgs(n),this._getSpawnOptions(this.options,s)),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=>{i.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=>{i.processError=A.message,i.processExited=!0,i.processClosed=!0,i.CheckComplete()}),a.on("exit",A=>{i.processExitCode=A,i.processExited=!0,this._debug(`Exit code ${A} received from tool '${this.toolPath}'`),i.CheckComplete()}),a.on("close",A=>{i.processExitCode=A,i.processExited=!0,i.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),i.CheckComplete()}),i.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)}}))})}};jr.ToolRunner=LI;function oce(t){let e=[],r=!1,n=!1,i="";function s(a){n&&a!=='"'&&(i+="\\"),i+=a,n=!1}o(s,"append");for(let a=0;a<t.length;a++){let c=t.charAt(a);if(c==='"'){n?s(c):r=!r;continue}if(c==="\\"&&n){s(c);continue}if(c==="\\"&&r){n=!0;continue}if(c===" "&&!r){i.length>0&&(e.push(i),i="");continue}s(c)}return i.length>0&&e.push(i.trim()),e}o(oce,"argStringToArray");var UI=class t extends aU.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,sce.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 ph=m(fn=>{"use strict";var ace=fn&&fn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),cce=fn&&fn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),lce=fn&&fn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&ace(r,e,n[i]);return cce(r,e),r}}(),uU=fn&&fn.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(fn,"__esModule",{value:!0});fn.exec=dU;fn.getExecOutput=Ace;var lU=require("string_decoder"),AU=lce(cU());function dU(t,e,r){return uU(this,void 0,void 0,function*(){let n=AU.argStringToArray(t);if(n.length===0)throw new Error("Parameter 'commandLine' cannot be null or empty.");let i=n[0];return e=n.slice(1).concat(e||[]),new AU.ToolRunner(i,e,r).exec()})}o(dU,"exec");function Ace(t,e,r){return uU(this,void 0,void 0,function*(){var n,i;let s="",a="",c=new lU.StringDecoder("utf8"),l=new lU.StringDecoder("utf8"),A=(n=r?.listeners)===null||n===void 0?void 0:n.stdout,u=(i=r?.listeners)===null||i===void 0?void 0:i.stderr,d=o(Q=>{a+=l.write(Q),u&&u(Q)},"stdErrListener"),f=o(Q=>{s+=c.write(Q),A&&A(Q)},"stdOutListener"),g=Object.assign(Object.assign({},r?.listeners),{stdout:f,stderr:d}),C=yield dU(t,e,Object.assign(Object.assign({},r),{listeners:g}));return s+=c.end(),a+=l.end(),{exitCode:C,stdout:s,stderr:a}})}o(Ace,"getExecOutput")});var hU=m(Re=>{"use strict";var uce=Re&&Re.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),dce=Re&&Re.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),pce=Re&&Re.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&uce(r,e,n[i]);return dce(r,e),r}}(),fh=Re&&Re.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},hce=Re&&Re.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Re,"__esModule",{value:!0});Re.isLinux=Re.isMacOS=Re.isWindows=Re.arch=Re.platform=void 0;Re.getDetails=yce;var pU=hce(require("os")),hh=pce(ph()),fce=o(()=>fh(void 0,void 0,void 0,function*(){let{stdout:t}=yield hh.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',void 0,{silent:!0}),{stdout:e}=yield hh.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0});return{name:e.trim(),version:t.trim()}}),"getWindowsInfo"),mce=o(()=>fh(void 0,void 0,void 0,function*(){var t,e,r,n;let{stdout:i}=yield hh.getExecOutput("sw_vers",void 0,{silent:!0}),s=(e=(t=i.match(/ProductVersion:\s*(.+)/))===null||t===void 0?void 0:t[1])!==null&&e!==void 0?e:"";return{name:(n=(r=i.match(/ProductName:\s*(.+)/))===null||r===void 0?void 0:r[1])!==null&&n!==void 0?n:"",version:s}}),"getMacOsInfo"),gce=o(()=>fh(void 0,void 0,void 0,function*(){let{stdout:t}=yield hh.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[e,r]=t.trim().split(`
|
|
`);return{name:e,version:r}}),"getLinuxInfo");Re.platform=pU.default.platform();Re.arch=pU.default.arch();Re.isWindows=Re.platform==="win32";Re.isMacOS=Re.platform==="darwin";Re.isLinux=Re.platform==="linux";function yce(){return fh(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield Re.isWindows?fce():Re.isMacOS?mce():gce()),{platform:Re.platform,arch:Re.arch,isWindows:Re.isWindows,isMacOS:Re.isMacOS,isLinux:Re.isLinux})})}o(yce,"getDetails")});var Zt=m(he=>{"use strict";var Cce=he&&he.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Ece=he&&he.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),qI=he&&he.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&Cce(r,e,n[i]);return Ece(r,e),r}}(),fU=he&&he.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(he,"__esModule",{value:!0});he.platform=he.toPlatformPath=he.toWin32Path=he.toPosixPath=he.markdownSummary=he.summary=he.ExitCode=void 0;he.exportVariable=bce;he.setSecret=Qce;he.addPath=wce;he.getInput=HI;he.getMultilineInput=Nce;he.getBooleanInput=xce;he.setOutput=Sce;he.setCommandEcho=Rce;he.setFailed=_ce;he.isDebug=vce;he.debug=Pce;he.error=gU;he.warning=Dce;he.notice=Tce;he.info=Oce;he.startGroup=yU;he.endGroup=CU;he.group=Mce;he.saveState=kce;he.getState=Lce;he.getIDToken=Uce;var mn=u_(),xo=h_(),ac=sd(),mU=qI(require("os")),Bce=qI(require("path")),Ice=VL(),FI;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(FI||(he.ExitCode=FI={}));function bce(t,e){let r=(0,ac.toCommandValue)(e);if(process.env[t]=r,process.env.GITHUB_ENV||"")return(0,xo.issueFileCommand)("ENV",(0,xo.prepareKeyValueMessage)(t,e));(0,mn.issueCommand)("set-env",{name:t},r)}o(bce,"exportVariable");function Qce(t){(0,mn.issueCommand)("add-mask",{},t)}o(Qce,"setSecret");function wce(t){process.env.GITHUB_PATH||""?(0,xo.issueFileCommand)("PATH",t):(0,mn.issueCommand)("add-path",{},t),process.env.PATH=`${t}${Bce.delimiter}${process.env.PATH}`}o(wce,"addPath");function HI(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(HI,"getInput");function Nce(t,e){let r=HI(t,e).split(`
|
|
`).filter(n=>n!=="");return e&&e.trimWhitespace===!1?r:r.map(n=>n.trim())}o(Nce,"getMultilineInput");function xce(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=HI(t,e);if(r.includes(i))return!0;if(n.includes(i))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(xce,"getBooleanInput");function Sce(t,e){if(process.env.GITHUB_OUTPUT||"")return(0,xo.issueFileCommand)("OUTPUT",(0,xo.prepareKeyValueMessage)(t,e));process.stdout.write(mU.EOL),(0,mn.issueCommand)("set-output",{name:t},(0,ac.toCommandValue)(e))}o(Sce,"setOutput");function Rce(t){(0,mn.issue)("echo",t?"on":"off")}o(Rce,"setCommandEcho");function _ce(t){process.exitCode=FI.Failure,gU(t)}o(_ce,"setFailed");function vce(){return process.env.RUNNER_DEBUG==="1"}o(vce,"isDebug");function Pce(t){(0,mn.issueCommand)("debug",{},t)}o(Pce,"debug");function gU(t,e={}){(0,mn.issueCommand)("error",(0,ac.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(gU,"error");function Dce(t,e={}){(0,mn.issueCommand)("warning",(0,ac.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(Dce,"warning");function Tce(t,e={}){(0,mn.issueCommand)("notice",(0,ac.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(Tce,"notice");function Oce(t){process.stdout.write(t+mU.EOL)}o(Oce,"info");function yU(t){(0,mn.issue)("group",t)}o(yU,"startGroup");function CU(){(0,mn.issue)("endgroup")}o(CU,"endGroup");function Mce(t,e){return fU(this,void 0,void 0,function*(){yU(t);let r;try{r=yield e()}finally{CU()}return r})}o(Mce,"group");function kce(t,e){if(process.env.GITHUB_STATE||"")return(0,xo.issueFileCommand)("STATE",(0,xo.prepareKeyValueMessage)(t,e));(0,mn.issueCommand)("save-state",{name:t},(0,ac.toCommandValue)(e))}o(kce,"saveState");function Lce(t){return process.env[`STATE_${t}`]||""}o(Lce,"getState");function Uce(t){return fU(this,void 0,void 0,function*(){return yield Ice.OidcClient.getIDToken(t)})}o(Uce,"getIDToken");var Fce=TI();Object.defineProperty(he,"summary",{enumerable:!0,get:function(){return Fce.summary}});var qce=TI();Object.defineProperty(he,"markdownSummary",{enumerable:!0,get:function(){return qce.markdownSummary}});var zI=KL();Object.defineProperty(he,"toPosixPath",{enumerable:!0,get:function(){return zI.toPosixPath}});Object.defineProperty(he,"toWin32Path",{enumerable:!0,get:function(){return zI.toWin32Path}});Object.defineProperty(he,"toPlatformPath",{enumerable:!0,get:function(){return zI.toPlatformPath}});he.platform=qI(hU())});var EU=m(Ki=>{"use strict";var Hce=Ki&&Ki.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),zce=Ki&&Ki.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),jce=Ki&&Ki.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&Hce(r,e,n[i]);return zce(r,e),r}}();Object.defineProperty(Ki,"__esModule",{value:!0});Ki.getOptions=Gce;var OA=jce(Zt());function Gce(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,OA.debug(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,OA.debug(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,OA.debug(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,OA.debug(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,OA.debug(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(Gce,"getOptions")});var gh=m(tr=>{"use strict";var Yce=tr&&tr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Jce=tr&&tr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Vce=tr&&tr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&Yce(r,e,n[i]);return Jce(r,e),r}}(),Wce=tr&&tr.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(tr,"__esModule",{value:!0});tr.dirname=Kce;tr.ensureAbsoluteRoot=$ce;tr.hasAbsoluteRoot=jI;tr.hasRoot=Xce;tr.normalizeSeparators=MA;tr.safeTrimTrailingSeparator=GI;var mh=Vce(require("path")),So=Wce(require("assert")),Ss=process.platform==="win32";function Kce(t){if(t=GI(t),Ss&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=mh.dirname(t);return Ss&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=GI(e)),e}o(Kce,"dirname");function $ce(t,e){if((0,So.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,So.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),jI(e))return e;if(Ss){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,So.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(MA(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,So.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,So.default)(jI(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||Ss&&t.endsWith("\\")||(t+=mh.sep),t+e}o($ce,"ensureAbsoluteRoot");function jI(t){return(0,So.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=MA(t),Ss?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(jI,"hasAbsoluteRoot");function Xce(t){return(0,So.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=MA(t),Ss?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(Xce,"hasRoot");function MA(t){return t=t||"",Ss?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(MA,"normalizeSeparators");function GI(t){return t?(t=MA(t),!t.endsWith(mh.sep)||t===mh.sep||Ss&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(GI,"safeTrimTrailingSeparator")});var Ch=m(yh=>{"use strict";Object.defineProperty(yh,"__esModule",{value:!0});yh.MatchKind=void 0;var BU;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(BU||(yh.MatchKind=BU={}))});var QU=m(jn=>{"use strict";var Zce=jn&&jn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),ele=jn&&jn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),tle=jn&&jn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&Zce(r,e,n[i]);return ele(r,e),r}}();Object.defineProperty(jn,"__esModule",{value:!0});jn.getSearchPaths=nle;jn.match=ile;jn.partialMatch=sle;var IU=tle(gh()),rle=Ch(),bU=process.platform==="win32";function nle(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let i=bU?n.searchPath.toUpperCase():n.searchPath;e[i]="candidate"}let r=[];for(let n of t){let i=bU?n.searchPath.toUpperCase():n.searchPath;if(e[i]==="included")continue;let s=!1,a=i,c=IU.dirname(a);for(;c!==a;){if(e[c]){s=!0;break}a=c,c=IU.dirname(a)}s||(r.push(n.searchPath),e[i]="included")}return r}o(nle,"getSearchPaths");function ile(t,e){let r=rle.MatchKind.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}o(ile,"match");function sle(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(sle,"partialMatch")});var NU=m((Pze,wU)=>{wU.exports=function(t,e){for(var r=[],n=0;n<t.length;n++){var i=e(t[n],n);ole(i)?r.push.apply(r,i):r.push(i)}return r};var ole=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}});var vU=m((Dze,_U)=>{"use strict";_U.exports=SU;function SU(t,e,r){t instanceof RegExp&&(t=xU(t,r)),e instanceof RegExp&&(e=xU(e,r));var n=RU(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(SU,"balanced");function xU(t,e){var r=e.match(t);return r?r[0]:null}o(xU,"maybeMatch");SU.range=RU;function RU(t,e,r){var n,i,s,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=[],s=r.length;u>=0&&!c;)u==l?(n.push(u),l=r.indexOf(t,u+1)):n.length==1?c=[n.pop(),A]:(i=n.pop(),i<s&&(s=i,a=A),A=r.indexOf(e,u+1)),u=l<A&&l>=0?l:A;n.length&&(c=[s,a])}return c}o(RU,"range")});var UU=m((Oze,LU)=>{var ale=NU(),PU=vU();LU.exports=Ale;var DU="\0SLASH"+Math.random()+"\0",TU="\0OPEN"+Math.random()+"\0",JI="\0CLOSE"+Math.random()+"\0",OU="\0COMMA"+Math.random()+"\0",MU="\0PERIOD"+Math.random()+"\0";function YI(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(YI,"numeric");function cle(t){return t.split("\\\\").join(DU).split("\\{").join(TU).split("\\}").join(JI).split("\\,").join(OU).split("\\.").join(MU)}o(cle,"escapeBraces");function lle(t){return t.split(DU).join("\\").split(TU).join("{").split(JI).join("}").split(OU).join(",").split(MU).join(".")}o(lle,"unescapeBraces");function kU(t){if(!t)return[""];var e=[],r=PU("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var c=kU(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(kU,"parseCommaParts");function Ale(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),cc(cle(t),!0).map(lle)):[]}o(Ale,"expandTop");function ule(t){return"{"+t+"}"}o(ule,"embrace");function dle(t){return/^-?0\d/.test(t)}o(dle,"isPadded");function ple(t,e){return t<=e}o(ple,"lte");function hle(t,e){return t>=e}o(hle,"gte");function cc(t,e){var r=[],n=PU("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),s=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),a=i||s,c=n.body.indexOf(",")>=0;if(!a&&!c)return n.post.match(/,.*\}/)?(t=n.pre+"{"+n.body+JI+n.post,cc(t)):[t];var l;if(a)l=n.body.split(/\.\./);else if(l=kU(n.body),l.length===1&&(l=cc(l[0],!1).map(ule),l.length===1)){var u=n.post.length?cc(n.post,!1):[""];return u.map(function($e){return n.pre+l[0]+$e})}var A=n.pre,u=n.post.length?cc(n.post,!1):[""],d;if(a){var f=YI(l[0]),g=YI(l[1]),C=Math.max(l[0].length,l[1].length),Q=l.length==3?Math.abs(YI(l[2])):1,S=ple,w=g<f;w&&(Q*=-1,S=hle);var R=l.some(dle);d=[];for(var T=f;S(T,g);T+=Q){var L;if(s)L=String.fromCharCode(T),L==="\\"&&(L="");else if(L=String(T),R){var W=C-L.length;if(W>0){var de=new Array(W+1).join("0");T<0?L="-"+de+L.slice(1):L=de+L}}d.push(L)}}else d=ale(l,function(qe){return cc(qe,!1)});for(var le=0;le<d.length;le++)for(var De=0;De<u.length;De++){var Te=A+d[le]+u[De];(!e||a||Te)&&r.push(Te)}return r}o(cc,"expand")});var GU=m((kze,jU)=>{jU.exports=Gr;Gr.Minimatch=Jt;var kA=function(){try{return require("path")}catch{}}()||{sep:"/"};Gr.sep=kA.sep;var KI=Gr.GLOBSTAR=Jt.GLOBSTAR={},fle=UU(),FU={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},VI="[^/]",WI=VI+"*?",mle="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",gle="(?:(?!(?:\\/|^)\\.).)*?",qU=yle("().*{}+?[]^$\\!");function yle(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(yle,"charSet");var HU=/\/+/;Gr.filter=Cle;function Cle(t,e){return e=e||{},function(r,n,i){return Gr(r,t,e)}}o(Cle,"filter");function Rs(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(Rs,"ext");Gr.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return Gr;var e=Gr,r=o(function(i,s,a){return e(i,s,Rs(t,a))},"minimatch");return r.Minimatch=o(function(i,s){return new e.Minimatch(i,Rs(t,s))},"Minimatch"),r.Minimatch.defaults=o(function(i){return e.defaults(Rs(t,i)).Minimatch},"defaults"),r.filter=o(function(i,s){return e.filter(i,Rs(t,s))},"filter"),r.defaults=o(function(i){return e.defaults(Rs(t,i))},"defaults"),r.makeRe=o(function(i,s){return e.makeRe(i,Rs(t,s))},"makeRe"),r.braceExpand=o(function(i,s){return e.braceExpand(i,Rs(t,s))},"braceExpand"),r.match=function(n,i,s){return e.match(n,i,Rs(t,s))},r};Jt.defaults=function(t){return Gr.defaults(t).Minimatch};function Gr(t,e,r){return Bh(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new Jt(e,r).match(t)}o(Gr,"minimatch");function Jt(t,e){if(!(this instanceof Jt))return new Jt(t,e);Bh(t),e||(e={}),t=t.trim(),kA.sep!=="/"&&(t=t.split(kA.sep).join("/")),this.options=e,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}o(Jt,"Minimatch");Jt.prototype.debug=function(){};Jt.prototype.make=Ele;function Ele(){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(HU)}),this.debug(this.pattern,r),r=r.map(function(n,i,s){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(Ele,"make");Jt.prototype.parseNegate=Ble;function Ble(){var t=this.pattern,e=!1,r=this.options,n=0;if(!r.nonegate){for(var i=0,s=t.length;i<s&&t.charAt(i)==="!";i++)e=!e,n++;n&&(this.pattern=t.substr(n)),this.negate=e}}o(Ble,"parseNegate");Gr.braceExpand=function(t,e){return zU(t,e)};Jt.prototype.braceExpand=zU;function zU(t,e){return e||(this instanceof Jt?e=this.options:e={}),t=typeof t>"u"?this.pattern:t,Bh(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:fle(t)}o(zU,"braceExpand");var Ile=1024*64,Bh=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Ile)throw new TypeError("pattern is too long")},"assertValidPattern");Jt.prototype.parse=ble;var Eh={};function ble(t,e){Bh(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return KI;if(t==="")return"";var n="",i=!!r.nocase,s=!1,a=[],c=[],l,A=!1,u=-1,d=-1,f=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",g=this;function C(){if(l){switch(l){case"*":n+=WI,i=!0;break;case"?":n+=VI,i=!0;break;default:n+="\\"+l;break}g.debug("clearStateChar %j %j",l,n),l=!1}}o(C,"clearStateChar");for(var Q=0,S=t.length,w;Q<S&&(w=t.charAt(Q));Q++){if(this.debug("%s %s %s %j",t,Q,n,w),s&&qU[w]){n+="\\"+w,s=!1;continue}switch(w){case"/":return!1;case"\\":C(),s=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",t,Q,n,w),A){this.debug(" in class"),w==="!"&&Q===d+1&&(w="^"),n+=w;continue}g.debug("call clearStateChar %j",l),C(),l=w,r.noext&&C();continue;case"(":if(A){n+="(";continue}if(!l){n+="\\(";continue}a.push({type:l,start:Q-1,reStart:n.length,open:FU[l].open,close:FU[l].close}),n+=l==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",l,n),l=!1;continue;case")":if(A||!a.length){n+="\\)";continue}C(),i=!0;var R=a.pop();n+=R.close,R.type==="!"&&c.push(R),R.reEnd=n.length;continue;case"|":if(A||!a.length||s){n+="\\|",s=!1;continue}C(),n+="|";continue;case"[":if(C(),A){n+="\\"+w;continue}A=!0,d=Q,u=n.length,n+=w;continue;case"]":if(Q===d+1||!A){n+="\\"+w,s=!1;continue}var T=t.substring(d+1,Q);try{RegExp("["+T+"]")}catch{var L=this.parse(T,Eh);n=n.substr(0,u)+"\\["+L[0]+"\\]",i=i||L[1],A=!1;continue}i=!0,A=!1,n+=w;continue;default:C(),s?s=!1:qU[w]&&!(w==="^"&&A)&&(n+="\\"),n+=w}}for(A&&(T=t.substr(d+1),L=this.parse(T,Eh),n=n.substr(0,u)+"\\["+L[0],i=i||L[1]),R=a.pop();R;R=a.pop()){var W=n.slice(R.reStart+R.open.length);this.debug("setting tail",n,R),W=W.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(Ti,ed,Tl){return Tl||(Tl="\\"),ed+ed+Tl+"|"}),this.debug(`tail=%j
|
|
%s`,W,W,R,n);var de=R.type==="*"?WI:R.type==="?"?VI:"\\"+R.type;i=!0,n=n.slice(0,R.reStart)+de+"\\("+W}C(),s&&(n+="\\\\");var le=!1;switch(n.charAt(0)){case"[":case".":case"(":le=!0}for(var De=c.length-1;De>-1;De--){var Te=c[De],qe=n.slice(0,Te.reStart),$e=n.slice(Te.reStart,Te.reEnd-8),fe=n.slice(Te.reEnd-8,Te.reEnd),je=n.slice(Te.reEnd);fe+=je;var Kn=qe.split("(").length-1,Pi=je;for(Q=0;Q<Kn;Q++)Pi=Pi.replace(/\)[+*?]?/,"");je=Pi;var Di="";je===""&&e!==Eh&&(Di="$");var Vy=qe+$e+je+Di+fe;n=Vy}if(n!==""&&i&&(n="(?=.)"+n),le&&(n=f+n),e===Eh)return[n,i];if(!i)return wle(t);var Wy=r.nocase?"i":"";try{var eo=new RegExp("^"+n+"$",Wy)}catch{return new RegExp("$.")}return eo._glob=t,eo._src=n,eo}o(ble,"parse");Gr.makeRe=function(t,e){return new Jt(t,e||{}).makeRe()};Jt.prototype.makeRe=Qle;function Qle(){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?WI:e.dot?mle:gle,n=e.nocase?"i":"",i=t.map(function(s){return s.map(function(a){return a===KI?r:typeof a=="string"?Nle(a):a._src}).join("\\/")}).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,n)}catch{this.regexp=!1}return this.regexp}o(Qle,"makeRe");Gr.match=function(t,e,r){r=r||{};var n=new Jt(e,r);return t=t.filter(function(i){return n.match(i)}),n.options.nonull&&!t.length&&t.push(e),t};Jt.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;kA.sep!=="/"&&(e=e.split(kA.sep).join("/")),e=e.split(HU),this.debug(this.pattern,"split",e);var i=this.set;this.debug(this.pattern,"set",i);var s,a;for(a=e.length-1;a>=0&&(s=e[a],!s);a--);for(a=0;a<i.length;a++){var c=i[a],l=e;n.matchBase&&c.length===1&&(l=[s]);var A=this.matchOne(l,c,r);if(A)return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate},"match");Jt.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 i=0,s=0,a=t.length,c=e.length;i<a&&s<c;i++,s++){this.debug("matchOne loop");var l=e[s],A=t[i];if(this.debug(e,l,A),l===!1)return!1;if(l===KI){this.debug("GLOBSTAR",[e,l,A]);var u=i,d=s+1;if(d===c){for(this.debug("** at the end");i<a;i++)if(t[i]==="."||t[i]===".."||!n.dot&&t[i].charAt(0)===".")return!1;return!0}for(;u<a;){var f=t[u];if(this.debug(`
|
|
globstar while`,t,u,e,d,f),this.matchOne(t.slice(u),e.slice(d),r))return this.debug("globstar found match!",u,a,f),!0;if(f==="."||f===".."||!n.dot&&f.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 g;if(typeof l=="string"?(g=A===l,this.debug("string match",l,A,g)):(g=A.match(l),this.debug("pattern match",l,A,g)),!g)return!1}if(i===a&&s===c)return!0;if(i===a)return r;if(s===c)return i===a-1&&t[i]==="";throw new Error("wtf?")};function wle(t){return t.replace(/\\(.)/g,"$1")}o(wle,"globUnescape");function Nle(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(Nle,"regExpEscape")});var JU=m(gn=>{"use strict";var xle=gn&&gn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Sle=gn&&gn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),YU=gn&&gn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&xle(r,e,n[i]);return Sle(r,e),r}}(),Rle=gn&&gn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(gn,"__esModule",{value:!0});gn.Path=void 0;var LA=YU(require("path")),_s=YU(gh()),UA=Rle(require("assert")),_le=process.platform==="win32",$I=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,UA.default)(e,"Parameter 'itemPath' must not be empty"),e=_s.safeTrimTrailingSeparator(e),!_s.hasRoot(e))this.segments=e.split(LA.sep);else{let r=e,n=_s.dirname(r);for(;n!==r;){let i=LA.basename(r);this.segments.unshift(i),r=n,n=_s.dirname(r)}this.segments.unshift(r)}else{(0,UA.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,UA.default)(n,"Parameter 'itemPath' must not contain any empty segments"),n=_s.normalizeSeparators(e[r]),r===0&&_s.hasRoot(n)?(n=_s.safeTrimTrailingSeparator(n),(0,UA.default)(n===_s.dirname(n),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(n)):((0,UA.default)(!n.includes(LA.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(n))}}}toString(){let e=this.segments[0],r=e.endsWith(LA.sep)||_le&&/^[A-Z]:$/i.test(e);for(let n=1;n<this.segments.length;n++)r?r=!1:e+=LA.sep,e+=this.segments[n];return e}};gn.Path=$I});var VU=m(yn=>{"use strict";var vle=yn&&yn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Ple=yn&&yn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),eb=yn&&yn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&vle(r,e,n[i]);return Ple(r,e),r}}(),Dle=yn&&yn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(yn,"__esModule",{value:!0});yn.Pattern=void 0;var Tle=eb(require("os")),FA=eb(require("path")),Qr=eb(gh()),Ro=Dle(require("assert")),Ole=GU(),XI=Ch(),Ih=JU(),$i=process.platform==="win32",ZI=class t{static{o(this,"Pattern")}constructor(e,r=!1,n,i){this.negate=!1;let s;if(typeof e=="string")s=e.trim();else{n=n||[],(0,Ro.default)(n.length,"Parameter 'segments' must not empty");let A=t.getLiteral(n[0]);(0,Ro.default)(A&&Qr.hasAbsoluteRoot(A),"Parameter 'segments' first element must be a root path"),s=new Ih.Path(n).toString().trim(),e&&(s=`!${s}`)}for(;s.startsWith("!");)this.negate=!this.negate,s=s.substr(1).trim();s=t.fixupPattern(s,i),this.segments=new Ih.Path(s).segments,this.trailingSeparator=Qr.normalizeSeparators(s).endsWith(FA.sep),s=Qr.safeTrimTrailingSeparator(s);let a=!1,c=this.segments.map(A=>t.getLiteral(A)).filter(A=>!a&&!(a=A===""));this.searchPath=new Ih.Path(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),$i?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:$i,nocomment:!0,noext:!0,nonegate:!0};s=$i?s.replace(/\\/g,"/"):s,this.minimatch=new Ole.Minimatch(s,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Qr.normalizeSeparators(e),!e.endsWith(FA.sep)&&this.isImplicitPattern===!1&&(e=`${e}${FA.sep}`)):e=Qr.safeTrimTrailingSeparator(e),this.minimatch.match(e)?this.trailingSeparator?XI.MatchKind.Directory:XI.MatchKind.All:XI.MatchKind.None}partialMatch(e){return e=Qr.safeTrimTrailingSeparator(e),Qr.dirname(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split($i?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return($i?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,Ro.default)(e,"pattern cannot be empty");let n=new Ih.Path(e).segments.map(i=>t.getLiteral(i));if((0,Ro.default)(n.every((i,s)=>(i!=="."||s===0)&&i!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,Ro.default)(!Qr.hasRoot(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Qr.normalizeSeparators(e),e==="."||e.startsWith(`.${FA.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${FA.sep}`))r=r||Tle.homedir(),(0,Ro.default)(r,"Unable to determine HOME directory"),(0,Ro.default)(Qr.hasAbsoluteRoot(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if($i&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let i=Qr.ensureAbsoluteRoot("C:\\dummy-root",e.substr(0,2));e.length>2&&!i.endsWith("\\")&&(i+="\\"),e=t.globEscape(i)+e.substr(2)}else if($i&&(e==="\\"||e.match(/^\\[^\\]/))){let i=Qr.ensureAbsoluteRoot("C:\\dummy-root","\\");i.endsWith("\\")||(i+="\\"),e=t.globEscape(i)+e.substr(1)}else e=Qr.ensureAbsoluteRoot(t.globEscape(process.cwd()),e);return Qr.normalizeSeparators(e)}static getLiteral(e){let r="";for(let n=0;n<e.length;n++){let i=e[n];if(i==="\\"&&!$i&&n+1<e.length){r+=e[++n];continue}else{if(i==="*"||i==="?")return"";if(i==="["&&n+1<e.length){let s="",a=-1;for(let c=n+1;c<e.length;c++){let l=e[c];if(l==="\\"&&!$i&&c+1<e.length){s+=e[++c];continue}else if(l==="]"){a=c;break}else s+=l}if(a>=0){if(s.length>1)return"";if(s){r+=s,n=a;continue}}}}r+=i}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};yn.Pattern=ZI});var WU=m(bh=>{"use strict";Object.defineProperty(bh,"__esModule",{value:!0});bh.SearchState=void 0;var tb=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};bh.SearchState=tb});var tF=m(Ut=>{"use strict";var Mle=Ut&&Ut.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),kle=Ut&&Ut.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),HA=Ut&&Ut.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&Mle(r,e,n[i]);return kle(r,e),r}}(),rb=Ut&&Ut.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},Lle=Ut&&Ut.__asyncValues||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(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}},vs=Ut&&Ut.__await||function(t){return this instanceof vs?(this.v=t,this):new vs(t)},Ule=Ut&&Ut.__asyncGenerator||function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(g){return function(C){return Promise.resolve(C).then(g,d)}}function c(g,C){n[g]&&(i[g]=function(Q){return new Promise(function(S,w){s.push([g,Q,S,w])>1||l(g,Q)})},C&&(i[g]=C(i[g])))}function l(g,C){try{A(n[g](C))}catch(Q){f(s[0][3],Q)}}function A(g){g.value instanceof vs?Promise.resolve(g.value.v).then(u,d):f(s[0][2],g)}function u(g){l("next",g)}function d(g){l("throw",g)}function f(g,C){g(C),s.shift(),s.length&&l(s[0][0],s[0][1])}};Object.defineProperty(Ut,"__esModule",{value:!0});Ut.DefaultGlobber=void 0;var nb=HA(Zt()),qA=HA(require("fs")),KU=HA(EU()),$U=HA(require("path")),Qh=HA(QU()),XU=Ch(),ZU=VU(),eF=WU(),Fle=process.platform==="win32",ib=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=KU.getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return rb(this,void 0,void 0,function*(){var e,r,n,i;let s=[];try{for(var a=!0,c=Lle(this.globGenerator()),l;l=yield c.next(),e=l.done,!e;a=!0){i=l.value,a=!1;let A=i;s.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 s})}globGenerator(){return Ule(this,arguments,o(function*(){let r=KU.getOptions(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 ZU.Pattern(a.negate,!0,a.segments.concat("**")));let i=[];for(let a of Qh.getSearchPaths(n)){nb.debug(`Search path '${a}'`);try{yield vs(qA.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}i.unshift(new eF.SearchState(a,1))}let s=[];for(;i.length;){let a=i.pop(),c=Qh.match(n,a.path),l=!!c||Qh.partialMatch(n,a.path);if(!c&&!l)continue;let A=yield vs(t.stat(a,r,s));if(A&&!(r.excludeHiddenFiles&&$U.basename(a.path).match(/^\./)))if(A.isDirectory()){if(c&XU.MatchKind.Directory&&r.matchDirectories)yield yield vs(a.path);else if(!l)continue;let u=a.level+1,d=(yield vs(qA.promises.readdir(a.path))).map(f=>new eF.SearchState($U.join(a.path,f),u));i.push(...d.reverse())}else c&XU.MatchKind.File&&(yield yield vs(a.path))}},"globGenerator_1"))}static create(e,r){return rb(this,void 0,void 0,function*(){let n=new t(r);Fle&&(e=e.replace(/\r\n/g,`
|
|
`),e=e.replace(/\r/g,`
|
|
`));let i=e.split(`
|
|
`).map(s=>s.trim());for(let s of i)!s||s.startsWith("#")||n.patterns.push(new ZU.Pattern(s));return n.searchPaths.push(...Qh.getSearchPaths(n.patterns)),n})}static stat(e,r,n){return rb(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield qA.promises.stat(e.path)}catch(s){if(s.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){nb.debug(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw s}else i=yield qA.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let s=yield qA.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===s)){nb.debug(`Symlink cycle detected for path '${e.path}' and realpath '${s}'`);return}n.push(s)}return i})}};Ut.DefaultGlobber=ib});var sF=m(Yr=>{"use strict";var qle=Yr&&Yr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Hle=Yr&&Yr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),lc=Yr&&Yr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&qle(r,e,n[i]);return Hle(r,e),r}}(),zle=Yr&&Yr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},jle=Yr&&Yr.__asyncValues||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(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}};Object.defineProperty(Yr,"__esModule",{value:!0});Yr.hashFiles=Vle;var rF=lc(require("crypto")),nF=lc(Zt()),iF=lc(require("fs")),Gle=lc(require("stream")),Yle=lc(require("util")),Jle=lc(require("path"));function Vle(t,e){return zle(this,arguments,void 0,function*(r,n,i=!1){var s,a,c,l,A;let u=i?nF.info:nF.debug,d=!1,f=n||((A=process.env.GITHUB_WORKSPACE)!==null&&A!==void 0?A:process.cwd()),g=rF.createHash("sha256"),C=0;try{for(var Q=!0,S=jle(r.globGenerator()),w;w=yield S.next(),s=w.done,!s;Q=!0){l=w.value,Q=!1;let R=l;if(u(R),!R.startsWith(`${f}${Jle.sep}`)){u(`Ignore '${R}' since it is not under GITHUB_WORKSPACE.`);continue}if(iF.statSync(R).isDirectory()){u(`Skip directory '${R}'.`);continue}let T=rF.createHash("sha256");yield Yle.promisify(Gle.pipeline)(iF.createReadStream(R),T),g.write(T.digest()),C++,d||(d=!0)}}catch(R){a={error:R}}finally{try{!Q&&!s&&(c=S.return)&&(yield c.call(S))}finally{if(a)throw a.error}}return g.end(),d?(u(`Found ${C} files to hash.`),g.digest("hex")):(u("No matches found for glob"),"")})}o(Vle,"hashFiles")});var cF=m(Ac=>{"use strict";var oF=Ac&&Ac.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Ac,"__esModule",{value:!0});Ac.create=aF;Ac.hashFiles=$le;var Wle=tF(),Kle=sF();function aF(t,e){return oF(this,void 0,void 0,function*(){return yield Wle.DefaultGlobber.create(t,e)})}o(aF,"create");function $le(t){return oF(this,arguments,void 0,function*(e,r="",n,i=!1){let s=!0;n&&typeof n.followSymbolicLinks=="boolean"&&(s=n.followSymbolicLinks);let a=yield aF(e,{followSymbolicLinks:s});return(0,Kle.hashFiles)(a,r,i)})}o($le,"hashFiles")});var hF=m((ue,pF)=>{ue=pF.exports=Ce;var Le;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?Le=o(function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)},"debug"):Le=o(function(){},"debug");ue.SEMVER_SPEC_VERSION="2.0.0";var zA=256,wh=Number.MAX_SAFE_INTEGER||9007199254740991,sb=16,Xle=zA-6,uc=ue.re=[],ke=ue.safeRe=[],U=ue.src=[],O=ue.tokens={},uF=0;function Be(t){O[t]=uF++}o(Be,"tok");var ab="[a-zA-Z0-9-]",ob=[["\\s",1],["\\d",zA],[ab,Xle]];function GA(t){for(var e=0;e<ob.length;e++){var r=ob[e][0],n=ob[e][1];t=t.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}")}return t}o(GA,"makeSafeRe");Be("NUMERICIDENTIFIER");U[O.NUMERICIDENTIFIER]="0|[1-9]\\d*";Be("NUMERICIDENTIFIERLOOSE");U[O.NUMERICIDENTIFIERLOOSE]="\\d+";Be("NONNUMERICIDENTIFIER");U[O.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+ab+"*";Be("MAINVERSION");U[O.MAINVERSION]="("+U[O.NUMERICIDENTIFIER]+")\\.("+U[O.NUMERICIDENTIFIER]+")\\.("+U[O.NUMERICIDENTIFIER]+")";Be("MAINVERSIONLOOSE");U[O.MAINVERSIONLOOSE]="("+U[O.NUMERICIDENTIFIERLOOSE]+")\\.("+U[O.NUMERICIDENTIFIERLOOSE]+")\\.("+U[O.NUMERICIDENTIFIERLOOSE]+")";Be("PRERELEASEIDENTIFIER");U[O.PRERELEASEIDENTIFIER]="(?:"+U[O.NUMERICIDENTIFIER]+"|"+U[O.NONNUMERICIDENTIFIER]+")";Be("PRERELEASEIDENTIFIERLOOSE");U[O.PRERELEASEIDENTIFIERLOOSE]="(?:"+U[O.NUMERICIDENTIFIERLOOSE]+"|"+U[O.NONNUMERICIDENTIFIER]+")";Be("PRERELEASE");U[O.PRERELEASE]="(?:-("+U[O.PRERELEASEIDENTIFIER]+"(?:\\."+U[O.PRERELEASEIDENTIFIER]+")*))";Be("PRERELEASELOOSE");U[O.PRERELEASELOOSE]="(?:-?("+U[O.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+U[O.PRERELEASEIDENTIFIERLOOSE]+")*))";Be("BUILDIDENTIFIER");U[O.BUILDIDENTIFIER]=ab+"+";Be("BUILD");U[O.BUILD]="(?:\\+("+U[O.BUILDIDENTIFIER]+"(?:\\."+U[O.BUILDIDENTIFIER]+")*))";Be("FULL");Be("FULLPLAIN");U[O.FULLPLAIN]="v?"+U[O.MAINVERSION]+U[O.PRERELEASE]+"?"+U[O.BUILD]+"?";U[O.FULL]="^"+U[O.FULLPLAIN]+"$";Be("LOOSEPLAIN");U[O.LOOSEPLAIN]="[v=\\s]*"+U[O.MAINVERSIONLOOSE]+U[O.PRERELEASELOOSE]+"?"+U[O.BUILD]+"?";Be("LOOSE");U[O.LOOSE]="^"+U[O.LOOSEPLAIN]+"$";Be("GTLT");U[O.GTLT]="((?:<|>)?=?)";Be("XRANGEIDENTIFIERLOOSE");U[O.XRANGEIDENTIFIERLOOSE]=U[O.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";Be("XRANGEIDENTIFIER");U[O.XRANGEIDENTIFIER]=U[O.NUMERICIDENTIFIER]+"|x|X|\\*";Be("XRANGEPLAIN");U[O.XRANGEPLAIN]="[v=\\s]*("+U[O.XRANGEIDENTIFIER]+")(?:\\.("+U[O.XRANGEIDENTIFIER]+")(?:\\.("+U[O.XRANGEIDENTIFIER]+")(?:"+U[O.PRERELEASE]+")?"+U[O.BUILD]+"?)?)?";Be("XRANGEPLAINLOOSE");U[O.XRANGEPLAINLOOSE]="[v=\\s]*("+U[O.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+U[O.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+U[O.XRANGEIDENTIFIERLOOSE]+")(?:"+U[O.PRERELEASELOOSE]+")?"+U[O.BUILD]+"?)?)?";Be("XRANGE");U[O.XRANGE]="^"+U[O.GTLT]+"\\s*"+U[O.XRANGEPLAIN]+"$";Be("XRANGELOOSE");U[O.XRANGELOOSE]="^"+U[O.GTLT]+"\\s*"+U[O.XRANGEPLAINLOOSE]+"$";Be("COERCE");U[O.COERCE]="(^|[^\\d])(\\d{1,"+sb+"})(?:\\.(\\d{1,"+sb+"}))?(?:\\.(\\d{1,"+sb+"}))?(?:$|[^\\d])";Be("COERCERTL");uc[O.COERCERTL]=new RegExp(U[O.COERCE],"g");ke[O.COERCERTL]=new RegExp(GA(U[O.COERCE]),"g");Be("LONETILDE");U[O.LONETILDE]="(?:~>?)";Be("TILDETRIM");U[O.TILDETRIM]="(\\s*)"+U[O.LONETILDE]+"\\s+";uc[O.TILDETRIM]=new RegExp(U[O.TILDETRIM],"g");ke[O.TILDETRIM]=new RegExp(GA(U[O.TILDETRIM]),"g");var Zle="$1~";Be("TILDE");U[O.TILDE]="^"+U[O.LONETILDE]+U[O.XRANGEPLAIN]+"$";Be("TILDELOOSE");U[O.TILDELOOSE]="^"+U[O.LONETILDE]+U[O.XRANGEPLAINLOOSE]+"$";Be("LONECARET");U[O.LONECARET]="(?:\\^)";Be("CARETTRIM");U[O.CARETTRIM]="(\\s*)"+U[O.LONECARET]+"\\s+";uc[O.CARETTRIM]=new RegExp(U[O.CARETTRIM],"g");ke[O.CARETTRIM]=new RegExp(GA(U[O.CARETTRIM]),"g");var eAe="$1^";Be("CARET");U[O.CARET]="^"+U[O.LONECARET]+U[O.XRANGEPLAIN]+"$";Be("CARETLOOSE");U[O.CARETLOOSE]="^"+U[O.LONECARET]+U[O.XRANGEPLAINLOOSE]+"$";Be("COMPARATORLOOSE");U[O.COMPARATORLOOSE]="^"+U[O.GTLT]+"\\s*("+U[O.LOOSEPLAIN]+")$|^$";Be("COMPARATOR");U[O.COMPARATOR]="^"+U[O.GTLT]+"\\s*("+U[O.FULLPLAIN]+")$|^$";Be("COMPARATORTRIM");U[O.COMPARATORTRIM]="(\\s*)"+U[O.GTLT]+"\\s*("+U[O.LOOSEPLAIN]+"|"+U[O.XRANGEPLAIN]+")";uc[O.COMPARATORTRIM]=new RegExp(U[O.COMPARATORTRIM],"g");ke[O.COMPARATORTRIM]=new RegExp(GA(U[O.COMPARATORTRIM]),"g");var tAe="$1$2$3";Be("HYPHENRANGE");U[O.HYPHENRANGE]="^\\s*("+U[O.XRANGEPLAIN]+")\\s+-\\s+("+U[O.XRANGEPLAIN]+")\\s*$";Be("HYPHENRANGELOOSE");U[O.HYPHENRANGELOOSE]="^\\s*("+U[O.XRANGEPLAINLOOSE]+")\\s+-\\s+("+U[O.XRANGEPLAINLOOSE]+")\\s*$";Be("STAR");U[O.STAR]="(<|>)?=?\\s*\\*";for(pi=0;pi<uF;pi++)Le(pi,U[pi]),uc[pi]||(uc[pi]=new RegExp(U[pi]),ke[pi]=new RegExp(GA(U[pi])));var pi;ue.parse=vo;function vo(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof Ce)return t;if(typeof t!="string"||t.length>zA)return null;var r=e.loose?ke[O.LOOSE]:ke[O.FULL];if(!r.test(t))return null;try{return new Ce(t,e)}catch{return null}}o(vo,"parse");ue.valid=rAe;function rAe(t,e){var r=vo(t,e);return r?r.version:null}o(rAe,"valid");ue.clean=nAe;function nAe(t,e){var r=vo(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null}o(nAe,"clean");ue.SemVer=Ce;function Ce(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof Ce){if(t.loose===e.loose)return t;t=t.version}else if(typeof t!="string")throw new TypeError("Invalid Version: "+t);if(t.length>zA)throw new TypeError("version is longer than "+zA+" characters");if(!(this instanceof Ce))return new Ce(t,e);Le("SemVer",t,e),this.options=e,this.loose=!!e.loose;var r=t.trim().match(e.loose?ke[O.LOOSE]:ke[O.FULL]);if(!r)throw new TypeError("Invalid Version: "+t);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>wh||this.major<0)throw new TypeError("Invalid major version");if(this.minor>wh||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>wh||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(n){if(/^[0-9]+$/.test(n)){var i=+n;if(i>=0&&i<wh)return i}return n}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}o(Ce,"SemVer");Ce.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};Ce.prototype.toString=function(){return this.version};Ce.prototype.compare=function(t){return Le("SemVer.compare",this.version,this.options,t),t instanceof Ce||(t=new Ce(t,this.options)),this.compareMain(t)||this.comparePre(t)};Ce.prototype.compareMain=function(t){return t instanceof Ce||(t=new Ce(t,this.options)),_o(this.major,t.major)||_o(this.minor,t.minor)||_o(this.patch,t.patch)};Ce.prototype.comparePre=function(t){if(t instanceof Ce||(t=new Ce(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;var e=0;do{var r=this.prerelease[e],n=t.prerelease[e];if(Le("prerelease compare",e,r,n),r===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(r===n)continue;return _o(r,n)}while(++e)};Ce.prototype.compareBuild=function(t){t instanceof Ce||(t=new Ce(t,this.options));var e=0;do{var r=this.build[e],n=t.build[e];if(Le("prerelease compare",e,r,n),r===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(r===n)continue;return _o(r,n)}while(++e)};Ce.prototype.inc=function(t,e){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",e),this.inc("pre",e);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":if(this.prerelease.length===0)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+t)}return this.format(),this.raw=this.version,this};ue.inc=iAe;function iAe(t,e,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new Ce(t,r).inc(e,n).version}catch{return null}}o(iAe,"inc");ue.diff=sAe;function sAe(t,e){if(cb(t,e))return null;var r=vo(t),n=vo(e),i="";if(r.prerelease.length||n.prerelease.length){i="pre";var s="prerelease"}for(var a in r)if((a==="major"||a==="minor"||a==="patch")&&r[a]!==n[a])return i+a;return s}o(sAe,"diff");ue.compareIdentifiers=_o;var lF=/^[0-9]+$/;function _o(t,e){var r=lF.test(t),n=lF.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1}o(_o,"compareIdentifiers");ue.rcompareIdentifiers=oAe;function oAe(t,e){return _o(e,t)}o(oAe,"rcompareIdentifiers");ue.major=aAe;function aAe(t,e){return new Ce(t,e).major}o(aAe,"major");ue.minor=cAe;function cAe(t,e){return new Ce(t,e).minor}o(cAe,"minor");ue.patch=lAe;function lAe(t,e){return new Ce(t,e).patch}o(lAe,"patch");ue.compare=Xi;function Xi(t,e,r){return new Ce(t,r).compare(new Ce(e,r))}o(Xi,"compare");ue.compareLoose=AAe;function AAe(t,e){return Xi(t,e,!0)}o(AAe,"compareLoose");ue.compareBuild=uAe;function uAe(t,e,r){var n=new Ce(t,r),i=new Ce(e,r);return n.compare(i)||n.compareBuild(i)}o(uAe,"compareBuild");ue.rcompare=dAe;function dAe(t,e,r){return Xi(e,t,r)}o(dAe,"rcompare");ue.sort=pAe;function pAe(t,e){return t.sort(function(r,n){return ue.compareBuild(r,n,e)})}o(pAe,"sort");ue.rsort=hAe;function hAe(t,e){return t.sort(function(r,n){return ue.compareBuild(n,r,e)})}o(hAe,"rsort");ue.gt=jA;function jA(t,e,r){return Xi(t,e,r)>0}o(jA,"gt");ue.lt=Nh;function Nh(t,e,r){return Xi(t,e,r)<0}o(Nh,"lt");ue.eq=cb;function cb(t,e,r){return Xi(t,e,r)===0}o(cb,"eq");ue.neq=dF;function dF(t,e,r){return Xi(t,e,r)!==0}o(dF,"neq");ue.gte=lb;function lb(t,e,r){return Xi(t,e,r)>=0}o(lb,"gte");ue.lte=Ab;function Ab(t,e,r){return Xi(t,e,r)<=0}o(Ab,"lte");ue.cmp=xh;function xh(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 cb(t,r,n);case"!=":return dF(t,r,n);case">":return jA(t,r,n);case">=":return lb(t,r,n);case"<":return Nh(t,r,n);case"<=":return Ab(t,r,n);default:throw new TypeError("Invalid operator: "+e)}}o(xh,"cmp");ue.Comparator=Cn;function Cn(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof Cn){if(t.loose===!!e.loose)return t;t=t.value}if(!(this instanceof Cn))return new Cn(t,e);t=t.trim().split(/\s+/).join(" "),Le("comparator",t,e),this.options=e,this.loose=!!e.loose,this.parse(t),this.semver===dc?this.value="":this.value=this.operator+this.semver.version,Le("comp",this)}o(Cn,"Comparator");var dc={};Cn.prototype.parse=function(t){var e=this.options.loose?ke[O.COMPARATORLOOSE]:ke[O.COMPARATOR],r=t.match(e);if(!r)throw new TypeError("Invalid comparator: "+t);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new Ce(r[2],this.options.loose):this.semver=dc};Cn.prototype.toString=function(){return this.value};Cn.prototype.test=function(t){if(Le("Comparator.test",t,this.options.loose),this.semver===dc||t===dc)return!0;if(typeof t=="string")try{t=new Ce(t,this.options)}catch{return!1}return xh(t,this.operator,this.semver,this.options)};Cn.prototype.intersects=function(t,e){if(!(t instanceof Cn))throw new TypeError("a Comparator is required");(!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1});var r;if(this.operator==="")return this.value===""?!0:(r=new At(t.value,e),Sh(this.value,r,e));if(t.operator==="")return t.value===""?!0:(r=new At(this.value,e),Sh(t.semver,r,e));var n=(this.operator===">="||this.operator===">")&&(t.operator===">="||t.operator===">"),i=(this.operator==="<="||this.operator==="<")&&(t.operator==="<="||t.operator==="<"),s=this.semver.version===t.semver.version,a=(this.operator===">="||this.operator==="<=")&&(t.operator===">="||t.operator==="<="),c=xh(this.semver,"<",t.semver,e)&&(this.operator===">="||this.operator===">")&&(t.operator==="<="||t.operator==="<"),l=xh(this.semver,">",t.semver,e)&&(this.operator==="<="||this.operator==="<")&&(t.operator===">="||t.operator===">");return n||i||s&&a||c||l};ue.Range=At;function At(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof At)return t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease?t:new At(t.raw,e);if(t instanceof Cn)return new At(t.value,e);if(!(this instanceof At))return new At(t,e);if(this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(r){return this.parseRange(r.trim())},this).filter(function(r){return r.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}o(At,"Range");At.prototype.format=function(){return this.range=this.set.map(function(t){return t.join(" ").trim()}).join("||").trim(),this.range};At.prototype.toString=function(){return this.range};At.prototype.parseRange=function(t){var e=this.options.loose,r=e?ke[O.HYPHENRANGELOOSE]:ke[O.HYPHENRANGE];t=t.replace(r,QAe),Le("hyphen replace",t),t=t.replace(ke[O.COMPARATORTRIM],tAe),Le("comparator trim",t,ke[O.COMPARATORTRIM]),t=t.replace(ke[O.TILDETRIM],Zle),t=t.replace(ke[O.CARETTRIM],eAe),t=t.split(/\s+/).join(" ");var n=e?ke[O.COMPARATORLOOSE]:ke[O.COMPARATOR],i=t.split(" ").map(function(s){return mAe(s,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(s){return!!s.match(n)})),i=i.map(function(s){return new Cn(s,this.options)},this),i};At.prototype.intersects=function(t,e){if(!(t instanceof At))throw new TypeError("a Range is required");return this.set.some(function(r){return AF(r,e)&&t.set.some(function(n){return AF(n,e)&&r.every(function(i){return n.every(function(s){return i.intersects(s,e)})})})})};function AF(t,e){for(var r=!0,n=t.slice(),i=n.pop();r&&n.length;)r=n.every(function(s){return i.intersects(s,e)}),i=n.pop();return r}o(AF,"isSatisfiable");ue.toComparators=fAe;function fAe(t,e){return new At(t,e).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}o(fAe,"toComparators");function mAe(t,e){return Le("comp",t,e),t=CAe(t,e),Le("caret",t),t=gAe(t,e),Le("tildes",t),t=BAe(t,e),Le("xrange",t),t=bAe(t,e),Le("stars",t),t}o(mAe,"parseComparator");function dr(t){return!t||t.toLowerCase()==="x"||t==="*"}o(dr,"isX");function gAe(t,e){return t.trim().split(/\s+/).map(function(r){return yAe(r,e)}).join(" ")}o(gAe,"replaceTildes");function yAe(t,e){var r=e.loose?ke[O.TILDELOOSE]:ke[O.TILDE];return t.replace(r,function(n,i,s,a,c){Le("tilde",t,n,i,s,a,c);var l;return dr(i)?l="":dr(s)?l=">="+i+".0.0 <"+(+i+1)+".0.0":dr(a)?l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":c?(Le("replaceTilde pr",c),l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+(+s+1)+".0"):l=">="+i+"."+s+"."+a+" <"+i+"."+(+s+1)+".0",Le("tilde return",l),l})}o(yAe,"replaceTilde");function CAe(t,e){return t.trim().split(/\s+/).map(function(r){return EAe(r,e)}).join(" ")}o(CAe,"replaceCarets");function EAe(t,e){Le("caret",t,e);var r=e.loose?ke[O.CARETLOOSE]:ke[O.CARET];return t.replace(r,function(n,i,s,a,c){Le("caret",t,n,i,s,a,c);var l;return dr(i)?l="":dr(s)?l=">="+i+".0.0 <"+(+i+1)+".0.0":dr(a)?i==="0"?l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+".0 <"+(+i+1)+".0.0":c?(Le("replaceCaret pr",c),i==="0"?s==="0"?l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+s+"."+(+a+1):l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+"."+a+"-"+c+" <"+(+i+1)+".0.0"):(Le("no pr"),i==="0"?s==="0"?l=">="+i+"."+s+"."+a+" <"+i+"."+s+"."+(+a+1):l=">="+i+"."+s+"."+a+" <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+"."+a+" <"+(+i+1)+".0.0"),Le("caret return",l),l})}o(EAe,"replaceCaret");function BAe(t,e){return Le("replaceXRanges",t,e),t.split(/\s+/).map(function(r){return IAe(r,e)}).join(" ")}o(BAe,"replaceXRanges");function IAe(t,e){t=t.trim();var r=e.loose?ke[O.XRANGELOOSE]:ke[O.XRANGE];return t.replace(r,function(n,i,s,a,c,l){Le("xRange",t,n,i,s,a,c,l);var A=dr(s),u=A||dr(a),d=u||dr(c),f=d;return i==="="&&f&&(i=""),l=e.includePrerelease?"-0":"",A?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&f?(u&&(a=0),c=0,i===">"?(i=">=",u?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):i==="<="&&(i="<",u?s=+s+1:a=+a+1),n=i+s+"."+a+"."+c+l):u?n=">="+s+".0.0"+l+" <"+(+s+1)+".0.0"+l:d&&(n=">="+s+"."+a+".0"+l+" <"+s+"."+(+a+1)+".0"+l),Le("xRange return",n),n})}o(IAe,"replaceXRange");function bAe(t,e){return Le("replaceStars",t,e),t.trim().replace(ke[O.STAR],"")}o(bAe,"replaceStars");function QAe(t,e,r,n,i,s,a,c,l,A,u,d,f){return dr(r)?e="":dr(n)?e=">="+r+".0.0":dr(i)?e=">="+r+"."+n+".0":e=">="+e,dr(l)?c="":dr(A)?c="<"+(+l+1)+".0.0":dr(u)?c="<"+l+"."+(+A+1)+".0":d?c="<="+l+"."+A+"."+u+"-"+d:c="<="+c,(e+" "+c).trim()}o(QAe,"hyphenReplace");At.prototype.test=function(t){if(!t)return!1;if(typeof t=="string")try{t=new Ce(t,this.options)}catch{return!1}for(var e=0;e<this.set.length;e++)if(wAe(this.set[e],t,this.options))return!0;return!1};function wAe(t,e,r){for(var n=0;n<t.length;n++)if(!t[n].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(n=0;n<t.length;n++)if(Le(t[n].semver),t[n].semver!==dc&&t[n].semver.prerelease.length>0){var i=t[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0}o(wAe,"testSet");ue.satisfies=Sh;function Sh(t,e,r){try{e=new At(e,r)}catch{return!1}return e.test(t)}o(Sh,"satisfies");ue.maxSatisfying=NAe;function NAe(t,e,r){var n=null,i=null;try{var s=new At(e,r)}catch{return null}return t.forEach(function(a){s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new Ce(n,r))}),n}o(NAe,"maxSatisfying");ue.minSatisfying=xAe;function xAe(t,e,r){var n=null,i=null;try{var s=new At(e,r)}catch{return null}return t.forEach(function(a){s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new Ce(n,r))}),n}o(xAe,"minSatisfying");ue.minVersion=SAe;function SAe(t,e){t=new At(t,e);var r=new Ce("0.0.0");if(t.test(r)||(r=new Ce("0.0.0-0"),t.test(r)))return r;r=null;for(var n=0;n<t.set.length;++n){var i=t.set[n];i.forEach(function(s){var a=new Ce(s.semver.version);switch(s.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!r||jA(r,a))&&(r=a);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+s.operator)}})}return r&&t.test(r)?r:null}o(SAe,"minVersion");ue.validRange=RAe;function RAe(t,e){try{return new At(t,e).range||"*"}catch{return null}}o(RAe,"validRange");ue.ltr=_Ae;function _Ae(t,e,r){return ub(t,e,"<",r)}o(_Ae,"ltr");ue.gtr=vAe;function vAe(t,e,r){return ub(t,e,">",r)}o(vAe,"gtr");ue.outside=ub;function ub(t,e,r,n){t=new Ce(t,n),e=new At(e,n);var i,s,a,c,l;switch(r){case">":i=jA,s=Ab,a=Nh,c=">",l=">=";break;case"<":i=Nh,s=lb,a=jA,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Sh(t,e,n))return!1;for(var A=0;A<e.set.length;++A){var u=e.set[A],d=null,f=null;if(u.forEach(function(g){g.semver===dc&&(g=new Cn(">=0.0.0")),d=d||g,f=f||g,i(g.semver,d.semver,n)?d=g:a(g.semver,f.semver,n)&&(f=g)}),d.operator===c||d.operator===l||(!f.operator||f.operator===c)&&s(t,f.semver))return!1;if(f.operator===l&&a(t,f.semver))return!1}return!0}o(ub,"outside");ue.prerelease=PAe;function PAe(t,e){var r=vo(t,e);return r&&r.prerelease.length?r.prerelease:null}o(PAe,"prerelease");ue.intersects=DAe;function DAe(t,e,r){return t=new At(t,r),e=new At(e,r),t.intersects(e)}o(DAe,"intersects");ue.coerce=TAe;function TAe(t,e){if(t instanceof Ce)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};var r=null;if(!e.rtl)r=t.match(ke[O.COERCE]);else{for(var n;(n=ke[O.COERCERTL].exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),ke[O.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;ke[O.COERCERTL].lastIndex=-1}return r===null?null:vo(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),e)}o(TAe,"coerce")});var YA=m(it=>{"use strict";Object.defineProperty(it,"__esModule",{value:!0});it.CacheFileSizeLimit=it.ManifestFilename=it.TarFilename=it.SystemTarPathOnWindows=it.GnuTarPathOnWindows=it.SocketTimeout=it.DefaultRetryDelay=it.DefaultRetryAttempts=it.ArchiveToolType=it.CompressionMethod=it.CacheFilename=void 0;var fF;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(fF||(it.CacheFilename=fF={}));var mF;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(mF||(it.CompressionMethod=mF={}));var gF;(function(t){t.GNU="gnu",t.BSD="bsd"})(gF||(it.ArchiveToolType=gF={}));it.DefaultRetryAttempts=2;it.DefaultRetryDelay=5e3;it.SocketTimeout=5e3;it.GnuTarPathOnWindows=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`;it.SystemTarPathOnWindows=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`;it.TarFilename="cache.tar";it.ManifestFilename="manifest.txt";it.CacheFileSizeLimit=10*Math.pow(1024,3)});var hc=m(pt=>{"use strict";var OAe=pt&&pt.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),MAe=pt&&pt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Zi=pt&&pt.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&OAe(r,e,n[i]);return MAe(r,e),r}}(),pc=pt&&pt.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},kAe=pt&&pt.__asyncValues||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(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}};Object.defineProperty(pt,"__esModule",{value:!0});pt.createTempDirectory=zAe;pt.getArchiveFileSizeInBytes=jAe;pt.resolvePaths=GAe;pt.unlinkFile=YAe;pt.getCompressionMethod=JAe;pt.getCacheFileName=VAe;pt.getGnuTarPathOnWindows=WAe;pt.assertDefined=KAe;pt.getCacheVersion=$Ae;pt.getRuntimeToken=XAe;var JA=Zi(Zt()),LAe=Zi(ph()),UAe=Zi(cF()),yF=Zi(Ah()),CF=Zi(require("crypto")),db=Zi(require("fs")),Rh=Zi(require("path")),FAe=Zi(hF()),qAe=Zi(require("util")),Po=YA(),HAe="1.0";function zAe(){return pc(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=Rh.join(n,"actions","temp")}let r=Rh.join(e,CF.randomUUID());return yield yF.mkdirP(r),r})}o(zAe,"createTempDirectory");function jAe(t){return db.statSync(t).size}o(jAe,"getArchiveFileSizeInBytes");function GAe(t){return pc(this,void 0,void 0,function*(){var e,r,n,i,s;let a=[],c=(s=process.env.GITHUB_WORKSPACE)!==null&&s!==void 0?s:process.cwd(),l=yield UAe.create(t.join(`
|
|
`),{implicitDescendants:!1});try{for(var A=!0,u=kAe(l.globGenerator()),d;d=yield u.next(),e=d.done,!e;A=!0){i=d.value,A=!1;let f=i,g=Rh.relative(c,f).replace(new RegExp(`\\${Rh.sep}`,"g"),"/");JA.debug(`Matched: ${g}`),g===""?a.push("."):a.push(`${g}`)}}catch(f){r={error:f}}finally{try{!A&&!e&&(n=u.return)&&(yield n.call(u))}finally{if(r)throw r.error}}return a})}o(GAe,"resolvePaths");function YAe(t){return pc(this,void 0,void 0,function*(){return qAe.promisify(db.unlink)(t)})}o(YAe,"unlinkFile");function EF(t){return pc(this,arguments,void 0,function*(e,r=[]){let n="";r.push("--version"),JA.debug(`Checking ${e} ${r.join(" ")}`);try{yield LAe.exec(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:i=>n+=i.toString(),stderr:i=>n+=i.toString()}})}catch(i){JA.debug(i.message)}return n=n.trim(),JA.debug(n),n})}o(EF,"getVersion");function JAe(){return pc(this,void 0,void 0,function*(){let t=yield EF("zstd",["--quiet"]),e=FAe.clean(t);return JA.debug(`zstd version: ${e}`),t===""?Po.CompressionMethod.Gzip:Po.CompressionMethod.ZstdWithoutLong})}o(JAe,"getCompressionMethod");function VAe(t){return t===Po.CompressionMethod.Gzip?Po.CacheFilename.Gzip:Po.CacheFilename.Zstd}o(VAe,"getCacheFileName");function WAe(){return pc(this,void 0,void 0,function*(){return db.existsSync(Po.GnuTarPathOnWindows)?Po.GnuTarPathOnWindows:(yield EF("tar")).toLowerCase().includes("gnu tar")?yF.which("tar"):""})}o(WAe,"getGnuTarPathOnWindows");function KAe(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(KAe,"assertDefined");function $Ae(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(HAe),CF.createHash("sha256").update(n.join("|")).digest("hex")}o($Ae,"getCacheVersion");function XAe(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(XAe,"getRuntimeToken")});var Jr={};rd(Jr,{__addDisposableResource:()=>GF,__assign:()=>_h,__asyncDelegator:()=>kF,__asyncGenerator:()=>MF,__asyncValues:()=>LF,__await:()=>fc,__awaiter:()=>_F,__classPrivateFieldGet:()=>HF,__classPrivateFieldIn:()=>jF,__classPrivateFieldSet:()=>zF,__createBinding:()=>Ph,__decorate:()=>bF,__disposeResources:()=>YF,__esDecorate:()=>wF,__exportStar:()=>PF,__extends:()=>BF,__generator:()=>vF,__importDefault:()=>qF,__importStar:()=>FF,__makeTemplateObject:()=>UF,__metadata:()=>RF,__param:()=>QF,__propKey:()=>xF,__read:()=>fb,__rest:()=>IF,__rewriteRelativeImportExtension:()=>JF,__runInitializers:()=>NF,__setFunctionName:()=>SF,__spread:()=>DF,__spreadArray:()=>OF,__spreadArrays:()=>TF,__values:()=>vh,default:()=>tue});function BF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");pb(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function IF(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function bF(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function QF(t,e){return function(r,n){e(r,n,t)}}function wF(t,e,r,n,i,s){function a(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}o(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,f=!1,g=r.length-1;g>=0;g--){var C={};for(var Q in n)C[Q]=Q==="access"?{}:n[Q];for(var Q in n.access)C.access[Q]=n.access[Q];C.addInitializer=function(w){if(f)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(w||null))};var S=(0,r[g])(c==="accessor"?{get:u.get,set:u.set}:u[l],C);if(c==="accessor"){if(S===void 0)continue;if(S===null||typeof S!="object")throw new TypeError("Object expected");(d=a(S.get))&&(u.get=d),(d=a(S.set))&&(u.set=d),(d=a(S.init))&&i.unshift(d)}else(d=a(S))&&(c==="field"?i.unshift(d):u[l]=d)}A&&Object.defineProperty(A,n.name,u),f=!0}function NF(t,e,r){for(var n=arguments.length>2,i=0;i<e.length;i++)r=n?e[i].call(t,r):e[i].call(t);return n?r:void 0}function xF(t){return typeof t=="symbol"?t:"".concat(t)}function SF(t,e,r){return typeof e=="symbol"&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function RF(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function _F(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})}function vF(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=c(0),a.throw=c(1),a.return=c(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(A){return function(u){return l([A,u])}}function l(A){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,A[0]&&(r=0)),r;)try{if(n=1,i&&(s=A[0]&2?i.return:A[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,A[1])).done)return s;switch(i=0,s&&(A=[A[0]&2,s.value]),A[0]){case 0:case 1:s=A;break;case 4:return r.label++,{value:A[1],done:!1};case 5:r.label++,i=A[1],A=[0];continue;case 7:A=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!s||A[1]>s[0]&&A[1]<s[3])){r.label=A[1];break}if(A[0]===6&&r.label<s[1]){r.label=s[1],s=A;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(A);break}s[2]&&r.ops.pop(),r.trys.pop();continue}A=e.call(t,r)}catch(u){A=[6,u],i=0}finally{n=s=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}}function PF(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Ph(e,t,r)}function vh(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function fb(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function DF(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(fb(arguments[e]));return t}function TF(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<r;e++)for(var s=arguments[e],a=0,c=s.length;a<c;a++,i++)n[i]=s[a];return n}function OF(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))}function fc(t){return this instanceof fc?(this.v=t,this):new fc(t)}function MF(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(g){return function(C){return Promise.resolve(C).then(g,d)}}function c(g,C){n[g]&&(i[g]=function(Q){return new Promise(function(S,w){s.push([g,Q,S,w])>1||l(g,Q)})},C&&(i[g]=C(i[g])))}function l(g,C){try{A(n[g](C))}catch(Q){f(s[0][3],Q)}}function A(g){g.value instanceof fc?Promise.resolve(g.value.v).then(u,d):f(s[0][2],g)}function u(g){l("next",g)}function d(g){l("throw",g)}function f(g,C){g(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function kF(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:fc(t[i](a)),done:!1}:s?s(a):a}:s}}function LF(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 vh=="function"?vh(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}}function UF(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function FF(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=hb(t),n=0;n<r.length;n++)r[n]!=="default"&&Ph(e,t,r[n]);return ZAe(e,t),e}function qF(t){return t&&t.__esModule?t:{default:t}}function HF(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)}function zF(t,e,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(t,r):i?i.value=r:e.set(t,r),r}function jF(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}function GF(t,e,r){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=e[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=e[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=o(function(){try{i.call(this)}catch(s){return Promise.reject(s)}},"dispose")),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}function YF(t){function e(s){t.error=t.hasError?new eue(s,t.error,"An error was suppressed during disposal."):s,t.hasError=!0}o(e,"fail");var r,n=0;function i(){for(;r=t.stack.pop();)try{if(!r.async&&n===1)return n=0,t.stack.push(r),Promise.resolve().then(i);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(i,function(a){return e(a),i()})}else n|=1}catch(a){e(a)}if(n===1)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}return o(i,"next"),i()}function JF(t,e){return typeof t=="string"&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,s,a){return n?e?".jsx":".js":i&&(!s||!a)?r:i+s+"."+a.toLowerCase()+"js"}):t}var pb,_h,Ph,ZAe,hb,eue,tue,Vr=td(()=>{pb=o(function(t,e){return pb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},pb(t,e)},"extendStatics");o(BF,"__extends");_h=o(function(){return _h=Object.assign||o(function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},"__assign"),_h.apply(this,arguments)},"__assign");o(IF,"__rest");o(bF,"__decorate");o(QF,"__param");o(wF,"__esDecorate");o(NF,"__runInitializers");o(xF,"__propKey");o(SF,"__setFunctionName");o(RF,"__metadata");o(_F,"__awaiter");o(vF,"__generator");Ph=Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]};o(PF,"__exportStar");o(vh,"__values");o(fb,"__read");o(DF,"__spread");o(TF,"__spreadArrays");o(OF,"__spreadArray");o(fc,"__await");o(MF,"__asyncGenerator");o(kF,"__asyncDelegator");o(LF,"__asyncValues");o(UF,"__makeTemplateObject");ZAe=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},hb=o(function(t){return hb=Object.getOwnPropertyNames||function(e){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[r.length]=n);return r},hb(t)},"ownKeys");o(FF,"__importStar");o(qF,"__importDefault");o(HF,"__classPrivateFieldGet");o(zF,"__classPrivateFieldSet");o(jF,"__classPrivateFieldIn");o(GF,"__addDisposableResource");eue=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var n=new Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};o(YF,"__disposeResources");o(JF,"__rewriteRelativeImportExtension");tue={__extends:BF,__assign:_h,__rest:IF,__decorate:bF,__param:QF,__esDecorate:wF,__runInitializers:NF,__propKey:xF,__setFunctionName:SF,__metadata:RF,__awaiter:_F,__generator:vF,__createBinding:Ph,__exportStar:PF,__values:vh,__read:fb,__spread:DF,__spreadArrays:TF,__spreadArray:OF,__await:fc,__asyncGenerator:MF,__asyncDelegator:kF,__asyncValues:LF,__makeTemplateObject:UF,__importStar:FF,__importDefault:qF,__classPrivateFieldGet:HF,__classPrivateFieldSet:zF,__classPrivateFieldIn:jF,__addDisposableResource:GF,__disposeResources:YF,__rewriteRelativeImportExtension:JF}});var VA=m((rje,WF)=>{var gb=Object.defineProperty,rue=Object.getOwnPropertyDescriptor,nue=Object.getOwnPropertyNames,iue=Object.prototype.hasOwnProperty,sue=o((t,e)=>{for(var r in e)gb(t,r,{get:e[r],enumerable:!0})},"__export"),oue=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of nue(e))!iue.call(t,i)&&i!==r&&gb(t,i,{get:()=>e[i],enumerable:!(n=rue(e,i))||n.enumerable});return t},"__copyProps"),aue=o(t=>oue(gb({},"__esModule",{value:!0}),t),"__toCommonJS"),VF={};sue(VF,{AbortError:()=>mb});WF.exports=aue(VF);var mb=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}}});var eq=m((ije,ZF)=>{var cue=Object.create,Dh=Object.defineProperty,lue=Object.getOwnPropertyDescriptor,Aue=Object.getOwnPropertyNames,uue=Object.getPrototypeOf,due=Object.prototype.hasOwnProperty,pue=o((t,e)=>{for(var r in e)Dh(t,r,{get:e[r],enumerable:!0})},"__export"),KF=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Aue(e))!due.call(t,i)&&i!==r&&Dh(t,i,{get:()=>e[i],enumerable:!(n=lue(e,i))||n.enumerable});return t},"__copyProps"),$F=o((t,e,r)=>(r=t!=null?cue(uue(t)):{},KF(e||!t||!t.__esModule?Dh(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),hue=o(t=>KF(Dh({},"__esModule",{value:!0}),t),"__toCommonJS"),XF={};pue(XF,{log:()=>yue});ZF.exports=hue(XF);var fue=require("node:os"),mue=$F(require("node:util")),gue=$F(require("node:process"));function yue(t,...e){gue.default.stderr.write(`${mue.default.format(t,...e)}${fue.EOL}`)}o(yue,"log")});var cq=m((oje,aq)=>{var Eb=Object.defineProperty,Cue=Object.getOwnPropertyDescriptor,Eue=Object.getOwnPropertyNames,Bue=Object.prototype.hasOwnProperty,Iue=o((t,e)=>{for(var r in e)Eb(t,r,{get:e[r],enumerable:!0})},"__export"),bue=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Eue(e))!Bue.call(t,i)&&i!==r&&Eb(t,i,{get:()=>e[i],enumerable:!(n=Cue(e,i))||n.enumerable});return t},"__copyProps"),Que=o(t=>bue(Eb({},"__esModule",{value:!0}),t),"__toCommonJS"),nq={};Iue(nq,{default:()=>Rue});aq.exports=Que(nq);var wue=eq(),tq=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,iq,yb=[],Cb=[],Th=[];tq&&Bb(tq);var sq=Object.assign(t=>oq(t),{enable:Bb,enabled:Ib,disable:Nue,log:wue.log});function Bb(t){iq=t,yb=[],Cb=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?Cb.push(r.substring(1)):yb.push(r);for(let r of Th)r.enabled=Ib(r.namespace)}o(Bb,"enable");function Ib(t){if(t.endsWith("*"))return!0;for(let e of Cb)if(rq(t,e))return!1;for(let e of yb)if(rq(t,e))return!0;return!1}o(Ib,"enabled");function rq(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let f=[],g="";for(let C of e)C==="*"&&g==="*"||(g=C,f.push(C));r=f.join("")}let n=0,i=0,s=r.length,a=t.length,c=-1,l=-1;for(;n<a&&i<s;)if(r[i]==="*"){if(c=i,i++,i===s)return!0;for(;t[n]!==r[i];)if(n++,n===a)return!1;l=n,n++,i++;continue}else if(r[i]===t[n])i++,n++;else if(c>=0){if(i=c+1,n=l+1,n===a)return!1;for(;t[n]!==r[i];)if(n++,n===a)return!1;l=n,n++,i++;continue}else return!1;let A=n===t.length,u=i===r.length,d=i===r.length-1&&r[i]==="*";return A&&(u||d)}o(rq,"namespaceMatches");function Nue(){let t=iq||"";return Bb(""),t}o(Nue,"disable");function oq(t){let e=Object.assign(r,{enabled:Ib(t),destroy:xue,log:sq.log,namespace:t,extend:Sue});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),Th.push(e),e}o(oq,"createDebugger");function xue(){let t=Th.indexOf(this);return t>=0?(Th.splice(t,1),!0):!1}o(xue,"destroy");function Sue(t){let e=oq(`${this.namespace}:${t}`);return e.log=this.log,e}o(Sue,"extend");var Rue=sq});var KA=m((cje,fq)=>{var _ue=Object.create,Oh=Object.defineProperty,vue=Object.getOwnPropertyDescriptor,Pue=Object.getOwnPropertyNames,Due=Object.getPrototypeOf,Tue=Object.prototype.hasOwnProperty,Oue=o((t,e)=>{for(var r in e)Oh(t,r,{get:e[r],enumerable:!0})},"__export"),dq=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Pue(e))!Tue.call(t,i)&&i!==r&&Oh(t,i,{get:()=>e[i],enumerable:!(n=vue(e,i))||n.enumerable});return t},"__copyProps"),Mue=o((t,e,r)=>(r=t!=null?_ue(Due(t)):{},dq(e||!t||!t.__esModule?Oh(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),kue=o(t=>dq(Oh({},"__esModule",{value:!0}),t),"__toCommonJS"),pq={};Oue(pq,{TypeSpecRuntimeLogger:()=>Lue,createClientLogger:()=>que,createLoggerContext:()=>hq,getLogLevel:()=>Fue,setLogLevel:()=>Uue});fq.exports=kue(pq);var WA=Mue(cq()),bb=["verbose","info","warning","error"],lq={verbose:400,info:300,warning:200,error:100};function Aq(t,e){e.log=(...r)=>{t.log(...r)}}o(Aq,"patchLogMethod");function uq(t){return bb.includes(t)}o(uq,"isTypeSpecRuntimeLogLevel");function hq(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,i=(0,WA.default)(t.namespace);i.log=(...u)=>{WA.default.log(...u)};function s(u){if(u&&!uq(u))throw new Error(`Unknown log level '${u}'. Acceptable values: ${bb.join(",")}`);n=u;let d=[];for(let f of e)a(f)&&d.push(f.namespace);WA.default.enable(d.join(","))}o(s,"contextSetLogLevel"),r&&(uq(r)?s(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${bb.join(", ")}.`));function a(u){return!!(n&&lq[u.level]<=lq[n])}o(a,"shouldEnable");function c(u,d){let f=Object.assign(u.extend(d),{level:d});if(Aq(u,f),a(f)){let g=WA.default.disable();WA.default.enable(g+","+f.namespace)}return e.add(f),f}o(c,"createLogger");function l(){return n}o(l,"contextGetLogLevel");function A(u){let d=i.extend(u);return Aq(i,d),{error:c(d,"error"),warning:c(d,"warning"),info:c(d,"info"),verbose:c(d,"verbose")}}return o(A,"contextCreateClientLogger"),{setLogLevel:s,getLogLevel:l,createClientLogger:A,logger:i}}o(hq,"createLoggerContext");var Mh=hq({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),Lue=Mh.logger;function Uue(t){Mh.setLogLevel(t)}o(Uue,"setLogLevel");function Fue(){return Mh.getLogLevel()}o(Fue,"getLogLevel");function que(t){return Mh.createClientLogger(t)}o(que,"createClientLogger")});var Ps=m((Aje,gq)=>{var wb=Object.defineProperty,Hue=Object.getOwnPropertyDescriptor,zue=Object.getOwnPropertyNames,jue=Object.prototype.hasOwnProperty,Gue=o((t,e)=>{for(var r in e)wb(t,r,{get:e[r],enumerable:!0})},"__export"),Yue=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zue(e))!jue.call(t,i)&&i!==r&&wb(t,i,{get:()=>e[i],enumerable:!(n=Hue(e,i))||n.enumerable});return t},"__copyProps"),Jue=o(t=>Yue(wb({},"__esModule",{value:!0}),t),"__toCommonJS"),mq={};Gue(mq,{createHttpHeaders:()=>Wue});gq.exports=Jue(mq);function kh(t){return t.toLowerCase()}o(kh,"normalizeName");function*Vue(t){for(let e of t.values())yield[e.name,e.value]}o(Vue,"headerIterator");var Qb=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(kh(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(kh(e))?.value}has(e){return this._headersMap.has(kh(e))}delete(e){this._headersMap.delete(kh(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let n of this._headersMap.values())r[n.name]=n.value;else for(let[n,i]of this._headersMap)r[n]=i.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return Vue(this._headersMap)}};function Wue(t){return new Qb(t)}o(Wue,"createHttpHeaders")});var Lh=m((dje,Cq)=>{var Nb=Object.defineProperty,Kue=Object.getOwnPropertyDescriptor,$ue=Object.getOwnPropertyNames,Xue=Object.prototype.hasOwnProperty,Zue=o((t,e)=>{for(var r in e)Nb(t,r,{get:e[r],enumerable:!0})},"__export"),ede=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $ue(e))!Xue.call(t,i)&&i!==r&&Nb(t,i,{get:()=>e[i],enumerable:!(n=Kue(e,i))||n.enumerable});return t},"__copyProps"),tde=o(t=>ede(Nb({},"__esModule",{value:!0}),t),"__toCommonJS"),yq={};Zue(yq,{randomUUID:()=>rde});Cq.exports=tde(yq);function rde(){return crypto.randomUUID()}o(rde,"randomUUID")});var Rb=m((hje,Bq)=>{var Sb=Object.defineProperty,nde=Object.getOwnPropertyDescriptor,ide=Object.getOwnPropertyNames,sde=Object.prototype.hasOwnProperty,ode=o((t,e)=>{for(var r in e)Sb(t,r,{get:e[r],enumerable:!0})},"__export"),ade=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ide(e))!sde.call(t,i)&&i!==r&&Sb(t,i,{get:()=>e[i],enumerable:!(n=nde(e,i))||n.enumerable});return t},"__copyProps"),cde=o(t=>ade(Sb({},"__esModule",{value:!0}),t),"__toCommonJS"),Eq={};ode(Eq,{createPipelineRequest:()=>ude});Bq.exports=cde(Eq);var lde=Ps(),Ade=Lh(),xb=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??(0,lde.createHttpHeaders)(),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||(0,Ade.randomUUID)(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function ude(t){return new xb(t)}o(ude,"createPipelineRequest")});var Pb=m((mje,Qq)=>{var vb=Object.defineProperty,dde=Object.getOwnPropertyDescriptor,pde=Object.getOwnPropertyNames,hde=Object.prototype.hasOwnProperty,fde=o((t,e)=>{for(var r in e)vb(t,r,{get:e[r],enumerable:!0})},"__export"),mde=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of pde(e))!hde.call(t,i)&&i!==r&&vb(t,i,{get:()=>e[i],enumerable:!(n=dde(e,i))||n.enumerable});return t},"__copyProps"),gde=o(t=>mde(vb({},"__esModule",{value:!0}),t),"__toCommonJS"),bq={};fde(bq,{createEmptyPipeline:()=>yde});Qq.exports=gde(bq);var Iq=new Set(["Deserialize","Serialize","Retry","Sign"]),_b=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&&!Iq.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!Iq.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((s,a)=>c=>a.sendRequest(c,s),s=>e.sendRequest(s))(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(C){return{name:C,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}o(n,"createPhase");let i=n("Serialize"),s=n("None"),a=n("Deserialize"),c=n("Retry"),l=n("Sign"),A=[i,s,a,c,l];function u(C){return C==="Retry"?c:C==="Serialize"?i:C==="Deserialize"?a:C==="Sign"?l:s}o(u,"getPhase");for(let C of this._policies){let Q=C.policy,S=C.options,w=Q.name;if(r.has(w))throw new Error("Duplicate policy names not allowed in pipeline");let R={policy:Q,dependsOn:new Set,dependants:new Set};S.afterPhase&&(R.afterPhase=u(S.afterPhase),R.afterPhase.hasAfterPolicies=!0),r.set(w,R),u(S.phase).policies.add(R)}for(let C of this._policies){let{policy:Q,options:S}=C,w=Q.name,R=r.get(w);if(!R)throw new Error(`Missing node for policy ${w}`);if(S.afterPolicies)for(let T of S.afterPolicies){let L=r.get(T);L&&(R.dependsOn.add(L),L.dependants.add(R))}if(S.beforePolicies)for(let T of S.beforePolicies){let L=r.get(T);L&&(L.dependsOn.add(R),R.dependants.add(L))}}function d(C){C.hasRun=!0;for(let Q of C.policies)if(!(Q.afterPhase&&(!Q.afterPhase.hasRun||Q.afterPhase.policies.size))&&Q.dependsOn.size===0){e.push(Q.policy);for(let S of Q.dependants)S.dependsOn.delete(Q);r.delete(Q.policy.name),C.policies.delete(Q)}}o(d,"walkPhase");function f(){for(let C of A){if(d(C),C.policies.size>0&&C!==s){s.hasRun||d(s);return}C.hasAfterPolicies&&d(s)}}o(f,"walkPhases");let g=0;for(;r.size>0;){g++;let C=e.length;if(f(),e.length<=C&&g>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function yde(){return _b.create()}o(yde,"createEmptyPipeline")});var Uh=m((yje,Nq)=>{var Db=Object.defineProperty,Cde=Object.getOwnPropertyDescriptor,Ede=Object.getOwnPropertyNames,Bde=Object.prototype.hasOwnProperty,Ide=o((t,e)=>{for(var r in e)Db(t,r,{get:e[r],enumerable:!0})},"__export"),bde=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ede(e))!Bde.call(t,i)&&i!==r&&Db(t,i,{get:()=>e[i],enumerable:!(n=Cde(e,i))||n.enumerable});return t},"__copyProps"),Qde=o(t=>bde(Db({},"__esModule",{value:!0}),t),"__toCommonJS"),wq={};Ide(wq,{isObject:()=>wde});Nq.exports=Qde(wq);function wde(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(wde,"isObject")});var Ob=m((Eje,Sq)=>{var Tb=Object.defineProperty,Nde=Object.getOwnPropertyDescriptor,xde=Object.getOwnPropertyNames,Sde=Object.prototype.hasOwnProperty,Rde=o((t,e)=>{for(var r in e)Tb(t,r,{get:e[r],enumerable:!0})},"__export"),_de=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of xde(e))!Sde.call(t,i)&&i!==r&&Tb(t,i,{get:()=>e[i],enumerable:!(n=Nde(e,i))||n.enumerable});return t},"__copyProps"),vde=o(t=>_de(Tb({},"__esModule",{value:!0}),t),"__toCommonJS"),xq={};Rde(xq,{isError:()=>Dde});Sq.exports=vde(xq);var Pde=Uh();function Dde(t){if((0,Pde.isObject)(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(Dde,"isError")});var vq=m((Ije,_q)=>{var Mb=Object.defineProperty,Tde=Object.getOwnPropertyDescriptor,Ode=Object.getOwnPropertyNames,Mde=Object.prototype.hasOwnProperty,kde=o((t,e)=>{for(var r in e)Mb(t,r,{get:e[r],enumerable:!0})},"__export"),Lde=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ode(e))!Mde.call(t,i)&&i!==r&&Mb(t,i,{get:()=>e[i],enumerable:!(n=Tde(e,i))||n.enumerable});return t},"__copyProps"),Ude=o(t=>Lde(Mb({},"__esModule",{value:!0}),t),"__toCommonJS"),Rq={};kde(Rq,{custom:()=>qde});_q.exports=Ude(Rq);var Fde=require("node:util"),qde=Fde.inspect.custom});var $A=m((Qje,Dq)=>{var Ub=Object.defineProperty,Hde=Object.getOwnPropertyDescriptor,zde=Object.getOwnPropertyNames,jde=Object.prototype.hasOwnProperty,Gde=o((t,e)=>{for(var r in e)Ub(t,r,{get:e[r],enumerable:!0})},"__export"),Yde=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zde(e))!jde.call(t,i)&&i!==r&&Ub(t,i,{get:()=>e[i],enumerable:!(n=Hde(e,i))||n.enumerable});return t},"__copyProps"),Jde=o(t=>Yde(Ub({},"__esModule",{value:!0}),t),"__toCommonJS"),Pq={};Gde(Pq,{Sanitizer:()=>Lb});Dq.exports=Jde(Pq);var Vde=Uh(),kb="REDACTED",Wde=["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"],Kde=["api-version"],Lb=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=Wde.concat(e),r=Kde.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,i)=>{if(i instanceof Error)return{...i,name:i.name,message:i.message};if(n==="headers")return this.sanitizeHeaders(i);if(n==="url")return this.sanitizeUrl(i);if(n==="query")return this.sanitizeQuery(i);if(n==="body")return;if(n==="response")return;if(n==="operationSpec")return;if(Array.isArray(i)||(0,Vde.isObject)(i)){if(r.has(i))return"[Circular]";r.add(i)}return i},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,kb);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]=kb;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]=kb;return r}}});var mc=m((Nje,Oq)=>{var Fb=Object.defineProperty,$de=Object.getOwnPropertyDescriptor,Xde=Object.getOwnPropertyNames,Zde=Object.prototype.hasOwnProperty,epe=o((t,e)=>{for(var r in e)Fb(t,r,{get:e[r],enumerable:!0})},"__export"),tpe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Xde(e))!Zde.call(t,i)&&i!==r&&Fb(t,i,{get:()=>e[i],enumerable:!(n=$de(e,i))||n.enumerable});return t},"__copyProps"),rpe=o(t=>tpe(Fb({},"__esModule",{value:!0}),t),"__toCommonJS"),Tq={};epe(Tq,{RestError:()=>Fh,isRestError:()=>ape});Oq.exports=rpe(Tq);var npe=Ob(),ipe=vq(),spe=$A(),ope=new spe.Sanitizer,Fh=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,ipe.custom,{value:()=>`RestError: ${this.message}
|
|
${ope.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function ape(t){return t instanceof Fh?!0:(0,npe.isError)(t)&&t.name==="RestError"}o(ape,"isRestError")});var Do=m((Sje,kq)=>{var qb=Object.defineProperty,cpe=Object.getOwnPropertyDescriptor,lpe=Object.getOwnPropertyNames,Ape=Object.prototype.hasOwnProperty,upe=o((t,e)=>{for(var r in e)qb(t,r,{get:e[r],enumerable:!0})},"__export"),dpe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of lpe(e))!Ape.call(t,i)&&i!==r&&qb(t,i,{get:()=>e[i],enumerable:!(n=cpe(e,i))||n.enumerable});return t},"__copyProps"),ppe=o(t=>dpe(qb({},"__esModule",{value:!0}),t),"__toCommonJS"),Mq={};upe(Mq,{stringToUint8Array:()=>fpe,uint8ArrayToString:()=>hpe});kq.exports=ppe(Mq);function hpe(t,e){return Buffer.from(t).toString(e)}o(hpe,"uint8ArrayToString");function fpe(t,e){return Buffer.from(t,e)}o(fpe,"stringToUint8Array")});var gc=m((_je,Uq)=>{var Hb=Object.defineProperty,mpe=Object.getOwnPropertyDescriptor,gpe=Object.getOwnPropertyNames,ype=Object.prototype.hasOwnProperty,Cpe=o((t,e)=>{for(var r in e)Hb(t,r,{get:e[r],enumerable:!0})},"__export"),Epe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gpe(e))!ype.call(t,i)&&i!==r&&Hb(t,i,{get:()=>e[i],enumerable:!(n=mpe(e,i))||n.enumerable});return t},"__copyProps"),Bpe=o(t=>Epe(Hb({},"__esModule",{value:!0}),t),"__toCommonJS"),Lq={};Cpe(Lq,{logger:()=>bpe});Uq.exports=Bpe(Lq);var Ipe=KA(),bpe=(0,Ipe.createClientLogger)("ts-http-runtime")});var Vq=m((Pje,Jq)=>{var Qpe=Object.create,Hh=Object.defineProperty,wpe=Object.getOwnPropertyDescriptor,Npe=Object.getOwnPropertyNames,xpe=Object.getPrototypeOf,Spe=Object.prototype.hasOwnProperty,Rpe=o((t,e)=>{for(var r in e)Hh(t,r,{get:e[r],enumerable:!0})},"__export"),zq=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Npe(e))!Spe.call(t,i)&&i!==r&&Hh(t,i,{get:()=>e[i],enumerable:!(n=wpe(e,i))||n.enumerable});return t},"__copyProps"),Yb=o((t,e,r)=>(r=t!=null?Qpe(xpe(t)):{},zq(e||!t||!t.__esModule?Hh(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),_pe=o(t=>zq(Hh({},"__esModule",{value:!0}),t),"__toCommonJS"),jq={};Rpe(jq,{createNodeHttpClient:()=>Lpe,getBodyLength:()=>Yq});Jq.exports=_pe(jq);var zb=Yb(require("node:http")),jb=Yb(require("node:https")),Fq=Yb(require("node:zlib")),vpe=require("node:stream"),qq=VA(),Ppe=Ps(),ZA=mc(),yc=gc(),Dpe=$A(),Tpe={};function XA(t){return t&&typeof t.pipe=="function"}o(XA,"isReadableStream");function Hq(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(Hq,"isStreamComplete");function Gq(t){return t&&typeof t.byteLength=="number"}o(Gq,"isArrayBuffer");var qh=class extends vpe.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(i){n(i)}}constructor(e){super(),this.progressCallback=e}},Gb=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 qq.AbortError("The operation was aborted. Request has already been canceled.");n=o(A=>{A.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",n)}let i;e.timeout>0&&(i=setTimeout(()=>{let A=new Dpe.Sanitizer;yc.logger.info(`request to '${A.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let s=e.headers.get("Accept-Encoding"),a=s?.includes("gzip")||s?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let A=Yq(c);A!==null&&e.headers.set("Content-Length",A)}let l;try{if(c&&e.onUploadProgress){let C=e.onUploadProgress,Q=new qh(C);Q.on("error",S=>{yc.logger.error("Error in upload progress",S)}),XA(c)?c.pipe(Q):Q.end(c),c=Q}let A=await this.makeRequest(e,r,c);i!==void 0&&clearTimeout(i);let u=Ope(A),f={status:A.statusCode??0,headers:u,request:e};if(e.method==="HEAD")return A.resume(),f;l=a?Mpe(A,u):A;let g=e.onDownloadProgress;if(g){let C=new qh(g);C.on("error",Q=>{yc.logger.error("Error in download progress",Q)}),l.pipe(C),l=C}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(f.status)?f.readableStreamBody=l:f.bodyAsText=await kpe(l),f}finally{if(e.abortSignal&&n){let A=Promise.resolve();XA(c)&&(A=Hq(c));let u=Promise.resolve();XA(l)&&(u=Hq(l)),Promise.all([A,u]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(d=>{yc.logger.warning("Error when cleaning up abortListener on httpRequest",d)})}}}makeRequest(e,r,n){let i=new URL(e.url),s=i.protocol!=="https:";if(s&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,s),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,A)=>{let u=s?zb.default.request(c,l):jb.default.request(c,l);u.once("error",d=>{A(new ZA.RestError(d.message,{code:d.code??ZA.RestError.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new qq.AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(d),A(d)}),n&&XA(n)?n.pipe(u):n?typeof n=="string"||Buffer.isBuffer(n)?u.end(n):Gq(n)?u.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(yc.logger.error("Unrecognized body type",n),A(new ZA.RestError("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?zb.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new zb.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return jb.default.globalAgent;let i=e.tlsSettings??Tpe,s=this.cachedHttpsAgents.get(i);return s&&s.options.keepAlive===!n||(yc.logger.info("No cached TLS Agent exist, creating a new Agent"),s=new jb.default.Agent({keepAlive:!n,...i}),this.cachedHttpsAgents.set(i,s)),s}}};function Ope(t){let e=(0,Ppe.createHttpHeaders)();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(Ope,"getResponseHeaders");function Mpe(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=Fq.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=Fq.default.createInflate();return t.pipe(n),n}return t}o(Mpe,"getDecodedResponseStream");function kpe(t){return new Promise((e,r)=>{let n=[];t.on("data",i=>{Buffer.isBuffer(i)?n.push(i):n.push(Buffer.from(i))}),t.on("end",()=>{e(Buffer.concat(n).toString("utf8"))}),t.on("error",i=>{i&&i?.name==="AbortError"?r(i):r(new ZA.RestError(`Error reading response as text: ${i.message}`,{code:ZA.RestError.PARSE_ERROR}))})})}o(kpe,"streamToText");function Yq(t){return t?Buffer.isBuffer(t)?t.length:XA(t)?null:Gq(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(Yq,"getBodyLength");function Lpe(){return new Gb}o(Lpe,"createNodeHttpClient")});var Vb=m((Tje,Kq)=>{var Jb=Object.defineProperty,Upe=Object.getOwnPropertyDescriptor,Fpe=Object.getOwnPropertyNames,qpe=Object.prototype.hasOwnProperty,Hpe=o((t,e)=>{for(var r in e)Jb(t,r,{get:e[r],enumerable:!0})},"__export"),zpe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Fpe(e))!qpe.call(t,i)&&i!==r&&Jb(t,i,{get:()=>e[i],enumerable:!(n=Upe(e,i))||n.enumerable});return t},"__copyProps"),jpe=o(t=>zpe(Jb({},"__esModule",{value:!0}),t),"__toCommonJS"),Wq={};Hpe(Wq,{createDefaultHttpClient:()=>Ype});Kq.exports=jpe(Wq);var Gpe=Vq();function Ype(){return(0,Gpe.createNodeHttpClient)()}o(Ype,"createDefaultHttpClient")});var Kb=m((Mje,Zq)=>{var Wb=Object.defineProperty,Jpe=Object.getOwnPropertyDescriptor,Vpe=Object.getOwnPropertyNames,Wpe=Object.prototype.hasOwnProperty,Kpe=o((t,e)=>{for(var r in e)Wb(t,r,{get:e[r],enumerable:!0})},"__export"),$pe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Vpe(e))!Wpe.call(t,i)&&i!==r&&Wb(t,i,{get:()=>e[i],enumerable:!(n=Jpe(e,i))||n.enumerable});return t},"__copyProps"),Xpe=o(t=>$pe(Wb({},"__esModule",{value:!0}),t),"__toCommonJS"),$q={};Kpe($q,{logPolicy:()=>the,logPolicyName:()=>Xq});Zq.exports=Xpe($q);var Zpe=gc(),ehe=$A(),Xq="logPolicy";function the(t={}){let e=t.logger??Zpe.logger.info,r=new ehe.Sanitizer({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:Xq,async sendRequest(n,i){if(!e.enabled)return i(n);e(`Request: ${r.sanitize(n)}`);let s=await i(n);return e(`Response status code: ${s.status}`),e(`Headers: ${r.sanitize(s.headers)}`),s}}}o(the,"logPolicy")});var Xb=m((Lje,iH)=>{var $b=Object.defineProperty,rhe=Object.getOwnPropertyDescriptor,nhe=Object.getOwnPropertyNames,ihe=Object.prototype.hasOwnProperty,she=o((t,e)=>{for(var r in e)$b(t,r,{get:e[r],enumerable:!0})},"__export"),ohe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of nhe(e))!ihe.call(t,i)&&i!==r&&$b(t,i,{get:()=>e[i],enumerable:!(n=rhe(e,i))||n.enumerable});return t},"__copyProps"),ahe=o(t=>ohe($b({},"__esModule",{value:!0}),t),"__toCommonJS"),tH={};she(tH,{redirectPolicy:()=>lhe,redirectPolicyName:()=>rH});iH.exports=ahe(tH);var che=gc(),rH="redirectPolicy",eH=["GET","HEAD"];function lhe(t={}){let{maxRetries:e=20,allowCrossOriginRedirects:r=!1}=t;return{name:rH,async sendRequest(n,i){let s=await i(n);return nH(i,s,e,r)}}}o(lhe,"redirectPolicy");async function nH(t,e,r,n,i=0){let{request:s,status:a,headers:c}=e,l=c.get("location");if(l&&(a===300||a===301&&eH.includes(s.method)||a===302&&eH.includes(s.method)||a===303&&s.method==="POST"||a===307)&&i<r){let A=new URL(l,s.url);if(!n){let d=new URL(s.url);if(A.origin!==d.origin)return che.logger.verbose(`Skipping cross-origin redirect from ${d.origin} to ${A.origin}.`),e}s.url=A.toString(),a===303&&(s.method="GET",s.headers.delete("Content-Length"),delete s.body),s.headers.delete("Authorization");let u=await t(s);return nH(t,u,r,n,i+1)}return e}o(nH,"handleRedirect")});var lH=m((Fje,cH)=>{var Ahe=Object.create,zh=Object.defineProperty,uhe=Object.getOwnPropertyDescriptor,dhe=Object.getOwnPropertyNames,phe=Object.getPrototypeOf,hhe=Object.prototype.hasOwnProperty,fhe=o((t,e)=>{for(var r in e)zh(t,r,{get:e[r],enumerable:!0})},"__export"),sH=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dhe(e))!hhe.call(t,i)&&i!==r&&zh(t,i,{get:()=>e[i],enumerable:!(n=uhe(e,i))||n.enumerable});return t},"__copyProps"),oH=o((t,e,r)=>(r=t!=null?Ahe(phe(t)):{},sH(e||!t||!t.__esModule?zh(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),mhe=o(t=>sH(zh({},"__esModule",{value:!0}),t),"__toCommonJS"),aH={};fhe(aH,{getHeaderName:()=>ghe,setPlatformSpecificData:()=>yhe});cH.exports=mhe(aH);var Zb=oH(require("node:os")),eQ=oH(require("node:process"));function ghe(){return"User-Agent"}o(ghe,"getHeaderName");async function yhe(t){if(eQ.default&&eQ.default.versions){let e=`${Zb.default.type()} ${Zb.default.release()}; ${Zb.default.arch()}`,r=eQ.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(yhe,"setPlatformSpecificData")});var To=m((Hje,uH)=>{var tQ=Object.defineProperty,Che=Object.getOwnPropertyDescriptor,Ehe=Object.getOwnPropertyNames,Bhe=Object.prototype.hasOwnProperty,Ihe=o((t,e)=>{for(var r in e)tQ(t,r,{get:e[r],enumerable:!0})},"__export"),bhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ehe(e))!Bhe.call(t,i)&&i!==r&&tQ(t,i,{get:()=>e[i],enumerable:!(n=Che(e,i))||n.enumerable});return t},"__copyProps"),Qhe=o(t=>bhe(tQ({},"__esModule",{value:!0}),t),"__toCommonJS"),AH={};Ihe(AH,{DEFAULT_RETRY_POLICY_COUNT:()=>Nhe,SDK_VERSION:()=>whe});uH.exports=Qhe(AH);var whe="0.3.4",Nhe=3});var fH=m((jje,hH)=>{var rQ=Object.defineProperty,xhe=Object.getOwnPropertyDescriptor,She=Object.getOwnPropertyNames,Rhe=Object.prototype.hasOwnProperty,_he=o((t,e)=>{for(var r in e)rQ(t,r,{get:e[r],enumerable:!0})},"__export"),vhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of She(e))!Rhe.call(t,i)&&i!==r&&rQ(t,i,{get:()=>e[i],enumerable:!(n=xhe(e,i))||n.enumerable});return t},"__copyProps"),Phe=o(t=>vhe(rQ({},"__esModule",{value:!0}),t),"__toCommonJS"),dH={};_he(dH,{getUserAgentHeaderName:()=>Ohe,getUserAgentValue:()=>Mhe});hH.exports=Phe(dH);var pH=lH(),Dhe=To();function The(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}o(The,"getUserAgentString");function Ohe(){return(0,pH.getHeaderName)()}o(Ohe,"getUserAgentHeaderName");async function Mhe(t){let e=new Map;e.set("ts-http-runtime",Dhe.SDK_VERSION),await(0,pH.setPlatformSpecificData)(e);let r=The(e);return t?`${t} ${r}`:r}o(Mhe,"getUserAgentValue")});var iQ=m((Yje,EH)=>{var nQ=Object.defineProperty,khe=Object.getOwnPropertyDescriptor,Lhe=Object.getOwnPropertyNames,Uhe=Object.prototype.hasOwnProperty,Fhe=o((t,e)=>{for(var r in e)nQ(t,r,{get:e[r],enumerable:!0})},"__export"),qhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Lhe(e))!Uhe.call(t,i)&&i!==r&&nQ(t,i,{get:()=>e[i],enumerable:!(n=khe(e,i))||n.enumerable});return t},"__copyProps"),Hhe=o(t=>qhe(nQ({},"__esModule",{value:!0}),t),"__toCommonJS"),gH={};Fhe(gH,{userAgentPolicy:()=>zhe,userAgentPolicyName:()=>CH});EH.exports=Hhe(gH);var yH=fH(),mH=(0,yH.getUserAgentHeaderName)(),CH="userAgentPolicy";function zhe(t={}){let e=(0,yH.getUserAgentValue)(t.userAgentPrefix);return{name:CH,async sendRequest(r,n){return r.headers.has(mH)||r.headers.set(mH,await e),n(r)}}}o(zhe,"userAgentPolicy")});var oQ=m((Vje,bH)=>{var sQ=Object.defineProperty,jhe=Object.getOwnPropertyDescriptor,Ghe=Object.getOwnPropertyNames,Yhe=Object.prototype.hasOwnProperty,Jhe=o((t,e)=>{for(var r in e)sQ(t,r,{get:e[r],enumerable:!0})},"__export"),Vhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ghe(e))!Yhe.call(t,i)&&i!==r&&sQ(t,i,{get:()=>e[i],enumerable:!(n=jhe(e,i))||n.enumerable});return t},"__copyProps"),Whe=o(t=>Vhe(sQ({},"__esModule",{value:!0}),t),"__toCommonJS"),BH={};Jhe(BH,{decompressResponsePolicy:()=>Khe,decompressResponsePolicyName:()=>IH});bH.exports=Whe(BH);var IH="decompressResponsePolicy";function Khe(){return{name:IH,async sendRequest(t,e){return t.method!=="HEAD"&&t.headers.set("Accept-Encoding","gzip,deflate"),e(t)}}}o(Khe,"decompressResponsePolicy")});var cQ=m((Kje,wH)=>{var aQ=Object.defineProperty,$he=Object.getOwnPropertyDescriptor,Xhe=Object.getOwnPropertyNames,Zhe=Object.prototype.hasOwnProperty,efe=o((t,e)=>{for(var r in e)aQ(t,r,{get:e[r],enumerable:!0})},"__export"),tfe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Xhe(e))!Zhe.call(t,i)&&i!==r&&aQ(t,i,{get:()=>e[i],enumerable:!(n=$he(e,i))||n.enumerable});return t},"__copyProps"),rfe=o(t=>tfe(aQ({},"__esModule",{value:!0}),t),"__toCommonJS"),QH={};efe(QH,{getRandomIntegerInclusive:()=>nfe});wH.exports=rfe(QH);function nfe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(nfe,"getRandomIntegerInclusive")});var AQ=m((Xje,xH)=>{var lQ=Object.defineProperty,ife=Object.getOwnPropertyDescriptor,sfe=Object.getOwnPropertyNames,ofe=Object.prototype.hasOwnProperty,afe=o((t,e)=>{for(var r in e)lQ(t,r,{get:e[r],enumerable:!0})},"__export"),cfe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sfe(e))!ofe.call(t,i)&&i!==r&&lQ(t,i,{get:()=>e[i],enumerable:!(n=ife(e,i))||n.enumerable});return t},"__copyProps"),lfe=o(t=>cfe(lQ({},"__esModule",{value:!0}),t),"__toCommonJS"),NH={};afe(NH,{calculateRetryDelay:()=>ufe});xH.exports=lfe(NH);var Afe=cQ();function ufe(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,Afe.getRandomIntegerInclusive)(0,n/2)}}o(ufe,"calculateRetryDelay")});var dQ=m((eGe,RH)=>{var uQ=Object.defineProperty,dfe=Object.getOwnPropertyDescriptor,pfe=Object.getOwnPropertyNames,hfe=Object.prototype.hasOwnProperty,ffe=o((t,e)=>{for(var r in e)uQ(t,r,{get:e[r],enumerable:!0})},"__export"),mfe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of pfe(e))!hfe.call(t,i)&&i!==r&&uQ(t,i,{get:()=>e[i],enumerable:!(n=dfe(e,i))||n.enumerable});return t},"__copyProps"),gfe=o(t=>mfe(uQ({},"__esModule",{value:!0}),t),"__toCommonJS"),SH={};ffe(SH,{delay:()=>Efe,parseHeaderValueAsNumber:()=>Bfe});RH.exports=gfe(SH);var yfe=VA(),Cfe="The operation was aborted.";function Efe(t,e,r){return new Promise((n,i)=>{let s,a,c=o(()=>i(new yfe.AbortError(r?.abortErrorMsg?r?.abortErrorMsg:Cfe)),"rejectOnAbort"),l=o(()=>{r?.abortSignal&&a&&r.abortSignal.removeEventListener("abort",a)},"removeListeners");if(a=o(()=>(s&&clearTimeout(s),l(),c()),"onAborted"),r?.abortSignal&&r.abortSignal.aborted)return c();s=setTimeout(()=>{l(),n(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}o(Efe,"delay");function Bfe(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}o(Bfe,"parseHeaderValueAsNumber")});var jh=m((rGe,PH)=>{var hQ=Object.defineProperty,Ife=Object.getOwnPropertyDescriptor,bfe=Object.getOwnPropertyNames,Qfe=Object.prototype.hasOwnProperty,wfe=o((t,e)=>{for(var r in e)hQ(t,r,{get:e[r],enumerable:!0})},"__export"),Nfe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of bfe(e))!Qfe.call(t,i)&&i!==r&&hQ(t,i,{get:()=>e[i],enumerable:!(n=Ife(e,i))||n.enumerable});return t},"__copyProps"),xfe=o(t=>Nfe(hQ({},"__esModule",{value:!0}),t),"__toCommonJS"),_H={};wfe(_H,{isThrottlingRetryResponse:()=>_fe,throttlingRetryStrategy:()=>vfe});PH.exports=xfe(_H);var Sfe=dQ(),pQ="Retry-After",Rfe=["retry-after-ms","x-ms-retry-after-ms",pQ];function vH(t){if(t&&[429,503].includes(t.status))try{for(let i of Rfe){let s=(0,Sfe.parseHeaderValueAsNumber)(t,i);if(s===0||s)return s*(i===pQ?1e3:1)}let e=t.headers.get(pQ);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}o(vH,"getRetryAfterInMs");function _fe(t){return Number.isFinite(vH(t))}o(_fe,"isThrottlingRetryResponse");function vfe(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=vH(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(vfe,"throttlingRetryStrategy")});var Gh=m((iGe,MH)=>{var fQ=Object.defineProperty,Pfe=Object.getOwnPropertyDescriptor,Dfe=Object.getOwnPropertyNames,Tfe=Object.prototype.hasOwnProperty,Ofe=o((t,e)=>{for(var r in e)fQ(t,r,{get:e[r],enumerable:!0})},"__export"),Mfe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Dfe(e))!Tfe.call(t,i)&&i!==r&&fQ(t,i,{get:()=>e[i],enumerable:!(n=Pfe(e,i))||n.enumerable});return t},"__copyProps"),kfe=o(t=>Mfe(fQ({},"__esModule",{value:!0}),t),"__toCommonJS"),DH={};Ofe(DH,{exponentialRetryStrategy:()=>Hfe,isExponentialRetryResponse:()=>TH,isSystemError:()=>OH});MH.exports=kfe(DH);var Lfe=AQ(),Ufe=jh(),Ffe=1e3,qfe=1e3*64;function Hfe(t={}){let e=t.retryDelayInMs??Ffe,r=t.maxRetryDelayInMs??qfe;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:i,responseError:s}){let a=OH(s),c=a&&t.ignoreSystemErrors,l=TH(i),A=l&&t.ignoreHttpStatusCodes;return i&&((0,Ufe.isThrottlingRetryResponse)(i)||!l)||A||c?{skipStrategy:!0}:s&&!a&&!l?{errorToThrow:s}:(0,Lfe.calculateRetryDelay)(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(Hfe,"exponentialRetryStrategy");function TH(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(TH,"isExponentialRetryResponse");function OH(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(OH,"isSystemError")});var Cc=m((oGe,UH)=>{var mQ=Object.defineProperty,zfe=Object.getOwnPropertyDescriptor,jfe=Object.getOwnPropertyNames,Gfe=Object.prototype.hasOwnProperty,Yfe=o((t,e)=>{for(var r in e)mQ(t,r,{get:e[r],enumerable:!0})},"__export"),Jfe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of jfe(e))!Gfe.call(t,i)&&i!==r&&mQ(t,i,{get:()=>e[i],enumerable:!(n=zfe(e,i))||n.enumerable});return t},"__copyProps"),Vfe=o(t=>Jfe(mQ({},"__esModule",{value:!0}),t),"__toCommonJS"),LH={};Yfe(LH,{retryPolicy:()=>eme});UH.exports=Vfe(LH);var Wfe=dQ(),Kfe=VA(),$fe=KA(),kH=To(),Xfe=(0,$fe.createClientLogger)("ts-http-runtime retryPolicy"),Zfe="retryPolicy";function eme(t,e={maxRetries:kH.DEFAULT_RETRY_POLICY_COUNT}){let r=e.logger||Xfe;return{name:Zfe,async sendRequest(n,i){let s,a,c=-1;e:for(;;){c+=1,s=void 0,a=void 0;try{r.info(`Retry ${c}: Attempting to send request`,n.requestId),s=await i(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;s=a.response}if(n.abortSignal?.aborted)throw r.error(`Retry ${c}: Request aborted.`),new Kfe.AbortError;if(c>=(e.maxRetries??kH.DEFAULT_RETRY_POLICY_COUNT)){if(r.info(`Retry ${c}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),a)throw a;if(s)return s;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:s,responseError:a});if(u.skipStrategy){A.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:d,retryAfterInMs:f,redirectTo:g}=u;if(d)throw A.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,d),d;if(f||f===0){A.info(`Retry ${c}: Retry strategy ${l.name} retries after ${f}`),await(0,Wfe.delay)(f,void 0,{abortSignal:n.abortSignal});continue e}if(g){A.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${g}`),n.url=g;continue e}}if(a)throw r.info("None of the retry strategies could work with the received error. Throwing it."),a;if(s)return r.info("None of the retry strategies could work with the received response. Returning it."),s}}}}o(eme,"retryPolicy")});var yQ=m((cGe,HH)=>{var gQ=Object.defineProperty,tme=Object.getOwnPropertyDescriptor,rme=Object.getOwnPropertyNames,nme=Object.prototype.hasOwnProperty,ime=o((t,e)=>{for(var r in e)gQ(t,r,{get:e[r],enumerable:!0})},"__export"),sme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of rme(e))!nme.call(t,i)&&i!==r&&gQ(t,i,{get:()=>e[i],enumerable:!(n=tme(e,i))||n.enumerable});return t},"__copyProps"),ome=o(t=>sme(gQ({},"__esModule",{value:!0}),t),"__toCommonJS"),FH={};ime(FH,{defaultRetryPolicy:()=>ume,defaultRetryPolicyName:()=>qH});HH.exports=ome(FH);var ame=Gh(),cme=jh(),lme=Cc(),Ame=To(),qH="defaultRetryPolicy";function ume(t={}){return{name:qH,sendRequest:(0,lme.retryPolicy)([(0,cme.throttlingRetryStrategy)(),(0,ame.exponentialRetryStrategy)(t)],{maxRetries:t.maxRetries??Ame.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(ume,"defaultRetryPolicy")});var eu=m((AGe,JH)=>{var CQ=Object.defineProperty,dme=Object.getOwnPropertyDescriptor,pme=Object.getOwnPropertyNames,hme=Object.prototype.hasOwnProperty,fme=o((t,e)=>{for(var r in e)CQ(t,r,{get:e[r],enumerable:!0})},"__export"),mme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of pme(e))!hme.call(t,i)&&i!==r&&CQ(t,i,{get:()=>e[i],enumerable:!(n=dme(e,i))||n.enumerable});return t},"__copyProps"),gme=o(t=>mme(CQ({},"__esModule",{value:!0}),t),"__toCommonJS"),zH={};fme(zH,{isBrowser:()=>yme,isBun:()=>GH,isDeno:()=>jH,isNodeLike:()=>YH,isNodeRuntime:()=>Eme,isReactNative:()=>Bme,isWebWorker:()=>Cme});JH.exports=gme(zH);var yme=typeof window<"u"&&typeof window.document<"u",Cme=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),jH=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",GH=typeof Bun<"u"&&typeof Bun.version<"u",YH=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node,Eme=YH&&!GH&&!jH,Bme=typeof navigator<"u"&&navigator?.product==="ReactNative"});var BQ=m((dGe,$H)=>{var EQ=Object.defineProperty,Ime=Object.getOwnPropertyDescriptor,bme=Object.getOwnPropertyNames,Qme=Object.prototype.hasOwnProperty,wme=o((t,e)=>{for(var r in e)EQ(t,r,{get:e[r],enumerable:!0})},"__export"),Nme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of bme(e))!Qme.call(t,i)&&i!==r&&EQ(t,i,{get:()=>e[i],enumerable:!(n=Ime(e,i))||n.enumerable});return t},"__copyProps"),xme=o(t=>Nme(EQ({},"__esModule",{value:!0}),t),"__toCommonJS"),WH={};wme(WH,{formDataPolicy:()=>vme,formDataPolicyName:()=>KH});$H.exports=xme(WH);var Sme=Do(),Rme=eu(),VH=Ps(),KH="formDataPolicy";function _me(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}o(_me,"formDataToFormDataMap");function vme(){return{name:KH,async sendRequest(t,e){if(Rme.isNodeLike&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=_me(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=Pme(t.formData):await Dme(t.formData,t),t.formData=void 0}return e(t)}}}o(vme,"formDataPolicy");function Pme(t){let e=new URLSearchParams;for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.append(r,i.toString());else e.append(r,n.toString());return e.toString()}o(Pme,"wwwFormUrlEncode");async function Dme(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[i,s]of Object.entries(t))for(let a of Array.isArray(s)?s:[s])if(typeof a=="string")n.push({headers:(0,VH.createHttpHeaders)({"Content-Disposition":`form-data; name="${i}"`}),body:(0,Sme.stringToUint8Array)(a,"utf-8")});else{if(a==null||typeof a!="object")throw new Error(`Unexpected value for key ${i}: ${a}. Value should be serialized to string first.`);{let c=a.name||"blob",l=(0,VH.createHttpHeaders)();l.set("Content-Disposition",`form-data; name="${i}"; filename="${c}"`),l.set("Content-Type",a.type||"application/octet-stream"),n.push({headers:l,body:a})}}e.multipartBody={parts:n}}o(Dme,"prepareFormData")});var ZH=m((hGe,XH)=>{var Ec=1e3,Bc=Ec*60,Ic=Bc*60,Oo=Ic*24,Tme=Oo*7,Ome=Oo*365.25;XH.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Mme(t);if(r==="number"&&isFinite(t))return e.long?Lme(t):kme(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Mme(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*Ome;case"weeks":case"week":case"w":return r*Tme;case"days":case"day":case"d":return r*Oo;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Ic;case"minutes":case"minute":case"mins":case"min":case"m":return r*Bc;case"seconds":case"second":case"secs":case"sec":case"s":return r*Ec;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(Mme,"parse");function kme(t){var e=Math.abs(t);return e>=Oo?Math.round(t/Oo)+"d":e>=Ic?Math.round(t/Ic)+"h":e>=Bc?Math.round(t/Bc)+"m":e>=Ec?Math.round(t/Ec)+"s":t+"ms"}o(kme,"fmtShort");function Lme(t){var e=Math.abs(t);return e>=Oo?Yh(t,e,Oo,"day"):e>=Ic?Yh(t,e,Ic,"hour"):e>=Bc?Yh(t,e,Bc,"minute"):e>=Ec?Yh(t,e,Ec,"second"):t+" ms"}o(Lme,"fmtLong");function Yh(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(Yh,"plural")});var IQ=m((mGe,e1)=>{function Ume(t){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=i,r.enabled=c,r.humanize=ZH(),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 f=0;f<u.length;f++)d=(d<<5)-d+u.charCodeAt(f),d|=0;return r.colors[Math.abs(d)%r.colors.length]}o(e,"selectColor"),r.selectColor=e;function r(u){let d,f=null,g,C;function Q(...S){if(!Q.enabled)return;let w=Q,R=Number(new Date),T=R-(d||R);w.diff=T,w.prev=d,w.curr=R,d=R,S[0]=r.coerce(S[0]),typeof S[0]!="string"&&S.unshift("%O");let L=0;S[0]=S[0].replace(/%([a-zA-Z%])/g,(de,le)=>{if(de==="%%")return"%";L++;let De=r.formatters[le];if(typeof De=="function"){let Te=S[L];de=De.call(w,Te),S.splice(L,1),L--}return de}),r.formatArgs.call(w,S),(w.log||r.log).apply(w,S)}return o(Q,"debug"),Q.namespace=u,Q.useColors=r.useColors(),Q.color=r.selectColor(u),Q.extend=n,Q.destroy=r.destroy,Object.defineProperty(Q,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(g!==r.namespaces&&(g=r.namespaces,C=r.enabled(u)),C),set:S=>{f=S}}),typeof r.init=="function"&&r.init(Q),Q}o(r,"createDebug");function n(u,d){let f=r(this.namespace+(typeof d>"u"?":":d)+u);return f.log=this.log,f}o(n,"extend");function i(u){r.save(u),r.namespaces=u,r.names=[],r.skips=[];let d=(typeof u=="string"?u:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let f of d)f[0]==="-"?r.skips.push(f.slice(1)):r.names.push(f)}o(i,"enable");function s(u,d){let f=0,g=0,C=-1,Q=0;for(;f<u.length;)if(g<d.length&&(d[g]===u[f]||d[g]==="*"))d[g]==="*"?(C=g,Q=f,g++):(f++,g++);else if(C!==-1)g=C+1,Q++,f=Q;else return!1;for(;g<d.length&&d[g]==="*";)g++;return g===d.length}o(s,"matchesTemplate");function a(){let u=[...r.names,...r.skips.map(d=>"-"+d)].join(",");return r.enable(""),u}o(a,"disable");function c(u){for(let d of r.skips)if(s(u,d))return!1;for(let d of r.names)if(s(u,d))return!0;return!1}o(c,"enabled");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(Ume,"setup");e1.exports=Ume});var t1=m((wr,Jh)=>{wr.formatArgs=qme;wr.save=Hme;wr.load=zme;wr.useColors=Fme;wr.storage=jme();wr.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`."))}})();wr.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 Fme(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return 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&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}o(Fme,"useColors");function qme(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+Jh.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,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}o(qme,"formatArgs");wr.log=console.debug||console.log||(()=>{});function Hme(t){try{t?wr.storage.setItem("debug",t):wr.storage.removeItem("debug")}catch{}}o(Hme,"save");function zme(){let t;try{t=wr.storage.getItem("debug")||wr.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(zme,"load");function jme(){try{return localStorage}catch{}}o(jme,"localstorage");Jh.exports=IQ()(wr);var{formatters:Gme}=Jh.exports;Gme.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var n1=m((Ft,Wh)=>{var Yme=require("tty"),Vh=require("util");Ft.init=Zme;Ft.log=Kme;Ft.formatArgs=Vme;Ft.save=$me;Ft.load=Xme;Ft.useColors=Jme;Ft.destroy=Vh.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Ft.colors=[6,2,3,4,5,1];try{let t=require("supports-color");t&&(t.stderr||t).level>=2&&(Ft.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{}Ft.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.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 Jme(){return"colors"in Ft.inspectOpts?!!Ft.inspectOpts.colors:Yme.isatty(process.stderr.fd)}o(Jme,"useColors");function Vme(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${e} \x1B[0m`;t[0]=s+t[0].split(`
|
|
`).join(`
|
|
`+s),t.push(i+"m+"+Wh.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=Wme()+e+" "+t[0]}o(Vme,"formatArgs");function Wme(){return Ft.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(Wme,"getDate");function Kme(...t){return process.stderr.write(Vh.formatWithOptions(Ft.inspectOpts,...t)+`
|
|
`)}o(Kme,"log");function $me(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o($me,"save");function Xme(){return process.env.DEBUG}o(Xme,"load");function Zme(t){t.inspectOpts={};let e=Object.keys(Ft.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=Ft.inspectOpts[e[r]]}o(Zme,"init");Wh.exports=IQ()(Ft);var{formatters:r1}=Wh.exports;r1.o=function(t){return this.inspectOpts.colors=this.useColors,Vh.inspect(t,this.inspectOpts).split(`
|
|
`).map(e=>e.trim()).join(" ")};r1.O=function(t){return this.inspectOpts.colors=this.useColors,Vh.inspect(t,this.inspectOpts)}});var Kh=m((EGe,bQ)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?bQ.exports=t1():bQ.exports=n1()});var o1=m(Nr=>{"use strict";var ege=Nr&&Nr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),tge=Nr&&Nr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),i1=Nr&&Nr.__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)&&ege(e,t,r);return tge(e,t),e};Object.defineProperty(Nr,"__esModule",{value:!0});Nr.req=Nr.json=Nr.toBuffer=void 0;var rge=i1(require("http")),nge=i1(require("https"));async function s1(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(s1,"toBuffer");Nr.toBuffer=s1;async function ige(t){let r=(await s1(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}o(ige,"json");Nr.json=ige;function sge(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?nge:rge).request(t,e),i=new Promise((s,a)=>{n.once("response",s).once("error",a).end()});return n.then=i.then.bind(i),n}o(sge,"req");Nr.req=sge});var wQ=m(Wr=>{"use strict";var c1=Wr&&Wr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),oge=Wr&&Wr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),l1=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)&&c1(e,t,r);return oge(e,t),e},age=Wr&&Wr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&c1(e,t,r)};Object.defineProperty(Wr,"__esModule",{value:!0});Wr.Agent=void 0;var cge=l1(require("net")),a1=l1(require("http")),lge=require("https");age(o1(),Wr);var hi=Symbol("AgentBaseInternalState"),QQ=class extends a1.Agent{static{o(this,"Agent")}constructor(e){super(e),this[hi]={}}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 cge.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],i=n.indexOf(r);i!==-1&&(n.splice(i,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?lge.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},s=this.getName(i),a=this.incrementSockets(s);Promise.resolve().then(()=>this.connect(e,i)).then(c=>{if(this.decrementSockets(s,a),c instanceof a1.Agent)try{return c.addRequest(e,i)}catch(l){return n(l)}this[hi].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(s,a),n(c)})}createConnection(){let e=this[hi].currentSocket;if(this[hi].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[hi].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[hi]&&(this[hi].defaultPort=e)}get protocol(){return this[hi].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[hi]&&(this[hi].protocol=e)}};Wr.Agent=QQ});var A1=m(bc=>{"use strict";var Age=bc&&bc.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(bc,"__esModule",{value:!0});bc.parseProxyResponse=void 0;var uge=Age(Kh()),$h=(0,uge.default)("https-proxy-agent:parse-proxy-response");function dge(t){return new Promise((e,r)=>{let n=0,i=[];function s(){let u=t.read();u?A(u):t.once("readable",s)}o(s,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",s)}o(a,"cleanup");function c(){a(),$h("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(u){a(),$h("onerror %o",u),r(u)}o(l,"onerror");function A(u){i.push(u),n+=u.length;let d=Buffer.concat(i,n),f=d.indexOf(`\r
|
|
\r
|
|
`);if(f===-1){$h("have not received end of HTTP headers yet..."),s();return}let g=d.slice(0,f).toString("ascii").split(`\r
|
|
`),C=g.shift();if(!C)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let Q=C.split(" "),S=+Q[1],w=Q.slice(2).join(" "),R={};for(let T of g){if(!T)continue;let L=T.indexOf(":");if(L===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${T}"`));let W=T.slice(0,L).toLowerCase(),de=T.slice(L+1).trimStart(),le=R[W];typeof le=="string"?R[W]=[le,de]:Array.isArray(le)?le.push(de):R[W]=de}$h("got proxy server response: %o %o",C,R),a(),e({connect:{statusCode:S,statusText:w,headers:R},buffered:d})}o(A,"ondata"),t.on("error",l),t.on("end",c),s()})}o(dge,"parseProxyResponse");bc.parseProxyResponse=dge});var m1=m(En=>{"use strict";var pge=En&&En.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),hge=En&&En.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),h1=En&&En.__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)&&pge(e,t,r);return hge(e,t),e},f1=En&&En.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(En,"__esModule",{value:!0});En.HttpsProxyAgent=void 0;var Xh=h1(require("net")),u1=h1(require("tls")),fge=f1(require("assert")),mge=f1(Kh()),gge=wQ(),yge=require("url"),Cge=A1(),tu=(0,mge.default)("https-proxy-agent"),d1=o(t=>t.servername===void 0&&t.host&&!Xh.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),Zh=class extends gge.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new yge.URL(e):e,this.proxyHeaders=r?.headers??{},tu("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?p1(r,"headers"):null,host:n,port:i}}async connect(e,r){let{proxy:n}=this;if(!r.host)throw new TypeError('No "host" provided');let i;n.protocol==="https:"?(tu("Creating `tls.Socket`: %o",this.connectOpts),i=u1.connect(d1(this.connectOpts))):(tu("Creating `net.Socket`: %o",this.connectOpts),i=Xh.connect(this.connectOpts));let s=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=Xh.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r
|
|
`;if(n.username||n.password){let f=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;s["Proxy-Authorization"]=`Basic ${Buffer.from(f).toString("base64")}`}s.Host=`${a}:${r.port}`,s["Proxy-Connection"]||(s["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let f of Object.keys(s))c+=`${f}: ${s[f]}\r
|
|
`;let l=(0,Cge.parseProxyResponse)(i);i.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",Ege),r.secureEndpoint?(tu("Upgrading socket connection to TLS"),u1.connect({...p1(d1(r),"host","path","port"),socket:i})):i;i.destroy();let d=new Xh.Socket({writable:!1});return d.readable=!0,e.once("socket",f=>{tu("Replaying proxy buffer for failed request"),(0,fge.default)(f.listenerCount("data")>0),f.push(u),f.push(null)}),d}};Zh.protocols=["http","https"];En.HttpsProxyAgent=Zh;function Ege(t){t.resume()}o(Ege,"resume");function p1(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(p1,"omit")});var C1=m(Bn=>{"use strict";var Bge=Bn&&Bn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Ige=Bn&&Bn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),y1=Bn&&Bn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Bge(e,t,r);return Ige(e,t),e},bge=Bn&&Bn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Bn,"__esModule",{value:!0});Bn.HttpProxyAgent=void 0;var Qge=y1(require("net")),wge=y1(require("tls")),Nge=bge(Kh()),xge=require("events"),Sge=wQ(),g1=require("url"),Qc=(0,Nge.default)("http-proxy-agent"),ef=class extends Sge.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new g1.URL(e):e,this.proxyHeaders=r?.headers??{},Qc("Creating new HttpProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?Rge(r,"headers"):null,host:n,port:i}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:n}=this,i=r.secureEndpoint?"https:":"http:",s=e.getHeader("host")||"localhost",a=`${i}//${s}`,c=new g1.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,i;Qc("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(Qc("Patching connection write() output buffer with updated header"),n=e.outputData[0].data,i=n.indexOf(`\r
|
|
\r
|
|
`)+4,e.outputData[0].data=e._header+n.substring(i),Qc("Output buffer: %o",e.outputData[0].data));let s;return this.proxy.protocol==="https:"?(Qc("Creating `tls.Socket`: %o",this.connectOpts),s=wge.connect(this.connectOpts)):(Qc("Creating `net.Socket`: %o",this.connectOpts),s=Qge.connect(this.connectOpts)),await(0,xge.once)(s,"connect"),s}};ef.protocols=["http","https"];Bn.HttpProxyAgent=ef;function Rge(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(Rge,"omit")});var SQ=m((vGe,x1)=>{var xQ=Object.defineProperty,_ge=Object.getOwnPropertyDescriptor,vge=Object.getOwnPropertyNames,Pge=Object.prototype.hasOwnProperty,Dge=o((t,e)=>{for(var r in e)xQ(t,r,{get:e[r],enumerable:!0})},"__export"),Tge=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vge(e))!Pge.call(t,i)&&i!==r&&xQ(t,i,{get:()=>e[i],enumerable:!(n=_ge(e,i))||n.enumerable});return t},"__copyProps"),Oge=o(t=>Tge(xQ({},"__esModule",{value:!0}),t),"__toCommonJS"),I1={};Dge(I1,{getDefaultProxySettings:()=>Gge,globalNoProxyList:()=>NQ,loadNoProxy:()=>N1,proxyPolicy:()=>Jge,proxyPolicyName:()=>b1});x1.exports=Oge(I1);var Mge=m1(),kge=C1(),Lge=gc(),Uge="HTTPS_PROXY",Fge="HTTP_PROXY",qge="ALL_PROXY",Hge="NO_PROXY",b1="proxyPolicy",NQ=[],Q1=!1,zge=new Map;function tf(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(tf,"getEnvironmentValue");function w1(){if(!process)return;let t=tf(Uge),e=tf(qge),r=tf(Fge);return t||e||r}o(w1,"loadEnvironmentProxyValue");function jge(t,e,r){if(e.length===0)return!1;let n=new URL(t).hostname;if(r?.has(n))return r.get(n);let i=!1;for(let s of e)s[0]==="."?(n.endsWith(s)||n.length===s.length-1&&n===s.slice(1))&&(i=!0):n===s&&(i=!0);return r?.set(n,i),i}o(jge,"isBypassed");function N1(){let t=tf(Hge);return Q1=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(N1,"loadNoProxy");function Gge(t){if(!t&&(t=w1(),!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(Gge,"getDefaultProxySettings");function Yge(){let t=w1();return t?new URL(t):void 0}o(Yge,"getDefaultProxySettingsInternal");function E1(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(E1,"getUrlFromProxySettings");function B1(t,e,r){if(t.agent)return;let i=new URL(t.url).protocol!=="https:";t.tlsSettings&&Lge.logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let s=t.headers.toJSON();i?(e.httpProxyAgent||(e.httpProxyAgent=new kge.HttpProxyAgent(r,{headers:s})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new Mge.HttpsProxyAgent(r,{headers:s})),t.agent=e.httpsProxyAgent)}o(B1,"setProxyAgentOnRequest");function Jge(t,e){Q1||NQ.push(...N1());let r=t?E1(t):Yge(),n={};return{name:b1,async sendRequest(i,s){return!i.proxySettings&&r&&!jge(i.url,e?.customNoProxyList??NQ,e?.customNoProxyList?void 0:zge)?B1(i,n,r):i.proxySettings&&B1(i,n,E1(i.proxySettings)),s(i)}}}o(Jge,"proxyPolicy")});var _Q=m((DGe,_1)=>{var RQ=Object.defineProperty,Vge=Object.getOwnPropertyDescriptor,Wge=Object.getOwnPropertyNames,Kge=Object.prototype.hasOwnProperty,$ge=o((t,e)=>{for(var r in e)RQ(t,r,{get:e[r],enumerable:!0})},"__export"),Xge=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Wge(e))!Kge.call(t,i)&&i!==r&&RQ(t,i,{get:()=>e[i],enumerable:!(n=Vge(e,i))||n.enumerable});return t},"__copyProps"),Zge=o(t=>Xge(RQ({},"__esModule",{value:!0}),t),"__toCommonJS"),S1={};$ge(S1,{agentPolicy:()=>eye,agentPolicyName:()=>R1});_1.exports=Zge(S1);var R1="agentPolicy";function eye(t){return{name:R1,sendRequest:async(e,r)=>(e.agent||(e.agent=t),r(e))}}o(eye,"agentPolicy")});var PQ=m((OGe,D1)=>{var vQ=Object.defineProperty,tye=Object.getOwnPropertyDescriptor,rye=Object.getOwnPropertyNames,nye=Object.prototype.hasOwnProperty,iye=o((t,e)=>{for(var r in e)vQ(t,r,{get:e[r],enumerable:!0})},"__export"),sye=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of rye(e))!nye.call(t,i)&&i!==r&&vQ(t,i,{get:()=>e[i],enumerable:!(n=tye(e,i))||n.enumerable});return t},"__copyProps"),oye=o(t=>sye(vQ({},"__esModule",{value:!0}),t),"__toCommonJS"),v1={};iye(v1,{tlsPolicy:()=>aye,tlsPolicyName:()=>P1});D1.exports=oye(v1);var P1="tlsPolicy";function aye(t){return{name:P1,sendRequest:async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e))}}o(aye,"tlsPolicy")});var ru=m((kGe,L1)=>{var DQ=Object.defineProperty,cye=Object.getOwnPropertyDescriptor,lye=Object.getOwnPropertyNames,Aye=Object.prototype.hasOwnProperty,uye=o((t,e)=>{for(var r in e)DQ(t,r,{get:e[r],enumerable:!0})},"__export"),dye=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of lye(e))!Aye.call(t,i)&&i!==r&&DQ(t,i,{get:()=>e[i],enumerable:!(n=cye(e,i))||n.enumerable});return t},"__copyProps"),pye=o(t=>dye(DQ({},"__esModule",{value:!0}),t),"__toCommonJS"),T1={};uye(T1,{isBinaryBody:()=>hye,isBlob:()=>fye,isNodeReadableStream:()=>O1,isReadableStream:()=>k1,isWebReadableStream:()=>M1});L1.exports=pye(T1);function O1(t){return!!(t&&typeof t.pipe=="function")}o(O1,"isNodeReadableStream");function M1(t){return!!(t&&typeof t.getReader=="function"&&typeof t.tee=="function")}o(M1,"isWebReadableStream");function hye(t){return t!==void 0&&(t instanceof Uint8Array||k1(t)||typeof t=="function"||t instanceof Blob)}o(hye,"isBinaryBody");function k1(t){return O1(t)||M1(t)}o(k1,"isReadableStream");function fye(t){return typeof t.stream=="function"}o(fye,"isBlob")});var z1=m((UGe,H1)=>{var TQ=Object.defineProperty,mye=Object.getOwnPropertyDescriptor,gye=Object.getOwnPropertyNames,yye=Object.prototype.hasOwnProperty,Cye=o((t,e)=>{for(var r in e)TQ(t,r,{get:e[r],enumerable:!0})},"__export"),Eye=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gye(e))!yye.call(t,i)&&i!==r&&TQ(t,i,{get:()=>e[i],enumerable:!(n=mye(e,i))||n.enumerable});return t},"__copyProps"),Bye=o(t=>Eye(TQ({},"__esModule",{value:!0}),t),"__toCommonJS"),q1={};Cye(q1,{concat:()=>wye});H1.exports=Bye(q1);var OQ=require("stream"),Iye=ru();async function*U1(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(U1,"streamAsyncIterator");function bye(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=U1.bind(t)),t.values||(t.values=U1.bind(t))}o(bye,"makeAsyncIterable");function F1(t){return t instanceof ReadableStream?(bye(t),OQ.Readable.fromWeb(t)):t}o(F1,"ensureNodeStream");function Qye(t){return t instanceof Uint8Array?OQ.Readable.from(Buffer.from(t)):(0,Iye.isBlob)(t)?F1(t.stream()):F1(t)}o(Qye,"toStream");async function wye(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(Qye);return OQ.Readable.from(async function*(){for(let r of e)for await(let n of r)yield n}())}}o(wye,"concat")});var kQ=m((qGe,Y1)=>{var MQ=Object.defineProperty,Nye=Object.getOwnPropertyDescriptor,xye=Object.getOwnPropertyNames,Sye=Object.prototype.hasOwnProperty,Rye=o((t,e)=>{for(var r in e)MQ(t,r,{get:e[r],enumerable:!0})},"__export"),_ye=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of xye(e))!Sye.call(t,i)&&i!==r&&MQ(t,i,{get:()=>e[i],enumerable:!(n=Nye(e,i))||n.enumerable});return t},"__copyProps"),vye=o(t=>_ye(MQ({},"__esModule",{value:!0}),t),"__toCommonJS"),j1={};Rye(j1,{multipartPolicy:()=>zye,multipartPolicyName:()=>G1});Y1.exports=vye(j1);var wc=Do(),Pye=ru(),Dye=Lh(),Tye=z1();function Oye(){return`----AzSDKFormBoundary${(0,Dye.randomUUID)()}`}o(Oye,"generateBoundary");function Mye(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r
|
|
`;return e}o(Mye,"encodeHeaders");function kye(t){return t instanceof Uint8Array?t.byteLength:(0,Pye.isBlob)(t)?t.size===-1?void 0:t.size:void 0}o(kye,"getLength");function Lye(t){let e=0;for(let r of t){let n=kye(r);if(n===void 0)return;e+=n}return e}o(Lye,"getTotalLength");async function Uye(t,e,r){let n=[(0,wc.stringToUint8Array)(`--${r}`,"utf-8"),...e.flatMap(s=>[(0,wc.stringToUint8Array)(`\r
|
|
`,"utf-8"),(0,wc.stringToUint8Array)(Mye(s.headers),"utf-8"),(0,wc.stringToUint8Array)(`\r
|
|
`,"utf-8"),s.body,(0,wc.stringToUint8Array)(`\r
|
|
--${r}`,"utf-8")]),(0,wc.stringToUint8Array)(`--\r
|
|
\r
|
|
`,"utf-8")],i=Lye(n);i&&t.headers.set("Content-Length",i),t.body=await(0,Tye.concat)(n)}o(Uye,"buildRequestBody");var G1="multipartPolicy",Fye=70,qye=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function Hye(t){if(t.length>Fye)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!qye.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(Hye,"assertValidBoundary");function zye(){return{name:G1,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",i=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!i)throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,s,a]=i;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?Hye(r):r=Oye(),t.headers.set("Content-Type",`${s}; boundary=${r}`),await Uye(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(zye,"multipartPolicy")});var $1=m((zGe,K1)=>{var LQ=Object.defineProperty,jye=Object.getOwnPropertyDescriptor,Gye=Object.getOwnPropertyNames,Yye=Object.prototype.hasOwnProperty,Jye=o((t,e)=>{for(var r in e)LQ(t,r,{get:e[r],enumerable:!0})},"__export"),Vye=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Gye(e))!Yye.call(t,i)&&i!==r&&LQ(t,i,{get:()=>e[i],enumerable:!(n=jye(e,i))||n.enumerable});return t},"__copyProps"),Wye=o(t=>Vye(LQ({},"__esModule",{value:!0}),t),"__toCommonJS"),W1={};Jye(W1,{createPipelineFromOptions:()=>oCe});K1.exports=Wye(W1);var Kye=Kb(),$ye=Pb(),Xye=Xb(),Zye=iQ(),eCe=oQ(),tCe=yQ(),rCe=BQ(),J1=eu(),nCe=SQ(),iCe=_Q(),sCe=PQ(),V1=kQ();function oCe(t){let e=(0,$ye.createEmptyPipeline)();return J1.isNodeLike&&(t.agent&&e.addPolicy((0,iCe.agentPolicy)(t.agent)),t.tlsOptions&&e.addPolicy((0,sCe.tlsPolicy)(t.tlsOptions)),e.addPolicy((0,nCe.proxyPolicy)(t.proxyOptions)),e.addPolicy((0,eCe.decompressResponsePolicy)())),e.addPolicy((0,rCe.formDataPolicy)(),{beforePolicies:[V1.multipartPolicyName]}),e.addPolicy((0,Zye.userAgentPolicy)(t.userAgentOptions)),e.addPolicy((0,V1.multipartPolicy)(),{afterPhase:"Deserialize"}),e.addPolicy((0,tCe.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),J1.isNodeLike&&e.addPolicy((0,Xye.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy((0,Kye.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),e}o(oCe,"createPipelineFromOptions")});var t2=m((GGe,e2)=>{var UQ=Object.defineProperty,aCe=Object.getOwnPropertyDescriptor,cCe=Object.getOwnPropertyNames,lCe=Object.prototype.hasOwnProperty,ACe=o((t,e)=>{for(var r in e)UQ(t,r,{get:e[r],enumerable:!0})},"__export"),uCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of cCe(e))!lCe.call(t,i)&&i!==r&&UQ(t,i,{get:()=>e[i],enumerable:!(n=aCe(e,i))||n.enumerable});return t},"__copyProps"),dCe=o(t=>uCe(UQ({},"__esModule",{value:!0}),t),"__toCommonJS"),X1={};ACe(X1,{apiVersionPolicy:()=>pCe,apiVersionPolicyName:()=>Z1});e2.exports=dCe(X1);var Z1="ApiVersionPolicy";function pCe(t){return{name:Z1,sendRequest:(e,r)=>{let n=new URL(e.url);return!n.searchParams.get("api-version")&&t.apiVersion&&(e.url=`${e.url}${Array.from(n.searchParams.keys()).length>0?"&":"?"}api-version=${t.apiVersion}`),r(e)}}}o(pCe,"apiVersionPolicy")});var i2=m((JGe,n2)=>{var FQ=Object.defineProperty,hCe=Object.getOwnPropertyDescriptor,fCe=Object.getOwnPropertyNames,mCe=Object.prototype.hasOwnProperty,gCe=o((t,e)=>{for(var r in e)FQ(t,r,{get:e[r],enumerable:!0})},"__export"),yCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fCe(e))!mCe.call(t,i)&&i!==r&&FQ(t,i,{get:()=>e[i],enumerable:!(n=hCe(e,i))||n.enumerable});return t},"__copyProps"),CCe=o(t=>yCe(FQ({},"__esModule",{value:!0}),t),"__toCommonJS"),r2={};gCe(r2,{isApiKeyCredential:()=>bCe,isBasicCredential:()=>ICe,isBearerTokenCredential:()=>BCe,isOAuth2TokenCredential:()=>ECe});n2.exports=CCe(r2);function ECe(t){return"getOAuth2Token"in t}o(ECe,"isOAuth2TokenCredential");function BCe(t){return"getBearerToken"in t}o(BCe,"isBearerTokenCredential");function ICe(t){return"username"in t&&"password"in t}o(ICe,"isBasicCredential");function bCe(t){return"key"in t}o(bCe,"isApiKeyCredential")});var nu=m((WGe,a2)=>{var qQ=Object.defineProperty,QCe=Object.getOwnPropertyDescriptor,wCe=Object.getOwnPropertyNames,NCe=Object.prototype.hasOwnProperty,xCe=o((t,e)=>{for(var r in e)qQ(t,r,{get:e[r],enumerable:!0})},"__export"),SCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of wCe(e))!NCe.call(t,i)&&i!==r&&qQ(t,i,{get:()=>e[i],enumerable:!(n=QCe(e,i))||n.enumerable});return t},"__copyProps"),RCe=o(t=>SCe(qQ({},"__esModule",{value:!0}),t),"__toCommonJS"),o2={};xCe(o2,{ensureSecureConnection:()=>DCe});a2.exports=RCe(o2);var _Ce=gc(),s2=!1;function vCe(t,e){if(e.allowInsecureConnection&&t.allowInsecureConnection){let r=new URL(t.url);if(r.hostname==="localhost"||r.hostname==="127.0.0.1")return!0}return!1}o(vCe,"allowInsecureConnection");function PCe(){let t="Sending token over insecure transport. Assume any token issued is compromised.";_Ce.logger.warning(t),typeof process?.emitWarning=="function"&&!s2&&(s2=!0,process.emitWarning(t))}o(PCe,"emitInsecureConnectionWarning");function DCe(t,e){if(!t.url.toLowerCase().startsWith("https://"))if(vCe(t,e))PCe();else throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}o(DCe,"ensureSecureConnection")});var u2=m(($Ge,A2)=>{var HQ=Object.defineProperty,TCe=Object.getOwnPropertyDescriptor,OCe=Object.getOwnPropertyNames,MCe=Object.prototype.hasOwnProperty,kCe=o((t,e)=>{for(var r in e)HQ(t,r,{get:e[r],enumerable:!0})},"__export"),LCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of OCe(e))!MCe.call(t,i)&&i!==r&&HQ(t,i,{get:()=>e[i],enumerable:!(n=TCe(e,i))||n.enumerable});return t},"__copyProps"),UCe=o(t=>LCe(HQ({},"__esModule",{value:!0}),t),"__toCommonJS"),c2={};kCe(c2,{apiKeyAuthenticationPolicy:()=>qCe,apiKeyAuthenticationPolicyName:()=>l2});A2.exports=UCe(c2);var FCe=nu(),l2="apiKeyAuthenticationPolicy";function qCe(t){return{name:l2,async sendRequest(e,r){(0,FCe.ensureSecureConnection)(e,t);let n=(e.authSchemes??t.authSchemes)?.find(i=>i.kind==="apiKey");if(!n)return r(e);if(n.apiKeyLocation!=="header")throw new Error(`Unsupported API key location: ${n.apiKeyLocation}`);return e.headers.set(n.name,t.credential.key),r(e)}}}o(qCe,"apiKeyAuthenticationPolicy")});var m2=m((ZGe,f2)=>{var zQ=Object.defineProperty,HCe=Object.getOwnPropertyDescriptor,zCe=Object.getOwnPropertyNames,jCe=Object.prototype.hasOwnProperty,GCe=o((t,e)=>{for(var r in e)zQ(t,r,{get:e[r],enumerable:!0})},"__export"),YCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zCe(e))!jCe.call(t,i)&&i!==r&&zQ(t,i,{get:()=>e[i],enumerable:!(n=HCe(e,i))||n.enumerable});return t},"__copyProps"),JCe=o(t=>YCe(zQ({},"__esModule",{value:!0}),t),"__toCommonJS"),p2={};GCe(p2,{basicAuthenticationPolicy:()=>WCe,basicAuthenticationPolicyName:()=>h2});f2.exports=JCe(p2);var d2=Do(),VCe=nu(),h2="bearerAuthenticationPolicy";function WCe(t){return{name:h2,async sendRequest(e,r){if((0,VCe.ensureSecureConnection)(e,t),!(e.authSchemes??t.authSchemes)?.find(c=>c.kind==="http"&&c.scheme==="basic"))return r(e);let{username:i,password:s}=t.credential,a=(0,d2.uint8ArrayToString)((0,d2.stringToUint8Array)(`${i}:${s}`,"utf-8"),"base64");return e.headers.set("Authorization",`Basic ${a}`),r(e)}}}o(WCe,"basicAuthenticationPolicy")});var E2=m((tYe,C2)=>{var jQ=Object.defineProperty,KCe=Object.getOwnPropertyDescriptor,$Ce=Object.getOwnPropertyNames,XCe=Object.prototype.hasOwnProperty,ZCe=o((t,e)=>{for(var r in e)jQ(t,r,{get:e[r],enumerable:!0})},"__export"),eEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $Ce(e))!XCe.call(t,i)&&i!==r&&jQ(t,i,{get:()=>e[i],enumerable:!(n=KCe(e,i))||n.enumerable});return t},"__copyProps"),tEe=o(t=>eEe(jQ({},"__esModule",{value:!0}),t),"__toCommonJS"),g2={};ZCe(g2,{bearerAuthenticationPolicy:()=>nEe,bearerAuthenticationPolicyName:()=>y2});C2.exports=tEe(g2);var rEe=nu(),y2="bearerAuthenticationPolicy";function nEe(t){return{name:y2,async sendRequest(e,r){if((0,rEe.ensureSecureConnection)(e,t),!(e.authSchemes??t.authSchemes)?.find(s=>s.kind==="http"&&s.scheme==="bearer"))return r(e);let i=await t.credential.getBearerToken({abortSignal:e.abortSignal});return e.headers.set("Authorization",`Bearer ${i}`),r(e)}}}o(nEe,"bearerAuthenticationPolicy")});var Q2=m((nYe,b2)=>{var GQ=Object.defineProperty,iEe=Object.getOwnPropertyDescriptor,sEe=Object.getOwnPropertyNames,oEe=Object.prototype.hasOwnProperty,aEe=o((t,e)=>{for(var r in e)GQ(t,r,{get:e[r],enumerable:!0})},"__export"),cEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sEe(e))!oEe.call(t,i)&&i!==r&&GQ(t,i,{get:()=>e[i],enumerable:!(n=iEe(e,i))||n.enumerable});return t},"__copyProps"),lEe=o(t=>cEe(GQ({},"__esModule",{value:!0}),t),"__toCommonJS"),B2={};aEe(B2,{oauth2AuthenticationPolicy:()=>uEe,oauth2AuthenticationPolicyName:()=>I2});b2.exports=lEe(B2);var AEe=nu(),I2="oauth2AuthenticationPolicy";function uEe(t){return{name:I2,async sendRequest(e,r){(0,AEe.ensureSecureConnection)(e,t);let n=(e.authSchemes??t.authSchemes)?.find(s=>s.kind==="oauth2");if(!n)return r(e);let i=await t.credential.getOAuth2Token(n.flows,{abortSignal:e.abortSignal});return e.headers.set("Authorization",`Bearer ${i}`),r(e)}}}o(uEe,"oauth2AuthenticationPolicy")});var VQ=m((sYe,N2)=>{var JQ=Object.defineProperty,dEe=Object.getOwnPropertyDescriptor,pEe=Object.getOwnPropertyNames,hEe=Object.prototype.hasOwnProperty,fEe=o((t,e)=>{for(var r in e)JQ(t,r,{get:e[r],enumerable:!0})},"__export"),mEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of pEe(e))!hEe.call(t,i)&&i!==r&&JQ(t,i,{get:()=>e[i],enumerable:!(n=dEe(e,i))||n.enumerable});return t},"__copyProps"),gEe=o(t=>mEe(JQ({},"__esModule",{value:!0}),t),"__toCommonJS"),w2={};fEe(w2,{createDefaultPipeline:()=>wEe,getCachedDefaultHttpsClient:()=>NEe});N2.exports=gEe(w2);var yEe=Vb(),CEe=$1(),EEe=t2(),rf=i2(),BEe=u2(),IEe=m2(),bEe=E2(),QEe=Q2(),YQ;function wEe(t={}){let e=(0,CEe.createPipelineFromOptions)(t);e.addPolicy((0,EEe.apiVersionPolicy)(t));let{credential:r,authSchemes:n,allowInsecureConnection:i}=t;return r&&((0,rf.isApiKeyCredential)(r)?e.addPolicy((0,BEe.apiKeyAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,rf.isBasicCredential)(r)?e.addPolicy((0,IEe.basicAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,rf.isBearerTokenCredential)(r)?e.addPolicy((0,bEe.bearerAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,rf.isOAuth2TokenCredential)(r)&&e.addPolicy((0,QEe.oauth2AuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i}))),e}o(wEe,"createDefaultPipeline");function NEe(){return YQ||(YQ=(0,yEe.createDefaultHttpClient)()),YQ}o(NEe,"getCachedDefaultHttpsClient")});var T2=m((aYe,D2)=>{var WQ=Object.defineProperty,xEe=Object.getOwnPropertyDescriptor,SEe=Object.getOwnPropertyNames,REe=Object.prototype.hasOwnProperty,_Ee=o((t,e)=>{for(var r in e)WQ(t,r,{get:e[r],enumerable:!0})},"__export"),vEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of SEe(e))!REe.call(t,i)&&i!==r&&WQ(t,i,{get:()=>e[i],enumerable:!(n=xEe(e,i))||n.enumerable});return t},"__copyProps"),PEe=o(t=>vEe(WQ({},"__esModule",{value:!0}),t),"__toCommonJS"),R2={};_Ee(R2,{buildBodyPart:()=>P2,buildMultipartBody:()=>LEe});D2.exports=PEe(R2);var DEe=mc(),TEe=Ps(),x2=Do(),_2=ru();function v2(t,e){if(t.headers){let r=Object.keys(t.headers).find(n=>n.toLowerCase()===e.toLowerCase());if(r)return t.headers[r]}}o(v2,"getHeaderValue");function OEe(t){let e=v2(t,"content-type");if(e)return e;if(t.contentType===null)return;if(t.contentType)return t.contentType;let{body:r}=t;if(r!=null)return typeof r=="string"||typeof r=="number"||typeof r=="boolean"?"text/plain; charset=UTF-8":r instanceof Blob?r.type||"application/octet-stream":(0,_2.isBinaryBody)(r)?"application/octet-stream":"application/json"}o(OEe,"getPartContentType");function S2(t){return JSON.stringify(t)}o(S2,"escapeDispositionField");function MEe(t){let e=v2(t,"content-disposition");if(e)return e;if(t.dispositionType===void 0&&t.name===void 0&&t.filename===void 0)return;let n=t.dispositionType??"form-data";t.name&&(n+=`; name=${S2(t.name)}`);let i;if(t.filename)i=t.filename;else if(typeof File<"u"&&t.body instanceof File){let s=t.body.name;s!==""&&(i=s)}return i&&(n+=`; filename=${S2(i)}`),n}o(MEe,"getContentDisposition");function kEe(t,e){if(t===void 0)return new Uint8Array([]);if((0,_2.isBinaryBody)(t))return t;if(typeof t=="string"||typeof t=="number"||typeof t=="boolean")return(0,x2.stringToUint8Array)(String(t),"utf-8");if(e&&/application\/(.+\+)?json(;.+)?/i.test(String(e)))return(0,x2.stringToUint8Array)(JSON.stringify(t),"utf-8");throw new DEe.RestError(`Unsupported body/content-type combination: ${t}, ${e}`)}o(kEe,"normalizeBody");function P2(t){let e=OEe(t),r=MEe(t),n=(0,TEe.createHttpHeaders)(t.headers??{});e&&n.set("content-type",e),r&&n.set("content-disposition",r);let i=kEe(t.body,e);return{headers:n,body:i}}o(P2,"buildBodyPart");function LEe(t){return{parts:t.map(P2)}}o(LEe,"buildMultipartBody")});var L2=m((lYe,k2)=>{var XQ=Object.defineProperty,UEe=Object.getOwnPropertyDescriptor,FEe=Object.getOwnPropertyNames,qEe=Object.prototype.hasOwnProperty,HEe=o((t,e)=>{for(var r in e)XQ(t,r,{get:e[r],enumerable:!0})},"__export"),zEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of FEe(e))!qEe.call(t,i)&&i!==r&&XQ(t,i,{get:()=>e[i],enumerable:!(n=UEe(e,i))||n.enumerable});return t},"__copyProps"),jEe=o(t=>zEe(XQ({},"__esModule",{value:!0}),t),"__toCommonJS"),O2={};HEe(O2,{getRequestBody:()=>M2,sendRequest:()=>WEe});k2.exports=jEe(O2);var KQ=mc(),GEe=Ps(),YEe=Rb(),JEe=VQ(),$Q=ru(),VEe=T2();async function WEe(t,e,r,n={},i){let s=i??(0,JEe.getCachedDefaultHttpsClient)(),a=XEe(t,e,n);try{let c=await r.sendRequest(s,a),l=c.headers.toJSON(),A=c.readableStreamBody??c.browserStreamBody,u=n.responseAsStream||A!==void 0?void 0:ZEe(c),d=A??u;return n?.onResponse&&n.onResponse({...c,request:a,rawHeaders:l,parsedBody:u}),{request:a,headers:l,status:`${c.status}`,body:d}}catch(c){if((0,KQ.isRestError)(c)&&c.response&&n.onResponse){let{response:l}=c,A=l.headers.toJSON();n?.onResponse({...l,request:a,rawHeaders:A},c)}throw c}}o(WEe,"sendRequest");function KEe(t={}){return t.contentType??t.headers?.["content-type"]??$Ee(t.body)}o(KEe,"getRequestContentType");function $Ee(t){if(t!==void 0){if(ArrayBuffer.isView(t))return"application/octet-stream";if((0,$Q.isBlob)(t)&&t.type)return t.type;if(typeof t=="string")try{return JSON.parse(t),"application/json"}catch{return}return"application/json"}}o($Ee,"getContentType");function XEe(t,e,r={}){let n=KEe(r),{body:i,multipartBody:s}=M2(r.body,n),a=(0,GEe.createHttpHeaders)({...r.headers?r.headers:{},accept:r.accept??r.headers?.accept??"application/json",...n&&{"content-type":n}});return(0,YEe.createPipelineRequest)({url:e,method:t,body:i,multipartBody:s,headers:a,allowInsecureConnection:r.allowInsecureConnection,abortSignal:r.abortSignal,onUploadProgress:r.onUploadProgress,onDownloadProgress:r.onDownloadProgress,timeout:r.timeout,enableBrowserStreams:!0,streamResponseStatusCodes:r.responseAsStream?new Set([Number.POSITIVE_INFINITY]):void 0})}o(XEe,"buildPipelineRequest");function M2(t,e=""){if(t===void 0)return{body:void 0};if(typeof FormData<"u"&&t instanceof FormData)return{body:t};if((0,$Q.isBlob)(t))return{body:t};if((0,$Q.isReadableStream)(t)||typeof t=="function")return{body:t};if(ArrayBuffer.isView(t))return{body:t instanceof Uint8Array?t:JSON.stringify(t)};switch(e.split(";")[0]){case"application/json":return{body:JSON.stringify(t)};case"multipart/form-data":return Array.isArray(t)?{multipartBody:(0,VEe.buildMultipartBody)(t)}:{body:JSON.stringify(t)};case"text/plain":return{body:String(t)};default:return typeof t=="string"?{body:t}:{body:JSON.stringify(t)}}}o(M2,"getRequestBody");function ZEe(t){let r=(t.headers.get("content-type")??"").split(";")[0],n=t.bodyAsText??"";if(r==="text/plain")return String(n);try{return n?JSON.parse(n):void 0}catch(i){if(r==="application/json")throw eBe(t,i);return String(n)}}o(ZEe,"getResponseBody");function eBe(t,e){let r=`Error "${e}" occurred while parsing the response body - ${t.bodyAsText}.`,n=e.code??KQ.RestError.PARSE_ERROR;return new KQ.RestError(r,{code:n,statusCode:t.status,request:t.request,response:t})}o(eBe,"createParseError")});var z2=m((uYe,H2)=>{var ew=Object.defineProperty,tBe=Object.getOwnPropertyDescriptor,rBe=Object.getOwnPropertyNames,nBe=Object.prototype.hasOwnProperty,iBe=o((t,e)=>{for(var r in e)ew(t,r,{get:e[r],enumerable:!0})},"__export"),sBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of rBe(e))!nBe.call(t,i)&&i!==r&&ew(t,i,{get:()=>e[i],enumerable:!(n=tBe(e,i))||n.enumerable});return t},"__copyProps"),oBe=o(t=>sBe(ew({},"__esModule",{value:!0}),t),"__toCommonJS"),U2={};iBe(U2,{buildBaseUrl:()=>F2,buildRequestUrl:()=>cBe,replaceAll:()=>q2});H2.exports=oBe(U2);function aBe(t){let e=t.value;return e!==void 0&&e.toString!==void 0&&typeof e.toString=="function"}o(aBe,"isQueryParameterWithOptions");function cBe(t,e,r,n={}){if(e.startsWith("https://")||e.startsWith("http://"))return e;t=F2(t,n),e=ABe(e,r,n);let i=lBe(`${t}/${e}`,n);return new URL(i).toString().replace(/([^:]\/)\/+/g,"$1")}o(cBe,"buildRequestUrl");function ZQ(t,e,r,n){let i;r==="pipeDelimited"?i="|":r==="spaceDelimited"?i="%20":i=",";let s;Array.isArray(n)?s=n:typeof n=="object"&&n.toString===Object.prototype.toString?s=Object.entries(n).flat():s=[n];let a=s.map(c=>{if(c==null)return"";if(!c.toString||typeof c.toString!="function")throw new Error(`Query parameters must be able to be represented as string, ${t} can't`);let l=c.toISOString!==void 0?c.toISOString():c.toString();return e?l:encodeURIComponent(l)}).join(i);return`${e?t:encodeURIComponent(t)}=${a}`}o(ZQ,"getQueryParamValue");function lBe(t,e={}){if(!e.queryParameters)return t;let r=new URL(t),n=e.queryParameters,i=[];for(let s of Object.keys(n)){let a=n[s];if(a==null)continue;let c=aBe(a),l=c?a.value:a,A=c?a.explode??!1:!1,u=c&&a.style?a.style:"form";if(A)if(Array.isArray(l))for(let d of l)i.push(ZQ(s,e.skipUrlEncoding??!1,u,d));else if(typeof l=="object")for(let[d,f]of Object.entries(l))i.push(ZQ(d,e.skipUrlEncoding??!1,u,f));else throw new Error("explode can only be set to true for objects and arrays");else i.push(ZQ(s,e.skipUrlEncoding??!1,u,l))}return r.search!==""&&(r.search+="&"),r.search+=i.join("&"),r.toString()}o(lBe,"appendQueryParams");function F2(t,e){if(!e.pathParameters)return t;let r=e.pathParameters;for(let[n,i]of Object.entries(r)){if(i==null)throw new Error(`Path parameters ${n} must not be undefined or null`);if(!i.toString||typeof i.toString!="function")throw new Error(`Path parameters must be able to be represented as string, ${n} can't`);let s=i.toISOString!==void 0?i.toISOString():String(i);e.skipUrlEncoding||(s=encodeURIComponent(i)),t=q2(t,`{${n}}`,s)??""}return t}o(F2,"buildBaseUrl");function ABe(t,e,r={}){for(let n of e){let i=typeof n=="object"&&(n.allowReserved??!1),s=typeof n=="object"?n.value:n;!r.skipUrlEncoding&&!i&&(s=encodeURIComponent(s)),t=t.replace(/\{[\w-]+\}/,String(s))}return t}o(ABe,"buildRoutePath");function q2(t,e,r){return!t||!e?t:t.split(e).join(r||"")}o(q2,"replaceAll")});var J2=m((pYe,Y2)=>{var rw=Object.defineProperty,uBe=Object.getOwnPropertyDescriptor,dBe=Object.getOwnPropertyNames,pBe=Object.prototype.hasOwnProperty,hBe=o((t,e)=>{for(var r in e)rw(t,r,{get:e[r],enumerable:!0})},"__export"),fBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dBe(e))!pBe.call(t,i)&&i!==r&&rw(t,i,{get:()=>e[i],enumerable:!(n=uBe(e,i))||n.enumerable});return t},"__copyProps"),mBe=o(t=>fBe(rw({},"__esModule",{value:!0}),t),"__toCommonJS"),G2={};hBe(G2,{getClient:()=>CBe});Y2.exports=mBe(G2);var gBe=VQ(),tw=L2(),yBe=z2(),j2=eu();function CBe(t,e={}){let r=e.pipeline??(0,gBe.createDefaultPipeline)(e);if(e.additionalPolicies?.length)for(let{policy:c,position:l}of e.additionalPolicies){let A=l==="perRetry"?"Sign":void 0;r.addPolicy(c,{afterPhase:A})}let{allowInsecureConnection:n,httpClient:i}=e,s=e.endpoint??t,a=o((c,...l)=>{let A=o(u=>(0,yBe.buildRequestUrl)(s,c,l,{allowInsecureConnection:n,...u}),"getUrl");return{get:(u={})=>Ds("GET",A(u),r,u,n,i),post:(u={})=>Ds("POST",A(u),r,u,n,i),put:(u={})=>Ds("PUT",A(u),r,u,n,i),patch:(u={})=>Ds("PATCH",A(u),r,u,n,i),delete:(u={})=>Ds("DELETE",A(u),r,u,n,i),head:(u={})=>Ds("HEAD",A(u),r,u,n,i),options:(u={})=>Ds("OPTIONS",A(u),r,u,n,i),trace:(u={})=>Ds("TRACE",A(u),r,u,n,i)}},"client");return{path:a,pathUnchecked:a,pipeline:r}}o(CBe,"getClient");function Ds(t,e,r,n,i,s){return i=n.allowInsecureConnection??i,{then:function(a,c){return(0,tw.sendRequest)(t,e,r,{...n,allowInsecureConnection:i},s).then(a,c)},async asBrowserStream(){if(j2.isNodeLike)throw new Error("`asBrowserStream` is supported only in the browser environment. Use `asNodeStream` instead to obtain the response body stream. If you require a Web stream of the response in Node, consider using `Readable.toWeb` on the result of `asNodeStream`.");return(0,tw.sendRequest)(t,e,r,{...n,allowInsecureConnection:i,responseAsStream:!0},s)},async asNodeStream(){if(j2.isNodeLike)return(0,tw.sendRequest)(t,e,r,{...n,allowInsecureConnection:i,responseAsStream:!0},s);throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.")}}}o(Ds,"buildOperation")});var K2=m((fYe,W2)=>{var nw=Object.defineProperty,EBe=Object.getOwnPropertyDescriptor,BBe=Object.getOwnPropertyNames,IBe=Object.prototype.hasOwnProperty,bBe=o((t,e)=>{for(var r in e)nw(t,r,{get:e[r],enumerable:!0})},"__export"),QBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of BBe(e))!IBe.call(t,i)&&i!==r&&nw(t,i,{get:()=>e[i],enumerable:!(n=EBe(e,i))||n.enumerable});return t},"__copyProps"),wBe=o(t=>QBe(nw({},"__esModule",{value:!0}),t),"__toCommonJS"),V2={};bBe(V2,{operationOptionsToRequestParameters:()=>NBe});W2.exports=wBe(V2);function NBe(t){return{allowInsecureConnection:t.requestOptions?.allowInsecureConnection,timeout:t.requestOptions?.timeout,skipUrlEncoding:t.requestOptions?.skipUrlEncoding,abortSignal:t.abortSignal,onUploadProgress:t.requestOptions?.onUploadProgress,onDownloadProgress:t.requestOptions?.onDownloadProgress,headers:{...t.requestOptions?.headers},onResponse:t.onResponse}}o(NBe,"operationOptionsToRequestParameters")});var ez=m((gYe,Z2)=>{var iw=Object.defineProperty,xBe=Object.getOwnPropertyDescriptor,SBe=Object.getOwnPropertyNames,RBe=Object.prototype.hasOwnProperty,_Be=o((t,e)=>{for(var r in e)iw(t,r,{get:e[r],enumerable:!0})},"__export"),vBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of SBe(e))!RBe.call(t,i)&&i!==r&&iw(t,i,{get:()=>e[i],enumerable:!(n=xBe(e,i))||n.enumerable});return t},"__copyProps"),PBe=o(t=>vBe(iw({},"__esModule",{value:!0}),t),"__toCommonJS"),$2={};_Be($2,{createRestError:()=>OBe});Z2.exports=PBe($2);var DBe=mc(),TBe=Ps();function OBe(t,e){let r=typeof t=="string"?e:t,n=r.body?.error??r.body,i=typeof t=="string"?t:n?.message??`Unexpected status code: ${r.status}`;return new DBe.RestError(i,{statusCode:X2(r.status),code:n?.code,request:r.request,response:MBe(r)})}o(OBe,"createRestError");function MBe(t){return{headers:(0,TBe.createHttpHeaders)(t.headers),request:t.request,status:X2(t.status)??-1}}o(MBe,"toPipelineResponse");function X2(t){let e=Number.parseInt(t);return Number.isNaN(e)?void 0:e}o(X2,"statusCodeToNumber")});var Nc=m((CYe,iz)=>{var sw=Object.defineProperty,kBe=Object.getOwnPropertyDescriptor,LBe=Object.getOwnPropertyNames,UBe=Object.prototype.hasOwnProperty,FBe=o((t,e)=>{for(var r in e)sw(t,r,{get:e[r],enumerable:!0})},"__export"),qBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of LBe(e))!UBe.call(t,i)&&i!==r&&sw(t,i,{get:()=>e[i],enumerable:!(n=kBe(e,i))||n.enumerable});return t},"__copyProps"),HBe=o(t=>qBe(sw({},"__esModule",{value:!0}),t),"__toCommonJS"),nz={};FBe(nz,{AbortError:()=>zBe.AbortError,RestError:()=>tz.RestError,TypeSpecRuntimeLogger:()=>nf.TypeSpecRuntimeLogger,createClientLogger:()=>nf.createClientLogger,createDefaultHttpClient:()=>JBe.createDefaultHttpClient,createEmptyPipeline:()=>YBe.createEmptyPipeline,createHttpHeaders:()=>jBe.createHttpHeaders,createPipelineRequest:()=>GBe.createPipelineRequest,createRestError:()=>KBe.createRestError,getClient:()=>VBe.getClient,getLogLevel:()=>nf.getLogLevel,isRestError:()=>tz.isRestError,operationOptionsToRequestParameters:()=>WBe.operationOptionsToRequestParameters,setLogLevel:()=>nf.setLogLevel,stringToUint8Array:()=>rz.stringToUint8Array,uint8ArrayToString:()=>rz.uint8ArrayToString});iz.exports=HBe(nz);var zBe=VA(),nf=KA(),jBe=Ps(),GBe=Rb(),YBe=Pb(),tz=mc(),rz=Do(),JBe=Vb(),VBe=J2(),WBe=K2(),KBe=ez()});var aw=m((BYe,oz)=>{var ow=Object.defineProperty,$Be=Object.getOwnPropertyDescriptor,XBe=Object.getOwnPropertyNames,ZBe=Object.prototype.hasOwnProperty,eIe=o((t,e)=>{for(var r in e)ow(t,r,{get:e[r],enumerable:!0})},"__export"),tIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of XBe(e))!ZBe.call(t,i)&&i!==r&&ow(t,i,{get:()=>e[i],enumerable:!(n=$Be(e,i))||n.enumerable});return t},"__copyProps"),rIe=o(t=>tIe(ow({},"__esModule",{value:!0}),t),"__toCommonJS"),sz={};eIe(sz,{createEmptyPipeline:()=>iIe});oz.exports=rIe(sz);var nIe=Nc();function iIe(){return(0,nIe.createEmptyPipeline)()}o(iIe,"createEmptyPipeline")});var lz=m((bYe,cz)=>{var cw=Object.defineProperty,sIe=Object.getOwnPropertyDescriptor,oIe=Object.getOwnPropertyNames,aIe=Object.prototype.hasOwnProperty,cIe=o((t,e)=>{for(var r in e)cw(t,r,{get:e[r],enumerable:!0})},"__export"),lIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of oIe(e))!aIe.call(t,i)&&i!==r&&cw(t,i,{get:()=>e[i],enumerable:!(n=sIe(e,i))||n.enumerable});return t},"__copyProps"),AIe=o(t=>lIe(cw({},"__esModule",{value:!0}),t),"__toCommonJS"),az={};cIe(az,{createLoggerContext:()=>uIe.createLoggerContext});cz.exports=AIe(az);var uIe=KA()});var xc=m(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});Mo.AzureLogger=void 0;Mo.setLogLevel=pIe;Mo.getLogLevel=hIe;Mo.createClientLogger=fIe;var dIe=lz(),sf=(0,dIe.createLoggerContext)({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});Mo.AzureLogger=sf.logger;function pIe(t){sf.setLogLevel(t)}o(pIe,"setLogLevel");function hIe(){return sf.getLogLevel()}o(hIe,"getLogLevel");function fIe(t){return sf.createClientLogger(t)}o(fIe,"createClientLogger")});var iu=m((xYe,uz)=>{var lw=Object.defineProperty,mIe=Object.getOwnPropertyDescriptor,gIe=Object.getOwnPropertyNames,yIe=Object.prototype.hasOwnProperty,CIe=o((t,e)=>{for(var r in e)lw(t,r,{get:e[r],enumerable:!0})},"__export"),EIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gIe(e))!yIe.call(t,i)&&i!==r&&lw(t,i,{get:()=>e[i],enumerable:!(n=mIe(e,i))||n.enumerable});return t},"__copyProps"),BIe=o(t=>EIe(lw({},"__esModule",{value:!0}),t),"__toCommonJS"),Az={};CIe(Az,{logger:()=>bIe});uz.exports=BIe(Az);var IIe=xc(),bIe=(0,IIe.createClientLogger)("core-rest-pipeline")});var hz=m((RYe,pz)=>{var Aw=Object.defineProperty,QIe=Object.getOwnPropertyDescriptor,wIe=Object.getOwnPropertyNames,NIe=Object.prototype.hasOwnProperty,xIe=o((t,e)=>{for(var r in e)Aw(t,r,{get:e[r],enumerable:!0})},"__export"),SIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of wIe(e))!NIe.call(t,i)&&i!==r&&Aw(t,i,{get:()=>e[i],enumerable:!(n=QIe(e,i))||n.enumerable});return t},"__copyProps"),RIe=o(t=>SIe(Aw({},"__esModule",{value:!0}),t),"__toCommonJS"),dz={};xIe(dz,{exponentialRetryPolicy:()=>TIe,exponentialRetryPolicyName:()=>DIe});pz.exports=RIe(dz);var _Ie=Gh(),vIe=Cc(),PIe=To(),DIe="exponentialRetryPolicy";function TIe(t={}){return(0,vIe.retryPolicy)([(0,_Ie.exponentialRetryStrategy)({...t,ignoreSystemErrors:!0})],{maxRetries:t.maxRetries??PIe.DEFAULT_RETRY_POLICY_COUNT})}o(TIe,"exponentialRetryPolicy")});var yz=m((vYe,gz)=>{var uw=Object.defineProperty,OIe=Object.getOwnPropertyDescriptor,MIe=Object.getOwnPropertyNames,kIe=Object.prototype.hasOwnProperty,LIe=o((t,e)=>{for(var r in e)uw(t,r,{get:e[r],enumerable:!0})},"__export"),UIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of MIe(e))!kIe.call(t,i)&&i!==r&&uw(t,i,{get:()=>e[i],enumerable:!(n=OIe(e,i))||n.enumerable});return t},"__copyProps"),FIe=o(t=>UIe(uw({},"__esModule",{value:!0}),t),"__toCommonJS"),fz={};LIe(fz,{systemErrorRetryPolicy:()=>jIe,systemErrorRetryPolicyName:()=>mz});gz.exports=FIe(fz);var qIe=Gh(),HIe=Cc(),zIe=To(),mz="systemErrorRetryPolicy";function jIe(t={}){return{name:mz,sendRequest:(0,HIe.retryPolicy)([(0,qIe.exponentialRetryStrategy)({...t,ignoreHttpStatusCodes:!0})],{maxRetries:t.maxRetries??zIe.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(jIe,"systemErrorRetryPolicy")});var Iz=m((DYe,Bz)=>{var dw=Object.defineProperty,GIe=Object.getOwnPropertyDescriptor,YIe=Object.getOwnPropertyNames,JIe=Object.prototype.hasOwnProperty,VIe=o((t,e)=>{for(var r in e)dw(t,r,{get:e[r],enumerable:!0})},"__export"),WIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of YIe(e))!JIe.call(t,i)&&i!==r&&dw(t,i,{get:()=>e[i],enumerable:!(n=GIe(e,i))||n.enumerable});return t},"__copyProps"),KIe=o(t=>WIe(dw({},"__esModule",{value:!0}),t),"__toCommonJS"),Cz={};VIe(Cz,{throttlingRetryPolicy:()=>ebe,throttlingRetryPolicyName:()=>Ez});Bz.exports=KIe(Cz);var $Ie=jh(),XIe=Cc(),ZIe=To(),Ez="throttlingRetryPolicy";function ebe(t={}){return{name:Ez,sendRequest:(0,XIe.retryPolicy)([(0,$Ie.throttlingRetryStrategy)()],{maxRetries:t.maxRetries??ZIe.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(ebe,"throttlingRetryPolicy")});var xr=m((OYe,Mz)=>{var hw=Object.defineProperty,tbe=Object.getOwnPropertyDescriptor,rbe=Object.getOwnPropertyNames,nbe=Object.prototype.hasOwnProperty,ibe=o((t,e)=>{for(var r in e)hw(t,r,{get:e[r],enumerable:!0})},"__export"),sbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of rbe(e))!nbe.call(t,i)&&i!==r&&hw(t,i,{get:()=>e[i],enumerable:!(n=tbe(e,i))||n.enumerable});return t},"__copyProps"),obe=o(t=>sbe(hw({},"__esModule",{value:!0}),t),"__toCommonJS"),Oz={};ibe(Oz,{agentPolicy:()=>bz.agentPolicy,agentPolicyName:()=>bz.agentPolicyName,decompressResponsePolicy:()=>Qz.decompressResponsePolicy,decompressResponsePolicyName:()=>Qz.decompressResponsePolicyName,defaultRetryPolicy:()=>wz.defaultRetryPolicy,defaultRetryPolicyName:()=>wz.defaultRetryPolicyName,exponentialRetryPolicy:()=>Nz.exponentialRetryPolicy,exponentialRetryPolicyName:()=>Nz.exponentialRetryPolicyName,formDataPolicy:()=>Rz.formDataPolicy,formDataPolicyName:()=>Rz.formDataPolicyName,getDefaultProxySettings:()=>pw.getDefaultProxySettings,logPolicy:()=>_z.logPolicy,logPolicyName:()=>_z.logPolicyName,multipartPolicy:()=>vz.multipartPolicy,multipartPolicyName:()=>vz.multipartPolicyName,proxyPolicy:()=>pw.proxyPolicy,proxyPolicyName:()=>pw.proxyPolicyName,redirectPolicy:()=>Pz.redirectPolicy,redirectPolicyName:()=>Pz.redirectPolicyName,retryPolicy:()=>abe.retryPolicy,systemErrorRetryPolicy:()=>xz.systemErrorRetryPolicy,systemErrorRetryPolicyName:()=>xz.systemErrorRetryPolicyName,throttlingRetryPolicy:()=>Sz.throttlingRetryPolicy,throttlingRetryPolicyName:()=>Sz.throttlingRetryPolicyName,tlsPolicy:()=>Dz.tlsPolicy,tlsPolicyName:()=>Dz.tlsPolicyName,userAgentPolicy:()=>Tz.userAgentPolicy,userAgentPolicyName:()=>Tz.userAgentPolicyName});Mz.exports=obe(Oz);var bz=_Q(),Qz=oQ(),wz=yQ(),Nz=hz(),abe=Cc(),xz=yz(),Sz=Iz(),Rz=BQ(),_z=Kb(),vz=kQ(),pw=SQ(),Pz=Xb(),Dz=PQ(),Tz=iQ()});var mw=m((kYe,Uz)=>{var fw=Object.defineProperty,cbe=Object.getOwnPropertyDescriptor,lbe=Object.getOwnPropertyNames,Abe=Object.prototype.hasOwnProperty,ube=o((t,e)=>{for(var r in e)fw(t,r,{get:e[r],enumerable:!0})},"__export"),dbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of lbe(e))!Abe.call(t,i)&&i!==r&&fw(t,i,{get:()=>e[i],enumerable:!(n=cbe(e,i))||n.enumerable});return t},"__copyProps"),pbe=o(t=>dbe(fw({},"__esModule",{value:!0}),t),"__toCommonJS"),kz={};ube(kz,{logPolicy:()=>mbe,logPolicyName:()=>fbe});Uz.exports=pbe(kz);var hbe=iu(),Lz=xr(),fbe=Lz.logPolicyName;function mbe(t={}){return(0,Lz.logPolicy)({logger:hbe.logger.info,...t})}o(mbe,"logPolicy")});var yw=m((UYe,Hz)=>{var gw=Object.defineProperty,gbe=Object.getOwnPropertyDescriptor,ybe=Object.getOwnPropertyNames,Cbe=Object.prototype.hasOwnProperty,Ebe=o((t,e)=>{for(var r in e)gw(t,r,{get:e[r],enumerable:!0})},"__export"),Bbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ybe(e))!Cbe.call(t,i)&&i!==r&&gw(t,i,{get:()=>e[i],enumerable:!(n=gbe(e,i))||n.enumerable});return t},"__copyProps"),Ibe=o(t=>Bbe(gw({},"__esModule",{value:!0}),t),"__toCommonJS"),Fz={};Ebe(Fz,{redirectPolicy:()=>Qbe,redirectPolicyName:()=>bbe});Hz.exports=Ibe(Fz);var qz=xr(),bbe=qz.redirectPolicyName;function Qbe(t={}){return(0,qz.redirectPolicy)(t)}o(Qbe,"redirectPolicy")});var Jz=m((qYe,Yz)=>{var wbe=Object.create,of=Object.defineProperty,Nbe=Object.getOwnPropertyDescriptor,xbe=Object.getOwnPropertyNames,Sbe=Object.getPrototypeOf,Rbe=Object.prototype.hasOwnProperty,_be=o((t,e)=>{for(var r in e)of(t,r,{get:e[r],enumerable:!0})},"__export"),zz=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of xbe(e))!Rbe.call(t,i)&&i!==r&&of(t,i,{get:()=>e[i],enumerable:!(n=Nbe(e,i))||n.enumerable});return t},"__copyProps"),jz=o((t,e,r)=>(r=t!=null?wbe(Sbe(t)):{},zz(e||!t||!t.__esModule?of(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),vbe=o(t=>zz(of({},"__esModule",{value:!0}),t),"__toCommonJS"),Gz={};_be(Gz,{getHeaderName:()=>Pbe,setPlatformSpecificData:()=>Dbe});Yz.exports=vbe(Gz);var Cw=jz(require("node:os")),Ew=jz(require("node:process"));function Pbe(){return"User-Agent"}o(Pbe,"getHeaderName");async function Dbe(t){if(Ew.default&&Ew.default.versions){let e=`${Cw.default.type()} ${Cw.default.release()}; ${Cw.default.arch()}`,r=Ew.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(Dbe,"setPlatformSpecificData")});var af=m((zYe,Wz)=>{var Bw=Object.defineProperty,Tbe=Object.getOwnPropertyDescriptor,Obe=Object.getOwnPropertyNames,Mbe=Object.prototype.hasOwnProperty,kbe=o((t,e)=>{for(var r in e)Bw(t,r,{get:e[r],enumerable:!0})},"__export"),Lbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Obe(e))!Mbe.call(t,i)&&i!==r&&Bw(t,i,{get:()=>e[i],enumerable:!(n=Tbe(e,i))||n.enumerable});return t},"__copyProps"),Ube=o(t=>Lbe(Bw({},"__esModule",{value:!0}),t),"__toCommonJS"),Vz={};kbe(Vz,{DEFAULT_RETRY_POLICY_COUNT:()=>qbe,SDK_VERSION:()=>Fbe});Wz.exports=Ube(Vz);var Fbe="1.22.3",qbe=3});var bw=m((GYe,Xz)=>{var Iw=Object.defineProperty,Hbe=Object.getOwnPropertyDescriptor,zbe=Object.getOwnPropertyNames,jbe=Object.prototype.hasOwnProperty,Gbe=o((t,e)=>{for(var r in e)Iw(t,r,{get:e[r],enumerable:!0})},"__export"),Ybe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zbe(e))!jbe.call(t,i)&&i!==r&&Iw(t,i,{get:()=>e[i],enumerable:!(n=Hbe(e,i))||n.enumerable});return t},"__copyProps"),Jbe=o(t=>Ybe(Iw({},"__esModule",{value:!0}),t),"__toCommonJS"),Kz={};Gbe(Kz,{getUserAgentHeaderName:()=>Kbe,getUserAgentValue:()=>$be});Xz.exports=Jbe(Kz);var $z=Jz(),Vbe=af();function Wbe(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}o(Wbe,"getUserAgentString");function Kbe(){return(0,$z.getHeaderName)()}o(Kbe,"getUserAgentHeaderName");async function $be(t){let e=new Map;e.set("core-rest-pipeline",Vbe.SDK_VERSION),await(0,$z.setPlatformSpecificData)(e);let r=Wbe(e);return t?`${t} ${r}`:r}o($be,"getUserAgentValue")});var ww=m((JYe,nj)=>{var Qw=Object.defineProperty,Xbe=Object.getOwnPropertyDescriptor,Zbe=Object.getOwnPropertyNames,eQe=Object.prototype.hasOwnProperty,tQe=o((t,e)=>{for(var r in e)Qw(t,r,{get:e[r],enumerable:!0})},"__export"),rQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zbe(e))!eQe.call(t,i)&&i!==r&&Qw(t,i,{get:()=>e[i],enumerable:!(n=Xbe(e,i))||n.enumerable});return t},"__copyProps"),nQe=o(t=>rQe(Qw({},"__esModule",{value:!0}),t),"__toCommonJS"),ej={};tQe(ej,{userAgentPolicy:()=>iQe,userAgentPolicyName:()=>rj});nj.exports=nQe(ej);var tj=bw(),Zz=(0,tj.getUserAgentHeaderName)(),rj="userAgentPolicy";function iQe(t={}){let e=(0,tj.getUserAgentValue)(t.userAgentPrefix);return{name:rj,async sendRequest(r,n){return r.headers.has(Zz)||r.headers.set(Zz,await e),n(r)}}}o(iQe,"userAgentPolicy")});var vj={};rd(vj,{__addDisposableResource:()=>Sj,__assign:()=>cf,__asyncDelegator:()=>Ej,__asyncGenerator:()=>Cj,__asyncValues:()=>Bj,__await:()=>Sc,__awaiter:()=>pj,__classPrivateFieldGet:()=>wj,__classPrivateFieldIn:()=>xj,__classPrivateFieldSet:()=>Nj,__createBinding:()=>Af,__decorate:()=>oj,__disposeResources:()=>Rj,__esDecorate:()=>cj,__exportStar:()=>fj,__extends:()=>ij,__generator:()=>hj,__importDefault:()=>Qj,__importStar:()=>bj,__makeTemplateObject:()=>Ij,__metadata:()=>dj,__param:()=>aj,__propKey:()=>Aj,__read:()=>Sw,__rest:()=>sj,__rewriteRelativeImportExtension:()=>_j,__runInitializers:()=>lj,__setFunctionName:()=>uj,__spread:()=>mj,__spreadArray:()=>yj,__spreadArrays:()=>gj,__values:()=>lf,default:()=>aQe});function ij(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Nw(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function sj(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function oj(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function aj(t,e){return function(r,n){e(r,n,t)}}function cj(t,e,r,n,i,s){function a(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}o(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,f=!1,g=r.length-1;g>=0;g--){var C={};for(var Q in n)C[Q]=Q==="access"?{}:n[Q];for(var Q in n.access)C.access[Q]=n.access[Q];C.addInitializer=function(w){if(f)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(w||null))};var S=(0,r[g])(c==="accessor"?{get:u.get,set:u.set}:u[l],C);if(c==="accessor"){if(S===void 0)continue;if(S===null||typeof S!="object")throw new TypeError("Object expected");(d=a(S.get))&&(u.get=d),(d=a(S.set))&&(u.set=d),(d=a(S.init))&&i.unshift(d)}else(d=a(S))&&(c==="field"?i.unshift(d):u[l]=d)}A&&Object.defineProperty(A,n.name,u),f=!0}function lj(t,e,r){for(var n=arguments.length>2,i=0;i<e.length;i++)r=n?e[i].call(t,r):e[i].call(t);return n?r:void 0}function Aj(t){return typeof t=="symbol"?t:"".concat(t)}function uj(t,e,r){return typeof e=="symbol"&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function dj(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function pj(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})}function hj(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=c(0),a.throw=c(1),a.return=c(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(A){return function(u){return l([A,u])}}function l(A){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,A[0]&&(r=0)),r;)try{if(n=1,i&&(s=A[0]&2?i.return:A[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,A[1])).done)return s;switch(i=0,s&&(A=[A[0]&2,s.value]),A[0]){case 0:case 1:s=A;break;case 4:return r.label++,{value:A[1],done:!1};case 5:r.label++,i=A[1],A=[0];continue;case 7:A=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!s||A[1]>s[0]&&A[1]<s[3])){r.label=A[1];break}if(A[0]===6&&r.label<s[1]){r.label=s[1],s=A;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(A);break}s[2]&&r.ops.pop(),r.trys.pop();continue}A=e.call(t,r)}catch(u){A=[6,u],i=0}finally{n=s=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}}function fj(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Af(e,t,r)}function lf(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Sw(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function mj(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Sw(arguments[e]));return t}function gj(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<r;e++)for(var s=arguments[e],a=0,c=s.length;a<c;a++,i++)n[i]=s[a];return n}function yj(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))}function Sc(t){return this instanceof Sc?(this.v=t,this):new Sc(t)}function Cj(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(g){return function(C){return Promise.resolve(C).then(g,d)}}function c(g,C){n[g]&&(i[g]=function(Q){return new Promise(function(S,w){s.push([g,Q,S,w])>1||l(g,Q)})},C&&(i[g]=C(i[g])))}function l(g,C){try{A(n[g](C))}catch(Q){f(s[0][3],Q)}}function A(g){g.value instanceof Sc?Promise.resolve(g.value.v).then(u,d):f(s[0][2],g)}function u(g){l("next",g)}function d(g){l("throw",g)}function f(g,C){g(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function Ej(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:Sc(t[i](a)),done:!1}:s?s(a):a}:s}}function Bj(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 lf=="function"?lf(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}}function Ij(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function bj(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=xw(t),n=0;n<r.length;n++)r[n]!=="default"&&Af(e,t,r[n]);return sQe(e,t),e}function Qj(t){return t&&t.__esModule?t:{default:t}}function wj(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)}function Nj(t,e,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(t,r):i?i.value=r:e.set(t,r),r}function xj(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}function Sj(t,e,r){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=e[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=e[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=o(function(){try{i.call(this)}catch(s){return Promise.reject(s)}},"dispose")),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}function Rj(t){function e(s){t.error=t.hasError?new oQe(s,t.error,"An error was suppressed during disposal."):s,t.hasError=!0}o(e,"fail");var r,n=0;function i(){for(;r=t.stack.pop();)try{if(!r.async&&n===1)return n=0,t.stack.push(r),Promise.resolve().then(i);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(i,function(a){return e(a),i()})}else n|=1}catch(a){e(a)}if(n===1)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}return o(i,"next"),i()}function _j(t,e){return typeof t=="string"&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,s,a){return n?e?".jsx":".js":i&&(!s||!a)?r:i+s+"."+a.toLowerCase()+"js"}):t}var Nw,cf,Af,sQe,xw,oQe,aQe,Pj=td(()=>{Nw=o(function(t,e){return Nw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Nw(t,e)},"extendStatics");o(ij,"__extends");cf=o(function(){return cf=Object.assign||o(function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},"__assign"),cf.apply(this,arguments)},"__assign");o(sj,"__rest");o(oj,"__decorate");o(aj,"__param");o(cj,"__esDecorate");o(lj,"__runInitializers");o(Aj,"__propKey");o(uj,"__setFunctionName");o(dj,"__metadata");o(pj,"__awaiter");o(hj,"__generator");Af=Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]};o(fj,"__exportStar");o(lf,"__values");o(Sw,"__read");o(mj,"__spread");o(gj,"__spreadArrays");o(yj,"__spreadArray");o(Sc,"__await");o(Cj,"__asyncGenerator");o(Ej,"__asyncDelegator");o(Bj,"__asyncValues");o(Ij,"__makeTemplateObject");sQe=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},xw=o(function(t){return xw=Object.getOwnPropertyNames||function(e){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[r.length]=n);return r},xw(t)},"ownKeys");o(bj,"__importStar");o(Qj,"__importDefault");o(wj,"__classPrivateFieldGet");o(Nj,"__classPrivateFieldSet");o(xj,"__classPrivateFieldIn");o(Sj,"__addDisposableResource");oQe=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var n=new Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};o(Rj,"__disposeResources");o(_j,"__rewriteRelativeImportExtension");aQe={__extends:ij,__assign:cf,__rest:sj,__decorate:oj,__param:aj,__esDecorate:cj,__runInitializers:lj,__propKey:Aj,__setFunctionName:uj,__metadata:dj,__awaiter:pj,__generator:hj,__createBinding:Af,__exportStar:fj,__values:lf,__read:Sw,__spread:mj,__spreadArrays:gj,__spreadArray:yj,__await:Sc,__asyncGenerator:Cj,__asyncDelegator:Ej,__asyncValues:Bj,__makeTemplateObject:Ij,__importStar:bj,__importDefault:Qj,__classPrivateFieldGet:wj,__classPrivateFieldSet:Nj,__classPrivateFieldIn:xj,__addDisposableResource:Sj,__disposeResources:Rj,__rewriteRelativeImportExtension:_j}});var Mj=m((KYe,Oj)=>{var Rw=Object.defineProperty,cQe=Object.getOwnPropertyDescriptor,lQe=Object.getOwnPropertyNames,AQe=Object.prototype.hasOwnProperty,uQe=o((t,e)=>{for(var r in e)Rw(t,r,{get:e[r],enumerable:!0})},"__export"),dQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of lQe(e))!AQe.call(t,i)&&i!==r&&Rw(t,i,{get:()=>e[i],enumerable:!(n=cQe(e,i))||n.enumerable});return t},"__copyProps"),pQe=o(t=>dQe(Rw({},"__esModule",{value:!0}),t),"__toCommonJS"),Dj={};uQe(Dj,{computeSha256Hash:()=>fQe,computeSha256Hmac:()=>hQe});Oj.exports=pQe(Dj);var Tj=require("node:crypto");async function hQe(t,e,r){let n=Buffer.from(t,"base64");return(0,Tj.createHmac)("sha256",n).update(e).digest(r)}o(hQe,"computeSha256Hmac");async function fQe(t,e){return(0,Tj.createHash)("sha256").update(t).digest(e)}o(fQe,"computeSha256Hash")});var su=m((XYe,Fj)=>{var _w=Object.defineProperty,mQe=Object.getOwnPropertyDescriptor,gQe=Object.getOwnPropertyNames,yQe=Object.prototype.hasOwnProperty,CQe=o((t,e)=>{for(var r in e)_w(t,r,{get:e[r],enumerable:!0})},"__export"),EQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gQe(e))!yQe.call(t,i)&&i!==r&&_w(t,i,{get:()=>e[i],enumerable:!(n=mQe(e,i))||n.enumerable});return t},"__copyProps"),BQe=o(t=>EQe(_w({},"__esModule",{value:!0}),t),"__toCommonJS"),Uj={};CQe(Uj,{Sanitizer:()=>xQe.Sanitizer,calculateRetryDelay:()=>IQe.calculateRetryDelay,computeSha256Hash:()=>kj.computeSha256Hash,computeSha256Hmac:()=>kj.computeSha256Hmac,getRandomIntegerInclusive:()=>bQe.getRandomIntegerInclusive,isBrowser:()=>ko.isBrowser,isBun:()=>ko.isBun,isDeno:()=>ko.isDeno,isError:()=>wQe.isError,isNodeLike:()=>ko.isNodeLike,isNodeRuntime:()=>ko.isNodeRuntime,isObject:()=>QQe.isObject,isReactNative:()=>ko.isReactNative,isWebWorker:()=>ko.isWebWorker,randomUUID:()=>NQe.randomUUID,stringToUint8Array:()=>Lj.stringToUint8Array,uint8ArrayToString:()=>Lj.uint8ArrayToString});Fj.exports=BQe(Uj);var IQe=AQ(),bQe=cQ(),QQe=Uh(),wQe=Ob(),kj=Mj(),NQe=Lh(),ko=eu(),Lj=Do(),xQe=$A()});var qj=m(vw=>{"use strict";Object.defineProperty(vw,"__esModule",{value:!0});vw.cancelablePromiseRace=SQe;async function SQe(t,e){let r=new AbortController;function n(){r.abort()}o(n,"abortHandler"),e?.abortSignal?.addEventListener("abort",n);try{return await Promise.race(t.map(i=>i({abortSignal:r.signal})))}finally{r.abort(),e?.abortSignal?.removeEventListener("abort",n)}}o(SQe,"cancelablePromiseRace")});var Hj=m(uf=>{"use strict";Object.defineProperty(uf,"__esModule",{value:!0});uf.AbortError=void 0;var Pw=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};uf.AbortError=Pw});var zj=m(df=>{"use strict";Object.defineProperty(df,"__esModule",{value:!0});df.AbortError=void 0;var RQe=Hj();Object.defineProperty(df,"AbortError",{enumerable:!0,get:function(){return RQe.AbortError}})});var Tw=m(Dw=>{"use strict";Object.defineProperty(Dw,"__esModule",{value:!0});Dw.createAbortablePromise=vQe;var _Qe=zj();function vQe(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new _Qe.AbortError(i??"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(),s(u)},u=>{l(),a(u)})}catch(u){a(u)}n?.addEventListener("abort",A)})}o(vQe,"createAbortablePromise")});var jj=m(pf=>{"use strict";Object.defineProperty(pf,"__esModule",{value:!0});pf.delay=OQe;pf.calculateRetryDelay=MQe;var PQe=Tw(),DQe=su(),TQe="The delay was aborted.";function OQe(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return(0,PQe.createAbortablePromise)(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:i??TQe})}o(OQe,"delay");function MQe(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,DQe.getRandomIntegerInclusive)(0,n/2)}}o(MQe,"calculateRetryDelay")});var Gj=m(Ow=>{"use strict";Object.defineProperty(Ow,"__esModule",{value:!0});Ow.getErrorMessage=LQe;var kQe=su();function LQe(t){if((0,kQe.isError)(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(LQe,"getErrorMessage")});var Jj=m(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});ou.isDefined=Mw;ou.isObjectWithProperties=UQe;ou.objectHasProperty=Yj;function Mw(t){return typeof t<"u"&&t!==null}o(Mw,"isDefined");function UQe(t,e){if(!Mw(t)||typeof t!="object")return!1;for(let r of e)if(!Yj(t,r))return!1;return!0}o(UQe,"isObjectWithProperties");function Yj(t,e){return Mw(t)&&typeof t=="object"&&e in t}o(Yj,"objectHasProperty")});var ut=m(ge=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0});ge.isWebWorker=ge.isReactNative=ge.isNodeRuntime=ge.isNodeLike=ge.isNode=ge.isDeno=ge.isBun=ge.isBrowser=ge.objectHasProperty=ge.isObjectWithProperties=ge.isDefined=ge.getErrorMessage=ge.delay=ge.createAbortablePromise=ge.cancelablePromiseRace=void 0;ge.calculateRetryDelay=GQe;ge.computeSha256Hash=YQe;ge.computeSha256Hmac=JQe;ge.getRandomIntegerInclusive=VQe;ge.isError=WQe;ge.isObject=KQe;ge.randomUUID=$Qe;ge.uint8ArrayToString=XQe;ge.stringToUint8Array=ZQe;var FQe=(Pj(),Wt(vj)),Vt=FQe.__importStar(su()),qQe=qj();Object.defineProperty(ge,"cancelablePromiseRace",{enumerable:!0,get:function(){return qQe.cancelablePromiseRace}});var HQe=Tw();Object.defineProperty(ge,"createAbortablePromise",{enumerable:!0,get:function(){return HQe.createAbortablePromise}});var zQe=jj();Object.defineProperty(ge,"delay",{enumerable:!0,get:function(){return zQe.delay}});var jQe=Gj();Object.defineProperty(ge,"getErrorMessage",{enumerable:!0,get:function(){return jQe.getErrorMessage}});var kw=Jj();Object.defineProperty(ge,"isDefined",{enumerable:!0,get:function(){return kw.isDefined}});Object.defineProperty(ge,"isObjectWithProperties",{enumerable:!0,get:function(){return kw.isObjectWithProperties}});Object.defineProperty(ge,"objectHasProperty",{enumerable:!0,get:function(){return kw.objectHasProperty}});function GQe(t,e){return Vt.calculateRetryDelay(t,e)}o(GQe,"calculateRetryDelay");function YQe(t,e){return Vt.computeSha256Hash(t,e)}o(YQe,"computeSha256Hash");function JQe(t,e,r){return Vt.computeSha256Hmac(t,e,r)}o(JQe,"computeSha256Hmac");function VQe(t,e){return Vt.getRandomIntegerInclusive(t,e)}o(VQe,"getRandomIntegerInclusive");function WQe(t){return Vt.isError(t)}o(WQe,"isError");function KQe(t){return Vt.isObject(t)}o(KQe,"isObject");function $Qe(){return Vt.randomUUID()}o($Qe,"randomUUID");ge.isBrowser=Vt.isBrowser;ge.isBun=Vt.isBun;ge.isDeno=Vt.isDeno;ge.isNode=Vt.isNodeLike;ge.isNodeLike=Vt.isNodeLike;ge.isNodeRuntime=Vt.isNodeRuntime;ge.isReactNative=Vt.isReactNative;ge.isWebWorker=Vt.isWebWorker;function XQe(t,e){return Vt.uint8ArrayToString(t,e)}o(XQe,"uint8ArrayToString");function ZQe(t,e){return Vt.stringToUint8Array(t,e)}o(ZQe,"stringToUint8Array")});var Uw=m((fJe,Xj)=>{var Lw=Object.defineProperty,ewe=Object.getOwnPropertyDescriptor,twe=Object.getOwnPropertyNames,rwe=Object.prototype.hasOwnProperty,nwe=o((t,e)=>{for(var r in e)Lw(t,r,{get:e[r],enumerable:!0})},"__export"),iwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of twe(e))!rwe.call(t,i)&&i!==r&&Lw(t,i,{get:()=>e[i],enumerable:!(n=ewe(e,i))||n.enumerable});return t},"__copyProps"),swe=o(t=>iwe(Lw({},"__esModule",{value:!0}),t),"__toCommonJS"),Wj={};nwe(Wj,{createFile:()=>Awe,createFileFromStream:()=>lwe,getRawContent:()=>cwe,hasRawContent:()=>$j});Xj.exports=swe(Wj);var owe=ut();function awe(t){return!!(t&&typeof t.pipe=="function")}o(awe,"isNodeReadableStream");var Kj={arrayBuffer:()=>{throw new Error("Not implemented")},bytes:()=>{throw new Error("Not implemented")},slice:()=>{throw new Error("Not implemented")},text:()=>{throw new Error("Not implemented")}},hf=Symbol("rawContent");function $j(t){return typeof t[hf]=="function"}o($j,"hasRawContent");function cwe(t){return $j(t)?t[hf]():t}o(cwe,"getRawContent");function lwe(t,e,r={}){return{...Kj,type:r.type??"",lastModified:r.lastModified??new Date().getTime(),webkitRelativePath:r.webkitRelativePath??"",size:r.size??-1,name:e,stream:()=>{let n=t();if(awe(n))throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.");return n},[hf]:t}}o(lwe,"createFileFromStream");function Awe(t,e,r={}){return owe.isNodeLike?{...Kj,type:r.type??"",lastModified:r.lastModified??new Date().getTime(),webkitRelativePath:r.webkitRelativePath??"",size:t.byteLength,name:e,arrayBuffer:async()=>t.buffer,stream:()=>new Blob([Vj(t)]).stream(),[hf]:()=>t}:new File([Vj(t)],e,r)}o(Awe,"createFile");function Vj(t){return"resize"in t.buffer?t:t.map(e=>e)}o(Vj,"toArrayBuffer")});var qw=m((gJe,nG)=>{var Fw=Object.defineProperty,uwe=Object.getOwnPropertyDescriptor,dwe=Object.getOwnPropertyNames,pwe=Object.prototype.hasOwnProperty,hwe=o((t,e)=>{for(var r in e)Fw(t,r,{get:e[r],enumerable:!0})},"__export"),fwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dwe(e))!pwe.call(t,i)&&i!==r&&Fw(t,i,{get:()=>e[i],enumerable:!(n=uwe(e,i))||n.enumerable});return t},"__copyProps"),mwe=o(t=>fwe(Fw({},"__esModule",{value:!0}),t),"__toCommonJS"),eG={};hwe(eG,{multipartPolicy:()=>gwe,multipartPolicyName:()=>rG});nG.exports=mwe(eG);var tG=xr(),Zj=Uw(),rG=tG.multipartPolicyName;function gwe(){let t=(0,tG.multipartPolicy)();return{name:rG,sendRequest:async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)(0,Zj.hasRawContent)(n.body)&&(n.body=(0,Zj.getRawContent)(n.body));return t.sendRequest(e,r)}}}o(gwe,"multipartPolicy")});var zw=m((CJe,oG)=>{var Hw=Object.defineProperty,ywe=Object.getOwnPropertyDescriptor,Cwe=Object.getOwnPropertyNames,Ewe=Object.prototype.hasOwnProperty,Bwe=o((t,e)=>{for(var r in e)Hw(t,r,{get:e[r],enumerable:!0})},"__export"),Iwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Cwe(e))!Ewe.call(t,i)&&i!==r&&Hw(t,i,{get:()=>e[i],enumerable:!(n=ywe(e,i))||n.enumerable});return t},"__copyProps"),bwe=o(t=>Iwe(Hw({},"__esModule",{value:!0}),t),"__toCommonJS"),iG={};Bwe(iG,{decompressResponsePolicy:()=>wwe,decompressResponsePolicyName:()=>Qwe});oG.exports=bwe(iG);var sG=xr(),Qwe=sG.decompressResponsePolicyName;function wwe(){return(0,sG.decompressResponsePolicy)()}o(wwe,"decompressResponsePolicy")});var Gw=m((BJe,lG)=>{var jw=Object.defineProperty,Nwe=Object.getOwnPropertyDescriptor,xwe=Object.getOwnPropertyNames,Swe=Object.prototype.hasOwnProperty,Rwe=o((t,e)=>{for(var r in e)jw(t,r,{get:e[r],enumerable:!0})},"__export"),_we=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of xwe(e))!Swe.call(t,i)&&i!==r&&jw(t,i,{get:()=>e[i],enumerable:!(n=Nwe(e,i))||n.enumerable});return t},"__copyProps"),vwe=o(t=>_we(jw({},"__esModule",{value:!0}),t),"__toCommonJS"),aG={};Rwe(aG,{defaultRetryPolicy:()=>Dwe,defaultRetryPolicyName:()=>Pwe});lG.exports=vwe(aG);var cG=xr(),Pwe=cG.defaultRetryPolicyName;function Dwe(t={}){return(0,cG.defaultRetryPolicy)(t)}o(Dwe,"defaultRetryPolicy")});var Jw=m((bJe,dG)=>{var Yw=Object.defineProperty,Twe=Object.getOwnPropertyDescriptor,Owe=Object.getOwnPropertyNames,Mwe=Object.prototype.hasOwnProperty,kwe=o((t,e)=>{for(var r in e)Yw(t,r,{get:e[r],enumerable:!0})},"__export"),Lwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Owe(e))!Mwe.call(t,i)&&i!==r&&Yw(t,i,{get:()=>e[i],enumerable:!(n=Twe(e,i))||n.enumerable});return t},"__copyProps"),Uwe=o(t=>Lwe(Yw({},"__esModule",{value:!0}),t),"__toCommonJS"),AG={};kwe(AG,{formDataPolicy:()=>qwe,formDataPolicyName:()=>Fwe});dG.exports=Uwe(AG);var uG=xr(),Fwe=uG.formDataPolicyName;function qwe(){return(0,uG.formDataPolicy)()}o(qwe,"formDataPolicy")});var Kw=m((wJe,hG)=>{var Vw=Object.defineProperty,Hwe=Object.getOwnPropertyDescriptor,zwe=Object.getOwnPropertyNames,jwe=Object.prototype.hasOwnProperty,Gwe=o((t,e)=>{for(var r in e)Vw(t,r,{get:e[r],enumerable:!0})},"__export"),Ywe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zwe(e))!jwe.call(t,i)&&i!==r&&Vw(t,i,{get:()=>e[i],enumerable:!(n=Hwe(e,i))||n.enumerable});return t},"__copyProps"),Jwe=o(t=>Ywe(Vw({},"__esModule",{value:!0}),t),"__toCommonJS"),pG={};Gwe(pG,{getDefaultProxySettings:()=>Wwe,proxyPolicy:()=>Kwe,proxyPolicyName:()=>Vwe});hG.exports=Jwe(pG);var Ww=xr(),Vwe=Ww.proxyPolicyName;function Wwe(t){return(0,Ww.getDefaultProxySettings)(t)}o(Wwe,"getDefaultProxySettings");function Kwe(t,e){return(0,Ww.proxyPolicy)(t,e)}o(Kwe,"proxyPolicy")});var Xw=m((xJe,gG)=>{var $w=Object.defineProperty,$we=Object.getOwnPropertyDescriptor,Xwe=Object.getOwnPropertyNames,Zwe=Object.prototype.hasOwnProperty,eNe=o((t,e)=>{for(var r in e)$w(t,r,{get:e[r],enumerable:!0})},"__export"),tNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Xwe(e))!Zwe.call(t,i)&&i!==r&&$w(t,i,{get:()=>e[i],enumerable:!(n=$we(e,i))||n.enumerable});return t},"__copyProps"),rNe=o(t=>tNe($w({},"__esModule",{value:!0}),t),"__toCommonJS"),fG={};eNe(fG,{setClientRequestIdPolicy:()=>nNe,setClientRequestIdPolicyName:()=>mG});gG.exports=rNe(fG);var mG="setClientRequestIdPolicy";function nNe(t="x-ms-client-request-id"){return{name:mG,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(nNe,"setClientRequestIdPolicy")});var eN=m((RJe,EG)=>{var Zw=Object.defineProperty,iNe=Object.getOwnPropertyDescriptor,sNe=Object.getOwnPropertyNames,oNe=Object.prototype.hasOwnProperty,aNe=o((t,e)=>{for(var r in e)Zw(t,r,{get:e[r],enumerable:!0})},"__export"),cNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sNe(e))!oNe.call(t,i)&&i!==r&&Zw(t,i,{get:()=>e[i],enumerable:!(n=iNe(e,i))||n.enumerable});return t},"__copyProps"),lNe=o(t=>cNe(Zw({},"__esModule",{value:!0}),t),"__toCommonJS"),yG={};aNe(yG,{agentPolicy:()=>uNe,agentPolicyName:()=>ANe});EG.exports=lNe(yG);var CG=xr(),ANe=CG.agentPolicyName;function uNe(t){return(0,CG.agentPolicy)(t)}o(uNe,"agentPolicy")});var rN=m((vJe,bG)=>{var tN=Object.defineProperty,dNe=Object.getOwnPropertyDescriptor,pNe=Object.getOwnPropertyNames,hNe=Object.prototype.hasOwnProperty,fNe=o((t,e)=>{for(var r in e)tN(t,r,{get:e[r],enumerable:!0})},"__export"),mNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of pNe(e))!hNe.call(t,i)&&i!==r&&tN(t,i,{get:()=>e[i],enumerable:!(n=dNe(e,i))||n.enumerable});return t},"__copyProps"),gNe=o(t=>mNe(tN({},"__esModule",{value:!0}),t),"__toCommonJS"),BG={};fNe(BG,{tlsPolicy:()=>CNe,tlsPolicyName:()=>yNe});bG.exports=gNe(BG);var IG=xr(),yNe=IG.tlsPolicyName;function CNe(t){return(0,IG.tlsPolicy)(t)}o(CNe,"tlsPolicy")});var nN=m(es=>{"use strict";Object.defineProperty(es,"__esModule",{value:!0});es.TracingContextImpl=es.knownContextKeys=void 0;es.createTracingContext=ENe;es.knownContextKeys={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function ENe(t={}){let e=new ff(t.parentContext);return t.span&&(e=e.setValue(es.knownContextKeys.span,t.span)),t.namespace&&(e=e.setValue(es.knownContextKeys.namespace,t.namespace)),e}o(ENe,"createTracingContext");var ff=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}};es.TracingContextImpl=ff});var QG=m(mf=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});mf.state=void 0;mf.state={instrumenterImplementation:void 0}});var iN=m(Rc=>{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});Rc.createDefaultTracingSpan=wG;Rc.createDefaultInstrumenter=NG;Rc.useInstrumenter=INe;Rc.getInstrumenter=bNe;var BNe=nN(),gf=QG();function wG(){return{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}o(wG,"createDefaultTracingSpan");function NG(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(t,e)=>({span:wG(),tracingContext:(0,BNe.createTracingContext)({parentContext:e.tracingContext})}),withContext(t,e,...r){return e(...r)}}}o(NG,"createDefaultInstrumenter");function INe(t){gf.state.instrumenterImplementation=t}o(INe,"useInstrumenter");function bNe(){return gf.state.instrumenterImplementation||(gf.state.instrumenterImplementation=NG()),gf.state.instrumenterImplementation}o(bNe,"getInstrumenter")});var xG=m(oN=>{"use strict";Object.defineProperty(oN,"__esModule",{value:!0});oN.createTracingClient=QNe;var yf=iN(),sN=nN();function QNe(t){let{namespace:e,packageName:r,packageVersion:n}=t;function i(A,u,d){let f=(0,yf.getInstrumenter)().startSpan(A,{...d,packageName:r,packageVersion:n,tracingContext:u?.tracingOptions?.tracingContext}),g=f.tracingContext,C=f.span;g.getValue(sN.knownContextKeys.namespace)||(g=g.setValue(sN.knownContextKeys.namespace,e)),C.setAttribute("az.namespace",g.getValue(sN.knownContextKeys.namespace));let Q=Object.assign({},u,{tracingOptions:{...u?.tracingOptions,tracingContext:g}});return{span:C,updatedOptions:Q}}o(i,"startSpan");async function s(A,u,d,f){let{span:g,updatedOptions:C}=i(A,u,f);try{let Q=await a(C.tracingOptions.tracingContext,()=>Promise.resolve(d(C,g)));return g.setStatus({status:"success"}),Q}catch(Q){throw g.setStatus({status:"error",error:Q}),Q}finally{g.end()}}o(s,"withSpan");function a(A,u,...d){return(0,yf.getInstrumenter)().withContext(A,u,...d)}o(a,"withContext");function c(A){return(0,yf.getInstrumenter)().parseTraceparentHeader(A)}o(c,"parseTraceparentHeader");function l(A){return(0,yf.getInstrumenter)().createRequestHeaders(A)}return o(l,"createRequestHeaders"),{startSpan:i,withSpan:s,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(QNe,"createTracingClient")});var aN=m(_c=>{"use strict";Object.defineProperty(_c,"__esModule",{value:!0});_c.createTracingClient=_c.useInstrumenter=void 0;var wNe=iN();Object.defineProperty(_c,"useInstrumenter",{enumerable:!0,get:function(){return wNe.useInstrumenter}});var NNe=xG();Object.defineProperty(_c,"createTracingClient",{enumerable:!0,get:function(){return NNe.createTracingClient}})});var Cf=m((qJe,_G)=>{var cN=Object.defineProperty,xNe=Object.getOwnPropertyDescriptor,SNe=Object.getOwnPropertyNames,RNe=Object.prototype.hasOwnProperty,_Ne=o((t,e)=>{for(var r in e)cN(t,r,{get:e[r],enumerable:!0})},"__export"),vNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of SNe(e))!RNe.call(t,i)&&i!==r&&cN(t,i,{get:()=>e[i],enumerable:!(n=xNe(e,i))||n.enumerable});return t},"__copyProps"),PNe=o(t=>vNe(cN({},"__esModule",{value:!0}),t),"__toCommonJS"),SG={};_Ne(SG,{RestError:()=>DNe,isRestError:()=>TNe});_G.exports=PNe(SG);var RG=Nc(),DNe=RG.RestError;function TNe(t){return(0,RG.isRestError)(t)}o(TNe,"isRestError")});var AN=m((zJe,DG)=>{var lN=Object.defineProperty,ONe=Object.getOwnPropertyDescriptor,MNe=Object.getOwnPropertyNames,kNe=Object.prototype.hasOwnProperty,LNe=o((t,e)=>{for(var r in e)lN(t,r,{get:e[r],enumerable:!0})},"__export"),UNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of MNe(e))!kNe.call(t,i)&&i!==r&&lN(t,i,{get:()=>e[i],enumerable:!(n=ONe(e,i))||n.enumerable});return t},"__copyProps"),FNe=o(t=>UNe(lN({},"__esModule",{value:!0}),t),"__toCommonJS"),vG={};LNe(vG,{tracingPolicy:()=>YNe,tracingPolicyName:()=>PG});DG.exports=FNe(vG);var qNe=aN(),HNe=af(),zNe=bw(),Ef=iu(),au=ut(),jNe=Cf(),GNe=su(),PG="tracingPolicy";function YNe(t={}){let e=(0,zNe.getUserAgentValue)(t.userAgentPrefix),r=new GNe.Sanitizer({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=JNe();return{name:PG,async sendRequest(i,s){if(!n)return s(i);let a=await e,c={"http.url":r.sanitizeUrl(i.url),"http.method":i.method,"http.user_agent":a,requestId:i.requestId};a&&(c["http.user_agent"]=a);let{span:l,tracingContext:A}=VNe(n,i,c)??{};if(!l||!A)return s(i);try{let u=await n.withContext(A,s,i);return KNe(l,u),u}catch(u){throw WNe(l,u),u}}}}o(YNe,"tracingPolicy");function JNe(){try{return(0,qNe.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:HNe.SDK_VERSION})}catch(t){Ef.logger.warning(`Error when creating the TracingClient: ${(0,au.getErrorMessage)(t)}`);return}}o(JNe,"tryCreateTracingClient");function VNe(t,e,r){try{let{span:n,updatedOptions:i}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording()){n.end();return}let s=t.createRequestHeaders(i.tracingOptions.tracingContext);for(let[a,c]of Object.entries(s))e.headers.set(a,c);return{span:n,tracingContext:i.tracingOptions.tracingContext}}catch(n){Ef.logger.warning(`Skipping creating a tracing span due to an error: ${(0,au.getErrorMessage)(n)}`);return}}o(VNe,"tryCreateSpan");function WNe(t,e){try{t.setStatus({status:"error",error:(0,au.isError)(e)?e:void 0}),(0,jNe.isRestError)(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){Ef.logger.warning(`Skipping tracing span processing due to an error: ${(0,au.getErrorMessage)(r)}`)}}o(WNe,"tryProcessError");function KNe(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){Ef.logger.warning(`Skipping tracing span processing due to an error: ${(0,au.getErrorMessage)(r)}`)}}o(KNe,"tryProcessResponse")});var dN=m((GJe,OG)=>{var uN=Object.defineProperty,$Ne=Object.getOwnPropertyDescriptor,XNe=Object.getOwnPropertyNames,ZNe=Object.prototype.hasOwnProperty,e0e=o((t,e)=>{for(var r in e)uN(t,r,{get:e[r],enumerable:!0})},"__export"),t0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of XNe(e))!ZNe.call(t,i)&&i!==r&&uN(t,i,{get:()=>e[i],enumerable:!(n=$Ne(e,i))||n.enumerable});return t},"__copyProps"),r0e=o(t=>t0e(uN({},"__esModule",{value:!0}),t),"__toCommonJS"),TG={};e0e(TG,{wrapAbortSignalLike:()=>n0e});OG.exports=r0e(TG);function n0e(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",i),r=!1)}o(n,"cleanup");function i(){e.abort(t.reason),n()}return o(i,"listener"),t.addEventListener("abort",i),{abortSignal:e.signal,cleanup:n}}o(n0e,"wrapAbortSignalLike")});var UG=m((JJe,LG)=>{var pN=Object.defineProperty,i0e=Object.getOwnPropertyDescriptor,s0e=Object.getOwnPropertyNames,o0e=Object.prototype.hasOwnProperty,a0e=o((t,e)=>{for(var r in e)pN(t,r,{get:e[r],enumerable:!0})},"__export"),c0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of s0e(e))!o0e.call(t,i)&&i!==r&&pN(t,i,{get:()=>e[i],enumerable:!(n=i0e(e,i))||n.enumerable});return t},"__copyProps"),l0e=o(t=>c0e(pN({},"__esModule",{value:!0}),t),"__toCommonJS"),MG={};a0e(MG,{wrapAbortSignalLikePolicy:()=>u0e,wrapAbortSignalLikePolicyName:()=>kG});LG.exports=l0e(MG);var A0e=dN(),kG="wrapAbortSignalLikePolicy";function u0e(){return{name:kG,sendRequest:async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=(0,A0e.wrapAbortSignalLike)(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}}}}o(u0e,"wrapAbortSignalLikePolicy")});var jG=m((WJe,zG)=>{var hN=Object.defineProperty,d0e=Object.getOwnPropertyDescriptor,p0e=Object.getOwnPropertyNames,h0e=Object.prototype.hasOwnProperty,f0e=o((t,e)=>{for(var r in e)hN(t,r,{get:e[r],enumerable:!0})},"__export"),m0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of p0e(e))!h0e.call(t,i)&&i!==r&&hN(t,i,{get:()=>e[i],enumerable:!(n=d0e(e,i))||n.enumerable});return t},"__copyProps"),g0e=o(t=>m0e(hN({},"__esModule",{value:!0}),t),"__toCommonJS"),HG={};f0e(HG,{createPipelineFromOptions:()=>v0e});zG.exports=g0e(HG);var y0e=mw(),C0e=aw(),E0e=yw(),B0e=ww(),FG=qw(),I0e=zw(),b0e=Gw(),Q0e=Jw(),qG=ut(),w0e=Kw(),N0e=Xw(),x0e=eN(),S0e=rN(),R0e=AN(),_0e=UG();function v0e(t){let e=(0,C0e.createEmptyPipeline)();return qG.isNodeLike&&(t.agent&&e.addPolicy((0,x0e.agentPolicy)(t.agent)),t.tlsOptions&&e.addPolicy((0,S0e.tlsPolicy)(t.tlsOptions)),e.addPolicy((0,w0e.proxyPolicy)(t.proxyOptions)),e.addPolicy((0,I0e.decompressResponsePolicy)())),e.addPolicy((0,_0e.wrapAbortSignalLikePolicy)()),e.addPolicy((0,Q0e.formDataPolicy)(),{beforePolicies:[FG.multipartPolicyName]}),e.addPolicy((0,B0e.userAgentPolicy)(t.userAgentOptions)),e.addPolicy((0,N0e.setClientRequestIdPolicy)(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy((0,FG.multipartPolicy)(),{afterPhase:"Deserialize"}),e.addPolicy((0,b0e.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),e.addPolicy((0,R0e.tracingPolicy)({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),qG.isNodeLike&&e.addPolicy((0,E0e.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy((0,y0e.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),e}o(v0e,"createPipelineFromOptions")});var JG=m(($Je,YG)=>{var fN=Object.defineProperty,P0e=Object.getOwnPropertyDescriptor,D0e=Object.getOwnPropertyNames,T0e=Object.prototype.hasOwnProperty,O0e=o((t,e)=>{for(var r in e)fN(t,r,{get:e[r],enumerable:!0})},"__export"),M0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of D0e(e))!T0e.call(t,i)&&i!==r&&fN(t,i,{get:()=>e[i],enumerable:!(n=P0e(e,i))||n.enumerable});return t},"__copyProps"),k0e=o(t=>M0e(fN({},"__esModule",{value:!0}),t),"__toCommonJS"),GG={};O0e(GG,{createDefaultHttpClient:()=>F0e});YG.exports=k0e(GG);var L0e=Nc(),U0e=dN();function F0e(){let t=(0,L0e.createDefaultHttpClient)();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?(0,U0e.wrapAbortSignalLike)(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(F0e,"createDefaultHttpClient")});var KG=m((ZJe,WG)=>{var mN=Object.defineProperty,q0e=Object.getOwnPropertyDescriptor,H0e=Object.getOwnPropertyNames,z0e=Object.prototype.hasOwnProperty,j0e=o((t,e)=>{for(var r in e)mN(t,r,{get:e[r],enumerable:!0})},"__export"),G0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of H0e(e))!z0e.call(t,i)&&i!==r&&mN(t,i,{get:()=>e[i],enumerable:!(n=q0e(e,i))||n.enumerable});return t},"__copyProps"),Y0e=o(t=>G0e(mN({},"__esModule",{value:!0}),t),"__toCommonJS"),VG={};j0e(VG,{createHttpHeaders:()=>V0e});WG.exports=Y0e(VG);var J0e=Nc();function V0e(t){return(0,J0e.createHttpHeaders)(t)}o(V0e,"createHttpHeaders")});var ZG=m((tVe,XG)=>{var gN=Object.defineProperty,W0e=Object.getOwnPropertyDescriptor,K0e=Object.getOwnPropertyNames,$0e=Object.prototype.hasOwnProperty,X0e=o((t,e)=>{for(var r in e)gN(t,r,{get:e[r],enumerable:!0})},"__export"),Z0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of K0e(e))!$0e.call(t,i)&&i!==r&&gN(t,i,{get:()=>e[i],enumerable:!(n=W0e(e,i))||n.enumerable});return t},"__copyProps"),exe=o(t=>Z0e(gN({},"__esModule",{value:!0}),t),"__toCommonJS"),$G={};X0e($G,{createPipelineRequest:()=>rxe});XG.exports=exe($G);var txe=Nc();function rxe(t){return(0,txe.createPipelineRequest)(t)}o(rxe,"createPipelineRequest")});var nY=m((nVe,rY)=>{var yN=Object.defineProperty,nxe=Object.getOwnPropertyDescriptor,ixe=Object.getOwnPropertyNames,sxe=Object.prototype.hasOwnProperty,oxe=o((t,e)=>{for(var r in e)yN(t,r,{get:e[r],enumerable:!0})},"__export"),axe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ixe(e))!sxe.call(t,i)&&i!==r&&yN(t,i,{get:()=>e[i],enumerable:!(n=nxe(e,i))||n.enumerable});return t},"__copyProps"),cxe=o(t=>axe(yN({},"__esModule",{value:!0}),t),"__toCommonJS"),eY={};oxe(eY,{exponentialRetryPolicy:()=>Axe,exponentialRetryPolicyName:()=>lxe});rY.exports=cxe(eY);var tY=xr(),lxe=tY.exponentialRetryPolicyName;function Axe(t={}){return(0,tY.exponentialRetryPolicy)(t)}o(Axe,"exponentialRetryPolicy")});var aY=m((sVe,oY)=>{var CN=Object.defineProperty,uxe=Object.getOwnPropertyDescriptor,dxe=Object.getOwnPropertyNames,pxe=Object.prototype.hasOwnProperty,hxe=o((t,e)=>{for(var r in e)CN(t,r,{get:e[r],enumerable:!0})},"__export"),fxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dxe(e))!pxe.call(t,i)&&i!==r&&CN(t,i,{get:()=>e[i],enumerable:!(n=uxe(e,i))||n.enumerable});return t},"__copyProps"),mxe=o(t=>fxe(CN({},"__esModule",{value:!0}),t),"__toCommonJS"),iY={};hxe(iY,{systemErrorRetryPolicy:()=>yxe,systemErrorRetryPolicyName:()=>gxe});oY.exports=mxe(iY);var sY=xr(),gxe=sY.systemErrorRetryPolicyName;function yxe(t={}){return(0,sY.systemErrorRetryPolicy)(t)}o(yxe,"systemErrorRetryPolicy")});var uY=m((aVe,AY)=>{var EN=Object.defineProperty,Cxe=Object.getOwnPropertyDescriptor,Exe=Object.getOwnPropertyNames,Bxe=Object.prototype.hasOwnProperty,Ixe=o((t,e)=>{for(var r in e)EN(t,r,{get:e[r],enumerable:!0})},"__export"),bxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Exe(e))!Bxe.call(t,i)&&i!==r&&EN(t,i,{get:()=>e[i],enumerable:!(n=Cxe(e,i))||n.enumerable});return t},"__copyProps"),Qxe=o(t=>bxe(EN({},"__esModule",{value:!0}),t),"__toCommonJS"),cY={};Ixe(cY,{throttlingRetryPolicy:()=>Nxe,throttlingRetryPolicyName:()=>wxe});AY.exports=Qxe(cY);var lY=xr(),wxe=lY.throttlingRetryPolicyName;function Nxe(t={}){return(0,lY.throttlingRetryPolicy)(t)}o(Nxe,"throttlingRetryPolicy")});var hY=m((lVe,pY)=>{var BN=Object.defineProperty,xxe=Object.getOwnPropertyDescriptor,Sxe=Object.getOwnPropertyNames,Rxe=Object.prototype.hasOwnProperty,_xe=o((t,e)=>{for(var r in e)BN(t,r,{get:e[r],enumerable:!0})},"__export"),vxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Sxe(e))!Rxe.call(t,i)&&i!==r&&BN(t,i,{get:()=>e[i],enumerable:!(n=xxe(e,i))||n.enumerable});return t},"__copyProps"),Pxe=o(t=>vxe(BN({},"__esModule",{value:!0}),t),"__toCommonJS"),dY={};_xe(dY,{retryPolicy:()=>kxe});pY.exports=Pxe(dY);var Dxe=xc(),Txe=af(),Oxe=xr(),Mxe=(0,Dxe.createClientLogger)("core-rest-pipeline retryPolicy");function kxe(t,e={maxRetries:Txe.DEFAULT_RETRY_POLICY_COUNT}){return(0,Oxe.retryPolicy)(t,{logger:Mxe,...e})}o(kxe,"retryPolicy")});var bN=m((uVe,gY)=>{var IN=Object.defineProperty,Lxe=Object.getOwnPropertyDescriptor,Uxe=Object.getOwnPropertyNames,Fxe=Object.prototype.hasOwnProperty,qxe=o((t,e)=>{for(var r in e)IN(t,r,{get:e[r],enumerable:!0})},"__export"),Hxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Uxe(e))!Fxe.call(t,i)&&i!==r&&IN(t,i,{get:()=>e[i],enumerable:!(n=Lxe(e,i))||n.enumerable});return t},"__copyProps"),zxe=o(t=>Hxe(IN({},"__esModule",{value:!0}),t),"__toCommonJS"),fY={};qxe(fY,{DEFAULT_CYCLER_OPTIONS:()=>mY,createTokenCycler:()=>Yxe});gY.exports=zxe(fY);var jxe=ut(),mY={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function Gxe(t,e,r){async function n(){if(Date.now()<r)try{return await t()}catch{return null}else{let s=await t();if(s===null)throw new Error("Failed to refresh access token.");return s}}o(n,"tryGetAccessToken");let i=await n();for(;i===null;)await(0,jxe.delay)(e),i=await n();return i}o(Gxe,"beginRefresh");function Yxe(t,e){let r=null,n=null,i,s={...mY,...e},a={get isRefreshing(){return r!==null},get shouldRefresh(){return a.isRefreshing?!1:n?.refreshAfterTimestamp&&n.refreshAfterTimestamp<Date.now()?!0:(n?.expiresOnTimestamp??0)-s.refreshWindowInMs<Date.now()},get mustRefresh(){return n===null||n.expiresOnTimestamp-s.forcedRefreshWindowInMs<Date.now()}};function c(l,A){return a.isRefreshing||(r=Gxe(o(()=>t.getToken(l,A),"tryGetAccessToken"),s.retryIntervalInMs,n?.expiresOnTimestamp??Date.now()).then(d=>(r=null,n=d,i=A.tenantId,n)).catch(d=>{throw r=null,n=null,i=void 0,d})),r}return o(c,"refresh"),async(l,A)=>{let u=!!A.claims,d=i!==A.tenantId;return u&&(n=null),d||u||a.mustRefresh?c(l,A):(a.shouldRefresh&&c(l,A),n)}}o(Yxe,"createTokenCycler")});var wY=m((pVe,QY)=>{var QN=Object.defineProperty,Jxe=Object.getOwnPropertyDescriptor,Vxe=Object.getOwnPropertyNames,Wxe=Object.prototype.hasOwnProperty,Kxe=o((t,e)=>{for(var r in e)QN(t,r,{get:e[r],enumerable:!0})},"__export"),$xe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Vxe(e))!Wxe.call(t,i)&&i!==r&&QN(t,i,{get:()=>e[i],enumerable:!(n=Jxe(e,i))||n.enumerable});return t},"__copyProps"),Xxe=o(t=>$xe(QN({},"__esModule",{value:!0}),t),"__toCommonJS"),BY={};Kxe(BY,{bearerTokenAuthenticationPolicy:()=>nSe,bearerTokenAuthenticationPolicyName:()=>IY,parseChallenges:()=>bY});QY.exports=Xxe(BY);var Zxe=bN(),eSe=iu(),tSe=Cf(),IY="bearerTokenAuthenticationPolicy";async function Bf(t,e){try{return[await e(t),void 0]}catch(r){if((0,tSe.isRestError)(r)&&r.response)return[r.response,r];throw r}}o(Bf,"trySendRequest");async function rSe(t){let{scopes:e,getAccessToken:r,request:n}=t,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions,enableCae:!0},s=await r(e,i);s&&t.request.headers.set("Authorization",`Bearer ${s.token}`)}o(rSe,"defaultAuthorizeRequest");function yY(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(yY,"isChallengeResponse");async function CY(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(CY,"authorizeRequestOnCaeChallenge");function nSe(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,i=t.logger||eSe.logger,s={authorizeRequest:n?.authorizeRequest?.bind(n)??rSe,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?(0,Zxe.createTokenCycler)(e):()=>Promise.resolve(null);return{name:IY,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 s.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:c,getAccessToken:a,logger:i});let A,u,d;if([A,u]=await Bf(c,l),yY(A)){let f=EY(A.headers.get("WWW-Authenticate"));if(f){let g;try{g=atob(f)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${f}`),A}d=await CY({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:i},g),d&&([A,u]=await Bf(c,l))}else if(s.authorizeRequestOnChallenge&&(d=await s.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:c,response:A,getAccessToken:a,logger:i}),d&&([A,u]=await Bf(c,l)),yY(A)&&(f=EY(A.headers.get("WWW-Authenticate")),f))){let g;try{g=atob(f)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${f}`),A}d=await CY({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:i},g),d&&([A,u]=await Bf(c,l))}}if(u)throw u;return A}}}o(nSe,"bearerTokenAuthenticationPolicy");function bY(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,n=[],i;for(;(i=e.exec(t))!==null;){let s=i[1],a=i[2],c={},l;for(;(l=r.exec(a))!==null;)c[l[1]]=l[2];n.push({scheme:s,params:c})}return n}o(bY,"parseChallenges");function EY(t){return t?bY(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(EY,"getCaeChallengeClaims")});var RY=m((fVe,SY)=>{var wN=Object.defineProperty,iSe=Object.getOwnPropertyDescriptor,sSe=Object.getOwnPropertyNames,oSe=Object.prototype.hasOwnProperty,aSe=o((t,e)=>{for(var r in e)wN(t,r,{get:e[r],enumerable:!0})},"__export"),cSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sSe(e))!oSe.call(t,i)&&i!==r&&wN(t,i,{get:()=>e[i],enumerable:!(n=iSe(e,i))||n.enumerable});return t},"__copyProps"),lSe=o(t=>cSe(wN({},"__esModule",{value:!0}),t),"__toCommonJS"),NY={};aSe(NY,{ndJsonPolicy:()=>ASe,ndJsonPolicyName:()=>xY});SY.exports=lSe(NY);var xY="ndJsonPolicy";function ASe(){return{name:xY,async sendRequest(t,e){if(typeof t.body=="string"&&t.body.startsWith("[")){let r=JSON.parse(t.body);Array.isArray(r)&&(t.body=r.map(n=>JSON.stringify(n)+`
|
|
`).join(""))}return e(t)}}}o(ASe,"ndJsonPolicy")});var DY=m((gVe,PY)=>{var xN=Object.defineProperty,uSe=Object.getOwnPropertyDescriptor,dSe=Object.getOwnPropertyNames,pSe=Object.prototype.hasOwnProperty,hSe=o((t,e)=>{for(var r in e)xN(t,r,{get:e[r],enumerable:!0})},"__export"),fSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dSe(e))!pSe.call(t,i)&&i!==r&&xN(t,i,{get:()=>e[i],enumerable:!(n=uSe(e,i))||n.enumerable});return t},"__copyProps"),mSe=o(t=>fSe(xN({},"__esModule",{value:!0}),t),"__toCommonJS"),vY={};hSe(vY,{auxiliaryAuthenticationHeaderPolicy:()=>ESe,auxiliaryAuthenticationHeaderPolicyName:()=>NN});PY.exports=mSe(vY);var gSe=bN(),ySe=iu(),NN="auxiliaryAuthenticationHeaderPolicy",_Y="x-ms-authorization-auxiliary";async function CSe(t){let{scopes:e,getAccessToken:r,request:n}=t,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions};return(await r(e,i))?.token??""}o(CSe,"sendAuthorizeRequest");function ESe(t){let{credentials:e,scopes:r}=t,n=t.logger||ySe.logger,i=new WeakMap;return{name:NN,async sendRequest(s,a){if(!s.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication for auxiliary header is not permitted for non-TLS protected (non-https) URLs.");if(!e||e.length===0)return n.info(`${NN} header will not be set due to empty credentials.`),a(s);let c=[];for(let A of e){let u=i.get(A);u||(u=(0,gSe.createTokenCycler)(A),i.set(A,u)),c.push(CSe({scopes:Array.isArray(r)?r:[r],request:s,getAccessToken:u,logger:n}))}let l=(await Promise.all(c)).filter(A=>!!A);return l.length===0?(n.warning(`None of the auxiliary tokens are valid. ${_Y} header will not be set.`),a(s)):(s.headers.set(_Y,l.map(A=>`Bearer ${A}`).join(", ")),a(s))}}}o(ESe,"auxiliaryAuthenticationHeaderPolicy")});var Pt=m((CVe,ZY)=>{var RN=Object.defineProperty,BSe=Object.getOwnPropertyDescriptor,ISe=Object.getOwnPropertyNames,bSe=Object.prototype.hasOwnProperty,QSe=o((t,e)=>{for(var r in e)RN(t,r,{get:e[r],enumerable:!0})},"__export"),wSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ISe(e))!bSe.call(t,i)&&i!==r&&RN(t,i,{get:()=>e[i],enumerable:!(n=BSe(e,i))||n.enumerable});return t},"__copyProps"),NSe=o(t=>wSe(RN({},"__esModule",{value:!0}),t),"__toCommonJS"),XY={};QSe(XY,{RestError:()=>TY.RestError,agentPolicy:()=>KY.agentPolicy,agentPolicyName:()=>KY.agentPolicyName,auxiliaryAuthenticationHeaderPolicy:()=>WY.auxiliaryAuthenticationHeaderPolicy,auxiliaryAuthenticationHeaderPolicyName:()=>WY.auxiliaryAuthenticationHeaderPolicyName,bearerTokenAuthenticationPolicy:()=>JY.bearerTokenAuthenticationPolicy,bearerTokenAuthenticationPolicyName:()=>JY.bearerTokenAuthenticationPolicyName,createDefaultHttpClient:()=>RSe.createDefaultHttpClient,createEmptyPipeline:()=>xSe.createEmptyPipeline,createFile:()=>$Y.createFile,createFileFromStream:()=>$Y.createFileFromStream,createHttpHeaders:()=>_Se.createHttpHeaders,createPipelineFromOptions:()=>SSe.createPipelineFromOptions,createPipelineRequest:()=>vSe.createPipelineRequest,decompressResponsePolicy:()=>OY.decompressResponsePolicy,decompressResponsePolicyName:()=>OY.decompressResponsePolicyName,defaultRetryPolicy:()=>DSe.defaultRetryPolicy,exponentialRetryPolicy:()=>MY.exponentialRetryPolicy,exponentialRetryPolicyName:()=>MY.exponentialRetryPolicyName,formDataPolicy:()=>YY.formDataPolicy,formDataPolicyName:()=>YY.formDataPolicyName,getDefaultProxySettings:()=>SN.getDefaultProxySettings,isRestError:()=>TY.isRestError,logPolicy:()=>LY.logPolicy,logPolicyName:()=>LY.logPolicyName,multipartPolicy:()=>UY.multipartPolicy,multipartPolicyName:()=>UY.multipartPolicyName,ndJsonPolicy:()=>VY.ndJsonPolicy,ndJsonPolicyName:()=>VY.ndJsonPolicyName,proxyPolicy:()=>SN.proxyPolicy,proxyPolicyName:()=>SN.proxyPolicyName,redirectPolicy:()=>FY.redirectPolicy,redirectPolicyName:()=>FY.redirectPolicyName,retryPolicy:()=>PSe.retryPolicy,setClientRequestIdPolicy:()=>kY.setClientRequestIdPolicy,setClientRequestIdPolicyName:()=>kY.setClientRequestIdPolicyName,systemErrorRetryPolicy:()=>qY.systemErrorRetryPolicy,systemErrorRetryPolicyName:()=>qY.systemErrorRetryPolicyName,throttlingRetryPolicy:()=>HY.throttlingRetryPolicy,throttlingRetryPolicyName:()=>HY.throttlingRetryPolicyName,tlsPolicy:()=>GY.tlsPolicy,tlsPolicyName:()=>GY.tlsPolicyName,tracingPolicy:()=>zY.tracingPolicy,tracingPolicyName:()=>zY.tracingPolicyName,userAgentPolicy:()=>jY.userAgentPolicy,userAgentPolicyName:()=>jY.userAgentPolicyName});ZY.exports=NSe(XY);var xSe=aw(),SSe=jG(),RSe=JG(),_Se=KG(),vSe=ZG(),TY=Cf(),OY=zw(),MY=nY(),kY=Xw(),LY=mw(),UY=qw(),SN=Kw(),FY=yw(),qY=aY(),HY=uY(),PSe=hY(),zY=AN(),DSe=Gw(),jY=ww(),GY=rN(),YY=Jw(),JY=wY(),VY=RY(),WY=DY(),KY=eN(),$Y=Uw()});var eJ=m(If=>{"use strict";Object.defineProperty(If,"__esModule",{value:!0});If.AzureKeyCredential=void 0;var _N=class{static{o(this,"AzureKeyCredential")}_key;get key(){return this._key}constructor(e){if(!e)throw new Error("key must be a non-empty string");this._key=e}update(e){this._key=e}};If.AzureKeyCredential=_N});var tJ=m(vN=>{"use strict";Object.defineProperty(vN,"__esModule",{value:!0});vN.isKeyCredential=OSe;var TSe=ut();function OSe(t){return(0,TSe.isObjectWithProperties)(t,["key"])&&typeof t.key=="string"}o(OSe,"isKeyCredential")});var rJ=m(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.AzureNamedKeyCredential=void 0;cu.isNamedKeyCredential=kSe;var MSe=ut(),PN=class{static{o(this,"AzureNamedKeyCredential")}_key;_name;get key(){return this._key}get name(){return this._name}constructor(e,r){if(!e||!r)throw new TypeError("name and key must be non-empty strings");this._name=e,this._key=r}update(e,r){if(!e||!r)throw new TypeError("newName and newKey must be non-empty strings");this._name=e,this._key=r}};cu.AzureNamedKeyCredential=PN;function kSe(t){return(0,MSe.isObjectWithProperties)(t,["name","key"])&&typeof t.key=="string"&&typeof t.name=="string"}o(kSe,"isNamedKeyCredential")});var nJ=m(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});lu.AzureSASCredential=void 0;lu.isSASCredential=USe;var LSe=ut(),DN=class{static{o(this,"AzureSASCredential")}_signature;get signature(){return this._signature}constructor(e){if(!e)throw new Error("shared access signature must be a non-empty string");this._signature=e}update(e){if(!e)throw new Error("shared access signature must be a non-empty string");this._signature=e}};lu.AzureSASCredential=DN;function USe(t){return(0,LSe.isObjectWithProperties)(t,["signature"])&&typeof t.signature=="string"}o(USe,"isSASCredential")});var iJ=m(Au=>{"use strict";Object.defineProperty(Au,"__esModule",{value:!0});Au.isBearerToken=FSe;Au.isPopToken=qSe;Au.isTokenCredential=HSe;function FSe(t){return!t.tokenType||t.tokenType==="Bearer"}o(FSe,"isBearerToken");function qSe(t){return t.tokenType==="pop"}o(qSe,"isPopToken");function HSe(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(HSe,"isTokenCredential")});var vc=m(rr=>{"use strict";Object.defineProperty(rr,"__esModule",{value:!0});rr.isTokenCredential=rr.isSASCredential=rr.AzureSASCredential=rr.isNamedKeyCredential=rr.AzureNamedKeyCredential=rr.isKeyCredential=rr.AzureKeyCredential=void 0;var zSe=eJ();Object.defineProperty(rr,"AzureKeyCredential",{enumerable:!0,get:function(){return zSe.AzureKeyCredential}});var jSe=tJ();Object.defineProperty(rr,"isKeyCredential",{enumerable:!0,get:function(){return jSe.isKeyCredential}});var sJ=rJ();Object.defineProperty(rr,"AzureNamedKeyCredential",{enumerable:!0,get:function(){return sJ.AzureNamedKeyCredential}});Object.defineProperty(rr,"isNamedKeyCredential",{enumerable:!0,get:function(){return sJ.isNamedKeyCredential}});var oJ=nJ();Object.defineProperty(rr,"AzureSASCredential",{enumerable:!0,get:function(){return oJ.AzureSASCredential}});Object.defineProperty(rr,"isSASCredential",{enumerable:!0,get:function(){return oJ.isSASCredential}});var GSe=iJ();Object.defineProperty(rr,"isTokenCredential",{enumerable:!0,get:function(){return GSe.isTokenCredential}})});var TN=m(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});Ts.disableKeepAlivePolicyName=void 0;Ts.createDisableKeepAlivePolicy=YSe;Ts.pipelineContainsDisableKeepAlivePolicy=JSe;Ts.disableKeepAlivePolicyName="DisableKeepAlivePolicy";function YSe(){return{name:Ts.disableKeepAlivePolicyName,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(YSe,"createDisableKeepAlivePolicy");function JSe(t){return t.getOrderedPolicies().some(e=>e.name===Ts.disableKeepAlivePolicyName)}o(JSe,"pipelineContainsDisableKeepAlivePolicy")});var TJ={};rd(TJ,{__addDisposableResource:()=>vJ,__assign:()=>bf,__asyncDelegator:()=>bJ,__asyncGenerator:()=>IJ,__asyncValues:()=>QJ,__await:()=>Pc,__awaiter:()=>mJ,__classPrivateFieldGet:()=>SJ,__classPrivateFieldIn:()=>_J,__classPrivateFieldSet:()=>RJ,__createBinding:()=>wf,__decorate:()=>lJ,__disposeResources:()=>PJ,__esDecorate:()=>uJ,__exportStar:()=>yJ,__extends:()=>aJ,__generator:()=>gJ,__importDefault:()=>xJ,__importStar:()=>NJ,__makeTemplateObject:()=>wJ,__metadata:()=>fJ,__param:()=>AJ,__propKey:()=>pJ,__read:()=>kN,__rest:()=>cJ,__rewriteRelativeImportExtension:()=>DJ,__runInitializers:()=>dJ,__setFunctionName:()=>hJ,__spread:()=>CJ,__spreadArray:()=>BJ,__spreadArrays:()=>EJ,__values:()=>Qf,default:()=>KSe});function aJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");ON(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function cJ(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function lJ(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function AJ(t,e){return function(r,n){e(r,n,t)}}function uJ(t,e,r,n,i,s){function a(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}o(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,f=!1,g=r.length-1;g>=0;g--){var C={};for(var Q in n)C[Q]=Q==="access"?{}:n[Q];for(var Q in n.access)C.access[Q]=n.access[Q];C.addInitializer=function(w){if(f)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(w||null))};var S=(0,r[g])(c==="accessor"?{get:u.get,set:u.set}:u[l],C);if(c==="accessor"){if(S===void 0)continue;if(S===null||typeof S!="object")throw new TypeError("Object expected");(d=a(S.get))&&(u.get=d),(d=a(S.set))&&(u.set=d),(d=a(S.init))&&i.unshift(d)}else(d=a(S))&&(c==="field"?i.unshift(d):u[l]=d)}A&&Object.defineProperty(A,n.name,u),f=!0}function dJ(t,e,r){for(var n=arguments.length>2,i=0;i<e.length;i++)r=n?e[i].call(t,r):e[i].call(t);return n?r:void 0}function pJ(t){return typeof t=="symbol"?t:"".concat(t)}function hJ(t,e,r){return typeof e=="symbol"&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function fJ(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function mJ(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})}function gJ(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=c(0),a.throw=c(1),a.return=c(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(A){return function(u){return l([A,u])}}function l(A){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,A[0]&&(r=0)),r;)try{if(n=1,i&&(s=A[0]&2?i.return:A[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,A[1])).done)return s;switch(i=0,s&&(A=[A[0]&2,s.value]),A[0]){case 0:case 1:s=A;break;case 4:return r.label++,{value:A[1],done:!1};case 5:r.label++,i=A[1],A=[0];continue;case 7:A=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!s||A[1]>s[0]&&A[1]<s[3])){r.label=A[1];break}if(A[0]===6&&r.label<s[1]){r.label=s[1],s=A;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(A);break}s[2]&&r.ops.pop(),r.trys.pop();continue}A=e.call(t,r)}catch(u){A=[6,u],i=0}finally{n=s=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}}function yJ(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&wf(e,t,r)}function Qf(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function kN(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function CJ(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(kN(arguments[e]));return t}function EJ(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<r;e++)for(var s=arguments[e],a=0,c=s.length;a<c;a++,i++)n[i]=s[a];return n}function BJ(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))}function Pc(t){return this instanceof Pc?(this.v=t,this):new Pc(t)}function IJ(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(g){return function(C){return Promise.resolve(C).then(g,d)}}function c(g,C){n[g]&&(i[g]=function(Q){return new Promise(function(S,w){s.push([g,Q,S,w])>1||l(g,Q)})},C&&(i[g]=C(i[g])))}function l(g,C){try{A(n[g](C))}catch(Q){f(s[0][3],Q)}}function A(g){g.value instanceof Pc?Promise.resolve(g.value.v).then(u,d):f(s[0][2],g)}function u(g){l("next",g)}function d(g){l("throw",g)}function f(g,C){g(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function bJ(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:Pc(t[i](a)),done:!1}:s?s(a):a}:s}}function QJ(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 Qf=="function"?Qf(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}}function wJ(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function NJ(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=MN(t),n=0;n<r.length;n++)r[n]!=="default"&&wf(e,t,r[n]);return VSe(e,t),e}function xJ(t){return t&&t.__esModule?t:{default:t}}function SJ(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)}function RJ(t,e,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(t,r):i?i.value=r:e.set(t,r),r}function _J(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}function vJ(t,e,r){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=e[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=e[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=o(function(){try{i.call(this)}catch(s){return Promise.reject(s)}},"dispose")),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}function PJ(t){function e(s){t.error=t.hasError?new WSe(s,t.error,"An error was suppressed during disposal."):s,t.hasError=!0}o(e,"fail");var r,n=0;function i(){for(;r=t.stack.pop();)try{if(!r.async&&n===1)return n=0,t.stack.push(r),Promise.resolve().then(i);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(i,function(a){return e(a),i()})}else n|=1}catch(a){e(a)}if(n===1)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}return o(i,"next"),i()}function DJ(t,e){return typeof t=="string"&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,s,a){return n?e?".jsx":".js":i&&(!s||!a)?r:i+s+"."+a.toLowerCase()+"js"}):t}var ON,bf,wf,VSe,MN,WSe,KSe,OJ=td(()=>{ON=o(function(t,e){return ON=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},ON(t,e)},"extendStatics");o(aJ,"__extends");bf=o(function(){return bf=Object.assign||o(function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},"__assign"),bf.apply(this,arguments)},"__assign");o(cJ,"__rest");o(lJ,"__decorate");o(AJ,"__param");o(uJ,"__esDecorate");o(dJ,"__runInitializers");o(pJ,"__propKey");o(hJ,"__setFunctionName");o(fJ,"__metadata");o(mJ,"__awaiter");o(gJ,"__generator");wf=Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]};o(yJ,"__exportStar");o(Qf,"__values");o(kN,"__read");o(CJ,"__spread");o(EJ,"__spreadArrays");o(BJ,"__spreadArray");o(Pc,"__await");o(IJ,"__asyncGenerator");o(bJ,"__asyncDelegator");o(QJ,"__asyncValues");o(wJ,"__makeTemplateObject");VSe=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},MN=o(function(t){return MN=Object.getOwnPropertyNames||function(e){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[r.length]=n);return r},MN(t)},"ownKeys");o(NJ,"__importStar");o(xJ,"__importDefault");o(SJ,"__classPrivateFieldGet");o(RJ,"__classPrivateFieldSet");o(_J,"__classPrivateFieldIn");o(vJ,"__addDisposableResource");WSe=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var n=new Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};o(PJ,"__disposeResources");o(DJ,"__rewriteRelativeImportExtension");KSe={__extends:aJ,__assign:bf,__rest:cJ,__decorate:lJ,__param:AJ,__esDecorate:uJ,__runInitializers:dJ,__propKey:pJ,__setFunctionName:hJ,__metadata:fJ,__awaiter:mJ,__generator:gJ,__createBinding:wf,__exportStar:yJ,__values:Qf,__read:kN,__spread:CJ,__spreadArrays:EJ,__spreadArray:BJ,__await:Pc,__asyncGenerator:IJ,__asyncDelegator:bJ,__asyncValues:QJ,__makeTemplateObject:wJ,__importStar:NJ,__importDefault:xJ,__classPrivateFieldGet:SJ,__classPrivateFieldSet:RJ,__classPrivateFieldIn:_J,__addDisposableResource:vJ,__disposeResources:PJ,__rewriteRelativeImportExtension:DJ}});var LN=m(Dc=>{"use strict";Object.defineProperty(Dc,"__esModule",{value:!0});Dc.encodeString=$Se;Dc.encodeByteArray=XSe;Dc.decodeString=ZSe;Dc.decodeStringToString=eRe;function $Se(t){return Buffer.from(t).toString("base64")}o($Se,"encodeString");function XSe(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(XSe,"encodeByteArray");function ZSe(t){return Buffer.from(t,"base64")}o(ZSe,"decodeString");function eRe(t){return Buffer.from(t,"base64").toString()}o(eRe,"decodeStringToString")});var uu=m(Tc=>{"use strict";Object.defineProperty(Tc,"__esModule",{value:!0});Tc.XML_CHARKEY=Tc.XML_ATTRKEY=void 0;Tc.XML_ATTRKEY="$";Tc.XML_CHARKEY="_"});var UN=m(Oc=>{"use strict";Object.defineProperty(Oc,"__esModule",{value:!0});Oc.isPrimitiveBody=MJ;Oc.isDuration=rRe;Oc.isValidUuid=iRe;Oc.flattenResponse=oRe;function MJ(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(MJ,"isPrimitiveBody");var tRe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function rRe(t){return tRe.test(t)}o(rRe,"isDuration");var nRe=/^[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 iRe(t){return nRe.test(t)}o(iRe,"isValidUuid");function sRe(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(sRe,"handleNullableResponseAndWrappableBody");function oRe(t,e){let r=t.parsedHeaders;if(t.request.method==="HEAD")return{...r,body:t.parsedBody};let n=e&&e.bodyMapper,i=!!n?.nullable,s=n?.type.name;if(s==="Stream")return{...r,blobBody:t.blobBody,readableStreamBody:t.readableStreamBody};let a=s==="Composite"&&n.type.modelProperties||{},c=Object.keys(a).some(l=>a[l].serializedName==="");if(s==="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 i&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(a).length===0?null:l}return sRe({body:t.parsedBody,headers:r,hasNullableType:i,shouldWrapBody:MJ(t.parsedBody,s)})}o(oRe,"flattenResponse")});var pu=m(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});du.MapperTypeNames=void 0;du.createSerializer=cRe;var aRe=(OJ(),Wt(TJ)),xf=aRe.__importStar(LN()),qt=uu(),LJ=UN(),FN=class{static{o(this,"SerializerImpl")}modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,n){let i=o((s,a)=>{throw new Error(`"${n}" with value "${r}" should satisfy the constraint "${s}": ${a}.`)},"failValidation");if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:s,ExclusiveMinimum:a,InclusiveMaximum:c,InclusiveMinimum:l,MaxItems:A,MaxLength:u,MinItems:d,MinLength:f,MultipleOf:g,Pattern:C,UniqueItems:Q}=e.constraints;if(s!==void 0&&r>=s&&i("ExclusiveMaximum",s),a!==void 0&&r<=a&&i("ExclusiveMinimum",a),c!==void 0&&r>c&&i("InclusiveMaximum",c),l!==void 0&&r<l&&i("InclusiveMinimum",l),A!==void 0&&r.length>A&&i("MaxItems",A),u!==void 0&&r.length>u&&i("MaxLength",u),d!==void 0&&r.length<d&&i("MinItems",d),f!==void 0&&r.length<f&&i("MinLength",f),g!==void 0&&r%g!==0&&i("MultipleOf",g),C){let S=typeof C=="string"?new RegExp(C):C;(typeof r!="string"||r.match(S)===null)&&i("Pattern",C)}Q&&r.some((S,w,R)=>R.indexOf(S)!==w)&&i("UniqueItems",Q)}}serialize(e,r,n,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??qt.XML_CHARKEY}},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=hRe(c,n,r):c.match(/^Enum$/i)!==null?a=fRe(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=yRe(c,r,n):c.match(/^ByteArray$/i)!==null?a=mRe(n,r):c.match(/^Base64Url$/i)!==null?a=gRe(n,r):c.match(/^Sequence$/i)!==null?a=CRe(this,e,r,n,!!this.isXML,s):c.match(/^Dictionary$/i)!==null?a=ERe(this,e,r,n,!!this.isXML,s):c.match(/^Composite$/i)!==null&&(a=IRe(this,e,r,n,!!this.isXML,s)),a}deserialize(e,r,n,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??qt.XML_CHARKEY},ignoreUnknownProperties:i.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=QRe(this,e,r,n,s);else{if(this.isXML){let l=s.xml.xmlCharKey;r[qt.XML_ATTRKEY]!==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=pRe(r):c.match(/^ByteArray$/i)!==null?a=xf.decodeString(r):c.match(/^Base64Url$/i)!==null?a=uRe(r):c.match(/^Sequence$/i)!==null?a=NRe(this,e,r,n,s):c.match(/^Dictionary$/i)!==null&&(a=wRe(this,e,r,n,s))}return e.isConstant&&(a=e.defaultValue),a}};function cRe(t={},e=!1){return new FN(t,e)}o(cRe,"createSerializer");function lRe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(lRe,"trimEnd");function ARe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=xf.encodeByteArray(t);return lRe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(ARe,"bufferToBase64Url");function uRe(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,"/"),xf.decodeString(t)}}o(uRe,"base64UrlToByteArray");function qN(t){let e=[],r="";if(t){let n=t.split(".");for(let i of n)i.charAt(i.length-1)==="\\"?r+=i.substr(0,i.length-1)+".":(r+=i,e.push(r),r="")}return e}o(qN,"splitSerializeName");function dRe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(dRe,"dateToUnixTime");function pRe(t){if(t)return new Date(t*1e3)}o(pRe,"unixTimeToDate");function hRe(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"&&(0,LJ.isValidUuid)(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(hRe,"serializeBasicTypes");function fRe(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(i=>typeof i.valueOf()=="string"?i.toLowerCase()===r.toLowerCase():i===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}o(fRe,"serializeEnumType");function mRe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=xf.encodeByteArray(e)}return e}o(mRe,"serializeByteArrayType");function gRe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=ARe(e)}return e}o(gRe,"serializeBase64UrlType");function yRe(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=dRe(e)}else if(t.match(/^TimeSpan$/i)!==null&&!(0,LJ.isDuration)(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(yRe,"serializeDateTypes");function CRe(t,e,r,n,i,s){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,s);if(i&&a.xmlNamespace){let u=a.xmlNamespacePrefix?`xmlns:${a.xmlNamespacePrefix}`:"xmlns";a.type.name==="Composite"?(c[l]={...A},c[l][qt.XML_ATTRKEY]={[u]:a.xmlNamespace}):(c[l]={},c[l][s.xml.xmlCharKey]=A,c[l][qt.XML_ATTRKEY]={[u]:a.xmlNamespace})}else c[l]=A}return c}o(CRe,"serializeSequenceType");function ERe(t,e,r,n,i,s){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,s);c[l]=qJ(a,A,i,s)}if(i&&e.xmlNamespace){let l=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns",A=c;return A[qt.XML_ATTRKEY]={[l]:e.xmlNamespace},A}return c}o(ERe,"serializeDictionaryType");function BRe(t,e,r){let n=e.type.additionalProperties;return!n&&e.type.className?UJ(t,e,r)?.type.additionalProperties:n}o(BRe,"resolveAdditionalProperties");function UJ(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(UJ,"resolveReferencedMapper");function FJ(t,e,r){let n=e.type.modelProperties;if(!n){let i=UJ(t,e,r);if(!i)throw new Error(`mapper() cannot be null or undefined for model "${e.type.className}".`);if(n=i?.type.modelProperties,!n)throw new Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(i)}" of type "${e.type.className}" for object "${r}".`)}return n}o(FJ,"resolveModelProperties");function IRe(t,e,r,n,i,s){if(Nf(t,e)&&(e=HJ(t,e,r,"clientName")),r!=null){let a={},c=FJ(t,e,n);for(let A of Object.keys(c)){let u=c[A];if(u.readOnly)continue;let d,f=a;if(t.isXML)u.xmlIsWrapped?d=u.xmlName:d=u.xmlElementName||u.xmlName;else{let g=qN(u.serializedName);d=g.pop();for(let C of g){let Q=f[C];Q==null&&(r[A]!==void 0&&r[A]!==null||u.defaultValue!==void 0)&&(f[C]={}),f=f[C]}}if(f!=null){if(i&&e.xmlNamespace){let w=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns";f[qt.XML_ATTRKEY]={...f[qt.XML_ATTRKEY],[w]:e.xmlNamespace}}let g=u.serializedName!==""?n+"."+u.serializedName:n,C=r[A],Q=Nf(t,e);Q&&Q.clientName===A&&C==null&&(C=e.serializedName);let S=t.serialize(u,C,g,s);if(S!==void 0&&d!==void 0&&d!==null){let w=qJ(u,S,i,s);i&&u.xmlIsAttribute?(f[qt.XML_ATTRKEY]=f[qt.XML_ATTRKEY]||{},f[qt.XML_ATTRKEY][d]=S):i&&u.xmlIsWrapped?f[d]={[u.xmlElementName]:w}:f[d]=w}}}let l=BRe(t,e,n);if(l){let A=Object.keys(c);for(let u in r)A.every(f=>f!==u)&&(a[u]=t.serialize(l,r[u],n+'["'+u+'"]',s))}return a}return r}o(IRe,"serializeCompositeType");function qJ(t,e,r,n){if(!r||!t.xmlNamespace)return e;let s={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace};if(["Composite"].includes(t.type.name)){if(e[qt.XML_ATTRKEY])return e;{let c={...e};return c[qt.XML_ATTRKEY]=s,c}}let a={};return a[n.xml.xmlCharKey]=e,a[qt.XML_ATTRKEY]=s,a}o(qJ,"getXmlObjectValue");function bRe(t,e){return[qt.XML_ATTRKEY,e.xml.xmlCharKey].includes(t)}o(bRe,"isSpecialXmlProperty");function QRe(t,e,r,n,i){let s=i.xml.xmlCharKey??qt.XML_CHARKEY;Nf(t,e)&&(e=HJ(t,e,r,"serializedName"));let a=FJ(t,e,n),c={},l=[];for(let u of Object.keys(a)){let d=a[u],f=qN(a[u].serializedName);l.push(f[0]);let{serializedName:g,xmlName:C,xmlElementName:Q}=d,S=n;g!==""&&g!==void 0&&(S=n+"."+g);let w=d.headerCollectionPrefix;if(w){let R={};for(let T of Object.keys(r))T.startsWith(w)&&(R[T.substring(w.length)]=t.deserialize(d.type.value,r[T],S,i)),l.push(T);c[u]=R}else if(t.isXML)if(d.xmlIsAttribute&&r[qt.XML_ATTRKEY])c[u]=t.deserialize(d,r[qt.XML_ATTRKEY][C],S,i);else if(d.xmlIsMsText)r[s]!==void 0?c[u]=r[s]:typeof r=="string"&&(c[u]=r);else{let R=Q||C||g;if(d.xmlIsWrapped){let L=r[C]?.[Q]??[];c[u]=t.deserialize(d,L,S,i),l.push(C)}else{let T=r[R];c[u]=t.deserialize(d,T,S,i),l.push(R)}}else{let R,T=r,L=0;for(let le of f){if(!T)break;L++,T=T[le]}T===null&&L<f.length&&(T=void 0),R=T;let W=e.type.polymorphicDiscriminator;W&&u===W.clientName&&R==null&&(R=e.serializedName);let de;if(Array.isArray(r[u])&&a[u].serializedName===""){R=r[u];let le=t.deserialize(d,R,S,i);for(let[De,Te]of Object.entries(c))Object.prototype.hasOwnProperty.call(le,De)||(le[De]=Te);c=le}else(R!==void 0||d.defaultValue!==void 0)&&(de=t.deserialize(d,R,S,i),c[u]=de)}}let A=e.type.additionalProperties;if(A){let u=o(d=>{for(let f in a)if(qN(a[f].serializedName)[0]===d)return!1;return!0},"isAdditionalProperty");for(let d in r)u(d)&&(c[d]=t.deserialize(A,r[d],n+'["'+d+'"]',i))}else if(r&&!i.ignoreUnknownProperties)for(let u of Object.keys(r))c[u]===void 0&&!l.includes(u)&&!bRe(u,i)&&(c[u]=r[u]);return c}o(QRe,"deserializeCompositeType");function wRe(t,e,r,n,i){let s=e.type.value;if(!s||typeof s!="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(s,r[c],n,i);return a}return r}o(wRe,"deserializeDictionaryType");function NRe(t,e,r,n,i){let s=e.type.element;if(!s||typeof s!="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]),s.type.name==="Composite"&&s.type.className&&(s=t.modelMappers[s.type.className]??s);let a=[];for(let c=0;c<r.length;c++)a[c]=t.deserialize(s,r[c],`${n}[${c}]`,i);return a}return r}o(NRe,"deserializeSequenceType");function xRe(t,e,r){let n=[r];for(;n.length;){let i=n.shift(),s=e===i?e:i+"."+e;if(Object.prototype.hasOwnProperty.call(t,s))return t[s];for(let[a,c]of Object.entries(t))a.startsWith(i+".")&&c.type.uberParent===i&&c.type.className&&n.push(c.type.className)}}o(xRe,"getIndexDiscriminator");function HJ(t,e,r,n){let i=Nf(t,e);if(i){let s=i[n];if(s){n==="serializedName"&&(s=s.replace(/\\/gi,""));let a=r[s],c=e.type.uberParent??e.type.className;if(typeof a=="string"&&c){let l=xRe(t.modelMappers.discriminators,a,c);l&&(e=l)}}}return e}o(HJ,"getPolymorphicMapper");function Nf(t,e){return e.type.polymorphicDiscriminator||kJ(t,e.type.uberParent)||kJ(t,e.type.className)}o(Nf,"getPolymorphicDiscriminatorRecursively");function kJ(t,e){return e&&t.modelMappers[e]&&t.modelMappers[e].type.polymorphicDiscriminator}o(kJ,"getPolymorphicDiscriminatorSafely");du.MapperTypeNames={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 zJ=m(Sf=>{"use strict";Object.defineProperty(Sf,"__esModule",{value:!0});Sf.state=void 0;Sf.state={operationRequestMap:new WeakMap}});var hu=m(Rf=>{"use strict";Object.defineProperty(Rf,"__esModule",{value:!0});Rf.getOperationArgumentValueFromParameter=YJ;Rf.getOperationRequestInfo=VJ;var jJ=zJ();function YJ(t,e,r){let n=e.parameterPath,i=e.mapper,s;if(typeof n=="string"&&(n=[n]),Array.isArray(n)){if(n.length>0)if(i.isConstant)s=i.defaultValue;else{let a=GJ(t,n);!a.propertyFound&&r&&(a=GJ(r,n));let c=!1;a.propertyFound||(c=i.required||n[0]==="options"&&n.length===2),s=c?i.defaultValue:a.propertyValue}}else{i.required&&(s={});for(let a in n){let c=i.type.modelProperties[a],l=n[a],A=YJ(t,{parameterPath:l,mapper:c},r);A!==void 0&&(s||(s={}),s[a]=A)}}return s}o(YJ,"getOperationArgumentValueFromParameter");function GJ(t,e){let r={propertyFound:!1},n=0;for(;n<e.length;++n){let i=e[n];if(t&&i in t)t=t[i];else break}return n===e.length&&(r.propertyValue=t,r.propertyFound=!0),r}o(GJ,"getPropertyFromParameterPath");var JJ=Symbol.for("@azure/core-client original request");function SRe(t){return JJ in t}o(SRe,"hasOriginalRequest");function VJ(t){if(SRe(t))return VJ(t[JJ]);let e=jJ.state.operationRequestMap.get(t);return e||(e={},jJ.state.operationRequestMap.set(t,e)),e}o(VJ,"getOperationRequestInfo")});var zN=m(Mc=>{"use strict";Object.defineProperty(Mc,"__esModule",{value:!0});Mc.deserializationPolicyName=void 0;Mc.deserializationPolicy=PRe;var RRe=uu(),_f=Pt(),WJ=pu(),HN=hu(),_Re=["application/json","text/json"],vRe=["application/xml","application/atom+xml"];Mc.deserializationPolicyName="deserializationPolicy";function PRe(t={}){let e=t.expectedContentTypes?.json??_Re,r=t.expectedContentTypes?.xml??vRe,n=t.parseXML,i=t.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??RRe.XML_CHARKEY}};return{name:Mc.deserializationPolicyName,async sendRequest(a,c){let l=await c(a);return ORe(e,r,l,s,n)}}}o(PRe,"deserializationPolicy");function DRe(t){let e,r=t.request,n=(0,HN.getOperationRequestInfo)(r),i=n?.operationSpec;return i&&(n?.operationResponseGetter?e=n?.operationResponseGetter(i,t):e=i.responses[t.status]),e}o(DRe,"getOperationResponseMap");function TRe(t){let e=t.request,n=(0,HN.getOperationRequestInfo)(e)?.shouldDeserialize,i;return n===void 0?i=!0:typeof n=="boolean"?i=n:i=n(t),i}o(TRe,"shouldDeserializeResponse");async function ORe(t,e,r,n,i){let s=await LRe(t,e,r,n,i);if(!TRe(s))return s;let c=(0,HN.getOperationRequestInfo)(s.request)?.operationSpec;if(!c||!c.responses)return s;let l=DRe(s),{error:A,shouldReturnResponse:u}=kRe(s,c,l,n);if(A)throw A;if(u)return s;if(l){if(l.bodyMapper){let d=s.parsedBody;c.isXML&&l.bodyMapper.type.name===WJ.MapperTypeNames.Sequence&&(d=typeof d=="object"?d[l.bodyMapper.xmlElementName]:[]);try{s.parsedBody=c.serializer.deserialize(l.bodyMapper,d,"operationRes.parsedBody",n)}catch(f){throw new _f.RestError(`Error ${f} occurred in deserializing the responseBody - ${s.bodyAsText}`,{statusCode:s.status,request:s.request,response:s})}}else c.httpMethod==="HEAD"&&(s.parsedBody=r.status>=200&&r.status<300);l.headersMapper&&(s.parsedHeaders=c.serializer.deserialize(l.headersMapper,s.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return s}o(ORe,"deserializeResponseBody");function MRe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(MRe,"isOperationSpecEmpty");function kRe(t,e,r,n){let i=200<=t.status&&t.status<300;if(MRe(e)?i:!!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 _f.RestError(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,f;if(A){let C=d;if(e.isXML&&A.type.name===WJ.MapperTypeNames.Sequence){C=[];let Q=A.xmlElementName;typeof d=="object"&&Q&&(C=d[Q])}f=e.serializer.deserialize(A,C,"error.response.parsedBody",n)}let g=d.error||f||d;l.code=g.code,g.message&&(l.message=g.message),A&&(l.response.parsedBody=f)}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(kRe,"handleErrorResponse");async function LRe(t,e,r,n,i){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let s=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(s),r;if(c.some(l=>e.indexOf(l)!==-1)){if(!i)throw new Error("Parsing XML not supported.");let l=await i(s,n.xml);return r.parsedBody=l,r}}catch(l){let A=`Error "${l}" occurred while parsing the response body - ${r.bodyAsText}.`,u=l.code||_f.RestError.PARSE_ERROR;throw new _f.RestError(A,{code:u,statusCode:r.status,request:r.request,response:r})}}return r}o(LRe,"parse")});var Pf=m(vf=>{"use strict";Object.defineProperty(vf,"__esModule",{value:!0});vf.getStreamingResponseStatusCodes=FRe;vf.getPathStringFromParameter=qRe;var URe=pu();function FRe(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===URe.MapperTypeNames.Stream&&e.add(Number(r))}return e}o(FRe,"getStreamingResponseStatusCodes");function qRe(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(qRe,"getPathStringFromParameter")});var YN=m(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});Os.serializationPolicyName=void 0;Os.serializationPolicy=HRe;Os.serializeHeaders=KJ;Os.serializeRequestBody=$J;var GN=uu(),Df=hu(),jN=pu(),fu=Pf();Os.serializationPolicyName="serializationPolicy";function HRe(t={}){let e=t.stringifyXML;return{name:Os.serializationPolicyName,async sendRequest(r,n){let i=(0,Df.getOperationRequestInfo)(r),s=i?.operationSpec,a=i?.operationArguments;return s&&a&&(KJ(r,a,s),$J(r,a,s,e)),n(r)}}}o(HRe,"serializationPolicy");function KJ(t,e,r){if(r.headerParameters)for(let i of r.headerParameters){let s=(0,Df.getOperationArgumentValueFromParameter)(e,i);if(s!=null||i.mapper.required){s=r.serializer.serialize(i.mapper,s,(0,fu.getPathStringFromParameter)(i));let a=i.mapper.headerCollectionPrefix;if(a)for(let c of Object.keys(s))t.headers.set(a+c,s[c]);else t.headers.set(i.mapper.serializedName||(0,fu.getPathStringFromParameter)(i),s)}}let n=e.options?.requestOptions?.customHeaders;if(n)for(let i of Object.keys(n))t.headers.set(i,n[i])}o(KJ,"serializeHeaders");function $J(t,e,r,n=function(){throw new Error("XML serialization unsupported!")}){let i=e.options?.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??GN.XML_CHARKEY}},a=s.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=(0,Df.getOperationArgumentValueFromParameter)(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:A,xmlName:u,xmlElementName:d,xmlNamespace:f,xmlNamespacePrefix:g,nullable:C}=c,Q=c.type.name;try{if(t.body!==void 0&&t.body!==null||C&&t.body===null||l){let S=(0,fu.getPathStringFromParameter)(r.requestBody);t.body=r.serializer.serialize(c,t.body,S,s);let w=Q===jN.MapperTypeNames.Stream;if(r.isXML){let R=g?`xmlns:${g}`:"xmlns",T=zRe(f,R,Q,t.body,s);Q===jN.MapperTypeNames.Sequence?t.body=n(jRe(T,d||u||A,R,f),{rootName:u||A,xmlCharKey:a}):w||(t.body=n(T,{rootName:u||A,xmlCharKey:a}))}else{if(Q===jN.MapperTypeNames.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;w||(t.body=JSON.stringify(t.body))}}}catch(S){throw new Error(`Error "${S.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=(0,Df.getOperationArgumentValueFromParameter)(e,c);if(l!=null){let A=c.mapper.serializedName||(0,fu.getPathStringFromParameter)(c);t.formData[A]=r.serializer.serialize(c.mapper,l,(0,fu.getPathStringFromParameter)(c),s)}}}}o($J,"serializeRequestBody");function zRe(t,e,r,n,i){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let s={};return s[i.xml.xmlCharKey]=n,s[GN.XML_ATTRKEY]={[e]:t},s}return n}o(zRe,"getXmlValueWithNamespace");function jRe(t,e,r,n){if(Array.isArray(t)||(t=[t]),!r||!n)return{[e]:t};let i={[e]:t};return i[GN.XML_ATTRKEY]={[r]:n},i}o(jRe,"prepareXMLRootList")});var VN=m(JN=>{"use strict";Object.defineProperty(JN,"__esModule",{value:!0});JN.createClientPipeline=JRe;var GRe=zN(),XJ=Pt(),YRe=YN();function JRe(t={}){let e=(0,XJ.createPipelineFromOptions)(t??{});return t.credentialOptions&&e.addPolicy((0,XJ.bearerTokenAuthenticationPolicy)({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy((0,YRe.serializationPolicy)(t.serializationOptions),{phase:"Serialize"}),e.addPolicy((0,GRe.deserializationPolicy)(t.deserializationOptions),{phase:"Deserialize"}),e}o(JRe,"createClientPipeline")});var ZJ=m(KN=>{"use strict";Object.defineProperty(KN,"__esModule",{value:!0});KN.getCachedDefaultHttpClient=WRe;var VRe=Pt(),WN;function WRe(){return WN||(WN=(0,VRe.createDefaultHttpClient)()),WN}o(WRe,"getCachedDefaultHttpClient")});var nV=m(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});Tf.getRequestUrl=$Re;Tf.appendQueryParams=rV;var tV=hu(),$N=Pf(),KRe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function $Re(t,e,r,n){let i=XRe(e,r,n),s=!1,a=eV(t,i);if(e.path){let A=eV(e.path,i);e.path==="/{nextLink}"&&A.startsWith("/")&&(A=A.substring(1)),ZRe(A)?(a=A,s=!0):a=e_e(a,A)}let{queryParams:c,sequenceParams:l}=t_e(e,r,n);return a=rV(a,c,l,s),a}o($Re,"getRequestUrl");function eV(t,e){let r=t;for(let[n,i]of e)r=r.split(n).join(i);return r}o(eV,"replaceAll");function XRe(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let i of t.urlParameters){let s=(0,tV.getOperationArgumentValueFromParameter)(e,i,r),a=(0,$N.getPathStringFromParameter)(i);s=t.serializer.serialize(i.mapper,s,a),i.skipEncoding||(s=encodeURIComponent(s)),n.set(`{${i.mapper.serializedName||a}}`,s)}return n}o(XRe,"calculateUrlReplacements");function ZRe(t){return t.includes("://")}o(ZRe,"isAbsoluteUrl");function e_e(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 i=e.indexOf("?");if(i!==-1){let s=e.substring(0,i),a=e.substring(i+1);n=n+s,a&&(r.search=r.search?`${r.search}&${a}`:a)}else n=n+e;return r.pathname=n,r.toString()}o(e_e,"appendPath");function t_e(t,e,r){let n=new Map,i=new Set;if(t.queryParameters?.length)for(let s of t.queryParameters){s.mapper.type.name==="Sequence"&&s.mapper.serializedName&&i.add(s.mapper.serializedName);let a=(0,tV.getOperationArgumentValueFromParameter)(e,s,r);if(a!=null||s.mapper.required){a=t.serializer.serialize(s.mapper,a,(0,$N.getPathStringFromParameter)(s));let c=s.collectionFormat?KRe[s.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(l=>l??"")),s.collectionFormat==="Multi"&&a.length===0)continue;Array.isArray(a)&&(s.collectionFormat==="SSV"||s.collectionFormat==="TSV")&&(a=a.join(c)),s.skipEncoding||(Array.isArray(a)?a=a.map(l=>encodeURIComponent(l)):a=encodeURIComponent(a)),Array.isArray(a)&&(s.collectionFormat==="CSV"||s.collectionFormat==="Pipes")&&(a=a.join(c)),n.set(s.mapper.serializedName||(0,$N.getPathStringFromParameter)(s),a)}}return{queryParams:n,sequenceParams:i}}o(t_e,"calculateQueryParameters");function r_e(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[i,s]=n.split("=",2),a=e.get(i);a?Array.isArray(a)?a.push(s):e.set(i,[a,s]):e.set(i,s)}return e}o(r_e,"simpleParseQueryParams");function rV(t,e,r,n=!1){if(e.size===0)return t;let i=new URL(t),s=r_e(i.search);for(let[c,l]of e){let A=s.get(c);if(Array.isArray(A))if(Array.isArray(l)){A.push(...l);let u=new Set(A);s.set(c,Array.from(u))}else A.push(l);else A?(Array.isArray(l)?l.unshift(A):r.has(c)&&s.set(c,[A,l]),n||s.set(c,l)):s.set(c,l)}let a=[];for(let[c,l]of s)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 i.search=a.length?`?${a.join("&")}`:"",i.toString()}o(rV,"appendQueryParams")});var XN=m(Of=>{"use strict";Object.defineProperty(Of,"__esModule",{value:!0});Of.logger=void 0;var n_e=xc();Of.logger=(0,n_e.createClientLogger)("core-client")});var sV=m(Mf=>{"use strict";Object.defineProperty(Mf,"__esModule",{value:!0});Mf.ServiceClient=void 0;var i_e=Pt(),s_e=VN(),iV=UN(),o_e=ZJ(),a_e=hu(),c_e=nV(),l_e=Pf(),A_e=XN(),ZN=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&&A_e.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(0,o_e.getCachedDefaultHttpClient)(),this.pipeline=e.pipeline||u_e(e),e.additionalPolicies?.length)for(let{policy:r,position:n}of e.additionalPolicies){let i=n==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(r,{afterPhase:i})}}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 i=(0,c_e.getRequestUrl)(n,r,e,this),s=(0,i_e.createPipelineRequest)({url:i});s.method=r.httpMethod;let a=(0,a_e.getOperationRequestInfo)(s);a.operationSpec=r,a.operationArguments=e;let c=r.contentType||this._requestContentType;c&&r.requestBody&&s.headers.set("Content-Type",c);let l=e.options;if(l){let A=l.requestOptions;A&&(A.timeout&&(s.timeout=A.timeout),A.onUploadProgress&&(s.onUploadProgress=A.onUploadProgress),A.onDownloadProgress&&(s.onDownloadProgress=A.onDownloadProgress),A.shouldDeserialize!==void 0&&(a.shouldDeserialize=A.shouldDeserialize),A.allowInsecureConnection&&(s.allowInsecureConnection=!0)),l.abortSignal&&(s.abortSignal=l.abortSignal),l.tracingOptions&&(s.tracingOptions=l.tracingOptions)}this._allowInsecureConnection&&(s.allowInsecureConnection=!0),s.streamResponseStatusCodes===void 0&&(s.streamResponseStatusCodes=(0,l_e.getStreamingResponseStatusCodes)(r));try{let A=await this.sendRequest(s),u=(0,iV.flattenResponse)(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=(0,iV.flattenResponse)(u,r.responses[A.statusCode]||r.responses.default);A.details=d,l?.onResponse&&l.onResponse(u,d,A)}throw A}}};Mf.ServiceClient=ZN;function u_e(t){let e=d_e(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return(0,s_e.createClientPipeline)({...t,credentialOptions:r})}o(u_e,"createDefaultPipeline");function d_e(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(d_e,"getCredentialScopes")});var aV=m(kf=>{"use strict";Object.defineProperty(kf,"__esModule",{value:!0});kf.parseCAEChallenge=oV;kf.authorizeRequestOnClaimChallenge=f_e;var p_e=XN(),h_e=LN();function oV(t){return`, ${t.trim()}`.split(", Bearer ").filter(r=>r).map(r=>`${r.trim()}, `.split('", ').filter(s=>s).map(s=>(([a,c])=>({[a]:c}))(s.trim().split('="'))).reduce((s,a)=>({...s,...a}),{}))}o(oV,"parseCAEChallenge");async function f_e(t){let{scopes:e,response:r}=t,n=t.logger||p_e.logger,i=r.headers.get("WWW-Authenticate");if(!i)return n.info("The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow."),!1;let a=(oV(i)||[]).find(l=>l.claims);if(!a)return n.info('The WWW-Authenticate header was missing the necessary "claims" to perform the Continuous Access Evaluation authentication flow.'),!1;let c=await t.getAccessToken(a.scope?[a.scope]:e,{claims:(0,h_e.decodeStringToString)(a.claims)});return c?(t.request.headers.set("Authorization",`${c.tokenType??"Bearer"} ${c.token}`),!0):!1}o(f_e,"authorizeRequestOnClaimChallenge")});var lV=m(Lf=>{"use strict";Object.defineProperty(Lf,"__esModule",{value:!0});Lf.authorizeRequestOnTenantChallenge=void 0;var cV={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function m_e(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(m_e,"isUuid");var g_e=o(async t=>{let e=I_e(t.request),r=E_e(t.response);if(r){let n=B_e(r),i=C_e(t,n),s=y_e(n);if(!s)return!1;let a=await t.getAccessToken(i,{...e,tenantId:s});return a?(t.request.headers.set(cV.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");Lf.authorizeRequestOnTenantChallenge=g_e;function y_e(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&m_e(n))return n}o(y_e,"extractTenantId");function C_e(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=cV.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}o(C_e,"buildScopes");function E_e(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(E_e,"getChallenge");function B_e(t){return`${t.slice(7).trim()} `.split(" ").filter(i=>i).map(i=>(([s,a])=>({[s]:a}))(i.trim().split("="))).reduce((i,s)=>({...i,...s}),{})}o(B_e,"parseChallenge");function I_e(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(I_e,"requestToOptions")});var fi=m(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.authorizeRequestOnTenantChallenge=Ve.authorizeRequestOnClaimChallenge=Ve.serializationPolicyName=Ve.serializationPolicy=Ve.deserializationPolicyName=Ve.deserializationPolicy=Ve.XML_CHARKEY=Ve.XML_ATTRKEY=Ve.createClientPipeline=Ve.ServiceClient=Ve.MapperTypeNames=Ve.createSerializer=void 0;var AV=pu();Object.defineProperty(Ve,"createSerializer",{enumerable:!0,get:function(){return AV.createSerializer}});Object.defineProperty(Ve,"MapperTypeNames",{enumerable:!0,get:function(){return AV.MapperTypeNames}});var b_e=sV();Object.defineProperty(Ve,"ServiceClient",{enumerable:!0,get:function(){return b_e.ServiceClient}});var Q_e=VN();Object.defineProperty(Ve,"createClientPipeline",{enumerable:!0,get:function(){return Q_e.createClientPipeline}});var uV=uu();Object.defineProperty(Ve,"XML_ATTRKEY",{enumerable:!0,get:function(){return uV.XML_ATTRKEY}});Object.defineProperty(Ve,"XML_CHARKEY",{enumerable:!0,get:function(){return uV.XML_CHARKEY}});var dV=zN();Object.defineProperty(Ve,"deserializationPolicy",{enumerable:!0,get:function(){return dV.deserializationPolicy}});Object.defineProperty(Ve,"deserializationPolicyName",{enumerable:!0,get:function(){return dV.deserializationPolicyName}});var pV=YN();Object.defineProperty(Ve,"serializationPolicy",{enumerable:!0,get:function(){return pV.serializationPolicy}});Object.defineProperty(Ve,"serializationPolicyName",{enumerable:!0,get:function(){return pV.serializationPolicyName}});var w_e=aV();Object.defineProperty(Ve,"authorizeRequestOnClaimChallenge",{enumerable:!0,get:function(){return w_e.authorizeRequestOnClaimChallenge}});var N_e=lV();Object.defineProperty(Ve,"authorizeRequestOnTenantChallenge",{enumerable:!0,get:function(){return N_e.authorizeRequestOnTenantChallenge}})});var gu=m(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.HttpHeaders=void 0;Lo.toPipelineRequest=mV;Lo.toWebResourceLike=gV;Lo.toHttpHeadersLike=yV;var hV=Pt(),fV=Symbol("Original PipelineRequest"),x_e=Symbol.for("@azure/core-client original request");function mV(t,e={}){let n=t[fV],i=(0,hV.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=i,n;{let s=(0,hV.createPipelineRequest)({url:t.url,method:t.method,headers:i,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&&(s[x_e]=e.originalRequest),s}}o(mV,"toPipelineRequest");function gV(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:yV(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(i,s,a){return s===fV?t:s==="clone"?()=>gV(mV(n,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(i,s,a)},set(i,s,a,c){return s==="keepAlive"&&(t.disableKeepAlive=!a),typeof s=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(s)&&(t[s]=a),Reflect.set(i,s,a,c)}}):n}o(gV,"toWebResourceLike");function yV(t){return new Uf(t.toJSON({preserveCase:!0}))}o(yV,"toHttpHeadersLike");function mu(t){return t.toLowerCase()}o(mu,"getHeaderKey");var Uf=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[mu(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[mu(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[mu(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[mu(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 i=this._headersMap[n];r[i.name]=i.value}else for(let n in this._headersMap){let i=this._headersMap[n];r[mu(i.name)]=i.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)}};Lo.HttpHeaders=Uf});var qf=m(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});Ff.toCompatResponse=R_e;Ff.toPipelineResponse=__e;var S_e=Pt(),e0=gu(),CV=Symbol("Original FullOperationResponse");function R_e(t,e){let r=(0,e0.toWebResourceLike)(t.request),n=(0,e0.toHttpHeadersLike)(t.headers);return e?.createProxy?new Proxy(t,{get(i,s,a){return s==="headers"?n:s==="request"?r:s===CV?t:Reflect.get(i,s,a)},set(i,s,a,c){return s==="headers"?n=a:s==="request"&&(r=a),Reflect.set(i,s,a,c)}}):{...t,request:r,headers:n}}o(R_e,"toCompatResponse");function __e(t){let r=t[CV],n=(0,S_e.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));return r?(r.headers=n,r):{...t,headers:n,request:(0,e0.toPipelineRequest)(t.request)}}o(__e,"toPipelineResponse")});var BV=m(Hf=>{"use strict";Object.defineProperty(Hf,"__esModule",{value:!0});Hf.ExtendedServiceClient=void 0;var EV=TN(),v_e=Pt(),P_e=fi(),D_e=qf(),t0=class extends P_e.ServiceClient{static{o(this,"ExtendedServiceClient")}constructor(e){super(e),e.keepAliveOptions?.enable===!1&&!(0,EV.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)&&this.pipeline.addPolicy((0,EV.createDisableKeepAlivePolicy)()),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:v_e.redirectPolicyName})}async sendOperationRequest(e,r){let n=e?.options?.onResponse,i;function s(c,l,A){i=c,n&&n(c,l,A)}o(s,"onResponse"),e.options={...e.options,onResponse:s};let a=await super.sendOperationRequest(e,r);return i&&Object.defineProperty(a,"_response",{value:(0,D_e.toCompatResponse)(i)}),a}};Hf.ExtendedServiceClient=t0});var wV=m(Ms=>{"use strict";Object.defineProperty(Ms,"__esModule",{value:!0});Ms.requestPolicyFactoryPolicyName=Ms.HttpPipelineLogLevel=void 0;Ms.createRequestPolicyFactoryPolicy=O_e;var IV=gu(),bV=qf(),QV;(function(t){t[t.ERROR=1]="ERROR",t[t.INFO=3]="INFO",t[t.OFF=0]="OFF",t[t.WARNING=2]="WARNING"})(QV||(Ms.HttpPipelineLogLevel=QV={}));var T_e={log(t,e){},shouldLog(t){return!1}};Ms.requestPolicyFactoryPolicyName="RequestPolicyFactoryPolicy";function O_e(t){let e=t.slice().reverse();return{name:Ms.requestPolicyFactoryPolicyName,async sendRequest(r,n){let i={async sendRequest(c){let l=await n((0,IV.toPipelineRequest)(c));return(0,bV.toCompatResponse)(l,{createProxy:!0})}};for(let c of e)i=c.create(i,T_e);let s=(0,IV.toWebResourceLike)(r,{createProxy:!0}),a=await i.sendRequest(s);return(0,bV.toPipelineResponse)(a)}}}o(O_e,"createRequestPolicyFactoryPolicy")});var NV=m(r0=>{"use strict";Object.defineProperty(r0,"__esModule",{value:!0});r0.convertHttpClient=L_e;var M_e=qf(),k_e=gu();function L_e(t){return{sendRequest:async e=>{let r=await t.sendRequest((0,k_e.toWebResourceLike)(e,{createProxy:!0}));return(0,M_e.toPipelineResponse)(r)}}}o(L_e,"convertHttpClient")});var zf=m(nr=>{"use strict";Object.defineProperty(nr,"__esModule",{value:!0});nr.toHttpHeadersLike=nr.convertHttpClient=nr.disableKeepAlivePolicyName=nr.HttpPipelineLogLevel=nr.createRequestPolicyFactoryPolicy=nr.requestPolicyFactoryPolicyName=nr.ExtendedServiceClient=void 0;var U_e=BV();Object.defineProperty(nr,"ExtendedServiceClient",{enumerable:!0,get:function(){return U_e.ExtendedServiceClient}});var n0=wV();Object.defineProperty(nr,"requestPolicyFactoryPolicyName",{enumerable:!0,get:function(){return n0.requestPolicyFactoryPolicyName}});Object.defineProperty(nr,"createRequestPolicyFactoryPolicy",{enumerable:!0,get:function(){return n0.createRequestPolicyFactoryPolicy}});Object.defineProperty(nr,"HttpPipelineLogLevel",{enumerable:!0,get:function(){return n0.HttpPipelineLogLevel}});var F_e=TN();Object.defineProperty(nr,"disableKeepAlivePolicyName",{enumerable:!0,get:function(){return F_e.disableKeepAlivePolicyName}});var q_e=NV();Object.defineProperty(nr,"convertHttpClient",{enumerable:!0,get:function(){return q_e.convertHttpClient}});var H_e=gu();Object.defineProperty(nr,"toHttpHeadersLike",{enumerable:!0,get:function(){return H_e.toHttpHeadersLike}})});var SV=m((IWe,xV)=>{(()=>{"use strict";var t={d:(y,p)=>{for(var h in p)t.o(p,h)&&!t.o(y,h)&&Object.defineProperty(y,h,{enumerable:!0,get:p[h]})},o:(y,p)=>Object.prototype.hasOwnProperty.call(y,p),r:y=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{XMLBuilder:()=>P8,XMLParser:()=>b8,XMLValidator:()=>D8});let r=":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",n=new RegExp("^["+r+"]["+r+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function i(y,p){let h=[],b=p.exec(y);for(;b;){let x=[];x.startIndex=p.lastIndex-b[0].length;let N=b.length;for(let k=0;k<N;k++)x.push(b[k]);h.push(x),b=p.exec(y)}return h}o(i,"s");let s=o(function(y){return n.exec(y)!=null},"r"),a={allowBooleanAttributes:!1,unpairedTags:[]};function c(y,p){p=Object.assign({},a,p);let h=[],b=!1,x=!1;y[0]==="\uFEFF"&&(y=y.substr(1));for(let N=0;N<y.length;N++)if(y[N]==="<"&&y[N+1]==="?"){if(N+=2,N=A(y,N),N.err)return N}else{if(y[N]!=="<"){if(l(y[N]))continue;return w("InvalidChar","char '"+y[N]+"' is not expected.",L(y,N))}{let k=N;if(N++,y[N]==="!"){N=u(y,N);continue}{let _=!1;y[N]==="/"&&(_=!0,N++);let M="";for(;N<y.length&&y[N]!==">"&&y[N]!==" "&&y[N]!==" "&&y[N]!==`
|
|
`&&y[N]!=="\r";N++)M+=y[N];if(M=M.trim(),M[M.length-1]==="/"&&(M=M.substring(0,M.length-1),N--),!T(M)){let K;return K=M.trim().length===0?"Invalid space after '<'.":"Tag '"+M+"' is an invalid name.",w("InvalidTag",K,L(y,N))}let q=g(y,N);if(q===!1)return w("InvalidAttr","Attributes for '"+M+"' have open quote.",L(y,N));let G=q.value;if(N=q.index,G[G.length-1]==="/"){let K=N-G.length;G=G.substring(0,G.length-1);let be=Q(G,p);if(be!==!0)return w(be.err.code,be.err.msg,L(y,K+be.err.line));b=!0}else if(_){if(!q.tagClosed)return w("InvalidTag","Closing tag '"+M+"' doesn't have proper closing.",L(y,N));if(G.trim().length>0)return w("InvalidTag","Closing tag '"+M+"' can't have attributes or invalid starting.",L(y,k));if(h.length===0)return w("InvalidTag","Closing tag '"+M+"' has not been opened.",L(y,k));{let K=h.pop();if(M!==K.tagName){let be=L(y,K.tagStartPos);return w("InvalidTag","Expected closing tag '"+K.tagName+"' (opened in line "+be.line+", col "+be.col+") instead of closing tag '"+M+"'.",L(y,k))}h.length==0&&(x=!0)}}else{let K=Q(G,p);if(K!==!0)return w(K.err.code,K.err.msg,L(y,N-G.length+K.err.line));if(x===!0)return w("InvalidXml","Multiple possible root nodes found.",L(y,N));p.unpairedTags.indexOf(M)!==-1||h.push({tagName:M,tagStartPos:k}),b=!0}for(N++;N<y.length;N++)if(y[N]==="<"){if(y[N+1]==="!"){N++,N=u(y,N);continue}if(y[N+1]!=="?")break;if(N=A(y,++N),N.err)return N}else if(y[N]==="&"){let K=S(y,N);if(K==-1)return w("InvalidChar","char '&' is not expected.",L(y,N));N=K}else if(x===!0&&!l(y[N]))return w("InvalidXml","Extra text at the end",L(y,N));y[N]==="<"&&N--}}}return b?h.length==1?w("InvalidTag","Unclosed tag '"+h[0].tagName+"'.",L(y,h[0].tagStartPos)):!(h.length>0)||w("InvalidXml","Invalid '"+JSON.stringify(h.map(N=>N.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):w("InvalidXml","Start tag expected.",1)}o(c,"a");function l(y){return y===" "||y===" "||y===`
|
|
`||y==="\r"}o(l,"h");function A(y,p){let h=p;for(;p<y.length;p++)if(y[p]=="?"||y[p]==" "){let b=y.substr(h,p-h);if(p>5&&b==="xml")return w("InvalidXml","XML declaration allowed only at the start of the document.",L(y,p));if(y[p]=="?"&&y[p+1]==">"){p++;break}continue}return p}o(A,"l");function u(y,p){if(y.length>p+5&&y[p+1]==="-"&&y[p+2]==="-"){for(p+=3;p<y.length;p++)if(y[p]==="-"&&y[p+1]==="-"&&y[p+2]===">"){p+=2;break}}else if(y.length>p+8&&y[p+1]==="D"&&y[p+2]==="O"&&y[p+3]==="C"&&y[p+4]==="T"&&y[p+5]==="Y"&&y[p+6]==="P"&&y[p+7]==="E"){let h=1;for(p+=8;p<y.length;p++)if(y[p]==="<")h++;else if(y[p]===">"&&(h--,h===0))break}else if(y.length>p+9&&y[p+1]==="["&&y[p+2]==="C"&&y[p+3]==="D"&&y[p+4]==="A"&&y[p+5]==="T"&&y[p+6]==="A"&&y[p+7]==="["){for(p+=8;p<y.length;p++)if(y[p]==="]"&&y[p+1]==="]"&&y[p+2]===">"){p+=2;break}}return p}o(u,"p");let d='"',f="'";function g(y,p){let h="",b="",x=!1;for(;p<y.length;p++){if(y[p]===d||y[p]===f)b===""?b=y[p]:b!==y[p]||(b="");else if(y[p]===">"&&b===""){x=!0;break}h+=y[p]}return b===""&&{value:h,index:p,tagClosed:x}}o(g,"d");let C=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Q(y,p){let h=i(y,C),b={};for(let x=0;x<h.length;x++){if(h[x][1].length===0)return w("InvalidAttr","Attribute '"+h[x][2]+"' has no space in starting.",W(h[x]));if(h[x][3]!==void 0&&h[x][4]===void 0)return w("InvalidAttr","Attribute '"+h[x][2]+"' is without value.",W(h[x]));if(h[x][3]===void 0&&!p.allowBooleanAttributes)return w("InvalidAttr","boolean attribute '"+h[x][2]+"' is not allowed.",W(h[x]));let N=h[x][2];if(!R(N))return w("InvalidAttr","Attribute '"+N+"' is an invalid name.",W(h[x]));if(Object.prototype.hasOwnProperty.call(b,N))return w("InvalidAttr","Attribute '"+N+"' is repeated.",W(h[x]));b[N]=1}return!0}o(Q,"g");function S(y,p){if(y[++p]===";")return-1;if(y[p]==="#")return function(b,x){let N=/\d/;for(b[x]==="x"&&(x++,N=/[\da-fA-F]/);x<b.length;x++){if(b[x]===";")return x;if(!b[x].match(N))break}return-1}(y,++p);let h=0;for(;p<y.length;p++,h++)if(!(y[p].match(/\w/)&&h<20)){if(y[p]===";")break;return-1}return p}o(S,"m");function w(y,p,h){return{err:{code:y,msg:p,line:h.line||h,col:h.col}}}o(w,"x");function R(y){return s(y)}o(R,"N");function T(y){return s(y)}o(T,"b");function L(y,p){let h=y.substring(0,p).split(/\r?\n/);return{line:h.length,col:h[h.length-1].length+1}}o(L,"E");function W(y){return y.startIndex+y[1].length}o(W,"y");let de={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(y,p){return p},attributeValueProcessor:function(y,p){return p},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(y,p,h){return y},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0};function le(y){return typeof y=="boolean"?{enabled:y,maxEntitySize:1e4,maxExpansionDepth:10,maxTotalExpansions:1e3,maxExpandedLength:1e5,maxEntityCount:100,allowedTags:null,tagFilter:null}:typeof y=="object"&&y!==null?{enabled:y.enabled!==!1,maxEntitySize:y.maxEntitySize??1e4,maxExpansionDepth:y.maxExpansionDepth??10,maxTotalExpansions:y.maxTotalExpansions??1e3,maxExpandedLength:y.maxExpandedLength??1e5,maxEntityCount:y.maxEntityCount??100,allowedTags:y.allowedTags??null,tagFilter:y.tagFilter??null}:le(!0)}o(le,"v");let De=o(function(y){let p=Object.assign({},de,y);return p.processEntities=le(p.processEntities),p.stopNodes&&Array.isArray(p.stopNodes)&&(p.stopNodes=p.stopNodes.map(h=>typeof h=="string"&&h.startsWith("*.")?".."+h.substring(2):h)),p},"T"),Te;Te=typeof Symbol!="function"?"@@xmlMetadata":Symbol("XML Node Metadata");class qe{static{o(this,"S")}constructor(p){this.tagname=p,this.child=[],this[":@"]=Object.create(null)}add(p,h){p==="__proto__"&&(p="#__proto__"),this.child.push({[p]:h})}addChild(p,h){p.tagname==="__proto__"&&(p.tagname="#__proto__"),p[":@"]&&Object.keys(p[":@"]).length>0?this.child.push({[p.tagname]:p.child,":@":p[":@"]}):this.child.push({[p.tagname]:p.child}),h!==void 0&&(this.child[this.child.length-1][Te]={startIndex:h})}static getMetaDataSymbol(){return Te}}class $e{static{o(this,"A")}constructor(p){this.suppressValidationErr=!p,this.options=p}readDocType(p,h){let b=Object.create(null),x=0;if(p[h+3]!=="O"||p[h+4]!=="C"||p[h+5]!=="T"||p[h+6]!=="Y"||p[h+7]!=="P"||p[h+8]!=="E")throw new Error("Invalid Tag instead of DOCTYPE");{h+=9;let N=1,k=!1,_=!1,M="";for(;h<p.length;h++)if(p[h]!=="<"||_)if(p[h]===">"){if(_?p[h-1]==="-"&&p[h-2]==="-"&&(_=!1,N--):N--,N===0)break}else p[h]==="["?k=!0:M+=p[h];else{if(k&&je(p,"!ENTITY",h)){let q,G;if(h+=7,[q,G,h]=this.readEntityExp(p,h+1,this.suppressValidationErr),G.indexOf("&")===-1){if(this.options.enabled!==!1&&this.options.maxEntityCount&&x>=this.options.maxEntityCount)throw new Error(`Entity count (${x+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);let K=q.replace(/[.\-+*:]/g,"\\.");b[q]={regx:RegExp(`&${K};`,"g"),val:G},x++}}else if(k&&je(p,"!ELEMENT",h)){h+=8;let{index:q}=this.readElementExp(p,h+1);h=q}else if(k&&je(p,"!ATTLIST",h))h+=8;else if(k&&je(p,"!NOTATION",h)){h+=9;let{index:q}=this.readNotationExp(p,h+1,this.suppressValidationErr);h=q}else{if(!je(p,"!--",h))throw new Error("Invalid DOCTYPE");_=!0}N++,M=""}if(N!==0)throw new Error("Unclosed DOCTYPE")}return{entities:b,i:h}}readEntityExp(p,h){h=fe(p,h);let b="";for(;h<p.length&&!/\s/.test(p[h])&&p[h]!=='"'&&p[h]!=="'";)b+=p[h],h++;if(Kn(b),h=fe(p,h),!this.suppressValidationErr){if(p.substring(h,h+6).toUpperCase()==="SYSTEM")throw new Error("External entities are not supported");if(p[h]==="%")throw new Error("Parameter entities are not supported")}let x="";if([h,x]=this.readIdentifierVal(p,h,"entity"),this.options.enabled!==!1&&this.options.maxEntitySize&&x.length>this.options.maxEntitySize)throw new Error(`Entity "${b}" size (${x.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[b,x,--h]}readNotationExp(p,h){h=fe(p,h);let b="";for(;h<p.length&&!/\s/.test(p[h]);)b+=p[h],h++;!this.suppressValidationErr&&Kn(b),h=fe(p,h);let x=p.substring(h,h+6).toUpperCase();if(!this.suppressValidationErr&&x!=="SYSTEM"&&x!=="PUBLIC")throw new Error(`Expected SYSTEM or PUBLIC, found "${x}"`);h+=x.length,h=fe(p,h);let N=null,k=null;if(x==="PUBLIC")[h,N]=this.readIdentifierVal(p,h,"publicIdentifier"),p[h=fe(p,h)]!=='"'&&p[h]!=="'"||([h,k]=this.readIdentifierVal(p,h,"systemIdentifier"));else if(x==="SYSTEM"&&([h,k]=this.readIdentifierVal(p,h,"systemIdentifier"),!this.suppressValidationErr&&!k))throw new Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:b,publicIdentifier:N,systemIdentifier:k,index:--h}}readIdentifierVal(p,h,b){let x="",N=p[h];if(N!=='"'&&N!=="'")throw new Error(`Expected quoted string, found "${N}"`);for(h++;h<p.length&&p[h]!==N;)x+=p[h],h++;if(p[h]!==N)throw new Error(`Unterminated ${b} value`);return[++h,x]}readElementExp(p,h){h=fe(p,h);let b="";for(;h<p.length&&!/\s/.test(p[h]);)b+=p[h],h++;if(!this.suppressValidationErr&&!s(b))throw new Error(`Invalid element name: "${b}"`);let x="";if(p[h=fe(p,h)]==="E"&&je(p,"MPTY",h))h+=4;else if(p[h]==="A"&&je(p,"NY",h))h+=2;else if(p[h]==="("){for(h++;h<p.length&&p[h]!==")";)x+=p[h],h++;if(p[h]!==")")throw new Error("Unterminated content model")}else if(!this.suppressValidationErr)throw new Error(`Invalid Element Expression, found "${p[h]}"`);return{elementName:b,contentModel:x.trim(),index:h}}readAttlistExp(p,h){h=fe(p,h);let b="";for(;h<p.length&&!/\s/.test(p[h]);)b+=p[h],h++;Kn(b),h=fe(p,h);let x="";for(;h<p.length&&!/\s/.test(p[h]);)x+=p[h],h++;if(!Kn(x))throw new Error(`Invalid attribute name: "${x}"`);h=fe(p,h);let N="";if(p.substring(h,h+8).toUpperCase()==="NOTATION"){if(N="NOTATION",p[h=fe(p,h+=8)]!=="(")throw new Error(`Expected '(', found "${p[h]}"`);h++;let _=[];for(;h<p.length&&p[h]!==")";){let M="";for(;h<p.length&&p[h]!=="|"&&p[h]!==")";)M+=p[h],h++;if(M=M.trim(),!Kn(M))throw new Error(`Invalid notation name: "${M}"`);_.push(M),p[h]==="|"&&(h++,h=fe(p,h))}if(p[h]!==")")throw new Error("Unterminated list of notations");h++,N+=" ("+_.join("|")+")"}else{for(;h<p.length&&!/\s/.test(p[h]);)N+=p[h],h++;let _=["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"];if(!this.suppressValidationErr&&!_.includes(N.toUpperCase()))throw new Error(`Invalid attribute type: "${N}"`)}h=fe(p,h);let k="";return p.substring(h,h+8).toUpperCase()==="#REQUIRED"?(k="#REQUIRED",h+=8):p.substring(h,h+7).toUpperCase()==="#IMPLIED"?(k="#IMPLIED",h+=7):[h,k]=this.readIdentifierVal(p,h,"ATTLIST"),{elementName:b,attributeName:x,attributeType:N,defaultValue:k,index:h}}}let fe=o((y,p)=>{for(;p<y.length&&/\s/.test(y[p]);)p++;return p},"O");function je(y,p,h){for(let b=0;b<p.length;b++)if(p[b]!==y[h+b+1])return!1;return!0}o(je,"C");function Kn(y){if(s(y))return y;throw new Error(`Invalid entity name ${y}`)}o(Kn,"I");let Pi=/^[-+]?0x[a-fA-F0-9]+$/,Di=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,Vy={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0},Wy=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;class eo{static{o(this,"_")}constructor(p={}){this.separator=p.separator||".",this.path=[],this.siblingStacks=[]}push(p,h=null,b=null){this.path.length>0&&(this.path[this.path.length-1].values=void 0);let x=this.path.length;this.siblingStacks[x]||(this.siblingStacks[x]=new Map);let N=this.siblingStacks[x],k=b?`${b}:${p}`:p,_=N.get(k)||0,M=0;for(let G of N.values())M+=G;N.set(k,_+1);let q={tag:p,position:M,counter:_};b!=null&&(q.namespace=b),h!=null&&(q.values=h),this.path.push(q)}pop(){if(this.path.length===0)return;let p=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),p}updateCurrent(p){if(this.path.length>0){let h=this.path[this.path.length-1];p!=null&&(h.values=p)}}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(p){return this.path.length===0?void 0:this.path[this.path.length-1].values?.[p]}hasAttr(p){if(this.path.length===0)return!1;let h=this.path[this.path.length-1];return h.values!==void 0&&p in h.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(p,h=!0){let b=p||this.separator;return this.path.map(x=>h&&x.namespace?`${x.namespace}:${x.tag}`:x.tag).join(b)}toArray(){return this.path.map(p=>p.tag)}reset(){this.path=[],this.siblingStacks=[]}matches(p){let h=p.segments;return h.length!==0&&(p.hasDeepWildcard()?this._matchWithDeepWildcard(h):this._matchSimple(h))}_matchSimple(p){if(this.path.length!==p.length)return!1;for(let h=0;h<p.length;h++){let b=p[h],x=this.path[h],N=h===this.path.length-1;if(!this._matchSegment(b,x,N))return!1}return!0}_matchWithDeepWildcard(p){let h=this.path.length-1,b=p.length-1;for(;b>=0&&h>=0;){let x=p[b];if(x.type==="deep-wildcard"){if(b--,b<0)return!0;let N=p[b],k=!1;for(let _=h;_>=0;_--){let M=_===this.path.length-1;if(this._matchSegment(N,this.path[_],M)){h=_-1,b--,k=!0;break}}if(!k)return!1}else{let N=h===this.path.length-1;if(!this._matchSegment(x,this.path[h],N))return!1;h--,b--}}return b<0}_matchSegment(p,h,b){if(p.tag!=="*"&&p.tag!==h.tag||p.namespace!==void 0&&p.namespace!=="*"&&p.namespace!==h.namespace)return!1;if(p.attrName!==void 0){if(!b||!h.values||!(p.attrName in h.values))return!1;if(p.attrValue!==void 0){let x=h.values[p.attrName];if(String(x)!==String(p.attrValue))return!1}}if(p.position!==void 0){if(!b)return!1;let x=h.counter??0;if(p.position==="first"&&x!==0||p.position==="odd"&&x%2!=1||p.position==="even"&&x%2!=0||p.position==="nth"&&x!==p.positionValue)return!1}return!0}snapshot(){return{path:this.path.map(p=>({...p})),siblingStacks:this.siblingStacks.map(p=>new Map(p))}}restore(p){this.path=p.path.map(h=>({...h})),this.siblingStacks=p.siblingStacks.map(h=>new Map(h))}}class Ti{static{o(this,"k")}constructor(p,h={}){this.pattern=p,this.separator=h.separator||".",this.segments=this._parse(p),this._hasDeepWildcard=this.segments.some(b=>b.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(b=>b.attrName!==void 0),this._hasPositionSelector=this.segments.some(b=>b.position!==void 0)}_parse(p){let h=[],b=0,x="";for(;b<p.length;)p[b]===this.separator?b+1<p.length&&p[b+1]===this.separator?(x.trim()&&(h.push(this._parseSegment(x.trim())),x=""),h.push({type:"deep-wildcard"}),b+=2):(x.trim()&&h.push(this._parseSegment(x.trim())),x="",b++):(x+=p[b],b++);return x.trim()&&h.push(this._parseSegment(x.trim())),h}_parseSegment(p){let h={type:"tag"},b=null,x=p,N=p.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(N&&(x=N[1]+N[3],N[2])){let G=N[2].slice(1,-1);G&&(b=G)}let k,_,M=x;if(x.includes("::")){let G=x.indexOf("::");if(k=x.substring(0,G).trim(),M=x.substring(G+2).trim(),!k)throw new Error(`Invalid namespace in pattern: ${p}`)}let q=null;if(M.includes(":")){let G=M.lastIndexOf(":"),K=M.substring(0,G).trim(),be=M.substring(G+1).trim();["first","last","odd","even"].includes(be)||/^nth\(\d+\)$/.test(be)?(_=K,q=be):_=M}else _=M;if(!_)throw new Error(`Invalid segment pattern: ${p}`);if(h.tag=_,k&&(h.namespace=k),b)if(b.includes("=")){let G=b.indexOf("=");h.attrName=b.substring(0,G).trim(),h.attrValue=b.substring(G+1).trim()}else h.attrName=b.trim();if(q){let G=q.match(/^nth\((\d+)\)$/);G?(h.position="nth",h.positionValue=parseInt(G[1],10)):h.position=q}return h}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}function ed(y,p){if(!y)return{};let h=p.attributesGroupName?y[p.attributesGroupName]:y;if(!h)return{};let b={};for(let x in h)x.startsWith(p.attributeNamePrefix)?b[x.substring(p.attributeNamePrefix.length)]=h[x]:b[x]=h[x];return b}o(ed,"F");function Tl(y){if(!y||typeof y!="string")return;let p=y.indexOf(":");if(p!==-1&&p>0){let h=y.substring(0,p);if(h!=="xmlns")return h}}o(Tl,"M");class o8{static{o(this,"L")}constructor(p){var h;if(this.options=p,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xA2"},pound:{regex:/&(pound|#163);/g,val:"\xA3"},yen:{regex:/&(yen|#165);/g,val:"\xA5"},euro:{regex:/&(euro|#8364);/g,val:"\u20AC"},copyright:{regex:/&(copy|#169);/g,val:"\xA9"},reg:{regex:/&(reg|#174);/g,val:"\xAE"},inr:{regex:/&(inr|#8377);/g,val:"\u20B9"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(b,x)=>t_(x,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(b,x)=>t_(x,16,"&#x")}},this.addExternalEntities=a8,this.parseXml=d8,this.parseTextData=c8,this.resolveNameSpace=l8,this.buildAttributesMap=u8,this.isItStopNode=m8,this.replaceEntitiesValue=h8,this.readStopNodeData=g8,this.saveTextToParentTag=f8,this.addChild=p8,this.ignoreAttributesFn=typeof(h=this.options.ignoreAttributes)=="function"?h:Array.isArray(h)?b=>{for(let x of h)if(typeof x=="string"&&b===x||x instanceof RegExp&&x.test(b))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.matcher=new eo,this.isCurrentNodeStopNode=!1,this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodeExpressions=[];for(let b=0;b<this.options.stopNodes.length;b++){let x=this.options.stopNodes[b];typeof x=="string"?this.stopNodeExpressions.push(new Ti(x)):x instanceof Ti&&this.stopNodeExpressions.push(x)}}}}function a8(y){let p=Object.keys(y);for(let h=0;h<p.length;h++){let b=p[h],x=b.replace(/[.\-+*:]/g,"\\.");this.lastEntities[b]={regex:new RegExp("&"+x+";","g"),val:y[b]}}}o(a8,"R");function c8(y,p,h,b,x,N,k){if(y!==void 0&&(this.options.trimValues&&!b&&(y=y.trim()),y.length>0)){k||(y=this.replaceEntitiesValue(y,p,h));let _=this.options.jPath?h.toString():h,M=this.options.tagValueProcessor(p,y,_,x,N);return M==null?y:typeof M!=typeof y||M!==y?M:this.options.trimValues||y.trim()===y?e_(y,this.options.parseTagValue,this.options.numberParseOptions):y}}o(c8,"G");function l8(y){if(this.options.removeNSPrefix){let p=y.split(":"),h=y.charAt(0)==="/"?"/":"";if(p[0]==="xmlns")return"";p.length===2&&(y=h+p[1])}return y}o(l8,"B");let A8=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function u8(y,p,h){if(this.options.ignoreAttributes!==!0&&typeof y=="string"){let b=i(y,A8),x=b.length,N={},k={};for(let _=0;_<x;_++){let M=this.resolveNameSpace(b[_][1]),q=b[_][4];if(M.length&&q!==void 0){let G=q;this.options.trimValues&&(G=G.trim()),G=this.replaceEntitiesValue(G,h,p),k[M]=G}}Object.keys(k).length>0&&typeof p=="object"&&p.updateCurrent&&p.updateCurrent(k);for(let _=0;_<x;_++){let M=this.resolveNameSpace(b[_][1]),q=this.options.jPath?p.toString():p;if(this.ignoreAttributesFn(M,q))continue;let G=b[_][4],K=this.options.attributeNamePrefix+M;if(M.length)if(this.options.transformAttributeName&&(K=this.options.transformAttributeName(K)),K==="__proto__"&&(K="#__proto__"),G!==void 0){this.options.trimValues&&(G=G.trim()),G=this.replaceEntitiesValue(G,h,p);let be=this.options.jPath?p.toString():p,ye=this.options.attributeValueProcessor(M,G,be);N[K]=ye==null?G:typeof ye!=typeof G||ye!==G?ye:e_(G,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(N[K]=!0)}if(!Object.keys(N).length)return;if(this.options.attributesGroupName){let _={};return _[this.options.attributesGroupName]=N,_}return N}}o(u8,"W");let d8=o(function(y){y=y.replace(/\r\n?/g,`
|
|
`);let p=new qe("!xml"),h=p,b="";this.matcher.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let x=new $e(this.options.processEntities);for(let N=0;N<y.length;N++)if(y[N]==="<")if(y[N+1]==="/"){let k=to(y,">",N,"Closing Tag is not closed."),_=y.substring(N+2,k).trim();if(this.options.removeNSPrefix){let q=_.indexOf(":");q!==-1&&(_=_.substr(q+1))}this.options.transformTagName&&(_=this.options.transformTagName(_)),h&&(b=this.saveTextToParentTag(b,h,this.matcher));let M=this.matcher.getCurrentTag();if(_&&this.options.unpairedTags.indexOf(_)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${_}>`);M&&this.options.unpairedTags.indexOf(M)!==-1&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,h=this.tagsNodeStack.pop(),b="",N=k}else if(y[N+1]==="?"){let k=Ky(y,N,!1,"?>");if(!k)throw new Error("Pi Tag is not closed.");if(b=this.saveTextToParentTag(b,h,this.matcher),!(this.options.ignoreDeclaration&&k.tagName==="?xml"||this.options.ignorePiTags)){let _=new qe(k.tagName);_.add(this.options.textNodeName,""),k.tagName!==k.tagExp&&k.attrExpPresent&&(_[":@"]=this.buildAttributesMap(k.tagExp,this.matcher,k.tagName)),this.addChild(h,_,this.matcher,N)}N=k.closeIndex+1}else if(y.substr(N+1,3)==="!--"){let k=to(y,"-->",N+4,"Comment is not closed.");if(this.options.commentPropName){let _=y.substring(N+4,k-2);b=this.saveTextToParentTag(b,h,this.matcher),h.add(this.options.commentPropName,[{[this.options.textNodeName]:_}])}N=k}else if(y.substr(N+1,2)==="!D"){let k=x.readDocType(y,N);this.docTypeEntities=k.entities,N=k.i}else if(y.substr(N+1,2)==="!["){let k=to(y,"]]>",N,"CDATA is not closed.")-2,_=y.substring(N+9,k);b=this.saveTextToParentTag(b,h,this.matcher);let M=this.parseTextData(_,h.tagname,this.matcher,!0,!1,!0,!0);M==null&&(M=""),this.options.cdataPropName?h.add(this.options.cdataPropName,[{[this.options.textNodeName]:_}]):h.add(this.options.textNodeName,M),N=k+2}else{let k=Ky(y,N,this.options.removeNSPrefix);if(!k){let Gt=y.substring(Math.max(0,N-50),Math.min(y.length,N+50));throw new Error(`readTagExp returned undefined at position ${N}. Context: "${Gt}"`)}let _=k.tagName,M=k.rawTagName,q=k.tagExp,G=k.attrExpPresent,K=k.closeIndex;if(this.options.transformTagName){let Gt=this.options.transformTagName(_);q===_&&(q=Gt),_=Gt}if(this.options.strictReservedNames&&(_===this.options.commentPropName||_===this.options.cdataPropName))throw new Error(`Invalid tag name: ${_}`);h&&b&&h.tagname!=="!xml"&&(b=this.saveTextToParentTag(b,h,this.matcher,!1));let be=h;be&&this.options.unpairedTags.indexOf(be.tagname)!==-1&&(h=this.tagsNodeStack.pop(),this.matcher.pop());let ye=!1;q.length>0&&q.lastIndexOf("/")===q.length-1&&(ye=!0,_[_.length-1]==="/"?(_=_.substr(0,_.length-1),q=_):q=q.substr(0,q.length-1),G=_!==q);let Qe,_e=null,$n={};Qe=Tl(M),_!==p.tagname&&this.matcher.push(_,{},Qe),_!==q&&G&&(_e=this.buildAttributesMap(q,this.matcher,_),_e&&($n=ed(_e,this.options))),_!==p.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode(this.stopNodeExpressions,this.matcher));let Mt=N;if(this.isCurrentNodeStopNode){let Gt="";if(ye)N=k.closeIndex;else if(this.options.unpairedTags.indexOf(_)!==-1)N=k.closeIndex;else{let Zy=this.readStopNodeData(y,M,K+1);if(!Zy)throw new Error(`Unexpected end of ${M}`);N=Zy.i,Gt=Zy.tagContent}let ca=new qe(_);_e&&(ca[":@"]=_e),ca.add(this.options.textNodeName,Gt),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(h,ca,this.matcher,Mt)}else{if(ye){if(this.options.transformTagName){let ca=this.options.transformTagName(_);q===_&&(q=ca),_=ca}let Gt=new qe(_);_e&&(Gt[":@"]=_e),this.addChild(h,Gt,this.matcher,Mt),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else{if(this.options.unpairedTags.indexOf(_)!==-1){let Gt=new qe(_);_e&&(Gt[":@"]=_e),this.addChild(h,Gt,this.matcher,Mt),this.matcher.pop(),this.isCurrentNodeStopNode=!1,N=k.closeIndex;continue}{let Gt=new qe(_);if(this.tagsNodeStack.length>this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(h),_e&&(Gt[":@"]=_e),this.addChild(h,Gt,this.matcher,Mt),h=Gt}}b="",N=K}}else b+=y[N];return p.child},"Y");function p8(y,p,h,b){this.options.captureMetaData||(b=void 0);let x=this.options.jPath?h.toString():h,N=this.options.updateTag(p.tagname,x,p[":@"]);N===!1||(typeof N=="string"&&(p.tagname=N),y.addChild(p,b))}o(p8,"X");function h8(y,p,h){let b=this.options.processEntities;if(!b||!b.enabled)return y;if(b.allowedTags){let x=this.options.jPath?h.toString():h;if(!(Array.isArray(b.allowedTags)?b.allowedTags.includes(p):b.allowedTags(p,x)))return y}if(b.tagFilter){let x=this.options.jPath?h.toString():h;if(!b.tagFilter(p,x))return y}for(let x in this.docTypeEntities){let N=this.docTypeEntities[x],k=y.match(N.regx);if(k){if(this.entityExpansionCount+=k.length,b.maxTotalExpansions&&this.entityExpansionCount>b.maxTotalExpansions)throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${b.maxTotalExpansions}`);let _=y.length;if(y=y.replace(N.regx,N.val),b.maxExpandedLength&&(this.currentExpandedLength+=y.length-_,this.currentExpandedLength>b.maxExpandedLength))throw new Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${b.maxExpandedLength}`)}}if(y.indexOf("&")===-1)return y;for(let x in this.lastEntities){let N=this.lastEntities[x];y=y.replace(N.regex,N.val)}if(y.indexOf("&")===-1)return y;if(this.options.htmlEntities)for(let x in this.htmlEntities){let N=this.htmlEntities[x];y=y.replace(N.regex,N.val)}return y.replace(this.ampEntity.regex,this.ampEntity.val)}o(h8,"z");function f8(y,p,h,b){return y&&(b===void 0&&(b=p.child.length===0),(y=this.parseTextData(y,p.tagname,h,!1,!!p[":@"]&&Object.keys(p[":@"]).length!==0,b))!==void 0&&y!==""&&p.add(this.options.textNodeName,y),y=""),y}o(f8,"q");function m8(y,p){if(!y||y.length===0)return!1;for(let h=0;h<y.length;h++)if(p.matches(y[h]))return!0;return!1}o(m8,"Z");function to(y,p,h,b){let x=y.indexOf(p,h);if(x===-1)throw new Error(b);return x+p.length-1}o(to,"K");function Ky(y,p,h,b=">"){let x=function(K,be,ye=">"){let Qe,_e="";for(let $n=be;$n<K.length;$n++){let Mt=K[$n];if(Qe)Mt===Qe&&(Qe="");else if(Mt==='"'||Mt==="'")Qe=Mt;else if(Mt===ye[0]){if(!ye[1])return{data:_e,index:$n};if(K[$n+1]===ye[1])return{data:_e,index:$n}}else Mt===" "&&(Mt=" ");_e+=Mt}}(y,p+1,b);if(!x)return;let N=x.data,k=x.index,_=N.search(/\s/),M=N,q=!0;_!==-1&&(M=N.substring(0,_),N=N.substring(_+1).trimStart());let G=M;if(h){let K=M.indexOf(":");K!==-1&&(M=M.substr(K+1),q=M!==x.data.substr(K+1))}return{tagName:M,tagExp:N,closeIndex:k,attrExpPresent:q,rawTagName:G}}o(Ky,"Q");function g8(y,p,h){let b=h,x=1;for(;h<y.length;h++)if(y[h]==="<")if(y[h+1]==="/"){let N=to(y,">",h,`${p} is not closed`);if(y.substring(h+2,N).trim()===p&&(x--,x===0))return{tagContent:y.substring(b,h),i:N};h=N}else if(y[h+1]==="?")h=to(y,"?>",h+1,"StopNode is not closed.");else if(y.substr(h+1,3)==="!--")h=to(y,"-->",h+3,"StopNode is not closed.");else if(y.substr(h+1,2)==="![")h=to(y,"]]>",h,"StopNode is not closed.")-2;else{let N=Ky(y,h,">");N&&((N&&N.tagName)===p&&N.tagExp[N.tagExp.length-1]!=="/"&&x++,h=N.closeIndex)}}o(g8,"J");function e_(y,p,h){if(p&&typeof y=="string"){let b=y.trim();return b==="true"||b!=="false"&&function(x,N={}){if(N=Object.assign({},Vy,N),!x||typeof x!="string")return x;let k=x.trim();if(N.skipLike!==void 0&&N.skipLike.test(k))return x;if(x==="0")return 0;if(N.hex&&Pi.test(k))return function(M){if(parseInt)return parseInt(M,16);if(Number.parseInt)return Number.parseInt(M,16);if(window&&window.parseInt)return window.parseInt(M,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(k);if(k.includes("e")||k.includes("E"))return function(M,q,G){if(!G.eNotation)return M;let K=q.match(Wy);if(K){let be=K[1]||"",ye=K[3].indexOf("e")===-1?"E":"e",Qe=K[2],_e=be?M[Qe.length+1]===ye:M[Qe.length]===ye;return Qe.length>1&&_e?M:Qe.length!==1||!K[3].startsWith(`.${ye}`)&&K[3][0]!==ye?G.leadingZeros&&!_e?(q=(K[1]||"")+K[3],Number(q)):M:Number(q)}return M}(x,k,N);{let M=Di.exec(k);if(M){let q=M[1]||"",G=M[2],K=((_=M[3])&&_.indexOf(".")!==-1&&((_=_.replace(/0+$/,""))==="."?_="0":_[0]==="."?_="0"+_:_[_.length-1]==="."&&(_=_.substring(0,_.length-1))),_),be=q?x[G.length+1]===".":x[G.length]===".";if(!N.leadingZeros&&(G.length>1||G.length===1&&!be))return x;{let ye=Number(k),Qe=String(ye);if(ye===0)return ye;if(Qe.search(/[eE]/)!==-1)return N.eNotation?ye:x;if(k.indexOf(".")!==-1)return Qe==="0"||Qe===K||Qe===`${q}${K}`?ye:x;let _e=G?K:k;return G?_e===Qe||q+_e===Qe?ye:x:_e===Qe||_e===q+Qe?ye:x}}return x}var _}(y,h)}return y!==void 0?y:""}o(e_,"H");function t_(y,p,h){let b=Number.parseInt(y,p);return b>=0&&b<=1114111?String.fromCodePoint(b):h+y+";"}o(t_,"tt");let $y=qe.getMetaDataSymbol();function y8(y,p){if(!y||typeof y!="object")return{};if(!p)return y;let h={};for(let b in y)b.startsWith(p)?h[b.substring(p.length)]=y[b]:h[b]=y[b];return h}o(y8,"it");function C8(y,p,h){return r_(y,p,h)}o(C8,"nt");function r_(y,p,h){let b,x={};for(let N=0;N<y.length;N++){let k=y[N],_=E8(k);if(_!==void 0&&_!==p.textNodeName){let M=y8(k[":@"]||{},p.attributeNamePrefix);h.push(_,M)}if(_===p.textNodeName)b===void 0?b=k[_]:b+=""+k[_];else{if(_===void 0)continue;if(k[_]){let M=r_(k[_],p,h),q=I8(M,p);if(k[":@"]?B8(M,k[":@"],h,p):Object.keys(M).length!==1||M[p.textNodeName]===void 0||p.alwaysCreateTextNode?Object.keys(M).length===0&&(p.alwaysCreateTextNode?M[p.textNodeName]="":M=""):M=M[p.textNodeName],k[$y]!==void 0&&typeof M=="object"&&M!==null&&(M[$y]=k[$y]),x[_]!==void 0&&Object.prototype.hasOwnProperty.call(x,_))Array.isArray(x[_])||(x[_]=[x[_]]),x[_].push(M);else{let G=p.jPath?h.toString():h;p.isArray(_,G,q)?x[_]=[M]:x[_]=M}_!==void 0&&_!==p.textNodeName&&h.pop()}}}return typeof b=="string"?b.length>0&&(x[p.textNodeName]=b):b!==void 0&&(x[p.textNodeName]=b),x}o(r_,"st");function E8(y){let p=Object.keys(y);for(let h=0;h<p.length;h++){let b=p[h];if(b!==":@")return b}}o(E8,"rt");function B8(y,p,h,b){if(p){let x=Object.keys(p),N=x.length;for(let k=0;k<N;k++){let _=x[k],M=_.startsWith(b.attributeNamePrefix)?_.substring(b.attributeNamePrefix.length):_,q=b.jPath?h.toString()+"."+M:h;b.isArray(_,q,!0,!0)?y[_]=[p[_]]:y[_]=p[_]}}}o(B8,"ot");function I8(y,p){let{textNodeName:h}=p,b=Object.keys(y).length;return b===0||!(b!==1||!y[h]&&typeof y[h]!="boolean"&&y[h]!==0)}o(I8,"at");class b8{static{o(this,"ht")}constructor(p){this.externalEntities={},this.options=De(p)}parse(p,h){if(typeof p!="string"&&p.toString)p=p.toString();else if(typeof p!="string")throw new Error("XML data is accepted in String or Bytes[] form.");if(h){h===!0&&(h={});let N=c(p,h);if(N!==!0)throw Error(`${N.err.msg}:${N.err.line}:${N.err.col}`)}let b=new o8(this.options);b.addExternalEntities(this.externalEntities);let x=b.parseXml(p);return this.options.preserveOrder||x===void 0?x:C8(x,this.options,b.matcher)}addEntity(p,h){if(h.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(p.indexOf("&")!==-1||p.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if(h==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[p]=h}static getMetaDataSymbol(){return qe.getMetaDataSymbol()}}function Q8(y,p){let h="";p.format&&p.indentBy.length>0&&(h=`
|
|
`);let b=[];if(p.stopNodes&&Array.isArray(p.stopNodes))for(let x=0;x<p.stopNodes.length;x++){let N=p.stopNodes[x];typeof N=="string"?b.push(new Ti(N)):N instanceof Ti&&b.push(N)}return n_(y,p,h,new eo,b)}o(Q8,"lt");function n_(y,p,h,b,x){let N="",k=!1;if(!Array.isArray(y)){if(y!=null){let _=y.toString();return _=Xy(_,p),_}return""}for(let _=0;_<y.length;_++){let M=y[_],q=s_(M);if(q===void 0)continue;let G=w8(M[":@"],p);b.push(q,G);let K=x8(b,x);if(q===p.textNodeName){let _e=M[q];K||(_e=p.tagValueProcessor(q,_e),_e=Xy(_e,p)),k&&(N+=h),N+=_e,k=!1,b.pop();continue}if(q===p.cdataPropName){k&&(N+=h),N+=`<![CDATA[${M[q][0][p.textNodeName]}]]>`,k=!1,b.pop();continue}if(q===p.commentPropName){N+=h+`<!--${M[q][0][p.textNodeName]}-->`,k=!0,b.pop();continue}if(q[0]==="?"){let _e=o_(M[":@"],p,K),$n=q==="?xml"?"":h,Mt=M[q][0][p.textNodeName];Mt=Mt.length!==0?" "+Mt:"",N+=$n+`<${q}${Mt}${_e}?>`,k=!0,b.pop();continue}let be=h;be!==""&&(be+=p.indentBy);let ye=h+`<${q}${o_(M[":@"],p,K)}`,Qe;Qe=K?i_(M[q],p):n_(M[q],p,be,b,x),p.unpairedTags.indexOf(q)!==-1?p.suppressUnpairedNode?N+=ye+">":N+=ye+"/>":Qe&&Qe.length!==0||!p.suppressEmptyNode?Qe&&Qe.endsWith(">")?N+=ye+`>${Qe}${h}</${q}>`:(N+=ye+">",Qe&&h!==""&&(Qe.includes("/>")||Qe.includes("</"))?N+=h+p.indentBy+Qe+h:N+=Qe,N+=`</${q}>`):N+=ye+"/>",k=!0,b.pop()}return N}o(n_,"pt");function w8(y,p){if(!y||p.ignoreAttributes)return null;let h={},b=!1;for(let x in y)Object.prototype.hasOwnProperty.call(y,x)&&(h[x.startsWith(p.attributeNamePrefix)?x.substr(p.attributeNamePrefix.length):x]=y[x],b=!0);return b?h:null}o(w8,"ut");function i_(y,p){if(!Array.isArray(y))return y!=null?y.toString():"";let h="";for(let b=0;b<y.length;b++){let x=y[b],N=s_(x);if(N===p.textNodeName)h+=x[N];else if(N===p.cdataPropName)h+=x[N][0][p.textNodeName];else if(N===p.commentPropName)h+=x[N][0][p.textNodeName];else{if(N&&N[0]==="?")continue;if(N){let k=N8(x[":@"],p),_=i_(x[N],p);_&&_.length!==0?h+=`<${N}${k}>${_}</${N}>`:h+=`<${N}${k}/>`}}}return h}o(i_,"ct");function N8(y,p){let h="";if(y&&!p.ignoreAttributes)for(let b in y){if(!Object.prototype.hasOwnProperty.call(y,b))continue;let x=y[b];x===!0&&p.suppressBooleanAttributes?h+=` ${b.substr(p.attributeNamePrefix.length)}`:h+=` ${b.substr(p.attributeNamePrefix.length)}="${x}"`}return h}o(N8,"dt");function s_(y){let p=Object.keys(y);for(let h=0;h<p.length;h++){let b=p[h];if(Object.prototype.hasOwnProperty.call(y,b)&&b!==":@")return b}}o(s_,"ft");function o_(y,p,h){let b="";if(y&&!p.ignoreAttributes)for(let x in y){if(!Object.prototype.hasOwnProperty.call(y,x))continue;let N;h?N=y[x]:(N=p.attributeValueProcessor(x,y[x]),N=Xy(N,p)),N===!0&&p.suppressBooleanAttributes?b+=` ${x.substr(p.attributeNamePrefix.length)}`:b+=` ${x.substr(p.attributeNamePrefix.length)}="${N}"`}return b}o(o_,"gt");function x8(y,p){if(!p||p.length===0)return!1;for(let h=0;h<p.length;h++)if(y.matches(p[h]))return!0;return!1}o(x8,"mt");function Xy(y,p){if(y&&y.length>0&&p.processEntities)for(let h=0;h<p.entities.length;h++){let b=p.entities[h];y=y.replace(b.regex,b.val)}return y}o(Xy,"xt");let S8={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(y,p){return p},attributeValueProcessor:function(y,p){return p},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,jPath:!0};function sn(y){if(this.options=Object.assign({},S8,y),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(h=>typeof h=="string"&&h.startsWith("*.")?".."+h.substring(2):h)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let h=0;h<this.options.stopNodes.length;h++){let b=this.options.stopNodes[h];typeof b=="string"?this.stopNodeExpressions.push(new Ti(b)):b instanceof Ti&&this.stopNodeExpressions.push(b)}var p;this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=typeof(p=this.options.ignoreAttributes)=="function"?p:Array.isArray(p)?h=>{for(let b of p)if(typeof b=="string"&&h===b||b instanceof RegExp&&b.test(h))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=v8),this.processTextOrObjNode=R8,this.options.format?(this.indentate=_8,this.tagEndChar=`>
|
|
`,this.newLine=`
|
|
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(sn,"bt");function R8(y,p,h,b){let x=this.extractAttributes(y);if(b.push(p,x),this.checkStopNode(b)){let k=this.buildRawContent(y),_=this.buildAttributesForStopNode(y);return b.pop(),this.buildObjectNode(k,p,_,h)}let N=this.j2x(y,h+1,b);return b.pop(),y[this.options.textNodeName]!==void 0&&Object.keys(y).length===1?this.buildTextValNode(y[this.options.textNodeName],p,N.attrStr,h,b):this.buildObjectNode(N.val,p,N.attrStr,h)}o(R8,"Et");function _8(y){return this.options.indentBy.repeat(y)}o(_8,"yt");function v8(y){return!(!y.startsWith(this.options.attributeNamePrefix)||y===this.options.textNodeName)&&y.substr(this.attrPrefixLen)}o(v8,"wt"),sn.prototype.build=function(y){if(this.options.preserveOrder)return Q8(y,this.options);{Array.isArray(y)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(y={[this.options.arrayNodeName]:y});let p=new eo;return this.j2x(y,0,p).val}},sn.prototype.j2x=function(y,p,h){let b="",x="",N=this.options.jPath?h.toString():h,k=this.checkStopNode(h);for(let _ in y)if(Object.prototype.hasOwnProperty.call(y,_))if(y[_]===void 0)this.isAttribute(_)&&(x+="");else if(y[_]===null)this.isAttribute(_)||_===this.options.cdataPropName?x+="":_[0]==="?"?x+=this.indentate(p)+"<"+_+"?"+this.tagEndChar:x+=this.indentate(p)+"<"+_+"/"+this.tagEndChar;else if(y[_]instanceof Date)x+=this.buildTextValNode(y[_],_,"",p,h);else if(typeof y[_]!="object"){let M=this.isAttribute(_);if(M&&!this.ignoreAttributesFn(M,N))b+=this.buildAttrPairStr(M,""+y[_],k);else if(!M)if(_===this.options.textNodeName){let q=this.options.tagValueProcessor(_,""+y[_]);x+=this.replaceEntitiesValue(q)}else{h.push(_);let q=this.checkStopNode(h);if(h.pop(),q){let G=""+y[_];x+=G===""?this.indentate(p)+"<"+_+this.closeTag(_)+this.tagEndChar:this.indentate(p)+"<"+_+">"+G+"</"+_+this.tagEndChar}else x+=this.buildTextValNode(y[_],_,"",p,h)}}else if(Array.isArray(y[_])){let M=y[_].length,q="",G="";for(let K=0;K<M;K++){let be=y[_][K];if(be!==void 0)if(be===null)_[0]==="?"?x+=this.indentate(p)+"<"+_+"?"+this.tagEndChar:x+=this.indentate(p)+"<"+_+"/"+this.tagEndChar;else if(typeof be=="object")if(this.options.oneListGroup){h.push(_);let ye=this.j2x(be,p+1,h);h.pop(),q+=ye.val,this.options.attributesGroupName&&be.hasOwnProperty(this.options.attributesGroupName)&&(G+=ye.attrStr)}else q+=this.processTextOrObjNode(be,_,p,h);else if(this.options.oneListGroup){let ye=this.options.tagValueProcessor(_,be);ye=this.replaceEntitiesValue(ye),q+=ye}else{h.push(_);let ye=this.checkStopNode(h);if(h.pop(),ye){let Qe=""+be;q+=Qe===""?this.indentate(p)+"<"+_+this.closeTag(_)+this.tagEndChar:this.indentate(p)+"<"+_+">"+Qe+"</"+_+this.tagEndChar}else q+=this.buildTextValNode(be,_,"",p,h)}}this.options.oneListGroup&&(q=this.buildObjectNode(q,_,G,p)),x+=q}else if(this.options.attributesGroupName&&_===this.options.attributesGroupName){let M=Object.keys(y[_]),q=M.length;for(let G=0;G<q;G++)b+=this.buildAttrPairStr(M[G],""+y[_][M[G]],k)}else x+=this.processTextOrObjNode(y[_],_,p,h);return{attrStr:b,val:x}},sn.prototype.buildAttrPairStr=function(y,p,h){return h||(p=this.options.attributeValueProcessor(y,""+p),p=this.replaceEntitiesValue(p)),this.options.suppressBooleanAttributes&&p==="true"?" "+y:" "+y+'="'+p+'"'},sn.prototype.extractAttributes=function(y){if(!y||typeof y!="object")return null;let p={},h=!1;if(this.options.attributesGroupName&&y[this.options.attributesGroupName]){let b=y[this.options.attributesGroupName];for(let x in b)Object.prototype.hasOwnProperty.call(b,x)&&(p[x.startsWith(this.options.attributeNamePrefix)?x.substring(this.options.attributeNamePrefix.length):x]=b[x],h=!0)}else for(let b in y){if(!Object.prototype.hasOwnProperty.call(y,b))continue;let x=this.isAttribute(b);x&&(p[x]=y[b],h=!0)}return h?p:null},sn.prototype.buildRawContent=function(y){if(typeof y=="string")return y;if(typeof y!="object"||y===null)return String(y);if(y[this.options.textNodeName]!==void 0)return y[this.options.textNodeName];let p="";for(let h in y){if(!Object.prototype.hasOwnProperty.call(y,h)||this.isAttribute(h)||this.options.attributesGroupName&&h===this.options.attributesGroupName)continue;let b=y[h];if(h===this.options.textNodeName)p+=b;else if(Array.isArray(b)){for(let x of b)if(typeof x=="string"||typeof x=="number")p+=`<${h}>${x}</${h}>`;else if(typeof x=="object"&&x!==null){let N=this.buildRawContent(x),k=this.buildAttributesForStopNode(x);p+=N===""?`<${h}${k}/>`:`<${h}${k}>${N}</${h}>`}}else if(typeof b=="object"&&b!==null){let x=this.buildRawContent(b),N=this.buildAttributesForStopNode(b);p+=x===""?`<${h}${N}/>`:`<${h}${N}>${x}</${h}>`}else p+=`<${h}>${b}</${h}>`}return p},sn.prototype.buildAttributesForStopNode=function(y){if(!y||typeof y!="object")return"";let p="";if(this.options.attributesGroupName&&y[this.options.attributesGroupName]){let h=y[this.options.attributesGroupName];for(let b in h){if(!Object.prototype.hasOwnProperty.call(h,b))continue;let x=b.startsWith(this.options.attributeNamePrefix)?b.substring(this.options.attributeNamePrefix.length):b,N=h[b];N===!0&&this.options.suppressBooleanAttributes?p+=" "+x:p+=" "+x+'="'+N+'"'}}else for(let h in y){if(!Object.prototype.hasOwnProperty.call(y,h))continue;let b=this.isAttribute(h);if(b){let x=y[h];x===!0&&this.options.suppressBooleanAttributes?p+=" "+b:p+=" "+b+'="'+x+'"'}}return p},sn.prototype.buildObjectNode=function(y,p,h,b){if(y==="")return p[0]==="?"?this.indentate(b)+"<"+p+h+"?"+this.tagEndChar:this.indentate(b)+"<"+p+h+this.closeTag(p)+this.tagEndChar;{let x="</"+p+this.tagEndChar,N="";return p[0]==="?"&&(N="?",x=""),!h&&h!==""||y.indexOf("<")!==-1?this.options.commentPropName!==!1&&p===this.options.commentPropName&&N.length===0?this.indentate(b)+`<!--${y}-->`+this.newLine:this.indentate(b)+"<"+p+h+N+this.tagEndChar+y+this.indentate(b)+x:this.indentate(b)+"<"+p+h+N+">"+y+x}},sn.prototype.closeTag=function(y){let p="";return this.options.unpairedTags.indexOf(y)!==-1?this.options.suppressUnpairedNode||(p="/"):p=this.options.suppressEmptyNode?"/":`></${y}`,p},sn.prototype.checkStopNode=function(y){if(!this.stopNodeExpressions||this.stopNodeExpressions.length===0)return!1;for(let p=0;p<this.stopNodeExpressions.length;p++)if(y.matches(this.stopNodeExpressions[p]))return!0;return!1},sn.prototype.buildTextValNode=function(y,p,h,b,x){if(this.options.cdataPropName!==!1&&p===this.options.cdataPropName)return this.indentate(b)+`<![CDATA[${y}]]>`+this.newLine;if(this.options.commentPropName!==!1&&p===this.options.commentPropName)return this.indentate(b)+`<!--${y}-->`+this.newLine;if(p[0]==="?")return this.indentate(b)+"<"+p+h+"?"+this.tagEndChar;{let N=this.options.tagValueProcessor(p,y);return N=this.replaceEntitiesValue(N),N===""?this.indentate(b)+"<"+p+h+this.closeTag(p)+this.tagEndChar:this.indentate(b)+"<"+p+h+">"+N+"</"+p+this.tagEndChar}},sn.prototype.replaceEntitiesValue=function(y){if(y&&y.length>0&&this.options.processEntities)for(let p=0;p<this.options.entities.length;p++){let h=this.options.entities[p];y=y.replace(h.regex,h.val)}return y};let P8=sn,D8={validate:c};xV.exports=e})()});var i0=m(kc=>{"use strict";Object.defineProperty(kc,"__esModule",{value:!0});kc.XML_CHARKEY=kc.XML_ATTRKEY=void 0;kc.XML_ATTRKEY="$";kc.XML_CHARKEY="_"});var vV=m(jf=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});jf.stringifyXML=G_e;jf.parseXML=Y_e;var s0=SV(),RV=i0();function _V(t){var e;return{attributesGroupName:RV.XML_ATTRKEY,textNodeName:(e=t.xmlCharKey)!==null&&e!==void 0?e:RV.XML_CHARKEY,ignoreAttributes:!1,suppressBooleanAttributes:!1}}o(_V,"getCommonOptions");function z_e(t={}){var e,r;return Object.assign(Object.assign({},_V(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(z_e,"getSerializerOptions");function j_e(t={}){return Object.assign(Object.assign({},_V(t)),{parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:t.stopNodes,processEntities:!0,trimValues:!1})}o(j_e,"getParserOptions");function G_e(t,e={}){let r=z_e(e),n=new s0.XMLBuilder(r),i={[r.rootNodeName]:t};return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${n.build(i)}`.replace(/\n/g,"")}o(G_e,"stringifyXML");async function Y_e(t,e={}){if(!t)throw new Error("Document is empty");let r=s0.XMLValidator.validate(t);if(r!==!0)throw r;let i=new s0.XMLParser(j_e(e)).parse(t);if(i["?xml"]&&delete i["?xml"],!e.includeRoot)for(let s of Object.keys(i)){let a=i[s];return typeof a=="object"?Object.assign({},a):a}return i}o(Y_e,"parseXML")});var o0=m(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.XML_CHARKEY=mi.XML_ATTRKEY=mi.parseXML=mi.stringifyXML=void 0;var PV=vV();Object.defineProperty(mi,"stringifyXML",{enumerable:!0,get:function(){return PV.stringifyXML}});Object.defineProperty(mi,"parseXML",{enumerable:!0,get:function(){return PV.parseXML}});var DV=i0();Object.defineProperty(mi,"XML_ATTRKEY",{enumerable:!0,get:function(){return DV.XML_ATTRKEY}});Object.defineProperty(mi,"XML_CHARKEY",{enumerable:!0,get:function(){return DV.XML_CHARKEY}})});var Yf=m(Gf=>{"use strict";Object.defineProperty(Gf,"__esModule",{value:!0});Gf.logger=void 0;var J_e=xc();Gf.logger=(0,J_e.createClientLogger)("storage-blob")});var A0={};rd(A0,{__addDisposableResource:()=>iW,__assign:()=>Jf,__asyncDelegator:()=>KV,__asyncGenerator:()=>WV,__asyncValues:()=>$V,__await:()=>Lc,__awaiter:()=>zV,__classPrivateFieldGet:()=>tW,__classPrivateFieldIn:()=>nW,__classPrivateFieldSet:()=>rW,__createBinding:()=>Wf,__decorate:()=>MV,__disposeResources:()=>sW,__esDecorate:()=>LV,__exportStar:()=>GV,__extends:()=>TV,__generator:()=>jV,__importDefault:()=>eW,__importStar:()=>ZV,__makeTemplateObject:()=>XV,__metadata:()=>HV,__param:()=>kV,__propKey:()=>FV,__read:()=>l0,__rest:()=>OV,__rewriteRelativeImportExtension:()=>oW,__runInitializers:()=>UV,__setFunctionName:()=>qV,__spread:()=>YV,__spreadArray:()=>VV,__spreadArrays:()=>JV,__values:()=>Vf,default:()=>K_e});function TV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");a0(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function OV(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function MV(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function kV(t,e){return function(r,n){e(r,n,t)}}function LV(t,e,r,n,i,s){function a(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}o(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,f=!1,g=r.length-1;g>=0;g--){var C={};for(var Q in n)C[Q]=Q==="access"?{}:n[Q];for(var Q in n.access)C.access[Q]=n.access[Q];C.addInitializer=function(w){if(f)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(w||null))};var S=(0,r[g])(c==="accessor"?{get:u.get,set:u.set}:u[l],C);if(c==="accessor"){if(S===void 0)continue;if(S===null||typeof S!="object")throw new TypeError("Object expected");(d=a(S.get))&&(u.get=d),(d=a(S.set))&&(u.set=d),(d=a(S.init))&&i.unshift(d)}else(d=a(S))&&(c==="field"?i.unshift(d):u[l]=d)}A&&Object.defineProperty(A,n.name,u),f=!0}function UV(t,e,r){for(var n=arguments.length>2,i=0;i<e.length;i++)r=n?e[i].call(t,r):e[i].call(t);return n?r:void 0}function FV(t){return typeof t=="symbol"?t:"".concat(t)}function qV(t,e,r){return typeof e=="symbol"&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function HV(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function zV(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})}function jV(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=c(0),a.throw=c(1),a.return=c(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(A){return function(u){return l([A,u])}}function l(A){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,A[0]&&(r=0)),r;)try{if(n=1,i&&(s=A[0]&2?i.return:A[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,A[1])).done)return s;switch(i=0,s&&(A=[A[0]&2,s.value]),A[0]){case 0:case 1:s=A;break;case 4:return r.label++,{value:A[1],done:!1};case 5:r.label++,i=A[1],A=[0];continue;case 7:A=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!s||A[1]>s[0]&&A[1]<s[3])){r.label=A[1];break}if(A[0]===6&&r.label<s[1]){r.label=s[1],s=A;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(A);break}s[2]&&r.ops.pop(),r.trys.pop();continue}A=e.call(t,r)}catch(u){A=[6,u],i=0}finally{n=s=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}}function GV(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Wf(e,t,r)}function Vf(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function l0(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function YV(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l0(arguments[e]));return t}function JV(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<r;e++)for(var s=arguments[e],a=0,c=s.length;a<c;a++,i++)n[i]=s[a];return n}function VV(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))}function Lc(t){return this instanceof Lc?(this.v=t,this):new Lc(t)}function WV(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(g){return function(C){return Promise.resolve(C).then(g,d)}}function c(g,C){n[g]&&(i[g]=function(Q){return new Promise(function(S,w){s.push([g,Q,S,w])>1||l(g,Q)})},C&&(i[g]=C(i[g])))}function l(g,C){try{A(n[g](C))}catch(Q){f(s[0][3],Q)}}function A(g){g.value instanceof Lc?Promise.resolve(g.value.v).then(u,d):f(s[0][2],g)}function u(g){l("next",g)}function d(g){l("throw",g)}function f(g,C){g(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function KV(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:Lc(t[i](a)),done:!1}:s?s(a):a}:s}}function $V(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 Vf=="function"?Vf(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}}function XV(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function ZV(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=c0(t),n=0;n<r.length;n++)r[n]!=="default"&&Wf(e,t,r[n]);return V_e(e,t),e}function eW(t){return t&&t.__esModule?t:{default:t}}function tW(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)}function rW(t,e,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(t,r):i?i.value=r:e.set(t,r),r}function nW(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}function iW(t,e,r){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=e[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=e[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=o(function(){try{i.call(this)}catch(s){return Promise.reject(s)}},"dispose")),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}function sW(t){function e(s){t.error=t.hasError?new W_e(s,t.error,"An error was suppressed during disposal."):s,t.hasError=!0}o(e,"fail");var r,n=0;function i(){for(;r=t.stack.pop();)try{if(!r.async&&n===1)return n=0,t.stack.push(r),Promise.resolve().then(i);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(i,function(a){return e(a),i()})}else n|=1}catch(a){e(a)}if(n===1)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}return o(i,"next"),i()}function oW(t,e){return typeof t=="string"&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,s,a){return n?e?".jsx":".js":i&&(!s||!a)?r:i+s+"."+a.toLowerCase()+"js"}):t}var a0,Jf,Wf,V_e,c0,W_e,K_e,u0=td(()=>{a0=o(function(t,e){return a0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},a0(t,e)},"extendStatics");o(TV,"__extends");Jf=o(function(){return Jf=Object.assign||o(function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},"__assign"),Jf.apply(this,arguments)},"__assign");o(OV,"__rest");o(MV,"__decorate");o(kV,"__param");o(LV,"__esDecorate");o(UV,"__runInitializers");o(FV,"__propKey");o(qV,"__setFunctionName");o(HV,"__metadata");o(zV,"__awaiter");o(jV,"__generator");Wf=Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]};o(GV,"__exportStar");o(Vf,"__values");o(l0,"__read");o(YV,"__spread");o(JV,"__spreadArrays");o(VV,"__spreadArray");o(Lc,"__await");o(WV,"__asyncGenerator");o(KV,"__asyncDelegator");o($V,"__asyncValues");o(XV,"__makeTemplateObject");V_e=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},c0=o(function(t){return c0=Object.getOwnPropertyNames||function(e){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[r.length]=n);return r},c0(t)},"ownKeys");o(ZV,"__importStar");o(eW,"__importDefault");o(tW,"__classPrivateFieldGet");o(rW,"__classPrivateFieldSet");o(nW,"__classPrivateFieldIn");o(iW,"__addDisposableResource");W_e=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var n=new Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};o(sW,"__disposeResources");o(oW,"__rewriteRelativeImportExtension");K_e={__extends:TV,__assign:Jf,__rest:OV,__decorate:MV,__param:kV,__esDecorate:LV,__runInitializers:UV,__propKey:FV,__setFunctionName:qV,__metadata:HV,__awaiter:zV,__generator:jV,__createBinding:Wf,__exportStar:GV,__values:Vf,__read:l0,__spread:YV,__spreadArrays:JV,__spreadArray:VV,__await:Lc,__asyncGenerator:WV,__asyncDelegator:KV,__asyncValues:$V,__makeTemplateObject:XV,__importStar:ZV,__importDefault:eW,__classPrivateFieldGet:tW,__classPrivateFieldSet:rW,__classPrivateFieldIn:nW,__addDisposableResource:iW,__disposeResources:sW,__rewriteRelativeImportExtension:oW}});var aW=m(Kf=>{"use strict";Object.defineProperty(Kf,"__esModule",{value:!0});Kf.BuffersStream=void 0;var $_e=require("node:stream"),d0=class extends $_e.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 i=0;for(let s of this.buffers)i+=s.byteLength;if(i<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 i=this.byteLength-this.pushedBytesLength,s=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,a=Math.min(s,i);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===s?(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])}};Kf.BuffersStream=d0});var cW=m(Xf=>{"use strict";Object.defineProperty(Xf,"__esModule",{value:!0});Xf.PooledBuffer=void 0;var X_e=(u0(),Wt(A0)),Z_e=aW(),eve=X_e.__importDefault(require("node:buffer")),$f=eve.default.constants.MAX_LENGTH,p0=class{static{o(this,"PooledBuffer")}buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,n){this.capacity=e,this._size=0;let i=Math.ceil(e/$f);for(let s=0;s<i;s++){let a=s===i-1?e%$f:$f;a===0&&(a=$f),this.buffers.push(Buffer.allocUnsafe(a))}r&&this.fill(r,n)}fill(e,r){this._size=Math.min(this.capacity,r);let n=0,i=0,s=0,a=0,c=0;for(;c<this._size;){let l=e[n],A=this.buffers[i],u=l.copy(A,s,a);c+=u,a+=u,s+=u,a===l.length&&(n++,a=0),s===A.length&&(i++,s=0)}e.splice(0,n),e.length>0&&(e[0]=e[0].slice(a))}getReadableStream(){return new Z_e.BuffersStream(this.buffers,this.size)}};Xf.PooledBuffer=p0});var lW=m(Zf=>{"use strict";Object.defineProperty(Zf,"__esModule",{value:!0});Zf.BufferScheduler=void 0;var tve=require("events"),rve=cW(),h0=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new tve.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,n,i,s,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(s<=0)throw new RangeError(`concurrency must be larger than 0, current is ${s}`);this.bufferSize=r,this.maxBuffers=n,this.readable=e,this.outgoingHandler=i,this.concurrency=s,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 rve.PooledBuffer(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()}};Zf.BufferScheduler=h0});var AW=m(m0=>{"use strict";Object.defineProperty(m0,"__esModule",{value:!0});m0.getCachedDefaultHttpClient=ive;var nve=Pt(),f0;function ive(){return f0||(f0=(0,nve.createDefaultHttpClient)()),f0}o(ive,"getCachedDefaultHttpClient")});var dW=m(uW=>{"use strict";Object.defineProperty(uW,"__esModule",{value:!0})});var yu=m(em=>{"use strict";Object.defineProperty(em,"__esModule",{value:!0});em.BaseRequestPolicy=void 0;var g0=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)}};em.BaseRequestPolicy=g0});var ts=m(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.PathStylePorts=In.DevelopmentConnectionString=In.HeaderConstants=In.URLConstants=In.SDK_VERSION=void 0;In.SDK_VERSION="1.0.0";In.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};In.HeaderConstants={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"};In.DevelopmentConnectionString="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;";In.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]});var Uo=m(ze=>{"use strict";Object.defineProperty(ze,"__esModule",{value:!0});ze.escapeURLPath=ove;ze.getValueInConnString=ks;ze.extractConnectionStringParts=cve;ze.appendToURLPath=Ave;ze.setURLParameter=hW;ze.getURLParameter=fW;ze.setURLHost=uve;ze.getURLPath=dve;ze.getURLScheme=pve;ze.getURLPathAndQuery=hve;ze.getURLQueries=fve;ze.appendToURLQuery=mve;ze.truncatedISO8061Date=gve;ze.base64encode=mW;ze.base64decode=yve;ze.generateBlockID=Cve;ze.delay=Eve;ze.padStart=gW;ze.sanitizeURL=yW;ze.sanitizeHeaders=Bve;ze.iEqual=Ive;ze.getAccountNameFromUrl=CW;ze.isIpEndpointStyle=EW;ze.attachCredential=bve;ze.httpAuthorizationToString=Qve;ze.EscapePath=wve;ze.assertResponse=Nve;var sve=Pt(),pW=ut(),Uc=ts();function ove(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=lve(r),e.pathname=r,e.toString()}o(ove,"escapeURLPath");function ave(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(ave,"getProxyUriFromDevConnString");function ks(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(ks,"getValueInConnString");function cve(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=ave(t),t=Uc.DevelopmentConnectionString);let r=ks(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",i="",s=Buffer.from("accountKey","base64"),a="";if(i=ks(t,"AccountName"),s=Buffer.from(ks(t,"AccountKey"),"base64"),!r){n=ks(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=ks(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${a}`}if(i){if(s.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:i,accountKey:s,proxyUri:e}}else{let n=ks(t,"SharedAccessSignature"),i=ks(t,"AccountName");if(i||(i=CW(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:i,accountSas:n}}}o(cve,"extractConnectionStringParts");function lve(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(lve,"escape");function Ave(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(Ave,"appendToURLPath");function hW(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=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!==i&&c.push(l)}return s&&c.push(`${i}=${s}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(hW,"setURLParameter");function fW(t,e){return new URL(t).searchParams.get(e)??void 0}o(fW,"getURLParameter");function uve(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(uve,"setURLHost");function dve(t){try{return new URL(t).pathname}catch{return}}o(dve,"getURLPath");function pve(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(pve,"getURLScheme");function hve(t){let e=new URL(t),r=e.pathname;if(!r)throw new RangeError("Invalid url without valid path.");let n=e.search||"";return n=n.trim(),n!==""&&(n=n.startsWith("?")?n:`?${n}`),`${r}${n}`}o(hve,"getURLPathAndQuery");function fve(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(i=>{let s=i.indexOf("="),a=i.lastIndexOf("=");return s>0&&s===a&&a<i.length-1});let n={};for(let i of r){let s=i.split("="),a=s[0],c=s[1];n[a]=c}return n}o(fve,"getURLQueries");function mve(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(mve,"appendToURLQuery");function gve(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(gve,"truncatedISO8061Date");function mW(t){return pW.isNodeLike?Buffer.from(t).toString("base64"):btoa(t)}o(mW,"base64encode");function yve(t){return pW.isNodeLike?Buffer.from(t,"base64").toString():atob(t)}o(yve,"base64decode");function Cve(t,e){t.length>42&&(t=t.slice(0,42));let s=t+gW(e.toString(),48-t.length,"0");return mW(s)}o(Cve,"generateBlockID");async function Eve(t,e,r){return new Promise((n,i)=>{let s,a=o(()=>{s!==void 0&&clearTimeout(s),i(r)},"abortHandler");s=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(Eve,"delay");function gW(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(gW,"padStart");function yW(t){let e=t;return fW(e,Uc.URLConstants.Parameters.SIGNATURE)&&(e=hW(e,Uc.URLConstants.Parameters.SIGNATURE,"*****")),e}o(yW,"sanitizeURL");function Bve(t){let e=(0,sve.createHttpHeaders)();for(let[r,n]of t)r.toLowerCase()===Uc.HeaderConstants.AUTHORIZATION.toLowerCase()?e.set(r,"*****"):r.toLowerCase()===Uc.HeaderConstants.X_MS_COPY_SOURCE?e.set(r,yW(n)):e.set(r,n);return e}o(Bve,"sanitizeHeaders");function Ive(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(Ive,"iEqual");function CW(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:EW(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(CW,"getAccountNameFromUrl");function EW(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&&Uc.PathStylePorts.includes(t.port)}o(EW,"isIpEndpointStyle");function bve(t,e){return t.credential=e,t}o(bve,"attachCredential");function Qve(t){return t?t.scheme+" "+t.value:void 0}o(Qve,"httpAuthorizationToString");function wve(t){let e=t.split("/");for(let r=0;r<e.length;r++)e[r]=encodeURIComponent(e[r]);return e.join("/")}o(wve,"EscapePath");function Nve(t){if("_response"in t)return t;throw new TypeError(`Unexpected response object ${t}`)}o(Nve,"assertResponse")});var BW=m(tm=>{"use strict";Object.defineProperty(tm,"__esModule",{value:!0});tm.StorageBrowserPolicy=void 0;var xve=yu(),Sve=ut(),y0=ts(),Rve=Uo(),C0=class extends xve.BaseRequestPolicy{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return Sve.isNodeLike?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=(0,Rve.setURLParameter)(e.url,y0.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(y0.HeaderConstants.COOKIE),e.headers.remove(y0.HeaderConstants.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};tm.StorageBrowserPolicy=C0});var bW=m(Fc=>{"use strict";Object.defineProperty(Fc,"__esModule",{value:!0});Fc.StorageBrowserPolicyFactory=Fc.StorageBrowserPolicy=void 0;var IW=BW();Object.defineProperty(Fc,"StorageBrowserPolicy",{enumerable:!0,get:function(){return IW.StorageBrowserPolicy}});var E0=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new IW.StorageBrowserPolicy(e,r)}};Fc.StorageBrowserPolicyFactory=E0});var nm=m(rm=>{"use strict";Object.defineProperty(rm,"__esModule",{value:!0});rm.CredentialPolicy=void 0;var _ve=yu(),B0=class extends _ve.BaseRequestPolicy{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};rm.CredentialPolicy=B0});var b0=m(im=>{"use strict";Object.defineProperty(im,"__esModule",{value:!0});im.AnonymousCredentialPolicy=void 0;var vve=nm(),I0=class extends vve.CredentialPolicy{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};im.AnonymousCredentialPolicy=I0});var om=m(sm=>{"use strict";Object.defineProperty(sm,"__esModule",{value:!0});sm.Credential=void 0;var Q0=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};sm.Credential=Q0});var QW=m(am=>{"use strict";Object.defineProperty(am,"__esModule",{value:!0});am.AnonymousCredential=void 0;var Pve=b0(),Dve=om(),w0=class extends Dve.Credential{static{o(this,"AnonymousCredential")}create(e,r){return new Pve.AnonymousCredentialPolicy(e,r)}};am.AnonymousCredential=w0});var x0=m(N0=>{"use strict";Object.defineProperty(N0,"__esModule",{value:!0});N0.compareHeader=kve;var Tve=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]),Ove=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]),Mve=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 kve(t,e){return Lve(t,e)?-1:1}o(kve,"compareHeader");function Lve(t,e){let r=[Tve,Ove,Mve],n=0,i=0,s=0;for(;n<r.length;){if(n===r.length-1&&i!==s)return i>s;let a=i<t.length?r[n][t[i].charCodeAt(0)]:1,c=s<e.length?r[n][e[s].charCodeAt(0)]:1;if(a===1&&c===1)i=0,s=0,++n;else if(a===c)++i,++s;else if(a===0)++i;else if(c===0)++s;else return a<c}return!1}o(Lve,"isLessThan")});var R0=m(cm=>{"use strict";Object.defineProperty(cm,"__esModule",{value:!0});cm.StorageSharedKeyCredentialPolicy=void 0;var ir=ts(),wW=Uo(),Uve=nm(),Fve=x0(),S0=class extends Uve.CredentialPolicy{static{o(this,"StorageSharedKeyCredentialPolicy")}factory;constructor(e,r,n){super(e,r),this.factory=n}signRequest(e){e.headers.set(ir.HeaderConstants.X_MS_DATE,new Date().toUTCString()),e.body&&(typeof e.body=="string"||e.body!==void 0)&&e.body.length>0&&e.headers.set(ir.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,ir.HeaderConstants.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,ir.HeaderConstants.CONTENT_ENCODING),this.getHeaderValueToSign(e,ir.HeaderConstants.CONTENT_LENGTH),this.getHeaderValueToSign(e,ir.HeaderConstants.CONTENT_MD5),this.getHeaderValueToSign(e,ir.HeaderConstants.CONTENT_TYPE),this.getHeaderValueToSign(e,ir.HeaderConstants.DATE),this.getHeaderValueToSign(e,ir.HeaderConstants.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,ir.HeaderConstants.IF_MATCH),this.getHeaderValueToSign(e,ir.HeaderConstants.IF_NONE_MATCH),this.getHeaderValueToSign(e,ir.HeaderConstants.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,ir.HeaderConstants.RANGE)].join(`
|
|
`)+`
|
|
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(r);return e.headers.set(ir.HeaderConstants.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===ir.HeaderConstants.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(i=>i.name.toLowerCase().startsWith(ir.HeaderConstants.PREFIX_FOR_STORAGE));r.sort((i,s)=>(0,Fve.compareHeader)(i.name.toLowerCase(),s.name.toLowerCase())),r=r.filter((i,s,a)=>!(s>0&&i.name.toLowerCase()===a[s-1].name.toLowerCase()));let n="";return r.forEach(i=>{n+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()}
|
|
`}),n}getCanonicalizedResourceString(e){let r=(0,wW.getURLPath)(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let i=(0,wW.getURLQueries)(e.url),s={};if(i){let a=[];for(let c in i)if(Object.prototype.hasOwnProperty.call(i,c)){let l=c.toLowerCase();s[l]=i[c],a.push(l)}a.sort();for(let c of a)n+=`
|
|
${c}:${decodeURIComponent(s[c])}`}return n}};cm.StorageSharedKeyCredentialPolicy=S0});var NW=m(lm=>{"use strict";Object.defineProperty(lm,"__esModule",{value:!0});lm.StorageSharedKeyCredential=void 0;var qve=require("node:crypto"),Hve=R0(),zve=om(),_0=class extends zve.Credential{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new Hve.StorageSharedKeyCredentialPolicy(e,r,this)}computeHMACSHA256(e){return(0,qve.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};lm.StorageSharedKeyCredential=_0});var xW=m(Am=>{"use strict";Object.defineProperty(Am,"__esModule",{value:!0});Am.AbortError=void 0;var v0=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};Am.AbortError=v0});var P0=m(um=>{"use strict";Object.defineProperty(um,"__esModule",{value:!0});um.AbortError=void 0;var jve=xW();Object.defineProperty(um,"AbortError",{enumerable:!0,get:function(){return jve.AbortError}})});var D0=m(dm=>{"use strict";Object.defineProperty(dm,"__esModule",{value:!0});dm.logger=void 0;var Gve=xc();dm.logger=(0,Gve.createClientLogger)("storage-common")});var T0=m(pm=>{"use strict";Object.defineProperty(pm,"__esModule",{value:!0});pm.StorageRetryPolicyType=void 0;var SW;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(SW||(pm.StorageRetryPolicyType=SW={}))});var _W=m(Cu=>{"use strict";Object.defineProperty(Cu,"__esModule",{value:!0});Cu.StorageRetryPolicy=void 0;Cu.NewRetryPolicyFactory=Vve;var Yve=P0(),Jve=yu(),RW=ts(),O0=Uo(),Ls=D0(),M0=T0();function Vve(t){return{create:(e,r)=>new hm(e,r,t)}}o(Vve,"NewRetryPolicyFactory");var Us={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:M0.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Wve=new Yve.AbortError("The operation was aborted."),hm=class extends Jve.BaseRequestPolicy{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=Us){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:Us.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):Us.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:Us.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:Us.maxRetryDelayInMs):Us.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:Us.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:Us.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,n){let i=e.clone(),s=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;s||(i.url=(0,O0.setURLHost)(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=(0,O0.setURLParameter)(i.url,RW.URLConstants.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Ls.logger.info(`RetryPolicy: =====> Try=${n} ${s?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(i),!this.shouldRetry(s,n,a))return a;r=r||!s&&a.status===404}catch(c){if(Ls.logger.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(s,n,a,c))throw c}return await this.delay(s,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,i){if(r>=this.retryOptions.maxTries)return Ls.logger.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let s=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(i){for(let a of s)if(i.name.toUpperCase().includes(a)||i.message.toUpperCase().includes(a)||i.code&&i.code.toString().toUpperCase()===a)return Ls.logger.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(n||i){let a=n?n.status:i?i.statusCode:0;if(!e&&a===404)return Ls.logger.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Ls.logger.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(n&&n?.status>=400){let a=n.headers.get(RW.HeaderConstants.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag')?(Ls.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,n){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case M0.StorageRetryPolicyType.EXPONENTIAL:i=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case M0.StorageRetryPolicyType.FIXED:i=this.retryOptions.retryDelayInMs;break}else i=Math.random()*1e3;return Ls.logger.info(`RetryPolicy: Delay for ${i}ms`),(0,O0.delay)(i,n,Wve)}};Cu.StorageRetryPolicy=hm});var U0=m(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.StorageRetryPolicyFactory=gi.NewRetryPolicyFactory=gi.StorageRetryPolicy=gi.StorageRetryPolicyType=void 0;var L0=_W();Object.defineProperty(gi,"StorageRetryPolicy",{enumerable:!0,get:function(){return L0.StorageRetryPolicy}});Object.defineProperty(gi,"NewRetryPolicyFactory",{enumerable:!0,get:function(){return L0.NewRetryPolicyFactory}});var Kve=T0();Object.defineProperty(gi,"StorageRetryPolicyType",{enumerable:!0,get:function(){return Kve.StorageRetryPolicyType}});var k0=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new L0.StorageRetryPolicy(e,r,this.retryOptions)}};gi.StorageRetryPolicyFactory=k0});var vW=m(qc=>{"use strict";Object.defineProperty(qc,"__esModule",{value:!0});qc.storageBrowserPolicyName=void 0;qc.storageBrowserPolicy=Zve;var $ve=ut(),F0=ts(),Xve=Uo();qc.storageBrowserPolicyName="storageBrowserPolicy";function Zve(){return{name:qc.storageBrowserPolicyName,async sendRequest(t,e){return $ve.isNodeLike||((t.method==="GET"||t.method==="HEAD")&&(t.url=(0,Xve.setURLParameter)(t.url,F0.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(F0.HeaderConstants.COOKIE),t.headers.delete(F0.HeaderConstants.CONTENT_LENGTH)),e(t)}}}o(Zve,"storageBrowserPolicy")});var PW=m(Hc=>{"use strict";Object.defineProperty(Hc,"__esModule",{value:!0});Hc.storageCorrectContentLengthPolicyName=void 0;Hc.storageCorrectContentLengthPolicy=tPe;var ePe=ts();Hc.storageCorrectContentLengthPolicyName="StorageCorrectContentLengthPolicy";function tPe(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(ePe.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:Hc.storageCorrectContentLengthPolicyName,async sendRequest(e,r){return t(e),r(e)}}}o(tPe,"storageCorrectContentLengthPolicy")});var OW=m(jc=>{"use strict";Object.defineProperty(jc,"__esModule",{value:!0});jc.storageRetryPolicyName=void 0;jc.storageRetryPolicy=oPe;var rPe=P0(),DW=Pt(),nPe=ut(),H0=U0(),TW=ts(),q0=Uo(),rs=D0();jc.storageRetryPolicyName="storageRetryPolicy";var zc={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:H0.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},iPe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],sPe=new rPe.AbortError("The operation was aborted.");function oPe(t={}){let e=t.retryPolicyType??zc.retryPolicyType,r=t.maxTries??zc.maxTries,n=t.retryDelayInMs??zc.retryDelayInMs,i=t.maxRetryDelayInMs??zc.maxRetryDelayInMs,s=t.secondaryHost??zc.secondaryHost,a=t.tryTimeoutInMs??zc.tryTimeoutInMs;function c({isPrimaryRetry:A,attempt:u,response:d,error:f}){if(u>=r)return rs.logger.info(`RetryPolicy: Attempt(s) ${u} >= maxTries ${r}, no further try.`),!1;if(f){for(let g of iPe)if(f.name.toUpperCase().includes(g)||f.message.toUpperCase().includes(g)||f.code&&f.code.toString().toUpperCase()===g)return rs.logger.info(`RetryPolicy: Network error ${g} found, will retry.`),!0;if(f?.code==="PARSE_ERROR"&&f?.message.startsWith('Error "Error: Unclosed root tag'))return rs.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(d||f){let g=d?.status??f?.statusCode??0;if(!A&&g===404)return rs.logger.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(g===503||g===500)return rs.logger.info(`RetryPolicy: Will retry for status code ${g}.`),!0}if(d&&d?.status>=400){let g=d.headers.get(TW.HeaderConstants.X_MS_CopySourceErrorCode);if(g!==void 0)switch(g){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 H0.StorageRetryPolicyType.EXPONENTIAL:d=Math.min((Math.pow(2,u-1)-1)*n,i);break;case H0.StorageRetryPolicyType.FIXED:d=n;break}else d=Math.random()*1e3;return rs.logger.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:jc.storageRetryPolicyName,async sendRequest(A,u){a&&(A.url=(0,q0.setURLParameter)(A.url,TW.URLConstants.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=A.url,f=s?(0,q0.setURLHost)(A.url,s):void 0,g=!1,C=1,Q=!0,S,w;for(;Q;){let R=g||!f||!["GET","HEAD","OPTIONS"].includes(A.method)||C%2===1;A.url=R?d:f,S=void 0,w=void 0;try{rs.logger.info(`RetryPolicy: =====> Try=${C} ${R?"Primary":"Secondary"}`),S=await u(A),g=g||!R&&S.status===404}catch(T){if((0,DW.isRestError)(T))rs.logger.error(`RetryPolicy: Caught error, message: ${T.message}, code: ${T.code}`),w=T;else throw rs.logger.error(`RetryPolicy: Caught error, message: ${(0,nPe.getErrorMessage)(T)}`),T}Q=c({isPrimaryRetry:R,attempt:C,response:S,error:w}),Q&&await(0,q0.delay)(l(R,C),A.abortSignal,sPe),C++}if(S)return S;throw w??new DW.RestError("RetryPolicy failed without known error.")}}}o(oPe,"storageRetryPolicy")});var kW=m(Gc=>{"use strict";Object.defineProperty(Gc,"__esModule",{value:!0});Gc.storageSharedKeyCredentialPolicyName=void 0;Gc.storageSharedKeyCredentialPolicy=lPe;var aPe=require("node:crypto"),sr=ts(),MW=Uo(),cPe=x0();Gc.storageSharedKeyCredentialPolicyName="storageSharedKeyCredentialPolicy";function lPe(t){function e(s){s.headers.set(sr.HeaderConstants.X_MS_DATE,new Date().toUTCString()),s.body&&(typeof s.body=="string"||Buffer.isBuffer(s.body))&&s.body.length>0&&s.headers.set(sr.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(s.body));let a=[s.method.toUpperCase(),r(s,sr.HeaderConstants.CONTENT_LANGUAGE),r(s,sr.HeaderConstants.CONTENT_ENCODING),r(s,sr.HeaderConstants.CONTENT_LENGTH),r(s,sr.HeaderConstants.CONTENT_MD5),r(s,sr.HeaderConstants.CONTENT_TYPE),r(s,sr.HeaderConstants.DATE),r(s,sr.HeaderConstants.IF_MODIFIED_SINCE),r(s,sr.HeaderConstants.IF_MATCH),r(s,sr.HeaderConstants.IF_NONE_MATCH),r(s,sr.HeaderConstants.IF_UNMODIFIED_SINCE),r(s,sr.HeaderConstants.RANGE)].join(`
|
|
`)+`
|
|
`+n(s)+i(s),c=(0,aPe.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");s.headers.set(sr.HeaderConstants.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(s,a){let c=s.headers.get(a);return!c||a===sr.HeaderConstants.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function n(s){let a=[];for(let[l,A]of s.headers)l.toLowerCase().startsWith(sr.HeaderConstants.PREFIX_FOR_STORAGE)&&a.push({name:l,value:A});a.sort((l,A)=>(0,cPe.compareHeader)(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 i(s){let a=(0,MW.getURLPath)(s.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=(0,MW.getURLQueries)(s.url),A={};if(l){let u=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let f=d.toLowerCase();A[f]=l[d],u.push(f)}u.sort();for(let d of u)c+=`
|
|
${d}:${decodeURIComponent(A[d])}`}return c}return o(i,"getCanonicalizedResourceString"),{name:Gc.storageSharedKeyCredentialPolicyName,async sendRequest(s,a){return e(s),a(s)}}}o(lPe,"storageSharedKeyCredentialPolicy")});var LW=m(Yc=>{"use strict";Object.defineProperty(Yc,"__esModule",{value:!0});Yc.storageRequestFailureDetailsParserPolicyName=void 0;Yc.storageRequestFailureDetailsParserPolicy=APe;Yc.storageRequestFailureDetailsParserPolicyName="storageRequestFailureDetailsParserPolicy";function APe(){return{name:Yc.storageRequestFailureDetailsParserPolicyName,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(APe,"storageRequestFailureDetailsParserPolicy")});var UW=m(fm=>{"use strict";Object.defineProperty(fm,"__esModule",{value:!0});fm.UserDelegationKeyCredential=void 0;var uPe=require("node:crypto"),z0=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,uPe.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};fm.UserDelegationKeyCredential=z0});var Gn=m(ht=>{"use strict";Object.defineProperty(ht,"__esModule",{value:!0});ht.BaseRequestPolicy=ht.getCachedDefaultHttpClient=void 0;var or=(u0(),Wt(A0));or.__exportStar(lW(),ht);var dPe=AW();Object.defineProperty(ht,"getCachedDefaultHttpClient",{enumerable:!0,get:function(){return dPe.getCachedDefaultHttpClient}});or.__exportStar(dW(),ht);or.__exportStar(bW(),ht);or.__exportStar(QW(),ht);or.__exportStar(om(),ht);or.__exportStar(NW(),ht);or.__exportStar(U0(),ht);var pPe=yu();Object.defineProperty(ht,"BaseRequestPolicy",{enumerable:!0,get:function(){return pPe.BaseRequestPolicy}});or.__exportStar(b0(),ht);or.__exportStar(nm(),ht);or.__exportStar(vW(),ht);or.__exportStar(PW(),ht);or.__exportStar(OW(),ht);or.__exportStar(R0(),ht);or.__exportStar(kW(),ht);or.__exportStar(LW(),ht);or.__exportStar(UW(),ht)});var Kr=m(Z=>{"use strict";Object.defineProperty(Z,"__esModule",{value:!0});Z.PathStylePorts=Z.BlobDoesNotUseCustomerSpecifiedEncryption=Z.BlobUsesCustomerSpecifiedEncryptionMsg=Z.StorageBlobLoggingAllowedQueryParameters=Z.StorageBlobLoggingAllowedHeaderNames=Z.DevelopmentConnectionString=Z.EncryptionAlgorithmAES25=Z.HTTP_VERSION_1_1=Z.HTTP_LINE_ENDING=Z.BATCH_MAX_PAYLOAD_IN_BYTES=Z.BATCH_MAX_REQUEST=Z.SIZE_1_MB=Z.ETagAny=Z.ETagNone=Z.HeaderConstants=Z.HTTPURLConnection=Z.URLConstants=Z.StorageOAuthScopes=Z.REQUEST_TIMEOUT=Z.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=Z.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=Z.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=Z.BLOCK_BLOB_MAX_BLOCKS=Z.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=Z.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=Z.SERVICE_VERSION=Z.SDK_VERSION=void 0;Z.SDK_VERSION="12.31.0";Z.SERVICE_VERSION="2026-02-06";Z.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=256*1024*1024;Z.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=4e3*1024*1024;Z.BLOCK_BLOB_MAX_BLOCKS=5e4;Z.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=8*1024*1024;Z.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=4*1024*1024;Z.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=5;Z.REQUEST_TIMEOUT=100*1e3;Z.StorageOAuthScopes="https://storage.azure.com/.default";Z.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};Z.HTTPURLConnection={HTTP_ACCEPTED:202,HTTP_CONFLICT:409,HTTP_NOT_FOUND:404,HTTP_PRECON_FAILED:412,HTTP_RANGE_NOT_SATISFIABLE:416};Z.HeaderConstants={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"};Z.ETagNone="";Z.ETagAny="*";Z.SIZE_1_MB=1*1024*1024;Z.BATCH_MAX_REQUEST=256;Z.BATCH_MAX_PAYLOAD_IN_BYTES=4*Z.SIZE_1_MB;Z.HTTP_LINE_ENDING=`\r
|
|
`;Z.HTTP_VERSION_1_1="HTTP/1.1";Z.EncryptionAlgorithmAES25="AES256";Z.DevelopmentConnectionString="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;";Z.StorageBlobLoggingAllowedHeaderNames=["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"];Z.StorageBlobLoggingAllowedQueryParameters=["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"];Z.BlobUsesCustomerSpecifiedEncryptionMsg="BlobUsesCustomerSpecifiedEncryption";Z.BlobDoesNotUseCustomerSpecifiedEncryption="BlobDoesNotUseCustomerSpecifiedEncryption";Z.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]});var Fs=m(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.Pipeline=yi.StorageOAuthScopes=void 0;yi.isPipelineLike=fPe;yi.newPipeline=mPe;yi.getCoreClientOptions=yPe;yi.getCredentialFromPipeline=jW;var zW=zf(),FW=Pt(),qW=fi(),HW=o0(),j0=vc(),hPe=Yf(),$r=Gn(),Eu=Kr();Object.defineProperty(yi,"StorageOAuthScopes",{enumerable:!0,get:function(){return Eu.StorageOAuthScopes}});function fPe(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(fPe,"isPipelineLike");var mm=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}}};yi.Pipeline=mm;function mPe(t,e={}){t||(t=new $r.AnonymousCredential);let r=new mm([],e);return r._credential=t,r}o(mPe,"newPipeline");function gPe(t){let e=[CPe,GW,EPe,BPe,IPe,bPe,wPe];if(t.factories.length){let r=t.factories.filter(n=>!e.some(i=>i(n)));if(r.length){let n=r.some(i=>QPe(i));return{wrappedPolicies:(0,zW.createRequestPolicyFactoryPolicy)(r),afterRetry:n}}}}o(gPe,"processDownlevelPipeline");function yPe(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?(0,zW.convertHttpClient)(e):(0,$r.getCachedDefaultHttpClient)(),t._coreHttpClient=n);let i=t._corePipeline;if(!i){let s=`azsdk-js-azure-storage-blob/${Eu.SDK_VERSION}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${s}`:`${s}`;i=(0,qW.createClientPipeline)({...r,loggingOptions:{additionalAllowedHeaderNames:Eu.StorageBlobLoggingAllowedHeaderNames,additionalAllowedQueryParameters:Eu.StorageBlobLoggingAllowedQueryParameters,logger:hPe.logger.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:HW.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:HW.parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}}),i.removePolicy({phase:"Retry"}),i.removePolicy({name:FW.decompressResponsePolicyName}),i.addPolicy((0,$r.storageCorrectContentLengthPolicy)()),i.addPolicy((0,$r.storageRetryPolicy)(r.retryOptions),{phase:"Retry"}),i.addPolicy((0,$r.storageRequestFailureDetailsParserPolicy)()),i.addPolicy((0,$r.storageBrowserPolicy)());let c=gPe(t);c&&i.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=jW(t);(0,j0.isTokenCredential)(l)?i.addPolicy((0,FW.bearerTokenAuthenticationPolicy)({credential:l,scopes:r.audience??Eu.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:qW.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):l instanceof $r.StorageSharedKeyCredential&&i.addPolicy((0,$r.storageSharedKeyCredentialPolicy)({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=i}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:i}}o(yPe,"getCoreClientOptions");function jW(t){if(t._credential)return t._credential;let e=new $r.AnonymousCredential;for(let r of t.factories)if((0,j0.isTokenCredential)(r.credential))e=r.credential;else if(GW(r))return r;return e}o(jW,"getCredentialFromPipeline");function GW(t){return t instanceof $r.StorageSharedKeyCredential?!0:t.constructor.name==="StorageSharedKeyCredential"}o(GW,"isStorageSharedKeyCredential");function CPe(t){return t instanceof $r.AnonymousCredential?!0:t.constructor.name==="AnonymousCredential"}o(CPe,"isAnonymousCredential");function EPe(t){return(0,j0.isTokenCredential)(t.credential)}o(EPe,"isCoreHttpBearerTokenFactory");function BPe(t){return t instanceof $r.StorageBrowserPolicyFactory?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(BPe,"isStorageBrowserPolicyFactory");function IPe(t){return t instanceof $r.StorageRetryPolicyFactory?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(IPe,"isStorageRetryPolicyFactory");function bPe(t){return t.constructor.name==="TelemetryPolicyFactory"}o(bPe,"isStorageTelemetryPolicyFactory");function QPe(t){return t.constructor.name==="InjectorPolicyFactory"}o(QPe,"isInjectorPolicyFactory");function wPe(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:async a=>({request:a,headers:a.headers.clone(),status:500})},n={log(a,c){},shouldLog(a){return!1}},s=t.create(r,n).constructor.name;return e.some(a=>s.startsWith(a))}o(wPe,"isCoreHttpPolicyFactory")});var KW=m(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.KnownStorageErrorCode=Ci.KnownBlobExpiryOptions=Ci.KnownFileShareTokenIntent=Ci.KnownEncryptionAlgorithmType=void 0;var YW;(function(t){t.AES256="AES256"})(YW||(Ci.KnownEncryptionAlgorithmType=YW={}));var JW;(function(t){t.Backup="backup"})(JW||(Ci.KnownFileShareTokenIntent=JW={}));var VW;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(VW||(Ci.KnownBlobExpiryOptions=VW={}));var WW;(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"})(WW||(Ci.KnownStorageErrorCode=WW={}))});var qs=m(E=>{"use strict";Object.defineProperty(E,"__esModule",{value:!0});E.ServiceGetUserDelegationKeyHeaders=E.ServiceListContainersSegmentExceptionHeaders=E.ServiceListContainersSegmentHeaders=E.ServiceGetStatisticsExceptionHeaders=E.ServiceGetStatisticsHeaders=E.ServiceGetPropertiesExceptionHeaders=E.ServiceGetPropertiesHeaders=E.ServiceSetPropertiesExceptionHeaders=E.ServiceSetPropertiesHeaders=E.ArrowField=E.ArrowConfiguration=E.JsonTextConfiguration=E.DelimitedTextConfiguration=E.QueryFormat=E.QuerySerialization=E.QueryRequest=E.ClearRange=E.PageRange=E.PageList=E.Block=E.BlockList=E.BlockLookupList=E.BlobPrefix=E.BlobHierarchyListSegment=E.ListBlobsHierarchySegmentResponse=E.BlobPropertiesInternal=E.BlobName=E.BlobItemInternal=E.BlobFlatListSegment=E.ListBlobsFlatSegmentResponse=E.AccessPolicy=E.SignedIdentifier=E.BlobTag=E.BlobTags=E.FilterBlobItem=E.FilterBlobSegment=E.UserDelegationKey=E.KeyInfo=E.ContainerProperties=E.ContainerItem=E.ListContainersSegmentResponse=E.GeoReplication=E.BlobServiceStatistics=E.StorageError=E.StaticWebsite=E.CorsRule=E.Metrics=E.RetentionPolicy=E.Logging=E.BlobServiceProperties=void 0;E.BlobUndeleteHeaders=E.BlobDeleteExceptionHeaders=E.BlobDeleteHeaders=E.BlobGetPropertiesExceptionHeaders=E.BlobGetPropertiesHeaders=E.BlobDownloadExceptionHeaders=E.BlobDownloadHeaders=E.ContainerGetAccountInfoExceptionHeaders=E.ContainerGetAccountInfoHeaders=E.ContainerListBlobHierarchySegmentExceptionHeaders=E.ContainerListBlobHierarchySegmentHeaders=E.ContainerListBlobFlatSegmentExceptionHeaders=E.ContainerListBlobFlatSegmentHeaders=E.ContainerChangeLeaseExceptionHeaders=E.ContainerChangeLeaseHeaders=E.ContainerBreakLeaseExceptionHeaders=E.ContainerBreakLeaseHeaders=E.ContainerRenewLeaseExceptionHeaders=E.ContainerRenewLeaseHeaders=E.ContainerReleaseLeaseExceptionHeaders=E.ContainerReleaseLeaseHeaders=E.ContainerAcquireLeaseExceptionHeaders=E.ContainerAcquireLeaseHeaders=E.ContainerFilterBlobsExceptionHeaders=E.ContainerFilterBlobsHeaders=E.ContainerSubmitBatchExceptionHeaders=E.ContainerSubmitBatchHeaders=E.ContainerRenameExceptionHeaders=E.ContainerRenameHeaders=E.ContainerRestoreExceptionHeaders=E.ContainerRestoreHeaders=E.ContainerSetAccessPolicyExceptionHeaders=E.ContainerSetAccessPolicyHeaders=E.ContainerGetAccessPolicyExceptionHeaders=E.ContainerGetAccessPolicyHeaders=E.ContainerSetMetadataExceptionHeaders=E.ContainerSetMetadataHeaders=E.ContainerDeleteExceptionHeaders=E.ContainerDeleteHeaders=E.ContainerGetPropertiesExceptionHeaders=E.ContainerGetPropertiesHeaders=E.ContainerCreateExceptionHeaders=E.ContainerCreateHeaders=E.ServiceFilterBlobsExceptionHeaders=E.ServiceFilterBlobsHeaders=E.ServiceSubmitBatchExceptionHeaders=E.ServiceSubmitBatchHeaders=E.ServiceGetAccountInfoExceptionHeaders=E.ServiceGetAccountInfoHeaders=E.ServiceGetUserDelegationKeyExceptionHeaders=void 0;E.PageBlobGetPageRangesHeaders=E.PageBlobUploadPagesFromURLExceptionHeaders=E.PageBlobUploadPagesFromURLHeaders=E.PageBlobClearPagesExceptionHeaders=E.PageBlobClearPagesHeaders=E.PageBlobUploadPagesExceptionHeaders=E.PageBlobUploadPagesHeaders=E.PageBlobCreateExceptionHeaders=E.PageBlobCreateHeaders=E.BlobSetTagsExceptionHeaders=E.BlobSetTagsHeaders=E.BlobGetTagsExceptionHeaders=E.BlobGetTagsHeaders=E.BlobQueryExceptionHeaders=E.BlobQueryHeaders=E.BlobGetAccountInfoExceptionHeaders=E.BlobGetAccountInfoHeaders=E.BlobSetTierExceptionHeaders=E.BlobSetTierHeaders=E.BlobAbortCopyFromURLExceptionHeaders=E.BlobAbortCopyFromURLHeaders=E.BlobCopyFromURLExceptionHeaders=E.BlobCopyFromURLHeaders=E.BlobStartCopyFromURLExceptionHeaders=E.BlobStartCopyFromURLHeaders=E.BlobCreateSnapshotExceptionHeaders=E.BlobCreateSnapshotHeaders=E.BlobBreakLeaseExceptionHeaders=E.BlobBreakLeaseHeaders=E.BlobChangeLeaseExceptionHeaders=E.BlobChangeLeaseHeaders=E.BlobRenewLeaseExceptionHeaders=E.BlobRenewLeaseHeaders=E.BlobReleaseLeaseExceptionHeaders=E.BlobReleaseLeaseHeaders=E.BlobAcquireLeaseExceptionHeaders=E.BlobAcquireLeaseHeaders=E.BlobSetMetadataExceptionHeaders=E.BlobSetMetadataHeaders=E.BlobSetLegalHoldExceptionHeaders=E.BlobSetLegalHoldHeaders=E.BlobDeleteImmutabilityPolicyExceptionHeaders=E.BlobDeleteImmutabilityPolicyHeaders=E.BlobSetImmutabilityPolicyExceptionHeaders=E.BlobSetImmutabilityPolicyHeaders=E.BlobSetHttpHeadersExceptionHeaders=E.BlobSetHttpHeadersHeaders=E.BlobSetExpiryExceptionHeaders=E.BlobSetExpiryHeaders=E.BlobUndeleteExceptionHeaders=void 0;E.BlockBlobGetBlockListExceptionHeaders=E.BlockBlobGetBlockListHeaders=E.BlockBlobCommitBlockListExceptionHeaders=E.BlockBlobCommitBlockListHeaders=E.BlockBlobStageBlockFromURLExceptionHeaders=E.BlockBlobStageBlockFromURLHeaders=E.BlockBlobStageBlockExceptionHeaders=E.BlockBlobStageBlockHeaders=E.BlockBlobPutBlobFromUrlExceptionHeaders=E.BlockBlobPutBlobFromUrlHeaders=E.BlockBlobUploadExceptionHeaders=E.BlockBlobUploadHeaders=E.AppendBlobSealExceptionHeaders=E.AppendBlobSealHeaders=E.AppendBlobAppendBlockFromUrlExceptionHeaders=E.AppendBlobAppendBlockFromUrlHeaders=E.AppendBlobAppendBlockExceptionHeaders=E.AppendBlobAppendBlockHeaders=E.AppendBlobCreateExceptionHeaders=E.AppendBlobCreateHeaders=E.PageBlobCopyIncrementalExceptionHeaders=E.PageBlobCopyIncrementalHeaders=E.PageBlobUpdateSequenceNumberExceptionHeaders=E.PageBlobUpdateSequenceNumberHeaders=E.PageBlobResizeExceptionHeaders=E.PageBlobResizeHeaders=E.PageBlobGetPageRangesDiffExceptionHeaders=E.PageBlobGetPageRangesDiffHeaders=E.PageBlobGetPageRangesExceptionHeaders=void 0;E.BlobServiceProperties={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"}}}}};E.Logging={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"}}}}};E.RetentionPolicy={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"}}}}};E.Metrics={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"}}}}};E.CorsRule={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"}}}}};E.StaticWebsite={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"}}}}};E.StorageError={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"}}}}};E.BlobServiceStatistics={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};E.GeoReplication={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"}}}}};E.ListContainersSegmentResponse={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"}}}}};E.ContainerItem={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"}}}}}}};E.ContainerProperties={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"}}}}};E.KeyInfo={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"}}}}};E.UserDelegationKey={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"}}}}};E.FilterBlobSegment={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"}}}}};E.FilterBlobItem={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"}}}}};E.BlobTags={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"}}}}}}};E.BlobTag={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"}}}}};E.SignedIdentifier={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"}}}}};E.AccessPolicy={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"}}}}};E.ListBlobsFlatSegmentResponse={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"}}}}};E.BlobFlatListSegment={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"}}}}}}};E.BlobItemInternal={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"}}}}};E.BlobName={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"}}}}};E.BlobPropertiesInternal={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"}}}}};E.ListBlobsHierarchySegmentResponse={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"}}}}};E.BlobHierarchyListSegment={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"}}}}}}};E.BlobPrefix={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};E.BlockLookupList={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"}}}}}}};E.BlockList={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"}}}}}}};E.Block={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"}}}}};E.PageList={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"}}}}};E.PageRange={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"}}}}};E.ClearRange={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"}}}}};E.QueryRequest={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"}}}}};E.QuerySerialization={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};E.QueryFormat={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"}}}}}}};E.DelimitedTextConfiguration={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"}}}}};E.JsonTextConfiguration={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};E.ArrowConfiguration={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"}}}}}}};E.ArrowField={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"}}}}};E.ServiceSetPropertiesHeaders={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"}}}}};E.ServiceSetPropertiesExceptionHeaders={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetPropertiesHeaders={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"}}}}};E.ServiceGetPropertiesExceptionHeaders={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetStatisticsHeaders={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"}}}}};E.ServiceGetStatisticsExceptionHeaders={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceListContainersSegmentHeaders={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"}}}}};E.ServiceListContainersSegmentExceptionHeaders={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetUserDelegationKeyHeaders={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"}}}}};E.ServiceGetUserDelegationKeyExceptionHeaders={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetAccountInfoHeaders={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"}}}}};E.ServiceGetAccountInfoExceptionHeaders={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceSubmitBatchHeaders={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"}}}}};E.ServiceSubmitBatchExceptionHeaders={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceFilterBlobsHeaders={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"}}}}};E.ServiceFilterBlobsExceptionHeaders={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerCreateHeaders={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"}}}}};E.ContainerCreateExceptionHeaders={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetPropertiesHeaders={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"}}}}};E.ContainerGetPropertiesExceptionHeaders={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerDeleteHeaders={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"}}}}};E.ContainerDeleteExceptionHeaders={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSetMetadataHeaders={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"}}}}};E.ContainerSetMetadataExceptionHeaders={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetAccessPolicyHeaders={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"}}}}};E.ContainerGetAccessPolicyExceptionHeaders={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSetAccessPolicyHeaders={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"}}}}};E.ContainerSetAccessPolicyExceptionHeaders={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRestoreHeaders={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"}}}}};E.ContainerRestoreExceptionHeaders={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRenameHeaders={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"}}}}};E.ContainerRenameExceptionHeaders={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSubmitBatchHeaders={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"}}}}};E.ContainerSubmitBatchExceptionHeaders={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerFilterBlobsHeaders={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"}}}}};E.ContainerFilterBlobsExceptionHeaders={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerAcquireLeaseHeaders={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"}}}}};E.ContainerAcquireLeaseExceptionHeaders={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerReleaseLeaseHeaders={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"}}}}};E.ContainerReleaseLeaseExceptionHeaders={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRenewLeaseHeaders={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"}}}}};E.ContainerRenewLeaseExceptionHeaders={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerBreakLeaseHeaders={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"}}}}};E.ContainerBreakLeaseExceptionHeaders={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerChangeLeaseHeaders={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"}}}}};E.ContainerChangeLeaseExceptionHeaders={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerListBlobFlatSegmentHeaders={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"}}}}};E.ContainerListBlobFlatSegmentExceptionHeaders={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerListBlobHierarchySegmentHeaders={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"}}}}};E.ContainerListBlobHierarchySegmentExceptionHeaders={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetAccountInfoHeaders={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"}}}}};E.ContainerGetAccountInfoExceptionHeaders={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobDownloadHeaders={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"}}}}};E.BlobDownloadExceptionHeaders={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetPropertiesHeaders={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"}}}}};E.BlobGetPropertiesExceptionHeaders={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobDeleteHeaders={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"}}}}};E.BlobDeleteExceptionHeaders={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobUndeleteHeaders={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"}}}}};E.BlobUndeleteExceptionHeaders={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetExpiryHeaders={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"}}}}};E.BlobSetExpiryExceptionHeaders={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetHttpHeadersHeaders={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"}}}}};E.BlobSetHttpHeadersExceptionHeaders={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetImmutabilityPolicyHeaders={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"]}}}}};E.BlobSetImmutabilityPolicyExceptionHeaders={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobDeleteImmutabilityPolicyHeaders={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"}}}}};E.BlobDeleteImmutabilityPolicyExceptionHeaders={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetLegalHoldHeaders={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"}}}}};E.BlobSetLegalHoldExceptionHeaders={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetMetadataHeaders={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"}}}}};E.BlobSetMetadataExceptionHeaders={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobAcquireLeaseHeaders={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"}}}}};E.BlobAcquireLeaseExceptionHeaders={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobReleaseLeaseHeaders={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"}}}}};E.BlobReleaseLeaseExceptionHeaders={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobRenewLeaseHeaders={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"}}}}};E.BlobRenewLeaseExceptionHeaders={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobChangeLeaseHeaders={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"}}}}};E.BlobChangeLeaseExceptionHeaders={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobBreakLeaseHeaders={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"}}}}};E.BlobBreakLeaseExceptionHeaders={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobCreateSnapshotHeaders={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"}}}}};E.BlobCreateSnapshotExceptionHeaders={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobStartCopyFromURLHeaders={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"}}}}};E.BlobStartCopyFromURLExceptionHeaders={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"}}}}};E.BlobCopyFromURLHeaders={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"}}}}};E.BlobCopyFromURLExceptionHeaders={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"}}}}};E.BlobAbortCopyFromURLHeaders={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"}}}}};E.BlobAbortCopyFromURLExceptionHeaders={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetTierHeaders={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"}}}}};E.BlobSetTierExceptionHeaders={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetAccountInfoHeaders={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"}}}}};E.BlobGetAccountInfoExceptionHeaders={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobQueryHeaders={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"}}}}};E.BlobQueryExceptionHeaders={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetTagsHeaders={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"}}}}};E.BlobGetTagsExceptionHeaders={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetTagsHeaders={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"}}}}};E.BlobSetTagsExceptionHeaders={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobCreateHeaders={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"}}}}};E.PageBlobCreateExceptionHeaders={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUploadPagesHeaders={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"}}}}};E.PageBlobUploadPagesExceptionHeaders={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobClearPagesHeaders={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"}}}}};E.PageBlobClearPagesExceptionHeaders={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUploadPagesFromURLHeaders={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"}}}}};E.PageBlobUploadPagesFromURLExceptionHeaders={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"}}}}};E.PageBlobGetPageRangesHeaders={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"}}}}};E.PageBlobGetPageRangesExceptionHeaders={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobGetPageRangesDiffHeaders={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"}}}}};E.PageBlobGetPageRangesDiffExceptionHeaders={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobResizeHeaders={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"}}}}};E.PageBlobResizeExceptionHeaders={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUpdateSequenceNumberHeaders={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"}}}}};E.PageBlobUpdateSequenceNumberExceptionHeaders={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobCopyIncrementalHeaders={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"}}}}};E.PageBlobCopyIncrementalExceptionHeaders={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobCreateHeaders={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"}}}}};E.AppendBlobCreateExceptionHeaders={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobAppendBlockHeaders={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"}}}}};E.AppendBlobAppendBlockExceptionHeaders={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobAppendBlockFromUrlHeaders={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"}}}}};E.AppendBlobAppendBlockFromUrlExceptionHeaders={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"}}}}};E.AppendBlobSealHeaders={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"}}}}};E.AppendBlobSealExceptionHeaders={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobUploadHeaders={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"}}}}};E.BlockBlobUploadExceptionHeaders={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobPutBlobFromUrlHeaders={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"}}}}};E.BlockBlobPutBlobFromUrlExceptionHeaders={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"}}}}};E.BlockBlobStageBlockHeaders={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"}}}}};E.BlockBlobStageBlockExceptionHeaders={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobStageBlockFromURLHeaders={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"}}}}};E.BlockBlobStageBlockFromURLExceptionHeaders={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"}}}}};E.BlockBlobCommitBlockListHeaders={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"}}}}};E.BlockBlobCommitBlockListExceptionHeaders={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobGetBlockListHeaders={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"}}}}};E.BlockBlobGetBlockListExceptionHeaders={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}}});var Fo=m(I=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});I.action3=I.action2=I.leaseId1=I.action1=I.proposedLeaseId=I.duration=I.action=I.comp10=I.sourceLeaseId=I.sourceContainerName=I.comp9=I.deletedContainerVersion=I.deletedContainerName=I.comp8=I.containerAcl=I.comp7=I.comp6=I.ifUnmodifiedSince=I.ifModifiedSince=I.leaseId=I.preventEncryptionScopeOverride=I.defaultEncryptionScope=I.access=I.metadata=I.restype2=I.where=I.comp5=I.multipartContentType=I.contentLength=I.comp4=I.body=I.restype1=I.comp3=I.keyInfo=I.include=I.maxPageSize=I.marker=I.prefix=I.comp2=I.comp1=I.accept1=I.requestId=I.version=I.timeoutInSeconds=I.comp=I.restype=I.url=I.accept=I.blobServiceProperties=I.contentType=void 0;I.copySourceTags=I.copySourceAuthorization=I.sourceContentMD5=I.xMsRequiresSync=I.legalHold1=I.sealBlob=I.blobTagsString=I.copySource=I.sourceIfTags=I.sourceIfNoneMatch=I.sourceIfMatch=I.sourceIfUnmodifiedSince=I.sourceIfModifiedSince=I.rehydratePriority=I.tier=I.comp14=I.encryptionScope=I.legalHold=I.comp13=I.immutabilityPolicyMode=I.immutabilityPolicyExpiry=I.comp12=I.blobContentDisposition=I.blobContentLanguage=I.blobContentEncoding=I.blobContentMD5=I.blobContentType=I.blobCacheControl=I.expiresOn=I.expiryOptions=I.comp11=I.blobDeleteType=I.deleteSnapshots=I.ifTags=I.ifNoneMatch=I.ifMatch=I.encryptionAlgorithm=I.encryptionKeySha256=I.encryptionKey=I.rangeGetContentCRC64=I.rangeGetContentMD5=I.range=I.versionId=I.snapshot=I.delimiter=I.startFrom=I.include1=I.proposedLeaseId1=I.action4=I.breakPeriod=void 0;I.listType=I.comp25=I.blocks=I.blockId=I.comp24=I.copySourceBlobProperties=I.blobType2=I.comp23=I.sourceRange1=I.appendPosition=I.maxSize=I.comp22=I.blobType1=I.comp21=I.sequenceNumberAction=I.prevSnapshotUrl=I.prevsnapshot=I.comp20=I.range1=I.sourceContentCrc64=I.sourceRange=I.sourceUrl=I.pageWrite1=I.ifSequenceNumberEqualTo=I.ifSequenceNumberLessThan=I.ifSequenceNumberLessThanOrEqualTo=I.pageWrite=I.comp19=I.accept2=I.body1=I.contentType1=I.blobSequenceNumber=I.blobContentLength=I.blobType=I.transactionalContentCrc64=I.transactionalContentMD5=I.tags=I.ifNoneMatch1=I.ifMatch1=I.ifUnmodifiedSince1=I.ifModifiedSince1=I.comp18=I.comp17=I.queryRequest=I.tier1=I.comp16=I.copyId=I.copyActionAbortConstant=I.comp15=I.fileRequestIntent=void 0;var Bu=qs();I.contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}};I.blobServiceProperties={parameterPath:"blobServiceProperties",mapper:Bu.BlobServiceProperties};I.accept={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};I.url={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0};I.restype={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}};I.comp={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.timeoutInSeconds={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};I.version={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}};I.requestId={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};I.accept1={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};I.comp1={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.comp2={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.prefix={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};I.marker={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};I.maxPageSize={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};I.include={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};I.keyInfo={parameterPath:"keyInfo",mapper:Bu.KeyInfo};I.comp3={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.restype1={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}};I.body={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}};I.comp4={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.contentLength={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}};I.multipartContentType={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}};I.comp5={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.where={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};I.restype2={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}};I.metadata={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};I.access={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};I.defaultEncryptionScope={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};I.preventEncryptionScopeOverride={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};I.leaseId={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};I.ifModifiedSince={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};I.ifUnmodifiedSince={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};I.comp6={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.comp7={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.containerAcl={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};I.comp8={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.deletedContainerName={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};I.deletedContainerVersion={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};I.comp9={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.sourceContainerName={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}};I.sourceLeaseId={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};I.comp10={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.action={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.duration={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};I.proposedLeaseId={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};I.action1={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.leaseId1={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}};I.action2={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.action3={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.breakPeriod={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};I.action4={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.proposedLeaseId1={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};I.include1={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"};I.startFrom={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}};I.delimiter={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}};I.snapshot={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};I.versionId={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};I.range={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};I.rangeGetContentMD5={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};I.rangeGetContentCRC64={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};I.encryptionKey={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};I.encryptionKeySha256={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};I.encryptionAlgorithm={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};I.ifMatch={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};I.ifNoneMatch={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};I.ifTags={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};I.deleteSnapshots={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};I.blobDeleteType={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};I.comp11={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.expiryOptions={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}};I.expiresOn={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};I.blobCacheControl={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};I.blobContentType={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};I.blobContentMD5={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};I.blobContentEncoding={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};I.blobContentLanguage={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};I.blobContentDisposition={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};I.comp12={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.immutabilityPolicyExpiry={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};I.immutabilityPolicyMode={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};I.comp13={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.legalHold={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};I.encryptionScope={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};I.comp14={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.tier={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"]}}};I.rehydratePriority={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};I.sourceIfModifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};I.sourceIfUnmodifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};I.sourceIfMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};I.sourceIfNoneMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};I.sourceIfTags={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};I.copySource={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}};I.blobTagsString={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};I.sealBlob={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};I.legalHold1={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};I.xMsRequiresSync={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}};I.sourceContentMD5={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};I.copySourceAuthorization={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};I.copySourceTags={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}};I.fileRequestIntent={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}};I.comp15={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.copyActionAbortConstant={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}};I.copyId={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}};I.comp16={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.tier1={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"]}}};I.queryRequest={parameterPath:["options","queryRequest"],mapper:Bu.QueryRequest};I.comp17={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.comp18={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.ifModifiedSince1={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}};I.ifUnmodifiedSince1={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};I.ifMatch1={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}};I.ifNoneMatch1={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}};I.tags={parameterPath:["options","tags"],mapper:Bu.BlobTags};I.transactionalContentMD5={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};I.transactionalContentCrc64={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};I.blobType={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};I.blobContentLength={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};I.blobSequenceNumber={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};I.contentType1={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}};I.body1={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}};I.accept2={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};I.comp19={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.pageWrite={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}};I.ifSequenceNumberLessThanOrEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};I.ifSequenceNumberLessThan={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};I.ifSequenceNumberEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};I.pageWrite1={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}};I.sourceUrl={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}};I.sourceRange={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}};I.sourceContentCrc64={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};I.range1={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}};I.comp20={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.prevsnapshot={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};I.prevSnapshotUrl={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};I.sequenceNumberAction={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}};I.comp21={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.blobType1={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};I.comp22={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.maxSize={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};I.appendPosition={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};I.sourceRange1={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};I.comp23={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.blobType2={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};I.copySourceBlobProperties={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};I.comp24={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.blockId={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}};I.blocks={parameterPath:"blocks",mapper:Bu.BlockLookupList};I.comp25={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.listType={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}});var $W=m(gm=>{"use strict";Object.defineProperty(gm,"__esModule",{value:!0});gm.ServiceImpl=void 0;var Y0=(Vr(),Wt(Jr)),NPe=Y0.__importStar(fi()),Ue=Y0.__importStar(qs()),J=Y0.__importStar(Fo()),G0=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},xPe)}getProperties(e){return this.client.sendOperationRequest({options:e},SPe)}getStatistics(e){return this.client.sendOperationRequest({options:e},RPe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},_Pe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},vPe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},PPe)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},DPe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},TPe)}};gm.ServiceImpl=G0;var Hs=NPe.createSerializer(Ue,!0),xPe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:Ue.ServiceSetPropertiesHeaders},default:{bodyMapper:Ue.StorageError,headersMapper:Ue.ServiceSetPropertiesExceptionHeaders}},requestBody:J.blobServiceProperties,queryParameters:[J.restype,J.comp,J.timeoutInSeconds],urlParameters:[J.url],headerParameters:[J.contentType,J.accept,J.version,J.requestId],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Hs},SPe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Ue.BlobServiceProperties,headersMapper:Ue.ServiceGetPropertiesHeaders},default:{bodyMapper:Ue.StorageError,headersMapper:Ue.ServiceGetPropertiesExceptionHeaders}},queryParameters:[J.restype,J.comp,J.timeoutInSeconds],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:Hs},RPe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Ue.BlobServiceStatistics,headersMapper:Ue.ServiceGetStatisticsHeaders},default:{bodyMapper:Ue.StorageError,headersMapper:Ue.ServiceGetStatisticsExceptionHeaders}},queryParameters:[J.restype,J.timeoutInSeconds,J.comp1],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:Hs},_Pe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Ue.ListContainersSegmentResponse,headersMapper:Ue.ServiceListContainersSegmentHeaders},default:{bodyMapper:Ue.StorageError,headersMapper:Ue.ServiceListContainersSegmentExceptionHeaders}},queryParameters:[J.timeoutInSeconds,J.comp2,J.prefix,J.marker,J.maxPageSize,J.include],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:Hs},vPe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:Ue.UserDelegationKey,headersMapper:Ue.ServiceGetUserDelegationKeyHeaders},default:{bodyMapper:Ue.StorageError,headersMapper:Ue.ServiceGetUserDelegationKeyExceptionHeaders}},requestBody:J.keyInfo,queryParameters:[J.restype,J.timeoutInSeconds,J.comp3],urlParameters:[J.url],headerParameters:[J.contentType,J.accept,J.version,J.requestId],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Hs},PPe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:Ue.ServiceGetAccountInfoHeaders},default:{bodyMapper:Ue.StorageError,headersMapper:Ue.ServiceGetAccountInfoExceptionHeaders}},queryParameters:[J.comp,J.timeoutInSeconds,J.restype1],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:Hs},DPe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Ue.ServiceSubmitBatchHeaders},default:{bodyMapper:Ue.StorageError,headersMapper:Ue.ServiceSubmitBatchExceptionHeaders}},requestBody:J.body,queryParameters:[J.timeoutInSeconds,J.comp4],urlParameters:[J.url],headerParameters:[J.accept,J.version,J.requestId,J.contentLength,J.multipartContentType],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Hs},TPe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Ue.FilterBlobSegment,headersMapper:Ue.ServiceFilterBlobsHeaders},default:{bodyMapper:Ue.StorageError,headersMapper:Ue.ServiceFilterBlobsExceptionHeaders}},queryParameters:[J.timeoutInSeconds,J.marker,J.maxPageSize,J.comp5,J.where],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:Hs}});var XW=m(ym=>{"use strict";Object.defineProperty(ym,"__esModule",{value:!0});ym.ContainerImpl=void 0;var V0=(Vr(),Wt(Jr)),OPe=V0.__importStar(fi()),$=V0.__importStar(qs()),P=V0.__importStar(Fo()),J0=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},MPe)}getProperties(e){return this.client.sendOperationRequest({options:e},kPe)}delete(e){return this.client.sendOperationRequest({options:e},LPe)}setMetadata(e){return this.client.sendOperationRequest({options:e},UPe)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},FPe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},qPe)}restore(e){return this.client.sendOperationRequest({options:e},HPe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},zPe)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},jPe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},GPe)}acquireLease(e){return this.client.sendOperationRequest({options:e},YPe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},JPe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},VPe)}breakLease(e){return this.client.sendOperationRequest({options:e},WPe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},KPe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},$Pe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},XPe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},ZPe)}};ym.ContainerImpl=J0;var Ht=OPe.createSerializer($,!0),MPe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:$.ContainerCreateHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerCreateExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.metadata,P.access,P.defaultEncryptionScope,P.preventEncryptionScopeOverride],isXML:!0,serializer:Ht},kPe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:$.ContainerGetPropertiesHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerGetPropertiesExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId],isXML:!0,serializer:Ht},LPe={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:$.ContainerDeleteHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerDeleteExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId,P.ifModifiedSince,P.ifUnmodifiedSince],isXML:!0,serializer:Ht},UPe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:$.ContainerSetMetadataHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerSetMetadataExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp6],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.metadata,P.leaseId,P.ifModifiedSince],isXML:!0,serializer:Ht},FPe={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:$.ContainerGetAccessPolicyHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerGetAccessPolicyExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp7],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId],isXML:!0,serializer:Ht},qPe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:$.ContainerSetAccessPolicyHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerSetAccessPolicyExceptionHeaders}},requestBody:P.containerAcl,queryParameters:[P.timeoutInSeconds,P.restype2,P.comp7],urlParameters:[P.url],headerParameters:[P.contentType,P.accept,P.version,P.requestId,P.access,P.leaseId,P.ifModifiedSince,P.ifUnmodifiedSince],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ht},HPe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:$.ContainerRestoreHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerRestoreExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp8],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.deletedContainerName,P.deletedContainerVersion],isXML:!0,serializer:Ht},zPe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:$.ContainerRenameHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerRenameExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp9],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.sourceContainerName,P.sourceLeaseId],isXML:!0,serializer:Ht},jPe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:$.ContainerSubmitBatchHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerSubmitBatchExceptionHeaders}},requestBody:P.body,queryParameters:[P.timeoutInSeconds,P.comp4,P.restype2],urlParameters:[P.url],headerParameters:[P.accept,P.version,P.requestId,P.contentLength,P.multipartContentType],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ht},GPe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:$.FilterBlobSegment,headersMapper:$.ContainerFilterBlobsHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerFilterBlobsExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.marker,P.maxPageSize,P.comp5,P.where,P.restype2],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1],isXML:!0,serializer:Ht},YPe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:$.ContainerAcquireLeaseHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerAcquireLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.action,P.duration,P.proposedLeaseId],isXML:!0,serializer:Ht},JPe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:$.ContainerReleaseLeaseHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerReleaseLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.action1,P.leaseId1],isXML:!0,serializer:Ht},VPe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:$.ContainerRenewLeaseHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerRenewLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.leaseId1,P.action2],isXML:!0,serializer:Ht},WPe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:$.ContainerBreakLeaseHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerBreakLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.action3,P.breakPeriod],isXML:!0,serializer:Ht},KPe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:$.ContainerChangeLeaseHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerChangeLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.leaseId1,P.action4,P.proposedLeaseId1],isXML:!0,serializer:Ht},$Pe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:$.ListBlobsFlatSegmentResponse,headersMapper:$.ContainerListBlobFlatSegmentHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerListBlobFlatSegmentExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.comp2,P.prefix,P.marker,P.maxPageSize,P.restype2,P.include1,P.startFrom],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1],isXML:!0,serializer:Ht},XPe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:$.ListBlobsHierarchySegmentResponse,headersMapper:$.ContainerListBlobHierarchySegmentHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerListBlobHierarchySegmentExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.comp2,P.prefix,P.marker,P.maxPageSize,P.restype2,P.include1,P.startFrom,P.delimiter],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1],isXML:!0,serializer:Ht},ZPe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:$.ContainerGetAccountInfoHeaders},default:{bodyMapper:$.StorageError,headersMapper:$.ContainerGetAccountInfoExceptionHeaders}},queryParameters:[P.comp,P.timeoutInSeconds,P.restype1],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1],isXML:!0,serializer:Ht}});var ZW=m(Cm=>{"use strict";Object.defineProperty(Cm,"__esModule",{value:!0});Cm.BlobImpl=void 0;var K0=(Vr(),Wt(Jr)),eDe=K0.__importStar(fi()),Y=K0.__importStar(qs()),B=K0.__importStar(Fo()),W0=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},tDe)}getProperties(e){return this.client.sendOperationRequest({options:e},rDe)}delete(e){return this.client.sendOperationRequest({options:e},nDe)}undelete(e){return this.client.sendOperationRequest({options:e},iDe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},sDe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},oDe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},aDe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},cDe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},lDe)}setMetadata(e){return this.client.sendOperationRequest({options:e},ADe)}acquireLease(e){return this.client.sendOperationRequest({options:e},uDe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},dDe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},pDe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},hDe)}breakLease(e){return this.client.sendOperationRequest({options:e},fDe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},mDe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},gDe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},yDe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},CDe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},EDe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},BDe)}query(e){return this.client.sendOperationRequest({options:e},IDe)}getTags(e){return this.client.sendOperationRequest({options:e},bDe)}setTags(e){return this.client.sendOperationRequest({options:e},QDe)}};Cm.BlobImpl=W0;var st=eDe.createSerializer(Y,!0),tDe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobDownloadHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobDownloadHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobDownloadExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.range,B.rangeGetContentMD5,B.rangeGetContentCRC64,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:st},rDe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:Y.BlobGetPropertiesHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobGetPropertiesExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:st},nDe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:Y.BlobDeleteHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobDeleteExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.blobDeleteType],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.ifMatch,B.ifNoneMatch,B.ifTags,B.deleteSnapshots],isXML:!0,serializer:st},iDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobUndeleteHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobUndeleteExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp8],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1],isXML:!0,serializer:st},sDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetExpiryHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetExpiryExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp11],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.expiryOptions,B.expiresOn],isXML:!0,serializer:st},oDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetHttpHeadersHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetHttpHeadersExceptionHeaders}},queryParameters:[B.comp,B.timeoutInSeconds],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.ifMatch,B.ifNoneMatch,B.ifTags,B.blobCacheControl,B.blobContentType,B.blobContentMD5,B.blobContentEncoding,B.blobContentLanguage,B.blobContentDisposition],isXML:!0,serializer:st},aDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetImmutabilityPolicyHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetImmutabilityPolicyExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp12],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifUnmodifiedSince,B.immutabilityPolicyExpiry,B.immutabilityPolicyMode],isXML:!0,serializer:st},cDe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:Y.BlobDeleteImmutabilityPolicyHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobDeleteImmutabilityPolicyExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp12],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1],isXML:!0,serializer:st},lDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetLegalHoldHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetLegalHoldExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp13],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.legalHold],isXML:!0,serializer:st},ADe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetMetadataHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetMetadataExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp6],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.metadata,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags,B.encryptionScope],isXML:!0,serializer:st},uDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Y.BlobAcquireLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobAcquireLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.action,B.duration,B.proposedLeaseId,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:st},dDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobReleaseLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobReleaseLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.action1,B.leaseId1,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:st},pDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobRenewLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobRenewLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.leaseId1,B.action2,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:st},hDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobChangeLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobChangeLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.leaseId1,B.action4,B.proposedLeaseId1,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:st},fDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Y.BlobBreakLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobBreakLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.action3,B.breakPeriod,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:st},mDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Y.BlobCreateSnapshotHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobCreateSnapshotExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp14],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.metadata,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags,B.encryptionScope],isXML:!0,serializer:st},gDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Y.BlobStartCopyFromURLHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobStartCopyFromURLExceptionHeaders}},queryParameters:[B.timeoutInSeconds],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.metadata,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.ifMatch,B.ifNoneMatch,B.ifTags,B.immutabilityPolicyExpiry,B.immutabilityPolicyMode,B.tier,B.rehydratePriority,B.sourceIfModifiedSince,B.sourceIfUnmodifiedSince,B.sourceIfMatch,B.sourceIfNoneMatch,B.sourceIfTags,B.copySource,B.blobTagsString,B.sealBlob,B.legalHold1],isXML:!0,serializer:st},yDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Y.BlobCopyFromURLHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobCopyFromURLExceptionHeaders}},queryParameters:[B.timeoutInSeconds],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.metadata,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.ifMatch,B.ifNoneMatch,B.ifTags,B.immutabilityPolicyExpiry,B.immutabilityPolicyMode,B.encryptionScope,B.tier,B.sourceIfModifiedSince,B.sourceIfUnmodifiedSince,B.sourceIfMatch,B.sourceIfNoneMatch,B.copySource,B.blobTagsString,B.legalHold1,B.xMsRequiresSync,B.sourceContentMD5,B.copySourceAuthorization,B.copySourceTags,B.fileRequestIntent],isXML:!0,serializer:st},CDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Y.BlobAbortCopyFromURLHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobAbortCopyFromURLExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp15,B.copyId],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.copyActionAbortConstant],isXML:!0,serializer:st},EDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetTierHeaders},202:{headersMapper:Y.BlobSetTierHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetTierExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp16],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifTags,B.rehydratePriority,B.tier1],isXML:!0,serializer:st},BDe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:Y.BlobGetAccountInfoHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobGetAccountInfoExceptionHeaders}},queryParameters:[B.comp,B.timeoutInSeconds,B.restype1],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1],isXML:!0,serializer:st},IDe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobQueryHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobQueryHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobQueryExceptionHeaders}},requestBody:B.queryRequest,queryParameters:[B.timeoutInSeconds,B.snapshot,B.comp17],urlParameters:[B.url],headerParameters:[B.contentType,B.accept,B.version,B.requestId,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:st},bDe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Y.BlobTags,headersMapper:Y.BlobGetTagsHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobGetTagsExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp18],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifTags,B.ifModifiedSince1,B.ifUnmodifiedSince1,B.ifMatch1,B.ifNoneMatch1],isXML:!0,serializer:st},QDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Y.BlobSetTagsHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetTagsExceptionHeaders}},requestBody:B.tags,queryParameters:[B.timeoutInSeconds,B.versionId,B.comp18],urlParameters:[B.url],headerParameters:[B.contentType,B.accept,B.version,B.requestId,B.leaseId,B.ifTags,B.ifModifiedSince1,B.ifUnmodifiedSince1,B.ifMatch1,B.ifNoneMatch1,B.transactionalContentMD5,B.transactionalContentCrc64],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:st}});var e3=m(Em=>{"use strict";Object.defineProperty(Em,"__esModule",{value:!0});Em.PageBlobImpl=void 0;var X0=(Vr(),Wt(Jr)),wDe=X0.__importStar(fi()),Fe=X0.__importStar(qs()),v=X0.__importStar(Fo()),$0=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},NDe)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},xDe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},SDe)}uploadPagesFromURL(e,r,n,i,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:i,options:s},RDe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},_De)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},vDe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},PDe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},DDe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},TDe)}};Em.PageBlobImpl=$0;var ns=wDe.createSerializer(Fe,!0),NDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Fe.PageBlobCreateHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobCreateExceptionHeaders}},queryParameters:[v.timeoutInSeconds],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.contentLength,v.metadata,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.encryptionKey,v.encryptionKeySha256,v.encryptionAlgorithm,v.ifMatch,v.ifNoneMatch,v.ifTags,v.blobCacheControl,v.blobContentType,v.blobContentMD5,v.blobContentEncoding,v.blobContentLanguage,v.blobContentDisposition,v.immutabilityPolicyExpiry,v.immutabilityPolicyMode,v.encryptionScope,v.tier,v.blobTagsString,v.legalHold1,v.blobType,v.blobContentLength,v.blobSequenceNumber],isXML:!0,serializer:ns},xDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Fe.PageBlobUploadPagesHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobUploadPagesExceptionHeaders}},requestBody:v.body1,queryParameters:[v.timeoutInSeconds,v.comp19],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.contentLength,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.range,v.encryptionKey,v.encryptionKeySha256,v.encryptionAlgorithm,v.ifMatch,v.ifNoneMatch,v.ifTags,v.encryptionScope,v.transactionalContentMD5,v.transactionalContentCrc64,v.contentType1,v.accept2,v.pageWrite,v.ifSequenceNumberLessThanOrEqualTo,v.ifSequenceNumberLessThan,v.ifSequenceNumberEqualTo],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:ns},SDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Fe.PageBlobClearPagesHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobClearPagesExceptionHeaders}},queryParameters:[v.timeoutInSeconds,v.comp19],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.contentLength,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.range,v.encryptionKey,v.encryptionKeySha256,v.encryptionAlgorithm,v.ifMatch,v.ifNoneMatch,v.ifTags,v.encryptionScope,v.ifSequenceNumberLessThanOrEqualTo,v.ifSequenceNumberLessThan,v.ifSequenceNumberEqualTo,v.pageWrite1],isXML:!0,serializer:ns},RDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Fe.PageBlobUploadPagesFromURLHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobUploadPagesFromURLExceptionHeaders}},queryParameters:[v.timeoutInSeconds,v.comp19],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.contentLength,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.encryptionKey,v.encryptionKeySha256,v.encryptionAlgorithm,v.ifMatch,v.ifNoneMatch,v.ifTags,v.encryptionScope,v.sourceIfModifiedSince,v.sourceIfUnmodifiedSince,v.sourceIfMatch,v.sourceIfNoneMatch,v.sourceContentMD5,v.copySourceAuthorization,v.fileRequestIntent,v.pageWrite,v.ifSequenceNumberLessThanOrEqualTo,v.ifSequenceNumberLessThan,v.ifSequenceNumberEqualTo,v.sourceUrl,v.sourceRange,v.sourceContentCrc64,v.range1],isXML:!0,serializer:ns},_De={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Fe.PageList,headersMapper:Fe.PageBlobGetPageRangesHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobGetPageRangesExceptionHeaders}},queryParameters:[v.timeoutInSeconds,v.marker,v.maxPageSize,v.snapshot,v.comp20],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.range,v.ifMatch,v.ifNoneMatch,v.ifTags],isXML:!0,serializer:ns},vDe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Fe.PageList,headersMapper:Fe.PageBlobGetPageRangesDiffHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobGetPageRangesDiffExceptionHeaders}},queryParameters:[v.timeoutInSeconds,v.marker,v.maxPageSize,v.snapshot,v.comp20,v.prevsnapshot],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.range,v.ifMatch,v.ifNoneMatch,v.ifTags,v.prevSnapshotUrl],isXML:!0,serializer:ns},PDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Fe.PageBlobResizeHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobResizeExceptionHeaders}},queryParameters:[v.comp,v.timeoutInSeconds],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.encryptionKey,v.encryptionKeySha256,v.encryptionAlgorithm,v.ifMatch,v.ifNoneMatch,v.ifTags,v.encryptionScope,v.blobContentLength],isXML:!0,serializer:ns},DDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Fe.PageBlobUpdateSequenceNumberHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobUpdateSequenceNumberExceptionHeaders}},queryParameters:[v.comp,v.timeoutInSeconds],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.ifMatch,v.ifNoneMatch,v.ifTags,v.blobSequenceNumber,v.sequenceNumberAction],isXML:!0,serializer:ns},TDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Fe.PageBlobCopyIncrementalHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.PageBlobCopyIncrementalExceptionHeaders}},queryParameters:[v.timeoutInSeconds,v.comp21],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.ifModifiedSince,v.ifUnmodifiedSince,v.ifMatch,v.ifNoneMatch,v.ifTags,v.copySource],isXML:!0,serializer:ns}});var t3=m(Im=>{"use strict";Object.defineProperty(Im,"__esModule",{value:!0});Im.AppendBlobImpl=void 0;var ex=(Vr(),Wt(Jr)),ODe=ex.__importStar(fi()),Xr=ex.__importStar(qs()),H=ex.__importStar(Fo()),Z0=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},MDe)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},kDe)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},LDe)}seal(e){return this.client.sendOperationRequest({options:e},UDe)}};Im.AppendBlobImpl=Z0;var Bm=ODe.createSerializer(Xr,!0),MDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Xr.AppendBlobCreateHeaders},default:{bodyMapper:Xr.StorageError,headersMapper:Xr.AppendBlobCreateExceptionHeaders}},queryParameters:[H.timeoutInSeconds],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.accept1,H.contentLength,H.metadata,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.encryptionKey,H.encryptionKeySha256,H.encryptionAlgorithm,H.ifMatch,H.ifNoneMatch,H.ifTags,H.blobCacheControl,H.blobContentType,H.blobContentMD5,H.blobContentEncoding,H.blobContentLanguage,H.blobContentDisposition,H.immutabilityPolicyExpiry,H.immutabilityPolicyMode,H.encryptionScope,H.blobTagsString,H.legalHold1,H.blobType1],isXML:!0,serializer:Bm},kDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Xr.AppendBlobAppendBlockHeaders},default:{bodyMapper:Xr.StorageError,headersMapper:Xr.AppendBlobAppendBlockExceptionHeaders}},requestBody:H.body1,queryParameters:[H.timeoutInSeconds,H.comp22],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.contentLength,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.encryptionKey,H.encryptionKeySha256,H.encryptionAlgorithm,H.ifMatch,H.ifNoneMatch,H.ifTags,H.encryptionScope,H.transactionalContentMD5,H.transactionalContentCrc64,H.contentType1,H.accept2,H.maxSize,H.appendPosition],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Bm},LDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Xr.AppendBlobAppendBlockFromUrlHeaders},default:{bodyMapper:Xr.StorageError,headersMapper:Xr.AppendBlobAppendBlockFromUrlExceptionHeaders}},queryParameters:[H.timeoutInSeconds,H.comp22],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.accept1,H.contentLength,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.encryptionKey,H.encryptionKeySha256,H.encryptionAlgorithm,H.ifMatch,H.ifNoneMatch,H.ifTags,H.encryptionScope,H.sourceIfModifiedSince,H.sourceIfUnmodifiedSince,H.sourceIfMatch,H.sourceIfNoneMatch,H.sourceContentMD5,H.copySourceAuthorization,H.fileRequestIntent,H.transactionalContentMD5,H.sourceUrl,H.sourceContentCrc64,H.maxSize,H.appendPosition,H.sourceRange1],isXML:!0,serializer:Bm},UDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Xr.AppendBlobSealHeaders},default:{bodyMapper:Xr.StorageError,headersMapper:Xr.AppendBlobSealExceptionHeaders}},queryParameters:[H.timeoutInSeconds,H.comp23],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.accept1,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.ifMatch,H.ifNoneMatch,H.appendPosition],isXML:!0,serializer:Bm}});var r3=m(bm=>{"use strict";Object.defineProperty(bm,"__esModule",{value:!0});bm.BlockBlobImpl=void 0;var rx=(Vr(),Wt(Jr)),FDe=rx.__importStar(fi()),St=rx.__importStar(qs()),D=rx.__importStar(Fo()),tx=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},qDe)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},HDe)}stageBlock(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:i},zDe)}stageBlockFromURL(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:i},jDe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},GDe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},YDe)}};bm.BlockBlobImpl=tx;var Jc=FDe.createSerializer(St,!0),qDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:St.BlockBlobUploadHeaders},default:{bodyMapper:St.StorageError,headersMapper:St.BlockBlobUploadExceptionHeaders}},requestBody:D.body1,queryParameters:[D.timeoutInSeconds],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.contentLength,D.metadata,D.leaseId,D.ifModifiedSince,D.ifUnmodifiedSince,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.ifMatch,D.ifNoneMatch,D.ifTags,D.blobCacheControl,D.blobContentType,D.blobContentMD5,D.blobContentEncoding,D.blobContentLanguage,D.blobContentDisposition,D.immutabilityPolicyExpiry,D.immutabilityPolicyMode,D.encryptionScope,D.tier,D.blobTagsString,D.legalHold1,D.transactionalContentMD5,D.transactionalContentCrc64,D.contentType1,D.accept2,D.blobType2],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Jc},HDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:St.BlockBlobPutBlobFromUrlHeaders},default:{bodyMapper:St.StorageError,headersMapper:St.BlockBlobPutBlobFromUrlExceptionHeaders}},queryParameters:[D.timeoutInSeconds],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.accept1,D.contentLength,D.metadata,D.leaseId,D.ifModifiedSince,D.ifUnmodifiedSince,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.ifMatch,D.ifNoneMatch,D.ifTags,D.blobCacheControl,D.blobContentType,D.blobContentMD5,D.blobContentEncoding,D.blobContentLanguage,D.blobContentDisposition,D.encryptionScope,D.tier,D.sourceIfModifiedSince,D.sourceIfUnmodifiedSince,D.sourceIfMatch,D.sourceIfNoneMatch,D.sourceIfTags,D.copySource,D.blobTagsString,D.sourceContentMD5,D.copySourceAuthorization,D.copySourceTags,D.fileRequestIntent,D.transactionalContentMD5,D.blobType2,D.copySourceBlobProperties],isXML:!0,serializer:Jc},zDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:St.BlockBlobStageBlockHeaders},default:{bodyMapper:St.StorageError,headersMapper:St.BlockBlobStageBlockExceptionHeaders}},requestBody:D.body1,queryParameters:[D.timeoutInSeconds,D.comp24,D.blockId],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.contentLength,D.leaseId,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.encryptionScope,D.transactionalContentMD5,D.transactionalContentCrc64,D.contentType1,D.accept2],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Jc},jDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:St.BlockBlobStageBlockFromURLHeaders},default:{bodyMapper:St.StorageError,headersMapper:St.BlockBlobStageBlockFromURLExceptionHeaders}},queryParameters:[D.timeoutInSeconds,D.comp24,D.blockId],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.accept1,D.contentLength,D.leaseId,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.encryptionScope,D.sourceIfModifiedSince,D.sourceIfUnmodifiedSince,D.sourceIfMatch,D.sourceIfNoneMatch,D.sourceContentMD5,D.copySourceAuthorization,D.fileRequestIntent,D.sourceUrl,D.sourceContentCrc64,D.sourceRange1],isXML:!0,serializer:Jc},GDe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:St.BlockBlobCommitBlockListHeaders},default:{bodyMapper:St.StorageError,headersMapper:St.BlockBlobCommitBlockListExceptionHeaders}},requestBody:D.blocks,queryParameters:[D.timeoutInSeconds,D.comp25],urlParameters:[D.url],headerParameters:[D.contentType,D.accept,D.version,D.requestId,D.metadata,D.leaseId,D.ifModifiedSince,D.ifUnmodifiedSince,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.ifMatch,D.ifNoneMatch,D.ifTags,D.blobCacheControl,D.blobContentType,D.blobContentMD5,D.blobContentEncoding,D.blobContentLanguage,D.blobContentDisposition,D.immutabilityPolicyExpiry,D.immutabilityPolicyMode,D.encryptionScope,D.tier,D.blobTagsString,D.legalHold1,D.transactionalContentMD5,D.transactionalContentCrc64],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Jc},YDe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:St.BlockList,headersMapper:St.BlockBlobGetBlockListHeaders},default:{bodyMapper:St.StorageError,headersMapper:St.BlockBlobGetBlockListExceptionHeaders}},queryParameters:[D.timeoutInSeconds,D.snapshot,D.comp25,D.listType],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.accept1,D.leaseId,D.ifTags],isXML:!0,serializer:Jc}});var n3=m(zs=>{"use strict";Object.defineProperty(zs,"__esModule",{value:!0});var Vc=(Vr(),Wt(Jr));Vc.__exportStar($W(),zs);Vc.__exportStar(XW(),zs);Vc.__exportStar(ZW(),zs);Vc.__exportStar(e3(),zs);Vc.__exportStar(t3(),zs);Vc.__exportStar(r3(),zs)});var i3=m(Qm=>{"use strict";Object.defineProperty(Qm,"__esModule",{value:!0});Qm.StorageClient=void 0;var JDe=(Vr(),Wt(Jr)),VDe=JDe.__importStar(zf()),Wc=n3(),nx=class extends VDe.ExtendedServiceClient{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"},i="azsdk-js-azure-storage-blob/12.30.0",s=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`,a={...n,...r,userAgentOptions:{userAgentPrefix:s},endpoint:r.endpoint??r.baseUri??"{url}"};super(a),this.url=e,this.version=r.version||"2026-02-06",this.service=new Wc.ServiceImpl(this),this.container=new Wc.ContainerImpl(this),this.blob=new Wc.BlobImpl(this),this.pageBlob=new Wc.PageBlobImpl(this),this.appendBlob=new Wc.AppendBlobImpl(this),this.blockBlob=new Wc.BlockBlobImpl(this)}service;container;blob;pageBlob;appendBlob;blockBlob};Qm.StorageClient=nx});var o3=m(s3=>{"use strict";Object.defineProperty(s3,"__esModule",{value:!0})});var c3=m(a3=>{"use strict";Object.defineProperty(a3,"__esModule",{value:!0})});var A3=m(l3=>{"use strict";Object.defineProperty(l3,"__esModule",{value:!0})});var d3=m(u3=>{"use strict";Object.defineProperty(u3,"__esModule",{value:!0})});var h3=m(p3=>{"use strict";Object.defineProperty(p3,"__esModule",{value:!0})});var m3=m(f3=>{"use strict";Object.defineProperty(f3,"__esModule",{value:!0})});var g3=m(js=>{"use strict";Object.defineProperty(js,"__esModule",{value:!0});var Kc=(Vr(),Wt(Jr));Kc.__exportStar(o3(),js);Kc.__exportStar(c3(),js);Kc.__exportStar(A3(),js);Kc.__exportStar(d3(),js);Kc.__exportStar(h3(),js);Kc.__exportStar(m3(),js)});var C3=m($c=>{"use strict";Object.defineProperty($c,"__esModule",{value:!0});$c.StorageClient=void 0;var y3=(Vr(),Wt(Jr));y3.__exportStar(KW(),$c);var WDe=i3();Object.defineProperty($c,"StorageClient",{enumerable:!0,get:function(){return WDe.StorageClient}});y3.__exportStar(g3(),$c)});var sx=m(wm=>{"use strict";Object.defineProperty(wm,"__esModule",{value:!0});wm.StorageContextClient=void 0;var KDe=C3(),ix=class extends KDe.StorageClient{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)}};wm.StorageContextClient=ix});var bn=m(Ie=>{"use strict";Object.defineProperty(Ie,"__esModule",{value:!0});Ie.escapeURLPath=XDe;Ie.getValueInConnString=Gs;Ie.extractConnectionStringParts=eTe;Ie.appendToURLPath=rTe;Ie.setURLParameter=B3;Ie.getURLParameter=I3;Ie.setURLHost=nTe;Ie.getURLPath=iTe;Ie.getURLScheme=sTe;Ie.getURLPathAndQuery=oTe;Ie.getURLQueries=aTe;Ie.appendToURLQuery=cTe;Ie.truncatedISO8061Date=lTe;Ie.base64encode=b3;Ie.base64decode=ATe;Ie.generateBlockID=uTe;Ie.delay=dTe;Ie.padStart=Q3;Ie.sanitizeURL=w3;Ie.sanitizeHeaders=pTe;Ie.iEqual=hTe;Ie.getAccountNameFromUrl=N3;Ie.isIpEndpointStyle=x3;Ie.toBlobTagsString=fTe;Ie.toBlobTags=mTe;Ie.toTags=gTe;Ie.toQuerySerialization=yTe;Ie.parseObjectReplicationRecord=CTe;Ie.attachCredential=ETe;Ie.httpAuthorizationToString=BTe;Ie.BlobNameToString=Nm;Ie.ConvertInternalResponseOfListBlobFlat=ITe;Ie.ConvertInternalResponseOfListBlobHierarchy=bTe;Ie.ExtractPageRangeInfoItems=QTe;Ie.EscapePath=wTe;Ie.assertResponse=NTe;var $De=Pt(),E3=ut(),Xc=Kr();function XDe(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=tTe(r),e.pathname=r,e.toString()}o(XDe,"escapeURLPath");function ZDe(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(ZDe,"getProxyUriFromDevConnString");function Gs(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(Gs,"getValueInConnString");function eTe(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=ZDe(t),t=Xc.DevelopmentConnectionString);let r=Gs(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",i="",s=Buffer.from("accountKey","base64"),a="";if(i=Gs(t,"AccountName"),s=Buffer.from(Gs(t,"AccountKey"),"base64"),!r){n=Gs(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=Gs(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${a}`}if(i){if(s.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:i,accountKey:s,proxyUri:e}}else{let n=Gs(t,"SharedAccessSignature"),i=Gs(t,"AccountName");if(i||(i=N3(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:i,accountSas:n}}}o(eTe,"extractConnectionStringParts");function tTe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(tTe,"escape");function rTe(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(rTe,"appendToURLPath");function B3(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=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!==i&&c.push(l)}return s&&c.push(`${i}=${s}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(B3,"setURLParameter");function I3(t,e){return new URL(t).searchParams.get(e)??void 0}o(I3,"getURLParameter");function nTe(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(nTe,"setURLHost");function iTe(t){try{return new URL(t).pathname}catch{return}}o(iTe,"getURLPath");function sTe(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(sTe,"getURLScheme");function oTe(t){let e=new URL(t),r=e.pathname;if(!r)throw new RangeError("Invalid url without valid path.");let n=e.search||"";return n=n.trim(),n!==""&&(n=n.startsWith("?")?n:`?${n}`),`${r}${n}`}o(oTe,"getURLPathAndQuery");function aTe(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(i=>{let s=i.indexOf("="),a=i.lastIndexOf("=");return s>0&&s===a&&a<i.length-1});let n={};for(let i of r){let s=i.split("="),a=s[0],c=s[1];n[a]=c}return n}o(aTe,"getURLQueries");function cTe(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(cTe,"appendToURLQuery");function lTe(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(lTe,"truncatedISO8061Date");function b3(t){return E3.isNodeLike?Buffer.from(t).toString("base64"):btoa(t)}o(b3,"base64encode");function ATe(t){return E3.isNodeLike?Buffer.from(t,"base64").toString():atob(t)}o(ATe,"base64decode");function uTe(t,e){t.length>42&&(t=t.slice(0,42));let s=t+Q3(e.toString(),48-t.length,"0");return b3(s)}o(uTe,"generateBlockID");async function dTe(t,e,r){return new Promise((n,i)=>{let s,a=o(()=>{s!==void 0&&clearTimeout(s),i(r)},"abortHandler");s=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(dTe,"delay");function Q3(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(Q3,"padStart");function w3(t){let e=t;return I3(e,Xc.URLConstants.Parameters.SIGNATURE)&&(e=B3(e,Xc.URLConstants.Parameters.SIGNATURE,"*****")),e}o(w3,"sanitizeURL");function pTe(t){let e=(0,$De.createHttpHeaders)();for(let[r,n]of t)r.toLowerCase()===Xc.HeaderConstants.AUTHORIZATION.toLowerCase()?e.set(r,"*****"):r.toLowerCase()===Xc.HeaderConstants.X_MS_COPY_SOURCE?e.set(r,w3(n)):e.set(r,n);return e}o(pTe,"sanitizeHeaders");function hTe(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(hTe,"iEqual");function N3(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:x3(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(N3,"getAccountNameFromUrl");function x3(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&&Xc.PathStylePorts.includes(t.port)}o(x3,"isIpEndpointStyle");function fTe(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(fTe,"toBlobTagsString");function mTe(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(mTe,"toBlobTags");function gTe(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(gTe,"toTags");function yTe(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(yTe,"toQuerySerialization");function CTe(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let n=r.split("_"),i="or-";n[0].startsWith(i)&&(n[0]=n[0].substring(i.length));let s={ruleId:n[1],replicationStatus:t[r]},a=e.findIndex(c=>c.policyId===n[0]);a>-1?e[a].rules.push(s):e.push({policyId:n[0],rules:[s]})}return e}o(CTe,"parseObjectReplicationRecord");function ETe(t,e){return t.credential=e,t}o(ETe,"attachCredential");function BTe(t){return t?t.scheme+" "+t.value:void 0}o(BTe,"httpAuthorizationToString");function Nm(t){return t.encoded?decodeURIComponent(t.content):t.content}o(Nm,"BlobNameToString");function ITe(t){return{...t,segment:{blobItems:t.segment.blobItems.map(e=>({...e,name:Nm(e.name)}))}}}o(ITe,"ConvertInternalResponseOfListBlobFlat");function bTe(t){return{...t,segment:{blobPrefixes:t.segment.blobPrefixes?.map(e=>({...e,name:Nm(e.name)})),blobItems:t.segment.blobItems.map(e=>({...e,name:Nm(e.name)}))}}}o(bTe,"ConvertInternalResponseOfListBlobHierarchy");function*QTe(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let n=0,i=0;for(;n<e.length&&i<r.length;)e[n].start<r[i].start?(yield{start:e[n].start,end:e[n].end,isClear:!1},++n):(yield{start:r[i].start,end:r[i].end,isClear:!0},++i);for(;n<e.length;++n)yield{start:e[n].start,end:e[n].end,isClear:!1};for(;i<r.length;++i)yield{start:r[i].start,end:r[i].end,isClear:!0}}o(QTe,"ExtractPageRangeInfoItems");function wTe(t){let e=t.split("/");for(let r=0;r<e.length;r++)e[r]=encodeURIComponent(e[r]);return e.join("/")}o(wTe,"EscapePath");function NTe(t){if("_response"in t)return t;throw new TypeError(`Unexpected response object ${t}`)}o(NTe,"assertResponse")});var Rm=m(Sm=>{"use strict";Object.defineProperty(Sm,"__esModule",{value:!0});Sm.StorageClient=void 0;var xTe=sx(),S3=Fs(),xm=bn(),ox=class{static{o(this,"StorageClient")}url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,r){this.url=(0,xm.escapeURLPath)(e),this.accountName=(0,xm.getAccountNameFromUrl)(e),this.pipeline=r,this.storageClientContext=new xTe.StorageContextClient(this.url,(0,S3.getCoreClientOptions)(r)),this.isHttps=(0,xm.iEqual)((0,xm.getURLScheme)(this.url)||"","https"),this.credential=(0,S3.getCredentialFromPipeline)(r);let n=this.storageClientContext;n.requestContentType=void 0}};Sm.StorageClient=ox});var qo=m(_m=>{"use strict";Object.defineProperty(_m,"__esModule",{value:!0});_m.tracingClient=void 0;var STe=aN(),RTe=Kr();_m.tracingClient=(0,STe.createTracingClient)({packageName:"@azure/storage-blob",packageVersion:RTe.SDK_VERSION,namespace:"Microsoft.Storage"})});var cx=m(vm=>{"use strict";Object.defineProperty(vm,"__esModule",{value:!0});vm.BlobSASPermissions=void 0;var ax=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("")}};vm.BlobSASPermissions=ax});var Ax=m(Pm=>{"use strict";Object.defineProperty(Pm,"__esModule",{value:!0});Pm.ContainerSASPermissions=void 0;var lx=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("")}};Pm.ContainerSASPermissions=lx});var Dm=m(ux=>{"use strict";Object.defineProperty(ux,"__esModule",{value:!0});ux.ipRangeToString=_Te;function _Te(t){return t.end?`${t.start}-${t.end}`:t.start}o(_Te,"ipRangeToString")});var Om=m(Zc=>{"use strict";Object.defineProperty(Zc,"__esModule",{value:!0});Zc.SASQueryParameters=Zc.SASProtocol=void 0;var vTe=Dm(),Tm=bn(),R3;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(R3||(Zc.SASProtocol=R3={}));var dx=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,i,s,a,c,l,A,u,d,f,g,C,Q,S,w,R,T,L,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=i,this.resourceTypes=s,this.expiresOn=l,this.permissions=n,this.protocol=a,this.startsOn=c,this.ipRangeInner=A,this.delegatedUserObjectId=W,this.encryptionScope=L,this.identifier=u,this.resource=d,this.cacheControl=f,this.contentDisposition=g,this.contentEncoding=C,this.contentLanguage=Q,this.contentType=S,w&&(this.signedOid=w.signedObjectId,this.signedTenantId=w.signedTenantId,this.signedStartsOn=w.signedStartsOn,this.signedExpiresOn=w.signedExpiresOn,this.signedService=w.signedService,this.signedVersion=w.signedVersion,this.preauthorizedAgentObjectId=R,this.correlationId=T))}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?(0,Tm.truncatedISO8061Date)(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(r,n,this.expiresOn?(0,Tm.truncatedISO8061Date)(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(r,n,this.ipRange?(0,vTe.ipRangeToString)(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?(0,Tm.truncatedISO8061Date)(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(r,n,this.signedExpiresOn?(0,Tm.truncatedISO8061Date)(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}`))}};Zc.SASQueryParameters=dx});var km=m(Mm=>{"use strict";Object.defineProperty(Mm,"__esModule",{value:!0});Mm.generateBlobSASQueryParameters=TTe;Mm.generateBlobSASQueryParametersInternal=v3;var Ho=cx(),zo=Ax(),PTe=Gn(),jo=Dm(),Go=Om(),_3=Kr(),ft=bn(),DTe=Gn();function TTe(t,e,r){return v3(t,e,r).sasQueryParameters}o(TTe,"generateBlobSASQueryParameters");function v3(t,e,r){let n=t.version?t.version:_3.SERVICE_VERSION,i=e instanceof PTe.StorageSharedKeyCredential?e:void 0,s;if(i===void 0&&r!==void 0&&(s=new DTe.UserDelegationKeyCredential(r,e)),i===void 0&&s===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return i!==void 0?kTe(t,i):n>="2025-07-05"?qTe(t,s):FTe(t,s);if(n>="2018-11-09")return i!==void 0?MTe(t,i):n>="2020-02-10"?UTe(t,s):LTe(t,s);if(n>="2015-04-05"){if(i!==void 0)return OTe(t,i);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(v3,"generateBlobSASQueryParametersInternal");function OTe(t,e){if(t=Jo(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=Ho.BlobSASPermissions.parse(t.permissions.toString()).toString():n=zo.ContainerSASPermissions.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?(0,ft.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,ft.truncatedISO8061Date)(t.expiresOn,!1):"",Yo(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,jo.ipRangeToString)(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(`
|
|
`),s=e.computeHMACSHA256(i);return{sasQueryParameters:new Go.SASQueryParameters(t.version,s,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}o(OTe,"generateBlobSASQueryParameters20150405");function MTe(t,e){if(t=Jo(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 i;t.permissions&&(t.blobName?i=Ho.BlobSASPermissions.parse(t.permissions.toString()).toString():i=zo.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,ft.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,ft.truncatedISO8061Date)(t.expiresOn,!1):"",Yo(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,jo.ipRangeToString)(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(s);return{sasQueryParameters:new Go.SASQueryParameters(t.version,a,i,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(MTe,"generateBlobSASQueryParameters20181109");function kTe(t,e){if(t=Jo(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 i;t.permissions&&(t.blobName?i=Ho.BlobSASPermissions.parse(t.permissions.toString()).toString():i=zo.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,ft.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,ft.truncatedISO8061Date)(t.expiresOn,!1):"",Yo(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,jo.ipRangeToString)(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(s);return{sasQueryParameters:new Go.SASQueryParameters(t.version,a,i,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:s}}o(kTe,"generateBlobSASQueryParameters20201206");function LTe(t,e){if(t=Jo(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 i;t.permissions&&(t.blobName?i=Ho.BlobSASPermissions.parse(t.permissions.toString()).toString():i=zo.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,ft.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,ft.truncatedISO8061Date)(t.expiresOn,!1):"",Yo(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,ft.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,ft.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?(0,jo.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
|
|
`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new Go.SASQueryParameters(t.version,a,i,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:s}}o(LTe,"generateBlobSASQueryParametersUDK20181109");function UTe(t,e){if(t=Jo(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 i;t.permissions&&(t.blobName?i=Ho.BlobSASPermissions.parse(t.permissions.toString()).toString():i=zo.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,ft.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,ft.truncatedISO8061Date)(t.expiresOn,!1):"",Yo(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,ft.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,ft.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?(0,jo.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
|
|
`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new Go.SASQueryParameters(t.version,a,i,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:s}}o(UTe,"generateBlobSASQueryParametersUDK20200210");function FTe(t,e){if(t=Jo(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 i;t.permissions&&(t.blobName?i=Ho.BlobSASPermissions.parse(t.permissions.toString()).toString():i=zo.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,ft.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,ft.truncatedISO8061Date)(t.expiresOn,!1):"",Yo(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,ft.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,ft.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?(0,jo.ipRangeToString)(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(s);return{sasQueryParameters:new Go.SASQueryParameters(t.version,a,i,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:s}}o(FTe,"generateBlobSASQueryParametersUDK20201206");function qTe(t,e){if(t=Jo(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 i;t.permissions&&(t.blobName?i=Ho.BlobSASPermissions.parse(t.permissions.toString()).toString():i=zo.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,ft.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,ft.truncatedISO8061Date)(t.expiresOn,!1):"",Yo(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,ft.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,ft.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?(0,jo.ipRangeToString)(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(s);return{sasQueryParameters:new Go.SASQueryParameters(t.version,a,i,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:s}}o(qTe,"generateBlobSASQueryParametersUDK20250705");function Yo(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(Yo,"getCanonicalName");function Jo(t){let e=t.version?t.version:_3.SERVICE_VERSION;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(Jo,"SASSignatureValuesSanityCheckAndAutofill")});var Fm=m(Um=>{"use strict";Object.defineProperty(Um,"__esModule",{value:!0});Um.BlobLeaseClient=void 0;var HTe=ut(),Ei=Kr(),Iu=qo(),Lm=bn(),px=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=(0,HTe.randomUUID)()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Ei.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ei.ETagNone||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 Iu.tracingClient.withSpan("BlobLeaseClient-acquireLease",r,async n=>(0,Lm.assertResponse)(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!==Ei.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ei.ETagNone||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 Iu.tracingClient.withSpan("BlobLeaseClient-changeLease",r,async n=>{let i=(0,Lm.assertResponse)(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Ei.ETagNone||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Ei.ETagNone||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 Iu.tracingClient.withSpan("BlobLeaseClient-releaseLease",e,async r=>(0,Lm.assertResponse)(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!==Ei.ETagNone||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Ei.ETagNone||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 Iu.tracingClient.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!==Ei.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ei.ETagNone||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 Iu.tracingClient.withSpan("BlobLeaseClient-breakLease",r,async n=>{let i={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions};return(0,Lm.assertResponse)(await this._containerOrBlobOperation.breakLease(i))})}};Um.BlobLeaseClient=px});var P3=m(qm=>{"use strict";Object.defineProperty(qm,"__esModule",{value:!0});qm.AbortError=void 0;var hx=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};qm.AbortError=hx});var fx=m(Hm=>{"use strict";Object.defineProperty(Hm,"__esModule",{value:!0});Hm.AbortError=void 0;var zTe=P3();Object.defineProperty(Hm,"AbortError",{enumerable:!0,get:function(){return zTe.AbortError}})});var D3=m(zm=>{"use strict";Object.defineProperty(zm,"__esModule",{value:!0});zm.RetriableReadableStream=void 0;var jTe=fx(),GTe=require("node:stream"),mx=class extends GTe.Readable{static{o(this,"RetriableReadableStream")}start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,r,n,i,s={}){super({highWaterMark:s.highWaterMark}),this.getter=r,this.source=e,this.start=n,this.offset=n,this.end=n+i-1,this.maxRetryRequests=s.maxRetryRequests&&s.maxRetryRequests>=0?s.maxRetryRequests:0,this.onProgress=s.onProgress,this.options=s,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new jTe.AbortError("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{if(e&&e.name==="AbortError"){this.destroy(e);return}this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries<this.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}`))};_destroy(e,r){this.removeSourceEventHandlers(),this.source.destroy(),r(e===null?void 0:e)}};zm.RetriableReadableStream=mx});var T3=m(jm=>{"use strict";Object.defineProperty(jm,"__esModule",{value:!0});jm.BlobDownloadResponse=void 0;var YTe=ut(),JTe=D3(),gx=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 YTe.isNodeLike?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,i,s={}){this.originalResponse=e,this.blobDownloadStream=new JTe.RetriableReadableStream(this.originalResponse.readableStreamBody,r,n,i,s)}};jm.BlobDownloadResponse=gx});var O3=m(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.AVRO_SCHEMA_KEY=Bi.AVRO_CODEC_KEY=Bi.AVRO_INIT_BYTES=Bi.AVRO_SYNC_MARKER_SIZE=void 0;Bi.AVRO_SYNC_MARKER_SIZE=16;Bi.AVRO_INIT_BYTES=new Uint8Array([79,98,106,1]);Bi.AVRO_CODEC_KEY="avro.codec";Bi.AVRO_SCHEMA_KEY="avro.schema"});var M3=m(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});el.AvroType=el.AvroParser=void 0;var Sr=class t{static{o(this,"AvroParser")}static async readFixedBytes(e,r,n={}){let i=await e.read(r,{abortSignal:n.abortSignal});if(i.length!==r)throw new Error("Hit stream end.");return i}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let n=0,i=0,s,a,c;do s=await t.readByte(e,r),a=s&128,n|=(s&127)<<i,i+=7;while(a&&i<28);if(a){n=n,c=268435456;do s=await t.readByte(e,r),n+=(s&127)*c,c*=128;while(s&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 i=await t.readString(e,n),s=await r(e,n);return{key:i,value:s}}static async readMap(e,r,n={}){let i=o((c,l={})=>t.readMapPair(c,r,l),"readPairMethod"),s=await t.readArray(e,i,n),a={};for(let c of s)a[c.key]=c.value;return a}static async readArray(e,r,n={}){let i=[];for(let s=await t.readLong(e,n);s!==0;s=await t.readLong(e,n))for(s<0&&(await t.readLong(e,n),s=-s);s--;){let a=await r(e,n);i.push(a)}return i}};el.AvroParser=Sr;var Vo;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(Vo||(Vo={}));var zt;(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"})(zt||(zt={}));var Ys=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 zt.NULL:case zt.BOOLEAN:case zt.INT:case zt.LONG:case zt.FLOAT:case zt.DOUBLE:case zt.BYTES:case zt.STRING:return new yx(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new Ex(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case Vo.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 i of e.fields)n[i.name]=t.fromSchema(i.type);return new Ix(n,e.name);case Vo.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 Cx(e.symbols);case Vo.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new Bx(t.fromSchema(e.values));case Vo.ARRAY:case Vo.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}};el.AvroType=Ys;var yx=class extends Ys{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case zt.NULL:return Sr.readNull();case zt.BOOLEAN:return Sr.readBoolean(e,r);case zt.INT:return Sr.readInt(e,r);case zt.LONG:return Sr.readLong(e,r);case zt.FLOAT:return Sr.readFloat(e,r);case zt.DOUBLE:return Sr.readDouble(e,r);case zt.BYTES:return Sr.readBytes(e,r);case zt.STRING:return Sr.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},Cx=class extends Ys{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let n=await Sr.readInt(e,r);return this._symbols[n]}},Ex=class extends Ys{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let n=await Sr.readInt(e,r);return this._types[n].read(e,r)}},Bx=class extends Ys{static{o(this,"AvroMapType")}_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let n=o((i,s)=>this._itemType.read(i,s),"readItemMethod");return Sr.readMap(e,n,r)}},Ix=class extends Ys{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 i in this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(n[i]=await this._fields[i].read(e,r));return n}}});var k3=m(bx=>{"use strict";Object.defineProperty(bx,"__esModule",{value:!0});bx.arraysEqual=VTe;function VTe(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(VTe,"arraysEqual")});var U3=m(Gm=>{"use strict";Object.defineProperty(Gm,"__esModule",{value:!0});Gm.AvroReader=void 0;var tl=O3(),Ii=M3(),L3=k3(),Qx=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,i){this._dataStream=e,this._headerStream=r||e,this._initialized=!1,this._blockOffset=n||0,this._objectIndex=i||0,this._initialBlockOffset=n||0}async initialize(e={}){let r=await Ii.AvroParser.readFixedBytes(this._headerStream,tl.AVRO_INIT_BYTES.length,{abortSignal:e.abortSignal});if(!(0,L3.arraysEqual)(r,tl.AVRO_INIT_BYTES))throw new Error("Stream is not an Avro file.");this._metadata=await Ii.AvroParser.readMap(this._headerStream,Ii.AvroParser.readString,{abortSignal:e.abortSignal});let n=this._metadata[tl.AVRO_CODEC_KEY];if(!(n==null||n==="null"))throw new Error("Codecs are not supported");this._syncMarker=await Ii.AvroParser.readFixedBytes(this._headerStream,tl.AVRO_SYNC_MARKER_SIZE,{abortSignal:e.abortSignal});let i=JSON.parse(this._metadata[tl.AVRO_SCHEMA_KEY]);if(this._itemType=Ii.AvroType.fromSchema(i),this._blockOffset===0&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await Ii.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal}),await Ii.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let s=0;s<this._objectIndex;s++)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 Ii.AvroParser.readFixedBytes(this._dataStream,tl.AVRO_SYNC_MARKER_SIZE,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!(0,L3.arraysEqual)(this._syncMarker,n))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await Ii.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await Ii.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};Gm.AvroReader=Qx});var Nx=m(Ym=>{"use strict";Object.defineProperty(Ym,"__esModule",{value:!0});Ym.AvroReadable=void 0;var wx=class{static{o(this,"AvroReadable")}};Ym.AvroReadable=wx});var q3=m(Jm=>{"use strict";Object.defineProperty(Jm,"__esModule",{value:!0});Jm.AvroReadableFromStream=void 0;var WTe=Nx(),KTe=fx(),$Te=require("buffer"),F3=new KTe.AbortError("Reading from the avro stream was aborted."),xx=class extends WTe.AvroReadable{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?$Te.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 F3;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((i,s)=>{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(),i(this.toUint8Array(u)))},"readableCallback"),l=o(()=>{a(),s()},"rejectCallback"),A=o(()=>{a(),s(F3)},"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)})}};Jm.AvroReadableFromStream=xx});var H3=m(Js=>{"use strict";Object.defineProperty(Js,"__esModule",{value:!0});Js.AvroReadableFromStream=Js.AvroReadable=Js.AvroReader=void 0;var XTe=U3();Object.defineProperty(Js,"AvroReader",{enumerable:!0,get:function(){return XTe.AvroReader}});var ZTe=Nx();Object.defineProperty(Js,"AvroReadable",{enumerable:!0,get:function(){return ZTe.AvroReadable}});var eOe=q3();Object.defineProperty(Js,"AvroReadableFromStream",{enumerable:!0,get:function(){return eOe.AvroReadableFromStream}})});var j3=m(Vm=>{"use strict";Object.defineProperty(Vm,"__esModule",{value:!0});Vm.BlobQuickQueryStream=void 0;var tOe=require("node:stream"),z3=H3(),Sx=class extends tOe.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 z3.AvroReader(new z3.AvroReadableFromStream(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 i=r.data;if(!(i instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(i))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let i=r.bytesScanned;if(typeof i!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:i})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let i=r.totalBytes;if(typeof i!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:i})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let i=r.fatal;if(typeof i!="boolean")throw Error("Invalid fatal in avro error record.");let s=r.name;if(typeof s!="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:s,isFatal:i,description:a})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};Vm.BlobQuickQueryStream=Sx});var G3=m(Wm=>{"use strict";Object.defineProperty(Wm,"__esModule",{value:!0});Wm.BlobQueryResponse=void 0;var rOe=ut(),nOe=j3(),Rx=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 rOe.isNodeLike?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new nOe.BlobQuickQueryStream(this.originalResponse.readableStreamBody,r)}};Wm.BlobQueryResponse=Rx});var _x=m(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.StorageBlobAudience=Yn.PremiumPageBlobTier=Yn.BlockBlobTier=void 0;Yn.toAccessTier=sOe;Yn.ensureCpkIfSpecified=oOe;Yn.getBlobServiceAccountAudience=aOe;var iOe=Kr(),Y3;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(Y3||(Yn.BlockBlobTier=Y3={}));var J3;(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"})(J3||(Yn.PremiumPageBlobTier=J3={}));function sOe(t){if(t!==void 0)return t}o(sOe,"toAccessTier");function oOe(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=iOe.EncryptionAlgorithmAES25)}o(oOe,"ensureCpkIfSpecified");var V3;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(V3||(Yn.StorageBlobAudience=V3={}));function aOe(t){return`https://${t}.blob.core.windows.net/.default`}o(aOe,"getBlobServiceAccountAudience")});var W3=m(vx=>{"use strict";Object.defineProperty(vx,"__esModule",{value:!0});vx.rangeResponseFromModel=cOe;function cOe(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(cOe,"rangeResponseFromModel")});var oK=m(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});var lOe=require("os"),AOe=require("util");function uOe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(uOe,"_interopDefaultLegacy");var dOe=uOe(AOe);function pOe(t,...e){process.stderr.write(`${dOe.default.format(t,...e)}${lOe.EOL}`)}o(pOe,"log");var K3=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,X3,Px=[],Dx=[],Xm=[];K3&&Tx(K3);var Z3=Object.assign(t=>eK(t),{enable:Tx,enabled:Ox,disable:hOe,log:pOe});function Tx(t){X3=t,Px=[],Dx=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?Dx.push(new RegExp(`^${n.substr(1)}$`)):Px.push(new RegExp(`^${n}$`));for(let n of Xm)n.enabled=Ox(n.namespace)}o(Tx,"enable");function Ox(t){if(t.endsWith("*"))return!0;for(let e of Dx)if(e.test(t))return!1;for(let e of Px)if(e.test(t))return!0;return!1}o(Ox,"enabled");function hOe(){let t=X3||"";return Tx(""),t}o(hOe,"disable");function eK(t){let e=Object.assign(r,{enabled:Ox(t),destroy:fOe,log:Z3.log,namespace:t,extend:mOe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),Xm.push(e),e}o(eK,"createDebugger");function fOe(){let t=Xm.indexOf(this);return t>=0?(Xm.splice(t,1),!0):!1}o(fOe,"destroy");function mOe(t){let e=eK(`${this.namespace}:${t}`);return e.log=this.log,e}o(mOe,"extend");var bu=Z3,tK=new Set,Km=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,Zm,eg=bu("azure");eg.log=(...t)=>{bu.log(...t)};var Mx=["verbose","info","warning","error"];Km&&(sK(Km)?rK(Km):console.error(`AZURE_LOG_LEVEL set to unknown log level '${Km}'; logging is not enabled. Acceptable values: ${Mx.join(", ")}.`));function rK(t){if(t&&!sK(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${Mx.join(",")}`);Zm=t;let e=[];for(let r of tK)iK(r)&&e.push(r.namespace);bu.enable(e.join(","))}o(rK,"setLogLevel");function gOe(){return Zm}o(gOe,"getLogLevel");var $3={verbose:400,info:300,warning:200,error:100};function yOe(t){let e=eg.extend(t);return nK(eg,e),{error:$m(e,"error"),warning:$m(e,"warning"),info:$m(e,"info"),verbose:$m(e,"verbose")}}o(yOe,"createClientLogger");function nK(t,e){e.log=(...r)=>{t.log(...r)}}o(nK,"patchLogMethod");function $m(t,e){let r=Object.assign(t.extend(e),{level:e});if(nK(t,r),iK(r)){let n=bu.disable();bu.enable(n+","+r.namespace)}return tK.add(r),r}o($m,"createLogger");function iK(t){return!!(Zm&&$3[t.level]<=$3[Zm])}o(iK,"shouldEnable");function sK(t){return Mx.includes(t)}o(sK,"isAzureLogLevel");rl.AzureLogger=eg;rl.createClientLogger=yOe;rl.getLogLevel=gOe;rl.setLogLevel=rK});var rg=m(wu=>{"use strict";Object.defineProperty(wu,"__esModule",{value:!0});var nl=new WeakMap,tg=new WeakMap,Qu=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,nl.set(this,[]),tg.set(this,!1)}get aborted(){if(!tg.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return tg.get(this)}static get none(){return new t}addEventListener(e,r){if(!nl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");nl.get(this).push(r)}removeEventListener(e,r){if(!nl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=nl.get(this),i=n.indexOf(r);i>-1&&n.splice(i,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 aK(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=nl.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),tg.set(t,!0)}o(aK,"abortSignal");var kx=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},Lx=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new Qu,!!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(){aK(this._signal)}static timeout(e){let r=new Qu,n=setTimeout(aK,e,r);return typeof n.unref=="function"&&n.unref(),r}};wu.AbortController=Lx;wu.AbortError=kx;wu.AbortSignal=Qu});var dK=m(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});var COe=rg(),Gx=require("crypto");function cK(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new COe.AbortError(i??"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(),s(u)},u=>{l(),a(u)})}catch(u){a(u)}n?.addEventListener("abort",A)})}o(cK,"createAbortablePromise");var EOe="The delay was aborted.";function BOe(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return cK(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:i??EOe})}o(BOe,"delay");function IOe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(IOe,"getRandomIntegerInclusive");function lK(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(lK,"isObject");function AK(t){if(lK(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(AK,"isError");function bOe(t){if(AK(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(bOe,"getErrorMessage");async function QOe(t,e,r){let n=Buffer.from(t,"base64");return Gx.createHmac("sha256",n).update(e).digest(r)}o(QOe,"computeSha256Hmac");async function wOe(t,e){return Gx.createHash("sha256").update(t).digest(e)}o(wOe,"computeSha256Hash");function Yx(t){return typeof t<"u"&&t!==null}o(Yx,"isDefined");function NOe(t,e){if(!Yx(t)||typeof t!="object")return!1;for(let r of e)if(!uK(t,r))return!1;return!0}o(NOe,"isObjectWithProperties");function uK(t,e){return Yx(t)&&typeof t=="object"&&e in t}o(uK,"objectHasProperty");function xOe(){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(xOe,"generateUUID");var Ux,jx=typeof((Ux=globalThis?.crypto)===null||Ux===void 0?void 0:Ux.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):Gx.randomUUID;jx||(jx=xOe);function SOe(){return jx()}o(SOe,"randomUUID");var Fx,qx,Hx,zx,ROe=typeof window<"u"&&typeof window.document<"u",_Oe=typeof self=="object"&&typeof self?.importScripts=="function"&&(((Fx=self.constructor)===null||Fx===void 0?void 0:Fx.name)==="DedicatedWorkerGlobalScope"||((qx=self.constructor)===null||qx===void 0?void 0:qx.name)==="ServiceWorkerGlobalScope"||((Hx=self.constructor)===null||Hx===void 0?void 0:Hx.name)==="SharedWorkerGlobalScope"),vOe=typeof process<"u"&&!!process.version&&!!(!((zx=process.versions)===null||zx===void 0)&&zx.node),POe=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",DOe=typeof Bun<"u"&&typeof Bun.version<"u",TOe=typeof navigator<"u"&&navigator?.product==="ReactNative";function OOe(t,e){switch(e){case"utf-8":return UOe(t);case"base64":return kOe(t);case"base64url":return LOe(t)}}o(OOe,"uint8ArrayToString");function MOe(t,e){switch(e){case"utf-8":return FOe(t);case"base64":return qOe(t);case"base64url":return HOe(t)}}o(MOe,"stringToUint8Array");function kOe(t){return Buffer.from(t).toString("base64")}o(kOe,"uint8ArrayToBase64");function LOe(t){return Buffer.from(t).toString("base64url")}o(LOe,"uint8ArrayToBase64Url");function UOe(t){return Buffer.from(t).toString("utf-8")}o(UOe,"uint8ArrayToUtf8String");function FOe(t){return Buffer.from(t)}o(FOe,"utf8StringToUint8Array");function qOe(t){return Buffer.from(t,"base64")}o(qOe,"base64ToUint8Array");function HOe(t){return Buffer.from(t,"base64url")}o(HOe,"base64UrlToUint8Array");mt.computeSha256Hash=wOe;mt.computeSha256Hmac=QOe;mt.createAbortablePromise=cK;mt.delay=BOe;mt.getErrorMessage=bOe;mt.getRandomIntegerInclusive=IOe;mt.isBrowser=ROe;mt.isBun=DOe;mt.isDefined=Yx;mt.isDeno=POe;mt.isError=AK;mt.isNode=vOe;mt.isObject=lK;mt.isObjectWithProperties=NOe;mt.isReactNative=TOe;mt.isWebWorker=_Oe;mt.objectHasProperty=uK;mt.randomUUID=SOe;mt.stringToUint8Array=MOe;mt.uint8ArrayToString=OOe});var DK=m(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var zOe=oK(),pK=rg(),jOe=dK(),Wo=zOe.createClientLogger("core-lro"),fK=2e3,mK=["succeeded","canceled","failed"];function gK(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(gK,"deserializeState");function hK(t){let{state:e,stateProxy:r,isOperationError:n}=t;return i=>{throw n(i)&&(r.setError(e,i),r.setFailed(e)),i}}o(hK,"setStateError");function GOe(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(GOe,"appendReadableErrorMessage");function YOe(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=GOe(e,n.message);return{code:r,message:e}}o(YOe,"simplifyError");function yK(t){let{state:e,stateProxy:r,status:n,isDone:i,processResult:s,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:f,message:g}=YOe(A);u=`. ${f}. ${g}`}let d=`The long-running operation has failed${u}`;r.setError(e,new Error(d)),r.setFailed(e),Wo.warning(d);break}case"canceled":{r.setCanceled(e);break}}(i?.(c,e)||i===void 0&&["succeeded","canceled"].concat(l?[]:["failed"]).includes(n))&&r.setResult(e,JOe({response:c,state:e,processResult:s}))}o(yK,"processOperationStatus");function JOe(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(JOe,"buildResult");async function CK(t){let{init:e,stateProxy:r,processResult:n,getOperationStatus:i,withOperationLocation:s,setErrorAsResult:a}=t,{operationLocation:c,resourceLocation:l,metadata:A,response:u}=await e();c&&s?.(c,!1);let d={metadata:A,operationLocation:c,resourceLocation:l};Wo.verbose("LRO: Operation description:",d);let f=r.initState(d),g=i({response:u,state:f,operationLocation:c});return yK({state:f,status:g,stateProxy:r,response:u,setErrorAsResult:a,processResult:n}),f}o(CK,"initOperation");async function VOe(t){let{poll:e,state:r,stateProxy:n,operationLocation:i,getOperationStatus:s,getResourceLocation:a,isOperationError:c,options:l}=t,A=await e(i,l).catch(hK({state:r,stateProxy:n,isOperationError:c})),u=s(A,r);if(Wo.verbose(`LRO: Status:
|
|
Polling from: ${r.config.operationLocation}
|
|
Operation status: ${u}
|
|
Polling status: ${mK.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let d=a(A,r);if(d!==void 0)return{response:await e(d).catch(hK({state:r,stateProxy:n,isOperationError:c})),status:u}}return{response:A,status:u}}o(VOe,"pollOperationHelper");async function EK(t){let{poll:e,state:r,stateProxy:n,options:i,getOperationStatus:s,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:A,getPollingInterval:u,processResult:d,getError:f,updateState:g,setDelay:C,isDone:Q,setErrorAsResult:S}=t,{operationLocation:w}=r.config;if(w!==void 0){let{response:R,status:T}=await VOe({poll:e,getOperationStatus:s,state:r,stateProxy:n,operationLocation:w,getResourceLocation:a,isOperationError:l,options:i});if(yK({status:T,response:R,state:r,stateProxy:n,isDone:Q,processResult:d,getError:f,setErrorAsResult:S}),!mK.includes(T)){let L=u?.(R);L&&C(L);let W=c?.(R,r);if(W!==void 0){let de=w!==W;r.config.operationLocation=W,A?.(W,de)}else A?.(w,!1)}g?.(r,R)}}o(EK,"pollOperation");function BK(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(BK,"getOperationLocationPollingUrl");function IK(t){return t.headers.location}o(IK,"getLocationHeader");function bK(t){return t.headers["operation-location"]}o(bK,"getOperationLocationHeader");function QK(t){return t.headers["azure-asyncoperation"]}o(QK,"getAzureAsyncOperationHeader");function WOe(t){var e;let{location:r,requestMethod:n,requestPath:i,resourceLocationConfig:s}=t;switch(n){case"PUT":return i;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:i;default:return a()}function a(){switch(s){case"azure-async-operation":return;case"original-uri":return i;case"location":default:return r}}o(a,"getDefault")}o(WOe,"findResourceLocation");function wK(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:i}=t,s=bK(e),a=QK(e),c=BK({operationLocation:s,azureAsyncOperation:a}),l=IK(e),A=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:WOe({requestMethod:A,location:l,requestPath:n,resourceLocationConfig:i})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:A==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}o(wK,"inferLroMode");function NK(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 Wx(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 Wo.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(NK,"transformStatus");function KOe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return NK({status:r,statusCode:t.statusCode})}o(KOe,"getStatus");function $Oe(t){var e,r;let{properties:n,provisioningState:i}=(e=t.body)!==null&&e!==void 0?e:{},s=(r=n?.provisioningState)!==null&&r!==void 0?r:i;return NK({status:s,statusCode:t.statusCode})}o($Oe,"getProvisioningState");function Wx(t){return t===202?"running":t<300?"succeeded":"failed"}o(Wx,"toOperationStatus");function xK({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?XOe(new Date(e)):r*1e3}}o(xK,"parseRetryAfter");function SK(t){let e=t.flatResponse.error;if(!e){Wo.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Wo.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(SK,"getErrorFromResponse");function XOe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}o(XOe,"calculatePollingIntervalFromDate");function RK(t){let{response:e,state:r,operationLocation:n}=t;function i(){var a;switch((a=r.config.metadata)===null||a===void 0?void 0:a.mode){case void 0:return Wx(e.rawResponse.statusCode);case"Body":return Kx(e,r);default:return"running"}}o(i,"helper");let s=i();return s==="running"&&n===void 0?"succeeded":s}o(RK,"getStatusFromInitialResponse");async function ZOe(t){let{stateProxy:e,resourceLocationConfig:r,processResult:n,lro:i,setErrorAsResult:s}=t;return CK({init:async()=>{let a=await i.sendInitialRequest(),c=wK({rawResponse:a.rawResponse,requestPath:i.requestPath,requestMethod:i.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},stateProxy:e,processResult:n?({flatResponse:a},c)=>n(a,c):({flatResponse:a})=>a,getOperationStatus:RK,setErrorAsResult:s})}o(ZOe,"initHttpOperation");function _K({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return BK({operationLocation:bK(t),azureAsyncOperation:QK(t)});case"ResourceLocation":return IK(t);case"Body":default:return}}o(_K,"getOperationLocation");function Kx({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return KOe(t);case"ResourceLocation":return Wx(t.statusCode);case"Body":return $Oe(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}o(Kx,"getOperationStatus");function vK({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(vK,"getResourceLocation");function PK(t){return t.name==="RestError"}o(PK,"isOperationError");async function eMe(t){let{lro:e,stateProxy:r,options:n,processResult:i,updateState:s,setDelay:a,state:c,setErrorAsResult:l}=t;return EK({state:c,stateProxy:r,setDelay:a,processResult:i?({flatResponse:A},u)=>i(A,u):({flatResponse:A})=>A,getError:SK,updateState:s,getPollingInterval:xK,getOperationLocation:_K,getOperationStatus:Kx,isOperationError:PK,getResourceLocation:vK,options:n,poll:async(A,u)=>e.sendPollRequest(A,u),setErrorAsResult:l})}o(eMe,"pollHttpOperation");var tMe=o(()=>({initState:t=>({status:"running",config:t}),setCanceled:t=>t.status="canceled",setError:(t,e)=>t.error=e,setResult:(t,e)=>t.result=e,setRunning:t=>t.status="running",setSucceeded:t=>t.status="succeeded",setFailed:t=>t.status="failed",getError:t=>t.error,getResult:t=>t.result,isCanceled:t=>t.status==="canceled",isFailed:t=>t.status==="failed",isRunning:t=>t.status==="running",isSucceeded:t=>t.status==="succeeded"}),"createStateProxy$1");function rMe(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:n,isOperationError:i,getResourceLocation:s,getPollingInterval:a,getError:c,resolveOnUnsuccessful:l}=t;return async({init:A,poll:u},d)=>{let{processResult:f,updateState:g,withOperationLocation:C,intervalInMs:Q=fK,restoreFrom:S}=d||{},w=tMe(),R=C?(()=>{let $e=!1;return(fe,je)=>{je?C(fe):$e||C(fe),$e=!0}})():void 0,T=S?gK(S):await CK({init:A,stateProxy:w,processResult:f,getOperationStatus:r,withOperationLocation:R,setErrorAsResult:!l}),L,W=new pK.AbortController,de=new Map,le=o(async()=>de.forEach($e=>$e(T)),"handleProgressEvents"),De="Operation was canceled",Te=Q,qe={getOperationState:()=>T,getResult:()=>T.result,isDone:()=>["succeeded","failed","canceled"].includes(T.status),isStopped:()=>L===void 0,stopPolling:()=>{W.abort()},toString:()=>JSON.stringify({state:T}),onProgress:$e=>{let fe=Symbol();return de.set(fe,$e),()=>de.delete(fe)},pollUntilDone:$e=>L??(L=(async()=>{let{abortSignal:fe}=$e||{},{signal:je}=fe?new pK.AbortController([fe,W.signal]):W;if(!qe.isDone())for(await qe.poll({abortSignal:je});!qe.isDone();)await jOe.delay(Te,{abortSignal:je}),await qe.poll({abortSignal:je});if(l)return qe.getResult();switch(T.status){case"succeeded":return qe.getResult();case"canceled":throw new Error(De);case"failed":throw T.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{L=void 0})),async poll($e){if(l){if(qe.isDone())return}else switch(T.status){case"succeeded":return;case"canceled":throw new Error(De);case"failed":throw T.error}if(await EK({poll:u,state:T,stateProxy:w,getOperationLocation:e,isOperationError:i,withOperationLocation:R,getPollingInterval:a,getOperationStatus:n,getResourceLocation:s,processResult:f,getError:c,updateState:g,options:$e,setDelay:fe=>{Te=fe},setErrorAsResult:!l}),await le(),!l)switch(T.status){case"canceled":throw new Error(De);case"failed":throw T.error}}};return qe}}o(rMe,"buildCreatePoller");async function nMe(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:i,restoreFrom:s,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return rMe({getStatusFromInitialResponse:RK,getStatusFromPollResponse:Kx,isOperationError:PK,getOperationLocation:_K,getResourceLocation:vK,getPollingInterval:xK,getError:SK,resolveOnUnsuccessful:l})({init:async()=>{let A=await t.sendInitialRequest(),u=wK({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}}:{})},poll:t.sendPollRequest},{intervalInMs:n,withOperationLocation:c,restoreFrom:s,updateState:a,processResult:i?({flatResponse:A},u)=>i(A,u):({flatResponse:A})=>A})}o(nMe,"createHttpPoller");var iMe=o(()=>({initState:t=>({config:t,isStarted:!0}),setCanceled:t=>t.isCancelled=!0,setError:(t,e)=>t.error=e,setResult:(t,e)=>t.result=e,setRunning:t=>t.isStarted=!0,setSucceeded:t=>t.isCompleted=!0,setFailed:()=>{},getError:t=>t.error,getResult:t=>t.result,isCanceled:t=>!!t.isCancelled,isFailed:t=>!!t.error,isRunning:t=>!!t.isStarted,isSucceeded:t=>!!(t.isCompleted&&!t.isCancelled&&!t.error)}),"createStateProxy"),Jx=class{static{o(this,"GenericPollOperation")}constructor(e,r,n,i,s,a,c){this.state=e,this.lro=r,this.setErrorAsResult=n,this.lroResourceLocationConfig=i,this.processResult=s,this.updateState=a,this.isDone=c}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let n=iMe();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await ZOe({lro:this.lro,stateProxy:n,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let i=this.updateState,s=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await eMe({lro:this.lro,state:this.state,stateProxy:n,processResult:this.processResult,updateState:i?(a,{rawResponse:c})=>i(a,c):void 0,isDone:s?({flatResponse:a},c)=>s(a,c):void 0,options:e,setDelay:a=>{this.pollerConfig.intervalInMs=a},setErrorAsResult:this.setErrorAsResult}),(r=e?.fireProgress)===null||r===void 0||r.call(e,this.state),this}async cancel(){return Wo.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},ng=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},ig=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},sg=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 ig("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 ng("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()}},Vx=class extends sg{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=fK,resumeFrom:i,resolveOnUnsuccessful:s=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:A}=r||{},u=i?gK(i):{},d=new Jx(u,e,!s,c,l,A,a);super(d),this.resolveOnUnsuccessful=s,this.config={intervalInMs:n},d.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};Ko.LroEngine=Vx;Ko.Poller=sg;Ko.PollerCancelledError=ig;Ko.PollerStoppedError=ng;Ko.createHttpPoller=nMe});var TK=m(og=>{"use strict";Object.defineProperty(og,"__esModule",{value:!0});og.BlobBeginCopyFromUrlPoller=void 0;var sMe=ut(),oMe=DK(),$x=class extends oMe.Poller{static{o(this,"BlobBeginCopyFromUrlPoller")}intervalInMs;constructor(e){let{blobClient:r,copySource:n,intervalInMs:i=15e3,onProgress:s,resumeFrom:a,startCopyFromURLOptions:c}=e,l;a&&(l=JSON.parse(a).state);let A=Nu({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(A),typeof s=="function"&&this.onProgress(s),this.intervalInMs=i}delay(){return(0,sMe.delay)(this.intervalInMs)}};og.BlobBeginCopyFromUrlPoller=$x;var aMe=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?Nu(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,Nu(r)):(r.isCancelled=!0,Nu(r))},"cancel"),cMe=o(async function(e={}){let r=this.state,{blobClient:n,copySource:i,startCopyFromURLOptions:s}=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(i,s);r.copyId=a.copyId,a.copyStatus==="success"&&(r.result=a,r.isCompleted=!0)}return Nu(r)},"update"),lMe=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function Nu(t){return{state:{...t},cancel:aMe,toString:lMe,update:cMe}}o(Nu,"makeBlobBeginCopyFromURLPollOperation")});var OK=m(Xx=>{"use strict";Object.defineProperty(Xx,"__esModule",{value:!0});Xx.rangeToString=AMe;function AMe(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(AMe,"rangeToString")});var MK=m(ag=>{"use strict";Object.defineProperty(ag,"__esModule",{value:!0});ag.Batch=void 0;var uMe=require("events"),xu;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(xu||(xu={}));var Zx=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=xu.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new uMe.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=xu.Error,r(n)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==xu.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}}}};ag.Batch=Zx});var tS=m(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.fsCreateReadStream=bi.fsStat=void 0;bi.streamToBuffer=hMe;bi.streamToBuffer2=fMe;bi.streamToBuffer3=mMe;bi.readStreamToLocalFile=gMe;var kK=(Vr(),Wt(Jr)),eS=kK.__importDefault(require("node:fs")),dMe=kK.__importDefault(require("node:util")),pMe=Kr();async function hMe(t,e,r,n,i){let s=0,a=n-r;return new Promise((c,l)=>{let A=setTimeout(()=>l(new Error("The operation cannot be completed in timeout.")),pMe.REQUEST_TIMEOUT);t.on("readable",()=>{if(s>=a){clearTimeout(A),c();return}let u=t.read();if(!u)return;typeof u=="string"&&(u=Buffer.from(u,i));let d=s+u.length>a?a-s:u.length;e.fill(u.slice(0,d),r+s,r+s+d),s+=d}),t.on("end",()=>{clearTimeout(A),s<a&&l(new Error(`Stream drains before getting enough data needed. Data read: ${s}, data need: ${a}`)),c()}),t.on("error",u=>{clearTimeout(A),l(u)})})}o(hMe,"streamToBuffer");async function fMe(t,e,r){let n=0,i=e.length;return new Promise((s,a)=>{t.on("readable",()=>{let c=t.read();if(c){if(typeof c=="string"&&(c=Buffer.from(c,r)),n+c.length>i){a(new Error(`Stream exceeds buffer size. Buffer size: ${i}`));return}e.fill(c,n,n+c.length),n+=c.length}}),t.on("end",()=>{s(n)}),t.on("error",a)})}o(fMe,"streamToBuffer2");async function mMe(t,e){return new Promise((r,n)=>{let i=[];t.on("data",s=>{i.push(typeof s=="string"?Buffer.from(s,e):s)}),t.on("end",()=>{r(Buffer.concat(i))}),t.on("error",n)})}o(mMe,"streamToBuffer3");async function gMe(t,e){return new Promise((r,n)=>{let i=eS.default.createWriteStream(e);t.on("error",s=>{n(s)}),i.on("error",s=>{n(s)}),i.on("close",r),t.pipe(i)})}o(gMe,"readStreamToLocalFile");bi.fsStat=dMe.default.promisify(eS.default.stat);bi.fsCreateReadStream=eS.default.createReadStream});var fg=m(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.PageBlobClient=Qi.BlockBlobClient=Qi.AppendBlobClient=Qi.BlobClient=void 0;var pg=Pt(),hg=vc(),Qn=ut(),LK=ut(),yMe=T3(),CMe=G3(),gt=Gn(),Ze=_x(),rS=W3(),Rt=Fs(),EMe=TK(),Zr=OK(),BMe=Rm(),UK=MK(),IMe=Gn(),We=Kr(),se=qo(),F=bn(),lg=tS(),cg=km(),bMe=Fm(),il=class t extends BMe.StorageClient{static{o(this,"BlobClient")}blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,n,i){i=i||{};let s,a;if((0,Rt.isPipelineLike)(r))a=e,s=r;else if(Qn.isNodeLike&&r instanceof gt.StorageSharedKeyCredential||r instanceof gt.AnonymousCredential||(0,hg.isTokenCredential)(r))a=e,i=n,s=(0,Rt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=(0,Rt.newPipeline)(new gt.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,F.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(Qn.isNodeLike){let u=new gt.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,pg.getDefaultProxySettings)(A.proxyUri)),s=(0,Rt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,s=(0,Rt.newPipeline)(new gt.AnonymousCredential,i);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,s),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=(0,F.getURLParameter)(this.url,We.URLConstants.Parameters.SNAPSHOT),this._versionId=(0,F.getURLParameter)(this.url,We.URLConstants.Parameters.VERSIONID)}withSnapshot(e){return new t((0,F.setURLParameter)(this.url,We.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t((0,F.setURLParameter)(this.url,We.URLConstants.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new Ag(this.url,this.pipeline)}getBlockBlobClient(){return new ug(this.url,this.pipeline)}getPageBlobClient(){return new dg(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},(0,Ze.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-download",n,async i=>{let s=(0,F.assertResponse)(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:Qn.isNodeLike?void 0:n.onProgress},range:e===0&&!r?void 0:(0,Zr.rangeToString)({offset:e,count:r}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:i.tracingOptions})),a={...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:(0,F.parseObjectReplicationRecord)(s.objectReplicationRules)};if(!Qn.isNodeLike)return a;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.maxRetryRequests=We.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS),s.contentLength===void 0)throw new RangeError("File download response doesn't contain valid content length header");if(!s.etag)throw new RangeError("File download response doesn't contain valid etag header");return new yMe.BlobDownloadResponse(a,async c=>{let l={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||s.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:n.conditions?.tagConditions},range:(0,Zr.rangeToString)({count:e+s.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,s.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return se.tracingClient.withSpan("BlobClient-exists",e,async r=>{try{return(0,Ze.ensureCpkIfSpecified)(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===We.BlobUsesCustomerSpecifiedEncryptionMsg||n.details.errorCode===We.BlobDoesNotUseCustomerSpecifiedEncryption))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},(0,Ze.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-getProperties",e,async r=>{let n=(0,F.assertResponse)(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:(0,F.parseObjectReplicationRecord)(n.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},se.tracingClient.withSpan("BlobClient-delete",e,async r=>(0,F.assertResponse)(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 se.tracingClient.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let n=(0,F.assertResponse)(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 se.tracingClient.withSpan("BlobClient-undelete",e,async r=>(0,F.assertResponse)(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},(0,Ze.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-setHTTPHeaders",r,async n=>(0,F.assertResponse)(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||{},(0,Ze.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-setMetadata",r,async n=>(0,F.assertResponse)(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 se.tracingClient.withSpan("BlobClient-setTags",r,async n=>(0,F.assertResponse)(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions,tags:(0,F.toBlobTags)(e)})))}async getTags(e={}){return se.tracingClient.withSpan("BlobClient-getTags",e,async r=>{let n=(0,F.assertResponse)(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:(0,F.toTags)({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new bMe.BlobLeaseClient(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},(0,Ze.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-createSnapshot",e,async r=>(0,F.assertResponse)(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:(...s)=>this.abortCopyFromURL(...s),getProperties:(...s)=>this.getProperties(...s),startCopyFromURL:(...s)=>this.startCopyFromURL(...s)},i=new EMe.BlobBeginCopyFromUrlPoller({blobClient:n,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await i.poll(),i}async abortCopyFromURL(e,r={}){return se.tracingClient.withSpan("BlobClient-abortCopyFromURL",r,async n=>(0,F.assertResponse)(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||{},se.tracingClient.withSpan("BlobClient-syncCopyFromURL",r,async n=>(0,F.assertResponse)(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:(0,F.httpAuthorizationToString)(r.sourceAuthorization),tier:(0,Ze.toAccessTier)(r.tier),blobTagsString:(0,F.toBlobTagsString)(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 se.tracingClient.withSpan("BlobClient-setAccessTier",r,async n=>(0,F.assertResponse)(await this.blobContext.setTier((0,Ze.toAccessTier)(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,i={}){let s,a=0,c=0,l=i;e instanceof Buffer?(s=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=We.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES),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={}),se.tracingClient.withSpan("BlobClient-downloadToBuffer",l,async u=>{if(!c){let g=await this.getProperties({...l,tracingOptions:u.tracingOptions});if(c=g.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${g.contentLength}`)}if(!s)try{s=Buffer.alloc(c)}catch(g){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". ${g.message}`)}if(s.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,f=new UK.Batch(l.concurrency);for(let g=a;g<a+c;g=g+A)f.addOperation(async()=>{let C=a+c;g+A<C&&(C=g+A);let S=(await this.download(g,C-g,{abortSignal:l.abortSignal,conditions:l.conditions,maxRetryRequests:l.maxRetryRequestsPerBlock,customerProvidedKey:l.customerProvidedKey,tracingOptions:u.tracingOptions})).readableStreamBody;await(0,lg.streamToBuffer)(S,s,g-a,C-a),d+=C-g,l.onProgress&&l.onProgress({loadedBytes:d})});return await f.do(),s})}async downloadToFile(e,r=0,n,i={}){return se.tracingClient.withSpan("BlobClient-downloadToFile",i,async s=>{let a=await this.download(r,n,{...i,tracingOptions:s.tracingOptions});return a.readableStreamBody&&await(0,lg.readStreamToLocalFile)(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 i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[3]}else if((0,F.isIpEndpointStyle)(n)){let i=n.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],r=i[4]}else{let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[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 se.tracingClient.withSpan("BlobClient-startCopyFromURL",r,async n=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},(0,F.assertResponse)(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:(0,Ze.toAccessTier)(r.tier),blobTagsString:(0,F.toBlobTagsString)(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof gt.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=(0,cg.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r((0,F.appendToURLQuery)(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof gt.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return(0,cg.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=(0,cg.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n((0,F.appendToURLQuery)(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return(0,cg.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return se.tracingClient.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>(0,F.assertResponse)(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return se.tracingClient.withSpan("BlobClient-setImmutabilityPolicy",r,async n=>(0,F.assertResponse)(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:n.tracingOptions})))}async setLegalHold(e,r={}){return se.tracingClient.withSpan("BlobClient-setLegalHold",r,async n=>(0,F.assertResponse)(await this.blobContext.setLegalHold(e,{tracingOptions:n.tracingOptions})))}async getAccountInfo(e={}){return se.tracingClient.withSpan("BlobClient-getAccountInfo",e,async r=>(0,F.assertResponse)(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}};Qi.BlobClient=il;var Ag=class t extends il{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,Rt.isPipelineLike)(r))a=e,s=r;else if(Qn.isNodeLike&&r instanceof gt.StorageSharedKeyCredential||r instanceof gt.AnonymousCredential||(0,hg.isTokenCredential)(r))a=e,i=n,s=(0,Rt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,s=(0,Rt.newPipeline)(new gt.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,F.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(Qn.isNodeLike){let u=new gt.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,pg.getDefaultProxySettings)(A.proxyUri)),s=(0,Rt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,s=(0,Rt.newPipeline)(new gt.AnonymousCredential,i);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,s),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t((0,F.setURLParameter)(this.url,We.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},(0,Ze.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("AppendBlobClient-create",e,async r=>(0,F.assertResponse)(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:(0,F.toBlobTagsString)(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:We.ETagAny};return se.tracingClient.withSpan("AppendBlobClient-createIfNotExists",e,async n=>{try{let i=(0,F.assertResponse)(await this.create({...n,conditions:r}));return{succeeded:!0,...i,_response:i._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async seal(e={}){return e.conditions=e.conditions||{},se.tracingClient.withSpan("AppendBlobClient-seal",e,async r=>(0,F.assertResponse)(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||{},(0,Ze.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("AppendBlobClient-appendBlock",n,async i=>(0,F.assertResponse)(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:i.tracingOptions})))}async appendBlockFromURL(e,r,n,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},(0,Ze.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("AppendBlobClient-appendBlockFromURL",i,async s=>(0,F.assertResponse)(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:(0,Zr.rangeToString)({offset:r,count:n}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions: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},copySourceAuthorization:(0,F.httpAuthorizationToString)(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}};Qi.AppendBlobClient=Ag;var ug=class t extends il{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,Rt.isPipelineLike)(r))a=e,s=r;else if(Qn.isNodeLike&&r instanceof gt.StorageSharedKeyCredential||r instanceof gt.AnonymousCredential||(0,hg.isTokenCredential)(r))a=e,i=n,s=(0,Rt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=(0,Rt.newPipeline)(new gt.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,F.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(Qn.isNodeLike){let u=new gt.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,pg.getDefaultProxySettings)(A.proxyUri)),s=(0,Rt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,s=(0,Rt.newPipeline)(new gt.AnonymousCredential,i);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,s),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t((0,F.setURLParameter)(this.url,We.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if((0,Ze.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),!Qn.isNodeLike)throw new Error("This operation currently is only supported in Node.js.");return se.tracingClient.withSpan("BlockBlobClient-query",r,async n=>{let i=(0,F.assertResponse)(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:(0,F.toQuerySerialization)(r.inputTextConfiguration),outputSerialization:(0,F.toQuerySerialization)(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new CMe.BlobQueryResponse(i,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},(0,Ze.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-upload",n,async i=>(0,F.assertResponse)(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:(0,Ze.toAccessTier)(n.tier),blobTagsString:(0,F.toBlobTagsString)(n.tags),tracingOptions:i.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},(0,Ze.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-syncUploadFromURL",r,async n=>(0,F.assertResponse)(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:(0,F.httpAuthorizationToString)(r.sourceAuthorization),tier:(0,Ze.toAccessTier)(r.tier),blobTagsString:(0,F.toBlobTagsString)(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,r,n,i={}){return(0,Ze.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-stageBlock",i,async s=>(0,F.assertResponse)(await this.blockBlobContext.stageBlock(e,n,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions})))}async stageBlockFromURL(e,r,n=0,i,s={}){return(0,Ze.ensureCpkIfSpecified)(s.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-stageBlockFromURL",s,async a=>(0,F.assertResponse)(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,sourceRange:n===0&&!i?void 0:(0,Zr.rangeToString)({offset:n,count:i}),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:(0,F.httpAuthorizationToString)(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},(0,Ze.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-commitBlockList",r,async n=>(0,F.assertResponse)(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:(0,Ze.toAccessTier)(r.tier),blobTagsString:(0,F.toBlobTagsString)(r.tags),tracingOptions:n.tracingOptions})))}async getBlockList(e,r={}){return se.tracingClient.withSpan("BlockBlobClient-getBlockList",r,async n=>{let i=(0,F.assertResponse)(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,r={}){return se.tracingClient.withSpan("BlockBlobClient-uploadData",r,async n=>{if(Qn.isNodeLike){let i;return e instanceof Buffer?i=e:e instanceof ArrayBuffer?i=Buffer.from(e):(e=e,i=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.byteLength,n)}else{let i=new Blob([e]);return this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.size,n)}})}async uploadBrowserData(e,r={}){return se.tracingClient.withSpan("BlockBlobClient-uploadBrowserData",r,async n=>{let i=new Blob([e]);return this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.size,n)})}async uploadSeekableInternal(e,r,n={}){let i=n.blockSize??0;if(i<0||i>We.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES)throw new RangeError(`blockSize option must be >= 0 and <= ${We.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES}`);let s=n.maxSingleShotSize??We.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES;if(s<0||s>We.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${We.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}`);if(i===0){if(r>We.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES*We.BLOCK_BLOB_MAX_BLOCKS)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>s&&(i=Math.ceil(r/We.BLOCK_BLOB_MAX_BLOCKS),i<We.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES&&(i=We.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES))}return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),se.tracingClient.withSpan("BlockBlobClient-uploadSeekableInternal",n,async a=>{if(r<=s)return(0,F.assertResponse)(await this.upload(e(0,r),r,a));let c=Math.floor((r-1)/i)+1;if(c>We.BLOCK_BLOB_MAX_BLOCKS)throw new RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${We.BLOCK_BLOB_MAX_BLOCKS}`);let l=[],A=(0,LK.randomUUID)(),u=0,d=new UK.Batch(n.concurrency);for(let f=0;f<c;f++)d.addOperation(async()=>{let g=(0,F.generateBlockID)(A,f),C=i*f,S=(f===c-1?r:C+i)-C;l.push(g),await this.stageBlock(g,e(C,S),S,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:a.tracingOptions}),u+=S,n.onProgress&&n.onProgress({loadedBytes:u})});return await d.do(),this.commitBlockList(l,a)})}async uploadFile(e,r={}){return se.tracingClient.withSpan("BlockBlobClient-uploadFile",r,async n=>{let i=(await(0,lg.fsStat)(e)).size;return this.uploadSeekableInternal((s,a)=>()=>(0,lg.fsCreateReadStream)(e,{autoClose:!0,end:a?s+a-1:1/0,start:s}),i,{...r,tracingOptions:n.tracingOptions})})}async uploadStream(e,r=We.DEFAULT_BLOCK_BUFFER_SIZE_BYTES,n=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),se.tracingClient.withSpan("BlockBlobClient-uploadStream",i,async s=>{let a=0,c=(0,LK.randomUUID)(),l=0,A=[];return await new IMe.BufferScheduler(e,r,n,async(d,f)=>{let g=(0,F.generateBlockID)(c,a);A.push(g),a++,await this.stageBlock(g,d,f,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions}),l+=f,i.onProgress&&i.onProgress({loadedBytes:l})},Math.ceil(n/4*3)).do(),(0,F.assertResponse)(await this.commitBlockList(A,{...i,tracingOptions:s.tracingOptions}))})}};Qi.BlockBlobClient=ug;var dg=class t extends il{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,Rt.isPipelineLike)(r))a=e,s=r;else if(Qn.isNodeLike&&r instanceof gt.StorageSharedKeyCredential||r instanceof gt.AnonymousCredential||(0,hg.isTokenCredential)(r))a=e,i=n,s=(0,Rt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,s=(0,Rt.newPipeline)(new gt.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,F.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(Qn.isNodeLike){let u=new gt.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,pg.getDefaultProxySettings)(A.proxyUri)),s=(0,Rt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,s=(0,Rt.newPipeline)(new gt.AnonymousCredential,i);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,s),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t((0,F.setURLParameter)(this.url,We.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},(0,Ze.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("PageBlobClient-create",r,async n=>(0,F.assertResponse)(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:(0,Ze.toAccessTier)(r.tier),blobTagsString:(0,F.toBlobTagsString)(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return se.tracingClient.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let i={ifNoneMatch:We.ETagAny},s=(0,F.assertResponse)(await this.create(e,{...r,conditions:i,tracingOptions:n.tracingOptions}));return{succeeded:!0,...s,_response:s._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async uploadPages(e,r,n,i={}){return i.conditions=i.conditions||{},(0,Ze.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("PageBlobClient-uploadPages",i,async s=>(0,F.assertResponse)(await this.pageBlobContext.uploadPages(n,e,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:(0,Zr.rangeToString)({offset:r,count:n}),sequenceNumberAccessConditions:i.conditions,transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions})))}async uploadPagesFromURL(e,r,n,i,s={}){return s.conditions=s.conditions||{},s.sourceConditions=s.sourceConditions||{},(0,Ze.ensureCpkIfSpecified)(s.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("PageBlobClient-uploadPagesFromURL",s,async a=>(0,F.assertResponse)(await this.pageBlobContext.uploadPagesFromURL(e,(0,Zr.rangeToString)({offset:r,count:i}),0,(0,Zr.rangeToString)({offset:n,count:i}),{abortSignal:s.abortSignal,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,sequenceNumberAccessConditions: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},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:(0,F.httpAuthorizationToString)(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,n={}){return n.conditions=n.conditions||{},se.tracingClient.withSpan("PageBlobClient-clearPages",n,async i=>(0,F.assertResponse)(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:(0,Zr.rangeToString)({offset:e,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,r,n={}){return n.conditions=n.conditions||{},se.tracingClient.withSpan("PageBlobClient-getPageRanges",n,async i=>{let s=(0,F.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:(0,Zr.rangeToString)({offset:e,count:r}),tracingOptions:i.tracingOptions}));return(0,rS.rangeResponseFromModel)(s)})}async listPageRangesSegment(e=0,r,n,i={}){return se.tracingClient.withSpan("PageBlobClient-getPageRangesSegment",i,async s=>(0,F.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:(0,Zr.rangeToString)({offset:e,count:r}),marker:n,maxPageSize:i.maxPageSize,tracingOptions:s.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,n,i={}){let s;if(n||n===void 0)do s=await this.listPageRangesSegment(e,r,n,i),n=s.continuationToken,yield await s;while(n)}async*listPageRangeItems(e=0,r,n={}){let i;for await(let s of this.listPageRangeItemSegments(e,r,i,n))yield*(0,F.ExtractPageRangeInfoItems)(s)}listPageRanges(e=0,r,n={}){n.conditions=n.conditions||{};let i=this.listPageRangeItems(e,r,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listPageRangeItemSegments(e,r,s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async getPageRangesDiff(e,r,n,i={}){return i.conditions=i.conditions||{},se.tracingClient.withSpan("PageBlobClient-getPageRangesDiff",i,async s=>{let a=(0,F.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:n,range:(0,Zr.rangeToString)({offset:e,count:r}),tracingOptions:s.tracingOptions}));return(0,rS.rangeResponseFromModel)(a)})}async listPageRangesDiffSegment(e,r,n,i,s={}){return se.tracingClient.withSpan("PageBlobClient-getPageRangesDiffSegment",s,async a=>(0,F.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:s?.abortSignal,leaseAccessConditions:s?.conditions,modifiedAccessConditions:{...s?.conditions,ifTags:s?.conditions?.tagConditions},prevsnapshot:n,range:(0,Zr.rangeToString)({offset:e,count:r}),marker:i,maxPageSize:s?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,n,i,s){let a;if(i||i===void 0)do a=await this.listPageRangesDiffSegment(e,r,n,i,s),i=a.continuationToken,yield await a;while(i)}async*listPageRangeDiffItems(e,r,n,i){let s;for await(let a of this.listPageRangeDiffItemSegments(e,r,n,s,i))yield*(0,F.ExtractPageRangeInfoItems)(a)}listPageRangesDiff(e,r,n,i={}){i.conditions=i.conditions||{};let s=this.listPageRangeDiffItems(e,r,n,{...i});return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(a={})=>this.listPageRangeDiffItemSegments(e,r,n,a.continuationToken,{maxPageSize:a.maxPageSize,...i})}}async getPageRangesDiffForManagedDisks(e,r,n,i={}){return i.conditions=i.conditions||{},se.tracingClient.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async s=>{let a=(0,F.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:n,range:(0,Zr.rangeToString)({offset:e,count:r}),tracingOptions:s.tracingOptions}));return(0,rS.rangeResponseFromModel)(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},se.tracingClient.withSpan("PageBlobClient-resize",r,async n=>(0,F.assertResponse)(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||{},se.tracingClient.withSpan("PageBlobClient-updateSequenceNumber",n,async i=>(0,F.assertResponse)(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:r,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,r={}){return se.tracingClient.withSpan("PageBlobClient-startCopyIncremental",r,async n=>(0,F.assertResponse)(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}};Qi.PageBlobClient=dg});var nS=m(mg=>{"use strict";Object.defineProperty(mg,"__esModule",{value:!0});mg.getBodyAsText=NMe;mg.utf8ByteLength=xMe;var QMe=tS(),wMe=Kr();async function NMe(t){let e=Buffer.alloc(wMe.BATCH_MAX_PAYLOAD_IN_BYTES),r=await(0,QMe.streamToBuffer2)(t.readableStreamBody,e);return e=e.slice(0,r),e.toString()}o(NMe,"getBodyAsText");function xMe(t){return Buffer.byteLength(t)}o(xMe,"utf8ByteLength")});var HK=m(yg=>{"use strict";Object.defineProperty(yg,"__esModule",{value:!0});yg.BatchResponseParser=void 0;var SMe=Pt(),RMe=zf(),sl=Kr(),_Me=nS(),vMe=Yf(),gg=": ",FK=" ",qK=-1,iS=class{static{o(this,"BatchResponseParser")}batchResponse;responseBatchBoundary;perResponsePrefix;batchResponseEnding;subRequests;constructor(e,r){if(!e||!e.contentType)throw new RangeError("batchResponse is malformed or doesn't contain valid content-type.");if(!r||r.size===0)throw new RangeError("Invalid state: subRequests is not provided or size is 0.");this.batchResponse=e,this.subRequests=r,this.responseBatchBoundary=this.batchResponse.contentType.split("=")[1],this.perResponsePrefix=`--${this.responseBatchBoundary}${sl.HTTP_LINE_ENDING}`,this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==sl.HTTPURLConnection.HTTP_ACCEPTED)throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`);let r=(await(0,_Me.getBodyAsText)(this.batchResponse)).split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1),n=r.length;if(n!==this.subRequests.size&&n!==1)throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.");let i=new Array(n),s=0,a=0;for(let c=0;c<n;c++){let l=r[c],A={};A.headers=(0,RMe.toHttpHeadersLike)((0,SMe.createHttpHeaders)());let u=l.split(`${sl.HTTP_LINE_ENDING}`),d=!1,f=!1,g=!1,C=qK;for(let Q of u){if(!d){if(Q.startsWith(sl.HeaderConstants.CONTENT_ID)&&(C=parseInt(Q.split(gg)[1])),Q.startsWith(sl.HTTP_VERSION_1_1)){d=!0;let S=Q.split(FK);A.status=parseInt(S[1]),A.statusMessage=S.slice(2).join(FK)}continue}if(Q.trim()===""){f||(f=!0);continue}if(f)A.bodyAsText||(A.bodyAsText=""),A.bodyAsText+=Q;else{if(Q.indexOf(gg)===-1)throw new Error(`Invalid state: find non-empty line '${Q}' without HTTP header delimiter '${gg}'.`);let S=Q.split(gg);A.headers.set(S[0],S[1]),S[0]===sl.HeaderConstants.X_MS_ERROR_CODE&&(A.errorCode=S[1],g=!0)}}C!==qK&&Number.isInteger(C)&&C>=0&&C<this.subRequests.size&&i[C]===void 0?(A._request=this.subRequests.get(C),i[C]=A):vMe.logger.error(`subResponses[${c}] is dropped as the Content-ID is not found or invalid, Content-ID: ${C}`),g?a++:s++}return{subResponses:i,subResponsesSucceededCount:s,subResponsesFailedCount:a}}};yg.BatchResponseParser=iS});var zK=m(Cg=>{"use strict";Object.defineProperty(Cg,"__esModule",{value:!0});Cg.Mutex=void 0;var ol;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(ol||(ol={}));var sS=class{static{o(this,"Mutex")}static async lock(e){return new Promise(r=>{this.keys[e]===void 0||this.keys[e]===ol.UNLOCKED?(this.keys[e]=ol.LOCKED,r()):this.onUnlockEvent(e,()=>{this.keys[e]=ol.LOCKED,r()})})}static async unlock(e){return new Promise(r=>{this.keys[e]===ol.LOCKED&&this.emitUnlockEvent(e),delete this.keys[e],r()})}static keys={};static listeners={};static onUnlockEvent(e,r){this.listeners[e]===void 0?this.listeners[e]=[r]:this.listeners[e].push(r)}static emitUnlockEvent(e){if(this.listeners[e]!==void 0&&this.listeners[e].length>0){let r=this.listeners[e].shift();setImmediate(()=>{r.call(this)})}}};Cg.Mutex=sS});var uS=m(Bg=>{"use strict";Object.defineProperty(Bg,"__esModule",{value:!0});Bg.BlobBatch=void 0;var PMe=ut(),oS=vc(),aS=Pt(),jK=ut(),al=Gn(),Eg=fg(),GK=zK(),DMe=Fs(),cS=bn(),TMe=o0(),pr=Kr(),YK=qo(),JK=fi(),lS=class{static{o(this,"BlobBatch")}batchRequest;batch="batch";batchType;constructor(){this.batchRequest=new AS}getMultiPartContentType(){return this.batchRequest.getMultipartContentType()}getHttpRequestBody(){return this.batchRequest.getHttpRequestBody()}getSubRequests(){return this.batchRequest.getSubRequests()}async addSubRequestInternal(e,r){await GK.Mutex.lock(this.batch);try{this.batchRequest.preAddSubRequest(e),await r(),this.batchRequest.postAddSubRequest(e)}finally{await GK.Mutex.unlock(this.batch)}}setBatchType(e){if(this.batchType||(this.batchType=e),this.batchType!==e)throw new RangeError(`BlobBatch only supports one operation type per batch and it already is being used for ${this.batchType} operations.`)}async deleteBlob(e,r,n){let i,s;if(typeof e=="string"&&(jK.isNodeLike&&r instanceof al.StorageSharedKeyCredential||r instanceof al.AnonymousCredential||(0,oS.isTokenCredential)(r)))i=e,s=r;else if(e instanceof Eg.BlobClient)i=e.url,s=e.credential,n=r;else throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.");return n||(n={}),YK.tracingClient.withSpan("BatchDeleteRequest-addSubRequest",n,async a=>{this.setBatchType("delete"),await this.addSubRequestInternal({url:i,credential:s},async()=>{await new Eg.BlobClient(i,this.batchRequest.createPipeline(s)).delete(a)})})}async setBlobAccessTier(e,r,n,i){let s,a,c;if(typeof e=="string"&&(jK.isNodeLike&&r instanceof al.StorageSharedKeyCredential||r instanceof al.AnonymousCredential||(0,oS.isTokenCredential)(r)))s=e,a=r,c=n;else if(e instanceof Eg.BlobClient)s=e.url,a=e.credential,c=r,i=n;else throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.");return i||(i={}),YK.tracingClient.withSpan("BatchSetTierRequest-addSubRequest",i,async l=>{this.setBatchType("setAccessTier"),await this.addSubRequestInternal({url:s,credential:a},async()=>{await new Eg.BlobClient(s,this.batchRequest.createPipeline(a)).setAccessTier(c,l)})})}};Bg.BlobBatch=lS;var AS=class{static{o(this,"InnerBatchRequest")}operationCount;body;subRequests;boundary;subRequestPrefix;multipartContentType;batchRequestEnding;constructor(){this.operationCount=0,this.body="";let e=(0,PMe.randomUUID)();this.boundary=`batch_${e}`,this.subRequestPrefix=`--${this.boundary}${pr.HTTP_LINE_ENDING}${pr.HeaderConstants.CONTENT_TYPE}: application/http${pr.HTTP_LINE_ENDING}${pr.HeaderConstants.CONTENT_TRANSFER_ENCODING}: binary`,this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`,this.batchRequestEnding=`--${this.boundary}--`,this.subRequests=new Map}createPipeline(e){let r=(0,aS.createEmptyPipeline)();r.addPolicy((0,JK.serializationPolicy)({stringifyXML:TMe.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"}),r.addPolicy(MMe()),r.addPolicy(OMe(this),{afterPhase:"Sign"}),(0,oS.isTokenCredential)(e)?r.addPolicy((0,aS.bearerTokenAuthenticationPolicy)({credential:e,scopes:pr.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:JK.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):e instanceof al.StorageSharedKeyCredential&&r.addPolicy((0,al.storageSharedKeyCredentialPolicy)({accountName:e.accountName,accountKey:e.accountKey}),{phase:"Sign"});let n=new DMe.Pipeline([]);return n._credential=e,n._corePipeline=r,n}appendSubRequestToBody(e){this.body+=[this.subRequestPrefix,`${pr.HeaderConstants.CONTENT_ID}: ${this.operationCount}`,"",`${e.method.toString()} ${(0,cS.getURLPathAndQuery)(e.url)} ${pr.HTTP_VERSION_1_1}${pr.HTTP_LINE_ENDING}`].join(pr.HTTP_LINE_ENDING);for(let[r,n]of e.headers)this.body+=`${r}: ${n}${pr.HTTP_LINE_ENDING}`;this.body+=pr.HTTP_LINE_ENDING}preAddSubRequest(e){if(this.operationCount>=pr.BATCH_MAX_REQUEST)throw new RangeError(`Cannot exceed ${pr.BATCH_MAX_REQUEST} sub requests in a single batch`);let r=(0,cS.getURLPath)(e.url);if(!r||r==="")throw new RangeError(`Invalid url for sub request: '${e.url}'`)}postAddSubRequest(e){this.subRequests.set(this.operationCount,e),this.operationCount++}getHttpRequestBody(){return`${this.body}${this.batchRequestEnding}${pr.HTTP_LINE_ENDING}`}getMultipartContentType(){return this.multipartContentType}getSubRequests(){return this.subRequests}};function OMe(t){return{name:"batchRequestAssemblePolicy",async sendRequest(e){return t.appendSubRequestToBody(e),{request:e,status:200,headers:(0,aS.createHttpHeaders)()}}}}o(OMe,"batchRequestAssemblePolicy");function MMe(){return{name:"batchHeaderFilterPolicy",async sendRequest(t,e){let r="";for(let[n]of t.headers)(0,cS.iEqual)(n,pr.HeaderConstants.X_MS_VERSION)&&(r=n);return r!==""&&t.headers.delete(r),e(t)}}}o(MMe,"batchHeaderFilterPolicy")});var Qg=m(bg=>{"use strict";Object.defineProperty(bg,"__esModule",{value:!0});bg.BlobBatchClient=void 0;var kMe=HK(),LMe=nS(),dS=uS(),UMe=qo(),FMe=Gn(),qMe=sx(),Ig=Fs(),VK=bn(),pS=class{static{o(this,"BlobBatchClient")}serviceOrContainerContext;constructor(e,r,n){let i;(0,Ig.isPipelineLike)(r)?i=r:r?i=(0,Ig.newPipeline)(r,n):i=(0,Ig.newPipeline)(new FMe.AnonymousCredential,n);let s=new qMe.StorageContextClient(e,(0,Ig.getCoreClientOptions)(i)),a=(0,VK.getURLPath)(e);a&&a!=="/"?this.serviceOrContainerContext=s.container:this.serviceOrContainerContext=s.service}createBatch(){return new dS.BlobBatch}async deleteBlobs(e,r,n){let i=new dS.BlobBatch;for(let s of e)typeof s=="string"?await i.deleteBlob(s,r,n):await i.deleteBlob(s,r);return this.submitBatch(i)}async setBlobsAccessTier(e,r,n,i){let s=new dS.BlobBatch;for(let a of e)typeof a=="string"?await s.setBlobAccessTier(a,r,n,i):await s.setBlobAccessTier(a,r,n);return this.submitBatch(s)}async submitBatch(e,r={}){if(!e||e.getSubRequests().size===0)throw new RangeError("Batch request should contain one or more sub requests.");return UMe.tracingClient.withSpan("BlobBatchClient-submitBatch",r,async n=>{let i=e.getHttpRequestBody(),s=(0,VK.assertResponse)(await this.serviceOrContainerContext.submitBatch((0,LMe.utf8ByteLength)(i),e.getMultiPartContentType(),i,{...n})),c=await new kMe.BatchResponseParser(s,e.getSubRequests()).parseBatchResponse();return{_response:s._response,contentType:s.contentType,errorCode:s.errorCode,requestId:s.requestId,clientRequestId:s.clientRequestId,version:s.version,subResponses:c.subResponses,subResponsesSucceededCount:c.subResponsesSucceededCount,subResponsesFailedCount:c.subResponsesFailedCount}})}};bg.BlobBatchClient=pS});var fS=m(xg=>{"use strict";Object.defineProperty(xg,"__esModule",{value:!0});xg.ContainerClient=void 0;var HMe=Pt(),WK=ut(),zMe=vc(),$o=Gn(),Su=Fs(),jMe=Rm(),hr=qo(),xe=bn(),wg=km(),GMe=Fm(),Ng=fg(),YMe=Qg(),hS=class extends jMe.StorageClient{static{o(this,"ContainerClient")}containerContext;_containerName;get containerName(){return this._containerName}constructor(e,r,n){let i,s;if(n=n||{},(0,Su.isPipelineLike)(r))s=e,i=r;else if(WK.isNodeLike&&r instanceof $o.StorageSharedKeyCredential||r instanceof $o.AnonymousCredential||(0,zMe.isTokenCredential)(r))s=e,i=(0,Su.newPipeline)(r,n);else if(!r&&typeof r!="string")s=e,i=(0,Su.newPipeline)(new $o.AnonymousCredential,n);else if(r&&typeof r=="string"){let a=r,c=(0,xe.extractConnectionStringParts)(e);if(c.kind==="AccountConnString")if(WK.isNodeLike){let l=new $o.StorageSharedKeyCredential(c.accountName,c.accountKey);s=(0,xe.appendToURLPath)(c.url,encodeURIComponent(a)),n.proxyOptions||(n.proxyOptions=(0,HMe.getDefaultProxySettings)(c.proxyUri)),i=(0,Su.newPipeline)(l,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(c.kind==="SASConnString")s=(0,xe.appendToURLPath)(c.url,encodeURIComponent(a))+"?"+c.accountSas,i=(0,Su.newPipeline)(new $o.AnonymousCredential,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName parameter");super(s,i),this._containerName=this.getContainerNameFromUrl(),this.containerContext=this.storageClientContext.container}async create(e={}){return hr.tracingClient.withSpan("ContainerClient-create",e,async r=>(0,xe.assertResponse)(await this.containerContext.create(r)))}async createIfNotExists(e={}){return hr.tracingClient.withSpan("ContainerClient-createIfNotExists",e,async r=>{try{let n=await this.create(r);return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="ContainerAlreadyExists")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async exists(e={}){return hr.tracingClient.withSpan("ContainerClient-exists",e,async r=>{try{return await this.getProperties({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;throw n}})}getBlobClient(e){return new Ng.BlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}getAppendBlobClient(e){return new Ng.AppendBlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}getBlockBlobClient(e){return new Ng.BlockBlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}getPageBlobClient(e){return new Ng.PageBlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}async getProperties(e={}){return e.conditions||(e.conditions={}),hr.tracingClient.withSpan("ContainerClient-getProperties",e,async r=>(0,xe.assertResponse)(await this.containerContext.getProperties({abortSignal:e.abortSignal,...e.conditions,tracingOptions:r.tracingOptions})))}async delete(e={}){return e.conditions||(e.conditions={}),hr.tracingClient.withSpan("ContainerClient-delete",e,async r=>(0,xe.assertResponse)(await this.containerContext.delete({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions})))}async deleteIfExists(e={}){return hr.tracingClient.withSpan("ContainerClient-deleteIfExists",e,async r=>{try{let n=await this.delete(r);return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="ContainerNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async setMetadata(e,r={}){if(r.conditions||(r.conditions={}),r.conditions.ifUnmodifiedSince)throw new RangeError("the IfUnmodifiedSince must have their default values because they are ignored by the blob service");return hr.tracingClient.withSpan("ContainerClient-setMetadata",r,async n=>(0,xe.assertResponse)(await this.containerContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async getAccessPolicy(e={}){return e.conditions||(e.conditions={}),hr.tracingClient.withSpan("ContainerClient-getAccessPolicy",e,async r=>{let n=(0,xe.assertResponse)(await this.containerContext.getAccessPolicy({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,tracingOptions:r.tracingOptions})),i={_response:n._response,blobPublicAccess:n.blobPublicAccess,date:n.date,etag:n.etag,errorCode:n.errorCode,lastModified:n.lastModified,requestId:n.requestId,clientRequestId:n.clientRequestId,signedIdentifiers:[],version:n.version};for(let s of n){let a;s.accessPolicy&&(a={permissions:s.accessPolicy.permissions},s.accessPolicy.expiresOn&&(a.expiresOn=new Date(s.accessPolicy.expiresOn)),s.accessPolicy.startsOn&&(a.startsOn=new Date(s.accessPolicy.startsOn))),i.signedIdentifiers.push({accessPolicy:a,id:s.id})}return i})}async setAccessPolicy(e,r,n={}){return n.conditions=n.conditions||{},hr.tracingClient.withSpan("ContainerClient-setAccessPolicy",n,async i=>{let s=[];for(let a of r||[])s.push({accessPolicy:{expiresOn:a.accessPolicy.expiresOn?(0,xe.truncatedISO8061Date)(a.accessPolicy.expiresOn):"",permissions:a.accessPolicy.permissions,startsOn:a.accessPolicy.startsOn?(0,xe.truncatedISO8061Date)(a.accessPolicy.startsOn):""},id:a.id});return(0,xe.assertResponse)(await this.containerContext.setAccessPolicy({abortSignal:n.abortSignal,access:e,containerAcl:s,leaseAccessConditions:n.conditions,modifiedAccessConditions:n.conditions,tracingOptions:i.tracingOptions}))})}getBlobLeaseClient(e){return new GMe.BlobLeaseClient(this,e)}async uploadBlockBlob(e,r,n,i={}){return hr.tracingClient.withSpan("ContainerClient-uploadBlockBlob",i,async s=>{let a=this.getBlockBlobClient(e),c=await a.upload(r,n,s);return{blockBlobClient:a,response:c}})}async deleteBlob(e,r={}){return hr.tracingClient.withSpan("ContainerClient-deleteBlob",r,async n=>{let i=this.getBlobClient(e);return r.versionId&&(i=i.withVersion(r.versionId)),i.delete(n)})}async listBlobFlatSegment(e,r={}){return hr.tracingClient.withSpan("ContainerClient-listBlobFlatSegment",r,async n=>{let i=(0,xe.assertResponse)(await this.containerContext.listBlobFlatSegment({marker:e,...r,tracingOptions:n.tracingOptions}));return{...i,_response:{...i._response,parsedBody:(0,xe.ConvertInternalResponseOfListBlobFlat)(i._response.parsedBody)},segment:{...i.segment,blobItems:i.segment.blobItems.map(a=>({...a,name:(0,xe.BlobNameToString)(a.name),tags:(0,xe.toTags)(a.blobTags),objectReplicationSourceProperties:(0,xe.parseObjectReplicationRecord)(a.objectReplicationMetadata)}))}}})}async listBlobHierarchySegment(e,r,n={}){return hr.tracingClient.withSpan("ContainerClient-listBlobHierarchySegment",n,async i=>{let s=(0,xe.assertResponse)(await this.containerContext.listBlobHierarchySegment(e,{marker:r,...n,tracingOptions:i.tracingOptions}));return{...s,_response:{...s._response,parsedBody:(0,xe.ConvertInternalResponseOfListBlobHierarchy)(s._response.parsedBody)},segment:{...s.segment,blobItems:s.segment.blobItems.map(c=>({...c,name:(0,xe.BlobNameToString)(c.name),tags:(0,xe.toTags)(c.blobTags),objectReplicationSourceProperties:(0,xe.parseObjectReplicationRecord)(c.objectReplicationMetadata)})),blobPrefixes:s.segment.blobPrefixes?.map(c=>({...c,name:(0,xe.BlobNameToString)(c.name)}))}}})}async*listSegments(e,r={}){let n;if(e||e===void 0)do n=await this.listBlobFlatSegment(e,r),e=n.continuationToken,yield await n;while(e)}async*listItems(e={}){let r;for await(let n of this.listSegments(r,e))yield*n.segment.blobItems}listBlobsFlat(e={}){let r=[];e.includeCopy&&r.push("copy"),e.includeDeleted&&r.push("deleted"),e.includeMetadata&&r.push("metadata"),e.includeSnapshots&&r.push("snapshots"),e.includeVersions&&r.push("versions"),e.includeUncommitedBlobs&&r.push("uncommittedblobs"),e.includeTags&&r.push("tags"),e.includeDeletedWithVersions&&r.push("deletedwithversions"),e.includeImmutabilityPolicy&&r.push("immutabilitypolicy"),e.includeLegalHold&&r.push("legalhold"),e.prefix===""&&(e.prefix=void 0);let n={...e,...r.length>0?{include:r}:{}},i=this.listItems(n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listSegments(s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async*listHierarchySegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.listBlobHierarchySegment(e,r,n),r=i.continuationToken,yield await i;while(r)}async*listItemsByHierarchy(e,r={}){let n;for await(let i of this.listHierarchySegments(e,n,r)){let s=i.segment;if(s.blobPrefixes)for(let a of s.blobPrefixes)yield{kind:"prefix",...a};for(let a of s.blobItems)yield{kind:"blob",...a}}}listBlobsByHierarchy(e,r={}){if(e==="")throw new RangeError("delimiter should contain one or more characters");let n=[];r.includeCopy&&n.push("copy"),r.includeDeleted&&n.push("deleted"),r.includeMetadata&&n.push("metadata"),r.includeSnapshots&&n.push("snapshots"),r.includeVersions&&n.push("versions"),r.includeUncommitedBlobs&&n.push("uncommittedblobs"),r.includeTags&&n.push("tags"),r.includeDeletedWithVersions&&n.push("deletedwithversions"),r.includeImmutabilityPolicy&&n.push("immutabilitypolicy"),r.includeLegalHold&&n.push("legalhold"),r.prefix===""&&(r.prefix=void 0);let i={...r,...n.length>0?{include:n}:{}},s=this.listItemsByHierarchy(e,i);return{async next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(a={})=>this.listHierarchySegments(e,a.continuationToken,{maxPageSize:a.maxPageSize,...i})}}async findBlobsByTagsSegment(e,r,n={}){return hr.tracingClient.withSpan("ContainerClient-findBlobsByTagsSegment",n,async i=>{let s=(0,xe.assertResponse)(await this.containerContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));return{...s,_response:s._response,blobs:s.blobs.map(c=>{let l="";return c.tags?.blobTagSet.length===1&&(l=c.tags.blobTagSet[0].value),{...c,tags:(0,xe.toTags)(c.tags),tagValue:l}})}})}async*findBlobsByTagsSegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.findBlobsByTagsSegment(e,r,n),i.blobs=i.blobs||[],r=i.continuationToken,yield i;while(r)}async*findBlobsByTagsItems(e,r={}){let n;for await(let i of this.findBlobsByTagsSegments(e,n,r))yield*i.blobs}findBlobsByTags(e,r={}){let n={...r},i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.findBlobsByTagsSegments(e,s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async getAccountInfo(e={}){return hr.tracingClient.withSpan("ContainerClient-getAccountInfo",e,async r=>(0,xe.assertResponse)(await this.containerContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}getContainerNameFromUrl(){let e;try{let r=new URL(this.url);if(r.hostname.split(".")[1]==="blob"?e=r.pathname.split("/")[1]:(0,xe.isIpEndpointStyle)(r)?e=r.pathname.split("/")[2]:e=r.pathname.split("/")[1],e=decodeURIComponent(e),!e)throw new Error("Provided containerName is invalid.");return e}catch{throw new Error("Unable to extract containerName with provided information.")}}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof $o.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=(0,wg.generateBlobSASQueryParameters)({containerName:this._containerName,...e},this.credential).toString();r((0,xe.appendToURLQuery)(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof $o.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return(0,wg.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=(0,wg.generateBlobSASQueryParameters)({containerName:this._containerName,...e},r,this.accountName).toString();n((0,xe.appendToURLQuery)(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return(0,wg.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...e},r,this.accountName).stringToSign}getBlobBatchClient(){return new YMe.BlobBatchClient(this.url,this.pipeline)}};xg.ContainerClient=hS});var Rg=m(Sg=>{"use strict";Object.defineProperty(Sg,"__esModule",{value:!0});Sg.AccountSASPermissions=void 0;var mS=class t{static{o(this,"AccountSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"x":r.deleteVersion=!0;break;case"l":r.list=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"u":r.update=!0;break;case"p":r.process=!0;break;case"t":r.tag=!0;break;case"f":r.filter=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission character: ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.deleteVersion&&(r.deleteVersion=!0),e.filter&&(r.filter=!0),e.tag&&(r.tag=!0),e.list&&(r.list=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.update&&(r.update=!0),e.process&&(r.process=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),r}read=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;add=!1;create=!1;update=!1;process=!1;tag=!1;filter=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.filter&&e.push("f"),this.tag&&e.push("t"),this.list&&e.push("l"),this.add&&e.push("a"),this.create&&e.push("c"),this.update&&e.push("u"),this.process&&e.push("p"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}};Sg.AccountSASPermissions=mS});var yS=m(_g=>{"use strict";Object.defineProperty(_g,"__esModule",{value:!0});_g.AccountSASResourceTypes=void 0;var gS=class t{static{o(this,"AccountSASResourceTypes")}static parse(e){let r=new t;for(let n of e)switch(n){case"s":r.service=!0;break;case"c":r.container=!0;break;case"o":r.object=!0;break;default:throw new RangeError(`Invalid resource type: ${n}`)}return r}service=!1;container=!1;object=!1;toString(){let e=[];return this.service&&e.push("s"),this.container&&e.push("c"),this.object&&e.push("o"),e.join("")}};_g.AccountSASResourceTypes=gS});var Pg=m(vg=>{"use strict";Object.defineProperty(vg,"__esModule",{value:!0});vg.AccountSASServices=void 0;var CS=class t{static{o(this,"AccountSASServices")}static parse(e){let r=new t;for(let n of e)switch(n){case"b":r.blob=!0;break;case"f":r.file=!0;break;case"q":r.queue=!0;break;case"t":r.table=!0;break;default:throw new RangeError(`Invalid service character: ${n}`)}return r}blob=!1;file=!1;queue=!1;table=!1;toString(){let e=[];return this.blob&&e.push("b"),this.table&&e.push("t"),this.queue&&e.push("q"),this.file&&e.push("f"),e.join("")}};vg.AccountSASServices=CS});var ES=m(Tg=>{"use strict";Object.defineProperty(Tg,"__esModule",{value:!0});Tg.generateAccountSASQueryParameters=XMe;Tg.generateAccountSASQueryParametersInternal=$K;var JMe=Rg(),VMe=yS(),WMe=Pg(),KK=Dm(),KMe=Om(),$Me=Kr(),Dg=bn();function XMe(t,e){return $K(t,e).sasQueryParameters}o(XMe,"generateAccountSASQueryParameters");function $K(t,e){let r=t.version?t.version:$Me.SERVICE_VERSION;if(t.permissions&&t.permissions.setImmutabilityPolicy&&r<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&r<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&r<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission.");if(t.permissions&&t.permissions.tag&&r<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission.");if(t.permissions&&t.permissions.filter&&r<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission.");if(t.encryptionScope&&r<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");let n=JMe.AccountSASPermissions.parse(t.permissions.toString()),i=WMe.AccountSASServices.parse(t.services).toString(),s=VMe.AccountSASResourceTypes.parse(t.resourceTypes).toString(),a;r>="2020-12-06"?a=[e.accountName,n,i,s,t.startsOn?(0,Dg.truncatedISO8061Date)(t.startsOn,!1):"",(0,Dg.truncatedISO8061Date)(t.expiresOn,!1),t.ipRange?(0,KK.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",r,t.encryptionScope?t.encryptionScope:"",""].join(`
|
|
`):a=[e.accountName,n,i,s,t.startsOn?(0,Dg.truncatedISO8061Date)(t.startsOn,!1):"",(0,Dg.truncatedISO8061Date)(t.expiresOn,!1),t.ipRange?(0,KK.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",r,""].join(`
|
|
`);let c=e.computeHMACSHA256(a);return{sasQueryParameters:new KMe.SASQueryParameters(r,c,n.toString(),i,s,t.protocol,t.startsOn,t.expiresOn,t.ipRange,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,t.encryptionScope),stringToSign:a}}o($K,"generateAccountSASQueryParametersInternal")});var r$=m(Mg=>{"use strict";Object.defineProperty(Mg,"__esModule",{value:!0});Mg.BlobServiceClient=void 0;var ZMe=vc(),eke=Pt(),XK=ut(),Ru=Fs(),tke=fS(),Og=bn(),Xo=Gn(),wi=bn(),Ni=qo(),rke=Qg(),nke=Rm(),ZK=Rg(),e$=ES(),t$=Pg(),BS=class t extends nke.StorageClient{static{o(this,"BlobServiceClient")}serviceContext;static fromConnectionString(e,r){r=r||{};let n=(0,Og.extractConnectionStringParts)(e);if(n.kind==="AccountConnString")if(XK.isNodeLike){let i=new Xo.StorageSharedKeyCredential(n.accountName,n.accountKey);r.proxyOptions||(r.proxyOptions=(0,eke.getDefaultProxySettings)(n.proxyUri));let s=(0,Ru.newPipeline)(i,r);return new t(n.url,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(n.kind==="SASConnString"){let i=(0,Ru.newPipeline)(new Xo.AnonymousCredential,r);return new t(n.url+"?"+n.accountSas,i)}else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}constructor(e,r,n){let i;(0,Ru.isPipelineLike)(r)?i=r:XK.isNodeLike&&r instanceof Xo.StorageSharedKeyCredential||r instanceof Xo.AnonymousCredential||(0,ZMe.isTokenCredential)(r)?i=(0,Ru.newPipeline)(r,n):i=(0,Ru.newPipeline)(new Xo.AnonymousCredential,n),super(e,i),this.serviceContext=this.storageClientContext.service}getContainerClient(e){return new tke.ContainerClient((0,Og.appendToURLPath)(this.url,encodeURIComponent(e)),this.pipeline)}async createContainer(e,r={}){return Ni.tracingClient.withSpan("BlobServiceClient-createContainer",r,async n=>{let i=this.getContainerClient(e),s=await i.create(n);return{containerClient:i,containerCreateResponse:s}})}async deleteContainer(e,r={}){return Ni.tracingClient.withSpan("BlobServiceClient-deleteContainer",r,async n=>this.getContainerClient(e).delete(n))}async undeleteContainer(e,r,n={}){return Ni.tracingClient.withSpan("BlobServiceClient-undeleteContainer",n,async i=>{let s=this.getContainerClient(n.destinationContainerName||e),a=s.storageClientContext.container,c=(0,wi.assertResponse)(await a.restore({deletedContainerName:e,deletedContainerVersion:r,tracingOptions:i.tracingOptions}));return{containerClient:s,containerUndeleteResponse:c}})}async getProperties(e={}){return Ni.tracingClient.withSpan("BlobServiceClient-getProperties",e,async r=>(0,wi.assertResponse)(await this.serviceContext.getProperties({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setProperties(e,r={}){return Ni.tracingClient.withSpan("BlobServiceClient-setProperties",r,async n=>(0,wi.assertResponse)(await this.serviceContext.setProperties(e,{abortSignal:r.abortSignal,tracingOptions:n.tracingOptions})))}async getStatistics(e={}){return Ni.tracingClient.withSpan("BlobServiceClient-getStatistics",e,async r=>(0,wi.assertResponse)(await this.serviceContext.getStatistics({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async getAccountInfo(e={}){return Ni.tracingClient.withSpan("BlobServiceClient-getAccountInfo",e,async r=>(0,wi.assertResponse)(await this.serviceContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async listContainersSegment(e,r={}){return Ni.tracingClient.withSpan("BlobServiceClient-listContainersSegment",r,async n=>(0,wi.assertResponse)(await this.serviceContext.listContainersSegment({abortSignal:r.abortSignal,marker:e,...r,include:typeof r.include=="string"?[r.include]:r.include,tracingOptions:n.tracingOptions})))}async findBlobsByTagsSegment(e,r,n={}){return Ni.tracingClient.withSpan("BlobServiceClient-findBlobsByTagsSegment",n,async i=>{let s=(0,wi.assertResponse)(await this.serviceContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));return{...s,_response:s._response,blobs:s.blobs.map(c=>{let l="";return c.tags?.blobTagSet.length===1&&(l=c.tags.blobTagSet[0].value),{...c,tags:(0,Og.toTags)(c.tags),tagValue:l}})}})}async*findBlobsByTagsSegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.findBlobsByTagsSegment(e,r,n),i.blobs=i.blobs||[],r=i.continuationToken,yield i;while(r)}async*findBlobsByTagsItems(e,r={}){let n;for await(let i of this.findBlobsByTagsSegments(e,n,r))yield*i.blobs}findBlobsByTags(e,r={}){let n={...r},i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.findBlobsByTagsSegments(e,s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async*listSegments(e,r={}){let n;if(e||e===void 0)do n=await this.listContainersSegment(e,r),n.containerItems=n.containerItems||[],e=n.continuationToken,yield await n;while(e)}async*listItems(e={}){let r;for await(let n of this.listSegments(r,e))yield*n.containerItems}listContainers(e={}){e.prefix===""&&(e.prefix=void 0);let r=[];e.includeDeleted&&r.push("deleted"),e.includeMetadata&&r.push("metadata"),e.includeSystem&&r.push("system");let n={...e,...r.length>0?{include:r}:{}},i=this.listItems(n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listSegments(s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async getUserDelegationKey(e,r,n={}){return Ni.tracingClient.withSpan("BlobServiceClient-getUserDelegationKey",n,async i=>{let s=(0,wi.assertResponse)(await this.serviceContext.getUserDelegationKey({startsOn:(0,wi.truncatedISO8061Date)(e,!1),expiresOn:(0,wi.truncatedISO8061Date)(r,!1)},{abortSignal:n.abortSignal,tracingOptions:i.tracingOptions})),a={signedObjectId:s.signedObjectId,signedTenantId:s.signedTenantId,signedStartsOn:new Date(s.signedStartsOn),signedExpiresOn:new Date(s.signedExpiresOn),signedService:s.signedService,signedVersion:s.signedVersion,value:s.value};return{_response:s._response,requestId:s.requestId,clientRequestId:s.clientRequestId,version:s.version,date:s.date,errorCode:s.errorCode,...a}})}getBlobBatchClient(){return new rke.BlobBatchClient(this.url,this.pipeline)}generateAccountSasUrl(e,r=ZK.AccountSASPermissions.parse("r"),n="sco",i={}){if(!(this.credential instanceof Xo.StorageSharedKeyCredential))throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential");if(e===void 0){let a=new Date;e=new Date(a.getTime()+3600*1e3)}let s=(0,e$.generateAccountSASQueryParameters)({permissions:r,expiresOn:e,resourceTypes:n,services:t$.AccountSASServices.parse("b").toString(),...i},this.credential).toString();return(0,Og.appendToURLQuery)(this.url,s)}generateSasStringToSign(e,r=ZK.AccountSASPermissions.parse("r"),n="sco",i={}){if(!(this.credential instanceof Xo.StorageSharedKeyCredential))throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential");if(e===void 0){let s=new Date;e=new Date(s.getTime()+3600*1e3)}return(0,e$.generateAccountSASQueryParametersInternal)({permissions:r,expiresOn:e,resourceTypes:n,services:t$.AccountSASServices.parse("b").toString(),...i},this.credential).stringToSign}};Mg.BlobServiceClient=BS});var i$=m(n$=>{"use strict";Object.defineProperty(n$,"__esModule",{value:!0})});var o$=m(kg=>{"use strict";Object.defineProperty(kg,"__esModule",{value:!0});kg.KnownEncryptionAlgorithmType=void 0;var s$;(function(t){t.AES256="AES256"})(s$||(kg.KnownEncryptionAlgorithmType=s$={}))});var IS=m(V=>{"use strict";Object.defineProperty(V,"__esModule",{value:!0});V.logger=V.RestError=V.StorageBrowserPolicyFactory=V.StorageBrowserPolicy=V.StorageSharedKeyCredentialPolicy=V.StorageSharedKeyCredential=V.StorageRetryPolicyFactory=V.StorageRetryPolicy=V.StorageRetryPolicyType=V.Credential=V.CredentialPolicy=V.BaseRequestPolicy=V.AnonymousCredentialPolicy=V.AnonymousCredential=V.StorageOAuthScopes=V.newPipeline=V.isPipelineLike=V.Pipeline=V.getBlobServiceAccountAudience=V.StorageBlobAudience=V.PremiumPageBlobTier=V.BlockBlobTier=V.generateBlobSASQueryParameters=V.generateAccountSASQueryParameters=void 0;var Rr=(Vr(),Wt(Jr)),ike=Pt();Object.defineProperty(V,"RestError",{enumerable:!0,get:function(){return ike.RestError}});Rr.__exportStar(r$(),V);Rr.__exportStar(fg(),V);Rr.__exportStar(fS(),V);Rr.__exportStar(Fm(),V);Rr.__exportStar(Rg(),V);Rr.__exportStar(yS(),V);Rr.__exportStar(Pg(),V);var ske=ES();Object.defineProperty(V,"generateAccountSASQueryParameters",{enumerable:!0,get:function(){return ske.generateAccountSASQueryParameters}});Rr.__exportStar(uS(),V);Rr.__exportStar(Qg(),V);Rr.__exportStar(i$(),V);Rr.__exportStar(cx(),V);var oke=km();Object.defineProperty(V,"generateBlobSASQueryParameters",{enumerable:!0,get:function(){return oke.generateBlobSASQueryParameters}});Rr.__exportStar(Ax(),V);var Lg=_x();Object.defineProperty(V,"BlockBlobTier",{enumerable:!0,get:function(){return Lg.BlockBlobTier}});Object.defineProperty(V,"PremiumPageBlobTier",{enumerable:!0,get:function(){return Lg.PremiumPageBlobTier}});Object.defineProperty(V,"StorageBlobAudience",{enumerable:!0,get:function(){return Lg.StorageBlobAudience}});Object.defineProperty(V,"getBlobServiceAccountAudience",{enumerable:!0,get:function(){return Lg.getBlobServiceAccountAudience}});var Ug=Fs();Object.defineProperty(V,"Pipeline",{enumerable:!0,get:function(){return Ug.Pipeline}});Object.defineProperty(V,"isPipelineLike",{enumerable:!0,get:function(){return Ug.isPipelineLike}});Object.defineProperty(V,"newPipeline",{enumerable:!0,get:function(){return Ug.newPipeline}});Object.defineProperty(V,"StorageOAuthScopes",{enumerable:!0,get:function(){return Ug.StorageOAuthScopes}});var wn=Gn();Object.defineProperty(V,"AnonymousCredential",{enumerable:!0,get:function(){return wn.AnonymousCredential}});Object.defineProperty(V,"AnonymousCredentialPolicy",{enumerable:!0,get:function(){return wn.AnonymousCredentialPolicy}});Object.defineProperty(V,"BaseRequestPolicy",{enumerable:!0,get:function(){return wn.BaseRequestPolicy}});Object.defineProperty(V,"CredentialPolicy",{enumerable:!0,get:function(){return wn.CredentialPolicy}});Object.defineProperty(V,"Credential",{enumerable:!0,get:function(){return wn.Credential}});Object.defineProperty(V,"StorageRetryPolicyType",{enumerable:!0,get:function(){return wn.StorageRetryPolicyType}});Object.defineProperty(V,"StorageRetryPolicy",{enumerable:!0,get:function(){return wn.StorageRetryPolicy}});Object.defineProperty(V,"StorageRetryPolicyFactory",{enumerable:!0,get:function(){return wn.StorageRetryPolicyFactory}});Object.defineProperty(V,"StorageSharedKeyCredential",{enumerable:!0,get:function(){return wn.StorageSharedKeyCredential}});Object.defineProperty(V,"StorageSharedKeyCredentialPolicy",{enumerable:!0,get:function(){return wn.StorageSharedKeyCredentialPolicy}});Object.defineProperty(V,"StorageBrowserPolicy",{enumerable:!0,get:function(){return wn.StorageBrowserPolicy}});Object.defineProperty(V,"StorageBrowserPolicyFactory",{enumerable:!0,get:function(){return wn.StorageBrowserPolicyFactory}});Rr.__exportStar(Om(),V);Rr.__exportStar(o$(),V);var ake=Yf();Object.defineProperty(V,"logger",{enumerable:!0,get:function(){return ake.logger}})});var SS=m(ar=>{"use strict";Object.defineProperty(ar,"__esModule",{value:!0});ar.RateLimitError=ar.UsageError=ar.NetworkError=ar.GHESNotSupportedError=ar.CacheNotFoundError=ar.InvalidResponseError=ar.FilesNotFoundError=void 0;var bS=class extends Error{static{o(this,"FilesNotFoundError")}constructor(e=[]){let r="No files were found to upload";e.length>0&&(r+=`: ${e.join(", ")}`),super(r),this.files=e,this.name="FilesNotFoundError"}};ar.FilesNotFoundError=bS;var QS=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};ar.InvalidResponseError=QS;var wS=class extends Error{static{o(this,"CacheNotFoundError")}constructor(e="Cache not found"){super(e),this.name="CacheNotFoundError"}};ar.CacheNotFoundError=wS;var NS=class extends Error{static{o(this,"GHESNotSupportedError")}constructor(e="@actions/cache v4.1.4+, actions/cache/save@v4+ and actions/cache/restore@v4+ are not currently supported on GHES."){super(e),this.name="GHESNotSupportedError"}};ar.GHESNotSupportedError=NS;var Fg=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"}};ar.NetworkError=Fg;Fg.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var qg=class extends Error{static{o(this,"UsageError")}constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries. Usage is recalculated every 6-12 hours.
|
|
More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};ar.UsageError=qg;qg.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var xS=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};ar.RateLimitError=xS});var a$=m(en=>{"use strict";var cke=en&&en.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),lke=en&&en.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Ake=en&&en.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&cke(r,e,n[i]);return lke(r,e),r}}(),uke=en&&en.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(en,"__esModule",{value:!0});en.UploadProgress=void 0;en.uploadCacheArchiveSDK=hke;var RS=Ake(Zt()),dke=IS(),pke=SS(),Hg=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,i=(e/(1024*1024)/(n/1e3)).toFixed(1);RS.info(`Sent ${e} of ${this.contentLength} (${r}%), ${i} 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()}};en.UploadProgress=Hg;function hke(t,e,r){return uke(this,void 0,void 0,function*(){var n;let i=new dke.BlobClient(t),s=i.getBlockBlobClient(),a=new Hg((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(),RS.debug(`BlobClient: ${i.name}:${i.accountName}:${i.containerName}`);let l=yield s.uploadFile(e,c);if(l._response.status>=400)throw new pke.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw RS.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(hke,"uploadCacheArchiveSDK")});var vS=m(cr=>{"use strict";var fke=cr&&cr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),mke=cr&&cr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),gke=cr&&cr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&fke(r,e,n[i]);return mke(r,e),r}}(),jg=cr&&cr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(cr,"__esModule",{value:!0});cr.isSuccessStatusCode=yke;cr.isServerErrorStatusCode=l$;cr.isRetryableStatusCode=A$;cr.retry=_S;cr.retryTypedResponse=Eke;cr.retryHttpClientResponse=Bke;var c$=gke(Zt()),zg=No(),cl=YA();function yke(t){return t?t>=200&&t<300:!1}o(yke,"isSuccessStatusCode");function l$(t){return t?t>=500:!0}o(l$,"isServerErrorStatusCode");function A$(t){return t?[zg.HttpCodes.BadGateway,zg.HttpCodes.ServiceUnavailable,zg.HttpCodes.GatewayTimeout].includes(t):!1}o(A$,"isRetryableStatusCode");function Cke(t){return jg(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(Cke,"sleep");function _S(t,e,r){return jg(this,arguments,void 0,function*(n,i,s,a=cl.DefaultRetryAttempts,c=cl.DefaultRetryDelay,l=void 0){let A="",u=1;for(;u<=a;){let d,f,g=!1;try{d=yield i()}catch(C){l&&(d=l(C)),g=!0,A=C.message}if(d&&(f=s(d),!l$(f)))return d;if(f&&(g=A$(f),A=`Cache service responded with ${f}`),c$.debug(`${n} - Attempt ${u} of ${a} failed with error: ${A}`),!g){c$.debug(`${n} - Error is not retryable`);break}yield Cke(c),u++}throw Error(`${n} failed: ${A}`)})}o(_S,"retry");function Eke(t,e){return jg(this,arguments,void 0,function*(r,n,i=cl.DefaultRetryAttempts,s=cl.DefaultRetryDelay){return yield _S(r,n,a=>a.statusCode,i,s,a=>{if(a instanceof zg.HttpClientError)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(Eke,"retryTypedResponse");function Bke(t,e){return jg(this,arguments,void 0,function*(r,n,i=cl.DefaultRetryAttempts,s=cl.DefaultRetryDelay){return yield _S(r,n,a=>a.message.statusCode,i,s)})}o(Bke,"retryHttpClientResponse")});var f$=m(fr=>{"use strict";var Ike=fr&&fr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),bke=fr&&fr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),ll=fr&&fr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&Ike(r,e,n[i]);return bke(r,e),r}}(),Nn=fr&&fr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(fr,"__esModule",{value:!0});fr.DownloadProgress=void 0;fr.downloadCacheHttpClient=p$;fr.downloadCacheHttpClientConcurrent=vke;fr.downloadCacheStorageSDK=Tke;var vu=ll(Zt()),d$=No(),Qke=IS(),wke=ll(require("buffer")),_u=ll(require("fs")),Nke=ll(require("stream")),xke=ll(require("util")),Ske=ll(hc()),u$=YA(),PS=vS(),Rke=rg();function _ke(t,e){return Nn(this,void 0,void 0,function*(){yield xke.promisify(Nke.pipeline)(t.message,e)})}o(_ke,"pipeResponseToStream");var Pu=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,vu.debug(`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,i=(e/(1024*1024)/(n/1e3)).toFixed(1);vu.info(`Received ${e} of ${this.contentLength} (${r}%), ${i} 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()}};fr.DownloadProgress=Pu;function p$(t,e){return Nn(this,void 0,void 0,function*(){let r=_u.createWriteStream(e),n=new d$.HttpClient("actions/cache"),i=yield(0,PS.retryHttpClientResponse)("downloadCache",()=>Nn(this,void 0,void 0,function*(){return n.get(t)}));i.message.socket.setTimeout(u$.SocketTimeout,()=>{i.message.destroy(),vu.debug(`Aborting download, socket timed out after ${u$.SocketTimeout} ms`)}),yield _ke(i,r);let s=i.message.headers["content-length"];if(s){let a=parseInt(s),c=Ske.getArchiveFileSizeInBytes(e);if(c!==a)throw new Error(`Incomplete download. Expected file size: ${a}, actual file size: ${c}`)}else vu.debug("Unable to validate download, no Content-Length header")})}o(p$,"downloadCacheHttpClient");function vke(t,e,r){return Nn(this,void 0,void 0,function*(){var n;let i=yield _u.promises.open(e,"w"),s=new d$.HttpClient("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield(0,PS.retryHttpClientResponse)("downloadCacheMetadata",()=>Nn(this,void 0,void 0,function*(){return yield s.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 R=0;R<l;R+=u){let T=Math.min(u,l-R);A.push({offset:R,promiseGetter:()=>Nn(this,void 0,void 0,function*(){return yield Pke(s,t,R,T)})})}A.reverse();let d=0,f=0,g=new Pu(l);g.startDisplayTimer();let C=g.onProgress(),Q=[],S,w=o(()=>Nn(this,void 0,void 0,function*(){let R=yield Promise.race(Object.values(Q));yield i.write(R.buffer,0,R.count,R.offset),d--,delete Q[R.offset],f+=R.count,C({loadedBytes:f})}),"waitAndWrite");for(;S=A.pop();)Q[S.offset]=S.promiseGetter(),d++,d>=((n=r.downloadConcurrency)!==null&&n!==void 0?n:10)&&(yield w());for(;d>0;)yield w()}finally{s.dispose(),yield i.close()}})}o(vke,"downloadCacheHttpClientConcurrent");function Pke(t,e,r,n){return Nn(this,void 0,void 0,function*(){let s=0;for(;;)try{let c=yield h$(3e4,Dke(t,e,r,n));if(typeof c=="string")throw new Error("downloadSegmentRetry failed due to timeout");return c}catch(a){if(s>=5)throw a;s++}})}o(Pke,"downloadSegmentRetry");function Dke(t,e,r,n){return Nn(this,void 0,void 0,function*(){let i=yield(0,PS.retryHttpClientResponse)("downloadCachePart",()=>Nn(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+n-1}`})}));if(!i.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:n,buffer:yield i.readBodyBuffer()}})}o(Dke,"downloadSegment");function Tke(t,e,r){return Nn(this,void 0,void 0,function*(){var n;let i=new Qke.BlockBlobClient(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),a=(n=(yield i.getProperties()).contentLength)!==null&&n!==void 0?n:-1;if(a<0)vu.debug("Unable to determine content length, downloading file with http-client..."),yield p$(t,e);else{let c=Math.min(134217728,wke.constants.MAX_LENGTH),l=new Pu(a),A=_u.openSync(e,"w");try{l.startDisplayTimer();let u=new Rke.AbortController,d=u.signal;for(;!l.isDone();){let f=l.segmentOffset+l.segmentSize,g=Math.min(c,a-f);l.nextSegment(g);let C=yield h$(r.segmentTimeoutInMs||36e5,i.downloadToBuffer(f,g,{abortSignal:d,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(C==="timeout")throw u.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(C)&&_u.writeFileSync(A,C)}}finally{l.stopDisplayTimer(),_u.closeSync(A)}}})}o(Tke,"downloadCacheStorageSDK");var h$=o((t,e)=>Nn(void 0,void 0,void 0,function*(){let r,n=new Promise(i=>{r=setTimeout(()=>i("timeout"),t)});return Promise.race([e,n]).then(i=>(clearTimeout(r),i))}),"promiseWithTimeout")});var m$=m(xi=>{"use strict";var Oke=xi&&xi.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Mke=xi&&xi.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),kke=xi&&xi.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&Oke(r,e,n[i]);return Mke(r,e),r}}();Object.defineProperty(xi,"__esModule",{value:!0});xi.getUploadOptions=Lke;xi.getDownloadOptions=Uke;var is=kke(Zt());function Lke(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),is.debug(`Use Azure SDK: ${e.useAzureSdk}`),is.debug(`Upload concurrency: ${e.uploadConcurrency}`),is.debug(`Upload chunk size: ${e.uploadChunkSize}`),e}o(Lke,"getUploadOptions");function Uke(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),is.debug(`Use Azure SDK: ${e.useAzureSdk}`),is.debug(`Download concurrency: ${e.downloadConcurrency}`),is.debug(`Request timeout (ms): ${e.timeoutInMs}`),is.debug(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),is.debug(`Segment download timeout (ms): ${e.segmentTimeoutInMs}`),is.debug(`Lookup only: ${e.lookupOnly}`),e}o(Uke,"getDownloadOptions")});var Gg=m(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});Du.isGhes=g$;Du.getCacheServiceVersion=y$;Du.getCacheServiceURL=Fke;function g$(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",n=e.endsWith(".GHE.COM"),i=e.endsWith(".LOCALHOST");return!r&&!n&&!i}o(g$,"isGhes");function y$(){return g$()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(y$,"getCacheServiceVersion");function Fke(){let t=y$();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(Fke,"getCacheServiceURL")});var C$=m((X$e,qke)=>{qke.exports={name:"@actions/cache",version:"5.0.5",preview:!0,description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",main:"lib/cache.js",types:"lib/cache.d.ts",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"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^2.0.0","@actions/exec":"^2.0.0","@actions/glob":"^0.5.1","@protobuf-ts/runtime-rpc":"^2.11.1","@actions/http-client":"^3.0.2","@actions/io":"^2.0.0","@azure/abort-controller":"^1.1.0","@azure/core-rest-pipeline":"^1.22.0","@azure/storage-blob":"^12.29.1",semver:"^6.3.1"},devDependencies:{"@types/node":"^24.1.0","@types/semver":"^6.0.0","@protobuf-ts/plugin":"^2.9.4",typescript:"^5.2.2"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var TS=m(DS=>{"use strict";Object.defineProperty(DS,"__esModule",{value:!0});DS.getUserAgentString=zke;var Hke=C$();function zke(){return`@actions/cache-${Hke.version}`}o(zke,"getUserAgentString")});var B$=m(vr=>{"use strict";var jke=vr&&vr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Gke=vr&&vr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),MS=vr&&vr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&jke(r,e,n[i]);return Gke(r,e),r}}(),_r=vr&&vr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(vr,"__esModule",{value:!0});vr.getCacheEntry=eLe;vr.downloadCache=rLe;vr.reserveCache=nLe;vr.saveCache=aLe;var tn=MS(Zt()),Yke=No(),Jke=ah(),OS=MS(require("fs")),Vke=require("url"),Al=MS(hc()),Wke=a$(),Yg=f$(),kS=m$(),Vs=vS(),Kke=Gg(),$ke=TS();function Tu(t){let e=(0,Kke.getCacheServiceURL)();if(!e)throw new Error("Cache Service Url not found, unable to restore cache.");let r=`${e}_apis/artifactcache/${t}`;return tn.debug(`Resource Url: ${r}`),r}o(Tu,"getCacheApiUrl");function Xke(t,e){return`${t};api-version=${e}`}o(Xke,"createAcceptHeader");function Zke(){return{headers:{Accept:Xke("application/json","6.0-preview.1")}}}o(Zke,"getRequestOptions");function LS(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new Jke.BearerCredentialHandler(t);return new Yke.HttpClient((0,$ke.getUserAgentString)(),[e],Zke())}o(LS,"createHttpClient");function eLe(t,e,r){return _r(this,void 0,void 0,function*(){let n=LS(),i=Al.getCacheVersion(e,r?.compressionMethod,r?.enableCrossOsArchive),s=`cache?keys=${encodeURIComponent(t.join(","))}&version=${i}`,a=yield(0,Vs.retryTypedResponse)("getCacheEntry",()=>_r(this,void 0,void 0,function*(){return n.getJson(Tu(s))}));if(a.statusCode===204)return tn.isDebug()&&(yield tLe(t[0],n,i)),null;if(!(0,Vs.isSuccessStatusCode)(a.statusCode))throw new Error(`Cache service responded with ${a.statusCode}`);let c=a.result,l=c?.archiveLocation;if(!l)throw new Error("Cache not found.");return tn.setSecret(l),tn.debug("Cache Result:"),tn.debug(JSON.stringify(c)),c})}o(eLe,"getCacheEntry");function tLe(t,e,r){return _r(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,i=yield(0,Vs.retryTypedResponse)("listCache",()=>_r(this,void 0,void 0,function*(){return e.getJson(Tu(n))}));if(i.statusCode===200){let s=i.result,a=s?.totalCount;if(a&&a>0){tn.debug(`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 s?.artifactCaches||[])tn.debug(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(tLe,"printCachesListForDiagnostics");function rLe(t,e,r){return _r(this,void 0,void 0,function*(){let n=new Vke.URL(t),i=(0,kS.getDownloadOptions)(r);n.hostname.endsWith(".blob.core.windows.net")?i.useAzureSdk?yield(0,Yg.downloadCacheStorageSDK)(t,e,i):i.concurrentBlobDownloads?yield(0,Yg.downloadCacheHttpClientConcurrent)(t,e,i):yield(0,Yg.downloadCacheHttpClient)(t,e):yield(0,Yg.downloadCacheHttpClient)(t,e)})}o(rLe,"downloadCache");function nLe(t,e,r){return _r(this,void 0,void 0,function*(){let n=LS(),i=Al.getCacheVersion(e,r?.compressionMethod,r?.enableCrossOsArchive),s={key:t,version:i,cacheSize:r?.cacheSize};return yield(0,Vs.retryTypedResponse)("reserveCache",()=>_r(this,void 0,void 0,function*(){return n.postJson(Tu("caches"),s)}))})}o(nLe,"reserveCache");function E$(t,e){return`bytes ${t}-${e}/*`}o(E$,"getContentRange");function iLe(t,e,r,n,i){return _r(this,void 0,void 0,function*(){tn.debug(`Uploading chunk of size ${i-n+1} bytes at offset ${n} with content range: ${E$(n,i)}`);let s={"Content-Type":"application/octet-stream","Content-Range":E$(n,i)},a=yield(0,Vs.retryHttpClientResponse)(`uploadChunk (start: ${n}, end: ${i})`,()=>_r(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),s)}));if(!(0,Vs.isSuccessStatusCode)(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(iLe,"uploadChunk");function sLe(t,e,r,n){return _r(this,void 0,void 0,function*(){let i=Al.getArchiveFileSizeInBytes(r),s=Tu(`caches/${e.toString()}`),a=OS.openSync(r,"r"),c=(0,kS.getUploadOptions)(n),l=Al.assertDefined("uploadConcurrency",c.uploadConcurrency),A=Al.assertDefined("uploadChunkSize",c.uploadChunkSize),u=[...new Array(l).keys()];tn.debug("Awaiting all uploads");let d=0;try{yield Promise.all(u.map(()=>_r(this,void 0,void 0,function*(){for(;d<i;){let f=Math.min(i-d,A),g=d,C=d+f-1;d+=A,yield iLe(t,s,()=>OS.createReadStream(r,{fd:a,start:g,end:C,autoClose:!1}).on("error",Q=>{throw new Error(`Cache upload failed because file read failed with ${Q.message}`)}),g,C)}})))}finally{OS.closeSync(a)}})}o(sLe,"uploadFile");function oLe(t,e,r){return _r(this,void 0,void 0,function*(){let n={size:r};return yield(0,Vs.retryTypedResponse)("commitCache",()=>_r(this,void 0,void 0,function*(){return t.postJson(Tu(`caches/${e.toString()}`),n)}))})}o(oLe,"commitCache");function aLe(t,e,r,n){return _r(this,void 0,void 0,function*(){if((0,kS.getUploadOptions)(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield(0,Wke.uploadCacheArchiveSDK)(r,e,n)}else{let s=LS();tn.debug("Upload cache"),yield sLe(s,t,e,n),tn.debug("Commiting cache");let a=Al.getArchiveFileSizeInBytes(e);tn.info(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield oLe(s,t,a);if(!(0,Vs.isSuccessStatusCode)(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);tn.info("Cache saved successfully")}})}o(aLe,"saveCache")});var Jg=m(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.isJsonObject=ul.typeofJsonValue=void 0;function cLe(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(cLe,"typeofJsonValue");ul.typeofJsonValue=cLe;function lLe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(lLe,"isJsonObject");ul.isJsonObject=lLe});var Wg=m(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});dl.base64encode=dl.base64decode=void 0;var ss="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Vg=[];for(let t=0;t<ss.length;t++)Vg[ss[t].charCodeAt(0)]=t;Vg[45]=ss.indexOf("+");Vg[95]=ss.indexOf("/");function ALe(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,i=0,s,a=0;for(let c=0;c<t.length;c++){if(s=Vg[t.charCodeAt(c)],s===void 0)switch(t[c]){case"=":i=0;case`
|
|
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(i){case 0:a=s,i=1;break;case 1:r[n++]=a<<2|(s&48)>>4,a=s,i=2;break;case 2:r[n++]=(a&15)<<4|(s&60)>>2,a=s,i=3;break;case 3:r[n++]=(a&3)<<6|s,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,n)}o(ALe,"base64decode");dl.base64decode=ALe;function uLe(t){let e="",r=0,n,i=0;for(let s=0;s<t.length;s++)switch(n=t[s],r){case 0:e+=ss[n>>2],i=(n&3)<<4,r=1;break;case 1:e+=ss[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=ss[i|n>>6],e+=ss[n&63],r=0;break}return r&&(e+=ss[i],e+="=",r==1&&(e+="=")),e}o(uLe,"base64encode");dl.base64encode=uLe});var I$=m(Kg=>{"use strict";Object.defineProperty(Kg,"__esModule",{value:!0});Kg.utf8read=void 0;var US=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function dLe(t){if(t.length<1)return"";let e=0,r=[],n=[],i=0,s,a=t.length;for(;e<a;)s=t[e++],s<128?n[i++]=s:s>191&&s<224?n[i++]=(s&31)<<6|t[e++]&63:s>239&&s<365?(s=((s&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,n[i++]=55296+(s>>10),n[i++]=56320+(s&1023)):n[i++]=(s&15)<<12|(t[e++]&63)<<6|t[e++]&63,i>8191&&(r.push(US(n)),i=0);return r.length?(i&&r.push(US(n.slice(0,i))),r.join("")):US(n.slice(0,i))}o(dLe,"utf8read");Kg.utf8read=dLe});var Ou=m(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.WireType=Si.mergeBinaryOptions=Si.UnknownFieldHandler=void 0;var pLe;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,i,s,a)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:i,wireType:s,data:a})},t.onWrite=(r,n,i)=>{for(let{no:s,wireType:a,data:c}of t.list(n))i.tag(s,a).raw(c)},t.list=(r,n)=>{if(e(r)){let i=r[t.symbol];return n?i.filter(s=>s.no==n):i}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(pLe=Si.UnknownFieldHandler||(Si.UnknownFieldHandler={}));function hLe(t,e){return Object.assign(Object.assign({},t),e)}o(hLe,"mergeBinaryOptions");Si.mergeBinaryOptions=hLe;var fLe;(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"})(fLe=Si.WireType||(Si.WireType={}))});var Xg=m(Pr=>{"use strict";Object.defineProperty(Pr,"__esModule",{value:!0});Pr.varint32read=Pr.varint32write=Pr.int64toString=Pr.int64fromString=Pr.varint64write=Pr.varint64read=void 0;function mLe(){let t=0,e=0;for(let n=0;n<28;n+=7){let i=this.buf[this.pos++];if(t|=(i&127)<<n,!(i&128))return this.assertBounds(),[t,e]}let r=this.buf[this.pos++];if(t|=(r&15)<<28,e=(r&112)>>4,!(r&128))return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let i=this.buf[this.pos++];if(e|=(i&127)<<n,!(i&128))return this.assertBounds(),[t,e]}throw new Error("invalid varint")}o(mLe,"varint64read");Pr.varint64read=mLe;function gLe(t,e,r){for(let s=0;s<28;s=s+7){let a=t>>>s,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,i=!!(e>>3);if(r.push((i?n|128:n)&255),!!i){for(let s=3;s<31;s=s+7){let a=e>>>s,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(gLe,"varint64write");Pr.varint64write=gLe;var $g=65536*65536;function yLe(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,i=0;function s(a,c){let l=Number(t.slice(a,c));i*=r,n=n*r+l,n>=$g&&(i=i+(n/$g|0),n=n%$g)}return o(s,"add1e6digit"),s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}o(yLe,"int64fromString");Pr.int64fromString=yLe;function CLe(t,e){if(e>>>0<=2097151)return""+($g*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,s=r+n*6777216+i*6710656,a=n+i*8147497,c=i*2,l=1e7;s>=l&&(a+=Math.floor(s/l),s%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function A(u,d){let f=u?String(u):"";return d?"0000000".slice(f.length)+f:f}return o(A,"decimalFrom1e7"),A(c,0)+A(a,c)+A(s,1)}o(CLe,"int64toString");Pr.int64toString=CLe;function ELe(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(ELe,"varint32write");Pr.varint32write=ELe;function BLe(){let t=this.buf[this.pos++],e=t&127;if(!(t&128))return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,!(t&128))return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,!(t&128))return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,!(t&128))return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;t&128&&r<10;r++)t=this.buf[this.pos++];if(t&128)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(BLe,"varint32read");Pr.varint32read=BLe});var Ks=m(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.PbLong=Ws.PbULong=Ws.detectBi=void 0;var Mu=Xg(),Ye;function b$(){let t=new DataView(new ArrayBuffer(8));Ye=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(b$,"detectBi");Ws.detectBi=b$;b$();function Q$(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(Q$,"assertBi");var w$=/^-?[0-9]+$/,ey=4294967296,Zg=2147483648,ty=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*ey+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},ku=class t extends ty{static{o(this,"PbULong")}static from(e){if(Ye)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Ye.C(e);case"number":if(e===0)return this.ZERO;e=Ye.C(e);case"bigint":if(!e)return this.ZERO;if(e<Ye.UMIN)throw new Error("signed value for ulong");if(e>Ye.UMAX)throw new Error("ulong too large");return Ye.V.setBigUint64(0,e,!0),new t(Ye.V.getInt32(0,!0),Ye.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!w$.test(e))throw new Error("string is no integer");let[r,n,i]=Mu.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,i);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/ey)}throw new Error("unknown value "+typeof e)}toString(){return Ye?this.toBigInt().toString():Mu.int64toString(this.lo,this.hi)}toBigInt(){return Q$(Ye),Ye.V.setInt32(0,this.lo,!0),Ye.V.setInt32(4,this.hi,!0),Ye.V.getBigUint64(0,!0)}};Ws.PbULong=ku;ku.ZERO=new ku(0,0);var Lu=class t extends ty{static{o(this,"PbLong")}static from(e){if(Ye)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Ye.C(e);case"number":if(e===0)return this.ZERO;e=Ye.C(e);case"bigint":if(!e)return this.ZERO;if(e<Ye.MIN)throw new Error("signed long too small");if(e>Ye.MAX)throw new Error("signed long too large");return Ye.V.setBigInt64(0,e,!0),new t(Ye.V.getInt32(0,!0),Ye.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!w$.test(e))throw new Error("string is no integer");let[r,n,i]=Mu.int64fromString(e);if(r){if(i>Zg||i==Zg&&n!=0)throw new Error("signed long too small")}else if(i>=Zg)throw new Error("signed long too large");let s=new t(n,i);return r?s.negate():s;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/ey):new t(-e,-e/ey).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&Zg)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Ye)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+Mu.int64toString(e.lo,e.hi)}return Mu.int64toString(this.lo,this.hi)}toBigInt(){return Q$(Ye),Ye.V.setInt32(0,this.lo,!0),Ye.V.setInt32(4,this.hi,!0),Ye.V.getBigInt64(0,!0)}};Ws.PbLong=Lu;Lu.ZERO=new Lu(0,0)});var FS=m(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});hl.BinaryReader=hl.binaryReadOptions=void 0;var pl=Ou(),Uu=Ks(),N$=Xg(),x$={readUnknownField:!0,readerFactory:t=>new ry(t)};function ILe(t){return t?Object.assign(Object.assign({},x$),t):x$}o(ILe,"binaryReadOptions");hl.binaryReadOptions=ILe;var ry=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=N$.varint64read,this.uint32=N$.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 pl.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case pl.WireType.Bit64:this.pos+=4;case pl.WireType.Bit32:this.pos+=4;break;case pl.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case pl.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==pl.WireType.EndGroup;)this.skip(i);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 Uu.PbLong(...this.varint64())}uint64(){return new Uu.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 Uu.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 Uu.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new Uu.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())}};hl.BinaryReader=ry});var fl=m(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.assertFloat32=xn.assertUInt32=xn.assertInt32=xn.assertNever=xn.assert=void 0;function bLe(t,e){if(!t)throw new Error(e)}o(bLe,"assert");xn.assert=bLe;function QLe(t,e){throw new Error(e??"Unexpected object: "+t)}o(QLe,"assertNever");xn.assertNever=QLe;var wLe=34028234663852886e22,NLe=-34028234663852886e22,xLe=4294967295,SLe=2147483647,RLe=-2147483648;function _Le(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>SLe||t<RLe)throw new Error("invalid int 32: "+t)}o(_Le,"assertInt32");xn.assertInt32=_Le;function vLe(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>xLe||t<0)throw new Error("invalid uint 32: "+t)}o(vLe,"assertUInt32");xn.assertUInt32=vLe;function PLe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>wLe||t<NLe))throw new Error("invalid float 32: "+t)}o(PLe,"assertFloat32");xn.assertFloat32=PLe});var qS=m(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});gl.BinaryWriter=gl.binaryWriteOptions=void 0;var Fu=Ks(),qu=Xg(),ml=fl(),S$={writeUnknownFields:!0,writerFactory:()=>new ny};function DLe(t){return t?Object.assign(Object.assign({},S$),t):S$}o(DLe,"binaryWriteOptions");gl.binaryWriteOptions=DLe;var ny=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 i=0;i<this.chunks.length;i++)e+=this.chunks[i].length;let r=new Uint8Array(e),n=0;for(let i=0;i<this.chunks.length;i++)r.set(this.chunks[i],n),n+=this.chunks[i].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(ml.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return ml.assertInt32(e),qu.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){ml.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){ml.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){ml.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return ml.assertInt32(e),e=(e<<1^e>>31)>>>0,qu.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=Fu.PbLong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=Fu.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=Fu.PbLong.from(e);return qu.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=Fu.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return qu.varint64write(i,s,this.buf),this}uint64(e){let r=Fu.PbULong.from(e);return qu.varint64write(r.lo,r.hi,this.buf),this}};gl.BinaryWriter=ny});var HS=m($s=>{"use strict";Object.defineProperty($s,"__esModule",{value:!0});$s.mergeJsonOptions=$s.jsonWriteOptions=$s.jsonReadOptions=void 0;var R$={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},_$={ignoreUnknownFields:!1};function TLe(t){return t?Object.assign(Object.assign({},_$),t):_$}o(TLe,"jsonReadOptions");$s.jsonReadOptions=TLe;function OLe(t){return t?Object.assign(Object.assign({},R$),t):R$}o(OLe,"jsonWriteOptions");$s.jsonWriteOptions=OLe;function MLe(t,e){var r,n;let i=Object.assign(Object.assign({},t),e);return i.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(n=e?.typeRegistry)!==null&&n!==void 0?n:[]],i}o(MLe,"mergeJsonOptions");$s.mergeJsonOptions=MLe});var Hu=m(iy=>{"use strict";Object.defineProperty(iy,"__esModule",{value:!0});iy.MESSAGE_TYPE=void 0;iy.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var zS=m(sy=>{"use strict";Object.defineProperty(sy,"__esModule",{value:!0});sy.lowerCamelCase=void 0;function kLe(t){let e=!1,r=[];for(let n=0;n<t.length;n++){let i=t.charAt(n);i=="_"?e=!0:/\d/.test(i)?(r.push(i),e=!0):e?(r.push(i.toUpperCase()),e=!1):n==0?r.push(i.toLowerCase()):r.push(i)}return r.join("")}o(kLe,"lowerCamelCase");sy.lowerCamelCase=kLe});var Jn=m(Dt=>{"use strict";Object.defineProperty(Dt,"__esModule",{value:!0});Dt.readMessageOption=Dt.readFieldOption=Dt.readFieldOptions=Dt.normalizeFieldInfo=Dt.RepeatType=Dt.LongType=Dt.ScalarType=void 0;var v$=zS(),LLe;(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"})(LLe=Dt.ScalarType||(Dt.ScalarType={}));var ULe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(ULe=Dt.LongType||(Dt.LongType={}));var P$;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(P$=Dt.RepeatType||(Dt.RepeatType={}));function FLe(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:v$.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:v$.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:P$.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}o(FLe,"normalizeFieldInfo");Dt.normalizeFieldInfo=FLe;function qLe(t,e,r,n){var i;let s=(i=t.fields.find((a,c)=>a.localName==e||c==e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(qLe,"readFieldOptions");Dt.readFieldOptions=qLe;function HLe(t,e,r,n){var i;let s=(i=t.fields.find((c,l)=>c.localName==e||l==e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(HLe,"readFieldOption");Dt.readFieldOption=HLe;function zLe(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o(zLe,"readMessageOption");Dt.readMessageOption=zLe});var jS=m(Dr=>{"use strict";Object.defineProperty(Dr,"__esModule",{value:!0});Dr.getSelectedOneofValue=Dr.clearOneofValue=Dr.setUnknownOneofValue=Dr.setOneofValue=Dr.getOneofValue=Dr.isOneofGroup=void 0;function jLe(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(jLe,"isOneofGroup");Dr.isOneofGroup=jLe;function GLe(t,e){return t[e]}o(GLe,"getOneofValue");Dr.getOneofValue=GLe;function YLe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(YLe,"setOneofValue");Dr.setOneofValue=YLe;function JLe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(JLe,"setUnknownOneofValue");Dr.setUnknownOneofValue=JLe;function VLe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(VLe,"clearOneofValue");Dr.clearOneofValue=VLe;function WLe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(WLe,"getSelectedOneofValue");Dr.getSelectedOneofValue=WLe});var YS=m(oy=>{"use strict";Object.defineProperty(oy,"__esModule",{value:!0});oy.ReflectionTypeCheck=void 0;var yt=Jn(),KLe=jS(),GS=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 i of this.fields)if(i.oneof)n.includes(i.oneof)||(n.push(i.oneof),e.push(i.oneof),r.push(i.oneof));else switch(r.push(i.localName),i.kind){case"scalar":case"enum":(!i.opt||i.repeat)&&e.push(i.localName);break;case"message":i.repeat&&e.push(i.localName);break;case"map":e.push(i.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 i=Object.keys(e),s=this.data;if(i.length<s.req.length||s.req.some(a=>!i.includes(a))||!n&&i.some(a=>!s.known.includes(a)))return!1;if(r<1)return!0;for(let a of s.oneofs){let c=e[a];if(!KLe.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,i){let s=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:s?this.scalars(e,r.T,i,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:s?this.scalars(e,yt.ScalarType.INT32,i):this.scalar(e,yt.ScalarType.INT32);case"message":return e===void 0?!0:s?this.messages(e,r.T(),n,i):this.message(e,r.T(),n,i);case"map":if(typeof e!="object"||e===null)return!1;if(i<2)return!0;if(!this.mapKeys(e,r.K,i))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,i,r.V.L);case"enum":return this.scalars(Object.values(e),yt.ScalarType.INT32,i);case"message":return this.messages(Object.values(e),r.V.T(),n,i)}break}return!0}message(e,r,n,i){return n?r.isAssignable(e,i):r.is(e,i)}messages(e,r,n,i){if(!Array.isArray(e))return!1;if(i<2)return!0;if(n){for(let s=0;s<e.length&&s<i;s++)if(!r.isAssignable(e[s],i-1))return!1}else for(let s=0;s<e.length&&s<i;s++)if(!r.is(e[s],i-1))return!1;return!0}scalar(e,r,n){let i=typeof e;switch(r){case yt.ScalarType.UINT64:case yt.ScalarType.FIXED64:case yt.ScalarType.INT64:case yt.ScalarType.SFIXED64:case yt.ScalarType.SINT64:switch(n){case yt.LongType.BIGINT:return i=="bigint";case yt.LongType.NUMBER:return i=="number"&&!isNaN(e);default:return i=="string"}case yt.ScalarType.BOOL:return i=="boolean";case yt.ScalarType.STRING:return i=="string";case yt.ScalarType.BYTES:return e instanceof Uint8Array;case yt.ScalarType.DOUBLE:case yt.ScalarType.FLOAT:return i=="number"&&!isNaN(e);default:return i=="number"&&Number.isInteger(e)}}scalars(e,r,n,i){if(!Array.isArray(e))return!1;if(n<2)return!0;if(Array.isArray(e)){for(let s=0;s<e.length&&s<n;s++)if(!this.scalar(e[s],r,i))return!1}return!0}mapKeys(e,r,n){let i=Object.keys(e);switch(r){case yt.ScalarType.INT32:case yt.ScalarType.FIXED32:case yt.ScalarType.SFIXED32:case yt.ScalarType.SINT32:case yt.ScalarType.UINT32:return this.scalars(i.slice(0,n).map(s=>parseInt(s)),r,n);case yt.ScalarType.BOOL:return this.scalars(i.slice(0,n).map(s=>s=="true"?!0:s=="false"?!1:s),r,n);default:return this.scalars(i,r,n,yt.LongType.STRING)}}};oy.ReflectionTypeCheck=GS});var cy=m(ay=>{"use strict";Object.defineProperty(ay,"__esModule",{value:!0});ay.reflectionLongConvert=void 0;var D$=Jn();function $Le(t,e){switch(e){case D$.LongType.BIGINT:return t.toBigInt();case D$.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o($Le,"reflectionLongConvert");ay.reflectionLongConvert=$Le});var VS=m(uy=>{"use strict";Object.defineProperty(uy,"__esModule",{value:!0});uy.ReflectionJsonReader=void 0;var T$=Jg(),XLe=Wg(),Tt=Jn(),ly=Ks(),Zo=fl(),Ay=cy(),JS=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 i=T$.typeofJsonValue(n);throw(i=="number"||i=="boolean")&&(i=n.toString()),new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${r}`)}}read(e,r,n){this.prepare();let i=[];for(let[s,a]of Object.entries(e)){let c=this.fMap[s];if(!c){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${s}`);continue}let l=c.localName,A;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(i.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(c.oneof),A=r[c.oneof]={oneofKind:l}}else A=r;if(c.kind=="map"){if(a===null)continue;this.assert(T$.isJsonObject(a),c.name,a);let u=A[l];for(let[d,f]of Object.entries(a)){this.assert(f!==null,c.name+" map value",null);let g;switch(c.V.kind){case"message":g=c.V.T().internalJsonRead(f,n);break;case"enum":if(g=this.enum(c.V.T(),f,c.name,n.ignoreUnknownFields),g===!1)continue;break;case"scalar":g=this.scalar(f,c.V.T,c.V.L,c.name);break}this.assert(g!==void 0,c.name+" map value",f);let C=d;c.K==Tt.ScalarType.BOOL&&(C=C=="true"?!0:C=="false"?!1:C),C=this.scalar(C,c.K,Tt.LongType.STRING,c.name).toString(),u[C]=g}}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 f;switch(c.kind){case"message":f=c.T().internalJsonRead(d,n);break;case"enum":if(f=this.enum(c.T(),d,c.name,n.ignoreUnknownFields),f===!1)continue;break;case"scalar":f=this.scalar(d,c.T,c.L,c.name);break}this.assert(f!==void 0,c.name,a),u.push(f)}}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,i){if(e[0]=="google.protobuf.NullValue"&&Zo.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 Zo.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${r}.`),r;case"string":let s=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(s=r.substring(e[2].length));let a=e[1][s];return typeof a>"u"&&i?!1:(Zo.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}Zo.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,n,i){let s;try{switch(r){case Tt.ScalarType.DOUBLE:case Tt.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===""){s="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){s="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let a=Number(e);if(Number.isNaN(a)){s="not a number";break}if(!Number.isFinite(a)){s="too large or small";break}return r==Tt.ScalarType.FLOAT&&Zo.assertFloat32(a),a;case Tt.ScalarType.INT32:case Tt.ScalarType.FIXED32:case Tt.ScalarType.SFIXED32:case Tt.ScalarType.SINT32:case Tt.ScalarType.UINT32:if(e===null)return 0;let c;if(typeof e=="number"?c=e:e===""?s="empty string":typeof e=="string"&&(e.trim().length!==e.length?s="extra whitespace":c=Number(e)),c===void 0)break;return r==Tt.ScalarType.UINT32?Zo.assertUInt32(c):Zo.assertInt32(c),c;case Tt.ScalarType.INT64:case Tt.ScalarType.SFIXED64:case Tt.ScalarType.SINT64:if(e===null)return Ay.reflectionLongConvert(ly.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return Ay.reflectionLongConvert(ly.PbLong.from(e),n);case Tt.ScalarType.FIXED64:case Tt.ScalarType.UINT64:if(e===null)return Ay.reflectionLongConvert(ly.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return Ay.reflectionLongConvert(ly.PbULong.from(e),n);case Tt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Tt.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){s="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case Tt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return XLe.base64decode(e)}}catch(a){s=a.message}this.assert(!1,i+(s?" - "+s:""),e)}};uy.ReflectionJsonReader=JS});var KS=m(dy=>{"use strict";Object.defineProperty(dy,"__esModule",{value:!0});dy.ReflectionJsonWriter=void 0;var ZLe=Wg(),O$=Ks(),mr=Jn(),ot=fl(),WS=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let n={},i=e;for(let s of this.fields){if(!s.oneof){let A=this.field(s,i[s.localName],r);A!==void 0&&(n[r.useProtoFieldName?s.name:s.jsonName]=A);continue}let a=i[s.oneof];if(a.oneofKind!==s.localName)continue;let c=s.kind=="scalar"||s.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,l=this.field(s,a[s.localName],c);ot.assert(l!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=l}return n}field(e,r,n){let i;if(e.kind=="map"){ot.assert(typeof r=="object"&&r!==null);let s={};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);ot.assert(u!==void 0),s[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);ot.assert(u!==void 0),s[l.toString()]=u}break;case"enum":let c=e.V.T();for(let[l,A]of Object.entries(r)){ot.assert(A===void 0||typeof A=="number");let u=this.enum(c,A,e.name,!1,!0,n.enumAsInteger);ot.assert(u!==void 0),s[l.toString()]=u}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){ot.assert(Array.isArray(r));let s=[];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);ot.assert(A!==void 0),s.push(A)}break;case"enum":let a=e.T();for(let l=0;l<r.length;l++){ot.assert(r[l]===void 0||typeof r[l]=="number");let A=this.enum(a,r[l],e.name,e.opt,!0,n.enumAsInteger);ot.assert(A!==void 0),s.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);ot.assert(A!==void 0),s.push(A)}break}(n.emitDefaultValues||s.length>0||n.emitDefaultValues)&&(i=s)}else switch(e.kind){case"scalar":i=this.scalar(e.T,r,e.name,e.opt,n.emitDefaultValues);break;case"enum":i=this.enum(e.T(),r,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":i=this.message(e.T(),r,e.name,n);break}return i}enum(e,r,n,i,s,a){if(e[0]=="google.protobuf.NullValue")return!s&&!i?void 0:null;if(r===void 0){ot.assert(i);return}if(!(r===0&&!s&&!i))return ot.assert(typeof r=="number"),ot.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,n,i){return r===void 0?i.emitDefaultValues?null:void 0:e.internalJsonWrite(r,i)}scalar(e,r,n,i,s){if(r===void 0){ot.assert(i);return}let a=s||i;switch(e){case mr.ScalarType.INT32:case mr.ScalarType.SFIXED32:case mr.ScalarType.SINT32:return r===0?a?0:void 0:(ot.assertInt32(r),r);case mr.ScalarType.FIXED32:case mr.ScalarType.UINT32:return r===0?a?0:void 0:(ot.assertUInt32(r),r);case mr.ScalarType.FLOAT:ot.assertFloat32(r);case mr.ScalarType.DOUBLE:return r===0?a?0:void 0:(ot.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case mr.ScalarType.STRING:return r===""?a?"":void 0:(ot.assert(typeof r=="string"),r);case mr.ScalarType.BOOL:return r===!1?a?!1:void 0:(ot.assert(typeof r=="boolean"),r);case mr.ScalarType.UINT64:case mr.ScalarType.FIXED64:ot.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=O$.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case mr.ScalarType.INT64:case mr.ScalarType.SFIXED64:case mr.ScalarType.SINT64:ot.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=O$.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case mr.ScalarType.BYTES:return ot.assert(r instanceof Uint8Array),r.byteLength?ZLe.base64encode(r):a?"":void 0}}};dy.ReflectionJsonWriter=WS});var hy=m(py=>{"use strict";Object.defineProperty(py,"__esModule",{value:!0});py.reflectionScalarDefault=void 0;var Vn=Jn(),M$=cy(),k$=Ks();function eUe(t,e=Vn.LongType.STRING){switch(t){case Vn.ScalarType.BOOL:return!1;case Vn.ScalarType.UINT64:case Vn.ScalarType.FIXED64:return M$.reflectionLongConvert(k$.PbULong.ZERO,e);case Vn.ScalarType.INT64:case Vn.ScalarType.SFIXED64:case Vn.ScalarType.SINT64:return M$.reflectionLongConvert(k$.PbLong.ZERO,e);case Vn.ScalarType.DOUBLE:case Vn.ScalarType.FLOAT:return 0;case Vn.ScalarType.BYTES:return new Uint8Array(0);case Vn.ScalarType.STRING:return"";default:return 0}}o(eUe,"reflectionScalarDefault");py.reflectionScalarDefault=eUe});var XS=m(fy=>{"use strict";Object.defineProperty(fy,"__esModule",{value:!0});fy.ReflectionBinaryReader=void 0;var L$=Ou(),Qt=Jn(),zu=cy(),U$=hy(),$S=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,i){this.prepare();let s=i===void 0?e.len:e.pos+i;for(;e.pos<s;){let[a,c]=e.tag(),l=this.fieldNoToField.get(a);if(!l){let f=n.readUnknownField;if(f=="throw")throw new Error(`Unknown field ${a} (wire type ${c}) for ${this.info.typeName}`);let g=e.skip(c);f!==!1&&(f===!0?L$.UnknownFieldHandler.onRead:f)(this.info.typeName,r,a,c,g);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 f=l.kind=="enum"?Qt.ScalarType.INT32:l.T,g=l.kind=="scalar"?l.L:void 0;if(u){let S=A[d];if(c==L$.WireType.LengthDelimited&&f!=Qt.ScalarType.STRING&&f!=Qt.ScalarType.BYTES){let w=e.uint32()+e.pos;for(;e.pos<w;)S.push(this.scalar(e,f,g))}else S.push(this.scalar(e,f,g))}else A[d]=this.scalar(e,f,g);break;case"message":if(u){let S=A[d],w=l.T().internalBinaryRead(e,e.uint32(),n);S.push(w)}else A[d]=l.T().internalBinaryRead(e,e.uint32(),n,A[d]);break;case"map":let[C,Q]=this.mapEntry(l,e,n);A[d][C]=Q;break}}}mapEntry(e,r,n){let i=r.uint32(),s=r.pos+i,a,c;for(;r.pos<s;){let[l,A]=r.tag();switch(l){case 1:e.K==Qt.ScalarType.BOOL?a=r.bool().toString():a=this.scalar(r,e.K,Qt.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=U$.reflectionScalarDefault(e.K);a=e.K==Qt.ScalarType.BOOL?l.toString():l}if(c===void 0)switch(e.V.kind){case"scalar":c=U$.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 Qt.ScalarType.INT32:return e.int32();case Qt.ScalarType.STRING:return e.string();case Qt.ScalarType.BOOL:return e.bool();case Qt.ScalarType.DOUBLE:return e.double();case Qt.ScalarType.FLOAT:return e.float();case Qt.ScalarType.INT64:return zu.reflectionLongConvert(e.int64(),n);case Qt.ScalarType.UINT64:return zu.reflectionLongConvert(e.uint64(),n);case Qt.ScalarType.FIXED64:return zu.reflectionLongConvert(e.fixed64(),n);case Qt.ScalarType.FIXED32:return e.fixed32();case Qt.ScalarType.BYTES:return e.bytes();case Qt.ScalarType.UINT32:return e.uint32();case Qt.ScalarType.SFIXED32:return e.sfixed32();case Qt.ScalarType.SFIXED64:return zu.reflectionLongConvert(e.sfixed64(),n);case Qt.ScalarType.SINT32:return e.sint32();case Qt.ScalarType.SINT64:return zu.reflectionLongConvert(e.sint64(),n)}}};fy.ReflectionBinaryReader=$S});var eR=m(my=>{"use strict";Object.defineProperty(my,"__esModule",{value:!0});my.ReflectionBinaryWriter=void 0;var rn=Ou(),Ke=Jn(),yl=fl(),ju=Ks(),ZS=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 s of this.fields){let a,c,l=s.repeat,A=s.localName;if(s.oneof){let u=e[s.oneof];if(u.oneofKind!==A)continue;a=u[A],c=!0}else a=e[A],c=!1;switch(s.kind){case"scalar":case"enum":let u=s.kind=="enum"?Ke.ScalarType.INT32:s.T;if(l)if(yl.assert(Array.isArray(a)),l==Ke.RepeatType.PACKED)this.packed(r,u,s.no,a);else for(let d of a)this.scalar(r,u,s.no,d,!0);else a===void 0?yl.assert(s.opt):this.scalar(r,u,s.no,a,c||s.opt);break;case"message":if(l){yl.assert(Array.isArray(a));for(let d of a)this.message(r,n,s.T(),s.no,d)}else this.message(r,n,s.T(),s.no,a);break;case"map":yl.assert(typeof a=="object"&&a!==null);for(let[d,f]of Object.entries(a))this.mapEntry(r,n,s,d,f);break}}let i=n.writeUnknownFields;i!==!1&&(i===!0?rn.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,rn.WireType.LengthDelimited),e.fork();let a=i;switch(n.K){case Ke.ScalarType.INT32:case Ke.ScalarType.FIXED32:case Ke.ScalarType.UINT32:case Ke.ScalarType.SFIXED32:case Ke.ScalarType.SINT32:a=Number.parseInt(i);break;case Ke.ScalarType.BOOL:yl.assert(i=="true"||i=="false"),a=i=="true";break}switch(this.scalar(e,n.K,1,a,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,s,!0);break;case"enum":this.scalar(e,Ke.ScalarType.INT32,2,s,!0);break;case"message":this.message(e,r,n.V.T(),2,s);break}e.join()}message(e,r,n,i,s){s!==void 0&&(n.internalBinaryWrite(s,e.tag(i,rn.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,i,s){let[a,c,l]=this.scalarInfo(r,i);(!l||s)&&(e.tag(n,a),e[c](i))}packed(e,r,n,i){if(!i.length)return;yl.assert(r!==Ke.ScalarType.BYTES&&r!==Ke.ScalarType.STRING),e.tag(n,rn.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(r);for(let a=0;a<i.length;a++)e[s](i[a]);e.join()}scalarInfo(e,r){let n=rn.WireType.Varint,i,s=r===void 0,a=r===0;switch(e){case Ke.ScalarType.INT32:i="int32";break;case Ke.ScalarType.STRING:a=s||!r.length,n=rn.WireType.LengthDelimited,i="string";break;case Ke.ScalarType.BOOL:a=r===!1,i="bool";break;case Ke.ScalarType.UINT32:i="uint32";break;case Ke.ScalarType.DOUBLE:n=rn.WireType.Bit64,i="double";break;case Ke.ScalarType.FLOAT:n=rn.WireType.Bit32,i="float";break;case Ke.ScalarType.INT64:a=s||ju.PbLong.from(r).isZero(),i="int64";break;case Ke.ScalarType.UINT64:a=s||ju.PbULong.from(r).isZero(),i="uint64";break;case Ke.ScalarType.FIXED64:a=s||ju.PbULong.from(r).isZero(),n=rn.WireType.Bit64,i="fixed64";break;case Ke.ScalarType.BYTES:a=s||!r.byteLength,n=rn.WireType.LengthDelimited,i="bytes";break;case Ke.ScalarType.FIXED32:n=rn.WireType.Bit32,i="fixed32";break;case Ke.ScalarType.SFIXED32:n=rn.WireType.Bit32,i="sfixed32";break;case Ke.ScalarType.SFIXED64:a=s||ju.PbLong.from(r).isZero(),n=rn.WireType.Bit64,i="sfixed64";break;case Ke.ScalarType.SINT32:i="sint32";break;case Ke.ScalarType.SINT64:a=s||ju.PbLong.from(r).isZero(),i="sint64";break}return[n,i,s||a]}};my.ReflectionBinaryWriter=ZS});var tR=m(gy=>{"use strict";Object.defineProperty(gy,"__esModule",{value:!0});gy.reflectionCreate=void 0;var tUe=hy(),rUe=Hu();function nUe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},rUe.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]=tUe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(nUe,"reflectionCreate");gy.reflectionCreate=nUe});var rR=m(yy=>{"use strict";Object.defineProperty(yy,"__esModule",{value:!0});yy.reflectionMergePartial=void 0;function iUe(t,e,r){let n,i=r,s;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=i[a.oneof];if(l?.oneofKind==null)continue;if(n=l[c],s=e[a.oneof],s.oneofKind=l.oneofKind,n==null){delete s[c];continue}}else if(n=i[c],s=e,n==null)continue;switch(a.repeat&&(s[c].length=n.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let A=0;A<n.length;A++)s[c][A]=n[A];else s[c]=n;break;case"message":let l=a.T();if(a.repeat)for(let A=0;A<n.length;A++)s[c][A]=l.create(n[A]);else s[c]===void 0?s[c]=l.create(n):l.mergePartial(s[c],n);break;case"map":switch(a.V.kind){case"scalar":case"enum":Object.assign(s[c],n);break;case"message":let A=a.V.T();for(let u of Object.keys(n))s[c][u]=A.create(n[u]);break}break}}}o(iUe,"reflectionMergePartial");yy.reflectionMergePartial=iUe});var iR=m(Ey=>{"use strict";Object.defineProperty(Ey,"__esModule",{value:!0});Ey.reflectionEquals=void 0;var nR=Jn();function sUe(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let n of t.fields){let i=n.localName,s=n.oneof?e[n.oneof][i]:e[i],a=n.oneof?r[n.oneof][i]:r[i];switch(n.kind){case"enum":case"scalar":let c=n.kind=="enum"?nR.ScalarType.INT32:n.T;if(!(n.repeat?F$(c,s,a):H$(c,s,a)))return!1;break;case"map":if(!(n.V.kind=="message"?q$(n.V.T(),Cy(s),Cy(a)):F$(n.V.kind=="enum"?nR.ScalarType.INT32:n.V.T,Cy(s),Cy(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?q$(l,s,a):l.equals(s,a)))return!1;break}}return!0}o(sUe,"reflectionEquals");Ey.reflectionEquals=sUe;var Cy=Object.values;function H$(t,e,r){if(e===r)return!0;if(t!==nR.ScalarType.BYTES)return!1;let n=e,i=r;if(n.length!==i.length)return!1;for(let s=0;s<n.length;s++)if(n[s]!=i[s])return!1;return!0}o(H$,"primitiveEq");function F$(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!H$(t,e[n],r[n]))return!1;return!0}o(F$,"repeatedPrimitiveEq");function q$(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(q$,"repeatedMsgEq")});var G$=m(By=>{"use strict";Object.defineProperty(By,"__esModule",{value:!0});By.MessageType=void 0;var oUe=Hu(),aUe=Jn(),cUe=YS(),lUe=VS(),AUe=KS(),uUe=XS(),dUe=eR(),pUe=tR(),sR=rR(),hUe=Jg(),z$=HS(),fUe=iR(),mUe=qS(),gUe=FS(),j$=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),yUe=j$[oUe.MESSAGE_TYPE]={},oR=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(aUe.normalizeFieldInfo),this.options=n??{},yUe.value=this,this.messagePrototype=Object.create(null,j$),this.refTypeCheck=new cUe.ReflectionTypeCheck(this),this.refJsonReader=new lUe.ReflectionJsonReader(this),this.refJsonWriter=new AUe.ReflectionJsonWriter(this),this.refBinReader=new uUe.ReflectionBinaryReader(this),this.refBinWriter=new dUe.ReflectionBinaryWriter(this)}create(e){let r=pUe.reflectionCreate(this);return e!==void 0&&sR.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return sR.reflectionMergePartial(this,r,e),r}equals(e,r){return fUe.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){sR.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=gUe.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,z$.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,z$.jsonWriteOptions(r))}toJsonString(e,r){var n;let i=this.toJson(e,r);return JSON.stringify(i,null,(n=r?.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,r){let n=mUe.binaryWriteOptions(r);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,r,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let i=n??this.create();return this.refJsonReader.read(e,i,r),i}throw new Error(`Unable to parse message ${this.typeName} from JSON ${hUe.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,i){let s=i??this.create();return this.refBinReader.read(e,s,n,r),s}};By.MessageType=oR});var Y$=m(Iy=>{"use strict";Object.defineProperty(Iy,"__esModule",{value:!0});Iy.containsMessageType=void 0;var CUe=Hu();function EUe(t){return t[CUe.MESSAGE_TYPE]!=null}o(EUe,"containsMessageType");Iy.containsMessageType=EUe});var V$=m(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.listEnumNumbers=Ri.listEnumNames=Ri.listEnumValues=Ri.isEnumObject=void 0;function J$(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(J$,"isEnumObject");Ri.isEnumObject=J$;function aR(t){if(!J$(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(aR,"listEnumValues");Ri.listEnumValues=aR;function BUe(t){return aR(t).map(e=>e.name)}o(BUe,"listEnumNames");Ri.listEnumNames=BUe;function IUe(t){return aR(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(IUe,"listEnumNumbers");Ri.listEnumNumbers=IUe});var wt=m(re=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0});var W$=Jg();Object.defineProperty(re,"typeofJsonValue",{enumerable:!0,get:function(){return W$.typeofJsonValue}});Object.defineProperty(re,"isJsonObject",{enumerable:!0,get:function(){return W$.isJsonObject}});var K$=Wg();Object.defineProperty(re,"base64decode",{enumerable:!0,get:function(){return K$.base64decode}});Object.defineProperty(re,"base64encode",{enumerable:!0,get:function(){return K$.base64encode}});var bUe=I$();Object.defineProperty(re,"utf8read",{enumerable:!0,get:function(){return bUe.utf8read}});var cR=Ou();Object.defineProperty(re,"WireType",{enumerable:!0,get:function(){return cR.WireType}});Object.defineProperty(re,"mergeBinaryOptions",{enumerable:!0,get:function(){return cR.mergeBinaryOptions}});Object.defineProperty(re,"UnknownFieldHandler",{enumerable:!0,get:function(){return cR.UnknownFieldHandler}});var $$=FS();Object.defineProperty(re,"BinaryReader",{enumerable:!0,get:function(){return $$.BinaryReader}});Object.defineProperty(re,"binaryReadOptions",{enumerable:!0,get:function(){return $$.binaryReadOptions}});var X$=qS();Object.defineProperty(re,"BinaryWriter",{enumerable:!0,get:function(){return X$.BinaryWriter}});Object.defineProperty(re,"binaryWriteOptions",{enumerable:!0,get:function(){return X$.binaryWriteOptions}});var Z$=Ks();Object.defineProperty(re,"PbLong",{enumerable:!0,get:function(){return Z$.PbLong}});Object.defineProperty(re,"PbULong",{enumerable:!0,get:function(){return Z$.PbULong}});var lR=HS();Object.defineProperty(re,"jsonReadOptions",{enumerable:!0,get:function(){return lR.jsonReadOptions}});Object.defineProperty(re,"jsonWriteOptions",{enumerable:!0,get:function(){return lR.jsonWriteOptions}});Object.defineProperty(re,"mergeJsonOptions",{enumerable:!0,get:function(){return lR.mergeJsonOptions}});var QUe=Hu();Object.defineProperty(re,"MESSAGE_TYPE",{enumerable:!0,get:function(){return QUe.MESSAGE_TYPE}});var wUe=G$();Object.defineProperty(re,"MessageType",{enumerable:!0,get:function(){return wUe.MessageType}});var ea=Jn();Object.defineProperty(re,"ScalarType",{enumerable:!0,get:function(){return ea.ScalarType}});Object.defineProperty(re,"LongType",{enumerable:!0,get:function(){return ea.LongType}});Object.defineProperty(re,"RepeatType",{enumerable:!0,get:function(){return ea.RepeatType}});Object.defineProperty(re,"normalizeFieldInfo",{enumerable:!0,get:function(){return ea.normalizeFieldInfo}});Object.defineProperty(re,"readFieldOptions",{enumerable:!0,get:function(){return ea.readFieldOptions}});Object.defineProperty(re,"readFieldOption",{enumerable:!0,get:function(){return ea.readFieldOption}});Object.defineProperty(re,"readMessageOption",{enumerable:!0,get:function(){return ea.readMessageOption}});var NUe=YS();Object.defineProperty(re,"ReflectionTypeCheck",{enumerable:!0,get:function(){return NUe.ReflectionTypeCheck}});var xUe=tR();Object.defineProperty(re,"reflectionCreate",{enumerable:!0,get:function(){return xUe.reflectionCreate}});var SUe=hy();Object.defineProperty(re,"reflectionScalarDefault",{enumerable:!0,get:function(){return SUe.reflectionScalarDefault}});var RUe=rR();Object.defineProperty(re,"reflectionMergePartial",{enumerable:!0,get:function(){return RUe.reflectionMergePartial}});var _Ue=iR();Object.defineProperty(re,"reflectionEquals",{enumerable:!0,get:function(){return _Ue.reflectionEquals}});var vUe=XS();Object.defineProperty(re,"ReflectionBinaryReader",{enumerable:!0,get:function(){return vUe.ReflectionBinaryReader}});var PUe=eR();Object.defineProperty(re,"ReflectionBinaryWriter",{enumerable:!0,get:function(){return PUe.ReflectionBinaryWriter}});var DUe=VS();Object.defineProperty(re,"ReflectionJsonReader",{enumerable:!0,get:function(){return DUe.ReflectionJsonReader}});var TUe=KS();Object.defineProperty(re,"ReflectionJsonWriter",{enumerable:!0,get:function(){return TUe.ReflectionJsonWriter}});var OUe=Y$();Object.defineProperty(re,"containsMessageType",{enumerable:!0,get:function(){return OUe.containsMessageType}});var Gu=jS();Object.defineProperty(re,"isOneofGroup",{enumerable:!0,get:function(){return Gu.isOneofGroup}});Object.defineProperty(re,"setOneofValue",{enumerable:!0,get:function(){return Gu.setOneofValue}});Object.defineProperty(re,"getOneofValue",{enumerable:!0,get:function(){return Gu.getOneofValue}});Object.defineProperty(re,"clearOneofValue",{enumerable:!0,get:function(){return Gu.clearOneofValue}});Object.defineProperty(re,"getSelectedOneofValue",{enumerable:!0,get:function(){return Gu.getSelectedOneofValue}});var by=V$();Object.defineProperty(re,"listEnumValues",{enumerable:!0,get:function(){return by.listEnumValues}});Object.defineProperty(re,"listEnumNames",{enumerable:!0,get:function(){return by.listEnumNames}});Object.defineProperty(re,"listEnumNumbers",{enumerable:!0,get:function(){return by.listEnumNumbers}});Object.defineProperty(re,"isEnumObject",{enumerable:!0,get:function(){return by.isEnumObject}});var MUe=zS();Object.defineProperty(re,"lowerCamelCase",{enumerable:!0,get:function(){return MUe.lowerCamelCase}});var Yu=fl();Object.defineProperty(re,"assert",{enumerable:!0,get:function(){return Yu.assert}});Object.defineProperty(re,"assertNever",{enumerable:!0,get:function(){return Yu.assertNever}});Object.defineProperty(re,"assertInt32",{enumerable:!0,get:function(){return Yu.assertInt32}});Object.defineProperty(re,"assertUInt32",{enumerable:!0,get:function(){return Yu.assertUInt32}});Object.defineProperty(re,"assertFloat32",{enumerable:!0,get:function(){return Yu.assertFloat32}})});var AR=m(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.readServiceOption=_i.readMethodOption=_i.readMethodOptions=_i.normalizeMethodInfo=void 0;var kUe=wt();function LUe(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:kUe.lowerCamelCase(s.name),s.serverStreaming=!!s.serverStreaming,s.clientStreaming=!!s.clientStreaming,s.options=(n=s.options)!==null&&n!==void 0?n:{},s.idempotency=(i=s.idempotency)!==null&&i!==void 0?i:void 0,s}o(LUe,"normalizeMethodInfo");_i.normalizeMethodInfo=LUe;function UUe(t,e,r,n){var i;let s=(i=t.methods.find((a,c)=>a.localName===e||c===e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(UUe,"readMethodOptions");_i.readMethodOptions=UUe;function FUe(t,e,r,n){var i;let s=(i=t.methods.find((c,l)=>c.localName===e||l===e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(FUe,"readMethodOption");_i.readMethodOption=FUe;function qUe(t,e,r){let n=t.options;if(!n)return;let i=n[e];return i===void 0?i:r?r.fromJson(i):i}o(qUe,"readServiceOption");_i.readServiceOption=qUe});var e4=m(Qy=>{"use strict";Object.defineProperty(Qy,"__esModule",{value:!0});Qy.ServiceType=void 0;var HUe=AR(),uR=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>HUe.normalizeMethodInfo(i,this)),this.options=n??{}}};Qy.ServiceType=uR});var pR=m(wy=>{"use strict";Object.defineProperty(wy,"__esModule",{value:!0});wy.RpcError=void 0;var dR=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,i]of r)e.push(` ${n}: ${i}`)}return e.join(`
|
|
`)}};wy.RpcError=dR});var hR=m(xy=>{"use strict";Object.defineProperty(xy,"__esModule",{value:!0});xy.mergeRpcOptions=void 0;var t4=wt();function zUe(t,e){if(!e)return t;let r={};Ny(t,r),Ny(e,r);for(let n of Object.keys(e)){let i=e[n];switch(n){case"jsonOptions":r.jsonOptions=t4.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=t4.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},Ny(t.meta,r.meta),Ny(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}o(zUe,"mergeRpcOptions");xy.mergeRpcOptions=zUe;function Ny(t,e){if(!t)return;let r=e;for(let[n,i]of Object.entries(t))i instanceof Date?r[n]=new Date(i.getTime()):Array.isArray(i)?r[n]=i.concat():r[n]=i}o(Ny,"copy")});var mR=m(ta=>{"use strict";Object.defineProperty(ta,"__esModule",{value:!0});ta.Deferred=ta.DeferredState=void 0;var vi;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(vi=ta.DeferredState||(ta.DeferredState={}));var fR=class{static{o(this,"Deferred")}constructor(e=!0){this._state=vi.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!==vi.PENDING)throw new Error(`cannot resolve ${vi[this.state].toLowerCase()}`);this._resolve(e),this._state=vi.RESOLVED}reject(e){if(this.state!==vi.PENDING)throw new Error(`cannot reject ${vi[this.state].toLowerCase()}`);this._reject(e),this._state=vi.REJECTED}resolvePending(e){this._state===vi.PENDING&&this.resolve(e)}rejectPending(e){this._state===vi.PENDING&&this.reject(e)}};ta.Deferred=fR});var yR=m(Sy=>{"use strict";Object.defineProperty(Sy,"__esModule",{value:!0});Sy.RpcOutputStreamController=void 0;var r4=mR(),ra=wt(),gR=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){ra.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){ra.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){ra.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(){ra.assert(!this.closed,"stream is closed"),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void 0,void 0,!0)),this.clearLis()}[Symbol.asyncIterator](){return this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:()=>{let e=this._itState;ra.assert(e,"bad state"),ra.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 r4.Deferred,e.p.promise)}}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;ra.assert(n.state==r4.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};Sy.RpcOutputStreamController=gR});var ER=m(Cl=>{"use strict";var jUe=Cl&&Cl.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Cl,"__esModule",{value:!0});Cl.UnaryCall=void 0;var CR=class{static{o(this,"UnaryCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.response=s,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 jUe(this,void 0,void 0,function*(){let[e,r,n,i]=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:i}})}};Cl.UnaryCall=CR});var IR=m(El=>{"use strict";var GUe=El&&El.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(El,"__esModule",{value:!0});El.ServerStreamingCall=void 0;var BR=class{static{o(this,"ServerStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.responses=s,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 GUe(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}})}};El.ServerStreamingCall=BR});var QR=m(Bl=>{"use strict";var YUe=Bl&&Bl.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Bl,"__esModule",{value:!0});Bl.ClientStreamingCall=void 0;var bR=class{static{o(this,"ClientStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.response=s,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 YUe(this,void 0,void 0,function*(){let[e,r,n,i]=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:i}})}};Bl.ClientStreamingCall=bR});var NR=m(Il=>{"use strict";var JUe=Il&&Il.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Il,"__esModule",{value:!0});Il.DuplexStreamingCall=void 0;var wR=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.responses=s,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 JUe(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}})}};Il.DuplexStreamingCall=wR});var i4=m(wl=>{"use strict";var VUe=wl&&wl.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(wl,"__esModule",{value:!0});wl.TestTransport=void 0;var Sn=pR(),Ry=wt(),n4=yR(),WUe=hR(),KUe=ER(),$Ue=IR(),XUe=QR(),ZUe=NR(),Ql=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 bl?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof bl?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 Sn.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof Sn.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(Ry.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),Ry.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return VUe(this,void 0,void 0,function*(){let i=[];if(this.data.response===void 0)i.push(e.O.create());else if(Array.isArray(this.data.response))for(let s of this.data.response)Ry.assert(e.O.is(s)),i.push(s);else this.data.response instanceof Sn.RpcError||(Ry.assert(e.O.is(this.data.response)),i.push(this.data.response));try{yield jt(this.responseDelay,n)(void 0)}catch(s){r.notifyError(s);return}if(this.data.response instanceof Sn.RpcError){r.notifyError(this.data.response);return}for(let s of i){r.notifyMessage(s);try{yield jt(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof Sn.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof Sn.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 Sn.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 Sn.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return WUe.mergeRpcOptions({},e)}unary(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(jt(this.headerDelay,n.abort)),c=a.catch(u=>{}).then(jt(this.responseDelay,n.abort)).then(u=>this.promiseSingleResponse(e)),l=c.catch(u=>{}).then(jt(this.afterResponseDelay,n.abort)).then(u=>this.promiseStatus()),A=c.catch(u=>{}).then(jt(this.afterResponseDelay,n.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput={single:r},new KUe.UnaryCall(e,s,r,a,c,l,A)}serverStreaming(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(jt(this.headerDelay,n.abort)),c=new n4.RpcOutputStreamController,l=a.then(jt(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then(jt(this.afterResponseDelay,n.abort)),A=l.then(()=>this.promiseStatus()),u=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(A,u),this.lastInput={single:r},new $Ue.ServerStreamingCall(e,s,r,a,c,A,u)}clientStreaming(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(jt(this.headerDelay,r.abort)),a=s.catch(A=>{}).then(jt(this.responseDelay,r.abort)).then(A=>this.promiseSingleResponse(e)),c=a.catch(A=>{}).then(jt(this.afterResponseDelay,r.abort)).then(A=>this.promiseStatus()),l=a.catch(A=>{}).then(jt(this.afterResponseDelay,r.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new bl(this.data,r.abort),new XUe.ClientStreamingCall(e,i,this.lastInput,s,a,c,l)}duplex(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(jt(this.headerDelay,r.abort)),a=new n4.RpcOutputStreamController,c=s.then(jt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(jt(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),A=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput=new bl(this.data,r.abort),new ZUe.DuplexStreamingCall(e,i,this.lastInput,s,a,l,A)}};wl.TestTransport=Ql;Ql.defaultHeaders={responseHeader:"test"};Ql.defaultStatus={code:"OK",detail:"all good"};Ql.defaultTrailers={responseTrailer:"test"};function jt(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new Sn.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(s),i(new Sn.RpcError("user cancel","CANCELLED"))})}})}o(jt,"delay");var bl=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 Sn.RpcError)return Promise.reject(this.data.inputMessage);let r=this.data.inputMessage===void 0?10:this.data.inputMessage;return Promise.resolve(void 0).then(()=>{this._sent.push(e)}).then(jt(r,this.abort))}complete(){if(this.data.inputComplete instanceof Sn.RpcError)return Promise.reject(this.data.inputComplete);let e=this.data.inputComplete===void 0?10:this.data.inputComplete;return Promise.resolve(void 0).then(()=>{this._completed=!0}).then(jt(e,this.abort))}}});var s4=m(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.stackDuplexStreamingInterceptors=Rn.stackClientStreamingInterceptors=Rn.stackServerStreamingInterceptors=Rn.stackUnaryInterceptors=Rn.stackIntercept=void 0;var eFe=wt();function Ju(t,e,r,n,i){var s,a,c,l;if(t=="unary"){let A=o((u,d,f)=>e.unary(u,d,f),"tail");for(let u of((s=n.interceptors)!==null&&s!==void 0?s:[]).filter(d=>d.interceptUnary).reverse()){let d=A;A=o((f,g,C)=>u.interceptUnary(d,f,g,C),"tail")}return A(r,i,n)}if(t=="serverStreaming"){let A=o((u,d,f)=>e.serverStreaming(u,d,f),"tail");for(let u of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(d=>d.interceptServerStreaming).reverse()){let d=A;A=o((f,g,C)=>u.interceptServerStreaming(d,f,g,C),"tail")}return A(r,i,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((f,g)=>u.interceptClientStreaming(d,f,g),"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((f,g)=>u.interceptDuplex(d,f,g),"tail")}return A(r,n)}eFe.assertNever(t)}o(Ju,"stackIntercept");Rn.stackIntercept=Ju;function tFe(t,e,r,n){return Ju("unary",t,e,n,r)}o(tFe,"stackUnaryInterceptors");Rn.stackUnaryInterceptors=tFe;function rFe(t,e,r,n){return Ju("serverStreaming",t,e,n,r)}o(rFe,"stackServerStreamingInterceptors");Rn.stackServerStreamingInterceptors=rFe;function nFe(t,e,r){return Ju("clientStreaming",t,e,r)}o(nFe,"stackClientStreamingInterceptors");Rn.stackClientStreamingInterceptors=nFe;function iFe(t,e,r){return Ju("duplex",t,e,r)}o(iFe,"stackDuplexStreamingInterceptors");Rn.stackDuplexStreamingInterceptors=iFe});var o4=m(_y=>{"use strict";Object.defineProperty(_y,"__esModule",{value:!0});_y.ServerCallContextController=void 0;var xR=class{static{o(this,"ServerCallContextController")}constructor(e,r,n,i,s={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=n,this.trailers={},this._sendRH=i,this.status=s}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)}}};_y.ServerCallContextController=xR});var c4=m(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});var sFe=e4();Object.defineProperty(Ct,"ServiceType",{enumerable:!0,get:function(){return sFe.ServiceType}});var SR=AR();Object.defineProperty(Ct,"readMethodOptions",{enumerable:!0,get:function(){return SR.readMethodOptions}});Object.defineProperty(Ct,"readMethodOption",{enumerable:!0,get:function(){return SR.readMethodOption}});Object.defineProperty(Ct,"readServiceOption",{enumerable:!0,get:function(){return SR.readServiceOption}});var oFe=pR();Object.defineProperty(Ct,"RpcError",{enumerable:!0,get:function(){return oFe.RpcError}});var aFe=hR();Object.defineProperty(Ct,"mergeRpcOptions",{enumerable:!0,get:function(){return aFe.mergeRpcOptions}});var cFe=yR();Object.defineProperty(Ct,"RpcOutputStreamController",{enumerable:!0,get:function(){return cFe.RpcOutputStreamController}});var lFe=i4();Object.defineProperty(Ct,"TestTransport",{enumerable:!0,get:function(){return lFe.TestTransport}});var a4=mR();Object.defineProperty(Ct,"Deferred",{enumerable:!0,get:function(){return a4.Deferred}});Object.defineProperty(Ct,"DeferredState",{enumerable:!0,get:function(){return a4.DeferredState}});var AFe=NR();Object.defineProperty(Ct,"DuplexStreamingCall",{enumerable:!0,get:function(){return AFe.DuplexStreamingCall}});var uFe=QR();Object.defineProperty(Ct,"ClientStreamingCall",{enumerable:!0,get:function(){return uFe.ClientStreamingCall}});var dFe=IR();Object.defineProperty(Ct,"ServerStreamingCall",{enumerable:!0,get:function(){return dFe.ServerStreamingCall}});var pFe=ER();Object.defineProperty(Ct,"UnaryCall",{enumerable:!0,get:function(){return pFe.UnaryCall}});var Vu=s4();Object.defineProperty(Ct,"stackIntercept",{enumerable:!0,get:function(){return Vu.stackIntercept}});Object.defineProperty(Ct,"stackDuplexStreamingInterceptors",{enumerable:!0,get:function(){return Vu.stackDuplexStreamingInterceptors}});Object.defineProperty(Ct,"stackClientStreamingInterceptors",{enumerable:!0,get:function(){return Vu.stackClientStreamingInterceptors}});Object.defineProperty(Ct,"stackServerStreamingInterceptors",{enumerable:!0,get:function(){return Vu.stackServerStreamingInterceptors}});Object.defineProperty(Ct,"stackUnaryInterceptors",{enumerable:!0,get:function(){return Vu.stackUnaryInterceptors}});var hFe=o4();Object.defineProperty(Ct,"ServerCallContextController",{enumerable:!0,get:function(){return hFe.ServerCallContextController}})});var u4=m(vy=>{"use strict";Object.defineProperty(vy,"__esModule",{value:!0});vy.CacheScope=void 0;var l4=wt(),A4=wt(),fFe=wt(),mFe=wt(),gFe=wt(),RR=class extends gFe.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,mFe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,fFe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.scope=e.string();break;case 2:s.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?A4.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.scope!==""&&r.tag(1,l4.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,l4.WireType.Varint).int64(e.permission);let i=n.writeUnknownFields;return i!==!1&&(i==!0?A4.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};vy.CacheScope=new RR});var h4=m(Py=>{"use strict";Object.defineProperty(Py,"__esModule",{value:!0});Py.CacheMetadata=void 0;var d4=wt(),p4=wt(),yFe=wt(),CFe=wt(),EFe=wt(),_R=u4(),vR=class extends EFe.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:()=>_R.CacheScope}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,CFe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,yFe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.repositoryId=e.int64().toString();break;case 2:s.scope.push(_R.CacheScope.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?p4.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.repositoryId!=="0"&&r.tag(1,d4.WireType.Varint).int64(e.repositoryId);for(let s=0;s<e.scope.length;s++)_R.CacheScope.internalBinaryWrite(e.scope[s],r.tag(2,d4.WireType.LengthDelimited).fork(),n).join();let i=n.writeUnknownFields;return i!==!1&&(i==!0?p4.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Py.CacheMetadata=new vR});var f4=m(Et=>{"use strict";Object.defineProperty(Et,"__esModule",{value:!0});Et.CacheService=Et.GetCacheEntryDownloadURLResponse=Et.GetCacheEntryDownloadURLRequest=Et.FinalizeCacheEntryUploadResponse=Et.FinalizeCacheEntryUploadRequest=Et.CreateCacheEntryResponse=Et.CreateCacheEntryRequest=void 0;var BFe=c4(),_t=wt(),_n=wt(),Nl=wt(),xl=wt(),Sl=wt(),os=h4(),PR=class extends Sl.MessageType{static{o(this,"CreateCacheEntryRequest$Type")}constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>os.CacheMetadata},{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,xl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Nl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.metadata=os.CacheMetadata.internalBinaryRead(e,e.uint32(),n,s.metadata);break;case 2:s.key=e.string();break;case 3:s.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?_n.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.metadata&&os.CacheMetadata.internalBinaryWrite(e.metadata,r.tag(1,_t.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,_t.WireType.LengthDelimited).string(e.key),e.version!==""&&r.tag(3,_t.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?_n.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Et.CreateCacheEntryRequest=new PR;var DR=class extends Sl.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,xl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Nl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.ok=e.bool();break;case 2:s.signedUploadUrl=e.string();break;case 3:s.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?_n.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,_t.WireType.Varint).bool(e.ok),e.signedUploadUrl!==""&&r.tag(2,_t.WireType.LengthDelimited).string(e.signedUploadUrl),e.message!==""&&r.tag(3,_t.WireType.LengthDelimited).string(e.message);let i=n.writeUnknownFields;return i!==!1&&(i==!0?_n.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Et.CreateCacheEntryResponse=new DR;var TR=class extends Sl.MessageType{static{o(this,"FinalizeCacheEntryUploadRequest$Type")}constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadRequest",[{no:1,name:"metadata",kind:"message",T:()=>os.CacheMetadata},{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,xl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Nl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.metadata=os.CacheMetadata.internalBinaryRead(e,e.uint32(),n,s.metadata);break;case 2:s.key=e.string();break;case 3:s.sizeBytes=e.int64().toString();break;case 4:s.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?_n.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.metadata&&os.CacheMetadata.internalBinaryWrite(e.metadata,r.tag(1,_t.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,_t.WireType.LengthDelimited).string(e.key),e.sizeBytes!=="0"&&r.tag(3,_t.WireType.Varint).int64(e.sizeBytes),e.version!==""&&r.tag(4,_t.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?_n.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Et.FinalizeCacheEntryUploadRequest=new TR;var OR=class extends Sl.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,xl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Nl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.ok=e.bool();break;case 2:s.entryId=e.int64().toString();break;case 3:s.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?_n.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,_t.WireType.Varint).bool(e.ok),e.entryId!=="0"&&r.tag(2,_t.WireType.Varint).int64(e.entryId),e.message!==""&&r.tag(3,_t.WireType.LengthDelimited).string(e.message);let i=n.writeUnknownFields;return i!==!1&&(i==!0?_n.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Et.FinalizeCacheEntryUploadResponse=new OR;var MR=class extends Sl.MessageType{static{o(this,"GetCacheEntryDownloadURLRequest$Type")}constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLRequest",[{no:1,name:"metadata",kind:"message",T:()=>os.CacheMetadata},{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,xl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Nl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.metadata=os.CacheMetadata.internalBinaryRead(e,e.uint32(),n,s.metadata);break;case 2:s.key=e.string();break;case 3:s.restoreKeys.push(e.string());break;case 4:s.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?_n.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.metadata&&os.CacheMetadata.internalBinaryWrite(e.metadata,r.tag(1,_t.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,_t.WireType.LengthDelimited).string(e.key);for(let s=0;s<e.restoreKeys.length;s++)r.tag(3,_t.WireType.LengthDelimited).string(e.restoreKeys[s]);e.version!==""&&r.tag(4,_t.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?_n.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Et.GetCacheEntryDownloadURLRequest=new MR;var kR=class extends Sl.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,xl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Nl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.ok=e.bool();break;case 2:s.signedDownloadUrl=e.string();break;case 3:s.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?_n.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,_t.WireType.Varint).bool(e.ok),e.signedDownloadUrl!==""&&r.tag(2,_t.WireType.LengthDelimited).string(e.signedDownloadUrl),e.matchedKey!==""&&r.tag(3,_t.WireType.LengthDelimited).string(e.matchedKey);let i=n.writeUnknownFields;return i!==!1&&(i==!0?_n.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Et.GetCacheEntryDownloadURLResponse=new kR;Et.CacheService=new BFe.ServiceType("github.actions.results.api.v1.CacheService",[{name:"CreateCacheEntry",options:{},I:Et.CreateCacheEntryRequest,O:Et.CreateCacheEntryResponse},{name:"FinalizeCacheEntryUpload",options:{},I:Et.FinalizeCacheEntryUploadRequest,O:Et.FinalizeCacheEntryUploadResponse},{name:"GetCacheEntryDownloadURL",options:{},I:Et.GetCacheEntryDownloadURLRequest,O:Et.GetCacheEntryDownloadURLResponse}])});var m4=m(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});Rl.CacheServiceClientProtobuf=Rl.CacheServiceClientJSON=void 0;var vn=f4(),LR=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=vn.CreateCacheEntryRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",r).then(i=>vn.CreateCacheEntryResponse.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=vn.FinalizeCacheEntryUploadRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(i=>vn.FinalizeCacheEntryUploadResponse.fromJson(i,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=vn.GetCacheEntryDownloadURLRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(i=>vn.GetCacheEntryDownloadURLResponse.fromJson(i,{ignoreUnknownFields:!0}))}};Rl.CacheServiceClientJSON=LR;var UR=class{static{o(this,"CacheServiceClientProtobuf")}constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=vn.CreateCacheEntryRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",r).then(i=>vn.CreateCacheEntryResponse.fromBinary(i))}FinalizeCacheEntryUpload(e){let r=vn.FinalizeCacheEntryUploadRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",r).then(i=>vn.FinalizeCacheEntryUploadResponse.fromBinary(i))}GetCacheEntryDownloadURL(e){let r=vn.GetCacheEntryDownloadURLRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",r).then(i=>vn.GetCacheEntryDownloadURLResponse.fromBinary(i))}};Rl.CacheServiceClientProtobuf=UR});var g4=m(Ty=>{"use strict";Object.defineProperty(Ty,"__esModule",{value:!0});Ty.maskSigUrl=FR;Ty.maskSecretUrls=IFe;var Dy=Zt();function FR(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&((0,Dy.setSecret)(r),(0,Dy.setSecret)(encodeURIComponent(r)))}catch(e){(0,Dy.debug)(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(FR,"maskSigUrl");function IFe(t){if(typeof t!="object"||t===null){(0,Dy.debug)("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&FR(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&FR(t.signed_download_url)}o(IFe,"maskSecretUrls")});var y4=m(Wu=>{"use strict";var Oy=Wu&&Wu.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Wu,"__esModule",{value:!0});Wu.internalCacheTwirpClient=RFe;var na=Zt(),bFe=TS(),ia=SS(),QFe=Gg(),wFe=hc(),NFe=ah(),_l=No(),xFe=m4(),SFe=g4(),qR=class{static{o(this,"CacheServiceClient")}constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=(0,wFe.getRuntimeToken)();this.baseUrl=(0,QFe.getCacheServiceURL)(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new _l.HttpClient(e,[new NFe.BearerCredentialHandler(s)])}request(e,r,n,i){return Oy(this,void 0,void 0,function*(){let s=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;(0,na.debug)(`[Request] ${r} ${s}`);let a={"Content-Type":n};try{let{body:c}=yield this.retryableRequest(()=>Oy(this,void 0,void 0,function*(){return this.httpClient.post(s,JSON.stringify(i),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return Oy(this,void 0,void 0,function*(){let r=0,n="",i="";for(;r<this.maxAttempts;){let s=!1;try{let c=yield e(),l=c.message.statusCode;i=yield c.readBody(),(0,na.debug)(`[Response] - ${c.message.statusCode}`),(0,na.debug)(`Headers: ${JSON.stringify(c.message.headers,null,2)}`);let A=JSON.parse(i);if((0,SFe.maskSecretUrls)(A),(0,na.debug)(`Body: ${JSON.stringify(A,null,2)}`),this.isSuccessStatusCode(l))return{response:c,body:A};if(s=this.isRetryableHttpStatusCode(l),n=`Failed request: (${l}) ${c.message.statusMessage}`,A.msg){if(ia.UsageError.isUsageErrorMessage(A.msg))throw new ia.UsageError;n=`${n}: ${A.msg}`}if(l===_l.HttpCodes.TooManyRequests){let u=c.message.headers["retry-after"];if(u){let d=parseInt(u,10);!isNaN(d)&&d>0&&(0,na.warning)(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new ia.RateLimitError(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&(0,na.debug)(`Raw Body: ${i}`),c instanceof ia.UsageError||c instanceof ia.RateLimitError)throw c;if(ia.NetworkError.isNetworkErrorCode(c?.code))throw new ia.NetworkError(c?.code);s=!0,n=c.message}if(!s)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);(0,na.info)(`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?[_l.HttpCodes.BadGateway,_l.HttpCodes.GatewayTimeout,_l.HttpCodes.InternalServerError,_l.HttpCodes.ServiceUnavailable].includes(e):!1}sleep(e){return Oy(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 RFe(t){let e=new qR((0,bFe.getUserAgentString)(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new xFe.CacheServiceClientJSON(e)}o(RFe,"internalCacheTwirpClient")});var B4=m(nn=>{"use strict";var _Fe=nn&&nn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),vFe=nn&&nn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),HR=nn&&nn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&_Fe(r,e,n[i]);return vFe(r,e),r}}(),as=nn&&nn.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(nn,"__esModule",{value:!0});nn.listTar=kFe;nn.extractTar=LFe;nn.createTar=UFe;var PFe=ph(),My=HR(Ah()),C4=require("fs"),Wn=HR(require("path")),zR=HR(hc()),et=YA(),Xs=process.platform==="win32";function DFe(){return as(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield zR.getGnuTarPathOnWindows(),e=et.SystemTarPathOnWindows;if(t)return{path:t,type:et.ArchiveToolType.GNU};if((0,C4.existsSync)(e))return{path:e,type:et.ArchiveToolType.BSD};break}case"darwin":{let t=yield My.which("gtar",!1);return t?{path:t,type:et.ArchiveToolType.GNU}:{path:yield My.which("tar",!0),type:et.ArchiveToolType.BSD}}default:break}return{path:yield My.which("tar",!0),type:et.ArchiveToolType.GNU}})}o(DFe,"getTarPath");function TFe(t,e,r){return as(this,arguments,void 0,function*(n,i,s,a=""){let c=[`"${n.path}"`],l=zR.getCacheFileName(i),A="cache.tar",u=E4(),d=n.type===et.ArchiveToolType.BSD&&i!==et.CompressionMethod.Gzip&&Xs;switch(s){case"create":c.push("--posix","-cf",d?A:l.replace(new RegExp(`\\${Wn.sep}`,"g"),"/"),"--exclude",d?A:l.replace(new RegExp(`\\${Wn.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${Wn.sep}`,"g"),"/"),"--files-from",et.ManifestFilename);break;case"extract":c.push("-xf",d?A:a.replace(new RegExp(`\\${Wn.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${Wn.sep}`,"g"),"/"));break;case"list":c.push("-tf",d?A:a.replace(new RegExp(`\\${Wn.sep}`,"g"),"/"),"-P");break}if(n.type===et.ArchiveToolType.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(TFe,"getTarArgs");function jR(t,e){return as(this,arguments,void 0,function*(r,n,i=""){let s,a=yield DFe(),c=yield TFe(a,r,n,i),l=n!=="create"?yield OFe(a,r,i):yield MFe(a,r),A=a.type===et.ArchiveToolType.BSD&&r!==et.CompressionMethod.Gzip&&Xs;return A&&n!=="create"?s=[[...l].join(" "),[...c].join(" ")]:s=[[...c].join(" "),[...l].join(" ")],A?s:[s.join(" ")]})}o(jR,"getCommands");function E4(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(E4,"getWorkingDirectory");function OFe(t,e,r){return as(this,void 0,void 0,function*(){let n=t.type===et.ArchiveToolType.BSD&&e!==et.CompressionMethod.Gzip&&Xs;switch(e){case et.CompressionMethod.Zstd:return n?["zstd -d --long=30 --force -o",et.TarFilename,r.replace(new RegExp(`\\${Wn.sep}`,"g"),"/")]:["--use-compress-program",Xs?'"zstd -d --long=30"':"unzstd --long=30"];case et.CompressionMethod.ZstdWithoutLong:return n?["zstd -d --force -o",et.TarFilename,r.replace(new RegExp(`\\${Wn.sep}`,"g"),"/")]:["--use-compress-program",Xs?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(OFe,"getDecompressionProgram");function MFe(t,e){return as(this,void 0,void 0,function*(){let r=zR.getCacheFileName(e),n=t.type===et.ArchiveToolType.BSD&&e!==et.CompressionMethod.Gzip&&Xs;switch(e){case et.CompressionMethod.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${Wn.sep}`,"g"),"/"),et.TarFilename]:["--use-compress-program",Xs?'"zstd -T0 --long=30"':"zstdmt --long=30"];case et.CompressionMethod.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${Wn.sep}`,"g"),"/"),et.TarFilename]:["--use-compress-program",Xs?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(MFe,"getCompressionProgram");function GR(t,e){return as(this,void 0,void 0,function*(){for(let r of t)try{yield(0,PFe.exec)(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(GR,"execCommands");function kFe(t,e){return as(this,void 0,void 0,function*(){let r=yield jR(e,"list",t);yield GR(r)})}o(kFe,"listTar");function LFe(t,e){return as(this,void 0,void 0,function*(){let r=E4();yield My.mkdirP(r);let n=yield jR(e,"extract",t);yield GR(n)})}o(LFe,"extractTar");function UFe(t,e,r){return as(this,void 0,void 0,function*(){(0,C4.writeFileSync)(Wn.join(t,et.ManifestFilename),e.join(`
|
|
`));let n=yield jR(r,"create");yield GR(n,t)})}o(UFe,"createTar")});var Q4=m(Ot=>{"use strict";var FFe=Ot&&Ot.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),qFe=Ot&&Ot.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),$u=Ot&&Ot.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&FFe(r,e,n[i]);return qFe(r,e),r}}(),Pl=Ot&&Ot.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,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?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Ot,"__esModule",{value:!0});Ot.FinalizeCacheError=Ot.ReserveCacheError=Ot.ValidationError=void 0;Ot.isFeatureAvailable=HFe;Ot.restoreCache=zFe;Ot.saveCache=YFe;var ie=$u(Zt()),ky=$u(require("path")),at=$u(hc()),vl=$u(B$()),I4=$u(y4()),Ly=Gg(),Zs=B4(),Uy=No(),Pn=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}};Ot.ValidationError=Pn;var sa=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}};Ot.ReserveCacheError=sa;var Ku=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};Ot.FinalizeCacheError=Ku;function b4(t){if(!t||t.length===0)throw new Pn("Path Validation Error: At least one directory or file path is required")}o(b4,"checkPaths");function YR(t){if(t.length>512)throw new Pn(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Pn(`Key Validation Error: ${t} cannot contain commas.`)}o(YR,"checkKey");function HFe(){switch((0,Ly.getCacheServiceVersion)()){case"v2":return!!process.env.ACTIONS_RESULTS_URL;case"v1":default:return!!process.env.ACTIONS_CACHE_URL}}o(HFe,"isFeatureAvailable");function zFe(t,e,r,n){return Pl(this,arguments,void 0,function*(i,s,a,c,l=!1){let A=(0,Ly.getCacheServiceVersion)();switch(ie.debug(`Cache service version: ${A}`),b4(i),A){case"v2":return yield GFe(i,s,a,c,l);case"v1":default:return yield jFe(i,s,a,c,l)}})}o(zFe,"restoreCache");function jFe(t,e,r,n){return Pl(this,arguments,void 0,function*(i,s,a,c,l=!1){a=a||[];let A=[s,...a];if(ie.debug("Resolved Keys:"),ie.debug(JSON.stringify(A)),A.length>10)throw new Pn("Key Validation Error: Keys are limited to a maximum of 10.");for(let f of A)YR(f);let u=yield at.getCompressionMethod(),d="";try{let f=yield vl.getCacheEntry(A,i,{compressionMethod:u,enableCrossOsArchive:l});if(!f?.archiveLocation)return;if(c?.lookupOnly)return ie.info("Lookup only - skipping download"),f.cacheKey;d=ky.join(yield at.createTempDirectory(),at.getCacheFileName(u)),ie.debug(`Archive Path: ${d}`),yield vl.downloadCache(f.archiveLocation,d,c),ie.isDebug()&&(yield(0,Zs.listTar)(d,u));let g=at.getArchiveFileSizeInBytes(d);return ie.info(`Cache Size: ~${Math.round(g/(1024*1024))} MB (${g} B)`),yield(0,Zs.extractTar)(d,u),ie.info("Cache restored successfully"),f.cacheKey}catch(f){let g=f;if(g.name===Pn.name)throw f;g instanceof Uy.HttpClientError&&typeof g.statusCode=="number"&&g.statusCode>=500?ie.error(`Failed to restore: ${f.message}`):ie.warning(`Failed to restore: ${f.message}`)}finally{try{yield at.unlinkFile(d)}catch(f){ie.debug(`Failed to delete archive: ${f}`)}}})}o(jFe,"restoreCacheV1");function GFe(t,e,r,n){return Pl(this,arguments,void 0,function*(i,s,a,c,l=!1){c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let A=[s,...a];if(ie.debug("Resolved Keys:"),ie.debug(JSON.stringify(A)),A.length>10)throw new Pn("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of A)YR(d);let u="";try{let d=I4.internalCacheTwirpClient(),f=yield at.getCompressionMethod(),g={key:s,restoreKeys:a,version:at.getCacheVersion(i,f,l)},C=yield d.GetCacheEntryDownloadURL(g);if(!C.ok){ie.debug(`Cache not found for version ${g.version} of keys: ${A.join(", ")}`);return}if(g.key!==C.matchedKey?ie.info(`Cache hit for restore-key: ${C.matchedKey}`):ie.info(`Cache hit for: ${C.matchedKey}`),c?.lookupOnly)return ie.info("Lookup only - skipping download"),C.matchedKey;u=ky.join(yield at.createTempDirectory(),at.getCacheFileName(f)),ie.debug(`Archive path: ${u}`),ie.debug(`Starting download of archive to: ${u}`),yield vl.downloadCache(C.signedDownloadUrl,u,c);let S=at.getArchiveFileSizeInBytes(u);return ie.info(`Cache Size: ~${Math.round(S/(1024*1024))} MB (${S} B)`),ie.isDebug()&&(yield(0,Zs.listTar)(u,f)),yield(0,Zs.extractTar)(u,f),ie.info("Cache restored successfully"),C.matchedKey}catch(d){let f=d;if(f.name===Pn.name)throw d;f instanceof Uy.HttpClientError&&typeof f.statusCode=="number"&&f.statusCode>=500?ie.error(`Failed to restore: ${d.message}`):ie.warning(`Failed to restore: ${d.message}`)}finally{try{u&&(yield at.unlinkFile(u))}catch(d){ie.debug(`Failed to delete archive: ${d}`)}}})}o(GFe,"restoreCacheV2");function YFe(t,e,r){return Pl(this,arguments,void 0,function*(n,i,s,a=!1){let c=(0,Ly.getCacheServiceVersion)();switch(ie.debug(`Cache service version: ${c}`),b4(n),YR(i),c){case"v2":return yield VFe(n,i,s,a);case"v1":default:return yield JFe(n,i,s,a)}})}o(YFe,"saveCache");function JFe(t,e,r){return Pl(this,arguments,void 0,function*(n,i,s,a=!1){var c,l,A,u,d;let f=yield at.getCompressionMethod(),g=-1,C=yield at.resolvePaths(n);if(ie.debug("Cache Paths:"),ie.debug(`${JSON.stringify(C)}`),C.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 Q=yield at.createTempDirectory(),S=ky.join(Q,at.getCacheFileName(f));ie.debug(`Archive Path: ${S}`);try{yield(0,Zs.createTar)(Q,C,f),ie.isDebug()&&(yield(0,Zs.listTar)(S,f));let w=10*1024*1024*1024,R=at.getArchiveFileSizeInBytes(S);if(ie.debug(`File Size: ${R}`),R>w&&!(0,Ly.isGhes)())throw new Error(`Cache size of ~${Math.round(R/(1024*1024))} MB (${R} B) is over the 10GB limit, not saving cache.`);ie.debug("Reserving Cache");let T=yield vl.reserveCache(i,n,{compressionMethod:f,enableCrossOsArchive:a,cacheSize:R});if(!((c=T?.result)===null||c===void 0)&&c.cacheId)g=(l=T?.result)===null||l===void 0?void 0:l.cacheId;else throw T?.statusCode===400?new Error((u=(A=T?.error)===null||A===void 0?void 0:A.message)!==null&&u!==void 0?u:`Cache size of ~${Math.round(R/(1024*1024))} MB (${R} B) is over the data cap limit, not saving cache.`):new sa(`Unable to reserve cache with key ${i}, another job may be creating this cache. More details: ${(d=T?.error)===null||d===void 0?void 0:d.message}`);ie.debug(`Saving Cache (ID: ${g})`),yield vl.saveCache(g,S,"",s)}catch(w){let R=w;if(R.name===Pn.name)throw w;R.name===sa.name?ie.info(`Failed to save: ${R.message}`):R instanceof Uy.HttpClientError&&typeof R.statusCode=="number"&&R.statusCode>=500?ie.error(`Failed to save: ${R.message}`):ie.warning(`Failed to save: ${R.message}`)}finally{try{yield at.unlinkFile(S)}catch(w){ie.debug(`Failed to delete archive: ${w}`)}}return g})}o(JFe,"saveCacheV1");function VFe(t,e,r){return Pl(this,arguments,void 0,function*(n,i,s,a=!1){s=Object.assign(Object.assign({},s),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let c=yield at.getCompressionMethod(),l=I4.internalCacheTwirpClient(),A=-1,u=yield at.resolvePaths(n);if(ie.debug("Cache Paths:"),ie.debug(`${JSON.stringify(u)}`),u.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let d=yield at.createTempDirectory(),f=ky.join(d,at.getCacheFileName(c));ie.debug(`Archive Path: ${f}`);try{yield(0,Zs.createTar)(d,u,c),ie.isDebug()&&(yield(0,Zs.listTar)(f,c));let g=at.getArchiveFileSizeInBytes(f);ie.debug(`File Size: ${g}`),s.archiveSizeBytes=g,ie.debug("Reserving Cache");let C=at.getCacheVersion(n,c,a),Q={key:i,version:C},S;try{let T=yield l.CreateCacheEntry(Q);if(!T.ok)throw T.message&&ie.warning(`Cache reservation failed: ${T.message}`),new Error(T.message||"Response was not ok");S=T.signedUploadUrl}catch(T){throw ie.debug(`Failed to reserve cache: ${T}`),new sa(`Unable to reserve cache with key ${i}, another job may be creating this cache.`)}ie.debug(`Attempting to upload cache located at: ${f}`),yield vl.saveCache(A,f,S,s);let w={key:i,version:C,sizeBytes:`${g}`},R=yield l.FinalizeCacheEntryUpload(w);if(ie.debug(`FinalizeCacheEntryUploadResponse: ${R.ok}`),!R.ok)throw R.message?new Ku(R.message):new Error(`Unable to finalize cache with key ${i}, another job may be finalizing this cache.`);A=parseInt(R.entryId)}catch(g){let C=g;if(C.name===Pn.name)throw g;C.name===sa.name?ie.info(`Failed to save: ${C.message}`):C.name===Ku.name?ie.warning(C.message):C instanceof Uy.HttpClientError&&typeof C.statusCode=="number"&&C.statusCode>=500?ie.error(`Failed to save: ${C.message}`):ie.warning(`Failed to save: ${C.message}`)}finally{try{yield at.unlinkFile(f)}catch(g){ie.debug(`Failed to delete archive: ${g}`)}}return A})}o(VFe,"saveCacheV2")});var N4=m((Y8e,w4)=>{"use strict";var oa=class t extends Error{static{o(this,"ParserError")}constructor(e,r,n){super("[ParserError] "+e,r,n),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,t)}},Fy=class{static{o(this,"State")}constructor(e){this.parser=e,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null}},Xu=class{static{o(this,"Parser")}constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new Fy(this.parseStart)}parse(e){if(e.length===0||e.length==null)return;this._buf=String(e),this.ii=-1,this.char=-1;let r;for(;r===!1||this.nextChar();)r=this.runOne();this._buf=null}nextChar(){return this.char===10&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer()}haveBuffer(){return this.ii<this._buf.length}runOne(){return this.state.parser.call(this,this.state.returned)}finish(){this.char=1114112;let e;do e=this.state.parser,this.runOne();while(this.state.parser!==e);return this.ctx=null,this.state=null,this._buf=null,this.obj}next(e){if(typeof e!="function")throw new oa("Tried to set state to non-existent state: "+JSON.stringify(e));this.state.parser=e}goto(e){return this.next(e),this.runOne()}call(e,r){r&&this.next(r),this.stack.push(this.state),this.state=new Fy(e)}callNow(e,r){return this.call(e,r),this.runOne()}return(e){if(this.stack.length===0)throw this.error(new oa("Stack underflow"));e===void 0&&(e=this.state.buf),this.state=this.stack.pop(),this.state.returned=e}returnNow(e){return this.return(e),this.runOne()}consume(){if(this.char===1114112)throw this.error(new oa("Unexpected end-of-buffer"));this.state.buf+=this._buf[this.ii]}error(e){return e.line=this.line,e.col=this.col,e.pos=this.pos,e}parseStart(){throw new oa("Must declare a parseStart method")}};Xu.END=1114112;Xu.Error=oa;w4.exports=Xu});var S4=m((V8e,x4)=>{"use strict";x4.exports=t=>{let e=new Date(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var qy=m((W8e,R4)=>{"use strict";R4.exports=(t,e)=>{for(e=String(e);e.length<t;)e="0"+e;return e}});var v4=m((K8e,_4)=>{"use strict";var Dl=qy(),JR=class extends Date{static{o(this,"FloatingDateTime")}constructor(e){super(e+"Z"),this.isFloating=!0}toISOString(){let e=`${this.getUTCFullYear()}-${Dl(2,this.getUTCMonth()+1)}-${Dl(2,this.getUTCDate())}`,r=`${Dl(2,this.getUTCHours())}:${Dl(2,this.getUTCMinutes())}:${Dl(2,this.getUTCSeconds())}.${Dl(3,this.getUTCMilliseconds())}`;return`${e}T${r}`}};_4.exports=t=>{let e=new JR(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var T4=m((X8e,D4)=>{"use strict";var P4=qy(),WFe=global.Date,VR=class extends WFe{static{o(this,"Date")}constructor(e){super(e),this.isDate=!0}toISOString(){return`${this.getUTCFullYear()}-${P4(2,this.getUTCMonth()+1)}-${P4(2,this.getUTCDate())}`}};D4.exports=t=>{let e=new VR(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var M4=m((e5e,O4)=>{"use strict";var Hy=qy(),WR=class extends Date{static{o(this,"Time")}constructor(e){super(`0000-01-01T${e}Z`),this.isTime=!0}toISOString(){return`${Hy(2,this.getUTCHours())}:${Hy(2,this.getUTCMinutes())}:${Hy(2,this.getUTCSeconds())}.${Hy(3,this.getUTCMilliseconds())}`}};O4.exports=t=>{let e=new WR(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var zy=m((exports,module)=>{"use strict";module.exports=makeParserClass(N4());module.exports.makeParserClass=makeParserClass;var TomlError=class t extends Error{static{o(this,"TomlError")}constructor(e){super(e),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,t),this.fromTOML=!0,this.wrapped=null}};TomlError.wrap=t=>{let e=new TomlError(t.message);return e.code=t.code,e.wrapped=t,e};module.exports.TomlError=TomlError;var createDateTime=S4(),createDateTimeFloat=v4(),createDate=T4(),createTime=M4(),CTRL_I=9,CTRL_J=10,CTRL_M=13,CTRL_CHAR_BOUNDARY=31,CHAR_SP=32,CHAR_QUOT=34,CHAR_NUM=35,CHAR_APOS=39,CHAR_PLUS=43,CHAR_COMMA=44,CHAR_HYPHEN=45,CHAR_PERIOD=46,CHAR_0=48,CHAR_1=49,CHAR_7=55,CHAR_9=57,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_A=65,CHAR_E=69,CHAR_F=70,CHAR_T=84,CHAR_U=85,CHAR_Z=90,CHAR_LOWBAR=95,CHAR_a=97,CHAR_b=98,CHAR_e=101,CHAR_f=102,CHAR_i=105,CHAR_l=108,CHAR_n=110,CHAR_o=111,CHAR_r=114,CHAR_s=115,CHAR_t=116,CHAR_u=117,CHAR_x=120,CHAR_z=122,CHAR_LCUB=123,CHAR_RCUB=125,CHAR_LSQB=91,CHAR_BSOL=92,CHAR_RSQB=93,CHAR_DEL=127,SURROGATE_FIRST=55296,SURROGATE_LAST=57343,escapes={[CHAR_b]:"\b",[CHAR_t]:" ",[CHAR_n]:`
|
|
`,[CHAR_f]:"\f",[CHAR_r]:"\r",[CHAR_QUOT]:'"',[CHAR_BSOL]:"\\"};function isDigit(t){return t>=CHAR_0&&t<=CHAR_9}o(isDigit,"isDigit");function isHexit(t){return t>=CHAR_A&&t<=CHAR_F||t>=CHAR_a&&t<=CHAR_f||t>=CHAR_0&&t<=CHAR_9}o(isHexit,"isHexit");function isBit(t){return t===CHAR_1||t===CHAR_0}o(isBit,"isBit");function isOctit(t){return t>=CHAR_0&&t<=CHAR_7}o(isOctit,"isOctit");function isAlphaNumQuoteHyphen(t){return t>=CHAR_A&&t<=CHAR_Z||t>=CHAR_a&&t<=CHAR_z||t>=CHAR_0&&t<=CHAR_9||t===CHAR_APOS||t===CHAR_QUOT||t===CHAR_LOWBAR||t===CHAR_HYPHEN}o(isAlphaNumQuoteHyphen,"isAlphaNumQuoteHyphen");function isAlphaNumHyphen(t){return t>=CHAR_A&&t<=CHAR_Z||t>=CHAR_a&&t<=CHAR_z||t>=CHAR_0&&t<=CHAR_9||t===CHAR_LOWBAR||t===CHAR_HYPHEN}o(isAlphaNumHyphen,"isAlphaNumHyphen");var _type=Symbol("type"),_declared=Symbol("declared"),hasOwnProperty=Object.prototype.hasOwnProperty,defineProperty=Object.defineProperty,descriptor={configurable:!0,enumerable:!0,writable:!0,value:void 0};function hasKey(t,e){return hasOwnProperty.call(t,e)?!0:(e==="__proto__"&&defineProperty(t,"__proto__",descriptor),!1)}o(hasKey,"hasKey");var INLINE_TABLE=Symbol("inline-table");function InlineTable(){return Object.defineProperties({},{[_type]:{value:INLINE_TABLE}})}o(InlineTable,"InlineTable");function isInlineTable(t){return t===null||typeof t!="object"?!1:t[_type]===INLINE_TABLE}o(isInlineTable,"isInlineTable");var TABLE=Symbol("table");function Table(){return Object.defineProperties({},{[_type]:{value:TABLE},[_declared]:{value:!1,writable:!0}})}o(Table,"Table");function isTable(t){return t===null||typeof t!="object"?!1:t[_type]===TABLE}o(isTable,"isTable");var _contentType=Symbol("content-type"),INLINE_LIST=Symbol("inline-list");function InlineList(t){return Object.defineProperties([],{[_type]:{value:INLINE_LIST},[_contentType]:{value:t}})}o(InlineList,"InlineList");function isInlineList(t){return t===null||typeof t!="object"?!1:t[_type]===INLINE_LIST}o(isInlineList,"isInlineList");var LIST=Symbol("list");function List(){return Object.defineProperties([],{[_type]:{value:LIST}})}o(List,"List");function isList(t){return t===null||typeof t!="object"?!1:t[_type]===LIST}o(isList,"isList");var _custom;try{let utilInspect=eval("require('util').inspect");_custom=utilInspect.custom}catch(t){}var _inspect=_custom||"inspect",BoxedBigInt=class{static{o(this,"BoxedBigInt")}constructor(e){try{this.value=global.BigInt.asIntN(64,e)}catch{this.value=null}Object.defineProperty(this,_type,{value:INTEGER})}isNaN(){return this.value===null}toString(){return String(this.value)}[_inspect](){return`[BigInt: ${this.toString()}]}`}valueOf(){return this.value}},INTEGER=Symbol("integer");function Integer(t){let e=Number(t);return Object.is(e,-0)&&(e=0),global.BigInt&&!Number.isSafeInteger(e)?new BoxedBigInt(t):Object.defineProperties(new Number(e),{isNaN:{value:function(){return isNaN(this)}},[_type]:{value:INTEGER},[_inspect]:{value:()=>`[Integer: ${t}]`}})}o(Integer,"Integer");function isInteger(t){return t===null||typeof t!="object"?!1:t[_type]===INTEGER}o(isInteger,"isInteger");var FLOAT=Symbol("float");function Float(t){return Object.defineProperties(new Number(t),{[_type]:{value:FLOAT},[_inspect]:{value:()=>`[Float: ${t}]`}})}o(Float,"Float");function isFloat(t){return t===null||typeof t!="object"?!1:t[_type]===FLOAT}o(isFloat,"isFloat");function tomlType(t){let e=typeof t;if(e==="object"){if(t===null)return"null";if(t instanceof Date)return"datetime";if(_type in t)switch(t[_type]){case INLINE_TABLE:return"inline-table";case INLINE_LIST:return"inline-list";case TABLE:return"table";case LIST:return"list";case FLOAT:return"float";case INTEGER:return"integer"}}return e}o(tomlType,"tomlType");function makeParserClass(t){class e extends t{static{o(this,"TOMLParser")}constructor(){super(),this.ctx=this.obj=Table()}atEndOfWord(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine()}atEndOfLine(){return this.char===t.END||this.char===CTRL_J||this.char===CTRL_M}parseStart(){if(this.char===t.END)return null;if(this.char===CHAR_LSQB)return this.call(this.parseTableOrList);if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(isAlphaNumQuoteHyphen(this.char))return this.callNow(this.parseAssignStatement);throw this.error(new TomlError(`Unknown character "${this.char}"`))}parseWhitespaceToEOL(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(this.char===CHAR_NUM)return this.goto(this.parseComment);if(this.char===t.END||this.char===CTRL_J)return this.return();throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"))}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement)}recordAssignStatement(n){let i=this.ctx,s=n.key.pop();for(let a of n.key){if(hasKey(i,a)&&(!isTable(i[a])||i[a][_declared]))throw this.error(new TomlError("Can't redefine existing key"));i=i[a]=i[a]||Table()}if(hasKey(i,s))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(n.value)||isFloat(n.value)?i[s]=n.value.valueOf():i[s]=n.value,this.goto(this.parseWhitespaceToEOL)}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword)}recordAssignKeyword(n){return this.state.resultTable?this.state.resultTable.push(n):this.state.resultTable=[n],this.goto(this.parseAssignKeywordPreDot)}parseAssignKeywordPreDot(){if(this.char===CHAR_PERIOD)return this.next(this.parseAssignKeywordPostDot);if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.goto(this.parseAssignEqual)}parseAssignKeywordPostDot(){if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.callNow(this.parseKeyword,this.recordAssignKeyword)}parseAssignEqual(){if(this.char===CHAR_EQUALS)return this.next(this.parseAssignPreValue);throw this.error(new TomlError('Invalid character, expected "="'))}parseAssignPreValue(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseValue,this.recordAssignValue)}recordAssignValue(n){return this.returnNow({key:this.state.resultTable,value:n})}parseComment(){do if(this.char===t.END||this.char===CTRL_J)return this.return();while(this.nextChar())}parseTableOrList(){if(this.char===CHAR_LSQB)this.next(this.parseList);else return this.goto(this.parseTable)}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext)}parseTableNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseTableMore)}parseTableMore(n){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,n)&&(!isTable(this.ctx[n])||this.ctx[n][_declared]))throw this.error(new TomlError("Can't redefine existing key"));return this.ctx=this.ctx[n]=this.ctx[n]||Table(),this.ctx[_declared]=!0,this.next(this.parseWhitespaceToEOL)}else if(this.char===CHAR_PERIOD){if(!hasKey(this.ctx,n))this.ctx=this.ctx[n]=Table();else if(isTable(this.ctx[n]))this.ctx=this.ctx[n];else if(isList(this.ctx[n]))this.ctx=this.ctx[n][this.ctx[n].length-1];else throw this.error(new TomlError("Can't redefine existing key"));return this.next(this.parseTableNext)}else throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext)}parseListNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseListMore)}parseListMore(n){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,n)||(this.ctx[n]=List()),isInlineList(this.ctx[n]))throw this.error(new TomlError("Can't extend an inline array"));if(isList(this.ctx[n])){let i=Table();this.ctx[n].push(i),this.ctx=i}else throw this.error(new TomlError("Can't redefine an existing key"));return this.next(this.parseListEnd)}else if(this.char===CHAR_PERIOD){if(!hasKey(this.ctx,n))this.ctx=this.ctx[n]=Table();else{if(isInlineList(this.ctx[n]))throw this.error(new TomlError("Can't extend an inline array"));if(isInlineTable(this.ctx[n]))throw this.error(new TomlError("Can't extend an inline table"));if(isList(this.ctx[n]))this.ctx=this.ctx[n][this.ctx[n].length-1];else if(isTable(this.ctx[n]))this.ctx=this.ctx[n];else throw this.error(new TomlError("Can't redefine an existing key"))}return this.next(this.parseListNext)}else throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseListEnd(n){if(this.char===CHAR_RSQB)return this.next(this.parseWhitespaceToEOL);throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseValue(){if(this.char===t.END)throw this.error(new TomlError("Key without value"));if(this.char===CHAR_QUOT)return this.next(this.parseDoubleString);if(this.char===CHAR_APOS)return this.next(this.parseSingleString);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)return this.goto(this.parseNumberSign);if(this.char===CHAR_i)return this.next(this.parseInf);if(this.char===CHAR_n)return this.next(this.parseNan);if(isDigit(this.char))return this.goto(this.parseNumberOrDateTime);if(this.char===CHAR_t||this.char===CHAR_f)return this.goto(this.parseBoolean);if(this.char===CHAR_LSQB)return this.call(this.parseInlineList,this.recordValue);if(this.char===CHAR_LCUB)return this.call(this.parseInlineTable,this.recordValue);throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"))}recordValue(n){return this.returnNow(n)}parseInf(){if(this.char===CHAR_n)return this.next(this.parseInf2);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseInf2(){if(this.char===CHAR_f)return this.state.buf==="-"?this.return(-1/0):this.return(1/0);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseNan(){if(this.char===CHAR_a)return this.next(this.parseNan2);throw this.error(new TomlError('Unexpected character, expected "nan"'))}parseNan2(){if(this.char===CHAR_n)return this.return(NaN);throw this.error(new TomlError('Unexpected character, expected "nan"'))}parseKeyword(){return this.char===CHAR_QUOT?this.next(this.parseBasicString):this.char===CHAR_APOS?this.next(this.parseLiteralString):this.goto(this.parseBareKey)}parseBareKey(){do{if(this.char===t.END)throw this.error(new TomlError("Key ended without value"));if(isAlphaNumHyphen(this.char))this.consume();else{if(this.state.buf.length===0)throw this.error(new TomlError("Empty bare keys are not allowed"));return this.returnNow()}}while(this.nextChar())}parseSingleString(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString)}parseLiteralString(){do{if(this.char===CHAR_APOS)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiStringMaybe(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiString):this.returnNow()}parseLiteralMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent)}parseLiteralMultiStringContent(){do{if(this.char===CHAR_APOS)return this.next(this.parseLiteralMultiEnd);if(this.char===t.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiEnd(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent))}parseLiteralMultiEnd2(){return this.char===CHAR_APOS?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent))}parseDoubleString(){return this.char===CHAR_QUOT?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString)}parseBasicString(){do{if(this.char===CHAR_BSOL)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===CHAR_QUOT)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}recordEscapeReplacement(n){return this.state.buf+=n,this.goto(this.parseBasicString)}parseMultiStringMaybe(){return this.char===CHAR_QUOT?this.next(this.parseMultiString):this.returnNow()}parseMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent)}parseMultiStringContent(){do{if(this.char===CHAR_BSOL)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===CHAR_QUOT)return this.next(this.parseMultiEnd);if(this.char===t.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}errorControlCharInString(){let n="\\u00";return this.char<16&&(n+="0"),n+=this.char.toString(16),this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${n} instead`))}recordMultiEscapeReplacement(n){return this.state.buf+=n,this.goto(this.parseMultiStringContent)}parseMultiEnd(){return this.char===CHAR_QUOT?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent))}parseMultiEnd2(){return this.char===CHAR_QUOT?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent))}parseMultiEscape(){return this.char===CTRL_M||this.char===CTRL_J?this.next(this.parseMultiTrim):this.char===CHAR_SP||this.char===CTRL_I?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape)}parsePreMultiTrim(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CTRL_M||this.char===CTRL_J)return this.next(this.parseMultiTrim);throw this.error(new TomlError("Can't escape whitespace"))}parseMultiTrim(){return this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M?null:this.returnNow()}parseEscape(){if(this.char in escapes)return this.return(escapes[this.char]);if(this.char===CHAR_u)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===CHAR_U)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new TomlError("Unknown escape character: "+this.char))}parseUnicodeReturn(n){try{let i=parseInt(n,16);if(i>=SURROGATE_FIRST&&i<=SURROGATE_LAST)throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(i))}catch(i){throw this.error(TomlError.wrap(i))}}parseSmallUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=4)return this.return()}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"))}parseLargeUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=8)return this.return()}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"))}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan)}parseMaybeSignedInfOrNan(){return this.char===CHAR_i?this.next(this.parseInf):this.char===CHAR_n?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart)}parseNumberIntegerStart(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger)}parseNumberIntegerExponentOrDecimal(){return this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Integer(this.state.buf))}parseNumberInteger(){if(isDigit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);{let n=Integer(this.state.buf);if(n.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(n)}}}parseNoUnder(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD||this.char===CHAR_E||this.char===CHAR_e)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow()}parseNoUnderHexOctBinLiteral(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow()}parseNumberFloat(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberFloat);if(isDigit(this.char))this.consume();else return this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Float(this.state.buf))}parseNumberExponentSign(){if(isDigit(this.char))return this.goto(this.parseNumberExponent);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent);else throw this.error(new TomlError("Unexpected character, expected -, + or digit"))}parseNumberExponent(){if(isDigit(this.char))this.consume();else return this.char===CHAR_LOWBAR?this.call(this.parseNoUnder):this.returnNow(Float(this.state.buf))}parseNumberOrDateTime(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly)}parseNumberOrDateTimeOnly(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberInteger);if(isDigit(this.char))this.consume(),this.state.buf.length>4&&this.next(this.parseNumberInteger);else return this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_HYPHEN?this.goto(this.parseDateTime):this.char===CHAR_COLON?this.goto(this.parseOnlyTimeHour):this.returnNow(Integer(this.state.buf))}parseDateTimeOnly(){if(this.state.buf.length<4){if(isDigit(this.char))return this.consume();if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);throw this.error(new TomlError("Expected digit while parsing year part of a date"))}else{if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"))}}parseNumberBaseOrDateTime(){return this.char===CHAR_b?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin)):this.char===CHAR_o?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct)):this.char===CHAR_x?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex)):this.char===CHAR_PERIOD?this.goto(this.parseNumberInteger):isDigit(this.char)?this.goto(this.parseDateTimeOnly):this.returnNow(Integer(this.state.buf))}parseIntegerHex(){if(isHexit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{let n=Integer(this.state.buf);if(n.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(n)}}}parseIntegerOct(){if(isOctit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{let n=Integer(this.state.buf);if(n.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(n)}}}parseIntegerBin(){if(isBit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{let n=Integer(this.state.buf);if(n.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(n)}}}parseDateTime(){if(this.state.buf.length<4)throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth)}parseDateMonth(){if(this.char===CHAR_HYPHEN){if(this.state.buf.length<2)throw this.error(new TomlError("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay)}else if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}parseDateDay(){if(this.char===CHAR_T||this.char===CHAR_SP){if(this.state.buf.length<2)throw this.error(new TomlError("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour)}else{if(this.atEndOfWord())return this.returnNow(createDate(this.state.result+"-"+this.state.buf));if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow(createDate(this.state.result)):this.goto(this.parseTimeHour)}parseTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin)}else if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}parseTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else{if(this.state.buf.length===2&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);throw this.error(new TomlError("Incomplete datetime"))}}parseTimeSec(){if(isDigit(this.char)){if(this.consume(),this.state.buf.length===2)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction)}else throw this.error(new TomlError("Incomplete datetime"))}parseOnlyTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin)}else throw this.error(new TomlError("Incomplete time"))}parseOnlyTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else{if(this.state.buf.length===2&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);throw this.error(new TomlError("Incomplete time"))}}parseOnlyTimeSec(){if(isDigit(this.char)){if(this.consume(),this.state.buf.length===2)return this.next(this.parseOnlyTimeFractionMaybe)}else throw this.error(new TomlError("Incomplete time"))}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char===CHAR_PERIOD)this.state.buf="",this.next(this.parseOnlyTimeFraction);else return this.return(createTime(this.state.result))}parseOnlyTimeFraction(){if(isDigit(this.char))this.consume();else if(this.atEndOfWord()){if(this.state.buf.length===0)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow(createTime(this.state.result+"."+this.state.buf))}else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}parseTimeZoneOrFraction(){if(this.char===CHAR_PERIOD)this.consume(),this.next(this.parseDateTimeFraction);else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else{if(this.char===CHAR_Z)return this.consume(),this.return(createDateTime(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(createDateTimeFloat(this.state.result+this.state.buf));throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}parseDateTimeFraction(){if(isDigit(this.char))this.consume();else{if(this.state.buf.length===1)throw this.error(new TomlError("Expected digit in milliseconds"));if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else{if(this.char===CHAR_Z)return this.consume(),this.return(createDateTime(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(createDateTimeFloat(this.state.result+this.state.buf));throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}}parseTimeZoneHour(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep)}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"))}parseTimeZoneSep(){if(this.char===CHAR_COLON)this.consume(),this.next(this.parseTimeZoneMin);else throw this.error(new TomlError("Unexpected character in datetime, expected colon"))}parseTimeZoneMin(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.return(createDateTime(this.state.result+this.state.buf))}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"))}parseBoolean(){if(this.char===CHAR_t)return this.consume(),this.next(this.parseTrue_r);if(this.char===CHAR_f)return this.consume(),this.next(this.parseFalse_a)}parseTrue_r(){if(this.char===CHAR_r)return this.consume(),this.next(this.parseTrue_u);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseTrue_u(){if(this.char===CHAR_u)return this.consume(),this.next(this.parseTrue_e);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseTrue_e(){if(this.char===CHAR_e)return this.return(!0);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_a(){if(this.char===CHAR_a)return this.consume(),this.next(this.parseFalse_l);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_l(){if(this.char===CHAR_l)return this.consume(),this.next(this.parseFalse_s);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_s(){if(this.char===CHAR_s)return this.consume(),this.next(this.parseFalse_e);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_e(){if(this.char===CHAR_e)return this.return(!1);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseInlineList(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===t.END)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_NUM?this.call(this.parseComment):this.char===CHAR_RSQB?this.return(this.state.resultArr||InlineList()):this.callNow(this.parseValue,this.recordInlineListValue)}recordInlineListValue(n){if(this.state.resultArr){let i=this.state.resultArr[_contentType],s=tomlType(n);if(i!==s)throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${i} and ${s}`))}else this.state.resultArr=InlineList(tomlType(n));return isFloat(n)||isInteger(n)?this.state.resultArr.push(n.valueOf()):this.state.resultArr.push(n),this.goto(this.parseInlineListNext)}parseInlineListNext(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CHAR_COMMA)return this.next(this.parseInlineList);if(this.char===CHAR_RSQB)return this.goto(this.parseInlineList);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"))}parseInlineTable(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===t.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_RCUB?this.return(this.state.resultTable||InlineTable()):(this.state.resultTable||(this.state.resultTable=InlineTable()),this.callNow(this.parseAssign,this.recordInlineTableValue))}recordInlineTableValue(n){let i=this.state.resultTable,s=n.key.pop();for(let a of n.key){if(hasKey(i,a)&&(!isTable(i[a])||i[a][_declared]))throw this.error(new TomlError("Can't redefine existing key"));i=i[a]=i[a]||Table()}if(hasKey(i,s))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(n.value)||isFloat(n.value)?i[s]=n.value.valueOf():i[s]=n.value,this.goto(this.parseInlineTableNext)}parseInlineTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===t.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));if(this.char===CHAR_COMMA)return this.next(this.parseInlineTable);if(this.char===CHAR_RCUB)return this.goto(this.parseInlineTable);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"))}}return e}o(makeParserClass,"makeParserClass")});var jy=m((n5e,k4)=>{"use strict";k4.exports=KFe;function KFe(t,e){if(t.pos==null||t.line==null)return t;let r=t.message;if(r+=` at row ${t.line+1}, col ${t.col+1}, pos ${t.pos}:
|
|
`,e&&e.split){let n=e.split(/\n/),i=String(Math.min(n.length,t.line+3)).length,s=" ";for(;s.length<i;)s+=" ";for(let a=Math.max(0,t.line-1);a<Math.min(n.length,t.line+2);++a){let c=String(a+1);if(c.length<i&&(c=" "+c),t.line===a){r+=c+"> "+n[a]+`
|
|
`,r+=s+" ";for(let l=0;l<t.col;++l)r+=" ";r+=`^
|
|
`}else r+=c+": "+n[a]+`
|
|
`}}return t.message=r+`
|
|
`,t}o(KFe,"prettyError")});var U4=m((s5e,L4)=>{"use strict";L4.exports=ZFe;var $Fe=zy(),XFe=jy();function ZFe(t){global.Buffer&&global.Buffer.isBuffer(t)&&(t=t.toString("utf8"));let e=new $Fe;try{return e.parse(t),e.finish()}catch(r){throw XFe(r,t)}}o(ZFe,"parseString")});var H4=m((a5e,q4)=>{"use strict";q4.exports=tqe;var eqe=zy(),F4=jy();function tqe(t,e){e||(e={});let r=0,n=e.blocksize||40960,i=new eqe;return new Promise((a,c)=>{setImmediate(s,r,n,a,c)});function s(a,c,l,A){if(a>=t.length)try{return l(i.finish())}catch(u){return A(F4(u,t))}try{i.parse(t.slice(a,a+c)),setImmediate(s,a+c,c,l,A)}catch(u){A(F4(u,t))}}}o(tqe,"parseAsync")});var G4=m((l5e,j4)=>{"use strict";j4.exports=nqe;var rqe=require("stream"),z4=zy();function nqe(t){return t?iqe(t):sqe(t)}o(nqe,"parseStream");function iqe(t){let e=new z4;return t.setEncoding("utf8"),new Promise((r,n)=>{let i,s=!1,a=!1;function c(){if(s=!0,!i)try{r(e.finish())}catch(u){n(u)}}o(c,"finish");function l(u){a=!0,n(u)}o(l,"error"),t.once("end",c),t.once("error",l),A();function A(){i=!0;let u;for(;(u=t.read())!==null;)try{e.parse(u)}catch(d){return l(d)}if(i=!1,s)return c();a||t.once("readable",A)}o(A,"readNext")})}o(iqe,"parseReadable");function sqe(){let t=new z4;return new rqe.Transform({objectMode:!0,transform(e,r,n){try{t.parse(e.toString(r))}catch(i){this.emit("error",i)}n()},flush(e){try{this.push(t.finish())}catch(r){this.emit("error",r)}e()}})}o(sqe,"parseTransform")});var Y4=m((u5e,Zu)=>{"use strict";Zu.exports=U4();Zu.exports.async=H4();Zu.exports.stream=G4();Zu.exports.prettyError=jy()});var e8=m((d5e,XR)=>{"use strict";XR.exports=oqe;XR.exports.value=$R;function oqe(t){if(t===null)throw aa("null");if(t===void 0)throw aa("undefined");if(typeof t!="object")throw aa(typeof t);if(typeof t.toJSON=="function"&&(t=t.toJSON()),t==null)return null;let e=Tr(t);if(e!=="table")throw aa(e);return KR("","",t)}o(oqe,"stringify");function aa(t){return new Error("Can only stringify objects, not "+t)}o(aa,"typeError");function aqe(){return new Error("Array values can't have mixed types")}o(aqe,"arrayOneTypeError");function J4(t){return Object.keys(t).filter(e=>V4(t[e]))}o(J4,"getInlineKeys");function cqe(t){return Object.keys(t).filter(e=>!V4(t[e]))}o(cqe,"getComplexKeys");function Gy(t){let e=Array.isArray(t)?[]:Object.prototype.hasOwnProperty.call(t,"__proto__")?{["__proto__"]:void 0}:{};for(let r of Object.keys(t))t[r]&&typeof t[r].toJSON=="function"&&!("toISOString"in t[r])?e[r]=t[r].toJSON():e[r]=t[r];return e}o(Gy,"toJSON");function KR(t,e,r){r=Gy(r);var n,i;n=J4(r),i=cqe(r);var s=[],a=e||"";n.forEach(l=>{var A=Tr(r[l]);A!=="undefined"&&A!=="null"&&s.push(a+Yy(l)+" = "+$4(r[l],!0))}),s.length>0&&s.push("");var c=t&&n.length>0?e+" ":"";return i.forEach(l=>{s.push(Cqe(t,c,l,r[l]))}),s.join(`
|
|
`)}o(KR,"stringifyObject");function V4(t){switch(Tr(t)){case"undefined":case"null":case"integer":case"nan":case"float":case"boolean":case"string":case"datetime":return!0;case"array":return t.length===0||Tr(t[0])!=="table";case"table":return Object.keys(t).length===0;default:return!1}}o(V4,"isInline");function Tr(t){return t===void 0?"undefined":t===null?"null":typeof t=="bigint"||Number.isInteger(t)&&!Object.is(t,-0)?"integer":typeof t=="number"?"float":typeof t=="boolean"?"boolean":typeof t=="string"?"string":"toISOString"in t?isNaN(t)?"undefined":"datetime":Array.isArray(t)?"array":"table"}o(Tr,"tomlType");function Yy(t){var e=String(t);return/^[-A-Za-z0-9_]+$/.test(e)?e:W4(e)}o(Yy,"stringifyKey");function W4(t){return'"'+K4(t).replace(/"/g,'\\"')+'"'}o(W4,"stringifyBasicString");function lqe(t){return"'"+t+"'"}o(lqe,"stringifyLiteralString");function Aqe(t,e){for(;e.length<t;)e="0"+e;return e}o(Aqe,"numpad");function K4(t){return t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/([\u0000-\u001f\u007f])/,e=>"\\u"+Aqe(4,e.codePointAt(0).toString(16)))}o(K4,"escapeString");function uqe(t){let e=t.split(/\n/).map(r=>K4(r).replace(/"(?="")/g,'\\"')).join(`
|
|
`);return e.slice(-1)==='"'&&(e+=`\\
|
|
`),`"""
|
|
`+e+'"""'}o(uqe,"stringifyMultilineString");function $4(t,e){let r=Tr(t);return r==="string"&&(e&&/\n/.test(t)?r="string-multiline":!/[\b\t\n\f\r']/.test(t)&&/"/.test(t)&&(r="string-literal")),$R(t,r)}o($4,"stringifyAnyInline");function $R(t,e){switch(e||(e=Tr(t)),e){case"string-multiline":return uqe(t);case"string":return W4(t);case"string-literal":return lqe(t);case"integer":return X4(t);case"float":return dqe(t);case"boolean":return pqe(t);case"datetime":return hqe(t);case"array":return gqe(t.filter(r=>Tr(r)!=="null"&&Tr(r)!=="undefined"&&Tr(r)!=="nan"));case"table":return yqe(t);default:throw aa(e)}}o($R,"stringifyInline");function X4(t){return String(t).replace(/\B(?=(\d{3})+(?!\d))/g,"_")}o(X4,"stringifyInteger");function dqe(t){if(t===1/0)return"inf";if(t===-1/0)return"-inf";if(Object.is(t,NaN))return"nan";if(Object.is(t,-0))return"-0.0";var e=String(t).split("."),r=e[0],n=e[1]||0;return X4(r)+"."+n}o(dqe,"stringifyFloat");function pqe(t){return String(t)}o(pqe,"stringifyBoolean");function hqe(t){return t.toISOString()}o(hqe,"stringifyDatetime");function fqe(t){return t==="float"||t==="integer"}o(fqe,"isNumber");function mqe(t){var e=Tr(t[0]);return t.every(r=>Tr(r)===e)?e:t.every(r=>fqe(Tr(r)))?"float":"mixed"}o(mqe,"arrayType");function Z4(t){let e=mqe(t);if(e==="mixed")throw aqe();return e}o(Z4,"validateArray");function gqe(t){t=Gy(t);let e=Z4(t);var r="[",n=t.map(i=>$R(i,e));return n.join(", ").length>60||/\n/.test(n)?r+=`
|
|
`+n.join(`,
|
|
`)+`
|
|
`:r+=" "+n.join(", ")+(n.length>0?" ":""),r+"]"}o(gqe,"stringifyInlineArray");function yqe(t){t=Gy(t);var e=[];return Object.keys(t).forEach(r=>{e.push(Yy(r)+" = "+$4(t[r],!1))}),"{ "+e.join(", ")+(e.length>0?" ":"")+"}"}o(yqe,"stringifyInlineTable");function Cqe(t,e,r,n){var i=Tr(n);if(i==="array")return Eqe(t,e,r,n);if(i==="table")return Bqe(t,e,r,n);throw aa(i)}o(Cqe,"stringifyComplex");function Eqe(t,e,r,n){n=Gy(n),Z4(n);var i=Tr(n[0]);if(i!=="table")throw aa(i);var s=t+Yy(r),a="";return n.forEach(c=>{a.length>0&&(a+=`
|
|
`),a+=e+"[["+s+`]]
|
|
`,a+=KR(s+".",e,c)}),a}o(Eqe,"stringifyArrayOfTables");function Bqe(t,e,r,n){var i=t+Yy(r),s="";return J4(n).length>0&&(s+=e+"["+i+`]
|
|
`),s+KR(i+".",e,n)}o(Bqe,"stringifyComplexTable")});var t8=m(ZR=>{"use strict";ZR.parse=Y4();ZR.stringify=e8()});var s8=nd(Q4()),Jy=nd(Zt());var r8=nd(Zt()),Iqe=nd(t8());var n8=require("node:crypto");function i8(t){return`bun-${(0,n8.createHash)("sha1").update(t).digest("base64")}`}o(i8,"getCacheKey");(async()=>{let t=JSON.parse((0,Jy.getState)("cache"));if(t.cacheEnabled&&!t.cacheHit){let e=i8(t.url);try{await(0,s8.saveCache)([t.bunPath],e),process.exit(0)}catch{(0,Jy.warning)("Failed to save Bun to cache.")}}})();
|
|
/*! 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> *)
|
|
*/
|