setup-bun/dist/setup/index.js
2026-07-08 11:29:14 -07:00

144 lines
1.4 MiB
Generated

var a9=Object.create;var aA=Object.defineProperty;var c9=Object.getOwnPropertyDescriptor;var l9=Object.getOwnPropertyNames;var A9=Object.getPrototypeOf,u9=Object.prototype.hasOwnProperty;var o=(t,e)=>aA(t,"name",{value:e,configurable:!0});var vd=(t,e)=>()=>(t&&(e=t(t=0)),e);var g=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Pd=(t,e)=>{for(var r in e)aA(t,r,{get:e[r],enumerable:!0})},tv=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of l9(e))!u9.call(t,i)&&i!==r&&aA(t,i,{get:()=>e[i],enumerable:!(n=c9(e,i))||n.enumerable});return t};var Ji=(t,e,r)=>(r=t!=null?a9(A9(t)):{},tv(e||!t||!t.__esModule?aA(r,"default",{value:t,enumerable:!0}):r,t)),Zt=t=>tv(aA({},"__esModule",{value:!0}),t);var Td=g(Dd=>{"use strict";Object.defineProperty(Dd,"__esModule",{value:!0});Dd.toCommandValue=d9;Dd.toCommandProperties=p9;function d9(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(d9,"toCommandValue");function p9(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(p9,"toCommandProperties")});var sv=g(li=>{"use strict";var h9=li&&li.__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]}),f9=li&&li.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),m9=li&&li.__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"&&h9(r,e,n[i]);return f9(r,e),r}}();Object.defineProperty(li,"__esModule",{value:!0});li.issueCommand=iv;li.issue=y9;var g9=m9(require("os")),nv=Td();function iv(t,e,r){let n=new TC(t,e,r);process.stdout.write(n.toString()+g9.EOL)}o(iv,"issueCommand");function y9(t,e=""){iv(t,{},e)}o(y9,"issue");var rv="::",TC=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=rv+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}=${E9(i)}`)}}return e+=`${rv}${C9(this.message)}`,e}};function C9(t){return(0,nv.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(C9,"escapeData");function E9(t){return(0,nv.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(E9,"escapeProperty")});var cv=g(Ai=>{"use strict";var B9=Ai&&Ai.__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]}),I9=Ai&&Ai.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),MC=Ai&&Ai.__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"&&B9(r,e,n[i]);return I9(r,e),r}}();Object.defineProperty(Ai,"__esModule",{value:!0});Ai.issueFileCommand=Q9;Ai.prepareKeyValueMessage=w9;var b9=MC(require("crypto")),ov=MC(require("fs")),OC=MC(require("os")),av=Td();function Q9(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!ov.existsSync(r))throw new Error(`Missing file at path: ${r}`);ov.appendFileSync(r,`${(0,av.toCommandValue)(e)}${OC.EOL}`,{encoding:"utf8"})}o(Q9,"issueFileCommand");function w9(t,e){let r=`ghadelimiter_${b9.randomUUID()}`,n=(0,av.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}${OC.EOL}${n}${OC.EOL}${r}`}o(w9,"prepareKeyValueMessage")});var Av=g(Md=>{"use strict";Object.defineProperty(Md,"__esModule",{value:!0});Md.getProxyUrl=N9;Md.checkBypass=lv;function N9(t){let e=t.protocol==="https:";if(lv(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(N9,"getProxyUrl");function lv(t){if(!t.hostname)return!1;let e=t.hostname;if(x9(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(lv,"checkBypass");function x9(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(x9,"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 hv=g(Sa=>{"use strict";var VHe=require("net"),S9=require("tls"),kC=require("http"),uv=require("https"),R9=require("events"),WHe=require("assert"),_9=require("util");Sa.httpOverHttp=v9;Sa.httpsOverHttp=P9;Sa.httpOverHttps=D9;Sa.httpsOverHttps=T9;function v9(t){var e=new Vi(t);return e.request=kC.request,e}o(v9,"httpOverHttp");function P9(t){var e=new Vi(t);return e.request=kC.request,e.createSocket=dv,e.defaultPort=443,e}o(P9,"httpsOverHttp");function D9(t){var e=new Vi(t);return e.request=uv.request,e}o(D9,"httpOverHttps");function T9(t){var e=new Vi(t);return e.request=uv.request,e.createSocket=dv,e.defaultPort=443,e}o(T9,"httpsOverHttps");function Vi(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||kC.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,i,s,a){for(var c=pv(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(Vi,"TunnelingAgent");_9.inherits(Vi,R9.EventEmitter);Vi.prototype.addRequest=o(function(e,r,n,i){var s=this,a=LC({request:e},s.options,pv(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");Vi.prototype.createSocket=o(function(e,r){var n=this,i={};n.sockets.push(i);var s=LC({},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")),Is("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,m){process.nextTick(function(){A(d,f,m)})}o(l,"onUpgrade");function A(d,f,m){if(a.removeAllListeners(),f.removeAllListeners(),d.statusCode!==200){Is("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(m.length>0){Is("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 Is("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=f,r(f)}o(A,"onConnect");function u(d){a.removeAllListeners(),Is(`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");Vi.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 dv(t,e){var r=this;Vi.prototype.createSocket.call(r,t,function(n){var i=t.request.getHeader("host"),s=LC({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):t.host}),a=S9.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(dv,"createSecureSocket");function pv(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(pv,"toOptions");function LC(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(LC,"mergeOptions");var Is;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?Is=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"):Is=o(function(){},"debug");Sa.debug=Is});var mv=g((XHe,fv)=>{fv.exports=hv()});var nt=g((ZHe,gv)=>{gv.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 Pe=g((e2e,qv)=>{"use strict";var yv=Symbol.for("undici.error.UND_ERR"),At=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[yv]===!0}[yv]=!0},Cv=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),UC=class extends At{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[Cv]===!0}[Cv]=!0},Ev=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),FC=class extends At{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[Ev]===!0}[Ev]=!0},Bv=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),qC=class extends At{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[Bv]===!0}[Bv]=!0},Iv=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),HC=class extends At{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[Iv]===!0}[Iv]=!0},bv=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),zC=class extends At{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[bv]===!0}[bv]=!0},Qv=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),jC=class extends At{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[Qv]===!0}[Qv]=!0},wv=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),GC=class extends At{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[wv]===!0}[wv]=!0},Nv=Symbol.for("undici.error.UND_ERR_ABORT"),kd=class extends At{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[Nv]===!0}[Nv]=!0},xv=Symbol.for("undici.error.UND_ERR_ABORTED"),YC=class extends kd{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[xv]===!0}[xv]=!0},Sv=Symbol.for("undici.error.UND_ERR_INFO"),JC=class extends At{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[Sv]===!0}[Sv]=!0},Rv=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),VC=class extends At{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[Rv]===!0}[Rv]=!0},_v=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),WC=class extends At{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[_v]===!0}[_v]=!0},vv=Symbol.for("undici.error.UND_ERR_DESTROYED"),$C=class extends At{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[vv]===!0}[vv]=!0},Pv=Symbol.for("undici.error.UND_ERR_CLOSED"),KC=class extends At{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[Pv]===!0}[Pv]=!0},Dv=Symbol.for("undici.error.UND_ERR_SOCKET"),XC=class extends At{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[Dv]===!0}[Dv]=!0},Tv=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),ZC=class extends At{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[Tv]===!0}[Tv]=!0},Ov=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),eE=class extends At{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[Ov]===!0}[Ov]=!0},Mv=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),tE=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[Mv]===!0}[Mv]=!0},kv=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),rE=class extends At{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[kv]===!0}[kv]=!0},Lv=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),nE=class extends At{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[Lv]===!0}[Lv]=!0},Uv=Symbol.for("undici.error.UND_ERR_RESPONSE"),iE=class extends At{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[Uv]===!0}[Uv]=!0},Fv=Symbol.for("undici.error.UND_ERR_PRX_TLS"),sE=class extends At{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[Fv]===!0}[Fv]=!0};qv.exports={AbortError:kd,HTTPParserError:tE,UndiciError:At,HeadersTimeoutError:FC,HeadersOverflowError:qC,BodyTimeoutError:HC,RequestContentLengthMismatchError:VC,ConnectTimeoutError:UC,ResponseStatusCodeError:zC,InvalidArgumentError:jC,InvalidReturnValueError:GC,RequestAbortedError:YC,ClientDestroyedError:$C,ClientClosedError:KC,InformationalError:JC,SocketError:XC,NotSupportedError:ZC,ResponseContentLengthMismatchError:WC,BalancedPoolMissingUpstreamError:eE,ResponseExceededMaxSizeError:rE,RequestRetryError:nE,ResponseError:iE,SecureProxyConnectionError:sE}});var Ud=g((r2e,Hv)=>{"use strict";var Ld={},oE=["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<oE.length;++t){let e=oE[t],r=e.toLowerCase();Ld[e]=Ld[r]=r}Object.setPrototypeOf(Ld,null);Hv.exports={wellknownHeaderNames:oE,headerNameLowerCasedRecord:Ld}});var Yv=g((n2e,Gv)=>{"use strict";var{wellknownHeaderNames:zv,headerNameLowerCasedRecord:O9}=Ud(),aE=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}},Fd=class{static{o(this,"TernarySearchTree")}node=null;insert(e,r){this.node===null?this.node=new aE(e,r,0):this.node.add(e,r)}lookup(e){return this.node?.search(e)?.value??null}},jv=new Fd;for(let t=0;t<zv.length;++t){let e=O9[zv[t]];jv.insert(e,e)}Gv.exports={TernarySearchTree:Fd,tree:jv}});var Ee=g((s2e,cP)=>{"use strict";var cA=require("node:assert"),{kDestroyed:Vv,kBodyUsed:Ra,kListeners:cE,kBody:Jv}=nt(),{IncomingMessage:M9}=require("node:http"),zd=require("node:stream"),k9=require("node:net"),{Blob:L9}=require("node:buffer"),U9=require("node:util"),{stringify:F9}=require("node:querystring"),{EventEmitter:q9}=require("node:events"),{InvalidArgumentError:qt}=Pe(),{headerNameLowerCasedRecord:H9}=Ud(),{tree:Wv}=Yv(),[z9,j9]=process.versions.node.split(".").map(t=>Number(t)),Hd=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[Jv]=e,this[Ra]=!1}async*[Symbol.asyncIterator](){cA(!this[Ra],"disturbed"),this[Ra]=!0,yield*this[Jv]}};function G9(t){return jd(t)?(eP(t)===0&&t.on("data",function(){cA(!1)}),typeof t.readableDidRead!="boolean"&&(t[Ra]=!1,q9.prototype.on.call(t,"data",function(){this[Ra]=!0})),t):t&&typeof t.pipeTo=="function"?new Hd(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&Zv(t)?new Hd(t):t}o(G9,"wrapRequestBody");function Y9(){}o(Y9,"nop");function jd(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(jd,"isStream");function $v(t){if(t===null)return!1;if(t instanceof L9)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($v,"isBlobLike");function J9(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=F9(e);return r&&(t+="?"+r),t}o(J9,"buildURL");function Kv(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(Kv,"isValidPort");function qd(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(qd,"isHttpOrHttpsPrefixed");function Xv(t){if(typeof t=="string"){if(t=new URL(t),!qd(t.origin||t.protocol))throw new qt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new qt("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&Kv(t.port)===!1)throw new qt("Invalid URL: port must be a valid integer or a string representation of an integer.");if(t.path!=null&&typeof t.path!="string")throw new qt("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new qt("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new qt("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new qt("Invalid URL origin: the origin must be a string or null/undefined.");if(!qd(t.origin||t.protocol))throw new qt("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,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(!qd(t.origin||t.protocol))throw new qt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(Xv,"parseURL");function V9(t){if(t=Xv(t),t.pathname!=="/"||t.search||t.hash)throw new qt("invalid url");return t}o(V9,"parseOrigin");function W9(t){if(t[0]==="["){let r=t.indexOf("]");return cA(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(W9,"getHostname");function $9(t){if(!t)return null;cA(typeof t=="string");let e=W9(t);return k9.isIP(e)?"":e}o($9,"getServerName");function K9(t){return JSON.parse(JSON.stringify(t))}o(K9,"deepClone");function X9(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(X9,"isAsyncIterable");function Zv(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(Zv,"isIterable");function eP(t){if(t==null)return 0;if(jd(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if($v(t))return t.size!=null?t.size:null;if(nP(t))return t.byteLength}return null}o(eP,"bodyLength");function tP(t){return t&&!!(t.destroyed||t[Vv]||zd.isDestroyed?.(t))}o(tP,"isDestroyed");function Z9(t,e){t==null||!jd(t)||tP(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===M9&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[Vv]=!0))}o(Z9,"destroy");var eX=/timeout=(\d+)/;function tX(t){let e=t.toString().match(eX);return e?parseInt(e[1],10)*1e3:null}o(tX,"parseKeepAliveTimeout");function rP(t){return typeof t=="string"?H9[t]??t.toLowerCase():Wv.lookup(t)??t.toString("latin1").toLowerCase()}o(rP,"headerNameToString");function rX(t){return Wv.lookup(t)??t.toString("latin1").toLowerCase()}o(rX,"bufferToLowerCasedHeaderName");function nX(t,e){e===void 0&&(e={});for(let r=0;r<t.length;r+=2){let n=rP(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(nX,"parseHeaders");function iX(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(iX,"parseRawHeaders");function nP(t){return t instanceof Uint8Array||Buffer.isBuffer(t)}o(nP,"isBuffer");function sX(t,e,r){if(!t||typeof t!="object")throw new qt("handler must be an object");if(typeof t.onConnect!="function")throw new qt("invalid onConnect method");if(typeof t.onError!="function")throw new qt("invalid onError method");if(typeof t.onBodySent!="function"&&t.onBodySent!==void 0)throw new qt("invalid onBodySent method");if(r||e==="CONNECT"){if(typeof t.onUpgrade!="function")throw new qt("invalid onUpgrade method")}else{if(typeof t.onHeaders!="function")throw new qt("invalid onHeaders method");if(typeof t.onData!="function")throw new qt("invalid onData method");if(typeof t.onComplete!="function")throw new qt("invalid onComplete method")}}o(sX,"validateHandler");function oX(t){return!!(t&&(zd.isDisturbed(t)||t[Ra]))}o(oX,"isDisturbed");function aX(t){return!!(t&&zd.isErrored(t))}o(aX,"isErrored");function cX(t){return!!(t&&zd.isReadable(t))}o(cX,"isReadable");function lX(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(lX,"getSocketInfo");function AX(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(AX,"ReadableStreamFrom");function uX(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(uX,"isFormDataLike");function dX(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(dX,"addAbortListener");var pX=typeof String.prototype.toWellFormed=="function",hX=typeof String.prototype.isWellFormed=="function";function iP(t){return pX?`${t}`.toWellFormed():U9.toUSVString(t)}o(iP,"toUSVString");function fX(t){return hX?`${t}`.isWellFormed():iP(t)===`${t}`}o(fX,"isUSVString");function sP(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(sP,"isTokenCharCode");function mX(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e)if(!sP(t.charCodeAt(e)))return!1;return!0}o(mX,"isValidHTTPToken");var gX=/[^\t\x20-\x7e\x80-\xff]/;function yX(t){return!gX.test(t)}o(yX,"isValidHeaderValue");function CX(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(CX,"parseRangeHeader");function EX(t,e,r){return(t[cE]??=[]).push([e,r]),t.on(e,r),t}o(EX,"addListener");function BX(t){for(let[e,r]of t[cE]??[])t.removeListener(e,r);t[cE]=null}o(BX,"removeAllListeners");function IX(t,e,r){try{e.onError(r),cA(e.aborted)}catch(n){t.emit("error",n)}}o(IX,"errorRequest");var oP=Object.create(null);oP.enumerable=!0;var lE={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"},aP={...lE,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(lE,null);Object.setPrototypeOf(aP,null);cP.exports={kEnumerableProperty:oP,nop:Y9,isDisturbed:oX,isErrored:aX,isReadable:cX,toUSVString:iP,isUSVString:fX,isBlobLike:$v,parseOrigin:V9,parseURL:Xv,getServerName:$9,isStream:jd,isIterable:Zv,isAsyncIterable:X9,isDestroyed:tP,headerNameToString:rP,bufferToLowerCasedHeaderName:rX,addListener:EX,removeAllListeners:BX,errorRequest:IX,parseRawHeaders:iX,parseHeaders:nX,parseKeepAliveTimeout:tX,destroy:Z9,bodyLength:eP,deepClone:K9,ReadableStreamFrom:AX,isBuffer:nP,validateHandler:sX,getSocketInfo:lX,isFormDataLike:uX,buildURL:J9,addAbortListener:dX,isValidHTTPToken:mX,isValidHeaderValue:yX,isTokenCharCode:sP,parseRangeHeader:CX,normalizedMethodRecordsBase:lE,normalizedMethodRecords:aP,isValidPort:Kv,isHttpOrHttpsPrefixed:qd,nodeMajor:z9,nodeMinor:j9,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"],wrapRequestBody:G9}});var _a=g((a2e,AP)=>{"use strict";var Me=require("node:diagnostics_channel"),uE=require("node:util"),Gd=uE.debuglog("undici"),AE=uE.debuglog("fetch"),Io=uE.debuglog("websocket"),lP=!1,bX={beforeConnect:Me.channel("undici:client:beforeConnect"),connected:Me.channel("undici:client:connected"),connectError:Me.channel("undici:client:connectError"),sendHeaders:Me.channel("undici:client:sendHeaders"),create:Me.channel("undici:request:create"),bodySent:Me.channel("undici:request:bodySent"),headers:Me.channel("undici:request:headers"),trailers:Me.channel("undici:request:trailers"),error:Me.channel("undici:request:error"),open:Me.channel("undici:websocket:open"),close:Me.channel("undici:websocket:close"),socketError:Me.channel("undici:websocket:socket_error"),ping:Me.channel("undici:websocket:ping"),pong:Me.channel("undici:websocket:pong")};if(Gd.enabled||AE.enabled){let t=AE.enabled?AE:Gd;Me.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)}),Me.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)}),Me.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)}),Me.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)}),Me.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)}),Me.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)}),Me.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)}),lP=!0}if(Io.enabled){if(!lP){let t=Gd.enabled?Gd:Io;Me.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)}),Me.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)}),Me.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)}),Me.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)})}Me.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;Io("connection opened %s%s",e,r?`:${r}`:"")}),Me.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;Io("closed connection to %s - %s %s",e.url,r,n)}),Me.channel("undici:websocket:socket_error").subscribe(t=>{Io("connection errored - %s",t.message)}),Me.channel("undici:websocket:ping").subscribe(t=>{Io("ping received")}),Me.channel("undici:websocket:pong").subscribe(t=>{Io("pong received")})}AP.exports={channels:bX}});var fP=g((c2e,hP)=>{"use strict";var{InvalidArgumentError:ut,NotSupportedError:QX}=Pe(),Wi=require("node:assert"),{isValidHTTPToken:pP,isValidHeaderValue:uP,isStream:wX,destroy:NX,isBuffer:xX,isFormDataLike:SX,isIterable:RX,isBlobLike:_X,buildURL:vX,validateHandler:PX,getServerName:DX,normalizedMethodRecords:TX}=Ee(),{channels:ui}=_a(),{headerNameLowerCasedRecord:dP}=Ud(),OX=/[^\u0021-\u00ff]/,dn=Symbol("handler"),dE=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:m,expectContinue:C,servername:Q},S){if(typeof r!="string")throw new ut("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new ut("path must be an absolute URL or start with a slash");if(OX.test(r))throw new ut("invalid request path");if(typeof n!="string")throw new ut("method must be a string");if(TX[n]===void 0&&!pP(n))throw new ut("invalid request method");if(A&&typeof A!="string")throw new ut("upgrade must be a string");if(u!=null&&(!Number.isFinite(u)||u<0))throw new ut("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new ut("invalid bodyTimeout");if(f!=null&&typeof f!="boolean")throw new ut("invalid reset");if(C!=null&&typeof C!="boolean")throw new ut("invalid expectContinue");if(this.headersTimeout=u,this.bodyTimeout=d,this.throwOnError=m===!0,this.method=n,this.abort=null,i==null)this.body=null;else if(wX(i)){this.body=i;let w=this.body._readableState;(!w||!w.autoDestroy)&&(this.endHandler=o(function(){NX(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(xX(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(SX(i)||RX(i)||_X(i))this.body=i;else throw new ut("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?vX(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 ut("headers array must be even");for(let w=0;w<s.length;w+=2)Yd(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 ut("headers must be in key-value pair format");Yd(this,w[0],w[1])}else{let w=Object.keys(s);for(let R=0;R<w.length;++R)Yd(this,w[R],s[w[R]])}else if(s!=null)throw new ut("headers must be an object or an array");PX(S,n,A),this.servername=Q||DX(this.host),this[dn]=S,ui.create.hasSubscribers&&ui.create.publish({request:this})}onBodySent(e){if(this[dn].onBodySent)try{return this[dn].onBodySent(e)}catch(r){this.abort(r)}}onRequestSent(){if(ui.bodySent.hasSubscribers&&ui.bodySent.publish({request:this}),this[dn].onRequestSent)try{return this[dn].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(Wi(!this.aborted),Wi(!this.completed),this.error)e(this.error);else return this.abort=e,this[dn].onConnect(e)}onResponseStarted(){return this[dn].onResponseStarted?.()}onHeaders(e,r,n,i){Wi(!this.aborted),Wi(!this.completed),ui.headers.hasSubscribers&&ui.headers.publish({request:this,response:{statusCode:e,headers:r,statusText:i}});try{return this[dn].onHeaders(e,r,n,i)}catch(s){this.abort(s)}}onData(e){Wi(!this.aborted),Wi(!this.completed);try{return this[dn].onData(e)}catch(r){return this.abort(r),!1}}onUpgrade(e,r,n){return Wi(!this.aborted),Wi(!this.completed),this[dn].onUpgrade(e,r,n)}onComplete(e){this.onFinally(),Wi(!this.aborted),this.completed=!0,ui.trailers.hasSubscribers&&ui.trailers.publish({request:this,trailers:e});try{return this[dn].onComplete(e)}catch(r){this.onError(r)}}onError(e){if(this.onFinally(),ui.error.hasSubscribers&&ui.error.publish({request:this,error:e}),!this.aborted)return this.aborted=!0,this[dn].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 Yd(this,e,r),this}};function Yd(t,e,r){if(r&&typeof r=="object"&&!Array.isArray(r))throw new ut(`invalid ${e} header`);if(r===void 0)return;let n=dP[e];if(n===void 0&&(n=e.toLowerCase(),dP[n]===void 0&&!pP(n)))throw new ut("invalid header key");if(Array.isArray(r)){let i=[];for(let s=0;s<r.length;s++)if(typeof r[s]=="string"){if(!uP(r[s]))throw new ut(`invalid ${e} header`);i.push(r[s])}else if(r[s]===null)i.push("");else{if(typeof r[s]=="object")throw new ut(`invalid ${e} header`);i.push(`${r[s]}`)}r=i}else if(typeof r=="string"){if(!uP(r))throw new ut(`invalid ${e} header`)}else r===null?r="":r=`${r}`;if(t.host===null&&n==="host"){if(typeof r!="string")throw new ut("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 ut("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 ut(`invalid ${n} header`);if(n==="connection"){let i=typeof r=="string"?r.toLowerCase():null;if(i!=="close"&&i!=="keep-alive")throw new ut("invalid connection header");i==="close"&&(t.reset=!0)}else{if(n==="expect")throw new QX("expect header not supported");t.headers.push(e,r)}}}o(Yd,"processHeader");hP.exports=dE});var lA=g((A2e,mP)=>{"use strict";var MX=require("node:events"),Jd=class extends MX{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 pE(this,n)}},pE=class extends Jd{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)}};mP.exports=Jd});var Ta=g((d2e,gP)=>{"use strict";var kX=lA(),{ClientDestroyedError:hE,ClientClosedError:LX,InvalidArgumentError:va}=Pe(),{kDestroy:UX,kClose:FX,kClosed:AA,kDestroyed:Pa,kDispatch:fE,kInterceptors:bo}=nt(),$i=Symbol("onDestroyed"),Da=Symbol("onClosed"),Vd=Symbol("Intercepted Dispatch"),mE=class extends kX{static{o(this,"DispatcherBase")}constructor(){super(),this[Pa]=!1,this[$i]=null,this[AA]=!1,this[Da]=[]}get destroyed(){return this[Pa]}get closed(){return this[AA]}get interceptors(){return this[bo]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[bo][r]!="function")throw new va("interceptor must be an function")}this[bo]=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 va("invalid callback");if(this[Pa]){queueMicrotask(()=>e(new hE,null));return}if(this[AA]){this[Da]?this[Da].push(e):queueMicrotask(()=>e(null,null));return}this[AA]=!0,this[Da].push(e);let r=o(()=>{let n=this[Da];this[Da]=null;for(let i=0;i<n.length;i++)n[i](null,null)},"onClosed");this[FX]().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 va("invalid callback");if(this[Pa]){this[$i]?this[$i].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new hE),this[Pa]=!0,this[$i]=this[$i]||[],this[$i].push(r);let n=o(()=>{let i=this[$i];this[$i]=null;for(let s=0;s<i.length;s++)i[s](null,null)},"onDestroyed");this[UX](e).then(()=>{queueMicrotask(n)})}[Vd](e,r){if(!this[bo]||this[bo].length===0)return this[Vd]=this[fE],this[fE](e,r);let n=this[fE].bind(this);for(let i=this[bo].length-1;i>=0;i--)n=this[bo][i](n);return this[Vd]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new va("handler must be an object");try{if(!e||typeof e!="object")throw new va("opts must be an object.");if(this[Pa]||this[$i])throw new hE;if(this[AA])throw new LX;return this[Vd](e,r)}catch(n){if(typeof r.onError!="function")throw new va("invalid onError method");return r.onError(n),!1}}};gP.exports=mE});var bE=g((h2e,BP)=>{"use strict";var Oa=0,gE=1e3,yE=(gE>>1)-1,Ki,CE=Symbol("kFastTimer"),Xi=[],EE=-2,BE=-1,CP=0,yP=1;function IE(){Oa+=yE;let t=0,e=Xi.length;for(;t<e;){let r=Xi[t];r._state===CP?(r._idleStart=Oa-yE,r._state=yP):r._state===yP&&Oa>=r._idleStart+r._idleTimeout&&(r._state=BE,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===BE?(r._state=EE,--e!==0&&(Xi[t]=Xi[e])):++t}Xi.length=e,Xi.length!==0&&EP()}o(IE,"onTick");function EP(){Ki?Ki.refresh():(clearTimeout(Ki),Ki=setTimeout(IE,yE),Ki.unref&&Ki.unref())}o(EP,"refreshTimeout");var Wd=class{static{o(this,"FastTimer")}[CE]=!0;_state=EE;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===EE&&Xi.push(this),(!Ki||Xi.length===1)&&EP(),this._state=CP}clear(){this._state=BE,this._idleStart=-1}};BP.exports={setTimeout(t,e,r){return e<=gE?setTimeout(t,e,r):new Wd(t,e,r)},clearTimeout(t){t[CE]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new Wd(t,e,r)},clearFastTimeout(t){t.clear()},now(){return Oa},tick(t=0){Oa+=t-gE+1,IE(),IE()},reset(){Oa=0,Xi.length=0,clearTimeout(Ki),Ki=null},kFastTimer:CE}});var uA=g((y2e,NP)=>{"use strict";var qX=require("node:net"),IP=require("node:assert"),wP=Ee(),{InvalidArgumentError:HX,ConnectTimeoutError:zX}=Pe(),$d=bE();function bP(){}o(bP,"noop");var QE,wE;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?wE=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))}}:wE=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 jX({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:i,...s}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new HX("maxCachedSessions must be a positive integer or zero");let a={path:r,...s},c=new wE(e??100);return n=n??1e4,t=t??!1,o(function({hostname:A,host:u,protocol:d,port:f,servername:m,localAddress:C,httpSocket:Q},S){let w;if(d==="https:"){QE||(QE=require("node:tls")),m=m||a.servername||wP.getServerName(u)||null;let T=m||A;IP(T);let L=i||c.get(T)||null;f=f||443,w=QE.connect({highWaterMark:16384,...a,servername:m,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 IP(!Q,"httpSocket can only be sent on TLS update"),f=f||80,w=qX.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=GX(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(jX,"buildConnector");var GX=process.platform==="win32"?(t,e)=>{if(!e.timeout)return bP;let r=null,n=null,i=$d.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>QP(t.deref(),e))})},e.timeout);return()=>{$d.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return bP;let r=null,n=$d.setFastTimeout(()=>{r=setImmediate(()=>{QP(t.deref(),e)})},e.timeout);return()=>{$d.clearFastTimeout(n),clearImmediate(r)}};function QP(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)`,wP.destroy(t,new zX(r))}o(QP,"onConnectTimeout");NP.exports=jX});var xP=g(Kd=>{"use strict";Object.defineProperty(Kd,"__esModule",{value:!0});Kd.enumToMap=void 0;function YX(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}o(YX,"enumToMap");Kd.enumToMap=YX});var SP=g(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 JX=xP(),VX;(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"})(VX=j.ERROR||(j.ERROR={}));var WX;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(WX=j.TYPE||(j.TYPE={}));var $X;(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"})($X=j.FLAGS||(j.FLAGS={}));var KX;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(KX=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=JX.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 XX;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(XX=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 Ma;(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"})(Ma=j.HEADER_STATE||(j.HEADER_STATE={}));j.SPECIAL_HEADERS={connection:Ma.CONNECTION,"content-length":Ma.CONTENT_LENGTH,"proxy-connection":Ma.CONNECTION,"transfer-encoding":Ma.TRANSFER_ENCODING,upgrade:Ma.UPGRADE}});var NE=g((b2e,RP)=>{"use strict";var{Buffer:ZX}=require("node:buffer");RP.exports=ZX.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQ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JB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2Ag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ohASACLQAtQQFxRQ3QAQtBFyEDDMECCyABIARHDcsBQdIAIQMM2QILQdMAIQMgASAERg3YAiACKAIAIgAgBCABa2ohBiABIABrQQFqIQUDQCABLQAAIABB1sIAai0AAEcNxwEgAEEBRg3KASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBjYCAAzYAgsgASAERgRAQdUAIQMM2AILIAEtAABBCkcNwgEgAUEBaiEBDMoBCyABIARGBEBB1gAhAwzXAgsCQAJAIAEtAABBCmsOBADDAcMBAcMBCyABQQFqIQEMygELIAFBAWohAUHKACEDDL0CC0EAIQACQCACKAI4IgNFDQAgAygCPCIDRQ0AIAIgAxEAACEACyAADb8BQc0AIQMMvAILIAItAClBIkYNzwIMiQELIAQgASIFRgRAQdsAIQMM1AILQQAhAEEBIQFBASEGQQAhAwJAAn8CQAJAAkACQAJAAkACQCAFLQAAQTBrDgrFAcQBAAECAwQFBgjDAQtBAgwGC0EDDAULQQQMBAtBBQwDC0EGDAILQQcMAQtBCAshA0EAIQFBACEGDL0BC0EJIQNBASEAQQAhAUEAIQYMvAELIAEgBEYEQEHdACEDDNMCCyABLQAAQS5HDbgBIAFBAWohAQyIAQsgASAERw22AUHfACEDDNECCyABIARHBEAgAkEONgIIIAIgATYCBEHQACEDDLgCC0HgACEDDNACC0HhACEDIAEgBEYNzwIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGA0AgAS0AACAAQeLCAGotAABHDbEBIABBA0YNswEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMzwILQeIAIQMgASAERg3OAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYDQCABLQAAIABB5sIAai0AAEcNsAEgAEECRg2vASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAzOAgtB4wAhAyABIARGDc0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgNAIAEtAAAgAEHpwgBqLQAARw2vASAAQQNGDa0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADM0CCyABIARGB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gQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACI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EBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var dA=g((w2e,UP)=>{"use strict";var PP=["GET","HEAD","POST"],t6=new Set(PP),r6=[101,204,205,304],DP=[301,302,303,307,308],n6=new Set(DP),TP=["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"],i6=new Set(TP),OP=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],s6=new Set(OP),o6=["follow","manual","error"],MP=["GET","HEAD","OPTIONS","TRACE"],a6=new Set(MP),c6=["navigate","same-origin","no-cors","cors"],l6=["omit","same-origin","include"],A6=["default","no-store","reload","no-cache","force-cache","only-if-cached"],u6=["content-encoding","content-language","content-location","content-type","content-length"],d6=["half"],kP=["CONNECT","TRACE","TRACK"],p6=new Set(kP),LP=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],h6=new Set(LP);UP.exports={subresource:LP,forbiddenMethods:kP,requestBodyHeader:u6,referrerPolicy:OP,requestRedirect:o6,requestMode:c6,requestCredentials:l6,requestCache:A6,redirectStatus:DP,corsSafeListedMethods:PP,nullBodyStatus:r6,safeMethods:MP,badPorts:TP,requestDuplex:d6,subresourceSet:h6,badPortsSet:i6,redirectStatusSet:n6,corsSafeListedMethodsSet:t6,safeMethodsSet:a6,forbiddenMethodsSet:p6,referrerPolicySet:s6}});var SE=g((N2e,FP)=>{"use strict";var xE=Symbol.for("undici.globalOrigin.1");function f6(){return globalThis[xE]}o(f6,"getGlobalOrigin");function m6(t){if(t===void 0){Object.defineProperty(globalThis,xE,{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,xE,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(m6,"setGlobalOrigin");FP.exports={getGlobalOrigin:f6,setGlobalOrigin:m6}});var Br=g((S2e,JP)=>{"use strict";var Zd=require("node:assert"),g6=new TextEncoder,pA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,y6=/[\u000A\u000D\u0009\u0020]/,C6=/[\u0009\u000A\u000C\u000D\u0020]/g,E6=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function B6(t){Zd(t.protocol==="data:");let e=zP(t,!0);e=e.slice(5);let r={position:0},n=ka(",",e,r),i=n.length;if(n=x6(n,!0,!0),r.position>=e.length)return"failure";r.position++;let s=e.slice(i+1),a=jP(s);if(/;(\u0020){0,}base64$/i.test(n)){let l=YP(a);if(a=b6(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=RE(n);return c==="failure"&&(c=RE("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(B6,"dataURLProcessor");function zP(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(zP,"URLSerializer");function ep(t,e,r){let n="";for(;r.position<e.length&&t(e[r.position]);)n+=e[r.position],r.position++;return n}o(ep,"collectASequenceOfCodePoints");function ka(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(ka,"collectASequenceOfCodePointsFast");function jP(t){let e=g6.encode(t);return I6(e)}o(jP,"stringPercentDecode");function qP(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(qP,"isHexCharByte");function HP(t){return t>=48&&t<=57?t-48:(t&223)-55}o(HP,"hexByteToNumber");function I6(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&&!(qP(t[i+1])&&qP(t[i+2]))?r[n++]=37:(r[n++]=HP(t[i+1])<<4|HP(t[i+2]),i+=2)}return e===n?r:r.subarray(0,n)}o(I6,"percentDecode");function RE(t){t=Xd(t,!0,!0);let e={position:0},r=ka("/",t,e);if(r.length===0||!pA.test(r)||e.position>t.length)return"failure";e.position++;let n=ka(";",t,e);if(n=Xd(n,!1,!0),n.length===0||!pA.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++,ep(A=>y6.test(A),t,e);let c=ep(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=GP(t,e,!0),ka(";",t,e);else if(l=ka(";",t,e),l=Xd(l,!1,!0),l.length===0)continue;c.length!==0&&pA.test(c)&&(l.length===0||E6.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(RE,"parseMIMEType");function b6(t){t=t.replace(C6,"");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(b6,"forgivingBase64");function GP(t,e,r){let n=e.position,i="";for(Zd(t[e.position]==='"'),e.position++;i+=ep(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{Zd(s==='"');break}}return r?i:t.slice(n,e.position)}o(GP,"collectAnHTTPQuotedString");function Q6(t){Zd(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[i,s]of e.entries())n+=";",n+=i,n+="=",pA.test(s)||(s=s.replace(/(\\|")/g,"\\$1"),s='"'+s,s+='"'),n+=s;return n}o(Q6,"serializeAMimeType");function w6(t){return t===13||t===10||t===9||t===32}o(w6,"isHTTPWhiteSpace");function Xd(t,e=!0,r=!0){return _E(t,e,r,w6)}o(Xd,"removeHTTPWhitespace");function N6(t){return t===13||t===10||t===9||t===12||t===32}o(N6,"isASCIIWhitespace");function x6(t,e=!0,r=!0){return _E(t,e,r,N6)}o(x6,"removeASCIIWhitespace");function _E(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(_E,"removeChars");function YP(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(YP,"isomorphicDecode");function S6(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(S6,"minimizeSupportedMimeType");JP.exports={dataURLProcessor:B6,URLSerializer:zP,collectASequenceOfCodePoints:ep,collectASequenceOfCodePointsFast:ka,stringPercentDecode:jP,parseMIMEType:RE,collectAnHTTPQuotedString:GP,serializeAMimeType:Q6,removeChars:_E,removeHTTPWhitespace:Xd,minimizeSupportedMimeType:S6,HTTP_TOKEN_CODEPOINTS:pA,isomorphicDecode:YP}});var $t=g((_2e,VP)=>{"use strict";var{types:di,inspect:R6}=require("node:util"),{markAsUncloneable:_6}=require("node:worker_threads"),{toUSVString:v6}=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=_6||(()=>{});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 R6(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(!di.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=v6;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"||!di.isAnyArrayBuffer(t))throw z.errors.conversionFailed({prefix:e,argument:`${r} ("${z.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&di.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"||!di.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&&di.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"||!di.isDataView(t))throw z.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&di.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(di.isAnyArrayBuffer(t))return z.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(di.isTypedArray(t))return z.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(di.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);VP.exports={webidl:z}});var Ur=g((v2e,cD)=>{"use strict";var{Transform:P6}=require("node:stream"),WP=require("node:zlib"),{redirectStatusSet:D6,referrerPolicySet:T6,badPortsSet:O6}=dA(),{getGlobalOrigin:$P}=SE(),{collectASequenceOfCodePoints:Qo,collectAnHTTPQuotedString:M6,removeChars:k6,parseMIMEType:L6}=Br(),{performance:U6}=require("node:perf_hooks"),{isBlobLike:F6,ReadableStreamFrom:q6,isValidHTTPToken:KP,normalizedMethodRecordsBase:H6}=Ee(),wo=require("node:assert"),{isUint8Array:z6}=require("node:util/types"),{webidl:hA}=$t(),XP=[],rp;try{rp=require("node:crypto");let t=["sha256","sha384","sha512"];XP=rp.getHashes().filter(e=>t.includes(e))}catch{}function ZP(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(ZP,"responseURL");function j6(t,e){if(!D6.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&tD(r)&&(eD(r)||(r=G6(r)),r=new URL(r,ZP(t))),r&&!r.hash&&(r.hash=e),r}o(j6,"responseLocationURL");function eD(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r>126||r<32)return!1}return!0}o(eD,"isValidEncodedURL");function G6(t){return Buffer.from(t,"binary").toString("utf8")}o(G6,"normalizeBinaryStringToUtf8");function mA(t){return t.urlList[t.urlList.length-1]}o(mA,"requestCurrentURL");function Y6(t){let e=mA(t);return oD(e)&&O6.has(e.port)?"blocked":"allowed"}o(Y6,"requestBadPort");function J6(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(J6,"isErrorLike");function V6(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(V6,"isValidReasonPhrase");var W6=KP;function tD(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(`
`)||t.includes("\r")||t.includes("\0"))===!1}o(tD,"isValidHeaderValue");function $6(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(T6.has(a)){i=a;break}}i!==""&&(t.referrerPolicy=i)}o($6,"setRequestReferrerPolicyOnRedirect");function K6(){return"allowed"}o(K6,"crossOriginResourcePolicyCheck");function X6(){return"success"}o(X6,"corsCheck");function Z6(){return"success"}o(Z6,"TAOCheck");function eZ(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(eZ,"appendFetchMetadata");function tZ(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&&PE(t.origin)&&!PE(mA(t))&&(e=null);break;case"same-origin":np(t,mA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(tZ,"appendRequestOriginHeader");function La(t,e){return t}o(La,"coarsenTime");function rZ(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:La(t.domainLookupStartTime,r),domainLookupEndTime:La(t.domainLookupEndTime,r),connectionStartTime:La(t.connectionStartTime,r),connectionEndTime:La(t.connectionEndTime,r),secureConnectionStartTime:La(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}o(rZ,"clampAndCoarsenConnectionTimingInfo");function nZ(t){return La(U6.now(),t)}o(nZ,"coarsenedSharedCurrentTime");function iZ(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(iZ,"createOpaqueTimingInfo");function rD(){return{referrerPolicy:"strict-origin-when-cross-origin"}}o(rD,"makePolicyContainer");function sZ(t){return{referrerPolicy:t.referrerPolicy}}o(sZ,"clonePolicyContainer");function oZ(t){let e=t.referrerPolicy;wo(e);let r=null;if(t.referrer==="client"){let c=$P();if(!c||c.origin==="null")return"no-referrer";r=new URL(c)}else t.referrer instanceof URL&&(r=t.referrer);let n=vE(r),i=vE(r,!0);n.toString().length>4096&&(n=i);let s=np(t,n),a=fA(n)&&!fA(t.url);switch(e){case"origin":return i??vE(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=mA(t);return np(n,c)?n:fA(n)&&!fA(c)?"no-referrer":i}case"strict-origin":case"no-referrer-when-downgrade":default:return a?"no-referrer":i}}o(oZ,"determineRequestsReferrer");function vE(t,e){return wo(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(vE,"stripURLForReferrer");function fA(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(fA,"isURLPotentiallyTrustworthy");function aZ(t,e){if(rp===void 0)return!0;let r=nD(e);if(r==="no metadata"||r.length===0)return!0;let n=lZ(r),i=AZ(r,n);for(let s of i){let a=s.algo,c=s.hash,l=rp.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)),uZ(l,c))return!0}return!1}o(aZ,"bytesMatch");var cZ=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function nD(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let i=cZ.exec(n);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let s=i.groups.algo.toLowerCase();XP.includes(s)&&e.push(i.groups)}return r===!0?"no metadata":e}o(nD,"parseMetadata");function lZ(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(lZ,"getStrongestMetadata");function AZ(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(AZ,"filterMetadataListByAlgorithm");function uZ(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(uZ,"compareBase64Mixed");function dZ(t){}o(dZ,"tryUpgradeRequestToAPotentiallyTrustworthyURL");function np(t,e){return t.origin===e.origin&&t.origin==="null"||t.protocol===e.protocol&&t.hostname===e.hostname&&t.port===e.port}o(np,"sameOrigin");function pZ(){let t,e;return{promise:new Promise((n,i)=>{t=n,e=i}),resolve:t,reject:e}}o(pZ,"createDeferredPromise");function hZ(t){return t.controller.state==="aborted"}o(hZ,"isAborted");function fZ(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(fZ,"isCancelled");function mZ(t){return H6[t.toLowerCase()]??t}o(mZ,"normalizeMethod");function gZ(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return wo(typeof e=="string"),e}o(gZ,"serializeJavascriptValueToJSONString");var yZ=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function iD(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,yZ),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(iD,"createIterator");function CZ(t,e,r,n=0,i=1){let s=iD(t,r,n,i),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return hA.brandCheck(this,e),s(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return hA.brandCheck(this,e),s(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return hA.brandCheck(this,e),s(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,A=globalThis){if(hA.brandCheck(this,e),hA.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof l!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:u,1:d}of 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(CZ,"iteratorMixin");async function EZ(t,e,r){let n=e,i=r,s;try{s=t.stream.getReader()}catch(a){i(a);return}try{n(await sD(s))}catch(a){i(a)}}o(EZ,"fullyReadBody");function BZ(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(BZ,"isReadableStreamLike");function IZ(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(IZ,"readableStreamClose");var bZ=/[^\x00-\xFF]/;function tp(t){return wo(!bZ.test(t)),t}o(tp,"isomorphicEncode");async function sD(t){let e=[],r=0;for(;;){let{done:n,value:i}=await t.read();if(n)return Buffer.concat(e,r);if(!z6(i))throw new TypeError("Received non-Uint8Array chunk");e.push(i),r+=i.length}}o(sD,"readAllBytes");function QZ(t){wo("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(QZ,"urlIsLocal");function PE(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(PE,"urlHasHttpsScheme");function oD(t){wo("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(oD,"urlIsHttpHttpsScheme");function wZ(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&Qo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&Qo(l=>l===" "||l===" ",r,n);let i=Qo(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),s=i.length?Number(i):null;if(e&&Qo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&Qo(l=>l===" "||l===" ",r,n);let a=Qo(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(wZ,"simpleRangeHeaderValue");function NZ(t,e,r){let n="bytes ";return n+=tp(`${t}`),n+="-",n+=tp(`${e}`),n+="/",n+=tp(`${r}`),n}o(NZ,"buildContentRange");var DE=class extends P6{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?WP.createInflate(this.#e):WP.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 xZ(t){return new DE(t)}o(xZ,"createInflate");function SZ(t){let e=null,r=null,n=null,i=aD("content-type",t);if(i===null)return"failure";for(let s of i){let a=L6(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(SZ,"extractMimeType");function RZ(t){let e=t,r={position:0},n=[],i="";for(;r.position<e.length;){if(i+=Qo(s=>s!=='"'&&s!==",",e,r),r.position<e.length)if(e.charCodeAt(r.position)===34){if(i+=M6(e,r),r.position<e.length)continue}else wo(e.charCodeAt(r.position)===44),r.position++;i=k6(i,!0,!0,s=>s===9||s===32),n.push(i),i=""}return n}o(RZ,"gettingDecodingSplitting");function aD(t,e){let r=e.get(t,!0);return r===null?null:RZ(r)}o(aD,"getDecodeSplit");var _Z=new TextDecoder;function vZ(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),_Z.decode(t))}o(vZ,"utf8DecodeBytes");var TE=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return $P()}get origin(){return this.baseUrl?.origin}policyContainer=rD()},OE=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new TE},PZ=new OE;cD.exports={isAborted:hZ,isCancelled:fZ,isValidEncodedURL:eD,createDeferredPromise:pZ,ReadableStreamFrom:q6,tryUpgradeRequestToAPotentiallyTrustworthyURL:dZ,clampAndCoarsenConnectionTimingInfo:rZ,coarsenedSharedCurrentTime:nZ,determineRequestsReferrer:oZ,makePolicyContainer:rD,clonePolicyContainer:sZ,appendFetchMetadata:eZ,appendRequestOriginHeader:tZ,TAOCheck:Z6,corsCheck:X6,crossOriginResourcePolicyCheck:K6,createOpaqueTimingInfo:iZ,setRequestReferrerPolicyOnRedirect:$6,isValidHTTPToken:KP,requestBadPort:Y6,requestCurrentURL:mA,responseURL:ZP,responseLocationURL:j6,isBlobLike:F6,isURLPotentiallyTrustworthy:fA,isValidReasonPhrase:V6,sameOrigin:np,normalizeMethod:mZ,serializeJavascriptValueToJSONString:gZ,iteratorMixin:CZ,createIterator:iD,isValidHeaderName:W6,isValidHeaderValue:tD,isErrorLike:J6,fullyReadBody:EZ,bytesMatch:aZ,isReadableStreamLike:BZ,readableStreamClose:IZ,isomorphicEncode:tp,urlIsLocal:QZ,urlHasHttpsScheme:PE,urlIsHttpHttpsScheme:oD,readAllBytes:sD,simpleRangeHeaderValue:wZ,buildContentRange:NZ,parseMetadata:nD,createInflate:xZ,extractMimeType:SZ,getDecodeSplit:aD,utf8DecodeBytes:vZ,environmentSettingsObject:PZ}});var bs=g((D2e,lD)=>{"use strict";lD.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var kE=g((T2e,AD)=>{"use strict";var{Blob:DZ,File:TZ}=require("node:buffer"),{kState:Zi}=bs(),{webidl:pi}=$t(),ME=class t{static{o(this,"FileLike")}constructor(e,r,n={}){let i=r,s=n.type,a=n.lastModified??Date.now();this[Zi]={blobLike:e,name:i,type:s,lastModified:a}}stream(...e){return pi.brandCheck(this,t),this[Zi].blobLike.stream(...e)}arrayBuffer(...e){return pi.brandCheck(this,t),this[Zi].blobLike.arrayBuffer(...e)}slice(...e){return pi.brandCheck(this,t),this[Zi].blobLike.slice(...e)}text(...e){return pi.brandCheck(this,t),this[Zi].blobLike.text(...e)}get size(){return pi.brandCheck(this,t),this[Zi].blobLike.size}get type(){return pi.brandCheck(this,t),this[Zi].blobLike.type}get name(){return pi.brandCheck(this,t),this[Zi].name}get lastModified(){return pi.brandCheck(this,t),this[Zi].lastModified}get[Symbol.toStringTag](){return"File"}};pi.converters.Blob=pi.interfaceConverter(DZ);function OZ(t){return t instanceof TZ||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(OZ,"isFileLike");AD.exports={FileLike:ME,isFileLike:OZ}});var yA=g((M2e,fD)=>{"use strict";var{isBlobLike:ip,iteratorMixin:MZ}=Ur(),{kState:dr}=bs(),{kEnumerableProperty:Ua}=Ee(),{FileLike:uD,isFileLike:kZ}=kE(),{webidl:Ve}=$t(),{File:hD}=require("node:buffer"),dD=require("node:util"),pD=globalThis.File??hD,gA=class t{static{o(this,"FormData")}constructor(e){if(Ve.util.markAsUncloneable(this),e!==void 0)throw Ve.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[dr]=[]}append(e,r,n=void 0){Ve.brandCheck(this,t);let i="FormData.append";if(Ve.argumentLengthCheck(arguments,2,i),arguments.length===3&&!ip(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Ve.converters.USVString(e,i,"name"),r=ip(r)?Ve.converters.Blob(r,i,"value",{strict:!1}):Ve.converters.USVString(r,i,"value"),n=arguments.length===3?Ve.converters.USVString(n,i,"filename"):void 0;let s=LE(e,r,n);this[dr].push(s)}delete(e){Ve.brandCheck(this,t);let r="FormData.delete";Ve.argumentLengthCheck(arguments,1,r),e=Ve.converters.USVString(e,r,"name"),this[dr]=this[dr].filter(n=>n.name!==e)}get(e){Ve.brandCheck(this,t);let r="FormData.get";Ve.argumentLengthCheck(arguments,1,r),e=Ve.converters.USVString(e,r,"name");let n=this[dr].findIndex(i=>i.name===e);return n===-1?null:this[dr][n].value}getAll(e){Ve.brandCheck(this,t);let r="FormData.getAll";return Ve.argumentLengthCheck(arguments,1,r),e=Ve.converters.USVString(e,r,"name"),this[dr].filter(n=>n.name===e).map(n=>n.value)}has(e){Ve.brandCheck(this,t);let r="FormData.has";return Ve.argumentLengthCheck(arguments,1,r),e=Ve.converters.USVString(e,r,"name"),this[dr].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){Ve.brandCheck(this,t);let i="FormData.set";if(Ve.argumentLengthCheck(arguments,2,i),arguments.length===3&&!ip(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Ve.converters.USVString(e,i,"name"),r=ip(r)?Ve.converters.Blob(r,i,"name",{strict:!1}):Ve.converters.USVString(r,i,"name"),n=arguments.length===3?Ve.converters.USVString(n,i,"name"):void 0;let s=LE(e,r,n),a=this[dr].findIndex(c=>c.name===e);a!==-1?this[dr]=[...this[dr].slice(0,a),s,...this[dr].slice(a+1).filter(c=>c.name!==e)]:this[dr].push(s)}[dD.inspect.custom](e,r){let n=this[dr].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=dD.formatWithOptions(r,n);return`FormData ${i.slice(i.indexOf("]")+2)}`}};MZ("FormData",gA,dr,"name","value");Object.defineProperties(gA.prototype,{append:Ua,delete:Ua,get:Ua,getAll:Ua,has:Ua,set:Ua,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function LE(t,e,r){if(typeof e!="string"){if(kZ(e)||(e=e instanceof Blob?new pD([e],"blob",{type:e.type}):new uD(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof hD?new pD([e],r,n):new uD(e,r,n)}}return{name:t,value:e}}o(LE,"makeEntry");fD.exports={FormData:gA,makeEntry:LE}});var BD=g((L2e,ED)=>{"use strict";var{isUSVString:mD,bufferToLowerCasedHeaderName:LZ}=Ee(),{utf8DecodeBytes:UZ}=Ur(),{HTTP_TOKEN_CODEPOINTS:FZ,isomorphicDecode:gD}=Br(),{isFileLike:qZ}=kE(),{makeEntry:HZ}=yA(),sp=require("node:assert"),{File:zZ}=require("node:buffer"),jZ=globalThis.File??zZ,GZ=Buffer.from('form-data; name="'),yD=Buffer.from("; filename"),YZ=Buffer.from("--"),JZ=Buffer.from(`--\r
`);function VZ(t){for(let e=0;e<t.length;++e)if(t.charCodeAt(e)&-128)return!1;return!0}o(VZ,"isAsciiString");function WZ(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(WZ,"validateBoundary");function $Z(t,e){sp(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&&op(t,YZ,s)||s.position===t.length-4&&op(t,JZ,s))return i;if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let c=KZ(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 m;A!==null?(u??="text/plain",VZ(u)||(u=""),m=new jZ([f],A,{type:u})):m=UZ(Buffer.from(f)),sp(mD(l)),sp(typeof m=="string"&&mD(m)||qZ(m)),i.push(HZ(l,m,A))}}o($Z,"multipartFormDataParser");function KZ(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=Fa(c=>c!==10&&c!==13&&c!==58,t,e);if(a=UE(a,!0,!0,c=>c===9||c===32),!FZ.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,Fa(c=>c===32||c===9,t,e),LZ(a)){case"content-disposition":{if(r=n=null,!op(t,GZ,e)||(e.position+=17,r=CD(t,e),r===null))return"failure";if(op(t,yD,e)){let c=e.position+yD.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=CD(t,e),n===null))return"failure"}break}case"content-type":{let c=Fa(l=>l!==10&&l!==13,t,e);c=UE(c,!1,!0,l=>l===9||l===32),i=gD(c);break}case"content-transfer-encoding":{let c=Fa(l=>l!==10&&l!==13,t,e);c=UE(c,!1,!0,l=>l===9||l===32),s=gD(c);break}default:Fa(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(KZ,"parseMultipartFormDataHeaders");function CD(t,e){sp(t[e.position-1]===34);let r=Fa(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(CD,"parseMultipartFormDataName");function Fa(t,e,r){let n=r.position;for(;n<e.length&&t(e[n]);)++n;return e.subarray(r.position,r.position=n)}o(Fa,"collectASequenceOfBytes");function UE(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(UE,"removeChars");function op(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(op,"bufferStartsWith");ED.exports={multipartFormDataParser:$Z,validateBoundary:WZ}});var za=g((F2e,vD)=>{"use strict";var CA=Ee(),{ReadableStreamFrom:XZ,isBlobLike:ID,isReadableStreamLike:ZZ,readableStreamClose:e7,createDeferredPromise:t7,fullyReadBody:r7,extractMimeType:n7,utf8DecodeBytes:wD}=Ur(),{FormData:bD}=yA(),{kState:Ha}=bs(),{webidl:i7}=$t(),{Blob:s7}=require("node:buffer"),FE=require("node:assert"),{isErrored:ND,isDisturbed:o7}=require("node:stream"),{isArrayBuffer:a7}=require("node:util/types"),{serializeAMimeType:c7}=Br(),{multipartFormDataParser:l7}=BD(),qE;try{let t=require("node:crypto");qE=o(e=>t.randomInt(0,e),"random")}catch{qE=o(t=>Math.floor(Math.random(t)),"random")}var ap=new TextEncoder;function A7(){}o(A7,"noop");var xD=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,SD;xD&&(SD=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!o7(e)&&!ND(e)&&e.cancel("Response object has been garbage collected").catch(A7)}));function RD(t,e=!1){let r=null;t instanceof ReadableStream?r=t:ID(t)?r=t.stream():r=new ReadableStream({async pull(l){let A=typeof i=="string"?ap.encode(i):i;A.byteLength&&l.enqueue(A),queueMicrotask(()=>e7(l))},start(){},type:"bytes"}),FE(ZZ(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(a7(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(CA.isFormDataLike(t)){let l=`----formdata-undici-0${`${qE(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=[],m=new Uint8Array([13,10]);s=0;let C=!1;for(let[S,w]of t)if(typeof w=="string"){let R=ap.encode(A+`; name="${u(d(S))}"\r
\r
${d(w)}\r
`);f.push(R),s+=R.byteLength}else{let R=ap.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,m),typeof w.size=="number"?s+=R.byteLength+w.size+m.byteLength:C=!0}let Q=ap.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(ID(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(CA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:XZ(t)}if((typeof i=="string"||CA.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(!ND(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(RD,"extractBody");function u7(t,e=!1){return t instanceof ReadableStream&&(FE(!CA.isDisturbed(t),"The body has already been consumed."),FE(!t.locked,"The stream is locked.")),RD(t,e)}o(u7,"safelyExtractBody");function d7(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(d7,"cloneBody");function p7(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(p7,"throwIfAborted");function h7(t){return{blob(){return qa(this,r=>{let n=QD(this);return n===null?n="":n&&(n=c7(n)),new s7([r],{type:n})},t)},arrayBuffer(){return qa(this,r=>new Uint8Array(r).buffer,t)},text(){return qa(this,wD,t)},json(){return qa(this,m7,t)},formData(){return qa(this,r=>{let n=QD(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let i=l7(r,n);if(i==="failure")throw new TypeError("Failed to parse body as FormData.");let s=new bD;return s[Ha]=i,s}case"application/x-www-form-urlencoded":{let i=new URLSearchParams(r.toString()),s=new bD;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 qa(this,r=>new Uint8Array(r),t)}}}o(h7,"bodyMixinMethods");function f7(t){Object.assign(t.prototype,h7(t))}o(f7,"mixinBody");async function qa(t,e,r){if(i7.brandCheck(t,r),_D(t))throw new TypeError("Body is unusable: Body has already been read");p7(t[Ha]);let n=t7(),i=o(a=>n.reject(a),"errorSteps"),s=o(a=>{try{n.resolve(e(a))}catch(c){i(c)}},"successSteps");return t[Ha].body==null?(s(Buffer.allocUnsafe(0)),n.promise):(await r7(t[Ha].body,s,i),n.promise)}o(qa,"consumeBody");function _D(t){let e=t[Ha].body;return e!=null&&(e.stream.locked||CA.isDisturbed(e.stream))}o(_D,"bodyUnusable");function m7(t){return JSON.parse(wD(t))}o(m7,"parseJSONFromBytes");function QD(t){let e=t[Ha].headersList,r=n7(e);return r==="failure"?null:r}o(QD,"bodyMimeType");vD.exports={extractBody:RD,safelyExtractBody:u7,cloneBody:d7,mixinBody:f7,streamRegistry:SD,hasFinalizationRegistry:xD,bodyUnusable:_D}});var HD=g((H2e,qD)=>{"use strict";var oe=require("node:assert"),pe=Ee(),{channels:PD}=_a(),HE=bE(),{RequestContentLengthMismatchError:No,ResponseContentLengthMismatchError:g7,RequestAbortedError:LD,HeadersTimeoutError:y7,HeadersOverflowError:C7,SocketError:pp,InformationalError:ja,BodyTimeoutError:E7,HTTPParserError:B7,ResponseExceededMaxSizeError:I7}=Pe(),{kUrl:UD,kReset:Ir,kClient:YE,kParser:ht,kBlocking:IA,kRunning:er,kPending:b7,kSize:DD,kWriting:ws,kQueue:Hn,kNoRef:EA,kKeepAliveDefaultTimeout:Q7,kHostHeader:w7,kPendingIdx:N7,kRunningIdx:pn,kError:hn,kPipelining:up,kSocket:Ga,kKeepAliveTimeoutValue:hp,kMaxHeadersSize:zE,kKeepAliveMaxTimeout:x7,kKeepAliveTimeoutThreshold:S7,kHeadersTimeout:R7,kBodyTimeout:_7,kStrictContentLength:JE,kMaxRequests:TD,kCounter:v7,kMaxResponseSize:P7,kOnError:D7,kResume:Qs,kHTTPContext:FD}=nt(),hi=SP(),T7=Buffer.alloc(0),cp=Buffer[Symbol.species],lp=pe.addListener,O7=pe.removeAllListeners,jE;async function M7(){let t=process.env.JEST_WORKER_ID?NE():void 0,e;try{e=await WebAssembly.compile(vP())}catch{e=await WebAssembly.compile(t||NE())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(r,n,i)=>0,wasm_on_status:(r,n,i)=>{oe(Tt.ptr===r);let s=n-mi+fi.byteOffset;return Tt.onStatus(new cp(fi.buffer,s,i))||0},wasm_on_message_begin:r=>(oe(Tt.ptr===r),Tt.onMessageBegin()||0),wasm_on_header_field:(r,n,i)=>{oe(Tt.ptr===r);let s=n-mi+fi.byteOffset;return Tt.onHeaderField(new cp(fi.buffer,s,i))||0},wasm_on_header_value:(r,n,i)=>{oe(Tt.ptr===r);let s=n-mi+fi.byteOffset;return Tt.onHeaderValue(new cp(fi.buffer,s,i))||0},wasm_on_headers_complete:(r,n,i,s)=>(oe(Tt.ptr===r),Tt.onHeadersComplete(n,!!i,!!s)||0),wasm_on_body:(r,n,i)=>{oe(Tt.ptr===r);let s=n-mi+fi.byteOffset;return Tt.onBody(new cp(fi.buffer,s,i))||0},wasm_on_message_complete:r=>(oe(Tt.ptr===r),Tt.onMessageComplete()||0)}})}o(M7,"lazyllhttp");var GE=null,VE=M7();VE.catch();var Tt=null,fi=null,Ap=0,mi=null,k7=0,BA=1,Ya=2|BA,dp=4|BA,WE=8|k7,$E=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){oe(Number.isFinite(e[zE])&&e[zE]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(hi.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[zE],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[P7]}setTimeout(e,r){e!==this.timeoutValue||r&BA^this.timeoutType&BA?(this.timeout&&(HE.clearTimeout(this.timeout),this.timeout=null),e&&(r&BA?this.timeout=HE.setFastTimeout(OD,e,new WeakRef(this)):(this.timeout=setTimeout(OD,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(Tt==null),this.llhttp.llhttp_resume(this.ptr),oe(this.timeoutType===dp),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||T7),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(Tt==null),oe(!this.paused);let{socket:r,llhttp:n}=this;e.length>Ap&&(mi&&n.free(mi),Ap=Math.ceil(e.length/4096)*4096,mi=n.malloc(Ap)),new Uint8Array(n.memory.buffer,mi,Ap).set(e);try{let i;try{fi=e,Tt=this,i=n.llhttp_execute(this.ptr,mi,e.length)}catch(a){throw a}finally{Tt=null,fi=null}let s=n.llhttp_get_error_pos(this.ptr)-mi;if(i===hi.ERROR.PAUSED_UPGRADE)this.onUpgrade(e.slice(s));else if(i===hi.ERROR.PAUSED)this.paused=!0,r.unshift(e.slice(s));else if(i!==hi.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 B7(c,hi.ERROR[i],e.slice(s))}}catch(i){pe.destroy(r,i)}}destroy(){oe(this.ptr!=null),oe(Tt==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&HE.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[Hn][r[pn]];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 C7)}onUpgrade(e){let{upgrade:r,client:n,socket:i,headers:s,statusCode:a}=this;oe(r),oe(n[Ga]===i),oe(!i.destroyed),oe(!this.paused),oe((s.length&1)===0);let c=n[Hn][n[pn]];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[ht].destroy(),i[ht]=null,i[YE]=null,i[hn]=null,O7(i),n[Ga]=null,n[FD]=null,n[Hn][n[pn]++]=null,n.emit("disconnect",n[UD],[n],new ja("upgrade"));try{c.onUpgrade(a,s,i)}catch(l){pe.destroy(i,l)}n[Qs]()}onHeadersComplete(e,r,n){let{client:i,socket:s,headers:a,statusText:c}=this;if(s.destroyed)return-1;let l=i[Hn][i[pn]];if(!l)return-1;if(oe(!this.upgrade),oe(this.statusCode<200),e===100)return pe.destroy(s,new pp("bad response",pe.getSocketInfo(s))),-1;if(r&&!l.upgrade)return pe.destroy(s,new pp("bad upgrade",pe.getSocketInfo(s))),-1;if(oe(this.timeoutType===Ya),this.statusCode=e,this.shouldKeepAlive=n||l.method==="HEAD"&&!s[Ir]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let u=l.bodyTimeout!=null?l.bodyTimeout:i[_7];this.setTimeout(u,dp)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return oe(i[er]===1),this.upgrade=!0,2;if(r)return oe(i[er]===1),this.upgrade=!0,2;if(oe((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[up]){let u=this.keepAlive?pe.parseKeepAliveTimeout(this.keepAlive):null;if(u!=null){let d=Math.min(u-i[S7],i[x7]);d<=0?s[Ir]=!0:i[hp]=d}else i[hp]=i[Q7]}else s[Ir]=!0;let A=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(s[IA]&&(s[IA]=!1,i[Qs]()),A?hi.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:i,maxResponseSize:s}=this;if(n.destroyed)return-1;let a=r[Hn][r[pn]];if(oe(a),oe(this.timeoutType===dp),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),oe(i>=200),s>-1&&this.bytesRead+e.length>s)return pe.destroy(n,new I7),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return hi.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[Hn][e[pn]];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 g7),-1;if(A.onComplete(s),e[Hn][e[pn]++]=null,r[ws])return oe(e[er]===0),pe.destroy(r,new ja("reset")),hi.ERROR.PAUSED;if(l){if(r[Ir]&&e[er]===0)return pe.destroy(r,new ja("reset")),hi.ERROR.PAUSED;e[up]==null||e[up]===1?setImmediate(()=>e[Qs]()):e[Qs]()}else return pe.destroy(r,new ja("reset")),hi.ERROR.PAUSED}}};function OD(t){let{socket:e,timeoutType:r,client:n,paused:i}=t.deref();r===Ya?(!e[ws]||e.writableNeedDrain||n[er]>1)&&(oe(!i,"cannot be paused while waiting for headers"),pe.destroy(e,new y7)):r===dp?i||pe.destroy(e,new E7):r===WE&&(oe(n[er]===0&&n[hp]),pe.destroy(e,new ja("socket idle timeout")))}o(OD,"onParserTimeout");async function L7(t,e){t[Ga]=e,GE||(GE=await VE,VE=null),e[EA]=!1,e[ws]=!1,e[Ir]=!1,e[IA]=!1,e[ht]=new $E(t,e,GE),lp(e,"error",function(n){oe(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let i=this[ht];if(n.code==="ECONNRESET"&&i.statusCode&&!i.shouldKeepAlive){i.onMessageComplete();return}this[hn]=n,this[YE][D7](n)}),lp(e,"readable",function(){let n=this[ht];n&&n.readMore()}),lp(e,"end",function(){let n=this[ht];if(n.statusCode&&!n.shouldKeepAlive){n.onMessageComplete();return}pe.destroy(this,new pp("other side closed",pe.getSocketInfo(this)))}),lp(e,"close",function(){let n=this[YE],i=this[ht];i&&(!this[hn]&&i.statusCode&&!i.shouldKeepAlive&&i.onMessageComplete(),this[ht].destroy(),this[ht]=null);let s=this[hn]||new pp("closed",pe.getSocketInfo(this));if(n[Ga]=null,n[FD]=null,n.destroyed){oe(n[b7]===0);let a=n[Hn].splice(n[pn]);for(let c=0;c<a.length;c++){let l=a[c];pe.errorRequest(n,l,s)}}else if(n[er]>0&&s.code!=="UND_ERR_INFO"){let a=n[Hn][n[pn]];n[Hn][n[pn]++]=null,pe.errorRequest(n,a,s)}n[N7]=n[pn],oe(n[er]===0),n.emit("disconnect",n[UD],[n],s),n[Qs]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return q7(t,...n)},resume(){U7(t)},destroy(n,i){r?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(n){return!!(e[ws]||e[Ir]||e[IA]||n&&(t[er]>0&&!n.idempotent||t[er]>0&&(n.upgrade||n.method==="CONNECT")||t[er]>0&&pe.bodyLength(n.body)!==0&&(pe.isStream(n.body)||pe.isAsyncIterable(n.body)||pe.isFormDataLike(n.body))))}}}o(L7,"connectH1");function U7(t){let e=t[Ga];if(e&&!e.destroyed){if(t[DD]===0?!e[EA]&&e.unref&&(e.unref(),e[EA]=!0):e[EA]&&e.ref&&(e.ref(),e[EA]=!1),t[DD]===0)e[ht].timeoutType!==WE&&e[ht].setTimeout(t[hp],WE);else if(t[er]>0&&e[ht].statusCode<200&&e[ht].timeoutType!==Ya){let r=t[Hn][t[pn]],n=r.headersTimeout!=null?r.headersTimeout:t[R7];e[ht].setTimeout(n,Ya)}}}o(U7,"resumeH1");function F7(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(F7,"shouldSendContentLength");function q7(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)){jE||(jE=za().extractBody);let[S,w]=jE(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),F7(r)&&u>0&&e.contentLength!==null&&e.contentLength!==u){if(t[JE])return pe.errorRequest(t,e,new No),!1;process.emitWarning(new No)}let m=t[Ga],C=o(S=>{e.aborted||e.completed||(pe.errorRequest(t,e,S||new LD),pe.destroy(l),pe.destroy(m,new ja("aborted")))},"abort");try{e.onConnect(C)}catch(S){pe.errorRequest(t,e,S)}if(e.aborted)return!1;r==="HEAD"&&(m[Ir]=!0),(s||r==="CONNECT")&&(m[Ir]=!0),c!=null&&(m[Ir]=c),t[TD]&&m[v7]++>=t[TD]&&(m[Ir]=!0),a&&(m[IA]=!0);let Q=`${r} ${n} HTTP/1.1\r
`;if(typeof i=="string"?Q+=`host: ${i}\r
`:Q+=t[w7],s?Q+=`connection: upgrade\r
upgrade: ${s}\r
`:t[up]&&!m[Ir]?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 PD.sendHeaders.hasSubscribers&&PD.sendHeaders.publish({request:e,headers:Q,socket:m}),!l||f===0?MD(C,null,t,e,m,u,Q,d):pe.isBuffer(l)?MD(C,l,t,e,m,u,Q,d):pe.isBlobLike(l)?typeof l.stream=="function"?kD(C,l.stream(),t,e,m,u,Q,d):z7(C,l,t,e,m,u,Q,d):pe.isStream(l)?H7(C,l,t,e,m,u,Q,d):pe.isIterable(l)?kD(C,l,t,e,m,u,Q,d):oe(!1),!0}o(q7,"writeH1");function H7(t,e,r,n,i,s,a,c){oe(s!==0||r[er]===0,"stream body cannot be pipelined");let l=!1,A=new fp({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",m)}),!l){let C=new LD;queueMicrotask(()=>m(C))}},"onClose"),m=o(function(C){if(!l){if(l=!0,oe(i.destroyed||i[ws]&&r[er]<=1),i.off("drain",d).off("error",m),e.removeListener("data",u).removeListener("end",m).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",m).on("error",m).on("close",f),e.resume&&e.resume(),i.on("drain",d).on("error",m),e.errorEmitted??e.errored?setImmediate(()=>m(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>m(null)),(e.closeEmitted??e.closed)&&setImmediate(f)}o(H7,"writeStream");function MD(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[Ir]=!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[Qs]()}catch(l){t(l)}}o(MD,"writeBuffer");async function z7(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 No;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[Ir]=!0),r[Qs]()}catch(l){t(l)}}o(z7,"writeBlob");async function kD(t,e,r,n,i,s,a,c){oe(s!==0||r[er]===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,m)=>{oe(l===null),i[hn]?m(i[hn]):l=f}),"waitForDrain");i.on("close",A).on("drain",A);let d=new fp({abort:t,socket:i,request:n,contentLength:s,client:r,expectsPayload:c,header:a});try{for await(let f of e){if(i[hn])throw i[hn];d.write(f)||await u()}d.end()}catch(f){d.destroy(f)}finally{i.off("close",A).off("drain",A)}}o(kD,"writeIterable");var fp=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[ws]=!0}write(e){let{socket:r,request:n,contentLength:i,client:s,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[hn])throw r[hn];if(r.destroyed)return!1;let A=Buffer.byteLength(e);if(!A)return!0;if(i!==null&&a+A>i){if(s[JE])throw new No;process.emitWarning(new No)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[Ir]=!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[ht].timeout&&r[ht].timeoutType===Ya&&r[ht].timeout.refresh&&r[ht].timeout.refresh(),u}end(){let{socket:e,contentLength:r,client:n,bytesWritten:i,expectsPayload:s,header:a,request:c}=this;if(c.onRequestSent(),e[ws]=!1,e[hn])throw e[hn];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[JE])throw new No;process.emitWarning(new No)}e[ht].timeout&&e[ht].timeoutType===Ya&&e[ht].timeout.refresh&&e[ht].timeout.refresh(),n[Qs]()}}destroy(e){let{socket:r,client:n,abort:i}=this;r[ws]=!1,e&&(oe(n[er]<=1,"pipeline should only contain this request"),i(e))}};qD.exports=L7});var $D=g((j2e,WD)=>{"use strict";var fn=require("node:assert"),{pipeline:j7}=require("node:stream"),we=Ee(),{RequestContentLengthMismatchError:KE,RequestAbortedError:zD,SocketError:bA,InformationalError:XE}=Pe(),{kUrl:mp,kReset:yp,kClient:Ja,kRunning:Cp,kPending:G7,kQueue:Ns,kPendingIdx:ZE,kRunningIdx:zn,kError:Gn,kSocket:Ht,kStrictContentLength:Y7,kOnError:eB,kMaxConcurrentStreams:VD,kHTTP2Session:jn,kResume:xs,kSize:J7,kHTTPContext:V7}=nt(),es=Symbol("open streams"),jD,GD=!1,gp;try{gp=require("node:http2")}catch{gp={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:W7,HTTP2_HEADER_METHOD:$7,HTTP2_HEADER_PATH:K7,HTTP2_HEADER_SCHEME:X7,HTTP2_HEADER_CONTENT_LENGTH:Z7,HTTP2_HEADER_EXPECT:eee,HTTP2_HEADER_STATUS:tee}}=gp;function ree(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(ree,"parseH2Headers");async function nee(t,e){t[Ht]=e,GD||(GD=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=gp.connect(t[mp],{createConnection:()=>e,peerMaxConcurrentStreams:t[VD]});r[es]=0,r[Ja]=t,r[Ht]=e,we.addListener(r,"error",see),we.addListener(r,"frameError",oee),we.addListener(r,"end",aee),we.addListener(r,"goaway",cee),we.addListener(r,"close",function(){let{[Ja]:i}=this,{[Ht]:s}=i,a=this[Ht][Gn]||this[Gn]||new bA("closed",we.getSocketInfo(s));if(i[jn]=null,i.destroyed){fn(i[G7]===0);let c=i[Ns].splice(i[zn]);for(let l=0;l<c.length;l++){let A=c[l];we.errorRequest(i,A,a)}}}),r.unref(),t[jn]=r,e[jn]=r,we.addListener(e,"error",function(i){fn(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Gn]=i,this[Ja][eB](i)}),we.addListener(e,"end",function(){we.destroy(this,new bA("other side closed",we.getSocketInfo(this)))}),we.addListener(e,"close",function(){let i=this[Gn]||new bA("closed",we.getSocketInfo(this));t[Ht]=null,this[jn]!=null&&this[jn].destroy(i),t[ZE]=t[zn],fn(t[Cp]===0),t.emit("disconnect",t[mp],[t],i),t[xs]()});let n=!1;return e.on("close",()=>{n=!0}),{version:"h2",defaultPipelining:1/0,write(...i){return Aee(t,...i)},resume(){iee(t)},destroy(i,s){n?queueMicrotask(s):e.destroy(i).on("close",s)},get destroyed(){return e.destroyed},busy(){return!1}}}o(nee,"connectH2");function iee(t){let e=t[Ht];e?.destroyed===!1&&(t[J7]===0&&t[VD]===0?(e.unref(),t[jn].unref()):(e.ref(),t[jn].ref()))}o(iee,"resumeH2");function see(t){fn(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Ht][Gn]=t,this[Ja][eB](t)}o(see,"onHttp2SessionError");function oee(t,e,r){if(r===0){let n=new XE(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[Ht][Gn]=n,this[Ja][eB](n)}}o(oee,"onHttp2FrameError");function aee(){let t=new bA("other side closed",we.getSocketInfo(this[Ht]));this.destroy(t),we.destroy(this[Ht],t)}o(aee,"onHttp2SessionEnd");function cee(t){let e=this[Gn]||new bA(`HTTP/2: "GOAWAY" frame received with code ${t}`,we.getSocketInfo(this)),r=this[Ja];if(r[Ht]=null,r[V7]=null,this[jn]!=null&&(this[jn].destroy(e),this[jn]=null),we.destroy(this[Ht],e),r[zn]<r[Ns].length){let n=r[Ns][r[zn]];r[Ns][r[zn]++]=null,we.errorRequest(r,n,e),r[ZE]=r[zn]}fn(r[Cp]===0),r.emit("disconnect",r[mp],[r],e),r[xs]()}o(cee,"onHTTP2GoAway");function lee(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(lee,"shouldSendContentLength");function Aee(t,e){let r=t[jn],{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:m,port:C}=t[mp];d[W7]=s||`${m}${C?`:${C}`:""}`,d[$7]=n;let Q=o(L=>{e.aborted||e.completed||(L=L||new zD,we.errorRequest(t,e,L),f!=null&&we.destroy(f,L),we.destroy(u,L),t[Ns][t[zn]++]=null,t[xs]())},"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[es],t[Ns][t[zn]++]=null):f.once("ready",()=>{e.onUpgrade(null,null,f),++r[es],t[Ns][t[zn]++]=null}),f.once("close",()=>{r[es]-=1,r[es]===0&&r.unref()}),!0;d[K7]=i,d[X7]="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)){jD??=za().extractBody;let[L,W]=jD(u);d["content-type"]=W,u=L.stream,w=L.length}if(w==null&&(w=e.contentLength),(w===0||!S)&&(w=null),lee(n)&&w>0&&e.contentLength!=null&&e.contentLength!==w){if(t[Y7])return we.errorRequest(t,e,new KE),!1;process.emitWarning(new KE)}w!=null&&(fn(u,"no body must not have content length"),d[Z7]=`${w}`),r.ref();let R=n==="GET"||n==="HEAD"||u===null;return c?(d[eee]="100-continue",f=r.request(d,{endStream:R,signal:l}),f.once("continue",T)):(f=r.request(d,{endStream:R,signal:l}),T()),++r[es],f.once("response",L=>{let{[tee]:W,...de}=L;if(e.onResponseStarted(),e.aborted){let le=new zD;we.errorRequest(t,e,le),we.destroy(f,le);return}e.onHeaders(Number(W),ree(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[es]===0&&r.unref(),Q(new XE("HTTP/2: stream half-closed (remote)")),t[Ns][t[zn]++]=null,t[ZE]=t[zn],t[xs]()}),f.once("close",()=>{r[es]-=1,r[es]===0&&r.unref()}),f.once("error",function(L){Q(L)}),f.once("frameError",(L,W)=>{Q(new XE(`HTTP/2: "frameError" received - type ${L}, code ${W}`))}),!0;function T(){!u||w===0?YD(Q,f,null,t,e,t[Ht],w,S):we.isBuffer(u)?YD(Q,f,u,t,e,t[Ht],w,S):we.isBlobLike(u)?typeof u.stream=="function"?JD(Q,f,u.stream(),t,e,t[Ht],w,S):dee(Q,f,u,t,e,t[Ht],w,S):we.isStream(u)?uee(Q,t[Ht],S,f,u,t,e,w):we.isIterable(u)?JD(Q,f,u,t,e,t[Ht],w,S):fn(!1)}o(T,"writeBodyH2")}o(Aee,"writeH2");function YD(t,e,r,n,i,s,a,c){try{r!=null&&we.isBuffer(r)&&(fn(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),i.onBodySent(r)),c||(s[yp]=!0),i.onRequestSent(),n[xs]()}catch(l){t(l)}}o(YD,"writeBuffer");function uee(t,e,r,n,i,s,a,c){fn(c!==0||s[Cp]===0,"stream body cannot be pipelined");let l=j7(i,n,u=>{u?(we.destroy(l,u),t(u)):(we.removeAllListeners(l),a.onRequestSent(),r||(e[yp]=!0),s[xs]())});we.addListener(l,"data",A);function A(u){a.onBodySent(u)}o(A,"onPipeData")}o(uee,"writeStream");async function dee(t,e,r,n,i,s,a,c){fn(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new KE;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),i.onBodySent(l),i.onRequestSent(),c||(s[yp]=!0),n[xs]()}catch(l){t(l)}}o(dee,"writeBlob");async function JD(t,e,r,n,i,s,a,c){fn(a!==0||n[Cp]===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)=>{fn(l===null),s[Gn]?f(s[Gn]):l=d}),"waitForDrain");e.on("close",A).on("drain",A);try{for await(let d of r){if(s[Gn])throw s[Gn];let f=e.write(d);i.onBodySent(d),f||await u()}e.end(),i.onRequestSent(),c||(s[yp]=!0),n[xs]()}catch(d){t(d)}finally{e.off("close",A).off("drain",A)}}o(JD,"writeIterable");WD.exports=nee});var Bp=g((Y2e,ZD)=>{"use strict";var gi=Ee(),{kBodyUsed:QA}=nt(),rB=require("node:assert"),{InvalidArgumentError:pee}=Pe(),hee=require("node:events"),fee=[300,301,302,303,307,308],KD=Symbol("body"),Ep=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[KD]=e,this[QA]=!1}async*[Symbol.asyncIterator](){rB(!this[QA],"disturbed"),this[QA]=!0,yield*this[KD]}},tB=class{static{o(this,"RedirectHandler")}constructor(e,r,n,i){if(r!=null&&(!Number.isInteger(r)||r<0))throw new pee("maxRedirections must be a positive number");gi.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,gi.isStream(this.opts.body)?(gi.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){rB(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[QA]=!1,hee.prototype.on.call(this.opts.body,"data",function(){this[QA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Ep(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&gi.isIterable(this.opts.body)&&(this.opts.body=new Ep(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||gi.isDisturbed(this.opts.body)?null:mee(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}=gi.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=gee(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 mee(t,e){if(fee.indexOf(t)===-1)return null;for(let r=0;r<e.length;r+=2)if(e[r].length===8&&gi.headerNameToString(e[r])==="location")return e[r+1]}o(mee,"parseLocation");function XD(t,e,r){if(t.length===4)return gi.headerNameToString(t)==="host";if(e&&gi.headerNameToString(t).startsWith("content-"))return!0;if(r&&(t.length===13||t.length===6||t.length===19)){let n=gi.headerNameToString(t);return n==="authorization"||n==="cookie"||n==="proxy-authorization"}return!1}o(XD,"shouldRemoveHeader");function gee(t,e,r){let n=[];if(Array.isArray(t))for(let i=0;i<t.length;i+=2)XD(t[i],e,r)||n.push(t[i],t[i+1]);else if(t&&typeof t=="object")for(let i of Object.keys(t))XD(i,e,r)||n.push(i,t[i]);else rB(t==null,"headers must be an object or an array");return n}o(gee,"cleanRequestHeaders");ZD.exports=tB});var Ip=g((V2e,eT)=>{"use strict";var yee=Bp();function Cee({maxRedirections:t}){return e=>o(function(n,i){let{maxRedirections:s=t}=n;if(!s)return e(n,i);let a=new yee(e,s,n,i);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}o(Cee,"createRedirectInterceptor");eT.exports=Cee});var $a=g(($2e,AT)=>{"use strict";var ts=require("node:assert"),oT=require("node:net"),Eee=require("node:http"),xo=Ee(),{channels:Va}=_a(),Bee=fP(),Iee=Ta(),{InvalidArgumentError:Qt,InformationalError:bee,ClientDestroyedError:Qee}=Pe(),wee=uA(),{kUrl:yi,kServerName:Ss,kClient:Nee,kBusy:nB,kConnect:xee,kResuming:So,kRunning:RA,kPending:_A,kSize:SA,kQueue:Yn,kConnected:See,kConnecting:Wa,kNeedDrain:_s,kKeepAliveDefaultTimeout:tT,kHostHeader:Ree,kPendingIdx:Jn,kRunningIdx:rs,kError:_ee,kPipelining:bp,kKeepAliveTimeoutValue:vee,kMaxHeadersSize:Pee,kKeepAliveMaxTimeout:Dee,kKeepAliveTimeoutThreshold:Tee,kHeadersTimeout:Oee,kBodyTimeout:Mee,kStrictContentLength:kee,kConnector:wA,kMaxRedirections:Lee,kMaxRequests:iB,kCounter:Uee,kClose:Fee,kDestroy:qee,kDispatch:Hee,kInterceptors:rT,kLocalAddress:NA,kMaxResponseSize:zee,kOnError:jee,kHTTPContext:wt,kMaxConcurrentStreams:Gee,kResume:xA}=nt(),Yee=HD(),Jee=$D(),nT=!1,Rs=Symbol("kClosedResolve"),iT=o(()=>{},"noop");function aT(t){return t[bp]??t[wt]?.defaultPipelining??1}o(aT,"getPipelining");var sB=class extends Iee{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:m,keepAliveTimeoutThreshold:C,socketPath:Q,pipelining:S,tls:w,strictContentLength:R,maxCachedSessions:T,maxRedirections:L,connect:W,maxRequestsPerClient:de,localAddress:le,maxResponseSize:Te,autoSelectFamily:Oe,autoSelectFamilyAttemptTimeout:He,maxConcurrentStreams:Xe,allowH2:fe}={}){if(super(),u!==void 0)throw new Qt("unsupported keepAlive, use pipelining=0 instead");if(s!==void 0)throw new Qt("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new Qt("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(A!==void 0)throw new Qt("unsupported idleTimeout, use keepAliveTimeout instead");if(f!==void 0)throw new Qt("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new Qt("invalid maxHeaderSize");if(Q!=null&&typeof Q!="string")throw new Qt("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new Qt("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new Qt("invalid keepAliveTimeout");if(m!=null&&(!Number.isFinite(m)||m<=0))throw new Qt("invalid keepAliveMaxTimeout");if(C!=null&&!Number.isFinite(C))throw new Qt("invalid keepAliveTimeoutThreshold");if(i!=null&&(!Number.isInteger(i)||i<0))throw new Qt("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new Qt("bodyTimeout must be a positive integer or zero");if(W!=null&&typeof W!="function"&&typeof W!="object")throw new Qt("connect must be a function or an object");if(L!=null&&(!Number.isInteger(L)||L<0))throw new Qt("maxRedirections must be a positive number");if(de!=null&&(!Number.isInteger(de)||de<0))throw new Qt("maxRequestsPerClient must be a positive number");if(le!=null&&(typeof le!="string"||oT.isIP(le)===0))throw new Qt("localAddress must be valid string IP address");if(Te!=null&&(!Number.isInteger(Te)||Te<-1))throw new Qt("maxResponseSize must be a positive number");if(He!=null&&(!Number.isInteger(He)||He<-1))throw new Qt("autoSelectFamilyAttemptTimeout must be a positive number");if(fe!=null&&typeof fe!="boolean")throw new Qt("allowH2 must be a valid boolean value");if(Xe!=null&&(typeof Xe!="number"||Xe<1))throw new Qt("maxConcurrentStreams must be a positive integer, greater than 0");typeof W!="function"&&(W=wee({...w,maxCachedSessions:T,allowH2:fe,socketPath:Q,timeout:c,...Oe?{autoSelectFamily:Oe,autoSelectFamilyAttemptTimeout:He}:void 0,...W})),r?.Client&&Array.isArray(r.Client)?(this[rT]=r.Client,nT||(nT=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[rT]=[Vee({maxRedirections:L})],this[yi]=xo.parseOrigin(e),this[wA]=W,this[bp]=S??1,this[Pee]=n||Eee.maxHeaderSize,this[tT]=d??4e3,this[Dee]=m??6e5,this[Tee]=C??2e3,this[vee]=this[tT],this[Ss]=null,this[NA]=le??null,this[So]=0,this[_s]=0,this[Ree]=`host: ${this[yi].hostname}${this[yi].port?`:${this[yi].port}`:""}\r
`,this[Mee]=l??3e5,this[Oee]=i??3e5,this[kee]=R??!0,this[Lee]=L,this[iB]=de,this[Rs]=null,this[zee]=Te>-1?Te:-1,this[Gee]=Xe??100,this[wt]=null,this[Yn]=[],this[rs]=0,this[Jn]=0,this[xA]=Ge=>oB(this,Ge),this[jee]=Ge=>cT(this,Ge)}get pipelining(){return this[bp]}set pipelining(e){this[bp]=e,this[xA](!0)}get[_A](){return this[Yn].length-this[Jn]}get[RA](){return this[Jn]-this[rs]}get[SA](){return this[Yn].length-this[rs]}get[See](){return!!this[wt]&&!this[Wa]&&!this[wt].destroyed}get[nB](){return!!(this[wt]?.busy(null)||this[SA]>=(aT(this)||1)||this[_A]>0)}[xee](e){lT(this),this.once("connect",e)}[Hee](e,r){let n=e.origin||this[yi].origin,i=new Bee(n,e,r);return this[Yn].push(i),this[So]||(xo.bodyLength(i.body)==null&&xo.isIterable(i.body)?(this[So]=1,queueMicrotask(()=>oB(this))):this[xA](!0)),this[So]&&this[_s]!==2&&this[nB]&&(this[_s]=2),this[_s]<2}async[Fee](){return new Promise(e=>{this[SA]?this[Rs]=e:e(null)})}async[qee](e){return new Promise(r=>{let n=this[Yn].splice(this[Jn]);for(let s=0;s<n.length;s++){let a=n[s];xo.errorRequest(this,a,e)}let i=o(()=>{this[Rs]&&(this[Rs](),this[Rs]=null),r(null)},"callback");this[wt]?(this[wt].destroy(e,i),this[wt]=null):queueMicrotask(i),this[xA]()})}},Vee=Ip();function cT(t,e){if(t[RA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){ts(t[Jn]===t[rs]);let r=t[Yn].splice(t[rs]);for(let n=0;n<r.length;n++){let i=r[n];xo.errorRequest(t,i,e)}ts(t[SA]===0)}}o(cT,"onError");async function lT(t){ts(!t[Wa]),ts(!t[wt]);let{host:e,hostname:r,protocol:n,port:i}=t[yi];if(r[0]==="["){let s=r.indexOf("]");ts(s!==-1);let a=r.substring(1,s);ts(oT.isIP(a)),r=a}t[Wa]=!0,Va.beforeConnect.hasSubscribers&&Va.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[wt]?.version,servername:t[Ss],localAddress:t[NA]},connector:t[wA]});try{let s=await new Promise((a,c)=>{t[wA]({host:e,hostname:r,protocol:n,port:i,servername:t[Ss],localAddress:t[NA]},(l,A)=>{l?c(l):a(A)})});if(t.destroyed){xo.destroy(s.on("error",iT),new Qee);return}ts(s);try{t[wt]=s.alpnProtocol==="h2"?await Jee(t,s):await Yee(t,s)}catch(a){throw s.destroy().on("error",iT),a}t[Wa]=!1,s[Uee]=0,s[iB]=t[iB],s[Nee]=t,s[_ee]=null,Va.connected.hasSubscribers&&Va.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[wt]?.version,servername:t[Ss],localAddress:t[NA]},connector:t[wA],socket:s}),t.emit("connect",t[yi],[t])}catch(s){if(t.destroyed)return;if(t[Wa]=!1,Va.connectError.hasSubscribers&&Va.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[wt]?.version,servername:t[Ss],localAddress:t[NA]},connector:t[wA],error:s}),s.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(ts(t[RA]===0);t[_A]>0&&t[Yn][t[Jn]].servername===t[Ss];){let a=t[Yn][t[Jn]++];xo.errorRequest(t,a,s)}else cT(t,s);t.emit("connectionError",t[yi],[t],s)}t[xA]()}o(lT,"connect");function sT(t){t[_s]=0,t.emit("drain",t[yi],[t])}o(sT,"emitDrain");function oB(t,e){t[So]!==2&&(t[So]=2,Wee(t,e),t[So]=0,t[rs]>256&&(t[Yn].splice(0,t[rs]),t[Jn]-=t[rs],t[rs]=0))}o(oB,"resume");function Wee(t,e){for(;;){if(t.destroyed){ts(t[_A]===0);return}if(t[Rs]&&!t[SA]){t[Rs](),t[Rs]=null;return}if(t[wt]&&t[wt].resume(),t[nB])t[_s]=2;else if(t[_s]===2){e?(t[_s]=1,queueMicrotask(()=>sT(t))):sT(t);continue}if(t[_A]===0||t[RA]>=(aT(t)||1))return;let r=t[Yn][t[Jn]];if(t[yi].protocol==="https:"&&t[Ss]!==r.servername){if(t[RA]>0)return;t[Ss]=r.servername,t[wt]?.destroy(new bee("servername changed"),()=>{t[wt]=null,oB(t)})}if(t[Wa])return;if(!t[wt]){lT(t);return}if(t[wt].destroyed||t[wt].busy(r))return;!r.aborted&&t[wt].write(r)?t[Jn]++:t[Yn].splice(t[Jn],1)}}o(Wee,"_resume");AT.exports=sB});var aB=g((Z2e,uT)=>{"use strict";var Qp=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)}};uT.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new Qp}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new Qp),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var pT=g((tze,dT)=>{var{kFree:$ee,kConnected:Kee,kPending:Xee,kQueued:Zee,kRunning:ete,kSize:tte}=nt(),Ro=Symbol("pool"),cB=class{static{o(this,"PoolStats")}constructor(e){this[Ro]=e}get connected(){return this[Ro][Kee]}get free(){return this[Ro][$ee]}get pending(){return this[Ro][Xee]}get queued(){return this[Ro][Zee]}get running(){return this[Ro][ete]}get size(){return this[Ro][tte]}};dT.exports=cB});var hB=g((nze,bT)=>{"use strict";var rte=Ta(),nte=aB(),{kConnected:lB,kSize:hT,kRunning:fT,kPending:mT,kQueued:vA,kBusy:ite,kFree:ste,kUrl:ote,kClose:ate,kDestroy:cte,kDispatch:lte}=nt(),Ate=pT(),br=Symbol("clients"),pr=Symbol("needDrain"),PA=Symbol("queue"),AB=Symbol("closed resolve"),uB=Symbol("onDrain"),gT=Symbol("onConnect"),yT=Symbol("onDisconnect"),CT=Symbol("onConnectionError"),dB=Symbol("get dispatcher"),BT=Symbol("add client"),IT=Symbol("remove client"),ET=Symbol("stats"),pB=class extends rte{static{o(this,"PoolBase")}constructor(){super(),this[PA]=new nte,this[br]=[],this[vA]=0;let e=this;this[uB]=o(function(n,i){let s=e[PA],a=!1;for(;!a;){let c=s.shift();if(!c)break;e[vA]--,a=!this.dispatch(c.opts,c.handler)}this[pr]=a,!this[pr]&&e[pr]&&(e[pr]=!1,e.emit("drain",n,[e,...i])),e[AB]&&s.isEmpty()&&Promise.all(e[br].map(c=>c.close())).then(e[AB])},"onDrain"),this[gT]=(r,n)=>{e.emit("connect",r,[e,...n])},this[yT]=(r,n,i)=>{e.emit("disconnect",r,[e,...n],i)},this[CT]=(r,n,i)=>{e.emit("connectionError",r,[e,...n],i)},this[ET]=new Ate(this)}get[ite](){return this[pr]}get[lB](){return this[br].filter(e=>e[lB]).length}get[ste](){return this[br].filter(e=>e[lB]&&!e[pr]).length}get[mT](){let e=this[vA];for(let{[mT]:r}of this[br])e+=r;return e}get[fT](){let e=0;for(let{[fT]:r}of this[br])e+=r;return e}get[hT](){let e=this[vA];for(let{[hT]:r}of this[br])e+=r;return e}get stats(){return this[ET]}async[ate](){this[PA].isEmpty()?await Promise.all(this[br].map(e=>e.close())):await new Promise(e=>{this[AB]=e})}async[cte](e){for(;;){let r=this[PA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[br].map(r=>r.destroy(e)))}[lte](e,r){let n=this[dB]();return n?n.dispatch(e,r)||(n[pr]=!0,this[pr]=!this[dB]()):(this[pr]=!0,this[PA].push({opts:e,handler:r}),this[vA]++),!this[pr]}[BT](e){return e.on("drain",this[uB]).on("connect",this[gT]).on("disconnect",this[yT]).on("connectionError",this[CT]),this[br].push(e),this[pr]&&queueMicrotask(()=>{this[pr]&&this[uB](e[ote],[this,e])}),this}[IT](e){e.close(()=>{let r=this[br].indexOf(e);r!==-1&&this[br].splice(r,1)}),this[pr]=this[br].some(r=>!r[pr]&&r.closed!==!0&&r.destroyed!==!0)}};bT.exports={PoolBase:pB,kClients:br,kNeedDrain:pr,kAddClient:BT,kRemoveClient:IT,kGetDispatcher:dB}});var Ka=g((sze,xT)=>{"use strict";var{PoolBase:ute,kClients:wp,kNeedDrain:dte,kAddClient:pte,kGetDispatcher:hte}=hB(),fte=$a(),{InvalidArgumentError:fB}=Pe(),QT=Ee(),{kUrl:wT,kInterceptors:mte}=nt(),gte=uA(),mB=Symbol("options"),gB=Symbol("connections"),NT=Symbol("factory");function yte(t,e){return new fte(t,e)}o(yte,"defaultFactory");var yB=class extends ute{static{o(this,"Pool")}constructor(e,{connections:r,factory:n=yte,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 fB("invalid connections");if(typeof n!="function")throw new fB("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new fB("connect must be a function or an object");typeof i!="function"&&(i=gte({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:s,...A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u}:void 0,...i})),this[mte]=f.interceptors?.Pool&&Array.isArray(f.interceptors.Pool)?f.interceptors.Pool:[],this[gB]=r||null,this[wT]=QT.parseOrigin(e),this[mB]={...QT.deepClone(f),connect:i,allowH2:d},this[mB].interceptors=f.interceptors?{...f.interceptors}:void 0,this[NT]=n,this.on("connectionError",(m,C,Q)=>{for(let S of C){let w=this[wp].indexOf(S);w!==-1&&this[wp].splice(w,1)}})}[hte](){for(let e of this[wp])if(!e[dte])return e;if(!this[gB]||this[wp].length<this[gB]){let e=this[NT](this[wT],this[mB]);return this[pte](e),e}}};xT.exports=yB});var PT=g((aze,vT)=>{"use strict";var{BalancedPoolMissingUpstreamError:Cte,InvalidArgumentError:Ete}=Pe(),{PoolBase:Bte,kClients:tr,kNeedDrain:DA,kAddClient:Ite,kRemoveClient:bte,kGetDispatcher:Qte}=hB(),wte=Ka(),{kUrl:CB,kInterceptors:Nte}=nt(),{parseOrigin:ST}=Ee(),RT=Symbol("factory"),Np=Symbol("options"),_T=Symbol("kGreatestCommonDivisor"),_o=Symbol("kCurrentWeight"),vo=Symbol("kIndex"),mn=Symbol("kWeight"),xp=Symbol("kMaxWeightPerServer"),Sp=Symbol("kErrorPenalty");function xte(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(xte,"getGreatestCommonDivisor");function Ste(t,e){return new wte(t,e)}o(Ste,"defaultFactory");var EB=class extends Bte{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=Ste,...n}={}){if(super(),this[Np]=n,this[vo]=-1,this[_o]=0,this[xp]=this[Np].maxWeightPerServer||100,this[Sp]=this[Np].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new Ete("factory must be a function.");this[Nte]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[RT]=r;for(let i of e)this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let r=ST(e).origin;if(this[tr].find(i=>i[CB].origin===r&&i.closed!==!0&&i.destroyed!==!0))return this;let n=this[RT](r,Object.assign({},this[Np]));this[Ite](n),n.on("connect",()=>{n[mn]=Math.min(this[xp],n[mn]+this[Sp])}),n.on("connectionError",()=>{n[mn]=Math.max(1,n[mn]-this[Sp]),this._updateBalancedPoolStats()}),n.on("disconnect",(...i)=>{let s=i[2];s&&s.code==="UND_ERR_SOCKET"&&(n[mn]=Math.max(1,n[mn]-this[Sp]),this._updateBalancedPoolStats())});for(let i of this[tr])i[mn]=this[xp];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;r<this[tr].length;r++)e=xte(this[tr][r][mn],e);this[_T]=e}removeUpstream(e){let r=ST(e).origin,n=this[tr].find(i=>i[CB].origin===r&&i.closed!==!0&&i.destroyed!==!0);return n&&this[bte](n),this}get upstreams(){return this[tr].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[CB].origin)}[Qte](){if(this[tr].length===0)throw new Cte;if(!this[tr].find(s=>!s[DA]&&s.closed!==!0&&s.destroyed!==!0)||this[tr].map(s=>s[DA]).reduce((s,a)=>s&&a,!0))return;let n=0,i=this[tr].findIndex(s=>!s[DA]);for(;n++<this[tr].length;){this[vo]=(this[vo]+1)%this[tr].length;let s=this[tr][this[vo]];if(s[mn]>this[tr][i][mn]&&!s[DA]&&(i=this[vo]),this[vo]===0&&(this[_o]=this[_o]-this[_T],this[_o]<=0&&(this[_o]=this[xp])),s[mn]>=this[_o]&&!s[DA])return s}return this[_o]=this[tr][i][mn],this[vo]=i,this[tr][i]}};vT.exports=EB});var Xa=g((lze,UT)=>{"use strict";var{InvalidArgumentError:Rp}=Pe(),{kClients:vs,kRunning:DT,kClose:Rte,kDestroy:_te,kDispatch:vte,kInterceptors:Pte}=nt(),Dte=Ta(),Tte=Ka(),Ote=$a(),Mte=Ee(),kte=Ip(),TT=Symbol("onConnect"),OT=Symbol("onDisconnect"),MT=Symbol("onConnectionError"),Lte=Symbol("maxRedirections"),kT=Symbol("onDrain"),LT=Symbol("factory"),BB=Symbol("options");function Ute(t,e){return e&&e.connections===1?new Ote(t,e):new Tte(t,e)}o(Ute,"defaultFactory");var IB=class extends Dte{static{o(this,"Agent")}constructor({factory:e=Ute,maxRedirections:r=0,connect:n,...i}={}){if(super(),typeof e!="function")throw new Rp("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Rp("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Rp("maxRedirections must be a positive number");n&&typeof n!="function"&&(n={...n}),this[Pte]=i.interceptors?.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[kte({maxRedirections:r})],this[BB]={...Mte.deepClone(i),connect:n},this[BB].interceptors=i.interceptors?{...i.interceptors}:void 0,this[Lte]=r,this[LT]=e,this[vs]=new Map,this[kT]=(s,a)=>{this.emit("drain",s,[this,...a])},this[TT]=(s,a)=>{this.emit("connect",s,[this,...a])},this[OT]=(s,a,c)=>{this.emit("disconnect",s,[this,...a],c)},this[MT]=(s,a,c)=>{this.emit("connectionError",s,[this,...a],c)}}get[DT](){let e=0;for(let r of this[vs].values())e+=r[DT];return e}[vte](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new Rp("opts.origin must be a non-empty string or URL.");let i=this[vs].get(n);return i||(i=this[LT](e.origin,this[BB]).on("drain",this[kT]).on("connect",this[TT]).on("disconnect",this[OT]).on("connectionError",this[MT]),this[vs].set(n,i)),i.dispatch(e,r)}async[Rte](){let e=[];for(let r of this[vs].values())e.push(r.close());this[vs].clear(),await Promise.all(e)}async[_te](e){let r=[];for(let n of this[vs].values())r.push(n.destroy(e));this[vs].clear(),await Promise.all(r)}};UT.exports=IB});var xB=g((uze,$T)=>{"use strict";var{kProxy:bB,kClose:GT,kDestroy:YT,kDispatch:FT,kInterceptors:Fte}=nt(),{URL:Po}=require("node:url"),qte=Xa(),JT=Ka(),VT=Ta(),{InvalidArgumentError:Za,RequestAbortedError:Hte,SecureProxyConnectionError:zte}=Pe(),qT=uA(),WT=$a(),_p=Symbol("proxy agent"),vp=Symbol("proxy client"),Ps=Symbol("proxy headers"),QB=Symbol("request tls settings"),HT=Symbol("proxy tls settings"),zT=Symbol("connect endpoint function"),jT=Symbol("tunnel proxy");function jte(t){return t==="https:"?443:80}o(jte,"defaultProtocolPort");function Gte(t,e){return new JT(t,e)}o(Gte,"defaultFactory");var Yte=o(()=>{},"noop");function Jte(t,e){return e.connections===1?new WT(t,e):new JT(t,e)}o(Jte,"defaultAgentFactory");var wB=class extends VT{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:i}){if(super(),!e)throw new Za("Proxy URL is mandatory");this[Ps]=r,i?this.#e=i(e,{connect:n}):this.#e=new WT(e,{connect:n})}[FT](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,A){if(c===407){typeof r.onError=="function"&&r.onError(new Za("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[Ps],...a},this.#e[FT](e,r)}async[GT](){return this.#e.close()}async[YT](e){return this.#e.destroy(e)}},NB=class extends VT{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof Po)&&!e.uri)throw new Za("Proxy uri is mandatory");let{clientFactory:r=Gte}=e;if(typeof r!="function")throw new Za("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[bB]={uri:s,protocol:l},this[Fte]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[QB]=e.requestTls,this[HT]=e.proxyTls,this[Ps]=e.headers||{},this[jT]=n,e.auth&&e.token)throw new Za("opts.auth cannot be used in combination with opts.token");e.auth?this[Ps]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[Ps]["proxy-authorization"]=e.token:A&&u&&(this[Ps]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(A)}:${decodeURIComponent(u)}`).toString("base64")}`);let f=qT({...e.proxyTls});this[zT]=qT({...e.requestTls});let m=e.factory||Jte,C=o((Q,S)=>{let{protocol:w}=new Po(Q);return!this[jT]&&w==="http:"&&this[bB].protocol==="http:"?new wB(this[bB].uri,{headers:this[Ps],connect:f,factory:m}):m(Q,S)},"factory");this[vp]=r(i,{connect:f}),this[_p]=new qte({...e,factory:C,connect:async(Q,S)=>{let w=Q.host;Q.port||(w+=`:${jte(Q.protocol)}`);try{let{socket:R,statusCode:T}=await this[vp].connect({origin:a,port:c,path:w,signal:Q.signal,headers:{...this[Ps],host:Q.host},servername:this[HT]?.servername||d});if(T!==200&&(R.on("error",Yte).destroy(),S(new Hte(`Proxy response (${T}) !== 200 when HTTP Tunneling`))),Q.protocol!=="https:"){S(null,R);return}let L;this[QB]?L=this[QB].servername:L=Q.servername,this[zT]({...Q,servername:L,httpSocket:R},S)}catch(R){R.code==="ERR_TLS_CERT_ALTNAME_INVALID"?S(new zte(R)):S(R)}}})}dispatch(e,r){let n=Vte(e.headers);if(Wte(n),n&&!("host"in n)&&!("Host"in n)){let{host:i}=new Po(e.origin);n.host=i}return this[_p].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new Po(e):e instanceof Po?e:new Po(e.uri)}async[GT](){await this[_p].close(),await this[vp].close()}async[YT](){await this[_p].destroy(),await this[vp].destroy()}};function Vte(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(Vte,"buildHeaders");function Wte(t){if(t&&Object.keys(t).find(r=>r.toLowerCase()==="proxy-authorization"))throw new Za("Proxy-Authorization should be sent in ProxyAgent constructor")}o(Wte,"throwIfProxyAuthIsSent");$T.exports=NB});var rO=g((pze,tO)=>{"use strict";var $te=Ta(),{kClose:Kte,kDestroy:Xte,kClosed:KT,kDestroyed:XT,kDispatch:Zte,kNoProxyAgent:TA,kHttpProxyAgent:Ds,kHttpsProxyAgent:Do}=nt(),ZT=xB(),ere=Xa(),tre={"http:":80,"https:":443},eO=!1,SB=class extends $te{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#i=null;constructor(e={}){super(),this.#i=e,eO||(eO=!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[TA]=new ere(s);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[Ds]=new ZT({...s,uri:a}):this[Ds]=this[TA];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[Do]=new ZT({...s,uri:c}):this[Do]=this[Ds],this.#s()}[Zte](e,r){let n=new URL(e.origin);return this.#n(n).dispatch(e,r)}async[Kte](){await this[TA].close(),this[Ds][KT]||await this[Ds].close(),this[Do][KT]||await this[Do].close()}async[Xte](e){await this[TA].destroy(e),this[Ds][XT]||await this[Ds].destroy(e),this[Do][XT]||await this[Do].destroy(e)}#n(e){let{protocol:r,host:n,port:i}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||tre[r]||0,this.#r(n,i)?r==="https:"?this[Do]:this[Ds]:this[TA]}#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??""}};tO.exports=SB});var Pp=g((fze,oO)=>{"use strict";var ec=require("node:assert"),{kRetryHandlerDefaultRetry:nO}=nt(),{RequestRetryError:OA}=Pe(),{isDisturbed:iO,parseHeaders:rre,parseRangeHeader:sO,wrapRequestBody:nre}=Ee();function ire(t){let e=Date.now();return new Date(t).getTime()-e}o(ire,"calculateRetryAfterHeader");var RB=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:m}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...i,body:nre(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:s??t[nO],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:m??[500,502,503,504,429],errorCodes:d??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(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[nO](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:m,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)?ire(R):R*1e3);let T=R>0?Math.min(R,f):Math.min(d*m**(w-1),f);setTimeout(()=>i(null),T)}onHeaders(e,r,n,i){let s=rre(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,i):(this.abort(new OA("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 OA("server does not support the range header and the payload was partially consumed",e,{headers:s,data:{count:this.retryCount}})),!1;let c=sO(s["content-range"]);if(!c)return this.abort(new OA("Content-Range mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==s.etag)return this.abort(new OA("ETag mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;let{start:l,size:A,end:u=A-1}=c;return ec(this.start===l,"content-range mismatch"),ec(this.end==null||this.end===u,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let c=sO(s["content-range"]);if(c==null)return this.handler.onHeaders(e,r,n,i);let{start:l,size:A,end:u=A-1}=c;ec(l!=null&&Number.isFinite(l),"content-range mismatch"),ec(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 ec(Number.isFinite(this.start)),ec(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 OA("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||iO(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||iO(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")}};oO.exports=RB});var cO=g((gze,aO)=>{"use strict";var sre=lA(),ore=Pp(),_B=class extends sre{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 ore({...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()}};aO.exports=_B});var MB=g((Cze,gO)=>{"use strict";var pO=require("node:assert"),{Readable:are}=require("node:stream"),{RequestAbortedError:hO,NotSupportedError:cre,InvalidArgumentError:lre,AbortError:vB}=Pe(),fO=Ee(),{ReadableStreamFrom:Are}=Ee(),Fr=Symbol("kConsume"),MA=Symbol("kReading"),Ts=Symbol("kBody"),lO=Symbol("kAbort"),mO=Symbol("kContentType"),AO=Symbol("kContentLength"),ure=o(()=>{},"noop"),PB=class extends are{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[lO]=r,this[Fr]=null,this[Ts]=null,this[mO]=n,this[AO]=i,this[MA]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new hO),e&&this[lO](),super.destroy(e)}_destroy(e,r){this[MA]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[MA]=!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[MA]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Fr]&&e!==null?(TB(this[Fr],e),this[MA]?super.push(e):!0):super.push(e)}async text(){return kA(this,"text")}async json(){return kA(this,"json")}async blob(){return kA(this,"blob")}async bytes(){return kA(this,"bytes")}async arrayBuffer(){return kA(this,"arrayBuffer")}async formData(){throw new cre}get bodyUsed(){return fO.isDisturbed(this)}get body(){return this[Ts]||(this[Ts]=Are(this),this[Fr]&&(this[Ts].getReader(),pO(this[Ts].locked))),this[Ts]}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 lre("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((i,s)=>{this[AO]>r&&this.destroy(new vB);let a=o(()=>{this.destroy(n.reason??new vB)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?s(n.reason??new vB):i(null)}).on("error",ure).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function dre(t){return t[Ts]&&t[Ts].locked===!0||t[Fr]}o(dre,"isLocked");function pre(t){return fO.isDisturbed(t)||dre(t)}o(pre,"isUnusable");async function kA(t,e){return pO(!t[Fr]),new Promise((r,n)=>{if(pre(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[Fr]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(i){OB(this[Fr],i)}).on("close",function(){this[Fr].body!==null&&OB(this[Fr],new hO)}),hre(t[Fr])})})}o(kA,"consume");function hre(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++)TB(t,e.buffer[i])}else for(let r of e.buffer)TB(t,r);for(e.endEmitted?dO(this[Fr]):t.stream.on("end",function(){dO(this[Fr])}),t.stream.resume();t.stream.read()!=null;);}o(hre,"consumeStart");function DB(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(DB,"chunksDecode");function uO(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(uO,"chunksConcat");function dO(t){let{type:e,body:r,resolve:n,stream:i,length:s}=t;try{e==="text"?n(DB(r,s)):e==="json"?n(JSON.parse(DB(r,s))):e==="arrayBuffer"?n(uO(r,s).buffer):e==="blob"?n(new Blob(r,{type:i[mO]})):e==="bytes"&&n(uO(r,s)),OB(t)}catch(a){i.destroy(a)}}o(dO,"consumeEnd");function TB(t,e){t.length+=e.length,t.body.push(e)}o(TB,"consumePush");function OB(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(OB,"consumeFinish");gO.exports={Readable:PB,chunksDecode:DB}});var kB=g((Bze,IO)=>{var fre=require("node:assert"),{ResponseStatusCodeError:yO}=Pe(),{chunksDecode:CO}=MB(),mre=128*1024;async function gre({callback:t,body:e,contentType:r,statusCode:n,statusMessage:i,headers:s}){fre(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>mre){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${i?`: ${i}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new yO(l,n,s)));return}let A=Error.stackTraceLimit;Error.stackTraceLimit=0;let u;try{EO(r)?u=JSON.parse(CO(a,c)):BO(r)&&(u=CO(a,c))}catch{}finally{Error.stackTraceLimit=A}queueMicrotask(()=>t(new yO(l,n,s,u)))}o(gre,"getResolveErrorBodyCallback");var EO=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"),BO=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");IO.exports={getResolveErrorBodyCallback:gre,isContentTypeApplicationJson:EO,isContentTypeText:BO}});var wO=g((bze,LB)=>{"use strict";var yre=require("node:assert"),{Readable:Cre}=MB(),{InvalidArgumentError:tc,RequestAbortedError:bO}=Pe(),qr=Ee(),{getResolveErrorBodyCallback:Ere}=kB(),{AsyncResource:Bre}=require("node:async_hooks"),Dp=class extends Bre{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new tc("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 tc("invalid callback");if(u&&(typeof u!="number"||u<0))throw new tc("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new tc("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new tc("invalid method");if(c&&typeof c!="function")throw new tc("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw qr.isStream(a)&&qr.destroy(a.on("error",qr.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,qr.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new bO:this.removeAbortListener=qr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new bO,this.res?qr.destroy(this.res.on("error",qr.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}yre(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"?qr.parseRawHeaders(r):qr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let f=A==="raw"?qr.parseHeaders(r):d,m=f["content-type"],C=f["content-length"],Q=new Cre({resume:n,abort:c,contentType:m,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(Ere,null,{callback:s,body:Q,contentType:m,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){qr.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(()=>{qr.destroy(r,e)})),i&&(this.body=null,qr.destroy(i,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function QO(t,e){if(e===void 0)return new Promise((r,n)=>{QO.call(this,t,(i,s)=>i?n(i):r(s))});try{this.dispatch(t,new Dp(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(QO,"request");LB.exports=QO;LB.exports.RequestHandler=Dp});var LA=g((wze,SO)=>{var{addAbortListener:Ire}=Ee(),{RequestAbortedError:bre}=Pe(),rc=Symbol("kListener"),Ci=Symbol("kSignal");function NO(t){t.abort?t.abort(t[Ci]?.reason):t.reason=t[Ci]?.reason??new bre,xO(t)}o(NO,"abort");function Qre(t,e){if(t.reason=null,t[Ci]=null,t[rc]=null,!!e){if(e.aborted){NO(t);return}t[Ci]=e,t[rc]=()=>{NO(t)},Ire(t[Ci],t[rc])}}o(Qre,"addSignal");function xO(t){t[Ci]&&("removeEventListener"in t[Ci]?t[Ci].removeEventListener("abort",t[rc]):t[Ci].removeListener("abort",t[rc]),t[Ci]=null,t[rc]=null)}o(xO,"removeSignal");SO.exports={addSignal:Qre,removeSignal:xO}});var PO=g((xze,vO)=>{"use strict";var wre=require("node:assert"),{finished:Nre,PassThrough:xre}=require("node:stream"),{InvalidArgumentError:nc,InvalidReturnValueError:Sre}=Pe(),Vn=Ee(),{getResolveErrorBodyCallback:Rre}=kB(),{AsyncResource:_re}=require("node:async_hooks"),{addSignal:vre,removeSignal:RO}=LA(),UB=class extends _re{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new nc("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 nc("invalid callback");if(typeof r!="function")throw new nc("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new nc("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new nc("invalid method");if(l&&typeof l!="function")throw new nc("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw Vn.isStream(c)&&Vn.destroy(c.on("error",Vn.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,Vn.isStream(c)&&c.on("error",d=>{this.onError(d)}),vre(this,i)}onConnect(e,r){if(this.reason){e(this.reason);return}wre(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"?Vn.parseRawHeaders(r):Vn.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"?Vn.parseHeaders(r):u)["content-type"];d=new xre,this.callback=null,this.runInAsyncScope(Rre,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 Sre("expected Writable");Nre(d,{readable:!1},m=>{let{callback:C,res:Q,opaque:S,trailers:w,abort:R}=this;this.res=null,(m||!Q.readable)&&Vn.destroy(Q,m),this.callback=null,this.runInAsyncScope(C,null,m||null,{opaque:S,trailers:w}),m&&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;RO(this),r&&(this.trailers=Vn.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:i,body:s}=this;RO(this),this.factory=null,r?(this.res=null,Vn.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),s&&(this.body=null,Vn.destroy(s,e))}};function _O(t,e,r){if(r===void 0)return new Promise((n,i)=>{_O.call(this,t,e,(s,a)=>s?i(s):n(a))});try{this.dispatch(t,new UB(t,e,r))}catch(n){if(typeof r!="function")throw n;let i=t?.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}o(_O,"stream");vO.exports=_O});var MO=g((Rze,OO)=>{"use strict";var{Readable:TO,Duplex:Pre,PassThrough:Dre}=require("node:stream"),{InvalidArgumentError:UA,InvalidReturnValueError:Tre,RequestAbortedError:FB}=Pe(),gn=Ee(),{AsyncResource:Ore}=require("node:async_hooks"),{addSignal:Mre,removeSignal:kre}=LA(),DO=require("node:assert"),ic=Symbol("resume"),qB=class extends TO{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[ic]=null}_read(){let{[ic]:e}=this;e&&(this[ic]=null,e())}_destroy(e,r){this._read(),r(e)}},HB=class extends TO{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[ic]=e}_read(){this[ic]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new FB),r(e)}},zB=class extends Ore{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new UA("invalid opts");if(typeof r!="function")throw new UA("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 UA("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new UA("invalid method");if(a&&typeof a!="function")throw new UA("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 qB().on("error",gn.nop),this.ret=new Pre({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[ic]=u},destroy:(l,A)=>{let{body:u,req:d,res:f,ret:m,abort:C}=this;!l&&!m._readableState.endEmitted&&(l=new FB),C&&l&&C(),gn.destroy(u,l),gn.destroy(d,l),gn.destroy(f,l),kre(this),A(l)}}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,Mre(this,n)}onConnect(e,r){let{ret:n,res:i}=this;if(this.reason){e(this.reason);return}DO(!i,"pipeline cannot be retried"),DO(!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"?gn.parseRawHeaders(r):gn.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new HB(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?gn.parseRawHeaders(r):gn.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",gn.nop),l}if(!c||typeof c.on!="function")throw new Tre("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;gn.destroy(A,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||gn.destroy(l,new FB)}),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,gn.destroy(r,e)}};function Lre(t,e){try{let r=new zB(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new Dre().destroy(r)}}o(Lre,"pipeline");OO.exports=Lre});var HO=g((vze,qO)=>{"use strict";var{InvalidArgumentError:jB,SocketError:Ure}=Pe(),{AsyncResource:Fre}=require("node:async_hooks"),kO=Ee(),{addSignal:qre,removeSignal:LO}=LA(),UO=require("node:assert"),GB=class extends Fre{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new jB("invalid opts");if(typeof r!="function")throw new jB("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new jB("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,qre(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}UO(this.callback),this.abort=e,this.context=null}onHeaders(){throw new Ure("bad upgrade",null)}onUpgrade(e,r,n){UO(e===101);let{callback:i,opaque:s,context:a}=this;LO(this),this.callback=null;let c=this.responseHeaders==="raw"?kO.parseRawHeaders(r):kO.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;LO(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function FO(t,e){if(e===void 0)return new Promise((r,n)=>{FO.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new GB(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(FO,"upgrade");qO.exports=FO});var JO=g((Dze,YO)=>{"use strict";var Hre=require("node:assert"),{AsyncResource:zre}=require("node:async_hooks"),{InvalidArgumentError:YB,SocketError:jre}=Pe(),zO=Ee(),{addSignal:Gre,removeSignal:jO}=LA(),JB=class extends zre{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new YB("invalid opts");if(typeof r!="function")throw new YB("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new YB("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=r,this.abort=null,Gre(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}Hre(this.callback),this.abort=e,this.context=r}onHeaders(){throw new jre("bad connect",null)}onUpgrade(e,r,n){let{callback:i,opaque:s,context:a}=this;jO(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?zO.parseRawHeaders(r):zO.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;jO(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function GO(t,e){if(e===void 0)return new Promise((r,n)=>{GO.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new JB(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(GO,"connect");YO.exports=GO});var VO=g((Oze,sc)=>{"use strict";sc.exports.request=wO();sc.exports.stream=PO();sc.exports.pipeline=MO();sc.exports.upgrade=HO();sc.exports.connect=JO()});var WB=g((Mze,$O)=>{"use strict";var{UndiciError:Yre}=Pe(),WO=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),VB=class t extends Yre{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[WO]===!0}[WO]=!0};$O.exports={MockNotMatchedError:VB}});var oc=g((Lze,KO)=>{"use strict";KO.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 FA=g((Uze,cM)=>{"use strict";var{MockNotMatchedError:To}=WB(),{kDispatches:Tp,kMockAgent:Jre,kOriginalDispatch:Vre,kOrigin:Wre,kGetNetConnect:$re}=oc(),{buildURL:Kre}=Ee(),{STATUS_CODES:Xre}=require("node:http"),{types:{isPromise:Zre}}=require("node:util");function ns(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(ns,"matchValue");function ZO(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(ZO,"lowerCaseEntries");function eM(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):ZO(t)[e.toLocaleLowerCase()]}o(eM,"getHeaderByName");function XB(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(XB,"buildHeadersFromArray");function tM(t,e){if(typeof t.headers=="function")return Array.isArray(e)&&(e=XB(e)),t.headers(e?ZO(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=eM(e,r);if(!ns(n,i))return!1}return!0}o(tM,"matchHeaders");function XO(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(XO,"safeUrl");function ene(t,{path:e,method:r,body:n,headers:i}){let s=ns(t.path,e),a=ns(t.method,r),c=typeof t.body<"u"?ns(t.body,n):!0,l=tM(t,i);return s&&a&&c&&l}o(ene,"matchKey");function rM(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(rM,"getResponseData");function nM(t,e){let r=e.query?Kre(e.path,e.query):e.path,n=typeof r=="string"?XO(r):r,i=t.filter(({consumed:s})=>!s).filter(({path:s})=>ns(XO(s),n));if(i.length===0)throw new To(`Mock dispatch not matched for path '${n}'`);if(i=i.filter(({method:s})=>ns(s,e.method)),i.length===0)throw new To(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(i=i.filter(({body:s})=>typeof s<"u"?ns(s,e.body):!0),i.length===0)throw new To(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(i=i.filter(s=>tM(s,e.headers)),i.length===0){let s=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new To(`Mock dispatch not matched for headers '${s}' on path '${n}'`)}return i[0]}o(nM,"getMockDispatch");function tne(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(tne,"addMockDispatch");function $B(t,e){let r=t.findIndex(n=>n.consumed?ene(n,e):!1);r!==-1&&t.splice(r,1)}o($B,"deleteMockDispatch");function iM(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(iM,"buildKey");function KB(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(KB,"generateKeyValues");function sM(t){return Xre[t]||"unknown"}o(sM,"getStatusText");async function rne(t){let e=[];for await(let r of t)e.push(r);return Buffer.concat(e).toString("utf8")}o(rne,"getResponse");function oM(t,e){let r=iM(t),n=nM(this[Tp],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 $B(this[Tp],r),e.onError(l),!0;typeof A=="number"&&A>0?setTimeout(()=>{m(this[Tp])},A):m(this[Tp]);function m(Q,S=s){let w=Array.isArray(t.headers)?XB(t.headers):t.headers,R=typeof S=="function"?S({...t,headers:w}):S;if(Zre(R)){R.then(de=>m(Q,de));return}let T=rM(R),L=KB(a),W=KB(c);e.onConnect?.(de=>e.onError(de),null),e.onHeaders?.(i,L,C,sM(i)),e.onData?.(Buffer.from(T)),e.onComplete?.(W),$B(Q,r)}o(m,"handleReply");function C(){}return o(C,"resume"),!0}o(oM,"mockDispatch");function nne(){let t=this[Jre],e=this[Wre],r=this[Vre];return o(function(i,s){if(t.isMockActive)try{oM.call(this,i,s)}catch(a){if(a instanceof To){let c=t[$re]();if(c===!1)throw new To(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(aM(c,e))r.call(this,i,s);else throw new To(`${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(nne,"buildMockDispatch");function aM(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>ns(n,r.host)))}o(aM,"checkNetConnect");function ine(t){if(t){let{agent:e,...r}=t;return r}}o(ine,"buildMockOptions");cM.exports={getResponseData:rM,getMockDispatch:nM,addMockDispatch:tne,deleteMockDispatch:$B,buildKey:iM,generateKeyValues:KB,matchValue:ns,getResponse:rne,getStatusText:sM,mockDispatch:oM,buildMockDispatch:nne,checkNetConnect:aM,buildMockOptions:ine,getHeaderByName:eM,buildHeadersFromArray:XB}});var sI=g((qze,iI)=>{"use strict";var{getResponseData:sne,buildKey:one,addMockDispatch:ZB}=FA(),{kDispatches:Op,kDispatchKey:Mp,kDefaultHeaders:eI,kDefaultTrailers:tI,kContentLength:rI,kMockDispatch:kp}=oc(),{InvalidArgumentError:Ei}=Pe(),{buildURL:ane}=Ee(),ac=class{static{o(this,"MockScope")}constructor(e){this[kp]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Ei("waitInMs must be a valid integer > 0");return this[kp].delay=e,this}persist(){return this[kp].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Ei("repeatTimes must be a valid integer > 0");return this[kp].times=e,this}},nI=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new Ei("opts must be an object");if(typeof e.path>"u")throw new Ei("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=ane(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[Mp]=one(e),this[Op]=r,this[eI]={},this[tI]={},this[rI]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let i=sne(r),s=this[rI]?{"content-length":i.length}:{},a={...this[eI],...s,...n.headers},c={...this[tI],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new Ei("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new Ei("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 Ei("reply options callback must return an object");let A={data:"",responseOptions:{},...l};return this.validateReplyParameters(A),{...this.createMockScopeDispatchData(A)}},"wrappedDefaultsCallback"),a=ZB(this[Op],this[Mp],s);return new ac(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=ZB(this[Op],this[Mp],n);return new ac(i)}replyWithError(e){if(typeof e>"u")throw new Ei("error must be defined");let r=ZB(this[Op],this[Mp],{error:e});return new ac(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new Ei("headers must be defined");return this[eI]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new Ei("trailers must be defined");return this[tI]=e,this}replyContentLength(){return this[rI]=!0,this}};iI.exports.MockInterceptor=nI;iI.exports.MockScope=ac});var cI=g((zze,fM)=>{"use strict";var{promisify:cne}=require("node:util"),lne=$a(),{buildMockDispatch:Ane}=FA(),{kDispatches:lM,kMockAgent:AM,kClose:uM,kOriginalClose:dM,kOrigin:pM,kOriginalDispatch:une,kConnected:oI}=oc(),{MockInterceptor:dne}=sI(),hM=nt(),{InvalidArgumentError:pne}=Pe(),aI=class extends lne{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new pne("Argument opts.agent must implement Agent");this[AM]=r.agent,this[pM]=e,this[lM]=[],this[oI]=1,this[une]=this.dispatch,this[dM]=this.close.bind(this),this.dispatch=Ane.call(this),this.close=this[uM]}get[hM.kConnected](){return this[oI]}intercept(e){return new dne(e,this[lM])}async[uM](){await cne(this[dM])(),this[oI]=0,this[AM][hM.kClients].delete(this[pM])}};fM.exports=aI});var uI=g((Gze,IM)=>{"use strict";var{promisify:hne}=require("node:util"),fne=Ka(),{buildMockDispatch:mne}=FA(),{kDispatches:mM,kMockAgent:gM,kClose:yM,kOriginalClose:CM,kOrigin:EM,kOriginalDispatch:gne,kConnected:lI}=oc(),{MockInterceptor:yne}=sI(),BM=nt(),{InvalidArgumentError:Cne}=Pe(),AI=class extends fne{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Cne("Argument opts.agent must implement Agent");this[gM]=r.agent,this[EM]=e,this[mM]=[],this[lI]=1,this[gne]=this.dispatch,this[CM]=this.close.bind(this),this.dispatch=mne.call(this),this.close=this[yM]}get[BM.kConnected](){return this[lI]}intercept(e){return new yne(e,this[mM])}async[yM](){await hne(this[CM])(),this[lI]=0,this[gM][BM.kClients].delete(this[EM])}};IM.exports=AI});var QM=g((Vze,bM)=>{"use strict";var Ene={pronoun:"it",is:"is",was:"was",this:"this"},Bne={pronoun:"they",is:"are",was:"were",this:"these"};bM.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?Ene:Bne,i=r?this.singular:this.plural;return{...n,count:e,noun:i}}}});var NM=g((Kze,wM)=>{"use strict";var{Transform:Ine}=require("node:stream"),{Console:bne}=require("node:console"),Qne=process.versions.icu?"\u2705":"Y ",wne=process.versions.icu?"\u274C":"N ";wM.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new Ine({transform(r,n,i){i(null,r)}}),this.logger=new bne({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?Qne:wne,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var _M=g((Zze,RM)=>{"use strict";var{kClients:Oo}=nt(),Nne=Xa(),{kAgent:dI,kMockAgentSet:Lp,kMockAgentGet:xM,kDispatches:pI,kIsMockActive:Up,kNetConnect:Mo,kGetNetConnect:xne,kOptions:Fp,kFactory:qp}=oc(),Sne=cI(),Rne=uI(),{matchValue:_ne,buildMockOptions:vne}=FA(),{InvalidArgumentError:SM,UndiciError:Pne}=Pe(),Dne=lA(),Tne=QM(),One=NM(),hI=class extends Dne{static{o(this,"MockAgent")}constructor(e){if(super(e),this[Mo]=!0,this[Up]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new SM("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new Nne(e);this[dI]=r,this[Oo]=r[Oo],this[Fp]=vne(e)}get(e){let r=this[xM](e);return r||(r=this[qp](e),this[Lp](e,r)),r}dispatch(e,r){return this.get(e.origin),this[dI].dispatch(e,r)}async close(){await this[dI].close(),this[Oo].clear()}deactivate(){this[Up]=!1}activate(){this[Up]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[Mo])?this[Mo].push(e):this[Mo]=[e];else if(typeof e>"u")this[Mo]=!0;else throw new SM("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[Mo]=!1}get isMockActive(){return this[Up]}[Lp](e,r){this[Oo].set(e,r)}[qp](e){let r=Object.assign({agent:this},this[Fp]);return this[Fp]&&this[Fp].connections===1?new Sne(e,r):new Rne(e,r)}[xM](e){let r=this[Oo].get(e);if(r)return r;if(typeof e!="string"){let n=this[qp]("http://localhost:9999");return this[Lp](e,n),n}for(let[n,i]of Array.from(this[Oo]))if(i&&typeof n!="string"&&_ne(n,e)){let s=this[qp](e);return this[Lp](e,s),s[pI]=i[pI],s}}[xne](){return this[Mo]}pendingInterceptors(){let e=this[Oo];return Array.from(e.entries()).flatMap(([r,n])=>n[pI].map(i=>({...i,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new One}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new Tne("interceptor","interceptors").pluralize(r.length);throw new Pne(`
${n.count} ${n.noun} ${n.is} pending:
${e.format(r)}
`.trim())}};RM.exports=hI});var Hp=g((tje,TM)=>{"use strict";var vM=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:Mne}=Pe(),kne=Xa();DM()===void 0&&PM(new kne);function PM(t){if(!t||typeof t.dispatch!="function")throw new Mne("Argument agent must implement Agent");Object.defineProperty(globalThis,vM,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(PM,"setGlobalDispatcher");function DM(){return globalThis[vM]}o(DM,"getGlobalDispatcher");TM.exports={setGlobalDispatcher:PM,getGlobalDispatcher:DM}});var zp=g((ije,OM)=>{"use strict";OM.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 kM=g((oje,MM)=>{"use strict";var Lne=Bp();MM.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 Lne(r,a,i,s);return r(c,l)},"redirectInterceptor")}});var UM=g((cje,LM)=>{"use strict";var Une=Pp();LM.exports=t=>e=>o(function(n,i){return e(n,new Une({...n,retryOptions:{...t,...n.retryOptions}},{handler:i,dispatch:e}))},"retryInterceptor")});var qM=g((Aje,FM)=>{"use strict";var Fne=Ee(),{InvalidArgumentError:qne,RequestAbortedError:Hne}=Pe(),zne=zp(),fI=class extends zne{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 qne("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=Fne.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new Hne(`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 jne({maxSize:t}={maxSize:1024*1024}){return e=>o(function(n,i){let{dumpMaxSize:s=t}=n,a=new fI({maxSize:s},i);return e(n,a)},"Intercept")}o(jne,"createDumpInterceptor");FM.exports=jne});var jM=g((dje,zM)=>{"use strict";var{isIP:Gne}=require("node:net"),{lookup:Yne}=require("node:dns"),Jne=zp(),{InvalidArgumentError:cc,InformationalError:Vne}=Pe(),HM=Math.pow(2,31)-1,mI=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 Vne("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){Yne(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===HM?(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===HM?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 gI(this,e,r)}},gI=class extends Jne{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}}};zM.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new cc("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new cc("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new cc("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new cc("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new cc("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new cc("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 mI(n);return s=>o(function(c,l){let A=c.origin.constructor===URL?c.origin:new URL(c.origin);return Gne(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 ko=g((hje,KM)=>{"use strict";var{kConstruct:Wne}=nt(),{kEnumerableProperty:lc}=Ee(),{iteratorMixin:$ne,isValidHeaderName:qA,isValidHeaderValue:YM}=Ur(),{webidl:Se}=$t(),yI=require("node:assert"),jp=require("node:util"),Rt=Symbol("headers map"),Hr=Symbol("headers map sorted");function GM(t){return t===10||t===13||t===9||t===32}o(GM,"isHTTPWhiteSpaceCharCode");function JM(t){let e=0,r=t.length;for(;r>e&&GM(t.charCodeAt(r-1));)--r;for(;r>e&&GM(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(JM,"headerValueNormalize");function VM(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}.`});CI(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)CI(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(VM,"fill");function CI(t,e,r){if(r=JM(r),qA(e)){if(!YM(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($M(t)==="immutable")throw new TypeError("immutable");return EI(t).append(e,r,!1)}o(CI,"appendHeader");function WM(t,e){return t[0]<e[0]?-1:1}o(WM,"compareHeaderName");var Gp=class t{static{o(this,"HeadersList")}cookies=null;constructor(e){e instanceof t?(this[Rt]=new Map(e[Rt]),this[Hr]=e[Hr],this.cookies=e.cookies===null?null:[...e.cookies]):(this[Rt]=new Map(e),this[Hr]=null)}contains(e,r){return this[Rt].has(r?e:e.toLowerCase())}clear(){this[Rt].clear(),this[Hr]=null,this.cookies=null}append(e,r,n){this[Hr]=null;let i=n?e:e.toLowerCase(),s=this[Rt].get(i);if(s){let a=i==="cookie"?"; ":", ";this[Rt].set(i,{name:s.name,value:`${s.value}${a}${r}`})}else this[Rt].set(i,{name:e,value:r});i==="set-cookie"&&(this.cookies??=[]).push(r)}set(e,r,n){this[Hr]=null;let i=n?e:e.toLowerCase();i==="set-cookie"&&(this.cookies=[r]),this[Rt].set(i,{name:e,value:r})}delete(e,r){this[Hr]=null,r||(e=e.toLowerCase()),e==="set-cookie"&&(this.cookies=null),this[Rt].delete(e)}get(e,r){return this[Rt].get(r?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:r}}of this[Rt])yield[e,r]}get entries(){let e={};if(this[Rt].size!==0)for(let{name:r,value:n}of this[Rt].values())e[r]=n;return e}rawValues(){return this[Rt].values()}get entriesList(){let e=[];if(this[Rt].size!==0)for(let{0:r,1:{name:n,value:i}}of this[Rt])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[Rt].size,r=new Array(e);if(e<=32){if(e===0)return r;let n=this[Rt][Symbol.iterator](),i=n.next().value;r[0]=[i[0],i[1].value],yI(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],yI(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[Rt])r[n++]=[i,s],yI(s!==null);return r.sort(WM)}}},Wn=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){Se.util.markAsUncloneable(this),e!==Wne&&(this.#t=new Gp,this.#e="none",e!==void 0&&(e=Se.converters.HeadersInit(e,"Headers contructor","init"),VM(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"),CI(this,e,r)}delete(e){if(Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,1,"Headers.delete"),e=Se.converters.ByteString(e,"Headers.delete","name"),!qA(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"),!qA(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"),!qA(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=JM(r),qA(e)){if(!YM(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[Hr](){if(this.#t[Hr])return this.#t[Hr];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[Hr]=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[Hr]=e}[jp.inspect.custom](e,r){return r.depth??=e,`Headers ${jp.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:$M,setHeadersGuard:Kne,getHeadersList:EI,setHeadersList:Xne}=Wn;Reflect.deleteProperty(Wn,"getHeadersGuard");Reflect.deleteProperty(Wn,"setHeadersGuard");Reflect.deleteProperty(Wn,"getHeadersList");Reflect.deleteProperty(Wn,"setHeadersList");$ne("Headers",Wn,Hr,0,1);Object.defineProperties(Wn.prototype,{append:lc,delete:lc,get:lc,has:lc,set:lc,getSetCookie:lc,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[jp.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(!jp.types.isProxy(t)&&n===Wn.prototype.entries)try{return EI(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>"]})};KM.exports={fill:VM,compareHeaderName:WM,Headers:Wn,HeadersList:Gp,getHeadersGuard:$M,setHeadersGuard:Kne,setHeadersList:Xne,getHeadersList:EI}});var zA=g((mje,lk)=>{"use strict";var{Headers:nk,HeadersList:XM,fill:Zne,getHeadersGuard:eie,setHeadersGuard:ik,setHeadersList:sk}=ko(),{extractBody:ZM,cloneBody:tie,mixinBody:rie,hasFinalizationRegistry:ok,streamRegistry:ak,bodyUnusable:nie}=za(),BI=Ee(),ek=require("node:util"),{kEnumerableProperty:zr}=BI,{isValidReasonPhrase:iie,isCancelled:sie,isAborted:oie,isBlobLike:aie,serializeJavascriptValueToJSONString:cie,isErrorLike:lie,isomorphicEncode:Aie,environmentSettingsObject:uie}=Ur(),{redirectStatusSet:die,nullBodyStatus:pie}=dA(),{kState:it,kHeaders:is}=bs(),{webidl:me}=$t(),{FormData:hie}=yA(),{URLSerializer:tk}=Br(),{kConstruct:Jp}=nt(),II=require("node:assert"),{types:fie}=require("node:util"),mie=new TextEncoder("utf-8"),Lo=class t{static{o(this,"Response")}static error(){return HA(Vp(),"immutable")}static json(e,r={}){me.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=me.converters.ResponseInit(r));let n=mie.encode(cie(e)),i=ZM(n),s=HA(Ac({}),"response");return rk(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,uie.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!die.has(r))throw new RangeError(`Invalid status code ${r}`);let i=HA(Ac({}),"immutable");i[it].status=r;let s=Aie(tk(n));return i[it].headersList.append("location",s,!0),i}constructor(e=null,r={}){if(me.util.markAsUncloneable(this),e===Jp)return;e!==null&&(e=me.converters.BodyInit(e)),r=me.converters.ResponseInit(r),this[it]=Ac({}),this[is]=new nk(Jp),ik(this[is],"response"),sk(this[is],this[it].headersList);let n=null;if(e!=null){let[i,s]=ZM(e);n={body:i,type:s}}rk(this,r,n)}get type(){return me.brandCheck(this,t),this[it].type}get url(){me.brandCheck(this,t);let e=this[it].urlList,r=e[e.length-1]??null;return r===null?"":tk(r,!0)}get redirected(){return me.brandCheck(this,t),this[it].urlList.length>1}get status(){return me.brandCheck(this,t),this[it].status}get ok(){return me.brandCheck(this,t),this[it].status>=200&&this[it].status<=299}get statusText(){return me.brandCheck(this,t),this[it].statusText}get headers(){return me.brandCheck(this,t),this[is]}get body(){return me.brandCheck(this,t),this[it].body?this[it].body.stream:null}get bodyUsed(){return me.brandCheck(this,t),!!this[it].body&&BI.isDisturbed(this[it].body.stream)}clone(){if(me.brandCheck(this,t),nie(this))throw me.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=bI(this[it]);return ok&&this[it].body?.stream&&ak.register(this,new WeakRef(this[it].body.stream)),HA(e,eie(this[is]))}[ek.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 ${ek.formatWithOptions(r,n)}`}};rie(Lo);Object.defineProperties(Lo.prototype,{type:zr,url:zr,status:zr,ok:zr,redirected:zr,statusText:zr,headers:zr,clone:zr,body:zr,bodyUsed:zr,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(Lo,{json:zr,redirect:zr,error:zr});function bI(t){if(t.internalResponse)return ck(bI(t.internalResponse),t.type);let e=Ac({...t,body:null});return t.body!=null&&(e.body=tie(e,t.body)),e}o(bI,"cloneResponse");function Ac(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new XM(t?.headersList):new XM,urlList:t?.urlList?[...t.urlList]:[]}}o(Ac,"makeResponse");function Vp(t){let e=lie(t);return Ac({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(Vp,"makeNetworkError");function gie(t){return t.type==="error"&&t.status===0}o(gie,"isNetworkError");function Yp(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 II(!(n in e)),r[n]=i,!0}})}o(Yp,"makeFilteredResponse");function ck(t,e){if(e==="basic")return Yp(t,{type:"basic",headersList:t.headersList});if(e==="cors")return Yp(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return Yp(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return Yp(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});II(!1)}o(ck,"filterResponse");function yie(t,e=null){return II(sie(t)),oie(t)?Vp(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):Vp(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(yie,"makeAppropriateNetworkError");function rk(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&&!iie(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[it].status=e.status),"statusText"in e&&e.statusText!=null&&(t[it].statusText=e.statusText),"headers"in e&&e.headers!=null&&Zne(t[is],e.headers),r){if(pie.includes(t.status))throw me.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[it].body=r.body,r.type!=null&&!t[it].headersList.contains("content-type",!0)&&t[it].headersList.append("content-type",r.type,!0)}}o(rk,"initializeResponse");function HA(t,e){let r=new Lo(Jp);return r[it]=t,r[is]=new nk(Jp),sk(r[is],t.headersList),ik(r[is],e),ok&&t.body?.stream&&ak.register(r,new WeakRef(t.body.stream)),r}o(HA,"fromInnerResponse");me.converters.ReadableStream=me.interfaceConverter(ReadableStream);me.converters.FormData=me.interfaceConverter(hie);me.converters.URLSearchParams=me.interfaceConverter(URLSearchParams);me.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?me.converters.USVString(t,e,r):aie(t)?me.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||fie.isArrayBuffer(t)?me.converters.BufferSource(t,e,r):BI.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}]);lk.exports={isNetworkError:gie,makeNetworkError:Vp,makeResponse:Ac,makeAppropriateNetworkError:yie,filterResponse:ck,Response:Lo,cloneResponse:bI,fromInnerResponse:HA}});var pk=g((yje,dk)=>{"use strict";var{kConnected:Ak,kSize:uk}=nt(),QI=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[Ak]===0&&this.value[uk]===0?void 0:this.value}},wI=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[Ak]===0&&e[uk]===0&&this.finalizer(r)})}unregister(e){}};dk.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:QI,FinalizationRegistry:wI}):{WeakRef,FinalizationRegistry}}});var uc=g((Eje,Sk)=>{"use strict";var{extractBody:Cie,mixinBody:Eie,cloneBody:Bie,bodyUnusable:hk}=za(),{Headers:bk,fill:Iie,HeadersList:Xp,setHeadersGuard:xI,getHeadersGuard:bie,setHeadersList:Qk,getHeadersList:fk}=ko(),{FinalizationRegistry:Qie}=pk()(),$p=Ee(),mk=require("node:util"),{isValidHTTPToken:wie,sameOrigin:gk,environmentSettingsObject:Wp}=Ur(),{forbiddenMethodsSet:Nie,corsSafeListedMethodsSet:xie,referrerPolicy:Sie,requestRedirect:Rie,requestMode:_ie,requestCredentials:vie,requestCache:Pie,requestDuplex:Die}=dA(),{kEnumerableProperty:_t,normalizedMethodRecordsBase:Tie,normalizedMethodRecords:Oie}=$p,{kHeaders:jr,kSignal:Kp,kState:Ze,kDispatcher:NI}=bs(),{webidl:ae}=$t(),{URLSerializer:Mie}=Br(),{kConstruct:Zp}=nt(),kie=require("node:assert"),{getMaxListeners:yk,setMaxListeners:Ck,getEventListeners:Lie,defaultMaxListeners:Ek}=require("node:events"),Uie=Symbol("abortController"),wk=new Qie(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),eh=new WeakMap;function Bk(t){return e;function e(){let r=t.deref();if(r!==void 0){wk.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=eh.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()}eh.delete(r.signal)}}}}o(Bk,"buildAbort");var Ik=!1,Os=class t{static{o(this,"Request")}constructor(e,r={}){if(ae.util.markAsUncloneable(this),e===Zp)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=Wp.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[NI]=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=th({urlList:[w]}),s="cors"}else this[NI]=r.dispatcher||e[NI],kie(e instanceof t),i=e[Ze],c=e[Kp];let l=Wp.settingsObject.origin,A="client";if(i.window?.constructor?.name==="EnvironmentSettingsObject"&&gk(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=th({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:Wp.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&&!gk(R,Wp.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=Oie[w];if(R!==void 0)i.method=R;else{if(!wie(w))throw new TypeError(`'${w}' is not a valid HTTP method.`);let T=w.toUpperCase();if(Nie.has(T))throw new TypeError(`'${w}' HTTP method is unsupported.`);w=Tie[T]??w,i.method=w}!Ik&&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"}),Ik=!0)}r.signal!==void 0&&(c=r.signal),this[Ze]=i;let f=new AbortController;if(this[Kp]=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[Uie]=f;let w=new WeakRef(f),R=Bk(w);try{(typeof yk=="function"&&yk(c)===Ek||Lie(c,"abort").length>=Ek)&&Ck(1500,c)}catch{}$p.addAbortListener(c,R),wk.register(f,{signal:c,abort:R},R)}}if(this[jr]=new bk(Zp),Qk(this[jr],i.headersList),xI(this[jr],"request"),d==="no-cors"){if(!xie.has(i.method))throw new TypeError(`'${i.method} is unsupported in no-cors mode.`);xI(this[jr],"request-no-cors")}if(u){let w=fk(this[jr]),R=r.headers!==void 0?r.headers:new Xp(w);if(w.clear(),R instanceof Xp){for(let{name:T,value:L}of R.rawValues())w.append(T,L,!1);w.cookies=R.cookies}else Iie(this[jr],R)}let m=e instanceof t?e[Ze].body:null;if((r.body!=null||m!=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]=Cie(r.body,i.keepalive);C=w,R&&!fk(this[jr]).contains("content-type",!0)&&this[jr].append("content-type",R)}let Q=C??m;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&&m!=null){if(hk(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let w=new TransformStream;m.stream.pipeThrough(w),S={source:m.source,length:m.length,stream:w.readable}}this[Ze].body=S}get method(){return ae.brandCheck(this,t),this[Ze].method}get url(){return ae.brandCheck(this,t),Mie(this[Ze].url)}get headers(){return ae.brandCheck(this,t),this[jr]}get destination(){return ae.brandCheck(this,t),this[Ze].destination}get referrer(){return ae.brandCheck(this,t),this[Ze].referrer==="no-referrer"?"":this[Ze].referrer==="client"?"about:client":this[Ze].referrer.toString()}get referrerPolicy(){return ae.brandCheck(this,t),this[Ze].referrerPolicy}get mode(){return ae.brandCheck(this,t),this[Ze].mode}get credentials(){return this[Ze].credentials}get cache(){return ae.brandCheck(this,t),this[Ze].cache}get redirect(){return ae.brandCheck(this,t),this[Ze].redirect}get integrity(){return ae.brandCheck(this,t),this[Ze].integrity}get keepalive(){return ae.brandCheck(this,t),this[Ze].keepalive}get isReloadNavigation(){return ae.brandCheck(this,t),this[Ze].reloadNavigation}get isHistoryNavigation(){return ae.brandCheck(this,t),this[Ze].historyNavigation}get signal(){return ae.brandCheck(this,t),this[Kp]}get body(){return ae.brandCheck(this,t),this[Ze].body?this[Ze].body.stream:null}get bodyUsed(){return ae.brandCheck(this,t),!!this[Ze].body&&$p.isDisturbed(this[Ze].body.stream)}get duplex(){return ae.brandCheck(this,t),"half"}clone(){if(ae.brandCheck(this,t),hk(this))throw new TypeError("unusable");let e=Nk(this[Ze]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=eh.get(this.signal);n===void 0&&(n=new Set,eh.set(this.signal,n));let i=new WeakRef(r);n.add(i),$p.addAbortListener(r.signal,Bk(i))}return xk(e,r.signal,bie(this[jr]))}[mk.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 ${mk.formatWithOptions(r,n)}`}};Eie(Os);function th(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 Xp(t.headersList):new Xp}}o(th,"makeRequest");function Nk(t){let e=th({...t,body:null});return t.body!=null&&(e.body=Bie(e,t.body)),e}o(Nk,"cloneRequest");function xk(t,e,r){let n=new Os(Zp);return n[Ze]=t,n[Kp]=e,n[jr]=new bk(Zp),Qk(n[jr],t.headersList),xI(n[jr],r),n}o(xk,"fromInnerRequest");Object.defineProperties(Os.prototype,{method:_t,url:_t,headers:_t,redirect:_t,clone:_t,signal:_t,duplex:_t,destination:_t,body:_t,bodyUsed:_t,isHistoryNavigation:_t,isReloadNavigation:_t,keepalive:_t,integrity:_t,cache:_t,credentials:_t,attribute:_t,referrerPolicy:_t,referrer:_t,mode:_t,[Symbol.toStringTag]:{value:"Request",configurable:!0}});ae.converters.Request=ae.interfaceConverter(Os);ae.converters.RequestInfo=function(t,e,r){return typeof t=="string"?ae.converters.USVString(t,e,r):t instanceof Os?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:Sie},{key:"mode",converter:ae.converters.DOMString,allowedValues:_ie},{key:"credentials",converter:ae.converters.DOMString,allowedValues:vie},{key:"cache",converter:ae.converters.DOMString,allowedValues:Pie},{key:"redirect",converter:ae.converters.DOMString,allowedValues:Rie},{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:Die},{key:"dispatcher",converter:ae.converters.any}]);Sk.exports={Request:Os,makeRequest:th,fromInnerRequest:xk,cloneRequest:Nk}});var GA=g((Ije,zk)=>{"use strict";var{makeNetworkError:ze,makeAppropriateNetworkError:rh,filterResponse:SI,makeResponse:nh,fromInnerResponse:Fie}=zA(),{HeadersList:Rk}=ko(),{Request:qie,cloneRequest:Hie}=uc(),Ms=require("node:zlib"),{bytesMatch:zie,makePolicyContainer:jie,clonePolicyContainer:Gie,requestBadPort:Yie,TAOCheck:Jie,appendRequestOriginHeader:Vie,responseLocationURL:Wie,requestCurrentURL:Bi,setRequestReferrerPolicyOnRedirect:$ie,tryUpgradeRequestToAPotentiallyTrustworthyURL:Kie,createOpaqueTimingInfo:DI,appendFetchMetadata:Xie,corsCheck:Zie,crossOriginResourcePolicyCheck:ese,determineRequestsReferrer:tse,coarsenedSharedCurrentTime:jA,createDeferredPromise:rse,isBlobLike:nse,sameOrigin:PI,isCancelled:Uo,isAborted:_k,isErrorLike:ise,fullyReadBody:sse,readableStreamClose:ose,isomorphicEncode:ih,urlIsLocal:ase,urlIsHttpHttpsScheme:TI,urlHasHttpsScheme:cse,clampAndCoarsenConnectionTimingInfo:lse,simpleRangeHeaderValue:Ase,buildContentRange:use,createInflate:dse,extractMimeType:pse}=Ur(),{kState:Tk,kDispatcher:hse}=bs(),Fo=require("node:assert"),{safelyExtractBody:OI,extractBody:vk}=za(),{redirectStatusSet:Ok,nullBodyStatus:Mk,safeMethodsSet:fse,requestBodyHeader:mse,subresourceSet:gse}=dA(),yse=require("node:events"),{Readable:Cse,pipeline:Ese,finished:Bse}=require("node:stream"),{addAbortListener:Ise,isErrored:bse,isReadable:sh,bufferToLowerCasedHeaderName:Pk}=Ee(),{dataURLProcessor:Qse,serializeAMimeType:wse,minimizeSupportedMimeType:Nse}=Br(),{getGlobalDispatcher:xse}=Hp(),{webidl:Sse}=$t(),{STATUS_CODES:Rse}=require("node:http"),_se=["GET","HEAD"],vse=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",RI,oh=class extends yse{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 Pse(t){kk(t,"fetch")}o(Pse,"handleFetchDone");function Dse(t,e=void 0){Sse.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=rse(),n;try{n=new qie(t,e)}catch(u){return r.reject(u),r.promise}let i=n[Tk];if(n.signal.aborted)return _I(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 Ise(n.signal,()=>{c=!0,Fo(l!=null),l.abort(n.signal.reason);let u=a?.deref();_I(r,i,u,n.signal.reason)}),l=Uk({request:i,processResponseEndOfBody:Pse,processResponse:o(u=>{if(!c){if(u.aborted){_I(r,i,a,l.serializedAbortReason);return}if(u.type==="error"){r.reject(new TypeError("fetch failed",{cause:u.error}));return}a=new WeakRef(Fie(u,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[hse]}),r.promise}o(Dse,"fetch");function kk(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,i=t.cacheState;TI(r)&&n!==null&&(t.timingAllowPassed||(n=DI({startTime:n.startTime}),i=""),n.endTime=jA(),t.timingInfo=n,Lk(n,r.href,e,globalThis,i))}o(kk,"finalizeAndReportTiming");var Lk=performance.markResourceTiming;function _I(t,e,r,n){if(t&&t.reject(n),e.body!=null&&sh(e.body?.stream)&&e.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s}),r==null)return;let i=r[Tk];i.body!=null&&sh(i.body?.stream)&&i.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s})}o(_I,"abortFetch");function Uk({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:a=!1,dispatcher:c=xse()}){Fo(c);let l=null,A=!1;t.client!=null&&(l=t.client.globalObject,A=t.client.crossOriginIsolatedCapability);let u=jA(A),d=DI({startTime:u}),f={controller:new oh(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:i,taskDestination:l,crossOriginIsolatedCapability:A};return Fo(!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=Gie(t.client.policyContainer):t.policyContainer=jie()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,gse.has(t.destination),Fk(f).catch(m=>{f.controller.terminate(m)}),f.controller}o(Uk,"fetching");async function Fk(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!ase(Bi(r))&&(n=ze("local URLs only")),Kie(r),Yie(r)==="blocked"&&(n=ze("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=tse(r)),n===null&&(n=await(async()=>{let s=Bi(r);return PI(s,r.url)&&r.responseTainting==="basic"||s.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await Dk(t)):r.mode==="same-origin"?ze('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?ze('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await Dk(t)):TI(Bi(r))?(r.responseTainting="cors",await qk(t)):ze("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=SI(n,"basic"):r.responseTainting==="cors"?n=SI(n,"cors"):r.responseTainting==="opaque"?n=SI(n,"opaque"):Fo(!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=ze()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||Mk.includes(i.status))&&(i.body=null,t.controller.dump=!0),r.integrity){let s=o(c=>vI(t,ze(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){s(n.error);return}let a=o(c=>{if(!zie(c,r.integrity)){s("integrity mismatch");return}n.body=OI(c)[0],vI(t,n)},"processBody");await sse(n.body,a,s)}else vI(t,n)}o(Fk,"mainFetch");function Dk(t){if(Uo(t)&&t.request.redirectCount===0)return Promise.resolve(rh(t));let{request:e}=t,{protocol:r}=Bi(e);switch(r){case"about:":return Promise.resolve(ze("about scheme is not supported"));case"blob:":{RI||(RI=require("node:buffer").resolveObjectURL);let n=Bi(e);if(n.search.length!==0)return Promise.resolve(ze("NetworkError when attempting to fetch resource."));let i=RI(n.toString());if(e.method!=="GET"||!nse(i))return Promise.resolve(ze("invalid method"));let s=nh(),a=i.size,c=ih(`${a}`),l=i.type;if(e.headersList.contains("range",!0)){s.rangeRequested=!0;let A=e.headersList.get("range",!0),u=Ase(A,!0);if(u==="failure")return Promise.resolve(ze("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(ze("Range start is greater than the blob's size."));(f===null||f>=a)&&(f=a-1)}let m=i.slice(d,f,l),C=vk(m);s.body=C[0];let Q=ih(`${m.size}`),S=use(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=vk(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=Bi(e),i=Qse(n);if(i==="failure")return Promise.resolve(ze("failed to fetch the data URL"));let s=wse(i.mimeType);return Promise.resolve(nh({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:OI(i.body)[0]}))}case"file:":return Promise.resolve(ze("not implemented... yet..."));case"http:":case"https:":return qk(t).catch(n=>ze(n));default:return Promise.resolve(ze("unknown scheme"))}}o(Dk,"schemeFetch");function Tse(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(Tse,"finalizeResponse");function vI(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=DI(r),c="");let A=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){A=e.status;let u=pse(e.headersList);u!=="failure"&&(l.contentType=Nse(u))}t.request.initiatorType!=null&&Lk(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():Bse(i.body.stream,()=>{n()})}o(vI,"fetchFinale");async function qk(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 Hk(t),e.responseTainting==="cors"&&Zie(e,r)==="failure")return ze("cors failure");Jie(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&ese(e.origin,e.client,e.destination,n)==="blocked"?ze("blocked"):(Ok.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=ze("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await Ose(t,r):Fo(!1)),r.timingInfo=i,r)}o(qk,"httpFetch");function Ose(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,i;try{if(i=Wie(n,Bi(r).hash),i==null)return e}catch(a){return Promise.resolve(ze(a))}if(!TI(i))return Promise.resolve(ze("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(ze("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!PI(r,i))return Promise.resolve(ze('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(ze('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(ze());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!_se.includes(r.method)){r.method="GET",r.body=null;for(let a of mse)r.headersList.delete(a)}PI(Bi(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&&(Fo(r.body.source!=null),r.body=OI(r.body.source)[0]);let s=t.timingInfo;return s.redirectEndTime=s.postRedirectStartTime=jA(t.crossOriginIsolatedCapability),s.redirectStartTime===0&&(s.redirectStartTime=s.startTime),r.urlList.push(i),$ie(r,n),Fk(t,!0)}o(Ose,"httpRedirectFetch");async function Hk(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=Hie(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=ih(`${u}`)),d!=null&&s.headersList.append("content-length",d,!0),u!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append("referer",ih(s.referrer.href),!0),Vie(s),Xie(s),s.headersList.contains("user-agent",!0)||s.headersList.append("user-agent",vse),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)||(cse(Bi(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 ze("only if cached");let f=await Mse(i,A,r);!fse.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"?ze():Uo(t)?rh(t):ze("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(Uo(t))return rh(t);t.controller.connection.destroy(),a=await Hk(t,e,!0)}return a}o(Hk,"httpNetworkOrCacheFetch");async function Mse(t,e=!1,r=!1){Fo(!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){Uo(t)||(yield w,t.processRequestBodyChunkLength?.(w.byteLength))},"processBodyChunk"),Q=o(()=>{Uo(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),S=o(w=>{Uo(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 m({body:l});if(R)i=nh({status:Q,statusText:S,headersList:w,socket:R});else{let T=C[Symbol.asyncIterator]();t.controller.next=()=>T.next(),i=nh({status:Q,statusText:S,headersList:w})}}catch(C){return C.name==="AbortError"?(t.controller.connection.destroy(),rh(t,C)):ze(C)}let A=o(async()=>{await t.controller.resume()},"pullAlgorithm"),u=o(C=>{Uo(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(_k(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){ose(t.controller.controller),Tse(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),bse(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function f(C){_k(t)?(i.aborted=!0,sh(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):sh(d)&&t.controller.controller.error(new TypeError("terminated",{cause:ise(C)?C:void 0})),t.controller.connection.destroy()}return o(f,"onAborted"),i;function m({body:C}){let Q=Bi(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=lse(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=jA(t.crossOriginIsolatedCapability)},onResponseStarted(){s.finalNetworkResponseStartTime=jA(t.crossOriginIsolatedCapability)},onHeaders(T,L,W,de){if(T<200)return;let le="",Te=new Rk;for(let fe=0;fe<L.length;fe+=2)Te.append(Pk(L[fe]),L[fe+1].toString("latin1"),!0);le=Te.get("location",!0),this.body=new Cse({read:W});let Oe=[],He=le&&n.redirect==="follow"&&Ok.has(T);if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!Mk.includes(T)&&!He){let fe=Te.get("content-encoding",!0),Ge=fe?fe.toLowerCase().split(","):[],ai=5;if(Ge.length>ai)return R(new Error(`too many content-encodings in response: ${Ge.length}, maximum allowed is ${ai}`)),!0;for(let ji=Ge.length-1;ji>=0;--ji){let Gi=Ge[ji].trim();if(Gi==="x-gzip"||Gi==="gzip")Oe.push(Ms.createGunzip({flush:Ms.constants.Z_SYNC_FLUSH,finishFlush:Ms.constants.Z_SYNC_FLUSH}));else if(Gi==="deflate")Oe.push(dse({flush:Ms.constants.Z_SYNC_FLUSH,finishFlush:Ms.constants.Z_SYNC_FLUSH}));else if(Gi==="br")Oe.push(Ms.createBrotliDecompress({flush:Ms.constants.BROTLI_OPERATION_FLUSH,finishFlush:Ms.constants.BROTLI_OPERATION_FLUSH}));else{Oe.length=0;break}}}let Xe=this.onError.bind(this);return w({status:T,statusText:de,headersList:Te,body:Oe.length?Ese(this.body,...Oe,fe=>{fe&&this.onError(fe)}).on("error",Xe):this.body.on("error",Xe)}),!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 Rk;for(let le=0;le<L.length;le+=2)de.append(Pk(L[le]),L[le+1].toString("latin1"),!0);return w({status:T,statusText:Rse[T],headersList:de,socket:W}),!0}}))}o(m,"dispatch")}o(Mse,"httpNetworkFetch");zk.exports={fetch:Dse,Fetch:oh,fetching:Uk,finalizeAndReportTiming:kk}});var MI=g((Qje,jk)=>{"use strict";jk.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 Yk=g((wje,Gk)=>{"use strict";var{webidl:Gr}=$t(),ah=Symbol("ProgressEvent state"),kI=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=Gr.converters.DOMString(e,"ProgressEvent constructor","type"),r=Gr.converters.ProgressEventInit(r??{}),super(e,r),this[ah]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return Gr.brandCheck(this,t),this[ah].lengthComputable}get loaded(){return Gr.brandCheck(this,t),this[ah].loaded}get total(){return Gr.brandCheck(this,t),this[ah].total}};Gr.converters.ProgressEventInit=Gr.dictionaryConverter([{key:"lengthComputable",converter:Gr.converters.boolean,defaultValue:()=>!1},{key:"loaded",converter:Gr.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:Gr.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:Gr.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:Gr.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:Gr.converters.boolean,defaultValue:()=>!1}]);Gk.exports={ProgressEvent:kI}});var Vk=g((xje,Jk)=>{"use strict";function kse(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(kse,"getEncoding");Jk.exports={getEncoding:kse}});var rL=g((Rje,tL)=>{"use strict";var{kState:dc,kError:LI,kResult:Wk,kAborted:YA,kLastProgressEventFired:UI}=MI(),{ProgressEvent:Lse}=Yk(),{getEncoding:$k}=Vk(),{serializeAMimeType:Use,parseMIMEType:Kk}=Br(),{types:Fse}=require("node:util"),{StringDecoder:Xk}=require("string_decoder"),{btoa:Zk}=require("node:buffer"),qse={enumerable:!0,writable:!1,configurable:!1};function Hse(t,e,r,n){if(t[dc]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[dc]="loading",t[Wk]=null,t[LI]=null;let s=e.stream().getReader(),a=[],c=s.read(),l=!0;(async()=>{for(;!t[YA];)try{let{done:A,value:u}=await c;if(l&&!t[YA]&&queueMicrotask(()=>{ks("loadstart",t)}),l=!1,!A&&Fse.isUint8Array(u))a.push(u),(t[UI]===void 0||Date.now()-t[UI]>=50)&&!t[YA]&&(t[UI]=Date.now(),queueMicrotask(()=>{ks("progress",t)})),c=s.read();else if(A){queueMicrotask(()=>{t[dc]="done";try{let d=zse(a,r,e.type,n);if(t[YA])return;t[Wk]=d,ks("load",t)}catch(d){t[LI]=d,ks("error",t)}t[dc]!=="loading"&&ks("loadend",t)});break}}catch(A){if(t[YA])return;queueMicrotask(()=>{t[dc]="done",t[LI]=A,ks("error",t),t[dc]!=="loading"&&ks("loadend",t)});break}})()}o(Hse,"readOperation");function ks(t,e){let r=new Lse(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(ks,"fireAProgressEvent");function zse(t,e,r,n){switch(e){case"DataURL":{let i="data:",s=Kk(r||"application/octet-stream");s!=="failure"&&(i+=Use(s)),i+=";base64,";let a=new Xk("latin1");for(let c of t)i+=Zk(a.write(c));return i+=Zk(a.end()),i}case"Text":{let i="failure";if(n&&(i=$k(n)),i==="failure"&&r){let s=Kk(r);s!=="failure"&&(i=$k(s.parameters.get("charset")))}return i==="failure"&&(i="UTF-8"),jse(t,i)}case"ArrayBuffer":return eL(t).buffer;case"BinaryString":{let i="",s=new Xk("latin1");for(let a of t)i+=s.write(a);return i+=s.end(),i}}}o(zse,"packageData");function jse(t,e){let r=eL(t),n=Gse(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(jse,"decode");function Gse(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(Gse,"BOMSniffing");function eL(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(eL,"combineByteSequences");tL.exports={staticPropertyDescriptors:qse,readOperation:Hse,fireAProgressEvent:ks}});var oL=g((vje,sL)=>{"use strict";var{staticPropertyDescriptors:pc,readOperation:ch,fireAProgressEvent:nL}=rL(),{kState:qo,kError:iL,kResult:lh,kEvents:De,kAborted:Yse}=MI(),{webidl:Ye}=$t(),{kEnumerableProperty:Qr}=Ee(),$n=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[qo]="empty",this[lh]=null,this[iL]=null,this[De]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){Ye.brandCheck(this,t),Ye.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=Ye.converters.Blob(e,{strict:!1}),ch(this,e,"ArrayBuffer")}readAsBinaryString(e){Ye.brandCheck(this,t),Ye.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Ye.converters.Blob(e,{strict:!1}),ch(this,e,"BinaryString")}readAsText(e,r=void 0){Ye.brandCheck(this,t),Ye.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=Ye.converters.Blob(e,{strict:!1}),r!==void 0&&(r=Ye.converters.DOMString(r,"FileReader.readAsText","encoding")),ch(this,e,"Text",r)}readAsDataURL(e){Ye.brandCheck(this,t),Ye.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Ye.converters.Blob(e,{strict:!1}),ch(this,e,"DataURL")}abort(){if(this[qo]==="empty"||this[qo]==="done"){this[lh]=null;return}this[qo]==="loading"&&(this[qo]="done",this[lh]=null),this[Yse]=!0,nL("abort",this),this[qo]!=="loading"&&nL("loadend",this)}get readyState(){switch(Ye.brandCheck(this,t),this[qo]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Ye.brandCheck(this,t),this[lh]}get error(){return Ye.brandCheck(this,t),this[iL]}get onloadend(){return Ye.brandCheck(this,t),this[De].loadend}set onloadend(e){Ye.brandCheck(this,t),this[De].loadend&&this.removeEventListener("loadend",this[De].loadend),typeof e=="function"?(this[De].loadend=e,this.addEventListener("loadend",e)):this[De].loadend=null}get onerror(){return Ye.brandCheck(this,t),this[De].error}set onerror(e){Ye.brandCheck(this,t),this[De].error&&this.removeEventListener("error",this[De].error),typeof e=="function"?(this[De].error=e,this.addEventListener("error",e)):this[De].error=null}get onloadstart(){return Ye.brandCheck(this,t),this[De].loadstart}set onloadstart(e){Ye.brandCheck(this,t),this[De].loadstart&&this.removeEventListener("loadstart",this[De].loadstart),typeof e=="function"?(this[De].loadstart=e,this.addEventListener("loadstart",e)):this[De].loadstart=null}get onprogress(){return Ye.brandCheck(this,t),this[De].progress}set onprogress(e){Ye.brandCheck(this,t),this[De].progress&&this.removeEventListener("progress",this[De].progress),typeof e=="function"?(this[De].progress=e,this.addEventListener("progress",e)):this[De].progress=null}get onload(){return Ye.brandCheck(this,t),this[De].load}set onload(e){Ye.brandCheck(this,t),this[De].load&&this.removeEventListener("load",this[De].load),typeof e=="function"?(this[De].load=e,this.addEventListener("load",e)):this[De].load=null}get onabort(){return Ye.brandCheck(this,t),this[De].abort}set onabort(e){Ye.brandCheck(this,t),this[De].abort&&this.removeEventListener("abort",this[De].abort),typeof e=="function"?(this[De].abort=e,this.addEventListener("abort",e)):this[De].abort=null}};$n.EMPTY=$n.prototype.EMPTY=0;$n.LOADING=$n.prototype.LOADING=1;$n.DONE=$n.prototype.DONE=2;Object.defineProperties($n.prototype,{EMPTY:pc,LOADING:pc,DONE:pc,readAsArrayBuffer:Qr,readAsBinaryString:Qr,readAsText:Qr,readAsDataURL:Qr,abort:Qr,readyState:Qr,result:Qr,error:Qr,onloadstart:Qr,onprogress:Qr,onload:Qr,onabort:Qr,onerror:Qr,onloadend:Qr,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties($n,{EMPTY:pc,LOADING:pc,DONE:pc});sL.exports={FileReader:$n}});var Ah=g((Dje,aL)=>{"use strict";aL.exports={kConstruct:nt().kConstruct}});var AL=g((Tje,lL)=>{"use strict";var Jse=require("node:assert"),{URLSerializer:cL}=Br(),{isValidHeaderName:Vse}=Ur();function Wse(t,e,r=!1){let n=cL(t,r),i=cL(e,r);return n===i}o(Wse,"urlEquals");function $se(t){Jse(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),Vse(r)&&e.push(r);return e}o($se,"getFieldValues");lL.exports={urlEquals:Wse,getFieldValues:$se}});var pL=g((Mje,dL)=>{"use strict";var{kConstruct:Kse}=Ah(),{urlEquals:Xse,getFieldValues:FI}=AL(),{kEnumerableProperty:Ho,isDisturbed:Zse}=Ee(),{webidl:te}=$t(),{Response:eoe,cloneResponse:toe,fromInnerResponse:roe}=zA(),{Request:ss,fromInnerRequest:noe}=uc(),{kState:Kn}=bs(),{fetching:ioe}=GA(),{urlIsHttpHttpsScheme:uh,createDeferredPromise:hc,readAllBytes:soe}=Ur(),qI=require("node:assert"),dh=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==Kse&&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 m=f[Kn];if(!uh(m.url)||m.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 m=new ss(f)[Kn];if(!uh(m.url))throw te.errors.exception({header:r,message:"Expected http/s scheme."});m.initiator="fetch",m.destination="subresource",i.push(m);let C=hc();s.push(ioe({request:m,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=FI(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 m={type:"put",request:i[A],response:f};l.push(m),A++}let u=hc(),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 ss?i=e[Kn]:i=new ss(e)[Kn],!uh(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[Kn];if(s.status===206)throw te.errors.exception({header:n,message:"Got 206 status"});if(s.headersList.contains("vary")){let m=FI(s.headersList.get("vary"));for(let C of m)if(C==="*")throw te.errors.exception({header:n,message:"Got * vary field value"})}if(s.body&&(Zse(s.body.stream)||s.body.stream.locked))throw te.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=toe(s),c=hc();if(s.body!=null){let C=s.body.stream.getReader();soe(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=hc(),f=null;try{this.#t(l)}catch(m){f=m}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 ss){if(i=e[Kn],i.method!=="GET"&&!r.ignoreMethod)return!1}else qI(typeof e=="string"),i=new ss(e)[Kn];let s=[],a={type:"delete",request:i,options:r};s.push(a);let c=hc(),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 ss){if(i=e[Kn],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new ss(e)[Kn]);let s=hc(),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=noe(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);qI(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(!uh(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);qI(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=""),!Xse(s,a,!0))return!1;if(n==null||i?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=FI(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 ss){if(i=e[Kn],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new ss(e)[Kn]);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=roe(c,"immutable");if(a.push(l.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(dh.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Ho,matchAll:Ho,add:Ho,addAll:Ho,put:Ho,delete:Ho,keys:Ho});var uL=[{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(uL);te.converters.MultiCacheQueryOptions=te.dictionaryConverter([...uL,{key:"cacheName",converter:te.converters.DOMString}]);te.converters.Response=te.interfaceConverter(eoe);te.converters["sequence<RequestInfo>"]=te.sequenceConverter(te.converters.RequestInfo);dL.exports={Cache:dh}});var fL=g((Lje,hL)=>{"use strict";var{kConstruct:JA}=Ah(),{Cache:ph}=pL(),{webidl:rr}=$t(),{kEnumerableProperty:VA}=Ee(),hh=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==JA&&rr.illegalConstructor(),rr.util.markAsUncloneable(this)}async match(e,r={}){if(rr.brandCheck(this,t),rr.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=rr.converters.RequestInfo(e),r=rr.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new ph(JA,n).match(e,r)}}else for(let n of this.#e.values()){let s=await new ph(JA,n).match(e,r);if(s!==void 0)return s}}async has(e){rr.brandCheck(this,t);let r="CacheStorage.has";return rr.argumentLengthCheck(arguments,1,r),e=rr.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){rr.brandCheck(this,t);let r="CacheStorage.open";if(rr.argumentLengthCheck(arguments,1,r),e=rr.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let i=this.#e.get(e);return new ph(JA,i)}let n=[];return this.#e.set(e,n),new ph(JA,n)}async delete(e){rr.brandCheck(this,t);let r="CacheStorage.delete";return rr.argumentLengthCheck(arguments,1,r),e=rr.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return rr.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(hh.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:VA,has:VA,open:VA,delete:VA,keys:VA});hL.exports={CacheStorage:hh}});var gL=g((Fje,mL)=>{"use strict";mL.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var HI=g((qje,IL)=>{"use strict";function ooe(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(ooe,"isCTLExcludingHtab");function yL(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(yL,"validateCookieName");function CL(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(CL,"validateCookieValue");function EL(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(EL,"validateCookiePath");function aoe(t){if(t.startsWith("-")||t.endsWith(".")||t.endsWith("-"))throw new Error("Invalid cookie domain")}o(aoe,"validateCookieDomain");var coe=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],loe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],fh=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function BL(t){return typeof t=="number"&&(t=new Date(t)),`${coe[t.getUTCDay()]}, ${fh[t.getUTCDate()]} ${loe[t.getUTCMonth()]} ${t.getUTCFullYear()} ${fh[t.getUTCHours()]}:${fh[t.getUTCMinutes()]}:${fh[t.getUTCSeconds()]} GMT`}o(BL,"toIMFDate");function Aoe(t){if(t<0)throw new Error("Invalid cookie max-age")}o(Aoe,"validateCookieMaxAge");function uoe(t){if(t.name.length===0)return null;yL(t.name),CL(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"&&(Aoe(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(aoe(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(EL(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${BL(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(uoe,"stringify");IL.exports={isCTLExcludingHtab:ooe,validateCookieName:yL,validateCookiePath:EL,validateCookieValue:CL,toIMFDate:BL,stringify:uoe}});var QL=g((zje,bL)=>{"use strict";var{maxNameValuePairSize:doe,maxAttributeValueSize:poe}=gL(),{isCTLExcludingHtab:hoe}=HI(),{collectASequenceOfCodePointsFast:mh}=Br(),foe=require("node:assert");function moe(t){if(hoe(t))return null;let e="",r="",n="",i="";if(t.includes(";")){let s={position:0};e=mh(";",t,s),r=t.slice(s.position)}else e=t;if(!e.includes("="))i=e;else{let s={position:0};n=mh("=",e,s),i=e.slice(s.position+1)}return n=n.trim(),i=i.trim(),n.length+i.length>doe?null:{name:n,value:i,...fc(r)}}o(moe,"parseSetCookie");function fc(t,e={}){if(t.length===0)return e;foe(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=mh(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",i="";if(r.includes("=")){let a={position:0};n=mh("=",r,a),i=r.slice(a.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>poe)return fc(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 fc(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 fc(t,e)}o(fc,"parseUnparsedAttributes");bL.exports={parseSetCookie:moe,parseUnparsedAttributes:fc}});var xL=g((Gje,NL)=>{"use strict";var{parseSetCookie:goe}=QL(),{stringify:yoe}=HI(),{webidl:Ne}=$t(),{Headers:gh}=ko();function Coe(t){Ne.argumentLengthCheck(arguments,1,"getCookies"),Ne.brandCheck(t,gh,{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(Coe,"getCookies");function Eoe(t,e,r){Ne.brandCheck(t,gh,{strict:!1});let n="deleteCookie";Ne.argumentLengthCheck(arguments,2,n),e=Ne.converters.DOMString(e,n,"name"),r=Ne.converters.DeleteCookieAttributes(r),wL(t,{name:e,value:"",expires:new Date(0),...r})}o(Eoe,"deleteCookie");function Boe(t){Ne.argumentLengthCheck(arguments,1,"getSetCookies"),Ne.brandCheck(t,gh,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>goe(r)):[]}o(Boe,"getSetCookies");function wL(t,e){Ne.argumentLengthCheck(arguments,2,"setCookie"),Ne.brandCheck(t,gh,{strict:!1}),e=Ne.converters.Cookie(e);let r=yoe(e);r&&t.append("Set-Cookie",r)}o(wL,"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)}]);NL.exports={getCookies:Coe,deleteCookie:Eoe,getSetCookies:Boe,setCookie:wL}});var gc=g((Jje,RL)=>{"use strict";var{webidl:ee}=$t(),{kEnumerableProperty:wr}=Ee(),{kConstruct:SL}=nt(),{MessagePort:Ioe}=require("node:worker_threads"),mc=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===SL){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(SL,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:boe}=mc;delete mc.createFastMessageEvent;var yh=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}},Ch=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(mc.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:wr,origin:wr,lastEventId:wr,source:wr,ports:wr,initMessageEvent:wr});Object.defineProperties(yh.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:wr,code:wr,wasClean:wr});Object.defineProperties(Ch.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:wr,filename:wr,lineno:wr,colno:wr,error:wr});ee.converters.MessagePort=ee.interfaceConverter(Ioe);ee.converters["sequence<MessagePort>"]=ee.sequenceConverter(ee.converters.MessagePort);var zI=[{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([...zI,{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([...zI,{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([...zI,{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}]);RL.exports={MessageEvent:mc,CloseEvent:yh,ErrorEvent:Ch,createFastMessageEvent:boe}});var zo=g((Wje,_L)=>{"use strict";var Qoe="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",woe={enumerable:!0,writable:!1,configurable:!1},Noe={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},xoe={NOT_SENT:0,PROCESSING:1,SENT:2},Soe={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},Roe=2**16-1,_oe={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},voe=Buffer.allocUnsafe(0),Poe={string:1,typedArray:2,arrayBuffer:3,blob:4};_L.exports={uid:Qoe,sentCloseFrameState:xoe,staticPropertyDescriptors:woe,states:Noe,opcodes:Soe,maxUnsigned16Bit:Roe,parserStates:_oe,emptyBuffer:voe,sendHints:Poe}});var WA=g(($je,vL)=>{"use strict";vL.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 XA=g((Kje,FL)=>{"use strict";var{kReadyState:$A,kController:Doe,kResponse:Toe,kBinaryType:Ooe,kWebSocketURL:Moe}=WA(),{states:KA,opcodes:Ls}=zo(),{ErrorEvent:koe,createFastMessageEvent:Loe}=gc(),{isUtf8:Uoe}=require("node:buffer"),{collectASequenceOfCodePointsFast:Foe,removeHTTPWhitespace:PL}=Br();function qoe(t){return t[$A]===KA.CONNECTING}o(qoe,"isConnecting");function Hoe(t){return t[$A]===KA.OPEN}o(Hoe,"isEstablished");function zoe(t){return t[$A]===KA.CLOSING}o(zoe,"isClosing");function joe(t){return t[$A]===KA.CLOSED}o(joe,"isClosed");function jI(t,e,r=(i,s)=>new Event(i,s),n={}){let i=r(t,n);e.dispatchEvent(i)}o(jI,"fireEvent");function Goe(t,e,r){if(t[$A]!==KA.OPEN)return;let n;if(e===Ls.TEXT)try{n=UL(r)}catch{TL(t,"Received invalid UTF-8 in text frame.");return}else e===Ls.BINARY&&(t[Ooe]==="blob"?n=new Blob([r]):n=Yoe(r));jI("message",t,Loe,{origin:t[Moe].origin,data:n})}o(Goe,"websocketMessageReceived");function Yoe(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(Yoe,"toArrayBuffer");function Joe(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(Joe,"isValidSubprotocol");function Voe(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(Voe,"isValidStatusCode");function TL(t,e){let{[Doe]:r,[Toe]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&jI("error",t,(i,s)=>new koe(i,s),{error:new Error(e),message:e})}o(TL,"failWebsocketConnection");function OL(t){return t===Ls.CLOSE||t===Ls.PING||t===Ls.PONG}o(OL,"isControlFrame");function ML(t){return t===Ls.CONTINUATION}o(ML,"isContinuationFrame");function kL(t){return t===Ls.TEXT||t===Ls.BINARY}o(kL,"isTextBinaryFrame");function Woe(t){return kL(t)||ML(t)||OL(t)}o(Woe,"isValidOpcode");function $oe(t){let e={position:0},r=new Map;for(;e.position<t.length;){let n=Foe(";",t,e),[i,s=""]=n.split("=");r.set(PL(i,!0,!1),PL(s,!1,!0)),e.position++}return r}o($oe,"parseExtensions");function Koe(t){for(let e=0;e<t.length;e++){let r=t.charCodeAt(e);if(r<48||r>57)return!1}return!0}o(Koe,"isValidClientWindowBits");var LL=typeof process.versions.icu=="string",DL=LL?new TextDecoder("utf-8",{fatal:!0}):void 0,UL=LL?DL.decode.bind(DL):function(t){if(Uoe(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};FL.exports={isConnecting:qoe,isEstablished:Hoe,isClosing:zoe,isClosed:joe,fireEvent:jI,isValidSubprotocol:Joe,isValidStatusCode:Voe,failWebsocketConnection:TL,websocketMessageReceived:Goe,utf8Decode:UL,isControlFrame:OL,isContinuationFrame:ML,isTextBinaryFrame:kL,isValidOpcode:Woe,parseExtensions:$oe,isValidClientWindowBits:Koe}});var Bh=g((Zje,qL)=>{"use strict";var{maxUnsigned16Bit:Xoe}=zo(),Eh=16386,GI,ZA=null,yc=Eh;try{GI=require("node:crypto")}catch{GI={randomFillSync:o(function(e,r,n){for(let i=0;i<e.length;++i)e[i]=Math.random()*255|0;return e},"randomFillSync")}}function Zoe(){return yc===Eh&&(yc=0,GI.randomFillSync(ZA??=Buffer.allocUnsafe(Eh),0,Eh)),[ZA[yc++],ZA[yc++],ZA[yc++],ZA[yc++]]}o(Zoe,"generateMask");var YI=class{static{o(this,"WebsocketFrameSend")}constructor(e){this.frameData=e}createFrame(e){let r=this.frameData,n=Zoe(),i=r?.byteLength??0,s=i,a=6;i>Xoe?(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}};qL.exports={WebsocketFrameSend:YI}});var VI=g((tGe,VL)=>{"use strict";var{uid:eae,states:eu,sentCloseFrameState:Ih,emptyBuffer:tae,opcodes:rae}=zo(),{kReadyState:tu,kSentClose:bh,kByteParser:zL,kReceivedClose:HL,kResponse:jL}=WA(),{fireEvent:nae,failWebsocketConnection:Us,isClosing:iae,isClosed:sae,isEstablished:oae,parseExtensions:aae}=XA(),{channels:Cc}=_a(),{CloseEvent:cae}=gc(),{makeRequest:lae}=uc(),{fetching:Aae}=GA(),{Headers:uae,getHeadersList:dae}=ko(),{getDecodeSplit:pae}=Ur(),{WebsocketFrameSend:hae}=Bh(),JI;try{JI=require("node:crypto")}catch{}function fae(t,e,r,n,i,s){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=lae({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(s.headers){let d=dae(new uae(s.headers));c.headersList=d}let l=JI.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"),Aae({request:c,useParallelQueue:!0,dispatcher:s.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){Us(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){Us(n,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Us(n,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Us(n,'Server did not set Connection header to "upgrade".');return}let f=d.headersList.get("Sec-WebSocket-Accept"),m=JI.createHash("sha1").update(l+eae).digest("base64");if(f!==m){Us(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let C=d.headersList.get("Sec-WebSocket-Extensions"),Q;if(C!==null&&(Q=aae(C),!Q.has("permessage-deflate"))){Us(n,"Sec-WebSocket-Extensions header does not match.");return}let S=d.headersList.get("Sec-WebSocket-Protocol");if(S!==null&&!pae("sec-websocket-protocol",c.headersList).includes(S)){Us(n,"Protocol was not set in the opening handshake.");return}d.socket.on("data",GL),d.socket.on("close",YL),d.socket.on("error",JL),Cc.open.hasSubscribers&&Cc.open.publish({address:d.socket.address(),protocol:S,extensions:C}),i(d,Q)}})}o(fae,"establishWebSocketConnection");function mae(t,e,r,n){if(!(iae(t)||sae(t)))if(!oae(t))Us(t,"Connection was closed before it was established."),t[tu]=eu.CLOSING;else if(t[bh]===Ih.NOT_SENT){t[bh]=Ih.PROCESSING;let i=new hae;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=tae,t[jL].socket.write(i.createFrame(rae.CLOSE)),t[bh]=Ih.SENT,t[tu]=eu.CLOSING}else t[tu]=eu.CLOSING}o(mae,"closeWebSocketConnection");function GL(t){this.ws[zL].write(t)||this.pause()}o(GL,"onSocketData");function YL(){let{ws:t}=this,{[jL]:e}=t;e.socket.off("data",GL),e.socket.off("close",YL),e.socket.off("error",JL);let r=t[bh]===Ih.SENT&&t[HL],n=1005,i="",s=t[zL].closingInfo;s&&!s.error?(n=s.code??1005,i=s.reason):t[HL]||(n=1006),t[tu]=eu.CLOSED,nae("close",t,(a,c)=>new cae(a,c),{wasClean:r,code:n,reason:i}),Cc.close.hasSubscribers&&Cc.close.publish({websocket:t,code:n,reason:i})}o(YL,"onSocketClose");function JL(t){let{ws:e}=this;e[tu]=eu.CLOSING,Cc.socketError.hasSubscribers&&Cc.socketError.publish(t),this.destroy()}o(JL,"onSocketError");VL.exports={establishWebSocketConnection:fae,closeWebSocketConnection:mae}});var $L=g((nGe,WL)=>{"use strict";var{createInflateRaw:gae,Z_DEFAULT_WINDOWBITS:yae}=require("node:zlib"),{isValidClientWindowBits:Cae}=XA(),Eae=Buffer.from([0,0,255,255]),Qh=Symbol("kBuffer"),wh=Symbol("kLength"),WI=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=yae;if(this.#t.serverMaxWindowBits){if(!Cae(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#t.serverMaxWindowBits)}this.#e=gae({windowBits:i}),this.#e[Qh]=[],this.#e[wh]=0,this.#e.on("data",s=>{this.#e[Qh].push(s),this.#e[wh]+=s.length}),this.#e.on("error",s=>{this.#e=null,n(s)})}this.#e.write(e),r&&this.#e.write(Eae),this.#e.flush(()=>{let i=Buffer.concat(this.#e[Qh],this.#e[wh]);this.#e[Qh].length=0,this.#e[wh]=0,n(null,i)})}};WL.exports={PerMessageDeflate:WI}});var aU=g((sGe,oU)=>{"use strict";var{Writable:Bae}=require("node:stream"),Iae=require("node:assert"),{parserStates:Nr,opcodes:Ec,states:bae,emptyBuffer:KL,sentCloseFrameState:XL}=zo(),{kReadyState:Qae,kSentClose:ZL,kResponse:eU,kReceivedClose:tU}=WA(),{channels:Nh}=_a(),{isValidStatusCode:wae,isValidOpcode:Nae,failWebsocketConnection:yn,websocketMessageReceived:rU,utf8Decode:xae,isControlFrame:nU,isTextBinaryFrame:$I,isContinuationFrame:Sae}=XA(),{WebsocketFrameSend:iU}=Bh(),{closeWebSocketConnection:sU}=VI(),{PerMessageDeflate:Rae}=$L(),KI=class extends Bae{static{o(this,"ByteParser")}#e=[];#t=0;#i=!1;#n=Nr.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 Rae(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===Nr.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!==Ec.CONTINUATION,c=r[1]&127,l=r[0]&64,A=r[0]&32,u=r[0]&16;if(!Nae(i))return yn(this.ws,"Invalid opcode received"),e();if(s)return yn(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#o.has("permessage-deflate")){yn(this.ws,"Expected RSV1 to be clear.");return}if(A!==0||u!==0){yn(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!$I(i)){yn(this.ws,"Invalid frame type was fragmented.");return}if($I(i)&&this.#s.length>0){yn(this.ws,"Expected continuation frame");return}if(this.#r.fragmented&&a){yn(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&nU(i)){yn(this.ws,"Control frame either too large or fragmented");return}if(Sae(i)&&this.#s.length===0&&!this.#r.compressed){yn(this.ws,"Unexpected continuation frame");return}c<=125?(this.#r.payloadLength=c,this.#n=Nr.READ_DATA):c===126?this.#n=Nr.PAYLOADLENGTH_16:c===127&&(this.#n=Nr.PAYLOADLENGTH_64),$I(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===Nr.PAYLOADLENGTH_16){if(this.#t<2)return e();let r=this.consume(2);this.#r.payloadLength=r.readUInt16BE(0),this.#n=Nr.READ_DATA}else if(this.#n===Nr.PAYLOADLENGTH_64){if(this.#t<8)return e();let r=this.consume(8),n=r.readUInt32BE(0);if(n>2**31-1){yn(this.ws,"Received payload length > 2^31 bytes.");return}let i=r.readUInt32BE(4);this.#r.payloadLength=(n<<8)+i,this.#n=Nr.READ_DATA}else if(this.#n===Nr.READ_DATA){if(this.#t<this.#r.payloadLength)return e();let r=this.consume(this.#r.payloadLength);if(nU(this.#r.opcode))this.#i=this.parseControlFrame(r),this.#n=Nr.INFO;else if(this.#r.compressed){this.#o.get("permessage-deflate").decompress(r,this.#r.fin,(n,i)=>{if(n){sU(this.ws,1007,n.message,n.message.length);return}if(this.#s.push(i),!this.#r.fin){this.#n=Nr.INFO,this.#i=!0,this.run(e);return}rU(this.ws,this.#r.binaryType,Buffer.concat(this.#s)),this.#i=!0,this.#n=Nr.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);rU(this.ws,this.#r.binaryType,n),this.#s.length=0}this.#n=Nr.INFO}}}consume(e){if(e>this.#t)throw new Error("Called consume() before buffers satiated.");if(e===0)return KL;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){Iae(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!wae(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=xae(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===Ec.CLOSE){if(n===1)return yn(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 sU(this.ws,i,s,s.length),yn(this.ws,s),!1}if(this.ws[ZL]!==XL.SENT){let i=KL;this.#r.closeInfo.code&&(i=Buffer.allocUnsafe(2),i.writeUInt16BE(this.#r.closeInfo.code,0));let s=new iU(i);this.ws[eU].socket.write(s.createFrame(Ec.CLOSE),a=>{a||(this.ws[ZL]=XL.SENT)})}return this.ws[Qae]=bae.CLOSING,this.ws[tU]=!0,!1}else if(r===Ec.PING){if(!this.ws[tU]){let i=new iU(e);this.ws[eU].socket.write(i.createFrame(Ec.PONG)),Nh.ping.hasSubscribers&&Nh.ping.publish({payload:e})}}else r===Ec.PONG&&Nh.pong.hasSubscribers&&Nh.pong.publish({payload:e});return!0}get closingInfo(){return this.#r.closeInfo}};oU.exports={ByteParser:KI}});var dU=g((aGe,uU)=>{"use strict";var{WebsocketFrameSend:_ae}=Bh(),{opcodes:cU,sendHints:Bc}=zo(),vae=aB(),lU=Buffer[Symbol.species],XI=class{static{o(this,"SendQueue")}#e=new vae;#t=!1;#i;constructor(e){this.#i=e}add(e,r,n){if(n!==Bc.blob){let s=AU(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=AU(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 AU(t,e){return new _ae(Pae(t,e)).createFrame(e===Bc.string?cU.TEXT:cU.BINARY)}o(AU,"createFrame");function Pae(t,e){switch(e){case Bc.string:return Buffer.from(t);case Bc.arrayBuffer:case Bc.blob:return new lU(t);case Bc.typedArray:return new lU(t.buffer,t.byteOffset,t.byteLength)}}o(Pae,"toBuffer");uU.exports={SendQueue:XI}});var BU=g((lGe,EU)=>{"use strict";var{webidl:Ae}=$t(),{URLSerializer:Dae}=Br(),{environmentSettingsObject:pU}=Ur(),{staticPropertyDescriptors:Fs,states:ru,sentCloseFrameState:Tae,sendHints:xh}=zo(),{kWebSocketURL:hU,kReadyState:ZI,kController:Oae,kBinaryType:Sh,kResponse:fU,kSentClose:Mae,kByteParser:kae}=WA(),{isConnecting:Lae,isEstablished:Uae,isClosing:Fae,isValidSubprotocol:qae,fireEvent:mU}=XA(),{establishWebSocketConnection:Hae,closeWebSocketConnection:gU}=VI(),{ByteParser:zae}=aU(),{kEnumerableProperty:Cn,isBlobLike:yU}=Ee(),{getGlobalDispatcher:jae}=Hp(),{types:CU}=require("node:util"),{ErrorEvent:Gae,CloseEvent:Yae}=gc(),{SendQueue:Jae}=dU(),Yr=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=pU.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=>qae(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[hU]=new URL(a.href);let c=pU.settingsObject;this[Oae]=Hae(a,r,c,this,(l,A)=>this.#s(l,A),i),this[ZI]=t.CONNECTING,this[Mae]=Tae.NOT_SENT,this[Sh]="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");gU(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"),Lae(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!Uae(this)||Fae(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#r.add(e,()=>{this.#t-=n},xh.string)}else CU.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#r.add(e,()=>{this.#t-=e.byteLength},xh.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#r.add(e,()=>{this.#t-=e.byteLength},xh.typedArray)):yU(e)&&(this.#t+=e.size,this.#r.add(e,()=>{this.#t-=e.size},xh.blob))}get readyState(){return Ae.brandCheck(this,t),this[ZI]}get bufferedAmount(){return Ae.brandCheck(this,t),this.#t}get url(){return Ae.brandCheck(this,t),Dae(this[hU])}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[Sh]}set binaryType(e){Ae.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Sh]="blob":this[Sh]=e}#s(e,r){this[fU]=e;let n=new zae(this,r);n.on("drain",Vae),n.on("error",Wae.bind(this)),e.socket.ws=this,this[kae]=n,this.#r=new Jae(e.socket),this[ZI]=ru.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),mU("open",this)}};Yr.CONNECTING=Yr.prototype.CONNECTING=ru.CONNECTING;Yr.OPEN=Yr.prototype.OPEN=ru.OPEN;Yr.CLOSING=Yr.prototype.CLOSING=ru.CLOSING;Yr.CLOSED=Yr.prototype.CLOSED=ru.CLOSED;Object.defineProperties(Yr.prototype,{CONNECTING:Fs,OPEN:Fs,CLOSING:Fs,CLOSED:Fs,url:Cn,readyState:Cn,bufferedAmount:Cn,onopen:Cn,onerror:Cn,onclose:Cn,close:Cn,onmessage:Cn,binaryType:Cn,send:Cn,extensions:Cn,protocol:Cn,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Yr,{CONNECTING:Fs,OPEN:Fs,CLOSING:Fs,CLOSED:Fs});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:()=>jae()},{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(yU(t))return Ae.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||CU.isArrayBuffer(t))return Ae.converters.BufferSource(t)}return Ae.converters.USVString(t)};function Vae(){this.ws[fU].socket.resume()}o(Vae,"onParserDrain");function Wae(t){let e,r;t instanceof Yae?(e=t.reason,r=t.code):e=t.message,mU("error",this,()=>new Gae("error",{error:t,message:e})),gU(this,r)}o(Wae,"onParserError");EU.exports={WebSocket:Yr}});var eb=g((uGe,IU)=>{"use strict";function $ae(t){return t.indexOf("\0")===-1}o($ae,"isValidLastEventId");function Kae(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(Kae,"isASCIINumber");function Xae(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(Xae,"delay");IU.exports={isValidLastEventId:$ae,isASCIINumber:Kae,delay:Xae}});var NU=g((pGe,wU)=>{"use strict";var{Transform:Zae}=require("node:stream"),{isASCIINumber:bU,isValidLastEventId:QU}=eb(),os=[239,187,191],tb=10,Rh=13,ece=58,tce=32,rb=class extends Zae{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]===os[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===os[0]&&this.buffer[1]===os[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===os[0]&&this.buffer[1]===os[1]&&this.buffer[2]===os[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===os[0]&&this.buffer[1]===os[1]&&this.buffer[2]===os[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]===tb){this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.crlfCheck=!1;continue}this.crlfCheck=!1}if(this.buffer[this.pos]===tb||this.buffer[this.pos]===Rh){this.buffer[this.pos]===Rh&&(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]===tb||this.buffer[this.pos]===Rh){this.buffer[this.pos]===Rh&&(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(ece);if(n===0)return;let i="",s="";if(n!==-1){i=e.subarray(0,n).toString("utf8");let a=n+1;e[a]===tce&&++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":bU(s)&&(r[i]=s);break;case"id":QU(s)&&(r[i]=s);break;case"event":s.length>0&&(r[i]=s);break}}processEvent(e){e.retry&&bU(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&QU(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}}};wU.exports={EventSourceStream:rb}});var TU=g((fGe,DU)=>{"use strict";var{pipeline:rce}=require("node:stream"),{fetching:nce}=GA(),{makeRequest:ice}=uc(),{webidl:as}=$t(),{EventSourceStream:sce}=NU(),{parseMIMEType:oce}=Br(),{createFastMessageEvent:ace}=gc(),{isNetworkError:xU}=zA(),{delay:cce}=eb(),{kEnumerableProperty:jo}=Ee(),{environmentSettingsObject:SU}=Ur(),RU=!1,_U=3e3,nu=0,vU=1,iu=2,lce="anonymous",Ace="use-credentials",Ic=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#i=!1;#n=nu;#r=null;#s=null;#o;#a;constructor(e,r={}){super(),as.util.markAsUncloneable(this);let n="EventSource constructor";as.argumentLengthCheck(arguments,1,n),RU||(RU=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=as.converters.USVString(e,n,"url"),r=as.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:_U};let i=SU,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=lce;r.withCredentials&&(a=Ace,this.#i=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=SU.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=ice(c),this.#c()}get readyState(){return this.#n}get url(){return this.#t}get withCredentials(){return this.#i}#c(){if(this.#n===iu)return;this.#n=nu;let e={request:this.#r,dispatcher:this.#o},r=o(n=>{xU(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#l()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(xU(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?oce(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=vU,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new sce({eventSourceSettings:this.#a,push:l=>{this.dispatchEvent(ace(l.type,l.options))}});rce(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=nce(e)}async#l(){this.#n!==iu&&(this.#n=nu,this.dispatchEvent(new Event("error")),await cce(this.#a.reconnectionTime),this.#n===nu&&(this.#a.lastEventId.length&&this.#r.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){as.brandCheck(this,t),this.#n!==iu&&(this.#n=iu,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}},PU={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:nu,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:vU,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:iu,writable:!1}};Object.defineProperties(Ic,PU);Object.defineProperties(Ic.prototype,PU);Object.defineProperties(Ic.prototype,{close:jo,onerror:jo,onmessage:jo,onopen:jo,readyState:jo,url:jo,withCredentials:jo});as.converters.EventSourceInitDict=as.dictionaryConverter([{key:"withCredentials",converter:as.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:as.converters.any}]);DU.exports={EventSource:Ic,defaultReconnectionTime:_U}});var LU=g((gGe,ce)=>{"use strict";var uce=$a(),OU=lA(),dce=Ka(),pce=PT(),hce=Xa(),fce=xB(),mce=rO(),gce=cO(),MU=Pe(),vh=Ee(),{InvalidArgumentError:_h}=MU,bc=VO(),yce=uA(),Cce=cI(),Ece=_M(),Bce=uI(),Ice=WB(),bce=Pp(),{getGlobalDispatcher:kU,setGlobalDispatcher:Qce}=Hp(),wce=zp(),Nce=Bp(),xce=Ip();Object.assign(OU.prototype,bc);ce.exports.Dispatcher=OU;ce.exports.Client=uce;ce.exports.Pool=dce;ce.exports.BalancedPool=pce;ce.exports.Agent=hce;ce.exports.ProxyAgent=fce;ce.exports.EnvHttpProxyAgent=mce;ce.exports.RetryAgent=gce;ce.exports.RetryHandler=bce;ce.exports.DecoratorHandler=wce;ce.exports.RedirectHandler=Nce;ce.exports.createRedirectInterceptor=xce;ce.exports.interceptors={redirect:kM(),retry:UM(),dump:qM(),dns:jM()};ce.exports.buildConnector=yce;ce.exports.errors=MU;ce.exports.util={parseHeaders:vh.parseHeaders,headerNameToString:vh.headerNameToString};function su(t){return(e,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new _h("invalid url");if(r!=null&&typeof r!="object")throw new _h("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new _h("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(vh.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=vh.parseURL(e);let{agent:i,dispatcher:s=kU()}=r;if(i)throw new _h("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(su,"makeDispatcher");ce.exports.setGlobalDispatcher=Qce;ce.exports.getGlobalDispatcher=kU;var Sce=GA().fetch;ce.exports.fetch=o(async function(e,r=void 0){try{return await Sce(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");ce.exports.Headers=ko().Headers;ce.exports.Response=zA().Response;ce.exports.Request=uc().Request;ce.exports.FormData=yA().FormData;ce.exports.File=globalThis.File??require("node:buffer").File;ce.exports.FileReader=oL().FileReader;var{setGlobalOrigin:Rce,getGlobalOrigin:_ce}=SE();ce.exports.setGlobalOrigin=Rce;ce.exports.getGlobalOrigin=_ce;var{CacheStorage:vce}=fL(),{kConstruct:Pce}=Ah();ce.exports.caches=new vce(Pce);var{deleteCookie:Dce,getCookies:Tce,getSetCookies:Oce,setCookie:Mce}=xL();ce.exports.deleteCookie=Dce;ce.exports.getCookies=Tce;ce.exports.getSetCookies=Oce;ce.exports.setCookie=Mce;var{parseMIMEType:kce,serializeAMimeType:Lce}=Br();ce.exports.parseMIMEType=kce;ce.exports.serializeAMimeType=Lce;var{CloseEvent:Uce,ErrorEvent:Fce,MessageEvent:qce}=gc();ce.exports.WebSocket=BU().WebSocket;ce.exports.CloseEvent=Uce;ce.exports.ErrorEvent=Fce;ce.exports.MessageEvent=qce;ce.exports.request=su(bc.request);ce.exports.stream=su(bc.stream);ce.exports.pipeline=su(bc.pipeline);ce.exports.connect=su(bc.connect);ce.exports.upgrade=su(bc.upgrade);ce.exports.MockClient=Cce;ce.exports.MockPool=Bce;ce.exports.MockAgent=Ece;ce.exports.mockErrors=Ice;var{EventSource:Hce}=TU();ce.exports.EventSource=Hce});var qs=g(st=>{"use strict";var zce=st&&st.__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=st&&st.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Oh=st&&st.__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 jce(r,e),r}}(),Nt=st&&st.__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(st,"__esModule",{value:!0});st.HttpClient=st.HttpClientResponse=st.HttpClientError=st.MediaTypes=st.Headers=st.HttpCodes=void 0;st.getProxyUrl=Yce;st.isHttps=Xce;var nb=Oh(require("http")),UU=Oh(require("https")),ib=Oh(Av()),Ph=Oh(mv()),Gce=LU(),En;(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"})(En||(st.HttpCodes=En={}));var hr;(function(t){t.Accept="accept",t.ContentType="content-type"})(hr||(st.Headers=hr={}));var cs;(function(t){t.ApplicationJson="application/json"})(cs||(st.MediaTypes=cs={}));function Yce(t){let e=ib.getProxyUrl(new URL(t));return e?e.href:""}o(Yce,"getProxyUrl");var Jce=[En.MovedPermanently,En.ResourceMoved,En.SeeOther,En.TemporaryRedirect,En.PermanentRedirect],Vce=[En.BadGateway,En.ServiceUnavailable,En.GatewayTimeout],Wce=["OPTIONS","GET","DELETE","HEAD"],$ce=10,Kce=5,Dh=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}};st.HttpClientError=Dh;var Th=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return Nt(this,void 0,void 0,function*(){return new Promise(e=>Nt(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 Nt(this,void 0,void 0,function*(){return new Promise(e=>Nt(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};st.HttpClientResponse=Th;function Xce(t){return new URL(t).protocol==="https:"}o(Xce,"isHttps");var sb=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 Nt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Nt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Nt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return Nt(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return Nt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return Nt(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return Nt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return Nt(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return Nt(this,arguments,void 0,function*(r,n={}){n[hr.Accept]=this._getExistingOrDefaultHeader(n,hr.Accept,cs.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return Nt(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[hr.Accept]=this._getExistingOrDefaultHeader(s,hr.Accept,cs.ApplicationJson),s[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,cs.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return Nt(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[hr.Accept]=this._getExistingOrDefaultHeader(s,hr.Accept,cs.ApplicationJson),s[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,cs.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return Nt(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[hr.Accept]=this._getExistingOrDefaultHeader(s,hr.Accept,cs.ApplicationJson),s[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,cs.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return Nt(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&&Wce.includes(e)?this._maxRetries+1:1,l=0,A;do{if(A=yield this.requestRaw(a,n),A&&A.message&&A.message.statusCode===En.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&&Jce.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 m in i)m.toLowerCase()==="authorization"&&delete i[m];a=this._prepareRequest(e,f,i),A=yield this.requestRaw(a,n),u--}if(!A.message.statusCode||!Vce.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 Nt(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 Th(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=ib.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?UU:nb;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({},ou(this.requestOptions.headers),ou(e||{})):ou(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=ou(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=ou(this.requestOptions.headers)[hr.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[hr.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=ib.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||nb.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?Ph.httpsOverHttps:Ph.httpsOverHttp:l=A?Ph.httpOverHttps:Ph.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new UU.Agent(c):new nb.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 Gce.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 Nt(this,void 0,void 0,function*(){e=Math.min($ce,e);let r=Kce*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return Nt(this,void 0,void 0,function*(){return new Promise((n,i)=>Nt(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===En.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 Dh(u,s);d.result=a.result,i(d)}else n(a)}))})}};st.HttpClient=sb;var ou=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var Mh=g(Ii=>{"use strict";var lb=Ii&&Ii.__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(Ii,"__esModule",{value:!0});Ii.PersonalAccessTokenCredentialHandler=Ii.BearerCredentialHandler=Ii.BasicCredentialHandler=void 0;var ob=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 lb(this,void 0,void 0,function*(){throw new Error("not implemented")})}};Ii.BasicCredentialHandler=ob;var ab=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 lb(this,void 0,void 0,function*(){throw new Error("not implemented")})}};Ii.BearerCredentialHandler=ab;var cb=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 lb(this,void 0,void 0,function*(){throw new Error("not implemented")})}};Ii.PersonalAccessTokenCredentialHandler=cb});var HU=g(Qc=>{"use strict";var FU=Qc&&Qc.__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(Qc,"__esModule",{value:!0});Qc.OidcClient=void 0;var Zce=qs(),ele=Mh(),qU=ft(),Ab=class t{static{o(this,"OidcClient")}static createHttpClient(e=!0,r=10){let n={allowRetries:e,maxRetries:r};return new Zce.HttpClient("actions/oidc-client",[new ele.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 FU(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 FU(this,void 0,void 0,function*(){try{let r=t.getIDTokenUrl();if(e){let i=encodeURIComponent(e);r=`${r}&audience=${i}`}(0,qU.debug)(`ID token url is ${r}`);let n=yield t.getCall(r);return(0,qU.setSecret)(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};Qc.OidcClient=Ab});var hb=g(xr=>{"use strict";var ub=xr&&xr.__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(xr,"__esModule",{value:!0});xr.summary=xr.markdownSummary=xr.SUMMARY_DOCS_URL=xr.SUMMARY_ENV_VAR=void 0;var tle=require("os"),db=require("fs"),{access:rle,appendFile:nle,writeFile:ile}=db.promises;xr.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";xr.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var pb=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return ub(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[xr.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${xr.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield rle(e,db.constants.R_OK|db.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 ub(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?ile:nle)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return ub(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(tle.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()}},zU=new pb;xr.markdownSummary=zU;xr.summary=zU});var jU=g(Xn=>{"use strict";var sle=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]}),ole=Xn&&Xn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),ale=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"&&sle(r,e,n[i]);return ole(r,e),r}}();Object.defineProperty(Xn,"__esModule",{value:!0});Xn.toPosixPath=lle;Xn.toWin32Path=Ale;Xn.toPlatformPath=ule;var cle=ale(require("path"));function lle(t){return t.replace(/[\\]/g,"/")}o(lle,"toPosixPath");function Ale(t){return t.replace(/[/]/g,"\\")}o(Ale,"toWin32Path");function ule(t){return t.replace(/[/\\]/g,cle.sep)}o(ule,"toPlatformPath")});var mb=g(X=>{"use strict";var dle=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]}),ple=X&&X.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),YU=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"&&dle(r,e,n[i]);return ple(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())})},Jr;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=hle;X.exists=fle;X.isDirectory=mle;X.isRooted=gle;X.tryGetExecutablePath=yle;X.getCmdPath=Ele;var fb=YU(require("fs")),kh=YU(require("path"));Jr=fb.promises,X.chmod=Jr.chmod,X.copyFile=Jr.copyFile,X.lstat=Jr.lstat,X.mkdir=Jr.mkdir,X.open=Jr.open,X.readdir=Jr.readdir,X.rename=Jr.rename,X.rm=Jr.rm,X.rmdir=Jr.rmdir,X.stat=Jr.stat,X.symlink=Jr.symlink,X.unlink=Jr.unlink;X.IS_WINDOWS=process.platform==="win32";function hle(t){return Lh(this,void 0,void 0,function*(){let e=yield fb.promises.readlink(t);return X.IS_WINDOWS&&!e.endsWith("\\")?`${e}\\`:e})}o(hle,"readlink");X.UV_FS_O_EXLOCK=268435456;X.READONLY=fb.constants.O_RDONLY;function fle(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(fle,"exists");function mle(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(mle,"isDirectory");function gle(t){if(t=Cle(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(gle,"isRooted");function yle(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=kh.extname(t).toUpperCase();if(e.some(s=>s.toUpperCase()===i))return t}else if(GU(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=kh.dirname(t),a=kh.basename(t).toUpperCase();for(let c of yield(0,X.readdir)(s))if(a===c.toUpperCase()){t=kh.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(GU(r))return t}}return""})}o(yle,"tryGetExecutablePath");function Cle(t){return t=t||"",X.IS_WINDOWS?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(Cle,"normalizeSeparators");function GU(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(GU,"isUnixExecutable");function Ele(){var t;return(t=process.env.COMSPEC)!==null&&t!==void 0?t:"cmd.exe"}o(Ele,"getCmdPath")});var au=g(nr=>{"use strict";var Ble=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]}),Ile=nr&&nr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),JU=nr&&nr.__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"&&Ble(r,e,n[i]);return Ile(r,e),r}}(),Hs=nr&&nr.__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(nr,"__esModule",{value:!0});nr.cp=Qle;nr.mv=wle;nr.rmRF=VU;nr.mkdirP=gb;nr.which=WU;nr.findInPath=$U;var ble=require("assert"),bi=JU(require("path")),ke=JU(mb());function Qle(t,e){return Hs(this,arguments,void 0,function*(r,n,i={}){let{force:s,recursive:a,copySourceDirectory:c}=Nle(i),l=(yield ke.exists(n))?yield ke.stat(n):null;if(l&&l.isFile()&&!s)return;let A=l&&l.isDirectory()&&c?bi.join(n,bi.basename(r)):n;if(!(yield ke.exists(r)))throw new Error(`no such file or directory: ${r}`);if((yield ke.stat(r)).isDirectory())if(a)yield KU(r,A,0,s);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(bi.relative(r,A)==="")throw new Error(`'${A}' and '${r}' are the same file`);yield XU(r,A,s)}})}o(Qle,"cp");function wle(t,e){return Hs(this,arguments,void 0,function*(r,n,i={}){if(yield ke.exists(n)){let s=!0;if((yield ke.isDirectory(n))&&(n=bi.join(n,bi.basename(r)),s=yield ke.exists(n)),s)if(i.force==null||i.force)yield VU(n);else throw new Error("Destination already exists")}yield gb(bi.dirname(n)),yield ke.rename(r,n)})}o(wle,"mv");function VU(t){return Hs(this,void 0,void 0,function*(){if(ke.IS_WINDOWS&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield ke.rm(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(VU,"rmRF");function gb(t){return Hs(this,void 0,void 0,function*(){(0,ble.ok)(t,"a path argument must be provided"),yield ke.mkdir(t,{recursive:!0})})}o(gb,"mkdirP");function WU(t,e){return Hs(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield WU(t,!1);if(!n)throw ke.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 $U(t);return r&&r.length>0?r[0]:""})}o(WU,"which");function $U(t){return Hs(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(ke.IS_WINDOWS&&process.env.PATHEXT)for(let i of process.env.PATHEXT.split(bi.delimiter))i&&e.push(i);if(ke.isRooted(t)){let i=yield ke.tryGetExecutablePath(t,e);return i?[i]:[]}if(t.includes(bi.sep))return[];let r=[];if(process.env.PATH)for(let i of process.env.PATH.split(bi.delimiter))i&&r.push(i);let n=[];for(let i of r){let s=yield ke.tryGetExecutablePath(bi.join(i,t),e);s&&n.push(s)}return n})}o($U,"findInPath");function Nle(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(Nle,"readCopyOptions");function KU(t,e,r,n){return Hs(this,void 0,void 0,function*(){if(r>=255)return;r++,yield gb(e);let i=yield ke.readdir(t);for(let s of i){let a=`${t}/${s}`,c=`${e}/${s}`;(yield ke.lstat(a)).isDirectory()?yield KU(a,c,r,n):yield XU(a,c,n)}yield ke.chmod(e,(yield ke.stat(t)).mode)})}o(KU,"cpDirRecursive");function XU(t,e,r){return Hs(this,void 0,void 0,function*(){if((yield ke.lstat(t)).isSymbolicLink()){try{yield ke.lstat(e),yield ke.unlink(e)}catch(i){i.code==="EPERM"&&(yield ke.chmod(e,"0666"),yield ke.unlink(e))}let n=yield ke.readlink(t);yield ke.symlink(n,e,ke.IS_WINDOWS?"junction":null)}else(!(yield ke.exists(e))||r)&&(yield ke.copyFile(t,e))})}o(XU,"copyFile")});var rF=g(Vr=>{"use strict";var xle=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]}),Sle=Vr&&Vr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),wc=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"&&xle(r,e,n[i]);return Sle(r,e),r}}(),ZU=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.ToolRunner=void 0;Vr.argStringToArray=Dle;var Uh=wc(require("os")),tF=wc(require("events")),Rle=wc(require("child_process")),_le=wc(require("path")),vle=wc(au()),eF=wc(mb()),Ple=require("timers"),Fh=process.platform==="win32",yb=class extends tF.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(Fh)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 Fh&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(Fh&&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 ZU(this,void 0,void 0,function*(){return!eF.isRooted(this.toolPath)&&(this.toolPath.includes("/")||Fh&&this.toolPath.includes("\\"))&&(this.toolPath=_le.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield vle.which(this.toolPath,!0),new Promise((e,r)=>ZU(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 Cb(n,this.toolPath);if(i.on("debug",A=>{this._debug(A)}),this.options.cwd&&!(yield eF.exists(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let s=this._getSpawnFileName(),a=Rle.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)}}))})}};Vr.ToolRunner=yb;function Dle(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(Dle,"argStringToArray");var Cb=class t extends tF.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,Ple.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 Nc=g(Bn=>{"use strict";var Tle=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]}),Ole=Bn&&Bn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Mle=Bn&&Bn.__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"&&Tle(r,e,n[i]);return Ole(r,e),r}}(),sF=Bn&&Bn.__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(Bn,"__esModule",{value:!0});Bn.exec=oF;Bn.getExecOutput=kle;var nF=require("string_decoder"),iF=Mle(rF());function oF(t,e,r){return sF(this,void 0,void 0,function*(){let n=iF.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 iF.ToolRunner(i,e,r).exec()})}o(oF,"exec");function kle(t,e,r){return sF(this,void 0,void 0,function*(){var n,i;let s="",a="",c=new nF.StringDecoder("utf8"),l=new nF.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"),m=Object.assign(Object.assign({},r?.listeners),{stdout:f,stderr:d}),C=yield oF(t,e,Object.assign(Object.assign({},r),{listeners:m}));return s+=c.end(),a+=l.end(),{exitCode:C,stdout:s,stderr:a}})}o(kle,"getExecOutput")});var cF=g(Re=>{"use strict";var Lle=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]}),Ule=Re&&Re.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Fle=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"&&Lle(r,e,n[i]);return Ule(r,e),r}}(),Hh=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())})},qle=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=Gle;var aF=qle(require("os")),qh=Fle(Nc()),Hle=o(()=>Hh(void 0,void 0,void 0,function*(){let{stdout:t}=yield qh.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',void 0,{silent:!0}),{stdout:e}=yield qh.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0});return{name:e.trim(),version:t.trim()}}),"getWindowsInfo"),zle=o(()=>Hh(void 0,void 0,void 0,function*(){var t,e,r,n;let{stdout:i}=yield qh.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"),jle=o(()=>Hh(void 0,void 0,void 0,function*(){let{stdout:t}=yield qh.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[e,r]=t.trim().split(`
`);return{name:e,version:r}}),"getLinuxInfo");Re.platform=aF.default.platform();Re.arch=aF.default.arch();Re.isWindows=Re.platform==="win32";Re.isMacOS=Re.platform==="darwin";Re.isLinux=Re.platform==="linux";function Gle(){return Hh(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield Re.isWindows?Hle():Re.isMacOS?zle():jle()),{platform:Re.platform,arch:Re.arch,isWindows:Re.isWindows,isMacOS:Re.isMacOS,isLinux:Re.isLinux})})}o(Gle,"getDetails")});var ft=g(he=>{"use strict";var Yle=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]}),Jle=he&&he.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Bb=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"&&Yle(r,e,n[i]);return Jle(r,e),r}}(),lF=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=$le;he.setSecret=Kle;he.addPath=Xle;he.getInput=Ib;he.getMultilineInput=Zle;he.getBooleanInput=eAe;he.setOutput=tAe;he.setCommandEcho=rAe;he.setFailed=nAe;he.isDebug=iAe;he.debug=sAe;he.error=uF;he.warning=oAe;he.notice=aAe;he.info=cAe;he.startGroup=dF;he.endGroup=pF;he.group=lAe;he.saveState=AAe;he.getState=uAe;he.getIDToken=dAe;var In=sv(),Go=cv(),xc=Td(),AF=Bb(require("os")),Vle=Bb(require("path")),Wle=HU(),Eb;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Eb||(he.ExitCode=Eb={}));function $le(t,e){let r=(0,xc.toCommandValue)(e);if(process.env[t]=r,process.env.GITHUB_ENV||"")return(0,Go.issueFileCommand)("ENV",(0,Go.prepareKeyValueMessage)(t,e));(0,In.issueCommand)("set-env",{name:t},r)}o($le,"exportVariable");function Kle(t){(0,In.issueCommand)("add-mask",{},t)}o(Kle,"setSecret");function Xle(t){process.env.GITHUB_PATH||""?(0,Go.issueFileCommand)("PATH",t):(0,In.issueCommand)("add-path",{},t),process.env.PATH=`${t}${Vle.delimiter}${process.env.PATH}`}o(Xle,"addPath");function Ib(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(Ib,"getInput");function Zle(t,e){let r=Ib(t,e).split(`
`).filter(n=>n!=="");return e&&e.trimWhitespace===!1?r:r.map(n=>n.trim())}o(Zle,"getMultilineInput");function eAe(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=Ib(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(eAe,"getBooleanInput");function tAe(t,e){if(process.env.GITHUB_OUTPUT||"")return(0,Go.issueFileCommand)("OUTPUT",(0,Go.prepareKeyValueMessage)(t,e));process.stdout.write(AF.EOL),(0,In.issueCommand)("set-output",{name:t},(0,xc.toCommandValue)(e))}o(tAe,"setOutput");function rAe(t){(0,In.issue)("echo",t?"on":"off")}o(rAe,"setCommandEcho");function nAe(t){process.exitCode=Eb.Failure,uF(t)}o(nAe,"setFailed");function iAe(){return process.env.RUNNER_DEBUG==="1"}o(iAe,"isDebug");function sAe(t){(0,In.issueCommand)("debug",{},t)}o(sAe,"debug");function uF(t,e={}){(0,In.issueCommand)("error",(0,xc.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(uF,"error");function oAe(t,e={}){(0,In.issueCommand)("warning",(0,xc.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(oAe,"warning");function aAe(t,e={}){(0,In.issueCommand)("notice",(0,xc.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(aAe,"notice");function cAe(t){process.stdout.write(t+AF.EOL)}o(cAe,"info");function dF(t){(0,In.issue)("group",t)}o(dF,"startGroup");function pF(){(0,In.issue)("endgroup")}o(pF,"endGroup");function lAe(t,e){return lF(this,void 0,void 0,function*(){dF(t);let r;try{r=yield e()}finally{pF()}return r})}o(lAe,"group");function AAe(t,e){if(process.env.GITHUB_STATE||"")return(0,Go.issueFileCommand)("STATE",(0,Go.prepareKeyValueMessage)(t,e));(0,In.issueCommand)("save-state",{name:t},(0,xc.toCommandValue)(e))}o(AAe,"saveState");function uAe(t){return process.env[`STATE_${t}`]||""}o(uAe,"getState");function dAe(t){return lF(this,void 0,void 0,function*(){return yield Wle.OidcClient.getIDToken(t)})}o(dAe,"getIDToken");var pAe=hb();Object.defineProperty(he,"summary",{enumerable:!0,get:function(){return pAe.summary}});var hAe=hb();Object.defineProperty(he,"markdownSummary",{enumerable:!0,get:function(){return hAe.markdownSummary}});var bb=jU();Object.defineProperty(he,"toPosixPath",{enumerable:!0,get:function(){return bb.toPosixPath}});Object.defineProperty(he,"toWin32Path",{enumerable:!0,get:function(){return bb.toWin32Path}});Object.defineProperty(he,"toPlatformPath",{enumerable:!0,get:function(){return bb.toPlatformPath}});he.platform=Bb(cF())});var hF=g(ls=>{"use strict";var fAe=ls&&ls.__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=ls&&ls.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),gAe=ls&&ls.__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"&&fAe(r,e,n[i]);return mAe(r,e),r}}();Object.defineProperty(ls,"__esModule",{value:!0});ls.getOptions=yAe;var cu=gAe(ft());function yAe(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,cu.debug(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,cu.debug(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,cu.debug(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,cu.debug(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,cu.debug(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(yAe,"getOptions")});var jh=g(ir=>{"use strict";var CAe=ir&&ir.__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]}),EAe=ir&&ir.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),BAe=ir&&ir.__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"&&CAe(r,e,n[i]);return EAe(r,e),r}}(),IAe=ir&&ir.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ir,"__esModule",{value:!0});ir.dirname=bAe;ir.ensureAbsoluteRoot=QAe;ir.hasAbsoluteRoot=Qb;ir.hasRoot=wAe;ir.normalizeSeparators=lu;ir.safeTrimTrailingSeparator=wb;var zh=BAe(require("path")),Yo=IAe(require("assert")),zs=process.platform==="win32";function bAe(t){if(t=wb(t),zs&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=zh.dirname(t);return zs&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=wb(e)),e}o(bAe,"dirname");function QAe(t,e){if((0,Yo.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,Yo.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Qb(e))return e;if(zs){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,Yo.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(lu(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,Yo.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,Yo.default)(Qb(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||zs&&t.endsWith("\\")||(t+=zh.sep),t+e}o(QAe,"ensureAbsoluteRoot");function Qb(t){return(0,Yo.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=lu(t),zs?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(Qb,"hasAbsoluteRoot");function wAe(t){return(0,Yo.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=lu(t),zs?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(wAe,"hasRoot");function lu(t){return t=t||"",zs?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(lu,"normalizeSeparators");function wb(t){return t?(t=lu(t),!t.endsWith(zh.sep)||t===zh.sep||zs&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(wb,"safeTrimTrailingSeparator")});var Yh=g(Gh=>{"use strict";Object.defineProperty(Gh,"__esModule",{value:!0});Gh.MatchKind=void 0;var fF;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(fF||(Gh.MatchKind=fF={}))});var yF=g(Zn=>{"use strict";var NAe=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]}),xAe=Zn&&Zn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),SAe=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"&&NAe(r,e,n[i]);return xAe(r,e),r}}();Object.defineProperty(Zn,"__esModule",{value:!0});Zn.getSearchPaths=_Ae;Zn.match=vAe;Zn.partialMatch=PAe;var mF=SAe(jh()),RAe=Yh(),gF=process.platform==="win32";function _Ae(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let i=gF?n.searchPath.toUpperCase():n.searchPath;e[i]="candidate"}let r=[];for(let n of t){let i=gF?n.searchPath.toUpperCase():n.searchPath;if(e[i]==="included")continue;let s=!1,a=i,c=mF.dirname(a);for(;c!==a;){if(e[c]){s=!0;break}a=c,c=mF.dirname(a)}s||(r.push(n.searchPath),e[i]="included")}return r}o(_Ae,"getSearchPaths");function vAe(t,e){let r=RAe.MatchKind.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}o(vAe,"match");function PAe(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(PAe,"partialMatch")});var EF=g((VGe,CF)=>{CF.exports=function(t,e){for(var r=[],n=0;n<t.length;n++){var i=e(t[n],n);DAe(i)?r.push.apply(r,i):r.push(i)}return r};var DAe=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}});var wF=g((WGe,QF)=>{"use strict";QF.exports=IF;function IF(t,e,r){t instanceof RegExp&&(t=BF(t,r)),e instanceof RegExp&&(e=BF(e,r));var n=bF(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(IF,"balanced");function BF(t,e){var r=e.match(t);return r?r[0]:null}o(BF,"maybeMatch");IF.range=bF;function bF(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(bF,"range")});var DF=g((KGe,PF)=>{var TAe=EF(),NF=wF();PF.exports=kAe;var xF="\0SLASH"+Math.random()+"\0",SF="\0OPEN"+Math.random()+"\0",xb="\0CLOSE"+Math.random()+"\0",RF="\0COMMA"+Math.random()+"\0",_F="\0PERIOD"+Math.random()+"\0";function Nb(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(Nb,"numeric");function OAe(t){return t.split("\\\\").join(xF).split("\\{").join(SF).split("\\}").join(xb).split("\\,").join(RF).split("\\.").join(_F)}o(OAe,"escapeBraces");function MAe(t){return t.split(xF).join("\\").split(SF).join("{").split(xb).join("}").split(RF).join(",").split(_F).join(".")}o(MAe,"unescapeBraces");function vF(t){if(!t)return[""];var e=[],r=NF("{","}",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=vF(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(vF,"parseCommaParts");function kAe(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),Sc(OAe(t),!0).map(MAe)):[]}o(kAe,"expandTop");function LAe(t){return"{"+t+"}"}o(LAe,"embrace");function UAe(t){return/^-?0\d/.test(t)}o(UAe,"isPadded");function FAe(t,e){return t<=e}o(FAe,"lte");function qAe(t,e){return t>=e}o(qAe,"gte");function Sc(t,e){var r=[],n=NF("{","}",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+xb+n.post,Sc(t)):[t];var l;if(a)l=n.body.split(/\.\./);else if(l=vF(n.body),l.length===1&&(l=Sc(l[0],!1).map(LAe),l.length===1)){var u=n.post.length?Sc(n.post,!1):[""];return u.map(function(Xe){return n.pre+l[0]+Xe})}var A=n.pre,u=n.post.length?Sc(n.post,!1):[""],d;if(a){var f=Nb(l[0]),m=Nb(l[1]),C=Math.max(l[0].length,l[1].length),Q=l.length==3?Math.abs(Nb(l[2])):1,S=FAe,w=m<f;w&&(Q*=-1,S=qAe);var R=l.some(UAe);d=[];for(var T=f;S(T,m);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=TAe(l,function(He){return Sc(He,!1)});for(var le=0;le<d.length;le++)for(var Te=0;Te<u.length;Te++){var Oe=A+d[le]+u[Te];(!e||a||Oe)&&r.push(Oe)}return r}o(Sc,"expand")});var UF=g((ZGe,LF)=>{LF.exports=Wr;Wr.Minimatch=Kt;var Au=function(){try{return require("path")}catch{}}()||{sep:"/"};Wr.sep=Au.sep;var _b=Wr.GLOBSTAR=Kt.GLOBSTAR={},HAe=DF(),TF={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Sb="[^/]",Rb=Sb+"*?",zAe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",jAe="(?:(?!(?:\\/|^)\\.).)*?",OF=GAe("().*{}+?[]^$\\!");function GAe(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(GAe,"charSet");var MF=/\/+/;Wr.filter=YAe;function YAe(t,e){return e=e||{},function(r,n,i){return Wr(r,t,e)}}o(YAe,"filter");function js(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(js,"ext");Wr.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return Wr;var e=Wr,r=o(function(i,s,a){return e(i,s,js(t,a))},"minimatch");return r.Minimatch=o(function(i,s){return new e.Minimatch(i,js(t,s))},"Minimatch"),r.Minimatch.defaults=o(function(i){return e.defaults(js(t,i)).Minimatch},"defaults"),r.filter=o(function(i,s){return e.filter(i,js(t,s))},"filter"),r.defaults=o(function(i){return e.defaults(js(t,i))},"defaults"),r.makeRe=o(function(i,s){return e.makeRe(i,js(t,s))},"makeRe"),r.braceExpand=o(function(i,s){return e.braceExpand(i,js(t,s))},"braceExpand"),r.match=function(n,i,s){return e.match(n,i,js(t,s))},r};Kt.defaults=function(t){return Wr.defaults(t).Minimatch};function Wr(t,e,r){return Vh(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new Kt(e,r).match(t)}o(Wr,"minimatch");function Kt(t,e){if(!(this instanceof Kt))return new Kt(t,e);Vh(t),e||(e={}),t=t.trim(),Au.sep!=="/"&&(t=t.split(Au.sep).join("/")),this.options=e,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}o(Kt,"Minimatch");Kt.prototype.debug=function(){};Kt.prototype.make=JAe;function JAe(){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(MF)}),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(JAe,"make");Kt.prototype.parseNegate=VAe;function VAe(){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(VAe,"parseNegate");Wr.braceExpand=function(t,e){return kF(t,e)};Kt.prototype.braceExpand=kF;function kF(t,e){return e||(this instanceof Kt?e=this.options:e={}),t=typeof t>"u"?this.pattern:t,Vh(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:HAe(t)}o(kF,"braceExpand");var WAe=1024*64,Vh=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>WAe)throw new TypeError("pattern is too long")},"assertValidPattern");Kt.prototype.parse=$Ae;var Jh={};function $Ae(t,e){Vh(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return _b;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}(?:$|\\/))":"(?!\\.)",m=this;function C(){if(l){switch(l){case"*":n+=Rb,i=!0;break;case"?":n+=Sb,i=!0;break;default:n+="\\"+l;break}m.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&&OF[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}m.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:TF[l].open,close:TF[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,Jh);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:OF[w]&&!(w==="^"&&A)&&(n+="\\"),n+=w}}for(A&&(T=t.substr(d+1),L=this.parse(T,Jh),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(Yi,_d,oA){return oA||(oA="\\"),_d+_d+oA+"|"}),this.debug(`tail=%j
%s`,W,W,R,n);var de=R.type==="*"?Rb:R.type==="?"?Sb:"\\"+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 Te=c.length-1;Te>-1;Te--){var Oe=c[Te],He=n.slice(0,Oe.reStart),Xe=n.slice(Oe.reStart,Oe.reEnd-8),fe=n.slice(Oe.reEnd-8,Oe.reEnd),Ge=n.slice(Oe.reEnd);fe+=Ge;var ai=He.split("(").length-1,ji=Ge;for(Q=0;Q<ai;Q++)ji=ji.replace(/\)[+*?]?/,"");Ge=ji;var Gi="";Ge===""&&e!==Jh&&(Gi="$");var SC=He+Xe+Ge+Gi+fe;n=SC}if(n!==""&&i&&(n="(?=.)"+n),le&&(n=f+n),e===Jh)return[n,i];if(!i)return XAe(t);var RC=r.nocase?"i":"";try{var Eo=new RegExp("^"+n+"$",RC)}catch{return new RegExp("$.")}return Eo._glob=t,Eo._src=n,Eo}o($Ae,"parse");Wr.makeRe=function(t,e){return new Kt(t,e||{}).makeRe()};Kt.prototype.makeRe=KAe;function KAe(){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?Rb:e.dot?zAe:jAe,n=e.nocase?"i":"",i=t.map(function(s){return s.map(function(a){return a===_b?r:typeof a=="string"?ZAe(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(KAe,"makeRe");Wr.match=function(t,e,r){r=r||{};var n=new Kt(e,r);return t=t.filter(function(i){return n.match(i)}),n.options.nonull&&!t.length&&t.push(e),t};Kt.prototype.match=o(function(e,r){if(typeof r>"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var n=this.options;Au.sep!=="/"&&(e=e.split(Au.sep).join("/")),e=e.split(MF),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");Kt.prototype.matchOne=function(t,e,r){var n=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var 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===_b){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 m;if(typeof l=="string"?(m=A===l,this.debug("string match",l,A,m)):(m=A.match(l),this.debug("pattern match",l,A,m)),!m)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 XAe(t){return t.replace(/\\(.)/g,"$1")}o(XAe,"globUnescape");function ZAe(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(ZAe,"regExpEscape")});var qF=g(bn=>{"use strict";var eue=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]}),tue=bn&&bn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),FF=bn&&bn.__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"&&eue(r,e,n[i]);return tue(r,e),r}}(),rue=bn&&bn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(bn,"__esModule",{value:!0});bn.Path=void 0;var uu=FF(require("path")),Gs=FF(jh()),du=rue(require("assert")),nue=process.platform==="win32",vb=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,du.default)(e,"Parameter 'itemPath' must not be empty"),e=Gs.safeTrimTrailingSeparator(e),!Gs.hasRoot(e))this.segments=e.split(uu.sep);else{let r=e,n=Gs.dirname(r);for(;n!==r;){let i=uu.basename(r);this.segments.unshift(i),r=n,n=Gs.dirname(r)}this.segments.unshift(r)}else{(0,du.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,du.default)(n,"Parameter 'itemPath' must not contain any empty segments"),n=Gs.normalizeSeparators(e[r]),r===0&&Gs.hasRoot(n)?(n=Gs.safeTrimTrailingSeparator(n),(0,du.default)(n===Gs.dirname(n),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(n)):((0,du.default)(!n.includes(uu.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(n))}}}toString(){let e=this.segments[0],r=e.endsWith(uu.sep)||nue&&/^[A-Z]:$/i.test(e);for(let n=1;n<this.segments.length;n++)r?r=!1:e+=uu.sep,e+=this.segments[n];return e}};bn.Path=vb});var HF=g(Qn=>{"use strict";var iue=Qn&&Qn.__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]}),sue=Qn&&Qn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Tb=Qn&&Qn.__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"&&iue(r,e,n[i]);return sue(r,e),r}}(),oue=Qn&&Qn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Qn,"__esModule",{value:!0});Qn.Pattern=void 0;var aue=Tb(require("os")),pu=Tb(require("path")),Sr=Tb(jh()),Jo=oue(require("assert")),cue=UF(),Pb=Yh(),Wh=qF(),As=process.platform==="win32",Db=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,Jo.default)(n.length,"Parameter 'segments' must not empty");let A=t.getLiteral(n[0]);(0,Jo.default)(A&&Sr.hasAbsoluteRoot(A),"Parameter 'segments' first element must be a root path"),s=new Wh.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 Wh.Path(s).segments,this.trailingSeparator=Sr.normalizeSeparators(s).endsWith(pu.sep),s=Sr.safeTrimTrailingSeparator(s);let a=!1,c=this.segments.map(A=>t.getLiteral(A)).filter(A=>!a&&!(a=A===""));this.searchPath=new Wh.Path(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),As?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:As,nocomment:!0,noext:!0,nonegate:!0};s=As?s.replace(/\\/g,"/"):s,this.minimatch=new cue.Minimatch(s,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Sr.normalizeSeparators(e),!e.endsWith(pu.sep)&&this.isImplicitPattern===!1&&(e=`${e}${pu.sep}`)):e=Sr.safeTrimTrailingSeparator(e),this.minimatch.match(e)?this.trailingSeparator?Pb.MatchKind.Directory:Pb.MatchKind.All:Pb.MatchKind.None}partialMatch(e){return e=Sr.safeTrimTrailingSeparator(e),Sr.dirname(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(As?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(As?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,Jo.default)(e,"pattern cannot be empty");let n=new Wh.Path(e).segments.map(i=>t.getLiteral(i));if((0,Jo.default)(n.every((i,s)=>(i!=="."||s===0)&&i!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,Jo.default)(!Sr.hasRoot(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Sr.normalizeSeparators(e),e==="."||e.startsWith(`.${pu.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${pu.sep}`))r=r||aue.homedir(),(0,Jo.default)(r,"Unable to determine HOME directory"),(0,Jo.default)(Sr.hasAbsoluteRoot(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(As&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let i=Sr.ensureAbsoluteRoot("C:\\dummy-root",e.substr(0,2));e.length>2&&!i.endsWith("\\")&&(i+="\\"),e=t.globEscape(i)+e.substr(2)}else if(As&&(e==="\\"||e.match(/^\\[^\\]/))){let i=Sr.ensureAbsoluteRoot("C:\\dummy-root","\\");i.endsWith("\\")||(i+="\\"),e=t.globEscape(i)+e.substr(1)}else e=Sr.ensureAbsoluteRoot(t.globEscape(process.cwd()),e);return Sr.normalizeSeparators(e)}static getLiteral(e){let r="";for(let n=0;n<e.length;n++){let i=e[n];if(i==="\\"&&!As&&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==="\\"&&!As&&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,"\\$&")}};Qn.Pattern=Db});var zF=g($h=>{"use strict";Object.defineProperty($h,"__esModule",{value:!0});$h.SearchState=void 0;var Ob=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};$h.SearchState=Ob});var WF=g(zt=>{"use strict";var lue=zt&&zt.__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]}),Aue=zt&&zt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),fu=zt&&zt.__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"&&lue(r,e,n[i]);return Aue(r,e),r}}(),Mb=zt&&zt.__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())})},uue=zt&&zt.__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)}},Ys=zt&&zt.__await||function(t){return this instanceof Ys?(this.v=t,this):new Ys(t)},due=zt&&zt.__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(m){return function(C){return Promise.resolve(C).then(m,d)}}function c(m,C){n[m]&&(i[m]=function(Q){return new Promise(function(S,w){s.push([m,Q,S,w])>1||l(m,Q)})},C&&(i[m]=C(i[m])))}function l(m,C){try{A(n[m](C))}catch(Q){f(s[0][3],Q)}}function A(m){m.value instanceof Ys?Promise.resolve(m.value.v).then(u,d):f(s[0][2],m)}function u(m){l("next",m)}function d(m){l("throw",m)}function f(m,C){m(C),s.shift(),s.length&&l(s[0][0],s[0][1])}};Object.defineProperty(zt,"__esModule",{value:!0});zt.DefaultGlobber=void 0;var kb=fu(ft()),hu=fu(require("fs")),jF=fu(hF()),GF=fu(require("path")),Kh=fu(yF()),YF=Yh(),JF=HF(),VF=zF(),pue=process.platform==="win32",Lb=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=jF.getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return Mb(this,void 0,void 0,function*(){var e,r,n,i;let s=[];try{for(var a=!0,c=uue(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 due(this,arguments,o(function*(){let r=jF.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 JF.Pattern(a.negate,!0,a.segments.concat("**")));let i=[];for(let a of Kh.getSearchPaths(n)){kb.debug(`Search path '${a}'`);try{yield Ys(hu.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}i.unshift(new VF.SearchState(a,1))}let s=[];for(;i.length;){let a=i.pop(),c=Kh.match(n,a.path),l=!!c||Kh.partialMatch(n,a.path);if(!c&&!l)continue;let A=yield Ys(t.stat(a,r,s));if(A&&!(r.excludeHiddenFiles&&GF.basename(a.path).match(/^\./)))if(A.isDirectory()){if(c&YF.MatchKind.Directory&&r.matchDirectories)yield yield Ys(a.path);else if(!l)continue;let u=a.level+1,d=(yield Ys(hu.promises.readdir(a.path))).map(f=>new VF.SearchState(GF.join(a.path,f),u));i.push(...d.reverse())}else c&YF.MatchKind.File&&(yield yield Ys(a.path))}},"globGenerator_1"))}static create(e,r){return Mb(this,void 0,void 0,function*(){let n=new t(r);pue&&(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 JF.Pattern(s));return n.searchPaths.push(...Kh.getSearchPaths(n.patterns)),n})}static stat(e,r,n){return Mb(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield hu.promises.stat(e.path)}catch(s){if(s.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){kb.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 hu.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let s=yield hu.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===s)){kb.debug(`Symlink cycle detected for path '${e.path}' and realpath '${s}'`);return}n.push(s)}return i})}};zt.DefaultGlobber=Lb});var ZF=g($r=>{"use strict";var hue=$r&&$r.__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]}),fue=$r&&$r.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Rc=$r&&$r.__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"&&hue(r,e,n[i]);return fue(r,e),r}}(),mue=$r&&$r.__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())})},gue=$r&&$r.__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($r,"__esModule",{value:!0});$r.hashFiles=Bue;var $F=Rc(require("crypto")),KF=Rc(ft()),XF=Rc(require("fs")),yue=Rc(require("stream")),Cue=Rc(require("util")),Eue=Rc(require("path"));function Bue(t,e){return mue(this,arguments,void 0,function*(r,n,i=!1){var s,a,c,l,A;let u=i?KF.info:KF.debug,d=!1,f=n||((A=process.env.GITHUB_WORKSPACE)!==null&&A!==void 0?A:process.cwd()),m=$F.createHash("sha256"),C=0;try{for(var Q=!0,S=gue(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}${Eue.sep}`)){u(`Ignore '${R}' since it is not under GITHUB_WORKSPACE.`);continue}if(XF.statSync(R).isDirectory()){u(`Skip directory '${R}'.`);continue}let T=$F.createHash("sha256");yield Cue.promisify(yue.pipeline)(XF.createReadStream(R),T),m.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 m.end(),d?(u(`Found ${C} files to hash.`),m.digest("hex")):(u("No matches found for glob"),"")})}o(Bue,"hashFiles")});var rq=g(_c=>{"use strict";var eq=_c&&_c.__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(_c,"__esModule",{value:!0});_c.create=tq;_c.hashFiles=Que;var Iue=WF(),bue=ZF();function tq(t,e){return eq(this,void 0,void 0,function*(){return yield Iue.DefaultGlobber.create(t,e)})}o(tq,"create");function Que(t){return eq(this,arguments,void 0,function*(e,r="",n,i=!1){let s=!0;n&&typeof n.followSymbolicLinks=="boolean"&&(s=n.followSymbolicLinks);let a=yield tq(e,{followSymbolicLinks:s});return(0,bue.hashFiles)(a,r,i)})}o(Que,"hashFiles")});var rf=g((ue,aq)=>{ue=aq.exports=Ce;var Ue;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?Ue=o(function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)},"debug"):Ue=o(function(){},"debug");ue.SEMVER_SPEC_VERSION="2.0.0";var mu=256,Xh=Number.MAX_SAFE_INTEGER||9007199254740991,Ub=16,wue=mu-6,vc=ue.re=[],Le=ue.safeRe=[],U=ue.src=[],O=ue.tokens={},sq=0;function Be(t){O[t]=sq++}o(Be,"tok");var qb="[a-zA-Z0-9-]",Fb=[["\\s",1],["\\d",mu],[qb,wue]];function yu(t){for(var e=0;e<Fb.length;e++){var r=Fb[e][0],n=Fb[e][1];t=t.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}")}return t}o(yu,"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-]"+qb+"*";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]=qb+"+";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,"+Ub+"})(?:\\.(\\d{1,"+Ub+"}))?(?:\\.(\\d{1,"+Ub+"}))?(?:$|[^\\d])";Be("COERCERTL");vc[O.COERCERTL]=new RegExp(U[O.COERCE],"g");Le[O.COERCERTL]=new RegExp(yu(U[O.COERCE]),"g");Be("LONETILDE");U[O.LONETILDE]="(?:~>?)";Be("TILDETRIM");U[O.TILDETRIM]="(\\s*)"+U[O.LONETILDE]+"\\s+";vc[O.TILDETRIM]=new RegExp(U[O.TILDETRIM],"g");Le[O.TILDETRIM]=new RegExp(yu(U[O.TILDETRIM]),"g");var Nue="$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+";vc[O.CARETTRIM]=new RegExp(U[O.CARETTRIM],"g");Le[O.CARETTRIM]=new RegExp(yu(U[O.CARETTRIM]),"g");var xue="$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]+")";vc[O.COMPARATORTRIM]=new RegExp(U[O.COMPARATORTRIM],"g");Le[O.COMPARATORTRIM]=new RegExp(yu(U[O.COMPARATORTRIM]),"g");var Sue="$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(Qi=0;Qi<sq;Qi++)Ue(Qi,U[Qi]),vc[Qi]||(vc[Qi]=new RegExp(U[Qi]),Le[Qi]=new RegExp(yu(U[Qi])));var Qi;ue.parse=Wo;function Wo(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof Ce)return t;if(typeof t!="string"||t.length>mu)return null;var r=e.loose?Le[O.LOOSE]:Le[O.FULL];if(!r.test(t))return null;try{return new Ce(t,e)}catch{return null}}o(Wo,"parse");ue.valid=Rue;function Rue(t,e){var r=Wo(t,e);return r?r.version:null}o(Rue,"valid");ue.clean=_ue;function _ue(t,e){var r=Wo(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null}o(_ue,"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>mu)throw new TypeError("version is longer than "+mu+" characters");if(!(this instanceof Ce))return new Ce(t,e);Ue("SemVer",t,e),this.options=e,this.loose=!!e.loose;var r=t.trim().match(e.loose?Le[O.LOOSE]:Le[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>Xh||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Xh||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Xh||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<Xh)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 Ue("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)),Vo(this.major,t.major)||Vo(this.minor,t.minor)||Vo(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(Ue("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 Vo(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(Ue("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 Vo(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=vue;function vue(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(vue,"inc");ue.diff=Pue;function Pue(t,e){if(Hb(t,e))return null;var r=Wo(t),n=Wo(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(Pue,"diff");ue.compareIdentifiers=Vo;var nq=/^[0-9]+$/;function Vo(t,e){var r=nq.test(t),n=nq.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1}o(Vo,"compareIdentifiers");ue.rcompareIdentifiers=Due;function Due(t,e){return Vo(e,t)}o(Due,"rcompareIdentifiers");ue.major=Tue;function Tue(t,e){return new Ce(t,e).major}o(Tue,"major");ue.minor=Oue;function Oue(t,e){return new Ce(t,e).minor}o(Oue,"minor");ue.patch=Mue;function Mue(t,e){return new Ce(t,e).patch}o(Mue,"patch");ue.compare=us;function us(t,e,r){return new Ce(t,r).compare(new Ce(e,r))}o(us,"compare");ue.compareLoose=kue;function kue(t,e){return us(t,e,!0)}o(kue,"compareLoose");ue.compareBuild=Lue;function Lue(t,e,r){var n=new Ce(t,r),i=new Ce(e,r);return n.compare(i)||n.compareBuild(i)}o(Lue,"compareBuild");ue.rcompare=Uue;function Uue(t,e,r){return us(e,t,r)}o(Uue,"rcompare");ue.sort=Fue;function Fue(t,e){return t.sort(function(r,n){return ue.compareBuild(r,n,e)})}o(Fue,"sort");ue.rsort=que;function que(t,e){return t.sort(function(r,n){return ue.compareBuild(n,r,e)})}o(que,"rsort");ue.gt=gu;function gu(t,e,r){return us(t,e,r)>0}o(gu,"gt");ue.lt=Zh;function Zh(t,e,r){return us(t,e,r)<0}o(Zh,"lt");ue.eq=Hb;function Hb(t,e,r){return us(t,e,r)===0}o(Hb,"eq");ue.neq=oq;function oq(t,e,r){return us(t,e,r)!==0}o(oq,"neq");ue.gte=zb;function zb(t,e,r){return us(t,e,r)>=0}o(zb,"gte");ue.lte=jb;function jb(t,e,r){return us(t,e,r)<=0}o(jb,"lte");ue.cmp=ef;function ef(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 Hb(t,r,n);case"!=":return oq(t,r,n);case">":return gu(t,r,n);case">=":return zb(t,r,n);case"<":return Zh(t,r,n);case"<=":return jb(t,r,n);default:throw new TypeError("Invalid operator: "+e)}}o(ef,"cmp");ue.Comparator=wn;function wn(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof wn){if(t.loose===!!e.loose)return t;t=t.value}if(!(this instanceof wn))return new wn(t,e);t=t.trim().split(/\s+/).join(" "),Ue("comparator",t,e),this.options=e,this.loose=!!e.loose,this.parse(t),this.semver===Pc?this.value="":this.value=this.operator+this.semver.version,Ue("comp",this)}o(wn,"Comparator");var Pc={};wn.prototype.parse=function(t){var e=this.options.loose?Le[O.COMPARATORLOOSE]:Le[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=Pc};wn.prototype.toString=function(){return this.value};wn.prototype.test=function(t){if(Ue("Comparator.test",t,this.options.loose),this.semver===Pc||t===Pc)return!0;if(typeof t=="string")try{t=new Ce(t,this.options)}catch{return!1}return ef(t,this.operator,this.semver,this.options)};wn.prototype.intersects=function(t,e){if(!(t instanceof wn))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 dt(t.value,e),tf(this.value,r,e));if(t.operator==="")return t.value===""?!0:(r=new dt(this.value,e),tf(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=ef(this.semver,"<",t.semver,e)&&(this.operator===">="||this.operator===">")&&(t.operator==="<="||t.operator==="<"),l=ef(this.semver,">",t.semver,e)&&(this.operator==="<="||this.operator==="<")&&(t.operator===">="||t.operator===">");return n||i||s&&a||c||l};ue.Range=dt;function dt(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof dt)return t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease?t:new dt(t.raw,e);if(t instanceof wn)return new dt(t.value,e);if(!(this instanceof dt))return new dt(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(dt,"Range");dt.prototype.format=function(){return this.range=this.set.map(function(t){return t.join(" ").trim()}).join("||").trim(),this.range};dt.prototype.toString=function(){return this.range};dt.prototype.parseRange=function(t){var e=this.options.loose,r=e?Le[O.HYPHENRANGELOOSE]:Le[O.HYPHENRANGE];t=t.replace(r,Kue),Ue("hyphen replace",t),t=t.replace(Le[O.COMPARATORTRIM],Sue),Ue("comparator trim",t,Le[O.COMPARATORTRIM]),t=t.replace(Le[O.TILDETRIM],Nue),t=t.replace(Le[O.CARETTRIM],xue),t=t.split(/\s+/).join(" ");var n=e?Le[O.COMPARATORLOOSE]:Le[O.COMPARATOR],i=t.split(" ").map(function(s){return zue(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 wn(s,this.options)},this),i};dt.prototype.intersects=function(t,e){if(!(t instanceof dt))throw new TypeError("a Range is required");return this.set.some(function(r){return iq(r,e)&&t.set.some(function(n){return iq(n,e)&&r.every(function(i){return n.every(function(s){return i.intersects(s,e)})})})})};function iq(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(iq,"isSatisfiable");ue.toComparators=Hue;function Hue(t,e){return new dt(t,e).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}o(Hue,"toComparators");function zue(t,e){return Ue("comp",t,e),t=Yue(t,e),Ue("caret",t),t=jue(t,e),Ue("tildes",t),t=Vue(t,e),Ue("xrange",t),t=$ue(t,e),Ue("stars",t),t}o(zue,"parseComparator");function fr(t){return!t||t.toLowerCase()==="x"||t==="*"}o(fr,"isX");function jue(t,e){return t.trim().split(/\s+/).map(function(r){return Gue(r,e)}).join(" ")}o(jue,"replaceTildes");function Gue(t,e){var r=e.loose?Le[O.TILDELOOSE]:Le[O.TILDE];return t.replace(r,function(n,i,s,a,c){Ue("tilde",t,n,i,s,a,c);var l;return fr(i)?l="":fr(s)?l=">="+i+".0.0 <"+(+i+1)+".0.0":fr(a)?l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":c?(Ue("replaceTilde pr",c),l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+(+s+1)+".0"):l=">="+i+"."+s+"."+a+" <"+i+"."+(+s+1)+".0",Ue("tilde return",l),l})}o(Gue,"replaceTilde");function Yue(t,e){return t.trim().split(/\s+/).map(function(r){return Jue(r,e)}).join(" ")}o(Yue,"replaceCarets");function Jue(t,e){Ue("caret",t,e);var r=e.loose?Le[O.CARETLOOSE]:Le[O.CARET];return t.replace(r,function(n,i,s,a,c){Ue("caret",t,n,i,s,a,c);var l;return fr(i)?l="":fr(s)?l=">="+i+".0.0 <"+(+i+1)+".0.0":fr(a)?i==="0"?l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+".0 <"+(+i+1)+".0.0":c?(Ue("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"):(Ue("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"),Ue("caret return",l),l})}o(Jue,"replaceCaret");function Vue(t,e){return Ue("replaceXRanges",t,e),t.split(/\s+/).map(function(r){return Wue(r,e)}).join(" ")}o(Vue,"replaceXRanges");function Wue(t,e){t=t.trim();var r=e.loose?Le[O.XRANGELOOSE]:Le[O.XRANGE];return t.replace(r,function(n,i,s,a,c,l){Ue("xRange",t,n,i,s,a,c,l);var A=fr(s),u=A||fr(a),d=u||fr(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),Ue("xRange return",n),n})}o(Wue,"replaceXRange");function $ue(t,e){return Ue("replaceStars",t,e),t.trim().replace(Le[O.STAR],"")}o($ue,"replaceStars");function Kue(t,e,r,n,i,s,a,c,l,A,u,d,f){return fr(r)?e="":fr(n)?e=">="+r+".0.0":fr(i)?e=">="+r+"."+n+".0":e=">="+e,fr(l)?c="":fr(A)?c="<"+(+l+1)+".0.0":fr(u)?c="<"+l+"."+(+A+1)+".0":d?c="<="+l+"."+A+"."+u+"-"+d:c="<="+c,(e+" "+c).trim()}o(Kue,"hyphenReplace");dt.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(Xue(this.set[e],t,this.options))return!0;return!1};function Xue(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(Ue(t[n].semver),t[n].semver!==Pc&&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(Xue,"testSet");ue.satisfies=tf;function tf(t,e,r){try{e=new dt(e,r)}catch{return!1}return e.test(t)}o(tf,"satisfies");ue.maxSatisfying=Zue;function Zue(t,e,r){var n=null,i=null;try{var s=new dt(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(Zue,"maxSatisfying");ue.minSatisfying=ede;function ede(t,e,r){var n=null,i=null;try{var s=new dt(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(ede,"minSatisfying");ue.minVersion=tde;function tde(t,e){t=new dt(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||gu(r,a))&&(r=a);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+s.operator)}})}return r&&t.test(r)?r:null}o(tde,"minVersion");ue.validRange=rde;function rde(t,e){try{return new dt(t,e).range||"*"}catch{return null}}o(rde,"validRange");ue.ltr=nde;function nde(t,e,r){return Gb(t,e,"<",r)}o(nde,"ltr");ue.gtr=ide;function ide(t,e,r){return Gb(t,e,">",r)}o(ide,"gtr");ue.outside=Gb;function Gb(t,e,r,n){t=new Ce(t,n),e=new dt(e,n);var i,s,a,c,l;switch(r){case">":i=gu,s=jb,a=Zh,c=">",l=">=";break;case"<":i=Zh,s=zb,a=gu,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(tf(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(m){m.semver===Pc&&(m=new wn(">=0.0.0")),d=d||m,f=f||m,i(m.semver,d.semver,n)?d=m:a(m.semver,f.semver,n)&&(f=m)}),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(Gb,"outside");ue.prerelease=sde;function sde(t,e){var r=Wo(t,e);return r&&r.prerelease.length?r.prerelease:null}o(sde,"prerelease");ue.intersects=ode;function ode(t,e,r){return t=new dt(t,r),e=new dt(e,r),t.intersects(e)}o(ode,"intersects");ue.coerce=ade;function ade(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(Le[O.COERCE]);else{for(var n;(n=Le[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),Le[O.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;Le[O.COERCERTL].lastIndex=-1}return r===null?null:Wo(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),e)}o(ade,"coerce")});var Cu=g(ot=>{"use strict";Object.defineProperty(ot,"__esModule",{value:!0});ot.CacheFileSizeLimit=ot.ManifestFilename=ot.TarFilename=ot.SystemTarPathOnWindows=ot.GnuTarPathOnWindows=ot.SocketTimeout=ot.DefaultRetryDelay=ot.DefaultRetryAttempts=ot.ArchiveToolType=ot.CompressionMethod=ot.CacheFilename=void 0;var cq;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(cq||(ot.CacheFilename=cq={}));var lq;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(lq||(ot.CompressionMethod=lq={}));var Aq;(function(t){t.GNU="gnu",t.BSD="bsd"})(Aq||(ot.ArchiveToolType=Aq={}));ot.DefaultRetryAttempts=2;ot.DefaultRetryDelay=5e3;ot.SocketTimeout=5e3;ot.GnuTarPathOnWindows=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`;ot.SystemTarPathOnWindows=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`;ot.TarFilename="cache.tar";ot.ManifestFilename="manifest.txt";ot.CacheFileSizeLimit=10*Math.pow(1024,3)});var Tc=g(mt=>{"use strict";var cde=mt&&mt.__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]}),lde=mt&&mt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),ds=mt&&mt.__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"&&cde(r,e,n[i]);return lde(r,e),r}}(),Dc=mt&&mt.__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())})},Ade=mt&&mt.__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(mt,"__esModule",{value:!0});mt.createTempDirectory=mde;mt.getArchiveFileSizeInBytes=gde;mt.resolvePaths=yde;mt.unlinkFile=Cde;mt.getCompressionMethod=Ede;mt.getCacheFileName=Bde;mt.getGnuTarPathOnWindows=Ide;mt.assertDefined=bde;mt.getCacheVersion=Qde;mt.getRuntimeToken=wde;var Eu=ds(ft()),ude=ds(Nc()),dde=ds(rq()),uq=ds(au()),dq=ds(require("crypto")),Yb=ds(require("fs")),nf=ds(require("path")),pde=ds(rf()),hde=ds(require("util")),$o=Cu(),fde="1.0";function mde(){return Dc(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=nf.join(n,"actions","temp")}let r=nf.join(e,dq.randomUUID());return yield uq.mkdirP(r),r})}o(mde,"createTempDirectory");function gde(t){return Yb.statSync(t).size}o(gde,"getArchiveFileSizeInBytes");function yde(t){return Dc(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 dde.create(t.join(`
`),{implicitDescendants:!1});try{for(var A=!0,u=Ade(l.globGenerator()),d;d=yield u.next(),e=d.done,!e;A=!0){i=d.value,A=!1;let f=i,m=nf.relative(c,f).replace(new RegExp(`\\${nf.sep}`,"g"),"/");Eu.debug(`Matched: ${m}`),m===""?a.push("."):a.push(`${m}`)}}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(yde,"resolvePaths");function Cde(t){return Dc(this,void 0,void 0,function*(){return hde.promisify(Yb.unlink)(t)})}o(Cde,"unlinkFile");function pq(t){return Dc(this,arguments,void 0,function*(e,r=[]){let n="";r.push("--version"),Eu.debug(`Checking ${e} ${r.join(" ")}`);try{yield ude.exec(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:i=>n+=i.toString(),stderr:i=>n+=i.toString()}})}catch(i){Eu.debug(i.message)}return n=n.trim(),Eu.debug(n),n})}o(pq,"getVersion");function Ede(){return Dc(this,void 0,void 0,function*(){let t=yield pq("zstd",["--quiet"]),e=pde.clean(t);return Eu.debug(`zstd version: ${e}`),t===""?$o.CompressionMethod.Gzip:$o.CompressionMethod.ZstdWithoutLong})}o(Ede,"getCompressionMethod");function Bde(t){return t===$o.CompressionMethod.Gzip?$o.CacheFilename.Gzip:$o.CacheFilename.Zstd}o(Bde,"getCacheFileName");function Ide(){return Dc(this,void 0,void 0,function*(){return Yb.existsSync($o.GnuTarPathOnWindows)?$o.GnuTarPathOnWindows:(yield pq("tar")).toLowerCase().includes("gnu tar")?uq.which("tar"):""})}o(Ide,"getGnuTarPathOnWindows");function bde(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(bde,"assertDefined");function Qde(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(fde),dq.createHash("sha256").update(n.join("|")).digest("hex")}o(Qde,"getCacheVersion");function wde(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(wde,"getRuntimeToken")});var Kr={};Pd(Kr,{__addDisposableResource:()=>Lq,__assign:()=>sf,__asyncDelegator:()=>_q,__asyncGenerator:()=>Rq,__asyncValues:()=>vq,__await:()=>Oc,__awaiter:()=>bq,__classPrivateFieldGet:()=>Oq,__classPrivateFieldIn:()=>kq,__classPrivateFieldSet:()=>Mq,__createBinding:()=>af,__decorate:()=>mq,__disposeResources:()=>Uq,__esDecorate:()=>yq,__exportStar:()=>wq,__extends:()=>hq,__generator:()=>Qq,__importDefault:()=>Tq,__importStar:()=>Dq,__makeTemplateObject:()=>Pq,__metadata:()=>Iq,__param:()=>gq,__propKey:()=>Eq,__read:()=>Wb,__rest:()=>fq,__rewriteRelativeImportExtension:()=>Fq,__runInitializers:()=>Cq,__setFunctionName:()=>Bq,__spread:()=>Nq,__spreadArray:()=>Sq,__spreadArrays:()=>xq,__values:()=>of,default:()=>Sde});function hq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Jb(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function fq(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 mq(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 gq(t,e){return function(r,n){e(r,n,t)}}function yq(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,m=r.length-1;m>=0;m--){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[m])(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 Cq(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 Eq(t){return typeof t=="symbol"?t:"".concat(t)}function Bq(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 Iq(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function bq(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 Qq(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 wq(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&af(e,t,r)}function of(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 Wb(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 Nq(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Wb(arguments[e]));return t}function xq(){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 Sq(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 Oc(t){return this instanceof Oc?(this.v=t,this):new Oc(t)}function Rq(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(m){return function(C){return Promise.resolve(C).then(m,d)}}function c(m,C){n[m]&&(i[m]=function(Q){return new Promise(function(S,w){s.push([m,Q,S,w])>1||l(m,Q)})},C&&(i[m]=C(i[m])))}function l(m,C){try{A(n[m](C))}catch(Q){f(s[0][3],Q)}}function A(m){m.value instanceof Oc?Promise.resolve(m.value.v).then(u,d):f(s[0][2],m)}function u(m){l("next",m)}function d(m){l("throw",m)}function f(m,C){m(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function _q(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:Oc(t[i](a)),done:!1}:s?s(a):a}:s}}function vq(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 of=="function"?of(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 Pq(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function Dq(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=Vb(t),n=0;n<r.length;n++)r[n]!=="default"&&af(e,t,r[n]);return Nde(e,t),e}function Tq(t){return t&&t.__esModule?t:{default:t}}function Oq(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 Mq(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 kq(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 Lq(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 Uq(t){function e(s){t.error=t.hasError?new xde(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 Fq(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 Jb,sf,af,Nde,Vb,xde,Sde,Xr=vd(()=>{Jb=o(function(t,e){return Jb=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])},Jb(t,e)},"extendStatics");o(hq,"__extends");sf=o(function(){return sf=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"),sf.apply(this,arguments)},"__assign");o(fq,"__rest");o(mq,"__decorate");o(gq,"__param");o(yq,"__esDecorate");o(Cq,"__runInitializers");o(Eq,"__propKey");o(Bq,"__setFunctionName");o(Iq,"__metadata");o(bq,"__awaiter");o(Qq,"__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(wq,"__exportStar");o(of,"__values");o(Wb,"__read");o(Nq,"__spread");o(xq,"__spreadArrays");o(Sq,"__spreadArray");o(Oc,"__await");o(Rq,"__asyncGenerator");o(_q,"__asyncDelegator");o(vq,"__asyncValues");o(Pq,"__makeTemplateObject");Nde=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},Vb=o(function(t){return Vb=Object.getOwnPropertyNames||function(e){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[r.length]=n);return r},Vb(t)},"ownKeys");o(Dq,"__importStar");o(Tq,"__importDefault");o(Oq,"__classPrivateFieldGet");o(Mq,"__classPrivateFieldSet");o(kq,"__classPrivateFieldIn");o(Lq,"__addDisposableResource");xde=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(Uq,"__disposeResources");o(Fq,"__rewriteRelativeImportExtension");Sde={__extends:hq,__assign:sf,__rest:fq,__decorate:mq,__param:gq,__esDecorate:yq,__runInitializers:Cq,__propKey:Eq,__setFunctionName:Bq,__metadata:Iq,__awaiter:bq,__generator:Qq,__createBinding:af,__exportStar:wq,__values:of,__read:Wb,__spread:Nq,__spreadArrays:xq,__spreadArray:Sq,__await:Oc,__asyncGenerator:Rq,__asyncDelegator:_q,__asyncValues:vq,__makeTemplateObject:Pq,__importStar:Dq,__importDefault:Tq,__classPrivateFieldGet:Oq,__classPrivateFieldSet:Mq,__classPrivateFieldIn:kq,__addDisposableResource:Lq,__disposeResources:Uq,__rewriteRelativeImportExtension:Fq}});var Bu=g((yYe,Hq)=>{var Kb=Object.defineProperty,Rde=Object.getOwnPropertyDescriptor,_de=Object.getOwnPropertyNames,vde=Object.prototype.hasOwnProperty,Pde=o((t,e)=>{for(var r in e)Kb(t,r,{get:e[r],enumerable:!0})},"__export"),Dde=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _de(e))!vde.call(t,i)&&i!==r&&Kb(t,i,{get:()=>e[i],enumerable:!(n=Rde(e,i))||n.enumerable});return t},"__copyProps"),Tde=o(t=>Dde(Kb({},"__esModule",{value:!0}),t),"__toCommonJS"),qq={};Pde(qq,{AbortError:()=>$b});Hq.exports=Tde(qq);var $b=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}}});var Jq=g((EYe,Yq)=>{var Ode=Object.create,cf=Object.defineProperty,Mde=Object.getOwnPropertyDescriptor,kde=Object.getOwnPropertyNames,Lde=Object.getPrototypeOf,Ude=Object.prototype.hasOwnProperty,Fde=o((t,e)=>{for(var r in e)cf(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 kde(e))!Ude.call(t,i)&&i!==r&&cf(t,i,{get:()=>e[i],enumerable:!(n=Mde(e,i))||n.enumerable});return t},"__copyProps"),jq=o((t,e,r)=>(r=t!=null?Ode(Lde(t)):{},zq(e||!t||!t.__esModule?cf(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),qde=o(t=>zq(cf({},"__esModule",{value:!0}),t),"__toCommonJS"),Gq={};Fde(Gq,{log:()=>Gde});Yq.exports=qde(Gq);var Hde=require("node:os"),zde=jq(require("node:util")),jde=jq(require("node:process"));function Gde(t,...e){jde.default.stderr.write(`${zde.default.format(t,...e)}${Hde.EOL}`)}o(Gde,"log")});var t1=g((IYe,e1)=>{var eQ=Object.defineProperty,Yde=Object.getOwnPropertyDescriptor,Jde=Object.getOwnPropertyNames,Vde=Object.prototype.hasOwnProperty,Wde=o((t,e)=>{for(var r in e)eQ(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 Jde(e))!Vde.call(t,i)&&i!==r&&eQ(t,i,{get:()=>e[i],enumerable:!(n=Yde(e,i))||n.enumerable});return t},"__copyProps"),Kde=o(t=>$de(eQ({},"__esModule",{value:!0}),t),"__toCommonJS"),$q={};Wde($q,{default:()=>rpe});e1.exports=Kde($q);var Xde=Jq(),Vq=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,Kq,Xb=[],Zb=[],lf=[];Vq&&tQ(Vq);var Xq=Object.assign(t=>Zq(t),{enable:tQ,enabled:rQ,disable:Zde,log:Xde.log});function tQ(t){Kq=t,Xb=[],Zb=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?Zb.push(r.substring(1)):Xb.push(r);for(let r of lf)r.enabled=rQ(r.namespace)}o(tQ,"enable");function rQ(t){if(t.endsWith("*"))return!0;for(let e of Zb)if(Wq(t,e))return!1;for(let e of Xb)if(Wq(t,e))return!0;return!1}o(rQ,"enabled");function Wq(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let f=[],m="";for(let C of e)C==="*"&&m==="*"||(m=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(Wq,"namespaceMatches");function Zde(){let t=Kq||"";return tQ(""),t}o(Zde,"disable");function Zq(t){let e=Object.assign(r,{enabled:rQ(t),destroy:epe,log:Xq.log,namespace:t,extend:tpe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),lf.push(e),e}o(Zq,"createDebugger");function epe(){let t=lf.indexOf(this);return t>=0?(lf.splice(t,1),!0):!1}o(epe,"destroy");function tpe(t){let e=Zq(`${this.namespace}:${t}`);return e.log=this.log,e}o(tpe,"extend");var rpe=Xq});var bu=g((QYe,c1)=>{var npe=Object.create,Af=Object.defineProperty,ipe=Object.getOwnPropertyDescriptor,spe=Object.getOwnPropertyNames,ope=Object.getPrototypeOf,ape=Object.prototype.hasOwnProperty,cpe=o((t,e)=>{for(var r in e)Af(t,r,{get:e[r],enumerable:!0})},"__export"),s1=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of spe(e))!ape.call(t,i)&&i!==r&&Af(t,i,{get:()=>e[i],enumerable:!(n=ipe(e,i))||n.enumerable});return t},"__copyProps"),lpe=o((t,e,r)=>(r=t!=null?npe(ope(t)):{},s1(e||!t||!t.__esModule?Af(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),Ape=o(t=>s1(Af({},"__esModule",{value:!0}),t),"__toCommonJS"),o1={};cpe(o1,{TypeSpecRuntimeLogger:()=>upe,createClientLogger:()=>hpe,createLoggerContext:()=>a1,getLogLevel:()=>ppe,setLogLevel:()=>dpe});c1.exports=Ape(o1);var Iu=lpe(t1()),nQ=["verbose","info","warning","error"],r1={verbose:400,info:300,warning:200,error:100};function n1(t,e){e.log=(...r)=>{t.log(...r)}}o(n1,"patchLogMethod");function i1(t){return nQ.includes(t)}o(i1,"isTypeSpecRuntimeLogLevel");function a1(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,i=(0,Iu.default)(t.namespace);i.log=(...u)=>{Iu.default.log(...u)};function s(u){if(u&&!i1(u))throw new Error(`Unknown log level '${u}'. Acceptable values: ${nQ.join(",")}`);n=u;let d=[];for(let f of e)a(f)&&d.push(f.namespace);Iu.default.enable(d.join(","))}o(s,"contextSetLogLevel"),r&&(i1(r)?s(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${nQ.join(", ")}.`));function a(u){return!!(n&&r1[u.level]<=r1[n])}o(a,"shouldEnable");function c(u,d){let f=Object.assign(u.extend(d),{level:d});if(n1(u,f),a(f)){let m=Iu.default.disable();Iu.default.enable(m+","+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 n1(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(a1,"createLoggerContext");var uf=a1({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),upe=uf.logger;function dpe(t){uf.setLogLevel(t)}o(dpe,"setLogLevel");function ppe(){return uf.getLogLevel()}o(ppe,"getLogLevel");function hpe(t){return uf.createClientLogger(t)}o(hpe,"createClientLogger")});var Js=g((NYe,A1)=>{var sQ=Object.defineProperty,fpe=Object.getOwnPropertyDescriptor,mpe=Object.getOwnPropertyNames,gpe=Object.prototype.hasOwnProperty,ype=o((t,e)=>{for(var r in e)sQ(t,r,{get:e[r],enumerable:!0})},"__export"),Cpe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of mpe(e))!gpe.call(t,i)&&i!==r&&sQ(t,i,{get:()=>e[i],enumerable:!(n=fpe(e,i))||n.enumerable});return t},"__copyProps"),Epe=o(t=>Cpe(sQ({},"__esModule",{value:!0}),t),"__toCommonJS"),l1={};ype(l1,{createHttpHeaders:()=>Ipe});A1.exports=Epe(l1);function df(t){return t.toLowerCase()}o(df,"normalizeName");function*Bpe(t){for(let e of t.values())yield[e.name,e.value]}o(Bpe,"headerIterator");var iQ=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(df(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(df(e))?.value}has(e){return this._headersMap.has(df(e))}delete(e){this._headersMap.delete(df(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 Bpe(this._headersMap)}};function Ipe(t){return new iQ(t)}o(Ipe,"createHttpHeaders")});var pf=g((SYe,d1)=>{var oQ=Object.defineProperty,bpe=Object.getOwnPropertyDescriptor,Qpe=Object.getOwnPropertyNames,wpe=Object.prototype.hasOwnProperty,Npe=o((t,e)=>{for(var r in e)oQ(t,r,{get:e[r],enumerable:!0})},"__export"),xpe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Qpe(e))!wpe.call(t,i)&&i!==r&&oQ(t,i,{get:()=>e[i],enumerable:!(n=bpe(e,i))||n.enumerable});return t},"__copyProps"),Spe=o(t=>xpe(oQ({},"__esModule",{value:!0}),t),"__toCommonJS"),u1={};Npe(u1,{randomUUID:()=>Rpe});d1.exports=Spe(u1);function Rpe(){return crypto.randomUUID()}o(Rpe,"randomUUID")});var lQ=g((_Ye,h1)=>{var cQ=Object.defineProperty,_pe=Object.getOwnPropertyDescriptor,vpe=Object.getOwnPropertyNames,Ppe=Object.prototype.hasOwnProperty,Dpe=o((t,e)=>{for(var r in e)cQ(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 vpe(e))!Ppe.call(t,i)&&i!==r&&cQ(t,i,{get:()=>e[i],enumerable:!(n=_pe(e,i))||n.enumerable});return t},"__copyProps"),Ope=o(t=>Tpe(cQ({},"__esModule",{value:!0}),t),"__toCommonJS"),p1={};Dpe(p1,{createPipelineRequest:()=>Lpe});h1.exports=Ope(p1);var Mpe=Js(),kpe=pf(),aQ=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,Mpe.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,kpe.randomUUID)(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function Lpe(t){return new aQ(t)}o(Lpe,"createPipelineRequest")});var dQ=g((PYe,g1)=>{var uQ=Object.defineProperty,Upe=Object.getOwnPropertyDescriptor,Fpe=Object.getOwnPropertyNames,qpe=Object.prototype.hasOwnProperty,Hpe=o((t,e)=>{for(var r in e)uQ(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&&uQ(t,i,{get:()=>e[i],enumerable:!(n=Upe(e,i))||n.enumerable});return t},"__copyProps"),jpe=o(t=>zpe(uQ({},"__esModule",{value:!0}),t),"__toCommonJS"),m1={};Hpe(m1,{createEmptyPipeline:()=>Gpe});g1.exports=jpe(m1);var f1=new Set(["Deserialize","Serialize","Retry","Sign"]),AQ=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&&!f1.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!f1.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 m=0;for(;r.size>0;){m++;let C=e.length;if(f(),e.length<=C&&m>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function Gpe(){return AQ.create()}o(Gpe,"createEmptyPipeline")});var hf=g((TYe,C1)=>{var pQ=Object.defineProperty,Ype=Object.getOwnPropertyDescriptor,Jpe=Object.getOwnPropertyNames,Vpe=Object.prototype.hasOwnProperty,Wpe=o((t,e)=>{for(var r in e)pQ(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 Jpe(e))!Vpe.call(t,i)&&i!==r&&pQ(t,i,{get:()=>e[i],enumerable:!(n=Ype(e,i))||n.enumerable});return t},"__copyProps"),Kpe=o(t=>$pe(pQ({},"__esModule",{value:!0}),t),"__toCommonJS"),y1={};Wpe(y1,{isObject:()=>Xpe});C1.exports=Kpe(y1);function Xpe(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(Xpe,"isObject")});var fQ=g((MYe,B1)=>{var hQ=Object.defineProperty,Zpe=Object.getOwnPropertyDescriptor,ehe=Object.getOwnPropertyNames,the=Object.prototype.hasOwnProperty,rhe=o((t,e)=>{for(var r in e)hQ(t,r,{get:e[r],enumerable:!0})},"__export"),nhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ehe(e))!the.call(t,i)&&i!==r&&hQ(t,i,{get:()=>e[i],enumerable:!(n=Zpe(e,i))||n.enumerable});return t},"__copyProps"),ihe=o(t=>nhe(hQ({},"__esModule",{value:!0}),t),"__toCommonJS"),E1={};rhe(E1,{isError:()=>ohe});B1.exports=ihe(E1);var she=hf();function ohe(t){if((0,she.isObject)(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(ohe,"isError")});var Q1=g((LYe,b1)=>{var mQ=Object.defineProperty,ahe=Object.getOwnPropertyDescriptor,che=Object.getOwnPropertyNames,lhe=Object.prototype.hasOwnProperty,Ahe=o((t,e)=>{for(var r in e)mQ(t,r,{get:e[r],enumerable:!0})},"__export"),uhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of che(e))!lhe.call(t,i)&&i!==r&&mQ(t,i,{get:()=>e[i],enumerable:!(n=ahe(e,i))||n.enumerable});return t},"__copyProps"),dhe=o(t=>uhe(mQ({},"__esModule",{value:!0}),t),"__toCommonJS"),I1={};Ahe(I1,{custom:()=>hhe});b1.exports=dhe(I1);var phe=require("node:util"),hhe=phe.inspect.custom});var Qu=g((FYe,N1)=>{var CQ=Object.defineProperty,fhe=Object.getOwnPropertyDescriptor,mhe=Object.getOwnPropertyNames,ghe=Object.prototype.hasOwnProperty,yhe=o((t,e)=>{for(var r in e)CQ(t,r,{get:e[r],enumerable:!0})},"__export"),Che=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of mhe(e))!ghe.call(t,i)&&i!==r&&CQ(t,i,{get:()=>e[i],enumerable:!(n=fhe(e,i))||n.enumerable});return t},"__copyProps"),Ehe=o(t=>Che(CQ({},"__esModule",{value:!0}),t),"__toCommonJS"),w1={};yhe(w1,{Sanitizer:()=>yQ});N1.exports=Ehe(w1);var Bhe=hf(),gQ="REDACTED",Ihe=["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"],bhe=["api-version"],yQ=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=Ihe.concat(e),r=bhe.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,Bhe.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,gQ);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]=gQ;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]=gQ;return r}}});var Mc=g((HYe,S1)=>{var EQ=Object.defineProperty,Qhe=Object.getOwnPropertyDescriptor,whe=Object.getOwnPropertyNames,Nhe=Object.prototype.hasOwnProperty,xhe=o((t,e)=>{for(var r in e)EQ(t,r,{get:e[r],enumerable:!0})},"__export"),She=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of whe(e))!Nhe.call(t,i)&&i!==r&&EQ(t,i,{get:()=>e[i],enumerable:!(n=Qhe(e,i))||n.enumerable});return t},"__copyProps"),Rhe=o(t=>She(EQ({},"__esModule",{value:!0}),t),"__toCommonJS"),x1={};xhe(x1,{RestError:()=>ff,isRestError:()=>The});S1.exports=Rhe(x1);var _he=fQ(),vhe=Q1(),Phe=Qu(),Dhe=new Phe.Sanitizer,ff=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,vhe.custom,{value:()=>`RestError: ${this.message}
${Dhe.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function The(t){return t instanceof ff?!0:(0,_he.isError)(t)&&t.name==="RestError"}o(The,"isRestError")});var Ko=g((jYe,_1)=>{var BQ=Object.defineProperty,Ohe=Object.getOwnPropertyDescriptor,Mhe=Object.getOwnPropertyNames,khe=Object.prototype.hasOwnProperty,Lhe=o((t,e)=>{for(var r in e)BQ(t,r,{get:e[r],enumerable:!0})},"__export"),Uhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Mhe(e))!khe.call(t,i)&&i!==r&&BQ(t,i,{get:()=>e[i],enumerable:!(n=Ohe(e,i))||n.enumerable});return t},"__copyProps"),Fhe=o(t=>Uhe(BQ({},"__esModule",{value:!0}),t),"__toCommonJS"),R1={};Lhe(R1,{stringToUint8Array:()=>Hhe,uint8ArrayToString:()=>qhe});_1.exports=Fhe(R1);function qhe(t,e){return Buffer.from(t).toString(e)}o(qhe,"uint8ArrayToString");function Hhe(t,e){return Buffer.from(t,e)}o(Hhe,"stringToUint8Array")});var kc=g((YYe,P1)=>{var IQ=Object.defineProperty,zhe=Object.getOwnPropertyDescriptor,jhe=Object.getOwnPropertyNames,Ghe=Object.prototype.hasOwnProperty,Yhe=o((t,e)=>{for(var r in e)IQ(t,r,{get:e[r],enumerable:!0})},"__export"),Jhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of jhe(e))!Ghe.call(t,i)&&i!==r&&IQ(t,i,{get:()=>e[i],enumerable:!(n=zhe(e,i))||n.enumerable});return t},"__copyProps"),Vhe=o(t=>Jhe(IQ({},"__esModule",{value:!0}),t),"__toCommonJS"),v1={};Yhe(v1,{logger:()=>$he});P1.exports=Vhe(v1);var Whe=bu(),$he=(0,Whe.createClientLogger)("ts-http-runtime")});var q1=g((VYe,F1)=>{var Khe=Object.create,gf=Object.defineProperty,Xhe=Object.getOwnPropertyDescriptor,Zhe=Object.getOwnPropertyNames,efe=Object.getPrototypeOf,tfe=Object.prototype.hasOwnProperty,rfe=o((t,e)=>{for(var r in e)gf(t,r,{get:e[r],enumerable:!0})},"__export"),M1=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zhe(e))!tfe.call(t,i)&&i!==r&&gf(t,i,{get:()=>e[i],enumerable:!(n=Xhe(e,i))||n.enumerable});return t},"__copyProps"),NQ=o((t,e,r)=>(r=t!=null?Khe(efe(t)):{},M1(e||!t||!t.__esModule?gf(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),nfe=o(t=>M1(gf({},"__esModule",{value:!0}),t),"__toCommonJS"),k1={};rfe(k1,{createNodeHttpClient:()=>ufe,getBodyLength:()=>U1});F1.exports=nfe(k1);var bQ=NQ(require("node:http")),QQ=NQ(require("node:https")),D1=NQ(require("node:zlib")),ife=require("node:stream"),T1=Bu(),sfe=Js(),Nu=Mc(),Lc=kc(),ofe=Qu(),afe={};function wu(t){return t&&typeof t.pipe=="function"}o(wu,"isReadableStream");function O1(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(O1,"isStreamComplete");function L1(t){return t&&typeof t.byteLength=="number"}o(L1,"isArrayBuffer");var mf=class extends ife.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}},wQ=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 T1.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 ofe.Sanitizer;Lc.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=U1(c);A!==null&&e.headers.set("Content-Length",A)}let l;try{if(c&&e.onUploadProgress){let C=e.onUploadProgress,Q=new mf(C);Q.on("error",S=>{Lc.logger.error("Error in upload progress",S)}),wu(c)?c.pipe(Q):Q.end(c),c=Q}let A=await this.makeRequest(e,r,c);i!==void 0&&clearTimeout(i);let u=cfe(A),f={status:A.statusCode??0,headers:u,request:e};if(e.method==="HEAD")return A.resume(),f;l=a?lfe(A,u):A;let m=e.onDownloadProgress;if(m){let C=new mf(m);C.on("error",Q=>{Lc.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 Afe(l),f}finally{if(e.abortSignal&&n){let A=Promise.resolve();wu(c)&&(A=O1(c));let u=Promise.resolve();wu(l)&&(u=O1(l)),Promise.all([A,u]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(d=>{Lc.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?bQ.default.request(c,l):QQ.default.request(c,l);u.once("error",d=>{A(new Nu.RestError(d.message,{code:d.code??Nu.RestError.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new T1.AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(d),A(d)}),n&&wu(n)?n.pipe(u):n?typeof n=="string"||Buffer.isBuffer(n)?u.end(n):L1(n)?u.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(Lc.logger.error("Unrecognized body type",n),A(new Nu.RestError("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?bQ.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new bQ.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return QQ.default.globalAgent;let i=e.tlsSettings??afe,s=this.cachedHttpsAgents.get(i);return s&&s.options.keepAlive===!n||(Lc.logger.info("No cached TLS Agent exist, creating a new Agent"),s=new QQ.default.Agent({keepAlive:!n,...i}),this.cachedHttpsAgents.set(i,s)),s}}};function cfe(t){let e=(0,sfe.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(cfe,"getResponseHeaders");function lfe(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=D1.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=D1.default.createInflate();return t.pipe(n),n}return t}o(lfe,"getDecodedResponseStream");function Afe(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 Nu.RestError(`Error reading response as text: ${i.message}`,{code:Nu.RestError.PARSE_ERROR}))})})}o(Afe,"streamToText");function U1(t){return t?Buffer.isBuffer(t)?t.length:wu(t)?null:L1(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(U1,"getBodyLength");function ufe(){return new wQ}o(ufe,"createNodeHttpClient")});var SQ=g(($Ye,z1)=>{var xQ=Object.defineProperty,dfe=Object.getOwnPropertyDescriptor,pfe=Object.getOwnPropertyNames,hfe=Object.prototype.hasOwnProperty,ffe=o((t,e)=>{for(var r in e)xQ(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&&xQ(t,i,{get:()=>e[i],enumerable:!(n=dfe(e,i))||n.enumerable});return t},"__copyProps"),gfe=o(t=>mfe(xQ({},"__esModule",{value:!0}),t),"__toCommonJS"),H1={};ffe(H1,{createDefaultHttpClient:()=>Cfe});z1.exports=gfe(H1);var yfe=q1();function Cfe(){return(0,yfe.createNodeHttpClient)()}o(Cfe,"createDefaultHttpClient")});var _Q=g((XYe,Y1)=>{var RQ=Object.defineProperty,Efe=Object.getOwnPropertyDescriptor,Bfe=Object.getOwnPropertyNames,Ife=Object.prototype.hasOwnProperty,bfe=o((t,e)=>{for(var r in e)RQ(t,r,{get:e[r],enumerable:!0})},"__export"),Qfe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Bfe(e))!Ife.call(t,i)&&i!==r&&RQ(t,i,{get:()=>e[i],enumerable:!(n=Efe(e,i))||n.enumerable});return t},"__copyProps"),wfe=o(t=>Qfe(RQ({},"__esModule",{value:!0}),t),"__toCommonJS"),j1={};bfe(j1,{logPolicy:()=>Sfe,logPolicyName:()=>G1});Y1.exports=wfe(j1);var Nfe=kc(),xfe=Qu(),G1="logPolicy";function Sfe(t={}){let e=t.logger??Nfe.logger.info,r=new xfe.Sanitizer({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:G1,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(Sfe,"logPolicy")});var PQ=g((eJe,K1)=>{var vQ=Object.defineProperty,Rfe=Object.getOwnPropertyDescriptor,_fe=Object.getOwnPropertyNames,vfe=Object.prototype.hasOwnProperty,Pfe=o((t,e)=>{for(var r in e)vQ(t,r,{get:e[r],enumerable:!0})},"__export"),Dfe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _fe(e))!vfe.call(t,i)&&i!==r&&vQ(t,i,{get:()=>e[i],enumerable:!(n=Rfe(e,i))||n.enumerable});return t},"__copyProps"),Tfe=o(t=>Dfe(vQ({},"__esModule",{value:!0}),t),"__toCommonJS"),V1={};Pfe(V1,{redirectPolicy:()=>Mfe,redirectPolicyName:()=>W1});K1.exports=Tfe(V1);var Ofe=kc(),W1="redirectPolicy",J1=["GET","HEAD"];function Mfe(t={}){let{maxRetries:e=20,allowCrossOriginRedirects:r=!1}=t;return{name:W1,async sendRequest(n,i){let s=await i(n);return $1(i,s,e,r)}}}o(Mfe,"redirectPolicy");async function $1(t,e,r,n,i=0){let{request:s,status:a,headers:c}=e,l=c.get("location");if(l&&(a===300||a===301&&J1.includes(s.method)||a===302&&J1.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 Ofe.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 $1(t,u,r,n,i+1)}return e}o($1,"handleRedirect")});var rH=g((rJe,tH)=>{var kfe=Object.create,yf=Object.defineProperty,Lfe=Object.getOwnPropertyDescriptor,Ufe=Object.getOwnPropertyNames,Ffe=Object.getPrototypeOf,qfe=Object.prototype.hasOwnProperty,Hfe=o((t,e)=>{for(var r in e)yf(t,r,{get:e[r],enumerable:!0})},"__export"),X1=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ufe(e))!qfe.call(t,i)&&i!==r&&yf(t,i,{get:()=>e[i],enumerable:!(n=Lfe(e,i))||n.enumerable});return t},"__copyProps"),Z1=o((t,e,r)=>(r=t!=null?kfe(Ffe(t)):{},X1(e||!t||!t.__esModule?yf(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),zfe=o(t=>X1(yf({},"__esModule",{value:!0}),t),"__toCommonJS"),eH={};Hfe(eH,{getHeaderName:()=>jfe,setPlatformSpecificData:()=>Gfe});tH.exports=zfe(eH);var DQ=Z1(require("node:os")),TQ=Z1(require("node:process"));function jfe(){return"User-Agent"}o(jfe,"getHeaderName");async function Gfe(t){if(TQ.default&&TQ.default.versions){let e=`${DQ.default.type()} ${DQ.default.release()}; ${DQ.default.arch()}`,r=TQ.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(Gfe,"setPlatformSpecificData")});var Xo=g((iJe,iH)=>{var OQ=Object.defineProperty,Yfe=Object.getOwnPropertyDescriptor,Jfe=Object.getOwnPropertyNames,Vfe=Object.prototype.hasOwnProperty,Wfe=o((t,e)=>{for(var r in e)OQ(t,r,{get:e[r],enumerable:!0})},"__export"),$fe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Jfe(e))!Vfe.call(t,i)&&i!==r&&OQ(t,i,{get:()=>e[i],enumerable:!(n=Yfe(e,i))||n.enumerable});return t},"__copyProps"),Kfe=o(t=>$fe(OQ({},"__esModule",{value:!0}),t),"__toCommonJS"),nH={};Wfe(nH,{DEFAULT_RETRY_POLICY_COUNT:()=>Zfe,SDK_VERSION:()=>Xfe});iH.exports=Kfe(nH);var Xfe="0.3.4",Zfe=3});var cH=g((oJe,aH)=>{var MQ=Object.defineProperty,eme=Object.getOwnPropertyDescriptor,tme=Object.getOwnPropertyNames,rme=Object.prototype.hasOwnProperty,nme=o((t,e)=>{for(var r in e)MQ(t,r,{get:e[r],enumerable:!0})},"__export"),ime=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tme(e))!rme.call(t,i)&&i!==r&&MQ(t,i,{get:()=>e[i],enumerable:!(n=eme(e,i))||n.enumerable});return t},"__copyProps"),sme=o(t=>ime(MQ({},"__esModule",{value:!0}),t),"__toCommonJS"),sH={};nme(sH,{getUserAgentHeaderName:()=>cme,getUserAgentValue:()=>lme});aH.exports=sme(sH);var oH=rH(),ome=Xo();function ame(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}o(ame,"getUserAgentString");function cme(){return(0,oH.getHeaderName)()}o(cme,"getUserAgentHeaderName");async function lme(t){let e=new Map;e.set("ts-http-runtime",ome.SDK_VERSION),await(0,oH.setPlatformSpecificData)(e);let r=ame(e);return t?`${t} ${r}`:r}o(lme,"getUserAgentValue")});var LQ=g((cJe,pH)=>{var kQ=Object.defineProperty,Ame=Object.getOwnPropertyDescriptor,ume=Object.getOwnPropertyNames,dme=Object.prototype.hasOwnProperty,pme=o((t,e)=>{for(var r in e)kQ(t,r,{get:e[r],enumerable:!0})},"__export"),hme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ume(e))!dme.call(t,i)&&i!==r&&kQ(t,i,{get:()=>e[i],enumerable:!(n=Ame(e,i))||n.enumerable});return t},"__copyProps"),fme=o(t=>hme(kQ({},"__esModule",{value:!0}),t),"__toCommonJS"),AH={};pme(AH,{userAgentPolicy:()=>mme,userAgentPolicyName:()=>dH});pH.exports=fme(AH);var uH=cH(),lH=(0,uH.getUserAgentHeaderName)(),dH="userAgentPolicy";function mme(t={}){let e=(0,uH.getUserAgentValue)(t.userAgentPrefix);return{name:dH,async sendRequest(r,n){return r.headers.has(lH)||r.headers.set(lH,await e),n(r)}}}o(mme,"userAgentPolicy")});var FQ=g((AJe,mH)=>{var UQ=Object.defineProperty,gme=Object.getOwnPropertyDescriptor,yme=Object.getOwnPropertyNames,Cme=Object.prototype.hasOwnProperty,Eme=o((t,e)=>{for(var r in e)UQ(t,r,{get:e[r],enumerable:!0})},"__export"),Bme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of yme(e))!Cme.call(t,i)&&i!==r&&UQ(t,i,{get:()=>e[i],enumerable:!(n=gme(e,i))||n.enumerable});return t},"__copyProps"),Ime=o(t=>Bme(UQ({},"__esModule",{value:!0}),t),"__toCommonJS"),hH={};Eme(hH,{decompressResponsePolicy:()=>bme,decompressResponsePolicyName:()=>fH});mH.exports=Ime(hH);var fH="decompressResponsePolicy";function bme(){return{name:fH,async sendRequest(t,e){return t.method!=="HEAD"&&t.headers.set("Accept-Encoding","gzip,deflate"),e(t)}}}o(bme,"decompressResponsePolicy")});var HQ=g((dJe,yH)=>{var qQ=Object.defineProperty,Qme=Object.getOwnPropertyDescriptor,wme=Object.getOwnPropertyNames,Nme=Object.prototype.hasOwnProperty,xme=o((t,e)=>{for(var r in e)qQ(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 wme(e))!Nme.call(t,i)&&i!==r&&qQ(t,i,{get:()=>e[i],enumerable:!(n=Qme(e,i))||n.enumerable});return t},"__copyProps"),Rme=o(t=>Sme(qQ({},"__esModule",{value:!0}),t),"__toCommonJS"),gH={};xme(gH,{getRandomIntegerInclusive:()=>_me});yH.exports=Rme(gH);function _me(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(_me,"getRandomIntegerInclusive")});var jQ=g((hJe,EH)=>{var zQ=Object.defineProperty,vme=Object.getOwnPropertyDescriptor,Pme=Object.getOwnPropertyNames,Dme=Object.prototype.hasOwnProperty,Tme=o((t,e)=>{for(var r in e)zQ(t,r,{get:e[r],enumerable:!0})},"__export"),Ome=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Pme(e))!Dme.call(t,i)&&i!==r&&zQ(t,i,{get:()=>e[i],enumerable:!(n=vme(e,i))||n.enumerable});return t},"__copyProps"),Mme=o(t=>Ome(zQ({},"__esModule",{value:!0}),t),"__toCommonJS"),CH={};Tme(CH,{calculateRetryDelay:()=>Lme});EH.exports=Mme(CH);var kme=HQ();function Lme(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,kme.getRandomIntegerInclusive)(0,n/2)}}o(Lme,"calculateRetryDelay")});var YQ=g((mJe,IH)=>{var GQ=Object.defineProperty,Ume=Object.getOwnPropertyDescriptor,Fme=Object.getOwnPropertyNames,qme=Object.prototype.hasOwnProperty,Hme=o((t,e)=>{for(var r in e)GQ(t,r,{get:e[r],enumerable:!0})},"__export"),zme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Fme(e))!qme.call(t,i)&&i!==r&&GQ(t,i,{get:()=>e[i],enumerable:!(n=Ume(e,i))||n.enumerable});return t},"__copyProps"),jme=o(t=>zme(GQ({},"__esModule",{value:!0}),t),"__toCommonJS"),BH={};Hme(BH,{delay:()=>Jme,parseHeaderValueAsNumber:()=>Vme});IH.exports=jme(BH);var Gme=Bu(),Yme="The operation was aborted.";function Jme(t,e,r){return new Promise((n,i)=>{let s,a,c=o(()=>i(new Gme.AbortError(r?.abortErrorMsg?r?.abortErrorMsg:Yme)),"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(Jme,"delay");function Vme(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}o(Vme,"parseHeaderValueAsNumber")});var Cf=g((yJe,wH)=>{var VQ=Object.defineProperty,Wme=Object.getOwnPropertyDescriptor,$me=Object.getOwnPropertyNames,Kme=Object.prototype.hasOwnProperty,Xme=o((t,e)=>{for(var r in e)VQ(t,r,{get:e[r],enumerable:!0})},"__export"),Zme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $me(e))!Kme.call(t,i)&&i!==r&&VQ(t,i,{get:()=>e[i],enumerable:!(n=Wme(e,i))||n.enumerable});return t},"__copyProps"),ege=o(t=>Zme(VQ({},"__esModule",{value:!0}),t),"__toCommonJS"),bH={};Xme(bH,{isThrottlingRetryResponse:()=>nge,throttlingRetryStrategy:()=>ige});wH.exports=ege(bH);var tge=YQ(),JQ="Retry-After",rge=["retry-after-ms","x-ms-retry-after-ms",JQ];function QH(t){if(t&&[429,503].includes(t.status))try{for(let i of rge){let s=(0,tge.parseHeaderValueAsNumber)(t,i);if(s===0||s)return s*(i===JQ?1e3:1)}let e=t.headers.get(JQ);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}o(QH,"getRetryAfterInMs");function nge(t){return Number.isFinite(QH(t))}o(nge,"isThrottlingRetryResponse");function ige(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=QH(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(ige,"throttlingRetryStrategy")});var Ef=g((EJe,RH)=>{var WQ=Object.defineProperty,sge=Object.getOwnPropertyDescriptor,oge=Object.getOwnPropertyNames,age=Object.prototype.hasOwnProperty,cge=o((t,e)=>{for(var r in e)WQ(t,r,{get:e[r],enumerable:!0})},"__export"),lge=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of oge(e))!age.call(t,i)&&i!==r&&WQ(t,i,{get:()=>e[i],enumerable:!(n=sge(e,i))||n.enumerable});return t},"__copyProps"),Age=o(t=>lge(WQ({},"__esModule",{value:!0}),t),"__toCommonJS"),NH={};cge(NH,{exponentialRetryStrategy:()=>fge,isExponentialRetryResponse:()=>xH,isSystemError:()=>SH});RH.exports=Age(NH);var uge=jQ(),dge=Cf(),pge=1e3,hge=1e3*64;function fge(t={}){let e=t.retryDelayInMs??pge,r=t.maxRetryDelayInMs??hge;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:i,responseError:s}){let a=SH(s),c=a&&t.ignoreSystemErrors,l=xH(i),A=l&&t.ignoreHttpStatusCodes;return i&&((0,dge.isThrottlingRetryResponse)(i)||!l)||A||c?{skipStrategy:!0}:s&&!a&&!l?{errorToThrow:s}:(0,uge.calculateRetryDelay)(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(fge,"exponentialRetryStrategy");function xH(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(xH,"isExponentialRetryResponse");function SH(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(SH,"isSystemError")});var Uc=g((IJe,PH)=>{var $Q=Object.defineProperty,mge=Object.getOwnPropertyDescriptor,gge=Object.getOwnPropertyNames,yge=Object.prototype.hasOwnProperty,Cge=o((t,e)=>{for(var r in e)$Q(t,r,{get:e[r],enumerable:!0})},"__export"),Ege=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gge(e))!yge.call(t,i)&&i!==r&&$Q(t,i,{get:()=>e[i],enumerable:!(n=mge(e,i))||n.enumerable});return t},"__copyProps"),Bge=o(t=>Ege($Q({},"__esModule",{value:!0}),t),"__toCommonJS"),vH={};Cge(vH,{retryPolicy:()=>xge});PH.exports=Bge(vH);var Ige=YQ(),bge=Bu(),Qge=bu(),_H=Xo(),wge=(0,Qge.createClientLogger)("ts-http-runtime retryPolicy"),Nge="retryPolicy";function xge(t,e={maxRetries:_H.DEFAULT_RETRY_POLICY_COUNT}){let r=e.logger||wge;return{name:Nge,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 bge.AbortError;if(c>=(e.maxRetries??_H.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:m}=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,Ige.delay)(f,void 0,{abortSignal:n.abortSignal});continue e}if(m){A.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${m}`),n.url=m;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(xge,"retryPolicy")});var XQ=g((QJe,OH)=>{var KQ=Object.defineProperty,Sge=Object.getOwnPropertyDescriptor,Rge=Object.getOwnPropertyNames,_ge=Object.prototype.hasOwnProperty,vge=o((t,e)=>{for(var r in e)KQ(t,r,{get:e[r],enumerable:!0})},"__export"),Pge=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Rge(e))!_ge.call(t,i)&&i!==r&&KQ(t,i,{get:()=>e[i],enumerable:!(n=Sge(e,i))||n.enumerable});return t},"__copyProps"),Dge=o(t=>Pge(KQ({},"__esModule",{value:!0}),t),"__toCommonJS"),DH={};vge(DH,{defaultRetryPolicy:()=>Lge,defaultRetryPolicyName:()=>TH});OH.exports=Dge(DH);var Tge=Ef(),Oge=Cf(),Mge=Uc(),kge=Xo(),TH="defaultRetryPolicy";function Lge(t={}){return{name:TH,sendRequest:(0,Mge.retryPolicy)([(0,Oge.throttlingRetryStrategy)(),(0,Tge.exponentialRetryStrategy)(t)],{maxRetries:t.maxRetries??kge.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(Lge,"defaultRetryPolicy")});var xu=g((NJe,FH)=>{var ZQ=Object.defineProperty,Uge=Object.getOwnPropertyDescriptor,Fge=Object.getOwnPropertyNames,qge=Object.prototype.hasOwnProperty,Hge=o((t,e)=>{for(var r in e)ZQ(t,r,{get:e[r],enumerable:!0})},"__export"),zge=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Fge(e))!qge.call(t,i)&&i!==r&&ZQ(t,i,{get:()=>e[i],enumerable:!(n=Uge(e,i))||n.enumerable});return t},"__copyProps"),jge=o(t=>zge(ZQ({},"__esModule",{value:!0}),t),"__toCommonJS"),MH={};Hge(MH,{isBrowser:()=>Gge,isBun:()=>LH,isDeno:()=>kH,isNodeLike:()=>UH,isNodeRuntime:()=>Jge,isReactNative:()=>Vge,isWebWorker:()=>Yge});FH.exports=jge(MH);var Gge=typeof window<"u"&&typeof window.document<"u",Yge=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),kH=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",LH=typeof Bun<"u"&&typeof Bun.version<"u",UH=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node,Jge=UH&&!LH&&!kH,Vge=typeof navigator<"u"&&navigator?.product==="ReactNative"});var tw=g((SJe,jH)=>{var ew=Object.defineProperty,Wge=Object.getOwnPropertyDescriptor,$ge=Object.getOwnPropertyNames,Kge=Object.prototype.hasOwnProperty,Xge=o((t,e)=>{for(var r in e)ew(t,r,{get:e[r],enumerable:!0})},"__export"),Zge=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $ge(e))!Kge.call(t,i)&&i!==r&&ew(t,i,{get:()=>e[i],enumerable:!(n=Wge(e,i))||n.enumerable});return t},"__copyProps"),eye=o(t=>Zge(ew({},"__esModule",{value:!0}),t),"__toCommonJS"),HH={};Xge(HH,{formDataPolicy:()=>iye,formDataPolicyName:()=>zH});jH.exports=eye(HH);var tye=Ko(),rye=xu(),qH=Js(),zH="formDataPolicy";function nye(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}o(nye,"formDataToFormDataMap");function iye(){return{name:zH,async sendRequest(t,e){if(rye.isNodeLike&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=nye(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=sye(t.formData):await oye(t.formData,t),t.formData=void 0}return e(t)}}}o(iye,"formDataPolicy");function sye(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(sye,"wwwFormUrlEncode");async function oye(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,qH.createHttpHeaders)({"Content-Disposition":`form-data; name="${i}"`}),body:(0,tye.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,qH.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(oye,"prepareFormData")});var YH=g((_Je,GH)=>{var Fc=1e3,qc=Fc*60,Hc=qc*60,Zo=Hc*24,aye=Zo*7,cye=Zo*365.25;GH.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return lye(t);if(r==="number"&&isFinite(t))return e.long?uye(t):Aye(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function lye(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*cye;case"weeks":case"week":case"w":return r*aye;case"days":case"day":case"d":return r*Zo;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Hc;case"minutes":case"minute":case"mins":case"min":case"m":return r*qc;case"seconds":case"second":case"secs":case"sec":case"s":return r*Fc;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(lye,"parse");function Aye(t){var e=Math.abs(t);return e>=Zo?Math.round(t/Zo)+"d":e>=Hc?Math.round(t/Hc)+"h":e>=qc?Math.round(t/qc)+"m":e>=Fc?Math.round(t/Fc)+"s":t+"ms"}o(Aye,"fmtShort");function uye(t){var e=Math.abs(t);return e>=Zo?Bf(t,e,Zo,"day"):e>=Hc?Bf(t,e,Hc,"hour"):e>=qc?Bf(t,e,qc,"minute"):e>=Fc?Bf(t,e,Fc,"second"):t+" ms"}o(uye,"fmtLong");function Bf(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(Bf,"plural")});var rw=g((PJe,JH)=>{function dye(t){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=i,r.enabled=c,r.humanize=YH(),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,m,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 Te=r.formatters[le];if(typeof Te=="function"){let Oe=S[L];de=Te.call(w,Oe),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:(m!==r.namespaces&&(m=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,m=0,C=-1,Q=0;for(;f<u.length;)if(m<d.length&&(d[m]===u[f]||d[m]==="*"))d[m]==="*"?(C=m,Q=f,m++):(f++,m++);else if(C!==-1)m=C+1,Q++,f=Q;else return!1;for(;m<d.length&&d[m]==="*";)m++;return m===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(dye,"setup");JH.exports=dye});var VH=g((Rr,If)=>{Rr.formatArgs=hye;Rr.save=fye;Rr.load=mye;Rr.useColors=pye;Rr.storage=gye();Rr.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`."))}})();Rr.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 pye(){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(pye,"useColors");function hye(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+If.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(hye,"formatArgs");Rr.log=console.debug||console.log||(()=>{});function fye(t){try{t?Rr.storage.setItem("debug",t):Rr.storage.removeItem("debug")}catch{}}o(fye,"save");function mye(){let t;try{t=Rr.storage.getItem("debug")||Rr.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(mye,"load");function gye(){try{return localStorage}catch{}}o(gye,"localstorage");If.exports=rw()(Rr);var{formatters:yye}=If.exports;yye.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var $H=g((jt,Qf)=>{var Cye=require("tty"),bf=require("util");jt.init=Nye;jt.log=bye;jt.formatArgs=Bye;jt.save=Qye;jt.load=wye;jt.useColors=Eye;jt.destroy=bf.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");jt.colors=[6,2,3,4,5,1];try{let t=require("supports-color");t&&(t.stderr||t).level>=2&&(jt.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{}jt.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 Eye(){return"colors"in jt.inspectOpts?!!jt.inspectOpts.colors:Cye.isatty(process.stderr.fd)}o(Eye,"useColors");function Bye(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+"+Qf.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=Iye()+e+" "+t[0]}o(Bye,"formatArgs");function Iye(){return jt.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(Iye,"getDate");function bye(...t){return process.stderr.write(bf.formatWithOptions(jt.inspectOpts,...t)+`
`)}o(bye,"log");function Qye(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(Qye,"save");function wye(){return process.env.DEBUG}o(wye,"load");function Nye(t){t.inspectOpts={};let e=Object.keys(jt.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=jt.inspectOpts[e[r]]}o(Nye,"init");Qf.exports=rw()(jt);var{formatters:WH}=Qf.exports;WH.o=function(t){return this.inspectOpts.colors=this.useColors,bf.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};WH.O=function(t){return this.inspectOpts.colors=this.useColors,bf.inspect(t,this.inspectOpts)}});var wf=g((MJe,nw)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?nw.exports=VH():nw.exports=$H()});var ZH=g(_r=>{"use strict";var xye=_r&&_r.__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]}),Sye=_r&&_r.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),KH=_r&&_r.__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)&&xye(e,t,r);return Sye(e,t),e};Object.defineProperty(_r,"__esModule",{value:!0});_r.req=_r.json=_r.toBuffer=void 0;var Rye=KH(require("http")),_ye=KH(require("https"));async function XH(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(XH,"toBuffer");_r.toBuffer=XH;async function vye(t){let r=(await XH(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}o(vye,"json");_r.json=vye;function Pye(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?_ye:Rye).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(Pye,"req");_r.req=Pye});var sw=g(Zr=>{"use strict";var t2=Zr&&Zr.__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]}),Dye=Zr&&Zr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),r2=Zr&&Zr.__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)&&t2(e,t,r);return Dye(e,t),e},Tye=Zr&&Zr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&t2(e,t,r)};Object.defineProperty(Zr,"__esModule",{value:!0});Zr.Agent=void 0;var Oye=r2(require("net")),e2=r2(require("http")),Mye=require("https");Tye(ZH(),Zr);var wi=Symbol("AgentBaseInternalState"),iw=class extends e2.Agent{static{o(this,"Agent")}constructor(e){super(e),this[wi]={}}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 Oye.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)?Mye.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 e2.Agent)try{return c.addRequest(e,i)}catch(l){return n(l)}this[wi].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(s,a),n(c)})}createConnection(){let e=this[wi].currentSocket;if(this[wi].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[wi].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[wi]&&(this[wi].defaultPort=e)}get protocol(){return this[wi].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[wi]&&(this[wi].protocol=e)}};Zr.Agent=iw});var n2=g(zc=>{"use strict";var kye=zc&&zc.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(zc,"__esModule",{value:!0});zc.parseProxyResponse=void 0;var Lye=kye(wf()),Nf=(0,Lye.default)("https-proxy-agent:parse-proxy-response");function Uye(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(),Nf("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(u){a(),Nf("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){Nf("have not received end of HTTP headers yet..."),s();return}let m=d.slice(0,f).toString("ascii").split(`\r
`),C=m.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 m){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}Nf("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(Uye,"parseProxyResponse");zc.parseProxyResponse=Uye});var l2=g(Nn=>{"use strict";var Fye=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]}),qye=Nn&&Nn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),a2=Nn&&Nn.__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)&&Fye(e,t,r);return qye(e,t),e},c2=Nn&&Nn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Nn,"__esModule",{value:!0});Nn.HttpsProxyAgent=void 0;var xf=a2(require("net")),i2=a2(require("tls")),Hye=c2(require("assert")),zye=c2(wf()),jye=sw(),Gye=require("url"),Yye=n2(),Su=(0,zye.default)("https-proxy-agent"),s2=o(t=>t.servername===void 0&&t.host&&!xf.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),Sf=class extends jye.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new Gye.URL(e):e,this.proxyHeaders=r?.headers??{},Su("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?o2(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:"?(Su("Creating `tls.Socket`: %o",this.connectOpts),i=i2.connect(s2(this.connectOpts))):(Su("Creating `net.Socket`: %o",this.connectOpts),i=xf.connect(this.connectOpts));let s=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=xf.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,Yye.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",Jye),r.secureEndpoint?(Su("Upgrading socket connection to TLS"),i2.connect({...o2(s2(r),"host","path","port"),socket:i})):i;i.destroy();let d=new xf.Socket({writable:!1});return d.readable=!0,e.once("socket",f=>{Su("Replaying proxy buffer for failed request"),(0,Hye.default)(f.listenerCount("data")>0),f.push(u),f.push(null)}),d}};Sf.protocols=["http","https"];Nn.HttpsProxyAgent=Sf;function Jye(t){t.resume()}o(Jye,"resume");function o2(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(o2,"omit")});var d2=g(xn=>{"use strict";var Vye=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]}),Wye=xn&&xn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),u2=xn&&xn.__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)&&Vye(e,t,r);return Wye(e,t),e},$ye=xn&&xn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(xn,"__esModule",{value:!0});xn.HttpProxyAgent=void 0;var Kye=u2(require("net")),Xye=u2(require("tls")),Zye=$ye(wf()),eCe=require("events"),tCe=sw(),A2=require("url"),jc=(0,Zye.default)("http-proxy-agent"),Rf=class extends tCe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new A2.URL(e):e,this.proxyHeaders=r?.headers??{},jc("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?rCe(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 A2.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;jc("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(jc("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),jc("Output buffer: %o",e.outputData[0].data));let s;return this.proxy.protocol==="https:"?(jc("Creating `tls.Socket`: %o",this.connectOpts),s=Xye.connect(this.connectOpts)):(jc("Creating `net.Socket`: %o",this.connectOpts),s=Kye.connect(this.connectOpts)),await(0,eCe.once)(s,"connect"),s}};Rf.protocols=["http","https"];xn.HttpProxyAgent=Rf;function rCe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(rCe,"omit")});var cw=g((JJe,E2)=>{var aw=Object.defineProperty,nCe=Object.getOwnPropertyDescriptor,iCe=Object.getOwnPropertyNames,sCe=Object.prototype.hasOwnProperty,oCe=o((t,e)=>{for(var r in e)aw(t,r,{get:e[r],enumerable:!0})},"__export"),aCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of iCe(e))!sCe.call(t,i)&&i!==r&&aw(t,i,{get:()=>e[i],enumerable:!(n=nCe(e,i))||n.enumerable});return t},"__copyProps"),cCe=o(t=>aCe(aw({},"__esModule",{value:!0}),t),"__toCommonJS"),f2={};oCe(f2,{getDefaultProxySettings:()=>yCe,globalNoProxyList:()=>ow,loadNoProxy:()=>C2,proxyPolicy:()=>ECe,proxyPolicyName:()=>m2});E2.exports=cCe(f2);var lCe=l2(),ACe=d2(),uCe=kc(),dCe="HTTPS_PROXY",pCe="HTTP_PROXY",hCe="ALL_PROXY",fCe="NO_PROXY",m2="proxyPolicy",ow=[],g2=!1,mCe=new Map;function _f(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(_f,"getEnvironmentValue");function y2(){if(!process)return;let t=_f(dCe),e=_f(hCe),r=_f(pCe);return t||e||r}o(y2,"loadEnvironmentProxyValue");function gCe(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(gCe,"isBypassed");function C2(){let t=_f(fCe);return g2=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(C2,"loadNoProxy");function yCe(t){if(!t&&(t=y2(),!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(yCe,"getDefaultProxySettings");function CCe(){let t=y2();return t?new URL(t):void 0}o(CCe,"getDefaultProxySettingsInternal");function p2(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(p2,"getUrlFromProxySettings");function h2(t,e,r){if(t.agent)return;let i=new URL(t.url).protocol!=="https:";t.tlsSettings&&uCe.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 ACe.HttpProxyAgent(r,{headers:s})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new lCe.HttpsProxyAgent(r,{headers:s})),t.agent=e.httpsProxyAgent)}o(h2,"setProxyAgentOnRequest");function ECe(t,e){g2||ow.push(...C2());let r=t?p2(t):CCe(),n={};return{name:m2,async sendRequest(i,s){return!i.proxySettings&&r&&!gCe(i.url,e?.customNoProxyList??ow,e?.customNoProxyList?void 0:mCe)?h2(i,n,r):i.proxySettings&&h2(i,n,p2(i.proxySettings)),s(i)}}}o(ECe,"proxyPolicy")});var Aw=g((WJe,b2)=>{var lw=Object.defineProperty,BCe=Object.getOwnPropertyDescriptor,ICe=Object.getOwnPropertyNames,bCe=Object.prototype.hasOwnProperty,QCe=o((t,e)=>{for(var r in e)lw(t,r,{get:e[r],enumerable:!0})},"__export"),wCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ICe(e))!bCe.call(t,i)&&i!==r&&lw(t,i,{get:()=>e[i],enumerable:!(n=BCe(e,i))||n.enumerable});return t},"__copyProps"),NCe=o(t=>wCe(lw({},"__esModule",{value:!0}),t),"__toCommonJS"),B2={};QCe(B2,{agentPolicy:()=>xCe,agentPolicyName:()=>I2});b2.exports=NCe(B2);var I2="agentPolicy";function xCe(t){return{name:I2,sendRequest:async(e,r)=>(e.agent||(e.agent=t),r(e))}}o(xCe,"agentPolicy")});var dw=g((KJe,N2)=>{var uw=Object.defineProperty,SCe=Object.getOwnPropertyDescriptor,RCe=Object.getOwnPropertyNames,_Ce=Object.prototype.hasOwnProperty,vCe=o((t,e)=>{for(var r in e)uw(t,r,{get:e[r],enumerable:!0})},"__export"),PCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of RCe(e))!_Ce.call(t,i)&&i!==r&&uw(t,i,{get:()=>e[i],enumerable:!(n=SCe(e,i))||n.enumerable});return t},"__copyProps"),DCe=o(t=>PCe(uw({},"__esModule",{value:!0}),t),"__toCommonJS"),Q2={};vCe(Q2,{tlsPolicy:()=>TCe,tlsPolicyName:()=>w2});N2.exports=DCe(Q2);var w2="tlsPolicy";function TCe(t){return{name:w2,sendRequest:async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e))}}o(TCe,"tlsPolicy")});var Ru=g((ZJe,v2)=>{var pw=Object.defineProperty,OCe=Object.getOwnPropertyDescriptor,MCe=Object.getOwnPropertyNames,kCe=Object.prototype.hasOwnProperty,LCe=o((t,e)=>{for(var r in e)pw(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 MCe(e))!kCe.call(t,i)&&i!==r&&pw(t,i,{get:()=>e[i],enumerable:!(n=OCe(e,i))||n.enumerable});return t},"__copyProps"),FCe=o(t=>UCe(pw({},"__esModule",{value:!0}),t),"__toCommonJS"),x2={};LCe(x2,{isBinaryBody:()=>qCe,isBlob:()=>HCe,isNodeReadableStream:()=>S2,isReadableStream:()=>_2,isWebReadableStream:()=>R2});v2.exports=FCe(x2);function S2(t){return!!(t&&typeof t.pipe=="function")}o(S2,"isNodeReadableStream");function R2(t){return!!(t&&typeof t.getReader=="function"&&typeof t.tee=="function")}o(R2,"isWebReadableStream");function qCe(t){return t!==void 0&&(t instanceof Uint8Array||_2(t)||typeof t=="function"||t instanceof Blob)}o(qCe,"isBinaryBody");function _2(t){return S2(t)||R2(t)}o(_2,"isReadableStream");function HCe(t){return typeof t.stream=="function"}o(HCe,"isBlob")});var M2=g((tVe,O2)=>{var hw=Object.defineProperty,zCe=Object.getOwnPropertyDescriptor,jCe=Object.getOwnPropertyNames,GCe=Object.prototype.hasOwnProperty,YCe=o((t,e)=>{for(var r in e)hw(t,r,{get:e[r],enumerable:!0})},"__export"),JCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of jCe(e))!GCe.call(t,i)&&i!==r&&hw(t,i,{get:()=>e[i],enumerable:!(n=zCe(e,i))||n.enumerable});return t},"__copyProps"),VCe=o(t=>JCe(hw({},"__esModule",{value:!0}),t),"__toCommonJS"),T2={};YCe(T2,{concat:()=>XCe});O2.exports=VCe(T2);var fw=require("stream"),WCe=Ru();async function*P2(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(P2,"streamAsyncIterator");function $Ce(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=P2.bind(t)),t.values||(t.values=P2.bind(t))}o($Ce,"makeAsyncIterable");function D2(t){return t instanceof ReadableStream?($Ce(t),fw.Readable.fromWeb(t)):t}o(D2,"ensureNodeStream");function KCe(t){return t instanceof Uint8Array?fw.Readable.from(Buffer.from(t)):(0,WCe.isBlob)(t)?D2(t.stream()):D2(t)}o(KCe,"toStream");async function XCe(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(KCe);return fw.Readable.from(async function*(){for(let r of e)for await(let n of r)yield n}())}}o(XCe,"concat")});var gw=g((nVe,U2)=>{var mw=Object.defineProperty,ZCe=Object.getOwnPropertyDescriptor,eEe=Object.getOwnPropertyNames,tEe=Object.prototype.hasOwnProperty,rEe=o((t,e)=>{for(var r in e)mw(t,r,{get:e[r],enumerable:!0})},"__export"),nEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of eEe(e))!tEe.call(t,i)&&i!==r&&mw(t,i,{get:()=>e[i],enumerable:!(n=ZCe(e,i))||n.enumerable});return t},"__copyProps"),iEe=o(t=>nEe(mw({},"__esModule",{value:!0}),t),"__toCommonJS"),k2={};rEe(k2,{multipartPolicy:()=>mEe,multipartPolicyName:()=>L2});U2.exports=iEe(k2);var Gc=Ko(),sEe=Ru(),oEe=pf(),aEe=M2();function cEe(){return`----AzSDKFormBoundary${(0,oEe.randomUUID)()}`}o(cEe,"generateBoundary");function lEe(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r
`;return e}o(lEe,"encodeHeaders");function AEe(t){return t instanceof Uint8Array?t.byteLength:(0,sEe.isBlob)(t)?t.size===-1?void 0:t.size:void 0}o(AEe,"getLength");function uEe(t){let e=0;for(let r of t){let n=AEe(r);if(n===void 0)return;e+=n}return e}o(uEe,"getTotalLength");async function dEe(t,e,r){let n=[(0,Gc.stringToUint8Array)(`--${r}`,"utf-8"),...e.flatMap(s=>[(0,Gc.stringToUint8Array)(`\r
`,"utf-8"),(0,Gc.stringToUint8Array)(lEe(s.headers),"utf-8"),(0,Gc.stringToUint8Array)(`\r
`,"utf-8"),s.body,(0,Gc.stringToUint8Array)(`\r
--${r}`,"utf-8")]),(0,Gc.stringToUint8Array)(`--\r
\r
`,"utf-8")],i=uEe(n);i&&t.headers.set("Content-Length",i),t.body=await(0,aEe.concat)(n)}o(dEe,"buildRequestBody");var L2="multipartPolicy",pEe=70,hEe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function fEe(t){if(t.length>pEe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!hEe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(fEe,"assertValidBoundary");function mEe(){return{name:L2,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?fEe(r):r=cEe(),t.headers.set("Content-Type",`${s}; boundary=${r}`),await dEe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(mEe,"multipartPolicy")});var j2=g((sVe,z2)=>{var yw=Object.defineProperty,gEe=Object.getOwnPropertyDescriptor,yEe=Object.getOwnPropertyNames,CEe=Object.prototype.hasOwnProperty,EEe=o((t,e)=>{for(var r in e)yw(t,r,{get:e[r],enumerable:!0})},"__export"),BEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of yEe(e))!CEe.call(t,i)&&i!==r&&yw(t,i,{get:()=>e[i],enumerable:!(n=gEe(e,i))||n.enumerable});return t},"__copyProps"),IEe=o(t=>BEe(yw({},"__esModule",{value:!0}),t),"__toCommonJS"),H2={};EEe(H2,{createPipelineFromOptions:()=>DEe});z2.exports=IEe(H2);var bEe=_Q(),QEe=dQ(),wEe=PQ(),NEe=LQ(),xEe=FQ(),SEe=XQ(),REe=tw(),F2=xu(),_Ee=cw(),vEe=Aw(),PEe=dw(),q2=gw();function DEe(t){let e=(0,QEe.createEmptyPipeline)();return F2.isNodeLike&&(t.agent&&e.addPolicy((0,vEe.agentPolicy)(t.agent)),t.tlsOptions&&e.addPolicy((0,PEe.tlsPolicy)(t.tlsOptions)),e.addPolicy((0,_Ee.proxyPolicy)(t.proxyOptions)),e.addPolicy((0,xEe.decompressResponsePolicy)())),e.addPolicy((0,REe.formDataPolicy)(),{beforePolicies:[q2.multipartPolicyName]}),e.addPolicy((0,NEe.userAgentPolicy)(t.userAgentOptions)),e.addPolicy((0,q2.multipartPolicy)(),{afterPhase:"Deserialize"}),e.addPolicy((0,SEe.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),F2.isNodeLike&&e.addPolicy((0,wEe.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy((0,bEe.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),e}o(DEe,"createPipelineFromOptions")});var V2=g((aVe,J2)=>{var Cw=Object.defineProperty,TEe=Object.getOwnPropertyDescriptor,OEe=Object.getOwnPropertyNames,MEe=Object.prototype.hasOwnProperty,kEe=o((t,e)=>{for(var r in e)Cw(t,r,{get:e[r],enumerable:!0})},"__export"),LEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of OEe(e))!MEe.call(t,i)&&i!==r&&Cw(t,i,{get:()=>e[i],enumerable:!(n=TEe(e,i))||n.enumerable});return t},"__copyProps"),UEe=o(t=>LEe(Cw({},"__esModule",{value:!0}),t),"__toCommonJS"),G2={};kEe(G2,{apiVersionPolicy:()=>FEe,apiVersionPolicyName:()=>Y2});J2.exports=UEe(G2);var Y2="ApiVersionPolicy";function FEe(t){return{name:Y2,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(FEe,"apiVersionPolicy")});var K2=g((lVe,$2)=>{var Ew=Object.defineProperty,qEe=Object.getOwnPropertyDescriptor,HEe=Object.getOwnPropertyNames,zEe=Object.prototype.hasOwnProperty,jEe=o((t,e)=>{for(var r in e)Ew(t,r,{get:e[r],enumerable:!0})},"__export"),GEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of HEe(e))!zEe.call(t,i)&&i!==r&&Ew(t,i,{get:()=>e[i],enumerable:!(n=qEe(e,i))||n.enumerable});return t},"__copyProps"),YEe=o(t=>GEe(Ew({},"__esModule",{value:!0}),t),"__toCommonJS"),W2={};jEe(W2,{isApiKeyCredential:()=>$Ee,isBasicCredential:()=>WEe,isBearerTokenCredential:()=>VEe,isOAuth2TokenCredential:()=>JEe});$2.exports=YEe(W2);function JEe(t){return"getOAuth2Token"in t}o(JEe,"isOAuth2TokenCredential");function VEe(t){return"getBearerToken"in t}o(VEe,"isBearerTokenCredential");function WEe(t){return"username"in t&&"password"in t}o(WEe,"isBasicCredential");function $Ee(t){return"key"in t}o($Ee,"isApiKeyCredential")});var _u=g((uVe,ez)=>{var Bw=Object.defineProperty,KEe=Object.getOwnPropertyDescriptor,XEe=Object.getOwnPropertyNames,ZEe=Object.prototype.hasOwnProperty,eBe=o((t,e)=>{for(var r in e)Bw(t,r,{get:e[r],enumerable:!0})},"__export"),tBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of XEe(e))!ZEe.call(t,i)&&i!==r&&Bw(t,i,{get:()=>e[i],enumerable:!(n=KEe(e,i))||n.enumerable});return t},"__copyProps"),rBe=o(t=>tBe(Bw({},"__esModule",{value:!0}),t),"__toCommonJS"),Z2={};eBe(Z2,{ensureSecureConnection:()=>oBe});ez.exports=rBe(Z2);var nBe=kc(),X2=!1;function iBe(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(iBe,"allowInsecureConnection");function sBe(){let t="Sending token over insecure transport. Assume any token issued is compromised.";nBe.logger.warning(t),typeof process?.emitWarning=="function"&&!X2&&(X2=!0,process.emitWarning(t))}o(sBe,"emitInsecureConnectionWarning");function oBe(t,e){if(!t.url.toLowerCase().startsWith("https://"))if(iBe(t,e))sBe();else throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}o(oBe,"ensureSecureConnection")});var iz=g((pVe,nz)=>{var Iw=Object.defineProperty,aBe=Object.getOwnPropertyDescriptor,cBe=Object.getOwnPropertyNames,lBe=Object.prototype.hasOwnProperty,ABe=o((t,e)=>{for(var r in e)Iw(t,r,{get:e[r],enumerable:!0})},"__export"),uBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of cBe(e))!lBe.call(t,i)&&i!==r&&Iw(t,i,{get:()=>e[i],enumerable:!(n=aBe(e,i))||n.enumerable});return t},"__copyProps"),dBe=o(t=>uBe(Iw({},"__esModule",{value:!0}),t),"__toCommonJS"),tz={};ABe(tz,{apiKeyAuthenticationPolicy:()=>hBe,apiKeyAuthenticationPolicyName:()=>rz});nz.exports=dBe(tz);var pBe=_u(),rz="apiKeyAuthenticationPolicy";function hBe(t){return{name:rz,async sendRequest(e,r){(0,pBe.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(hBe,"apiKeyAuthenticationPolicy")});var lz=g((fVe,cz)=>{var bw=Object.defineProperty,fBe=Object.getOwnPropertyDescriptor,mBe=Object.getOwnPropertyNames,gBe=Object.prototype.hasOwnProperty,yBe=o((t,e)=>{for(var r in e)bw(t,r,{get:e[r],enumerable:!0})},"__export"),CBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of mBe(e))!gBe.call(t,i)&&i!==r&&bw(t,i,{get:()=>e[i],enumerable:!(n=fBe(e,i))||n.enumerable});return t},"__copyProps"),EBe=o(t=>CBe(bw({},"__esModule",{value:!0}),t),"__toCommonJS"),oz={};yBe(oz,{basicAuthenticationPolicy:()=>IBe,basicAuthenticationPolicyName:()=>az});cz.exports=EBe(oz);var sz=Ko(),BBe=_u(),az="bearerAuthenticationPolicy";function IBe(t){return{name:az,async sendRequest(e,r){if((0,BBe.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,sz.uint8ArrayToString)((0,sz.stringToUint8Array)(`${i}:${s}`,"utf-8"),"base64");return e.headers.set("Authorization",`Basic ${a}`),r(e)}}}o(IBe,"basicAuthenticationPolicy")});var pz=g((gVe,dz)=>{var Qw=Object.defineProperty,bBe=Object.getOwnPropertyDescriptor,QBe=Object.getOwnPropertyNames,wBe=Object.prototype.hasOwnProperty,NBe=o((t,e)=>{for(var r in e)Qw(t,r,{get:e[r],enumerable:!0})},"__export"),xBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of QBe(e))!wBe.call(t,i)&&i!==r&&Qw(t,i,{get:()=>e[i],enumerable:!(n=bBe(e,i))||n.enumerable});return t},"__copyProps"),SBe=o(t=>xBe(Qw({},"__esModule",{value:!0}),t),"__toCommonJS"),Az={};NBe(Az,{bearerAuthenticationPolicy:()=>_Be,bearerAuthenticationPolicyName:()=>uz});dz.exports=SBe(Az);var RBe=_u(),uz="bearerAuthenticationPolicy";function _Be(t){return{name:uz,async sendRequest(e,r){if((0,RBe.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(_Be,"bearerAuthenticationPolicy")});var gz=g((CVe,mz)=>{var ww=Object.defineProperty,vBe=Object.getOwnPropertyDescriptor,PBe=Object.getOwnPropertyNames,DBe=Object.prototype.hasOwnProperty,TBe=o((t,e)=>{for(var r in e)ww(t,r,{get:e[r],enumerable:!0})},"__export"),OBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of PBe(e))!DBe.call(t,i)&&i!==r&&ww(t,i,{get:()=>e[i],enumerable:!(n=vBe(e,i))||n.enumerable});return t},"__copyProps"),MBe=o(t=>OBe(ww({},"__esModule",{value:!0}),t),"__toCommonJS"),hz={};TBe(hz,{oauth2AuthenticationPolicy:()=>LBe,oauth2AuthenticationPolicyName:()=>fz});mz.exports=MBe(hz);var kBe=_u(),fz="oauth2AuthenticationPolicy";function LBe(t){return{name:fz,async sendRequest(e,r){(0,kBe.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(LBe,"oauth2AuthenticationPolicy")});var Sw=g((BVe,Cz)=>{var xw=Object.defineProperty,UBe=Object.getOwnPropertyDescriptor,FBe=Object.getOwnPropertyNames,qBe=Object.prototype.hasOwnProperty,HBe=o((t,e)=>{for(var r in e)xw(t,r,{get:e[r],enumerable:!0})},"__export"),zBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of FBe(e))!qBe.call(t,i)&&i!==r&&xw(t,i,{get:()=>e[i],enumerable:!(n=UBe(e,i))||n.enumerable});return t},"__copyProps"),jBe=o(t=>zBe(xw({},"__esModule",{value:!0}),t),"__toCommonJS"),yz={};HBe(yz,{createDefaultPipeline:()=>XBe,getCachedDefaultHttpsClient:()=>ZBe});Cz.exports=jBe(yz);var GBe=SQ(),YBe=j2(),JBe=V2(),vf=K2(),VBe=iz(),WBe=lz(),$Be=pz(),KBe=gz(),Nw;function XBe(t={}){let e=(0,YBe.createPipelineFromOptions)(t);e.addPolicy((0,JBe.apiVersionPolicy)(t));let{credential:r,authSchemes:n,allowInsecureConnection:i}=t;return r&&((0,vf.isApiKeyCredential)(r)?e.addPolicy((0,VBe.apiKeyAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,vf.isBasicCredential)(r)?e.addPolicy((0,WBe.basicAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,vf.isBearerTokenCredential)(r)?e.addPolicy((0,$Be.bearerAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,vf.isOAuth2TokenCredential)(r)&&e.addPolicy((0,KBe.oauth2AuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i}))),e}o(XBe,"createDefaultPipeline");function ZBe(){return Nw||(Nw=(0,GBe.createDefaultHttpClient)()),Nw}o(ZBe,"getCachedDefaultHttpsClient")});var xz=g((bVe,Nz)=>{var Rw=Object.defineProperty,eIe=Object.getOwnPropertyDescriptor,tIe=Object.getOwnPropertyNames,rIe=Object.prototype.hasOwnProperty,nIe=o((t,e)=>{for(var r in e)Rw(t,r,{get:e[r],enumerable:!0})},"__export"),iIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tIe(e))!rIe.call(t,i)&&i!==r&&Rw(t,i,{get:()=>e[i],enumerable:!(n=eIe(e,i))||n.enumerable});return t},"__copyProps"),sIe=o(t=>iIe(Rw({},"__esModule",{value:!0}),t),"__toCommonJS"),Iz={};nIe(Iz,{buildBodyPart:()=>wz,buildMultipartBody:()=>uIe});Nz.exports=sIe(Iz);var oIe=Mc(),aIe=Js(),Ez=Ko(),bz=Ru();function Qz(t,e){if(t.headers){let r=Object.keys(t.headers).find(n=>n.toLowerCase()===e.toLowerCase());if(r)return t.headers[r]}}o(Qz,"getHeaderValue");function cIe(t){let e=Qz(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,bz.isBinaryBody)(r)?"application/octet-stream":"application/json"}o(cIe,"getPartContentType");function Bz(t){return JSON.stringify(t)}o(Bz,"escapeDispositionField");function lIe(t){let e=Qz(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=${Bz(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=${Bz(i)}`),n}o(lIe,"getContentDisposition");function AIe(t,e){if(t===void 0)return new Uint8Array([]);if((0,bz.isBinaryBody)(t))return t;if(typeof t=="string"||typeof t=="number"||typeof t=="boolean")return(0,Ez.stringToUint8Array)(String(t),"utf-8");if(e&&/application\/(.+\+)?json(;.+)?/i.test(String(e)))return(0,Ez.stringToUint8Array)(JSON.stringify(t),"utf-8");throw new oIe.RestError(`Unsupported body/content-type combination: ${t}, ${e}`)}o(AIe,"normalizeBody");function wz(t){let e=cIe(t),r=lIe(t),n=(0,aIe.createHttpHeaders)(t.headers??{});e&&n.set("content-type",e),r&&n.set("content-disposition",r);let i=AIe(t.body,e);return{headers:n,body:i}}o(wz,"buildBodyPart");function uIe(t){return{parts:t.map(wz)}}o(uIe,"buildMultipartBody")});var vz=g((wVe,_z)=>{var Pw=Object.defineProperty,dIe=Object.getOwnPropertyDescriptor,pIe=Object.getOwnPropertyNames,hIe=Object.prototype.hasOwnProperty,fIe=o((t,e)=>{for(var r in e)Pw(t,r,{get:e[r],enumerable:!0})},"__export"),mIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of pIe(e))!hIe.call(t,i)&&i!==r&&Pw(t,i,{get:()=>e[i],enumerable:!(n=dIe(e,i))||n.enumerable});return t},"__copyProps"),gIe=o(t=>mIe(Pw({},"__esModule",{value:!0}),t),"__toCommonJS"),Sz={};fIe(Sz,{getRequestBody:()=>Rz,sendRequest:()=>IIe});_z.exports=gIe(Sz);var _w=Mc(),yIe=Js(),CIe=lQ(),EIe=Sw(),vw=Ru(),BIe=xz();async function IIe(t,e,r,n={},i){let s=i??(0,EIe.getCachedDefaultHttpsClient)(),a=wIe(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:NIe(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,_w.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(IIe,"sendRequest");function bIe(t={}){return t.contentType??t.headers?.["content-type"]??QIe(t.body)}o(bIe,"getRequestContentType");function QIe(t){if(t!==void 0){if(ArrayBuffer.isView(t))return"application/octet-stream";if((0,vw.isBlob)(t)&&t.type)return t.type;if(typeof t=="string")try{return JSON.parse(t),"application/json"}catch{return}return"application/json"}}o(QIe,"getContentType");function wIe(t,e,r={}){let n=bIe(r),{body:i,multipartBody:s}=Rz(r.body,n),a=(0,yIe.createHttpHeaders)({...r.headers?r.headers:{},accept:r.accept??r.headers?.accept??"application/json",...n&&{"content-type":n}});return(0,CIe.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(wIe,"buildPipelineRequest");function Rz(t,e=""){if(t===void 0)return{body:void 0};if(typeof FormData<"u"&&t instanceof FormData)return{body:t};if((0,vw.isBlob)(t))return{body:t};if((0,vw.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,BIe.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(Rz,"getRequestBody");function NIe(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 xIe(t,i);return String(n)}}o(NIe,"getResponseBody");function xIe(t,e){let r=`Error "${e}" occurred while parsing the response body - ${t.bodyAsText}.`,n=e.code??_w.RestError.PARSE_ERROR;return new _w.RestError(r,{code:n,statusCode:t.status,request:t.request,response:t})}o(xIe,"createParseError")});var Mz=g((xVe,Oz)=>{var Tw=Object.defineProperty,SIe=Object.getOwnPropertyDescriptor,RIe=Object.getOwnPropertyNames,_Ie=Object.prototype.hasOwnProperty,vIe=o((t,e)=>{for(var r in e)Tw(t,r,{get:e[r],enumerable:!0})},"__export"),PIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of RIe(e))!_Ie.call(t,i)&&i!==r&&Tw(t,i,{get:()=>e[i],enumerable:!(n=SIe(e,i))||n.enumerable});return t},"__copyProps"),DIe=o(t=>PIe(Tw({},"__esModule",{value:!0}),t),"__toCommonJS"),Pz={};vIe(Pz,{buildBaseUrl:()=>Dz,buildRequestUrl:()=>OIe,replaceAll:()=>Tz});Oz.exports=DIe(Pz);function TIe(t){let e=t.value;return e!==void 0&&e.toString!==void 0&&typeof e.toString=="function"}o(TIe,"isQueryParameterWithOptions");function OIe(t,e,r,n={}){if(e.startsWith("https://")||e.startsWith("http://"))return e;t=Dz(t,n),e=kIe(e,r,n);let i=MIe(`${t}/${e}`,n);return new URL(i).toString().replace(/([^:]\/)\/+/g,"$1")}o(OIe,"buildRequestUrl");function Dw(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(Dw,"getQueryParamValue");function MIe(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=TIe(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(Dw(s,e.skipUrlEncoding??!1,u,d));else if(typeof l=="object")for(let[d,f]of Object.entries(l))i.push(Dw(d,e.skipUrlEncoding??!1,u,f));else throw new Error("explode can only be set to true for objects and arrays");else i.push(Dw(s,e.skipUrlEncoding??!1,u,l))}return r.search!==""&&(r.search+="&"),r.search+=i.join("&"),r.toString()}o(MIe,"appendQueryParams");function Dz(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=Tz(t,`{${n}}`,s)??""}return t}o(Dz,"buildBaseUrl");function kIe(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(kIe,"buildRoutePath");function Tz(t,e,r){return!t||!e?t:t.split(e).join(r||"")}o(Tz,"replaceAll")});var Fz=g((RVe,Uz)=>{var Mw=Object.defineProperty,LIe=Object.getOwnPropertyDescriptor,UIe=Object.getOwnPropertyNames,FIe=Object.prototype.hasOwnProperty,qIe=o((t,e)=>{for(var r in e)Mw(t,r,{get:e[r],enumerable:!0})},"__export"),HIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of UIe(e))!FIe.call(t,i)&&i!==r&&Mw(t,i,{get:()=>e[i],enumerable:!(n=LIe(e,i))||n.enumerable});return t},"__copyProps"),zIe=o(t=>HIe(Mw({},"__esModule",{value:!0}),t),"__toCommonJS"),Lz={};qIe(Lz,{getClient:()=>YIe});Uz.exports=zIe(Lz);var jIe=Sw(),Ow=vz(),GIe=Mz(),kz=xu();function YIe(t,e={}){let r=e.pipeline??(0,jIe.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,GIe.buildRequestUrl)(s,c,l,{allowInsecureConnection:n,...u}),"getUrl");return{get:(u={})=>Vs("GET",A(u),r,u,n,i),post:(u={})=>Vs("POST",A(u),r,u,n,i),put:(u={})=>Vs("PUT",A(u),r,u,n,i),patch:(u={})=>Vs("PATCH",A(u),r,u,n,i),delete:(u={})=>Vs("DELETE",A(u),r,u,n,i),head:(u={})=>Vs("HEAD",A(u),r,u,n,i),options:(u={})=>Vs("OPTIONS",A(u),r,u,n,i),trace:(u={})=>Vs("TRACE",A(u),r,u,n,i)}},"client");return{path:a,pathUnchecked:a,pipeline:r}}o(YIe,"getClient");function Vs(t,e,r,n,i,s){return i=n.allowInsecureConnection??i,{then:function(a,c){return(0,Ow.sendRequest)(t,e,r,{...n,allowInsecureConnection:i},s).then(a,c)},async asBrowserStream(){if(kz.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,Ow.sendRequest)(t,e,r,{...n,allowInsecureConnection:i,responseAsStream:!0},s)},async asNodeStream(){if(kz.isNodeLike)return(0,Ow.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(Vs,"buildOperation")});var zz=g((vVe,Hz)=>{var kw=Object.defineProperty,JIe=Object.getOwnPropertyDescriptor,VIe=Object.getOwnPropertyNames,WIe=Object.prototype.hasOwnProperty,$Ie=o((t,e)=>{for(var r in e)kw(t,r,{get:e[r],enumerable:!0})},"__export"),KIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of VIe(e))!WIe.call(t,i)&&i!==r&&kw(t,i,{get:()=>e[i],enumerable:!(n=JIe(e,i))||n.enumerable});return t},"__copyProps"),XIe=o(t=>KIe(kw({},"__esModule",{value:!0}),t),"__toCommonJS"),qz={};$Ie(qz,{operationOptionsToRequestParameters:()=>ZIe});Hz.exports=XIe(qz);function ZIe(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(ZIe,"operationOptionsToRequestParameters")});var Jz=g((DVe,Yz)=>{var Lw=Object.defineProperty,ebe=Object.getOwnPropertyDescriptor,tbe=Object.getOwnPropertyNames,rbe=Object.prototype.hasOwnProperty,nbe=o((t,e)=>{for(var r in e)Lw(t,r,{get:e[r],enumerable:!0})},"__export"),ibe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tbe(e))!rbe.call(t,i)&&i!==r&&Lw(t,i,{get:()=>e[i],enumerable:!(n=ebe(e,i))||n.enumerable});return t},"__copyProps"),sbe=o(t=>ibe(Lw({},"__esModule",{value:!0}),t),"__toCommonJS"),jz={};nbe(jz,{createRestError:()=>cbe});Yz.exports=sbe(jz);var obe=Mc(),abe=Js();function cbe(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 obe.RestError(i,{statusCode:Gz(r.status),code:n?.code,request:r.request,response:lbe(r)})}o(cbe,"createRestError");function lbe(t){return{headers:(0,abe.createHttpHeaders)(t.headers),request:t.request,status:Gz(t.status)??-1}}o(lbe,"toPipelineResponse");function Gz(t){let e=Number.parseInt(t);return Number.isNaN(e)?void 0:e}o(Gz,"statusCodeToNumber")});var Yc=g((OVe,Kz)=>{var Uw=Object.defineProperty,Abe=Object.getOwnPropertyDescriptor,ube=Object.getOwnPropertyNames,dbe=Object.prototype.hasOwnProperty,pbe=o((t,e)=>{for(var r in e)Uw(t,r,{get:e[r],enumerable:!0})},"__export"),hbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ube(e))!dbe.call(t,i)&&i!==r&&Uw(t,i,{get:()=>e[i],enumerable:!(n=Abe(e,i))||n.enumerable});return t},"__copyProps"),fbe=o(t=>hbe(Uw({},"__esModule",{value:!0}),t),"__toCommonJS"),$z={};pbe($z,{AbortError:()=>mbe.AbortError,RestError:()=>Vz.RestError,TypeSpecRuntimeLogger:()=>Pf.TypeSpecRuntimeLogger,createClientLogger:()=>Pf.createClientLogger,createDefaultHttpClient:()=>Ebe.createDefaultHttpClient,createEmptyPipeline:()=>Cbe.createEmptyPipeline,createHttpHeaders:()=>gbe.createHttpHeaders,createPipelineRequest:()=>ybe.createPipelineRequest,createRestError:()=>bbe.createRestError,getClient:()=>Bbe.getClient,getLogLevel:()=>Pf.getLogLevel,isRestError:()=>Vz.isRestError,operationOptionsToRequestParameters:()=>Ibe.operationOptionsToRequestParameters,setLogLevel:()=>Pf.setLogLevel,stringToUint8Array:()=>Wz.stringToUint8Array,uint8ArrayToString:()=>Wz.uint8ArrayToString});Kz.exports=fbe($z);var mbe=Bu(),Pf=bu(),gbe=Js(),ybe=lQ(),Cbe=dQ(),Vz=Mc(),Wz=Ko(),Ebe=SQ(),Bbe=Fz(),Ibe=zz(),bbe=Jz()});var qw=g((kVe,Zz)=>{var Fw=Object.defineProperty,Qbe=Object.getOwnPropertyDescriptor,wbe=Object.getOwnPropertyNames,Nbe=Object.prototype.hasOwnProperty,xbe=o((t,e)=>{for(var r in e)Fw(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 wbe(e))!Nbe.call(t,i)&&i!==r&&Fw(t,i,{get:()=>e[i],enumerable:!(n=Qbe(e,i))||n.enumerable});return t},"__copyProps"),Rbe=o(t=>Sbe(Fw({},"__esModule",{value:!0}),t),"__toCommonJS"),Xz={};xbe(Xz,{createEmptyPipeline:()=>vbe});Zz.exports=Rbe(Xz);var _be=Yc();function vbe(){return(0,_be.createEmptyPipeline)()}o(vbe,"createEmptyPipeline")});var rj=g((UVe,tj)=>{var Hw=Object.defineProperty,Pbe=Object.getOwnPropertyDescriptor,Dbe=Object.getOwnPropertyNames,Tbe=Object.prototype.hasOwnProperty,Obe=o((t,e)=>{for(var r in e)Hw(t,r,{get:e[r],enumerable:!0})},"__export"),Mbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Dbe(e))!Tbe.call(t,i)&&i!==r&&Hw(t,i,{get:()=>e[i],enumerable:!(n=Pbe(e,i))||n.enumerable});return t},"__copyProps"),kbe=o(t=>Mbe(Hw({},"__esModule",{value:!0}),t),"__toCommonJS"),ej={};Obe(ej,{createLoggerContext:()=>Lbe.createLoggerContext});tj.exports=kbe(ej);var Lbe=bu()});var Jc=g(ea=>{"use strict";Object.defineProperty(ea,"__esModule",{value:!0});ea.AzureLogger=void 0;ea.setLogLevel=Fbe;ea.getLogLevel=qbe;ea.createClientLogger=Hbe;var Ube=rj(),Df=(0,Ube.createLoggerContext)({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});ea.AzureLogger=Df.logger;function Fbe(t){Df.setLogLevel(t)}o(Fbe,"setLogLevel");function qbe(){return Df.getLogLevel()}o(qbe,"getLogLevel");function Hbe(t){return Df.createClientLogger(t)}o(Hbe,"createClientLogger")});var vu=g((zVe,ij)=>{var zw=Object.defineProperty,zbe=Object.getOwnPropertyDescriptor,jbe=Object.getOwnPropertyNames,Gbe=Object.prototype.hasOwnProperty,Ybe=o((t,e)=>{for(var r in e)zw(t,r,{get:e[r],enumerable:!0})},"__export"),Jbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of jbe(e))!Gbe.call(t,i)&&i!==r&&zw(t,i,{get:()=>e[i],enumerable:!(n=zbe(e,i))||n.enumerable});return t},"__copyProps"),Vbe=o(t=>Jbe(zw({},"__esModule",{value:!0}),t),"__toCommonJS"),nj={};Ybe(nj,{logger:()=>$be});ij.exports=Vbe(nj);var Wbe=Jc(),$be=(0,Wbe.createClientLogger)("core-rest-pipeline")});var aj=g((GVe,oj)=>{var jw=Object.defineProperty,Kbe=Object.getOwnPropertyDescriptor,Xbe=Object.getOwnPropertyNames,Zbe=Object.prototype.hasOwnProperty,eQe=o((t,e)=>{for(var r in e)jw(t,r,{get:e[r],enumerable:!0})},"__export"),tQe=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&&jw(t,i,{get:()=>e[i],enumerable:!(n=Kbe(e,i))||n.enumerable});return t},"__copyProps"),rQe=o(t=>tQe(jw({},"__esModule",{value:!0}),t),"__toCommonJS"),sj={};eQe(sj,{exponentialRetryPolicy:()=>aQe,exponentialRetryPolicyName:()=>oQe});oj.exports=rQe(sj);var nQe=Ef(),iQe=Uc(),sQe=Xo(),oQe="exponentialRetryPolicy";function aQe(t={}){return(0,iQe.retryPolicy)([(0,nQe.exponentialRetryStrategy)({...t,ignoreSystemErrors:!0})],{maxRetries:t.maxRetries??sQe.DEFAULT_RETRY_POLICY_COUNT})}o(aQe,"exponentialRetryPolicy")});var uj=g((JVe,Aj)=>{var Gw=Object.defineProperty,cQe=Object.getOwnPropertyDescriptor,lQe=Object.getOwnPropertyNames,AQe=Object.prototype.hasOwnProperty,uQe=o((t,e)=>{for(var r in e)Gw(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&&Gw(t,i,{get:()=>e[i],enumerable:!(n=cQe(e,i))||n.enumerable});return t},"__copyProps"),pQe=o(t=>dQe(Gw({},"__esModule",{value:!0}),t),"__toCommonJS"),cj={};uQe(cj,{systemErrorRetryPolicy:()=>gQe,systemErrorRetryPolicyName:()=>lj});Aj.exports=pQe(cj);var hQe=Ef(),fQe=Uc(),mQe=Xo(),lj="systemErrorRetryPolicy";function gQe(t={}){return{name:lj,sendRequest:(0,fQe.retryPolicy)([(0,hQe.exponentialRetryStrategy)({...t,ignoreHttpStatusCodes:!0})],{maxRetries:t.maxRetries??mQe.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(gQe,"systemErrorRetryPolicy")});var fj=g((WVe,hj)=>{var Yw=Object.defineProperty,yQe=Object.getOwnPropertyDescriptor,CQe=Object.getOwnPropertyNames,EQe=Object.prototype.hasOwnProperty,BQe=o((t,e)=>{for(var r in e)Yw(t,r,{get:e[r],enumerable:!0})},"__export"),IQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of CQe(e))!EQe.call(t,i)&&i!==r&&Yw(t,i,{get:()=>e[i],enumerable:!(n=yQe(e,i))||n.enumerable});return t},"__copyProps"),bQe=o(t=>IQe(Yw({},"__esModule",{value:!0}),t),"__toCommonJS"),dj={};BQe(dj,{throttlingRetryPolicy:()=>xQe,throttlingRetryPolicyName:()=>pj});hj.exports=bQe(dj);var QQe=Cf(),wQe=Uc(),NQe=Xo(),pj="throttlingRetryPolicy";function xQe(t={}){return{name:pj,sendRequest:(0,wQe.retryPolicy)([(0,QQe.throttlingRetryStrategy)()],{maxRetries:t.maxRetries??NQe.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(xQe,"throttlingRetryPolicy")});var vr=g((KVe,Rj)=>{var Vw=Object.defineProperty,SQe=Object.getOwnPropertyDescriptor,RQe=Object.getOwnPropertyNames,_Qe=Object.prototype.hasOwnProperty,vQe=o((t,e)=>{for(var r in e)Vw(t,r,{get:e[r],enumerable:!0})},"__export"),PQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of RQe(e))!_Qe.call(t,i)&&i!==r&&Vw(t,i,{get:()=>e[i],enumerable:!(n=SQe(e,i))||n.enumerable});return t},"__copyProps"),DQe=o(t=>PQe(Vw({},"__esModule",{value:!0}),t),"__toCommonJS"),Sj={};vQe(Sj,{agentPolicy:()=>mj.agentPolicy,agentPolicyName:()=>mj.agentPolicyName,decompressResponsePolicy:()=>gj.decompressResponsePolicy,decompressResponsePolicyName:()=>gj.decompressResponsePolicyName,defaultRetryPolicy:()=>yj.defaultRetryPolicy,defaultRetryPolicyName:()=>yj.defaultRetryPolicyName,exponentialRetryPolicy:()=>Cj.exponentialRetryPolicy,exponentialRetryPolicyName:()=>Cj.exponentialRetryPolicyName,formDataPolicy:()=>Ij.formDataPolicy,formDataPolicyName:()=>Ij.formDataPolicyName,getDefaultProxySettings:()=>Jw.getDefaultProxySettings,logPolicy:()=>bj.logPolicy,logPolicyName:()=>bj.logPolicyName,multipartPolicy:()=>Qj.multipartPolicy,multipartPolicyName:()=>Qj.multipartPolicyName,proxyPolicy:()=>Jw.proxyPolicy,proxyPolicyName:()=>Jw.proxyPolicyName,redirectPolicy:()=>wj.redirectPolicy,redirectPolicyName:()=>wj.redirectPolicyName,retryPolicy:()=>TQe.retryPolicy,systemErrorRetryPolicy:()=>Ej.systemErrorRetryPolicy,systemErrorRetryPolicyName:()=>Ej.systemErrorRetryPolicyName,throttlingRetryPolicy:()=>Bj.throttlingRetryPolicy,throttlingRetryPolicyName:()=>Bj.throttlingRetryPolicyName,tlsPolicy:()=>Nj.tlsPolicy,tlsPolicyName:()=>Nj.tlsPolicyName,userAgentPolicy:()=>xj.userAgentPolicy,userAgentPolicyName:()=>xj.userAgentPolicyName});Rj.exports=DQe(Sj);var mj=Aw(),gj=FQ(),yj=XQ(),Cj=aj(),TQe=Uc(),Ej=uj(),Bj=fj(),Ij=tw(),bj=_Q(),Qj=gw(),Jw=cw(),wj=PQ(),Nj=dw(),xj=LQ()});var $w=g((ZVe,Pj)=>{var Ww=Object.defineProperty,OQe=Object.getOwnPropertyDescriptor,MQe=Object.getOwnPropertyNames,kQe=Object.prototype.hasOwnProperty,LQe=o((t,e)=>{for(var r in e)Ww(t,r,{get:e[r],enumerable:!0})},"__export"),UQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of MQe(e))!kQe.call(t,i)&&i!==r&&Ww(t,i,{get:()=>e[i],enumerable:!(n=OQe(e,i))||n.enumerable});return t},"__copyProps"),FQe=o(t=>UQe(Ww({},"__esModule",{value:!0}),t),"__toCommonJS"),_j={};LQe(_j,{logPolicy:()=>zQe,logPolicyName:()=>HQe});Pj.exports=FQe(_j);var qQe=vu(),vj=vr(),HQe=vj.logPolicyName;function zQe(t={}){return(0,vj.logPolicy)({logger:qQe.logger.info,...t})}o(zQe,"logPolicy")});var Xw=g((tWe,Oj)=>{var Kw=Object.defineProperty,jQe=Object.getOwnPropertyDescriptor,GQe=Object.getOwnPropertyNames,YQe=Object.prototype.hasOwnProperty,JQe=o((t,e)=>{for(var r in e)Kw(t,r,{get:e[r],enumerable:!0})},"__export"),VQe=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&&Kw(t,i,{get:()=>e[i],enumerable:!(n=jQe(e,i))||n.enumerable});return t},"__copyProps"),WQe=o(t=>VQe(Kw({},"__esModule",{value:!0}),t),"__toCommonJS"),Dj={};JQe(Dj,{redirectPolicy:()=>KQe,redirectPolicyName:()=>$Qe});Oj.exports=WQe(Dj);var Tj=vr(),$Qe=Tj.redirectPolicyName;function KQe(t={}){return(0,Tj.redirectPolicy)(t)}o(KQe,"redirectPolicy")});var Fj=g((nWe,Uj)=>{var XQe=Object.create,Tf=Object.defineProperty,ZQe=Object.getOwnPropertyDescriptor,ewe=Object.getOwnPropertyNames,twe=Object.getPrototypeOf,rwe=Object.prototype.hasOwnProperty,nwe=o((t,e)=>{for(var r in e)Tf(t,r,{get:e[r],enumerable:!0})},"__export"),Mj=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ewe(e))!rwe.call(t,i)&&i!==r&&Tf(t,i,{get:()=>e[i],enumerable:!(n=ZQe(e,i))||n.enumerable});return t},"__copyProps"),kj=o((t,e,r)=>(r=t!=null?XQe(twe(t)):{},Mj(e||!t||!t.__esModule?Tf(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),iwe=o(t=>Mj(Tf({},"__esModule",{value:!0}),t),"__toCommonJS"),Lj={};nwe(Lj,{getHeaderName:()=>swe,setPlatformSpecificData:()=>owe});Uj.exports=iwe(Lj);var Zw=kj(require("node:os")),eN=kj(require("node:process"));function swe(){return"User-Agent"}o(swe,"getHeaderName");async function owe(t){if(eN.default&&eN.default.versions){let e=`${Zw.default.type()} ${Zw.default.release()}; ${Zw.default.arch()}`,r=eN.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(owe,"setPlatformSpecificData")});var Of=g((sWe,Hj)=>{var tN=Object.defineProperty,awe=Object.getOwnPropertyDescriptor,cwe=Object.getOwnPropertyNames,lwe=Object.prototype.hasOwnProperty,Awe=o((t,e)=>{for(var r in e)tN(t,r,{get:e[r],enumerable:!0})},"__export"),uwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of cwe(e))!lwe.call(t,i)&&i!==r&&tN(t,i,{get:()=>e[i],enumerable:!(n=awe(e,i))||n.enumerable});return t},"__copyProps"),dwe=o(t=>uwe(tN({},"__esModule",{value:!0}),t),"__toCommonJS"),qj={};Awe(qj,{DEFAULT_RETRY_POLICY_COUNT:()=>hwe,SDK_VERSION:()=>pwe});Hj.exports=dwe(qj);var pwe="1.22.3",hwe=3});var nN=g((aWe,Gj)=>{var rN=Object.defineProperty,fwe=Object.getOwnPropertyDescriptor,mwe=Object.getOwnPropertyNames,gwe=Object.prototype.hasOwnProperty,ywe=o((t,e)=>{for(var r in e)rN(t,r,{get:e[r],enumerable:!0})},"__export"),Cwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of mwe(e))!gwe.call(t,i)&&i!==r&&rN(t,i,{get:()=>e[i],enumerable:!(n=fwe(e,i))||n.enumerable});return t},"__copyProps"),Ewe=o(t=>Cwe(rN({},"__esModule",{value:!0}),t),"__toCommonJS"),zj={};ywe(zj,{getUserAgentHeaderName:()=>bwe,getUserAgentValue:()=>Qwe});Gj.exports=Ewe(zj);var jj=Fj(),Bwe=Of();function Iwe(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}o(Iwe,"getUserAgentString");function bwe(){return(0,jj.getHeaderName)()}o(bwe,"getUserAgentHeaderName");async function Qwe(t){let e=new Map;e.set("core-rest-pipeline",Bwe.SDK_VERSION),await(0,jj.setPlatformSpecificData)(e);let r=Iwe(e);return t?`${t} ${r}`:r}o(Qwe,"getUserAgentValue")});var sN=g((lWe,$j)=>{var iN=Object.defineProperty,wwe=Object.getOwnPropertyDescriptor,Nwe=Object.getOwnPropertyNames,xwe=Object.prototype.hasOwnProperty,Swe=o((t,e)=>{for(var r in e)iN(t,r,{get:e[r],enumerable:!0})},"__export"),Rwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Nwe(e))!xwe.call(t,i)&&i!==r&&iN(t,i,{get:()=>e[i],enumerable:!(n=wwe(e,i))||n.enumerable});return t},"__copyProps"),_we=o(t=>Rwe(iN({},"__esModule",{value:!0}),t),"__toCommonJS"),Jj={};Swe(Jj,{userAgentPolicy:()=>vwe,userAgentPolicyName:()=>Wj});$j.exports=_we(Jj);var Vj=nN(),Yj=(0,Vj.getUserAgentHeaderName)(),Wj="userAgentPolicy";function vwe(t={}){let e=(0,Vj.getUserAgentValue)(t.userAgentPrefix);return{name:Wj,async sendRequest(r,n){return r.headers.has(Yj)||r.headers.set(Yj,await e),n(r)}}}o(vwe,"userAgentPolicy")});var QG={};Pd(QG,{__addDisposableResource:()=>BG,__assign:()=>Mf,__asyncDelegator:()=>pG,__asyncGenerator:()=>dG,__asyncValues:()=>hG,__await:()=>Vc,__awaiter:()=>oG,__classPrivateFieldGet:()=>yG,__classPrivateFieldIn:()=>EG,__classPrivateFieldSet:()=>CG,__createBinding:()=>Lf,__decorate:()=>Zj,__disposeResources:()=>IG,__esDecorate:()=>tG,__exportStar:()=>cG,__extends:()=>Kj,__generator:()=>aG,__importDefault:()=>gG,__importStar:()=>mG,__makeTemplateObject:()=>fG,__metadata:()=>sG,__param:()=>eG,__propKey:()=>nG,__read:()=>cN,__rest:()=>Xj,__rewriteRelativeImportExtension:()=>bG,__runInitializers:()=>rG,__setFunctionName:()=>iG,__spread:()=>lG,__spreadArray:()=>uG,__spreadArrays:()=>AG,__values:()=>kf,default:()=>Twe});function Kj(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 Xj(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 Zj(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 eG(t,e){return function(r,n){e(r,n,t)}}function tG(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,m=r.length-1;m>=0;m--){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[m])(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 rG(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 nG(t){return typeof t=="symbol"?t:"".concat(t)}function iG(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 sG(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function oG(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 aG(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 cG(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Lf(e,t,r)}function kf(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 cN(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 lG(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(cN(arguments[e]));return t}function AG(){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 uG(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 Vc(t){return this instanceof Vc?(this.v=t,this):new Vc(t)}function dG(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(m){return function(C){return Promise.resolve(C).then(m,d)}}function c(m,C){n[m]&&(i[m]=function(Q){return new Promise(function(S,w){s.push([m,Q,S,w])>1||l(m,Q)})},C&&(i[m]=C(i[m])))}function l(m,C){try{A(n[m](C))}catch(Q){f(s[0][3],Q)}}function A(m){m.value instanceof Vc?Promise.resolve(m.value.v).then(u,d):f(s[0][2],m)}function u(m){l("next",m)}function d(m){l("throw",m)}function f(m,C){m(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function pG(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:Vc(t[i](a)),done:!1}:s?s(a):a}:s}}function hG(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 kf=="function"?kf(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 fG(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function mG(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=aN(t),n=0;n<r.length;n++)r[n]!=="default"&&Lf(e,t,r[n]);return Pwe(e,t),e}function gG(t){return t&&t.__esModule?t:{default:t}}function yG(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 CG(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 EG(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 BG(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 IG(t){function e(s){t.error=t.hasError?new Dwe(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 bG(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,Mf,Lf,Pwe,aN,Dwe,Twe,wG=vd(()=>{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(Kj,"__extends");Mf=o(function(){return Mf=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"),Mf.apply(this,arguments)},"__assign");o(Xj,"__rest");o(Zj,"__decorate");o(eG,"__param");o(tG,"__esDecorate");o(rG,"__runInitializers");o(nG,"__propKey");o(iG,"__setFunctionName");o(sG,"__metadata");o(oG,"__awaiter");o(aG,"__generator");Lf=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(cG,"__exportStar");o(kf,"__values");o(cN,"__read");o(lG,"__spread");o(AG,"__spreadArrays");o(uG,"__spreadArray");o(Vc,"__await");o(dG,"__asyncGenerator");o(pG,"__asyncDelegator");o(hG,"__asyncValues");o(fG,"__makeTemplateObject");Pwe=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},aN=o(function(t){return aN=Object.getOwnPropertyNames||function(e){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[r.length]=n);return r},aN(t)},"ownKeys");o(mG,"__importStar");o(gG,"__importDefault");o(yG,"__classPrivateFieldGet");o(CG,"__classPrivateFieldSet");o(EG,"__classPrivateFieldIn");o(BG,"__addDisposableResource");Dwe=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(IG,"__disposeResources");o(bG,"__rewriteRelativeImportExtension");Twe={__extends:Kj,__assign:Mf,__rest:Xj,__decorate:Zj,__param:eG,__esDecorate:tG,__runInitializers:rG,__propKey:nG,__setFunctionName:iG,__metadata:sG,__awaiter:oG,__generator:aG,__createBinding:Lf,__exportStar:cG,__values:kf,__read:cN,__spread:lG,__spreadArrays:AG,__spreadArray:uG,__await:Vc,__asyncGenerator:dG,__asyncDelegator:pG,__asyncValues:hG,__makeTemplateObject:fG,__importStar:mG,__importDefault:gG,__classPrivateFieldGet:yG,__classPrivateFieldSet:CG,__classPrivateFieldIn:EG,__addDisposableResource:BG,__disposeResources:IG,__rewriteRelativeImportExtension:bG}});var RG=g((dWe,SG)=>{var lN=Object.defineProperty,Owe=Object.getOwnPropertyDescriptor,Mwe=Object.getOwnPropertyNames,kwe=Object.prototype.hasOwnProperty,Lwe=o((t,e)=>{for(var r in e)lN(t,r,{get:e[r],enumerable:!0})},"__export"),Uwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Mwe(e))!kwe.call(t,i)&&i!==r&&lN(t,i,{get:()=>e[i],enumerable:!(n=Owe(e,i))||n.enumerable});return t},"__copyProps"),Fwe=o(t=>Uwe(lN({},"__esModule",{value:!0}),t),"__toCommonJS"),NG={};Lwe(NG,{computeSha256Hash:()=>Hwe,computeSha256Hmac:()=>qwe});SG.exports=Fwe(NG);var xG=require("node:crypto");async function qwe(t,e,r){let n=Buffer.from(t,"base64");return(0,xG.createHmac)("sha256",n).update(e).digest(r)}o(qwe,"computeSha256Hmac");async function Hwe(t,e){return(0,xG.createHash)("sha256").update(t).digest(e)}o(Hwe,"computeSha256Hash")});var Pu=g((hWe,DG)=>{var AN=Object.defineProperty,zwe=Object.getOwnPropertyDescriptor,jwe=Object.getOwnPropertyNames,Gwe=Object.prototype.hasOwnProperty,Ywe=o((t,e)=>{for(var r in e)AN(t,r,{get:e[r],enumerable:!0})},"__export"),Jwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of jwe(e))!Gwe.call(t,i)&&i!==r&&AN(t,i,{get:()=>e[i],enumerable:!(n=zwe(e,i))||n.enumerable});return t},"__copyProps"),Vwe=o(t=>Jwe(AN({},"__esModule",{value:!0}),t),"__toCommonJS"),PG={};Ywe(PG,{Sanitizer:()=>eNe.Sanitizer,calculateRetryDelay:()=>Wwe.calculateRetryDelay,computeSha256Hash:()=>_G.computeSha256Hash,computeSha256Hmac:()=>_G.computeSha256Hmac,getRandomIntegerInclusive:()=>$we.getRandomIntegerInclusive,isBrowser:()=>ta.isBrowser,isBun:()=>ta.isBun,isDeno:()=>ta.isDeno,isError:()=>Xwe.isError,isNodeLike:()=>ta.isNodeLike,isNodeRuntime:()=>ta.isNodeRuntime,isObject:()=>Kwe.isObject,isReactNative:()=>ta.isReactNative,isWebWorker:()=>ta.isWebWorker,randomUUID:()=>Zwe.randomUUID,stringToUint8Array:()=>vG.stringToUint8Array,uint8ArrayToString:()=>vG.uint8ArrayToString});DG.exports=Vwe(PG);var Wwe=jQ(),$we=HQ(),Kwe=hf(),Xwe=fQ(),_G=RG(),Zwe=pf(),ta=xu(),vG=Ko(),eNe=Qu()});var TG=g(uN=>{"use strict";Object.defineProperty(uN,"__esModule",{value:!0});uN.cancelablePromiseRace=tNe;async function tNe(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(tNe,"cancelablePromiseRace")});var OG=g(Uf=>{"use strict";Object.defineProperty(Uf,"__esModule",{value:!0});Uf.AbortError=void 0;var dN=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};Uf.AbortError=dN});var MG=g(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});Ff.AbortError=void 0;var rNe=OG();Object.defineProperty(Ff,"AbortError",{enumerable:!0,get:function(){return rNe.AbortError}})});var hN=g(pN=>{"use strict";Object.defineProperty(pN,"__esModule",{value:!0});pN.createAbortablePromise=iNe;var nNe=MG();function iNe(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new nNe.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(iNe,"createAbortablePromise")});var kG=g(qf=>{"use strict";Object.defineProperty(qf,"__esModule",{value:!0});qf.delay=cNe;qf.calculateRetryDelay=lNe;var sNe=hN(),oNe=Pu(),aNe="The delay was aborted.";function cNe(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return(0,sNe.createAbortablePromise)(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:i??aNe})}o(cNe,"delay");function lNe(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,oNe.getRandomIntegerInclusive)(0,n/2)}}o(lNe,"calculateRetryDelay")});var LG=g(fN=>{"use strict";Object.defineProperty(fN,"__esModule",{value:!0});fN.getErrorMessage=uNe;var ANe=Pu();function uNe(t){if((0,ANe.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(uNe,"getErrorMessage")});var FG=g(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});Du.isDefined=mN;Du.isObjectWithProperties=dNe;Du.objectHasProperty=UG;function mN(t){return typeof t<"u"&&t!==null}o(mN,"isDefined");function dNe(t,e){if(!mN(t)||typeof t!="object")return!1;for(let r of e)if(!UG(t,r))return!1;return!0}o(dNe,"isObjectWithProperties");function UG(t,e){return mN(t)&&typeof t=="object"&&e in t}o(UG,"objectHasProperty")});var pt=g(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=yNe;ge.computeSha256Hash=CNe;ge.computeSha256Hmac=ENe;ge.getRandomIntegerInclusive=BNe;ge.isError=INe;ge.isObject=bNe;ge.randomUUID=QNe;ge.uint8ArrayToString=wNe;ge.stringToUint8Array=NNe;var pNe=(wG(),Zt(QG)),Xt=pNe.__importStar(Pu()),hNe=TG();Object.defineProperty(ge,"cancelablePromiseRace",{enumerable:!0,get:function(){return hNe.cancelablePromiseRace}});var fNe=hN();Object.defineProperty(ge,"createAbortablePromise",{enumerable:!0,get:function(){return fNe.createAbortablePromise}});var mNe=kG();Object.defineProperty(ge,"delay",{enumerable:!0,get:function(){return mNe.delay}});var gNe=LG();Object.defineProperty(ge,"getErrorMessage",{enumerable:!0,get:function(){return gNe.getErrorMessage}});var gN=FG();Object.defineProperty(ge,"isDefined",{enumerable:!0,get:function(){return gN.isDefined}});Object.defineProperty(ge,"isObjectWithProperties",{enumerable:!0,get:function(){return gN.isObjectWithProperties}});Object.defineProperty(ge,"objectHasProperty",{enumerable:!0,get:function(){return gN.objectHasProperty}});function yNe(t,e){return Xt.calculateRetryDelay(t,e)}o(yNe,"calculateRetryDelay");function CNe(t,e){return Xt.computeSha256Hash(t,e)}o(CNe,"computeSha256Hash");function ENe(t,e,r){return Xt.computeSha256Hmac(t,e,r)}o(ENe,"computeSha256Hmac");function BNe(t,e){return Xt.getRandomIntegerInclusive(t,e)}o(BNe,"getRandomIntegerInclusive");function INe(t){return Xt.isError(t)}o(INe,"isError");function bNe(t){return Xt.isObject(t)}o(bNe,"isObject");function QNe(){return Xt.randomUUID()}o(QNe,"randomUUID");ge.isBrowser=Xt.isBrowser;ge.isBun=Xt.isBun;ge.isDeno=Xt.isDeno;ge.isNode=Xt.isNodeLike;ge.isNodeLike=Xt.isNodeLike;ge.isNodeRuntime=Xt.isNodeRuntime;ge.isReactNative=Xt.isReactNative;ge.isWebWorker=Xt.isWebWorker;function wNe(t,e){return Xt.uint8ArrayToString(t,e)}o(wNe,"uint8ArrayToString");function NNe(t,e){return Xt.stringToUint8Array(t,e)}o(NNe,"stringToUint8Array")});var CN=g((vWe,GG)=>{var yN=Object.defineProperty,xNe=Object.getOwnPropertyDescriptor,SNe=Object.getOwnPropertyNames,RNe=Object.prototype.hasOwnProperty,_Ne=o((t,e)=>{for(var r in e)yN(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&&yN(t,i,{get:()=>e[i],enumerable:!(n=xNe(e,i))||n.enumerable});return t},"__copyProps"),PNe=o(t=>vNe(yN({},"__esModule",{value:!0}),t),"__toCommonJS"),HG={};_Ne(HG,{createFile:()=>kNe,createFileFromStream:()=>MNe,getRawContent:()=>ONe,hasRawContent:()=>jG});GG.exports=PNe(HG);var DNe=pt();function TNe(t){return!!(t&&typeof t.pipe=="function")}o(TNe,"isNodeReadableStream");var zG={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 jG(t){return typeof t[Hf]=="function"}o(jG,"hasRawContent");function ONe(t){return jG(t)?t[Hf]():t}o(ONe,"getRawContent");function MNe(t,e,r={}){return{...zG,type:r.type??"",lastModified:r.lastModified??new Date().getTime(),webkitRelativePath:r.webkitRelativePath??"",size:r.size??-1,name:e,stream:()=>{let n=t();if(TNe(n))throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.");return n},[Hf]:t}}o(MNe,"createFileFromStream");function kNe(t,e,r={}){return DNe.isNodeLike?{...zG,type:r.type??"",lastModified:r.lastModified??new Date().getTime(),webkitRelativePath:r.webkitRelativePath??"",size:t.byteLength,name:e,arrayBuffer:async()=>t.buffer,stream:()=>new Blob([qG(t)]).stream(),[Hf]:()=>t}:new File([qG(t)],e,r)}o(kNe,"createFile");function qG(t){return"resize"in t.buffer?t:t.map(e=>e)}o(qG,"toArrayBuffer")});var BN=g((DWe,$G)=>{var EN=Object.defineProperty,LNe=Object.getOwnPropertyDescriptor,UNe=Object.getOwnPropertyNames,FNe=Object.prototype.hasOwnProperty,qNe=o((t,e)=>{for(var r in e)EN(t,r,{get:e[r],enumerable:!0})},"__export"),HNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of UNe(e))!FNe.call(t,i)&&i!==r&&EN(t,i,{get:()=>e[i],enumerable:!(n=LNe(e,i))||n.enumerable});return t},"__copyProps"),zNe=o(t=>HNe(EN({},"__esModule",{value:!0}),t),"__toCommonJS"),JG={};qNe(JG,{multipartPolicy:()=>jNe,multipartPolicyName:()=>WG});$G.exports=zNe(JG);var VG=vr(),YG=CN(),WG=VG.multipartPolicyName;function jNe(){let t=(0,VG.multipartPolicy)();return{name:WG,sendRequest:async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)(0,YG.hasRawContent)(n.body)&&(n.body=(0,YG.getRawContent)(n.body));return t.sendRequest(e,r)}}}o(jNe,"multipartPolicy")});var bN=g((OWe,ZG)=>{var IN=Object.defineProperty,GNe=Object.getOwnPropertyDescriptor,YNe=Object.getOwnPropertyNames,JNe=Object.prototype.hasOwnProperty,VNe=o((t,e)=>{for(var r in e)IN(t,r,{get:e[r],enumerable:!0})},"__export"),WNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of YNe(e))!JNe.call(t,i)&&i!==r&&IN(t,i,{get:()=>e[i],enumerable:!(n=GNe(e,i))||n.enumerable});return t},"__copyProps"),$Ne=o(t=>WNe(IN({},"__esModule",{value:!0}),t),"__toCommonJS"),KG={};VNe(KG,{decompressResponsePolicy:()=>XNe,decompressResponsePolicyName:()=>KNe});ZG.exports=$Ne(KG);var XG=vr(),KNe=XG.decompressResponsePolicyName;function XNe(){return(0,XG.decompressResponsePolicy)()}o(XNe,"decompressResponsePolicy")});var wN=g((kWe,rY)=>{var QN=Object.defineProperty,ZNe=Object.getOwnPropertyDescriptor,e0e=Object.getOwnPropertyNames,t0e=Object.prototype.hasOwnProperty,r0e=o((t,e)=>{for(var r in e)QN(t,r,{get:e[r],enumerable:!0})},"__export"),n0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of e0e(e))!t0e.call(t,i)&&i!==r&&QN(t,i,{get:()=>e[i],enumerable:!(n=ZNe(e,i))||n.enumerable});return t},"__copyProps"),i0e=o(t=>n0e(QN({},"__esModule",{value:!0}),t),"__toCommonJS"),eY={};r0e(eY,{defaultRetryPolicy:()=>o0e,defaultRetryPolicyName:()=>s0e});rY.exports=i0e(eY);var tY=vr(),s0e=tY.defaultRetryPolicyName;function o0e(t={}){return(0,tY.defaultRetryPolicy)(t)}o(o0e,"defaultRetryPolicy")});var xN=g((UWe,sY)=>{var NN=Object.defineProperty,a0e=Object.getOwnPropertyDescriptor,c0e=Object.getOwnPropertyNames,l0e=Object.prototype.hasOwnProperty,A0e=o((t,e)=>{for(var r in e)NN(t,r,{get:e[r],enumerable:!0})},"__export"),u0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of c0e(e))!l0e.call(t,i)&&i!==r&&NN(t,i,{get:()=>e[i],enumerable:!(n=a0e(e,i))||n.enumerable});return t},"__copyProps"),d0e=o(t=>u0e(NN({},"__esModule",{value:!0}),t),"__toCommonJS"),nY={};A0e(nY,{formDataPolicy:()=>h0e,formDataPolicyName:()=>p0e});sY.exports=d0e(nY);var iY=vr(),p0e=iY.formDataPolicyName;function h0e(){return(0,iY.formDataPolicy)()}o(h0e,"formDataPolicy")});var _N=g((qWe,aY)=>{var SN=Object.defineProperty,f0e=Object.getOwnPropertyDescriptor,m0e=Object.getOwnPropertyNames,g0e=Object.prototype.hasOwnProperty,y0e=o((t,e)=>{for(var r in e)SN(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 m0e(e))!g0e.call(t,i)&&i!==r&&SN(t,i,{get:()=>e[i],enumerable:!(n=f0e(e,i))||n.enumerable});return t},"__copyProps"),E0e=o(t=>C0e(SN({},"__esModule",{value:!0}),t),"__toCommonJS"),oY={};y0e(oY,{getDefaultProxySettings:()=>I0e,proxyPolicy:()=>b0e,proxyPolicyName:()=>B0e});aY.exports=E0e(oY);var RN=vr(),B0e=RN.proxyPolicyName;function I0e(t){return(0,RN.getDefaultProxySettings)(t)}o(I0e,"getDefaultProxySettings");function b0e(t,e){return(0,RN.proxyPolicy)(t,e)}o(b0e,"proxyPolicy")});var PN=g((zWe,AY)=>{var vN=Object.defineProperty,Q0e=Object.getOwnPropertyDescriptor,w0e=Object.getOwnPropertyNames,N0e=Object.prototype.hasOwnProperty,x0e=o((t,e)=>{for(var r in e)vN(t,r,{get:e[r],enumerable:!0})},"__export"),S0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of w0e(e))!N0e.call(t,i)&&i!==r&&vN(t,i,{get:()=>e[i],enumerable:!(n=Q0e(e,i))||n.enumerable});return t},"__copyProps"),R0e=o(t=>S0e(vN({},"__esModule",{value:!0}),t),"__toCommonJS"),cY={};x0e(cY,{setClientRequestIdPolicy:()=>_0e,setClientRequestIdPolicyName:()=>lY});AY.exports=R0e(cY);var lY="setClientRequestIdPolicy";function _0e(t="x-ms-client-request-id"){return{name:lY,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(_0e,"setClientRequestIdPolicy")});var TN=g((GWe,pY)=>{var DN=Object.defineProperty,v0e=Object.getOwnPropertyDescriptor,P0e=Object.getOwnPropertyNames,D0e=Object.prototype.hasOwnProperty,T0e=o((t,e)=>{for(var r in e)DN(t,r,{get:e[r],enumerable:!0})},"__export"),O0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of P0e(e))!D0e.call(t,i)&&i!==r&&DN(t,i,{get:()=>e[i],enumerable:!(n=v0e(e,i))||n.enumerable});return t},"__copyProps"),M0e=o(t=>O0e(DN({},"__esModule",{value:!0}),t),"__toCommonJS"),uY={};T0e(uY,{agentPolicy:()=>L0e,agentPolicyName:()=>k0e});pY.exports=M0e(uY);var dY=vr(),k0e=dY.agentPolicyName;function L0e(t){return(0,dY.agentPolicy)(t)}o(L0e,"agentPolicy")});var MN=g((JWe,mY)=>{var ON=Object.defineProperty,U0e=Object.getOwnPropertyDescriptor,F0e=Object.getOwnPropertyNames,q0e=Object.prototype.hasOwnProperty,H0e=o((t,e)=>{for(var r in e)ON(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 F0e(e))!q0e.call(t,i)&&i!==r&&ON(t,i,{get:()=>e[i],enumerable:!(n=U0e(e,i))||n.enumerable});return t},"__copyProps"),j0e=o(t=>z0e(ON({},"__esModule",{value:!0}),t),"__toCommonJS"),hY={};H0e(hY,{tlsPolicy:()=>Y0e,tlsPolicyName:()=>G0e});mY.exports=j0e(hY);var fY=vr(),G0e=fY.tlsPolicyName;function Y0e(t){return(0,fY.tlsPolicy)(t)}o(Y0e,"tlsPolicy")});var kN=g(ps=>{"use strict";Object.defineProperty(ps,"__esModule",{value:!0});ps.TracingContextImpl=ps.knownContextKeys=void 0;ps.createTracingContext=J0e;ps.knownContextKeys={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function J0e(t={}){let e=new zf(t.parentContext);return t.span&&(e=e.setValue(ps.knownContextKeys.span,t.span)),t.namespace&&(e=e.setValue(ps.knownContextKeys.namespace,t.namespace)),e}o(J0e,"createTracingContext");var zf=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}};ps.TracingContextImpl=zf});var gY=g(jf=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});jf.state=void 0;jf.state={instrumenterImplementation:void 0}});var LN=g(Wc=>{"use strict";Object.defineProperty(Wc,"__esModule",{value:!0});Wc.createDefaultTracingSpan=yY;Wc.createDefaultInstrumenter=CY;Wc.useInstrumenter=W0e;Wc.getInstrumenter=$0e;var V0e=kN(),Gf=gY();function yY(){return{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}o(yY,"createDefaultTracingSpan");function CY(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(t,e)=>({span:yY(),tracingContext:(0,V0e.createTracingContext)({parentContext:e.tracingContext})}),withContext(t,e,...r){return e(...r)}}}o(CY,"createDefaultInstrumenter");function W0e(t){Gf.state.instrumenterImplementation=t}o(W0e,"useInstrumenter");function $0e(){return Gf.state.instrumenterImplementation||(Gf.state.instrumenterImplementation=CY()),Gf.state.instrumenterImplementation}o($0e,"getInstrumenter")});var EY=g(FN=>{"use strict";Object.defineProperty(FN,"__esModule",{value:!0});FN.createTracingClient=K0e;var Yf=LN(),UN=kN();function K0e(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}),m=f.tracingContext,C=f.span;m.getValue(UN.knownContextKeys.namespace)||(m=m.setValue(UN.knownContextKeys.namespace,e)),C.setAttribute("az.namespace",m.getValue(UN.knownContextKeys.namespace));let Q=Object.assign({},u,{tracingOptions:{...u?.tracingOptions,tracingContext:m}});return{span:C,updatedOptions:Q}}o(i,"startSpan");async function s(A,u,d,f){let{span:m,updatedOptions:C}=i(A,u,f);try{let Q=await a(C.tracingOptions.tracingContext,()=>Promise.resolve(d(C,m)));return m.setStatus({status:"success"}),Q}catch(Q){throw m.setStatus({status:"error",error:Q}),Q}finally{m.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(K0e,"createTracingClient")});var qN=g($c=>{"use strict";Object.defineProperty($c,"__esModule",{value:!0});$c.createTracingClient=$c.useInstrumenter=void 0;var X0e=LN();Object.defineProperty($c,"useInstrumenter",{enumerable:!0,get:function(){return X0e.useInstrumenter}});var Z0e=EY();Object.defineProperty($c,"createTracingClient",{enumerable:!0,get:function(){return Z0e.createTracingClient}})});var Jf=g((n$e,bY)=>{var HN=Object.defineProperty,exe=Object.getOwnPropertyDescriptor,txe=Object.getOwnPropertyNames,rxe=Object.prototype.hasOwnProperty,nxe=o((t,e)=>{for(var r in e)HN(t,r,{get:e[r],enumerable:!0})},"__export"),ixe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of txe(e))!rxe.call(t,i)&&i!==r&&HN(t,i,{get:()=>e[i],enumerable:!(n=exe(e,i))||n.enumerable});return t},"__copyProps"),sxe=o(t=>ixe(HN({},"__esModule",{value:!0}),t),"__toCommonJS"),BY={};nxe(BY,{RestError:()=>oxe,isRestError:()=>axe});bY.exports=sxe(BY);var IY=Yc(),oxe=IY.RestError;function axe(t){return(0,IY.isRestError)(t)}o(axe,"isRestError")});var jN=g((s$e,NY)=>{var zN=Object.defineProperty,cxe=Object.getOwnPropertyDescriptor,lxe=Object.getOwnPropertyNames,Axe=Object.prototype.hasOwnProperty,uxe=o((t,e)=>{for(var r in e)zN(t,r,{get:e[r],enumerable:!0})},"__export"),dxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of lxe(e))!Axe.call(t,i)&&i!==r&&zN(t,i,{get:()=>e[i],enumerable:!(n=cxe(e,i))||n.enumerable});return t},"__copyProps"),pxe=o(t=>dxe(zN({},"__esModule",{value:!0}),t),"__toCommonJS"),QY={};uxe(QY,{tracingPolicy:()=>Cxe,tracingPolicyName:()=>wY});NY.exports=pxe(QY);var hxe=qN(),fxe=Of(),mxe=nN(),Vf=vu(),Tu=pt(),gxe=Jf(),yxe=Pu(),wY="tracingPolicy";function Cxe(t={}){let e=(0,mxe.getUserAgentValue)(t.userAgentPrefix),r=new yxe.Sanitizer({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=Exe();return{name:wY,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}=Bxe(n,i,c)??{};if(!l||!A)return s(i);try{let u=await n.withContext(A,s,i);return bxe(l,u),u}catch(u){throw Ixe(l,u),u}}}}o(Cxe,"tracingPolicy");function Exe(){try{return(0,hxe.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:fxe.SDK_VERSION})}catch(t){Vf.logger.warning(`Error when creating the TracingClient: ${(0,Tu.getErrorMessage)(t)}`);return}}o(Exe,"tryCreateTracingClient");function Bxe(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){Vf.logger.warning(`Skipping creating a tracing span due to an error: ${(0,Tu.getErrorMessage)(n)}`);return}}o(Bxe,"tryCreateSpan");function Ixe(t,e){try{t.setStatus({status:"error",error:(0,Tu.isError)(e)?e:void 0}),(0,gxe.isRestError)(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){Vf.logger.warning(`Skipping tracing span processing due to an error: ${(0,Tu.getErrorMessage)(r)}`)}}o(Ixe,"tryProcessError");function bxe(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){Vf.logger.warning(`Skipping tracing span processing due to an error: ${(0,Tu.getErrorMessage)(r)}`)}}o(bxe,"tryProcessResponse")});var YN=g((a$e,SY)=>{var GN=Object.defineProperty,Qxe=Object.getOwnPropertyDescriptor,wxe=Object.getOwnPropertyNames,Nxe=Object.prototype.hasOwnProperty,xxe=o((t,e)=>{for(var r in e)GN(t,r,{get:e[r],enumerable:!0})},"__export"),Sxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of wxe(e))!Nxe.call(t,i)&&i!==r&&GN(t,i,{get:()=>e[i],enumerable:!(n=Qxe(e,i))||n.enumerable});return t},"__copyProps"),Rxe=o(t=>Sxe(GN({},"__esModule",{value:!0}),t),"__toCommonJS"),xY={};xxe(xY,{wrapAbortSignalLike:()=>_xe});SY.exports=Rxe(xY);function _xe(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(_xe,"wrapAbortSignalLike")});var PY=g((l$e,vY)=>{var JN=Object.defineProperty,vxe=Object.getOwnPropertyDescriptor,Pxe=Object.getOwnPropertyNames,Dxe=Object.prototype.hasOwnProperty,Txe=o((t,e)=>{for(var r in e)JN(t,r,{get:e[r],enumerable:!0})},"__export"),Oxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Pxe(e))!Dxe.call(t,i)&&i!==r&&JN(t,i,{get:()=>e[i],enumerable:!(n=vxe(e,i))||n.enumerable});return t},"__copyProps"),Mxe=o(t=>Oxe(JN({},"__esModule",{value:!0}),t),"__toCommonJS"),RY={};Txe(RY,{wrapAbortSignalLikePolicy:()=>Lxe,wrapAbortSignalLikePolicyName:()=>_Y});vY.exports=Mxe(RY);var kxe=YN(),_Y="wrapAbortSignalLikePolicy";function Lxe(){return{name:_Y,sendRequest:async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=(0,kxe.wrapAbortSignalLike)(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}}}}o(Lxe,"wrapAbortSignalLikePolicy")});var kY=g((u$e,MY)=>{var VN=Object.defineProperty,Uxe=Object.getOwnPropertyDescriptor,Fxe=Object.getOwnPropertyNames,qxe=Object.prototype.hasOwnProperty,Hxe=o((t,e)=>{for(var r in e)VN(t,r,{get:e[r],enumerable:!0})},"__export"),zxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Fxe(e))!qxe.call(t,i)&&i!==r&&VN(t,i,{get:()=>e[i],enumerable:!(n=Uxe(e,i))||n.enumerable});return t},"__copyProps"),jxe=o(t=>zxe(VN({},"__esModule",{value:!0}),t),"__toCommonJS"),OY={};Hxe(OY,{createPipelineFromOptions:()=>iSe});MY.exports=jxe(OY);var Gxe=$w(),Yxe=qw(),Jxe=Xw(),Vxe=sN(),DY=BN(),Wxe=bN(),$xe=wN(),Kxe=xN(),TY=pt(),Xxe=_N(),Zxe=PN(),eSe=TN(),tSe=MN(),rSe=jN(),nSe=PY();function iSe(t){let e=(0,Yxe.createEmptyPipeline)();return TY.isNodeLike&&(t.agent&&e.addPolicy((0,eSe.agentPolicy)(t.agent)),t.tlsOptions&&e.addPolicy((0,tSe.tlsPolicy)(t.tlsOptions)),e.addPolicy((0,Xxe.proxyPolicy)(t.proxyOptions)),e.addPolicy((0,Wxe.decompressResponsePolicy)())),e.addPolicy((0,nSe.wrapAbortSignalLikePolicy)()),e.addPolicy((0,Kxe.formDataPolicy)(),{beforePolicies:[DY.multipartPolicyName]}),e.addPolicy((0,Vxe.userAgentPolicy)(t.userAgentOptions)),e.addPolicy((0,Zxe.setClientRequestIdPolicy)(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy((0,DY.multipartPolicy)(),{afterPhase:"Deserialize"}),e.addPolicy((0,$xe.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),e.addPolicy((0,rSe.tracingPolicy)({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),TY.isNodeLike&&e.addPolicy((0,Jxe.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy((0,Gxe.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),e}o(iSe,"createPipelineFromOptions")});var FY=g((p$e,UY)=>{var WN=Object.defineProperty,sSe=Object.getOwnPropertyDescriptor,oSe=Object.getOwnPropertyNames,aSe=Object.prototype.hasOwnProperty,cSe=o((t,e)=>{for(var r in e)WN(t,r,{get:e[r],enumerable:!0})},"__export"),lSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of oSe(e))!aSe.call(t,i)&&i!==r&&WN(t,i,{get:()=>e[i],enumerable:!(n=sSe(e,i))||n.enumerable});return t},"__copyProps"),ASe=o(t=>lSe(WN({},"__esModule",{value:!0}),t),"__toCommonJS"),LY={};cSe(LY,{createDefaultHttpClient:()=>pSe});UY.exports=ASe(LY);var uSe=Yc(),dSe=YN();function pSe(){let t=(0,uSe.createDefaultHttpClient)();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?(0,dSe.wrapAbortSignalLike)(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(pSe,"createDefaultHttpClient")});var zY=g((f$e,HY)=>{var $N=Object.defineProperty,hSe=Object.getOwnPropertyDescriptor,fSe=Object.getOwnPropertyNames,mSe=Object.prototype.hasOwnProperty,gSe=o((t,e)=>{for(var r in e)$N(t,r,{get:e[r],enumerable:!0})},"__export"),ySe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fSe(e))!mSe.call(t,i)&&i!==r&&$N(t,i,{get:()=>e[i],enumerable:!(n=hSe(e,i))||n.enumerable});return t},"__copyProps"),CSe=o(t=>ySe($N({},"__esModule",{value:!0}),t),"__toCommonJS"),qY={};gSe(qY,{createHttpHeaders:()=>BSe});HY.exports=CSe(qY);var ESe=Yc();function BSe(t){return(0,ESe.createHttpHeaders)(t)}o(BSe,"createHttpHeaders")});var YY=g((g$e,GY)=>{var KN=Object.defineProperty,ISe=Object.getOwnPropertyDescriptor,bSe=Object.getOwnPropertyNames,QSe=Object.prototype.hasOwnProperty,wSe=o((t,e)=>{for(var r in e)KN(t,r,{get:e[r],enumerable:!0})},"__export"),NSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of bSe(e))!QSe.call(t,i)&&i!==r&&KN(t,i,{get:()=>e[i],enumerable:!(n=ISe(e,i))||n.enumerable});return t},"__copyProps"),xSe=o(t=>NSe(KN({},"__esModule",{value:!0}),t),"__toCommonJS"),jY={};wSe(jY,{createPipelineRequest:()=>RSe});GY.exports=xSe(jY);var SSe=Yc();function RSe(t){return(0,SSe.createPipelineRequest)(t)}o(RSe,"createPipelineRequest")});var $Y=g((C$e,WY)=>{var XN=Object.defineProperty,_Se=Object.getOwnPropertyDescriptor,vSe=Object.getOwnPropertyNames,PSe=Object.prototype.hasOwnProperty,DSe=o((t,e)=>{for(var r in e)XN(t,r,{get:e[r],enumerable:!0})},"__export"),TSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vSe(e))!PSe.call(t,i)&&i!==r&&XN(t,i,{get:()=>e[i],enumerable:!(n=_Se(e,i))||n.enumerable});return t},"__copyProps"),OSe=o(t=>TSe(XN({},"__esModule",{value:!0}),t),"__toCommonJS"),JY={};DSe(JY,{exponentialRetryPolicy:()=>kSe,exponentialRetryPolicyName:()=>MSe});WY.exports=OSe(JY);var VY=vr(),MSe=VY.exponentialRetryPolicyName;function kSe(t={}){return(0,VY.exponentialRetryPolicy)(t)}o(kSe,"exponentialRetryPolicy")});var eJ=g((B$e,ZY)=>{var ZN=Object.defineProperty,LSe=Object.getOwnPropertyDescriptor,USe=Object.getOwnPropertyNames,FSe=Object.prototype.hasOwnProperty,qSe=o((t,e)=>{for(var r in e)ZN(t,r,{get:e[r],enumerable:!0})},"__export"),HSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of USe(e))!FSe.call(t,i)&&i!==r&&ZN(t,i,{get:()=>e[i],enumerable:!(n=LSe(e,i))||n.enumerable});return t},"__copyProps"),zSe=o(t=>HSe(ZN({},"__esModule",{value:!0}),t),"__toCommonJS"),KY={};qSe(KY,{systemErrorRetryPolicy:()=>GSe,systemErrorRetryPolicyName:()=>jSe});ZY.exports=zSe(KY);var XY=vr(),jSe=XY.systemErrorRetryPolicyName;function GSe(t={}){return(0,XY.systemErrorRetryPolicy)(t)}o(GSe,"systemErrorRetryPolicy")});var iJ=g((b$e,nJ)=>{var e0=Object.defineProperty,YSe=Object.getOwnPropertyDescriptor,JSe=Object.getOwnPropertyNames,VSe=Object.prototype.hasOwnProperty,WSe=o((t,e)=>{for(var r in e)e0(t,r,{get:e[r],enumerable:!0})},"__export"),$Se=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of JSe(e))!VSe.call(t,i)&&i!==r&&e0(t,i,{get:()=>e[i],enumerable:!(n=YSe(e,i))||n.enumerable});return t},"__copyProps"),KSe=o(t=>$Se(e0({},"__esModule",{value:!0}),t),"__toCommonJS"),tJ={};WSe(tJ,{throttlingRetryPolicy:()=>ZSe,throttlingRetryPolicyName:()=>XSe});nJ.exports=KSe(tJ);var rJ=vr(),XSe=rJ.throttlingRetryPolicyName;function ZSe(t={}){return(0,rJ.throttlingRetryPolicy)(t)}o(ZSe,"throttlingRetryPolicy")});var aJ=g((w$e,oJ)=>{var t0=Object.defineProperty,eRe=Object.getOwnPropertyDescriptor,tRe=Object.getOwnPropertyNames,rRe=Object.prototype.hasOwnProperty,nRe=o((t,e)=>{for(var r in e)t0(t,r,{get:e[r],enumerable:!0})},"__export"),iRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tRe(e))!rRe.call(t,i)&&i!==r&&t0(t,i,{get:()=>e[i],enumerable:!(n=eRe(e,i))||n.enumerable});return t},"__copyProps"),sRe=o(t=>iRe(t0({},"__esModule",{value:!0}),t),"__toCommonJS"),sJ={};nRe(sJ,{retryPolicy:()=>ARe});oJ.exports=sRe(sJ);var oRe=Jc(),aRe=Of(),cRe=vr(),lRe=(0,oRe.createClientLogger)("core-rest-pipeline retryPolicy");function ARe(t,e={maxRetries:aRe.DEFAULT_RETRY_POLICY_COUNT}){return(0,cRe.retryPolicy)(t,{logger:lRe,...e})}o(ARe,"retryPolicy")});var n0=g((x$e,AJ)=>{var r0=Object.defineProperty,uRe=Object.getOwnPropertyDescriptor,dRe=Object.getOwnPropertyNames,pRe=Object.prototype.hasOwnProperty,hRe=o((t,e)=>{for(var r in e)r0(t,r,{get:e[r],enumerable:!0})},"__export"),fRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dRe(e))!pRe.call(t,i)&&i!==r&&r0(t,i,{get:()=>e[i],enumerable:!(n=uRe(e,i))||n.enumerable});return t},"__copyProps"),mRe=o(t=>fRe(r0({},"__esModule",{value:!0}),t),"__toCommonJS"),cJ={};hRe(cJ,{DEFAULT_CYCLER_OPTIONS:()=>lJ,createTokenCycler:()=>CRe});AJ.exports=mRe(cJ);var gRe=pt(),lJ={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function yRe(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,gRe.delay)(e),i=await n();return i}o(yRe,"beginRefresh");function CRe(t,e){let r=null,n=null,i,s={...lJ,...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=yRe(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(CRe,"createTokenCycler")});var yJ=g((R$e,gJ)=>{var i0=Object.defineProperty,ERe=Object.getOwnPropertyDescriptor,BRe=Object.getOwnPropertyNames,IRe=Object.prototype.hasOwnProperty,bRe=o((t,e)=>{for(var r in e)i0(t,r,{get:e[r],enumerable:!0})},"__export"),QRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of BRe(e))!IRe.call(t,i)&&i!==r&&i0(t,i,{get:()=>e[i],enumerable:!(n=ERe(e,i))||n.enumerable});return t},"__copyProps"),wRe=o(t=>QRe(i0({},"__esModule",{value:!0}),t),"__toCommonJS"),hJ={};bRe(hJ,{bearerTokenAuthenticationPolicy:()=>_Re,bearerTokenAuthenticationPolicyName:()=>fJ,parseChallenges:()=>mJ});gJ.exports=wRe(hJ);var NRe=n0(),xRe=vu(),SRe=Jf(),fJ="bearerTokenAuthenticationPolicy";async function Wf(t,e){try{return[await e(t),void 0]}catch(r){if((0,SRe.isRestError)(r)&&r.response)return[r.response,r];throw r}}o(Wf,"trySendRequest");async function RRe(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(RRe,"defaultAuthorizeRequest");function uJ(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(uJ,"isChallengeResponse");async function dJ(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(dJ,"authorizeRequestOnCaeChallenge");function _Re(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,i=t.logger||xRe.logger,s={authorizeRequest:n?.authorizeRequest?.bind(n)??RRe,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?(0,NRe.createTokenCycler)(e):()=>Promise.resolve(null);return{name:fJ,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 Wf(c,l),uJ(A)){let f=pJ(A.headers.get("WWW-Authenticate"));if(f){let m;try{m=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 dJ({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:i},m),d&&([A,u]=await Wf(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 Wf(c,l)),uJ(A)&&(f=pJ(A.headers.get("WWW-Authenticate")),f))){let m;try{m=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 dJ({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:i},m),d&&([A,u]=await Wf(c,l))}}if(u)throw u;return A}}}o(_Re,"bearerTokenAuthenticationPolicy");function mJ(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(mJ,"parseChallenges");function pJ(t){return t?mJ(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(pJ,"getCaeChallengeClaims")});var IJ=g((v$e,BJ)=>{var s0=Object.defineProperty,vRe=Object.getOwnPropertyDescriptor,PRe=Object.getOwnPropertyNames,DRe=Object.prototype.hasOwnProperty,TRe=o((t,e)=>{for(var r in e)s0(t,r,{get:e[r],enumerable:!0})},"__export"),ORe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of PRe(e))!DRe.call(t,i)&&i!==r&&s0(t,i,{get:()=>e[i],enumerable:!(n=vRe(e,i))||n.enumerable});return t},"__copyProps"),MRe=o(t=>ORe(s0({},"__esModule",{value:!0}),t),"__toCommonJS"),CJ={};TRe(CJ,{ndJsonPolicy:()=>kRe,ndJsonPolicyName:()=>EJ});BJ.exports=MRe(CJ);var EJ="ndJsonPolicy";function kRe(){return{name:EJ,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(kRe,"ndJsonPolicy")});var NJ=g((D$e,wJ)=>{var a0=Object.defineProperty,LRe=Object.getOwnPropertyDescriptor,URe=Object.getOwnPropertyNames,FRe=Object.prototype.hasOwnProperty,qRe=o((t,e)=>{for(var r in e)a0(t,r,{get:e[r],enumerable:!0})},"__export"),HRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of URe(e))!FRe.call(t,i)&&i!==r&&a0(t,i,{get:()=>e[i],enumerable:!(n=LRe(e,i))||n.enumerable});return t},"__copyProps"),zRe=o(t=>HRe(a0({},"__esModule",{value:!0}),t),"__toCommonJS"),QJ={};qRe(QJ,{auxiliaryAuthenticationHeaderPolicy:()=>JRe,auxiliaryAuthenticationHeaderPolicyName:()=>o0});wJ.exports=zRe(QJ);var jRe=n0(),GRe=vu(),o0="auxiliaryAuthenticationHeaderPolicy",bJ="x-ms-authorization-auxiliary";async function YRe(t){let{scopes:e,getAccessToken:r,request:n}=t,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions};return(await r(e,i))?.token??""}o(YRe,"sendAuthorizeRequest");function JRe(t){let{credentials:e,scopes:r}=t,n=t.logger||GRe.logger,i=new WeakMap;return{name:o0,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(`${o0} 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,jRe.createTokenCycler)(A),i.set(A,u)),c.push(YRe({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. ${bJ} header will not be set.`),a(s)):(s.headers.set(bJ,l.map(A=>`Bearer ${A}`).join(", ")),a(s))}}}o(JRe,"auxiliaryAuthenticationHeaderPolicy")});var Ot=g((O$e,YJ)=>{var l0=Object.defineProperty,VRe=Object.getOwnPropertyDescriptor,WRe=Object.getOwnPropertyNames,$Re=Object.prototype.hasOwnProperty,KRe=o((t,e)=>{for(var r in e)l0(t,r,{get:e[r],enumerable:!0})},"__export"),XRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of WRe(e))!$Re.call(t,i)&&i!==r&&l0(t,i,{get:()=>e[i],enumerable:!(n=VRe(e,i))||n.enumerable});return t},"__copyProps"),ZRe=o(t=>XRe(l0({},"__esModule",{value:!0}),t),"__toCommonJS"),GJ={};KRe(GJ,{RestError:()=>xJ.RestError,agentPolicy:()=>zJ.agentPolicy,agentPolicyName:()=>zJ.agentPolicyName,auxiliaryAuthenticationHeaderPolicy:()=>HJ.auxiliaryAuthenticationHeaderPolicy,auxiliaryAuthenticationHeaderPolicyName:()=>HJ.auxiliaryAuthenticationHeaderPolicyName,bearerTokenAuthenticationPolicy:()=>FJ.bearerTokenAuthenticationPolicy,bearerTokenAuthenticationPolicyName:()=>FJ.bearerTokenAuthenticationPolicyName,createDefaultHttpClient:()=>r_e.createDefaultHttpClient,createEmptyPipeline:()=>e_e.createEmptyPipeline,createFile:()=>jJ.createFile,createFileFromStream:()=>jJ.createFileFromStream,createHttpHeaders:()=>n_e.createHttpHeaders,createPipelineFromOptions:()=>t_e.createPipelineFromOptions,createPipelineRequest:()=>i_e.createPipelineRequest,decompressResponsePolicy:()=>SJ.decompressResponsePolicy,decompressResponsePolicyName:()=>SJ.decompressResponsePolicyName,defaultRetryPolicy:()=>o_e.defaultRetryPolicy,exponentialRetryPolicy:()=>RJ.exponentialRetryPolicy,exponentialRetryPolicyName:()=>RJ.exponentialRetryPolicyName,formDataPolicy:()=>UJ.formDataPolicy,formDataPolicyName:()=>UJ.formDataPolicyName,getDefaultProxySettings:()=>c0.getDefaultProxySettings,isRestError:()=>xJ.isRestError,logPolicy:()=>vJ.logPolicy,logPolicyName:()=>vJ.logPolicyName,multipartPolicy:()=>PJ.multipartPolicy,multipartPolicyName:()=>PJ.multipartPolicyName,ndJsonPolicy:()=>qJ.ndJsonPolicy,ndJsonPolicyName:()=>qJ.ndJsonPolicyName,proxyPolicy:()=>c0.proxyPolicy,proxyPolicyName:()=>c0.proxyPolicyName,redirectPolicy:()=>DJ.redirectPolicy,redirectPolicyName:()=>DJ.redirectPolicyName,retryPolicy:()=>s_e.retryPolicy,setClientRequestIdPolicy:()=>_J.setClientRequestIdPolicy,setClientRequestIdPolicyName:()=>_J.setClientRequestIdPolicyName,systemErrorRetryPolicy:()=>TJ.systemErrorRetryPolicy,systemErrorRetryPolicyName:()=>TJ.systemErrorRetryPolicyName,throttlingRetryPolicy:()=>OJ.throttlingRetryPolicy,throttlingRetryPolicyName:()=>OJ.throttlingRetryPolicyName,tlsPolicy:()=>LJ.tlsPolicy,tlsPolicyName:()=>LJ.tlsPolicyName,tracingPolicy:()=>MJ.tracingPolicy,tracingPolicyName:()=>MJ.tracingPolicyName,userAgentPolicy:()=>kJ.userAgentPolicy,userAgentPolicyName:()=>kJ.userAgentPolicyName});YJ.exports=ZRe(GJ);var e_e=qw(),t_e=kY(),r_e=FY(),n_e=zY(),i_e=YY(),xJ=Jf(),SJ=bN(),RJ=$Y(),_J=PN(),vJ=$w(),PJ=BN(),c0=_N(),DJ=Xw(),TJ=eJ(),OJ=iJ(),s_e=aJ(),MJ=jN(),o_e=wN(),kJ=sN(),LJ=MN(),UJ=xN(),FJ=yJ(),qJ=IJ(),HJ=NJ(),zJ=TN(),jJ=CN()});var JJ=g($f=>{"use strict";Object.defineProperty($f,"__esModule",{value:!0});$f.AzureKeyCredential=void 0;var A0=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}};$f.AzureKeyCredential=A0});var VJ=g(u0=>{"use strict";Object.defineProperty(u0,"__esModule",{value:!0});u0.isKeyCredential=c_e;var a_e=pt();function c_e(t){return(0,a_e.isObjectWithProperties)(t,["key"])&&typeof t.key=="string"}o(c_e,"isKeyCredential")});var WJ=g(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});Ou.AzureNamedKeyCredential=void 0;Ou.isNamedKeyCredential=A_e;var l_e=pt(),d0=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}};Ou.AzureNamedKeyCredential=d0;function A_e(t){return(0,l_e.isObjectWithProperties)(t,["name","key"])&&typeof t.key=="string"&&typeof t.name=="string"}o(A_e,"isNamedKeyCredential")});var $J=g(Mu=>{"use strict";Object.defineProperty(Mu,"__esModule",{value:!0});Mu.AzureSASCredential=void 0;Mu.isSASCredential=d_e;var u_e=pt(),p0=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}};Mu.AzureSASCredential=p0;function d_e(t){return(0,u_e.isObjectWithProperties)(t,["signature"])&&typeof t.signature=="string"}o(d_e,"isSASCredential")});var KJ=g(ku=>{"use strict";Object.defineProperty(ku,"__esModule",{value:!0});ku.isBearerToken=p_e;ku.isPopToken=h_e;ku.isTokenCredential=f_e;function p_e(t){return!t.tokenType||t.tokenType==="Bearer"}o(p_e,"isBearerToken");function h_e(t){return t.tokenType==="pop"}o(h_e,"isPopToken");function f_e(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(f_e,"isTokenCredential")});var Kc=g(sr=>{"use strict";Object.defineProperty(sr,"__esModule",{value:!0});sr.isTokenCredential=sr.isSASCredential=sr.AzureSASCredential=sr.isNamedKeyCredential=sr.AzureNamedKeyCredential=sr.isKeyCredential=sr.AzureKeyCredential=void 0;var m_e=JJ();Object.defineProperty(sr,"AzureKeyCredential",{enumerable:!0,get:function(){return m_e.AzureKeyCredential}});var g_e=VJ();Object.defineProperty(sr,"isKeyCredential",{enumerable:!0,get:function(){return g_e.isKeyCredential}});var XJ=WJ();Object.defineProperty(sr,"AzureNamedKeyCredential",{enumerable:!0,get:function(){return XJ.AzureNamedKeyCredential}});Object.defineProperty(sr,"isNamedKeyCredential",{enumerable:!0,get:function(){return XJ.isNamedKeyCredential}});var ZJ=$J();Object.defineProperty(sr,"AzureSASCredential",{enumerable:!0,get:function(){return ZJ.AzureSASCredential}});Object.defineProperty(sr,"isSASCredential",{enumerable:!0,get:function(){return ZJ.isSASCredential}});var y_e=KJ();Object.defineProperty(sr,"isTokenCredential",{enumerable:!0,get:function(){return y_e.isTokenCredential}})});var h0=g(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.disableKeepAlivePolicyName=void 0;Ws.createDisableKeepAlivePolicy=C_e;Ws.pipelineContainsDisableKeepAlivePolicy=E_e;Ws.disableKeepAlivePolicyName="DisableKeepAlivePolicy";function C_e(){return{name:Ws.disableKeepAlivePolicyName,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(C_e,"createDisableKeepAlivePolicy");function E_e(t){return t.getOrderedPolicies().some(e=>e.name===Ws.disableKeepAlivePolicyName)}o(E_e,"pipelineContainsDisableKeepAlivePolicy")});var xV={};Pd(xV,{__addDisposableResource:()=>QV,__assign:()=>Kf,__asyncDelegator:()=>mV,__asyncGenerator:()=>fV,__asyncValues:()=>gV,__await:()=>Xc,__awaiter:()=>lV,__classPrivateFieldGet:()=>BV,__classPrivateFieldIn:()=>bV,__classPrivateFieldSet:()=>IV,__createBinding:()=>Zf,__decorate:()=>rV,__disposeResources:()=>wV,__esDecorate:()=>iV,__exportStar:()=>uV,__extends:()=>eV,__generator:()=>AV,__importDefault:()=>EV,__importStar:()=>CV,__makeTemplateObject:()=>yV,__metadata:()=>cV,__param:()=>nV,__propKey:()=>oV,__read:()=>g0,__rest:()=>tV,__rewriteRelativeImportExtension:()=>NV,__runInitializers:()=>sV,__setFunctionName:()=>aV,__spread:()=>dV,__spreadArray:()=>hV,__spreadArrays:()=>pV,__values:()=>Xf,default:()=>b_e});function eV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");f0(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function tV(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 rV(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 nV(t,e){return function(r,n){e(r,n,t)}}function iV(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,m=r.length-1;m>=0;m--){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[m])(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 sV(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 oV(t){return typeof t=="symbol"?t:"".concat(t)}function aV(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 cV(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function lV(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 AV(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 uV(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Zf(e,t,r)}function Xf(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 g0(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 dV(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(g0(arguments[e]));return t}function pV(){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 hV(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 Xc(t){return this instanceof Xc?(this.v=t,this):new Xc(t)}function fV(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(m){return function(C){return Promise.resolve(C).then(m,d)}}function c(m,C){n[m]&&(i[m]=function(Q){return new Promise(function(S,w){s.push([m,Q,S,w])>1||l(m,Q)})},C&&(i[m]=C(i[m])))}function l(m,C){try{A(n[m](C))}catch(Q){f(s[0][3],Q)}}function A(m){m.value instanceof Xc?Promise.resolve(m.value.v).then(u,d):f(s[0][2],m)}function u(m){l("next",m)}function d(m){l("throw",m)}function f(m,C){m(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function mV(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:Xc(t[i](a)),done:!1}:s?s(a):a}:s}}function gV(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 Xf=="function"?Xf(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 yV(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function CV(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=m0(t),n=0;n<r.length;n++)r[n]!=="default"&&Zf(e,t,r[n]);return B_e(e,t),e}function EV(t){return t&&t.__esModule?t:{default:t}}function BV(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 IV(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 bV(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 QV(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 wV(t){function e(s){t.error=t.hasError?new I_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 NV(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 f0,Kf,Zf,B_e,m0,I_e,b_e,SV=vd(()=>{f0=o(function(t,e){return f0=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])},f0(t,e)},"extendStatics");o(eV,"__extends");Kf=o(function(){return Kf=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"),Kf.apply(this,arguments)},"__assign");o(tV,"__rest");o(rV,"__decorate");o(nV,"__param");o(iV,"__esDecorate");o(sV,"__runInitializers");o(oV,"__propKey");o(aV,"__setFunctionName");o(cV,"__metadata");o(lV,"__awaiter");o(AV,"__generator");Zf=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(uV,"__exportStar");o(Xf,"__values");o(g0,"__read");o(dV,"__spread");o(pV,"__spreadArrays");o(hV,"__spreadArray");o(Xc,"__await");o(fV,"__asyncGenerator");o(mV,"__asyncDelegator");o(gV,"__asyncValues");o(yV,"__makeTemplateObject");B_e=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},m0=o(function(t){return m0=Object.getOwnPropertyNames||function(e){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[r.length]=n);return r},m0(t)},"ownKeys");o(CV,"__importStar");o(EV,"__importDefault");o(BV,"__classPrivateFieldGet");o(IV,"__classPrivateFieldSet");o(bV,"__classPrivateFieldIn");o(QV,"__addDisposableResource");I_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(wV,"__disposeResources");o(NV,"__rewriteRelativeImportExtension");b_e={__extends:eV,__assign:Kf,__rest:tV,__decorate:rV,__param:nV,__esDecorate:iV,__runInitializers:sV,__propKey:oV,__setFunctionName:aV,__metadata:cV,__awaiter:lV,__generator:AV,__createBinding:Zf,__exportStar:uV,__values:Xf,__read:g0,__spread:dV,__spreadArrays:pV,__spreadArray:hV,__await:Xc,__asyncGenerator:fV,__asyncDelegator:mV,__asyncValues:gV,__makeTemplateObject:yV,__importStar:CV,__importDefault:EV,__classPrivateFieldGet:BV,__classPrivateFieldSet:IV,__classPrivateFieldIn:bV,__addDisposableResource:QV,__disposeResources:wV,__rewriteRelativeImportExtension:NV}});var y0=g(Zc=>{"use strict";Object.defineProperty(Zc,"__esModule",{value:!0});Zc.encodeString=Q_e;Zc.encodeByteArray=w_e;Zc.decodeString=N_e;Zc.decodeStringToString=x_e;function Q_e(t){return Buffer.from(t).toString("base64")}o(Q_e,"encodeString");function w_e(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(w_e,"encodeByteArray");function N_e(t){return Buffer.from(t,"base64")}o(N_e,"decodeString");function x_e(t){return Buffer.from(t,"base64").toString()}o(x_e,"decodeStringToString")});var Lu=g(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});el.XML_CHARKEY=el.XML_ATTRKEY=void 0;el.XML_ATTRKEY="$";el.XML_CHARKEY="_"});var C0=g(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});tl.isPrimitiveBody=RV;tl.isDuration=R_e;tl.isValidUuid=v_e;tl.flattenResponse=D_e;function RV(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(RV,"isPrimitiveBody");var S_e=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function R_e(t){return S_e.test(t)}o(R_e,"isDuration");var __e=/^[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 v_e(t){return __e.test(t)}o(v_e,"isValidUuid");function P_e(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(P_e,"handleNullableResponseAndWrappableBody");function D_e(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 P_e({body:t.parsedBody,headers:r,hasNullableType:i,shouldWrapBody:RV(t.parsedBody,s)})}o(D_e,"flattenResponse")});var Fu=g(Uu=>{"use strict";Object.defineProperty(Uu,"__esModule",{value:!0});Uu.MapperTypeNames=void 0;Uu.createSerializer=O_e;var T_e=(SV(),Zt(xV)),tm=T_e.__importStar(y0()),Gt=Lu(),vV=C0(),E0=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:m,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),m!==void 0&&r%m!==0&&i("MultipleOf",m),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??Gt.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=q_e(c,n,r):c.match(/^Enum$/i)!==null?a=H_e(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=G_e(c,r,n):c.match(/^ByteArray$/i)!==null?a=z_e(n,r):c.match(/^Base64Url$/i)!==null?a=j_e(n,r):c.match(/^Sequence$/i)!==null?a=Y_e(this,e,r,n,!!this.isXML,s):c.match(/^Dictionary$/i)!==null?a=J_e(this,e,r,n,!!this.isXML,s):c.match(/^Composite$/i)!==null&&(a=W_e(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??Gt.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=K_e(this,e,r,n,s);else{if(this.isXML){let l=s.xml.xmlCharKey;r[Gt.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=F_e(r):c.match(/^ByteArray$/i)!==null?a=tm.decodeString(r):c.match(/^Base64Url$/i)!==null?a=L_e(r):c.match(/^Sequence$/i)!==null?a=Z_e(this,e,r,n,s):c.match(/^Dictionary$/i)!==null&&(a=X_e(this,e,r,n,s))}return e.isConstant&&(a=e.defaultValue),a}};function O_e(t={},e=!1){return new E0(t,e)}o(O_e,"createSerializer");function M_e(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(M_e,"trimEnd");function k_e(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=tm.encodeByteArray(t);return M_e(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(k_e,"bufferToBase64Url");function L_e(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,"/"),tm.decodeString(t)}}o(L_e,"base64UrlToByteArray");function B0(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(B0,"splitSerializeName");function U_e(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(U_e,"dateToUnixTime");function F_e(t){if(t)return new Date(t*1e3)}o(F_e,"unixTimeToDate");function q_e(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,vV.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(q_e,"serializeBasicTypes");function H_e(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(H_e,"serializeEnumType");function z_e(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=tm.encodeByteArray(e)}return e}o(z_e,"serializeByteArrayType");function j_e(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=k_e(e)}return e}o(j_e,"serializeBase64UrlType");function G_e(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=U_e(e)}else if(t.match(/^TimeSpan$/i)!==null&&!(0,vV.isDuration)(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(G_e,"serializeDateTypes");function Y_e(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][Gt.XML_ATTRKEY]={[u]:a.xmlNamespace}):(c[l]={},c[l][s.xml.xmlCharKey]=A,c[l][Gt.XML_ATTRKEY]={[u]:a.xmlNamespace})}else c[l]=A}return c}o(Y_e,"serializeSequenceType");function J_e(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]=TV(a,A,i,s)}if(i&&e.xmlNamespace){let l=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns",A=c;return A[Gt.XML_ATTRKEY]={[l]:e.xmlNamespace},A}return c}o(J_e,"serializeDictionaryType");function V_e(t,e,r){let n=e.type.additionalProperties;return!n&&e.type.className?PV(t,e,r)?.type.additionalProperties:n}o(V_e,"resolveAdditionalProperties");function PV(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(PV,"resolveReferencedMapper");function DV(t,e,r){let n=e.type.modelProperties;if(!n){let i=PV(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(DV,"resolveModelProperties");function W_e(t,e,r,n,i,s){if(em(t,e)&&(e=OV(t,e,r,"clientName")),r!=null){let a={},c=DV(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 m=B0(u.serializedName);d=m.pop();for(let C of m){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[Gt.XML_ATTRKEY]={...f[Gt.XML_ATTRKEY],[w]:e.xmlNamespace}}let m=u.serializedName!==""?n+"."+u.serializedName:n,C=r[A],Q=em(t,e);Q&&Q.clientName===A&&C==null&&(C=e.serializedName);let S=t.serialize(u,C,m,s);if(S!==void 0&&d!==void 0&&d!==null){let w=TV(u,S,i,s);i&&u.xmlIsAttribute?(f[Gt.XML_ATTRKEY]=f[Gt.XML_ATTRKEY]||{},f[Gt.XML_ATTRKEY][d]=S):i&&u.xmlIsWrapped?f[d]={[u.xmlElementName]:w}:f[d]=w}}}let l=V_e(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(W_e,"serializeCompositeType");function TV(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[Gt.XML_ATTRKEY])return e;{let c={...e};return c[Gt.XML_ATTRKEY]=s,c}}let a={};return a[n.xml.xmlCharKey]=e,a[Gt.XML_ATTRKEY]=s,a}o(TV,"getXmlObjectValue");function $_e(t,e){return[Gt.XML_ATTRKEY,e.xml.xmlCharKey].includes(t)}o($_e,"isSpecialXmlProperty");function K_e(t,e,r,n,i){let s=i.xml.xmlCharKey??Gt.XML_CHARKEY;em(t,e)&&(e=OV(t,e,r,"serializedName"));let a=DV(t,e,n),c={},l=[];for(let u of Object.keys(a)){let d=a[u],f=B0(a[u].serializedName);l.push(f[0]);let{serializedName:m,xmlName:C,xmlElementName:Q}=d,S=n;m!==""&&m!==void 0&&(S=n+"."+m);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[Gt.XML_ATTRKEY])c[u]=t.deserialize(d,r[Gt.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||m;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[Te,Oe]of Object.entries(c))Object.prototype.hasOwnProperty.call(le,Te)||(le[Te]=Oe);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(B0(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)&&!$_e(u,i)&&(c[u]=r[u]);return c}o(K_e,"deserializeCompositeType");function X_e(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(X_e,"deserializeDictionaryType");function Z_e(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(Z_e,"deserializeSequenceType");function eve(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(eve,"getIndexDiscriminator");function OV(t,e,r,n){let i=em(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=eve(t.modelMappers.discriminators,a,c);l&&(e=l)}}}return e}o(OV,"getPolymorphicMapper");function em(t,e){return e.type.polymorphicDiscriminator||_V(t,e.type.uberParent)||_V(t,e.type.className)}o(em,"getPolymorphicDiscriminatorRecursively");function _V(t,e){return e&&t.modelMappers[e]&&t.modelMappers[e].type.polymorphicDiscriminator}o(_V,"getPolymorphicDiscriminatorSafely");Uu.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 MV=g(rm=>{"use strict";Object.defineProperty(rm,"__esModule",{value:!0});rm.state=void 0;rm.state={operationRequestMap:new WeakMap}});var qu=g(nm=>{"use strict";Object.defineProperty(nm,"__esModule",{value:!0});nm.getOperationArgumentValueFromParameter=UV;nm.getOperationRequestInfo=qV;var kV=MV();function UV(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=LV(t,n);!a.propertyFound&&r&&(a=LV(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=UV(t,{parameterPath:l,mapper:c},r);A!==void 0&&(s||(s={}),s[a]=A)}}return s}o(UV,"getOperationArgumentValueFromParameter");function LV(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(LV,"getPropertyFromParameterPath");var FV=Symbol.for("@azure/core-client original request");function tve(t){return FV in t}o(tve,"hasOriginalRequest");function qV(t){if(tve(t))return qV(t[FV]);let e=kV.state.operationRequestMap.get(t);return e||(e={},kV.state.operationRequestMap.set(t,e)),e}o(qV,"getOperationRequestInfo")});var b0=g(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});rl.deserializationPolicyName=void 0;rl.deserializationPolicy=sve;var rve=Lu(),im=Ot(),HV=Fu(),I0=qu(),nve=["application/json","text/json"],ive=["application/xml","application/atom+xml"];rl.deserializationPolicyName="deserializationPolicy";function sve(t={}){let e=t.expectedContentTypes?.json??nve,r=t.expectedContentTypes?.xml??ive,n=t.parseXML,i=t.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??rve.XML_CHARKEY}};return{name:rl.deserializationPolicyName,async sendRequest(a,c){let l=await c(a);return cve(e,r,l,s,n)}}}o(sve,"deserializationPolicy");function ove(t){let e,r=t.request,n=(0,I0.getOperationRequestInfo)(r),i=n?.operationSpec;return i&&(n?.operationResponseGetter?e=n?.operationResponseGetter(i,t):e=i.responses[t.status]),e}o(ove,"getOperationResponseMap");function ave(t){let e=t.request,n=(0,I0.getOperationRequestInfo)(e)?.shouldDeserialize,i;return n===void 0?i=!0:typeof n=="boolean"?i=n:i=n(t),i}o(ave,"shouldDeserializeResponse");async function cve(t,e,r,n,i){let s=await uve(t,e,r,n,i);if(!ave(s))return s;let c=(0,I0.getOperationRequestInfo)(s.request)?.operationSpec;if(!c||!c.responses)return s;let l=ove(s),{error:A,shouldReturnResponse:u}=Ave(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===HV.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 im.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(cve,"deserializeResponseBody");function lve(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(lve,"isOperationSpecEmpty");function Ave(t,e,r,n){let i=200<=t.status&&t.status<300;if(lve(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 im.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===HV.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 m=d.error||f||d;l.code=m.code,m.message&&(l.message=m.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(Ave,"handleErrorResponse");async function uve(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||im.RestError.PARSE_ERROR;throw new im.RestError(A,{code:u,statusCode:r.status,request:r.request,response:r})}}return r}o(uve,"parse")});var om=g(sm=>{"use strict";Object.defineProperty(sm,"__esModule",{value:!0});sm.getStreamingResponseStatusCodes=pve;sm.getPathStringFromParameter=hve;var dve=Fu();function pve(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===dve.MapperTypeNames.Stream&&e.add(Number(r))}return e}o(pve,"getStreamingResponseStatusCodes");function hve(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(hve,"getPathStringFromParameter")});var N0=g($s=>{"use strict";Object.defineProperty($s,"__esModule",{value:!0});$s.serializationPolicyName=void 0;$s.serializationPolicy=fve;$s.serializeHeaders=zV;$s.serializeRequestBody=jV;var w0=Lu(),am=qu(),Q0=Fu(),Hu=om();$s.serializationPolicyName="serializationPolicy";function fve(t={}){let e=t.stringifyXML;return{name:$s.serializationPolicyName,async sendRequest(r,n){let i=(0,am.getOperationRequestInfo)(r),s=i?.operationSpec,a=i?.operationArguments;return s&&a&&(zV(r,a,s),jV(r,a,s,e)),n(r)}}}o(fve,"serializationPolicy");function zV(t,e,r){if(r.headerParameters)for(let i of r.headerParameters){let s=(0,am.getOperationArgumentValueFromParameter)(e,i);if(s!=null||i.mapper.required){s=r.serializer.serialize(i.mapper,s,(0,Hu.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,Hu.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(zV,"serializeHeaders");function jV(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??w0.XML_CHARKEY}},a=s.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=(0,am.getOperationArgumentValueFromParameter)(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:A,xmlName:u,xmlElementName:d,xmlNamespace:f,xmlNamespacePrefix:m,nullable:C}=c,Q=c.type.name;try{if(t.body!==void 0&&t.body!==null||C&&t.body===null||l){let S=(0,Hu.getPathStringFromParameter)(r.requestBody);t.body=r.serializer.serialize(c,t.body,S,s);let w=Q===Q0.MapperTypeNames.Stream;if(r.isXML){let R=m?`xmlns:${m}`:"xmlns",T=mve(f,R,Q,t.body,s);Q===Q0.MapperTypeNames.Sequence?t.body=n(gve(T,d||u||A,R,f),{rootName:u||A,xmlCharKey:a}):w||(t.body=n(T,{rootName:u||A,xmlCharKey:a}))}else{if(Q===Q0.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,am.getOperationArgumentValueFromParameter)(e,c);if(l!=null){let A=c.mapper.serializedName||(0,Hu.getPathStringFromParameter)(c);t.formData[A]=r.serializer.serialize(c.mapper,l,(0,Hu.getPathStringFromParameter)(c),s)}}}}o(jV,"serializeRequestBody");function mve(t,e,r,n,i){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let s={};return s[i.xml.xmlCharKey]=n,s[w0.XML_ATTRKEY]={[e]:t},s}return n}o(mve,"getXmlValueWithNamespace");function gve(t,e,r,n){if(Array.isArray(t)||(t=[t]),!r||!n)return{[e]:t};let i={[e]:t};return i[w0.XML_ATTRKEY]={[r]:n},i}o(gve,"prepareXMLRootList")});var S0=g(x0=>{"use strict";Object.defineProperty(x0,"__esModule",{value:!0});x0.createClientPipeline=Eve;var yve=b0(),GV=Ot(),Cve=N0();function Eve(t={}){let e=(0,GV.createPipelineFromOptions)(t??{});return t.credentialOptions&&e.addPolicy((0,GV.bearerTokenAuthenticationPolicy)({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy((0,Cve.serializationPolicy)(t.serializationOptions),{phase:"Serialize"}),e.addPolicy((0,yve.deserializationPolicy)(t.deserializationOptions),{phase:"Deserialize"}),e}o(Eve,"createClientPipeline")});var YV=g(_0=>{"use strict";Object.defineProperty(_0,"__esModule",{value:!0});_0.getCachedDefaultHttpClient=Ive;var Bve=Ot(),R0;function Ive(){return R0||(R0=(0,Bve.createDefaultHttpClient)()),R0}o(Ive,"getCachedDefaultHttpClient")});var $V=g(cm=>{"use strict";Object.defineProperty(cm,"__esModule",{value:!0});cm.getRequestUrl=Qve;cm.appendQueryParams=WV;var VV=qu(),v0=om(),bve={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function Qve(t,e,r,n){let i=wve(e,r,n),s=!1,a=JV(t,i);if(e.path){let A=JV(e.path,i);e.path==="/{nextLink}"&&A.startsWith("/")&&(A=A.substring(1)),Nve(A)?(a=A,s=!0):a=xve(a,A)}let{queryParams:c,sequenceParams:l}=Sve(e,r,n);return a=WV(a,c,l,s),a}o(Qve,"getRequestUrl");function JV(t,e){let r=t;for(let[n,i]of e)r=r.split(n).join(i);return r}o(JV,"replaceAll");function wve(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let i of t.urlParameters){let s=(0,VV.getOperationArgumentValueFromParameter)(e,i,r),a=(0,v0.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(wve,"calculateUrlReplacements");function Nve(t){return t.includes("://")}o(Nve,"isAbsoluteUrl");function xve(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(xve,"appendPath");function Sve(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,VV.getOperationArgumentValueFromParameter)(e,s,r);if(a!=null||s.mapper.required){a=t.serializer.serialize(s.mapper,a,(0,v0.getPathStringFromParameter)(s));let c=s.collectionFormat?bve[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,v0.getPathStringFromParameter)(s),a)}}return{queryParams:n,sequenceParams:i}}o(Sve,"calculateQueryParameters");function Rve(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(Rve,"simpleParseQueryParams");function WV(t,e,r,n=!1){if(e.size===0)return t;let i=new URL(t),s=Rve(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(WV,"appendQueryParams")});var P0=g(lm=>{"use strict";Object.defineProperty(lm,"__esModule",{value:!0});lm.logger=void 0;var _ve=Jc();lm.logger=(0,_ve.createClientLogger)("core-client")});var XV=g(Am=>{"use strict";Object.defineProperty(Am,"__esModule",{value:!0});Am.ServiceClient=void 0;var vve=Ot(),Pve=S0(),KV=C0(),Dve=YV(),Tve=qu(),Ove=$V(),Mve=om(),kve=P0(),D0=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&&kve.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(0,Dve.getCachedDefaultHttpClient)(),this.pipeline=e.pipeline||Lve(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,Ove.getRequestUrl)(n,r,e,this),s=(0,vve.createPipelineRequest)({url:i});s.method=r.httpMethod;let a=(0,Tve.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,Mve.getStreamingResponseStatusCodes)(r));try{let A=await this.sendRequest(s),u=(0,KV.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,KV.flattenResponse)(u,r.responses[A.statusCode]||r.responses.default);A.details=d,l?.onResponse&&l.onResponse(u,d,A)}throw A}}};Am.ServiceClient=D0;function Lve(t){let e=Uve(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return(0,Pve.createClientPipeline)({...t,credentialOptions:r})}o(Lve,"createDefaultPipeline");function Uve(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(Uve,"getCredentialScopes")});var eW=g(um=>{"use strict";Object.defineProperty(um,"__esModule",{value:!0});um.parseCAEChallenge=ZV;um.authorizeRequestOnClaimChallenge=Hve;var Fve=P0(),qve=y0();function ZV(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(ZV,"parseCAEChallenge");async function Hve(t){let{scopes:e,response:r}=t,n=t.logger||Fve.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=(ZV(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,qve.decodeStringToString)(a.claims)});return c?(t.request.headers.set("Authorization",`${c.tokenType??"Bearer"} ${c.token}`),!0):!1}o(Hve,"authorizeRequestOnClaimChallenge")});var rW=g(dm=>{"use strict";Object.defineProperty(dm,"__esModule",{value:!0});dm.authorizeRequestOnTenantChallenge=void 0;var tW={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function zve(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(zve,"isUuid");var jve=o(async t=>{let e=Wve(t.request),r=Jve(t.response);if(r){let n=Vve(r),i=Yve(t,n),s=Gve(n);if(!s)return!1;let a=await t.getAccessToken(i,{...e,tenantId:s});return a?(t.request.headers.set(tW.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");dm.authorizeRequestOnTenantChallenge=jve;function Gve(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&zve(n))return n}o(Gve,"extractTenantId");function Yve(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=tW.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}o(Yve,"buildScopes");function Jve(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(Jve,"getChallenge");function Vve(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(Vve,"parseChallenge");function Wve(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(Wve,"requestToOptions")});var Ni=g(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.authorizeRequestOnTenantChallenge=We.authorizeRequestOnClaimChallenge=We.serializationPolicyName=We.serializationPolicy=We.deserializationPolicyName=We.deserializationPolicy=We.XML_CHARKEY=We.XML_ATTRKEY=We.createClientPipeline=We.ServiceClient=We.MapperTypeNames=We.createSerializer=void 0;var nW=Fu();Object.defineProperty(We,"createSerializer",{enumerable:!0,get:function(){return nW.createSerializer}});Object.defineProperty(We,"MapperTypeNames",{enumerable:!0,get:function(){return nW.MapperTypeNames}});var $ve=XV();Object.defineProperty(We,"ServiceClient",{enumerable:!0,get:function(){return $ve.ServiceClient}});var Kve=S0();Object.defineProperty(We,"createClientPipeline",{enumerable:!0,get:function(){return Kve.createClientPipeline}});var iW=Lu();Object.defineProperty(We,"XML_ATTRKEY",{enumerable:!0,get:function(){return iW.XML_ATTRKEY}});Object.defineProperty(We,"XML_CHARKEY",{enumerable:!0,get:function(){return iW.XML_CHARKEY}});var sW=b0();Object.defineProperty(We,"deserializationPolicy",{enumerable:!0,get:function(){return sW.deserializationPolicy}});Object.defineProperty(We,"deserializationPolicyName",{enumerable:!0,get:function(){return sW.deserializationPolicyName}});var oW=N0();Object.defineProperty(We,"serializationPolicy",{enumerable:!0,get:function(){return oW.serializationPolicy}});Object.defineProperty(We,"serializationPolicyName",{enumerable:!0,get:function(){return oW.serializationPolicyName}});var Xve=eW();Object.defineProperty(We,"authorizeRequestOnClaimChallenge",{enumerable:!0,get:function(){return Xve.authorizeRequestOnClaimChallenge}});var Zve=rW();Object.defineProperty(We,"authorizeRequestOnTenantChallenge",{enumerable:!0,get:function(){return Zve.authorizeRequestOnTenantChallenge}})});var ju=g(ra=>{"use strict";Object.defineProperty(ra,"__esModule",{value:!0});ra.HttpHeaders=void 0;ra.toPipelineRequest=lW;ra.toWebResourceLike=AW;ra.toHttpHeadersLike=uW;var aW=Ot(),cW=Symbol("Original PipelineRequest"),ePe=Symbol.for("@azure/core-client original request");function lW(t,e={}){let n=t[cW],i=(0,aW.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=i,n;{let s=(0,aW.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[ePe]=e.originalRequest),s}}o(lW,"toPipelineRequest");function AW(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:uW(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===cW?t:s==="clone"?()=>AW(lW(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(AW,"toWebResourceLike");function uW(t){return new pm(t.toJSON({preserveCase:!0}))}o(uW,"toHttpHeadersLike");function zu(t){return t.toLowerCase()}o(zu,"getHeaderKey");var pm=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[zu(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[zu(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[zu(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[zu(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[zu(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)}};ra.HttpHeaders=pm});var fm=g(hm=>{"use strict";Object.defineProperty(hm,"__esModule",{value:!0});hm.toCompatResponse=rPe;hm.toPipelineResponse=nPe;var tPe=Ot(),T0=ju(),dW=Symbol("Original FullOperationResponse");function rPe(t,e){let r=(0,T0.toWebResourceLike)(t.request),n=(0,T0.toHttpHeadersLike)(t.headers);return e?.createProxy?new Proxy(t,{get(i,s,a){return s==="headers"?n:s==="request"?r:s===dW?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(rPe,"toCompatResponse");function nPe(t){let r=t[dW],n=(0,tPe.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));return r?(r.headers=n,r):{...t,headers:n,request:(0,T0.toPipelineRequest)(t.request)}}o(nPe,"toPipelineResponse")});var hW=g(mm=>{"use strict";Object.defineProperty(mm,"__esModule",{value:!0});mm.ExtendedServiceClient=void 0;var pW=h0(),iPe=Ot(),sPe=Ni(),oPe=fm(),O0=class extends sPe.ServiceClient{static{o(this,"ExtendedServiceClient")}constructor(e){super(e),e.keepAliveOptions?.enable===!1&&!(0,pW.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)&&this.pipeline.addPolicy((0,pW.createDisableKeepAlivePolicy)()),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:iPe.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,oPe.toCompatResponse)(i)}),a}};mm.ExtendedServiceClient=O0});var yW=g(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.requestPolicyFactoryPolicyName=Ks.HttpPipelineLogLevel=void 0;Ks.createRequestPolicyFactoryPolicy=cPe;var fW=ju(),mW=fm(),gW;(function(t){t[t.ERROR=1]="ERROR",t[t.INFO=3]="INFO",t[t.OFF=0]="OFF",t[t.WARNING=2]="WARNING"})(gW||(Ks.HttpPipelineLogLevel=gW={}));var aPe={log(t,e){},shouldLog(t){return!1}};Ks.requestPolicyFactoryPolicyName="RequestPolicyFactoryPolicy";function cPe(t){let e=t.slice().reverse();return{name:Ks.requestPolicyFactoryPolicyName,async sendRequest(r,n){let i={async sendRequest(c){let l=await n((0,fW.toPipelineRequest)(c));return(0,mW.toCompatResponse)(l,{createProxy:!0})}};for(let c of e)i=c.create(i,aPe);let s=(0,fW.toWebResourceLike)(r,{createProxy:!0}),a=await i.sendRequest(s);return(0,mW.toPipelineResponse)(a)}}}o(cPe,"createRequestPolicyFactoryPolicy")});var CW=g(M0=>{"use strict";Object.defineProperty(M0,"__esModule",{value:!0});M0.convertHttpClient=uPe;var lPe=fm(),APe=ju();function uPe(t){return{sendRequest:async e=>{let r=await t.sendRequest((0,APe.toWebResourceLike)(e,{createProxy:!0}));return(0,lPe.toPipelineResponse)(r)}}}o(uPe,"convertHttpClient")});var gm=g(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});or.toHttpHeadersLike=or.convertHttpClient=or.disableKeepAlivePolicyName=or.HttpPipelineLogLevel=or.createRequestPolicyFactoryPolicy=or.requestPolicyFactoryPolicyName=or.ExtendedServiceClient=void 0;var dPe=hW();Object.defineProperty(or,"ExtendedServiceClient",{enumerable:!0,get:function(){return dPe.ExtendedServiceClient}});var k0=yW();Object.defineProperty(or,"requestPolicyFactoryPolicyName",{enumerable:!0,get:function(){return k0.requestPolicyFactoryPolicyName}});Object.defineProperty(or,"createRequestPolicyFactoryPolicy",{enumerable:!0,get:function(){return k0.createRequestPolicyFactoryPolicy}});Object.defineProperty(or,"HttpPipelineLogLevel",{enumerable:!0,get:function(){return k0.HttpPipelineLogLevel}});var pPe=h0();Object.defineProperty(or,"disableKeepAlivePolicyName",{enumerable:!0,get:function(){return pPe.disableKeepAlivePolicyName}});var hPe=CW();Object.defineProperty(or,"convertHttpClient",{enumerable:!0,get:function(){return hPe.convertHttpClient}});var fPe=ju();Object.defineProperty(or,"toHttpHeadersLike",{enumerable:!0,get:function(){return fPe.toHttpHeadersLike}})});var BW=g((L3e,EW)=>{(()=>{"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:()=>s9,XMLParser:()=>$5,XMLValidator:()=>o9});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 $;return $=M.trim().length===0?"Invalid space after '<'.":"Tag '"+M+"' is an invalid name.",w("InvalidTag",$,L(y,N))}let q=m(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 $=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,$+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 $=h.pop();if(M!==$.tagName){let be=L(y,$.tagStartPos);return w("InvalidTag","Expected closing tag '"+$.tagName+"' (opened in line "+be.line+", col "+be.col+") instead of closing tag '"+M+"'.",L(y,k))}h.length==0&&(x=!0)}}else{let $=Q(G,p);if($!==!0)return w($.err.code,$.err.msg,L(y,N-G.length+$.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 $=S(y,N);if($==-1)return w("InvalidChar","char '&' is not expected.",L(y,N));N=$}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 m(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(m,"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 Te=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"),Oe;Oe=typeof Symbol!="function"?"@@xmlMetadata":Symbol("XML Node Metadata");class He{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][Oe]={startIndex:h})}static getMetaDataSymbol(){return Oe}}class Xe{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&&Ge(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 $=q.replace(/[.\-+*:]/g,"\\.");b[q]={regx:RegExp(`&${$};`,"g"),val:G},x++}}else if(k&&Ge(p,"!ELEMENT",h)){h+=8;let{index:q}=this.readElementExp(p,h+1);h=q}else if(k&&Ge(p,"!ATTLIST",h))h+=8;else if(k&&Ge(p,"!NOTATION",h)){h+=9;let{index:q}=this.readNotationExp(p,h+1,this.suppressValidationErr);h=q}else{if(!Ge(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(ai(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&&ai(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"&&Ge(p,"MPTY",h))h+=4;else if(p[h]==="A"&&Ge(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++;ai(b),h=fe(p,h);let x="";for(;h<p.length&&!/\s/.test(p[h]);)x+=p[h],h++;if(!ai(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(),!ai(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 Ge(y,p,h){for(let b=0;b<p.length;b++)if(p[b]!==y[h+b+1])return!1;return!0}o(Ge,"C");function ai(y){if(s(y))return y;throw new Error(`Invalid entity name ${y}`)}o(ai,"I");let ji=/^[-+]?0x[a-fA-F0-9]+$/,Gi=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,SC={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0},RC=/^([-+])?(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 Yi{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(":"),$=M.substring(0,G).trim(),be=M.substring(G+1).trim();["first","last","odd","even"].includes(be)||/^nth\(\d+\)$/.test(be)?(_=$,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 _d(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(_d,"F");function oA(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(oA,"M");class D5{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)=>W_(x,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(b,x)=>W_(x,16,"&#x")}},this.addExternalEntities=T5,this.parseXml=U5,this.parseTextData=O5,this.resolveNameSpace=M5,this.buildAttributesMap=L5,this.isItStopNode=z5,this.replaceEntitiesValue=q5,this.readStopNodeData=j5,this.saveTextToParentTag=H5,this.addChild=F5,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 Yi(x)):x instanceof Yi&&this.stopNodeExpressions.push(x)}}}}function T5(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(T5,"R");function O5(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?V_(y,this.options.parseTagValue,this.options.numberParseOptions):y}}o(O5,"G");function M5(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(M5,"B");let k5=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function L5(y,p,h){if(this.options.ignoreAttributes!==!0&&typeof y=="string"){let b=i(y,k5),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],$=this.options.attributeNamePrefix+M;if(M.length)if(this.options.transformAttributeName&&($=this.options.transformAttributeName($)),$==="__proto__"&&($="#__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[$]=ye==null?G:typeof ye!=typeof G||ye!==G?ye:V_(G,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(N[$]=!0)}if(!Object.keys(N).length)return;if(this.options.attributesGroupName){let _={};return _[this.options.attributesGroupName]=N,_}return N}}o(L5,"W");let U5=o(function(y){y=y.replace(/\r\n?/g,`
`);let p=new He("!xml"),h=p,b="";this.matcher.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let x=new Xe(this.options.processEntities);for(let N=0;N<y.length;N++)if(y[N]==="<")if(y[N+1]==="/"){let k=Bo(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=_C(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 He(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=Bo(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=Bo(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=_C(y,N,this.options.removeNSPrefix);if(!k){let Wt=y.substring(Math.max(0,N-50),Math.min(y.length,N+50));throw new Error(`readTagExp returned undefined at position ${N}. Context: "${Wt}"`)}let _=k.tagName,M=k.rawTagName,q=k.tagExp,G=k.attrExpPresent,$=k.closeIndex;if(this.options.transformTagName){let Wt=this.options.transformTagName(_);q===_&&(q=Wt),_=Wt}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,ve=null,ci={};Qe=oA(M),_!==p.tagname&&this.matcher.push(_,{},Qe),_!==q&&G&&(ve=this.buildAttributesMap(q,this.matcher,_),ve&&(ci=_d(ve,this.options))),_!==p.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode(this.stopNodeExpressions,this.matcher));let Ft=N;if(this.isCurrentNodeStopNode){let Wt="";if(ye)N=k.closeIndex;else if(this.options.unpairedTags.indexOf(_)!==-1)N=k.closeIndex;else{let DC=this.readStopNodeData(y,M,$+1);if(!DC)throw new Error(`Unexpected end of ${M}`);N=DC.i,Wt=DC.tagContent}let xa=new He(_);ve&&(xa[":@"]=ve),xa.add(this.options.textNodeName,Wt),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(h,xa,this.matcher,Ft)}else{if(ye){if(this.options.transformTagName){let xa=this.options.transformTagName(_);q===_&&(q=xa),_=xa}let Wt=new He(_);ve&&(Wt[":@"]=ve),this.addChild(h,Wt,this.matcher,Ft),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else{if(this.options.unpairedTags.indexOf(_)!==-1){let Wt=new He(_);ve&&(Wt[":@"]=ve),this.addChild(h,Wt,this.matcher,Ft),this.matcher.pop(),this.isCurrentNodeStopNode=!1,N=k.closeIndex;continue}{let Wt=new He(_);if(this.tagsNodeStack.length>this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(h),ve&&(Wt[":@"]=ve),this.addChild(h,Wt,this.matcher,Ft),h=Wt}}b="",N=$}}else b+=y[N];return p.child},"Y");function F5(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(F5,"X");function q5(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(q5,"z");function H5(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(H5,"q");function z5(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(z5,"Z");function Bo(y,p,h,b){let x=y.indexOf(p,h);if(x===-1)throw new Error(b);return x+p.length-1}o(Bo,"K");function _C(y,p,h,b=">"){let x=function($,be,ye=">"){let Qe,ve="";for(let ci=be;ci<$.length;ci++){let Ft=$[ci];if(Qe)Ft===Qe&&(Qe="");else if(Ft==='"'||Ft==="'")Qe=Ft;else if(Ft===ye[0]){if(!ye[1])return{data:ve,index:ci};if($[ci+1]===ye[1])return{data:ve,index:ci}}else Ft===" "&&(Ft=" ");ve+=Ft}}(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 $=M.indexOf(":");$!==-1&&(M=M.substr($+1),q=M!==x.data.substr($+1))}return{tagName:M,tagExp:N,closeIndex:k,attrExpPresent:q,rawTagName:G}}o(_C,"Q");function j5(y,p,h){let b=h,x=1;for(;h<y.length;h++)if(y[h]==="<")if(y[h+1]==="/"){let N=Bo(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=Bo(y,"?>",h+1,"StopNode is not closed.");else if(y.substr(h+1,3)==="!--")h=Bo(y,"-->",h+3,"StopNode is not closed.");else if(y.substr(h+1,2)==="![")h=Bo(y,"]]>",h,"StopNode is not closed.")-2;else{let N=_C(y,h,">");N&&((N&&N.tagName)===p&&N.tagExp[N.tagExp.length-1]!=="/"&&x++,h=N.closeIndex)}}o(j5,"J");function V_(y,p,h){if(p&&typeof y=="string"){let b=y.trim();return b==="true"||b!=="false"&&function(x,N={}){if(N=Object.assign({},SC,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&&ji.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 $=q.match(RC);if($){let be=$[1]||"",ye=$[3].indexOf("e")===-1?"E":"e",Qe=$[2],ve=be?M[Qe.length+1]===ye:M[Qe.length]===ye;return Qe.length>1&&ve?M:Qe.length!==1||!$[3].startsWith(`.${ye}`)&&$[3][0]!==ye?G.leadingZeros&&!ve?(q=($[1]||"")+$[3],Number(q)):M:Number(q)}return M}(x,k,N);{let M=Gi.exec(k);if(M){let q=M[1]||"",G=M[2],$=((_=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===$||Qe===`${q}${$}`?ye:x;let ve=G?$:k;return G?ve===Qe||q+ve===Qe?ye:x:ve===Qe||ve===q+Qe?ye:x}}return x}var _}(y,h)}return y!==void 0?y:""}o(V_,"H");function W_(y,p,h){let b=Number.parseInt(y,p);return b>=0&&b<=1114111?String.fromCodePoint(b):h+y+";"}o(W_,"tt");let vC=He.getMetaDataSymbol();function G5(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(G5,"it");function Y5(y,p,h){return $_(y,p,h)}o(Y5,"nt");function $_(y,p,h){let b,x={};for(let N=0;N<y.length;N++){let k=y[N],_=J5(k);if(_!==void 0&&_!==p.textNodeName){let M=G5(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=$_(k[_],p,h),q=W5(M,p);if(k[":@"]?V5(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[vC]!==void 0&&typeof M=="object"&&M!==null&&(M[vC]=k[vC]),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($_,"st");function J5(y){let p=Object.keys(y);for(let h=0;h<p.length;h++){let b=p[h];if(b!==":@")return b}}o(J5,"rt");function V5(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(V5,"ot");function W5(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(W5,"at");class $5{static{o(this,"ht")}constructor(p){this.externalEntities={},this.options=Te(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 D5(this.options);b.addExternalEntities(this.externalEntities);let x=b.parseXml(p);return this.options.preserveOrder||x===void 0?x:Y5(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 '&#xD;'");if(h==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[p]=h}static getMetaDataSymbol(){return He.getMetaDataSymbol()}}function K5(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 Yi(N)):N instanceof Yi&&b.push(N)}return K_(y,p,h,new Eo,b)}o(K5,"lt");function K_(y,p,h,b,x){let N="",k=!1;if(!Array.isArray(y)){if(y!=null){let _=y.toString();return _=PC(_,p),_}return""}for(let _=0;_<y.length;_++){let M=y[_],q=Z_(M);if(q===void 0)continue;let G=X5(M[":@"],p);b.push(q,G);let $=e9(b,x);if(q===p.textNodeName){let ve=M[q];$||(ve=p.tagValueProcessor(q,ve),ve=PC(ve,p)),k&&(N+=h),N+=ve,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 ve=ev(M[":@"],p,$),ci=q==="?xml"?"":h,Ft=M[q][0][p.textNodeName];Ft=Ft.length!==0?" "+Ft:"",N+=ci+`<${q}${Ft}${ve}?>`,k=!0,b.pop();continue}let be=h;be!==""&&(be+=p.indentBy);let ye=h+`<${q}${ev(M[":@"],p,$)}`,Qe;Qe=$?X_(M[q],p):K_(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(K_,"pt");function X5(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(X5,"ut");function X_(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=Z_(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=Z5(x[":@"],p),_=X_(x[N],p);_&&_.length!==0?h+=`<${N}${k}>${_}</${N}>`:h+=`<${N}${k}/>`}}}return h}o(X_,"ct");function Z5(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(Z5,"dt");function Z_(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(Z_,"ft");function ev(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=PC(N,p)),N===!0&&p.suppressBooleanAttributes?b+=` ${x.substr(p.attributeNamePrefix.length)}`:b+=` ${x.substr(p.attributeNamePrefix.length)}="${N}"`}return b}o(ev,"gt");function e9(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(e9,"mt");function PC(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(PC,"xt");let t9={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:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,jPath:!0};function un(y){if(this.options=Object.assign({},t9,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 Yi(b)):b instanceof Yi&&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=i9),this.processTextOrObjNode=r9,this.options.format?(this.indentate=n9,this.tagEndChar=`>
`,this.newLine=`
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(un,"bt");function r9(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(r9,"Et");function n9(y){return this.options.indentBy.repeat(y)}o(n9,"yt");function i9(y){return!(!y.startsWith(this.options.attributeNamePrefix)||y===this.options.textNodeName)&&y.substr(this.attrPrefixLen)}o(i9,"wt"),un.prototype.build=function(y){if(this.options.preserveOrder)return K5(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}},un.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 $=0;$<M;$++){let be=y[_][$];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}},un.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+'"'},un.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},un.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},un.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},un.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}},un.prototype.closeTag=function(y){let p="";return this.options.unpairedTags.indexOf(y)!==-1?this.options.suppressUnpairedNode||(p="/"):p=this.options.suppressEmptyNode?"/":`></${y}`,p},un.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},un.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}},un.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 s9=un,o9={validate:c};EW.exports=e})()});var L0=g(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});nl.XML_CHARKEY=nl.XML_ATTRKEY=void 0;nl.XML_ATTRKEY="$";nl.XML_CHARKEY="_"});var QW=g(ym=>{"use strict";Object.defineProperty(ym,"__esModule",{value:!0});ym.stringifyXML=yPe;ym.parseXML=CPe;var U0=BW(),IW=L0();function bW(t){var e;return{attributesGroupName:IW.XML_ATTRKEY,textNodeName:(e=t.xmlCharKey)!==null&&e!==void 0?e:IW.XML_CHARKEY,ignoreAttributes:!1,suppressBooleanAttributes:!1}}o(bW,"getCommonOptions");function mPe(t={}){var e,r;return Object.assign(Object.assign({},bW(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(mPe,"getSerializerOptions");function gPe(t={}){return Object.assign(Object.assign({},bW(t)),{parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:t.stopNodes,processEntities:!0,trimValues:!1})}o(gPe,"getParserOptions");function yPe(t,e={}){let r=mPe(e),n=new U0.XMLBuilder(r),i={[r.rootNodeName]:t};return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${n.build(i)}`.replace(/\n/g,"")}o(yPe,"stringifyXML");async function CPe(t,e={}){if(!t)throw new Error("Document is empty");let r=U0.XMLValidator.validate(t);if(r!==!0)throw r;let i=new U0.XMLParser(gPe(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(CPe,"parseXML")});var F0=g(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.XML_CHARKEY=xi.XML_ATTRKEY=xi.parseXML=xi.stringifyXML=void 0;var wW=QW();Object.defineProperty(xi,"stringifyXML",{enumerable:!0,get:function(){return wW.stringifyXML}});Object.defineProperty(xi,"parseXML",{enumerable:!0,get:function(){return wW.parseXML}});var NW=L0();Object.defineProperty(xi,"XML_ATTRKEY",{enumerable:!0,get:function(){return NW.XML_ATTRKEY}});Object.defineProperty(xi,"XML_CHARKEY",{enumerable:!0,get:function(){return NW.XML_CHARKEY}})});var Em=g(Cm=>{"use strict";Object.defineProperty(Cm,"__esModule",{value:!0});Cm.logger=void 0;var EPe=Jc();Cm.logger=(0,EPe.createClientLogger)("storage-blob")});var j0={};Pd(j0,{__addDisposableResource:()=>KW,__assign:()=>Bm,__asyncDelegator:()=>zW,__asyncGenerator:()=>HW,__asyncValues:()=>jW,__await:()=>il,__awaiter:()=>MW,__classPrivateFieldGet:()=>VW,__classPrivateFieldIn:()=>$W,__classPrivateFieldSet:()=>WW,__createBinding:()=>bm,__decorate:()=>RW,__disposeResources:()=>XW,__esDecorate:()=>vW,__exportStar:()=>LW,__extends:()=>xW,__generator:()=>kW,__importDefault:()=>JW,__importStar:()=>YW,__makeTemplateObject:()=>GW,__metadata:()=>OW,__param:()=>_W,__propKey:()=>DW,__read:()=>z0,__rest:()=>SW,__rewriteRelativeImportExtension:()=>ZW,__runInitializers:()=>PW,__setFunctionName:()=>TW,__spread:()=>UW,__spreadArray:()=>qW,__spreadArrays:()=>FW,__values:()=>Im,default:()=>bPe});function xW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");q0(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function SW(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 RW(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 _W(t,e){return function(r,n){e(r,n,t)}}function vW(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,m=r.length-1;m>=0;m--){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[m])(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 PW(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 DW(t){return typeof t=="symbol"?t:"".concat(t)}function TW(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 OW(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function MW(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 kW(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 LW(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&bm(e,t,r)}function Im(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 z0(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 UW(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(z0(arguments[e]));return t}function FW(){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 qW(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 il(t){return this instanceof il?(this.v=t,this):new il(t)}function HW(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(m){return function(C){return Promise.resolve(C).then(m,d)}}function c(m,C){n[m]&&(i[m]=function(Q){return new Promise(function(S,w){s.push([m,Q,S,w])>1||l(m,Q)})},C&&(i[m]=C(i[m])))}function l(m,C){try{A(n[m](C))}catch(Q){f(s[0][3],Q)}}function A(m){m.value instanceof il?Promise.resolve(m.value.v).then(u,d):f(s[0][2],m)}function u(m){l("next",m)}function d(m){l("throw",m)}function f(m,C){m(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function zW(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:il(t[i](a)),done:!1}:s?s(a):a}:s}}function jW(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 Im=="function"?Im(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 GW(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function YW(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=H0(t),n=0;n<r.length;n++)r[n]!=="default"&&bm(e,t,r[n]);return BPe(e,t),e}function JW(t){return t&&t.__esModule?t:{default:t}}function VW(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 WW(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 $W(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 KW(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 XW(t){function e(s){t.error=t.hasError?new IPe(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 ZW(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 q0,Bm,bm,BPe,H0,IPe,bPe,G0=vd(()=>{q0=o(function(t,e){return q0=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])},q0(t,e)},"extendStatics");o(xW,"__extends");Bm=o(function(){return Bm=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"),Bm.apply(this,arguments)},"__assign");o(SW,"__rest");o(RW,"__decorate");o(_W,"__param");o(vW,"__esDecorate");o(PW,"__runInitializers");o(DW,"__propKey");o(TW,"__setFunctionName");o(OW,"__metadata");o(MW,"__awaiter");o(kW,"__generator");bm=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(LW,"__exportStar");o(Im,"__values");o(z0,"__read");o(UW,"__spread");o(FW,"__spreadArrays");o(qW,"__spreadArray");o(il,"__await");o(HW,"__asyncGenerator");o(zW,"__asyncDelegator");o(jW,"__asyncValues");o(GW,"__makeTemplateObject");BPe=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},H0=o(function(t){return H0=Object.getOwnPropertyNames||function(e){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[r.length]=n);return r},H0(t)},"ownKeys");o(YW,"__importStar");o(JW,"__importDefault");o(VW,"__classPrivateFieldGet");o(WW,"__classPrivateFieldSet");o($W,"__classPrivateFieldIn");o(KW,"__addDisposableResource");IPe=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(XW,"__disposeResources");o(ZW,"__rewriteRelativeImportExtension");bPe={__extends:xW,__assign:Bm,__rest:SW,__decorate:RW,__param:_W,__esDecorate:vW,__runInitializers:PW,__propKey:DW,__setFunctionName:TW,__metadata:OW,__awaiter:MW,__generator:kW,__createBinding:bm,__exportStar:LW,__values:Im,__read:z0,__spread:UW,__spreadArrays:FW,__spreadArray:qW,__await:il,__asyncGenerator:HW,__asyncDelegator:zW,__asyncValues:jW,__makeTemplateObject:GW,__importStar:YW,__importDefault:JW,__classPrivateFieldGet:VW,__classPrivateFieldSet:WW,__classPrivateFieldIn:$W,__addDisposableResource:KW,__disposeResources:XW,__rewriteRelativeImportExtension:ZW}});var e$=g(Qm=>{"use strict";Object.defineProperty(Qm,"__esModule",{value:!0});Qm.BuffersStream=void 0;var QPe=require("node:stream"),Y0=class extends QPe.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])}};Qm.BuffersStream=Y0});var t$=g(Nm=>{"use strict";Object.defineProperty(Nm,"__esModule",{value:!0});Nm.PooledBuffer=void 0;var wPe=(G0(),Zt(j0)),NPe=e$(),xPe=wPe.__importDefault(require("node:buffer")),wm=xPe.default.constants.MAX_LENGTH,J0=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/wm);for(let s=0;s<i;s++){let a=s===i-1?e%wm:wm;a===0&&(a=wm),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 NPe.BuffersStream(this.buffers,this.size)}};Nm.PooledBuffer=J0});var r$=g(xm=>{"use strict";Object.defineProperty(xm,"__esModule",{value:!0});xm.BufferScheduler=void 0;var SPe=require("events"),RPe=t$(),V0=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new SPe.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 RPe.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()}};xm.BufferScheduler=V0});var n$=g($0=>{"use strict";Object.defineProperty($0,"__esModule",{value:!0});$0.getCachedDefaultHttpClient=vPe;var _Pe=Ot(),W0;function vPe(){return W0||(W0=(0,_Pe.createDefaultHttpClient)()),W0}o(vPe,"getCachedDefaultHttpClient")});var s$=g(i$=>{"use strict";Object.defineProperty(i$,"__esModule",{value:!0})});var Gu=g(Sm=>{"use strict";Object.defineProperty(Sm,"__esModule",{value:!0});Sm.BaseRequestPolicy=void 0;var K0=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)}};Sm.BaseRequestPolicy=K0});var hs=g(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.PathStylePorts=Sn.DevelopmentConnectionString=Sn.HeaderConstants=Sn.URLConstants=Sn.SDK_VERSION=void 0;Sn.SDK_VERSION="1.0.0";Sn.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};Sn.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"};Sn.DevelopmentConnectionString="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;";Sn.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]});var na=g(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.escapeURLPath=DPe;je.getValueInConnString=Xs;je.extractConnectionStringParts=OPe;je.appendToURLPath=kPe;je.setURLParameter=a$;je.getURLParameter=c$;je.setURLHost=LPe;je.getURLPath=UPe;je.getURLScheme=FPe;je.getURLPathAndQuery=qPe;je.getURLQueries=HPe;je.appendToURLQuery=zPe;je.truncatedISO8061Date=jPe;je.base64encode=l$;je.base64decode=GPe;je.generateBlockID=YPe;je.delay=JPe;je.padStart=A$;je.sanitizeURL=u$;je.sanitizeHeaders=VPe;je.iEqual=WPe;je.getAccountNameFromUrl=d$;je.isIpEndpointStyle=p$;je.attachCredential=$Pe;je.httpAuthorizationToString=KPe;je.EscapePath=XPe;je.assertResponse=ZPe;var PPe=Ot(),o$=pt(),sl=hs();function DPe(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=MPe(r),e.pathname=r,e.toString()}o(DPe,"escapeURLPath");function TPe(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(TPe,"getProxyUriFromDevConnString");function Xs(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(Xs,"getValueInConnString");function OPe(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=TPe(t),t=sl.DevelopmentConnectionString);let r=Xs(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=Xs(t,"AccountName"),s=Buffer.from(Xs(t,"AccountKey"),"base64"),!r){n=Xs(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=Xs(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=Xs(t,"SharedAccessSignature"),i=Xs(t,"AccountName");if(i||(i=d$(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(OPe,"extractConnectionStringParts");function MPe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(MPe,"escape");function kPe(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(kPe,"appendToURLPath");function a$(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(a$,"setURLParameter");function c$(t,e){return new URL(t).searchParams.get(e)??void 0}o(c$,"getURLParameter");function LPe(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(LPe,"setURLHost");function UPe(t){try{return new URL(t).pathname}catch{return}}o(UPe,"getURLPath");function FPe(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(FPe,"getURLScheme");function qPe(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(qPe,"getURLPathAndQuery");function HPe(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(HPe,"getURLQueries");function zPe(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(zPe,"appendToURLQuery");function jPe(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(jPe,"truncatedISO8061Date");function l$(t){return o$.isNodeLike?Buffer.from(t).toString("base64"):btoa(t)}o(l$,"base64encode");function GPe(t){return o$.isNodeLike?Buffer.from(t,"base64").toString():atob(t)}o(GPe,"base64decode");function YPe(t,e){t.length>42&&(t=t.slice(0,42));let s=t+A$(e.toString(),48-t.length,"0");return l$(s)}o(YPe,"generateBlockID");async function JPe(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(JPe,"delay");function A$(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(A$,"padStart");function u$(t){let e=t;return c$(e,sl.URLConstants.Parameters.SIGNATURE)&&(e=a$(e,sl.URLConstants.Parameters.SIGNATURE,"*****")),e}o(u$,"sanitizeURL");function VPe(t){let e=(0,PPe.createHttpHeaders)();for(let[r,n]of t)r.toLowerCase()===sl.HeaderConstants.AUTHORIZATION.toLowerCase()?e.set(r,"*****"):r.toLowerCase()===sl.HeaderConstants.X_MS_COPY_SOURCE?e.set(r,u$(n)):e.set(r,n);return e}o(VPe,"sanitizeHeaders");function WPe(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(WPe,"iEqual");function d$(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:p$(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(d$,"getAccountNameFromUrl");function p$(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&&sl.PathStylePorts.includes(t.port)}o(p$,"isIpEndpointStyle");function $Pe(t,e){return t.credential=e,t}o($Pe,"attachCredential");function KPe(t){return t?t.scheme+" "+t.value:void 0}o(KPe,"httpAuthorizationToString");function XPe(t){let e=t.split("/");for(let r=0;r<e.length;r++)e[r]=encodeURIComponent(e[r]);return e.join("/")}o(XPe,"EscapePath");function ZPe(t){if("_response"in t)return t;throw new TypeError(`Unexpected response object ${t}`)}o(ZPe,"assertResponse")});var h$=g(Rm=>{"use strict";Object.defineProperty(Rm,"__esModule",{value:!0});Rm.StorageBrowserPolicy=void 0;var eDe=Gu(),tDe=pt(),X0=hs(),rDe=na(),Z0=class extends eDe.BaseRequestPolicy{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return tDe.isNodeLike?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=(0,rDe.setURLParameter)(e.url,X0.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(X0.HeaderConstants.COOKIE),e.headers.remove(X0.HeaderConstants.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};Rm.StorageBrowserPolicy=Z0});var m$=g(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});ol.StorageBrowserPolicyFactory=ol.StorageBrowserPolicy=void 0;var f$=h$();Object.defineProperty(ol,"StorageBrowserPolicy",{enumerable:!0,get:function(){return f$.StorageBrowserPolicy}});var ex=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new f$.StorageBrowserPolicy(e,r)}};ol.StorageBrowserPolicyFactory=ex});var vm=g(_m=>{"use strict";Object.defineProperty(_m,"__esModule",{value:!0});_m.CredentialPolicy=void 0;var nDe=Gu(),tx=class extends nDe.BaseRequestPolicy{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};_m.CredentialPolicy=tx});var nx=g(Pm=>{"use strict";Object.defineProperty(Pm,"__esModule",{value:!0});Pm.AnonymousCredentialPolicy=void 0;var iDe=vm(),rx=class extends iDe.CredentialPolicy{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};Pm.AnonymousCredentialPolicy=rx});var Tm=g(Dm=>{"use strict";Object.defineProperty(Dm,"__esModule",{value:!0});Dm.Credential=void 0;var ix=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};Dm.Credential=ix});var g$=g(Om=>{"use strict";Object.defineProperty(Om,"__esModule",{value:!0});Om.AnonymousCredential=void 0;var sDe=nx(),oDe=Tm(),sx=class extends oDe.Credential{static{o(this,"AnonymousCredential")}create(e,r){return new sDe.AnonymousCredentialPolicy(e,r)}};Om.AnonymousCredential=sx});var ax=g(ox=>{"use strict";Object.defineProperty(ox,"__esModule",{value:!0});ox.compareHeader=ADe;var aDe=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]),cDe=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]),lDe=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 ADe(t,e){return uDe(t,e)?-1:1}o(ADe,"compareHeader");function uDe(t,e){let r=[aDe,cDe,lDe],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(uDe,"isLessThan")});var lx=g(Mm=>{"use strict";Object.defineProperty(Mm,"__esModule",{value:!0});Mm.StorageSharedKeyCredentialPolicy=void 0;var ar=hs(),y$=na(),dDe=vm(),pDe=ax(),cx=class extends dDe.CredentialPolicy{static{o(this,"StorageSharedKeyCredentialPolicy")}factory;constructor(e,r,n){super(e,r),this.factory=n}signRequest(e){e.headers.set(ar.HeaderConstants.X_MS_DATE,new Date().toUTCString()),e.body&&(typeof e.body=="string"||e.body!==void 0)&&e.body.length>0&&e.headers.set(ar.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,ar.HeaderConstants.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,ar.HeaderConstants.CONTENT_ENCODING),this.getHeaderValueToSign(e,ar.HeaderConstants.CONTENT_LENGTH),this.getHeaderValueToSign(e,ar.HeaderConstants.CONTENT_MD5),this.getHeaderValueToSign(e,ar.HeaderConstants.CONTENT_TYPE),this.getHeaderValueToSign(e,ar.HeaderConstants.DATE),this.getHeaderValueToSign(e,ar.HeaderConstants.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,ar.HeaderConstants.IF_MATCH),this.getHeaderValueToSign(e,ar.HeaderConstants.IF_NONE_MATCH),this.getHeaderValueToSign(e,ar.HeaderConstants.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,ar.HeaderConstants.RANGE)].join(`
`)+`
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(r);return e.headers.set(ar.HeaderConstants.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===ar.HeaderConstants.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(i=>i.name.toLowerCase().startsWith(ar.HeaderConstants.PREFIX_FOR_STORAGE));r.sort((i,s)=>(0,pDe.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,y$.getURLPath)(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let i=(0,y$.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}};Mm.StorageSharedKeyCredentialPolicy=cx});var C$=g(km=>{"use strict";Object.defineProperty(km,"__esModule",{value:!0});km.StorageSharedKeyCredential=void 0;var hDe=require("node:crypto"),fDe=lx(),mDe=Tm(),Ax=class extends mDe.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 fDe.StorageSharedKeyCredentialPolicy(e,r,this)}computeHMACSHA256(e){return(0,hDe.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};km.StorageSharedKeyCredential=Ax});var E$=g(Lm=>{"use strict";Object.defineProperty(Lm,"__esModule",{value:!0});Lm.AbortError=void 0;var ux=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};Lm.AbortError=ux});var dx=g(Um=>{"use strict";Object.defineProperty(Um,"__esModule",{value:!0});Um.AbortError=void 0;var gDe=E$();Object.defineProperty(Um,"AbortError",{enumerable:!0,get:function(){return gDe.AbortError}})});var px=g(Fm=>{"use strict";Object.defineProperty(Fm,"__esModule",{value:!0});Fm.logger=void 0;var yDe=Jc();Fm.logger=(0,yDe.createClientLogger)("storage-common")});var hx=g(qm=>{"use strict";Object.defineProperty(qm,"__esModule",{value:!0});qm.StorageRetryPolicyType=void 0;var B$;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(B$||(qm.StorageRetryPolicyType=B$={}))});var b$=g(Yu=>{"use strict";Object.defineProperty(Yu,"__esModule",{value:!0});Yu.StorageRetryPolicy=void 0;Yu.NewRetryPolicyFactory=BDe;var CDe=dx(),EDe=Gu(),I$=hs(),fx=na(),Zs=px(),mx=hx();function BDe(t){return{create:(e,r)=>new Hm(e,r,t)}}o(BDe,"NewRetryPolicyFactory");var eo={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:mx.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},IDe=new CDe.AbortError("The operation was aborted."),Hm=class extends EDe.BaseRequestPolicy{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=eo){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:eo.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):eo.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:eo.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:eo.maxRetryDelayInMs):eo.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:eo.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:eo.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,fx.setURLHost)(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=(0,fx.setURLParameter)(i.url,I$.URLConstants.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Zs.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(Zs.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 Zs.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 Zs.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 Zs.logger.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Zs.logger.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(n&&n?.status>=400){let a=n.headers.get(I$.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')?(Zs.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 mx.StorageRetryPolicyType.EXPONENTIAL:i=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case mx.StorageRetryPolicyType.FIXED:i=this.retryOptions.retryDelayInMs;break}else i=Math.random()*1e3;return Zs.logger.info(`RetryPolicy: Delay for ${i}ms`),(0,fx.delay)(i,n,IDe)}};Yu.StorageRetryPolicy=Hm});var Cx=g(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.StorageRetryPolicyFactory=Si.NewRetryPolicyFactory=Si.StorageRetryPolicy=Si.StorageRetryPolicyType=void 0;var yx=b$();Object.defineProperty(Si,"StorageRetryPolicy",{enumerable:!0,get:function(){return yx.StorageRetryPolicy}});Object.defineProperty(Si,"NewRetryPolicyFactory",{enumerable:!0,get:function(){return yx.NewRetryPolicyFactory}});var bDe=hx();Object.defineProperty(Si,"StorageRetryPolicyType",{enumerable:!0,get:function(){return bDe.StorageRetryPolicyType}});var gx=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new yx.StorageRetryPolicy(e,r,this.retryOptions)}};Si.StorageRetryPolicyFactory=gx});var Q$=g(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});al.storageBrowserPolicyName=void 0;al.storageBrowserPolicy=NDe;var QDe=pt(),Ex=hs(),wDe=na();al.storageBrowserPolicyName="storageBrowserPolicy";function NDe(){return{name:al.storageBrowserPolicyName,async sendRequest(t,e){return QDe.isNodeLike||((t.method==="GET"||t.method==="HEAD")&&(t.url=(0,wDe.setURLParameter)(t.url,Ex.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Ex.HeaderConstants.COOKIE),t.headers.delete(Ex.HeaderConstants.CONTENT_LENGTH)),e(t)}}}o(NDe,"storageBrowserPolicy")});var w$=g(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});cl.storageCorrectContentLengthPolicyName=void 0;cl.storageCorrectContentLengthPolicy=SDe;var xDe=hs();cl.storageCorrectContentLengthPolicyName="StorageCorrectContentLengthPolicy";function SDe(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(xDe.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:cl.storageCorrectContentLengthPolicyName,async sendRequest(e,r){return t(e),r(e)}}}o(SDe,"storageCorrectContentLengthPolicy")});var S$=g(Al=>{"use strict";Object.defineProperty(Al,"__esModule",{value:!0});Al.storageRetryPolicyName=void 0;Al.storageRetryPolicy=DDe;var RDe=dx(),N$=Ot(),_De=pt(),Ix=Cx(),x$=hs(),Bx=na(),fs=px();Al.storageRetryPolicyName="storageRetryPolicy";var ll={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Ix.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},vDe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],PDe=new RDe.AbortError("The operation was aborted.");function DDe(t={}){let e=t.retryPolicyType??ll.retryPolicyType,r=t.maxTries??ll.maxTries,n=t.retryDelayInMs??ll.retryDelayInMs,i=t.maxRetryDelayInMs??ll.maxRetryDelayInMs,s=t.secondaryHost??ll.secondaryHost,a=t.tryTimeoutInMs??ll.tryTimeoutInMs;function c({isPrimaryRetry:A,attempt:u,response:d,error:f}){if(u>=r)return fs.logger.info(`RetryPolicy: Attempt(s) ${u} >= maxTries ${r}, no further try.`),!1;if(f){for(let m of vDe)if(f.name.toUpperCase().includes(m)||f.message.toUpperCase().includes(m)||f.code&&f.code.toString().toUpperCase()===m)return fs.logger.info(`RetryPolicy: Network error ${m} found, will retry.`),!0;if(f?.code==="PARSE_ERROR"&&f?.message.startsWith('Error "Error: Unclosed root tag'))return fs.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(d||f){let m=d?.status??f?.statusCode??0;if(!A&&m===404)return fs.logger.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(m===503||m===500)return fs.logger.info(`RetryPolicy: Will retry for status code ${m}.`),!0}if(d&&d?.status>=400){let m=d.headers.get(x$.HeaderConstants.X_MS_CopySourceErrorCode);if(m!==void 0)switch(m){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 Ix.StorageRetryPolicyType.EXPONENTIAL:d=Math.min((Math.pow(2,u-1)-1)*n,i);break;case Ix.StorageRetryPolicyType.FIXED:d=n;break}else d=Math.random()*1e3;return fs.logger.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:Al.storageRetryPolicyName,async sendRequest(A,u){a&&(A.url=(0,Bx.setURLParameter)(A.url,x$.URLConstants.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=A.url,f=s?(0,Bx.setURLHost)(A.url,s):void 0,m=!1,C=1,Q=!0,S,w;for(;Q;){let R=m||!f||!["GET","HEAD","OPTIONS"].includes(A.method)||C%2===1;A.url=R?d:f,S=void 0,w=void 0;try{fs.logger.info(`RetryPolicy: =====> Try=${C} ${R?"Primary":"Secondary"}`),S=await u(A),m=m||!R&&S.status===404}catch(T){if((0,N$.isRestError)(T))fs.logger.error(`RetryPolicy: Caught error, message: ${T.message}, code: ${T.code}`),w=T;else throw fs.logger.error(`RetryPolicy: Caught error, message: ${(0,_De.getErrorMessage)(T)}`),T}Q=c({isPrimaryRetry:R,attempt:C,response:S,error:w}),Q&&await(0,Bx.delay)(l(R,C),A.abortSignal,PDe),C++}if(S)return S;throw w??new N$.RestError("RetryPolicy failed without known error.")}}}o(DDe,"storageRetryPolicy")});var _$=g(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.storageSharedKeyCredentialPolicyName=void 0;ul.storageSharedKeyCredentialPolicy=MDe;var TDe=require("node:crypto"),cr=hs(),R$=na(),ODe=ax();ul.storageSharedKeyCredentialPolicyName="storageSharedKeyCredentialPolicy";function MDe(t){function e(s){s.headers.set(cr.HeaderConstants.X_MS_DATE,new Date().toUTCString()),s.body&&(typeof s.body=="string"||Buffer.isBuffer(s.body))&&s.body.length>0&&s.headers.set(cr.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(s.body));let a=[s.method.toUpperCase(),r(s,cr.HeaderConstants.CONTENT_LANGUAGE),r(s,cr.HeaderConstants.CONTENT_ENCODING),r(s,cr.HeaderConstants.CONTENT_LENGTH),r(s,cr.HeaderConstants.CONTENT_MD5),r(s,cr.HeaderConstants.CONTENT_TYPE),r(s,cr.HeaderConstants.DATE),r(s,cr.HeaderConstants.IF_MODIFIED_SINCE),r(s,cr.HeaderConstants.IF_MATCH),r(s,cr.HeaderConstants.IF_NONE_MATCH),r(s,cr.HeaderConstants.IF_UNMODIFIED_SINCE),r(s,cr.HeaderConstants.RANGE)].join(`
`)+`
`+n(s)+i(s),c=(0,TDe.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");s.headers.set(cr.HeaderConstants.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(s,a){let c=s.headers.get(a);return!c||a===cr.HeaderConstants.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function n(s){let a=[];for(let[l,A]of s.headers)l.toLowerCase().startsWith(cr.HeaderConstants.PREFIX_FOR_STORAGE)&&a.push({name:l,value:A});a.sort((l,A)=>(0,ODe.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,R$.getURLPath)(s.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=(0,R$.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:ul.storageSharedKeyCredentialPolicyName,async sendRequest(s,a){return e(s),a(s)}}}o(MDe,"storageSharedKeyCredentialPolicy")});var v$=g(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});dl.storageRequestFailureDetailsParserPolicyName=void 0;dl.storageRequestFailureDetailsParserPolicy=kDe;dl.storageRequestFailureDetailsParserPolicyName="storageRequestFailureDetailsParserPolicy";function kDe(){return{name:dl.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(kDe,"storageRequestFailureDetailsParserPolicy")});var P$=g(zm=>{"use strict";Object.defineProperty(zm,"__esModule",{value:!0});zm.UserDelegationKeyCredential=void 0;var LDe=require("node:crypto"),bx=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,LDe.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};zm.UserDelegationKeyCredential=bx});var ei=g(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.BaseRequestPolicy=gt.getCachedDefaultHttpClient=void 0;var lr=(G0(),Zt(j0));lr.__exportStar(r$(),gt);var UDe=n$();Object.defineProperty(gt,"getCachedDefaultHttpClient",{enumerable:!0,get:function(){return UDe.getCachedDefaultHttpClient}});lr.__exportStar(s$(),gt);lr.__exportStar(m$(),gt);lr.__exportStar(g$(),gt);lr.__exportStar(Tm(),gt);lr.__exportStar(C$(),gt);lr.__exportStar(Cx(),gt);var FDe=Gu();Object.defineProperty(gt,"BaseRequestPolicy",{enumerable:!0,get:function(){return FDe.BaseRequestPolicy}});lr.__exportStar(nx(),gt);lr.__exportStar(vm(),gt);lr.__exportStar(Q$(),gt);lr.__exportStar(w$(),gt);lr.__exportStar(S$(),gt);lr.__exportStar(lx(),gt);lr.__exportStar(_$(),gt);lr.__exportStar(v$(),gt);lr.__exportStar(P$(),gt)});var en=g(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 to=g(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.Pipeline=Ri.StorageOAuthScopes=void 0;Ri.isPipelineLike=HDe;Ri.newPipeline=zDe;Ri.getCoreClientOptions=GDe;Ri.getCredentialFromPipeline=k$;var M$=gm(),D$=Ot(),T$=Ni(),O$=F0(),Qx=Kc(),qDe=Em(),tn=ei(),Ju=en();Object.defineProperty(Ri,"StorageOAuthScopes",{enumerable:!0,get:function(){return Ju.StorageOAuthScopes}});function HDe(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(HDe,"isPipelineLike");var jm=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}}};Ri.Pipeline=jm;function zDe(t,e={}){t||(t=new tn.AnonymousCredential);let r=new jm([],e);return r._credential=t,r}o(zDe,"newPipeline");function jDe(t){let e=[YDe,L$,JDe,VDe,WDe,$De,XDe];if(t.factories.length){let r=t.factories.filter(n=>!e.some(i=>i(n)));if(r.length){let n=r.some(i=>KDe(i));return{wrappedPolicies:(0,M$.createRequestPolicyFactoryPolicy)(r),afterRetry:n}}}}o(jDe,"processDownlevelPipeline");function GDe(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?(0,M$.convertHttpClient)(e):(0,tn.getCachedDefaultHttpClient)(),t._coreHttpClient=n);let i=t._corePipeline;if(!i){let s=`azsdk-js-azure-storage-blob/${Ju.SDK_VERSION}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${s}`:`${s}`;i=(0,T$.createClientPipeline)({...r,loggingOptions:{additionalAllowedHeaderNames:Ju.StorageBlobLoggingAllowedHeaderNames,additionalAllowedQueryParameters:Ju.StorageBlobLoggingAllowedQueryParameters,logger:qDe.logger.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:O$.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:O$.parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}}),i.removePolicy({phase:"Retry"}),i.removePolicy({name:D$.decompressResponsePolicyName}),i.addPolicy((0,tn.storageCorrectContentLengthPolicy)()),i.addPolicy((0,tn.storageRetryPolicy)(r.retryOptions),{phase:"Retry"}),i.addPolicy((0,tn.storageRequestFailureDetailsParserPolicy)()),i.addPolicy((0,tn.storageBrowserPolicy)());let c=jDe(t);c&&i.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=k$(t);(0,Qx.isTokenCredential)(l)?i.addPolicy((0,D$.bearerTokenAuthenticationPolicy)({credential:l,scopes:r.audience??Ju.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:T$.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):l instanceof tn.StorageSharedKeyCredential&&i.addPolicy((0,tn.storageSharedKeyCredentialPolicy)({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=i}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:i}}o(GDe,"getCoreClientOptions");function k$(t){if(t._credential)return t._credential;let e=new tn.AnonymousCredential;for(let r of t.factories)if((0,Qx.isTokenCredential)(r.credential))e=r.credential;else if(L$(r))return r;return e}o(k$,"getCredentialFromPipeline");function L$(t){return t instanceof tn.StorageSharedKeyCredential?!0:t.constructor.name==="StorageSharedKeyCredential"}o(L$,"isStorageSharedKeyCredential");function YDe(t){return t instanceof tn.AnonymousCredential?!0:t.constructor.name==="AnonymousCredential"}o(YDe,"isAnonymousCredential");function JDe(t){return(0,Qx.isTokenCredential)(t.credential)}o(JDe,"isCoreHttpBearerTokenFactory");function VDe(t){return t instanceof tn.StorageBrowserPolicyFactory?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(VDe,"isStorageBrowserPolicyFactory");function WDe(t){return t instanceof tn.StorageRetryPolicyFactory?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(WDe,"isStorageRetryPolicyFactory");function $De(t){return t.constructor.name==="TelemetryPolicyFactory"}o($De,"isStorageTelemetryPolicyFactory");function KDe(t){return t.constructor.name==="InjectorPolicyFactory"}o(KDe,"isInjectorPolicyFactory");function XDe(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(XDe,"isCoreHttpPolicyFactory")});var z$=g(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.KnownStorageErrorCode=_i.KnownBlobExpiryOptions=_i.KnownFileShareTokenIntent=_i.KnownEncryptionAlgorithmType=void 0;var U$;(function(t){t.AES256="AES256"})(U$||(_i.KnownEncryptionAlgorithmType=U$={}));var F$;(function(t){t.Backup="backup"})(F$||(_i.KnownFileShareTokenIntent=F$={}));var q$;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(q$||(_i.KnownBlobExpiryOptions=q$={}));var H$;(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"})(H$||(_i.KnownStorageErrorCode=H$={}))});var ro=g(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 ia=g(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 Vu=ro();I.contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}};I.blobServiceProperties={parameterPath:"blobServiceProperties",mapper:Vu.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:Vu.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:Vu.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:Vu.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:Vu.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 j$=g(Gm=>{"use strict";Object.defineProperty(Gm,"__esModule",{value:!0});Gm.ServiceImpl=void 0;var Nx=(Xr(),Zt(Kr)),ZDe=Nx.__importStar(Ni()),Fe=Nx.__importStar(ro()),J=Nx.__importStar(ia()),wx=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},eTe)}getProperties(e){return this.client.sendOperationRequest({options:e},tTe)}getStatistics(e){return this.client.sendOperationRequest({options:e},rTe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},nTe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},iTe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},sTe)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},oTe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},aTe)}};Gm.ServiceImpl=wx;var no=ZDe.createSerializer(Fe,!0),eTe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:Fe.ServiceSetPropertiesHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.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:no},tTe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fe.BlobServiceProperties,headersMapper:Fe.ServiceGetPropertiesHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceGetPropertiesExceptionHeaders}},queryParameters:[J.restype,J.comp,J.timeoutInSeconds],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:no},rTe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fe.BlobServiceStatistics,headersMapper:Fe.ServiceGetStatisticsHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceGetStatisticsExceptionHeaders}},queryParameters:[J.restype,J.timeoutInSeconds,J.comp1],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:no},nTe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fe.ListContainersSegmentResponse,headersMapper:Fe.ServiceListContainersSegmentHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.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:no},iTe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:Fe.UserDelegationKey,headersMapper:Fe.ServiceGetUserDelegationKeyHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.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:no},sTe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:Fe.ServiceGetAccountInfoHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceGetAccountInfoExceptionHeaders}},queryParameters:[J.comp,J.timeoutInSeconds,J.restype1],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:no},oTe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Fe.ServiceSubmitBatchHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.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:no},aTe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fe.FilterBlobSegment,headersMapper:Fe.ServiceFilterBlobsHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.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:no}});var G$=g(Ym=>{"use strict";Object.defineProperty(Ym,"__esModule",{value:!0});Ym.ContainerImpl=void 0;var Sx=(Xr(),Zt(Kr)),cTe=Sx.__importStar(Ni()),K=Sx.__importStar(ro()),P=Sx.__importStar(ia()),xx=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},lTe)}getProperties(e){return this.client.sendOperationRequest({options:e},ATe)}delete(e){return this.client.sendOperationRequest({options:e},uTe)}setMetadata(e){return this.client.sendOperationRequest({options:e},dTe)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},pTe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},hTe)}restore(e){return this.client.sendOperationRequest({options:e},fTe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},mTe)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},gTe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},yTe)}acquireLease(e){return this.client.sendOperationRequest({options:e},CTe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},ETe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},BTe)}breakLease(e){return this.client.sendOperationRequest({options:e},ITe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},bTe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},QTe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},wTe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},NTe)}};Ym.ContainerImpl=xx;var Yt=cTe.createSerializer(K,!0),lTe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:K.ContainerCreateHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.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:Yt},ATe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:K.ContainerGetPropertiesHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerGetPropertiesExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId],isXML:!0,serializer:Yt},uTe={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:K.ContainerDeleteHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.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:Yt},dTe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerSetMetadataHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.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:Yt},pTe={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:K.ContainerGetAccessPolicyHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerGetAccessPolicyExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp7],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId],isXML:!0,serializer:Yt},hTe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerSetAccessPolicyHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.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:Yt},fTe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:K.ContainerRestoreHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.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:Yt},mTe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerRenameHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.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:Yt},gTe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:K.ContainerSubmitBatchHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.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:Yt},yTe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:K.FilterBlobSegment,headersMapper:K.ContainerFilterBlobsHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.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:Yt},CTe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:K.ContainerAcquireLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.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:Yt},ETe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerReleaseLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.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:Yt},BTe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerRenewLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.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:Yt},ITe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:K.ContainerBreakLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.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:Yt},bTe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerChangeLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.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:Yt},QTe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:K.ListBlobsFlatSegmentResponse,headersMapper:K.ContainerListBlobFlatSegmentHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.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:Yt},wTe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:K.ListBlobsHierarchySegmentResponse,headersMapper:K.ContainerListBlobHierarchySegmentHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.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:Yt},NTe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:K.ContainerGetAccountInfoHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerGetAccountInfoExceptionHeaders}},queryParameters:[P.comp,P.timeoutInSeconds,P.restype1],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1],isXML:!0,serializer:Yt}});var Y$=g(Jm=>{"use strict";Object.defineProperty(Jm,"__esModule",{value:!0});Jm.BlobImpl=void 0;var _x=(Xr(),Zt(Kr)),xTe=_x.__importStar(Ni()),Y=_x.__importStar(ro()),B=_x.__importStar(ia()),Rx=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},STe)}getProperties(e){return this.client.sendOperationRequest({options:e},RTe)}delete(e){return this.client.sendOperationRequest({options:e},_Te)}undelete(e){return this.client.sendOperationRequest({options:e},vTe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},PTe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},DTe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},TTe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},OTe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},MTe)}setMetadata(e){return this.client.sendOperationRequest({options:e},kTe)}acquireLease(e){return this.client.sendOperationRequest({options:e},LTe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},UTe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},FTe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},qTe)}breakLease(e){return this.client.sendOperationRequest({options:e},HTe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},zTe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},jTe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},GTe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},YTe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},JTe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},VTe)}query(e){return this.client.sendOperationRequest({options:e},WTe)}getTags(e){return this.client.sendOperationRequest({options:e},$Te)}setTags(e){return this.client.sendOperationRequest({options:e},KTe)}};Jm.BlobImpl=Rx;var at=xTe.createSerializer(Y,!0),STe={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:at},RTe={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:at},_Te={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:at},vTe={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:at},PTe={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:at},DTe={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:at},TTe={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:at},OTe={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:at},MTe={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:at},kTe={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:at},LTe={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:at},UTe={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:at},FTe={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:at},qTe={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:at},HTe={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:at},zTe={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:at},jTe={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:at},GTe={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:at},YTe={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:at},JTe={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:at},VTe={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:at},WTe={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:at},$Te={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:at},KTe={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:at}});var J$=g(Vm=>{"use strict";Object.defineProperty(Vm,"__esModule",{value:!0});Vm.PageBlobImpl=void 0;var Px=(Xr(),Zt(Kr)),XTe=Px.__importStar(Ni()),qe=Px.__importStar(ro()),v=Px.__importStar(ia()),vx=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},ZTe)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},eOe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},tOe)}uploadPagesFromURL(e,r,n,i,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:i,options:s},rOe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},nOe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},iOe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},sOe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},oOe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},aOe)}};Vm.PageBlobImpl=vx;var ms=XTe.createSerializer(qe,!0),ZTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:qe.PageBlobCreateHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.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:ms},eOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:qe.PageBlobUploadPagesHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.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:ms},tOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:qe.PageBlobClearPagesHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.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:ms},rOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:qe.PageBlobUploadPagesFromURLHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.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:ms},nOe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:qe.PageList,headersMapper:qe.PageBlobGetPageRangesHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.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:ms},iOe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:qe.PageList,headersMapper:qe.PageBlobGetPageRangesDiffHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.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:ms},sOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:qe.PageBlobResizeHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.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:ms},oOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:qe.PageBlobUpdateSequenceNumberHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.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:ms},aOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:qe.PageBlobCopyIncrementalHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.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:ms}});var V$=g($m=>{"use strict";Object.defineProperty($m,"__esModule",{value:!0});$m.AppendBlobImpl=void 0;var Tx=(Xr(),Zt(Kr)),cOe=Tx.__importStar(Ni()),rn=Tx.__importStar(ro()),H=Tx.__importStar(ia()),Dx=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},lOe)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},AOe)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},uOe)}seal(e){return this.client.sendOperationRequest({options:e},dOe)}};$m.AppendBlobImpl=Dx;var Wm=cOe.createSerializer(rn,!0),lOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:rn.AppendBlobCreateHeaders},default:{bodyMapper:rn.StorageError,headersMapper:rn.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:Wm},AOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:rn.AppendBlobAppendBlockHeaders},default:{bodyMapper:rn.StorageError,headersMapper:rn.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:Wm},uOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:rn.AppendBlobAppendBlockFromUrlHeaders},default:{bodyMapper:rn.StorageError,headersMapper:rn.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:Wm},dOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:rn.AppendBlobSealHeaders},default:{bodyMapper:rn.StorageError,headersMapper:rn.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:Wm}});var W$=g(Km=>{"use strict";Object.defineProperty(Km,"__esModule",{value:!0});Km.BlockBlobImpl=void 0;var Mx=(Xr(),Zt(Kr)),pOe=Mx.__importStar(Ni()),vt=Mx.__importStar(ro()),D=Mx.__importStar(ia()),Ox=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},hOe)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},fOe)}stageBlock(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:i},mOe)}stageBlockFromURL(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:i},gOe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},yOe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},COe)}};Km.BlockBlobImpl=Ox;var pl=pOe.createSerializer(vt,!0),hOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobUploadHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.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:pl},fOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobPutBlobFromUrlHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.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:pl},mOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobStageBlockHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.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:pl},gOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobStageBlockFromURLHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.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:pl},yOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobCommitBlockListHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.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:pl},COe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:vt.BlockList,headersMapper:vt.BlockBlobGetBlockListHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.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:pl}});var $$=g(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});var hl=(Xr(),Zt(Kr));hl.__exportStar(j$(),io);hl.__exportStar(G$(),io);hl.__exportStar(Y$(),io);hl.__exportStar(J$(),io);hl.__exportStar(V$(),io);hl.__exportStar(W$(),io)});var K$=g(Xm=>{"use strict";Object.defineProperty(Xm,"__esModule",{value:!0});Xm.StorageClient=void 0;var EOe=(Xr(),Zt(Kr)),BOe=EOe.__importStar(gm()),fl=$$(),kx=class extends BOe.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 fl.ServiceImpl(this),this.container=new fl.ContainerImpl(this),this.blob=new fl.BlobImpl(this),this.pageBlob=new fl.PageBlobImpl(this),this.appendBlob=new fl.AppendBlobImpl(this),this.blockBlob=new fl.BlockBlobImpl(this)}service;container;blob;pageBlob;appendBlob;blockBlob};Xm.StorageClient=kx});var Z$=g(X$=>{"use strict";Object.defineProperty(X$,"__esModule",{value:!0})});var t3=g(e3=>{"use strict";Object.defineProperty(e3,"__esModule",{value:!0})});var n3=g(r3=>{"use strict";Object.defineProperty(r3,"__esModule",{value:!0})});var s3=g(i3=>{"use strict";Object.defineProperty(i3,"__esModule",{value:!0})});var a3=g(o3=>{"use strict";Object.defineProperty(o3,"__esModule",{value:!0})});var l3=g(c3=>{"use strict";Object.defineProperty(c3,"__esModule",{value:!0})});var A3=g(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});var ml=(Xr(),Zt(Kr));ml.__exportStar(Z$(),so);ml.__exportStar(t3(),so);ml.__exportStar(n3(),so);ml.__exportStar(s3(),so);ml.__exportStar(a3(),so);ml.__exportStar(l3(),so)});var d3=g(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});gl.StorageClient=void 0;var u3=(Xr(),Zt(Kr));u3.__exportStar(z$(),gl);var IOe=K$();Object.defineProperty(gl,"StorageClient",{enumerable:!0,get:function(){return IOe.StorageClient}});u3.__exportStar(A3(),gl)});var Ux=g(Zm=>{"use strict";Object.defineProperty(Zm,"__esModule",{value:!0});Zm.StorageContextClient=void 0;var bOe=d3(),Lx=class extends bOe.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)}};Zm.StorageContextClient=Lx});var Rn=g(Ie=>{"use strict";Object.defineProperty(Ie,"__esModule",{value:!0});Ie.escapeURLPath=wOe;Ie.getValueInConnString=oo;Ie.extractConnectionStringParts=xOe;Ie.appendToURLPath=ROe;Ie.setURLParameter=h3;Ie.getURLParameter=f3;Ie.setURLHost=_Oe;Ie.getURLPath=vOe;Ie.getURLScheme=POe;Ie.getURLPathAndQuery=DOe;Ie.getURLQueries=TOe;Ie.appendToURLQuery=OOe;Ie.truncatedISO8061Date=MOe;Ie.base64encode=m3;Ie.base64decode=kOe;Ie.generateBlockID=LOe;Ie.delay=UOe;Ie.padStart=g3;Ie.sanitizeURL=y3;Ie.sanitizeHeaders=FOe;Ie.iEqual=qOe;Ie.getAccountNameFromUrl=C3;Ie.isIpEndpointStyle=E3;Ie.toBlobTagsString=HOe;Ie.toBlobTags=zOe;Ie.toTags=jOe;Ie.toQuerySerialization=GOe;Ie.parseObjectReplicationRecord=YOe;Ie.attachCredential=JOe;Ie.httpAuthorizationToString=VOe;Ie.BlobNameToString=eg;Ie.ConvertInternalResponseOfListBlobFlat=WOe;Ie.ConvertInternalResponseOfListBlobHierarchy=$Oe;Ie.ExtractPageRangeInfoItems=KOe;Ie.EscapePath=XOe;Ie.assertResponse=ZOe;var QOe=Ot(),p3=pt(),yl=en();function wOe(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=SOe(r),e.pathname=r,e.toString()}o(wOe,"escapeURLPath");function NOe(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(NOe,"getProxyUriFromDevConnString");function oo(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(oo,"getValueInConnString");function xOe(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=NOe(t),t=yl.DevelopmentConnectionString);let r=oo(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=oo(t,"AccountName"),s=Buffer.from(oo(t,"AccountKey"),"base64"),!r){n=oo(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=oo(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=oo(t,"SharedAccessSignature"),i=oo(t,"AccountName");if(i||(i=C3(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(xOe,"extractConnectionStringParts");function SOe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(SOe,"escape");function ROe(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(ROe,"appendToURLPath");function h3(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(h3,"setURLParameter");function f3(t,e){return new URL(t).searchParams.get(e)??void 0}o(f3,"getURLParameter");function _Oe(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(_Oe,"setURLHost");function vOe(t){try{return new URL(t).pathname}catch{return}}o(vOe,"getURLPath");function POe(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(POe,"getURLScheme");function DOe(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(DOe,"getURLPathAndQuery");function TOe(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(TOe,"getURLQueries");function OOe(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(OOe,"appendToURLQuery");function MOe(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(MOe,"truncatedISO8061Date");function m3(t){return p3.isNodeLike?Buffer.from(t).toString("base64"):btoa(t)}o(m3,"base64encode");function kOe(t){return p3.isNodeLike?Buffer.from(t,"base64").toString():atob(t)}o(kOe,"base64decode");function LOe(t,e){t.length>42&&(t=t.slice(0,42));let s=t+g3(e.toString(),48-t.length,"0");return m3(s)}o(LOe,"generateBlockID");async function UOe(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(UOe,"delay");function g3(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(g3,"padStart");function y3(t){let e=t;return f3(e,yl.URLConstants.Parameters.SIGNATURE)&&(e=h3(e,yl.URLConstants.Parameters.SIGNATURE,"*****")),e}o(y3,"sanitizeURL");function FOe(t){let e=(0,QOe.createHttpHeaders)();for(let[r,n]of t)r.toLowerCase()===yl.HeaderConstants.AUTHORIZATION.toLowerCase()?e.set(r,"*****"):r.toLowerCase()===yl.HeaderConstants.X_MS_COPY_SOURCE?e.set(r,y3(n)):e.set(r,n);return e}o(FOe,"sanitizeHeaders");function qOe(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(qOe,"iEqual");function C3(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:E3(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(C3,"getAccountNameFromUrl");function E3(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&&yl.PathStylePorts.includes(t.port)}o(E3,"isIpEndpointStyle");function HOe(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(HOe,"toBlobTagsString");function zOe(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(zOe,"toBlobTags");function jOe(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(jOe,"toTags");function GOe(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(GOe,"toQuerySerialization");function YOe(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(YOe,"parseObjectReplicationRecord");function JOe(t,e){return t.credential=e,t}o(JOe,"attachCredential");function VOe(t){return t?t.scheme+" "+t.value:void 0}o(VOe,"httpAuthorizationToString");function eg(t){return t.encoded?decodeURIComponent(t.content):t.content}o(eg,"BlobNameToString");function WOe(t){return{...t,segment:{blobItems:t.segment.blobItems.map(e=>({...e,name:eg(e.name)}))}}}o(WOe,"ConvertInternalResponseOfListBlobFlat");function $Oe(t){return{...t,segment:{blobPrefixes:t.segment.blobPrefixes?.map(e=>({...e,name:eg(e.name)})),blobItems:t.segment.blobItems.map(e=>({...e,name:eg(e.name)}))}}}o($Oe,"ConvertInternalResponseOfListBlobHierarchy");function*KOe(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(KOe,"ExtractPageRangeInfoItems");function XOe(t){let e=t.split("/");for(let r=0;r<e.length;r++)e[r]=encodeURIComponent(e[r]);return e.join("/")}o(XOe,"EscapePath");function ZOe(t){if("_response"in t)return t;throw new TypeError(`Unexpected response object ${t}`)}o(ZOe,"assertResponse")});var ng=g(rg=>{"use strict";Object.defineProperty(rg,"__esModule",{value:!0});rg.StorageClient=void 0;var eMe=Ux(),B3=to(),tg=Rn(),Fx=class{static{o(this,"StorageClient")}url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,r){this.url=(0,tg.escapeURLPath)(e),this.accountName=(0,tg.getAccountNameFromUrl)(e),this.pipeline=r,this.storageClientContext=new eMe.StorageContextClient(this.url,(0,B3.getCoreClientOptions)(r)),this.isHttps=(0,tg.iEqual)((0,tg.getURLScheme)(this.url)||"","https"),this.credential=(0,B3.getCredentialFromPipeline)(r);let n=this.storageClientContext;n.requestContentType=void 0}};rg.StorageClient=Fx});var sa=g(ig=>{"use strict";Object.defineProperty(ig,"__esModule",{value:!0});ig.tracingClient=void 0;var tMe=qN(),rMe=en();ig.tracingClient=(0,tMe.createTracingClient)({packageName:"@azure/storage-blob",packageVersion:rMe.SDK_VERSION,namespace:"Microsoft.Storage"})});var Hx=g(sg=>{"use strict";Object.defineProperty(sg,"__esModule",{value:!0});sg.BlobSASPermissions=void 0;var qx=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("")}};sg.BlobSASPermissions=qx});var jx=g(og=>{"use strict";Object.defineProperty(og,"__esModule",{value:!0});og.ContainerSASPermissions=void 0;var zx=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("")}};og.ContainerSASPermissions=zx});var ag=g(Gx=>{"use strict";Object.defineProperty(Gx,"__esModule",{value:!0});Gx.ipRangeToString=nMe;function nMe(t){return t.end?`${t.start}-${t.end}`:t.start}o(nMe,"ipRangeToString")});var lg=g(Cl=>{"use strict";Object.defineProperty(Cl,"__esModule",{value:!0});Cl.SASQueryParameters=Cl.SASProtocol=void 0;var iMe=ag(),cg=Rn(),I3;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(I3||(Cl.SASProtocol=I3={}));var Yx=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,m,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=m,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,cg.truncatedISO8061Date)(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(r,n,this.expiresOn?(0,cg.truncatedISO8061Date)(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(r,n,this.ipRange?(0,iMe.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,cg.truncatedISO8061Date)(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(r,n,this.signedExpiresOn?(0,cg.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}`))}};Cl.SASQueryParameters=Yx});var ug=g(Ag=>{"use strict";Object.defineProperty(Ag,"__esModule",{value:!0});Ag.generateBlobSASQueryParameters=aMe;Ag.generateBlobSASQueryParametersInternal=Q3;var oa=Hx(),aa=jx(),sMe=ei(),ca=ag(),la=lg(),b3=en(),yt=Rn(),oMe=ei();function aMe(t,e,r){return Q3(t,e,r).sasQueryParameters}o(aMe,"generateBlobSASQueryParameters");function Q3(t,e,r){let n=t.version?t.version:b3.SERVICE_VERSION,i=e instanceof sMe.StorageSharedKeyCredential?e:void 0,s;if(i===void 0&&r!==void 0&&(s=new oMe.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?AMe(t,i):n>="2025-07-05"?hMe(t,s):pMe(t,s);if(n>="2018-11-09")return i!==void 0?lMe(t,i):n>="2020-02-10"?dMe(t,s):uMe(t,s);if(n>="2015-04-05"){if(i!==void 0)return cMe(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(Q3,"generateBlobSASQueryParametersInternal");function cMe(t,e){if(t=ua(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=oa.BlobSASPermissions.parse(t.permissions.toString()).toString():n=aa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",Aa(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,ca.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 la.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(cMe,"generateBlobSASQueryParameters20150405");function lMe(t,e){if(t=ua(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=oa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=aa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",Aa(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,ca.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 la.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(lMe,"generateBlobSASQueryParameters20181109");function AMe(t,e){if(t=ua(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=oa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=aa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",Aa(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,ca.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 la.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(AMe,"generateBlobSASQueryParameters20201206");function uMe(t,e){if(t=ua(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=oa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=aa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",Aa(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?(0,ca.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 la.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(uMe,"generateBlobSASQueryParametersUDK20181109");function dMe(t,e){if(t=ua(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=oa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=aa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",Aa(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?(0,ca.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 la.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(dMe,"generateBlobSASQueryParametersUDK20200210");function pMe(t,e){if(t=ua(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=oa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=aa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",Aa(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?(0,ca.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 la.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(pMe,"generateBlobSASQueryParametersUDK20201206");function hMe(t,e){if(t=ua(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=oa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=aa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",Aa(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?(0,ca.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 la.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(hMe,"generateBlobSASQueryParametersUDK20250705");function Aa(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(Aa,"getCanonicalName");function ua(t){let e=t.version?t.version:b3.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(ua,"SASSignatureValuesSanityCheckAndAutofill")});var hg=g(pg=>{"use strict";Object.defineProperty(pg,"__esModule",{value:!0});pg.BlobLeaseClient=void 0;var fMe=pt(),vi=en(),Wu=sa(),dg=Rn(),Jx=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,fMe.randomUUID)()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==vi.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==vi.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 Wu.tracingClient.withSpan("BlobLeaseClient-acquireLease",r,async n=>(0,dg.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!==vi.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==vi.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 Wu.tracingClient.withSpan("BlobLeaseClient-changeLease",r,async n=>{let i=(0,dg.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!==vi.ETagNone||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==vi.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 Wu.tracingClient.withSpan("BlobLeaseClient-releaseLease",e,async r=>(0,dg.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!==vi.ETagNone||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==vi.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 Wu.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!==vi.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==vi.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 Wu.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,dg.assertResponse)(await this._containerOrBlobOperation.breakLease(i))})}};pg.BlobLeaseClient=Jx});var w3=g(fg=>{"use strict";Object.defineProperty(fg,"__esModule",{value:!0});fg.AbortError=void 0;var Vx=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};fg.AbortError=Vx});var Wx=g(mg=>{"use strict";Object.defineProperty(mg,"__esModule",{value:!0});mg.AbortError=void 0;var mMe=w3();Object.defineProperty(mg,"AbortError",{enumerable:!0,get:function(){return mMe.AbortError}})});var N3=g(gg=>{"use strict";Object.defineProperty(gg,"__esModule",{value:!0});gg.RetriableReadableStream=void 0;var gMe=Wx(),yMe=require("node:stream"),$x=class extends yMe.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 gMe.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)}};gg.RetriableReadableStream=$x});var x3=g(yg=>{"use strict";Object.defineProperty(yg,"__esModule",{value:!0});yg.BlobDownloadResponse=void 0;var CMe=pt(),EMe=N3(),Kx=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 CMe.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 EMe.RetriableReadableStream(this.originalResponse.readableStreamBody,r,n,i,s)}};yg.BlobDownloadResponse=Kx});var S3=g(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.AVRO_SCHEMA_KEY=Pi.AVRO_CODEC_KEY=Pi.AVRO_INIT_BYTES=Pi.AVRO_SYNC_MARKER_SIZE=void 0;Pi.AVRO_SYNC_MARKER_SIZE=16;Pi.AVRO_INIT_BYTES=new Uint8Array([79,98,106,1]);Pi.AVRO_CODEC_KEY="avro.codec";Pi.AVRO_SCHEMA_KEY="avro.schema"});var R3=g(El=>{"use strict";Object.defineProperty(El,"__esModule",{value:!0});El.AvroType=El.AvroParser=void 0;var Pr=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=Pr;var da;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(da||(da={}));var Jt;(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"})(Jt||(Jt={}));var ao=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 Jt.NULL:case Jt.BOOLEAN:case Jt.INT:case Jt.LONG:case Jt.FLOAT:case Jt.DOUBLE:case Jt.BYTES:case Jt.STRING:return new Xx(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new eS(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case da.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 rS(n,e.name);case da.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 Zx(e.symbols);case da.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new tS(t.fromSchema(e.values));case da.ARRAY:case da.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}};El.AvroType=ao;var Xx=class extends ao{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Jt.NULL:return Pr.readNull();case Jt.BOOLEAN:return Pr.readBoolean(e,r);case Jt.INT:return Pr.readInt(e,r);case Jt.LONG:return Pr.readLong(e,r);case Jt.FLOAT:return Pr.readFloat(e,r);case Jt.DOUBLE:return Pr.readDouble(e,r);case Jt.BYTES:return Pr.readBytes(e,r);case Jt.STRING:return Pr.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},Zx=class extends ao{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let n=await Pr.readInt(e,r);return this._symbols[n]}},eS=class extends ao{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let n=await Pr.readInt(e,r);return this._types[n].read(e,r)}},tS=class extends ao{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 Pr.readMap(e,n,r)}},rS=class extends ao{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 _3=g(nS=>{"use strict";Object.defineProperty(nS,"__esModule",{value:!0});nS.arraysEqual=BMe;function BMe(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(BMe,"arraysEqual")});var P3=g(Cg=>{"use strict";Object.defineProperty(Cg,"__esModule",{value:!0});Cg.AvroReader=void 0;var Bl=S3(),Di=R3(),v3=_3(),iS=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 Di.AvroParser.readFixedBytes(this._headerStream,Bl.AVRO_INIT_BYTES.length,{abortSignal:e.abortSignal});if(!(0,v3.arraysEqual)(r,Bl.AVRO_INIT_BYTES))throw new Error("Stream is not an Avro file.");this._metadata=await Di.AvroParser.readMap(this._headerStream,Di.AvroParser.readString,{abortSignal:e.abortSignal});let n=this._metadata[Bl.AVRO_CODEC_KEY];if(!(n==null||n==="null"))throw new Error("Codecs are not supported");this._syncMarker=await Di.AvroParser.readFixedBytes(this._headerStream,Bl.AVRO_SYNC_MARKER_SIZE,{abortSignal:e.abortSignal});let i=JSON.parse(this._metadata[Bl.AVRO_SCHEMA_KEY]);if(this._itemType=Di.AvroType.fromSchema(i),this._blockOffset===0&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await Di.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal}),await Di.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 Di.AvroParser.readFixedBytes(this._dataStream,Bl.AVRO_SYNC_MARKER_SIZE,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!(0,v3.arraysEqual)(this._syncMarker,n))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await Di.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await Di.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};Cg.AvroReader=iS});var oS=g(Eg=>{"use strict";Object.defineProperty(Eg,"__esModule",{value:!0});Eg.AvroReadable=void 0;var sS=class{static{o(this,"AvroReadable")}};Eg.AvroReadable=sS});var T3=g(Bg=>{"use strict";Object.defineProperty(Bg,"__esModule",{value:!0});Bg.AvroReadableFromStream=void 0;var IMe=oS(),bMe=Wx(),QMe=require("buffer"),D3=new bMe.AbortError("Reading from the avro stream was aborted."),aS=class extends IMe.AvroReadable{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?QMe.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 D3;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(D3)},"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)})}};Bg.AvroReadableFromStream=aS});var O3=g(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.AvroReadableFromStream=co.AvroReadable=co.AvroReader=void 0;var wMe=P3();Object.defineProperty(co,"AvroReader",{enumerable:!0,get:function(){return wMe.AvroReader}});var NMe=oS();Object.defineProperty(co,"AvroReadable",{enumerable:!0,get:function(){return NMe.AvroReadable}});var xMe=T3();Object.defineProperty(co,"AvroReadableFromStream",{enumerable:!0,get:function(){return xMe.AvroReadableFromStream}})});var k3=g(Ig=>{"use strict";Object.defineProperty(Ig,"__esModule",{value:!0});Ig.BlobQuickQueryStream=void 0;var SMe=require("node:stream"),M3=O3(),cS=class extends SMe.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 M3.AvroReader(new M3.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)}};Ig.BlobQuickQueryStream=cS});var L3=g(bg=>{"use strict";Object.defineProperty(bg,"__esModule",{value:!0});bg.BlobQueryResponse=void 0;var RMe=pt(),_Me=k3(),lS=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 RMe.isNodeLike?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new _Me.BlobQuickQueryStream(this.originalResponse.readableStreamBody,r)}};bg.BlobQueryResponse=lS});var AS=g(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.StorageBlobAudience=ti.PremiumPageBlobTier=ti.BlockBlobTier=void 0;ti.toAccessTier=PMe;ti.ensureCpkIfSpecified=DMe;ti.getBlobServiceAccountAudience=TMe;var vMe=en(),U3;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(U3||(ti.BlockBlobTier=U3={}));var F3;(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"})(F3||(ti.PremiumPageBlobTier=F3={}));function PMe(t){if(t!==void 0)return t}o(PMe,"toAccessTier");function DMe(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=vMe.EncryptionAlgorithmAES25)}o(DMe,"ensureCpkIfSpecified");var q3;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(q3||(ti.StorageBlobAudience=q3={}));function TMe(t){return`https://${t}.blob.core.windows.net/.default`}o(TMe,"getBlobServiceAccountAudience")});var H3=g(uS=>{"use strict";Object.defineProperty(uS,"__esModule",{value:!0});uS.rangeResponseFromModel=OMe;function OMe(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(OMe,"rangeResponseFromModel")});var Z3=g(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});var MMe=require("os"),kMe=require("util");function LMe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(LMe,"_interopDefaultLegacy");var UMe=LMe(kMe);function FMe(t,...e){process.stderr.write(`${UMe.default.format(t,...e)}${MMe.EOL}`)}o(FMe,"log");var z3=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,G3,dS=[],pS=[],Ng=[];z3&&hS(z3);var Y3=Object.assign(t=>J3(t),{enable:hS,enabled:fS,disable:qMe,log:FMe});function hS(t){G3=t,dS=[],pS=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?pS.push(new RegExp(`^${n.substr(1)}$`)):dS.push(new RegExp(`^${n}$`));for(let n of Ng)n.enabled=fS(n.namespace)}o(hS,"enable");function fS(t){if(t.endsWith("*"))return!0;for(let e of pS)if(e.test(t))return!1;for(let e of dS)if(e.test(t))return!0;return!1}o(fS,"enabled");function qMe(){let t=G3||"";return hS(""),t}o(qMe,"disable");function J3(t){let e=Object.assign(r,{enabled:fS(t),destroy:HMe,log:Y3.log,namespace:t,extend:zMe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),Ng.push(e),e}o(J3,"createDebugger");function HMe(){let t=Ng.indexOf(this);return t>=0?(Ng.splice(t,1),!0):!1}o(HMe,"destroy");function zMe(t){let e=J3(`${this.namespace}:${t}`);return e.log=this.log,e}o(zMe,"extend");var $u=Y3,V3=new Set,Qg=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,xg,Sg=$u("azure");Sg.log=(...t)=>{$u.log(...t)};var mS=["verbose","info","warning","error"];Qg&&(X3(Qg)?W3(Qg):console.error(`AZURE_LOG_LEVEL set to unknown log level '${Qg}'; logging is not enabled. Acceptable values: ${mS.join(", ")}.`));function W3(t){if(t&&!X3(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${mS.join(",")}`);xg=t;let e=[];for(let r of V3)K3(r)&&e.push(r.namespace);$u.enable(e.join(","))}o(W3,"setLogLevel");function jMe(){return xg}o(jMe,"getLogLevel");var j3={verbose:400,info:300,warning:200,error:100};function GMe(t){let e=Sg.extend(t);return $3(Sg,e),{error:wg(e,"error"),warning:wg(e,"warning"),info:wg(e,"info"),verbose:wg(e,"verbose")}}o(GMe,"createClientLogger");function $3(t,e){e.log=(...r)=>{t.log(...r)}}o($3,"patchLogMethod");function wg(t,e){let r=Object.assign(t.extend(e),{level:e});if($3(t,r),K3(r)){let n=$u.disable();$u.enable(n+","+r.namespace)}return V3.add(r),r}o(wg,"createLogger");function K3(t){return!!(xg&&j3[t.level]<=j3[xg])}o(K3,"shouldEnable");function X3(t){return mS.includes(t)}o(X3,"isAzureLogLevel");Il.AzureLogger=Sg;Il.createClientLogger=GMe;Il.getLogLevel=jMe;Il.setLogLevel=W3});var _g=g(Xu=>{"use strict";Object.defineProperty(Xu,"__esModule",{value:!0});var bl=new WeakMap,Rg=new WeakMap,Ku=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,bl.set(this,[]),Rg.set(this,!1)}get aborted(){if(!Rg.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return Rg.get(this)}static get none(){return new t}addEventListener(e,r){if(!bl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");bl.get(this).push(r)}removeEventListener(e,r){if(!bl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=bl.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 eK(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=bl.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),Rg.set(t,!0)}o(eK,"abortSignal");var gS=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},yS=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new Ku,!!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(){eK(this._signal)}static timeout(e){let r=new Ku,n=setTimeout(eK,e,r);return typeof n.unref=="function"&&n.unref(),r}};Xu.AbortController=yS;Xu.AbortError=gS;Xu.AbortSignal=Ku});var sK=g(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});var YMe=_g(),wS=require("crypto");function tK(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new YMe.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(tK,"createAbortablePromise");var JMe="The delay was aborted.";function VMe(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return tK(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:i??JMe})}o(VMe,"delay");function WMe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(WMe,"getRandomIntegerInclusive");function rK(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(rK,"isObject");function nK(t){if(rK(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(nK,"isError");function $Me(t){if(nK(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($Me,"getErrorMessage");async function KMe(t,e,r){let n=Buffer.from(t,"base64");return wS.createHmac("sha256",n).update(e).digest(r)}o(KMe,"computeSha256Hmac");async function XMe(t,e){return wS.createHash("sha256").update(t).digest(e)}o(XMe,"computeSha256Hash");function NS(t){return typeof t<"u"&&t!==null}o(NS,"isDefined");function ZMe(t,e){if(!NS(t)||typeof t!="object")return!1;for(let r of e)if(!iK(t,r))return!1;return!0}o(ZMe,"isObjectWithProperties");function iK(t,e){return NS(t)&&typeof t=="object"&&e in t}o(iK,"objectHasProperty");function eke(){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(eke,"generateUUID");var CS,QS=typeof((CS=globalThis?.crypto)===null||CS===void 0?void 0:CS.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):wS.randomUUID;QS||(QS=eke);function tke(){return QS()}o(tke,"randomUUID");var ES,BS,IS,bS,rke=typeof window<"u"&&typeof window.document<"u",nke=typeof self=="object"&&typeof self?.importScripts=="function"&&(((ES=self.constructor)===null||ES===void 0?void 0:ES.name)==="DedicatedWorkerGlobalScope"||((BS=self.constructor)===null||BS===void 0?void 0:BS.name)==="ServiceWorkerGlobalScope"||((IS=self.constructor)===null||IS===void 0?void 0:IS.name)==="SharedWorkerGlobalScope"),ike=typeof process<"u"&&!!process.version&&!!(!((bS=process.versions)===null||bS===void 0)&&bS.node),ske=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",oke=typeof Bun<"u"&&typeof Bun.version<"u",ake=typeof navigator<"u"&&navigator?.product==="ReactNative";function cke(t,e){switch(e){case"utf-8":return dke(t);case"base64":return Ake(t);case"base64url":return uke(t)}}o(cke,"uint8ArrayToString");function lke(t,e){switch(e){case"utf-8":return pke(t);case"base64":return hke(t);case"base64url":return fke(t)}}o(lke,"stringToUint8Array");function Ake(t){return Buffer.from(t).toString("base64")}o(Ake,"uint8ArrayToBase64");function uke(t){return Buffer.from(t).toString("base64url")}o(uke,"uint8ArrayToBase64Url");function dke(t){return Buffer.from(t).toString("utf-8")}o(dke,"uint8ArrayToUtf8String");function pke(t){return Buffer.from(t)}o(pke,"utf8StringToUint8Array");function hke(t){return Buffer.from(t,"base64")}o(hke,"base64ToUint8Array");function fke(t){return Buffer.from(t,"base64url")}o(fke,"base64UrlToUint8Array");Ct.computeSha256Hash=XMe;Ct.computeSha256Hmac=KMe;Ct.createAbortablePromise=tK;Ct.delay=VMe;Ct.getErrorMessage=$Me;Ct.getRandomIntegerInclusive=WMe;Ct.isBrowser=rke;Ct.isBun=oke;Ct.isDefined=NS;Ct.isDeno=ske;Ct.isError=nK;Ct.isNode=ike;Ct.isObject=rK;Ct.isObjectWithProperties=ZMe;Ct.isReactNative=ake;Ct.isWebWorker=nke;Ct.objectHasProperty=iK;Ct.randomUUID=tke;Ct.stringToUint8Array=lke;Ct.uint8ArrayToString=cke});var NK=g(ha=>{"use strict";Object.defineProperty(ha,"__esModule",{value:!0});var mke=Z3(),oK=_g(),gke=sK(),pa=mke.createClientLogger("core-lro"),cK=2e3,lK=["succeeded","canceled","failed"];function AK(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(AK,"deserializeState");function aK(t){let{state:e,stateProxy:r,isOperationError:n}=t;return i=>{throw n(i)&&(r.setError(e,i),r.setFailed(e)),i}}o(aK,"setStateError");function yke(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(yke,"appendReadableErrorMessage");function Cke(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=yke(e,n.message);return{code:r,message:e}}o(Cke,"simplifyError");function uK(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:m}=Cke(A);u=`. ${f}. ${m}`}let d=`The long-running operation has failed${u}`;r.setError(e,new Error(d)),r.setFailed(e),pa.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,Eke({response:c,state:e,processResult:s}))}o(uK,"processOperationStatus");function Eke(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(Eke,"buildResult");async function dK(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};pa.verbose("LRO: Operation description:",d);let f=r.initState(d),m=i({response:u,state:f,operationLocation:c});return uK({state:f,status:m,stateProxy:r,response:u,setErrorAsResult:a,processResult:n}),f}o(dK,"initOperation");async function Bke(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(aK({state:r,stateProxy:n,isOperationError:c})),u=s(A,r);if(pa.verbose(`LRO: Status:
Polling from: ${r.config.operationLocation}
Operation status: ${u}
Polling status: ${lK.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let d=a(A,r);if(d!==void 0)return{response:await e(d).catch(aK({state:r,stateProxy:n,isOperationError:c})),status:u}}return{response:A,status:u}}o(Bke,"pollOperationHelper");async function pK(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:m,setDelay:C,isDone:Q,setErrorAsResult:S}=t,{operationLocation:w}=r.config;if(w!==void 0){let{response:R,status:T}=await Bke({poll:e,getOperationStatus:s,state:r,stateProxy:n,operationLocation:w,getResourceLocation:a,isOperationError:l,options:i});if(uK({status:T,response:R,state:r,stateProxy:n,isDone:Q,processResult:d,getError:f,setErrorAsResult:S}),!lK.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)}m?.(r,R)}}o(pK,"pollOperation");function hK(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(hK,"getOperationLocationPollingUrl");function fK(t){return t.headers.location}o(fK,"getLocationHeader");function mK(t){return t.headers["operation-location"]}o(mK,"getOperationLocationHeader");function gK(t){return t.headers["azure-asyncoperation"]}o(gK,"getAzureAsyncOperationHeader");function Ike(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(Ike,"findResourceLocation");function yK(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:i}=t,s=mK(e),a=gK(e),c=hK({operationLocation:s,azureAsyncOperation:a}),l=fK(e),A=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:Ike({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(yK,"inferLroMode");function CK(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 RS(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 pa.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(CK,"transformStatus");function bke(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return CK({status:r,statusCode:t.statusCode})}o(bke,"getStatus");function Qke(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 CK({status:s,statusCode:t.statusCode})}o(Qke,"getProvisioningState");function RS(t){return t===202?"running":t<300?"succeeded":"failed"}o(RS,"toOperationStatus");function EK({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?wke(new Date(e)):r*1e3}}o(EK,"parseRetryAfter");function BK(t){let e=t.flatResponse.error;if(!e){pa.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){pa.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(BK,"getErrorFromResponse");function wke(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}o(wke,"calculatePollingIntervalFromDate");function IK(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 RS(e.rawResponse.statusCode);case"Body":return _S(e,r);default:return"running"}}o(i,"helper");let s=i();return s==="running"&&n===void 0?"succeeded":s}o(IK,"getStatusFromInitialResponse");async function Nke(t){let{stateProxy:e,resourceLocationConfig:r,processResult:n,lro:i,setErrorAsResult:s}=t;return dK({init:async()=>{let a=await i.sendInitialRequest(),c=yK({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:IK,setErrorAsResult:s})}o(Nke,"initHttpOperation");function bK({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return hK({operationLocation:mK(t),azureAsyncOperation:gK(t)});case"ResourceLocation":return fK(t);case"Body":default:return}}o(bK,"getOperationLocation");function _S({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return bke(t);case"ResourceLocation":return RS(t.statusCode);case"Body":return Qke(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}o(_S,"getOperationStatus");function QK({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(QK,"getResourceLocation");function wK(t){return t.name==="RestError"}o(wK,"isOperationError");async function xke(t){let{lro:e,stateProxy:r,options:n,processResult:i,updateState:s,setDelay:a,state:c,setErrorAsResult:l}=t;return pK({state:c,stateProxy:r,setDelay:a,processResult:i?({flatResponse:A},u)=>i(A,u):({flatResponse:A})=>A,getError:BK,updateState:s,getPollingInterval:EK,getOperationLocation:bK,getOperationStatus:_S,isOperationError:wK,getResourceLocation:QK,options:n,poll:async(A,u)=>e.sendPollRequest(A,u),setErrorAsResult:l})}o(xke,"pollHttpOperation");var Ske=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 Rke(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:m,withOperationLocation:C,intervalInMs:Q=cK,restoreFrom:S}=d||{},w=Ske(),R=C?(()=>{let Xe=!1;return(fe,Ge)=>{Ge?C(fe):Xe||C(fe),Xe=!0}})():void 0,T=S?AK(S):await dK({init:A,stateProxy:w,processResult:f,getOperationStatus:r,withOperationLocation:R,setErrorAsResult:!l}),L,W=new oK.AbortController,de=new Map,le=o(async()=>de.forEach(Xe=>Xe(T)),"handleProgressEvents"),Te="Operation was canceled",Oe=Q,He={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:Xe=>{let fe=Symbol();return de.set(fe,Xe),()=>de.delete(fe)},pollUntilDone:Xe=>L??(L=(async()=>{let{abortSignal:fe}=Xe||{},{signal:Ge}=fe?new oK.AbortController([fe,W.signal]):W;if(!He.isDone())for(await He.poll({abortSignal:Ge});!He.isDone();)await gke.delay(Oe,{abortSignal:Ge}),await He.poll({abortSignal:Ge});if(l)return He.getResult();switch(T.status){case"succeeded":return He.getResult();case"canceled":throw new Error(Te);case"failed":throw T.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{L=void 0})),async poll(Xe){if(l){if(He.isDone())return}else switch(T.status){case"succeeded":return;case"canceled":throw new Error(Te);case"failed":throw T.error}if(await pK({poll:u,state:T,stateProxy:w,getOperationLocation:e,isOperationError:i,withOperationLocation:R,getPollingInterval:a,getOperationStatus:n,getResourceLocation:s,processResult:f,getError:c,updateState:m,options:Xe,setDelay:fe=>{Oe=fe},setErrorAsResult:!l}),await le(),!l)switch(T.status){case"canceled":throw new Error(Te);case"failed":throw T.error}}};return He}}o(Rke,"buildCreatePoller");async function _ke(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:i,restoreFrom:s,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return Rke({getStatusFromInitialResponse:IK,getStatusFromPollResponse:_S,isOperationError:wK,getOperationLocation:bK,getResourceLocation:QK,getPollingInterval:EK,getError:BK,resolveOnUnsuccessful:l})({init:async()=>{let A=await t.sendInitialRequest(),u=yK({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(_ke,"createHttpPoller");var vke=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"),xS=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=vke();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await Nke({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 xke({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 pa.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},vg=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},Pg=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},Dg=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 Pg("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 vg("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()}},SS=class extends Dg{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=cK,resumeFrom:i,resolveOnUnsuccessful:s=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:A}=r||{},u=i?AK(i):{},d=new xS(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))}};ha.LroEngine=SS;ha.Poller=Dg;ha.PollerCancelledError=Pg;ha.PollerStoppedError=vg;ha.createHttpPoller=_ke});var xK=g(Tg=>{"use strict";Object.defineProperty(Tg,"__esModule",{value:!0});Tg.BlobBeginCopyFromUrlPoller=void 0;var Pke=pt(),Dke=NK(),vS=class extends Dke.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=Zu({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(A),typeof s=="function"&&this.onProgress(s),this.intervalInMs=i}delay(){return(0,Pke.delay)(this.intervalInMs)}};Tg.BlobBeginCopyFromUrlPoller=vS;var Tke=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?Zu(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,Zu(r)):(r.isCancelled=!0,Zu(r))},"cancel"),Oke=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 Zu(r)},"update"),Mke=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function Zu(t){return{state:{...t},cancel:Tke,toString:Mke,update:Oke}}o(Zu,"makeBlobBeginCopyFromURLPollOperation")});var SK=g(PS=>{"use strict";Object.defineProperty(PS,"__esModule",{value:!0});PS.rangeToString=kke;function kke(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(kke,"rangeToString")});var RK=g(Og=>{"use strict";Object.defineProperty(Og,"__esModule",{value:!0});Og.Batch=void 0;var Lke=require("events"),ed;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(ed||(ed={}));var DS=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=ed.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new Lke.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=ed.Error,r(n)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==ed.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}}}};Og.Batch=DS});var OS=g(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});Ti.fsCreateReadStream=Ti.fsStat=void 0;Ti.streamToBuffer=qke;Ti.streamToBuffer2=Hke;Ti.streamToBuffer3=zke;Ti.readStreamToLocalFile=jke;var _K=(Xr(),Zt(Kr)),TS=_K.__importDefault(require("node:fs")),Uke=_K.__importDefault(require("node:util")),Fke=en();async function qke(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.")),Fke.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(qke,"streamToBuffer");async function Hke(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(Hke,"streamToBuffer2");async function zke(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(zke,"streamToBuffer3");async function jke(t,e){return new Promise((r,n)=>{let i=TS.default.createWriteStream(e);t.on("error",s=>{n(s)}),i.on("error",s=>{n(s)}),i.on("close",r),t.pipe(i)})}o(jke,"readStreamToLocalFile");Ti.fsStat=Uke.default.promisify(TS.default.stat);Ti.fsCreateReadStream=TS.default.createReadStream});var zg=g(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.PageBlobClient=Oi.BlockBlobClient=Oi.AppendBlobClient=Oi.BlobClient=void 0;var qg=Ot(),Hg=Kc(),_n=pt(),vK=pt(),Gke=x3(),Yke=L3(),Et=ei(),et=AS(),MS=H3(),Pt=to(),Jke=xK(),nn=SK(),Vke=ng(),PK=RK(),Wke=ei(),$e=en(),se=sa(),F=Rn(),kg=OS(),Mg=ug(),$ke=hg(),Ql=class t extends Vke.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,Pt.isPipelineLike)(r))a=e,s=r;else if(_n.isNodeLike&&r instanceof Et.StorageSharedKeyCredential||r instanceof Et.AnonymousCredential||(0,Hg.isTokenCredential)(r))a=e,i=n,s=(0,Pt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=(0,Pt.newPipeline)(new Et.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(_n.isNodeLike){let u=new Et.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,qg.getDefaultProxySettings)(A.proxyUri)),s=(0,Pt.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,Pt.newPipeline)(new Et.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,$e.URLConstants.Parameters.SNAPSHOT),this._versionId=(0,F.getURLParameter)(this.url,$e.URLConstants.Parameters.VERSIONID)}withSnapshot(e){return new t((0,F.setURLParameter)(this.url,$e.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t((0,F.setURLParameter)(this.url,$e.URLConstants.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new Lg(this.url,this.pipeline)}getBlockBlobClient(){return new Ug(this.url,this.pipeline)}getPageBlobClient(){return new Fg(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},(0,et.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:_n.isNodeLike?void 0:n.onProgress},range:e===0&&!r?void 0:(0,nn.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(!_n.isNodeLike)return a;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.maxRetryRequests=$e.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 Gke.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,nn.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,et.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===$e.BlobUsesCustomerSpecifiedEncryptionMsg||n.details.errorCode===$e.BlobDoesNotUseCustomerSpecifiedEncryption))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},(0,et.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,et.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,et.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 $ke.BlobLeaseClient(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},(0,et.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 Jke.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,et.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,et.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=$e.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 m=await this.getProperties({...l,tracingOptions:u.tracingOptions});if(c=m.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${m.contentLength}`)}if(!s)try{s=Buffer.alloc(c)}catch(m){throw new Error(`Unable to allocate the buffer of size: ${c}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${m.message}`)}if(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 PK.Batch(l.concurrency);for(let m=a;m<a+c;m=m+A)f.addOperation(async()=>{let C=a+c;m+A<C&&(C=m+A);let S=(await this.download(m,C-m,{abortSignal:l.abortSignal,conditions:l.conditions,maxRetryRequests:l.maxRetryRequestsPerBlock,customerProvidedKey:l.customerProvidedKey,tracingOptions:u.tracingOptions})).readableStreamBody;await(0,kg.streamToBuffer)(S,s,m-a,C-a),d+=C-m,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,kg.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,et.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 Et.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=(0,Mg.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 Et.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return(0,Mg.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,Mg.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,Mg.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})))}};Oi.BlobClient=Ql;var Lg=class t extends Ql{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,Pt.isPipelineLike)(r))a=e,s=r;else if(_n.isNodeLike&&r instanceof Et.StorageSharedKeyCredential||r instanceof Et.AnonymousCredential||(0,Hg.isTokenCredential)(r))a=e,i=n,s=(0,Pt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,s=(0,Pt.newPipeline)(new Et.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(_n.isNodeLike){let u=new Et.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,qg.getDefaultProxySettings)(A.proxyUri)),s=(0,Pt.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,Pt.newPipeline)(new Et.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,$e.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},(0,et.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:$e.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,et.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,et.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,nn.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})))}};Oi.AppendBlobClient=Lg;var Ug=class t extends Ql{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,Pt.isPipelineLike)(r))a=e,s=r;else if(_n.isNodeLike&&r instanceof Et.StorageSharedKeyCredential||r instanceof Et.AnonymousCredential||(0,Hg.isTokenCredential)(r))a=e,i=n,s=(0,Pt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=(0,Pt.newPipeline)(new Et.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(_n.isNodeLike){let u=new Et.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,qg.getDefaultProxySettings)(A.proxyUri)),s=(0,Pt.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,Pt.newPipeline)(new Et.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,$e.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if((0,et.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),!_n.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 Yke.BlobQueryResponse(i,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},(0,et.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,et.toAccessTier)(n.tier),blobTagsString:(0,F.toBlobTagsString)(n.tags),tracingOptions:i.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},(0,et.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,et.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,et.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,et.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,nn.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,et.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,et.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(_n.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>$e.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES)throw new RangeError(`blockSize option must be >= 0 and <= ${$e.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES}`);let s=n.maxSingleShotSize??$e.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES;if(s<0||s>$e.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${$e.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}`);if(i===0){if(r>$e.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES*$e.BLOCK_BLOB_MAX_BLOCKS)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>s&&(i=Math.ceil(r/$e.BLOCK_BLOB_MAX_BLOCKS),i<$e.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES&&(i=$e.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>$e.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 <= ${$e.BLOCK_BLOB_MAX_BLOCKS}`);let l=[],A=(0,vK.randomUUID)(),u=0,d=new PK.Batch(n.concurrency);for(let f=0;f<c;f++)d.addOperation(async()=>{let m=(0,F.generateBlockID)(A,f),C=i*f,S=(f===c-1?r:C+i)-C;l.push(m),await this.stageBlock(m,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,kg.fsStat)(e)).size;return this.uploadSeekableInternal((s,a)=>()=>(0,kg.fsCreateReadStream)(e,{autoClose:!0,end:a?s+a-1:1/0,start:s}),i,{...r,tracingOptions:n.tracingOptions})})}async uploadStream(e,r=$e.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,vK.randomUUID)(),l=0,A=[];return await new Wke.BufferScheduler(e,r,n,async(d,f)=>{let m=(0,F.generateBlockID)(c,a);A.push(m),a++,await this.stageBlock(m,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}))})}};Oi.BlockBlobClient=Ug;var Fg=class t extends Ql{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,Pt.isPipelineLike)(r))a=e,s=r;else if(_n.isNodeLike&&r instanceof Et.StorageSharedKeyCredential||r instanceof Et.AnonymousCredential||(0,Hg.isTokenCredential)(r))a=e,i=n,s=(0,Pt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,s=(0,Pt.newPipeline)(new Et.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(_n.isNodeLike){let u=new Et.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,qg.getDefaultProxySettings)(A.proxyUri)),s=(0,Pt.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,Pt.newPipeline)(new Et.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,$e.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},(0,et.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,et.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:$e.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,et.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,nn.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,et.ensureCpkIfSpecified)(s.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("PageBlobClient-uploadPagesFromURL",s,async a=>(0,F.assertResponse)(await this.pageBlobContext.uploadPagesFromURL(e,(0,nn.rangeToString)({offset:r,count:i}),0,(0,nn.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,nn.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,nn.rangeToString)({offset:e,count:r}),tracingOptions:i.tracingOptions}));return(0,MS.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,nn.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,nn.rangeToString)({offset:e,count:r}),tracingOptions:s.tracingOptions}));return(0,MS.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,nn.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,nn.rangeToString)({offset:e,count:r}),tracingOptions:s.tracingOptions}));return(0,MS.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})))}};Oi.PageBlobClient=Fg});var kS=g(jg=>{"use strict";Object.defineProperty(jg,"__esModule",{value:!0});jg.getBodyAsText=Zke;jg.utf8ByteLength=eLe;var Kke=OS(),Xke=en();async function Zke(t){let e=Buffer.alloc(Xke.BATCH_MAX_PAYLOAD_IN_BYTES),r=await(0,Kke.streamToBuffer2)(t.readableStreamBody,e);return e=e.slice(0,r),e.toString()}o(Zke,"getBodyAsText");function eLe(t){return Buffer.byteLength(t)}o(eLe,"utf8ByteLength")});var OK=g(Yg=>{"use strict";Object.defineProperty(Yg,"__esModule",{value:!0});Yg.BatchResponseParser=void 0;var tLe=Ot(),rLe=gm(),wl=en(),nLe=kS(),iLe=Em(),Gg=": ",DK=" ",TK=-1,LS=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}${wl.HTTP_LINE_ENDING}`,this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==wl.HTTPURLConnection.HTTP_ACCEPTED)throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`);let r=(await(0,nLe.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,rLe.toHttpHeadersLike)((0,tLe.createHttpHeaders)());let u=l.split(`${wl.HTTP_LINE_ENDING}`),d=!1,f=!1,m=!1,C=TK;for(let Q of u){if(!d){if(Q.startsWith(wl.HeaderConstants.CONTENT_ID)&&(C=parseInt(Q.split(Gg)[1])),Q.startsWith(wl.HTTP_VERSION_1_1)){d=!0;let S=Q.split(DK);A.status=parseInt(S[1]),A.statusMessage=S.slice(2).join(DK)}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]===wl.HeaderConstants.X_MS_ERROR_CODE&&(A.errorCode=S[1],m=!0)}}C!==TK&&Number.isInteger(C)&&C>=0&&C<this.subRequests.size&&i[C]===void 0?(A._request=this.subRequests.get(C),i[C]=A):iLe.logger.error(`subResponses[${c}] is dropped as the Content-ID is not found or invalid, Content-ID: ${C}`),m?a++:s++}return{subResponses:i,subResponsesSucceededCount:s,subResponsesFailedCount:a}}};Yg.BatchResponseParser=LS});var MK=g(Jg=>{"use strict";Object.defineProperty(Jg,"__esModule",{value:!0});Jg.Mutex=void 0;var Nl;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(Nl||(Nl={}));var US=class{static{o(this,"Mutex")}static async lock(e){return new Promise(r=>{this.keys[e]===void 0||this.keys[e]===Nl.UNLOCKED?(this.keys[e]=Nl.LOCKED,r()):this.onUnlockEvent(e,()=>{this.keys[e]=Nl.LOCKED,r()})})}static async unlock(e){return new Promise(r=>{this.keys[e]===Nl.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)})}}};Jg.Mutex=US});var GS=g(Wg=>{"use strict";Object.defineProperty(Wg,"__esModule",{value:!0});Wg.BlobBatch=void 0;var sLe=pt(),FS=Kc(),qS=Ot(),kK=pt(),xl=ei(),Vg=zg(),LK=MK(),oLe=to(),HS=Rn(),aLe=F0(),mr=en(),UK=sa(),FK=Ni(),zS=class{static{o(this,"BlobBatch")}batchRequest;batch="batch";batchType;constructor(){this.batchRequest=new jS}getMultiPartContentType(){return this.batchRequest.getMultipartContentType()}getHttpRequestBody(){return this.batchRequest.getHttpRequestBody()}getSubRequests(){return this.batchRequest.getSubRequests()}async addSubRequestInternal(e,r){await LK.Mutex.lock(this.batch);try{this.batchRequest.preAddSubRequest(e),await r(),this.batchRequest.postAddSubRequest(e)}finally{await LK.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"&&(kK.isNodeLike&&r instanceof xl.StorageSharedKeyCredential||r instanceof xl.AnonymousCredential||(0,FS.isTokenCredential)(r)))i=e,s=r;else if(e instanceof Vg.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={}),UK.tracingClient.withSpan("BatchDeleteRequest-addSubRequest",n,async a=>{this.setBatchType("delete"),await this.addSubRequestInternal({url:i,credential:s},async()=>{await new Vg.BlobClient(i,this.batchRequest.createPipeline(s)).delete(a)})})}async setBlobAccessTier(e,r,n,i){let s,a,c;if(typeof e=="string"&&(kK.isNodeLike&&r instanceof xl.StorageSharedKeyCredential||r instanceof xl.AnonymousCredential||(0,FS.isTokenCredential)(r)))s=e,a=r,c=n;else if(e instanceof Vg.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={}),UK.tracingClient.withSpan("BatchSetTierRequest-addSubRequest",i,async l=>{this.setBatchType("setAccessTier"),await this.addSubRequestInternal({url:s,credential:a},async()=>{await new Vg.BlobClient(s,this.batchRequest.createPipeline(a)).setAccessTier(c,l)})})}};Wg.BlobBatch=zS;var jS=class{static{o(this,"InnerBatchRequest")}operationCount;body;subRequests;boundary;subRequestPrefix;multipartContentType;batchRequestEnding;constructor(){this.operationCount=0,this.body="";let e=(0,sLe.randomUUID)();this.boundary=`batch_${e}`,this.subRequestPrefix=`--${this.boundary}${mr.HTTP_LINE_ENDING}${mr.HeaderConstants.CONTENT_TYPE}: application/http${mr.HTTP_LINE_ENDING}${mr.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,qS.createEmptyPipeline)();r.addPolicy((0,FK.serializationPolicy)({stringifyXML:aLe.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"}),r.addPolicy(lLe()),r.addPolicy(cLe(this),{afterPhase:"Sign"}),(0,FS.isTokenCredential)(e)?r.addPolicy((0,qS.bearerTokenAuthenticationPolicy)({credential:e,scopes:mr.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:FK.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):e instanceof xl.StorageSharedKeyCredential&&r.addPolicy((0,xl.storageSharedKeyCredentialPolicy)({accountName:e.accountName,accountKey:e.accountKey}),{phase:"Sign"});let n=new oLe.Pipeline([]);return n._credential=e,n._corePipeline=r,n}appendSubRequestToBody(e){this.body+=[this.subRequestPrefix,`${mr.HeaderConstants.CONTENT_ID}: ${this.operationCount}`,"",`${e.method.toString()} ${(0,HS.getURLPathAndQuery)(e.url)} ${mr.HTTP_VERSION_1_1}${mr.HTTP_LINE_ENDING}`].join(mr.HTTP_LINE_ENDING);for(let[r,n]of e.headers)this.body+=`${r}: ${n}${mr.HTTP_LINE_ENDING}`;this.body+=mr.HTTP_LINE_ENDING}preAddSubRequest(e){if(this.operationCount>=mr.BATCH_MAX_REQUEST)throw new RangeError(`Cannot exceed ${mr.BATCH_MAX_REQUEST} sub requests in a single batch`);let r=(0,HS.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}${mr.HTTP_LINE_ENDING}`}getMultipartContentType(){return this.multipartContentType}getSubRequests(){return this.subRequests}};function cLe(t){return{name:"batchRequestAssemblePolicy",async sendRequest(e){return t.appendSubRequestToBody(e),{request:e,status:200,headers:(0,qS.createHttpHeaders)()}}}}o(cLe,"batchRequestAssemblePolicy");function lLe(){return{name:"batchHeaderFilterPolicy",async sendRequest(t,e){let r="";for(let[n]of t.headers)(0,HS.iEqual)(n,mr.HeaderConstants.X_MS_VERSION)&&(r=n);return r!==""&&t.headers.delete(r),e(t)}}}o(lLe,"batchHeaderFilterPolicy")});var Xg=g(Kg=>{"use strict";Object.defineProperty(Kg,"__esModule",{value:!0});Kg.BlobBatchClient=void 0;var ALe=OK(),uLe=kS(),YS=GS(),dLe=sa(),pLe=ei(),hLe=Ux(),$g=to(),qK=Rn(),JS=class{static{o(this,"BlobBatchClient")}serviceOrContainerContext;constructor(e,r,n){let i;(0,$g.isPipelineLike)(r)?i=r:r?i=(0,$g.newPipeline)(r,n):i=(0,$g.newPipeline)(new pLe.AnonymousCredential,n);let s=new hLe.StorageContextClient(e,(0,$g.getCoreClientOptions)(i)),a=(0,qK.getURLPath)(e);a&&a!=="/"?this.serviceOrContainerContext=s.container:this.serviceOrContainerContext=s.service}createBatch(){return new YS.BlobBatch}async deleteBlobs(e,r,n){let i=new YS.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 YS.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 dLe.tracingClient.withSpan("BlobBatchClient-submitBatch",r,async n=>{let i=e.getHttpRequestBody(),s=(0,qK.assertResponse)(await this.serviceOrContainerContext.submitBatch((0,uLe.utf8ByteLength)(i),e.getMultiPartContentType(),i,{...n})),c=await new ALe.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}})}};Kg.BlobBatchClient=JS});var WS=g(ty=>{"use strict";Object.defineProperty(ty,"__esModule",{value:!0});ty.ContainerClient=void 0;var fLe=Ot(),HK=pt(),mLe=Kc(),fa=ei(),td=to(),gLe=ng(),gr=sa(),xe=Rn(),Zg=ug(),yLe=hg(),ey=zg(),CLe=Xg(),VS=class extends gLe.StorageClient{static{o(this,"ContainerClient")}containerContext;_containerName;get containerName(){return this._containerName}constructor(e,r,n){let i,s;if(n=n||{},(0,td.isPipelineLike)(r))s=e,i=r;else if(HK.isNodeLike&&r instanceof fa.StorageSharedKeyCredential||r instanceof fa.AnonymousCredential||(0,mLe.isTokenCredential)(r))s=e,i=(0,td.newPipeline)(r,n);else if(!r&&typeof r!="string")s=e,i=(0,td.newPipeline)(new fa.AnonymousCredential,n);else if(r&&typeof r=="string"){let a=r,c=(0,xe.extractConnectionStringParts)(e);if(c.kind==="AccountConnString")if(HK.isNodeLike){let l=new fa.StorageSharedKeyCredential(c.accountName,c.accountKey);s=(0,xe.appendToURLPath)(c.url,encodeURIComponent(a)),n.proxyOptions||(n.proxyOptions=(0,fLe.getDefaultProxySettings)(c.proxyUri)),i=(0,td.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,td.newPipeline)(new fa.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 gr.tracingClient.withSpan("ContainerClient-create",e,async r=>(0,xe.assertResponse)(await this.containerContext.create(r)))}async createIfNotExists(e={}){return gr.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 gr.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 ey.BlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}getAppendBlobClient(e){return new ey.AppendBlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}getBlockBlobClient(e){return new ey.BlockBlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}getPageBlobClient(e){return new ey.PageBlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}async getProperties(e={}){return e.conditions||(e.conditions={}),gr.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={}),gr.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 gr.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 gr.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={}),gr.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||{},gr.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 yLe.BlobLeaseClient(this,e)}async uploadBlockBlob(e,r,n,i={}){return gr.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 gr.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 gr.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 gr.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 gr.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 gr.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 fa.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=(0,Zg.generateBlobSASQueryParameters)({containerName:this._containerName,...e},this.credential).toString();r((0,xe.appendToURLQuery)(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof fa.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return(0,Zg.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=(0,Zg.generateBlobSASQueryParameters)({containerName:this._containerName,...e},r,this.accountName).toString();n((0,xe.appendToURLQuery)(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return(0,Zg.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...e},r,this.accountName).stringToSign}getBlobBatchClient(){return new CLe.BlobBatchClient(this.url,this.pipeline)}};ty.ContainerClient=VS});var ny=g(ry=>{"use strict";Object.defineProperty(ry,"__esModule",{value:!0});ry.AccountSASPermissions=void 0;var $S=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("")}};ry.AccountSASPermissions=$S});var XS=g(iy=>{"use strict";Object.defineProperty(iy,"__esModule",{value:!0});iy.AccountSASResourceTypes=void 0;var KS=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("")}};iy.AccountSASResourceTypes=KS});var oy=g(sy=>{"use strict";Object.defineProperty(sy,"__esModule",{value:!0});sy.AccountSASServices=void 0;var ZS=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("")}};sy.AccountSASServices=ZS});var eR=g(cy=>{"use strict";Object.defineProperty(cy,"__esModule",{value:!0});cy.generateAccountSASQueryParameters=wLe;cy.generateAccountSASQueryParametersInternal=jK;var ELe=ny(),BLe=XS(),ILe=oy(),zK=ag(),bLe=lg(),QLe=en(),ay=Rn();function wLe(t,e){return jK(t,e).sasQueryParameters}o(wLe,"generateAccountSASQueryParameters");function jK(t,e){let r=t.version?t.version:QLe.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=ELe.AccountSASPermissions.parse(t.permissions.toString()),i=ILe.AccountSASServices.parse(t.services).toString(),s=BLe.AccountSASResourceTypes.parse(t.resourceTypes).toString(),a;r>="2020-12-06"?a=[e.accountName,n,i,s,t.startsOn?(0,ay.truncatedISO8061Date)(t.startsOn,!1):"",(0,ay.truncatedISO8061Date)(t.expiresOn,!1),t.ipRange?(0,zK.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",r,t.encryptionScope?t.encryptionScope:"",""].join(`
`):a=[e.accountName,n,i,s,t.startsOn?(0,ay.truncatedISO8061Date)(t.startsOn,!1):"",(0,ay.truncatedISO8061Date)(t.expiresOn,!1),t.ipRange?(0,zK.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",r,""].join(`
`);let c=e.computeHMACSHA256(a);return{sasQueryParameters:new bLe.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(jK,"generateAccountSASQueryParametersInternal")});var WK=g(Ay=>{"use strict";Object.defineProperty(Ay,"__esModule",{value:!0});Ay.BlobServiceClient=void 0;var NLe=Kc(),xLe=Ot(),GK=pt(),rd=to(),SLe=WS(),ly=Rn(),ma=ei(),Mi=Rn(),ki=sa(),RLe=Xg(),_Le=ng(),YK=ny(),JK=eR(),VK=oy(),tR=class t extends _Le.StorageClient{static{o(this,"BlobServiceClient")}serviceContext;static fromConnectionString(e,r){r=r||{};let n=(0,ly.extractConnectionStringParts)(e);if(n.kind==="AccountConnString")if(GK.isNodeLike){let i=new ma.StorageSharedKeyCredential(n.accountName,n.accountKey);r.proxyOptions||(r.proxyOptions=(0,xLe.getDefaultProxySettings)(n.proxyUri));let s=(0,rd.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,rd.newPipeline)(new ma.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,rd.isPipelineLike)(r)?i=r:GK.isNodeLike&&r instanceof ma.StorageSharedKeyCredential||r instanceof ma.AnonymousCredential||(0,NLe.isTokenCredential)(r)?i=(0,rd.newPipeline)(r,n):i=(0,rd.newPipeline)(new ma.AnonymousCredential,n),super(e,i),this.serviceContext=this.storageClientContext.service}getContainerClient(e){return new SLe.ContainerClient((0,ly.appendToURLPath)(this.url,encodeURIComponent(e)),this.pipeline)}async createContainer(e,r={}){return ki.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 ki.tracingClient.withSpan("BlobServiceClient-deleteContainer",r,async n=>this.getContainerClient(e).delete(n))}async undeleteContainer(e,r,n={}){return ki.tracingClient.withSpan("BlobServiceClient-undeleteContainer",n,async i=>{let s=this.getContainerClient(n.destinationContainerName||e),a=s.storageClientContext.container,c=(0,Mi.assertResponse)(await a.restore({deletedContainerName:e,deletedContainerVersion:r,tracingOptions:i.tracingOptions}));return{containerClient:s,containerUndeleteResponse:c}})}async getProperties(e={}){return ki.tracingClient.withSpan("BlobServiceClient-getProperties",e,async r=>(0,Mi.assertResponse)(await this.serviceContext.getProperties({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setProperties(e,r={}){return ki.tracingClient.withSpan("BlobServiceClient-setProperties",r,async n=>(0,Mi.assertResponse)(await this.serviceContext.setProperties(e,{abortSignal:r.abortSignal,tracingOptions:n.tracingOptions})))}async getStatistics(e={}){return ki.tracingClient.withSpan("BlobServiceClient-getStatistics",e,async r=>(0,Mi.assertResponse)(await this.serviceContext.getStatistics({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async getAccountInfo(e={}){return ki.tracingClient.withSpan("BlobServiceClient-getAccountInfo",e,async r=>(0,Mi.assertResponse)(await this.serviceContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async listContainersSegment(e,r={}){return ki.tracingClient.withSpan("BlobServiceClient-listContainersSegment",r,async n=>(0,Mi.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 ki.tracingClient.withSpan("BlobServiceClient-findBlobsByTagsSegment",n,async i=>{let s=(0,Mi.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,ly.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 ki.tracingClient.withSpan("BlobServiceClient-getUserDelegationKey",n,async i=>{let s=(0,Mi.assertResponse)(await this.serviceContext.getUserDelegationKey({startsOn:(0,Mi.truncatedISO8061Date)(e,!1),expiresOn:(0,Mi.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 RLe.BlobBatchClient(this.url,this.pipeline)}generateAccountSasUrl(e,r=YK.AccountSASPermissions.parse("r"),n="sco",i={}){if(!(this.credential instanceof ma.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,JK.generateAccountSASQueryParameters)({permissions:r,expiresOn:e,resourceTypes:n,services:VK.AccountSASServices.parse("b").toString(),...i},this.credential).toString();return(0,ly.appendToURLQuery)(this.url,s)}generateSasStringToSign(e,r=YK.AccountSASPermissions.parse("r"),n="sco",i={}){if(!(this.credential instanceof ma.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,JK.generateAccountSASQueryParametersInternal)({permissions:r,expiresOn:e,resourceTypes:n,services:VK.AccountSASServices.parse("b").toString(),...i},this.credential).stringToSign}};Ay.BlobServiceClient=tR});var KK=g($K=>{"use strict";Object.defineProperty($K,"__esModule",{value:!0})});var ZK=g(uy=>{"use strict";Object.defineProperty(uy,"__esModule",{value:!0});uy.KnownEncryptionAlgorithmType=void 0;var XK;(function(t){t.AES256="AES256"})(XK||(uy.KnownEncryptionAlgorithmType=XK={}))});var rR=g(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 Dr=(Xr(),Zt(Kr)),vLe=Ot();Object.defineProperty(V,"RestError",{enumerable:!0,get:function(){return vLe.RestError}});Dr.__exportStar(WK(),V);Dr.__exportStar(zg(),V);Dr.__exportStar(WS(),V);Dr.__exportStar(hg(),V);Dr.__exportStar(ny(),V);Dr.__exportStar(XS(),V);Dr.__exportStar(oy(),V);var PLe=eR();Object.defineProperty(V,"generateAccountSASQueryParameters",{enumerable:!0,get:function(){return PLe.generateAccountSASQueryParameters}});Dr.__exportStar(GS(),V);Dr.__exportStar(Xg(),V);Dr.__exportStar(KK(),V);Dr.__exportStar(Hx(),V);var DLe=ug();Object.defineProperty(V,"generateBlobSASQueryParameters",{enumerable:!0,get:function(){return DLe.generateBlobSASQueryParameters}});Dr.__exportStar(jx(),V);var dy=AS();Object.defineProperty(V,"BlockBlobTier",{enumerable:!0,get:function(){return dy.BlockBlobTier}});Object.defineProperty(V,"PremiumPageBlobTier",{enumerable:!0,get:function(){return dy.PremiumPageBlobTier}});Object.defineProperty(V,"StorageBlobAudience",{enumerable:!0,get:function(){return dy.StorageBlobAudience}});Object.defineProperty(V,"getBlobServiceAccountAudience",{enumerable:!0,get:function(){return dy.getBlobServiceAccountAudience}});var py=to();Object.defineProperty(V,"Pipeline",{enumerable:!0,get:function(){return py.Pipeline}});Object.defineProperty(V,"isPipelineLike",{enumerable:!0,get:function(){return py.isPipelineLike}});Object.defineProperty(V,"newPipeline",{enumerable:!0,get:function(){return py.newPipeline}});Object.defineProperty(V,"StorageOAuthScopes",{enumerable:!0,get:function(){return py.StorageOAuthScopes}});var vn=ei();Object.defineProperty(V,"AnonymousCredential",{enumerable:!0,get:function(){return vn.AnonymousCredential}});Object.defineProperty(V,"AnonymousCredentialPolicy",{enumerable:!0,get:function(){return vn.AnonymousCredentialPolicy}});Object.defineProperty(V,"BaseRequestPolicy",{enumerable:!0,get:function(){return vn.BaseRequestPolicy}});Object.defineProperty(V,"CredentialPolicy",{enumerable:!0,get:function(){return vn.CredentialPolicy}});Object.defineProperty(V,"Credential",{enumerable:!0,get:function(){return vn.Credential}});Object.defineProperty(V,"StorageRetryPolicyType",{enumerable:!0,get:function(){return vn.StorageRetryPolicyType}});Object.defineProperty(V,"StorageRetryPolicy",{enumerable:!0,get:function(){return vn.StorageRetryPolicy}});Object.defineProperty(V,"StorageRetryPolicyFactory",{enumerable:!0,get:function(){return vn.StorageRetryPolicyFactory}});Object.defineProperty(V,"StorageSharedKeyCredential",{enumerable:!0,get:function(){return vn.StorageSharedKeyCredential}});Object.defineProperty(V,"StorageSharedKeyCredentialPolicy",{enumerable:!0,get:function(){return vn.StorageSharedKeyCredentialPolicy}});Object.defineProperty(V,"StorageBrowserPolicy",{enumerable:!0,get:function(){return vn.StorageBrowserPolicy}});Object.defineProperty(V,"StorageBrowserPolicyFactory",{enumerable:!0,get:function(){return vn.StorageBrowserPolicyFactory}});Dr.__exportStar(lg(),V);Dr.__exportStar(ZK(),V);var TLe=Em();Object.defineProperty(V,"logger",{enumerable:!0,get:function(){return TLe.logger}})});var cR=g(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 nR=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=nR;var iR=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};Ar.InvalidResponseError=iR;var sR=class extends Error{static{o(this,"CacheNotFoundError")}constructor(e="Cache not found"){super(e),this.name="CacheNotFoundError"}};Ar.CacheNotFoundError=sR;var oR=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=oR;var hy=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=hy;hy.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var fy=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=fy;fy.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var aR=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};Ar.RateLimitError=aR});var e4=g(sn=>{"use strict";var OLe=sn&&sn.__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]}),MLe=sn&&sn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),kLe=sn&&sn.__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"&&OLe(r,e,n[i]);return MLe(r,e),r}}(),LLe=sn&&sn.__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(sn,"__esModule",{value:!0});sn.UploadProgress=void 0;sn.uploadCacheArchiveSDK=qLe;var lR=kLe(ft()),ULe=rR(),FLe=cR(),my=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);lR.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()}};sn.UploadProgress=my;function qLe(t,e,r){return LLe(this,void 0,void 0,function*(){var n;let i=new ULe.BlobClient(t),s=i.getBlockBlobClient(),a=new my((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(),lR.debug(`BlobClient: ${i.name}:${i.accountName}:${i.containerName}`);let l=yield s.uploadFile(e,c);if(l._response.status>=400)throw new FLe.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw lR.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(qLe,"uploadCacheArchiveSDK")});var uR=g(ur=>{"use strict";var HLe=ur&&ur.__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]}),zLe=ur&&ur.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),jLe=ur&&ur.__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"&&HLe(r,e,n[i]);return zLe(r,e),r}}(),yy=ur&&ur.__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(ur,"__esModule",{value:!0});ur.isSuccessStatusCode=GLe;ur.isServerErrorStatusCode=r4;ur.isRetryableStatusCode=n4;ur.retry=AR;ur.retryTypedResponse=JLe;ur.retryHttpClientResponse=VLe;var t4=jLe(ft()),gy=qs(),Sl=Cu();function GLe(t){return t?t>=200&&t<300:!1}o(GLe,"isSuccessStatusCode");function r4(t){return t?t>=500:!0}o(r4,"isServerErrorStatusCode");function n4(t){return t?[gy.HttpCodes.BadGateway,gy.HttpCodes.ServiceUnavailable,gy.HttpCodes.GatewayTimeout].includes(t):!1}o(n4,"isRetryableStatusCode");function YLe(t){return yy(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(YLe,"sleep");function AR(t,e,r){return yy(this,arguments,void 0,function*(n,i,s,a=Sl.DefaultRetryAttempts,c=Sl.DefaultRetryDelay,l=void 0){let A="",u=1;for(;u<=a;){let d,f,m=!1;try{d=yield i()}catch(C){l&&(d=l(C)),m=!0,A=C.message}if(d&&(f=s(d),!r4(f)))return d;if(f&&(m=n4(f),A=`Cache service responded with ${f}`),t4.debug(`${n} - Attempt ${u} of ${a} failed with error: ${A}`),!m){t4.debug(`${n} - Error is not retryable`);break}yield YLe(c),u++}throw Error(`${n} failed: ${A}`)})}o(AR,"retry");function JLe(t,e){return yy(this,arguments,void 0,function*(r,n,i=Sl.DefaultRetryAttempts,s=Sl.DefaultRetryDelay){return yield AR(r,n,a=>a.statusCode,i,s,a=>{if(a instanceof gy.HttpClientError)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(JLe,"retryTypedResponse");function VLe(t,e){return yy(this,arguments,void 0,function*(r,n,i=Sl.DefaultRetryAttempts,s=Sl.DefaultRetryDelay){return yield AR(r,n,a=>a.message.statusCode,i,s)})}o(VLe,"retryHttpClientResponse")});var c4=g(yr=>{"use strict";var WLe=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]}),$Le=yr&&yr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Rl=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"&&WLe(r,e,n[i]);return $Le(r,e),r}}(),Pn=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())})};Object.defineProperty(yr,"__esModule",{value:!0});yr.DownloadProgress=void 0;yr.downloadCacheHttpClient=o4;yr.downloadCacheHttpClientConcurrent=iUe;yr.downloadCacheStorageSDK=aUe;var id=Rl(ft()),s4=qs(),KLe=rR(),XLe=Rl(require("buffer")),nd=Rl(require("fs")),ZLe=Rl(require("stream")),eUe=Rl(require("util")),tUe=Rl(Tc()),i4=Cu(),dR=uR(),rUe=_g();function nUe(t,e){return Pn(this,void 0,void 0,function*(){yield eUe.promisify(ZLe.pipeline)(t.message,e)})}o(nUe,"pipeResponseToStream");var sd=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,id.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);id.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()}};yr.DownloadProgress=sd;function o4(t,e){return Pn(this,void 0,void 0,function*(){let r=nd.createWriteStream(e),n=new s4.HttpClient("actions/cache"),i=yield(0,dR.retryHttpClientResponse)("downloadCache",()=>Pn(this,void 0,void 0,function*(){return n.get(t)}));i.message.socket.setTimeout(i4.SocketTimeout,()=>{i.message.destroy(),id.debug(`Aborting download, socket timed out after ${i4.SocketTimeout} ms`)}),yield nUe(i,r);let s=i.message.headers["content-length"];if(s){let a=parseInt(s),c=tUe.getArchiveFileSizeInBytes(e);if(c!==a)throw new Error(`Incomplete download. Expected file size: ${a}, actual file size: ${c}`)}else id.debug("Unable to validate download, no Content-Length header")})}o(o4,"downloadCacheHttpClient");function iUe(t,e,r){return Pn(this,void 0,void 0,function*(){var n;let i=yield nd.promises.open(e,"w"),s=new s4.HttpClient("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield(0,dR.retryHttpClientResponse)("downloadCacheMetadata",()=>Pn(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:()=>Pn(this,void 0,void 0,function*(){return yield sUe(s,t,R,T)})})}A.reverse();let d=0,f=0,m=new sd(l);m.startDisplayTimer();let C=m.onProgress(),Q=[],S,w=o(()=>Pn(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(iUe,"downloadCacheHttpClientConcurrent");function sUe(t,e,r,n){return Pn(this,void 0,void 0,function*(){let s=0;for(;;)try{let c=yield a4(3e4,oUe(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(sUe,"downloadSegmentRetry");function oUe(t,e,r,n){return Pn(this,void 0,void 0,function*(){let i=yield(0,dR.retryHttpClientResponse)("downloadCachePart",()=>Pn(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(oUe,"downloadSegment");function aUe(t,e,r){return Pn(this,void 0,void 0,function*(){var n;let i=new KLe.BlockBlobClient(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),a=(n=(yield i.getProperties()).contentLength)!==null&&n!==void 0?n:-1;if(a<0)id.debug("Unable to determine content length, downloading file with http-client..."),yield o4(t,e);else{let c=Math.min(134217728,XLe.constants.MAX_LENGTH),l=new sd(a),A=nd.openSync(e,"w");try{l.startDisplayTimer();let u=new rUe.AbortController,d=u.signal;for(;!l.isDone();){let f=l.segmentOffset+l.segmentSize,m=Math.min(c,a-f);l.nextSegment(m);let C=yield a4(r.segmentTimeoutInMs||36e5,i.downloadToBuffer(f,m,{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)&&nd.writeFileSync(A,C)}}finally{l.stopDisplayTimer(),nd.closeSync(A)}}})}o(aUe,"downloadCacheStorageSDK");var a4=o((t,e)=>Pn(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 l4=g(Li=>{"use strict";var cUe=Li&&Li.__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]}),lUe=Li&&Li.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),AUe=Li&&Li.__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"&&cUe(r,e,n[i]);return lUe(r,e),r}}();Object.defineProperty(Li,"__esModule",{value:!0});Li.getUploadOptions=uUe;Li.getDownloadOptions=dUe;var gs=AUe(ft());function uUe(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),gs.debug(`Use Azure SDK: ${e.useAzureSdk}`),gs.debug(`Upload concurrency: ${e.uploadConcurrency}`),gs.debug(`Upload chunk size: ${e.uploadChunkSize}`),e}o(uUe,"getUploadOptions");function dUe(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),gs.debug(`Use Azure SDK: ${e.useAzureSdk}`),gs.debug(`Download concurrency: ${e.downloadConcurrency}`),gs.debug(`Request timeout (ms): ${e.timeoutInMs}`),gs.debug(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),gs.debug(`Segment download timeout (ms): ${e.segmentTimeoutInMs}`),gs.debug(`Lookup only: ${e.lookupOnly}`),e}o(dUe,"getDownloadOptions")});var Cy=g(od=>{"use strict";Object.defineProperty(od,"__esModule",{value:!0});od.isGhes=A4;od.getCacheServiceVersion=u4;od.getCacheServiceURL=pUe;function A4(){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(A4,"isGhes");function u4(){return A4()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(u4,"getCacheServiceVersion");function pUe(){let t=u4();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(pUe,"getCacheServiceURL")});var d4=g((h5e,hUe)=>{hUe.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 hR=g(pR=>{"use strict";Object.defineProperty(pR,"__esModule",{value:!0});pR.getUserAgentString=mUe;var fUe=d4();function mUe(){return`@actions/cache-${fUe.version}`}o(mUe,"getUserAgentString")});var h4=g(Or=>{"use strict";var gUe=Or&&Or.__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]}),yUe=Or&&Or.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),mR=Or&&Or.__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"&&gUe(r,e,n[i]);return yUe(r,e),r}}(),Tr=Or&&Or.__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(Or,"__esModule",{value:!0});Or.getCacheEntry=xUe;Or.downloadCache=RUe;Or.reserveCache=_Ue;Or.saveCache=TUe;var on=mR(ft()),CUe=qs(),EUe=Mh(),fR=mR(require("fs")),BUe=require("url"),_l=mR(Tc()),IUe=e4(),Ey=c4(),gR=l4(),lo=uR(),bUe=Cy(),QUe=hR();function ad(t){let e=(0,bUe.getCacheServiceURL)();if(!e)throw new Error("Cache Service Url not found, unable to restore cache.");let r=`${e}_apis/artifactcache/${t}`;return on.debug(`Resource Url: ${r}`),r}o(ad,"getCacheApiUrl");function wUe(t,e){return`${t};api-version=${e}`}o(wUe,"createAcceptHeader");function NUe(){return{headers:{Accept:wUe("application/json","6.0-preview.1")}}}o(NUe,"getRequestOptions");function yR(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new EUe.BearerCredentialHandler(t);return new CUe.HttpClient((0,QUe.getUserAgentString)(),[e],NUe())}o(yR,"createHttpClient");function xUe(t,e,r){return Tr(this,void 0,void 0,function*(){let n=yR(),i=_l.getCacheVersion(e,r?.compressionMethod,r?.enableCrossOsArchive),s=`cache?keys=${encodeURIComponent(t.join(","))}&version=${i}`,a=yield(0,lo.retryTypedResponse)("getCacheEntry",()=>Tr(this,void 0,void 0,function*(){return n.getJson(ad(s))}));if(a.statusCode===204)return on.isDebug()&&(yield SUe(t[0],n,i)),null;if(!(0,lo.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 on.setSecret(l),on.debug("Cache Result:"),on.debug(JSON.stringify(c)),c})}o(xUe,"getCacheEntry");function SUe(t,e,r){return Tr(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,i=yield(0,lo.retryTypedResponse)("listCache",()=>Tr(this,void 0,void 0,function*(){return e.getJson(ad(n))}));if(i.statusCode===200){let s=i.result,a=s?.totalCount;if(a&&a>0){on.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||[])on.debug(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(SUe,"printCachesListForDiagnostics");function RUe(t,e,r){return Tr(this,void 0,void 0,function*(){let n=new BUe.URL(t),i=(0,gR.getDownloadOptions)(r);n.hostname.endsWith(".blob.core.windows.net")?i.useAzureSdk?yield(0,Ey.downloadCacheStorageSDK)(t,e,i):i.concurrentBlobDownloads?yield(0,Ey.downloadCacheHttpClientConcurrent)(t,e,i):yield(0,Ey.downloadCacheHttpClient)(t,e):yield(0,Ey.downloadCacheHttpClient)(t,e)})}o(RUe,"downloadCache");function _Ue(t,e,r){return Tr(this,void 0,void 0,function*(){let n=yR(),i=_l.getCacheVersion(e,r?.compressionMethod,r?.enableCrossOsArchive),s={key:t,version:i,cacheSize:r?.cacheSize};return yield(0,lo.retryTypedResponse)("reserveCache",()=>Tr(this,void 0,void 0,function*(){return n.postJson(ad("caches"),s)}))})}o(_Ue,"reserveCache");function p4(t,e){return`bytes ${t}-${e}/*`}o(p4,"getContentRange");function vUe(t,e,r,n,i){return Tr(this,void 0,void 0,function*(){on.debug(`Uploading chunk of size ${i-n+1} bytes at offset ${n} with content range: ${p4(n,i)}`);let s={"Content-Type":"application/octet-stream","Content-Range":p4(n,i)},a=yield(0,lo.retryHttpClientResponse)(`uploadChunk (start: ${n}, end: ${i})`,()=>Tr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),s)}));if(!(0,lo.isSuccessStatusCode)(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(vUe,"uploadChunk");function PUe(t,e,r,n){return Tr(this,void 0,void 0,function*(){let i=_l.getArchiveFileSizeInBytes(r),s=ad(`caches/${e.toString()}`),a=fR.openSync(r,"r"),c=(0,gR.getUploadOptions)(n),l=_l.assertDefined("uploadConcurrency",c.uploadConcurrency),A=_l.assertDefined("uploadChunkSize",c.uploadChunkSize),u=[...new Array(l).keys()];on.debug("Awaiting all uploads");let d=0;try{yield Promise.all(u.map(()=>Tr(this,void 0,void 0,function*(){for(;d<i;){let f=Math.min(i-d,A),m=d,C=d+f-1;d+=A,yield vUe(t,s,()=>fR.createReadStream(r,{fd:a,start:m,end:C,autoClose:!1}).on("error",Q=>{throw new Error(`Cache upload failed because file read failed with ${Q.message}`)}),m,C)}})))}finally{fR.closeSync(a)}})}o(PUe,"uploadFile");function DUe(t,e,r){return Tr(this,void 0,void 0,function*(){let n={size:r};return yield(0,lo.retryTypedResponse)("commitCache",()=>Tr(this,void 0,void 0,function*(){return t.postJson(ad(`caches/${e.toString()}`),n)}))})}o(DUe,"commitCache");function TUe(t,e,r,n){return Tr(this,void 0,void 0,function*(){if((0,gR.getUploadOptions)(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield(0,IUe.uploadCacheArchiveSDK)(r,e,n)}else{let s=yR();on.debug("Upload cache"),yield PUe(s,t,e,n),on.debug("Commiting cache");let a=_l.getArchiveFileSizeInBytes(e);on.info(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield DUe(s,t,a);if(!(0,lo.isSuccessStatusCode)(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);on.info("Cache saved successfully")}})}o(TUe,"saveCache")});var By=g(vl=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});vl.isJsonObject=vl.typeofJsonValue=void 0;function OUe(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(OUe,"typeofJsonValue");vl.typeofJsonValue=OUe;function MUe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(MUe,"isJsonObject");vl.isJsonObject=MUe});var by=g(Pl=>{"use strict";Object.defineProperty(Pl,"__esModule",{value:!0});Pl.base64encode=Pl.base64decode=void 0;var ys="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Iy=[];for(let t=0;t<ys.length;t++)Iy[ys[t].charCodeAt(0)]=t;Iy[45]=ys.indexOf("+");Iy[95]=ys.indexOf("/");function kUe(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=Iy[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(kUe,"base64decode");Pl.base64decode=kUe;function LUe(t){let e="",r=0,n,i=0;for(let s=0;s<t.length;s++)switch(n=t[s],r){case 0:e+=ys[n>>2],i=(n&3)<<4,r=1;break;case 1:e+=ys[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=ys[i|n>>6],e+=ys[n&63],r=0;break}return r&&(e+=ys[i],e+="=",r==1&&(e+="=")),e}o(LUe,"base64encode");Pl.base64encode=LUe});var f4=g(Qy=>{"use strict";Object.defineProperty(Qy,"__esModule",{value:!0});Qy.utf8read=void 0;var CR=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function UUe(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(CR(n)),i=0);return r.length?(i&&r.push(CR(n.slice(0,i))),r.join("")):CR(n.slice(0,i))}o(UUe,"utf8read");Qy.utf8read=UUe});var cd=g(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});Ui.WireType=Ui.mergeBinaryOptions=Ui.UnknownFieldHandler=void 0;var FUe;(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")})(FUe=Ui.UnknownFieldHandler||(Ui.UnknownFieldHandler={}));function qUe(t,e){return Object.assign(Object.assign({},t),e)}o(qUe,"mergeBinaryOptions");Ui.mergeBinaryOptions=qUe;var HUe;(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"})(HUe=Ui.WireType||(Ui.WireType={}))});var Ny=g(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});Mr.varint32read=Mr.varint32write=Mr.int64toString=Mr.int64fromString=Mr.varint64write=Mr.varint64read=void 0;function zUe(){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(zUe,"varint64read");Mr.varint64read=zUe;function jUe(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(jUe,"varint64write");Mr.varint64write=jUe;var wy=65536*65536;function GUe(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>=wy&&(i=i+(n/wy|0),n=n%wy)}return o(s,"add1e6digit"),s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}o(GUe,"int64fromString");Mr.int64fromString=GUe;function YUe(t,e){if(e>>>0<=2097151)return""+(wy*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(YUe,"int64toString");Mr.int64toString=YUe;function JUe(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(JUe,"varint32write");Mr.varint32write=JUe;function VUe(){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(VUe,"varint32read");Mr.varint32read=VUe});var uo=g(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.PbLong=Ao.PbULong=Ao.detectBi=void 0;var ld=Ny(),Je;function m4(){let t=new DataView(new ArrayBuffer(8));Je=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(m4,"detectBi");Ao.detectBi=m4;m4();function g4(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(g4,"assertBi");var y4=/^-?[0-9]+$/,Sy=4294967296,xy=2147483648,Ry=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*Sy+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},Ad=class t extends Ry{static{o(this,"PbULong")}static from(e){if(Je)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Je.C(e);case"number":if(e===0)return this.ZERO;e=Je.C(e);case"bigint":if(!e)return this.ZERO;if(e<Je.UMIN)throw new Error("signed value for ulong");if(e>Je.UMAX)throw new Error("ulong too large");return Je.V.setBigUint64(0,e,!0),new t(Je.V.getInt32(0,!0),Je.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!y4.test(e))throw new Error("string is no integer");let[r,n,i]=ld.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/Sy)}throw new Error("unknown value "+typeof e)}toString(){return Je?this.toBigInt().toString():ld.int64toString(this.lo,this.hi)}toBigInt(){return g4(Je),Je.V.setInt32(0,this.lo,!0),Je.V.setInt32(4,this.hi,!0),Je.V.getBigUint64(0,!0)}};Ao.PbULong=Ad;Ad.ZERO=new Ad(0,0);var ud=class t extends Ry{static{o(this,"PbLong")}static from(e){if(Je)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Je.C(e);case"number":if(e===0)return this.ZERO;e=Je.C(e);case"bigint":if(!e)return this.ZERO;if(e<Je.MIN)throw new Error("signed long too small");if(e>Je.MAX)throw new Error("signed long too large");return Je.V.setBigInt64(0,e,!0),new t(Je.V.getInt32(0,!0),Je.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!y4.test(e))throw new Error("string is no integer");let[r,n,i]=ld.int64fromString(e);if(r){if(i>xy||i==xy&&n!=0)throw new Error("signed long too small")}else if(i>=xy)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/Sy):new t(-e,-e/Sy).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&xy)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Je)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+ld.int64toString(e.lo,e.hi)}return ld.int64toString(this.lo,this.hi)}toBigInt(){return g4(Je),Je.V.setInt32(0,this.lo,!0),Je.V.setInt32(4,this.hi,!0),Je.V.getBigInt64(0,!0)}};Ao.PbLong=ud;ud.ZERO=new ud(0,0)});var ER=g(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});Tl.BinaryReader=Tl.binaryReadOptions=void 0;var Dl=cd(),dd=uo(),C4=Ny(),E4={readUnknownField:!0,readerFactory:t=>new _y(t)};function WUe(t){return t?Object.assign(Object.assign({},E4),t):E4}o(WUe,"binaryReadOptions");Tl.binaryReadOptions=WUe;var _y=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=C4.varint64read,this.uint32=C4.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 Dl.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Dl.WireType.Bit64:this.pos+=4;case Dl.WireType.Bit32:this.pos+=4;break;case Dl.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case Dl.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==Dl.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 dd.PbLong(...this.varint64())}uint64(){return new dd.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 dd.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 dd.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new dd.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())}};Tl.BinaryReader=_y});var Ol=g(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.assertFloat32=Dn.assertUInt32=Dn.assertInt32=Dn.assertNever=Dn.assert=void 0;function $Ue(t,e){if(!t)throw new Error(e)}o($Ue,"assert");Dn.assert=$Ue;function KUe(t,e){throw new Error(e??"Unexpected object: "+t)}o(KUe,"assertNever");Dn.assertNever=KUe;var XUe=34028234663852886e22,ZUe=-34028234663852886e22,eFe=4294967295,tFe=2147483647,rFe=-2147483648;function nFe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>tFe||t<rFe)throw new Error("invalid int 32: "+t)}o(nFe,"assertInt32");Dn.assertInt32=nFe;function iFe(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>eFe||t<0)throw new Error("invalid uint 32: "+t)}o(iFe,"assertUInt32");Dn.assertUInt32=iFe;function sFe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>XUe||t<ZUe))throw new Error("invalid float 32: "+t)}o(sFe,"assertFloat32");Dn.assertFloat32=sFe});var BR=g(kl=>{"use strict";Object.defineProperty(kl,"__esModule",{value:!0});kl.BinaryWriter=kl.binaryWriteOptions=void 0;var pd=uo(),hd=Ny(),Ml=Ol(),B4={writeUnknownFields:!0,writerFactory:()=>new vy};function oFe(t){return t?Object.assign(Object.assign({},B4),t):B4}o(oFe,"binaryWriteOptions");kl.binaryWriteOptions=oFe;var vy=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),hd.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,hd.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=pd.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=pd.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=pd.PbLong.from(e);return hd.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=pd.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return hd.varint64write(i,s,this.buf),this}uint64(e){let r=pd.PbULong.from(e);return hd.varint64write(r.lo,r.hi,this.buf),this}};kl.BinaryWriter=vy});var IR=g(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.mergeJsonOptions=po.jsonWriteOptions=po.jsonReadOptions=void 0;var I4={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},b4={ignoreUnknownFields:!1};function aFe(t){return t?Object.assign(Object.assign({},b4),t):b4}o(aFe,"jsonReadOptions");po.jsonReadOptions=aFe;function cFe(t){return t?Object.assign(Object.assign({},I4),t):I4}o(cFe,"jsonWriteOptions");po.jsonWriteOptions=cFe;function lFe(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(lFe,"mergeJsonOptions");po.mergeJsonOptions=lFe});var fd=g(Py=>{"use strict";Object.defineProperty(Py,"__esModule",{value:!0});Py.MESSAGE_TYPE=void 0;Py.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var bR=g(Dy=>{"use strict";Object.defineProperty(Dy,"__esModule",{value:!0});Dy.lowerCamelCase=void 0;function AFe(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(AFe,"lowerCamelCase");Dy.lowerCamelCase=AFe});var ri=g(Mt=>{"use strict";Object.defineProperty(Mt,"__esModule",{value:!0});Mt.readMessageOption=Mt.readFieldOption=Mt.readFieldOptions=Mt.normalizeFieldInfo=Mt.RepeatType=Mt.LongType=Mt.ScalarType=void 0;var Q4=bR(),uFe;(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"})(uFe=Mt.ScalarType||(Mt.ScalarType={}));var dFe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(dFe=Mt.LongType||(Mt.LongType={}));var w4;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(w4=Mt.RepeatType||(Mt.RepeatType={}));function pFe(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:Q4.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:Q4.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:w4.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}o(pFe,"normalizeFieldInfo");Mt.normalizeFieldInfo=pFe;function hFe(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(hFe,"readFieldOptions");Mt.readFieldOptions=hFe;function fFe(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(fFe,"readFieldOption");Mt.readFieldOption=fFe;function mFe(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o(mFe,"readMessageOption");Mt.readMessageOption=mFe});var QR=g(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});kr.getSelectedOneofValue=kr.clearOneofValue=kr.setUnknownOneofValue=kr.setOneofValue=kr.getOneofValue=kr.isOneofGroup=void 0;function gFe(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(gFe,"isOneofGroup");kr.isOneofGroup=gFe;function yFe(t,e){return t[e]}o(yFe,"getOneofValue");kr.getOneofValue=yFe;function CFe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(CFe,"setOneofValue");kr.setOneofValue=CFe;function EFe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(EFe,"setUnknownOneofValue");kr.setUnknownOneofValue=EFe;function BFe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(BFe,"clearOneofValue");kr.clearOneofValue=BFe;function IFe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(IFe,"getSelectedOneofValue");kr.getSelectedOneofValue=IFe});var NR=g(Ty=>{"use strict";Object.defineProperty(Ty,"__esModule",{value:!0});Ty.ReflectionTypeCheck=void 0;var Bt=ri(),bFe=QR(),wR=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(!bFe.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,Bt.ScalarType.INT32,i):this.scalar(e,Bt.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),Bt.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 Bt.ScalarType.UINT64:case Bt.ScalarType.FIXED64:case Bt.ScalarType.INT64:case Bt.ScalarType.SFIXED64:case Bt.ScalarType.SINT64:switch(n){case Bt.LongType.BIGINT:return i=="bigint";case Bt.LongType.NUMBER:return i=="number"&&!isNaN(e);default:return i=="string"}case Bt.ScalarType.BOOL:return i=="boolean";case Bt.ScalarType.STRING:return i=="string";case Bt.ScalarType.BYTES:return e instanceof Uint8Array;case Bt.ScalarType.DOUBLE:case Bt.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 Bt.ScalarType.INT32:case Bt.ScalarType.FIXED32:case Bt.ScalarType.SFIXED32:case Bt.ScalarType.SINT32:case Bt.ScalarType.UINT32:return this.scalars(i.slice(0,n).map(s=>parseInt(s)),r,n);case Bt.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,Bt.LongType.STRING)}}};Ty.ReflectionTypeCheck=wR});var My=g(Oy=>{"use strict";Object.defineProperty(Oy,"__esModule",{value:!0});Oy.reflectionLongConvert=void 0;var N4=ri();function QFe(t,e){switch(e){case N4.LongType.BIGINT:return t.toBigInt();case N4.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(QFe,"reflectionLongConvert");Oy.reflectionLongConvert=QFe});var SR=g(Uy=>{"use strict";Object.defineProperty(Uy,"__esModule",{value:!0});Uy.ReflectionJsonReader=void 0;var x4=By(),wFe=by(),kt=ri(),ky=uo(),ga=Ol(),Ly=My(),xR=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=x4.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(x4.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 m;switch(c.V.kind){case"message":m=c.V.T().internalJsonRead(f,n);break;case"enum":if(m=this.enum(c.V.T(),f,c.name,n.ignoreUnknownFields),m===!1)continue;break;case"scalar":m=this.scalar(f,c.V.T,c.V.L,c.name);break}this.assert(m!==void 0,c.name+" map value",f);let C=d;c.K==kt.ScalarType.BOOL&&(C=C=="true"?!0:C=="false"?!1:C),C=this.scalar(C,c.K,kt.LongType.STRING,c.name).toString(),u[C]=m}}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"&&ga.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 ga.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:(ga.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}ga.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 kt.ScalarType.DOUBLE:case kt.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==kt.ScalarType.FLOAT&&ga.assertFloat32(a),a;case kt.ScalarType.INT32:case kt.ScalarType.FIXED32:case kt.ScalarType.SFIXED32:case kt.ScalarType.SINT32:case kt.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==kt.ScalarType.UINT32?ga.assertUInt32(c):ga.assertInt32(c),c;case kt.ScalarType.INT64:case kt.ScalarType.SFIXED64:case kt.ScalarType.SINT64:if(e===null)return Ly.reflectionLongConvert(ky.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return Ly.reflectionLongConvert(ky.PbLong.from(e),n);case kt.ScalarType.FIXED64:case kt.ScalarType.UINT64:if(e===null)return Ly.reflectionLongConvert(ky.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return Ly.reflectionLongConvert(ky.PbULong.from(e),n);case kt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case kt.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 kt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return wFe.base64decode(e)}}catch(a){s=a.message}this.assert(!1,i+(s?" - "+s:""),e)}};Uy.ReflectionJsonReader=xR});var _R=g(Fy=>{"use strict";Object.defineProperty(Fy,"__esModule",{value:!0});Fy.ReflectionJsonWriter=void 0;var NFe=by(),S4=uo(),Cr=ri(),ct=Ol(),RR=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);ct.assert(l!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=l}return n}field(e,r,n){let i;if(e.kind=="map"){ct.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);ct.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);ct.assert(u!==void 0),s[l.toString()]=u}break;case"enum":let c=e.V.T();for(let[l,A]of Object.entries(r)){ct.assert(A===void 0||typeof A=="number");let u=this.enum(c,A,e.name,!1,!0,n.enumAsInteger);ct.assert(u!==void 0),s[l.toString()]=u}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){ct.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);ct.assert(A!==void 0),s.push(A)}break;case"enum":let a=e.T();for(let l=0;l<r.length;l++){ct.assert(r[l]===void 0||typeof r[l]=="number");let A=this.enum(a,r[l],e.name,e.opt,!0,n.enumAsInteger);ct.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);ct.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){ct.assert(i);return}if(!(r===0&&!s&&!i))return ct.assert(typeof r=="number"),ct.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){ct.assert(i);return}let a=s||i;switch(e){case Cr.ScalarType.INT32:case Cr.ScalarType.SFIXED32:case Cr.ScalarType.SINT32:return r===0?a?0:void 0:(ct.assertInt32(r),r);case Cr.ScalarType.FIXED32:case Cr.ScalarType.UINT32:return r===0?a?0:void 0:(ct.assertUInt32(r),r);case Cr.ScalarType.FLOAT:ct.assertFloat32(r);case Cr.ScalarType.DOUBLE:return r===0?a?0:void 0:(ct.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case Cr.ScalarType.STRING:return r===""?a?"":void 0:(ct.assert(typeof r=="string"),r);case Cr.ScalarType.BOOL:return r===!1?a?!1:void 0:(ct.assert(typeof r=="boolean"),r);case Cr.ScalarType.UINT64:case Cr.ScalarType.FIXED64:ct.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=S4.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case Cr.ScalarType.INT64:case Cr.ScalarType.SFIXED64:case Cr.ScalarType.SINT64:ct.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=S4.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case Cr.ScalarType.BYTES:return ct.assert(r instanceof Uint8Array),r.byteLength?NFe.base64encode(r):a?"":void 0}}};Fy.ReflectionJsonWriter=RR});var Hy=g(qy=>{"use strict";Object.defineProperty(qy,"__esModule",{value:!0});qy.reflectionScalarDefault=void 0;var ni=ri(),R4=My(),_4=uo();function xFe(t,e=ni.LongType.STRING){switch(t){case ni.ScalarType.BOOL:return!1;case ni.ScalarType.UINT64:case ni.ScalarType.FIXED64:return R4.reflectionLongConvert(_4.PbULong.ZERO,e);case ni.ScalarType.INT64:case ni.ScalarType.SFIXED64:case ni.ScalarType.SINT64:return R4.reflectionLongConvert(_4.PbLong.ZERO,e);case ni.ScalarType.DOUBLE:case ni.ScalarType.FLOAT:return 0;case ni.ScalarType.BYTES:return new Uint8Array(0);case ni.ScalarType.STRING:return"";default:return 0}}o(xFe,"reflectionScalarDefault");qy.reflectionScalarDefault=xFe});var PR=g(zy=>{"use strict";Object.defineProperty(zy,"__esModule",{value:!0});zy.ReflectionBinaryReader=void 0;var v4=cd(),xt=ri(),md=My(),P4=Hy(),vR=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 m=e.skip(c);f!==!1&&(f===!0?v4.UnknownFieldHandler.onRead:f)(this.info.typeName,r,a,c,m);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"?xt.ScalarType.INT32:l.T,m=l.kind=="scalar"?l.L:void 0;if(u){let S=A[d];if(c==v4.WireType.LengthDelimited&&f!=xt.ScalarType.STRING&&f!=xt.ScalarType.BYTES){let w=e.uint32()+e.pos;for(;e.pos<w;)S.push(this.scalar(e,f,m))}else S.push(this.scalar(e,f,m))}else A[d]=this.scalar(e,f,m);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==xt.ScalarType.BOOL?a=r.bool().toString():a=this.scalar(r,e.K,xt.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=P4.reflectionScalarDefault(e.K);a=e.K==xt.ScalarType.BOOL?l.toString():l}if(c===void 0)switch(e.V.kind){case"scalar":c=P4.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 xt.ScalarType.INT32:return e.int32();case xt.ScalarType.STRING:return e.string();case xt.ScalarType.BOOL:return e.bool();case xt.ScalarType.DOUBLE:return e.double();case xt.ScalarType.FLOAT:return e.float();case xt.ScalarType.INT64:return md.reflectionLongConvert(e.int64(),n);case xt.ScalarType.UINT64:return md.reflectionLongConvert(e.uint64(),n);case xt.ScalarType.FIXED64:return md.reflectionLongConvert(e.fixed64(),n);case xt.ScalarType.FIXED32:return e.fixed32();case xt.ScalarType.BYTES:return e.bytes();case xt.ScalarType.UINT32:return e.uint32();case xt.ScalarType.SFIXED32:return e.sfixed32();case xt.ScalarType.SFIXED64:return md.reflectionLongConvert(e.sfixed64(),n);case xt.ScalarType.SINT32:return e.sint32();case xt.ScalarType.SINT64:return md.reflectionLongConvert(e.sint64(),n)}}};zy.ReflectionBinaryReader=vR});var TR=g(jy=>{"use strict";Object.defineProperty(jy,"__esModule",{value:!0});jy.ReflectionBinaryWriter=void 0;var an=cd(),Ke=ri(),Ll=Ol(),gd=uo(),DR=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(Ll.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?Ll.assert(s.opt):this.scalar(r,u,s.no,a,c||s.opt);break;case"message":if(l){Ll.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":Ll.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?an.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,an.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:Ll.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,an.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;Ll.assert(r!==Ke.ScalarType.BYTES&&r!==Ke.ScalarType.STRING),e.tag(n,an.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=an.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=an.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=an.WireType.Bit64,i="double";break;case Ke.ScalarType.FLOAT:n=an.WireType.Bit32,i="float";break;case Ke.ScalarType.INT64:a=s||gd.PbLong.from(r).isZero(),i="int64";break;case Ke.ScalarType.UINT64:a=s||gd.PbULong.from(r).isZero(),i="uint64";break;case Ke.ScalarType.FIXED64:a=s||gd.PbULong.from(r).isZero(),n=an.WireType.Bit64,i="fixed64";break;case Ke.ScalarType.BYTES:a=s||!r.byteLength,n=an.WireType.LengthDelimited,i="bytes";break;case Ke.ScalarType.FIXED32:n=an.WireType.Bit32,i="fixed32";break;case Ke.ScalarType.SFIXED32:n=an.WireType.Bit32,i="sfixed32";break;case Ke.ScalarType.SFIXED64:a=s||gd.PbLong.from(r).isZero(),n=an.WireType.Bit64,i="sfixed64";break;case Ke.ScalarType.SINT32:i="sint32";break;case Ke.ScalarType.SINT64:a=s||gd.PbLong.from(r).isZero(),i="sint64";break}return[n,i,s||a]}};jy.ReflectionBinaryWriter=DR});var OR=g(Gy=>{"use strict";Object.defineProperty(Gy,"__esModule",{value:!0});Gy.reflectionCreate=void 0;var SFe=Hy(),RFe=fd();function _Fe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},RFe.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]=SFe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(_Fe,"reflectionCreate");Gy.reflectionCreate=_Fe});var MR=g(Yy=>{"use strict";Object.defineProperty(Yy,"__esModule",{value:!0});Yy.reflectionMergePartial=void 0;function vFe(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(vFe,"reflectionMergePartial");Yy.reflectionMergePartial=vFe});var LR=g(Vy=>{"use strict";Object.defineProperty(Vy,"__esModule",{value:!0});Vy.reflectionEquals=void 0;var kR=ri();function PFe(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"?kR.ScalarType.INT32:n.T;if(!(n.repeat?D4(c,s,a):O4(c,s,a)))return!1;break;case"map":if(!(n.V.kind=="message"?T4(n.V.T(),Jy(s),Jy(a)):D4(n.V.kind=="enum"?kR.ScalarType.INT32:n.V.T,Jy(s),Jy(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?T4(l,s,a):l.equals(s,a)))return!1;break}}return!0}o(PFe,"reflectionEquals");Vy.reflectionEquals=PFe;var Jy=Object.values;function O4(t,e,r){if(e===r)return!0;if(t!==kR.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(O4,"primitiveEq");function D4(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!O4(t,e[n],r[n]))return!1;return!0}o(D4,"repeatedPrimitiveEq");function T4(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(T4,"repeatedMsgEq")});var L4=g(Wy=>{"use strict";Object.defineProperty(Wy,"__esModule",{value:!0});Wy.MessageType=void 0;var DFe=fd(),TFe=ri(),OFe=NR(),MFe=SR(),kFe=_R(),LFe=PR(),UFe=TR(),FFe=OR(),UR=MR(),qFe=By(),M4=IR(),HFe=LR(),zFe=BR(),jFe=ER(),k4=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),GFe=k4[DFe.MESSAGE_TYPE]={},FR=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(TFe.normalizeFieldInfo),this.options=n??{},GFe.value=this,this.messagePrototype=Object.create(null,k4),this.refTypeCheck=new OFe.ReflectionTypeCheck(this),this.refJsonReader=new MFe.ReflectionJsonReader(this),this.refJsonWriter=new kFe.ReflectionJsonWriter(this),this.refBinReader=new LFe.ReflectionBinaryReader(this),this.refBinWriter=new UFe.ReflectionBinaryWriter(this)}create(e){let r=FFe.reflectionCreate(this);return e!==void 0&&UR.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return UR.reflectionMergePartial(this,r,e),r}equals(e,r){return HFe.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){UR.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=jFe.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,M4.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,M4.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=zFe.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 ${qFe.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}};Wy.MessageType=FR});var U4=g($y=>{"use strict";Object.defineProperty($y,"__esModule",{value:!0});$y.containsMessageType=void 0;var YFe=fd();function JFe(t){return t[YFe.MESSAGE_TYPE]!=null}o(JFe,"containsMessageType");$y.containsMessageType=JFe});var q4=g(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});Fi.listEnumNumbers=Fi.listEnumNames=Fi.listEnumValues=Fi.isEnumObject=void 0;function F4(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(F4,"isEnumObject");Fi.isEnumObject=F4;function qR(t){if(!F4(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(qR,"listEnumValues");Fi.listEnumValues=qR;function VFe(t){return qR(t).map(e=>e.name)}o(VFe,"listEnumNames");Fi.listEnumNames=VFe;function WFe(t){return qR(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(WFe,"listEnumNumbers");Fi.listEnumNumbers=WFe});var St=g(re=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0});var H4=By();Object.defineProperty(re,"typeofJsonValue",{enumerable:!0,get:function(){return H4.typeofJsonValue}});Object.defineProperty(re,"isJsonObject",{enumerable:!0,get:function(){return H4.isJsonObject}});var z4=by();Object.defineProperty(re,"base64decode",{enumerable:!0,get:function(){return z4.base64decode}});Object.defineProperty(re,"base64encode",{enumerable:!0,get:function(){return z4.base64encode}});var $Fe=f4();Object.defineProperty(re,"utf8read",{enumerable:!0,get:function(){return $Fe.utf8read}});var HR=cd();Object.defineProperty(re,"WireType",{enumerable:!0,get:function(){return HR.WireType}});Object.defineProperty(re,"mergeBinaryOptions",{enumerable:!0,get:function(){return HR.mergeBinaryOptions}});Object.defineProperty(re,"UnknownFieldHandler",{enumerable:!0,get:function(){return HR.UnknownFieldHandler}});var j4=ER();Object.defineProperty(re,"BinaryReader",{enumerable:!0,get:function(){return j4.BinaryReader}});Object.defineProperty(re,"binaryReadOptions",{enumerable:!0,get:function(){return j4.binaryReadOptions}});var G4=BR();Object.defineProperty(re,"BinaryWriter",{enumerable:!0,get:function(){return G4.BinaryWriter}});Object.defineProperty(re,"binaryWriteOptions",{enumerable:!0,get:function(){return G4.binaryWriteOptions}});var Y4=uo();Object.defineProperty(re,"PbLong",{enumerable:!0,get:function(){return Y4.PbLong}});Object.defineProperty(re,"PbULong",{enumerable:!0,get:function(){return Y4.PbULong}});var zR=IR();Object.defineProperty(re,"jsonReadOptions",{enumerable:!0,get:function(){return zR.jsonReadOptions}});Object.defineProperty(re,"jsonWriteOptions",{enumerable:!0,get:function(){return zR.jsonWriteOptions}});Object.defineProperty(re,"mergeJsonOptions",{enumerable:!0,get:function(){return zR.mergeJsonOptions}});var KFe=fd();Object.defineProperty(re,"MESSAGE_TYPE",{enumerable:!0,get:function(){return KFe.MESSAGE_TYPE}});var XFe=L4();Object.defineProperty(re,"MessageType",{enumerable:!0,get:function(){return XFe.MessageType}});var ya=ri();Object.defineProperty(re,"ScalarType",{enumerable:!0,get:function(){return ya.ScalarType}});Object.defineProperty(re,"LongType",{enumerable:!0,get:function(){return ya.LongType}});Object.defineProperty(re,"RepeatType",{enumerable:!0,get:function(){return ya.RepeatType}});Object.defineProperty(re,"normalizeFieldInfo",{enumerable:!0,get:function(){return ya.normalizeFieldInfo}});Object.defineProperty(re,"readFieldOptions",{enumerable:!0,get:function(){return ya.readFieldOptions}});Object.defineProperty(re,"readFieldOption",{enumerable:!0,get:function(){return ya.readFieldOption}});Object.defineProperty(re,"readMessageOption",{enumerable:!0,get:function(){return ya.readMessageOption}});var ZFe=NR();Object.defineProperty(re,"ReflectionTypeCheck",{enumerable:!0,get:function(){return ZFe.ReflectionTypeCheck}});var eqe=OR();Object.defineProperty(re,"reflectionCreate",{enumerable:!0,get:function(){return eqe.reflectionCreate}});var tqe=Hy();Object.defineProperty(re,"reflectionScalarDefault",{enumerable:!0,get:function(){return tqe.reflectionScalarDefault}});var rqe=MR();Object.defineProperty(re,"reflectionMergePartial",{enumerable:!0,get:function(){return rqe.reflectionMergePartial}});var nqe=LR();Object.defineProperty(re,"reflectionEquals",{enumerable:!0,get:function(){return nqe.reflectionEquals}});var iqe=PR();Object.defineProperty(re,"ReflectionBinaryReader",{enumerable:!0,get:function(){return iqe.ReflectionBinaryReader}});var sqe=TR();Object.defineProperty(re,"ReflectionBinaryWriter",{enumerable:!0,get:function(){return sqe.ReflectionBinaryWriter}});var oqe=SR();Object.defineProperty(re,"ReflectionJsonReader",{enumerable:!0,get:function(){return oqe.ReflectionJsonReader}});var aqe=_R();Object.defineProperty(re,"ReflectionJsonWriter",{enumerable:!0,get:function(){return aqe.ReflectionJsonWriter}});var cqe=U4();Object.defineProperty(re,"containsMessageType",{enumerable:!0,get:function(){return cqe.containsMessageType}});var yd=QR();Object.defineProperty(re,"isOneofGroup",{enumerable:!0,get:function(){return yd.isOneofGroup}});Object.defineProperty(re,"setOneofValue",{enumerable:!0,get:function(){return yd.setOneofValue}});Object.defineProperty(re,"getOneofValue",{enumerable:!0,get:function(){return yd.getOneofValue}});Object.defineProperty(re,"clearOneofValue",{enumerable:!0,get:function(){return yd.clearOneofValue}});Object.defineProperty(re,"getSelectedOneofValue",{enumerable:!0,get:function(){return yd.getSelectedOneofValue}});var Ky=q4();Object.defineProperty(re,"listEnumValues",{enumerable:!0,get:function(){return Ky.listEnumValues}});Object.defineProperty(re,"listEnumNames",{enumerable:!0,get:function(){return Ky.listEnumNames}});Object.defineProperty(re,"listEnumNumbers",{enumerable:!0,get:function(){return Ky.listEnumNumbers}});Object.defineProperty(re,"isEnumObject",{enumerable:!0,get:function(){return Ky.isEnumObject}});var lqe=bR();Object.defineProperty(re,"lowerCamelCase",{enumerable:!0,get:function(){return lqe.lowerCamelCase}});var Cd=Ol();Object.defineProperty(re,"assert",{enumerable:!0,get:function(){return Cd.assert}});Object.defineProperty(re,"assertNever",{enumerable:!0,get:function(){return Cd.assertNever}});Object.defineProperty(re,"assertInt32",{enumerable:!0,get:function(){return Cd.assertInt32}});Object.defineProperty(re,"assertUInt32",{enumerable:!0,get:function(){return Cd.assertUInt32}});Object.defineProperty(re,"assertFloat32",{enumerable:!0,get:function(){return Cd.assertFloat32}})});var jR=g(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.readServiceOption=qi.readMethodOption=qi.readMethodOptions=qi.normalizeMethodInfo=void 0;var Aqe=St();function uqe(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:Aqe.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(uqe,"normalizeMethodInfo");qi.normalizeMethodInfo=uqe;function dqe(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(dqe,"readMethodOptions");qi.readMethodOptions=dqe;function pqe(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(pqe,"readMethodOption");qi.readMethodOption=pqe;function hqe(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(hqe,"readServiceOption");qi.readServiceOption=hqe});var J4=g(Xy=>{"use strict";Object.defineProperty(Xy,"__esModule",{value:!0});Xy.ServiceType=void 0;var fqe=jR(),GR=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>fqe.normalizeMethodInfo(i,this)),this.options=n??{}}};Xy.ServiceType=GR});var JR=g(Zy=>{"use strict";Object.defineProperty(Zy,"__esModule",{value:!0});Zy.RpcError=void 0;var YR=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(`
`)}};Zy.RpcError=YR});var VR=g(tC=>{"use strict";Object.defineProperty(tC,"__esModule",{value:!0});tC.mergeRpcOptions=void 0;var V4=St();function mqe(t,e){if(!e)return t;let r={};eC(t,r),eC(e,r);for(let n of Object.keys(e)){let i=e[n];switch(n){case"jsonOptions":r.jsonOptions=V4.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=V4.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},eC(t.meta,r.meta),eC(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}o(mqe,"mergeRpcOptions");tC.mergeRpcOptions=mqe;function eC(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(eC,"copy")});var $R=g(Ca=>{"use strict";Object.defineProperty(Ca,"__esModule",{value:!0});Ca.Deferred=Ca.DeferredState=void 0;var Hi;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Hi=Ca.DeferredState||(Ca.DeferredState={}));var WR=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Hi.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!==Hi.PENDING)throw new Error(`cannot resolve ${Hi[this.state].toLowerCase()}`);this._resolve(e),this._state=Hi.RESOLVED}reject(e){if(this.state!==Hi.PENDING)throw new Error(`cannot reject ${Hi[this.state].toLowerCase()}`);this._reject(e),this._state=Hi.REJECTED}resolvePending(e){this._state===Hi.PENDING&&this.resolve(e)}rejectPending(e){this._state===Hi.PENDING&&this.reject(e)}};Ca.Deferred=WR});var XR=g(rC=>{"use strict";Object.defineProperty(rC,"__esModule",{value:!0});rC.RpcOutputStreamController=void 0;var W4=$R(),Ea=St(),KR=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){Ea.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){Ea.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){Ea.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(){Ea.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;Ea.assert(e,"bad state"),Ea.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 W4.Deferred,e.p.promise)}}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;Ea.assert(n.state==W4.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};rC.RpcOutputStreamController=KR});var e_=g(Ul=>{"use strict";var gqe=Ul&&Ul.__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(Ul,"__esModule",{value:!0});Ul.UnaryCall=void 0;var ZR=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 gqe(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}})}};Ul.UnaryCall=ZR});var r_=g(Fl=>{"use strict";var yqe=Fl&&Fl.__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(Fl,"__esModule",{value:!0});Fl.ServerStreamingCall=void 0;var t_=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 yqe(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}})}};Fl.ServerStreamingCall=t_});var i_=g(ql=>{"use strict";var Cqe=ql&&ql.__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(ql,"__esModule",{value:!0});ql.ClientStreamingCall=void 0;var n_=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 Cqe(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}})}};ql.ClientStreamingCall=n_});var o_=g(Hl=>{"use strict";var Eqe=Hl&&Hl.__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(Hl,"__esModule",{value:!0});Hl.DuplexStreamingCall=void 0;var s_=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 Eqe(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}})}};Hl.DuplexStreamingCall=s_});var K4=g(Gl=>{"use strict";var Bqe=Gl&&Gl.__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(Gl,"__esModule",{value:!0});Gl.TestTransport=void 0;var Tn=JR(),nC=St(),$4=XR(),Iqe=VR(),bqe=e_(),Qqe=r_(),wqe=i_(),Nqe=o_(),jl=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 zl?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof zl?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 Tn.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof Tn.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(nC.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),nC.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return Bqe(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)nC.assert(e.O.is(s)),i.push(s);else this.data.response instanceof Tn.RpcError||(nC.assert(e.O.is(this.data.response)),i.push(this.data.response));try{yield Vt(this.responseDelay,n)(void 0)}catch(s){r.notifyError(s);return}if(this.data.response instanceof Tn.RpcError){r.notifyError(this.data.response);return}for(let s of i){r.notifyMessage(s);try{yield Vt(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof Tn.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof Tn.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 Tn.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 Tn.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return Iqe.mergeRpcOptions({},e)}unary(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(Vt(this.headerDelay,n.abort)),c=a.catch(u=>{}).then(Vt(this.responseDelay,n.abort)).then(u=>this.promiseSingleResponse(e)),l=c.catch(u=>{}).then(Vt(this.afterResponseDelay,n.abort)).then(u=>this.promiseStatus()),A=c.catch(u=>{}).then(Vt(this.afterResponseDelay,n.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput={single:r},new bqe.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(Vt(this.headerDelay,n.abort)),c=new $4.RpcOutputStreamController,l=a.then(Vt(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then(Vt(this.afterResponseDelay,n.abort)),A=l.then(()=>this.promiseStatus()),u=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(A,u),this.lastInput={single:r},new Qqe.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(Vt(this.headerDelay,r.abort)),a=s.catch(A=>{}).then(Vt(this.responseDelay,r.abort)).then(A=>this.promiseSingleResponse(e)),c=a.catch(A=>{}).then(Vt(this.afterResponseDelay,r.abort)).then(A=>this.promiseStatus()),l=a.catch(A=>{}).then(Vt(this.afterResponseDelay,r.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new zl(this.data,r.abort),new wqe.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(Vt(this.headerDelay,r.abort)),a=new $4.RpcOutputStreamController,c=s.then(Vt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(Vt(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),A=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput=new zl(this.data,r.abort),new Nqe.DuplexStreamingCall(e,i,this.lastInput,s,a,l,A)}};Gl.TestTransport=jl;jl.defaultHeaders={responseHeader:"test"};jl.defaultStatus={code:"OK",detail:"all good"};jl.defaultTrailers={responseTrailer:"test"};function Vt(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new Tn.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(s),i(new Tn.RpcError("user cancel","CANCELLED"))})}})}o(Vt,"delay");var zl=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 Tn.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(Vt(r,this.abort))}complete(){if(this.data.inputComplete instanceof Tn.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(Vt(e,this.abort))}}});var X4=g(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.stackDuplexStreamingInterceptors=On.stackClientStreamingInterceptors=On.stackServerStreamingInterceptors=On.stackUnaryInterceptors=On.stackIntercept=void 0;var xqe=St();function Ed(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,m,C)=>u.interceptUnary(d,f,m,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,m,C)=>u.interceptServerStreaming(d,f,m,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,m)=>u.interceptClientStreaming(d,f,m),"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,m)=>u.interceptDuplex(d,f,m),"tail")}return A(r,n)}xqe.assertNever(t)}o(Ed,"stackIntercept");On.stackIntercept=Ed;function Sqe(t,e,r,n){return Ed("unary",t,e,n,r)}o(Sqe,"stackUnaryInterceptors");On.stackUnaryInterceptors=Sqe;function Rqe(t,e,r,n){return Ed("serverStreaming",t,e,n,r)}o(Rqe,"stackServerStreamingInterceptors");On.stackServerStreamingInterceptors=Rqe;function _qe(t,e,r){return Ed("clientStreaming",t,e,r)}o(_qe,"stackClientStreamingInterceptors");On.stackClientStreamingInterceptors=_qe;function vqe(t,e,r){return Ed("duplex",t,e,r)}o(vqe,"stackDuplexStreamingInterceptors");On.stackDuplexStreamingInterceptors=vqe});var Z4=g(iC=>{"use strict";Object.defineProperty(iC,"__esModule",{value:!0});iC.ServerCallContextController=void 0;var a_=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)}}};iC.ServerCallContextController=a_});var t8=g(It=>{"use strict";Object.defineProperty(It,"__esModule",{value:!0});var Pqe=J4();Object.defineProperty(It,"ServiceType",{enumerable:!0,get:function(){return Pqe.ServiceType}});var c_=jR();Object.defineProperty(It,"readMethodOptions",{enumerable:!0,get:function(){return c_.readMethodOptions}});Object.defineProperty(It,"readMethodOption",{enumerable:!0,get:function(){return c_.readMethodOption}});Object.defineProperty(It,"readServiceOption",{enumerable:!0,get:function(){return c_.readServiceOption}});var Dqe=JR();Object.defineProperty(It,"RpcError",{enumerable:!0,get:function(){return Dqe.RpcError}});var Tqe=VR();Object.defineProperty(It,"mergeRpcOptions",{enumerable:!0,get:function(){return Tqe.mergeRpcOptions}});var Oqe=XR();Object.defineProperty(It,"RpcOutputStreamController",{enumerable:!0,get:function(){return Oqe.RpcOutputStreamController}});var Mqe=K4();Object.defineProperty(It,"TestTransport",{enumerable:!0,get:function(){return Mqe.TestTransport}});var e8=$R();Object.defineProperty(It,"Deferred",{enumerable:!0,get:function(){return e8.Deferred}});Object.defineProperty(It,"DeferredState",{enumerable:!0,get:function(){return e8.DeferredState}});var kqe=o_();Object.defineProperty(It,"DuplexStreamingCall",{enumerable:!0,get:function(){return kqe.DuplexStreamingCall}});var Lqe=i_();Object.defineProperty(It,"ClientStreamingCall",{enumerable:!0,get:function(){return Lqe.ClientStreamingCall}});var Uqe=r_();Object.defineProperty(It,"ServerStreamingCall",{enumerable:!0,get:function(){return Uqe.ServerStreamingCall}});var Fqe=e_();Object.defineProperty(It,"UnaryCall",{enumerable:!0,get:function(){return Fqe.UnaryCall}});var Bd=X4();Object.defineProperty(It,"stackIntercept",{enumerable:!0,get:function(){return Bd.stackIntercept}});Object.defineProperty(It,"stackDuplexStreamingInterceptors",{enumerable:!0,get:function(){return Bd.stackDuplexStreamingInterceptors}});Object.defineProperty(It,"stackClientStreamingInterceptors",{enumerable:!0,get:function(){return Bd.stackClientStreamingInterceptors}});Object.defineProperty(It,"stackServerStreamingInterceptors",{enumerable:!0,get:function(){return Bd.stackServerStreamingInterceptors}});Object.defineProperty(It,"stackUnaryInterceptors",{enumerable:!0,get:function(){return Bd.stackUnaryInterceptors}});var qqe=Z4();Object.defineProperty(It,"ServerCallContextController",{enumerable:!0,get:function(){return qqe.ServerCallContextController}})});var i8=g(sC=>{"use strict";Object.defineProperty(sC,"__esModule",{value:!0});sC.CacheScope=void 0;var r8=St(),n8=St(),Hqe=St(),zqe=St(),jqe=St(),l_=class extends jqe.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,zqe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Hqe.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?n8.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.scope!==""&&r.tag(1,r8.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,r8.WireType.Varint).int64(e.permission);let i=n.writeUnknownFields;return i!==!1&&(i==!0?n8.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};sC.CacheScope=new l_});var a8=g(oC=>{"use strict";Object.defineProperty(oC,"__esModule",{value:!0});oC.CacheMetadata=void 0;var s8=St(),o8=St(),Gqe=St(),Yqe=St(),Jqe=St(),A_=i8(),u_=class extends Jqe.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:()=>A_.CacheScope}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,Yqe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Gqe.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(A_.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?o8.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.repositoryId!=="0"&&r.tag(1,s8.WireType.Varint).int64(e.repositoryId);for(let s=0;s<e.scope.length;s++)A_.CacheScope.internalBinaryWrite(e.scope[s],r.tag(2,s8.WireType.LengthDelimited).fork(),n).join();let i=n.writeUnknownFields;return i!==!1&&(i==!0?o8.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};oC.CacheMetadata=new u_});var c8=g(bt=>{"use strict";Object.defineProperty(bt,"__esModule",{value:!0});bt.CacheService=bt.GetCacheEntryDownloadURLResponse=bt.GetCacheEntryDownloadURLRequest=bt.FinalizeCacheEntryUploadResponse=bt.FinalizeCacheEntryUploadRequest=bt.CreateCacheEntryResponse=bt.CreateCacheEntryRequest=void 0;var Vqe=t8(),Dt=St(),Mn=St(),Yl=St(),Jl=St(),Vl=St(),Cs=a8(),d_=class extends Vl.MessageType{static{o(this,"CreateCacheEntryRequest$Type")}constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>Cs.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,Jl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Yl.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=Cs.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?Mn.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.metadata&&Cs.CacheMetadata.internalBinaryWrite(e.metadata,r.tag(1,Dt.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,Dt.WireType.LengthDelimited).string(e.key),e.version!==""&&r.tag(3,Dt.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Mn.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};bt.CreateCacheEntryRequest=new d_;var p_=class extends Vl.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,Jl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Yl.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?Mn.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,Dt.WireType.Varint).bool(e.ok),e.signedUploadUrl!==""&&r.tag(2,Dt.WireType.LengthDelimited).string(e.signedUploadUrl),e.message!==""&&r.tag(3,Dt.WireType.LengthDelimited).string(e.message);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Mn.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};bt.CreateCacheEntryResponse=new p_;var h_=class extends Vl.MessageType{static{o(this,"FinalizeCacheEntryUploadRequest$Type")}constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadRequest",[{no:1,name:"metadata",kind:"message",T:()=>Cs.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,Jl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Yl.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=Cs.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?Mn.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.metadata&&Cs.CacheMetadata.internalBinaryWrite(e.metadata,r.tag(1,Dt.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,Dt.WireType.LengthDelimited).string(e.key),e.sizeBytes!=="0"&&r.tag(3,Dt.WireType.Varint).int64(e.sizeBytes),e.version!==""&&r.tag(4,Dt.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Mn.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};bt.FinalizeCacheEntryUploadRequest=new h_;var f_=class extends Vl.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,Jl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Yl.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?Mn.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,Dt.WireType.Varint).bool(e.ok),e.entryId!=="0"&&r.tag(2,Dt.WireType.Varint).int64(e.entryId),e.message!==""&&r.tag(3,Dt.WireType.LengthDelimited).string(e.message);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Mn.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};bt.FinalizeCacheEntryUploadResponse=new f_;var m_=class extends Vl.MessageType{static{o(this,"GetCacheEntryDownloadURLRequest$Type")}constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLRequest",[{no:1,name:"metadata",kind:"message",T:()=>Cs.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,Jl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Yl.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=Cs.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?Mn.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.metadata&&Cs.CacheMetadata.internalBinaryWrite(e.metadata,r.tag(1,Dt.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,Dt.WireType.LengthDelimited).string(e.key);for(let s=0;s<e.restoreKeys.length;s++)r.tag(3,Dt.WireType.LengthDelimited).string(e.restoreKeys[s]);e.version!==""&&r.tag(4,Dt.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Mn.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};bt.GetCacheEntryDownloadURLRequest=new m_;var g_=class extends Vl.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,Jl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Yl.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?Mn.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,Dt.WireType.Varint).bool(e.ok),e.signedDownloadUrl!==""&&r.tag(2,Dt.WireType.LengthDelimited).string(e.signedDownloadUrl),e.matchedKey!==""&&r.tag(3,Dt.WireType.LengthDelimited).string(e.matchedKey);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Mn.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};bt.GetCacheEntryDownloadURLResponse=new g_;bt.CacheService=new Vqe.ServiceType("github.actions.results.api.v1.CacheService",[{name:"CreateCacheEntry",options:{},I:bt.CreateCacheEntryRequest,O:bt.CreateCacheEntryResponse},{name:"FinalizeCacheEntryUpload",options:{},I:bt.FinalizeCacheEntryUploadRequest,O:bt.FinalizeCacheEntryUploadResponse},{name:"GetCacheEntryDownloadURL",options:{},I:bt.GetCacheEntryDownloadURLRequest,O:bt.GetCacheEntryDownloadURLResponse}])});var l8=g(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.CacheServiceClientProtobuf=Wl.CacheServiceClientJSON=void 0;var kn=c8(),y_=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=kn.CreateCacheEntryRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",r).then(i=>kn.CreateCacheEntryResponse.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=kn.FinalizeCacheEntryUploadRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(i=>kn.FinalizeCacheEntryUploadResponse.fromJson(i,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=kn.GetCacheEntryDownloadURLRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(i=>kn.GetCacheEntryDownloadURLResponse.fromJson(i,{ignoreUnknownFields:!0}))}};Wl.CacheServiceClientJSON=y_;var C_=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=kn.CreateCacheEntryRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",r).then(i=>kn.CreateCacheEntryResponse.fromBinary(i))}FinalizeCacheEntryUpload(e){let r=kn.FinalizeCacheEntryUploadRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",r).then(i=>kn.FinalizeCacheEntryUploadResponse.fromBinary(i))}GetCacheEntryDownloadURL(e){let r=kn.GetCacheEntryDownloadURLRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",r).then(i=>kn.GetCacheEntryDownloadURLResponse.fromBinary(i))}};Wl.CacheServiceClientProtobuf=C_});var A8=g(cC=>{"use strict";Object.defineProperty(cC,"__esModule",{value:!0});cC.maskSigUrl=E_;cC.maskSecretUrls=Wqe;var aC=ft();function E_(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&((0,aC.setSecret)(r),(0,aC.setSecret)(encodeURIComponent(r)))}catch(e){(0,aC.debug)(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(E_,"maskSigUrl");function Wqe(t){if(typeof t!="object"||t===null){(0,aC.debug)("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&E_(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&E_(t.signed_download_url)}o(Wqe,"maskSecretUrls")});var u8=g(Id=>{"use strict";var lC=Id&&Id.__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(Id,"__esModule",{value:!0});Id.internalCacheTwirpClient=r1e;var Ba=ft(),$qe=hR(),Ia=cR(),Kqe=Cy(),Xqe=Tc(),Zqe=Mh(),$l=qs(),e1e=l8(),t1e=A8(),B_=class{static{o(this,"CacheServiceClient")}constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=(0,Xqe.getRuntimeToken)();this.baseUrl=(0,Kqe.getCacheServiceURL)(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new $l.HttpClient(e,[new Zqe.BearerCredentialHandler(s)])}request(e,r,n,i){return lC(this,void 0,void 0,function*(){let s=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;(0,Ba.debug)(`[Request] ${r} ${s}`);let a={"Content-Type":n};try{let{body:c}=yield this.retryableRequest(()=>lC(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 lC(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,Ba.debug)(`[Response] - ${c.message.statusCode}`),(0,Ba.debug)(`Headers: ${JSON.stringify(c.message.headers,null,2)}`);let A=JSON.parse(i);if((0,t1e.maskSecretUrls)(A),(0,Ba.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,Ba.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,Ba.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,Ba.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 lC(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 r1e(t){let e=new B_((0,$qe.getUserAgentString)(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new e1e.CacheServiceClientJSON(e)}o(r1e,"internalCacheTwirpClient")});var h8=g(cn=>{"use strict";var n1e=cn&&cn.__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]}),i1e=cn&&cn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),I_=cn&&cn.__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"&&n1e(r,e,n[i]);return i1e(r,e),r}}(),Es=cn&&cn.__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(cn,"__esModule",{value:!0});cn.listTar=A1e;cn.extractTar=u1e;cn.createTar=d1e;var s1e=Nc(),AC=I_(au()),d8=require("fs"),ii=I_(require("path")),b_=I_(Tc()),tt=Cu(),ho=process.platform==="win32";function o1e(){return Es(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield b_.getGnuTarPathOnWindows(),e=tt.SystemTarPathOnWindows;if(t)return{path:t,type:tt.ArchiveToolType.GNU};if((0,d8.existsSync)(e))return{path:e,type:tt.ArchiveToolType.BSD};break}case"darwin":{let t=yield AC.which("gtar",!1);return t?{path:t,type:tt.ArchiveToolType.GNU}:{path:yield AC.which("tar",!0),type:tt.ArchiveToolType.BSD}}default:break}return{path:yield AC.which("tar",!0),type:tt.ArchiveToolType.GNU}})}o(o1e,"getTarPath");function a1e(t,e,r){return Es(this,arguments,void 0,function*(n,i,s,a=""){let c=[`"${n.path}"`],l=b_.getCacheFileName(i),A="cache.tar",u=p8(),d=n.type===tt.ArchiveToolType.BSD&&i!==tt.CompressionMethod.Gzip&&ho;switch(s){case"create":c.push("--posix","-cf",d?A:l.replace(new RegExp(`\\${ii.sep}`,"g"),"/"),"--exclude",d?A:l.replace(new RegExp(`\\${ii.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${ii.sep}`,"g"),"/"),"--files-from",tt.ManifestFilename);break;case"extract":c.push("-xf",d?A:a.replace(new RegExp(`\\${ii.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${ii.sep}`,"g"),"/"));break;case"list":c.push("-tf",d?A:a.replace(new RegExp(`\\${ii.sep}`,"g"),"/"),"-P");break}if(n.type===tt.ArchiveToolType.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(a1e,"getTarArgs");function Q_(t,e){return Es(this,arguments,void 0,function*(r,n,i=""){let s,a=yield o1e(),c=yield a1e(a,r,n,i),l=n!=="create"?yield c1e(a,r,i):yield l1e(a,r),A=a.type===tt.ArchiveToolType.BSD&&r!==tt.CompressionMethod.Gzip&&ho;return A&&n!=="create"?s=[[...l].join(" "),[...c].join(" ")]:s=[[...c].join(" "),[...l].join(" ")],A?s:[s.join(" ")]})}o(Q_,"getCommands");function p8(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(p8,"getWorkingDirectory");function c1e(t,e,r){return Es(this,void 0,void 0,function*(){let n=t.type===tt.ArchiveToolType.BSD&&e!==tt.CompressionMethod.Gzip&&ho;switch(e){case tt.CompressionMethod.Zstd:return n?["zstd -d --long=30 --force -o",tt.TarFilename,r.replace(new RegExp(`\\${ii.sep}`,"g"),"/")]:["--use-compress-program",ho?'"zstd -d --long=30"':"unzstd --long=30"];case tt.CompressionMethod.ZstdWithoutLong:return n?["zstd -d --force -o",tt.TarFilename,r.replace(new RegExp(`\\${ii.sep}`,"g"),"/")]:["--use-compress-program",ho?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(c1e,"getDecompressionProgram");function l1e(t,e){return Es(this,void 0,void 0,function*(){let r=b_.getCacheFileName(e),n=t.type===tt.ArchiveToolType.BSD&&e!==tt.CompressionMethod.Gzip&&ho;switch(e){case tt.CompressionMethod.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${ii.sep}`,"g"),"/"),tt.TarFilename]:["--use-compress-program",ho?'"zstd -T0 --long=30"':"zstdmt --long=30"];case tt.CompressionMethod.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${ii.sep}`,"g"),"/"),tt.TarFilename]:["--use-compress-program",ho?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(l1e,"getCompressionProgram");function w_(t,e){return Es(this,void 0,void 0,function*(){for(let r of t)try{yield(0,s1e.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(w_,"execCommands");function A1e(t,e){return Es(this,void 0,void 0,function*(){let r=yield Q_(e,"list",t);yield w_(r)})}o(A1e,"listTar");function u1e(t,e){return Es(this,void 0,void 0,function*(){let r=p8();yield AC.mkdirP(r);let n=yield Q_(e,"extract",t);yield w_(n)})}o(u1e,"extractTar");function d1e(t,e,r){return Es(this,void 0,void 0,function*(){(0,d8.writeFileSync)(ii.join(t,tt.ManifestFilename),e.join(`
`));let n=yield Q_(r,"create");yield w_(n,t)})}o(d1e,"createTar")});var g8=g(Lt=>{"use strict";var p1e=Lt&&Lt.__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]}),h1e=Lt&&Lt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Qd=Lt&&Lt.__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"&&p1e(r,e,n[i]);return h1e(r,e),r}}(),Xl=Lt&&Lt.__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(Lt,"__esModule",{value:!0});Lt.FinalizeCacheError=Lt.ReserveCacheError=Lt.ValidationError=void 0;Lt.isFeatureAvailable=f1e;Lt.restoreCache=m1e;Lt.saveCache=C1e;var ie=Qd(ft()),uC=Qd(require("path")),lt=Qd(Tc()),Kl=Qd(h4()),f8=Qd(u8()),dC=Cy(),fo=h8(),pC=qs(),Ln=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}};Lt.ValidationError=Ln;var ba=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}};Lt.ReserveCacheError=ba;var bd=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};Lt.FinalizeCacheError=bd;function m8(t){if(!t||t.length===0)throw new Ln("Path Validation Error: At least one directory or file path is required")}o(m8,"checkPaths");function N_(t){if(t.length>512)throw new Ln(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Ln(`Key Validation Error: ${t} cannot contain commas.`)}o(N_,"checkKey");function f1e(){switch((0,dC.getCacheServiceVersion)()){case"v2":return!!process.env.ACTIONS_RESULTS_URL;case"v1":default:return!!process.env.ACTIONS_CACHE_URL}}o(f1e,"isFeatureAvailable");function m1e(t,e,r,n){return Xl(this,arguments,void 0,function*(i,s,a,c,l=!1){let A=(0,dC.getCacheServiceVersion)();switch(ie.debug(`Cache service version: ${A}`),m8(i),A){case"v2":return yield y1e(i,s,a,c,l);case"v1":default:return yield g1e(i,s,a,c,l)}})}o(m1e,"restoreCache");function g1e(t,e,r,n){return Xl(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 Ln("Key Validation Error: Keys are limited to a maximum of 10.");for(let f of A)N_(f);let u=yield lt.getCompressionMethod(),d="";try{let f=yield Kl.getCacheEntry(A,i,{compressionMethod:u,enableCrossOsArchive:l});if(!f?.archiveLocation)return;if(c?.lookupOnly)return ie.info("Lookup only - skipping download"),f.cacheKey;d=uC.join(yield lt.createTempDirectory(),lt.getCacheFileName(u)),ie.debug(`Archive Path: ${d}`),yield Kl.downloadCache(f.archiveLocation,d,c),ie.isDebug()&&(yield(0,fo.listTar)(d,u));let m=lt.getArchiveFileSizeInBytes(d);return ie.info(`Cache Size: ~${Math.round(m/(1024*1024))} MB (${m} B)`),yield(0,fo.extractTar)(d,u),ie.info("Cache restored successfully"),f.cacheKey}catch(f){let m=f;if(m.name===Ln.name)throw f;m instanceof pC.HttpClientError&&typeof m.statusCode=="number"&&m.statusCode>=500?ie.error(`Failed to restore: ${f.message}`):ie.warning(`Failed to restore: ${f.message}`)}finally{try{yield lt.unlinkFile(d)}catch(f){ie.debug(`Failed to delete archive: ${f}`)}}})}o(g1e,"restoreCacheV1");function y1e(t,e,r,n){return Xl(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 Ln("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of A)N_(d);let u="";try{let d=f8.internalCacheTwirpClient(),f=yield lt.getCompressionMethod(),m={key:s,restoreKeys:a,version:lt.getCacheVersion(i,f,l)},C=yield d.GetCacheEntryDownloadURL(m);if(!C.ok){ie.debug(`Cache not found for version ${m.version} of keys: ${A.join(", ")}`);return}if(m.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=uC.join(yield lt.createTempDirectory(),lt.getCacheFileName(f)),ie.debug(`Archive path: ${u}`),ie.debug(`Starting download of archive to: ${u}`),yield Kl.downloadCache(C.signedDownloadUrl,u,c);let S=lt.getArchiveFileSizeInBytes(u);return ie.info(`Cache Size: ~${Math.round(S/(1024*1024))} MB (${S} B)`),ie.isDebug()&&(yield(0,fo.listTar)(u,f)),yield(0,fo.extractTar)(u,f),ie.info("Cache restored successfully"),C.matchedKey}catch(d){let f=d;if(f.name===Ln.name)throw d;f instanceof pC.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 lt.unlinkFile(u))}catch(d){ie.debug(`Failed to delete archive: ${d}`)}}})}o(y1e,"restoreCacheV2");function C1e(t,e,r){return Xl(this,arguments,void 0,function*(n,i,s,a=!1){let c=(0,dC.getCacheServiceVersion)();switch(ie.debug(`Cache service version: ${c}`),m8(n),N_(i),c){case"v2":return yield B1e(n,i,s,a);case"v1":default:return yield E1e(n,i,s,a)}})}o(C1e,"saveCache");function E1e(t,e,r){return Xl(this,arguments,void 0,function*(n,i,s,a=!1){var c,l,A,u,d;let f=yield lt.getCompressionMethod(),m=-1,C=yield lt.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 lt.createTempDirectory(),S=uC.join(Q,lt.getCacheFileName(f));ie.debug(`Archive Path: ${S}`);try{yield(0,fo.createTar)(Q,C,f),ie.isDebug()&&(yield(0,fo.listTar)(S,f));let w=10*1024*1024*1024,R=lt.getArchiveFileSizeInBytes(S);if(ie.debug(`File Size: ${R}`),R>w&&!(0,dC.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 Kl.reserveCache(i,n,{compressionMethod:f,enableCrossOsArchive:a,cacheSize:R});if(!((c=T?.result)===null||c===void 0)&&c.cacheId)m=(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 ba(`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: ${m})`),yield Kl.saveCache(m,S,"",s)}catch(w){let R=w;if(R.name===Ln.name)throw w;R.name===ba.name?ie.info(`Failed to save: ${R.message}`):R instanceof pC.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 lt.unlinkFile(S)}catch(w){ie.debug(`Failed to delete archive: ${w}`)}}return m})}o(E1e,"saveCacheV1");function B1e(t,e,r){return Xl(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 lt.getCompressionMethod(),l=f8.internalCacheTwirpClient(),A=-1,u=yield lt.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 lt.createTempDirectory(),f=uC.join(d,lt.getCacheFileName(c));ie.debug(`Archive Path: ${f}`);try{yield(0,fo.createTar)(d,u,c),ie.isDebug()&&(yield(0,fo.listTar)(f,c));let m=lt.getArchiveFileSizeInBytes(f);ie.debug(`File Size: ${m}`),s.archiveSizeBytes=m,ie.debug("Reserving Cache");let C=lt.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 ba(`Unable to reserve cache with key ${i}, another job may be creating this cache.`)}ie.debug(`Attempting to upload cache located at: ${f}`),yield Kl.saveCache(A,f,S,s);let w={key:i,version:C,sizeBytes:`${m}`},R=yield l.FinalizeCacheEntryUpload(w);if(ie.debug(`FinalizeCacheEntryUploadResponse: ${R.ok}`),!R.ok)throw R.message?new bd(R.message):new Error(`Unable to finalize cache with key ${i}, another job may be finalizing this cache.`);A=parseInt(R.entryId)}catch(m){let C=m;if(C.name===Ln.name)throw m;C.name===ba.name?ie.info(`Failed to save: ${C.message}`):C.name===bd.name?ie.warning(C.message):C instanceof pC.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 lt.unlinkFile(f)}catch(m){ie.debug(`Failed to delete archive: ${m}`)}}return A})}o(B1e,"saveCacheV2")});var E8=g((ln,S_)=>{"use strict";var I1e=ln&&ln.__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]}),b1e=ln&&ln.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Q1e=ln&&ln.__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"&&I1e(r,e,n[i]);return b1e(r,e),r}}(),w1e=ln&&ln.__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(ln,"__esModule",{value:!0});ln._findMatch=x1e;ln._getOsVersion=S1e;ln._readLinuxVersionFile=R1e;var y8=Q1e(rf()),x_=ft(),C8=require("os"),N1e=require("child_process"),hC=require("fs");function x1e(t,e,r,n){return w1e(this,void 0,void 0,function*(){let i=C8.platform(),s,a,c;for(let l of r){let A=l.version;if((0,x_.debug)(`check ${A} satisfies ${t}`),y8.satisfies(A,t)&&(!e||l.stable===e)&&(c=l.files.find(u=>{(0,x_.debug)(`${u.arch}===${n} && ${u.platform}===${i}`);let d=u.arch===n&&u.platform===i;if(d&&u.platform_version){let f=S_.exports._getOsVersion();f===u.platform_version?d=!0:d=y8.satisfies(f,u.platform_version)}return d}),c)){(0,x_.debug)(`matched ${l.version}`),a=l;break}}return a&&c&&(s=Object.assign({},a),s.files=[c]),s})}o(x1e,"_findMatch");function S1e(){let t=C8.platform(),e="";if(t==="darwin")e=N1e.execSync("sw_vers -productVersion").toString();else if(t==="linux"){let r=S_.exports._readLinuxVersionFile();if(r){let n=r.split(`
`);for(let i of n){let s=i.split("=");if(s.length===2&&(s[0].trim()==="VERSION_ID"||s[0].trim()==="DISTRIB_RELEASE")){e=s[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return e}o(S1e,"_getOsVersion");function R1e(){let t="/etc/lsb-release",e="/etc/os-release",r="";return hC.existsSync(t)?r=hC.readFileSync(t).toString():hC.existsSync(e)&&(r=hC.readFileSync(e).toString()),r}o(R1e,"_readLinuxVersionFile")});var b8=g(Un=>{"use strict";var _1e=Un&&Un.__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]}),v1e=Un&&Un.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),P1e=Un&&Un.__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"&&_1e(r,e,n[i]);return v1e(r,e),r}}(),B8=Un&&Un.__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(Un,"__esModule",{value:!0});Un.RetryHelper=void 0;var I8=P1e(ft()),R_=class{static{o(this,"RetryHelper")}constructor(e,r,n){if(e<1)throw new Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(r),this.maxSeconds=Math.floor(n),this.minSeconds>this.maxSeconds)throw new Error("min seconds should be less than or equal to max seconds")}execute(e,r){return B8(this,void 0,void 0,function*(){let n=1;for(;n<this.maxAttempts;){try{return yield e()}catch(s){if(r&&!r(s))throw s;I8.info(s.message)}let i=this.getSleepAmount();I8.info(`Waiting ${i} seconds before trying again`),yield this.sleep(i),n++}return yield e()})}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return B8(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e*1e3))})}};Un.RetryHelper=R_});var v8=g(rt=>{"use strict";var D1e=rt&&rt.__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]}),T1e=rt&&rt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),oi=rt&&rt.__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"&&D1e(r,e,n[i]);return T1e(r,e),r}}(),Er=rt&&rt.__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(rt,"__esModule",{value:!0});rt.HTTPError=void 0;rt.downloadTool=q1e;rt.extract7z=z1e;rt.extractTar=j1e;rt.extractXar=G1e;rt.extractZip=Y1e;rt.cacheDir=W1e;rt.cacheFile=$1e;rt.find=K1e;rt.findAllVersions=N8;rt.getManifestFromRepo=X1e;rt.findFromManifest=Z1e;rt.isExplicitVersion=P_;rt.evaluateVersions=R8;var _e=oi(ft()),An=oi(au()),Q8=oi(require("crypto")),Fn=oi(require("fs")),O1e=oi(E8()),Nd=oi(require("os")),si=oi(require("path")),w8=oi(qs()),Bs=oi(rf()),M1e=oi(require("stream")),k1e=oi(require("util")),Zl=require("assert"),mo=Nc(),L1e=b8(),wd=class extends Error{static{o(this,"HTTPError")}constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}};rt.HTTPError=wd;var v_=process.platform==="win32",U1e=process.platform==="darwin",F1e="actions/tool-cache";function q1e(t,e,r,n){return Er(this,void 0,void 0,function*(){e=e||si.join(_8(),Q8.randomUUID()),yield An.mkdirP(si.dirname(e)),_e.debug(`Downloading ${t}`),_e.debug(`Destination ${e}`);let i=3,s=__("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=__("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);return yield new L1e.RetryHelper(i,s,a).execute(()=>Er(this,void 0,void 0,function*(){return yield H1e(t,e||"",r,n)}),l=>!(l instanceof wd&&l.httpStatusCode&&l.httpStatusCode<500&&l.httpStatusCode!==408&&l.httpStatusCode!==429))})}o(q1e,"downloadTool");function H1e(t,e,r,n){return Er(this,void 0,void 0,function*(){if(Fn.existsSync(e))throw new Error(`Destination file path ${e} already exists`);let i=new w8.HttpClient(F1e,[],{allowRetries:!1});r&&(_e.debug("set auth"),n===void 0&&(n={}),n.authorization=r);let s=yield i.get(t,n);if(s.message.statusCode!==200){let u=new wd(s.message.statusCode);throw _e.debug(`Failed to download from "${t}". Code(${s.message.statusCode}) Message(${s.message.statusMessage})`),u}let a=k1e.promisify(M1e.pipeline),l=__("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>s.message)(),A=!1;try{return yield a(l,Fn.createWriteStream(e)),_e.debug("download complete"),A=!0,e}finally{if(!A){_e.debug("download failed");try{yield An.rmRF(e)}catch(u){_e.debug(`Failed to delete '${e}'. ${u.message}`)}}}})}o(H1e,"downloadToolAttempt");function z1e(t,e,r){return Er(this,void 0,void 0,function*(){(0,Zl.ok)(v_,"extract7z() not supported on current OS"),(0,Zl.ok)(t,'parameter "file" is required'),e=yield fC(e);let n=process.cwd();if(process.chdir(e),r)try{let s=["x",_e.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",t],a={silent:!0};yield(0,mo.exec)(`"${r}"`,s,a)}finally{process.chdir(n)}else{let i=si.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),s=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),a=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),l=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${i}' -Source '${s}' -Target '${a}'`],A={silent:!0};try{let u=yield An.which("powershell",!0);yield(0,mo.exec)(`"${u}"`,l,A)}finally{process.chdir(n)}}return e})}o(z1e,"extract7z");function j1e(t,e){return Er(this,arguments,void 0,function*(r,n,i="xz"){if(!r)throw new Error("parameter 'file' is required");n=yield fC(n),_e.debug("Checking tar --version");let s="";yield(0,mo.exec)("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:u=>s+=u.toString(),stderr:u=>s+=u.toString()}}),_e.debug(s.trim());let a=s.toUpperCase().includes("GNU TAR"),c;i instanceof Array?c=i:c=[i],_e.isDebug()&&!i.includes("v")&&c.push("-v");let l=n,A=r;return v_&&a&&(c.push("--force-local"),l=n.replace(/\\/g,"/"),A=r.replace(/\\/g,"/")),a&&(c.push("--warning=no-unknown-keyword"),c.push("--overwrite")),c.push("-C",l,"-f",A),yield(0,mo.exec)("tar",c),n})}o(j1e,"extractTar");function G1e(t,e){return Er(this,arguments,void 0,function*(r,n,i=[]){(0,Zl.ok)(U1e,"extractXar() not supported on current OS"),(0,Zl.ok)(r,'parameter "file" is required'),n=yield fC(n);let s;i instanceof Array?s=i:s=[i],s.push("-x","-C",n,"-f",r),_e.isDebug()&&s.push("-v");let a=yield An.which("xar",!0);return yield(0,mo.exec)(`"${a}"`,eHe(s)),n})}o(G1e,"extractXar");function Y1e(t,e){return Er(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'file' is required");return e=yield fC(e),v_?yield J1e(t,e):yield V1e(t,e),e})}o(Y1e,"extractZip");function J1e(t,e){return Er(this,void 0,void 0,function*(){let r=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield An.which("pwsh",!1);if(i){let a=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;",`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else { throw $_ } } ;`].join(" ")];_e.debug(`Using pwsh at path: ${i}`),yield(0,mo.exec)(`"${i}"`,a)}else{let a=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ;","try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;",`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`].join(" ")],c=yield An.which("powershell",!0);_e.debug(`Using powershell at path: ${c}`),yield(0,mo.exec)(`"${c}"`,a)}})}o(J1e,"extractZipWin");function V1e(t,e){return Er(this,void 0,void 0,function*(){let r=yield An.which("unzip",!0),n=[t];_e.isDebug()||n.unshift("-q"),n.unshift("-o"),yield(0,mo.exec)(`"${r}"`,n,{cwd:e})})}o(V1e,"extractZipNix");function W1e(t,e,r,n){return Er(this,void 0,void 0,function*(){if(r=Bs.clean(r)||r,n=n||Nd.arch(),_e.debug(`Caching tool ${e} ${r} ${n}`),_e.debug(`source dir: ${t}`),!Fn.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let i=yield x8(e,r,n);for(let s of Fn.readdirSync(t)){let a=si.join(t,s);yield An.cp(a,i,{recursive:!0})}return S8(e,r,n),i})}o(W1e,"cacheDir");function $1e(t,e,r,n,i){return Er(this,void 0,void 0,function*(){if(n=Bs.clean(n)||n,i=i||Nd.arch(),_e.debug(`Caching tool ${r} ${n} ${i}`),_e.debug(`source file: ${t}`),!Fn.statSync(t).isFile())throw new Error("sourceFile is not a file");let s=yield x8(r,n,i),a=si.join(s,e);return _e.debug(`destination file ${a}`),yield An.cp(t,a),S8(r,n,i),s})}o($1e,"cacheFile");function K1e(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||Nd.arch(),!P_(e)){let i=N8(t,r);e=R8(i,e)}let n="";if(e){e=Bs.clean(e)||"";let i=si.join(mC(),t,e,r);_e.debug(`checking cache: ${i}`),Fn.existsSync(i)&&Fn.existsSync(`${i}.complete`)?(_e.debug(`Found tool in cache ${t} ${e} ${r}`),n=i):_e.debug("not found")}return n}o(K1e,"find");function N8(t,e){let r=[];e=e||Nd.arch();let n=si.join(mC(),t);if(Fn.existsSync(n)){let i=Fn.readdirSync(n);for(let s of i)if(P_(s)){let a=si.join(n,s,e||"");Fn.existsSync(a)&&Fn.existsSync(`${a}.complete`)&&r.push(s)}}return r}o(N8,"findAllVersions");function X1e(t,e,r){return Er(this,arguments,void 0,function*(n,i,s,a="master"){let c=[],l=`https://api.github.com/repos/${n}/${i}/git/trees/${a}`,A=new w8.HttpClient("tool-cache"),u={};s&&(_e.debug("set auth"),u.authorization=s);let d=yield A.getJson(l,u);if(!d.result)return c;let f="";for(let C of d.result.tree)if(C.path==="versions-manifest.json"){f=C.url;break}u.accept="application/vnd.github.VERSION.raw";let m=yield(yield A.get(f,u)).readBody();if(m){m=m.replace(/^\uFEFF/,"");try{c=JSON.parse(m)}catch{_e.debug("Invalid json")}}return c})}o(X1e,"getManifestFromRepo");function Z1e(t,e,r){return Er(this,arguments,void 0,function*(n,i,s,a=Nd.arch()){return yield O1e._findMatch(n,i,s,a)})}o(Z1e,"findFromManifest");function fC(t){return Er(this,void 0,void 0,function*(){return t||(t=si.join(_8(),Q8.randomUUID())),yield An.mkdirP(t),t})}o(fC,"_createExtractFolder");function x8(t,e,r){return Er(this,void 0,void 0,function*(){let n=si.join(mC(),t,Bs.clean(e)||e,r||"");_e.debug(`destination ${n}`);let i=`${n}.complete`;return yield An.rmRF(n),yield An.rmRF(i),yield An.mkdirP(n),n})}o(x8,"_createToolPath");function S8(t,e,r){let i=`${si.join(mC(),t,Bs.clean(e)||e,r||"")}.complete`;Fn.writeFileSync(i,""),_e.debug("finished caching tool")}o(S8,"_completeToolPath");function P_(t){let e=Bs.clean(t)||"";_e.debug(`isExplicit: ${e}`);let r=Bs.valid(e)!=null;return _e.debug(`explicit? ${r}`),r}o(P_,"isExplicitVersion");function R8(t,e){let r="";_e.debug(`evaluating ${t.length} versions`),t=t.sort((n,i)=>Bs.gt(n,i)?1:-1);for(let n=t.length-1;n>=0;n--){let i=t[n];if(Bs.satisfies(i,e)){r=i;break}}return r?_e.debug(`matched: ${r}`):_e.debug("match not found"),r}o(R8,"evaluateVersions");function mC(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,Zl.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(mC,"_getCacheDirectory");function _8(){let t=process.env.RUNNER_TEMP||"";return(0,Zl.ok)(t,"Expected RUNNER_TEMP to be defined"),t}o(_8,"_getTempDirectory");function __(t,e){let r=global[t];return r!==void 0?r:e}o(__,"_getGlobal");function eHe(t){return Array.from(new Set(t))}o(eHe,"_unique")});var D8=g((pXe,P8)=>{"use strict";var Qa=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)}},gC=class{static{o(this,"State")}constructor(e){this.parser=e,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null}},xd=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 gC(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 Qa("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 gC(e)}callNow(e,r){return this.call(e,r),this.runOne()}return(e){if(this.stack.length===0)throw this.error(new Qa("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 Qa("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 Qa("Must declare a parseStart method")}};xd.END=1114112;xd.Error=Qa;P8.exports=xd});var O8=g((fXe,T8)=>{"use strict";T8.exports=t=>{let e=new Date(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var yC=g((mXe,M8)=>{"use strict";M8.exports=(t,e)=>{for(e=String(e);e.length<t;)e="0"+e;return e}});var L8=g((gXe,k8)=>{"use strict";var eA=yC(),D_=class extends Date{static{o(this,"FloatingDateTime")}constructor(e){super(e+"Z"),this.isFloating=!0}toISOString(){let e=`${this.getUTCFullYear()}-${eA(2,this.getUTCMonth()+1)}-${eA(2,this.getUTCDate())}`,r=`${eA(2,this.getUTCHours())}:${eA(2,this.getUTCMinutes())}:${eA(2,this.getUTCSeconds())}.${eA(3,this.getUTCMilliseconds())}`;return`${e}T${r}`}};k8.exports=t=>{let e=new D_(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var q8=g((CXe,F8)=>{"use strict";var U8=yC(),tHe=global.Date,T_=class extends tHe{static{o(this,"Date")}constructor(e){super(e),this.isDate=!0}toISOString(){return`${this.getUTCFullYear()}-${U8(2,this.getUTCMonth()+1)}-${U8(2,this.getUTCDate())}`}};F8.exports=t=>{let e=new T_(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var z8=g((BXe,H8)=>{"use strict";var CC=yC(),O_=class extends Date{static{o(this,"Time")}constructor(e){super(`0000-01-01T${e}Z`),this.isTime=!0}toISOString(){return`${CC(2,this.getUTCHours())}:${CC(2,this.getUTCMinutes())}:${CC(2,this.getUTCSeconds())}.${CC(3,this.getUTCMilliseconds())}`}};H8.exports=t=>{let e=new O_(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var EC=g((exports,module)=>{"use strict";module.exports=makeParserClass(D8());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=O8(),createDateTimeFloat=L8(),createDate=q8(),createTime=z8(),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 BC=g((QXe,j8)=>{"use strict";j8.exports=rHe;function rHe(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(rHe,"prettyError")});var Y8=g((NXe,G8)=>{"use strict";G8.exports=sHe;var nHe=EC(),iHe=BC();function sHe(t){global.Buffer&&global.Buffer.isBuffer(t)&&(t=t.toString("utf8"));let e=new nHe;try{return e.parse(t),e.finish()}catch(r){throw iHe(r,t)}}o(sHe,"parseString")});var W8=g((SXe,V8)=>{"use strict";V8.exports=aHe;var oHe=EC(),J8=BC();function aHe(t,e){e||(e={});let r=0,n=e.blocksize||40960,i=new oHe;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(J8(u,t))}try{i.parse(t.slice(a,a+c)),setImmediate(s,a+c,c,l,A)}catch(u){A(J8(u,t))}}}o(aHe,"parseAsync")});var X8=g((_Xe,K8)=>{"use strict";K8.exports=lHe;var cHe=require("stream"),$8=EC();function lHe(t){return t?AHe(t):uHe(t)}o(lHe,"parseStream");function AHe(t){let e=new $8;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(AHe,"parseReadable");function uHe(){let t=new $8;return new cHe.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(uHe,"parseTransform")});var Z8=g((PXe,Sd)=>{"use strict";Sd.exports=Y8();Sd.exports.async=W8();Sd.exports.stream=X8();Sd.exports.prettyError=BC()});var a5=g((DXe,L_)=>{"use strict";L_.exports=dHe;L_.exports.value=k_;function dHe(t){if(t===null)throw wa("null");if(t===void 0)throw wa("undefined");if(typeof t!="object")throw wa(typeof t);if(typeof t.toJSON=="function"&&(t=t.toJSON()),t==null)return null;let e=Lr(t);if(e!=="table")throw wa(e);return M_("","",t)}o(dHe,"stringify");function wa(t){return new Error("Can only stringify objects, not "+t)}o(wa,"typeError");function pHe(){return new Error("Array values can't have mixed types")}o(pHe,"arrayOneTypeError");function e5(t){return Object.keys(t).filter(e=>t5(t[e]))}o(e5,"getInlineKeys");function hHe(t){return Object.keys(t).filter(e=>!t5(t[e]))}o(hHe,"getComplexKeys");function IC(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(IC,"toJSON");function M_(t,e,r){r=IC(r);var n,i;n=e5(r),i=hHe(r);var s=[],a=e||"";n.forEach(l=>{var A=Lr(r[l]);A!=="undefined"&&A!=="null"&&s.push(a+bC(l)+" = "+i5(r[l],!0))}),s.length>0&&s.push("");var c=t&&n.length>0?e+" ":"";return i.forEach(l=>{s.push(wHe(t,c,l,r[l]))}),s.join(`
`)}o(M_,"stringifyObject");function t5(t){switch(Lr(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||Lr(t[0])!=="table";case"table":return Object.keys(t).length===0;default:return!1}}o(t5,"isInline");function Lr(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(Lr,"tomlType");function bC(t){var e=String(t);return/^[-A-Za-z0-9_]+$/.test(e)?e:r5(e)}o(bC,"stringifyKey");function r5(t){return'"'+n5(t).replace(/"/g,'\\"')+'"'}o(r5,"stringifyBasicString");function fHe(t){return"'"+t+"'"}o(fHe,"stringifyLiteralString");function mHe(t,e){for(;e.length<t;)e="0"+e;return e}o(mHe,"numpad");function n5(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"+mHe(4,e.codePointAt(0).toString(16)))}o(n5,"escapeString");function gHe(t){let e=t.split(/\n/).map(r=>n5(r).replace(/"(?="")/g,'\\"')).join(`
`);return e.slice(-1)==='"'&&(e+=`\\
`),`"""
`+e+'"""'}o(gHe,"stringifyMultilineString");function i5(t,e){let r=Lr(t);return r==="string"&&(e&&/\n/.test(t)?r="string-multiline":!/[\b\t\n\f\r']/.test(t)&&/"/.test(t)&&(r="string-literal")),k_(t,r)}o(i5,"stringifyAnyInline");function k_(t,e){switch(e||(e=Lr(t)),e){case"string-multiline":return gHe(t);case"string":return r5(t);case"string-literal":return fHe(t);case"integer":return s5(t);case"float":return yHe(t);case"boolean":return CHe(t);case"datetime":return EHe(t);case"array":return bHe(t.filter(r=>Lr(r)!=="null"&&Lr(r)!=="undefined"&&Lr(r)!=="nan"));case"table":return QHe(t);default:throw wa(e)}}o(k_,"stringifyInline");function s5(t){return String(t).replace(/\B(?=(\d{3})+(?!\d))/g,"_")}o(s5,"stringifyInteger");function yHe(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 s5(r)+"."+n}o(yHe,"stringifyFloat");function CHe(t){return String(t)}o(CHe,"stringifyBoolean");function EHe(t){return t.toISOString()}o(EHe,"stringifyDatetime");function BHe(t){return t==="float"||t==="integer"}o(BHe,"isNumber");function IHe(t){var e=Lr(t[0]);return t.every(r=>Lr(r)===e)?e:t.every(r=>BHe(Lr(r)))?"float":"mixed"}o(IHe,"arrayType");function o5(t){let e=IHe(t);if(e==="mixed")throw pHe();return e}o(o5,"validateArray");function bHe(t){t=IC(t);let e=o5(t);var r="[",n=t.map(i=>k_(i,e));return n.join(", ").length>60||/\n/.test(n)?r+=`
`+n.join(`,
`)+`
`:r+=" "+n.join(", ")+(n.length>0?" ":""),r+"]"}o(bHe,"stringifyInlineArray");function QHe(t){t=IC(t);var e=[];return Object.keys(t).forEach(r=>{e.push(bC(r)+" = "+i5(t[r],!1))}),"{ "+e.join(", ")+(e.length>0?" ":"")+"}"}o(QHe,"stringifyInlineTable");function wHe(t,e,r,n){var i=Lr(n);if(i==="array")return NHe(t,e,r,n);if(i==="table")return xHe(t,e,r,n);throw wa(i)}o(wHe,"stringifyComplex");function NHe(t,e,r,n){n=IC(n),o5(n);var i=Lr(n[0]);if(i!=="table")throw wa(i);var s=t+bC(r),a="";return n.forEach(c=>{a.length>0&&(a+=`
`),a+=e+"[["+s+`]]
`,a+=M_(s+".",e,c)}),a}o(NHe,"stringifyArrayOfTables");function xHe(t,e,r,n){var i=t+bC(r),s="";return e5(n).length>0&&(s+=e+"["+i+`]
`),s+M_(i+".",e,n)}o(xHe,"stringifyComplexTable")});var c5=g(U_=>{"use strict";U_.parse=Z8();U_.stringify=a5()});var v5=require("node:os"),Ut=Ji(ft());var w5=require("node:os"),sA=require("node:path"),qn=require("node:fs"),zi=Ji(ft()),xC=Ji(g8()),Rd=Ji(v8()),G_=Ji(Nc());var tA=require("node:fs"),F_=Ji(ft()),QC=Ji(c5());function l5(t,e){if(!e.length)return;let r=0;if(e.forEach(s=>{try{new URL(s.url)}catch{throw new Error(`Invalid registry URL: ${s.url}`)}s.scope||r++}),r>1)throw new Error("You can't have more than one global registry.");(0,F_.info)(`Writing bunfig.toml to '${t}'.`);let n={};if((0,tA.existsSync)(t))try{let s=(0,tA.readFileSync)(t,{encoding:"utf-8"});n=(0,QC.parse)(s)}catch(s){(0,F_.info)(`Error reading existing bunfig: ${s.message}`),n={}}n.install=n?.install||{},n.install.scopes=n?.install.scopes||{};let i=e.find(s=>!s.scope);i&&(n.install.registry={url:i.url,...i.token?{token:i.token}:{}});for(let s of e)if(s.scope){let a=s.scope.startsWith("@")?s.scope.toLowerCase():`@${s.scope.toLowerCase()}`;n.install.scopes[a]={url:s.url,...s.token?{token:s.token}:{}}}Object.keys(n.install.scopes).length===0&&delete n.install.scopes,(0,tA.writeFileSync)(t,(0,QC.stringify)(n),{encoding:"utf8"})}o(l5,"writeBunfig");var N5=Ji(ft());var yo=Ji(ft()),f5=require("node:console"),z_=require("node:crypto"),Co=require("node:fs"),wC=require("node:path");var q_=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,rA=o(t=>{if(typeof t!="string")throw new TypeError("Invalid argument expected string");let e=t.match(q_);if(!e)throw new Error(`Invalid argument not valid semver ('${t}' received)`);return e.shift(),e},"validateAndParse"),A5=o(t=>t==="*"||t==="x"||t==="X","isWildcard"),u5=o(t=>{let e=parseInt(t,10);return isNaN(e)?t:e},"tryParse"),SHe=o((t,e)=>typeof t!=typeof e?[String(t),String(e)]:[t,e],"forceType"),RHe=o((t,e)=>{if(A5(t)||A5(e))return 0;let[r,n]=SHe(u5(t),u5(e));return r>n?1:r<n?-1:0},"compareStrings"),go=o((t,e)=>{for(let r=0;r<Math.max(t.length,e.length);r++){let n=RHe(t[r]||"x",e[r]||"x");if(n!==0)return n}return 0},"compareSegments");var Na=o((t,e)=>{let r=rA(t),n=rA(e),i=r.pop(),s=n.pop(),a=go(r,n);return a!==0?a:i&&s?go(i.split("."),s.split(".")):i||s?i?-1:1:0},"compareVersions");var p5=o((t,e,r)=>{_He(r);let n=Na(t,e);return h5[r].includes(n)},"compare"),h5={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},d5=Object.keys(h5),_He=o(t=>{if(typeof t!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof t}`);if(d5.indexOf(t)===-1)throw new Error(`Invalid operator, expected one of ${d5.join("|")}`)},"assertValidOperator");var nA=o((t,e)=>{if(e=e.replace(/([><=]+)\s+/g,"$1"),e.includes("||"))return e.split("||").some(S=>nA(t,S));if(e.includes(" - ")){let[S,w]=e.split(" - ",2);return nA(t,`>=${S} <=${w}`)}else if(e.includes(" "))return e.trim().replace(/\s{2,}/g," ").split(" ").every(S=>nA(t,S));let r=e.match(/^([<>=~^]+)/),n=r?r[1]:"=";if(n!=="^"&&n!=="~")return p5(t,e,n);let[i,s,a,,c]=rA(t),[l,A,u,,d]=rA(e),f=[i,s??"x",a??"x"],m=[l,A??"x",u??"x"];if(d&&(!c||go(f,m)!==0||go(c.split("."),d.split("."))===-1))return!1;let C=m.findIndex(S=>S!=="0")+1,Q=n==="~"?2:C>1?C:1;return!(go(f.slice(0,Q),m.slice(0,Q))!==0||go(f.slice(Q),m.slice(Q))===-1)},"satisfies");var iA=o(t=>typeof t=="string"&&/^[v\d]/.test(t)&&q_.test(t),"validate"),H_=o(t=>typeof t=="string"&&/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/.test(t),"validateStrict");var vHe="1.3.10";function m5(t){return`bun-${(0,z_.createHash)("sha1").update(t).digest("base64")}`}o(m5,"getCacheKey");function g5(t,e){if(!e)return;let r=e.trim().toLowerCase();if(!/^[a-f0-9]{64}$/.test(r))throw new Error("The checksum input must be a SHA256 hex digest.");let n=(0,z_.createHash)("sha256").update((0,Co.readFileSync)(t)).digest("hex");if(n!==r)throw new Error(`Downloaded Bun archive checksum mismatch. Expected ${r}, got ${n}.`)}o(g5,"verifyChecksum");function y5(t){return t.match(/\/bun-v([^/]+)\//)?.[1]}o(y5,"extractVersionFromUrl");async function C5(t,e){let r=new Headers(e?.headers);r.has("User-Agent")||r.set("User-Agent","@oven-sh/setup-bun");let n=await fetch(t,{...e,headers:r});if(!n.ok){let i=await n.text().catch(()=>"");throw new Error(`Failed to fetch url ${t}. (status code: ${n.status}, status text: ${n.statusText})${i?`
${i}`:""}`)}return n}o(C5,"request");function E5(t,e){return t.endsWith(e)?t:((0,Co.renameSync)(t,t+e),t+e)}o(E5,"addExtension");function NC(){let t=process.platform;return t==="win32"?"windows":t}o(NC,"getPlatform");function B5(t){if(!t)return!1;let e=t.replace(/^bun-v/,"");return iA(e)?Na(e,vHe)>=0:!0}o(B5,"hasNativeWindowsArm64");function I5(t,e,r){return t==="windows"&&(e==="aarch64"||e==="arm64")&&!B5(r)?((0,yo.warning)(["\u26A0\uFE0F This version of Bun does not provide native arm64 builds for Windows.","Using x64 baseline build which will run through Microsoft's x64 emulation layer.","This may result in reduced performance and potential compatibility issues.","\u{1F4A1} For best performance, consider using Bun >= 1.3.10, x64 Windows runners, or other platforms with native support."].join(`
`)),"x64"):e==="arm64"?"aarch64":e}o(I5,"getArchitecture");function b5(t,e,r,n){if(t==="windows"&&(e==="aarch64"||e==="arm64"))return!!B5(n);if(t==="linux"&&e==="x64"&&r===void 0)try{return(0,Co.readFileSync)("/proc/cpuinfo","utf8").includes("avx2")}catch{return(0,yo.warning)("Failed to detect AVX2 support."),!1}return r??!0}o(b5,"getAvx2");var PHe={"package.json":t=>{let e=JSON.parse(t);return e.packageManager?.split("bun@")?.[1]??e.engines?.bun},".tool-versions":t=>t.match(/^bun\s*(?<version>.*?)$/m)?.groups?.version,".bumrc":t=>t,".bun-version":t=>t};function j_(t,e=!1){let r=process.env.GITHUB_WORKSPACE;if(!r||!t)return;(0,yo.debug)(`Reading version from ${t}`);let n=(0,wC.resolve)(r,t),i=(0,wC.basename)(t);if(!(0,Co.existsSync)(n)){e||(0,yo.warning)(`File ${n} not found`);return}let s=PHe[i]??(()=>{}),a;try{if(a=s((0,Co.readFileSync)(n,"utf8"))?.trim(),!a){e||(0,yo.warning)(`Failed to read version from ${t}`);return}}catch(c){let{message:l}=c;e||(0,yo.warning)(`Failed to read ${t}: ${l}`)}finally{if(a)return(0,f5.info)(`Obtained version ${a} from ${t}`),a}}o(j_,"readVersionFromFile");async function Q5(t){let{customUrl:e}=t;return e||await DHe(t)}o(Q5,"getDownloadUrl");async function DHe(t){let{version:e,os:r,arch:n,avx2:i,profile:s}=t,a;if(H_(e)&&(a=`bun-v${e}`),!a){let Q=(await(await C5("https://api.github.com/repos/oven-sh/bun/git/refs/tags",{headers:t.token?{Authorization:`Bearer ${t.token}`}:{}})).json()).filter(S=>S.ref.startsWith("refs/tags/bun-v")||S.ref==="refs/tags/canary").map(S=>S.ref.replace(/refs\/tags\/(bun-v)?/g,"")).filter(Boolean);if(a=Q.find(S=>S===e),a)iA(a)&&(a=`bun-v${a}`);else{Q=Q.filter(w=>iA(w)).sort(Na);let S=e==="latest"||!e?Q.at(-1):Q.filter(w=>nA(w,e)).at(-1);if(!S)throw new Error(`No Bun release found matching version '${e}'`);a=`bun-v${S}`}}let c=a??e,l=encodeURIComponent(c),A=encodeURIComponent(r??NC()),u=encodeURIComponent(I5(r??NC(),n??process.arch,c)),d=encodeURIComponent(b5(r??NC(),n??process.arch,i,c)===!1?"-baseline":""),f=encodeURIComponent(s===!0?"-profile":""),{href:m}=new URL(`${l}/bun-${A}-${u}${d}${f}.zip`,"https://github.com/oven-sh/bun/releases/download/");return m}o(DHe,"getSemverDownloadUrl");var x5=require("node:process");var S5=o(async t=>{let e=(0,sA.join)((0,x5.cwd)(),"bunfig.toml");l5(e,t.registries);let r=await Q5(t),n=MHe(t),i=(0,sA.join)((0,w5.homedir)(),".bun","bin");try{(0,qn.mkdirSync)(i,{recursive:!0})}catch(d){if(d.code!=="EEXIST")throw d}(0,zi.addPath)(i);let s=o(d=>process.platform==="win32"?`${d}.exe`:d,"exe"),a=(0,sA.join)(i,s("bun"));try{(0,qn.symlinkSync)(a,(0,sA.join)(i,s("bunx")))}catch(d){if(d.code!=="EEXIST")throw d}let c,l=!1;if(!t.customUrl&&(0,qn.existsSync)(a)){let d=await J_(a);d&&THe(d,t.version)&&(c=d,l=!0,(0,zi.info)(`Using existing Bun installation: ${c}`))}if(!c){if(n){let d=m5(r);if(await(0,xC.restoreCache)([a],d))if(c=await J_(a),c){let m=y5(r),[C]=c.split("+");m?C!==m?((0,zi.warning)(`Cached Bun version ${c} does not match expected version ${m}. Re-downloading.`),c=void 0):(l=!0,(0,zi.info)(`Using a cached version of Bun: ${c}`)):((0,zi.warning)(`Could not parse expected version from URL: ${r}. Ignoring cache.`),c=void 0)}else(0,zi.warning)(`Found a cached version of Bun: ${c} (but it appears to be corrupted?)`)}l||((0,zi.info)(`Downloading a new version of Bun: ${r}`),c=await OHe(r,a,t.checksum))}if(!c)throw new Error("Downloaded a new version of Bun, but failed to check its version? Try again.");let[A]=c.split("+");return(0,N5.saveState)("cache",JSON.stringify({cacheEnabled:n,cacheHit:l,bunPath:a,url:r})),{version:A,revision:c,bunPath:a,url:r,cacheHit:l}},"default");function THe(t,e){if(!e||/^(latest|canary|action)$/i.test(e))return!1;let[r]=t.split("+"),n=o(i=>i.replace(/^v/i,""),"normalizeVersion");return n(r)===n(e)}o(THe,"isVersionMatch");async function OHe(t,e,r){let n=E5(await(0,Rd.downloadTool)(t),".zip");g5(n,r);let i=await(0,Rd.extractZip)(n),s=await Y_(i);try{(0,qn.renameSync)(s,e)}catch{(0,qn.copyFileSync)(s,e)}return await J_(e)}o(OHe,"downloadBun");function MHe(t){let{customUrl:e,version:r,noCache:n}=t;return n||e||!r||/latest|canary|action/i.test(r)?!1:(0,xC.isFeatureAvailable)()}o(MHe,"isCacheEnabled");async function Y_(t){for(let e of(0,qn.readdirSync)(t,{withFileTypes:!0})){let{name:r}=e,n=(0,sA.join)(t,r);if(e.isFile()){if(r==="bun"||r==="bun.exe")return n;if(/^bun.*\.zip/.test(r)){let i=await(0,Rd.extractZip)(n);return Y_(i)}}if(/^bun/.test(r)&&e.isDirectory())return Y_(n)}throw new Error("Could not find executable: bun")}o(Y_,"extractBun");async function J_(t){let e=await(0,G_.getExecOutput)(t,["--revision"],{ignoreReturnCode:!0});if(e.exitCode===0&&/^\d+\.\d+\.\d+/.test(e.stdout))return e.stdout.trim();let r=await(0,G_.getExecOutput)(t,["--version"],{ignoreReturnCode:!0});if(r.exitCode===0&&/^\d+\.\d+\.\d+/.test(r.stdout))return r.stdout.trim()}o(J_,"getRevision");function R5(t){return t?.trim()?t.split(`
`).map(e=>e.trim()).filter(Boolean).map(kHe).filter(Boolean):[]}o(R5,"parseRegistries");function kHe(t){let e=t.match(/^(@[a-z0-9-_.]+|[a-z0-9-_.]+(?=:[a-z]+:\/\/)):(.+)$/i);if(e){let r=e[1],n=e[2].trim(),[i,s]=n.split("|",2).map(a=>a?.trim());try{return new URL(i),{url:i,scope:r,...s&&{token:s}}}catch{throw new Error(`Invalid URL in registry configuration: ${i}`)}}else{let[r,n]=t.split("|",2).map(i=>i?.trim());try{return new URL(r),{url:r,scope:"",...n&&{token:n}}}catch{throw new Error(`Invalid URL in registry configuration: ${r}`)}}}o(kHe,"parseLine");process.env.RUNNER_TEMP||(process.env.RUNNER_TEMP=(0,v5.tmpdir)());var P5=R5((0,Ut.getInput)("registries")),_5=(0,Ut.getInput)("registry-url"),LHe=(0,Ut.getInput)("scope");_5&&P5.push({url:_5,scope:LHe,token:"$BUN_AUTH_TOKEN"});S5({version:(0,Ut.getInput)("bun-version")||j_((0,Ut.getInput)("bun-version-file"))||j_("package.json",!0)||void 0,customUrl:(0,Ut.getInput)("bun-download-url")||void 0,registries:P5,noCache:(0,Ut.getBooleanInput)("no-cache")||!1,token:(0,Ut.getInput)("token"),checksum:(0,Ut.getInput)("checksum")||void 0}).then(({version:t,revision:e,bunPath:r,url:n,cacheHit:i})=>{(0,Ut.setOutput)("bun-version",t),(0,Ut.setOutput)("bun-revision",e),(0,Ut.setOutput)("bun-path",r),(0,Ut.setOutput)("bun-download-url",n),(0,Ut.setOutput)("cache-hit",i),process.exit(0)}).catch(t=>{(0,Ut.setFailed)(t),process.exit(1)});
/*! 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> *)
*/