mirror of
https://github.com/pnpm/action-setup.git
synced 2026-04-04 03:10:11 +08:00
ensureAliasLinks had a hardcoded relative path to @pnpm/exe/pnpm which only works from node_modules/.bin/. In self-update's bin/ directory ($PNPM_HOME/bin/), that path doesn't resolve. Now falls back to using the pnpm shim in the same directory when the package path doesn't exist.
296 lines
1.4 MiB
296 lines
1.4 MiB
"use strict";var qX=Object.create;var _m=Object.defineProperty;var HX=Object.getOwnPropertyDescriptor;var jX=Object.getOwnPropertyNames;var zX=Object.getPrototypeOf,GX=Object.prototype.hasOwnProperty;var YX=(t,e)=>()=>(t&&(e=t(t=0)),e);var h=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),JX=(t,e)=>{for(var r in e)_m(t,r,{get:e[r],enumerable:!0})},_P=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of jX(e))!GX.call(t,i)&&i!==r&&_m(t,i,{get:()=>e[i],enumerable:!(n=HX(e,i))||n.enumerable});return t};var gt=(t,e,r)=>(r=t!=null?qX(zX(t)):{},_P(e||!t||!t.__esModule?_m(r,"default",{value:t,enumerable:!0}):r,t)),Ui=t=>_P(_m({},"__esModule",{value:!0}),t);var Dm=h(gc=>{"use strict";Object.defineProperty(gc,"__esModule",{value:!0});gc.toCommandProperties=gc.toCommandValue=void 0;function VX(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}gc.toCommandValue=VX;function WX(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}gc.toCommandProperties=WX});var TP=h(ti=>{"use strict";var $X=ti&&ti.__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]})),KX=ti&&ti.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),XX=ti&&ti.__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)&&$X(e,t,r);return KX(e,t),e};Object.defineProperty(ti,"__esModule",{value:!0});ti.issue=ti.issueCommand=void 0;var ZX=XX(require("os")),kP=Dm();function PP(t,e,r){let n=new UQ(t,e,r);process.stdout.write(n.toString()+ZX.EOL)}ti.issueCommand=PP;function e5(t,e=""){PP(t,{},e)}ti.issue=e5;var DP="::",UQ=class{constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=DP+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}=${r5(i)}`)}}return e+=`${DP}${t5(this.message)}`,e}};function t5(t){return(0,kP.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function r5(t){return(0,kP.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});var MP=h(ri=>{"use strict";var n5=ri&&ri.__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]})),i5=ri&&ri.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),HQ=ri&&ri.__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)&&n5(e,t,r);return i5(e,t),e};Object.defineProperty(ri,"__esModule",{value:!0});ri.prepareKeyValueMessage=ri.issueFileCommand=void 0;var s5=HQ(require("crypto")),OP=HQ(require("fs")),qQ=HQ(require("os")),LP=Dm();function o5(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!OP.existsSync(r))throw new Error(`Missing file at path: ${r}`);OP.appendFileSync(r,`${(0,LP.toCommandValue)(e)}${qQ.EOL}`,{encoding:"utf8"})}ri.issueFileCommand=o5;function a5(t,e){let r=`ghadelimiter_${s5.randomUUID()}`,n=(0,LP.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}${qQ.EOL}${n}${qQ.EOL}${r}`}ri.prepareKeyValueMessage=a5});var UP=h(mc=>{"use strict";Object.defineProperty(mc,"__esModule",{value:!0});mc.checkBypass=mc.getProxyUrl=void 0;function A5(t){let e=t.protocol==="https:";if(FP(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 km(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new km(`http://${r}`)}else return}mc.getProxyUrl=A5;function FP(t){if(!t.hostname)return!1;let e=t.hostname;if(c5(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(o=>o.trim().toUpperCase()).filter(o=>o))if(s==="*"||i.some(o=>o===s||o.endsWith(`.${s}`)||s.startsWith(".")&&o.endsWith(`${s}`)))return!0;return!1}mc.checkBypass=FP;function c5(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}var km=class extends URL{constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}});var zP=h(pc=>{"use strict";var mOe=require("net"),l5=require("tls"),jQ=require("http"),qP=require("https"),u5=require("events"),pOe=require("assert"),d5=require("util");pc.httpOverHttp=f5;pc.httpsOverHttp=h5;pc.httpOverHttps=g5;pc.httpsOverHttps=m5;function f5(t){var e=new js(t);return e.request=jQ.request,e}function h5(t){var e=new js(t);return e.request=jQ.request,e.createSocket=HP,e.defaultPort=443,e}function g5(t){var e=new js(t);return e.request=qP.request,e}function m5(t){var e=new js(t);return e.request=qP.request,e.createSocket=HP,e.defaultPort=443,e}function js(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||jQ.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",function(n,i,s,o){for(var a=jP(i,s,o),A=0,c=e.requests.length;A<c;++A){var l=e.requests[A];if(l.host===a.host&&l.port===a.port){e.requests.splice(A,1),l.request.onSocket(n);return}}n.destroy(),e.removeSocket(n)})}d5.inherits(js,u5.EventEmitter);js.prototype.addRequest=function(e,r,n,i){var s=this,o=zQ({request:e},s.options,jP(r,n,i));if(s.sockets.length>=this.maxSockets){s.requests.push(o);return}s.createSocket(o,function(a){a.on("free",A),a.on("close",c),a.on("agentRemove",c),e.onSocket(a);function A(){s.emit("free",a,o)}function c(l){s.removeSocket(a),a.removeListener("free",A),a.removeListener("close",c),a.removeListener("agentRemove",c)}})};js.prototype.createSocket=function(e,r){var n=this,i={};n.sockets.push(i);var s=zQ({},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")),Po("making CONNECT request");var o=n.request(s);o.useChunkedEncodingByDefault=!1,o.once("response",a),o.once("upgrade",A),o.once("connect",c),o.once("error",l),o.end();function a(u){u.upgrade=!0}function A(u,d,f){process.nextTick(function(){c(u,d,f)})}function c(u,d,f){if(o.removeAllListeners(),d.removeAllListeners(),u.statusCode!==200){Po("tunneling socket could not be established, statusCode=%d",u.statusCode),d.destroy();var g=new Error("tunneling socket could not be established, statusCode="+u.statusCode);g.code="ECONNRESET",e.request.emit("error",g),n.removeSocket(i);return}if(f.length>0){Po("got illegal response body from proxy"),d.destroy();var g=new Error("got illegal response body from proxy");g.code="ECONNRESET",e.request.emit("error",g),n.removeSocket(i);return}return Po("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=d,r(d)}function l(u){o.removeAllListeners(),Po(`tunneling socket could not be established, cause=%s
|
||
`,u.message,u.stack);var d=new Error("tunneling socket could not be established, cause="+u.message);d.code="ECONNRESET",e.request.emit("error",d),n.removeSocket(i)}};js.prototype.removeSocket=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)})}};function HP(t,e){var r=this;js.prototype.createSocket.call(r,t,function(n){var i=t.request.getHeader("host"),s=zQ({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):t.host}),o=l5.connect(0,s);r.sockets[r.sockets.indexOf(n)]=o,e(o)})}function jP(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}function zQ(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,o=i.length;s<o;++s){var a=i[s];n[a]!==void 0&&(t[a]=n[a])}}return t}var Po;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?Po=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)}:Po=function(){};pc.debug=Po});var YP=h((EOe,GP)=>{GP.exports=zP()});var It=h((COe,JP)=>{JP.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"),kHeadersList:Symbol("headers list"),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"),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"),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"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}});var At=h((IOe,VP)=>{"use strict";var Vt=class extends Error{constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}},GQ=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}},YQ=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}},JQ=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}},VQ=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}},WQ=class t extends Vt{constructor(e,r,n,i){super(e),Error.captureStackTrace(this,t),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}},$Q=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}},KQ=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}},XQ=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}},ZQ=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}},eb=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}},tb=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}},rb=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}},nb=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}},ib=class t extends Vt{constructor(e,r){super(e),Error.captureStackTrace(this,t),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=r}},Pm=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}},sb=class extends Vt{constructor(e){super(e),Error.captureStackTrace(this,Pm),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}},ob=class t extends Error{constructor(e,r,n){super(e),Error.captureStackTrace(this,t),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=n?n.toString():void 0}},ab=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}},Ab=class t extends Vt{constructor(e,r,{headers:n,data:i}){super(e),Error.captureStackTrace(this,t),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=i,this.headers=n}};VP.exports={HTTPParserError:ob,UndiciError:Vt,HeadersTimeoutError:YQ,HeadersOverflowError:JQ,BodyTimeoutError:VQ,RequestContentLengthMismatchError:eb,ConnectTimeoutError:GQ,ResponseStatusCodeError:WQ,InvalidArgumentError:$Q,InvalidReturnValueError:KQ,RequestAbortedError:XQ,ClientDestroyedError:rb,ClientClosedError:nb,InformationalError:ZQ,SocketError:ib,NotSupportedError:Pm,ResponseContentLengthMismatchError:tb,BalancedPoolMissingUpstreamError:sb,ResponseExceededMaxSizeError:ab,RequestRetryError:Ab}});var $P=h((BOe,WP)=>{"use strict";var Tm={},cb=["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<cb.length;++t){let e=cb[t],r=e.toLowerCase();Tm[e]=Tm[r]=r}Object.setPrototypeOf(Tm,null);WP.exports={wellknownHeaderNames:cb,headerNameLowerCasedRecord:Tm}});var Ue=h((QOe,aT)=>{"use strict";var eT=require("assert"),{kDestroyed:tT,kBodyUsed:KP}=It(),{IncomingMessage:p5}=require("http"),yc=require("stream"),y5=require("net"),{InvalidArgumentError:xr}=At(),{Blob:XP}=require("buffer"),Om=require("util"),{stringify:E5}=require("querystring"),{headerNameLowerCasedRecord:C5}=$P(),[lb,ZP]=process.versions.node.split(".").map(t=>Number(t));function I5(){}function ub(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}function rT(t){return XP&&t instanceof XP||t&&typeof t=="object"&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&/^(Blob|File)$/.test(t[Symbol.toStringTag])}function B5(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=E5(e);return r&&(t+="?"+r),t}function nT(t){if(typeof t=="string"){if(t=new URL(t),!/^https?:/.test(t.origin||t.protocol))throw new xr("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new xr("Invalid URL: The URL argument must be a non-null object.");if(!/^https?:/.test(t.origin||t.protocol))throw new xr("Invalid URL protocol: the URL must start with `http:` or `https:`.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&!Number.isFinite(parseInt(t.port)))throw new xr("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 xr("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new xr("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new xr("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new xr("Invalid URL origin: the origin must be a string or null/undefined.");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||""}`;r.endsWith("/")&&(r=r.substring(0,r.length-1)),n&&!n.startsWith("/")&&(n=`/${n}`),t=new URL(r+n)}return t}function Q5(t){if(t=nT(t),t.pathname!=="/"||t.search||t.hash)throw new xr("invalid url");return t}function b5(t){if(t[0]==="["){let r=t.indexOf("]");return eT(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}function N5(t){if(!t)return null;eT.strictEqual(typeof t,"string");let e=b5(t);return y5.isIP(e)?"":e}function w5(t){return JSON.parse(JSON.stringify(t))}function S5(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}function x5(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}function R5(t){if(t==null)return 0;if(ub(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(rT(t))return t.size!=null?t.size:null;if(sT(t))return t.byteLength}return null}function db(t){return!t||!!(t.destroyed||t[tT])}function iT(t){let e=t&&t._readableState;return db(t)&&e&&!e.endEmitted}function v5(t,e){t==null||!ub(t)||db(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===p5&&(t.socket=null),t.destroy(e)):e&&process.nextTick((r,n)=>{r.emit("error",n)},t,e),t.destroyed!==!0&&(t[tT]=!0))}var _5=/timeout=(\d+)/;function D5(t){let e=t.toString().match(_5);return e?parseInt(e[1],10)*1e3:null}function k5(t){return C5[t]||t.toLowerCase()}function P5(t,e={}){if(!Array.isArray(t))return t;for(let r=0;r<t.length;r+=2){let n=t[r].toString().toLowerCase(),i=e[n];i?(Array.isArray(i)||(i=[i],e[n]=i),i.push(t[r+1].toString("utf8"))):Array.isArray(t[r+1])?e[n]=t[r+1].map(s=>s.toString("utf8")):e[n]=t[r+1].toString("utf8")}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}function T5(t){let e=[],r=!1,n=-1;for(let i=0;i<t.length;i+=2){let s=t[i+0].toString(),o=t[i+1].toString("utf8");s.length===14&&(s==="content-length"||s.toLowerCase()==="content-length")?(e.push(s,o),r=!0):s.length===19&&(s==="content-disposition"||s.toLowerCase()==="content-disposition")?n=e.push(s,o)-1:e.push(s,o)}return r&&n!==-1&&(e[n]=Buffer.from(e[n]).toString("latin1")),e}function sT(t){return t instanceof Uint8Array||Buffer.isBuffer(t)}function O5(t,e,r){if(!t||typeof t!="object")throw new xr("handler must be an object");if(typeof t.onConnect!="function")throw new xr("invalid onConnect method");if(typeof t.onError!="function")throw new xr("invalid onError method");if(typeof t.onBodySent!="function"&&t.onBodySent!==void 0)throw new xr("invalid onBodySent method");if(r||e==="CONNECT"){if(typeof t.onUpgrade!="function")throw new xr("invalid onUpgrade method")}else{if(typeof t.onHeaders!="function")throw new xr("invalid onHeaders method");if(typeof t.onData!="function")throw new xr("invalid onData method");if(typeof t.onComplete!="function")throw new xr("invalid onComplete method")}}function L5(t){return!!(t&&(yc.isDisturbed?yc.isDisturbed(t)||t[KP]:t[KP]||t.readableDidRead||t._readableState&&t._readableState.dataEmitted||iT(t)))}function M5(t){return!!(t&&(yc.isErrored?yc.isErrored(t):/state: 'errored'/.test(Om.inspect(t))))}function F5(t){return!!(t&&(yc.isReadable?yc.isReadable(t):/state: 'readable'/.test(Om.inspect(t))))}function U5(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}}async function*q5(t){for await(let e of t)yield Buffer.isBuffer(e)?e:Buffer.from(e)}var Vd;function H5(t){if(Vd||(Vd=require("stream/web").ReadableStream),Vd.from)return Vd.from(q5(t));let e;return new Vd({async start(){e=t[Symbol.asyncIterator]()},async pull(r){let{done:n,value:i}=await e.next();if(n)queueMicrotask(()=>{r.close()});else{let s=Buffer.isBuffer(i)?i:Buffer.from(i);r.enqueue(new Uint8Array(s))}return r.desiredSize>0},async cancel(r){await e.return()}},0)}function j5(t){return t&&typeof t=="object"&&typeof t.append=="function"&&typeof t.delete=="function"&&typeof t.get=="function"&&typeof t.getAll=="function"&&typeof t.has=="function"&&typeof t.set=="function"&&t[Symbol.toStringTag]==="FormData"}function z5(t){if(t){if(typeof t.throwIfAborted=="function")t.throwIfAborted();else if(t.aborted){let e=new Error("The operation was aborted");throw e.name="AbortError",e}}}function G5(t,e){return"addEventListener"in t?(t.addEventListener("abort",e,{once:!0}),()=>t.removeEventListener("abort",e)):(t.addListener("abort",e),()=>t.removeListener("abort",e))}var Y5=!!String.prototype.toWellFormed;function J5(t){return Y5?`${t}`.toWellFormed():Om.toUSVString?Om.toUSVString(t):`${t}`}function V5(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}var oT=Object.create(null);oT.enumerable=!0;aT.exports={kEnumerableProperty:oT,nop:I5,isDisturbed:L5,isErrored:M5,isReadable:F5,toUSVString:J5,isReadableAborted:iT,isBlobLike:rT,parseOrigin:Q5,parseURL:nT,getServerName:N5,isStream:ub,isIterable:x5,isAsyncIterable:S5,isDestroyed:db,headerNameToString:k5,parseRawHeaders:T5,parseHeaders:P5,parseKeepAliveTimeout:D5,destroy:v5,bodyLength:R5,deepClone:w5,ReadableStreamFrom:H5,isBuffer:sT,validateHandler:O5,getSocketInfo:U5,isFormDataLike:j5,buildURL:B5,throwIfAborted:z5,addAbortListener:G5,parseRangeHeader:V5,nodeMajor:lb,nodeMinor:ZP,nodeHasAutoSelectFamily:lb>18||lb===18&&ZP>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}});var lT=h((bOe,cT)=>{"use strict";var fb=Date.now(),To,Oo=[];function W5(){fb=Date.now();let t=Oo.length,e=0;for(;e<t;){let r=Oo[e];r.state===0?r.state=fb+r.delay:r.state>0&&fb>=r.state&&(r.state=-1,r.callback(r.opaque)),r.state===-1?(r.state=-2,e!==t-1?Oo[e]=Oo.pop():Oo.pop(),t-=1):e+=1}Oo.length>0&&AT()}function AT(){To&&To.refresh?To.refresh():(clearTimeout(To),To=setTimeout(W5,1e3),To.unref&&To.unref())}var Lm=class{constructor(e,r,n){this.callback=e,this.delay=r,this.opaque=n,this.state=-2,this.refresh()}refresh(){this.state===-2&&(Oo.push(this),(!To||Oo.length===1)&&AT()),this.state=0}clear(){this.state=-1}};cT.exports={setTimeout(t,e,r){return e<1e3?setTimeout(t,e,r):new Lm(t,e,r)},clearTimeout(t){t instanceof Lm?t.clear():clearTimeout(t)}}});var hb=h((NOe,uT)=>{"use strict";var $5=require("node:events").EventEmitter,K5=require("node:util").inherits;function Ha(t){if(typeof t=="string"&&(t=Buffer.from(t)),!Buffer.isBuffer(t))throw new TypeError("The needle has to be a String or a Buffer.");let e=t.length;if(e===0)throw new Error("The needle cannot be an empty String/Buffer.");if(e>256)throw new Error("The needle cannot have a length bigger than 256.");this.maxMatches=1/0,this.matches=0,this._occ=new Array(256).fill(e),this._lookbehind_size=0,this._needle=t,this._bufpos=0,this._lookbehind=Buffer.alloc(e);for(var r=0;r<e-1;++r)this._occ[t[r]]=e-1-r}K5(Ha,$5);Ha.prototype.reset=function(){this._lookbehind_size=0,this.matches=0,this._bufpos=0};Ha.prototype.push=function(t,e){Buffer.isBuffer(t)||(t=Buffer.from(t,"binary"));let r=t.length;this._bufpos=e||0;let n;for(;n!==r&&this.matches<this.maxMatches;)n=this._sbmh_feed(t);return n};Ha.prototype._sbmh_feed=function(t){let e=t.length,r=this._needle,n=r.length,i=r[n-1],s=-this._lookbehind_size,o;if(s<0){for(;s<0&&s<=e-n;){if(o=this._sbmh_lookup_char(t,s+n-1),o===i&&this._sbmh_memcmp(t,s,n-1))return this._lookbehind_size=0,++this.matches,this.emit("info",!0),this._bufpos=s+n;s+=this._occ[o]}if(s<0)for(;s<0&&!this._sbmh_memcmp(t,s,e-s);)++s;if(s>=0)this.emit("info",!1,this._lookbehind,0,this._lookbehind_size),this._lookbehind_size=0;else{let a=this._lookbehind_size+s;return a>0&&this.emit("info",!1,this._lookbehind,0,a),this._lookbehind.copy(this._lookbehind,0,a,this._lookbehind_size-a),this._lookbehind_size-=a,t.copy(this._lookbehind,this._lookbehind_size),this._lookbehind_size+=e,this._bufpos=e,e}}if(s+=(s>=0)*this._bufpos,t.indexOf(r,s)!==-1)return s=t.indexOf(r,s),++this.matches,s>0?this.emit("info",!0,t,this._bufpos,s):this.emit("info",!0),this._bufpos=s+n;for(s=e-n;s<e&&(t[s]!==r[0]||Buffer.compare(t.subarray(s,s+e-s),r.subarray(0,e-s))!==0);)++s;return s<e&&(t.copy(this._lookbehind,0,s,s+(e-s)),this._lookbehind_size=e-s),s>0&&this.emit("info",!1,t,this._bufpos,s<e?s:e),this._bufpos=e,e};Ha.prototype._sbmh_lookup_char=function(t,e){return e<0?this._lookbehind[this._lookbehind_size+e]:t[e]};Ha.prototype._sbmh_memcmp=function(t,e,r){for(var n=0;n<r;++n)if(this._sbmh_lookup_char(t,e+n)!==this._needle[n])return!1;return!0};uT.exports=Ha});var hT=h((wOe,fT)=>{"use strict";var X5=require("node:util").inherits,dT=require("node:stream").Readable;function gb(t){dT.call(this,t)}X5(gb,dT);gb.prototype._read=function(t){};fT.exports=gb});var Mm=h((SOe,gT)=>{"use strict";gT.exports=function(e,r,n){if(!e||e[r]===void 0||e[r]===null)return n;if(typeof e[r]!="number"||isNaN(e[r]))throw new TypeError("Limit "+r+" is not a valid number");return e[r]}});var ET=h((xOe,yT)=>{"use strict";var pT=require("node:events").EventEmitter,Z5=require("node:util").inherits,mT=Mm(),e6=hb(),t6=Buffer.from(`\r
|
||
\r
|
||
`),r6=/\r\n/g,n6=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function Ec(t){pT.call(this),t=t||{};let e=this;this.nread=0,this.maxed=!1,this.npairs=0,this.maxHeaderPairs=mT(t,"maxHeaderPairs",2e3),this.maxHeaderSize=mT(t,"maxHeaderSize",80*1024),this.buffer="",this.header={},this.finished=!1,this.ss=new e6(t6),this.ss.on("info",function(r,n,i,s){n&&!e.maxed&&(e.nread+s-i>=e.maxHeaderSize?(s=e.maxHeaderSize-e.nread+i,e.nread=e.maxHeaderSize,e.maxed=!0):e.nread+=s-i,e.buffer+=n.toString("binary",i,s)),r&&e._finish()})}Z5(Ec,pT);Ec.prototype.push=function(t){let e=this.ss.push(t);if(this.finished)return e};Ec.prototype.reset=function(){this.finished=!1,this.buffer="",this.header={},this.ss.reset()};Ec.prototype._finish=function(){this.buffer&&this._parseHeader(),this.ss.matches=this.ss.maxMatches;let t=this.header;this.header={},this.buffer="",this.finished=!0,this.nread=this.npairs=0,this.maxed=!1,this.emit("header",t)};Ec.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs)return;let t=this.buffer.split(r6),e=t.length,r,n;for(var i=0;i<e;++i){if(t[i].length===0)continue;if((t[i][0]===" "||t[i][0]===" ")&&n){this.header[n][this.header[n].length-1]+=t[i];continue}let s=t[i].indexOf(":");if(s===-1||s===0)return;if(r=n6.exec(t[i]),n=r[1].toLowerCase(),this.header[n]=this.header[n]||[],this.header[n].push(r[2]||""),++this.npairs===this.maxHeaderPairs)break}};yT.exports=Ec});var pb=h((ROe,IT)=>{"use strict";var mb=require("node:stream").Writable,i6=require("node:util").inherits,s6=hb(),CT=hT(),o6=ET(),a6=45,A6=Buffer.from("-"),c6=Buffer.from(`\r
|
||
`),l6=function(){};function qi(t){if(!(this instanceof qi))return new qi(t);if(mb.call(this,t),!t||!t.headerFirst&&typeof t.boundary!="string")throw new TypeError("Boundary required");typeof t.boundary=="string"?this.setBoundary(t.boundary):this._bparser=void 0,this._headerFirst=t.headerFirst,this._dashes=0,this._parts=0,this._finished=!1,this._realFinish=!1,this._isPreamble=!0,this._justMatched=!1,this._firstWrite=!0,this._inHeader=!0,this._part=void 0,this._cb=void 0,this._ignoreData=!1,this._partOpts={highWaterMark:t.partHwm},this._pause=!1;let e=this;this._hparser=new o6(t),this._hparser.on("header",function(r){e._inHeader=!1,e._part.emit("header",r)})}i6(qi,mb);qi.prototype.emit=function(t){if(t==="finish"&&!this._realFinish){if(!this._finished){let e=this;process.nextTick(function(){if(e.emit("error",new Error("Unexpected end of multipart data")),e._part&&!e._ignoreData){let r=e._isPreamble?"Preamble":"Part";e._part.emit("error",new Error(r+" terminated early due to unexpected end of multipart data")),e._part.push(null),process.nextTick(function(){e._realFinish=!0,e.emit("finish"),e._realFinish=!1});return}e._realFinish=!0,e.emit("finish"),e._realFinish=!1})}}else mb.prototype.emit.apply(this,arguments)};qi.prototype._write=function(t,e,r){if(!this._hparser&&!this._bparser)return r();if(this._headerFirst&&this._isPreamble){this._part||(this._part=new CT(this._partOpts),this.listenerCount("preamble")!==0?this.emit("preamble",this._part):this._ignore());let n=this._hparser.push(t);if(!this._inHeader&&n!==void 0&&n<t.length)t=t.slice(n);else return r()}this._firstWrite&&(this._bparser.push(c6),this._firstWrite=!1),this._bparser.push(t),this._pause?this._cb=r:r()};qi.prototype.reset=function(){this._part=void 0,this._bparser=void 0,this._hparser=void 0};qi.prototype.setBoundary=function(t){let e=this;this._bparser=new s6(`\r
|
||
--`+t),this._bparser.on("info",function(r,n,i,s){e._oninfo(r,n,i,s)})};qi.prototype._ignore=function(){this._part&&!this._ignoreData&&(this._ignoreData=!0,this._part.on("error",l6),this._part.resume())};qi.prototype._oninfo=function(t,e,r,n){let i,s=this,o=0,a,A=!0;if(!this._part&&this._justMatched&&e){for(;this._dashes<2&&r+o<n;)if(e[r+o]===a6)++o,++this._dashes;else{this._dashes&&(i=A6),this._dashes=0;break}if(this._dashes===2&&(r+o<n&&this.listenerCount("trailer")!==0&&this.emit("trailer",e.slice(r+o,n)),this.reset(),this._finished=!0,s._parts===0&&(s._realFinish=!0,s.emit("finish"),s._realFinish=!1)),this._dashes)return}this._justMatched&&(this._justMatched=!1),this._part||(this._part=new CT(this._partOpts),this._part._read=function(c){s._unpause()},this._isPreamble&&this.listenerCount("preamble")!==0?this.emit("preamble",this._part):this._isPreamble!==!0&&this.listenerCount("part")!==0?this.emit("part",this._part):this._ignore(),this._isPreamble||(this._inHeader=!0)),e&&r<n&&!this._ignoreData&&(this._isPreamble||!this._inHeader?(i&&(A=this._part.push(i)),A=this._part.push(e.slice(r,n)),A||(this._pause=!0)):!this._isPreamble&&this._inHeader&&(i&&this._hparser.push(i),a=this._hparser.push(e.slice(r,n)),!this._inHeader&&a!==void 0&&a<n&&this._oninfo(!1,e,r+a,n))),t&&(this._hparser.reset(),this._isPreamble?this._isPreamble=!1:r!==n&&(++this._parts,this._part.on("end",function(){--s._parts===0&&(s._finished?(s._realFinish=!0,s.emit("finish"),s._realFinish=!1):s._unpause())})),this._part.push(null),this._part=void 0,this._ignoreData=!1,this._justMatched=!0,this._dashes=0)};qi.prototype._unpause=function(){if(this._pause&&(this._pause=!1,this._cb)){let t=this._cb;this._cb=void 0,t()}};IT.exports=qi});var Fm=h((yb,bT)=>{"use strict";var BT=new TextDecoder("utf-8"),QT=new Map([["utf-8",BT],["utf8",BT]]);function u6(t){let e;for(;;)switch(t){case"utf-8":case"utf8":return Wd.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return Wd.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return Wd.utf16le;case"base64":return Wd.base64;default:if(e===void 0){e=!0,t=t.toLowerCase();continue}return Wd.other.bind(t)}}var Wd={utf8:(t,e)=>t.length===0?"":(typeof t=="string"&&(t=Buffer.from(t,e)),t.utf8Slice(0,t.length)),latin1:(t,e)=>t.length===0?"":typeof t=="string"?t:t.latin1Slice(0,t.length),utf16le:(t,e)=>t.length===0?"":(typeof t=="string"&&(t=Buffer.from(t,e)),t.ucs2Slice(0,t.length)),base64:(t,e)=>t.length===0?"":(typeof t=="string"&&(t=Buffer.from(t,e)),t.base64Slice(0,t.length)),other:(t,e)=>{if(t.length===0)return"";if(typeof t=="string"&&(t=Buffer.from(t,e)),QT.has(yb.toString()))try{return QT.get(yb).decode(t)}catch{}return typeof t=="string"?t:t.toString()}};function d6(t,e,r){return t&&u6(r)(t,e)}bT.exports=d6});var Cb=h((vOe,RT)=>{"use strict";var Um=Fm(),NT=/%[a-fA-F0-9][a-fA-F0-9]/g,f6={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"\x07","%08":"\b","%09":" ","%0a":`
|
||
`,"%0A":`
|
||
`,"%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"\x1B","%1B":"\x1B","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"\x7F","%7F":"\x7F","%80":"\x80","%81":"\x81","%82":"\x82","%83":"\x83","%84":"\x84","%85":"\x85","%86":"\x86","%87":"\x87","%88":"\x88","%89":"\x89","%8a":"\x8A","%8A":"\x8A","%8b":"\x8B","%8B":"\x8B","%8c":"\x8C","%8C":"\x8C","%8d":"\x8D","%8D":"\x8D","%8e":"\x8E","%8E":"\x8E","%8f":"\x8F","%8F":"\x8F","%90":"\x90","%91":"\x91","%92":"\x92","%93":"\x93","%94":"\x94","%95":"\x95","%96":"\x96","%97":"\x97","%98":"\x98","%99":"\x99","%9a":"\x9A","%9A":"\x9A","%9b":"\x9B","%9B":"\x9B","%9c":"\x9C","%9C":"\x9C","%9d":"\x9D","%9D":"\x9D","%9e":"\x9E","%9E":"\x9E","%9f":"\x9F","%9F":"\x9F","%a0":"\xA0","%A0":"\xA0","%a1":"\xA1","%A1":"\xA1","%a2":"\xA2","%A2":"\xA2","%a3":"\xA3","%A3":"\xA3","%a4":"\xA4","%A4":"\xA4","%a5":"\xA5","%A5":"\xA5","%a6":"\xA6","%A6":"\xA6","%a7":"\xA7","%A7":"\xA7","%a8":"\xA8","%A8":"\xA8","%a9":"\xA9","%A9":"\xA9","%aa":"\xAA","%Aa":"\xAA","%aA":"\xAA","%AA":"\xAA","%ab":"\xAB","%Ab":"\xAB","%aB":"\xAB","%AB":"\xAB","%ac":"\xAC","%Ac":"\xAC","%aC":"\xAC","%AC":"\xAC","%ad":"\xAD","%Ad":"\xAD","%aD":"\xAD","%AD":"\xAD","%ae":"\xAE","%Ae":"\xAE","%aE":"\xAE","%AE":"\xAE","%af":"\xAF","%Af":"\xAF","%aF":"\xAF","%AF":"\xAF","%b0":"\xB0","%B0":"\xB0","%b1":"\xB1","%B1":"\xB1","%b2":"\xB2","%B2":"\xB2","%b3":"\xB3","%B3":"\xB3","%b4":"\xB4","%B4":"\xB4","%b5":"\xB5","%B5":"\xB5","%b6":"\xB6","%B6":"\xB6","%b7":"\xB7","%B7":"\xB7","%b8":"\xB8","%B8":"\xB8","%b9":"\xB9","%B9":"\xB9","%ba":"\xBA","%Ba":"\xBA","%bA":"\xBA","%BA":"\xBA","%bb":"\xBB","%Bb":"\xBB","%bB":"\xBB","%BB":"\xBB","%bc":"\xBC","%Bc":"\xBC","%bC":"\xBC","%BC":"\xBC","%bd":"\xBD","%Bd":"\xBD","%bD":"\xBD","%BD":"\xBD","%be":"\xBE","%Be":"\xBE","%bE":"\xBE","%BE":"\xBE","%bf":"\xBF","%Bf":"\xBF","%bF":"\xBF","%BF":"\xBF","%c0":"\xC0","%C0":"\xC0","%c1":"\xC1","%C1":"\xC1","%c2":"\xC2","%C2":"\xC2","%c3":"\xC3","%C3":"\xC3","%c4":"\xC4","%C4":"\xC4","%c5":"\xC5","%C5":"\xC5","%c6":"\xC6","%C6":"\xC6","%c7":"\xC7","%C7":"\xC7","%c8":"\xC8","%C8":"\xC8","%c9":"\xC9","%C9":"\xC9","%ca":"\xCA","%Ca":"\xCA","%cA":"\xCA","%CA":"\xCA","%cb":"\xCB","%Cb":"\xCB","%cB":"\xCB","%CB":"\xCB","%cc":"\xCC","%Cc":"\xCC","%cC":"\xCC","%CC":"\xCC","%cd":"\xCD","%Cd":"\xCD","%cD":"\xCD","%CD":"\xCD","%ce":"\xCE","%Ce":"\xCE","%cE":"\xCE","%CE":"\xCE","%cf":"\xCF","%Cf":"\xCF","%cF":"\xCF","%CF":"\xCF","%d0":"\xD0","%D0":"\xD0","%d1":"\xD1","%D1":"\xD1","%d2":"\xD2","%D2":"\xD2","%d3":"\xD3","%D3":"\xD3","%d4":"\xD4","%D4":"\xD4","%d5":"\xD5","%D5":"\xD5","%d6":"\xD6","%D6":"\xD6","%d7":"\xD7","%D7":"\xD7","%d8":"\xD8","%D8":"\xD8","%d9":"\xD9","%D9":"\xD9","%da":"\xDA","%Da":"\xDA","%dA":"\xDA","%DA":"\xDA","%db":"\xDB","%Db":"\xDB","%dB":"\xDB","%DB":"\xDB","%dc":"\xDC","%Dc":"\xDC","%dC":"\xDC","%DC":"\xDC","%dd":"\xDD","%Dd":"\xDD","%dD":"\xDD","%DD":"\xDD","%de":"\xDE","%De":"\xDE","%dE":"\xDE","%DE":"\xDE","%df":"\xDF","%Df":"\xDF","%dF":"\xDF","%DF":"\xDF","%e0":"\xE0","%E0":"\xE0","%e1":"\xE1","%E1":"\xE1","%e2":"\xE2","%E2":"\xE2","%e3":"\xE3","%E3":"\xE3","%e4":"\xE4","%E4":"\xE4","%e5":"\xE5","%E5":"\xE5","%e6":"\xE6","%E6":"\xE6","%e7":"\xE7","%E7":"\xE7","%e8":"\xE8","%E8":"\xE8","%e9":"\xE9","%E9":"\xE9","%ea":"\xEA","%Ea":"\xEA","%eA":"\xEA","%EA":"\xEA","%eb":"\xEB","%Eb":"\xEB","%eB":"\xEB","%EB":"\xEB","%ec":"\xEC","%Ec":"\xEC","%eC":"\xEC","%EC":"\xEC","%ed":"\xED","%Ed":"\xED","%eD":"\xED","%ED":"\xED","%ee":"\xEE","%Ee":"\xEE","%eE":"\xEE","%EE":"\xEE","%ef":"\xEF","%Ef":"\xEF","%eF":"\xEF","%EF":"\xEF","%f0":"\xF0","%F0":"\xF0","%f1":"\xF1","%F1":"\xF1","%f2":"\xF2","%F2":"\xF2","%f3":"\xF3","%F3":"\xF3","%f4":"\xF4","%F4":"\xF4","%f5":"\xF5","%F5":"\xF5","%f6":"\xF6","%F6":"\xF6","%f7":"\xF7","%F7":"\xF7","%f8":"\xF8","%F8":"\xF8","%f9":"\xF9","%F9":"\xF9","%fa":"\xFA","%Fa":"\xFA","%fA":"\xFA","%FA":"\xFA","%fb":"\xFB","%Fb":"\xFB","%fB":"\xFB","%FB":"\xFB","%fc":"\xFC","%Fc":"\xFC","%fC":"\xFC","%FC":"\xFC","%fd":"\xFD","%Fd":"\xFD","%fD":"\xFD","%FD":"\xFD","%fe":"\xFE","%Fe":"\xFE","%fE":"\xFE","%FE":"\xFE","%ff":"\xFF","%Ff":"\xFF","%fF":"\xFF","%FF":"\xFF"};function wT(t){return f6[t]}var qm=0,ST=1,Eb=2,xT=3;function h6(t){let e=[],r=qm,n="",i=!1,s=!1,o=0,a="",A=t.length;for(var c=0;c<A;++c){let l=t[c];if(l==="\\"&&i)if(s)s=!1;else{s=!0;continue}else if(l==='"')if(s)s=!1;else{i?(i=!1,r=qm):i=!0;continue}else if(s&&i&&(a+="\\"),s=!1,(r===Eb||r===xT)&&l==="'"){r===Eb?(r=xT,n=a.substring(1)):r=ST,a="";continue}else if(r===qm&&(l==="*"||l==="=")&&e.length){r=l==="*"?Eb:ST,e[o]=[a,void 0],a="";continue}else if(!i&&l===";"){r=qm,n?(a.length&&(a=Um(a.replace(NT,wT),"binary",n)),n=""):a.length&&(a=Um(a,"binary","utf8")),e[o]===void 0?e[o]=a:e[o][1]=a,a="",++o;continue}else if(!i&&(l===" "||l===" "))continue;a+=l}return n&&a.length?a=Um(a.replace(NT,wT),"binary",n):a&&(a=Um(a,"binary","utf8")),e[o]===void 0?a&&(e[o]=a):e[o][1]=a,e}RT.exports=h6});var _T=h((_Oe,vT)=>{"use strict";vT.exports=function(e){if(typeof e!="string")return"";for(var r=e.length-1;r>=0;--r)switch(e.charCodeAt(r)){case 47:case 92:return e=e.slice(r+1),e===".."||e==="."?"":e}return e===".."||e==="."?"":e}});var TT=h((DOe,PT)=>{"use strict";var{Readable:kT}=require("node:stream"),{inherits:g6}=require("node:util"),m6=pb(),DT=Cb(),p6=Fm(),y6=_T(),ja=Mm(),E6=/^boundary$/i,C6=/^form-data$/i,I6=/^charset$/i,B6=/^filename$/i,Q6=/^name$/i;Hm.detect=/^multipart\/form-data/i;function Hm(t,e){let r,n,i=this,s,o=e.limits,a=e.isPartAFile||((Re,H,_e)=>H==="application/octet-stream"||_e!==void 0),A=e.parsedConType||[],c=e.defCharset||"utf8",l=e.preservePath,u={highWaterMark:e.fileHwm};for(r=0,n=A.length;r<n;++r)if(Array.isArray(A[r])&&E6.test(A[r][0])){s=A[r][1];break}function d(){T===0&&J&&!t._done&&(J=!1,i.end())}if(typeof s!="string")throw new Error("Multipart: Boundary not found");let f=ja(o,"fieldSize",1*1024*1024),g=ja(o,"fileSize",1/0),m=ja(o,"files",1/0),E=ja(o,"fields",1/0),C=ja(o,"parts",1/0),I=ja(o,"headerPairs",2e3),N=ja(o,"headerSize",80*1024),w=0,v=0,T=0,U,k,J=!1;this._needDrain=!1,this._pause=!1,this._cb=void 0,this._nparts=0,this._boy=t;let be={boundary:s,maxHeaderPairs:I,maxHeaderSize:N,partHwm:u.highWaterMark,highWaterMark:e.highWaterMark};this.parser=new m6(be),this.parser.on("drain",function(){if(i._needDrain=!1,i._cb&&!i._pause){let Re=i._cb;i._cb=void 0,Re()}}).on("part",function Re(H){if(++i._nparts>C)return i.parser.removeListener("part",Re),i.parser.on("part",Cc),t.hitPartsLimit=!0,t.emit("partsLimit"),Cc(H);if(k){let _e=k;_e.emit("end"),_e.removeAllListeners("end")}H.on("header",function(_e){let rt,Or,fr,Ro,vo,Li,Mi=0;if(_e["content-type"]&&(fr=DT(_e["content-type"][0]),fr[0])){for(rt=fr[0].toLowerCase(),r=0,n=fr.length;r<n;++r)if(I6.test(fr[r][0])){Ro=fr[r][1].toLowerCase();break}}if(rt===void 0&&(rt="text/plain"),Ro===void 0&&(Ro=c),_e["content-disposition"]){if(fr=DT(_e["content-disposition"][0]),!C6.test(fr[0]))return Cc(H);for(r=0,n=fr.length;r<n;++r)Q6.test(fr[r][0])?Or=fr[r][1]:B6.test(fr[r][0])&&(Li=fr[r][1],l||(Li=y6(Li)))}else return Cc(H);_e["content-transfer-encoding"]?vo=_e["content-transfer-encoding"][0].toLowerCase():vo="7bit";let _o,Hs;if(a(Or,rt,Li)){if(w===m)return t.hitFilesLimit||(t.hitFilesLimit=!0,t.emit("filesLimit")),Cc(H);if(++w,t.listenerCount("file")===0){i.parser._ignore();return}++T;let Zt=new Ib(u);U=Zt,Zt.on("end",function(){if(--T,i._pause=!1,d(),i._cb&&!i._needDrain){let ei=i._cb;i._cb=void 0,ei()}}),Zt._read=function(ei){if(i._pause&&(i._pause=!1,i._cb&&!i._needDrain)){let Fi=i._cb;i._cb=void 0,Fi()}},t.emit("file",Or,Zt,Li,vo,rt),_o=function(ei){if((Mi+=ei.length)>g){let Fi=g-Mi+ei.length;Fi>0&&Zt.push(ei.slice(0,Fi)),Zt.truncated=!0,Zt.bytesRead=g,H.removeAllListeners("data"),Zt.emit("limit");return}else Zt.push(ei)||(i._pause=!0);Zt.bytesRead=Mi},Hs=function(){U=void 0,Zt.push(null)}}else{if(v===E)return t.hitFieldsLimit||(t.hitFieldsLimit=!0,t.emit("fieldsLimit")),Cc(H);++v,++T;let Zt="",ei=!1;k=H,_o=function(Fi){if((Mi+=Fi.length)>f){let LQ=f-(Mi-Fi.length);Zt+=Fi.toString("binary",0,LQ),ei=!0,H.removeAllListeners("data")}else Zt+=Fi.toString("binary")},Hs=function(){k=void 0,Zt.length&&(Zt=p6(Zt,"binary",Ro)),t.emit("field",Or,Zt,!1,ei,vo,rt),--T,d()}}H._readableState.sync=!1,H.on("data",_o),H.on("end",Hs)}).on("error",function(_e){U&&U.emit("error",_e)})}).on("error",function(Re){t.emit("error",Re)}).on("finish",function(){J=!0,d()})}Hm.prototype.write=function(t,e){let r=this.parser.write(t);r&&!this._pause?e():(this._needDrain=!r,this._cb=e)};Hm.prototype.end=function(){let t=this;t.parser.writable?t.parser.end():t._boy._done||process.nextTick(function(){t._boy._done=!0,t._boy.emit("finish")})};function Cc(t){t.resume()}function Ib(t){kT.call(this,t),this.bytesRead=0,this.truncated=!1}g6(Ib,kT);Ib.prototype._read=function(t){};PT.exports=Hm});var LT=h((kOe,OT)=>{"use strict";var b6=/\+/g,N6=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,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 Bb(){this.buffer=void 0}Bb.prototype.write=function(t){t=t.replace(b6," ");let e="",r=0,n=0,i=t.length;for(;r<i;++r)this.buffer!==void 0?N6[t.charCodeAt(r)]?(this.buffer+=t[r],++n,this.buffer.length===2&&(e+=String.fromCharCode(parseInt(this.buffer,16)),this.buffer=void 0)):(e+="%"+this.buffer,this.buffer=void 0,--r):t[r]==="%"&&(r>n&&(e+=t.substring(n,r),n=r),this.buffer="",++n);return n<i&&this.buffer===void 0&&(e+=t.substring(n)),e};Bb.prototype.reset=function(){this.buffer=void 0};OT.exports=Bb});var FT=h((POe,MT)=>{"use strict";var w6=LT(),Ic=Fm(),Qb=Mm(),S6=/^charset$/i;jm.detect=/^application\/x-www-form-urlencoded/i;function jm(t,e){let r=e.limits,n=e.parsedConType;this.boy=t,this.fieldSizeLimit=Qb(r,"fieldSize",1*1024*1024),this.fieldNameSizeLimit=Qb(r,"fieldNameSize",100),this.fieldsLimit=Qb(r,"fields",1/0);let i;for(var s=0,o=n.length;s<o;++s)if(Array.isArray(n[s])&&S6.test(n[s][0])){i=n[s][1].toLowerCase();break}i===void 0&&(i=e.defCharset||"utf8"),this.decoder=new w6,this.charset=i,this._fields=0,this._state="key",this._checkingBytes=!0,this._bytesKey=0,this._bytesVal=0,this._key="",this._val="",this._keyTrunc=!1,this._valTrunc=!1,this._hitLimit=!1}jm.prototype.write=function(t,e){if(this._fields===this.fieldsLimit)return this.boy.hitFieldsLimit||(this.boy.hitFieldsLimit=!0,this.boy.emit("fieldsLimit")),e();let r,n,i,s=0,o=t.length;for(;s<o;)if(this._state==="key"){for(r=n=void 0,i=s;i<o;++i){if(this._checkingBytes||++s,t[i]===61){r=i;break}else if(t[i]===38){n=i;break}if(this._checkingBytes&&this._bytesKey===this.fieldNameSizeLimit){this._hitLimit=!0;break}else this._checkingBytes&&++this._bytesKey}if(r!==void 0)r>s&&(this._key+=this.decoder.write(t.toString("binary",s,r))),this._state="val",this._hitLimit=!1,this._checkingBytes=!0,this._val="",this._bytesVal=0,this._valTrunc=!1,this.decoder.reset(),s=r+1;else if(n!==void 0){++this._fields;let a,A=this._keyTrunc;if(n>s?a=this._key+=this.decoder.write(t.toString("binary",s,n)):a=this._key,this._hitLimit=!1,this._checkingBytes=!0,this._key="",this._bytesKey=0,this._keyTrunc=!1,this.decoder.reset(),a.length&&this.boy.emit("field",Ic(a,"binary",this.charset),"",A,!1),s=n+1,this._fields===this.fieldsLimit)return e()}else this._hitLimit?(i>s&&(this._key+=this.decoder.write(t.toString("binary",s,i))),s=i,(this._bytesKey=this._key.length)===this.fieldNameSizeLimit&&(this._checkingBytes=!1,this._keyTrunc=!0)):(s<o&&(this._key+=this.decoder.write(t.toString("binary",s))),s=o)}else{for(n=void 0,i=s;i<o;++i){if(this._checkingBytes||++s,t[i]===38){n=i;break}if(this._checkingBytes&&this._bytesVal===this.fieldSizeLimit){this._hitLimit=!0;break}else this._checkingBytes&&++this._bytesVal}if(n!==void 0){if(++this._fields,n>s&&(this._val+=this.decoder.write(t.toString("binary",s,n))),this.boy.emit("field",Ic(this._key,"binary",this.charset),Ic(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc),this._state="key",this._hitLimit=!1,this._checkingBytes=!0,this._key="",this._bytesKey=0,this._keyTrunc=!1,this.decoder.reset(),s=n+1,this._fields===this.fieldsLimit)return e()}else this._hitLimit?(i>s&&(this._val+=this.decoder.write(t.toString("binary",s,i))),s=i,(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit)&&(this._checkingBytes=!1,this._valTrunc=!0)):(s<o&&(this._val+=this.decoder.write(t.toString("binary",s))),s=o)}e()};jm.prototype.end=function(){this.boy._done||(this._state==="key"&&this._key.length>0?this.boy.emit("field",Ic(this._key,"binary",this.charset),"",this._keyTrunc,!1):this._state==="val"&&this.boy.emit("field",Ic(this._key,"binary",this.charset),Ic(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc),this.boy._done=!0,this.boy.emit("finish"))};MT.exports=jm});var HT=h((TOe,$d)=>{"use strict";var bb=require("node:stream").Writable,{inherits:x6}=require("node:util"),R6=pb(),UT=TT(),qT=FT(),v6=Cb();function zs(t){if(!(this instanceof zs))return new zs(t);if(typeof t!="object")throw new TypeError("Busboy expected an options-Object.");if(typeof t.headers!="object")throw new TypeError("Busboy expected an options-Object with headers-attribute.");if(typeof t.headers["content-type"]!="string")throw new TypeError("Missing Content-Type-header.");let{headers:e,...r}=t;this.opts={autoDestroy:!1,...r},bb.call(this,this.opts),this._done=!1,this._parser=this.getParserByHeaders(e),this._finished=!1}x6(zs,bb);zs.prototype.emit=function(t){if(t==="finish"){if(this._done){if(this._finished)return}else{this._parser?.end();return}this._finished=!0}bb.prototype.emit.apply(this,arguments)};zs.prototype.getParserByHeaders=function(t){let e=v6(t["content-type"]),r={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:t,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:e,preservePath:this.opts.preservePath};if(UT.detect.test(e[0]))return new UT(this,r);if(qT.detect.test(e[0]))return new qT(this,r);throw new Error("Unsupported Content-Type.")};zs.prototype._write=function(t,e,r){this._parser.write(t,r)};$d.exports=zs;$d.exports.default=zs;$d.exports.Busboy=zs;$d.exports.Dicer=R6});var Lo=h((OOe,$T)=>{"use strict";var{MessageChannel:_6,receiveMessageOnPort:D6}=require("worker_threads"),jT=["GET","HEAD","POST"],k6=new Set(jT),P6=[101,204,205,304],zT=[301,302,303,307,308],T6=new Set(zT),GT=["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","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"],O6=new Set(GT),YT=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],L6=new Set(YT),M6=["follow","manual","error"],JT=["GET","HEAD","OPTIONS","TRACE"],F6=new Set(JT),U6=["navigate","same-origin","no-cors","cors"],q6=["omit","same-origin","include"],H6=["default","no-store","reload","no-cache","force-cache","only-if-cached"],j6=["content-encoding","content-language","content-location","content-type","content-length"],z6=["half"],VT=["CONNECT","TRACE","TRACK"],G6=new Set(VT),WT=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],Y6=new Set(WT),J6=globalThis.DOMException??(()=>{try{atob("~")}catch(t){return Object.getPrototypeOf(t).constructor}})(),Bc,V6=globalThis.structuredClone??function(e,r=void 0){if(arguments.length===0)throw new TypeError("missing argument");return Bc||(Bc=new _6),Bc.port1.unref(),Bc.port2.unref(),Bc.port1.postMessage(e,r?.transfer),D6(Bc.port2).message};$T.exports={DOMException:J6,structuredClone:V6,subresource:WT,forbiddenMethods:VT,requestBodyHeader:j6,referrerPolicy:YT,requestRedirect:M6,requestMode:U6,requestCredentials:q6,requestCache:H6,redirectStatus:zT,corsSafeListedMethods:jT,nullBodyStatus:P6,safeMethods:JT,badPorts:GT,requestDuplex:z6,subresourceSet:Y6,badPortsSet:O6,redirectStatusSet:T6,corsSafeListedMethodsSet:k6,safeMethodsSet:F6,forbiddenMethodsSet:G6,referrerPolicySet:L6}});var Qc=h((LOe,KT)=>{"use strict";var Nb=Symbol.for("undici.globalOrigin.1");function W6(){return globalThis[Nb]}function $6(t){if(t===void 0){Object.defineProperty(globalThis,Nb,{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,Nb,{value:e,writable:!0,enumerable:!1,configurable:!1})}KT.exports={getGlobalOrigin:W6,setGlobalOrigin:$6}});var ni=h((MOe,sO)=>{"use strict";var{redirectStatusSet:K6,referrerPolicySet:X6,badPortsSet:Z6}=Lo(),{getGlobalOrigin:eZ}=Qc(),{performance:tZ}=require("perf_hooks"),{isBlobLike:rZ,toUSVString:nZ,ReadableStreamFrom:iZ}=Ue(),bc=require("assert"),{isUint8Array:sZ}=require("util/types"),XT=[],zm;try{zm=require("crypto");let t=["sha256","sha384","sha512"];XT=zm.getHashes().filter(e=>t.includes(e))}catch{}function ZT(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}function oZ(t,e){if(!K6.has(t.status))return null;let r=t.headersList.get("location");return r!==null&&tO(r)&&(r=new URL(r,ZT(t))),r&&!r.hash&&(r.hash=e),r}function Xd(t){return t.urlList[t.urlList.length-1]}function aZ(t){let e=Xd(t);return iO(e)&&Z6.has(e.port)?"blocked":"allowed"}function AZ(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}function cZ(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}function lZ(t){switch(t){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return!1;default:return t>=33&&t<=126}}function eO(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e)if(!lZ(t.charCodeAt(e)))return!1;return!0}function uZ(t){return eO(t)}function tO(t){return!(t.startsWith(" ")||t.startsWith(" ")||t.endsWith(" ")||t.endsWith(" ")||t.includes("\0")||t.includes("\r")||t.includes(`
|
||
`))}function dZ(t,e){let{headersList:r}=e,n=(r.get("referrer-policy")??"").split(","),i="";if(n.length>0)for(let s=n.length;s!==0;s--){let o=n[s-1].trim();if(X6.has(o)){i=o;break}}i!==""&&(t.referrerPolicy=i)}function fZ(){return"allowed"}function hZ(){return"success"}function gZ(){return"success"}function mZ(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e)}function pZ(t){let e=t.origin;if(t.responseTainting==="cors"||t.mode==="websocket")e&&t.headersList.append("origin",e);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&&xb(t.origin)&&!xb(Xd(t))&&(e=null);break;case"same-origin":Gm(t,Xd(t))||(e=null);break;default:}e&&t.headersList.append("origin",e)}}function yZ(t){return tZ.now()}function EZ(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}}function CZ(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function IZ(t){return{referrerPolicy:t.referrerPolicy}}function BZ(t){let e=t.referrerPolicy;bc(e);let r=null;if(t.referrer==="client"){let a=eZ();if(!a||a.origin==="null")return"no-referrer";r=new URL(a)}else t.referrer instanceof URL&&(r=t.referrer);let n=wb(r),i=wb(r,!0);n.toString().length>4096&&(n=i);let s=Gm(t,n),o=Kd(n)&&!Kd(t.url);switch(e){case"origin":return i??wb(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 a=Xd(t);return Gm(n,a)?n:Kd(n)&&!Kd(a)?"no-referrer":i}default:return o?"no-referrer":i}}function wb(t,e){return bc(t instanceof URL),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}function Kd(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"))}}function QZ(t,e){if(zm===void 0)return!0;let r=rO(e);if(r==="no metadata"||r.length===0)return!0;let n=NZ(r),i=wZ(r,n);for(let s of i){let o=s.algo,a=s.hash,A=zm.createHash(o).update(t).digest("base64");if(A[A.length-1]==="="&&(A[A.length-2]==="="?A=A.slice(0,-2):A=A.slice(0,-1)),SZ(A,a))return!0}return!1}var bZ=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function rO(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let i=bZ.exec(n);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let s=i.groups.algo.toLowerCase();XT.includes(s)&&e.push(i.groups)}return r===!0?"no metadata":e}function NZ(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}function wZ(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}function SZ(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}function xZ(t){}function Gm(t,e){return t.origin===e.origin&&t.origin==="null"||t.protocol===e.protocol&&t.hostname===e.hostname&&t.port===e.port}function RZ(){let t,e;return{promise:new Promise((n,i)=>{t=n,e=i}),resolve:t,reject:e}}function vZ(t){return t.controller.state==="aborted"}function _Z(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}var Rb={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(Rb,null);function DZ(t){return Rb[t.toLowerCase()]??t}function kZ(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return bc(typeof e=="string"),e}var PZ=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function TZ(t,e,r){let n={index:0,kind:r,target:t},i={next(){if(Object.getPrototypeOf(this)!==i)throw new TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let{index:s,kind:o,target:a}=n,A=a(),c=A.length;if(s>=c)return{value:void 0,done:!0};let l=A[s];return n.index=s+1,OZ(l,o)},[Symbol.toStringTag]:`${e} Iterator`};return Object.setPrototypeOf(i,PZ),Object.setPrototypeOf({},i)}function OZ(t,e){let r;switch(e){case"key":{r=t[0];break}case"value":{r=t[1];break}case"key+value":{r=t;break}}return{value:r,done:!1}}async function LZ(t,e,r){let n=e,i=r,s;try{s=t.stream.getReader()}catch(o){i(o);return}try{let o=await nO(s);n(o)}catch(o){i(o)}}var Sb=globalThis.ReadableStream;function MZ(t){return Sb||(Sb=require("stream/web").ReadableStream),t instanceof Sb||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}var FZ=65535;function UZ(t){return t.length<FZ?String.fromCharCode(...t):t.reduce((e,r)=>e+String.fromCharCode(r),"")}function qZ(t){try{t.close()}catch(e){if(!e.message.includes("Controller is already closed"))throw e}}function HZ(t){for(let e=0;e<t.length;e++)bc(t.charCodeAt(e)<=255);return t}async function nO(t){let e=[],r=0;for(;;){let{done:n,value:i}=await t.read();if(n)return Buffer.concat(e,r);if(!sZ(i))throw new TypeError("Received non-Uint8Array chunk");e.push(i),r+=i.length}}function jZ(t){bc("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}function xb(t){return typeof t=="string"?t.startsWith("https:"):t.protocol==="https:"}function iO(t){bc("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}var zZ=Object.hasOwn||((t,e)=>Object.prototype.hasOwnProperty.call(t,e));sO.exports={isAborted:vZ,isCancelled:_Z,createDeferredPromise:RZ,ReadableStreamFrom:iZ,toUSVString:nZ,tryUpgradeRequestToAPotentiallyTrustworthyURL:xZ,coarsenedSharedCurrentTime:yZ,determineRequestsReferrer:BZ,makePolicyContainer:CZ,clonePolicyContainer:IZ,appendFetchMetadata:mZ,appendRequestOriginHeader:pZ,TAOCheck:gZ,corsCheck:hZ,crossOriginResourcePolicyCheck:fZ,createOpaqueTimingInfo:EZ,setRequestReferrerPolicyOnRedirect:dZ,isValidHTTPToken:eO,requestBadPort:aZ,requestCurrentURL:Xd,responseURL:ZT,responseLocationURL:oZ,isBlobLike:rZ,isURLPotentiallyTrustworthy:Kd,isValidReasonPhrase:cZ,sameOrigin:Gm,normalizeMethod:DZ,serializeJavascriptValueToJSONString:kZ,makeIterator:TZ,isValidHeaderName:uZ,isValidHeaderValue:tO,hasOwn:zZ,isErrorLike:AZ,fullyReadBody:LZ,bytesMatch:QZ,isReadableStreamLike:MZ,readableStreamClose:qZ,isomorphicEncode:HZ,isomorphicDecode:UZ,urlIsLocal:jZ,urlHasHttpsScheme:xb,urlIsHttpHttpsScheme:iO,readAllBytes:nO,normalizeMethodRecord:Rb,parseMetadata:rO}});var Gs=h((FOe,oO)=>{"use strict";oO.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}});var Vr=h((UOe,AO)=>{"use strict";var{types:as}=require("util"),{hasOwn:aO,toUSVString:GZ}=ni(),j={};j.converters={};j.util={};j.errors={};j.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};j.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 j.errors.exception({header:t.prefix,message:r})};j.errors.invalidArgument=function(t){return j.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};j.brandCheck=function(t,e,r=void 0){if(r?.strict!==!1&&!(t instanceof e))throw new TypeError("Illegal invocation");return t?.[Symbol.toStringTag]===e.prototype[Symbol.toStringTag]};j.argumentLengthCheck=function({length:t},e,r){if(t<e)throw j.errors.exception({message:`${e} argument${e!==1?"s":""} required, but${t?" only":""} ${t} found.`,...r})};j.illegalConstructor=function(){throw j.errors.exception({header:"TypeError",message:"Illegal constructor"})};j.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"}};j.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 o=Number(t);if(o===0&&(o=0),n.enforceRange===!0){if(Number.isNaN(o)||o===Number.POSITIVE_INFINITY||o===Number.NEGATIVE_INFINITY)throw j.errors.exception({header:"Integer conversion",message:`Could not convert ${t} to an integer.`});if(o=j.util.IntegerPart(o),o<s||o>i)throw j.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${i}, got ${o}.`});return o}return!Number.isNaN(o)&&n.clamp===!0?(o=Math.min(Math.max(o,s),i),Math.floor(o)%2===0?o=Math.floor(o):o=Math.ceil(o),o):Number.isNaN(o)||o===0&&Object.is(0,o)||o===Number.POSITIVE_INFINITY||o===Number.NEGATIVE_INFINITY?0:(o=j.util.IntegerPart(o),o=o%Math.pow(2,e),r==="signed"&&o>=Math.pow(2,e)-1?o-Math.pow(2,e):o)};j.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};j.sequenceConverter=function(t){return e=>{if(j.util.Type(e)!=="Object")throw j.errors.exception({header:"Sequence",message:`Value of type ${j.util.Type(e)} is not an Object.`});let r=e?.[Symbol.iterator]?.(),n=[];if(r===void 0||typeof r.next!="function")throw j.errors.exception({header:"Sequence",message:"Object is not an iterator."});for(;;){let{done:i,value:s}=r.next();if(i)break;n.push(t(s))}return n}};j.recordConverter=function(t,e){return r=>{if(j.util.Type(r)!=="Object")throw j.errors.exception({header:"Record",message:`Value of type ${j.util.Type(r)} is not an Object.`});let n={};if(!as.isProxy(r)){let s=Object.keys(r);for(let o of s){let a=t(o),A=e(r[o]);n[a]=A}return n}let i=Reflect.ownKeys(r);for(let s of i)if(Reflect.getOwnPropertyDescriptor(r,s)?.enumerable){let a=t(s),A=e(r[s]);n[a]=A}return n}};j.interfaceConverter=function(t){return(e,r={})=>{if(r.strict!==!1&&!(e instanceof t))throw j.errors.exception({header:t.name,message:`Expected ${e} to be an instance of ${t.name}.`});return e}};j.dictionaryConverter=function(t){return e=>{let r=j.util.Type(e),n={};if(r==="Null"||r==="Undefined")return n;if(r!=="Object")throw j.errors.exception({header:"Dictionary",message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let i of t){let{key:s,defaultValue:o,required:a,converter:A}=i;if(a===!0&&!aO(e,s))throw j.errors.exception({header:"Dictionary",message:`Missing required key "${s}".`});let c=e[s],l=aO(i,"defaultValue");if(l&&c!==null&&(c=c??o),a||l||c!==void 0){if(c=A(c),i.allowedValues&&!i.allowedValues.includes(c))throw j.errors.exception({header:"Dictionary",message:`${c} is not an accepted type. Expected one of ${i.allowedValues.join(", ")}.`});n[s]=c}}return n}};j.nullableConverter=function(t){return e=>e===null?e:t(e)};j.converters.DOMString=function(t,e={}){if(t===null&&e.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw new TypeError("Could not convert argument of type symbol to string.");return String(t)};j.converters.ByteString=function(t){let e=j.converters.DOMString(t);for(let r=0;r<e.length;r++)if(e.charCodeAt(r)>255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${r} has a value of ${e.charCodeAt(r)} which is greater than 255.`);return e};j.converters.USVString=GZ;j.converters.boolean=function(t){return!!t};j.converters.any=function(t){return t};j.converters["long long"]=function(t){return j.util.ConvertToInt(t,64,"signed")};j.converters["unsigned long long"]=function(t){return j.util.ConvertToInt(t,64,"unsigned")};j.converters["unsigned long"]=function(t){return j.util.ConvertToInt(t,32,"unsigned")};j.converters["unsigned short"]=function(t,e){return j.util.ConvertToInt(t,16,"unsigned",e)};j.converters.ArrayBuffer=function(t,e={}){if(j.util.Type(t)!=="Object"||!as.isAnyArrayBuffer(t))throw j.errors.conversionFailed({prefix:`${t}`,argument:`${t}`,types:["ArrayBuffer"]});if(e.allowShared===!1&&as.isSharedArrayBuffer(t))throw j.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});return t};j.converters.TypedArray=function(t,e,r={}){if(j.util.Type(t)!=="Object"||!as.isTypedArray(t)||t.constructor.name!==e.name)throw j.errors.conversionFailed({prefix:`${e.name}`,argument:`${t}`,types:[e.name]});if(r.allowShared===!1&&as.isSharedArrayBuffer(t.buffer))throw j.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});return t};j.converters.DataView=function(t,e={}){if(j.util.Type(t)!=="Object"||!as.isDataView(t))throw j.errors.exception({header:"DataView",message:"Object is not a DataView."});if(e.allowShared===!1&&as.isSharedArrayBuffer(t.buffer))throw j.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});return t};j.converters.BufferSource=function(t,e={}){if(as.isAnyArrayBuffer(t))return j.converters.ArrayBuffer(t,e);if(as.isTypedArray(t))return j.converters.TypedArray(t,t.constructor);if(as.isDataView(t))return j.converters.DataView(t,e);throw new TypeError(`Could not convert ${t} to a BufferSource.`)};j.converters["sequence<ByteString>"]=j.sequenceConverter(j.converters.ByteString);j.converters["sequence<sequence<ByteString>>"]=j.sequenceConverter(j.converters["sequence<ByteString>"]);j.converters["record<ByteString, ByteString>"]=j.recordConverter(j.converters.ByteString,j.converters.ByteString);AO.exports={webidl:j}});var Hi=h((qOe,hO)=>{var Jm=require("assert"),{atob:YZ}=require("buffer"),{isomorphicDecode:JZ}=ni(),VZ=new TextEncoder,Ym=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/,WZ=/(\u000A|\u000D|\u0009|\u0020)/,$Z=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function KZ(t){Jm(t.protocol==="data:");let e=uO(t,!0);e=e.slice(5);let r={position:0},n=Nc(",",e,r),i=n.length;if(n=t7(n,!0,!0),r.position>=e.length)return"failure";r.position++;let s=e.slice(i+1),o=dO(s);if(/;(\u0020){0,}base64$/i.test(n)){let A=JZ(o);if(o=ZZ(A),o==="failure")return"failure";n=n.slice(0,-6),n=n.replace(/(\u0020)+$/,""),n=n.slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let a=_b(n);return a==="failure"&&(a=_b("text/plain;charset=US-ASCII")),{mimeType:a,body:o}}function uO(t,e=!1){if(!e)return t.href;let r=t.href,n=t.hash.length;return n===0?r:r.substring(0,r.length-n)}function Vm(t,e,r){let n="";for(;r.position<e.length&&t(e[r.position]);)n+=e[r.position],r.position++;return n}function Nc(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))}function dO(t){let e=VZ.encode(t);return XZ(e)}function XZ(t){let e=[];for(let r=0;r<t.length;r++){let n=t[r];if(n!==37)e.push(n);else if(n===37&&!/^[0-9A-Fa-f]{2}$/i.test(String.fromCharCode(t[r+1],t[r+2])))e.push(37);else{let i=String.fromCharCode(t[r+1],t[r+2]),s=Number.parseInt(i,16);e.push(s),r+=2}}return Uint8Array.from(e)}function _b(t){t=vb(t,!0,!0);let e={position:0},r=Nc("/",t,e);if(r.length===0||!Ym.test(r)||e.position>t.length)return"failure";e.position++;let n=Nc(";",t,e);if(n=vb(n,!1,!0),n.length===0||!Ym.test(n))return"failure";let i=r.toLowerCase(),s=n.toLowerCase(),o={type:i,subtype:s,parameters:new Map,essence:`${i}/${s}`};for(;e.position<t.length;){e.position++,Vm(c=>WZ.test(c),t,e);let a=Vm(c=>c!==";"&&c!=="=",t,e);if(a=a.toLowerCase(),e.position<t.length){if(t[e.position]===";")continue;e.position++}if(e.position>t.length)break;let A=null;if(t[e.position]==='"')A=fO(t,e,!0),Nc(";",t,e);else if(A=Nc(";",t,e),A=vb(A,!1,!0),A.length===0)continue;a.length!==0&&Ym.test(a)&&(A.length===0||$Z.test(A))&&!o.parameters.has(a)&&o.parameters.set(a,A)}return o}function ZZ(t){if(t=t.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,""),t.length%4===0&&(t=t.replace(/=?=$/,"")),t.length%4===1||/[^+/0-9A-Za-z]/.test(t))return"failure";let e=YZ(t),r=new Uint8Array(e.length);for(let n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return r}function fO(t,e,r){let n=e.position,i="";for(Jm(t[e.position]==='"'),e.position++;i+=Vm(o=>o!=='"'&&o!=="\\",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{Jm(s==='"');break}}return r?i:t.slice(n,e.position)}function e7(t){Jm(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[i,s]of e.entries())n+=";",n+=i,n+="=",Ym.test(s)||(s=s.replace(/(\\|")/g,"\\$1"),s='"'+s,s+='"'),n+=s;return n}function cO(t){return t==="\r"||t===`
|
||
`||t===" "||t===" "}function vb(t,e=!0,r=!0){let n=0,i=t.length-1;if(e)for(;n<t.length&&cO(t[n]);n++);if(r)for(;i>0&&cO(t[i]);i--);return t.slice(n,i+1)}function lO(t){return t==="\r"||t===`
|
||
`||t===" "||t==="\f"||t===" "}function t7(t,e=!0,r=!0){let n=0,i=t.length-1;if(e)for(;n<t.length&&lO(t[n]);n++);if(r)for(;i>0&&lO(t[i]);i--);return t.slice(n,i+1)}hO.exports={dataURLProcessor:KZ,URLSerializer:uO,collectASequenceOfCodePoints:Vm,collectASequenceOfCodePointsFast:Nc,stringPercentDecode:dO,parseMIMEType:_b,collectAnHTTPQuotedString:fO,serializeAMimeType:e7}});var Wm=h((HOe,EO)=>{"use strict";var{Blob:pO,File:gO}=require("buffer"),{types:Db}=require("util"),{kState:On}=Gs(),{isBlobLike:yO}=ni(),{webidl:Ve}=Vr(),{parseMIMEType:r7,serializeAMimeType:n7}=Hi(),{kEnumerableProperty:mO}=Ue(),i7=new TextEncoder,Zd=class t extends pO{constructor(e,r,n={}){Ve.argumentLengthCheck(arguments,2,{header:"File constructor"}),e=Ve.converters["sequence<BlobPart>"](e),r=Ve.converters.USVString(r),n=Ve.converters.FilePropertyBag(n);let i=r,s=n.type,o;e:{if(s){if(s=r7(s),s==="failure"){s="";break e}s=n7(s).toLowerCase()}o=n.lastModified}super(s7(e,n),{type:s}),this[On]={name:i,lastModified:o,type:s}}get name(){return Ve.brandCheck(this,t),this[On].name}get lastModified(){return Ve.brandCheck(this,t),this[On].lastModified}get type(){return Ve.brandCheck(this,t),this[On].type}},kb=class t{constructor(e,r,n={}){let i=r,s=n.type,o=n.lastModified??Date.now();this[On]={blobLike:e,name:i,type:s,lastModified:o}}stream(...e){return Ve.brandCheck(this,t),this[On].blobLike.stream(...e)}arrayBuffer(...e){return Ve.brandCheck(this,t),this[On].blobLike.arrayBuffer(...e)}slice(...e){return Ve.brandCheck(this,t),this[On].blobLike.slice(...e)}text(...e){return Ve.brandCheck(this,t),this[On].blobLike.text(...e)}get size(){return Ve.brandCheck(this,t),this[On].blobLike.size}get type(){return Ve.brandCheck(this,t),this[On].blobLike.type}get name(){return Ve.brandCheck(this,t),this[On].name}get lastModified(){return Ve.brandCheck(this,t),this[On].lastModified}get[Symbol.toStringTag](){return"File"}};Object.defineProperties(Zd.prototype,{[Symbol.toStringTag]:{value:"File",configurable:!0},name:mO,lastModified:mO});Ve.converters.Blob=Ve.interfaceConverter(pO);Ve.converters.BlobPart=function(t,e){if(Ve.util.Type(t)==="Object"){if(yO(t))return Ve.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||Db.isAnyArrayBuffer(t))return Ve.converters.BufferSource(t,e)}return Ve.converters.USVString(t,e)};Ve.converters["sequence<BlobPart>"]=Ve.sequenceConverter(Ve.converters.BlobPart);Ve.converters.FilePropertyBag=Ve.dictionaryConverter([{key:"lastModified",converter:Ve.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:Ve.converters.DOMString,defaultValue:""},{key:"endings",converter:t=>(t=Ve.converters.DOMString(t),t=t.toLowerCase(),t!=="native"&&(t="transparent"),t),defaultValue:"transparent"}]);function s7(t,e){let r=[];for(let n of t)if(typeof n=="string"){let i=n;e.endings==="native"&&(i=o7(i)),r.push(i7.encode(i))}else Db.isAnyArrayBuffer(n)||Db.isTypedArray(n)?n.buffer?r.push(new Uint8Array(n.buffer,n.byteOffset,n.byteLength)):r.push(new Uint8Array(n)):yO(n)&&r.push(n);return r}function o7(t){let e=`
|
||
`;return process.platform==="win32"&&(e=`\r
|
||
`),t.replace(/\r?\n/g,e)}function a7(t){return gO&&t instanceof gO||t instanceof Zd||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}EO.exports={File:Zd,FileLike:kb,isFileLike:a7}});var Km=h((jOe,bO)=>{"use strict";var{isBlobLike:$m,toUSVString:A7,makeIterator:Pb}=ni(),{kState:Lr}=Gs(),{File:QO,FileLike:CO,isFileLike:c7}=Wm(),{webidl:it}=Vr(),{Blob:l7,File:Tb}=require("buffer"),IO=Tb??QO,wc=class t{constructor(e){if(e!==void 0)throw it.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[Lr]=[]}append(e,r,n=void 0){if(it.brandCheck(this,t),it.argumentLengthCheck(arguments,2,{header:"FormData.append"}),arguments.length===3&&!$m(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=it.converters.USVString(e),r=$m(r)?it.converters.Blob(r,{strict:!1}):it.converters.USVString(r),n=arguments.length===3?it.converters.USVString(n):void 0;let i=BO(e,r,n);this[Lr].push(i)}delete(e){it.brandCheck(this,t),it.argumentLengthCheck(arguments,1,{header:"FormData.delete"}),e=it.converters.USVString(e),this[Lr]=this[Lr].filter(r=>r.name!==e)}get(e){it.brandCheck(this,t),it.argumentLengthCheck(arguments,1,{header:"FormData.get"}),e=it.converters.USVString(e);let r=this[Lr].findIndex(n=>n.name===e);return r===-1?null:this[Lr][r].value}getAll(e){return it.brandCheck(this,t),it.argumentLengthCheck(arguments,1,{header:"FormData.getAll"}),e=it.converters.USVString(e),this[Lr].filter(r=>r.name===e).map(r=>r.value)}has(e){return it.brandCheck(this,t),it.argumentLengthCheck(arguments,1,{header:"FormData.has"}),e=it.converters.USVString(e),this[Lr].findIndex(r=>r.name===e)!==-1}set(e,r,n=void 0){if(it.brandCheck(this,t),it.argumentLengthCheck(arguments,2,{header:"FormData.set"}),arguments.length===3&&!$m(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=it.converters.USVString(e),r=$m(r)?it.converters.Blob(r,{strict:!1}):it.converters.USVString(r),n=arguments.length===3?A7(n):void 0;let i=BO(e,r,n),s=this[Lr].findIndex(o=>o.name===e);s!==-1?this[Lr]=[...this[Lr].slice(0,s),i,...this[Lr].slice(s+1).filter(o=>o.name!==e)]:this[Lr].push(i)}entries(){return it.brandCheck(this,t),Pb(()=>this[Lr].map(e=>[e.name,e.value]),"FormData","key+value")}keys(){return it.brandCheck(this,t),Pb(()=>this[Lr].map(e=>[e.name,e.value]),"FormData","key")}values(){return it.brandCheck(this,t),Pb(()=>this[Lr].map(e=>[e.name,e.value]),"FormData","value")}forEach(e,r=globalThis){if(it.brandCheck(this,t),it.argumentLengthCheck(arguments,1,{header:"FormData.forEach"}),typeof e!="function")throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.");for(let[n,i]of this)e.apply(r,[i,n,this])}};wc.prototype[Symbol.iterator]=wc.prototype.entries;Object.defineProperties(wc.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function BO(t,e,r){if(t=Buffer.from(t).toString("utf8"),typeof e=="string")e=Buffer.from(e).toString("utf8");else if(c7(e)||(e=e instanceof l7?new IO([e],"blob",{type:e.type}):new CO(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=Tb&&e instanceof Tb||e instanceof QO?new IO([e],r,n):new CO(e,r,n)}return{name:t,value:e}}bO.exports={FormData:wc}});var ef=h((zOe,kO)=>{"use strict";var u7=HT(),Sc=Ue(),{ReadableStreamFrom:d7,isBlobLike:NO,isReadableStreamLike:f7,readableStreamClose:h7,createDeferredPromise:g7,fullyReadBody:m7}=ni(),{FormData:wO}=Km(),{kState:Js}=Gs(),{webidl:Ob}=Vr(),{DOMException:RO,structuredClone:p7}=Lo(),{Blob:y7,File:E7}=require("buffer"),{kBodyUsed:C7}=It(),Lb=require("assert"),{isErrored:I7}=Ue(),{isUint8Array:vO,isArrayBuffer:B7}=require("util/types"),{File:Q7}=Wm(),{parseMIMEType:b7,serializeAMimeType:N7}=Hi(),Mb;try{let t=require("node:crypto");Mb=e=>t.randomInt(0,e)}catch{Mb=t=>Math.floor(Math.random(t))}var Ys=globalThis.ReadableStream,SO=E7??Q7,Xm=new TextEncoder,w7=new TextDecoder;function _O(t,e=!1){Ys||(Ys=require("stream/web").ReadableStream);let r=null;t instanceof Ys?r=t:NO(t)?r=t.stream():r=new Ys({async pull(A){A.enqueue(typeof i=="string"?Xm.encode(i):i),queueMicrotask(()=>h7(A))},start(){},type:void 0}),Lb(f7(r));let n=null,i=null,s=null,o=null;if(typeof t=="string")i=t,o="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)i=t.toString(),o="application/x-www-form-urlencoded;charset=UTF-8";else if(B7(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(Sc.isFormDataLike(t)){let A=`----formdata-undici-0${`${Mb(1e11)}`.padStart(11,"0")}`,c=`--${A}\r
|
||
Content-Disposition: form-data`;let l=E=>E.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),u=E=>E.replace(/\r?\n|\r/g,`\r
|
||
`),d=[],f=new Uint8Array([13,10]);s=0;let g=!1;for(let[E,C]of t)if(typeof C=="string"){let I=Xm.encode(c+`; name="${l(u(E))}"\r
|
||
\r
|
||
${u(C)}\r
|
||
`);d.push(I),s+=I.byteLength}else{let I=Xm.encode(`${c}; name="${l(u(E))}"`+(C.name?`; filename="${l(C.name)}"`:"")+`\r
|
||
Content-Type: ${C.type||"application/octet-stream"}\r
|
||
\r
|
||
`);d.push(I,C,f),typeof C.size=="number"?s+=I.byteLength+C.size+f.byteLength:g=!0}let m=Xm.encode(`--${A}--`);d.push(m),s+=m.byteLength,g&&(s=null),i=t,n=async function*(){for(let E of d)E.stream?yield*E.stream():yield E},o="multipart/form-data; boundary="+A}else if(NO(t))i=t,s=t.size,t.type&&(o=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(Sc.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof Ys?t:d7(t)}if((typeof i=="string"||Sc.isBuffer(i))&&(s=Buffer.byteLength(i)),n!=null){let A;r=new Ys({async start(){A=n(t)[Symbol.asyncIterator]()},async pull(c){let{value:l,done:u}=await A.next();return u?queueMicrotask(()=>{c.close()}):I7(r)||c.enqueue(new Uint8Array(l)),c.desiredSize>0},async cancel(c){await A.return()},type:void 0})}return[{stream:r,source:i,length:s},o]}function S7(t,e=!1){return Ys||(Ys=require("stream/web").ReadableStream),t instanceof Ys&&(Lb(!Sc.isDisturbed(t),"The body has already been consumed."),Lb(!t.locked,"The stream is locked.")),_O(t,e)}function x7(t){let[e,r]=t.stream.tee(),n=p7(r,{transfer:[r]}),[,i]=n.tee();return t.stream=e,{stream:i,length:t.length,source:t.source}}async function*xO(t){if(t)if(vO(t))yield t;else{let e=t.stream;if(Sc.isDisturbed(e))throw new TypeError("The body has already been consumed.");if(e.locked)throw new TypeError("The stream is locked.");e[C7]=!0,yield*e}}function Fb(t){if(t.aborted)throw new RO("The operation was aborted.","AbortError")}function R7(t){return{blob(){return Zm(this,r=>{let n=k7(this);return n==="failure"?n="":n&&(n=N7(n)),new y7([r],{type:n})},t)},arrayBuffer(){return Zm(this,r=>new Uint8Array(r).buffer,t)},text(){return Zm(this,DO,t)},json(){return Zm(this,D7,t)},async formData(){Ob.brandCheck(this,t),Fb(this[Js]);let r=this.headers.get("Content-Type");if(/multipart\/form-data/.test(r)){let n={};for(let[a,A]of this.headers)n[a.toLowerCase()]=A;let i=new wO,s;try{s=new u7({headers:n,preservePath:!0})}catch(a){throw new RO(`${a}`,"AbortError")}s.on("field",(a,A)=>{i.append(a,A)}),s.on("file",(a,A,c,l,u)=>{let d=[];if(l==="base64"||l.toLowerCase()==="base64"){let f="";A.on("data",g=>{f+=g.toString().replace(/[\r\n]/gm,"");let m=f.length-f.length%4;d.push(Buffer.from(f.slice(0,m),"base64")),f=f.slice(m)}),A.on("end",()=>{d.push(Buffer.from(f,"base64")),i.append(a,new SO(d,c,{type:u}))})}else A.on("data",f=>{d.push(f)}),A.on("end",()=>{i.append(a,new SO(d,c,{type:u}))})});let o=new Promise((a,A)=>{s.on("finish",a),s.on("error",c=>A(new TypeError(c)))});if(this.body!==null)for await(let a of xO(this[Js].body))s.write(a);return s.end(),await o,i}else if(/application\/x-www-form-urlencoded/.test(r)){let n;try{let s="",o=new TextDecoder("utf-8",{ignoreBOM:!0});for await(let a of xO(this[Js].body)){if(!vO(a))throw new TypeError("Expected Uint8Array chunk");s+=o.decode(a,{stream:!0})}s+=o.decode(),n=new URLSearchParams(s)}catch(s){throw Object.assign(new TypeError,{cause:s})}let i=new wO;for(let[s,o]of n)i.append(s,o);return i}else throw await Promise.resolve(),Fb(this[Js]),Ob.errors.exception({header:`${t.name}.formData`,message:"Could not parse content as FormData."})}}}function v7(t){Object.assign(t.prototype,R7(t))}async function Zm(t,e,r){if(Ob.brandCheck(t,r),Fb(t[Js]),_7(t[Js].body))throw new TypeError("Body is unusable");let n=g7(),i=o=>n.reject(o),s=o=>{try{n.resolve(e(o))}catch(a){i(a)}};return t[Js].body==null?(s(new Uint8Array),n.promise):(await m7(t[Js].body,s,i),n.promise)}function _7(t){return t!=null&&(t.stream.locked||Sc.isDisturbed(t.stream))}function DO(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),w7.decode(t))}function D7(t){return JSON.parse(DO(t))}function k7(t){let{headersList:e}=t[Js],r=e.get("content-type");return r===null?"failure":b7(r)}kO.exports={extractBody:_O,safelyExtractBody:S7,cloneBody:x7,mixinBody:v7}});var LO=h((GOe,OO)=>{"use strict";var{InvalidArgumentError:mt,NotSupportedError:P7}=At(),Vs=require("assert"),{kHTTP2BuildRequest:T7,kHTTP2CopyHeaders:O7,kHTTP1BuildRequest:L7}=It(),an=Ue(),PO=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,TO=/[^\t\x20-\x7e\x80-\xff]/,M7=/[^\u0021-\u00ff]/,ji=Symbol("handler"),tr={},Ub;try{let t=require("diagnostics_channel");tr.create=t.channel("undici:request:create"),tr.bodySent=t.channel("undici:request:bodySent"),tr.headers=t.channel("undici:request:headers"),tr.trailers=t.channel("undici:request:trailers"),tr.error=t.channel("undici:request:error")}catch{tr.create={hasSubscribers:!1},tr.bodySent={hasSubscribers:!1},tr.headers={hasSubscribers:!1},tr.trailers={hasSubscribers:!1},tr.error={hasSubscribers:!1}}var qb=class t{constructor(e,{path:r,method:n,body:i,headers:s,query:o,idempotent:a,blocking:A,upgrade:c,headersTimeout:l,bodyTimeout:u,reset:d,throwOnError:f,expectContinue:g},m){if(typeof r!="string")throw new mt("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new mt("path must be an absolute URL or start with a slash");if(M7.exec(r)!==null)throw new mt("invalid request path");if(typeof n!="string")throw new mt("method must be a string");if(PO.exec(n)===null)throw new mt("invalid request method");if(c&&typeof c!="string")throw new mt("upgrade must be a string");if(l!=null&&(!Number.isFinite(l)||l<0))throw new mt("invalid headersTimeout");if(u!=null&&(!Number.isFinite(u)||u<0))throw new mt("invalid bodyTimeout");if(d!=null&&typeof d!="boolean")throw new mt("invalid reset");if(g!=null&&typeof g!="boolean")throw new mt("invalid expectContinue");if(this.headersTimeout=l,this.bodyTimeout=u,this.throwOnError=f===!0,this.method=n,this.abort=null,i==null)this.body=null;else if(an.isStream(i)){this.body=i;let E=this.body._readableState;(!E||!E.autoDestroy)&&(this.endHandler=function(){an.destroy(this)},this.body.on("end",this.endHandler)),this.errorHandler=C=>{this.abort?this.abort(C):this.error=C},this.body.on("error",this.errorHandler)}else if(an.isBuffer(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(an.isFormDataLike(i)||an.isIterable(i)||an.isBlobLike(i))this.body=i;else throw new mt("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=c||null,this.path=o?an.buildURL(r,o):r,this.origin=e,this.idempotent=a??(n==="HEAD"||n==="GET"),this.blocking=A??!1,this.reset=d??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers="",this.expectContinue=g??!1,Array.isArray(s)){if(s.length%2!==0)throw new mt("headers array must be even");for(let E=0;E<s.length;E+=2)tf(this,s[E],s[E+1])}else if(s&&typeof s=="object"){let E=Object.keys(s);for(let C=0;C<E.length;C++){let I=E[C];tf(this,I,s[I])}}else if(s!=null)throw new mt("headers must be an object or an array");if(an.isFormDataLike(this.body)){if(an.nodeMajor<16||an.nodeMajor===16&&an.nodeMinor<8)throw new mt("Form-Data bodies are only supported in node v16.8 and newer.");Ub||(Ub=ef().extractBody);let[E,C]=Ub(i);this.contentType==null&&(this.contentType=C,this.headers+=`content-type: ${C}\r
|
||
`),this.body=E.stream,this.contentLength=E.length}else an.isBlobLike(i)&&this.contentType==null&&i.type&&(this.contentType=i.type,this.headers+=`content-type: ${i.type}\r
|
||
`);an.validateHandler(m,n,c),this.servername=an.getServerName(this.host),this[ji]=m,tr.create.hasSubscribers&&tr.create.publish({request:this})}onBodySent(e){if(this[ji].onBodySent)try{return this[ji].onBodySent(e)}catch(r){this.abort(r)}}onRequestSent(){if(tr.bodySent.hasSubscribers&&tr.bodySent.publish({request:this}),this[ji].onRequestSent)try{return this[ji].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(Vs(!this.aborted),Vs(!this.completed),this.error)e(this.error);else return this.abort=e,this[ji].onConnect(e)}onHeaders(e,r,n,i){Vs(!this.aborted),Vs(!this.completed),tr.headers.hasSubscribers&&tr.headers.publish({request:this,response:{statusCode:e,headers:r,statusText:i}});try{return this[ji].onHeaders(e,r,n,i)}catch(s){this.abort(s)}}onData(e){Vs(!this.aborted),Vs(!this.completed);try{return this[ji].onData(e)}catch(r){return this.abort(r),!1}}onUpgrade(e,r,n){return Vs(!this.aborted),Vs(!this.completed),this[ji].onUpgrade(e,r,n)}onComplete(e){this.onFinally(),Vs(!this.aborted),this.completed=!0,tr.trailers.hasSubscribers&&tr.trailers.publish({request:this,trailers:e});try{return this[ji].onComplete(e)}catch(r){this.onError(r)}}onError(e){if(this.onFinally(),tr.error.hasSubscribers&&tr.error.publish({request:this,error:e}),!this.aborted)return this.aborted=!0,this[ji].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 tf(this,e,r),this}static[L7](e,r,n){return new t(e,r,n)}static[T7](e,r,n){let i=r.headers;r={...r,headers:null};let s=new t(e,r,n);if(s.headers={},Array.isArray(i)){if(i.length%2!==0)throw new mt("headers array must be even");for(let o=0;o<i.length;o+=2)tf(s,i[o],i[o+1],!0)}else if(i&&typeof i=="object"){let o=Object.keys(i);for(let a=0;a<o.length;a++){let A=o[a];tf(s,A,i[A],!0)}}else if(i!=null)throw new mt("headers must be an object or an array");return s}static[O7](e){let r=e.split(`\r
|
||
`),n={};for(let i of r){let[s,o]=i.split(": ");o==null||o.length===0||(n[s]?n[s]+=`,${o}`:n[s]=o)}return n}};function za(t,e,r){if(e&&typeof e=="object")throw new mt(`invalid ${t} header`);if(e=e!=null?`${e}`:"",TO.exec(e)!==null)throw new mt(`invalid ${t} header`);return r?e:`${t}: ${e}\r
|
||
`}function tf(t,e,r,n=!1){if(r&&typeof r=="object"&&!Array.isArray(r))throw new mt(`invalid ${e} header`);if(r===void 0)return;if(t.host===null&&e.length===4&&e.toLowerCase()==="host"){if(TO.exec(r)!==null)throw new mt(`invalid ${e} header`);t.host=r}else if(t.contentLength===null&&e.length===14&&e.toLowerCase()==="content-length"){if(t.contentLength=parseInt(r,10),!Number.isFinite(t.contentLength))throw new mt("invalid content-length header")}else if(t.contentType===null&&e.length===12&&e.toLowerCase()==="content-type")t.contentType=r,n?t.headers[e]=za(e,r,n):t.headers+=za(e,r);else{if(e.length===17&&e.toLowerCase()==="transfer-encoding")throw new mt("invalid transfer-encoding header");if(e.length===10&&e.toLowerCase()==="connection"){let i=typeof r=="string"?r.toLowerCase():null;if(i!=="close"&&i!=="keep-alive")throw new mt("invalid connection header");i==="close"&&(t.reset=!0)}else{if(e.length===10&&e.toLowerCase()==="keep-alive")throw new mt("invalid keep-alive header");if(e.length===7&&e.toLowerCase()==="upgrade")throw new mt("invalid upgrade header");if(e.length===6&&e.toLowerCase()==="expect")throw new P7("expect header not supported");if(PO.exec(e)===null)throw new mt("invalid header key");if(Array.isArray(r))for(let i=0;i<r.length;i++)n?t.headers[e]?t.headers[e]+=`,${za(e,r[i],n)}`:t.headers[e]=za(e,r[i],n):t.headers+=za(e,r[i]);else n?t.headers[e]=za(e,r,n):t.headers+=za(e,r)}}}OO.exports=qb});var ep=h((YOe,MO)=>{"use strict";var F7=require("events"),Hb=class extends F7{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}};MO.exports=Hb});var nf=h((JOe,FO)=>{"use strict";var U7=ep(),{ClientDestroyedError:jb,ClientClosedError:q7,InvalidArgumentError:xc}=At(),{kDestroy:H7,kClose:j7,kDispatch:zb,kInterceptors:Ga}=It(),Rc=Symbol("destroyed"),rf=Symbol("closed"),Ws=Symbol("onDestroyed"),vc=Symbol("onClosed"),tp=Symbol("Intercepted Dispatch"),Gb=class extends U7{constructor(){super(),this[Rc]=!1,this[Ws]=null,this[rf]=!1,this[vc]=[]}get destroyed(){return this[Rc]}get closed(){return this[rf]}get interceptors(){return this[Ga]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Ga][r]!="function")throw new xc("interceptor must be an function")}this[Ga]=e}close(e){if(e===void 0)return new Promise((n,i)=>{this.close((s,o)=>s?i(s):n(o))});if(typeof e!="function")throw new xc("invalid callback");if(this[Rc]){queueMicrotask(()=>e(new jb,null));return}if(this[rf]){this[vc]?this[vc].push(e):queueMicrotask(()=>e(null,null));return}this[rf]=!0,this[vc].push(e);let r=()=>{let n=this[vc];this[vc]=null;for(let i=0;i<n.length;i++)n[i](null,null)};this[j7]().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,(o,a)=>o?s(o):i(a))});if(typeof r!="function")throw new xc("invalid callback");if(this[Rc]){this[Ws]?this[Ws].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new jb),this[Rc]=!0,this[Ws]=this[Ws]||[],this[Ws].push(r);let n=()=>{let i=this[Ws];this[Ws]=null;for(let s=0;s<i.length;s++)i[s](null,null)};this[H7](e).then(()=>{queueMicrotask(n)})}[tp](e,r){if(!this[Ga]||this[Ga].length===0)return this[tp]=this[zb],this[zb](e,r);let n=this[zb].bind(this);for(let i=this[Ga].length-1;i>=0;i--)n=this[Ga][i](n);return this[tp]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new xc("handler must be an object");try{if(!e||typeof e!="object")throw new xc("opts must be an object.");if(this[Rc]||this[Ws])throw new jb;if(this[rf])throw new q7;return this[tp](e,r)}catch(n){if(typeof r.onError!="function")throw new xc("invalid onError method");return r.onError(n),!1}}};FO.exports=Gb});var sf=h(($Oe,HO)=>{"use strict";var z7=require("net"),UO=require("assert"),qO=Ue(),{InvalidArgumentError:G7,ConnectTimeoutError:Y7}=At(),Yb,Jb;global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE?Jb=class{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))}}:Jb=class{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 J7({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new G7("maxCachedSessions must be a positive integer or zero");let s={path:r,...i},o=new Jb(e??100);return n=n??1e4,t=t??!1,function({hostname:A,host:c,protocol:l,port:u,servername:d,localAddress:f,httpSocket:g},m){let E;if(l==="https:"){Yb||(Yb=require("tls")),d=d||s.servername||qO.getServerName(c)||null;let I=d||A,N=o.get(I)||null;UO(I),E=Yb.connect({highWaterMark:16384,...s,servername:d,session:N,localAddress:f,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:g,port:u||443,host:A}),E.on("session",function(w){o.set(I,w)})}else UO(!g,"httpSocket can only be sent on TLS update"),E=z7.connect({highWaterMark:64*1024,...s,localAddress:f,port:u||80,host:A});if(s.keepAlive==null||s.keepAlive){let I=s.keepAliveInitialDelay===void 0?6e4:s.keepAliveInitialDelay;E.setKeepAlive(!0,I)}let C=V7(()=>W7(E),n);return E.setNoDelay(!0).once(l==="https:"?"secureConnect":"connect",function(){if(C(),m){let I=m;m=null,I(null,this)}}).on("error",function(I){if(C(),m){let N=m;m=null,N(I)}}),E}}function V7(t,e){if(!e)return()=>{};let r=null,n=null,i=setTimeout(()=>{r=setImmediate(()=>{process.platform==="win32"?n=setImmediate(()=>t()):t()})},e);return()=>{clearTimeout(i),clearImmediate(r),clearImmediate(n)}}function W7(t){qO.destroy(t,new Y7)}HO.exports=J7});var jO=h(rp=>{"use strict";Object.defineProperty(rp,"__esModule",{value:!0});rp.enumToMap=void 0;function $7(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}rp.enumToMap=$7});var zO=h(M=>{"use strict";Object.defineProperty(M,"__esModule",{value:!0});M.SPECIAL_HEADERS=M.HEADER_STATE=M.MINOR=M.MAJOR=M.CONNECTION_TOKEN_CHARS=M.HEADER_CHARS=M.TOKEN=M.STRICT_TOKEN=M.HEX=M.URL_CHAR=M.STRICT_URL_CHAR=M.USERINFO_CHARS=M.MARK=M.ALPHANUM=M.NUM=M.HEX_MAP=M.NUM_MAP=M.ALPHA=M.FINISH=M.H_METHOD_MAP=M.METHOD_MAP=M.METHODS_RTSP=M.METHODS_ICE=M.METHODS_HTTP=M.METHODS=M.LENIENT_FLAGS=M.FLAGS=M.TYPE=M.ERROR=void 0;var K7=jO(),X7;(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"})(X7=M.ERROR||(M.ERROR={}));var Z7;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(Z7=M.TYPE||(M.TYPE={}));var eee;(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"})(eee=M.FLAGS||(M.FLAGS={}));var tee;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(tee=M.LENIENT_FLAGS||(M.LENIENT_FLAGS={}));var ue;(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"})(ue=M.METHODS||(M.METHODS={}));M.METHODS_HTTP=[ue.DELETE,ue.GET,ue.HEAD,ue.POST,ue.PUT,ue.CONNECT,ue.OPTIONS,ue.TRACE,ue.COPY,ue.LOCK,ue.MKCOL,ue.MOVE,ue.PROPFIND,ue.PROPPATCH,ue.SEARCH,ue.UNLOCK,ue.BIND,ue.REBIND,ue.UNBIND,ue.ACL,ue.REPORT,ue.MKACTIVITY,ue.CHECKOUT,ue.MERGE,ue["M-SEARCH"],ue.NOTIFY,ue.SUBSCRIBE,ue.UNSUBSCRIBE,ue.PATCH,ue.PURGE,ue.MKCALENDAR,ue.LINK,ue.UNLINK,ue.PRI,ue.SOURCE];M.METHODS_ICE=[ue.SOURCE];M.METHODS_RTSP=[ue.OPTIONS,ue.DESCRIBE,ue.ANNOUNCE,ue.SETUP,ue.PLAY,ue.PAUSE,ue.TEARDOWN,ue.GET_PARAMETER,ue.SET_PARAMETER,ue.REDIRECT,ue.RECORD,ue.FLUSH,ue.GET,ue.POST];M.METHOD_MAP=K7.enumToMap(ue);M.H_METHOD_MAP={};Object.keys(M.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(M.H_METHOD_MAP[t]=M.METHOD_MAP[t])});var ree;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(ree=M.FINISH||(M.FINISH={}));M.ALPHA=[];for(let t=65;t<=90;t++)M.ALPHA.push(String.fromCharCode(t)),M.ALPHA.push(String.fromCharCode(t+32));M.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};M.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};M.NUM=["0","1","2","3","4","5","6","7","8","9"];M.ALPHANUM=M.ALPHA.concat(M.NUM);M.MARK=["-","_",".","!","~","*","'","(",")"];M.USERINFO_CHARS=M.ALPHANUM.concat(M.MARK).concat(["%",";",":","&","=","+","$",","]);M.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(M.ALPHANUM);M.URL_CHAR=M.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)M.URL_CHAR.push(t);M.HEX=M.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);M.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(M.ALPHANUM);M.TOKEN=M.STRICT_TOKEN.concat([" "]);M.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&M.HEADER_CHARS.push(t);M.CONNECTION_TOKEN_CHARS=M.HEADER_CHARS.filter(t=>t!==44);M.MAJOR=M.NUM_MAP;M.MINOR=M.MAJOR;var _c;(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"})(_c=M.HEADER_STATE||(M.HEADER_STATE={}));M.SPECIAL_HEADERS={connection:_c.CONNECTION,"content-length":_c.CONTENT_LENGTH,"proxy-connection":_c.CONNECTION,"transfer-encoding":_c.TRANSFER_ENCODING,upgrade:_c.UPGRADE}});var $b=h((ZOe,JO)=>{"use strict";var $s=Ue(),{kBodyUsed:of}=It(),Wb=require("assert"),{InvalidArgumentError:nee}=At(),iee=require("events"),see=[300,301,302,303,307,308],GO=Symbol("body"),np=class{constructor(e){this[GO]=e,this[of]=!1}async*[Symbol.asyncIterator](){Wb(!this[of],"disturbed"),this[of]=!0,yield*this[GO]}},Vb=class{constructor(e,r,n,i){if(r!=null&&(!Number.isInteger(r)||r<0))throw new nee("maxRedirections must be a positive number");$s.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=[],$s.isStream(this.opts.body)?($s.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){Wb(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[of]=!1,iee.prototype.on.call(this.opts.body,"data",function(){this[of]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new np(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&$s.isIterable(this.opts.body)&&(this.opts.body=new np(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||$s.isDisturbed(this.opts.body)?null:oee(e,r),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:o,search:a}=$s.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),A=a?`${o}${a}`:o;this.opts.headers=aee(this.opts.headers,e===303,this.opts.origin!==s),this.opts.path=A,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 oee(t,e){if(see.indexOf(t)===-1)return null;for(let r=0;r<e.length;r+=2)if(e[r].toString().toLowerCase()==="location")return e[r+1]}function YO(t,e,r){if(t.length===4)return $s.headerNameToString(t)==="host";if(e&&$s.headerNameToString(t).startsWith("content-"))return!0;if(r&&(t.length===13||t.length===6||t.length===19)){let n=$s.headerNameToString(t);return n==="authorization"||n==="cookie"||n==="proxy-authorization"}return!1}function aee(t,e,r){let n=[];if(Array.isArray(t))for(let i=0;i<t.length;i+=2)YO(t[i],e,r)||n.push(t[i],t[i+1]);else if(t&&typeof t=="object")for(let i of Object.keys(t))YO(i,e,r)||n.push(i,t[i]);else Wb(t==null,"headers must be an object or an array");return n}JO.exports=Vb});var ip=h((eLe,VO)=>{"use strict";var Aee=$b();function cee({maxRedirections:t}){return e=>function(n,i){let{maxRedirections:s=t}=n;if(!s)return e(n,i);let o=new Aee(e,s,n,i);return n={...n,maxRedirections:0},e(n,o)}}VO.exports=cee});var Kb=h((tLe,WO)=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ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQDscBAAECAwQFBgcICQoLDA0ODxAREhMUFRYX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EEcIRAM2AMLQgAhESAQIQEgEC0AAEFQag435wHmAQECAwQFBgcIAAAAAAAAAAkKCwwNDgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADxAREhMUAAtBHiEQDL0DC0ICIREM5QELQgMhEQzkAQtCBCERDOMBC0IFIREM4gELQgYhEQzhAQtCByERDOABC0IIIREM3wELQgkhEQzeAQtCCiERDN0BC0ILIREM3AELQgwhEQzbAQtCDSERDNoBC0IOIREM2QELQg8hEQzYAQtCCiERDNcBC0ILIREM1gELQgwhEQzVAQtCDSERDNQBC0IOIREM0wELQg8hEQzSAQtCACERAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQLQAAQVBqDjflAeQBAAECAwQFBgfmAeYB5gHmAeYB5gHmAQgJCgsMDeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gEODxAREhPmAQtCAiERDOQBC0IDIREM4wELQgQhEQziAQtCBSERDOEBC0IGIREM4AELQgchEQzfAQtCCCERDN4BC0IJIREM3QELQgohEQzcAQtCCyERDNsBC0IMIREM2gELQg0hEQzZAQtCDiERDNgBC0IPIREM1wELQgohEQzWAQtCCyERDNUBC0IMIREM1AELQg0hEQzTAQtCDiERDNIBC0IPIREM0QELIABCACAAKQMgIhEgAiABIhBrrSISfSITIBMgEVYbNwMgIBEgElYiFEUN0gFBHyEQDMADCwJAIAEiASACRg0AIABBiYCAgAA2AgggACABNgIEIAEhAUEkIRAMpwMLQSAhEAy/AwsgACABIhAgAhC+gICAAEF/ag4FtgEAxQIB0QHSAQtBESEQDKQDCyAAQQE6AC8gECEBDLsDCyABIgEgAkcN0gFBJCEQDLsDCyABIg0gAkcNHkHGACEQDLoDCyAAIAEiASACELKAgIAAIhAN1AEgASEBDLUBCyABIhAgAkcNJkHQACEQDLgDCwJAIAEiASACRw0AQSghEAy4AwsgAEEANgIEIABBjICAgAA2AgggACABIAEQsYCAgAAi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hQgAEG5jYCAADYCECAAQRo2AgxBACEQDLQBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxUCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLMBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDLIBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDLEBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxRCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLABCyAAQQA2AhwgACABNgIUIABBxoqAgAA2AhAgAEEHNgIMQQAhEAyvAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAyuAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIA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ABIAA2AggPC0EfIQICQCAAQf///wdLDQAgAEEIdiICIAJBgP4/akEQdkEIcSICdCIEIARBgOAfakEQdkEEcSIEdCIGIAZBgIAPakEQdkECcSIGdEEPdiACIARyIAZyayICQQF0IAAgAkEVanZBAXFyQRxqIQILIAEgAjYCHCABQgA3AhAgAkECdEG40oCAAGohBAJAAkBBACgCjNCAgAAiBkEBIAJ0IgNxDQAgBCABNgIAQQAgBiADcjYCjNCAgAAgASAENgIYIAEgATYCCCABIAE2AgwMAQsgAEEAQRkgAkEBdmsgAkEfRht0IQIgBCgCACEGAkADQCAGIgQoAgRBeHEgAEYNASACQR12IQYgAkEBdCECIAQgBkEEcWpBEGoiAygCACIGDQALIAMgATYCACABIAQ2AhggASABNgIMIAEgATYCCAwBCyAEKAIIIgAgATYCDCAEIAE2AgggAUEANgIYIAEgBDYCDCABIAA2AggLQQBBACgCqNCAgABBf2oiAUF/IAEbNgKo0ICAAAsLBAAAAAtOAAJAIAANAD8AQRB0DwsCQCAAQf//A3ENACAAQX9MDQACQCAAQRB2QAAiAEF/Rw0AQQBBMDYC+NOAgABBfw8LIABBEHQPCxDKgICAAAAL8gICA38BfgJAIAJFDQAgACABOgAAIAIgAGoiA0F/aiABOgAAIAJBA0kNACAAIAE6AAIgACABOgABIANBfWogAToAACADQX5qIAE6AAAgAkEHSQ0AIAAgAToAAyADQXxqIAE6AAAgAkEJSQ0AIABBACAAa0EDcSIEaiIDIAFB/wFxQYGChAhsIgE2AgAgAyACIARrQXxxIgRqIgJBfGogATYCACAEQQlJDQAgAyABNgIIIAMgATYCBCACQXhqIAE2AgAgAkF0aiABNgIAIARBGUkNACADIAE2AhggAyABNgIUIAMgATYCECADIAE2AgwgAkFwaiABNgIAIAJBbGogATYCACACQWhqIAE2AgAgAkFkaiABNgIAIAQgA0EEcUEYciIFayICQSBJDQAgAa1CgYCAgBB+IQYgAyAFaiEBA0AgASAGNwMYIAEgBjcDECABIAY3AwggASAGNwMAIAFBIGohASACQWBqIgJBH0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spCrLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABBnH9qDvQDY2IAAWFhYWFhYQIDBAVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYW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IABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC0kBAXsgAEEQav0MAAAAAAAAAAAAAAAAAAAAACIB/QsDACAAIAH9CwMAIABBMGogAf0LAwAgAEEgaiAB/QsDACAAQd0BNgIcQQALewEBfwJAIAAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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QDP4DCyABIgEgAkcNkAFB9wAhEAz9AwsgASIBIAJHDYYBQe8AIRAM/AMLIAEiASACRw1/QeoAIRAM+wMLIAEiASACRw17QegAIRAM+gMLIAEiASACRw14QeYAIRAM+QMLIAEiASACRw0aQRghEAz4AwsgASIBIAJHDRRBEiEQDPcDCyABIgEgAkcNWUHFACEQDPYDCyABIgEgAkcNSkE/IRAM9QMLIAEiASACRw1IQTwhEAz0AwsgASIBIAJHDUFBMSEQDPMDCyAALQAuQQFGDesDDIcCCyAAIAEiASACEMCAgIAAQQFHDeYBIABCADcDIAznAQsgACABIgEgAhC0gICAACIQDecBIAEhAQz1AgsCQCABIgEgAkcNAEEGIRAM8AMLIAAgAUEBaiIBIAIQu4CAgAAiEA3oASABIQEMMQsgAEIANwMgQRIhEAzVAwsgASIQIAJHDStBHSEQDO0DCwJAIAEiASACRg0AIAFBAWohAUEQIRAM1AMLQQchEAzsAwsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3lAUEIIRAM6wMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQRQhEAzSAwtBCSEQDOoDCyABIQEgACkDIFAN5AEgASEBDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoiASACRw0AC0ESIRAM4gMLIAAgASIBIAIQuoCAgAAiEA3pASABIQEMCgsgASIBIAJHD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AAIAQ2AgxBACEQDLsBCwJAIAEtAABBUGoiEEH/AXFBCk8NACAAIBA6ACogAUEBaiEBQc8AIRAMogELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCtgICAACIEDQAgASEBDKcBCyAAQd4ANgIcIAAgATYCFCAAIAQ2AgxBACEQDLoBCyAAQQA2AgAgF0EBaiEBAkAgAC0AKUEjTw0AIAEhAQxZCyAAQQA2AhwgACABNgIUIABB04mAgAA2AhAgAEEINgIMQQAhEAy5AQsgAEEANgIAC0EAIRAgAEEANgIcIAAgATYCFCAAQZCzgIAANgIQIABBCDYCDAy3AQsgAEEANgIAIBdBAWohAQJAIAAtAClBIUcNACABIQEMVgsgAEEANgIcIAAgATYCFCAAQZuKgIAANgIQIABBCDYCDEEAIRAMtgELIABBADYCACAXQQFqIQECQCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdIANgIcIAAgATYCFCA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UklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="});var ff=h((nLe,mL)=>{"use strict";var ee=require("assert"),eL=require("net"),lee=require("http"),{pipeline:uee}=require("stream"),Ae=Ue(),Xb=lT(),e0=LO(),dee=nf(),{RequestContentLengthMismatchError:Ks,ResponseContentLengthMismatchError:fee,InvalidArgumentError:Wt,RequestAbortedError:A0,HeadersTimeoutError:hee,HeadersOverflowError:gee,SocketError:kc,InformationalError:us,BodyTimeoutError:mee,HTTPParserError:pee,ResponseExceededMaxSizeError:yee,ClientDestroyedError:Eee}=At(),Cee=sf(),{kUrl:Rr,kReset:Wr,kServerName:Mo,kClient:ds,kBusy:t0,kParser:Tt,kConnect:Iee,kBlocking:Pc,kResuming:Ya,kRunning:Dt,kPending:Va,kSize:Ja,kWriting:Xs,kQueue:Bt,kConnected:Bee,kConnecting:Dc,kNeedDrain:Uo,kNoRef:af,kKeepAliveDefaultTimeout:r0,kHostHeader:tL,kPendingIdx:Ln,kRunningIdx:Qt,kError:vr,kPipelining:qo,kSocket:Ot,kKeepAliveTimeoutValue:lf,kMaxHeadersSize:ap,kKeepAliveMaxTimeout:rL,kKeepAliveTimeoutThreshold:nL,kHeadersTimeout:iL,kBodyTimeout:sL,kStrictContentLength:uf,kConnector:Af,kMaxRedirections:Qee,kMaxRequests:df,kCounter:oL,kClose:bee,kDestroy:Nee,kDispatch:wee,kInterceptors:See,kLocalAddress:cf,kMaxResponseSize:aL,kHTTPConnVersion:fs,kHost:AL,kHTTP2Session:Mn,kHTTP2SessionState:cp,kHTTP2BuildRequest:xee,kHTTP2CopyHeaders:Ree,kHTTP1BuildRequest:vee}=It(),lp;try{lp=require("http2")}catch{lp={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:_ee,HTTP2_HEADER_METHOD:Dee,HTTP2_HEADER_PATH:kee,HTTP2_HEADER_SCHEME:Pee,HTTP2_HEADER_CONTENT_LENGTH:Tee,HTTP2_HEADER_EXPECT:Oee,HTTP2_HEADER_STATUS:Lee}}=lp,XO=!1,sp=Buffer[Symbol.species],Fo=Symbol("kClosedResolve"),Mr={};try{let t=require("diagnostics_channel");Mr.sendHeaders=t.channel("undici:client:sendHeaders"),Mr.beforeConnect=t.channel("undici:client:beforeConnect"),Mr.connectError=t.channel("undici:client:connectError"),Mr.connected=t.channel("undici:client:connected")}catch{Mr.sendHeaders={hasSubscribers:!1},Mr.beforeConnect={hasSubscribers:!1},Mr.connectError={hasSubscribers:!1},Mr.connected={hasSubscribers:!1}}var n0=class extends dee{constructor(e,{interceptors:r,maxHeaderSize:n,headersTimeout:i,socketTimeout:s,requestTimeout:o,connectTimeout:a,bodyTimeout:A,idleTimeout:c,keepAlive:l,keepAliveTimeout:u,maxKeepAliveTimeout:d,keepAliveMaxTimeout:f,keepAliveTimeoutThreshold:g,socketPath:m,pipelining:E,tls:C,strictContentLength:I,maxCachedSessions:N,maxRedirections:w,connect:v,maxRequestsPerClient:T,localAddress:U,maxResponseSize:k,autoSelectFamily:J,autoSelectFamilyAttemptTimeout:be,allowH2:Re,maxConcurrentStreams:H}={}){if(super(),l!==void 0)throw new Wt("unsupported keepAlive, use pipelining=0 instead");if(s!==void 0)throw new Wt("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(o!==void 0)throw new Wt("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(c!==void 0)throw new Wt("unsupported idleTimeout, use keepAliveTimeout instead");if(d!==void 0)throw new Wt("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new Wt("invalid maxHeaderSize");if(m!=null&&typeof m!="string")throw new Wt("invalid socketPath");if(a!=null&&(!Number.isFinite(a)||a<0))throw new Wt("invalid connectTimeout");if(u!=null&&(!Number.isFinite(u)||u<=0))throw new Wt("invalid keepAliveTimeout");if(f!=null&&(!Number.isFinite(f)||f<=0))throw new Wt("invalid keepAliveMaxTimeout");if(g!=null&&!Number.isFinite(g))throw new Wt("invalid keepAliveTimeoutThreshold");if(i!=null&&(!Number.isInteger(i)||i<0))throw new Wt("headersTimeout must be a positive integer or zero");if(A!=null&&(!Number.isInteger(A)||A<0))throw new Wt("bodyTimeout must be a positive integer or zero");if(v!=null&&typeof v!="function"&&typeof v!="object")throw new Wt("connect must be a function or an object");if(w!=null&&(!Number.isInteger(w)||w<0))throw new Wt("maxRedirections must be a positive number");if(T!=null&&(!Number.isInteger(T)||T<0))throw new Wt("maxRequestsPerClient must be a positive number");if(U!=null&&(typeof U!="string"||eL.isIP(U)===0))throw new Wt("localAddress must be valid string IP address");if(k!=null&&(!Number.isInteger(k)||k<-1))throw new Wt("maxResponseSize must be a positive number");if(be!=null&&(!Number.isInteger(be)||be<-1))throw new Wt("autoSelectFamilyAttemptTimeout must be a positive number");if(Re!=null&&typeof Re!="boolean")throw new Wt("allowH2 must be a valid boolean value");if(H!=null&&(typeof H!="number"||H<1))throw new Wt("maxConcurrentStreams must be a possitive integer, greater than 0");typeof v!="function"&&(v=Cee({...C,maxCachedSessions:N,allowH2:Re,socketPath:m,timeout:a,...Ae.nodeHasAutoSelectFamily&&J?{autoSelectFamily:J,autoSelectFamilyAttemptTimeout:be}:void 0,...v})),this[See]=r&&r.Client&&Array.isArray(r.Client)?r.Client:[Hee({maxRedirections:w})],this[Rr]=Ae.parseOrigin(e),this[Af]=v,this[Ot]=null,this[qo]=E??1,this[ap]=n||lee.maxHeaderSize,this[r0]=u??4e3,this[rL]=f??6e5,this[nL]=g??1e3,this[lf]=this[r0],this[Mo]=null,this[cf]=U??null,this[Ya]=0,this[Uo]=0,this[tL]=`host: ${this[Rr].hostname}${this[Rr].port?`:${this[Rr].port}`:""}\r
|
||
`,this[sL]=A??3e5,this[iL]=i??3e5,this[uf]=I??!0,this[Qee]=w,this[df]=T,this[Fo]=null,this[aL]=k>-1?k:-1,this[fs]="h1",this[Mn]=null,this[cp]=Re?{openStreams:0,maxConcurrentStreams:H??100}:null,this[AL]=`${this[Rr].hostname}${this[Rr].port?`:${this[Rr].port}`:""}`,this[Bt]=[],this[Qt]=0,this[Ln]=0}get pipelining(){return this[qo]}set pipelining(e){this[qo]=e,Fn(this,!0)}get[Va](){return this[Bt].length-this[Ln]}get[Dt](){return this[Ln]-this[Qt]}get[Ja](){return this[Bt].length-this[Qt]}get[Bee](){return!!this[Ot]&&!this[Dc]&&!this[Ot].destroyed}get[t0](){let e=this[Ot];return e&&(e[Wr]||e[Xs]||e[Pc])||this[Ja]>=(this[qo]||1)||this[Va]>0}[Iee](e){dL(this),this.once("connect",e)}[wee](e,r){let n=e.origin||this[Rr].origin,i=this[fs]==="h2"?e0[xee](n,e,r):e0[vee](n,e,r);return this[Bt].push(i),this[Ya]||(Ae.bodyLength(i.body)==null&&Ae.isIterable(i.body)?(this[Ya]=1,process.nextTick(Fn,this)):Fn(this,!0)),this[Ya]&&this[Uo]!==2&&this[t0]&&(this[Uo]=2),this[Uo]<2}async[bee](){return new Promise(e=>{this[Ja]?this[Fo]=e:e(null)})}async[Nee](e){return new Promise(r=>{let n=this[Bt].splice(this[Ln]);for(let s=0;s<n.length;s++){let o=n[s];$r(this,o,e)}let i=()=>{this[Fo]&&(this[Fo](),this[Fo]=null),r()};this[Mn]!=null&&(Ae.destroy(this[Mn],e),this[Mn]=null,this[cp]=null),this[Ot]?Ae.destroy(this[Ot].on("close",i),e):queueMicrotask(i),Fn(this)})}};function Mee(t){ee(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Ot][vr]=t,fp(this[ds],t)}function Fee(t,e,r){let n=new us(`HTTP/2: "frameError" received - type ${t}, code ${e}`);r===0&&(this[Ot][vr]=n,fp(this[ds],n))}function Uee(){Ae.destroy(this,new kc("other side closed")),Ae.destroy(this[Ot],new kc("other side closed"))}function qee(t){let e=this[ds],r=new us(`HTTP/2: "GOAWAY" frame received with code ${t}`);if(e[Ot]=null,e[Mn]=null,e.destroyed){ee(this[Va]===0);let n=e[Bt].splice(e[Qt]);for(let i=0;i<n.length;i++){let s=n[i];$r(this,s,r)}}else if(e[Dt]>0){let n=e[Bt][e[Qt]];e[Bt][e[Qt]++]=null,$r(e,n,r)}e[Ln]=e[Qt],ee(e[Dt]===0),e.emit("disconnect",e[Rr],[e],r),Fn(e)}var As=zO(),Hee=ip(),jee=Buffer.alloc(0);async function zee(){let t=process.env.JEST_WORKER_ID?Kb():void 0,e;try{e=await WebAssembly.compile(Buffer.from(KO(),"base64"))}catch{e=await WebAssembly.compile(Buffer.from(t||Kb(),"base64"))}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(r,n,i)=>0,wasm_on_status:(r,n,i)=>{ee.strictEqual(or.ptr,r);let s=n-ls+cs.byteOffset;return or.onStatus(new sp(cs.buffer,s,i))||0},wasm_on_message_begin:r=>(ee.strictEqual(or.ptr,r),or.onMessageBegin()||0),wasm_on_header_field:(r,n,i)=>{ee.strictEqual(or.ptr,r);let s=n-ls+cs.byteOffset;return or.onHeaderField(new sp(cs.buffer,s,i))||0},wasm_on_header_value:(r,n,i)=>{ee.strictEqual(or.ptr,r);let s=n-ls+cs.byteOffset;return or.onHeaderValue(new sp(cs.buffer,s,i))||0},wasm_on_headers_complete:(r,n,i,s)=>(ee.strictEqual(or.ptr,r),or.onHeadersComplete(n,!!i,!!s)||0),wasm_on_body:(r,n,i)=>{ee.strictEqual(or.ptr,r);let s=n-ls+cs.byteOffset;return or.onBody(new sp(cs.buffer,s,i))||0},wasm_on_message_complete:r=>(ee.strictEqual(or.ptr,r),or.onMessageComplete()||0)}})}var Zb=null,i0=zee();i0.catch();var or=null,cs=null,op=0,ls=null,Tc=1,Ap=2,s0=3,o0=class{constructor(e,r,{exports:n}){ee(Number.isFinite(e[ap])&&e[ap]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(As.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[ap],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[aL]}setTimeout(e,r){this.timeoutType=r,e!==this.timeoutValue?(Xb.clearTimeout(this.timeout),e?(this.timeout=Xb.setTimeout(Gee,e,this),this.timeout.unref&&this.timeout.unref()):this.timeout=null,this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh()}resume(){this.socket.destroyed||!this.paused||(ee(this.ptr!=null),ee(or==null),this.llhttp.llhttp_resume(this.ptr),ee(this.timeoutType===Ap),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||jee),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){ee(this.ptr!=null),ee(or==null),ee(!this.paused);let{socket:r,llhttp:n}=this;e.length>op&&(ls&&n.free(ls),op=Math.ceil(e.length/4096)*4096,ls=n.malloc(op)),new Uint8Array(n.memory.buffer,ls,op).set(e);try{let i;try{cs=e,or=this,i=n.llhttp_execute(this.ptr,ls,e.length)}catch(o){throw o}finally{or=null,cs=null}let s=n.llhttp_get_error_pos(this.ptr)-ls;if(i===As.ERROR.PAUSED_UPGRADE)this.onUpgrade(e.slice(s));else if(i===As.ERROR.PAUSED)this.paused=!0,r.unshift(e.slice(s));else if(i!==As.ERROR.OK){let o=n.llhttp_get_error_reason(this.ptr),a="";if(o){let A=new Uint8Array(n.memory.buffer,o).indexOf(0);a="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,o,A).toString()+")"}throw new pee(a,As.ERROR[i],e.slice(s))}}catch(i){Ae.destroy(r,i)}}destroy(){ee(this.ptr!=null),ee(or==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,Xb.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||!r[Bt][r[Qt]])return-1}onHeaderField(e){let r=this.headers.length;(r&1)===0?this.headers.push(e):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]),this.trackHeader(e.length)}onHeaderValue(e){let r=this.headers.length;(r&1)===1?(this.headers.push(e),r+=1):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]);let n=this.headers[r-2];n.length===10&&n.toString().toLowerCase()==="keep-alive"?this.keepAlive+=e.toString():n.length===10&&n.toString().toLowerCase()==="connection"?this.connection+=e.toString():n.length===14&&n.toString().toLowerCase()==="content-length"&&(this.contentLength+=e.toString()),this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&Ae.destroy(this.socket,new gee)}onUpgrade(e){let{upgrade:r,client:n,socket:i,headers:s,statusCode:o}=this;ee(r);let a=n[Bt][n[Qt]];ee(a),ee(!i.destroyed),ee(i===n[Ot]),ee(!this.paused),ee(a.upgrade||a.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,ee(this.headers.length%2===0),this.headers=[],this.headersSize=0,i.unshift(e),i[Tt].destroy(),i[Tt]=null,i[ds]=null,i[vr]=null,i.removeListener("error",lL).removeListener("readable",cL).removeListener("end",uL).removeListener("close",a0),n[Ot]=null,n[Bt][n[Qt]++]=null,n.emit("disconnect",n[Rr],[n],new us("upgrade"));try{a.onUpgrade(o,s,i)}catch(A){Ae.destroy(i,A)}Fn(n)}onHeadersComplete(e,r,n){let{client:i,socket:s,headers:o,statusText:a}=this;if(s.destroyed)return-1;let A=i[Bt][i[Qt]];if(!A)return-1;if(ee(!this.upgrade),ee(this.statusCode<200),e===100)return Ae.destroy(s,new kc("bad response",Ae.getSocketInfo(s))),-1;if(r&&!A.upgrade)return Ae.destroy(s,new kc("bad upgrade",Ae.getSocketInfo(s))),-1;if(ee.strictEqual(this.timeoutType,Tc),this.statusCode=e,this.shouldKeepAlive=n||A.method==="HEAD"&&!s[Wr]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let l=A.bodyTimeout!=null?A.bodyTimeout:i[sL];this.setTimeout(l,Ap)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(A.method==="CONNECT")return ee(i[Dt]===1),this.upgrade=!0,2;if(r)return ee(i[Dt]===1),this.upgrade=!0,2;if(ee(this.headers.length%2===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[qo]){let l=this.keepAlive?Ae.parseKeepAliveTimeout(this.keepAlive):null;if(l!=null){let u=Math.min(l-i[nL],i[rL]);u<=0?s[Wr]=!0:i[lf]=u}else i[lf]=i[r0]}else s[Wr]=!0;let c=A.onHeaders(e,o,this.resume,a)===!1;return A.aborted?-1:A.method==="HEAD"||e<200?1:(s[Pc]&&(s[Pc]=!1,Fn(i)),c?As.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:i,maxResponseSize:s}=this;if(n.destroyed)return-1;let o=r[Bt][r[Qt]];if(ee(o),ee.strictEqual(this.timeoutType,Ap),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),ee(i>=200),s>-1&&this.bytesRead+e.length>s)return Ae.destroy(n,new yee),-1;if(this.bytesRead+=e.length,o.onData(e)===!1)return As.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:n,upgrade:i,headers:s,contentLength:o,bytesRead:a,shouldKeepAlive:A}=this;if(r.destroyed&&(!n||A))return-1;if(i)return;let c=e[Bt][e[Qt]];if(ee(c),ee(n>=100),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",ee(this.headers.length%2===0),this.headers=[],this.headersSize=0,!(n<200)){if(c.method!=="HEAD"&&o&&a!==parseInt(o,10))return Ae.destroy(r,new fee),-1;if(c.onComplete(s),e[Bt][e[Qt]++]=null,r[Xs])return ee.strictEqual(e[Dt],0),Ae.destroy(r,new us("reset")),As.ERROR.PAUSED;if(A){if(r[Wr]&&e[Dt]===0)return Ae.destroy(r,new us("reset")),As.ERROR.PAUSED;e[qo]===1?setImmediate(Fn,e):Fn(e)}else return Ae.destroy(r,new us("reset")),As.ERROR.PAUSED}}};function Gee(t){let{socket:e,timeoutType:r,client:n}=t;r===Tc?(!e[Xs]||e.writableNeedDrain||n[Dt]>1)&&(ee(!t.paused,"cannot be paused while waiting for headers"),Ae.destroy(e,new hee)):r===Ap?t.paused||Ae.destroy(e,new mee):r===s0&&(ee(n[Dt]===0&&n[lf]),Ae.destroy(e,new us("socket idle timeout")))}function cL(){let{[Tt]:t}=this;t&&t.readMore()}function lL(t){let{[ds]:e,[Tt]:r}=this;if(ee(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),e[fs]!=="h2"&&t.code==="ECONNRESET"&&r.statusCode&&!r.shouldKeepAlive){r.onMessageComplete();return}this[vr]=t,fp(this[ds],t)}function fp(t,e){if(t[Dt]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){ee(t[Ln]===t[Qt]);let r=t[Bt].splice(t[Qt]);for(let n=0;n<r.length;n++){let i=r[n];$r(t,i,e)}ee(t[Ja]===0)}}function uL(){let{[Tt]:t,[ds]:e}=this;if(e[fs]!=="h2"&&t.statusCode&&!t.shouldKeepAlive){t.onMessageComplete();return}Ae.destroy(this,new kc("other side closed",Ae.getSocketInfo(this)))}function a0(){let{[ds]:t,[Tt]:e}=this;t[fs]==="h1"&&e&&(!this[vr]&&e.statusCode&&!e.shouldKeepAlive&&e.onMessageComplete(),this[Tt].destroy(),this[Tt]=null);let r=this[vr]||new kc("closed",Ae.getSocketInfo(this));if(t[Ot]=null,t.destroyed){ee(t[Va]===0);let n=t[Bt].splice(t[Qt]);for(let i=0;i<n.length;i++){let s=n[i];$r(t,s,r)}}else if(t[Dt]>0&&r.code!=="UND_ERR_INFO"){let n=t[Bt][t[Qt]];t[Bt][t[Qt]++]=null,$r(t,n,r)}t[Ln]=t[Qt],ee(t[Dt]===0),t.emit("disconnect",t[Rr],[t],r),Fn(t)}async function dL(t){ee(!t[Dc]),ee(!t[Ot]);let{host:e,hostname:r,protocol:n,port:i}=t[Rr];if(r[0]==="["){let s=r.indexOf("]");ee(s!==-1);let o=r.substring(1,s);ee(eL.isIP(o)),r=o}t[Dc]=!0,Mr.beforeConnect.hasSubscribers&&Mr.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,servername:t[Mo],localAddress:t[cf]},connector:t[Af]});try{let s=await new Promise((a,A)=>{t[Af]({host:e,hostname:r,protocol:n,port:i,servername:t[Mo],localAddress:t[cf]},(c,l)=>{c?A(c):a(l)})});if(t.destroyed){Ae.destroy(s.on("error",()=>{}),new Eee);return}if(t[Dc]=!1,ee(s),s.alpnProtocol==="h2"){XO||(XO=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let a=lp.connect(t[Rr],{createConnection:()=>s,peerMaxConcurrentStreams:t[cp].maxConcurrentStreams});t[fs]="h2",a[ds]=t,a[Ot]=s,a.on("error",Mee),a.on("frameError",Fee),a.on("end",Uee),a.on("goaway",qee),a.on("close",a0),a.unref(),t[Mn]=a,s[Mn]=a}else Zb||(Zb=await i0,i0=null),s[af]=!1,s[Xs]=!1,s[Wr]=!1,s[Pc]=!1,s[Tt]=new o0(t,s,Zb);s[oL]=0,s[df]=t[df],s[ds]=t,s[vr]=null,s.on("error",lL).on("readable",cL).on("end",uL).on("close",a0),t[Ot]=s,Mr.connected.hasSubscribers&&Mr.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,servername:t[Mo],localAddress:t[cf]},connector:t[Af],socket:s}),t.emit("connect",t[Rr],[t])}catch(s){if(t.destroyed)return;if(t[Dc]=!1,Mr.connectError.hasSubscribers&&Mr.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,servername:t[Mo],localAddress:t[cf]},connector:t[Af],error:s}),s.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(ee(t[Dt]===0);t[Va]>0&&t[Bt][t[Ln]].servername===t[Mo];){let o=t[Bt][t[Ln]++];$r(t,o,s)}else fp(t,s);t.emit("connectionError",t[Rr],[t],s)}Fn(t)}function ZO(t){t[Uo]=0,t.emit("drain",t[Rr],[t])}function Fn(t,e){t[Ya]!==2&&(t[Ya]=2,Yee(t,e),t[Ya]=0,t[Qt]>256&&(t[Bt].splice(0,t[Qt]),t[Ln]-=t[Qt],t[Qt]=0))}function Yee(t,e){for(;;){if(t.destroyed){ee(t[Va]===0);return}if(t[Fo]&&!t[Ja]){t[Fo](),t[Fo]=null;return}let r=t[Ot];if(r&&!r.destroyed&&r.alpnProtocol!=="h2"){if(t[Ja]===0?!r[af]&&r.unref&&(r.unref(),r[af]=!0):r[af]&&r.ref&&(r.ref(),r[af]=!1),t[Ja]===0)r[Tt].timeoutType!==s0&&r[Tt].setTimeout(t[lf],s0);else if(t[Dt]>0&&r[Tt].statusCode<200&&r[Tt].timeoutType!==Tc){let i=t[Bt][t[Qt]],s=i.headersTimeout!=null?i.headersTimeout:t[iL];r[Tt].setTimeout(s,Tc)}}if(t[t0])t[Uo]=2;else if(t[Uo]===2){e?(t[Uo]=1,process.nextTick(ZO,t)):ZO(t);continue}if(t[Va]===0||t[Dt]>=(t[qo]||1))return;let n=t[Bt][t[Ln]];if(t[Rr].protocol==="https:"&&t[Mo]!==n.servername){if(t[Dt]>0)return;if(t[Mo]=n.servername,r&&r.servername!==n.servername){Ae.destroy(r,new us("servername changed"));return}}if(t[Dc])return;if(!r&&!t[Mn]){dL(t);return}if(r.destroyed||r[Xs]||r[Wr]||r[Pc]||t[Dt]>0&&!n.idempotent||t[Dt]>0&&(n.upgrade||n.method==="CONNECT")||t[Dt]>0&&Ae.bodyLength(n.body)!==0&&(Ae.isStream(n.body)||Ae.isAsyncIterable(n.body)))return;!n.aborted&&Jee(t,n)?t[Ln]++:t[Bt].splice(t[Ln],1)}}function fL(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}function Jee(t,e){if(t[fs]==="h2"){Vee(t,t[Mn],e);return}let{body:r,method:n,path:i,host:s,upgrade:o,headers:a,blocking:A,reset:c}=e,l=n==="PUT"||n==="POST"||n==="PATCH";r&&typeof r.read=="function"&&r.read(0);let u=Ae.bodyLength(r),d=u;if(d===null&&(d=e.contentLength),d===0&&!l&&(d=null),fL(n)&&d>0&&e.contentLength!==null&&e.contentLength!==d){if(t[uf])return $r(t,e,new Ks),!1;process.emitWarning(new Ks)}let f=t[Ot];try{e.onConnect(m=>{e.aborted||e.completed||($r(t,e,m||new A0),Ae.destroy(f,new us("aborted")))})}catch(m){$r(t,e,m)}if(e.aborted)return!1;n==="HEAD"&&(f[Wr]=!0),(o||n==="CONNECT")&&(f[Wr]=!0),c!=null&&(f[Wr]=c),t[df]&&f[oL]++>=t[df]&&(f[Wr]=!0),A&&(f[Pc]=!0);let g=`${n} ${i} HTTP/1.1\r
|
||
`;return typeof s=="string"?g+=`host: ${s}\r
|
||
`:g+=t[tL],o?g+=`connection: upgrade\r
|
||
upgrade: ${o}\r
|
||
`:t[qo]&&!f[Wr]?g+=`connection: keep-alive\r
|
||
`:g+=`connection: close\r
|
||
`,a&&(g+=a),Mr.sendHeaders.hasSubscribers&&Mr.sendHeaders.publish({request:e,headers:g,socket:f}),!r||u===0?(d===0?f.write(`${g}content-length: 0\r
|
||
\r
|
||
`,"latin1"):(ee(d===null,"no body must not have content length"),f.write(`${g}\r
|
||
`,"latin1")),e.onRequestSent()):Ae.isBuffer(r)?(ee(d===r.byteLength,"buffer body must have content length"),f.cork(),f.write(`${g}content-length: ${d}\r
|
||
\r
|
||
`,"latin1"),f.write(r),f.uncork(),e.onBodySent(r),e.onRequestSent(),l||(f[Wr]=!0)):Ae.isBlobLike(r)?typeof r.stream=="function"?up({body:r.stream(),client:t,request:e,socket:f,contentLength:d,header:g,expectsPayload:l}):gL({body:r,client:t,request:e,socket:f,contentLength:d,header:g,expectsPayload:l}):Ae.isStream(r)?hL({body:r,client:t,request:e,socket:f,contentLength:d,header:g,expectsPayload:l}):Ae.isIterable(r)?up({body:r,client:t,request:e,socket:f,contentLength:d,header:g,expectsPayload:l}):ee(!1),!0}function Vee(t,e,r){let{body:n,method:i,path:s,host:o,upgrade:a,expectContinue:A,signal:c,headers:l}=r,u;if(typeof l=="string"?u=e0[Ree](l.trim()):u=l,a)return $r(t,r,new Error("Upgrade not supported for H2")),!1;try{r.onConnect(I=>{r.aborted||r.completed||$r(t,r,I||new A0)})}catch(I){$r(t,r,I)}if(r.aborted)return!1;let d,f=t[cp];if(u[_ee]=o||t[AL],u[Dee]=i,i==="CONNECT")return e.ref(),d=e.request(u,{endStream:!1,signal:c}),d.id&&!d.pending?(r.onUpgrade(null,null,d),++f.openStreams):d.once("ready",()=>{r.onUpgrade(null,null,d),++f.openStreams}),d.once("close",()=>{f.openStreams-=1,f.openStreams===0&&e.unref()}),!0;u[kee]=s,u[Pee]="https";let g=i==="PUT"||i==="POST"||i==="PATCH";n&&typeof n.read=="function"&&n.read(0);let m=Ae.bodyLength(n);if(m==null&&(m=r.contentLength),(m===0||!g)&&(m=null),fL(i)&&m>0&&r.contentLength!=null&&r.contentLength!==m){if(t[uf])return $r(t,r,new Ks),!1;process.emitWarning(new Ks)}m!=null&&(ee(n,"no body must not have content length"),u[Tee]=`${m}`),e.ref();let E=i==="GET"||i==="HEAD";return A?(u[Oee]="100-continue",d=e.request(u,{endStream:E,signal:c}),d.once("continue",C)):(d=e.request(u,{endStream:E,signal:c}),C()),++f.openStreams,d.once("response",I=>{let{[Lee]:N,...w}=I;r.onHeaders(Number(N),w,d.resume.bind(d),"")===!1&&d.pause()}),d.once("end",()=>{r.onComplete([])}),d.on("data",I=>{r.onData(I)===!1&&d.pause()}),d.once("close",()=>{f.openStreams-=1,f.openStreams===0&&e.unref()}),d.once("error",function(I){t[Mn]&&!t[Mn].destroyed&&!this.closed&&!this.destroyed&&(f.streams-=1,Ae.destroy(d,I))}),d.once("frameError",(I,N)=>{let w=new us(`HTTP/2: "frameError" received - type ${I}, code ${N}`);$r(t,r,w),t[Mn]&&!t[Mn].destroyed&&!this.closed&&!this.destroyed&&(f.streams-=1,Ae.destroy(d,w))}),!0;function C(){n?Ae.isBuffer(n)?(ee(m===n.byteLength,"buffer body must have content length"),d.cork(),d.write(n),d.uncork(),d.end(),r.onBodySent(n),r.onRequestSent()):Ae.isBlobLike(n)?typeof n.stream=="function"?up({client:t,request:r,contentLength:m,h2stream:d,expectsPayload:g,body:n.stream(),socket:t[Ot],header:""}):gL({body:n,client:t,request:r,contentLength:m,expectsPayload:g,h2stream:d,header:"",socket:t[Ot]}):Ae.isStream(n)?hL({body:n,client:t,request:r,contentLength:m,expectsPayload:g,socket:t[Ot],h2stream:d,header:""}):Ae.isIterable(n)?up({body:n,client:t,request:r,contentLength:m,expectsPayload:g,header:"",h2stream:d,socket:t[Ot]}):ee(!1):r.onRequestSent()}}function hL({h2stream:t,body:e,client:r,request:n,socket:i,contentLength:s,header:o,expectsPayload:a}){if(ee(s!==0||r[Dt]===0,"stream body cannot be pipelined"),r[fs]==="h2"){let m=function(E){n.onBodySent(E)},g=uee(e,t,E=>{E?(Ae.destroy(e,E),Ae.destroy(t,E)):n.onRequestSent()});g.on("data",m),g.once("end",()=>{g.removeListener("data",m),Ae.destroy(g)});return}let A=!1,c=new dp({socket:i,request:n,contentLength:s,client:r,expectsPayload:a,header:o}),l=function(g){if(!A)try{!c.write(g)&&this.pause&&this.pause()}catch(m){Ae.destroy(this,m)}},u=function(){A||e.resume&&e.resume()},d=function(){if(A)return;let g=new A0;queueMicrotask(()=>f(g))},f=function(g){if(!A){if(A=!0,ee(i.destroyed||i[Xs]&&r[Dt]<=1),i.off("drain",u).off("error",f),e.removeListener("data",l).removeListener("end",f).removeListener("error",f).removeListener("close",d),!g)try{c.end()}catch(m){g=m}c.destroy(g),g&&(g.code!=="UND_ERR_INFO"||g.message!=="reset")?Ae.destroy(e,g):Ae.destroy(e)}};e.on("data",l).on("end",f).on("error",f).on("close",d),e.resume&&e.resume(),i.on("drain",u).on("error",f)}async function gL({h2stream:t,body:e,client:r,request:n,socket:i,contentLength:s,header:o,expectsPayload:a}){ee(s===e.size,"blob body must have content length");let A=r[fs]==="h2";try{if(s!=null&&s!==e.size)throw new Ks;let c=Buffer.from(await e.arrayBuffer());A?(t.cork(),t.write(c),t.uncork()):(i.cork(),i.write(`${o}content-length: ${s}\r
|
||
\r
|
||
`,"latin1"),i.write(c),i.uncork()),n.onBodySent(c),n.onRequestSent(),a||(i[Wr]=!0),Fn(r)}catch(c){Ae.destroy(A?t:i,c)}}async function up({h2stream:t,body:e,client:r,request:n,socket:i,contentLength:s,header:o,expectsPayload:a}){ee(s!==0||r[Dt]===0,"iterator body cannot be pipelined");let A=null;function c(){if(A){let d=A;A=null,d()}}let l=()=>new Promise((d,f)=>{ee(A===null),i[vr]?f(i[vr]):A=d});if(r[fs]==="h2"){t.on("close",c).on("drain",c);try{for await(let d of e){if(i[vr])throw i[vr];let f=t.write(d);n.onBodySent(d),f||await l()}}catch(d){t.destroy(d)}finally{n.onRequestSent(),t.end(),t.off("close",c).off("drain",c)}return}i.on("close",c).on("drain",c);let u=new dp({socket:i,request:n,contentLength:s,client:r,expectsPayload:a,header:o});try{for await(let d of e){if(i[vr])throw i[vr];u.write(d)||await l()}u.end()}catch(d){u.destroy(d)}finally{i.off("close",c).off("drain",c)}}var dp=class{constructor({socket:e,request:r,contentLength:n,client:i,expectsPayload:s,header:o}){this.socket=e,this.request=r,this.contentLength=n,this.client=i,this.bytesWritten=0,this.expectsPayload=s,this.header=o,e[Xs]=!0}write(e){let{socket:r,request:n,contentLength:i,client:s,bytesWritten:o,expectsPayload:a,header:A}=this;if(r[vr])throw r[vr];if(r.destroyed)return!1;let c=Buffer.byteLength(e);if(!c)return!0;if(i!==null&&o+c>i){if(s[uf])throw new Ks;process.emitWarning(new Ks)}r.cork(),o===0&&(a||(r[Wr]=!0),i===null?r.write(`${A}transfer-encoding: chunked\r
|
||
`,"latin1"):r.write(`${A}content-length: ${i}\r
|
||
\r
|
||
`,"latin1")),i===null&&r.write(`\r
|
||
${c.toString(16)}\r
|
||
`,"latin1"),this.bytesWritten+=c;let l=r.write(e);return r.uncork(),n.onBodySent(e),l||r[Tt].timeout&&r[Tt].timeoutType===Tc&&r[Tt].timeout.refresh&&r[Tt].timeout.refresh(),l}end(){let{socket:e,contentLength:r,client:n,bytesWritten:i,expectsPayload:s,header:o,request:a}=this;if(a.onRequestSent(),e[Xs]=!1,e[vr])throw e[vr];if(!e.destroyed){if(i===0?s?e.write(`${o}content-length: 0\r
|
||
\r
|
||
`,"latin1"):e.write(`${o}\r
|
||
`,"latin1"):r===null&&e.write(`\r
|
||
0\r
|
||
\r
|
||
`,"latin1"),r!==null&&i!==r){if(n[uf])throw new Ks;process.emitWarning(new Ks)}e[Tt].timeout&&e[Tt].timeoutType===Tc&&e[Tt].timeout.refresh&&e[Tt].timeout.refresh(),Fn(n)}}destroy(e){let{socket:r,client:n}=this;r[Xs]=!1,e&&(ee(n[Dt]<=1,"pipeline should only contain this request"),Ae.destroy(r,e))}};function $r(t,e,r){try{e.onError(r),ee(e.aborted)}catch(n){t.emit("error",n)}}mL.exports=n0});var yL=h((sLe,pL)=>{"use strict";var hp=class{constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};pL.exports=class{constructor(){this.head=this.tail=new hp}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new hp),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var CL=h((oLe,EL)=>{var{kFree:Wee,kConnected:$ee,kPending:Kee,kQueued:Xee,kRunning:Zee,kSize:ete}=It(),Wa=Symbol("pool"),c0=class{constructor(e){this[Wa]=e}get connected(){return this[Wa][$ee]}get free(){return this[Wa][Wee]}get pending(){return this[Wa][Kee]}get queued(){return this[Wa][Xee]}get running(){return this[Wa][Zee]}get size(){return this[Wa][ete]}};EL.exports=c0});var g0=h((aLe,vL)=>{"use strict";var tte=nf(),rte=yL(),{kConnected:l0,kSize:IL,kRunning:BL,kPending:QL,kQueued:hf,kBusy:nte,kFree:ite,kUrl:ste,kClose:ote,kDestroy:ate,kDispatch:Ate}=It(),cte=CL(),An=Symbol("clients"),Kr=Symbol("needDrain"),gf=Symbol("queue"),u0=Symbol("closed resolve"),d0=Symbol("onDrain"),bL=Symbol("onConnect"),NL=Symbol("onDisconnect"),wL=Symbol("onConnectionError"),f0=Symbol("get dispatcher"),xL=Symbol("add client"),RL=Symbol("remove client"),SL=Symbol("stats"),h0=class extends tte{constructor(){super(),this[gf]=new rte,this[An]=[],this[hf]=0;let e=this;this[d0]=function(n,i){let s=e[gf],o=!1;for(;!o;){let a=s.shift();if(!a)break;e[hf]--,o=!this.dispatch(a.opts,a.handler)}this[Kr]=o,!this[Kr]&&e[Kr]&&(e[Kr]=!1,e.emit("drain",n,[e,...i])),e[u0]&&s.isEmpty()&&Promise.all(e[An].map(a=>a.close())).then(e[u0])},this[bL]=(r,n)=>{e.emit("connect",r,[e,...n])},this[NL]=(r,n,i)=>{e.emit("disconnect",r,[e,...n],i)},this[wL]=(r,n,i)=>{e.emit("connectionError",r,[e,...n],i)},this[SL]=new cte(this)}get[nte](){return this[Kr]}get[l0](){return this[An].filter(e=>e[l0]).length}get[ite](){return this[An].filter(e=>e[l0]&&!e[Kr]).length}get[QL](){let e=this[hf];for(let{[QL]:r}of this[An])e+=r;return e}get[BL](){let e=0;for(let{[BL]:r}of this[An])e+=r;return e}get[IL](){let e=this[hf];for(let{[IL]:r}of this[An])e+=r;return e}get stats(){return this[SL]}async[ote](){return this[gf].isEmpty()?Promise.all(this[An].map(e=>e.close())):new Promise(e=>{this[u0]=e})}async[ate](e){for(;;){let r=this[gf].shift();if(!r)break;r.handler.onError(e)}return Promise.all(this[An].map(r=>r.destroy(e)))}[Ate](e,r){let n=this[f0]();return n?n.dispatch(e,r)||(n[Kr]=!0,this[Kr]=!this[f0]()):(this[Kr]=!0,this[gf].push({opts:e,handler:r}),this[hf]++),!this[Kr]}[xL](e){return e.on("drain",this[d0]).on("connect",this[bL]).on("disconnect",this[NL]).on("connectionError",this[wL]),this[An].push(e),this[Kr]&&process.nextTick(()=>{this[Kr]&&this[d0](e[ste],[this,e])}),this}[RL](e){e.close(()=>{let r=this[An].indexOf(e);r!==-1&&this[An].splice(r,1)}),this[Kr]=this[An].some(r=>!r[Kr]&&r.closed!==!0&&r.destroyed!==!0)}};vL.exports={PoolBase:h0,kClients:An,kNeedDrain:Kr,kAddClient:xL,kRemoveClient:RL,kGetDispatcher:f0}});var Oc=h((ALe,kL)=>{"use strict";var{PoolBase:lte,kClients:gp,kNeedDrain:ute,kAddClient:dte,kGetDispatcher:fte}=g0(),hte=ff(),{InvalidArgumentError:m0}=At(),p0=Ue(),{kUrl:_L,kInterceptors:gte}=It(),mte=sf(),y0=Symbol("options"),E0=Symbol("connections"),DL=Symbol("factory");function pte(t,e){return new hte(t,e)}var C0=class extends lte{constructor(e,{connections:r,factory:n=pte,connect:i,connectTimeout:s,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:c,autoSelectFamilyAttemptTimeout:l,allowH2:u,...d}={}){if(super(),r!=null&&(!Number.isFinite(r)||r<0))throw new m0("invalid connections");if(typeof n!="function")throw new m0("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new m0("connect must be a function or an object");typeof i!="function"&&(i=mte({...o,maxCachedSessions:a,allowH2:u,socketPath:A,timeout:s,...p0.nodeHasAutoSelectFamily&&c?{autoSelectFamily:c,autoSelectFamilyAttemptTimeout:l}:void 0,...i})),this[gte]=d.interceptors&&d.interceptors.Pool&&Array.isArray(d.interceptors.Pool)?d.interceptors.Pool:[],this[E0]=r||null,this[_L]=p0.parseOrigin(e),this[y0]={...p0.deepClone(d),connect:i,allowH2:u},this[y0].interceptors=d.interceptors?{...d.interceptors}:void 0,this[DL]=n,this.on("connectionError",(f,g,m)=>{for(let E of g){let C=this[gp].indexOf(E);C!==-1&&this[gp].splice(C,1)}})}[fte](){let e=this[gp].find(r=>!r[ute]);return e||((!this[E0]||this[gp].length<this[E0])&&(e=this[DL](this[_L],this[y0]),this[dte](e)),e)}};kL.exports=C0});var FL=h((cLe,ML)=>{"use strict";var{BalancedPoolMissingUpstreamError:yte,InvalidArgumentError:Ete}=At(),{PoolBase:Cte,kClients:Xr,kNeedDrain:mf,kAddClient:Ite,kRemoveClient:Bte,kGetDispatcher:Qte}=g0(),bte=Oc(),{kUrl:I0,kInterceptors:Nte}=It(),{parseOrigin:PL}=Ue(),TL=Symbol("factory"),mp=Symbol("options"),OL=Symbol("kGreatestCommonDivisor"),$a=Symbol("kCurrentWeight"),Ka=Symbol("kIndex"),ii=Symbol("kWeight"),pp=Symbol("kMaxWeightPerServer"),yp=Symbol("kErrorPenalty");function LL(t,e){return e===0?t:LL(e,t%e)}function wte(t,e){return new bte(t,e)}var B0=class extends Cte{constructor(e=[],{factory:r=wte,...n}={}){if(super(),this[mp]=n,this[Ka]=-1,this[$a]=0,this[pp]=this[mp].maxWeightPerServer||100,this[yp]=this[mp].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new Ete("factory must be a function.");this[Nte]=n.interceptors&&n.interceptors.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[TL]=r;for(let i of e)this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let r=PL(e).origin;if(this[Xr].find(i=>i[I0].origin===r&&i.closed!==!0&&i.destroyed!==!0))return this;let n=this[TL](r,Object.assign({},this[mp]));this[Ite](n),n.on("connect",()=>{n[ii]=Math.min(this[pp],n[ii]+this[yp])}),n.on("connectionError",()=>{n[ii]=Math.max(1,n[ii]-this[yp]),this._updateBalancedPoolStats()}),n.on("disconnect",(...i)=>{let s=i[2];s&&s.code==="UND_ERR_SOCKET"&&(n[ii]=Math.max(1,n[ii]-this[yp]),this._updateBalancedPoolStats())});for(let i of this[Xr])i[ii]=this[pp];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){this[OL]=this[Xr].map(e=>e[ii]).reduce(LL,0)}removeUpstream(e){let r=PL(e).origin,n=this[Xr].find(i=>i[I0].origin===r&&i.closed!==!0&&i.destroyed!==!0);return n&&this[Bte](n),this}get upstreams(){return this[Xr].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[I0].origin)}[Qte](){if(this[Xr].length===0)throw new yte;if(!this[Xr].find(s=>!s[mf]&&s.closed!==!0&&s.destroyed!==!0)||this[Xr].map(s=>s[mf]).reduce((s,o)=>s&&o,!0))return;let n=0,i=this[Xr].findIndex(s=>!s[mf]);for(;n++<this[Xr].length;){this[Ka]=(this[Ka]+1)%this[Xr].length;let s=this[Xr][this[Ka]];if(s[ii]>this[Xr][i][ii]&&!s[mf]&&(i=this[Ka]),this[Ka]===0&&(this[$a]=this[$a]-this[OL],this[$a]<=0&&(this[$a]=this[pp])),s[ii]>=this[$a]&&!s[mf])return s}return this[$a]=this[Xr][i][ii],this[Ka]=i,this[Xr][i]}};ML.exports=B0});var Q0=h((lLe,HL)=>{"use strict";var{kConnected:UL,kSize:qL}=It(),Ep=class{constructor(e){this.value=e}deref(){return this.value[UL]===0&&this.value[qL]===0?void 0:this.value}},Cp=class{constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[UL]===0&&e[qL]===0&&this.finalizer(r)})}};HL.exports=function(){return process.env.NODE_V8_COVERAGE?{WeakRef:Ep,FinalizationRegistry:Cp}:{WeakRef:global.WeakRef||Ep,FinalizationRegistry:global.FinalizationRegistry||Cp}}});var pf=h((uLe,$L)=>{"use strict";var{InvalidArgumentError:Ip}=At(),{kClients:Ho,kRunning:jL,kClose:Ste,kDestroy:xte,kDispatch:Rte,kInterceptors:vte}=It(),_te=nf(),Dte=Oc(),kte=ff(),Pte=Ue(),Tte=ip(),{WeakRef:Ote,FinalizationRegistry:Lte}=Q0()(),zL=Symbol("onConnect"),GL=Symbol("onDisconnect"),YL=Symbol("onConnectionError"),Mte=Symbol("maxRedirections"),JL=Symbol("onDrain"),VL=Symbol("factory"),WL=Symbol("finalizer"),b0=Symbol("options");function Fte(t,e){return e&&e.connections===1?new kte(t,e):new Dte(t,e)}var N0=class extends _te{constructor({factory:e=Fte,maxRedirections:r=0,connect:n,...i}={}){if(super(),typeof e!="function")throw new Ip("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Ip("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Ip("maxRedirections must be a positive number");n&&typeof n!="function"&&(n={...n}),this[vte]=i.interceptors&&i.interceptors.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[Tte({maxRedirections:r})],this[b0]={...Pte.deepClone(i),connect:n},this[b0].interceptors=i.interceptors?{...i.interceptors}:void 0,this[Mte]=r,this[VL]=e,this[Ho]=new Map,this[WL]=new Lte(o=>{let a=this[Ho].get(o);a!==void 0&&a.deref()===void 0&&this[Ho].delete(o)});let s=this;this[JL]=(o,a)=>{s.emit("drain",o,[s,...a])},this[zL]=(o,a)=>{s.emit("connect",o,[s,...a])},this[GL]=(o,a,A)=>{s.emit("disconnect",o,[s,...a],A)},this[YL]=(o,a,A)=>{s.emit("connectionError",o,[s,...a],A)}}get[jL](){let e=0;for(let r of this[Ho].values()){let n=r.deref();n&&(e+=n[jL])}return e}[Rte](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new Ip("opts.origin must be a non-empty string or URL.");let i=this[Ho].get(n),s=i?i.deref():null;return s||(s=this[VL](e.origin,this[b0]).on("drain",this[JL]).on("connect",this[zL]).on("disconnect",this[GL]).on("connectionError",this[YL]),this[Ho].set(n,new Ote(s)),this[WL].register(s,n)),s.dispatch(e,r)}async[Ste](){let e=[];for(let r of this[Ho].values()){let n=r.deref();n&&e.push(n.close())}await Promise.all(e)}async[xte](e){let r=[];for(let n of this[Ho].values()){let i=n.deref();i&&r.push(i.destroy(e))}await Promise.all(r)}};$L.exports=N0});var sM=h((fLe,iM)=>{"use strict";var eM=require("assert"),{Readable:Ute}=require("stream"),{RequestAbortedError:tM,NotSupportedError:qte,InvalidArgumentError:Hte}=At(),bp=Ue(),{ReadableStreamFrom:jte,toUSVString:zte}=Ue(),w0,Un=Symbol("kConsume"),Bp=Symbol("kReading"),jo=Symbol("kBody"),KL=Symbol("abort"),rM=Symbol("kContentType"),XL=()=>{};iM.exports=class extends Ute{constructor({resume:e,abort:r,contentType:n="",highWaterMark:i=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:i}),this._readableState.dataEmitted=!1,this[KL]=r,this[Un]=null,this[jo]=null,this[rM]=n,this[Bp]=!1}destroy(e){return this.destroyed?this:(!e&&!this._readableState.endEmitted&&(e=new tM),e&&this[KL](),super.destroy(e))}emit(e,...r){return e==="data"?this._readableState.dataEmitted=!0:e==="error"&&(this._readableState.errorEmitted=!0),super.emit(e,...r)}on(e,...r){return(e==="data"||e==="readable")&&(this[Bp]=!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[Bp]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Un]&&e!==null&&this.readableLength===0?(nM(this[Un],e),this[Bp]?super.push(e):!0):super.push(e)}async text(){return Qp(this,"text")}async json(){return Qp(this,"json")}async blob(){return Qp(this,"blob")}async arrayBuffer(){return Qp(this,"arrayBuffer")}async formData(){throw new qte}get bodyUsed(){return bp.isDisturbed(this)}get body(){return this[jo]||(this[jo]=jte(this),this[Un]&&(this[jo].getReader(),eM(this[jo].locked))),this[jo]}dump(e){let r=e&&Number.isFinite(e.limit)?e.limit:262144,n=e&&e.signal;if(n)try{if(typeof n!="object"||!("aborted"in n))throw new Hte("signal must be an AbortSignal");bp.throwIfAborted(n)}catch(i){return Promise.reject(i)}return this.closed?Promise.resolve(null):new Promise((i,s)=>{let o=n?bp.addAbortListener(n,()=>{this.destroy()}):XL;this.on("close",function(){o(),n&&n.aborted?s(n.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"})):i(null)}).on("error",XL).on("data",function(a){r-=a.length,r<=0&&this.destroy()}).resume()})}};function Gte(t){return t[jo]&&t[jo].locked===!0||t[Un]}function Yte(t){return bp.isDisturbed(t)||Gte(t)}async function Qp(t,e){if(Yte(t))throw new TypeError("unusable");return eM(!t[Un]),new Promise((r,n)=>{t[Un]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(i){S0(this[Un],i)}).on("close",function(){this[Un].body!==null&&S0(this[Un],new tM)}),process.nextTick(Jte,t[Un])})}function Jte(t){if(t.body===null)return;let{_readableState:e}=t.stream;for(let r of e.buffer)nM(t,r);for(e.endEmitted?ZL(this[Un]):t.stream.on("end",function(){ZL(this[Un])}),t.stream.resume();t.stream.read()!=null;);}function ZL(t){let{type:e,body:r,resolve:n,stream:i,length:s}=t;try{if(e==="text")n(zte(Buffer.concat(r)));else if(e==="json")n(JSON.parse(Buffer.concat(r)));else if(e==="arrayBuffer"){let o=new Uint8Array(s),a=0;for(let A of r)o.set(A,a),a+=A.byteLength;n(o.buffer)}else e==="blob"&&(w0||(w0=require("buffer").Blob),n(new w0(r,{type:i[rM]})));S0(t)}catch(o){i.destroy(o)}}function nM(t,e){t.length+=e.length,t.body.push(e)}function S0(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)}});var x0=h((hLe,aM)=>{var Vte=require("assert"),{ResponseStatusCodeError:Np}=At(),{toUSVString:oM}=Ue();async function Wte({callback:t,body:e,contentType:r,statusCode:n,statusMessage:i,headers:s}){Vte(e);let o=[],a=0;for await(let A of e)if(o.push(A),a+=A.length,a>128*1024){o=null;break}if(n===204||!r||!o){process.nextTick(t,new Np(`Response status code ${n}${i?`: ${i}`:""}`,n,s));return}try{if(r.startsWith("application/json")){let A=JSON.parse(oM(Buffer.concat(o)));process.nextTick(t,new Np(`Response status code ${n}${i?`: ${i}`:""}`,n,s,A));return}if(r.startsWith("text/")){let A=oM(Buffer.concat(o));process.nextTick(t,new Np(`Response status code ${n}${i?`: ${i}`:""}`,n,s,A));return}}catch{}process.nextTick(t,new Np(`Response status code ${n}${i?`: ${i}`:""}`,n,s))}aM.exports={getResolveErrorBodyCallback:Wte}});var Mc=h((gLe,cM)=>{var{addAbortListener:$te}=Ue(),{RequestAbortedError:Kte}=At(),Lc=Symbol("kListener"),zo=Symbol("kSignal");function AM(t){t.abort?t.abort():t.onError(new Kte)}function Xte(t,e){if(t[zo]=null,t[Lc]=null,!!e){if(e.aborted){AM(t);return}t[zo]=e,t[Lc]=()=>{AM(t)},$te(t[zo],t[Lc])}}function Zte(t){t[zo]&&("removeEventListener"in t[zo]?t[zo].removeEventListener("abort",t[Lc]):t[zo].removeListener("abort",t[Lc]),t[zo]=null,t[Lc]=null)}cM.exports={addSignal:Xte,removeSignal:Zte}});var dM=h((mLe,R0)=>{"use strict";var ere=sM(),{InvalidArgumentError:Fc,RequestAbortedError:tre}=At(),hs=Ue(),{getResolveErrorBodyCallback:rre}=x0(),{AsyncResource:nre}=require("async_hooks"),{addSignal:ire,removeSignal:lM}=Mc(),wp=class extends nre{constructor(e,r){if(!e||typeof e!="object")throw new Fc("invalid opts");let{signal:n,method:i,opaque:s,body:o,onInfo:a,responseHeaders:A,throwOnError:c,highWaterMark:l}=e;try{if(typeof r!="function")throw new Fc("invalid callback");if(l&&(typeof l!="number"||l<0))throw new Fc("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Fc("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Fc("invalid method");if(a&&typeof a!="function")throw new Fc("invalid onInfo callback");super("UNDICI_REQUEST")}catch(u){throw hs.isStream(o)&&hs.destroy(o.on("error",hs.nop),u),u}this.responseHeaders=A||null,this.opaque=s||null,this.callback=r,this.res=null,this.abort=null,this.body=o,this.trailers={},this.context=null,this.onInfo=a||null,this.throwOnError=c,this.highWaterMark=l,hs.isStream(o)&&o.on("error",u=>{this.onError(u)}),ire(this,n)}onConnect(e,r){if(!this.callback)throw new tre;this.abort=e,this.context=r}onHeaders(e,r,n,i){let{callback:s,opaque:o,abort:a,context:A,responseHeaders:c,highWaterMark:l}=this,u=c==="raw"?hs.parseRawHeaders(r):hs.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:u});return}let f=(c==="raw"?hs.parseHeaders(r):u)["content-type"],g=new ere({resume:n,abort:a,contentType:f,highWaterMark:l});this.callback=null,this.res=g,s!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(rre,null,{callback:s,body:g,contentType:f,statusCode:e,statusMessage:i,headers:u}):this.runInAsyncScope(s,null,null,{statusCode:e,headers:u,trailers:this.trailers,opaque:o,body:g,context:A}))}onData(e){let{res:r}=this;return r.push(e)}onComplete(e){let{res:r}=this;lM(this),hs.parseHeaders(e,this.trailers),r.push(null)}onError(e){let{res:r,callback:n,body:i,opaque:s}=this;lM(this),n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{hs.destroy(r,e)})),i&&(this.body=null,hs.destroy(i,e))}};function uM(t,e){if(e===void 0)return new Promise((r,n)=>{uM.call(this,t,(i,s)=>i?n(i):r(s))});try{this.dispatch(t,new wp(t,e))}catch(r){if(typeof e!="function")throw r;let n=t&&t.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}R0.exports=uM;R0.exports.RequestHandler=wp});var mM=h((pLe,gM)=>{"use strict";var{finished:sre,PassThrough:ore}=require("stream"),{InvalidArgumentError:Uc,InvalidReturnValueError:are,RequestAbortedError:Are}=At(),zi=Ue(),{getResolveErrorBodyCallback:cre}=x0(),{AsyncResource:lre}=require("async_hooks"),{addSignal:ure,removeSignal:fM}=Mc(),v0=class extends lre{constructor(e,r,n){if(!e||typeof e!="object")throw new Uc("invalid opts");let{signal:i,method:s,opaque:o,body:a,onInfo:A,responseHeaders:c,throwOnError:l}=e;try{if(typeof n!="function")throw new Uc("invalid callback");if(typeof r!="function")throw new Uc("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new Uc("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new Uc("invalid method");if(A&&typeof A!="function")throw new Uc("invalid onInfo callback");super("UNDICI_STREAM")}catch(u){throw zi.isStream(a)&&zi.destroy(a.on("error",zi.nop),u),u}this.responseHeaders=c||null,this.opaque=o||null,this.factory=r,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=a,this.onInfo=A||null,this.throwOnError=l||!1,zi.isStream(a)&&a.on("error",u=>{this.onError(u)}),ure(this,i)}onConnect(e,r){if(!this.callback)throw new Are;this.abort=e,this.context=r}onHeaders(e,r,n,i){let{factory:s,opaque:o,context:a,callback:A,responseHeaders:c}=this,l=c==="raw"?zi.parseRawHeaders(r):zi.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:l});return}this.factory=null;let u;if(this.throwOnError&&e>=400){let g=(c==="raw"?zi.parseHeaders(r):l)["content-type"];u=new ore,this.callback=null,this.runInAsyncScope(cre,null,{callback:A,body:u,contentType:g,statusCode:e,statusMessage:i,headers:l})}else{if(s===null)return;if(u=this.runInAsyncScope(s,null,{statusCode:e,headers:l,opaque:o,context:a}),!u||typeof u.write!="function"||typeof u.end!="function"||typeof u.on!="function")throw new are("expected Writable");sre(u,{readable:!1},f=>{let{callback:g,res:m,opaque:E,trailers:C,abort:I}=this;this.res=null,(f||!m.readable)&&zi.destroy(m,f),this.callback=null,this.runInAsyncScope(g,null,f||null,{opaque:E,trailers:C}),f&&I()})}return u.on("drain",n),this.res=u,(u.writableNeedDrain!==void 0?u.writableNeedDrain:u._writableState&&u._writableState.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;fM(this),r&&(this.trailers=zi.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:i,body:s}=this;fM(this),this.factory=null,r?(this.res=null,zi.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),s&&(this.body=null,zi.destroy(s,e))}};function hM(t,e,r){if(r===void 0)return new Promise((n,i)=>{hM.call(this,t,e,(s,o)=>s?i(s):n(o))});try{this.dispatch(t,new v0(t,e,r))}catch(n){if(typeof r!="function")throw n;let i=t&&t.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}gM.exports=hM});var EM=h((yLe,yM)=>{"use strict";var{Readable:pM,Duplex:dre,PassThrough:fre}=require("stream"),{InvalidArgumentError:yf,InvalidReturnValueError:hre,RequestAbortedError:Sp}=At(),si=Ue(),{AsyncResource:gre}=require("async_hooks"),{addSignal:mre,removeSignal:pre}=Mc(),yre=require("assert"),qc=Symbol("resume"),_0=class extends pM{constructor(){super({autoDestroy:!0}),this[qc]=null}_read(){let{[qc]:e}=this;e&&(this[qc]=null,e())}_destroy(e,r){this._read(),r(e)}},D0=class extends pM{constructor(e){super({autoDestroy:!0}),this[qc]=e}_read(){this[qc]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new Sp),r(e)}},k0=class extends gre{constructor(e,r){if(!e||typeof e!="object")throw new yf("invalid opts");if(typeof r!="function")throw new yf("invalid handler");let{signal:n,method:i,opaque:s,onInfo:o,responseHeaders:a}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new yf("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new yf("invalid method");if(o&&typeof o!="function")throw new yf("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=a||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=o||null,this.req=new _0().on("error",si.nop),this.ret=new dre({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:A}=this;A&&A.resume&&A.resume()},write:(A,c,l)=>{let{req:u}=this;u.push(A,c)||u._readableState.destroyed?l():u[qc]=l},destroy:(A,c)=>{let{body:l,req:u,res:d,ret:f,abort:g}=this;!A&&!f._readableState.endEmitted&&(A=new Sp),g&&A&&g(),si.destroy(l,A),si.destroy(u,A),si.destroy(d,A),pre(this),c(A)}}).on("prefinish",()=>{let{req:A}=this;A.push(null)}),this.res=null,mre(this,n)}onConnect(e,r){let{ret:n,res:i}=this;if(yre(!i,"pipeline cannot be retried"),n.destroyed)throw new Sp;this.abort=e,this.context=r}onHeaders(e,r,n){let{opaque:i,handler:s,context:o}=this;if(e<200){if(this.onInfo){let A=this.responseHeaders==="raw"?si.parseRawHeaders(r):si.parseHeaders(r);this.onInfo({statusCode:e,headers:A})}return}this.res=new D0(n);let a;try{this.handler=null;let A=this.responseHeaders==="raw"?si.parseRawHeaders(r):si.parseHeaders(r);a=this.runInAsyncScope(s,null,{statusCode:e,headers:A,opaque:i,body:this.res,context:o})}catch(A){throw this.res.on("error",si.nop),A}if(!a||typeof a.on!="function")throw new hre("expected Readable");a.on("data",A=>{let{ret:c,body:l}=this;!c.push(A)&&l.pause&&l.pause()}).on("error",A=>{let{ret:c}=this;si.destroy(c,A)}).on("end",()=>{let{ret:A}=this;A.push(null)}).on("close",()=>{let{ret:A}=this;A._readableState.ended||si.destroy(A,new Sp)}),this.body=a}onData(e){let{res:r}=this;return r.push(e)}onComplete(e){let{res:r}=this;r.push(null)}onError(e){let{ret:r}=this;this.handler=null,si.destroy(r,e)}};function Ere(t,e){try{let r=new k0(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new fre().destroy(r)}}yM.exports=Ere});var bM=h((ELe,QM)=>{"use strict";var{InvalidArgumentError:P0,RequestAbortedError:Cre,SocketError:Ire}=At(),{AsyncResource:Bre}=require("async_hooks"),CM=Ue(),{addSignal:Qre,removeSignal:IM}=Mc(),bre=require("assert"),T0=class extends Bre{constructor(e,r){if(!e||typeof e!="object")throw new P0("invalid opts");if(typeof r!="function")throw new P0("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new P0("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.callback)throw new Cre;this.abort=e,this.context=null}onHeaders(){throw new Ire("bad upgrade",null)}onUpgrade(e,r,n){let{callback:i,opaque:s,context:o}=this;bre.strictEqual(e,101),IM(this),this.callback=null;let a=this.responseHeaders==="raw"?CM.parseRawHeaders(r):CM.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:a,socket:n,opaque:s,context:o})}onError(e){let{callback:r,opaque:n}=this;IM(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function BM(t,e){if(e===void 0)return new Promise((r,n)=>{BM.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new T0(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&&t.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}QM.exports=BM});var RM=h((CLe,xM)=>{"use strict";var{AsyncResource:Nre}=require("async_hooks"),{InvalidArgumentError:O0,RequestAbortedError:wre,SocketError:Sre}=At(),NM=Ue(),{addSignal:xre,removeSignal:wM}=Mc(),L0=class extends Nre{constructor(e,r){if(!e||typeof e!="object")throw new O0("invalid opts");if(typeof r!="function")throw new O0("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new O0("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=r,this.abort=null,xre(this,n)}onConnect(e,r){if(!this.callback)throw new wre;this.abort=e,this.context=r}onHeaders(){throw new Sre("bad connect",null)}onUpgrade(e,r,n){let{callback:i,opaque:s,context:o}=this;wM(this),this.callback=null;let a=r;a!=null&&(a=this.responseHeaders==="raw"?NM.parseRawHeaders(r):NM.parseHeaders(r)),this.runInAsyncScope(i,null,null,{statusCode:e,headers:a,socket:n,opaque:s,context:o})}onError(e){let{callback:r,opaque:n}=this;wM(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function SM(t,e){if(e===void 0)return new Promise((r,n)=>{SM.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new L0(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let n=t&&t.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}xM.exports=SM});var vM=h((ILe,Hc)=>{"use strict";Hc.exports.request=dM();Hc.exports.stream=mM();Hc.exports.pipeline=EM();Hc.exports.upgrade=bM();Hc.exports.connect=RM()});var F0=h((BLe,_M)=>{"use strict";var{UndiciError:Rre}=At(),M0=class t extends Rre{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"}};_M.exports={MockNotMatchedError:M0}});var jc=h((QLe,DM)=>{"use strict";DM.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 Ef=h((bLe,zM)=>{"use strict";var{MockNotMatchedError:Xa}=F0(),{kDispatches:xp,kMockAgent:vre,kOriginalDispatch:_re,kOrigin:Dre,kGetNetConnect:kre}=jc(),{buildURL:Pre,nop:Tre}=Ue(),{STATUS_CODES:Ore}=require("http"),{types:{isPromise:Lre}}=require("util");function Zs(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}function PM(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}function TM(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):PM(t)[e.toLocaleLowerCase()]}function OM(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)}function LM(t,e){if(typeof t.headers=="function")return Array.isArray(e)&&(e=OM(e)),t.headers(e?PM(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=TM(e,r);if(!Zs(n,i))return!1}return!0}function kM(t){if(typeof t!="string")return t;let e=t.split("?");if(e.length!==2)return t;let r=new URLSearchParams(e.pop());return r.sort(),[...e,r.toString()].join("?")}function Mre(t,{path:e,method:r,body:n,headers:i}){let s=Zs(t.path,e),o=Zs(t.method,r),a=typeof t.body<"u"?Zs(t.body,n):!0,A=LM(t,i);return s&&o&&a&&A}function MM(t){return Buffer.isBuffer(t)?t:typeof t=="object"?JSON.stringify(t):t.toString()}function FM(t,e){let r=e.query?Pre(e.path,e.query):e.path,n=typeof r=="string"?kM(r):r,i=t.filter(({consumed:s})=>!s).filter(({path:s})=>Zs(kM(s),n));if(i.length===0)throw new Xa(`Mock dispatch not matched for path '${n}'`);if(i=i.filter(({method:s})=>Zs(s,e.method)),i.length===0)throw new Xa(`Mock dispatch not matched for method '${e.method}'`);if(i=i.filter(({body:s})=>typeof s<"u"?Zs(s,e.body):!0),i.length===0)throw new Xa(`Mock dispatch not matched for body '${e.body}'`);if(i=i.filter(s=>LM(s,e.headers)),i.length===0)throw new Xa(`Mock dispatch not matched for headers '${typeof e.headers=="object"?JSON.stringify(e.headers):e.headers}'`);return i[0]}function Fre(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}function U0(t,e){let r=t.findIndex(n=>n.consumed?Mre(n,e):!1);r!==-1&&t.splice(r,1)}function UM(t){let{path:e,method:r,body:n,headers:i,query:s}=t;return{path:e,method:r,body:n,headers:i,query:s}}function q0(t){return Object.entries(t).reduce((e,[r,n])=>[...e,Buffer.from(`${r}`),Array.isArray(n)?n.map(i=>Buffer.from(`${i}`)):Buffer.from(`${n}`)],[])}function qM(t){return Ore[t]||"unknown"}async function Ure(t){let e=[];for await(let r of t)e.push(r);return Buffer.concat(e).toString("utf8")}function HM(t,e){let r=UM(t),n=FM(this[xp],r);n.timesInvoked++,n.data.callback&&(n.data={...n.data,...n.data.callback(t)});let{data:{statusCode:i,data:s,headers:o,trailers:a,error:A},delay:c,persist:l}=n,{timesInvoked:u,times:d}=n;if(n.consumed=!l&&u>=d,n.pending=u<d,A!==null)return U0(this[xp],r),e.onError(A),!0;typeof c=="number"&&c>0?setTimeout(()=>{f(this[xp])},c):f(this[xp]);function f(m,E=s){let C=Array.isArray(t.headers)?OM(t.headers):t.headers,I=typeof E=="function"?E({...t,headers:C}):E;if(Lre(I)){I.then(T=>f(m,T));return}let N=MM(I),w=q0(o),v=q0(a);e.abort=Tre,e.onHeaders(i,w,g,qM(i)),e.onData(Buffer.from(N)),e.onComplete(v),U0(m,r)}function g(){}return!0}function qre(){let t=this[vre],e=this[Dre],r=this[_re];return function(i,s){if(t.isMockActive)try{HM.call(this,i,s)}catch(o){if(o instanceof Xa){let a=t[kre]();if(a===!1)throw new Xa(`${o.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(jM(a,e))r.call(this,i,s);else throw new Xa(`${o.message}: subsequent request to origin ${e} was not allowed (net.connect is not enabled for this origin)`)}else throw o}else r.call(this,i,s)}}function jM(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>Zs(n,r.host)))}function Hre(t){if(t){let{agent:e,...r}=t;return r}}zM.exports={getResponseData:MM,getMockDispatch:FM,addMockDispatch:Fre,deleteMockDispatch:U0,buildKey:UM,generateKeyValues:q0,matchValue:Zs,getResponse:Ure,getStatusText:qM,mockDispatch:HM,buildMockDispatch:qre,checkNetConnect:jM,buildMockOptions:Hre,getHeaderByName:TM}});var V0=h((NLe,J0)=>{"use strict";var{getResponseData:jre,buildKey:zre,addMockDispatch:H0}=Ef(),{kDispatches:Rp,kDispatchKey:vp,kDefaultHeaders:j0,kDefaultTrailers:z0,kContentLength:G0,kMockDispatch:_p}=jc(),{InvalidArgumentError:Gi}=At(),{buildURL:Gre}=Ue(),zc=class{constructor(e){this[_p]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Gi("waitInMs must be a valid integer > 0");return this[_p].delay=e,this}persist(){return this[_p].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Gi("repeatTimes must be a valid integer > 0");return this[_p].times=e,this}},Y0=class{constructor(e,r){if(typeof e!="object")throw new Gi("opts must be an object");if(typeof e.path>"u")throw new Gi("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=Gre(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[vp]=zre(e),this[Rp]=r,this[j0]={},this[z0]={},this[G0]=!1}createMockScopeDispatchData(e,r,n={}){let i=jre(r),s=this[G0]?{"content-length":i.length}:{},o={...this[j0],...s,...n.headers},a={...this[z0],...n.trailers};return{statusCode:e,data:r,headers:o,trailers:a}}validateReplyParameters(e,r,n){if(typeof e>"u")throw new Gi("statusCode must be defined");if(typeof r>"u")throw new Gi("data must be defined");if(typeof n!="object")throw new Gi("responseOptions must be an object")}reply(e){if(typeof e=="function"){let a=c=>{let l=e(c);if(typeof l!="object")throw new Gi("reply options callback must return an object");let{statusCode:u,data:d="",responseOptions:f={}}=l;return this.validateReplyParameters(u,d,f),{...this.createMockScopeDispatchData(u,d,f)}},A=H0(this[Rp],this[vp],a);return new zc(A)}let[r,n="",i={}]=[...arguments];this.validateReplyParameters(r,n,i);let s=this.createMockScopeDispatchData(r,n,i),o=H0(this[Rp],this[vp],s);return new zc(o)}replyWithError(e){if(typeof e>"u")throw new Gi("error must be defined");let r=H0(this[Rp],this[vp],{error:e});return new zc(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new Gi("headers must be defined");return this[j0]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new Gi("trailers must be defined");return this[z0]=e,this}replyContentLength(){return this[G0]=!0,this}};J0.exports.MockInterceptor=Y0;J0.exports.MockScope=zc});var K0=h((wLe,KM)=>{"use strict";var{promisify:Yre}=require("util"),Jre=ff(),{buildMockDispatch:Vre}=Ef(),{kDispatches:GM,kMockAgent:YM,kClose:JM,kOriginalClose:VM,kOrigin:WM,kOriginalDispatch:Wre,kConnected:W0}=jc(),{MockInterceptor:$re}=V0(),$M=It(),{InvalidArgumentError:Kre}=At(),$0=class extends Jre{constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Kre("Argument opts.agent must implement Agent");this[YM]=r.agent,this[WM]=e,this[GM]=[],this[W0]=1,this[Wre]=this.dispatch,this[VM]=this.close.bind(this),this.dispatch=Vre.call(this),this.close=this[JM]}get[$M.kConnected](){return this[W0]}intercept(e){return new $re(e,this[GM])}async[JM](){await Yre(this[VM])(),this[W0]=0,this[YM][$M.kClients].delete(this[WM])}};KM.exports=$0});var eN=h((SLe,iF)=>{"use strict";var{promisify:Xre}=require("util"),Zre=Oc(),{buildMockDispatch:ene}=Ef(),{kDispatches:XM,kMockAgent:ZM,kClose:eF,kOriginalClose:tF,kOrigin:rF,kOriginalDispatch:tne,kConnected:X0}=jc(),{MockInterceptor:rne}=V0(),nF=It(),{InvalidArgumentError:nne}=At(),Z0=class extends Zre{constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new nne("Argument opts.agent must implement Agent");this[ZM]=r.agent,this[rF]=e,this[XM]=[],this[X0]=1,this[tne]=this.dispatch,this[tF]=this.close.bind(this),this.dispatch=ene.call(this),this.close=this[eF]}get[nF.kConnected](){return this[X0]}intercept(e){return new rne(e,this[XM])}async[eF](){await Xre(this[tF])(),this[X0]=0,this[ZM][nF.kClients].delete(this[rF])}};iF.exports=Z0});var oF=h((RLe,sF)=>{"use strict";var ine={pronoun:"it",is:"is",was:"was",this:"this"},sne={pronoun:"they",is:"are",was:"were",this:"these"};sF.exports=class{constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?ine:sne,i=r?this.singular:this.plural;return{...n,count:e,noun:i}}}});var AF=h((_Le,aF)=>{"use strict";var{Transform:one}=require("stream"),{Console:ane}=require("console");aF.exports=class{constructor({disableColors:e}={}){this.transform=new one({transform(r,n,i){i(null,r)}}),this.logger=new ane({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:n,path:i,data:{statusCode:s},persist:o,times:a,timesInvoked:A,origin:c})=>({Method:n,Origin:c,Path:i,"Status code":s,Persistent:o?"\u2705":"\u274C",Invocations:A,Remaining:o?1/0:a-A}));return this.logger.table(r),this.transform.read().toString()}}});var dF=h((DLe,uF)=>{"use strict";var{kClients:Za}=It(),Ane=pf(),{kAgent:tN,kMockAgentSet:Dp,kMockAgentGet:cF,kDispatches:rN,kIsMockActive:kp,kNetConnect:eA,kGetNetConnect:cne,kOptions:Pp,kFactory:Tp}=jc(),lne=K0(),une=eN(),{matchValue:dne,buildMockOptions:fne}=Ef(),{InvalidArgumentError:lF,UndiciError:hne}=At(),gne=ep(),mne=oF(),pne=AF(),nN=class{constructor(e){this.value=e}deref(){return this.value}},iN=class extends gne{constructor(e){if(super(e),this[eA]=!0,this[kp]=!0,e&&e.agent&&typeof e.agent.dispatch!="function")throw new lF("Argument opts.agent must implement Agent");let r=e&&e.agent?e.agent:new Ane(e);this[tN]=r,this[Za]=r[Za],this[Pp]=fne(e)}get(e){let r=this[cF](e);return r||(r=this[Tp](e),this[Dp](e,r)),r}dispatch(e,r){return this.get(e.origin),this[tN].dispatch(e,r)}async close(){await this[tN].close(),this[Za].clear()}deactivate(){this[kp]=!1}activate(){this[kp]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[eA])?this[eA].push(e):this[eA]=[e];else if(typeof e>"u")this[eA]=!0;else throw new lF("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[eA]=!1}get isMockActive(){return this[kp]}[Dp](e,r){this[Za].set(e,new nN(r))}[Tp](e){let r=Object.assign({agent:this},this[Pp]);return this[Pp]&&this[Pp].connections===1?new lne(e,r):new une(e,r)}[cF](e){let r=this[Za].get(e);if(r)return r.deref();if(typeof e!="string"){let n=this[Tp]("http://localhost:9999");return this[Dp](e,n),n}for(let[n,i]of Array.from(this[Za])){let s=i.deref();if(s&&typeof n!="string"&&dne(n,e)){let o=this[Tp](e);return this[Dp](e,o),o[rN]=s[rN],o}}}[cne](){return this[eA]}pendingInterceptors(){let e=this[Za];return Array.from(e.entries()).flatMap(([r,n])=>n.deref()[rN].map(i=>({...i,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new pne}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new mne("interceptor","interceptors").pluralize(r.length);throw new hne(`
|
||
${n.count} ${n.noun} ${n.is} pending:
|
||
|
||
${e.format(r)}
|
||
`.trim())}};uF.exports=iN});var yF=h((kLe,pF)=>{"use strict";var{kProxy:yne,kClose:Ene,kDestroy:Cne,kInterceptors:Ine}=It(),{URL:fF}=require("url"),hF=pf(),Bne=Oc(),Qne=nf(),{InvalidArgumentError:Bf,RequestAbortedError:bne}=At(),gF=sf(),Cf=Symbol("proxy agent"),Op=Symbol("proxy client"),If=Symbol("proxy headers"),sN=Symbol("request tls settings"),Nne=Symbol("proxy tls settings"),mF=Symbol("connect endpoint function");function wne(t){return t==="https:"?443:80}function Sne(t){if(typeof t=="string"&&(t={uri:t}),!t||!t.uri)throw new Bf("Proxy opts.uri is mandatory");return{uri:t.uri,protocol:t.protocol||"https"}}function xne(t,e){return new Bne(t,e)}var oN=class extends Qne{constructor(e){if(super(e),this[yne]=Sne(e),this[Cf]=new hF(e),this[Ine]=e.interceptors&&e.interceptors.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],typeof e=="string"&&(e={uri:e}),!e||!e.uri)throw new Bf("Proxy opts.uri is mandatory");let{clientFactory:r=xne}=e;if(typeof r!="function")throw new Bf("Proxy opts.clientFactory must be a function.");this[sN]=e.requestTls,this[Nne]=e.proxyTls,this[If]=e.headers||{};let n=new fF(e.uri),{origin:i,port:s,host:o,username:a,password:A}=n;if(e.auth&&e.token)throw new Bf("opts.auth cannot be used in combination with opts.token");e.auth?this[If]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[If]["proxy-authorization"]=e.token:a&&A&&(this[If]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(a)}:${decodeURIComponent(A)}`).toString("base64")}`);let c=gF({...e.proxyTls});this[mF]=gF({...e.requestTls}),this[Op]=r(n,{connect:c}),this[Cf]=new hF({...e,connect:async(l,u)=>{let d=l.host;l.port||(d+=`:${wne(l.protocol)}`);try{let{socket:f,statusCode:g}=await this[Op].connect({origin:i,port:s,path:d,signal:l.signal,headers:{...this[If],host:o}});if(g!==200&&(f.on("error",()=>{}).destroy(),u(new bne(`Proxy response (${g}) !== 200 when HTTP Tunneling`))),l.protocol!=="https:"){u(null,f);return}let m;this[sN]?m=this[sN].servername:m=l.servername,this[mF]({...l,servername:m,httpSocket:f},u)}catch(f){u(f)}}})}dispatch(e,r){let{host:n}=new fF(e.origin),i=Rne(e.headers);return vne(i),this[Cf].dispatch({...e,headers:{...i,host:n}},r)}async[Ene](){await this[Cf].close(),await this[Op].close()}async[Cne](){await this[Cf].destroy(),await this[Op].destroy()}};function Rne(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}function vne(t){if(t&&Object.keys(t).find(r=>r.toLowerCase()==="proxy-authorization"))throw new Bf("Proxy-Authorization should be sent in ProxyAgent constructor")}pF.exports=oN});var QF=h((PLe,BF)=>{var tA=require("assert"),{kRetryHandlerDefaultRetry:EF}=It(),{RequestRetryError:Lp}=At(),{isDisturbed:CF,parseHeaders:_ne,parseRangeHeader:IF}=Ue();function Dne(t){let e=Date.now();return new Date(t).getTime()-e}var aN=class t{constructor(e,r){let{retryOptions:n,...i}=e,{retry:s,maxRetries:o,maxTimeout:a,minTimeout:A,timeoutFactor:c,methods:l,errorCodes:u,retryAfter:d,statusCodes:f}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts=i,this.abort=null,this.aborted=!1,this.retryOpts={retry:s??t[EF],retryAfter:d??!0,maxTimeout:a??30*1e3,timeout:A??500,timeoutFactor:c??2,maxRetries:o??5,methods:l??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:f??[500,502,503,504,429],errorCodes:u??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]},this.retryCount=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(g=>{this.aborted=!0,this.abort?this.abort(g):this.reason=g})}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[EF](e,{state:r,opts:n},i){let{statusCode:s,code:o,headers:a}=e,{method:A,retryOptions:c}=n,{maxRetries:l,timeout:u,maxTimeout:d,timeoutFactor:f,statusCodes:g,errorCodes:m,methods:E}=c,{counter:C,currentTimeout:I}=r;if(I=I!=null&&I>0?I:u,o&&o!=="UND_ERR_REQ_RETRY"&&o!=="UND_ERR_SOCKET"&&!m.includes(o)){i(e);return}if(Array.isArray(E)&&!E.includes(A)){i(e);return}if(s!=null&&Array.isArray(g)&&!g.includes(s)){i(e);return}if(C>l){i(e);return}let N=a!=null&&a["retry-after"];N&&(N=Number(N),N=isNaN(N)?Dne(N):N*1e3);let w=N>0?Math.min(N,d):Math.min(I*f**C,d);r.currentTimeout=w,setTimeout(()=>i(null),w)}onHeaders(e,r,n,i){let s=_ne(r);if(this.retryCount+=1,e>=300)return this.abort(new Lp("Request failed",e,{headers:s,count:this.retryCount})),!1;if(this.resume!=null){if(this.resume=null,e!==206)return!0;let a=IF(s["content-range"]);if(!a)return this.abort(new Lp("Content-Range mismatch",e,{headers:s,count:this.retryCount})),!1;if(this.etag!=null&&this.etag!==s.etag)return this.abort(new Lp("ETag mismatch",e,{headers:s,count:this.retryCount})),!1;let{start:A,size:c,end:l=c}=a;return tA(this.start===A,"content-range mismatch"),tA(this.end==null||this.end===l,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let a=IF(s["content-range"]);if(a==null)return this.handler.onHeaders(e,r,n,i);let{start:A,size:c,end:l=c}=a;tA(A!=null&&Number.isFinite(A)&&this.start!==A,"content-range mismatch"),tA(Number.isFinite(A)),tA(l!=null&&Number.isFinite(l)&&this.end!==l,"invalid content-length"),this.start=A,this.end=l}if(this.end==null){let a=s["content-length"];this.end=a!=null?Number(a):null}return tA(Number.isFinite(this.start)),tA(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=n,this.etag=s.etag!=null?s.etag:null,this.handler.onHeaders(e,r,n,i)}let o=new Lp("Request failed",e,{headers:s,count:this.retryCount});return this.abort(o),!1}onData(e){return this.start+=e.length,this.handler.onData(e)}onComplete(e){return this.retryCount=0,this.handler.onComplete(e)}onError(e){if(this.aborted||CF(this.opts.body))return this.handler.onError(e);this.retryOpts.retry(e,{state:{counter:this.retryCount++,currentTimeout:this.retryAfter},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(n){if(n!=null||this.aborted||CF(this.opts.body))return this.handler.onError(n);this.start!==0&&(this.opts={...this.opts,headers:{...this.opts.headers,range:`bytes=${this.start}-${this.end??""}`}});try{this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}}};BF.exports=aN});var Gc=h((TLe,SF)=>{"use strict";var bF=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:kne}=At(),Pne=pf();wF()===void 0&&NF(new Pne);function NF(t){if(!t||typeof t.dispatch!="function")throw new kne("Argument agent must implement Agent");Object.defineProperty(globalThis,bF,{value:t,writable:!0,enumerable:!1,configurable:!1})}function wF(){return globalThis[bF]}SF.exports={setGlobalDispatcher:NF,getGlobalDispatcher:wF}});var RF=h((LLe,xF)=>{"use strict";xF.exports=class{constructor(e){this.handler=e}onConnect(...e){return this.handler.onConnect(...e)}onError(...e){return this.handler.onError(...e)}onUpgrade(...e){return this.handler.onUpgrade(...e)}onHeaders(...e){return this.handler.onHeaders(...e)}onData(...e){return this.handler.onData(...e)}onComplete(...e){return this.handler.onComplete(...e)}onBodySent(...e){return this.handler.onBodySent(...e)}}});var rA=h((MLe,PF)=>{"use strict";var{kHeadersList:ln,kConstruct:Tne}=It(),{kGuard:ms}=Gs(),{kEnumerableProperty:gs}=Ue(),{makeIterator:Yc,isValidHeaderName:Qf,isValidHeaderValue:_F}=ni(),One=require("util"),{webidl:ve}=Vr(),Lne=require("assert"),cn=Symbol("headers map"),_r=Symbol("headers map sorted");function vF(t){return t===10||t===13||t===9||t===32}function DF(t){let e=0,r=t.length;for(;r>e&&vF(t.charCodeAt(r-1));)--r;for(;r>e&&vF(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}function kF(t,e){if(Array.isArray(e))for(let r=0;r<e.length;++r){let n=e[r];if(n.length!==2)throw ve.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${n.length}.`});AN(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)AN(t,r[n],e[r[n]])}else throw ve.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function AN(t,e,r){if(r=DF(r),Qf(e)){if(!_F(r))throw ve.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw ve.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(t[ms]==="immutable")throw new TypeError("immutable");return t[ms],t[ln].append(e,r)}var Mp=class t{cookies=null;constructor(e){e instanceof t?(this[cn]=new Map(e[cn]),this[_r]=e[_r],this.cookies=e.cookies===null?null:[...e.cookies]):(this[cn]=new Map(e),this[_r]=null)}contains(e){return e=e.toLowerCase(),this[cn].has(e)}clear(){this[cn].clear(),this[_r]=null,this.cookies=null}append(e,r){this[_r]=null;let n=e.toLowerCase(),i=this[cn].get(n);if(i){let s=n==="cookie"?"; ":", ";this[cn].set(n,{name:i.name,value:`${i.value}${s}${r}`})}else this[cn].set(n,{name:e,value:r});n==="set-cookie"&&(this.cookies??=[],this.cookies.push(r))}set(e,r){this[_r]=null;let n=e.toLowerCase();n==="set-cookie"&&(this.cookies=[r]),this[cn].set(n,{name:e,value:r})}delete(e){this[_r]=null,e=e.toLowerCase(),e==="set-cookie"&&(this.cookies=null),this[cn].delete(e)}get(e){let r=this[cn].get(e.toLowerCase());return r===void 0?null:r.value}*[Symbol.iterator](){for(let[e,{value:r}]of this[cn])yield[e,r]}get entries(){let e={};if(this[cn].size)for(let{name:r,value:n}of this[cn].values())e[r]=n;return e}},Jc=class t{constructor(e=void 0){e!==Tne&&(this[ln]=new Mp,this[ms]="none",e!==void 0&&(e=ve.converters.HeadersInit(e),kF(this,e)))}append(e,r){return ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,2,{header:"Headers.append"}),e=ve.converters.ByteString(e),r=ve.converters.ByteString(r),AN(this,e,r)}delete(e){if(ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,1,{header:"Headers.delete"}),e=ve.converters.ByteString(e),!Qf(e))throw ve.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if(this[ms]==="immutable")throw new TypeError("immutable");this[ms],this[ln].contains(e)&&this[ln].delete(e)}get(e){if(ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,1,{header:"Headers.get"}),e=ve.converters.ByteString(e),!Qf(e))throw ve.errors.invalidArgument({prefix:"Headers.get",value:e,type:"header name"});return this[ln].get(e)}has(e){if(ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,1,{header:"Headers.has"}),e=ve.converters.ByteString(e),!Qf(e))throw ve.errors.invalidArgument({prefix:"Headers.has",value:e,type:"header name"});return this[ln].contains(e)}set(e,r){if(ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,2,{header:"Headers.set"}),e=ve.converters.ByteString(e),r=ve.converters.ByteString(r),r=DF(r),Qf(e)){if(!_F(r))throw ve.errors.invalidArgument({prefix:"Headers.set",value:r,type:"header value"})}else throw ve.errors.invalidArgument({prefix:"Headers.set",value:e,type:"header name"});if(this[ms]==="immutable")throw new TypeError("immutable");this[ms],this[ln].set(e,r)}getSetCookie(){ve.brandCheck(this,t);let e=this[ln].cookies;return e?[...e]:[]}get[_r](){if(this[ln][_r])return this[ln][_r];let e=[],r=[...this[ln]].sort((i,s)=>i[0]<s[0]?-1:1),n=this[ln].cookies;for(let i=0;i<r.length;++i){let[s,o]=r[i];if(s==="set-cookie")for(let a=0;a<n.length;++a)e.push([s,n[a]]);else Lne(o!==null),e.push([s,o])}return this[ln][_r]=e,e}keys(){if(ve.brandCheck(this,t),this[ms]==="immutable"){let e=this[_r];return Yc(()=>e,"Headers","key")}return Yc(()=>[...this[_r].values()],"Headers","key")}values(){if(ve.brandCheck(this,t),this[ms]==="immutable"){let e=this[_r];return Yc(()=>e,"Headers","value")}return Yc(()=>[...this[_r].values()],"Headers","value")}entries(){if(ve.brandCheck(this,t),this[ms]==="immutable"){let e=this[_r];return Yc(()=>e,"Headers","key+value")}return Yc(()=>[...this[_r].values()],"Headers","key+value")}forEach(e,r=globalThis){if(ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,1,{header:"Headers.forEach"}),typeof e!="function")throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.");for(let[n,i]of this)e.apply(r,[i,n,this])}[Symbol.for("nodejs.util.inspect.custom")](){return ve.brandCheck(this,t),this[ln]}};Jc.prototype[Symbol.iterator]=Jc.prototype.entries;Object.defineProperties(Jc.prototype,{append:gs,delete:gs,get:gs,has:gs,set:gs,getSetCookie:gs,keys:gs,values:gs,entries:gs,forEach:gs,[Symbol.iterator]:{enumerable:!1},[Symbol.toStringTag]:{value:"Headers",configurable:!0},[One.inspect.custom]:{enumerable:!1}});ve.converters.HeadersInit=function(t){if(ve.util.Type(t)==="Object")return t[Symbol.iterator]?ve.converters["sequence<sequence<ByteString>>"](t):ve.converters["record<ByteString, ByteString>"](t);throw ve.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};PF.exports={fill:kF,Headers:Jc,HeadersList:Mp}});var Hp=h((FLe,HF)=>{"use strict";var{Headers:Mne,HeadersList:TF,fill:Fne}=rA(),{extractBody:OF,cloneBody:Une,mixinBody:qne}=ef(),uN=Ue(),{kEnumerableProperty:Hn}=uN,{isValidReasonPhrase:Hne,isCancelled:jne,isAborted:zne,isBlobLike:Gne,serializeJavascriptValueToJSONString:Yne,isErrorLike:Jne,isomorphicEncode:Vne}=ni(),{redirectStatusSet:Wne,nullBodyStatus:$ne,DOMException:LF}=Lo(),{kState:wt,kHeaders:hr,kGuard:Vc,kRealm:qn}=Gs(),{webidl:Se}=Vr(),{FormData:Kne}=Km(),{getGlobalOrigin:Xne}=Qc(),{URLSerializer:MF}=Hi(),{kHeadersList:cN,kConstruct:Zne}=It(),dN=require("assert"),{types:lN}=require("util"),UF=globalThis.ReadableStream||require("stream/web").ReadableStream,eie=new TextEncoder("utf-8"),Wc=class t{static error(){let e={settingsObject:{}},r=new t;return r[wt]=Up(),r[qn]=e,r[hr][cN]=r[wt].headersList,r[hr][Vc]="immutable",r[hr][qn]=e,r}static json(e,r={}){Se.argumentLengthCheck(arguments,1,{header:"Response.json"}),r!==null&&(r=Se.converters.ResponseInit(r));let n=eie.encode(Yne(e)),i=OF(n),s={settingsObject:{}},o=new t;return o[qn]=s,o[hr][Vc]="response",o[hr][qn]=s,FF(o,r,{body:i[0],type:"application/json"}),o}static redirect(e,r=302){let n={settingsObject:{}};Se.argumentLengthCheck(arguments,1,{header:"Response.redirect"}),e=Se.converters.USVString(e),r=Se.converters["unsigned short"](r);let i;try{i=new URL(e,Xne())}catch(a){throw Object.assign(new TypeError("Failed to parse URL from "+e),{cause:a})}if(!Wne.has(r))throw new RangeError("Invalid status code "+r);let s=new t;s[qn]=n,s[hr][Vc]="immutable",s[hr][qn]=n,s[wt].status=r;let o=Vne(MF(i));return s[wt].headersList.append("location",o),s}constructor(e=null,r={}){e!==null&&(e=Se.converters.BodyInit(e)),r=Se.converters.ResponseInit(r),this[qn]={settingsObject:{}},this[wt]=qp({}),this[hr]=new Mne(Zne),this[hr][Vc]="response",this[hr][cN]=this[wt].headersList,this[hr][qn]=this[qn];let n=null;if(e!=null){let[i,s]=OF(e);n={body:i,type:s}}FF(this,r,n)}get type(){return Se.brandCheck(this,t),this[wt].type}get url(){Se.brandCheck(this,t);let e=this[wt].urlList,r=e[e.length-1]??null;return r===null?"":MF(r,!0)}get redirected(){return Se.brandCheck(this,t),this[wt].urlList.length>1}get status(){return Se.brandCheck(this,t),this[wt].status}get ok(){return Se.brandCheck(this,t),this[wt].status>=200&&this[wt].status<=299}get statusText(){return Se.brandCheck(this,t),this[wt].statusText}get headers(){return Se.brandCheck(this,t),this[hr]}get body(){return Se.brandCheck(this,t),this[wt].body?this[wt].body.stream:null}get bodyUsed(){return Se.brandCheck(this,t),!!this[wt].body&&uN.isDisturbed(this[wt].body.stream)}clone(){if(Se.brandCheck(this,t),this.bodyUsed||this.body&&this.body.locked)throw Se.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=fN(this[wt]),r=new t;return r[wt]=e,r[qn]=this[qn],r[hr][cN]=e.headersList,r[hr][Vc]=this[hr][Vc],r[hr][qn]=this[hr][qn],r}};qne(Wc);Object.defineProperties(Wc.prototype,{type:Hn,url:Hn,status:Hn,ok:Hn,redirected:Hn,statusText:Hn,headers:Hn,clone:Hn,body:Hn,bodyUsed:Hn,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(Wc,{json:Hn,redirect:Hn,error:Hn});function fN(t){if(t.internalResponse)return qF(fN(t.internalResponse),t.type);let e=qp({...t,body:null});return t.body!=null&&(e.body=Une(t.body)),e}function qp(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t.headersList?new TF(t.headersList):new TF,urlList:t.urlList?[...t.urlList]:[]}}function Up(t){let e=Jne(t);return qp({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}function Fp(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 dN(!(n in e)),r[n]=i,!0}})}function qF(t,e){if(e==="basic")return Fp(t,{type:"basic",headersList:t.headersList});if(e==="cors")return Fp(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return Fp(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return Fp(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});dN(!1)}function tie(t,e=null){return dN(jne(t)),zne(t)?Up(Object.assign(new LF("The operation was aborted.","AbortError"),{cause:e})):Up(Object.assign(new LF("Request was cancelled."),{cause:e}))}function FF(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&&!Hne(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[wt].status=e.status),"statusText"in e&&e.statusText!=null&&(t[wt].statusText=e.statusText),"headers"in e&&e.headers!=null&&Fne(t[hr],e.headers),r){if($ne.includes(t.status))throw Se.errors.exception({header:"Response constructor",message:"Invalid response status code "+t.status});t[wt].body=r.body,r.type!=null&&!t[wt].headersList.contains("Content-Type")&&t[wt].headersList.append("content-type",r.type)}}Se.converters.ReadableStream=Se.interfaceConverter(UF);Se.converters.FormData=Se.interfaceConverter(Kne);Se.converters.URLSearchParams=Se.interfaceConverter(URLSearchParams);Se.converters.XMLHttpRequestBodyInit=function(t){return typeof t=="string"?Se.converters.USVString(t):Gne(t)?Se.converters.Blob(t,{strict:!1}):lN.isArrayBuffer(t)||lN.isTypedArray(t)||lN.isDataView(t)?Se.converters.BufferSource(t):uN.isFormDataLike(t)?Se.converters.FormData(t,{strict:!1}):t instanceof URLSearchParams?Se.converters.URLSearchParams(t):Se.converters.DOMString(t)};Se.converters.BodyInit=function(t){return t instanceof UF?Se.converters.ReadableStream(t):t?.[Symbol.asyncIterator]?t:Se.converters.XMLHttpRequestBodyInit(t)};Se.converters.ResponseInit=Se.dictionaryConverter([{key:"status",converter:Se.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:Se.converters.ByteString,defaultValue:""},{key:"headers",converter:Se.converters.HeadersInit}]);HF.exports={makeNetworkError:Up,makeResponse:qp,makeAppropriateNetworkError:tie,filterResponse:qF,Response:Wc,cloneResponse:fN}});var wf=h((ULe,VF)=>{"use strict";var{extractBody:rie,mixinBody:nie,cloneBody:iie}=ef(),{Headers:jF,fill:sie,HeadersList:Yp}=rA(),{FinalizationRegistry:oie}=Q0()(),Nf=Ue(),{isValidHTTPToken:aie,sameOrigin:zF,normalizeMethod:Aie,makePolicyContainer:cie,normalizeMethodRecord:lie}=ni(),{forbiddenMethodsSet:uie,corsSafeListedMethodsSet:die,referrerPolicy:fie,requestRedirect:hie,requestMode:gie,requestCredentials:mie,requestCache:pie,requestDuplex:yie}=Lo(),{kEnumerableProperty:rr}=Nf,{kHeaders:Fr,kSignal:bf,kState:bt,kGuard:jp,kRealm:jn}=Gs(),{webidl:me}=Vr(),{getGlobalOrigin:Eie}=Qc(),{URLSerializer:Cie}=Hi(),{kHeadersList:zp,kConstruct:Gp}=It(),Iie=require("assert"),{getMaxListeners:GF,setMaxListeners:YF,getEventListeners:Bie,defaultMaxListeners:JF}=require("events"),hN=globalThis.TransformStream,Qie=Symbol("abortController"),bie=new oie(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),nA=class t{constructor(e,r={}){if(e===Gp)return;me.argumentLengthCheck(arguments,1,{header:"Request constructor"}),e=me.converters.RequestInfo(e),r=me.converters.RequestInit(r),this[jn]={settingsObject:{baseUrl:Eie(),get origin(){return this.baseUrl?.origin},policyContainer:cie()}};let n=null,i=null,s=this[jn].settingsObject.baseUrl,o=null;if(typeof e=="string"){let E;try{E=new URL(e,s)}catch(C){throw new TypeError("Failed to parse URL from "+e,{cause:C})}if(E.username||E.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);n=Jp({urlList:[E]}),i="cors"}else Iie(e instanceof t),n=e[bt],o=e[bf];let a=this[jn].settingsObject.origin,A="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&zF(n.window,a)&&(A=n.window),r.window!=null)throw new TypeError(`'window' option '${A}' must be null`);"window"in r&&(A="no-window"),n=Jp({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:this[jn].settingsObject,window:A,priority:n.priority,origin:n.origin,referrer:n.referrer,referrerPolicy:n.referrerPolicy,mode:n.mode,credentials:n.credentials,cache:n.cache,redirect:n.redirect,integrity:n.integrity,keepalive:n.keepalive,reloadNavigation:n.reloadNavigation,historyNavigation:n.historyNavigation,urlList:[...n.urlList]});let c=Object.keys(r).length!==0;if(c&&(n.mode==="navigate"&&(n.mode="same-origin"),n.reloadNavigation=!1,n.historyNavigation=!1,n.origin="client",n.referrer="client",n.referrerPolicy="",n.url=n.urlList[n.urlList.length-1],n.urlList=[n.url]),r.referrer!==void 0){let E=r.referrer;if(E==="")n.referrer="no-referrer";else{let C;try{C=new URL(E,s)}catch(I){throw new TypeError(`Referrer "${E}" is not a valid URL.`,{cause:I})}C.protocol==="about:"&&C.hostname==="client"||a&&!zF(C,this[jn].settingsObject.baseUrl)?n.referrer="client":n.referrer=C}}r.referrerPolicy!==void 0&&(n.referrerPolicy=r.referrerPolicy);let l;if(r.mode!==void 0?l=r.mode:l=i,l==="navigate")throw me.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(l!=null&&(n.mode=l),r.credentials!==void 0&&(n.credentials=r.credentials),r.cache!==void 0&&(n.cache=r.cache),n.cache==="only-if-cached"&&n.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(n.redirect=r.redirect),r.integrity!=null&&(n.integrity=String(r.integrity)),r.keepalive!==void 0&&(n.keepalive=!!r.keepalive),r.method!==void 0){let E=r.method;if(!aie(E))throw new TypeError(`'${E}' is not a valid HTTP method.`);if(uie.has(E.toUpperCase()))throw new TypeError(`'${E}' HTTP method is unsupported.`);E=lie[E]??Aie(E),n.method=E}r.signal!==void 0&&(o=r.signal),this[bt]=n;let u=new AbortController;if(this[bf]=u.signal,this[bf][jn]=this[jn],o!=null){if(!o||typeof o.aborted!="boolean"||typeof o.addEventListener!="function")throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(o.aborted)u.abort(o.reason);else{this[Qie]=u;let E=new WeakRef(u),C=function(){let I=E.deref();I!==void 0&&I.abort(this.reason)};try{(typeof GF=="function"&&GF(o)===JF||Bie(o,"abort").length>=JF)&&YF(100,o)}catch{}Nf.addAbortListener(o,C),bie.register(u,{signal:o,abort:C})}}if(this[Fr]=new jF(Gp),this[Fr][zp]=n.headersList,this[Fr][jp]="request",this[Fr][jn]=this[jn],l==="no-cors"){if(!die.has(n.method))throw new TypeError(`'${n.method} is unsupported in no-cors mode.`);this[Fr][jp]="request-no-cors"}if(c){let E=this[Fr][zp],C=r.headers!==void 0?r.headers:new Yp(E);if(E.clear(),C instanceof Yp){for(let[I,N]of C)E.append(I,N);E.cookies=C.cookies}else sie(this[Fr],C)}let d=e instanceof t?e[bt].body:null;if((r.body!=null||d!=null)&&(n.method==="GET"||n.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let f=null;if(r.body!=null){let[E,C]=rie(r.body,n.keepalive);f=E,C&&!this[Fr][zp].contains("content-type")&&this[Fr].append("content-type",C)}let g=f??d;if(g!=null&&g.source==null){if(f!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(n.mode!=="same-origin"&&n.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');n.useCORSPreflightFlag=!0}let m=g;if(f==null&&d!=null){if(Nf.isDisturbed(d.stream)||d.stream.locked)throw new TypeError("Cannot construct a Request with a Request object that has already been used.");hN||(hN=require("stream/web").TransformStream);let E=new hN;d.stream.pipeThrough(E),m={source:d.source,length:d.length,stream:E.readable}}this[bt].body=m}get method(){return me.brandCheck(this,t),this[bt].method}get url(){return me.brandCheck(this,t),Cie(this[bt].url)}get headers(){return me.brandCheck(this,t),this[Fr]}get destination(){return me.brandCheck(this,t),this[bt].destination}get referrer(){return me.brandCheck(this,t),this[bt].referrer==="no-referrer"?"":this[bt].referrer==="client"?"about:client":this[bt].referrer.toString()}get referrerPolicy(){return me.brandCheck(this,t),this[bt].referrerPolicy}get mode(){return me.brandCheck(this,t),this[bt].mode}get credentials(){return this[bt].credentials}get cache(){return me.brandCheck(this,t),this[bt].cache}get redirect(){return me.brandCheck(this,t),this[bt].redirect}get integrity(){return me.brandCheck(this,t),this[bt].integrity}get keepalive(){return me.brandCheck(this,t),this[bt].keepalive}get isReloadNavigation(){return me.brandCheck(this,t),this[bt].reloadNavigation}get isHistoryNavigation(){return me.brandCheck(this,t),this[bt].historyNavigation}get signal(){return me.brandCheck(this,t),this[bf]}get body(){return me.brandCheck(this,t),this[bt].body?this[bt].body.stream:null}get bodyUsed(){return me.brandCheck(this,t),!!this[bt].body&&Nf.isDisturbed(this[bt].body.stream)}get duplex(){return me.brandCheck(this,t),"half"}clone(){if(me.brandCheck(this,t),this.bodyUsed||this.body?.locked)throw new TypeError("unusable");let e=Nie(this[bt]),r=new t(Gp);r[bt]=e,r[jn]=this[jn],r[Fr]=new jF(Gp),r[Fr][zp]=e.headersList,r[Fr][jp]=this[Fr][jp],r[Fr][jn]=this[Fr][jn];let n=new AbortController;return this.signal.aborted?n.abort(this.signal.reason):Nf.addAbortListener(this.signal,()=>{n.abort(this.signal.reason)}),r[bf]=n.signal,r}};nie(nA);function Jp(t){let e={method:"GET",localURLsOnly:!1,unsafeRequest:!1,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:!1,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:!1,credentials:"same-origin",useCredentials:!1,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:!1,historyNavigation:!1,userActivation:!1,taintedOrigin:!1,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:!1,done:!1,timingAllowFailed:!1,...t,headersList:t.headersList?new Yp(t.headersList):new Yp};return e.url=e.urlList[0],e}function Nie(t){let e=Jp({...t,body:null});return t.body!=null&&(e.body=iie(t.body)),e}Object.defineProperties(nA.prototype,{method:rr,url:rr,headers:rr,redirect:rr,clone:rr,signal:rr,duplex:rr,destination:rr,body:rr,bodyUsed:rr,isHistoryNavigation:rr,isReloadNavigation:rr,keepalive:rr,integrity:rr,cache:rr,credentials:rr,attribute:rr,referrerPolicy:rr,referrer:rr,mode:rr,[Symbol.toStringTag]:{value:"Request",configurable:!0}});me.converters.Request=me.interfaceConverter(nA);me.converters.RequestInfo=function(t){return typeof t=="string"?me.converters.USVString(t):t instanceof nA?me.converters.Request(t):me.converters.USVString(t)};me.converters.AbortSignal=me.interfaceConverter(AbortSignal);me.converters.RequestInit=me.dictionaryConverter([{key:"method",converter:me.converters.ByteString},{key:"headers",converter:me.converters.HeadersInit},{key:"body",converter:me.nullableConverter(me.converters.BodyInit)},{key:"referrer",converter:me.converters.USVString},{key:"referrerPolicy",converter:me.converters.DOMString,allowedValues:fie},{key:"mode",converter:me.converters.DOMString,allowedValues:gie},{key:"credentials",converter:me.converters.DOMString,allowedValues:mie},{key:"cache",converter:me.converters.DOMString,allowedValues:pie},{key:"redirect",converter:me.converters.DOMString,allowedValues:hie},{key:"integrity",converter:me.converters.DOMString},{key:"keepalive",converter:me.converters.boolean},{key:"signal",converter:me.nullableConverter(t=>me.converters.AbortSignal(t,{strict:!1}))},{key:"window",converter:me.converters.any},{key:"duplex",converter:me.converters.DOMString,allowedValues:yie}]);VF.exports={Request:nA,makeRequest:Jp}});var ey=h((qLe,AU)=>{"use strict";var{Response:wie,makeNetworkError:ct,makeAppropriateNetworkError:Vp,filterResponse:gN,makeResponse:Wp}=Hp(),{Headers:WF}=rA(),{Request:Sie,makeRequest:xie}=wf(),Sf=require("zlib"),{bytesMatch:Rie,makePolicyContainer:vie,clonePolicyContainer:_ie,requestBadPort:Die,TAOCheck:kie,appendRequestOriginHeader:Pie,responseLocationURL:Tie,requestCurrentURL:ps,setRequestReferrerPolicyOnRedirect:Oie,tryUpgradeRequestToAPotentiallyTrustworthyURL:Lie,createOpaqueTimingInfo:bN,appendFetchMetadata:Mie,corsCheck:Fie,crossOriginResourcePolicyCheck:Uie,determineRequestsReferrer:qie,coarsenedSharedCurrentTime:NN,createDeferredPromise:Hie,isBlobLike:jie,sameOrigin:IN,isCancelled:Kc,isAborted:$F,isErrorLike:zie,fullyReadBody:eU,readableStreamClose:Gie,isomorphicEncode:BN,urlIsLocal:Yie,urlIsHttpHttpsScheme:wN,urlHasHttpsScheme:Jie}=ni(),{kState:QN,kHeaders:mN,kGuard:Vie,kRealm:KF}=Gs(),Xc=require("assert"),{safelyExtractBody:$p}=ef(),{redirectStatusSet:tU,nullBodyStatus:rU,safeMethodsSet:Wie,requestBodyHeader:$ie,subresourceSet:Kie,DOMException:Kp}=Lo(),{kHeadersList:$c}=It(),Xie=require("events"),{Readable:Zie,pipeline:ese}=require("stream"),{addAbortListener:tse,isErrored:rse,isReadable:Xp,nodeMajor:XF,nodeMinor:nse}=Ue(),{dataURLProcessor:ise,serializeAMimeType:sse}=Hi(),{TransformStream:ose}=require("stream/web"),{getGlobalDispatcher:ase}=Gc(),{webidl:Ase}=Vr(),{STATUS_CODES:cse}=require("http"),lse=["GET","HEAD"],pN,yN=globalThis.ReadableStream,Zp=class extends Xie{constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing",this.setMaxListeners(21)}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 Kp("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}};function use(t,e={}){Ase.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});let r=Hie(),n;try{n=new Sie(t,e)}catch(d){return r.reject(d),r.promise}let i=n[QN];if(n.signal.aborted)return EN(r,i,null,n.signal.reason),r.promise;i.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(i.serviceWorkers="none");let o=null,a=null,A=!1,c=null;return tse(n.signal,()=>{A=!0,Xc(c!=null),c.abort(n.signal.reason),EN(r,i,o,n.signal.reason)}),c=iU({request:i,processResponseEndOfBody:d=>nU(d,"fetch"),processResponse:d=>{if(A)return Promise.resolve();if(d.aborted)return EN(r,i,o,c.serializedAbortReason),Promise.resolve();if(d.type==="error")return r.reject(Object.assign(new TypeError("fetch failed"),{cause:d.error})),Promise.resolve();o=new wie,o[QN]=d,o[KF]=a,o[mN][$c]=d.headersList,o[mN][Vie]="immutable",o[mN][KF]=a,r.resolve(o)},dispatcher:e.dispatcher??ase()}),r.promise}function nU(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,i=t.cacheState;wN(r)&&n!==null&&(t.timingAllowPassed||(n=bN({startTime:n.startTime}),i=""),n.endTime=NN(),t.timingInfo=n,dse(n,r,e,globalThis,i))}function dse(t,e,r,n,i){(XF>18||XF===18&&nse>=2)&&performance.markResourceTiming(t,e.href,r,n,i)}function EN(t,e,r,n){if(n||(n=new Kp("The operation was aborted.","AbortError")),t.reject(n),e.body!=null&&Xp(e.body?.stream)&&e.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s}),r==null)return;let i=r[QN];i.body!=null&&Xp(i.body?.stream)&&i.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s})}function iU({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:o=!1,dispatcher:a}){let A=null,c=!1;t.client!=null&&(A=t.client.globalObject,c=t.client.crossOriginIsolatedCapability);let l=NN(c),u=bN({startTime:l}),d={controller:new Zp(a),request:t,timingInfo:u,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:i,taskDestination:A,crossOriginIsolatedCapability:c};return Xc(!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=_ie(t.client.policyContainer):t.policyContainer=vie()),t.headersList.contains("accept")||t.headersList.append("accept","*/*"),t.headersList.contains("accept-language")||t.headersList.append("accept-language","*"),t.priority,Kie.has(t.destination),sU(d).catch(f=>{d.controller.terminate(f)}),d.controller}async function sU(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!Yie(ps(r))&&(n=ct("local URLs only")),Lie(r),Die(r)==="blocked"&&(n=ct("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=qie(r)),n===null&&(n=await(async()=>{let s=ps(r);return IN(s,r.url)&&r.responseTainting==="basic"||s.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await ZF(t)):r.mode==="same-origin"?ct('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?ct('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await ZF(t)):wN(ps(r))?(r.responseTainting="cors",await oU(t)):ct("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=gN(n,"basic"):r.responseTainting==="cors"?n=gN(n,"cors"):r.responseTainting==="opaque"?n=gN(n,"opaque"):Xc(!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")&&(n=i=ct()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||rU.includes(i.status))&&(i.body=null,t.controller.dump=!0),r.integrity){let s=a=>CN(t,ct(a));if(r.responseTainting==="opaque"||n.body==null){s(n.error);return}let o=a=>{if(!Rie(a,r.integrity)){s("integrity mismatch");return}n.body=$p(a)[0],CN(t,n)};await eU(n.body,o,s)}else CN(t,n)}function ZF(t){if(Kc(t)&&t.request.redirectCount===0)return Promise.resolve(Vp(t));let{request:e}=t,{protocol:r}=ps(e);switch(r){case"about:":return Promise.resolve(ct("about scheme is not supported"));case"blob:":{pN||(pN=require("buffer").resolveObjectURL);let n=ps(e);if(n.search.length!==0)return Promise.resolve(ct("NetworkError when attempting to fetch resource."));let i=pN(n.toString());if(e.method!=="GET"||!jie(i))return Promise.resolve(ct("invalid method"));let s=$p(i),o=s[0],a=BN(`${o.length}`),A=s[1]??"",c=Wp({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:a}],["content-type",{name:"Content-Type",value:A}]]});return c.body=o,Promise.resolve(c)}case"data:":{let n=ps(e),i=ise(n);if(i==="failure")return Promise.resolve(ct("failed to fetch the data URL"));let s=sse(i.mimeType);return Promise.resolve(Wp({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:$p(i.body)[0]}))}case"file:":return Promise.resolve(ct("not implemented... yet..."));case"http:":case"https:":return oU(t).catch(n=>ct(n));default:return Promise.resolve(ct("unknown scheme"))}}function fse(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}function CN(t,e){e.type==="error"&&(e.urlList=[t.request.urlList[0]],e.timingInfo=bN({startTime:t.timingInfo.startTime}));let r=()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e))};if(t.processResponse!=null&&queueMicrotask(()=>t.processResponse(e)),e.body==null)r();else{let n=(s,o)=>{o.enqueue(s)},i=new ose({start(){},transform:n,flush:r},{size(){return 1}},{size(){return 1}});e.body={stream:e.body.stream.pipeThrough(i)}}if(t.processResponseConsumeBody!=null){let n=s=>t.processResponseConsumeBody(e,s),i=s=>t.processResponseConsumeBody(e,s);if(e.body==null)queueMicrotask(()=>n(null));else return eU(e.body,n,i);return Promise.resolve()}}async function oU(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 aU(t),e.responseTainting==="cors"&&Fie(e,r)==="failure")return ct("cors failure");kie(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&Uie(e.origin,e.client,e.destination,n)==="blocked"?ct("blocked"):(tU.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(),e.redirect==="error"?r=ct("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await hse(t,r):Xc(!1)),r.timingInfo=i,r)}function hse(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,i;try{if(i=Tie(n,ps(r).hash),i==null)return e}catch(o){return Promise.resolve(ct(o))}if(!wN(i))return Promise.resolve(ct("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(ct("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!IN(r,i))return Promise.resolve(ct('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(ct('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(ct());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!lse.includes(r.method)){r.method="GET",r.body=null;for(let o of $ie)r.headersList.delete(o)}IN(ps(r),i)||(r.headersList.delete("authorization"),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie"),r.headersList.delete("host")),r.body!=null&&(Xc(r.body.source!=null),r.body=$p(r.body.source)[0]);let s=t.timingInfo;return s.redirectEndTime=s.postRedirectStartTime=NN(t.crossOriginIsolatedCapability),s.redirectStartTime===0&&(s.redirectStartTime=s.startTime),r.urlList.push(i),Oie(r,n),sU(t,!0)}async function aU(t,e=!1,r=!1){let n=t.request,i=null,s=null,o=null,a=null,A=!1;n.window==="no-window"&&n.redirect==="error"?(i=t,s=n):(s=xie(n),i={...t},i.request=s);let c=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",l=s.body?s.body.length:null,u=null;if(s.body==null&&["POST","PUT"].includes(s.method)&&(u="0"),l!=null&&(u=BN(`${l}`)),u!=null&&s.headersList.append("content-length",u),l!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append("referer",BN(s.referrer.href)),Pie(s),Mie(s),s.headersList.contains("user-agent")||s.headersList.append("user-agent",typeof esbuildDetection>"u"?"undici":"node"),s.cache==="default"&&(s.headersList.contains("if-modified-since")||s.headersList.contains("if-none-match")||s.headersList.contains("if-unmodified-since")||s.headersList.contains("if-match")||s.headersList.contains("if-range"))&&(s.cache="no-store"),s.cache==="no-cache"&&!s.preventNoCacheCacheControlHeaderModification&&!s.headersList.contains("cache-control")&&s.headersList.append("cache-control","max-age=0"),(s.cache==="no-store"||s.cache==="reload")&&(s.headersList.contains("pragma")||s.headersList.append("pragma","no-cache"),s.headersList.contains("cache-control")||s.headersList.append("cache-control","no-cache")),s.headersList.contains("range")&&s.headersList.append("accept-encoding","identity"),s.headersList.contains("accept-encoding")||(Jie(ps(s))?s.headersList.append("accept-encoding","br, gzip, deflate"):s.headersList.append("accept-encoding","gzip, deflate")),s.headersList.delete("host"),a==null&&(s.cache="no-store"),s.mode!=="no-store"&&s.mode,o==null){if(s.mode==="only-if-cached")return ct("only if cached");let d=await gse(i,c,r);!Wie.has(s.method)&&d.status>=200&&d.status<=399,A&&d.status,o==null&&(o=d)}if(o.urlList=[...s.urlList],s.headersList.contains("range")&&(o.rangeRequested=!0),o.requestIncludesCredentials=c,o.status===407)return n.window==="no-window"?ct():Kc(t)?Vp(t):ct("proxy authentication required");if(o.status===421&&!r&&(n.body==null||n.body.source!=null)){if(Kc(t))return Vp(t);t.controller.connection.destroy(),o=await aU(t,e,!0)}return o}async function gse(t,e=!1,r=!1){Xc(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(g){this.destroyed||(this.destroyed=!0,this.abort?.(g??new Kp("The operation was aborted.","AbortError")))}};let n=t.request,i=null,s=t.timingInfo;null==null&&(n.cache="no-store");let a=r?"yes":"no";n.mode;let A=null;if(n.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(n.body!=null){let g=async function*(C){Kc(t)||(yield C,t.processRequestBodyChunkLength?.(C.byteLength))},m=()=>{Kc(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},E=C=>{Kc(t)||(C.name==="AbortError"?t.controller.abort():t.controller.terminate(C))};A=(async function*(){try{for await(let C of n.body.stream)yield*g(C);m()}catch(C){E(C)}})()}try{let{body:g,status:m,statusText:E,headersList:C,socket:I}=await f({body:A});if(I)i=Wp({status:m,statusText:E,headersList:C,socket:I});else{let N=g[Symbol.asyncIterator]();t.controller.next=()=>N.next(),i=Wp({status:m,statusText:E,headersList:C})}}catch(g){return g.name==="AbortError"?(t.controller.connection.destroy(),Vp(t,g)):ct(g)}let c=()=>{t.controller.resume()},l=g=>{t.controller.abort(g)};yN||(yN=require("stream/web").ReadableStream);let u=new yN({async start(g){t.controller.controller=g},async pull(g){await c(g)},async cancel(g){await l(g)}},{highWaterMark:0,size(){return 1}});i.body={stream:u},t.controller.on("terminated",d),t.controller.resume=async()=>{for(;;){let g,m;try{let{done:E,value:C}=await t.controller.next();if($F(t))break;g=E?void 0:C}catch(E){t.controller.ended&&!s.encodedBodySize?g=void 0:(g=E,m=!0)}if(g===void 0){Gie(t.controller.controller),fse(t,i);return}if(s.decodedBodySize+=g?.byteLength??0,m){t.controller.terminate(g);return}if(t.controller.controller.enqueue(new Uint8Array(g)),rse(u)){t.controller.terminate();return}if(!t.controller.controller.desiredSize)return}};function d(g){$F(t)?(i.aborted=!0,Xp(u)&&t.controller.controller.error(t.controller.serializedAbortReason)):Xp(u)&&t.controller.controller.error(new TypeError("terminated",{cause:zie(g)?g:void 0})),t.controller.connection.destroy()}return i;async function f({body:g}){let m=ps(n),E=t.controller.dispatcher;return new Promise((C,I)=>E.dispatch({path:m.pathname+m.search,origin:m.origin,method:n.method,body:t.controller.dispatcher.isMockActive?n.body&&(n.body.source||n.body.stream):g,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(N){let{connection:w}=t.controller;w.destroyed?N(new Kp("The operation was aborted.","AbortError")):(t.controller.on("terminated",N),this.abort=w.abort=N)},onHeaders(N,w,v,T){if(N<200)return;let U=[],k="",J=new WF;if(Array.isArray(w))for(let H=0;H<w.length;H+=2){let _e=w[H+0].toString("latin1"),rt=w[H+1].toString("latin1");_e.toLowerCase()==="content-encoding"?U=rt.toLowerCase().split(",").map(Or=>Or.trim()):_e.toLowerCase()==="location"&&(k=rt),J[$c].append(_e,rt)}else{let H=Object.keys(w);for(let _e of H){let rt=w[_e];_e.toLowerCase()==="content-encoding"?U=rt.toLowerCase().split(",").map(Or=>Or.trim()).reverse():_e.toLowerCase()==="location"&&(k=rt),J[$c].append(_e,rt)}}this.body=new Zie({read:v});let be=[],Re=n.redirect==="follow"&&k&&tU.has(N);if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!rU.includes(N)&&!Re)for(let H of U)if(H==="x-gzip"||H==="gzip")be.push(Sf.createGunzip({flush:Sf.constants.Z_SYNC_FLUSH,finishFlush:Sf.constants.Z_SYNC_FLUSH}));else if(H==="deflate")be.push(Sf.createInflate());else if(H==="br")be.push(Sf.createBrotliDecompress());else{be.length=0;break}return C({status:N,statusText:T,headersList:J[$c],body:be.length?ese(this.body,...be,()=>{}):this.body.on("error",()=>{})}),!0},onData(N){if(t.controller.dump)return;let w=N;return s.encodedBodySize+=w.byteLength,this.body.push(w)},onComplete(){this.abort&&t.controller.off("terminated",this.abort),t.controller.ended=!0,this.body.push(null)},onError(N){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(N),t.controller.terminate(N),I(N)},onUpgrade(N,w,v){if(N!==101)return;let T=new WF;for(let U=0;U<w.length;U+=2){let k=w[U+0].toString("latin1"),J=w[U+1].toString("latin1");T[$c].append(k,J)}return C({status:N,statusText:cse[N],headersList:T[$c],socket:v}),!0}}))}}AU.exports={fetch:use,Fetch:Zp,fetching:iU,finalizeAndReportTiming:nU}});var SN=h((HLe,cU)=>{"use strict";cU.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 uU=h((jLe,lU)=>{"use strict";var{webidl:zn}=Vr(),ty=Symbol("ProgressEvent state"),xN=class t extends Event{constructor(e,r={}){e=zn.converters.DOMString(e),r=zn.converters.ProgressEventInit(r??{}),super(e,r),this[ty]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return zn.brandCheck(this,t),this[ty].lengthComputable}get loaded(){return zn.brandCheck(this,t),this[ty].loaded}get total(){return zn.brandCheck(this,t),this[ty].total}};zn.converters.ProgressEventInit=zn.dictionaryConverter([{key:"lengthComputable",converter:zn.converters.boolean,defaultValue:!1},{key:"loaded",converter:zn.converters["unsigned long long"],defaultValue:0},{key:"total",converter:zn.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:zn.converters.boolean,defaultValue:!1},{key:"cancelable",converter:zn.converters.boolean,defaultValue:!1},{key:"composed",converter:zn.converters.boolean,defaultValue:!1}]);lU.exports={ProgressEvent:xN}});var fU=h((zLe,dU)=>{"use strict";function mse(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"}}dU.exports={getEncoding:mse}});var IU=h((GLe,CU)=>{"use strict";var{kState:Zc,kError:RN,kResult:hU,kAborted:xf,kLastProgressEventFired:vN}=SN(),{ProgressEvent:pse}=uU(),{getEncoding:gU}=fU(),{DOMException:yse}=Lo(),{serializeAMimeType:Ese,parseMIMEType:mU}=Hi(),{types:Cse}=require("util"),{StringDecoder:pU}=require("string_decoder"),{btoa:yU}=require("buffer"),Ise={enumerable:!0,writable:!1,configurable:!1};function Bse(t,e,r,n){if(t[Zc]==="loading")throw new yse("Invalid state","InvalidStateError");t[Zc]="loading",t[hU]=null,t[RN]=null;let s=e.stream().getReader(),o=[],a=s.read(),A=!0;(async()=>{for(;!t[xf];)try{let{done:c,value:l}=await a;if(A&&!t[xf]&&queueMicrotask(()=>{Go("loadstart",t)}),A=!1,!c&&Cse.isUint8Array(l))o.push(l),(t[vN]===void 0||Date.now()-t[vN]>=50)&&!t[xf]&&(t[vN]=Date.now(),queueMicrotask(()=>{Go("progress",t)})),a=s.read();else if(c){queueMicrotask(()=>{t[Zc]="done";try{let u=Qse(o,r,e.type,n);if(t[xf])return;t[hU]=u,Go("load",t)}catch(u){t[RN]=u,Go("error",t)}t[Zc]!=="loading"&&Go("loadend",t)});break}}catch(c){if(t[xf])return;queueMicrotask(()=>{t[Zc]="done",t[RN]=c,Go("error",t),t[Zc]!=="loading"&&Go("loadend",t)});break}})()}function Go(t,e){let r=new pse(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}function Qse(t,e,r,n){switch(e){case"DataURL":{let i="data:",s=mU(r||"application/octet-stream");s!=="failure"&&(i+=Ese(s)),i+=";base64,";let o=new pU("latin1");for(let a of t)i+=yU(o.write(a));return i+=yU(o.end()),i}case"Text":{let i="failure";if(n&&(i=gU(n)),i==="failure"&&r){let s=mU(r);s!=="failure"&&(i=gU(s.parameters.get("charset")))}return i==="failure"&&(i="UTF-8"),bse(t,i)}case"ArrayBuffer":return EU(t).buffer;case"BinaryString":{let i="",s=new pU("latin1");for(let o of t)i+=s.write(o);return i+=s.end(),i}}}function bse(t,e){let r=EU(t),n=Nse(r),i=0;n!==null&&(e=n,i=n==="UTF-8"?3:2);let s=r.slice(i);return new TextDecoder(e).decode(s)}function Nse(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}function EU(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))}CU.exports={staticPropertyDescriptors:Ise,readOperation:Bse,fireAProgressEvent:Go}});var NU=h((YLe,bU)=>{"use strict";var{staticPropertyDescriptors:el,readOperation:ry,fireAProgressEvent:BU}=IU(),{kState:iA,kError:QU,kResult:ny,kEvents:Je,kAborted:wse}=SN(),{webidl:ot}=Vr(),{kEnumerableProperty:un}=Ue(),Yi=class t extends EventTarget{constructor(){super(),this[iA]="empty",this[ny]=null,this[QU]=null,this[Je]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){ot.brandCheck(this,t),ot.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"}),e=ot.converters.Blob(e,{strict:!1}),ry(this,e,"ArrayBuffer")}readAsBinaryString(e){ot.brandCheck(this,t),ot.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"}),e=ot.converters.Blob(e,{strict:!1}),ry(this,e,"BinaryString")}readAsText(e,r=void 0){ot.brandCheck(this,t),ot.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"}),e=ot.converters.Blob(e,{strict:!1}),r!==void 0&&(r=ot.converters.DOMString(r)),ry(this,e,"Text",r)}readAsDataURL(e){ot.brandCheck(this,t),ot.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"}),e=ot.converters.Blob(e,{strict:!1}),ry(this,e,"DataURL")}abort(){if(this[iA]==="empty"||this[iA]==="done"){this[ny]=null;return}this[iA]==="loading"&&(this[iA]="done",this[ny]=null),this[wse]=!0,BU("abort",this),this[iA]!=="loading"&&BU("loadend",this)}get readyState(){switch(ot.brandCheck(this,t),this[iA]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return ot.brandCheck(this,t),this[ny]}get error(){return ot.brandCheck(this,t),this[QU]}get onloadend(){return ot.brandCheck(this,t),this[Je].loadend}set onloadend(e){ot.brandCheck(this,t),this[Je].loadend&&this.removeEventListener("loadend",this[Je].loadend),typeof e=="function"?(this[Je].loadend=e,this.addEventListener("loadend",e)):this[Je].loadend=null}get onerror(){return ot.brandCheck(this,t),this[Je].error}set onerror(e){ot.brandCheck(this,t),this[Je].error&&this.removeEventListener("error",this[Je].error),typeof e=="function"?(this[Je].error=e,this.addEventListener("error",e)):this[Je].error=null}get onloadstart(){return ot.brandCheck(this,t),this[Je].loadstart}set onloadstart(e){ot.brandCheck(this,t),this[Je].loadstart&&this.removeEventListener("loadstart",this[Je].loadstart),typeof e=="function"?(this[Je].loadstart=e,this.addEventListener("loadstart",e)):this[Je].loadstart=null}get onprogress(){return ot.brandCheck(this,t),this[Je].progress}set onprogress(e){ot.brandCheck(this,t),this[Je].progress&&this.removeEventListener("progress",this[Je].progress),typeof e=="function"?(this[Je].progress=e,this.addEventListener("progress",e)):this[Je].progress=null}get onload(){return ot.brandCheck(this,t),this[Je].load}set onload(e){ot.brandCheck(this,t),this[Je].load&&this.removeEventListener("load",this[Je].load),typeof e=="function"?(this[Je].load=e,this.addEventListener("load",e)):this[Je].load=null}get onabort(){return ot.brandCheck(this,t),this[Je].abort}set onabort(e){ot.brandCheck(this,t),this[Je].abort&&this.removeEventListener("abort",this[Je].abort),typeof e=="function"?(this[Je].abort=e,this.addEventListener("abort",e)):this[Je].abort=null}};Yi.EMPTY=Yi.prototype.EMPTY=0;Yi.LOADING=Yi.prototype.LOADING=1;Yi.DONE=Yi.prototype.DONE=2;Object.defineProperties(Yi.prototype,{EMPTY:el,LOADING:el,DONE:el,readAsArrayBuffer:un,readAsBinaryString:un,readAsText:un,readAsDataURL:un,abort:un,readyState:un,result:un,error:un,onloadstart:un,onprogress:un,onload:un,onabort:un,onerror:un,onloadend:un,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Yi,{EMPTY:el,LOADING:el,DONE:el});bU.exports={FileReader:Yi}});var iy=h((JLe,wU)=>{"use strict";wU.exports={kConstruct:It().kConstruct}});var RU=h((VLe,xU)=>{"use strict";var Sse=require("assert"),{URLSerializer:SU}=Hi(),{isValidHeaderName:xse}=ni();function Rse(t,e,r=!1){let n=SU(t,r),i=SU(e,r);return n===i}function vse(t){Sse(t!==null);let e=[];for(let r of t.split(",")){if(r=r.trim(),r.length){if(!xse(r))continue}else continue;e.push(r)}return e}xU.exports={urlEquals:Rse,fieldValues:vse}});var TU=h((WLe,PU)=>{"use strict";var{kConstruct:_se}=iy(),{urlEquals:Dse,fieldValues:_N}=RU(),{kEnumerableProperty:sA,isDisturbed:kse}=Ue(),{kHeadersList:vU}=It(),{webidl:de}=Vr(),{Response:DU,cloneResponse:Pse}=Hp(),{Request:ys}=wf(),{kState:Zr,kHeaders:sy,kGuard:_U,kRealm:Tse}=Gs(),{fetching:Ose}=ey(),{urlIsHttpHttpsScheme:oy,createDeferredPromise:tl,readAllBytes:Lse}=ni(),DN=require("assert"),{getGlobalDispatcher:Mse}=Gc(),ay=class t{#e;constructor(){arguments[0]!==_se&&de.illegalConstructor(),this.#e=arguments[1]}async match(e,r={}){de.brandCheck(this,t),de.argumentLengthCheck(arguments,1,{header:"Cache.match"}),e=de.converters.RequestInfo(e),r=de.converters.CacheQueryOptions(r);let n=await this.matchAll(e,r);if(n.length!==0)return n[0]}async matchAll(e=void 0,r={}){de.brandCheck(this,t),e!==void 0&&(e=de.converters.RequestInfo(e)),r=de.converters.CacheQueryOptions(r);let n=null;if(e!==void 0)if(e instanceof ys){if(n=e[Zr],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new ys(e)[Zr]);let i=[];if(e===void 0)for(let o of this.#e)i.push(o[1]);else{let o=this.#n(n,r);for(let a of o)i.push(a[1])}let s=[];for(let o of i){let a=new DU(o.body?.source??null),A=a[Zr].body;a[Zr]=o,a[Zr].body=A,a[sy][vU]=o.headersList,a[sy][_U]="immutable",s.push(a)}return Object.freeze(s)}async add(e){de.brandCheck(this,t),de.argumentLengthCheck(arguments,1,{header:"Cache.add"}),e=de.converters.RequestInfo(e);let r=[e];return await this.addAll(r)}async addAll(e){de.brandCheck(this,t),de.argumentLengthCheck(arguments,1,{header:"Cache.addAll"}),e=de.converters["sequence<RequestInfo>"](e);let r=[],n=[];for(let u of e){if(typeof u=="string")continue;let d=u[Zr];if(!oy(d.url)||d.method!=="GET")throw de.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}let i=[];for(let u of e){let d=new ys(u)[Zr];if(!oy(d.url))throw de.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."});d.initiator="fetch",d.destination="subresource",n.push(d);let f=tl();i.push(Ose({request:d,dispatcher:Mse(),processResponse(g){if(g.type==="error"||g.status===206||g.status<200||g.status>299)f.reject(de.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(g.headersList.contains("vary")){let m=_N(g.headersList.get("vary"));for(let E of m)if(E==="*"){f.reject(de.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let C of i)C.abort();return}}},processResponseEndOfBody(g){if(g.aborted){f.reject(new DOMException("aborted","AbortError"));return}f.resolve(g)}})),r.push(f.promise)}let o=await Promise.all(r),a=[],A=0;for(let u of o){let d={type:"put",request:n[A],response:u};a.push(d),A++}let c=tl(),l=null;try{this.#r(a)}catch(u){l=u}return queueMicrotask(()=>{l===null?c.resolve(void 0):c.reject(l)}),c.promise}async put(e,r){de.brandCheck(this,t),de.argumentLengthCheck(arguments,2,{header:"Cache.put"}),e=de.converters.RequestInfo(e),r=de.converters.Response(r);let n=null;if(e instanceof ys?n=e[Zr]:n=new ys(e)[Zr],!oy(n.url)||n.method!=="GET")throw de.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"});let i=r[Zr];if(i.status===206)throw de.errors.exception({header:"Cache.put",message:"Got 206 status"});if(i.headersList.contains("vary")){let d=_N(i.headersList.get("vary"));for(let f of d)if(f==="*")throw de.errors.exception({header:"Cache.put",message:"Got * vary field value"})}if(i.body&&(kse(i.body.stream)||i.body.stream.locked))throw de.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"});let s=Pse(i),o=tl();if(i.body!=null){let f=i.body.stream.getReader();Lse(f).then(o.resolve,o.reject)}else o.resolve(void 0);let a=[],A={type:"put",request:n,response:s};a.push(A);let c=await o.promise;s.body!=null&&(s.body.source=c);let l=tl(),u=null;try{this.#r(a)}catch(d){u=d}return queueMicrotask(()=>{u===null?l.resolve():l.reject(u)}),l.promise}async delete(e,r={}){de.brandCheck(this,t),de.argumentLengthCheck(arguments,1,{header:"Cache.delete"}),e=de.converters.RequestInfo(e),r=de.converters.CacheQueryOptions(r);let n=null;if(e instanceof ys){if(n=e[Zr],n.method!=="GET"&&!r.ignoreMethod)return!1}else DN(typeof e=="string"),n=new ys(e)[Zr];let i=[],s={type:"delete",request:n,options:r};i.push(s);let o=tl(),a=null,A;try{A=this.#r(i)}catch(c){a=c}return queueMicrotask(()=>{a===null?o.resolve(!!A?.length):o.reject(a)}),o.promise}async keys(e=void 0,r={}){de.brandCheck(this,t),e!==void 0&&(e=de.converters.RequestInfo(e)),r=de.converters.CacheQueryOptions(r);let n=null;if(e!==void 0)if(e instanceof ys){if(n=e[Zr],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new ys(e)[Zr]);let i=tl(),s=[];if(e===void 0)for(let o of this.#e)s.push(o[0]);else{let o=this.#n(n,r);for(let a of o)s.push(a[0])}return queueMicrotask(()=>{let o=[];for(let a of s){let A=new ys("https://a");A[Zr]=a,A[sy][vU]=a.headersList,A[sy][_U]="immutable",A[Tse]=a.client,o.push(A)}i.resolve(Object.freeze(o))}),i.promise}#r(e){let r=this.#e,n=[...r],i=[],s=[];try{for(let o of e){if(o.type!=="delete"&&o.type!=="put")throw de.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(o.type==="delete"&&o.response!=null)throw de.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#n(o.request,o.options,i).length)throw new DOMException("???","InvalidStateError");let a;if(o.type==="delete"){if(a=this.#n(o.request,o.options),a.length===0)return[];for(let A of a){let c=r.indexOf(A);DN(c!==-1),r.splice(c,1)}}else if(o.type==="put"){if(o.response==null)throw de.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let A=o.request;if(!oy(A.url))throw de.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(A.method!=="GET")throw de.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(o.options!=null)throw de.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});a=this.#n(o.request);for(let c of a){let l=r.indexOf(c);DN(l!==-1),r.splice(l,1)}r.push([o.request,o.response]),i.push([o.request,o.response])}s.push([o.request,o.response])}return s}catch(o){throw this.#e.length=0,this.#e=n,o}}#n(e,r,n){let i=[],s=n??this.#e;for(let o of s){let[a,A]=o;this.#t(e,a,A,r)&&i.push(o)}return i}#t(e,r,n=null,i){let s=new URL(e.url),o=new URL(r.url);if(i?.ignoreSearch&&(o.search="",s.search=""),!Dse(s,o,!0))return!1;if(n==null||i?.ignoreVary||!n.headersList.contains("vary"))return!0;let a=_N(n.headersList.get("vary"));for(let A of a){if(A==="*")return!1;let c=r.headersList.get(A),l=e.headersList.get(A);if(c!==l)return!1}return!0}};Object.defineProperties(ay.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:sA,matchAll:sA,add:sA,addAll:sA,put:sA,delete:sA,keys:sA});var kU=[{key:"ignoreSearch",converter:de.converters.boolean,defaultValue:!1},{key:"ignoreMethod",converter:de.converters.boolean,defaultValue:!1},{key:"ignoreVary",converter:de.converters.boolean,defaultValue:!1}];de.converters.CacheQueryOptions=de.dictionaryConverter(kU);de.converters.MultiCacheQueryOptions=de.dictionaryConverter([...kU,{key:"cacheName",converter:de.converters.DOMString}]);de.converters.Response=de.interfaceConverter(DU);de.converters["sequence<RequestInfo>"]=de.sequenceConverter(de.converters.RequestInfo);PU.exports={Cache:ay}});var LU=h(($Le,OU)=>{"use strict";var{kConstruct:Rf}=iy(),{Cache:Ay}=TU(),{webidl:en}=Vr(),{kEnumerableProperty:vf}=Ue(),cy=class t{#e=new Map;constructor(){arguments[0]!==Rf&&en.illegalConstructor()}async match(e,r={}){if(en.brandCheck(this,t),en.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"}),e=en.converters.RequestInfo(e),r=en.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new Ay(Rf,n).match(e,r)}}else for(let n of this.#e.values()){let s=await new Ay(Rf,n).match(e,r);if(s!==void 0)return s}}async has(e){return en.brandCheck(this,t),en.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"}),e=en.converters.DOMString(e),this.#e.has(e)}async open(e){if(en.brandCheck(this,t),en.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"}),e=en.converters.DOMString(e),this.#e.has(e)){let n=this.#e.get(e);return new Ay(Rf,n)}let r=[];return this.#e.set(e,r),new Ay(Rf,r)}async delete(e){return en.brandCheck(this,t),en.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"}),e=en.converters.DOMString(e),this.#e.delete(e)}async keys(){return en.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(cy.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:vf,has:vf,open:vf,delete:vf,keys:vf});OU.exports={CacheStorage:cy}});var FU=h((KLe,MU)=>{"use strict";MU.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var kN=h((XLe,zU)=>{"use strict";function Fse(t){if(t.length===0)return!1;for(let e of t){let r=e.charCodeAt(0);if(r>=0||r<=8||r>=10||r<=31||r===127)return!1}}function UU(t){for(let e of t){let r=e.charCodeAt(0);if(r<=32||r>127||e==="("||e===")"||e===">"||e==="<"||e==="@"||e===","||e===";"||e===":"||e==="\\"||e==='"'||e==="/"||e==="["||e==="]"||e==="?"||e==="="||e==="{"||e==="}")throw new Error("Invalid cookie name")}}function qU(t){for(let e of t){let r=e.charCodeAt(0);if(r<33||r===34||r===44||r===59||r===92||r>126)throw new Error("Invalid header value")}}function HU(t){for(let e of t)if(e.charCodeAt(0)<33||e===";")throw new Error("Invalid cookie path")}function Use(t){if(t.startsWith("-")||t.endsWith(".")||t.endsWith("-"))throw new Error("Invalid cookie domain")}function jU(t){typeof t=="number"&&(t=new Date(t));let e=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],n=e[t.getUTCDay()],i=t.getUTCDate().toString().padStart(2,"0"),s=r[t.getUTCMonth()],o=t.getUTCFullYear(),a=t.getUTCHours().toString().padStart(2,"0"),A=t.getUTCMinutes().toString().padStart(2,"0"),c=t.getUTCSeconds().toString().padStart(2,"0");return`${n}, ${i} ${s} ${o} ${a}:${A}:${c} GMT`}function qse(t){if(t<0)throw new Error("Invalid cookie max-age")}function Hse(t){if(t.name.length===0)return null;UU(t.name),qU(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"&&(qse(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(Use(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(HU(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${jU(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("; ")}zU.exports={isCTLExcludingHtab:Fse,validateCookieName:UU,validateCookiePath:HU,validateCookieValue:qU,toIMFDate:jU,stringify:Hse}});var YU=h((ZLe,GU)=>{"use strict";var{maxNameValuePairSize:jse,maxAttributeValueSize:zse}=FU(),{isCTLExcludingHtab:Gse}=kN(),{collectASequenceOfCodePointsFast:ly}=Hi(),Yse=require("assert");function Jse(t){if(Gse(t))return null;let e="",r="",n="",i="";if(t.includes(";")){let s={position:0};e=ly(";",t,s),r=t.slice(s.position)}else e=t;if(!e.includes("="))i=e;else{let s={position:0};n=ly("=",e,s),i=e.slice(s.position+1)}return n=n.trim(),i=i.trim(),n.length+i.length>jse?null:{name:n,value:i,...rl(r)}}function rl(t,e={}){if(t.length===0)return e;Yse(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=ly(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",i="";if(r.includes("=")){let o={position:0};n=ly("=",r,o),i=r.slice(o.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>zse)return rl(t,e);let s=n.toLowerCase();if(s==="expires"){let o=new Date(i);e.expires=o}else if(s==="max-age"){let o=i.charCodeAt(0);if((o<48||o>57)&&i[0]!=="-"||!/^\d+$/.test(i))return rl(t,e);let a=Number(i);e.maxAge=a}else if(s==="domain"){let o=i;o[0]==="."&&(o=o.slice(1)),o=o.toLowerCase(),e.domain=o}else if(s==="path"){let o="";i.length===0||i[0]!=="/"?o="/":o=i,e.path=o}else if(s==="secure")e.secure=!0;else if(s==="httponly")e.httpOnly=!0;else if(s==="samesite"){let o="Default",a=i.toLowerCase();a.includes("none")&&(o="None"),a.includes("strict")&&(o="Strict"),a.includes("lax")&&(o="Lax"),e.sameSite=o}else e.unparsed??=[],e.unparsed.push(`${n}=${i}`);return rl(t,e)}GU.exports={parseSetCookie:Jse,parseUnparsedAttributes:rl}});var $U=h((eMe,WU)=>{"use strict";var{parseSetCookie:Vse}=YU(),{stringify:JU}=kN(),{webidl:Te}=Vr(),{Headers:uy}=rA();function Wse(t){Te.argumentLengthCheck(arguments,1,{header:"getCookies"}),Te.brandCheck(t,uy,{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}function $se(t,e,r){Te.argumentLengthCheck(arguments,2,{header:"deleteCookie"}),Te.brandCheck(t,uy,{strict:!1}),e=Te.converters.DOMString(e),r=Te.converters.DeleteCookieAttributes(r),VU(t,{name:e,value:"",expires:new Date(0),...r})}function Kse(t){Te.argumentLengthCheck(arguments,1,{header:"getSetCookies"}),Te.brandCheck(t,uy,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>Vse(r)):[]}function VU(t,e){Te.argumentLengthCheck(arguments,2,{header:"setCookie"}),Te.brandCheck(t,uy,{strict:!1}),e=Te.converters.Cookie(e),JU(e)&&t.append("Set-Cookie",JU(e))}Te.converters.DeleteCookieAttributes=Te.dictionaryConverter([{converter:Te.nullableConverter(Te.converters.DOMString),key:"path",defaultValue:null},{converter:Te.nullableConverter(Te.converters.DOMString),key:"domain",defaultValue:null}]);Te.converters.Cookie=Te.dictionaryConverter([{converter:Te.converters.DOMString,key:"name"},{converter:Te.converters.DOMString,key:"value"},{converter:Te.nullableConverter(t=>typeof t=="number"?Te.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:null},{converter:Te.nullableConverter(Te.converters["long long"]),key:"maxAge",defaultValue:null},{converter:Te.nullableConverter(Te.converters.DOMString),key:"domain",defaultValue:null},{converter:Te.nullableConverter(Te.converters.DOMString),key:"path",defaultValue:null},{converter:Te.nullableConverter(Te.converters.boolean),key:"secure",defaultValue:null},{converter:Te.nullableConverter(Te.converters.boolean),key:"httpOnly",defaultValue:null},{converter:Te.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:Te.sequenceConverter(Te.converters.DOMString),key:"unparsed",defaultValue:[]}]);WU.exports={getCookies:Wse,deleteCookie:$se,getSetCookies:Kse,setCookie:VU}});var nl=h((tMe,KU)=>{"use strict";var Xse="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",Zse={enumerable:!0,writable:!1,configurable:!1},eoe={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},toe={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},roe=2**16-1,noe={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},ioe=Buffer.allocUnsafe(0);KU.exports={uid:Xse,staticPropertyDescriptors:Zse,states:eoe,opcodes:toe,maxUnsigned16Bit:roe,parserStates:noe,emptyBuffer:ioe}});var _f=h((rMe,XU)=>{"use strict";XU.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 TN=h((nMe,ZU)=>{"use strict";var{webidl:fe}=Vr(),{kEnumerableProperty:dn}=Ue(),{MessagePort:soe}=require("worker_threads"),dy=class t extends Event{#e;constructor(e,r={}){fe.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"}),e=fe.converters.DOMString(e),r=fe.converters.MessageEventInit(r),super(e,r),this.#e=r}get data(){return fe.brandCheck(this,t),this.#e.data}get origin(){return fe.brandCheck(this,t),this.#e.origin}get lastEventId(){return fe.brandCheck(this,t),this.#e.lastEventId}get source(){return fe.brandCheck(this,t),this.#e.source}get ports(){return fe.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="",o="",a=null,A=[]){return fe.brandCheck(this,t),fe.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"}),new t(e,{bubbles:r,cancelable:n,data:i,origin:s,lastEventId:o,source:a,ports:A})}},fy=class t extends Event{#e;constructor(e,r={}){fe.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"}),e=fe.converters.DOMString(e),r=fe.converters.CloseEventInit(r),super(e,r),this.#e=r}get wasClean(){return fe.brandCheck(this,t),this.#e.wasClean}get code(){return fe.brandCheck(this,t),this.#e.code}get reason(){return fe.brandCheck(this,t),this.#e.reason}},hy=class t extends Event{#e;constructor(e,r){fe.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"}),super(e,r),e=fe.converters.DOMString(e),r=fe.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return fe.brandCheck(this,t),this.#e.message}get filename(){return fe.brandCheck(this,t),this.#e.filename}get lineno(){return fe.brandCheck(this,t),this.#e.lineno}get colno(){return fe.brandCheck(this,t),this.#e.colno}get error(){return fe.brandCheck(this,t),this.#e.error}};Object.defineProperties(dy.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:dn,origin:dn,lastEventId:dn,source:dn,ports:dn,initMessageEvent:dn});Object.defineProperties(fy.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:dn,code:dn,wasClean:dn});Object.defineProperties(hy.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:dn,filename:dn,lineno:dn,colno:dn,error:dn});fe.converters.MessagePort=fe.interfaceConverter(soe);fe.converters["sequence<MessagePort>"]=fe.sequenceConverter(fe.converters.MessagePort);var PN=[{key:"bubbles",converter:fe.converters.boolean,defaultValue:!1},{key:"cancelable",converter:fe.converters.boolean,defaultValue:!1},{key:"composed",converter:fe.converters.boolean,defaultValue:!1}];fe.converters.MessageEventInit=fe.dictionaryConverter([...PN,{key:"data",converter:fe.converters.any,defaultValue:null},{key:"origin",converter:fe.converters.USVString,defaultValue:""},{key:"lastEventId",converter:fe.converters.DOMString,defaultValue:""},{key:"source",converter:fe.nullableConverter(fe.converters.MessagePort),defaultValue:null},{key:"ports",converter:fe.converters["sequence<MessagePort>"],get defaultValue(){return[]}}]);fe.converters.CloseEventInit=fe.dictionaryConverter([...PN,{key:"wasClean",converter:fe.converters.boolean,defaultValue:!1},{key:"code",converter:fe.converters["unsigned short"],defaultValue:0},{key:"reason",converter:fe.converters.USVString,defaultValue:""}]);fe.converters.ErrorEventInit=fe.dictionaryConverter([...PN,{key:"message",converter:fe.converters.DOMString,defaultValue:""},{key:"filename",converter:fe.converters.USVString,defaultValue:""},{key:"lineno",converter:fe.converters["unsigned long"],defaultValue:0},{key:"colno",converter:fe.converters["unsigned long"],defaultValue:0},{key:"error",converter:fe.converters.any}]);ZU.exports={MessageEvent:dy,CloseEvent:fy,ErrorEvent:hy}});var py=h((iMe,r1)=>{"use strict";var{kReadyState:gy,kController:ooe,kResponse:aoe,kBinaryType:Aoe,kWebSocketURL:coe}=_f(),{states:my,opcodes:e1}=nl(),{MessageEvent:loe,ErrorEvent:uoe}=TN();function doe(t){return t[gy]===my.OPEN}function foe(t){return t[gy]===my.CLOSING}function hoe(t){return t[gy]===my.CLOSED}function ON(t,e,r=Event,n){let i=new r(t,n);e.dispatchEvent(i)}function goe(t,e,r){if(t[gy]!==my.OPEN)return;let n;if(e===e1.TEXT)try{n=new TextDecoder("utf-8",{fatal:!0}).decode(r)}catch{t1(t,"Received invalid UTF-8 in text frame.");return}else e===e1.BINARY&&(t[Aoe]==="blob"?n=new Blob([r]):n=new Uint8Array(r).buffer);ON("message",t,loe,{origin:t[coe].origin,data:n})}function moe(t){if(t.length===0)return!1;for(let e of t){let r=e.charCodeAt(0);if(r<33||r>126||e==="("||e===")"||e==="<"||e===">"||e==="@"||e===","||e===";"||e===":"||e==="\\"||e==='"'||e==="/"||e==="["||e==="]"||e==="?"||e==="="||e==="{"||e==="}"||r===32||r===9)return!1}return!0}function poe(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}function t1(t,e){let{[ooe]:r,[aoe]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&ON("error",t,uoe,{error:new Error(e)})}r1.exports={isEstablished:doe,isClosing:foe,isClosed:hoe,fireEvent:ON,isValidSubprotocol:moe,isValidStatusCode:poe,failWebsocketConnection:t1,websocketMessageReceived:goe}});var A1=h((sMe,a1)=>{"use strict";var MN=require("diagnostics_channel"),{uid:yoe,states:i1}=nl(),{kReadyState:s1,kSentClose:n1,kByteParser:o1,kReceivedClose:Eoe}=_f(),{fireEvent:Coe,failWebsocketConnection:oA}=py(),{CloseEvent:Ioe}=TN(),{makeRequest:Boe}=wf(),{fetching:Qoe}=ey(),{Headers:boe}=rA(),{getGlobalDispatcher:Noe}=Gc(),{kHeadersList:woe}=It(),eo={};eo.open=MN.channel("undici:websocket:open");eo.close=MN.channel("undici:websocket:close");eo.socketError=MN.channel("undici:websocket:socket_error");var LN;try{LN=require("crypto")}catch{}function Soe(t,e,r,n,i){let s=t;s.protocol=t.protocol==="ws:"?"http:":"https:";let o=Boe({urlList:[s],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let l=new boe(i.headers)[woe];o.headersList=l}let a=LN.randomBytes(16).toString("base64");o.headersList.append("sec-websocket-key",a),o.headersList.append("sec-websocket-version","13");for(let l of e)o.headersList.append("sec-websocket-protocol",l);let A="";return Qoe({request:o,useParallelQueue:!0,dispatcher:i.dispatcher??Noe(),processResponse(l){if(l.type==="error"||l.status!==101){oA(r,"Received network error or non-101 status code.");return}if(e.length!==0&&!l.headersList.get("Sec-WebSocket-Protocol")){oA(r,"Server did not respond with sent protocols.");return}if(l.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){oA(r,'Server did not set Upgrade header to "websocket".');return}if(l.headersList.get("Connection")?.toLowerCase()!=="upgrade"){oA(r,'Server did not set Connection header to "upgrade".');return}let u=l.headersList.get("Sec-WebSocket-Accept"),d=LN.createHash("sha1").update(a+yoe).digest("base64");if(u!==d){oA(r,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let f=l.headersList.get("Sec-WebSocket-Extensions");if(f!==null&&f!==A){oA(r,"Received different permessage-deflate than the one set.");return}let g=l.headersList.get("Sec-WebSocket-Protocol");if(g!==null&&g!==o.headersList.get("Sec-WebSocket-Protocol")){oA(r,"Protocol was not set in the opening handshake.");return}l.socket.on("data",xoe),l.socket.on("close",Roe),l.socket.on("error",voe),eo.open.hasSubscribers&&eo.open.publish({address:l.socket.address(),protocol:g,extensions:f}),n(l)}})}function xoe(t){this.ws[o1].write(t)||this.pause()}function Roe(){let{ws:t}=this,e=t[n1]&&t[Eoe],r=1005,n="",i=t[o1].closingInfo;i?(r=i.code??1005,n=i.reason):t[n1]||(r=1006),t[s1]=i1.CLOSED,Coe("close",t,Ioe,{wasClean:e,code:r,reason:n}),eo.close.hasSubscribers&&eo.close.publish({websocket:t,code:r,reason:n})}function voe(t){let{ws:e}=this;e[s1]=i1.CLOSING,eo.socketError.hasSubscribers&&eo.socketError.publish(t),this.destroy()}a1.exports={establishWebSocketConnection:Soe}});var UN=h((oMe,l1)=>{"use strict";var{maxUnsigned16Bit:_oe}=nl(),c1;try{c1=require("crypto")}catch{}var FN=class{constructor(e){this.frameData=e,this.maskKey=c1.randomBytes(4)}createFrame(e){let r=this.frameData?.byteLength??0,n=r,i=6;r>_oe?(i+=8,n=127):r>125&&(i+=2,n=126);let s=Buffer.allocUnsafe(r+i);s[0]=s[1]=0,s[0]|=128,s[0]=(s[0]&240)+e;s[i-4]=this.maskKey[0],s[i-3]=this.maskKey[1],s[i-2]=this.maskKey[2],s[i-1]=this.maskKey[3],s[1]=n,n===126?s.writeUInt16BE(r,2):n===127&&(s[2]=s[3]=0,s.writeUIntBE(r,4,6)),s[1]|=128;for(let o=0;o<r;o++)s[i+o]=this.frameData[o]^this.maskKey[o%4];return s}};l1.exports={WebsocketFrameSend:FN}});var y1=h((aMe,p1)=>{"use strict";var{Writable:Doe}=require("stream"),m1=require("diagnostics_channel"),{parserStates:oi,opcodes:ai,states:koe,emptyBuffer:Poe}=nl(),{kReadyState:Toe,kSentClose:u1,kResponse:d1,kReceivedClose:f1}=_f(),{isValidStatusCode:h1,failWebsocketConnection:Df,websocketMessageReceived:Ooe}=py(),{WebsocketFrameSend:g1}=UN(),il={};il.ping=m1.channel("undici:websocket:ping");il.pong=m1.channel("undici:websocket:pong");var qN=class extends Doe{#e=[];#r=0;#n=oi.INFO;#t={};#i=[];constructor(e){super(),this.ws=e}_write(e,r,n){this.#e.push(e),this.#r+=e.length,this.run(n)}run(e){for(;;){if(this.#n===oi.INFO){if(this.#r<2)return e();let r=this.consume(2);if(this.#t.fin=(r[0]&128)!==0,this.#t.opcode=r[0]&15,this.#t.originalOpcode??=this.#t.opcode,this.#t.fragmented=!this.#t.fin&&this.#t.opcode!==ai.CONTINUATION,this.#t.fragmented&&this.#t.opcode!==ai.BINARY&&this.#t.opcode!==ai.TEXT){Df(this.ws,"Invalid frame type was fragmented.");return}let n=r[1]&127;if(n<=125?(this.#t.payloadLength=n,this.#n=oi.READ_DATA):n===126?this.#n=oi.PAYLOADLENGTH_16:n===127&&(this.#n=oi.PAYLOADLENGTH_64),this.#t.fragmented&&n>125){Df(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#t.opcode===ai.PING||this.#t.opcode===ai.PONG||this.#t.opcode===ai.CLOSE)&&n>125){Df(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#t.opcode===ai.CLOSE){if(n===1){Df(this.ws,"Received close frame with a 1-byte body.");return}let i=this.consume(n);if(this.#t.closeInfo=this.parseCloseBody(!1,i),!this.ws[u1]){let s=Buffer.allocUnsafe(2);s.writeUInt16BE(this.#t.closeInfo.code,0);let o=new g1(s);this.ws[d1].socket.write(o.createFrame(ai.CLOSE),a=>{a||(this.ws[u1]=!0)})}this.ws[Toe]=koe.CLOSING,this.ws[f1]=!0,this.end();return}else if(this.#t.opcode===ai.PING){let i=this.consume(n);if(!this.ws[f1]){let s=new g1(i);this.ws[d1].socket.write(s.createFrame(ai.PONG)),il.ping.hasSubscribers&&il.ping.publish({payload:i})}if(this.#n=oi.INFO,this.#r>0)continue;e();return}else if(this.#t.opcode===ai.PONG){let i=this.consume(n);if(il.pong.hasSubscribers&&il.pong.publish({payload:i}),this.#r>0)continue;e();return}}else if(this.#n===oi.PAYLOADLENGTH_16){if(this.#r<2)return e();let r=this.consume(2);this.#t.payloadLength=r.readUInt16BE(0),this.#n=oi.READ_DATA}else if(this.#n===oi.PAYLOADLENGTH_64){if(this.#r<8)return e();let r=this.consume(8),n=r.readUInt32BE(0);if(n>2**31-1){Df(this.ws,"Received payload length > 2^31 bytes.");return}let i=r.readUInt32BE(4);this.#t.payloadLength=(n<<8)+i,this.#n=oi.READ_DATA}else if(this.#n===oi.READ_DATA){if(this.#r<this.#t.payloadLength)return e();if(this.#r>=this.#t.payloadLength){let r=this.consume(this.#t.payloadLength);if(this.#i.push(r),!this.#t.fragmented||this.#t.fin&&this.#t.opcode===ai.CONTINUATION){let n=Buffer.concat(this.#i);Ooe(this.ws,this.#t.originalOpcode,n),this.#t={},this.#i.length=0}this.#n=oi.INFO}}if(!(this.#r>0)){e();break}}}consume(e){if(e>this.#r)return null;if(e===0)return Poe;if(this.#e[0].length===e)return this.#r-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),n=0;for(;n!==e;){let 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.#r-=e,r}parseCloseBody(e,r){let n;if(r.length>=2&&(n=r.readUInt16BE(0)),e)return h1(n)?{code:n}:null;let i=r.subarray(2);if(i[0]===239&&i[1]===187&&i[2]===191&&(i=i.subarray(3)),n!==void 0&&!h1(n))return null;try{i=new TextDecoder("utf-8",{fatal:!0}).decode(i)}catch{return null}return{code:n,reason:i}}get closingInfo(){return this.#t.closeInfo}};p1.exports={ByteParser:qN}});var w1=h((AMe,N1)=>{"use strict";var{webidl:Ce}=Vr(),{DOMException:Yo}=Lo(),{URLSerializer:Loe}=Hi(),{getGlobalOrigin:Moe}=Qc(),{staticPropertyDescriptors:Jo,states:sl,opcodes:kf,emptyBuffer:Foe}=nl(),{kWebSocketURL:E1,kReadyState:to,kController:Uoe,kBinaryType:yy,kResponse:Ey,kSentClose:qoe,kByteParser:Hoe}=_f(),{isEstablished:C1,isClosing:I1,isValidSubprotocol:joe,failWebsocketConnection:zoe,fireEvent:Goe}=py(),{establishWebSocketConnection:Yoe}=A1(),{WebsocketFrameSend:Pf}=UN(),{ByteParser:Joe}=y1(),{kEnumerableProperty:Ai,isBlobLike:Q1}=Ue(),{getGlobalDispatcher:Voe}=Gc(),{types:b1}=require("util"),B1=!1,Gn=class t extends EventTarget{#e={open:null,error:null,close:null,message:null};#r=0;#n="";#t="";constructor(e,r=[]){super(),Ce.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"}),B1||(B1=!0,process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"}));let n=Ce.converters["DOMString or sequence<DOMString> or WebSocketInit"](r);e=Ce.converters.USVString(e),r=n.protocols;let i=Moe(),s;try{s=new URL(e,i)}catch(o){throw new Yo(o,"SyntaxError")}if(s.protocol==="http:"?s.protocol="ws:":s.protocol==="https:"&&(s.protocol="wss:"),s.protocol!=="ws:"&&s.protocol!=="wss:")throw new Yo(`Expected a ws: or wss: protocol, got ${s.protocol}`,"SyntaxError");if(s.hash||s.href.endsWith("#"))throw new Yo("Got fragment","SyntaxError");if(typeof r=="string"&&(r=[r]),r.length!==new Set(r.map(o=>o.toLowerCase())).size)throw new Yo("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(r.length>0&&!r.every(o=>joe(o)))throw new Yo("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[E1]=new URL(s.href),this[Uoe]=Yoe(s,r,this,o=>this.#i(o),n),this[to]=t.CONNECTING,this[yy]="blob"}close(e=void 0,r=void 0){if(Ce.brandCheck(this,t),e!==void 0&&(e=Ce.converters["unsigned short"](e,{clamp:!0})),r!==void 0&&(r=Ce.converters.USVString(r)),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new Yo("invalid code","InvalidAccessError");let n=0;if(r!==void 0&&(n=Buffer.byteLength(r),n>123))throw new Yo(`Reason must be less than 123 bytes; received ${n}`,"SyntaxError");if(!(this[to]===t.CLOSING||this[to]===t.CLOSED))if(!C1(this))zoe(this,"Connection was closed before it was established."),this[to]=t.CLOSING;else if(I1(this))this[to]=t.CLOSING;else{let i=new Pf;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=Foe,this[Ey].socket.write(i.createFrame(kf.CLOSE),o=>{o||(this[qoe]=!0)}),this[to]=sl.CLOSING}}send(e){if(Ce.brandCheck(this,t),Ce.argumentLengthCheck(arguments,1,{header:"WebSocket.send"}),e=Ce.converters.WebSocketSendData(e),this[to]===t.CONNECTING)throw new Yo("Sent before connected.","InvalidStateError");if(!C1(this)||I1(this))return;let r=this[Ey].socket;if(typeof e=="string"){let n=Buffer.from(e),s=new Pf(n).createFrame(kf.TEXT);this.#r+=n.byteLength,r.write(s,()=>{this.#r-=n.byteLength})}else if(b1.isArrayBuffer(e)){let n=Buffer.from(e),s=new Pf(n).createFrame(kf.BINARY);this.#r+=n.byteLength,r.write(s,()=>{this.#r-=n.byteLength})}else if(ArrayBuffer.isView(e)){let n=Buffer.from(e,e.byteOffset,e.byteLength),s=new Pf(n).createFrame(kf.BINARY);this.#r+=n.byteLength,r.write(s,()=>{this.#r-=n.byteLength})}else if(Q1(e)){let n=new Pf;e.arrayBuffer().then(i=>{let s=Buffer.from(i);n.frameData=s;let o=n.createFrame(kf.BINARY);this.#r+=s.byteLength,r.write(o,()=>{this.#r-=s.byteLength})})}}get readyState(){return Ce.brandCheck(this,t),this[to]}get bufferedAmount(){return Ce.brandCheck(this,t),this.#r}get url(){return Ce.brandCheck(this,t),Loe(this[E1])}get extensions(){return Ce.brandCheck(this,t),this.#t}get protocol(){return Ce.brandCheck(this,t),this.#n}get onopen(){return Ce.brandCheck(this,t),this.#e.open}set onopen(e){Ce.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 Ce.brandCheck(this,t),this.#e.error}set onerror(e){Ce.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 Ce.brandCheck(this,t),this.#e.close}set onclose(e){Ce.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 Ce.brandCheck(this,t),this.#e.message}set onmessage(e){Ce.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 Ce.brandCheck(this,t),this[yy]}set binaryType(e){Ce.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[yy]="blob":this[yy]=e}#i(e){this[Ey]=e;let r=new Joe(this);r.on("drain",function(){this.ws[Ey].socket.resume()}),e.socket.ws=this,this[Hoe]=r,this[to]=sl.OPEN;let n=e.headersList.get("sec-websocket-extensions");n!==null&&(this.#t=n);let i=e.headersList.get("sec-websocket-protocol");i!==null&&(this.#n=i),Goe("open",this)}};Gn.CONNECTING=Gn.prototype.CONNECTING=sl.CONNECTING;Gn.OPEN=Gn.prototype.OPEN=sl.OPEN;Gn.CLOSING=Gn.prototype.CLOSING=sl.CLOSING;Gn.CLOSED=Gn.prototype.CLOSED=sl.CLOSED;Object.defineProperties(Gn.prototype,{CONNECTING:Jo,OPEN:Jo,CLOSING:Jo,CLOSED:Jo,url:Ai,readyState:Ai,bufferedAmount:Ai,onopen:Ai,onerror:Ai,onclose:Ai,close:Ai,onmessage:Ai,binaryType:Ai,send:Ai,extensions:Ai,protocol:Ai,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Gn,{CONNECTING:Jo,OPEN:Jo,CLOSING:Jo,CLOSED:Jo});Ce.converters["sequence<DOMString>"]=Ce.sequenceConverter(Ce.converters.DOMString);Ce.converters["DOMString or sequence<DOMString>"]=function(t){return Ce.util.Type(t)==="Object"&&Symbol.iterator in t?Ce.converters["sequence<DOMString>"](t):Ce.converters.DOMString(t)};Ce.converters.WebSocketInit=Ce.dictionaryConverter([{key:"protocols",converter:Ce.converters["DOMString or sequence<DOMString>"],get defaultValue(){return[]}},{key:"dispatcher",converter:t=>t,get defaultValue(){return Voe()}},{key:"headers",converter:Ce.nullableConverter(Ce.converters.HeadersInit)}]);Ce.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(t){return Ce.util.Type(t)==="Object"&&!(Symbol.iterator in t)?Ce.converters.WebSocketInit(t):{protocols:Ce.converters["DOMString or sequence<DOMString>"](t)}};Ce.converters.WebSocketSendData=function(t){if(Ce.util.Type(t)==="Object"){if(Q1(t))return Ce.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||b1.isAnyArrayBuffer(t))return Ce.converters.BufferSource(t)}return Ce.converters.USVString(t)};N1.exports={WebSocket:Gn}});var v1=h((cMe,Ne)=>{"use strict";var Woe=ff(),S1=ep(),x1=At(),$oe=Oc(),Koe=FL(),Xoe=pf(),aA=Ue(),{InvalidArgumentError:Cy}=x1,ol=vM(),Zoe=sf(),eae=K0(),tae=dF(),rae=eN(),nae=F0(),iae=yF(),sae=QF(),{getGlobalDispatcher:R1,setGlobalDispatcher:oae}=Gc(),aae=RF(),Aae=$b(),cae=ip(),HN;try{require("crypto"),HN=!0}catch{HN=!1}Object.assign(S1.prototype,ol);Ne.exports.Dispatcher=S1;Ne.exports.Client=Woe;Ne.exports.Pool=$oe;Ne.exports.BalancedPool=Koe;Ne.exports.Agent=Xoe;Ne.exports.ProxyAgent=iae;Ne.exports.RetryHandler=sae;Ne.exports.DecoratorHandler=aae;Ne.exports.RedirectHandler=Aae;Ne.exports.createRedirectInterceptor=cae;Ne.exports.buildConnector=Zoe;Ne.exports.errors=x1;function Tf(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 Cy("invalid url");if(r!=null&&typeof r!="object")throw new Cy("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new Cy("invalid opts.path");let o=r.path;r.path.startsWith("/")||(o=`/${o}`),e=new URL(aA.parseOrigin(e).origin+o)}else r||(r=typeof e=="object"?e:{}),e=aA.parseURL(e);let{agent:i,dispatcher:s=R1()}=r;if(i)throw new Cy("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)}}Ne.exports.setGlobalDispatcher=oae;Ne.exports.getGlobalDispatcher=R1;if(aA.nodeMajor>16||aA.nodeMajor===16&&aA.nodeMinor>=8){let t=null;Ne.exports.fetch=async function(o){t||(t=ey().fetch);try{return await t(...arguments)}catch(a){throw typeof a=="object"&&Error.captureStackTrace(a,this),a}},Ne.exports.Headers=rA().Headers,Ne.exports.Response=Hp().Response,Ne.exports.Request=wf().Request,Ne.exports.FormData=Km().FormData,Ne.exports.File=Wm().File,Ne.exports.FileReader=NU().FileReader;let{setGlobalOrigin:e,getGlobalOrigin:r}=Qc();Ne.exports.setGlobalOrigin=e,Ne.exports.getGlobalOrigin=r;let{CacheStorage:n}=LU(),{kConstruct:i}=iy();Ne.exports.caches=new n(i)}if(aA.nodeMajor>=16){let{deleteCookie:t,getCookies:e,getSetCookies:r,setCookie:n}=$U();Ne.exports.deleteCookie=t,Ne.exports.getCookies=e,Ne.exports.getSetCookies=r,Ne.exports.setCookie=n;let{parseMIMEType:i,serializeAMimeType:s}=Hi();Ne.exports.parseMIMEType=i,Ne.exports.serializeAMimeType=s}if(aA.nodeMajor>=18&&HN){let{WebSocket:t}=w1();Ne.exports.WebSocket=t}Ne.exports.request=Tf(ol.request);Ne.exports.stream=Tf(ol.stream);Ne.exports.pipeline=Tf(ol.pipeline);Ne.exports.connect=Tf(ol.connect);Ne.exports.upgrade=Tf(ol.upgrade);Ne.exports.MockClient=eae;Ne.exports.MockPool=rae;Ne.exports.MockAgent=tae;Ne.exports.mockErrors=nae});var AA=h(pt=>{"use strict";var lae=pt&&pt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),uae=pt&&pt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Ny=pt&&pt.__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)&&lae(e,t,r);return uae(e,t),e},$t=pt&&pt.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(pt,"__esModule",{value:!0});pt.HttpClient=pt.isHttps=pt.HttpClientResponse=pt.HttpClientError=pt.getProxyUrl=pt.MediaTypes=pt.Headers=pt.HttpCodes=void 0;var jN=Ny(require("http")),_1=Ny(require("https")),zN=Ny(UP()),Iy=Ny(YP()),dae=v1(),ci;(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"})(ci||(pt.HttpCodes=ci={}));var Ur;(function(t){t.Accept="accept",t.ContentType="content-type"})(Ur||(pt.Headers=Ur={}));var ro;(function(t){t.ApplicationJson="application/json"})(ro||(pt.MediaTypes=ro={}));function fae(t){let e=zN.getProxyUrl(new URL(t));return e?e.href:""}pt.getProxyUrl=fae;var hae=[ci.MovedPermanently,ci.ResourceMoved,ci.SeeOther,ci.TemporaryRedirect,ci.PermanentRedirect],gae=[ci.BadGateway,ci.ServiceUnavailable,ci.GatewayTimeout],mae=["OPTIONS","GET","DELETE","HEAD"],pae=10,yae=5,Qy=class t extends Error{constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}};pt.HttpClientError=Qy;var by=class{constructor(e){this.message=e}readBody(){return $t(this,void 0,void 0,function*(){return new Promise(e=>$t(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 $t(this,void 0,void 0,function*(){return new Promise(e=>$t(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};pt.HttpClientResponse=by;function Eae(t){return new URL(t).protocol==="https:"}pt.isHttps=Eae;var GN=class{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=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 $t(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return $t(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return $t(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return $t(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return $t(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return $t(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return $t(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return $t(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e,r={}){return $t(this,void 0,void 0,function*(){r[Ur.Accept]=this._getExistingOrDefaultHeader(r,Ur.Accept,ro.ApplicationJson);let n=yield this.get(e,r);return this._processResponse(n,this.requestOptions)})}postJson(e,r,n={}){return $t(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[Ur.Accept]=this._getExistingOrDefaultHeader(n,Ur.Accept,ro.ApplicationJson),n[Ur.ContentType]=this._getExistingOrDefaultHeader(n,Ur.ContentType,ro.ApplicationJson);let s=yield this.post(e,i,n);return this._processResponse(s,this.requestOptions)})}putJson(e,r,n={}){return $t(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[Ur.Accept]=this._getExistingOrDefaultHeader(n,Ur.Accept,ro.ApplicationJson),n[Ur.ContentType]=this._getExistingOrDefaultHeader(n,Ur.ContentType,ro.ApplicationJson);let s=yield this.put(e,i,n);return this._processResponse(s,this.requestOptions)})}patchJson(e,r,n={}){return $t(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[Ur.Accept]=this._getExistingOrDefaultHeader(n,Ur.Accept,ro.ApplicationJson),n[Ur.ContentType]=this._getExistingOrDefaultHeader(n,Ur.ContentType,ro.ApplicationJson);let s=yield this.patch(e,i,n);return this._processResponse(s,this.requestOptions)})}request(e,r,n,i){return $t(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),o=this._prepareRequest(e,s,i),a=this._allowRetries&&mae.includes(e)?this._maxRetries+1:1,A=0,c;do{if(c=yield this.requestRaw(o,n),c&&c.message&&c.message.statusCode===ci.Unauthorized){let u;for(let d of this.handlers)if(d.canHandleAuthentication(c)){u=d;break}return u?u.handleAuthentication(this,o,n):c}let l=this._maxRedirects;for(;c.message.statusCode&&hae.includes(c.message.statusCode)&&this._allowRedirects&&l>0;){let u=c.message.headers.location;if(!u)break;let d=new URL(u);if(s.protocol==="https:"&&s.protocol!==d.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield c.readBody(),d.hostname!==s.hostname)for(let f in i)f.toLowerCase()==="authorization"&&delete i[f];o=this._prepareRequest(e,d,i),c=yield this.requestRaw(o,n),l--}if(!c.message.statusCode||!gae.includes(c.message.statusCode))return c;A+=1,A<a&&(yield c.readBody(),yield this._performExponentialBackoff(A))}while(A<a);return c})}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,r){return $t(this,void 0,void 0,function*(){return new Promise((n,i)=>{function s(o,a){o?i(o):a?n(a):i(new Error("Unknown error"))}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(A,c){i||(i=!0,n(A,c))}let o=e.httpModule.request(e.options,A=>{let c=new by(A);s(void 0,c)}),a;o.on("socket",A=>{a=A}),o.setTimeout(this._socketTimeout||3*6e4,()=>{a&&a.end(),s(new Error(`Request timeout: ${e.options.path}`))}),o.on("error",function(A){s(A)}),r&&typeof r=="string"&&o.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){o.end()}),r.pipe(o)):o.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=zN.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?_1:jN;let o=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):o,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 a of this.handlers)a.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},By(this.requestOptions.headers),By(e||{})):By(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;return this.requestOptions&&this.requestOptions.headers&&(i=By(this.requestOptions.headers)[r]),e[r]||i||n}_getAgent(e){let r,n=zN.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:",o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||jN.globalAgent.maxSockets),n&&n.hostname){let a={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},A,c=n.protocol==="https:";s?A=c?Iy.httpsOverHttps:Iy.httpsOverHttp:A=c?Iy.httpOverHttps:Iy.httpOverHttp,r=A(a),this._proxyAgent=r}if(!r){let a={keepAlive:this._keepAlive,maxSockets:o};r=s?new _1.Agent(a):new jN.Agent(a),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 dae.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}_performExponentialBackoff(e){return $t(this,void 0,void 0,function*(){e=Math.min(pae,e);let r=yae*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return $t(this,void 0,void 0,function*(){return new Promise((n,i)=>$t(this,void 0,void 0,function*(){let s=e.message.statusCode||0,o={statusCode:s,result:null,headers:{}};s===ci.NotFound&&n(o);function a(l,u){if(typeof u=="string"){let d=new Date(u);if(!isNaN(d.valueOf()))return d}return u}let A,c;try{c=yield e.readBody(),c&&c.length>0&&(r&&r.deserializeDates?A=JSON.parse(c,a):A=JSON.parse(c),o.result=A),o.headers=e.message.headers}catch{}if(s>299){let l;A&&A.message?l=A.message:c&&c.length>0?l=c:l=`Failed request: (${s})`;let u=new Qy(l,s);u.result=o.result,i(u)}else n(o)}))})}};pt.HttpClient=GN;var By=t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{})});var wy=h(Es=>{"use strict";var WN=Es&&Es.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(Es,"__esModule",{value:!0});Es.PersonalAccessTokenCredentialHandler=Es.BearerCredentialHandler=Es.BasicCredentialHandler=void 0;var YN=class{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 WN(this,void 0,void 0,function*(){throw new Error("not implemented")})}};Es.BasicCredentialHandler=YN;var JN=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return WN(this,void 0,void 0,function*(){throw new Error("not implemented")})}};Es.BearerCredentialHandler=JN;var VN=class{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 WN(this,void 0,void 0,function*(){throw new Error("not implemented")})}};Es.PersonalAccessTokenCredentialHandler=VN});var P1=h(al=>{"use strict";var D1=al&&al.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(al,"__esModule",{value:!0});al.OidcClient=void 0;var Cae=AA(),Iae=wy(),k1=at(),$N=class t{static createHttpClient(e=!0,r=10){let n={allowRetries:e,maxRetries:r};return new Cae.HttpClient("actions/oidc-client",[new Iae.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){var r;return D1(this,void 0,void 0,function*(){let s=(r=(yield t.createHttpClient().getJson(e).catch(o=>{throw new Error(`Failed to get ID Token.
|
||
|
||
Error Code : ${o.statusCode}
|
||
|
||
Error Message: ${o.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 D1(this,void 0,void 0,function*(){try{let r=t.getIDTokenUrl();if(e){let i=encodeURIComponent(e);r=`${r}&audience=${i}`}(0,k1.debug)(`ID token url is ${r}`);let n=yield t.getCall(r);return(0,k1.setSecret)(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};al.OidcClient=$N});var ew=h(fn=>{"use strict";var KN=fn&&fn.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(fn,"__esModule",{value:!0});fn.summary=fn.markdownSummary=fn.SUMMARY_DOCS_URL=fn.SUMMARY_ENV_VAR=void 0;var Bae=require("os"),XN=require("fs"),{access:Qae,appendFile:bae,writeFile:Nae}=XN.promises;fn.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";fn.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var ZN=class{constructor(){this._buffer=""}filePath(){return KN(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[fn.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${fn.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield Qae(e,XN.constants.R_OK|XN.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,o])=>` ${s}="${o}"`).join("");return r?`<${e}${i}>${r}</${e}>`:`<${e}${i}>`}write(e){return KN(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Nae:bae)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return KN(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(Bae.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(o=>this.wrap("li",o)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(o=>{if(typeof o=="string")return this.wrap("td",o);let{header:a,data:A,colspan:c,rowspan:l}=o,u=a?"th":"td",d=Object.assign(Object.assign({},c&&{colspan:c}),l&&{rowspan:l});return this.wrap(u,A,d)}).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||{},o=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),a=this.wrap("img",null,Object.assign({src:e,alt:r},o));return this.addRaw(a).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()}},T1=new ZN;fn.markdownSummary=T1;fn.summary=T1});var O1=h(hn=>{"use strict";var wae=hn&&hn.__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]})),Sae=hn&&hn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),xae=hn&&hn.__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)&&wae(e,t,r);return Sae(e,t),e};Object.defineProperty(hn,"__esModule",{value:!0});hn.toPlatformPath=hn.toWin32Path=hn.toPosixPath=void 0;var Rae=xae(require("path"));function vae(t){return t.replace(/[\\]/g,"/")}hn.toPosixPath=vae;function _ae(t){return t.replace(/[/]/g,"\\")}hn.toWin32Path=_ae;function Dae(t){return t.replace(/[/\\]/g,Rae.sep)}hn.toPlatformPath=Dae});var rw=h(re=>{"use strict";var kae=re&&re.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Pae=re&&re.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),M1=re&&re.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&kae(e,t,r);return Pae(e,t),e},tw=re&&re.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})},gn;Object.defineProperty(re,"__esModule",{value:!0});re.getCmdPath=re.tryGetExecutablePath=re.isRooted=re.isDirectory=re.exists=re.READONLY=re.UV_FS_O_EXLOCK=re.IS_WINDOWS=re.unlink=re.symlink=re.stat=re.rmdir=re.rm=re.rename=re.readlink=re.readdir=re.open=re.mkdir=re.lstat=re.copyFile=re.chmod=void 0;var F1=M1(require("fs")),Sy=M1(require("path"));gn=F1.promises,re.chmod=gn.chmod,re.copyFile=gn.copyFile,re.lstat=gn.lstat,re.mkdir=gn.mkdir,re.open=gn.open,re.readdir=gn.readdir,re.readlink=gn.readlink,re.rename=gn.rename,re.rm=gn.rm,re.rmdir=gn.rmdir,re.stat=gn.stat,re.symlink=gn.symlink,re.unlink=gn.unlink;re.IS_WINDOWS=process.platform==="win32";re.UV_FS_O_EXLOCK=268435456;re.READONLY=F1.constants.O_RDONLY;function Tae(t){return tw(this,void 0,void 0,function*(){try{yield re.stat(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}re.exists=Tae;function Oae(t,e=!1){return tw(this,void 0,void 0,function*(){return(e?yield re.stat(t):yield re.lstat(t)).isDirectory()})}re.isDirectory=Oae;function Lae(t){if(t=Fae(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return re.IS_WINDOWS?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}re.isRooted=Lae;function Mae(t,e){return tw(this,void 0,void 0,function*(){let r;try{r=yield re.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(re.IS_WINDOWS){let i=Sy.extname(t).toUpperCase();if(e.some(s=>s.toUpperCase()===i))return t}else if(L1(r))return t}let n=t;for(let i of e){t=n+i,r=void 0;try{r=yield re.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(re.IS_WINDOWS){try{let s=Sy.dirname(t),o=Sy.basename(t).toUpperCase();for(let a of yield re.readdir(s))if(o===a.toUpperCase()){t=Sy.join(s,a);break}}catch(s){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${s}`)}return t}else if(L1(r))return t}}return""})}re.tryGetExecutablePath=Mae;function Fae(t){return t=t||"",re.IS_WINDOWS?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}function L1(t){return(t.mode&1)>0||(t.mode&8)>0&&t.gid===process.getgid()||(t.mode&64)>0&&t.uid===process.getuid()}function Uae(){var t;return(t=process.env.COMSPEC)!==null&&t!==void 0?t:"cmd.exe"}re.getCmdPath=Uae});var xy=h(Lt=>{"use strict";var qae=Lt&&Lt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Hae=Lt&&Lt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),U1=Lt&&Lt.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&qae(e,t,r);return Hae(e,t),e},Vo=Lt&&Lt.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(Lt,"__esModule",{value:!0});Lt.findInPath=Lt.which=Lt.mkdirP=Lt.rmRF=Lt.mv=Lt.cp=void 0;var jae=require("assert"),Cs=U1(require("path")),We=U1(rw());function zae(t,e,r={}){return Vo(this,void 0,void 0,function*(){let{force:n,recursive:i,copySourceDirectory:s}=Yae(r),o=(yield We.exists(e))?yield We.stat(e):null;if(o&&o.isFile()&&!n)return;let a=o&&o.isDirectory()&&s?Cs.join(e,Cs.basename(t)):e;if(!(yield We.exists(t)))throw new Error(`no such file or directory: ${t}`);if((yield We.stat(t)).isDirectory())if(i)yield z1(t,a,0,n);else throw new Error(`Failed to copy. ${t} is a directory, but tried to copy without recursive flag.`);else{if(Cs.relative(t,a)==="")throw new Error(`'${a}' and '${t}' are the same file`);yield G1(t,a,n)}})}Lt.cp=zae;function Gae(t,e,r={}){return Vo(this,void 0,void 0,function*(){if(yield We.exists(e)){let n=!0;if((yield We.isDirectory(e))&&(e=Cs.join(e,Cs.basename(t)),n=yield We.exists(e)),n)if(r.force==null||r.force)yield q1(e);else throw new Error("Destination already exists")}yield nw(Cs.dirname(e)),yield We.rename(t,e)})}Lt.mv=Gae;function q1(t){return Vo(this,void 0,void 0,function*(){if(We.IS_WINDOWS&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield We.rm(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}Lt.rmRF=q1;function nw(t){return Vo(this,void 0,void 0,function*(){jae.ok(t,"a path argument must be provided"),yield We.mkdir(t,{recursive:!0})})}Lt.mkdirP=nw;function H1(t,e){return Vo(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield H1(t,!1);if(!n)throw We.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 j1(t);return r&&r.length>0?r[0]:""})}Lt.which=H1;function j1(t){return Vo(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(We.IS_WINDOWS&&process.env.PATHEXT)for(let i of process.env.PATHEXT.split(Cs.delimiter))i&&e.push(i);if(We.isRooted(t)){let i=yield We.tryGetExecutablePath(t,e);return i?[i]:[]}if(t.includes(Cs.sep))return[];let r=[];if(process.env.PATH)for(let i of process.env.PATH.split(Cs.delimiter))i&&r.push(i);let n=[];for(let i of r){let s=yield We.tryGetExecutablePath(Cs.join(i,t),e);s&&n.push(s)}return n})}Lt.findInPath=j1;function Yae(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}}function z1(t,e,r,n){return Vo(this,void 0,void 0,function*(){if(r>=255)return;r++,yield nw(e);let i=yield We.readdir(t);for(let s of i){let o=`${t}/${s}`,a=`${e}/${s}`;(yield We.lstat(o)).isDirectory()?yield z1(o,a,r,n):yield G1(o,a,n)}yield We.chmod(e,(yield We.stat(t)).mode)})}function G1(t,e,r){return Vo(this,void 0,void 0,function*(){if((yield We.lstat(t)).isSymbolicLink()){try{yield We.lstat(e),yield We.unlink(e)}catch(i){i.code==="EPERM"&&(yield We.chmod(e,"0666"),yield We.unlink(e))}let n=yield We.readlink(t);yield We.symlink(n,e,We.IS_WINDOWS?"junction":null)}else(!(yield We.exists(e))||r)&&(yield We.copyFile(t,e))})}});var W1=h(mn=>{"use strict";var Jae=mn&&mn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Vae=mn&&mn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Al=mn&&mn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&Jae(e,t,r);return Vae(e,t),e},Y1=mn&&mn.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(mn,"__esModule",{value:!0});mn.argStringToArray=mn.ToolRunner=void 0;var Ry=Al(require("os")),V1=Al(require("events")),Wae=Al(require("child_process")),$ae=Al(require("path")),Kae=Al(xy()),J1=Al(rw()),Xae=require("timers"),vy=process.platform==="win32",iw=class extends V1.EventEmitter{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(vy)if(this._isCmdFile()){s+=n;for(let o of i)s+=` ${o}`}else if(e.windowsVerbatimArguments){s+=`"${n}"`;for(let o of i)s+=` ${o}`}else{s+=this._windowsQuoteCmdArg(n);for(let o of i)s+=` ${this._windowsQuoteCmdArg(o)}`}else{s+=n;for(let o of i)s+=` ${o}`}return s}_processLineBuffer(e,r,n){try{let i=r+e.toString(),s=i.indexOf(Ry.EOL);for(;s>-1;){let o=i.substring(0,s);n(o),i=i.substring(s+Ry.EOL.length),s=i.indexOf(Ry.EOL)}return i}catch(i){return this._debug(`error processing line. Failed with error ${i}`),""}}_getSpawnFileName(){return vy&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(vy&&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 o of e)if(r.some(a=>a===o)){n=!0;break}if(!n)return e;let i='"',s=!0;for(let o=e.length;o>0;o--)i+=e[o-1],s&&e[o-1]==="\\"?i+="\\":e[o-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 Y1(this,void 0,void 0,function*(){return!J1.isRooted(this.toolPath)&&(this.toolPath.includes("/")||vy&&this.toolPath.includes("\\"))&&(this.toolPath=$ae.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield Kae.which(this.toolPath,!0),new Promise((e,r)=>Y1(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let c of this.args)this._debug(` ${c}`);let n=this._cloneExecOptions(this.options);!n.silent&&n.outStream&&n.outStream.write(this._getCommandString(n)+Ry.EOL);let i=new sw(n,this.toolPath);if(i.on("debug",c=>{this._debug(c)}),this.options.cwd&&!(yield J1.exists(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let s=this._getSpawnFileName(),o=Wae.spawn(s,this._getSpawnArgs(n),this._getSpawnOptions(this.options,s)),a="";o.stdout&&o.stdout.on("data",c=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(c),!n.silent&&n.outStream&&n.outStream.write(c),a=this._processLineBuffer(c,a,l=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(l)})});let A="";if(o.stderr&&o.stderr.on("data",c=>{i.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(c),!n.silent&&n.errStream&&n.outStream&&(n.failOnStdErr?n.errStream:n.outStream).write(c),A=this._processLineBuffer(c,A,l=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(l)})}),o.on("error",c=>{i.processError=c.message,i.processExited=!0,i.processClosed=!0,i.CheckComplete()}),o.on("exit",c=>{i.processExitCode=c,i.processExited=!0,this._debug(`Exit code ${c} received from tool '${this.toolPath}'`),i.CheckComplete()}),o.on("close",c=>{i.processExitCode=c,i.processExited=!0,i.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),i.CheckComplete()}),i.on("done",(c,l)=>{a.length>0&&this.emit("stdline",a),A.length>0&&this.emit("errline",A),o.removeAllListeners(),c?r(c):e(l)}),this.options.input){if(!o.stdin)throw new Error("child process missing stdin");o.stdin.end(this.options.input)}}))})}};mn.ToolRunner=iw;function Zae(t){let e=[],r=!1,n=!1,i="";function s(o){n&&o!=='"'&&(i+="\\"),i+=o,n=!1}for(let o=0;o<t.length;o++){let a=t.charAt(o);if(a==='"'){n?s(a):r=!r;continue}if(a==="\\"&&n){s(a);continue}if(a==="\\"&&r){n=!0;continue}if(a===" "&&!r){i.length>0&&(e.push(i),i="");continue}s(a)}return i.length>0&&e.push(i.trim()),e}mn.argStringToArray=Zae;var sw=class t extends V1.EventEmitter{constructor(e,r){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!r)throw new Error("toolPath must not be empty");this.options=e,this.toolPath=r,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=Xae.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 Of=h(pn=>{"use strict";var eAe=pn&&pn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),tAe=pn&&pn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),rAe=pn&&pn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&eAe(e,t,r);return tAe(e,t),e},X1=pn&&pn.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(pn,"__esModule",{value:!0});pn.getExecOutput=pn.exec=void 0;var $1=require("string_decoder"),K1=rAe(W1());function Z1(t,e,r){return X1(this,void 0,void 0,function*(){let n=K1.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 K1.ToolRunner(i,e,r).exec()})}pn.exec=Z1;function nAe(t,e,r){var n,i;return X1(this,void 0,void 0,function*(){let s="",o="",a=new $1.StringDecoder("utf8"),A=new $1.StringDecoder("utf8"),c=(n=r?.listeners)===null||n===void 0?void 0:n.stdout,l=(i=r?.listeners)===null||i===void 0?void 0:i.stderr,u=m=>{o+=A.write(m),l&&l(m)},d=m=>{s+=a.write(m),c&&c(m)},f=Object.assign(Object.assign({},r?.listeners),{stdout:d,stderr:u}),g=yield Z1(t,e,Object.assign(Object.assign({},r),{listeners:f}));return s+=a.end(),o+=A.end(),{exitCode:g,stdout:s,stderr:o}})}pn.getExecOutput=nAe});var tq=h(qe=>{"use strict";var iAe=qe&&qe.__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]})),sAe=qe&&qe.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),oAe=qe&&qe.__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)&&iAe(e,t,r);return sAe(e,t),e},Dy=qe&&qe.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})},aAe=qe&&qe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(qe,"__esModule",{value:!0});qe.getDetails=qe.isLinux=qe.isMacOS=qe.isWindows=qe.arch=qe.platform=void 0;var eq=aAe(require("os")),_y=oAe(Of()),AAe=()=>Dy(void 0,void 0,void 0,function*(){let{stdout:t}=yield _y.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',void 0,{silent:!0}),{stdout:e}=yield _y.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0});return{name:e.trim(),version:t.trim()}}),cAe=()=>Dy(void 0,void 0,void 0,function*(){var t,e,r,n;let{stdout:i}=yield _y.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}}),lAe=()=>Dy(void 0,void 0,void 0,function*(){let{stdout:t}=yield _y.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[e,r]=t.trim().split(`
|
||
`);return{name:e,version:r}});qe.platform=eq.default.platform();qe.arch=eq.default.arch();qe.isWindows=qe.platform==="win32";qe.isMacOS=qe.platform==="darwin";qe.isLinux=qe.platform==="linux";function uAe(){return Dy(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield qe.isWindows?AAe():qe.isMacOS?cAe():lAe()),{platform:qe.platform,arch:qe.arch,isWindows:qe.isWindows,isMacOS:qe.isMacOS,isLinux:qe.isLinux})})}qe.getDetails=uAe});var at=h(te=>{"use strict";var dAe=te&&te.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),fAe=te&&te.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),aw=te&&te.__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)&&dAe(e,t,r);return fAe(e,t),e},rq=te&&te.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(te,"__esModule",{value:!0});te.platform=te.toPlatformPath=te.toWin32Path=te.toPosixPath=te.markdownSummary=te.summary=te.getIDToken=te.getState=te.saveState=te.group=te.endGroup=te.startGroup=te.info=te.notice=te.warning=te.error=te.debug=te.isDebug=te.setFailed=te.setCommandEcho=te.setOutput=te.getBooleanInput=te.getMultilineInput=te.getInput=te.addPath=te.setSecret=te.exportVariable=te.ExitCode=void 0;var li=TP(),cA=MP(),cl=Dm(),nq=aw(require("os")),hAe=aw(require("path")),gAe=P1(),ow;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(ow||(te.ExitCode=ow={}));function mAe(t,e){let r=(0,cl.toCommandValue)(e);if(process.env[t]=r,process.env.GITHUB_ENV||"")return(0,cA.issueFileCommand)("ENV",(0,cA.prepareKeyValueMessage)(t,e));(0,li.issueCommand)("set-env",{name:t},r)}te.exportVariable=mAe;function pAe(t){(0,li.issueCommand)("add-mask",{},t)}te.setSecret=pAe;function yAe(t){process.env.GITHUB_PATH||""?(0,cA.issueFileCommand)("PATH",t):(0,li.issueCommand)("add-path",{},t),process.env.PATH=`${t}${hAe.delimiter}${process.env.PATH}`}te.addPath=yAe;function Aw(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()}te.getInput=Aw;function EAe(t,e){let r=Aw(t,e).split(`
|
||
`).filter(n=>n!=="");return e&&e.trimWhitespace===!1?r:r.map(n=>n.trim())}te.getMultilineInput=EAe;function CAe(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=Aw(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\``)}te.getBooleanInput=CAe;function IAe(t,e){if(process.env.GITHUB_OUTPUT||"")return(0,cA.issueFileCommand)("OUTPUT",(0,cA.prepareKeyValueMessage)(t,e));process.stdout.write(nq.EOL),(0,li.issueCommand)("set-output",{name:t},(0,cl.toCommandValue)(e))}te.setOutput=IAe;function BAe(t){(0,li.issue)("echo",t?"on":"off")}te.setCommandEcho=BAe;function QAe(t){process.exitCode=ow.Failure,iq(t)}te.setFailed=QAe;function bAe(){return process.env.RUNNER_DEBUG==="1"}te.isDebug=bAe;function NAe(t){(0,li.issueCommand)("debug",{},t)}te.debug=NAe;function iq(t,e={}){(0,li.issueCommand)("error",(0,cl.toCommandProperties)(e),t instanceof Error?t.toString():t)}te.error=iq;function wAe(t,e={}){(0,li.issueCommand)("warning",(0,cl.toCommandProperties)(e),t instanceof Error?t.toString():t)}te.warning=wAe;function SAe(t,e={}){(0,li.issueCommand)("notice",(0,cl.toCommandProperties)(e),t instanceof Error?t.toString():t)}te.notice=SAe;function xAe(t){process.stdout.write(t+nq.EOL)}te.info=xAe;function sq(t){(0,li.issue)("group",t)}te.startGroup=sq;function oq(){(0,li.issue)("endgroup")}te.endGroup=oq;function RAe(t,e){return rq(this,void 0,void 0,function*(){sq(t);let r;try{r=yield e()}finally{oq()}return r})}te.group=RAe;function vAe(t,e){if(process.env.GITHUB_STATE||"")return(0,cA.issueFileCommand)("STATE",(0,cA.prepareKeyValueMessage)(t,e));(0,li.issueCommand)("save-state",{name:t},(0,cl.toCommandValue)(e))}te.saveState=vAe;function _Ae(t){return process.env[`STATE_${t}`]||""}te.getState=_Ae;function DAe(t){return rq(this,void 0,void 0,function*(){return yield gAe.OidcClient.getIDToken(t)})}te.getIDToken=DAe;var kAe=ew();Object.defineProperty(te,"summary",{enumerable:!0,get:function(){return kAe.summary}});var PAe=ew();Object.defineProperty(te,"markdownSummary",{enumerable:!0,get:function(){return PAe.markdownSummary}});var cw=O1();Object.defineProperty(te,"toPosixPath",{enumerable:!0,get:function(){return cw.toPosixPath}});Object.defineProperty(te,"toWin32Path",{enumerable:!0,get:function(){return cw.toWin32Path}});Object.defineProperty(te,"toPlatformPath",{enumerable:!0,get:function(){return cw.toPlatformPath}});te.platform=aw(tq())});var aq=h(Is=>{"use strict";var TAe=Is&&Is.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),OAe=Is&&Is.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),LAe=Is&&Is.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&TAe(e,t,r);return OAe(e,t),e};Object.defineProperty(Is,"__esModule",{value:!0});Is.getOptions=void 0;var lw=LAe(at());function MAe(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,omitBrokenSymbolicLinks:!0};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,lw.debug(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,lw.debug(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,lw.debug(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`))),e}Is.getOptions=MAe});var Py=h(Mt=>{"use strict";var FAe=Mt&&Mt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),UAe=Mt&&Mt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),qAe=Mt&&Mt.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&FAe(e,t,r);return UAe(e,t),e},HAe=Mt&&Mt.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Mt,"__esModule",{value:!0});Mt.safeTrimTrailingSeparator=Mt.normalizeSeparators=Mt.hasRoot=Mt.hasAbsoluteRoot=Mt.ensureAbsoluteRoot=Mt.dirname=void 0;var ky=qAe(require("path")),lA=HAe(require("assert")),Wo=process.platform==="win32";function jAe(t){if(t=dw(t),Wo&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=ky.dirname(t);return Wo&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=dw(e)),e}Mt.dirname=jAe;function zAe(t,e){if(lA.default(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),lA.default(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),uw(e))return e;if(Wo){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return lA.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(Lf(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return lA.default(r.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${r}'`),`${r[0]}:\\${e.substr(1)}`}}return lA.default(uw(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||Wo&&t.endsWith("\\")||(t+=ky.sep),t+e}Mt.ensureAbsoluteRoot=zAe;function uw(t){return lA.default(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=Lf(t),Wo?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}Mt.hasAbsoluteRoot=uw;function GAe(t){return lA.default(t,"isRooted parameter 'itemPath' must not be empty"),t=Lf(t),Wo?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}Mt.hasRoot=GAe;function Lf(t){return t=t||"",Wo?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}Mt.normalizeSeparators=Lf;function dw(t){return t?(t=Lf(t),!t.endsWith(ky.sep)||t===ky.sep||Wo&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}Mt.safeTrimTrailingSeparator=dw});var Ty=h(Mf=>{"use strict";Object.defineProperty(Mf,"__esModule",{value:!0});Mf.MatchKind=void 0;var YAe;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(YAe=Mf.MatchKind||(Mf.MatchKind={}))});var lq=h(yn=>{"use strict";var JAe=yn&&yn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),VAe=yn&&yn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),WAe=yn&&yn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&JAe(e,t,r);return VAe(e,t),e};Object.defineProperty(yn,"__esModule",{value:!0});yn.partialMatch=yn.match=yn.getSearchPaths=void 0;var Aq=WAe(Py()),$Ae=Ty(),cq=process.platform==="win32";function KAe(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let i=cq?n.searchPath.toUpperCase():n.searchPath;e[i]="candidate"}let r=[];for(let n of t){let i=cq?n.searchPath.toUpperCase():n.searchPath;if(e[i]==="included")continue;let s=!1,o=i,a=Aq.dirname(o);for(;a!==o;){if(e[a]){s=!0;break}o=a,a=Aq.dirname(o)}s||(r.push(n.searchPath),e[i]="included")}return r}yn.getSearchPaths=KAe;function XAe(t,e){let r=$Ae.MatchKind.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}yn.match=XAe;function ZAe(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}yn.partialMatch=ZAe});var dq=h((NMe,uq)=>{uq.exports=function(t,e){for(var r=[],n=0;n<t.length;n++){var i=e(t[n],n);ece(i)?r.push.apply(r,i):r.push(i)}return r};var ece=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}});var pq=h((wMe,mq)=>{"use strict";mq.exports=hq;function hq(t,e,r){t instanceof RegExp&&(t=fq(t,r)),e instanceof RegExp&&(e=fq(e,r));var n=gq(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)}}function fq(t,e){var r=e.match(t);return r?r[0]:null}hq.range=gq;function gq(t,e,r){var n,i,s,o,a,A=r.indexOf(t),c=r.indexOf(e,A+1),l=A;if(A>=0&&c>0){if(t===e)return[A,c];for(n=[],s=r.length;l>=0&&!a;)l==A?(n.push(l),A=r.indexOf(t,l+1)):n.length==1?a=[n.pop(),c]:(i=n.pop(),i<s&&(s=i,o=c),c=r.indexOf(e,l+1)),l=A<c&&A>=0?A:c;n.length&&(a=[s,o])}return a}});var Nq=h((SMe,bq)=>{var tce=dq(),yq=pq();bq.exports=ice;var Eq="\0SLASH"+Math.random()+"\0",Cq="\0OPEN"+Math.random()+"\0",hw="\0CLOSE"+Math.random()+"\0",Iq="\0COMMA"+Math.random()+"\0",Bq="\0PERIOD"+Math.random()+"\0";function fw(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function rce(t){return t.split("\\\\").join(Eq).split("\\{").join(Cq).split("\\}").join(hw).split("\\,").join(Iq).split("\\.").join(Bq)}function nce(t){return t.split(Eq).join("\\").split(Cq).join("{").split(hw).join("}").split(Iq).join(",").split(Bq).join(".")}function Qq(t){if(!t)return[""];var e=[],r=yq("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,o=n.split(",");o[o.length-1]+="{"+i+"}";var a=Qq(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function ice(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),ll(rce(t),!0).map(nce)):[]}function sce(t){return"{"+t+"}"}function oce(t){return/^-?0\d/.test(t)}function ace(t,e){return t<=e}function Ace(t,e){return t>=e}function ll(t,e){var r=[],n=yq("{","}",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),o=i||s,a=n.body.indexOf(",")>=0;if(!o&&!a)return n.post.match(/,(?!,).*\}/)?(t=n.pre+"{"+n.body+hw+n.post,ll(t)):[t];var A;if(o)A=n.body.split(/\.\./);else if(A=Qq(n.body),A.length===1&&(A=ll(A[0],!1).map(sce),A.length===1)){var l=n.post.length?ll(n.post,!1):[""];return l.map(function(Re){return n.pre+A[0]+Re})}var c=n.pre,l=n.post.length?ll(n.post,!1):[""],u;if(o){var d=fw(A[0]),f=fw(A[1]),g=Math.max(A[0].length,A[1].length),m=A.length==3?Math.abs(fw(A[2])):1,E=ace,C=f<d;C&&(m*=-1,E=Ace);var I=A.some(oce);u=[];for(var N=d;E(N,f);N+=m){var w;if(s)w=String.fromCharCode(N),w==="\\"&&(w="");else if(w=String(N),I){var v=g-w.length;if(v>0){var T=new Array(v+1).join("0");N<0?w="-"+T+w.slice(1):w=T+w}}u.push(w)}}else u=tce(A,function(be){return ll(be,!1)});for(var U=0;U<u.length;U++)for(var k=0;k<l.length;k++){var J=c+u[U]+l[k];(!e||o||J)&&r.push(J)}return r}});var yw=h((xMe,vq)=>{vq.exports=Yn;Yn.Minimatch=Dr;var Ff=(function(){try{return require("path")}catch{}})()||{sep:"/"};Yn.sep=Ff.sep;var pw=Yn.GLOBSTAR=Dr.GLOBSTAR={},cce=Nq(),wq={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},gw="[^/]",mw=gw+"*?",lce="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",uce="(?:(?!(?:\\/|^)\\.).)*?",Sq=dce("().*{}+?[]^$\\!");function dce(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}var xq=/\/+/;Yn.filter=fce;function fce(t,e){return e=e||{},function(r,n,i){return Yn(r,t,e)}}function $o(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}Yn.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return Yn;var e=Yn,r=function(i,s,o){return e(i,s,$o(t,o))};return r.Minimatch=function(i,s){return new e.Minimatch(i,$o(t,s))},r.Minimatch.defaults=function(i){return e.defaults($o(t,i)).Minimatch},r.filter=function(i,s){return e.filter(i,$o(t,s))},r.defaults=function(i){return e.defaults($o(t,i))},r.makeRe=function(i,s){return e.makeRe(i,$o(t,s))},r.braceExpand=function(i,s){return e.braceExpand(i,$o(t,s))},r.match=function(n,i,s){return e.match(n,i,$o(t,s))},r};Dr.defaults=function(t){return Yn.defaults(t).Minimatch};function Yn(t,e,r){return Ly(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new Dr(e,r).match(t)}function Dr(t,e){if(!(this instanceof Dr))return new Dr(t,e);Ly(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&Ff.sep!=="/"&&(t=t.split(Ff.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()}Dr.prototype.debug=function(){};Dr.prototype.make=hce;function hce(){var t=this.pattern,e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,r),r=this.globParts=r.map(function(n){return n.split(xq)}),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}Dr.prototype.parseNegate=gce;function gce(){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}}Yn.braceExpand=function(t,e){return Rq(t,e)};Dr.prototype.braceExpand=Rq;function Rq(t,e){return e||(this instanceof Dr?e=this.options:e={}),t=typeof t>"u"?this.pattern:t,Ly(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:cce(t)}var mce=1024*64,Ly=function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>mce)throw new TypeError("pattern is too long")};Dr.prototype.parse=pce;var Oy={};function pce(t,e){Ly(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return pw;if(t==="")return"";var n="",i=!!r.nocase,s=!1,o=[],a=[],A,c=!1,l=-1,u=-1,d=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",f=this;function g(){if(A){switch(A){case"*":n+=mw,i=!0;break;case"?":n+=gw,i=!0;break;default:n+="\\"+A;break}f.debug("clearStateChar %j %j",A,n),A=!1}}for(var m=0,E=t.length,C;m<E&&(C=t.charAt(m));m++){if(this.debug("%s %s %s %j",t,m,n,C),s&&Sq[C]){n+="\\"+C,s=!1;continue}switch(C){case"/":return!1;case"\\":g(),s=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",t,m,n,C),c){this.debug(" in class"),C==="!"&&m===u+1&&(C="^"),n+=C;continue}f.debug("call clearStateChar %j",A),g(),A=C,r.noext&&g();continue;case"(":if(c){n+="(";continue}if(!A){n+="\\(";continue}o.push({type:A,start:m-1,reStart:n.length,open:wq[A].open,close:wq[A].close}),n+=A==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",A,n),A=!1;continue;case")":if(c||!o.length){n+="\\)";continue}g(),i=!0;var I=o.pop();n+=I.close,I.type==="!"&&a.push(I),I.reEnd=n.length;continue;case"|":if(c||!o.length||s){n+="\\|",s=!1;continue}g(),n+="|";continue;case"[":if(g(),c){n+="\\"+C;continue}c=!0,u=m,l=n.length,n+=C;continue;case"]":if(m===u+1||!c){n+="\\"+C,s=!1;continue}var N=t.substring(u+1,m);try{RegExp("["+N+"]")}catch{var w=this.parse(N,Oy);n=n.substr(0,l)+"\\["+w[0]+"\\]",i=i||w[1],c=!1;continue}i=!0,c=!1,n+=C;continue;default:g(),s?s=!1:Sq[C]&&!(C==="^"&&c)&&(n+="\\"),n+=C}}for(c&&(N=t.substr(u+1),w=this.parse(N,Oy),n=n.substr(0,l)+"\\["+w[0],i=i||w[1]),I=o.pop();I;I=o.pop()){var v=n.slice(I.reStart+I.open.length);this.debug("setting tail",n,I),v=v.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(Mi,_o,Hs){return Hs||(Hs="\\"),_o+_o+Hs+"|"}),this.debug(`tail=%j
|
||
%s`,v,v,I,n);var T=I.type==="*"?mw:I.type==="?"?gw:"\\"+I.type;i=!0,n=n.slice(0,I.reStart)+T+"\\("+v}g(),s&&(n+="\\\\");var U=!1;switch(n.charAt(0)){case"[":case".":case"(":U=!0}for(var k=a.length-1;k>-1;k--){var J=a[k],be=n.slice(0,J.reStart),Re=n.slice(J.reStart,J.reEnd-8),H=n.slice(J.reEnd-8,J.reEnd),_e=n.slice(J.reEnd);H+=_e;var rt=be.split("(").length-1,Or=_e;for(m=0;m<rt;m++)Or=Or.replace(/\)[+*?]?/,"");_e=Or;var fr="";_e===""&&e!==Oy&&(fr="$");var Ro=be+Re+_e+fr+H;n=Ro}if(n!==""&&i&&(n="(?=.)"+n),U&&(n=d+n),e===Oy)return[n,i];if(!i)return Ece(t);var vo=r.nocase?"i":"";try{var Li=new RegExp("^"+n+"$",vo)}catch{return new RegExp("$.")}return Li._glob=t,Li._src=n,Li}Yn.makeRe=function(t,e){return new Dr(t,e||{}).makeRe()};Dr.prototype.makeRe=yce;function yce(){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?mw:e.dot?lce:uce,n=e.nocase?"i":"",i=t.map(function(s){return s.map(function(o){return o===pw?r:typeof o=="string"?Cce(o):o._src}).join("\\/")}).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,n)}catch{this.regexp=!1}return this.regexp}Yn.match=function(t,e,r){r=r||{};var n=new Dr(e,r);return t=t.filter(function(i){return n.match(i)}),n.options.nonull&&!t.length&&t.push(e),t};Dr.prototype.match=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;Ff.sep!=="/"&&(e=e.split(Ff.sep).join("/")),e=e.split(xq),this.debug(this.pattern,"split",e);var i=this.set;this.debug(this.pattern,"set",i);var s,o;for(o=e.length-1;o>=0&&(s=e[o],!s);o--);for(o=0;o<i.length;o++){var a=i[o],A=e;n.matchBase&&a.length===1&&(A=[s]);var c=this.matchOne(A,a,r);if(c)return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate};Dr.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,o=t.length,a=e.length;i<o&&s<a;i++,s++){this.debug("matchOne loop");var A=e[s],c=t[i];if(this.debug(e,A,c),A===!1)return!1;if(A===pw){this.debug("GLOBSTAR",[e,A,c]);var l=i,u=s+1;if(u===a){for(this.debug("** at the end");i<o;i++)if(t[i]==="."||t[i]===".."||!n.dot&&t[i].charAt(0)===".")return!1;return!0}for(;l<o;){var d=t[l];if(this.debug(`
|
||
globstar while`,t,l,e,u,d),this.matchOne(t.slice(l),e.slice(u),r))return this.debug("globstar found match!",l,o,d),!0;if(d==="."||d===".."||!n.dot&&d.charAt(0)==="."){this.debug("dot detected!",t,l,e,u);break}this.debug("globstar swallow a segment, and continue"),l++}return!!(r&&(this.debug(`
|
||
>>> no match, partial?`,t,l,e,u),l===o))}var f;if(typeof A=="string"?(f=c===A,this.debug("string match",A,c,f)):(f=c.match(A),this.debug("pattern match",A,c,f)),!f)return!1}if(i===o&&s===a)return!0;if(i===o)return r;if(s===a)return i===o-1&&t[i]==="";throw new Error("wtf?")};function Ece(t){return t.replace(/\\(.)/g,"$1")}function Cce(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var Dq=h(ui=>{"use strict";var Ice=ui&&ui.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Bce=ui&&ui.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),_q=ui&&ui.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&Ice(e,t,r);return Bce(e,t),e},Qce=ui&&ui.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ui,"__esModule",{value:!0});ui.Path=void 0;var Uf=_q(require("path")),Ko=_q(Py()),qf=Qce(require("assert")),bce=process.platform==="win32",Ew=class{constructor(e){if(this.segments=[],typeof e=="string")if(qf.default(e,"Parameter 'itemPath' must not be empty"),e=Ko.safeTrimTrailingSeparator(e),!Ko.hasRoot(e))this.segments=e.split(Uf.sep);else{let r=e,n=Ko.dirname(r);for(;n!==r;){let i=Uf.basename(r);this.segments.unshift(i),r=n,n=Ko.dirname(r)}this.segments.unshift(r)}else{qf.default(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let r=0;r<e.length;r++){let n=e[r];qf.default(n,"Parameter 'itemPath' must not contain any empty segments"),n=Ko.normalizeSeparators(e[r]),r===0&&Ko.hasRoot(n)?(n=Ko.safeTrimTrailingSeparator(n),qf.default(n===Ko.dirname(n),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(n)):(qf.default(!n.includes(Uf.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(n))}}}toString(){let e=this.segments[0],r=e.endsWith(Uf.sep)||bce&&/^[A-Z]:$/i.test(e);for(let n=1;n<this.segments.length;n++)r?r=!1:e+=Uf.sep,e+=this.segments[n];return e}};ui.Path=Ew});var kq=h(di=>{"use strict";var Nce=di&&di.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),wce=di&&di.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Bw=di&&di.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&Nce(e,t,r);return wce(e,t),e},Sce=di&&di.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(di,"__esModule",{value:!0});di.Pattern=void 0;var xce=Bw(require("os")),Hf=Bw(require("path")),En=Bw(Py()),uA=Sce(require("assert")),Rce=yw(),Cw=Ty(),My=Dq(),no=process.platform==="win32",Iw=class t{constructor(e,r=!1,n,i){this.negate=!1;let s;if(typeof e=="string")s=e.trim();else{n=n||[],uA.default(n.length,"Parameter 'segments' must not empty");let c=t.getLiteral(n[0]);uA.default(c&&En.hasAbsoluteRoot(c),"Parameter 'segments' first element must be a root path"),s=new My.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 My.Path(s).segments,this.trailingSeparator=En.normalizeSeparators(s).endsWith(Hf.sep),s=En.safeTrimTrailingSeparator(s);let o=!1,a=this.segments.map(c=>t.getLiteral(c)).filter(c=>!o&&!(o=c===""));this.searchPath=new My.Path(a).toString(),this.rootRegExp=new RegExp(t.regExpEscape(a[0]),no?"i":""),this.isImplicitPattern=r;let A={dot:!0,nobrace:!0,nocase:no,nocomment:!0,noext:!0,nonegate:!0};s=no?s.replace(/\\/g,"/"):s,this.minimatch=new Rce.Minimatch(s,A)}match(e){return this.segments[this.segments.length-1]==="**"?(e=En.normalizeSeparators(e),!e.endsWith(Hf.sep)&&this.isImplicitPattern===!1&&(e=`${e}${Hf.sep}`)):e=En.safeTrimTrailingSeparator(e),this.minimatch.match(e)?this.trailingSeparator?Cw.MatchKind.Directory:Cw.MatchKind.All:Cw.MatchKind.None}partialMatch(e){return e=En.safeTrimTrailingSeparator(e),En.dirname(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(no?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(no?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){uA.default(e,"pattern cannot be empty");let n=new My.Path(e).segments.map(i=>t.getLiteral(i));if(uA.default(n.every((i,s)=>(i!=="."||s===0)&&i!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),uA.default(!En.hasRoot(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=En.normalizeSeparators(e),e==="."||e.startsWith(`.${Hf.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${Hf.sep}`))r=r||xce.homedir(),uA.default(r,"Unable to determine HOME directory"),uA.default(En.hasAbsoluteRoot(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(no&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let i=En.ensureAbsoluteRoot("C:\\dummy-root",e.substr(0,2));e.length>2&&!i.endsWith("\\")&&(i+="\\"),e=t.globEscape(i)+e.substr(2)}else if(no&&(e==="\\"||e.match(/^\\[^\\]/))){let i=En.ensureAbsoluteRoot("C:\\dummy-root","\\");i.endsWith("\\")||(i+="\\"),e=t.globEscape(i)+e.substr(1)}else e=En.ensureAbsoluteRoot(t.globEscape(process.cwd()),e);return En.normalizeSeparators(e)}static getLiteral(e){let r="";for(let n=0;n<e.length;n++){let i=e[n];if(i==="\\"&&!no&&n+1<e.length){r+=e[++n];continue}else{if(i==="*"||i==="?")return"";if(i==="["&&n+1<e.length){let s="",o=-1;for(let a=n+1;a<e.length;a++){let A=e[a];if(A==="\\"&&!no&&a+1<e.length){s+=e[++a];continue}else if(A==="]"){o=a;break}else s+=A}if(o>=0){if(s.length>1)return"";if(s){r+=s,n=o;continue}}}}r+=i}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};di.Pattern=Iw});var Pq=h(Fy=>{"use strict";Object.defineProperty(Fy,"__esModule",{value:!0});Fy.SearchState=void 0;var Qw=class{constructor(e,r){this.path=e,this.level=r}};Fy.SearchState=Qw});var Fq=h(gr=>{"use strict";var vce=gr&&gr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),_ce=gr&&gr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),zf=gr&&gr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&vce(e,t,r);return _ce(e,t),e},bw=gr&&gr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})},Dce=gr&&gr.__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(o){return new Promise(function(a,A){o=t[s](o),i(a,A,o.done,o.value)})}}function i(s,o,a,A){Promise.resolve(A).then(function(c){s({value:c,done:a})},o)}},Xo=gr&&gr.__await||function(t){return this instanceof Xo?(this.v=t,this):new Xo(t)},kce=gr&&gr.__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={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(d){n[d]&&(i[d]=function(f){return new Promise(function(g,m){s.push([d,f,g,m])>1||a(d,f)})})}function a(d,f){try{A(n[d](f))}catch(g){u(s[0][3],g)}}function A(d){d.value instanceof Xo?Promise.resolve(d.value.v).then(c,l):u(s[0][2],d)}function c(d){a("next",d)}function l(d){a("throw",d)}function u(d,f){d(f),s.shift(),s.length&&a(s[0][0],s[0][1])}};Object.defineProperty(gr,"__esModule",{value:!0});gr.DefaultGlobber=void 0;var Nw=zf(at()),jf=zf(require("fs")),Tq=zf(aq()),Pce=zf(require("path")),Uy=zf(lq()),Oq=Ty(),Lq=kq(),Mq=Pq(),Tce=process.platform==="win32",ww=class t{constructor(e){this.patterns=[],this.searchPaths=[],this.options=Tq.getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){var e,r;return bw(this,void 0,void 0,function*(){let n=[];try{for(var i=Dce(this.globGenerator()),s;s=yield i.next(),!s.done;){let o=s.value;n.push(o)}}catch(o){e={error:o}}finally{try{s&&!s.done&&(r=i.return)&&(yield r.call(i))}finally{if(e)throw e.error}}return n})}globGenerator(){return kce(this,arguments,function*(){let r=Tq.getOptions(this.options),n=[];for(let o of this.patterns)n.push(o),r.implicitDescendants&&(o.trailingSeparator||o.segments[o.segments.length-1]!=="**")&&n.push(new Lq.Pattern(o.negate,!0,o.segments.concat("**")));let i=[];for(let o of Uy.getSearchPaths(n)){Nw.debug(`Search path '${o}'`);try{yield Xo(jf.promises.lstat(o))}catch(a){if(a.code==="ENOENT")continue;throw a}i.unshift(new Mq.SearchState(o,1))}let s=[];for(;i.length;){let o=i.pop(),a=Uy.match(n,o.path),A=!!a||Uy.partialMatch(n,o.path);if(!a&&!A)continue;let c=yield Xo(t.stat(o,r,s));if(c)if(c.isDirectory()){if(a&Oq.MatchKind.Directory)yield yield Xo(o.path);else if(!A)continue;let l=o.level+1,u=(yield Xo(jf.promises.readdir(o.path))).map(d=>new Mq.SearchState(Pce.join(o.path,d),l));i.push(...u.reverse())}else a&Oq.MatchKind.File&&(yield yield Xo(o.path))}})}static create(e,r){return bw(this,void 0,void 0,function*(){let n=new t(r);Tce&&(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 Lq.Pattern(s));return n.searchPaths.push(...Uy.getSearchPaths(n.patterns)),n})}static stat(e,r,n){return bw(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield jf.promises.stat(e.path)}catch(s){if(s.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){Nw.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 jf.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let s=yield jf.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(o=>o===s)){Nw.debug(`Symlink cycle detected for path '${e.path}' and realpath '${s}'`);return}n.push(s)}return i})}};gr.DefaultGlobber=ww});var Uq=h(ul=>{"use strict";var Oce=ul&&ul.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(ul,"__esModule",{value:!0});ul.create=void 0;var Lce=Fq();function Mce(t,e){return Oce(this,void 0,void 0,function*(){return yield Lce.DefaultGlobber.create(t,e)})}ul.create=Mce});var Yq=h((ye,Gq)=>{ye=Gq.exports=xe;var Ke;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?Ke=function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)}:Ke=function(){};ye.SEMVER_SPEC_VERSION="2.0.0";var Gf=256,qy=Number.MAX_SAFE_INTEGER||9007199254740991,Sw=16,Fce=Gf-6,dl=ye.re=[],$e=ye.safeRe=[],D=ye.src=[],x=ye.tokens={},jq=0;function De(t){x[t]=jq++}var Rw="[a-zA-Z0-9-]",xw=[["\\s",1],["\\d",Gf],[Rw,Fce]];function Jf(t){for(var e=0;e<xw.length;e++){var r=xw[e][0],n=xw[e][1];t=t.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}")}return t}De("NUMERICIDENTIFIER");D[x.NUMERICIDENTIFIER]="0|[1-9]\\d*";De("NUMERICIDENTIFIERLOOSE");D[x.NUMERICIDENTIFIERLOOSE]="\\d+";De("NONNUMERICIDENTIFIER");D[x.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+Rw+"*";De("MAINVERSION");D[x.MAINVERSION]="("+D[x.NUMERICIDENTIFIER]+")\\.("+D[x.NUMERICIDENTIFIER]+")\\.("+D[x.NUMERICIDENTIFIER]+")";De("MAINVERSIONLOOSE");D[x.MAINVERSIONLOOSE]="("+D[x.NUMERICIDENTIFIERLOOSE]+")\\.("+D[x.NUMERICIDENTIFIERLOOSE]+")\\.("+D[x.NUMERICIDENTIFIERLOOSE]+")";De("PRERELEASEIDENTIFIER");D[x.PRERELEASEIDENTIFIER]="(?:"+D[x.NUMERICIDENTIFIER]+"|"+D[x.NONNUMERICIDENTIFIER]+")";De("PRERELEASEIDENTIFIERLOOSE");D[x.PRERELEASEIDENTIFIERLOOSE]="(?:"+D[x.NUMERICIDENTIFIERLOOSE]+"|"+D[x.NONNUMERICIDENTIFIER]+")";De("PRERELEASE");D[x.PRERELEASE]="(?:-("+D[x.PRERELEASEIDENTIFIER]+"(?:\\."+D[x.PRERELEASEIDENTIFIER]+")*))";De("PRERELEASELOOSE");D[x.PRERELEASELOOSE]="(?:-?("+D[x.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+D[x.PRERELEASEIDENTIFIERLOOSE]+")*))";De("BUILDIDENTIFIER");D[x.BUILDIDENTIFIER]=Rw+"+";De("BUILD");D[x.BUILD]="(?:\\+("+D[x.BUILDIDENTIFIER]+"(?:\\."+D[x.BUILDIDENTIFIER]+")*))";De("FULL");De("FULLPLAIN");D[x.FULLPLAIN]="v?"+D[x.MAINVERSION]+D[x.PRERELEASE]+"?"+D[x.BUILD]+"?";D[x.FULL]="^"+D[x.FULLPLAIN]+"$";De("LOOSEPLAIN");D[x.LOOSEPLAIN]="[v=\\s]*"+D[x.MAINVERSIONLOOSE]+D[x.PRERELEASELOOSE]+"?"+D[x.BUILD]+"?";De("LOOSE");D[x.LOOSE]="^"+D[x.LOOSEPLAIN]+"$";De("GTLT");D[x.GTLT]="((?:<|>)?=?)";De("XRANGEIDENTIFIERLOOSE");D[x.XRANGEIDENTIFIERLOOSE]=D[x.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";De("XRANGEIDENTIFIER");D[x.XRANGEIDENTIFIER]=D[x.NUMERICIDENTIFIER]+"|x|X|\\*";De("XRANGEPLAIN");D[x.XRANGEPLAIN]="[v=\\s]*("+D[x.XRANGEIDENTIFIER]+")(?:\\.("+D[x.XRANGEIDENTIFIER]+")(?:\\.("+D[x.XRANGEIDENTIFIER]+")(?:"+D[x.PRERELEASE]+")?"+D[x.BUILD]+"?)?)?";De("XRANGEPLAINLOOSE");D[x.XRANGEPLAINLOOSE]="[v=\\s]*("+D[x.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+D[x.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+D[x.XRANGEIDENTIFIERLOOSE]+")(?:"+D[x.PRERELEASELOOSE]+")?"+D[x.BUILD]+"?)?)?";De("XRANGE");D[x.XRANGE]="^"+D[x.GTLT]+"\\s*"+D[x.XRANGEPLAIN]+"$";De("XRANGELOOSE");D[x.XRANGELOOSE]="^"+D[x.GTLT]+"\\s*"+D[x.XRANGEPLAINLOOSE]+"$";De("COERCE");D[x.COERCE]="(^|[^\\d])(\\d{1,"+Sw+"})(?:\\.(\\d{1,"+Sw+"}))?(?:\\.(\\d{1,"+Sw+"}))?(?:$|[^\\d])";De("COERCERTL");dl[x.COERCERTL]=new RegExp(D[x.COERCE],"g");$e[x.COERCERTL]=new RegExp(Jf(D[x.COERCE]),"g");De("LONETILDE");D[x.LONETILDE]="(?:~>?)";De("TILDETRIM");D[x.TILDETRIM]="(\\s*)"+D[x.LONETILDE]+"\\s+";dl[x.TILDETRIM]=new RegExp(D[x.TILDETRIM],"g");$e[x.TILDETRIM]=new RegExp(Jf(D[x.TILDETRIM]),"g");var Uce="$1~";De("TILDE");D[x.TILDE]="^"+D[x.LONETILDE]+D[x.XRANGEPLAIN]+"$";De("TILDELOOSE");D[x.TILDELOOSE]="^"+D[x.LONETILDE]+D[x.XRANGEPLAINLOOSE]+"$";De("LONECARET");D[x.LONECARET]="(?:\\^)";De("CARETTRIM");D[x.CARETTRIM]="(\\s*)"+D[x.LONECARET]+"\\s+";dl[x.CARETTRIM]=new RegExp(D[x.CARETTRIM],"g");$e[x.CARETTRIM]=new RegExp(Jf(D[x.CARETTRIM]),"g");var qce="$1^";De("CARET");D[x.CARET]="^"+D[x.LONECARET]+D[x.XRANGEPLAIN]+"$";De("CARETLOOSE");D[x.CARETLOOSE]="^"+D[x.LONECARET]+D[x.XRANGEPLAINLOOSE]+"$";De("COMPARATORLOOSE");D[x.COMPARATORLOOSE]="^"+D[x.GTLT]+"\\s*("+D[x.LOOSEPLAIN]+")$|^$";De("COMPARATOR");D[x.COMPARATOR]="^"+D[x.GTLT]+"\\s*("+D[x.FULLPLAIN]+")$|^$";De("COMPARATORTRIM");D[x.COMPARATORTRIM]="(\\s*)"+D[x.GTLT]+"\\s*("+D[x.LOOSEPLAIN]+"|"+D[x.XRANGEPLAIN]+")";dl[x.COMPARATORTRIM]=new RegExp(D[x.COMPARATORTRIM],"g");$e[x.COMPARATORTRIM]=new RegExp(Jf(D[x.COMPARATORTRIM]),"g");var Hce="$1$2$3";De("HYPHENRANGE");D[x.HYPHENRANGE]="^\\s*("+D[x.XRANGEPLAIN]+")\\s+-\\s+("+D[x.XRANGEPLAIN]+")\\s*$";De("HYPHENRANGELOOSE");D[x.HYPHENRANGELOOSE]="^\\s*("+D[x.XRANGEPLAINLOOSE]+")\\s+-\\s+("+D[x.XRANGEPLAINLOOSE]+")\\s*$";De("STAR");D[x.STAR]="(<|>)?=?\\s*\\*";for(Bs=0;Bs<jq;Bs++)Ke(Bs,D[Bs]),dl[Bs]||(dl[Bs]=new RegExp(D[Bs]),$e[Bs]=new RegExp(Jf(D[Bs])));var Bs;ye.parse=fA;function fA(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof xe)return t;if(typeof t!="string"||t.length>Gf)return null;var r=e.loose?$e[x.LOOSE]:$e[x.FULL];if(!r.test(t))return null;try{return new xe(t,e)}catch{return null}}ye.valid=jce;function jce(t,e){var r=fA(t,e);return r?r.version:null}ye.clean=zce;function zce(t,e){var r=fA(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null}ye.SemVer=xe;function xe(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof xe){if(t.loose===e.loose)return t;t=t.version}else if(typeof t!="string")throw new TypeError("Invalid Version: "+t);if(t.length>Gf)throw new TypeError("version is longer than "+Gf+" characters");if(!(this instanceof xe))return new xe(t,e);Ke("SemVer",t,e),this.options=e,this.loose=!!e.loose;var r=t.trim().match(e.loose?$e[x.LOOSE]:$e[x.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>qy||this.major<0)throw new TypeError("Invalid major version");if(this.minor>qy||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>qy||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<qy)return i}return n}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}xe.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};xe.prototype.toString=function(){return this.version};xe.prototype.compare=function(t){return Ke("SemVer.compare",this.version,this.options,t),t instanceof xe||(t=new xe(t,this.options)),this.compareMain(t)||this.comparePre(t)};xe.prototype.compareMain=function(t){return t instanceof xe||(t=new xe(t,this.options)),dA(this.major,t.major)||dA(this.minor,t.minor)||dA(this.patch,t.patch)};xe.prototype.comparePre=function(t){if(t instanceof xe||(t=new xe(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(Ke("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 dA(r,n)}while(++e)};xe.prototype.compareBuild=function(t){t instanceof xe||(t=new xe(t,this.options));var e=0;do{var r=this.build[e],n=t.build[e];if(Ke("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 dA(r,n)}while(++e)};xe.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};ye.inc=Gce;function Gce(t,e,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new xe(t,r).inc(e,n).version}catch{return null}}ye.diff=Yce;function Yce(t,e){if(vw(t,e))return null;var r=fA(t),n=fA(e),i="";if(r.prerelease.length||n.prerelease.length){i="pre";var s="prerelease"}for(var o in r)if((o==="major"||o==="minor"||o==="patch")&&r[o]!==n[o])return i+o;return s}ye.compareIdentifiers=dA;var qq=/^[0-9]+$/;function dA(t,e){var r=qq.test(t),n=qq.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1}ye.rcompareIdentifiers=Jce;function Jce(t,e){return dA(e,t)}ye.major=Vce;function Vce(t,e){return new xe(t,e).major}ye.minor=Wce;function Wce(t,e){return new xe(t,e).minor}ye.patch=$ce;function $ce(t,e){return new xe(t,e).patch}ye.compare=io;function io(t,e,r){return new xe(t,r).compare(new xe(e,r))}ye.compareLoose=Kce;function Kce(t,e){return io(t,e,!0)}ye.compareBuild=Xce;function Xce(t,e,r){var n=new xe(t,r),i=new xe(e,r);return n.compare(i)||n.compareBuild(i)}ye.rcompare=Zce;function Zce(t,e,r){return io(e,t,r)}ye.sort=ele;function ele(t,e){return t.sort(function(r,n){return ye.compareBuild(r,n,e)})}ye.rsort=tle;function tle(t,e){return t.sort(function(r,n){return ye.compareBuild(n,r,e)})}ye.gt=Yf;function Yf(t,e,r){return io(t,e,r)>0}ye.lt=Hy;function Hy(t,e,r){return io(t,e,r)<0}ye.eq=vw;function vw(t,e,r){return io(t,e,r)===0}ye.neq=zq;function zq(t,e,r){return io(t,e,r)!==0}ye.gte=_w;function _w(t,e,r){return io(t,e,r)>=0}ye.lte=Dw;function Dw(t,e,r){return io(t,e,r)<=0}ye.cmp=jy;function jy(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 vw(t,r,n);case"!=":return zq(t,r,n);case">":return Yf(t,r,n);case">=":return _w(t,r,n);case"<":return Hy(t,r,n);case"<=":return Dw(t,r,n);default:throw new TypeError("Invalid operator: "+e)}}ye.Comparator=fi;function fi(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof fi){if(t.loose===!!e.loose)return t;t=t.value}if(!(this instanceof fi))return new fi(t,e);t=t.trim().split(/\s+/).join(" "),Ke("comparator",t,e),this.options=e,this.loose=!!e.loose,this.parse(t),this.semver===fl?this.value="":this.value=this.operator+this.semver.version,Ke("comp",this)}var fl={};fi.prototype.parse=function(t){var e=this.options.loose?$e[x.COMPARATORLOOSE]:$e[x.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 xe(r[2],this.options.loose):this.semver=fl};fi.prototype.toString=function(){return this.value};fi.prototype.test=function(t){if(Ke("Comparator.test",t,this.options.loose),this.semver===fl||t===fl)return!0;if(typeof t=="string")try{t=new xe(t,this.options)}catch{return!1}return jy(t,this.operator,this.semver,this.options)};fi.prototype.intersects=function(t,e){if(!(t instanceof fi))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 kt(t.value,e),zy(this.value,r,e));if(t.operator==="")return t.value===""?!0:(r=new kt(this.value,e),zy(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,o=(this.operator===">="||this.operator==="<=")&&(t.operator===">="||t.operator==="<="),a=jy(this.semver,"<",t.semver,e)&&(this.operator===">="||this.operator===">")&&(t.operator==="<="||t.operator==="<"),A=jy(this.semver,">",t.semver,e)&&(this.operator==="<="||this.operator==="<")&&(t.operator===">="||t.operator===">");return n||i||s&&o||a||A};ye.Range=kt;function kt(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof kt)return t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease?t:new kt(t.raw,e);if(t instanceof fi)return new kt(t.value,e);if(!(this instanceof kt))return new kt(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()}kt.prototype.format=function(){return this.range=this.set.map(function(t){return t.join(" ").trim()}).join("||").trim(),this.range};kt.prototype.toString=function(){return this.range};kt.prototype.parseRange=function(t){var e=this.options.loose,r=e?$e[x.HYPHENRANGELOOSE]:$e[x.HYPHENRANGE];t=t.replace(r,ule),Ke("hyphen replace",t),t=t.replace($e[x.COMPARATORTRIM],Hce),Ke("comparator trim",t,$e[x.COMPARATORTRIM]),t=t.replace($e[x.TILDETRIM],Uce),t=t.replace($e[x.CARETTRIM],qce),t=t.split(/\s+/).join(" ");var n=e?$e[x.COMPARATORLOOSE]:$e[x.COMPARATOR],i=t.split(" ").map(function(s){return nle(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 fi(s,this.options)},this),i};kt.prototype.intersects=function(t,e){if(!(t instanceof kt))throw new TypeError("a Range is required");return this.set.some(function(r){return Hq(r,e)&&t.set.some(function(n){return Hq(n,e)&&r.every(function(i){return n.every(function(s){return i.intersects(s,e)})})})})};function Hq(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}ye.toComparators=rle;function rle(t,e){return new kt(t,e).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}function nle(t,e){return Ke("comp",t,e),t=ole(t,e),Ke("caret",t),t=ile(t,e),Ke("tildes",t),t=Ale(t,e),Ke("xrange",t),t=lle(t,e),Ke("stars",t),t}function tn(t){return!t||t.toLowerCase()==="x"||t==="*"}function ile(t,e){return t.trim().split(/\s+/).map(function(r){return sle(r,e)}).join(" ")}function sle(t,e){var r=e.loose?$e[x.TILDELOOSE]:$e[x.TILDE];return t.replace(r,function(n,i,s,o,a){Ke("tilde",t,n,i,s,o,a);var A;return tn(i)?A="":tn(s)?A=">="+i+".0.0 <"+(+i+1)+".0.0":tn(o)?A=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":a?(Ke("replaceTilde pr",a),A=">="+i+"."+s+"."+o+"-"+a+" <"+i+"."+(+s+1)+".0"):A=">="+i+"."+s+"."+o+" <"+i+"."+(+s+1)+".0",Ke("tilde return",A),A})}function ole(t,e){return t.trim().split(/\s+/).map(function(r){return ale(r,e)}).join(" ")}function ale(t,e){Ke("caret",t,e);var r=e.loose?$e[x.CARETLOOSE]:$e[x.CARET];return t.replace(r,function(n,i,s,o,a){Ke("caret",t,n,i,s,o,a);var A;return tn(i)?A="":tn(s)?A=">="+i+".0.0 <"+(+i+1)+".0.0":tn(o)?i==="0"?A=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":A=">="+i+"."+s+".0 <"+(+i+1)+".0.0":a?(Ke("replaceCaret pr",a),i==="0"?s==="0"?A=">="+i+"."+s+"."+o+"-"+a+" <"+i+"."+s+"."+(+o+1):A=">="+i+"."+s+"."+o+"-"+a+" <"+i+"."+(+s+1)+".0":A=">="+i+"."+s+"."+o+"-"+a+" <"+(+i+1)+".0.0"):(Ke("no pr"),i==="0"?s==="0"?A=">="+i+"."+s+"."+o+" <"+i+"."+s+"."+(+o+1):A=">="+i+"."+s+"."+o+" <"+i+"."+(+s+1)+".0":A=">="+i+"."+s+"."+o+" <"+(+i+1)+".0.0"),Ke("caret return",A),A})}function Ale(t,e){return Ke("replaceXRanges",t,e),t.split(/\s+/).map(function(r){return cle(r,e)}).join(" ")}function cle(t,e){t=t.trim();var r=e.loose?$e[x.XRANGELOOSE]:$e[x.XRANGE];return t.replace(r,function(n,i,s,o,a,A){Ke("xRange",t,n,i,s,o,a,A);var c=tn(s),l=c||tn(o),u=l||tn(a),d=u;return i==="="&&d&&(i=""),A=e.includePrerelease?"-0":"",c?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&d?(l&&(o=0),a=0,i===">"?(i=">=",l?(s=+s+1,o=0,a=0):(o=+o+1,a=0)):i==="<="&&(i="<",l?s=+s+1:o=+o+1),n=i+s+"."+o+"."+a+A):l?n=">="+s+".0.0"+A+" <"+(+s+1)+".0.0"+A:u&&(n=">="+s+"."+o+".0"+A+" <"+s+"."+(+o+1)+".0"+A),Ke("xRange return",n),n})}function lle(t,e){return Ke("replaceStars",t,e),t.trim().replace($e[x.STAR],"")}function ule(t,e,r,n,i,s,o,a,A,c,l,u,d){return tn(r)?e="":tn(n)?e=">="+r+".0.0":tn(i)?e=">="+r+"."+n+".0":e=">="+e,tn(A)?a="":tn(c)?a="<"+(+A+1)+".0.0":tn(l)?a="<"+A+"."+(+c+1)+".0":u?a="<="+A+"."+c+"."+l+"-"+u:a="<="+a,(e+" "+a).trim()}kt.prototype.test=function(t){if(!t)return!1;if(typeof t=="string")try{t=new xe(t,this.options)}catch{return!1}for(var e=0;e<this.set.length;e++)if(dle(this.set[e],t,this.options))return!0;return!1};function dle(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(Ke(t[n].semver),t[n].semver!==fl&&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}ye.satisfies=zy;function zy(t,e,r){try{e=new kt(e,r)}catch{return!1}return e.test(t)}ye.maxSatisfying=fle;function fle(t,e,r){var n=null,i=null;try{var s=new kt(e,r)}catch{return null}return t.forEach(function(o){s.test(o)&&(!n||i.compare(o)===-1)&&(n=o,i=new xe(n,r))}),n}ye.minSatisfying=hle;function hle(t,e,r){var n=null,i=null;try{var s=new kt(e,r)}catch{return null}return t.forEach(function(o){s.test(o)&&(!n||i.compare(o)===1)&&(n=o,i=new xe(n,r))}),n}ye.minVersion=gle;function gle(t,e){t=new kt(t,e);var r=new xe("0.0.0");if(t.test(r)||(r=new xe("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 o=new xe(s.semver.version);switch(s.operator){case">":o.prerelease.length===0?o.patch++:o.prerelease.push(0),o.raw=o.format();case"":case">=":(!r||Yf(r,o))&&(r=o);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+s.operator)}})}return r&&t.test(r)?r:null}ye.validRange=mle;function mle(t,e){try{return new kt(t,e).range||"*"}catch{return null}}ye.ltr=ple;function ple(t,e,r){return kw(t,e,"<",r)}ye.gtr=yle;function yle(t,e,r){return kw(t,e,">",r)}ye.outside=kw;function kw(t,e,r,n){t=new xe(t,n),e=new kt(e,n);var i,s,o,a,A;switch(r){case">":i=Yf,s=Dw,o=Hy,a=">",A=">=";break;case"<":i=Hy,s=_w,o=Yf,a="<",A="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(zy(t,e,n))return!1;for(var c=0;c<e.set.length;++c){var l=e.set[c],u=null,d=null;if(l.forEach(function(f){f.semver===fl&&(f=new fi(">=0.0.0")),u=u||f,d=d||f,i(f.semver,u.semver,n)?u=f:o(f.semver,d.semver,n)&&(d=f)}),u.operator===a||u.operator===A||(!d.operator||d.operator===a)&&s(t,d.semver))return!1;if(d.operator===A&&o(t,d.semver))return!1}return!0}ye.prerelease=Ele;function Ele(t,e){var r=fA(t,e);return r&&r.prerelease.length?r.prerelease:null}ye.intersects=Cle;function Cle(t,e,r){return t=new kt(t,r),e=new kt(e,r),t.intersects(e)}ye.coerce=Ile;function Ile(t,e){if(t instanceof xe)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($e[x.COERCE]);else{for(var n;(n=$e[x.COERCERTL].exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),$e[x.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;$e[x.COERCERTL].lastIndex=-1}return r===null?null:fA(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),e)}});var Vf=h(St=>{"use strict";Object.defineProperty(St,"__esModule",{value:!0});St.CacheFileSizeLimit=St.ManifestFilename=St.TarFilename=St.SystemTarPathOnWindows=St.GnuTarPathOnWindows=St.SocketTimeout=St.DefaultRetryDelay=St.DefaultRetryAttempts=St.ArchiveToolType=St.CompressionMethod=St.CacheFilename=void 0;var Jq;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(Jq||(St.CacheFilename=Jq={}));var Vq;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(Vq||(St.CompressionMethod=Vq={}));var Wq;(function(t){t.GNU="gnu",t.BSD="bsd"})(Wq||(St.ArchiveToolType=Wq={}));St.DefaultRetryAttempts=2;St.DefaultRetryDelay=5e3;St.SocketTimeout=5e3;St.GnuTarPathOnWindows=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`;St.SystemTarPathOnWindows=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`;St.TarFilename="cache.tar";St.ManifestFilename="manifest.txt";St.CacheFileSizeLimit=10*Math.pow(1024,3)});var gl=h(Ye=>{"use strict";var Ble=Ye&&Ye.__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]})),Qle=Ye&&Ye.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),so=Ye&&Ye.__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)&&Ble(e,t,r);return Qle(e,t),e},hl=Ye&&Ye.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})},ble=Ye&&Ye.__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(o){return new Promise(function(a,A){o=t[s](o),i(a,A,o.done,o.value)})}}function i(s,o,a,A){Promise.resolve(A).then(function(c){s({value:c,done:a})},o)}};Object.defineProperty(Ye,"__esModule",{value:!0});Ye.getRuntimeToken=Ye.getCacheVersion=Ye.assertDefined=Ye.getGnuTarPathOnWindows=Ye.getCacheFileName=Ye.getCompressionMethod=Ye.unlinkFile=Ye.resolvePaths=Ye.getArchiveFileSizeInBytes=Ye.createTempDirectory=void 0;var Wf=so(at()),Nle=so(Of()),wle=so(Uq()),$q=so(xy()),Kq=so(require("crypto")),Pw=so(require("fs")),Gy=so(require("path")),Sle=so(Yq()),xle=so(require("util")),hA=Vf(),Rle="1.0";function vle(){return hl(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let n;t?n=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?n="/Users":n="/home",e=Gy.join(n,"actions","temp")}let r=Gy.join(e,Kq.randomUUID());return yield $q.mkdirP(r),r})}Ye.createTempDirectory=vle;function _le(t){return Pw.statSync(t).size}Ye.getArchiveFileSizeInBytes=_le;function Dle(t){var e,r,n,i,s;return hl(this,void 0,void 0,function*(){let o=[],a=(s=process.env.GITHUB_WORKSPACE)!==null&&s!==void 0?s:process.cwd(),A=yield wle.create(t.join(`
|
||
`),{implicitDescendants:!1});try{for(var c=!0,l=ble(A.globGenerator()),u;u=yield l.next(),e=u.done,!e;c=!0){i=u.value,c=!1;let d=i,f=Gy.relative(a,d).replace(new RegExp(`\\${Gy.sep}`,"g"),"/");Wf.debug(`Matched: ${f}`),f===""?o.push("."):o.push(`${f}`)}}catch(d){r={error:d}}finally{try{!c&&!e&&(n=l.return)&&(yield n.call(l))}finally{if(r)throw r.error}}return o})}Ye.resolvePaths=Dle;function kle(t){return hl(this,void 0,void 0,function*(){return xle.promisify(Pw.unlink)(t)})}Ye.unlinkFile=kle;function Xq(t,e=[]){return hl(this,void 0,void 0,function*(){let r="";e.push("--version"),Wf.debug(`Checking ${t} ${e.join(" ")}`);try{yield Nle.exec(`${t}`,e,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:n=>r+=n.toString(),stderr:n=>r+=n.toString()}})}catch(n){Wf.debug(n.message)}return r=r.trim(),Wf.debug(r),r})}function Ple(){return hl(this,void 0,void 0,function*(){let t=yield Xq("zstd",["--quiet"]),e=Sle.clean(t);return Wf.debug(`zstd version: ${e}`),t===""?hA.CompressionMethod.Gzip:hA.CompressionMethod.ZstdWithoutLong})}Ye.getCompressionMethod=Ple;function Tle(t){return t===hA.CompressionMethod.Gzip?hA.CacheFilename.Gzip:hA.CacheFilename.Zstd}Ye.getCacheFileName=Tle;function Ole(){return hl(this,void 0,void 0,function*(){return Pw.existsSync(hA.GnuTarPathOnWindows)?hA.GnuTarPathOnWindows:(yield Xq("tar")).toLowerCase().includes("gnu tar")?$q.which("tar"):""})}Ye.getGnuTarPathOnWindows=Ole;function Lle(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}Ye.assertDefined=Lle;function Mle(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(Rle),Kq.createHash("sha256").update(n.join("|")).digest("hex")}Ye.getCacheVersion=Mle;function Fle(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}Ye.getRuntimeToken=Fle});var hi={};JX(hi,{__addDisposableResource:()=>Q2,__assign:()=>Yy,__asyncDelegator:()=>g2,__asyncGenerator:()=>h2,__asyncValues:()=>m2,__await:()=>ml,__awaiter:()=>A2,__classPrivateFieldGet:()=>C2,__classPrivateFieldIn:()=>B2,__classPrivateFieldSet:()=>I2,__createBinding:()=>Vy,__decorate:()=>t2,__disposeResources:()=>b2,__esDecorate:()=>n2,__exportStar:()=>l2,__extends:()=>Zq,__generator:()=>c2,__importDefault:()=>E2,__importStar:()=>y2,__makeTemplateObject:()=>p2,__metadata:()=>a2,__param:()=>r2,__propKey:()=>s2,__read:()=>Lw,__rest:()=>e2,__rewriteRelativeImportExtension:()=>N2,__runInitializers:()=>i2,__setFunctionName:()=>o2,__spread:()=>u2,__spreadArray:()=>f2,__spreadArrays:()=>d2,__values:()=>Jy,default:()=>Hle});function Zq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Tw(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function e2(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 t2(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function r2(t,e){return function(r,n){e(r,n,t)}}function n2(t,e,r,n,i,s){function o(C){if(C!==void 0&&typeof C!="function")throw new TypeError("Function expected");return C}for(var a=n.kind,A=a==="getter"?"get":a==="setter"?"set":"value",c=!e&&t?n.static?t:t.prototype:null,l=e||(c?Object.getOwnPropertyDescriptor(c,n.name):{}),u,d=!1,f=r.length-1;f>=0;f--){var g={};for(var m in n)g[m]=m==="access"?{}:n[m];for(var m in n.access)g.access[m]=n.access[m];g.addInitializer=function(C){if(d)throw new TypeError("Cannot add initializers after decoration has completed");s.push(o(C||null))};var E=(0,r[f])(a==="accessor"?{get:l.get,set:l.set}:l[A],g);if(a==="accessor"){if(E===void 0)continue;if(E===null||typeof E!="object")throw new TypeError("Object expected");(u=o(E.get))&&(l.get=u),(u=o(E.set))&&(l.set=u),(u=o(E.init))&&i.unshift(u)}else(u=o(E))&&(a==="field"?i.unshift(u):l[A]=u)}c&&Object.defineProperty(c,n.name,l),d=!0}function i2(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 s2(t){return typeof t=="symbol"?t:"".concat(t)}function o2(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 a2(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function A2(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})}function c2(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(c){return function(l){return A([c,l])}}function A(c){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(r=0)),r;)try{if(n=1,i&&(s=c[0]&2?i.return:c[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,c[1])).done)return s;switch(i=0,s&&(c=[c[0]&2,s.value]),c[0]){case 0:case 1:s=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]<s[3])){r.label=c[1];break}if(c[0]===6&&r.label<s[1]){r.label=s[1],s=c;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(c);break}s[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(l){c=[6,l],i=0}finally{n=s=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function l2(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Vy(e,t,r)}function Jy(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 Lw(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],o;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return s}function u2(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Lw(arguments[e]));return t}function d2(){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],o=0,a=s.length;o<a;o++,i++)n[i]=s[o];return n}function f2(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 ml(t){return this instanceof ml?(this.v=t,this):new ml(t)}function h2(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),a("next"),a("throw"),a("return",o),i[Symbol.asyncIterator]=function(){return this},i;function o(f){return function(g){return Promise.resolve(g).then(f,u)}}function a(f,g){n[f]&&(i[f]=function(m){return new Promise(function(E,C){s.push([f,m,E,C])>1||A(f,m)})},g&&(i[f]=g(i[f])))}function A(f,g){try{c(n[f](g))}catch(m){d(s[0][3],m)}}function c(f){f.value instanceof ml?Promise.resolve(f.value.v).then(l,u):d(s[0][2],f)}function l(f){A("next",f)}function u(f){A("throw",f)}function d(f,g){f(g),s.shift(),s.length&&A(s[0][0],s[0][1])}}function g2(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(o){return(r=!r)?{value:ml(t[i](o)),done:!1}:s?s(o):o}:s}}function m2(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 Jy=="function"?Jy(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(o){return new Promise(function(a,A){o=t[s](o),i(a,A,o.done,o.value)})}}function i(s,o,a,A){Promise.resolve(A).then(function(c){s({value:c,done:a})},o)}}function p2(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function y2(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=Ow(t),n=0;n<r.length;n++)r[n]!=="default"&&Vy(e,t,r[n]);return Ule(e,t),e}function E2(t){return t&&t.__esModule?t:{default:t}}function C2(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 I2(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 B2(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 Q2(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=function(){try{i.call(this)}catch(s){return Promise.reject(s)}}),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}function b2(t){function e(s){t.error=t.hasError?new qle(s,t.error,"An error was suppressed during disposal."):s,t.hasError=!0}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(o){return e(o),i()})}else n|=1}catch(o){e(o)}if(n===1)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}return i()}function N2(t,e){return typeof t=="string"&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,s,o){return n?e?".jsx":".js":i&&(!s||!o)?r:i+s+"."+o.toLowerCase()+"js"}):t}var Tw,Yy,Vy,Ule,Ow,qle,Hle,gi=YX(()=>{Tw=function(t,e){return Tw=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])},Tw(t,e)};Yy=function(){return Yy=Object.assign||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},Yy.apply(this,arguments)};Vy=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=Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e},Ow=function(t){return Ow=Object.getOwnPropertyNames||function(e){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[r.length]=n);return r},Ow(t)};qle=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var n=new Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};Hle={__extends:Zq,__assign:Yy,__rest:e2,__decorate:t2,__param:r2,__esDecorate:n2,__runInitializers:i2,__propKey:s2,__setFunctionName:o2,__metadata:a2,__awaiter:A2,__generator:c2,__createBinding:Vy,__exportStar:l2,__values:Jy,__read:Lw,__spread:u2,__spreadArrays:d2,__spreadArray:f2,__await:ml,__asyncGenerator:h2,__asyncDelegator:g2,__asyncValues:m2,__makeTemplateObject:p2,__importStar:y2,__importDefault:E2,__classPrivateFieldGet:C2,__classPrivateFieldSet:I2,__classPrivateFieldIn:B2,__addDisposableResource:Q2,__disposeResources:b2,__rewriteRelativeImportExtension:N2}});var $f=h(Wy=>{"use strict";Object.defineProperty(Wy,"__esModule",{value:!0});Wy.AbortError=void 0;var Mw=class extends Error{constructor(e){super(e),this.name="AbortError"}};Wy.AbortError=Mw});var S2=h(Fw=>{"use strict";Object.defineProperty(Fw,"__esModule",{value:!0});Fw.log=Yle;var w2=(gi(),Ui(hi)),jle=require("node:os"),zle=w2.__importDefault(require("node:util")),Gle=w2.__importStar(require("node:process"));function Yle(t,...e){Gle.stderr.write(`${zle.default.format(t,...e)}${jle.EOL}`)}});var D2=h(zw=>{"use strict";Object.defineProperty(zw,"__esModule",{value:!0});var Jle=S2(),x2=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,R2,Uw=[],qw=[],$y=[];x2&&Hw(x2);var v2=Object.assign(t=>_2(t),{enable:Hw,enabled:jw,disable:Vle,log:Jle.log});function Hw(t){R2=t,Uw=[],qw=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?qw.push(new RegExp(`^${n.substr(1)}$`)):Uw.push(new RegExp(`^${n}$`));for(let n of $y)n.enabled=jw(n.namespace)}function jw(t){if(t.endsWith("*"))return!0;for(let e of qw)if(e.test(t))return!1;for(let e of Uw)if(e.test(t))return!0;return!1}function Vle(){let t=R2||"";return Hw(""),t}function _2(t){let e=Object.assign(r,{enabled:jw(t),destroy:Wle,log:v2.log,namespace:t,extend:$le});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return $y.push(e),e}function Wle(){let t=$y.indexOf(this);return t>=0?($y.splice(t,1),!0):!1}function $le(t){let e=_2(`${this.namespace}:${t}`);return e.log=this.log,e}zw.default=v2});var Xf=h(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.TypeSpecRuntimeLogger=void 0;Zo.createLoggerContext=O2;Zo.setLogLevel=Xle;Zo.getLogLevel=Zle;Zo.createClientLogger=eue;var Kle=(gi(),Ui(hi)),Kf=Kle.__importDefault(D2()),Gw=["verbose","info","warning","error"],k2={verbose:400,info:300,warning:200,error:100};function P2(t,e){e.log=(...r)=>{t.log(...r)}}function T2(t){return Gw.includes(t)}function O2(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,i=(0,Kf.default)(t.namespace);i.log=(...l)=>{Kf.default.log(...l)};function s(l){if(l&&!T2(l))throw new Error(`Unknown log level '${l}'. Acceptable values: ${Gw.join(",")}`);n=l;let u=[];for(let d of e)o(d)&&u.push(d.namespace);Kf.default.enable(u.join(","))}r&&(T2(r)?s(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${Gw.join(", ")}.`));function o(l){return!!(n&&k2[l.level]<=k2[n])}function a(l,u){let d=Object.assign(l.extend(u),{level:u});if(P2(l,d),o(d)){let f=Kf.default.disable();Kf.default.enable(f+","+d.namespace)}return e.add(d),d}function A(){return n}function c(l){let u=i.extend(l);return P2(i,u),{error:a(u,"error"),warning:a(u,"warning"),info:a(u,"info"),verbose:a(u,"verbose")}}return{setLogLevel:s,getLogLevel:A,createClientLogger:c,logger:i}}var Ky=O2({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});Zo.TypeSpecRuntimeLogger=Ky.logger;function Xle(t){Ky.setLogLevel(t)}function Zle(){return Ky.getLogLevel()}function eue(t){return Ky.createClientLogger(t)}});var ea=h(Jw=>{"use strict";Object.defineProperty(Jw,"__esModule",{value:!0});Jw.createHttpHeaders=rue;function Xy(t){return t.toLowerCase()}function*tue(t){for(let e of t.values())yield[e.name,e.value]}var Yw=class{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(Xy(e),{name:e,value:String(r).trim()})}get(e){var r;return(r=this._headersMap.get(Xy(e)))===null||r===void 0?void 0:r.value}has(e){return this._headersMap.has(Xy(e))}delete(e){this._headersMap.delete(Xy(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 tue(this._headersMap)}};function rue(t){return new Yw(t)}});var M2=h(L2=>{"use strict";Object.defineProperty(L2,"__esModule",{value:!0})});var U2=h(F2=>{"use strict";Object.defineProperty(F2,"__esModule",{value:!0})});var Zy=h(Ww=>{"use strict";var Vw;Object.defineProperty(Ww,"__esModule",{value:!0});Ww.randomUUID=sue;var nue=require("node:crypto"),iue=typeof((Vw=globalThis?.crypto)===null||Vw===void 0?void 0:Vw.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):nue.randomUUID;function sue(){return iue()}});var Xw=h(Kw=>{"use strict";Object.defineProperty(Kw,"__esModule",{value:!0});Kw.createPipelineRequest=Aue;var oue=ea(),aue=Zy(),$w=class{constructor(e){var r,n,i,s,o,a,A;this.url=e.url,this.body=e.body,this.headers=(r=e.headers)!==null&&r!==void 0?r:(0,oue.createHttpHeaders)(),this.method=(n=e.method)!==null&&n!==void 0?n:"GET",this.timeout=(i=e.timeout)!==null&&i!==void 0?i:0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=(s=e.disableKeepAlive)!==null&&s!==void 0?s:!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=(o=e.withCredentials)!==null&&o!==void 0?o:!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||(0,aue.randomUUID)(),this.allowInsecureConnection=(a=e.allowInsecureConnection)!==null&&a!==void 0?a:!1,this.enableBrowserStreams=(A=e.enableBrowserStreams)!==null&&A!==void 0?A:!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function Aue(t){return new $w(t)}});var tS=h(eS=>{"use strict";Object.defineProperty(eS,"__esModule",{value:!0});eS.createEmptyPipeline=cue;var q2=new Set(["Deserialize","Serialize","Retry","Sign"]),Zw=class t{constructor(e){var r;this._policies=[],this._policies=(r=e?.slice(0))!==null&&r!==void 0?r:[],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&&!q2.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!q2.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,o)=>a=>o.sendRequest(a,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(g){return{name:g,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let i=n("Serialize"),s=n("None"),o=n("Deserialize"),a=n("Retry"),A=n("Sign"),c=[i,s,o,a,A];function l(g){return g==="Retry"?a:g==="Serialize"?i:g==="Deserialize"?o:g==="Sign"?A:s}for(let g of this._policies){let m=g.policy,E=g.options,C=m.name;if(r.has(C))throw new Error("Duplicate policy names not allowed in pipeline");let I={policy:m,dependsOn:new Set,dependants:new Set};E.afterPhase&&(I.afterPhase=l(E.afterPhase),I.afterPhase.hasAfterPolicies=!0),r.set(C,I),l(E.phase).policies.add(I)}for(let g of this._policies){let{policy:m,options:E}=g,C=m.name,I=r.get(C);if(!I)throw new Error(`Missing node for policy ${C}`);if(E.afterPolicies)for(let N of E.afterPolicies){let w=r.get(N);w&&(I.dependsOn.add(w),w.dependants.add(I))}if(E.beforePolicies)for(let N of E.beforePolicies){let w=r.get(N);w&&(w.dependsOn.add(I),I.dependants.add(w))}}function u(g){g.hasRun=!0;for(let m of g.policies)if(!(m.afterPhase&&(!m.afterPhase.hasRun||m.afterPhase.policies.size))&&m.dependsOn.size===0){e.push(m.policy);for(let E of m.dependants)E.dependsOn.delete(m);r.delete(m.policy.name),g.policies.delete(m)}}function d(){for(let g of c){if(u(g),g.policies.size>0&&g!==s){s.hasRun||u(s);return}g.hasAfterPolicies&&u(s)}}let f=0;for(;r.size>0;){f++;let g=e.length;if(d(),e.length<=g&&f>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function cue(){return Zw.create()}});var eE=h(rS=>{"use strict";Object.defineProperty(rS,"__esModule",{value:!0});rS.isObject=lue;function lue(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}});var iS=h(nS=>{"use strict";Object.defineProperty(nS,"__esModule",{value:!0});nS.isError=due;var uue=eE();function due(t){if((0,uue.isObject)(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}});var H2=h(tE=>{"use strict";Object.defineProperty(tE,"__esModule",{value:!0});tE.custom=void 0;var fue=require("node:util");tE.custom=fue.inspect.custom});var Zf=h(rE=>{"use strict";Object.defineProperty(rE,"__esModule",{value:!0});rE.Sanitizer=void 0;var hue=eE(),sS="REDACTED",gue=["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"],mue=["api-version"],oS=class{constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=gue.concat(e),r=mue.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 Object.assign(Object.assign({},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,hue.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,sS);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]=sS;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]=sS;return r}};rE.Sanitizer=oS});var yl=h(eh=>{"use strict";Object.defineProperty(eh,"__esModule",{value:!0});eh.RestError=void 0;eh.isRestError=Iue;var pue=iS(),yue=H2(),Eue=Zf(),Cue=new Eue.Sanitizer,pl=class t extends Error{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}),Object.defineProperty(this,yue.custom,{value:()=>`RestError: ${this.message}
|
||
${Cue.sanitize(Object.assign(Object.assign({},this),{request:this.request,response:this.response}))}`,enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};eh.RestError=pl;pl.REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";pl.PARSE_ERROR="PARSE_ERROR";function Iue(t){return t instanceof pl?!0:(0,pue.isError)(t)&&t.name==="RestError"}});var gA=h(nE=>{"use strict";Object.defineProperty(nE,"__esModule",{value:!0});nE.uint8ArrayToString=Bue;nE.stringToUint8Array=Que;function Bue(t,e){return Buffer.from(t).toString(e)}function Que(t,e){return Buffer.from(t,e)}});var th=h(iE=>{"use strict";Object.defineProperty(iE,"__esModule",{value:!0});iE.logger=void 0;var bue=Xf();iE.logger=(0,bue.createClientLogger)("ts-http-runtime")});var V2=h(oE=>{"use strict";Object.defineProperty(oE,"__esModule",{value:!0});oE.getBodyLength=J2;oE.createNodeHttpClient=Due;var lS=(gi(),Ui(hi)),aS=lS.__importStar(require("node:http")),AS=lS.__importStar(require("node:https")),j2=lS.__importStar(require("node:zlib")),Nue=require("node:stream"),z2=$f(),wue=ea(),nh=yl(),El=th(),Sue=Zf(),xue={};function rh(t){return t&&typeof t.pipe=="function"}function G2(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)};t.on("close",r),t.on("end",r),t.on("error",r)})}function Y2(t){return t&&typeof t.byteLength=="number"}var sE=class extends Nue.Transform{_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.loadedBytes=0,this.progressCallback=e}},cS=class{constructor(){this.cachedHttpsAgents=new WeakMap}async sendRequest(e){var r,n,i;let s=new AbortController,o;if(e.abortSignal){if(e.abortSignal.aborted)throw new z2.AbortError("The operation was aborted. Request has already been canceled.");o=d=>{d.type==="abort"&&s.abort()},e.abortSignal.addEventListener("abort",o)}let a;e.timeout>0&&(a=setTimeout(()=>{let d=new Sue.Sanitizer;El.logger.info(`request to '${d.sanitizeUrl(e.url)}' timed out. canceling...`),s.abort()},e.timeout));let A=e.headers.get("Accept-Encoding"),c=A?.includes("gzip")||A?.includes("deflate"),l=typeof e.body=="function"?e.body():e.body;if(l&&!e.headers.has("Content-Length")){let d=J2(l);d!==null&&e.headers.set("Content-Length",d)}let u;try{if(l&&e.onUploadProgress){let C=e.onUploadProgress,I=new sE(C);I.on("error",N=>{El.logger.error("Error in upload progress",N)}),rh(l)?l.pipe(I):I.end(l),l=I}let d=await this.makeRequest(e,s,l);a!==void 0&&clearTimeout(a);let f=Rue(d),m={status:(r=d.statusCode)!==null&&r!==void 0?r:0,headers:f,request:e};if(e.method==="HEAD")return d.resume(),m;u=c?vue(d,f):d;let E=e.onDownloadProgress;if(E){let C=new sE(E);C.on("error",I=>{El.logger.error("Error in download progress",I)}),u.pipe(C),u=C}return!((n=e.streamResponseStatusCodes)===null||n===void 0)&&n.has(Number.POSITIVE_INFINITY)||!((i=e.streamResponseStatusCodes)===null||i===void 0)&&i.has(m.status)?m.readableStreamBody=u:m.bodyAsText=await _ue(u),m}finally{if(e.abortSignal&&o){let d=Promise.resolve();rh(l)&&(d=G2(l));let f=Promise.resolve();rh(u)&&(f=G2(u)),Promise.all([d,f]).then(()=>{var g;o&&((g=e.abortSignal)===null||g===void 0||g.removeEventListener("abort",o))}).catch(g=>{El.logger.warning("Error when cleaning up abortListener on httpRequest",g)})}}}makeRequest(e,r,n){var i;let s=new URL(e.url),o=s.protocol!=="https:";if(o&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let a=(i=e.agent)!==null&&i!==void 0?i:this.getOrCreateAgent(e,o),A=Object.assign({agent:a,hostname:s.hostname,path:`${s.pathname}${s.search}`,port:s.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0})},e.requestOverrides);return new Promise((c,l)=>{let u=o?aS.request(A,c):AS.request(A,c);u.once("error",d=>{var f;l(new nh.RestError(d.message,{code:(f=d.code)!==null&&f!==void 0?f:nh.RestError.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new z2.AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(d),l(d)}),n&&rh(n)?n.pipe(u):n?typeof n=="string"||Buffer.isBuffer(n)?u.end(n):Y2(n)?u.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(El.logger.error("Unrecognized body type",n),l(new nh.RestError("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){var n;let i=e.disableKeepAlive;if(r)return i?aS.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new aS.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(i&&!e.tlsSettings)return AS.globalAgent;let s=(n=e.tlsSettings)!==null&&n!==void 0?n:xue,o=this.cachedHttpsAgents.get(s);return o&&o.options.keepAlive===!i||(El.logger.info("No cached TLS Agent exist, creating a new Agent"),o=new AS.Agent(Object.assign({keepAlive:!i},s)),this.cachedHttpsAgents.set(s,o)),o}}};function Rue(t){let e=(0,wue.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}function vue(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=j2.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=j2.createInflate();return t.pipe(n),n}return t}function _ue(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 nh.RestError(`Error reading response as text: ${i.message}`,{code:nh.RestError.PARSE_ERROR}))})})}function J2(t){return t?Buffer.isBuffer(t)?t.length:rh(t)?null:Y2(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}function Due(){return new cS}});var dS=h(uS=>{"use strict";Object.defineProperty(uS,"__esModule",{value:!0});uS.createDefaultHttpClient=Pue;var kue=V2();function Pue(){return(0,kue.createNodeHttpClient)()}});var fS=h(Cl=>{"use strict";Object.defineProperty(Cl,"__esModule",{value:!0});Cl.logPolicyName=void 0;Cl.logPolicy=Lue;var Tue=th(),Oue=Zf();Cl.logPolicyName="logPolicy";function Lue(t={}){var e;let r=(e=t.logger)!==null&&e!==void 0?e:Tue.logger.info,n=new Oue.Sanitizer({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:Cl.logPolicyName,async sendRequest(i,s){if(!r.enabled)return s(i);r(`Request: ${n.sanitize(i)}`);let o=await s(i);return r(`Response status code: ${o.status}`),r(`Headers: ${n.sanitize(o.headers)}`),o}}}});var hS=h(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});Il.redirectPolicyName=void 0;Il.redirectPolicy=Mue;Il.redirectPolicyName="redirectPolicy";var W2=["GET","HEAD"];function Mue(t={}){let{maxRetries:e=20}=t;return{name:Il.redirectPolicyName,async sendRequest(r,n){let i=await n(r);return $2(n,i,e)}}}async function $2(t,e,r,n=0){let{request:i,status:s,headers:o}=e,a=o.get("location");if(a&&(s===300||s===301&&W2.includes(i.method)||s===302&&W2.includes(i.method)||s===303&&i.method==="POST"||s===307)&&n<r){let A=new URL(a,i.url);i.url=A.toString(),s===303&&(i.method="GET",i.headers.delete("Content-Length"),delete i.body),i.headers.delete("Authorization");let c=await t(i);return $2(t,c,r,n+1)}return e}});var X2=h(aE=>{"use strict";Object.defineProperty(aE,"__esModule",{value:!0});aE.getHeaderName=Fue;aE.setPlatformSpecificData=Uue;var K2=(gi(),Ui(hi)),gS=K2.__importStar(require("node:os")),mS=K2.__importStar(require("node:process"));function Fue(){return"User-Agent"}async function Uue(t){if(mS&&mS.versions){let e=mS.versions;e.bun?t.set("Bun",e.bun):e.deno?t.set("Deno",e.deno):e.node&&t.set("Node",e.node)}t.set("OS",`(${gS.arch()}-${gS.type()}-${gS.release()})`)}});var mA=h(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});Bl.DEFAULT_RETRY_POLICY_COUNT=Bl.SDK_VERSION=void 0;Bl.SDK_VERSION="0.3.0";Bl.DEFAULT_RETRY_POLICY_COUNT=3});var eH=h(AE=>{"use strict";Object.defineProperty(AE,"__esModule",{value:!0});AE.getUserAgentHeaderName=jue;AE.getUserAgentValue=zue;var Z2=X2(),que=mA();function Hue(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}function jue(){return(0,Z2.getHeaderName)()}async function zue(t){let e=new Map;e.set("ts-http-runtime",que.SDK_VERSION),await(0,Z2.setPlatformSpecificData)(e);let r=Hue(e);return t?`${t} ${r}`:r}});var pS=h(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});Ql.userAgentPolicyName=void 0;Ql.userAgentPolicy=Gue;var rH=eH(),tH=(0,rH.getUserAgentHeaderName)();Ql.userAgentPolicyName="userAgentPolicy";function Gue(t={}){let e=(0,rH.getUserAgentValue)(t.userAgentPrefix);return{name:Ql.userAgentPolicyName,async sendRequest(r,n){return r.headers.has(tH)||r.headers.set(tH,await e),n(r)}}}});var yS=h(bl=>{"use strict";Object.defineProperty(bl,"__esModule",{value:!0});bl.decompressResponsePolicyName=void 0;bl.decompressResponsePolicy=Yue;bl.decompressResponsePolicyName="decompressResponsePolicy";function Yue(){return{name:bl.decompressResponsePolicyName,async sendRequest(t,e){return t.method!=="HEAD"&&t.headers.set("Accept-Encoding","gzip,deflate"),e(t)}}}});var CS=h(ES=>{"use strict";Object.defineProperty(ES,"__esModule",{value:!0});ES.getRandomIntegerInclusive=Jue;function Jue(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}});var BS=h(IS=>{"use strict";Object.defineProperty(IS,"__esModule",{value:!0});IS.calculateRetryDelay=Wue;var Vue=CS();function Wue(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,Vue.getRandomIntegerInclusive)(0,n/2)}}});var QS=h(cE=>{"use strict";Object.defineProperty(cE,"__esModule",{value:!0});cE.delay=Xue;cE.parseHeaderValueAsNumber=Zue;var $ue=$f(),Kue="The operation was aborted.";function Xue(t,e,r){return new Promise((n,i)=>{let s,o,a=()=>i(new $ue.AbortError(r?.abortErrorMsg?r?.abortErrorMsg:Kue)),A=()=>{r?.abortSignal&&o&&r.abortSignal.removeEventListener("abort",o)};if(o=()=>(s&&clearTimeout(s),A(),a()),r?.abortSignal&&r.abortSignal.aborted)return a();s=setTimeout(()=>{A(),n(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",o)})}function Zue(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}});var uE=h(lE=>{"use strict";Object.defineProperty(lE,"__esModule",{value:!0});lE.isThrottlingRetryResponse=rde;lE.throttlingRetryStrategy=nde;var ede=QS(),bS="Retry-After",tde=["retry-after-ms","x-ms-retry-after-ms",bS];function nH(t){if(t&&[429,503].includes(t.status))try{for(let i of tde){let s=(0,ede.parseHeaderValueAsNumber)(t,i);if(s===0||s)return s*(i===bS?1e3:1)}let e=t.headers.get(bS);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}function rde(t){return Number.isFinite(nH(t))}function nde(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=nH(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}});var dE=h(ih=>{"use strict";Object.defineProperty(ih,"__esModule",{value:!0});ih.exponentialRetryStrategy=Ade;ih.isExponentialRetryResponse=iH;ih.isSystemError=sH;var ide=BS(),sde=uE(),ode=1e3,ade=1e3*64;function Ade(t={}){var e,r;let n=(e=t.retryDelayInMs)!==null&&e!==void 0?e:ode,i=(r=t.maxRetryDelayInMs)!==null&&r!==void 0?r:ade;return{name:"exponentialRetryStrategy",retry({retryCount:s,response:o,responseError:a}){let A=sH(a),c=A&&t.ignoreSystemErrors,l=iH(o),u=l&&t.ignoreHttpStatusCodes;return o&&((0,sde.isThrottlingRetryResponse)(o)||!l)||u||c?{skipStrategy:!0}:a&&!A&&!l?{errorToThrow:a}:(0,ide.calculateRetryDelay)(s,{retryDelayInMs:n,maxRetryDelayInMs:i})}}}function iH(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}function sH(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}});var Nl=h(NS=>{"use strict";Object.defineProperty(NS,"__esModule",{value:!0});NS.retryPolicy=hde;var cde=QS(),lde=$f(),ude=Xf(),oH=mA(),dde=(0,ude.createClientLogger)("ts-http-runtime retryPolicy"),fde="retryPolicy";function hde(t,e={maxRetries:oH.DEFAULT_RETRY_POLICY_COUNT}){let r=e.logger||dde;return{name:fde,async sendRequest(n,i){var s,o;let a,A,c=-1;e:for(;;){c+=1,a=void 0,A=void 0;try{r.info(`Retry ${c}: Attempting to send request`,n.requestId),a=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;a=A.response}if(!((s=n.abortSignal)===null||s===void 0)&&s.aborted)throw r.error(`Retry ${c}: Request aborted.`),new lde.AbortError;if(c>=((o=e.maxRetries)!==null&&o!==void 0?o:oH.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(a)return a;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 u=l.logger||r;u.info(`Retry ${c}: Processing retry strategy ${l.name}.`);let d=l.retry({retryCount:c,response:a,responseError:A});if(d.skipStrategy){u.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:f,retryAfterInMs:g,redirectTo:m}=d;if(f)throw u.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,f),f;if(g||g===0){u.info(`Retry ${c}: Retry strategy ${l.name} retries after ${g}`),await(0,cde.delay)(g,void 0,{abortSignal:n.abortSignal});continue e}if(m){u.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(a)return r.info("None of the retry strategies could work with the received response. Returning it."),a}}}}});var wS=h(wl=>{"use strict";Object.defineProperty(wl,"__esModule",{value:!0});wl.defaultRetryPolicyName=void 0;wl.defaultRetryPolicy=Ede;var gde=dE(),mde=uE(),pde=Nl(),yde=mA();wl.defaultRetryPolicyName="defaultRetryPolicy";function Ede(t={}){var e;return{name:wl.defaultRetryPolicyName,sendRequest:(0,pde.retryPolicy)([(0,mde.throttlingRetryStrategy)(),(0,gde.exponentialRetryStrategy)(t)],{maxRetries:(e=t.maxRetries)!==null&&e!==void 0?e:yde.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}});var sh=h(ar=>{"use strict";var SS,xS,RS,vS;Object.defineProperty(ar,"__esModule",{value:!0});ar.isReactNative=ar.isNodeRuntime=ar.isNodeLike=ar.isBun=ar.isDeno=ar.isWebWorker=ar.isBrowser=void 0;ar.isBrowser=typeof window<"u"&&typeof window.document<"u";ar.isWebWorker=typeof self=="object"&&typeof self?.importScripts=="function"&&(((SS=self.constructor)===null||SS===void 0?void 0:SS.name)==="DedicatedWorkerGlobalScope"||((xS=self.constructor)===null||xS===void 0?void 0:xS.name)==="ServiceWorkerGlobalScope"||((RS=self.constructor)===null||RS===void 0?void 0:RS.name)==="SharedWorkerGlobalScope");ar.isDeno=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u";ar.isBun=typeof Bun<"u"&&typeof Bun.version<"u";ar.isNodeLike=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!(!((vS=globalThis.process.versions)===null||vS===void 0)&&vS.node);ar.isNodeRuntime=ar.isNodeLike&&!ar.isBun&&!ar.isDeno;ar.isReactNative=typeof navigator<"u"&&navigator?.product==="ReactNative"});var _S=h(Sl=>{"use strict";Object.defineProperty(Sl,"__esModule",{value:!0});Sl.formDataPolicyName=void 0;Sl.formDataPolicy=Qde;var Cde=gA(),Ide=sh(),aH=ea();Sl.formDataPolicyName="formDataPolicy";function Bde(t){var e;let r={};for(let[n,i]of t.entries())(e=r[n])!==null&&e!==void 0||(r[n]=[]),r[n].push(i);return r}function Qde(){return{name:Sl.formDataPolicyName,async sendRequest(t,e){if(Ide.isNodeLike&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=Bde(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=bde(t.formData):await Nde(t.formData,t),t.formData=void 0}return e(t)}}}function bde(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()}async function Nde(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 o of Array.isArray(s)?s:[s])if(typeof o=="string")n.push({headers:(0,aH.createHttpHeaders)({"Content-Disposition":`form-data; name="${i}"`}),body:(0,Cde.stringToUint8Array)(o,"utf-8")});else{if(o==null||typeof o!="object")throw new Error(`Unexpected value for key ${i}: ${o}. Value should be serialized to string first.`);{let a=o.name||"blob",A=(0,aH.createHttpHeaders)();A.set("Content-Disposition",`form-data; name="${i}"; filename="${a}"`),A.set("Content-Type",o.type||"application/octet-stream"),n.push({headers:A,body:o})}}e.multipartBody={parts:n}}});var cH=h((pFe,AH)=>{var xl=1e3,Rl=xl*60,vl=Rl*60,pA=vl*24,wde=pA*7,Sde=pA*365.25;AH.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return xde(t);if(r==="number"&&isFinite(t))return e.long?vde(t):Rde(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function xde(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*Sde;case"weeks":case"week":case"w":return r*wde;case"days":case"day":case"d":return r*pA;case"hours":case"hour":case"hrs":case"hr":case"h":return r*vl;case"minutes":case"minute":case"mins":case"min":case"m":return r*Rl;case"seconds":case"second":case"secs":case"sec":case"s":return r*xl;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Rde(t){var e=Math.abs(t);return e>=pA?Math.round(t/pA)+"d":e>=vl?Math.round(t/vl)+"h":e>=Rl?Math.round(t/Rl)+"m":e>=xl?Math.round(t/xl)+"s":t+"ms"}function vde(t){var e=Math.abs(t);return e>=pA?fE(t,e,pA,"day"):e>=vl?fE(t,e,vl,"hour"):e>=Rl?fE(t,e,Rl,"minute"):e>=xl?fE(t,e,xl,"second"):t+" ms"}function fE(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}});var DS=h((yFe,lH)=>{function _de(t){r.debug=r,r.default=r,r.coerce=A,r.disable=o,r.enable=i,r.enabled=a,r.humanize=cH(),r.destroy=c,Object.keys(t).forEach(l=>{r[l]=t[l]}),r.names=[],r.skips=[],r.formatters={};function e(l){let u=0;for(let d=0;d<l.length;d++)u=(u<<5)-u+l.charCodeAt(d),u|=0;return r.colors[Math.abs(u)%r.colors.length]}r.selectColor=e;function r(l){let u,d=null,f,g;function m(...E){if(!m.enabled)return;let C=m,I=Number(new Date),N=I-(u||I);C.diff=N,C.prev=u,C.curr=I,u=I,E[0]=r.coerce(E[0]),typeof E[0]!="string"&&E.unshift("%O");let w=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,(T,U)=>{if(T==="%%")return"%";w++;let k=r.formatters[U];if(typeof k=="function"){let J=E[w];T=k.call(C,J),E.splice(w,1),w--}return T}),r.formatArgs.call(C,E),(C.log||r.log).apply(C,E)}return m.namespace=l,m.useColors=r.useColors(),m.color=r.selectColor(l),m.extend=n,m.destroy=r.destroy,Object.defineProperty(m,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(f!==r.namespaces&&(f=r.namespaces,g=r.enabled(l)),g),set:E=>{d=E}}),typeof r.init=="function"&&r.init(m),m}function n(l,u){let d=r(this.namespace+(typeof u>"u"?":":u)+l);return d.log=this.log,d}function i(l){r.save(l),r.namespaces=l,r.names=[],r.skips=[];let u=(typeof l=="string"?l:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let d of u)d[0]==="-"?r.skips.push(d.slice(1)):r.names.push(d)}function s(l,u){let d=0,f=0,g=-1,m=0;for(;d<l.length;)if(f<u.length&&(u[f]===l[d]||u[f]==="*"))u[f]==="*"?(g=f,m=d,f++):(d++,f++);else if(g!==-1)f=g+1,m++,d=m;else return!1;for(;f<u.length&&u[f]==="*";)f++;return f===u.length}function o(){let l=[...r.names,...r.skips.map(u=>"-"+u)].join(",");return r.enable(""),l}function a(l){for(let u of r.skips)if(s(l,u))return!1;for(let u of r.names)if(s(l,u))return!0;return!1}function A(l){return l instanceof Error?l.stack||l.message:l}function c(){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 r.enable(r.load()),r}lH.exports=_de});var uH=h((Cn,hE)=>{Cn.formatArgs=kde;Cn.save=Pde;Cn.load=Tde;Cn.useColors=Dde;Cn.storage=Ode();Cn.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`."))}})();Cn.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 Dde(){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+)/)}function kde(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+hE.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)}Cn.log=console.debug||console.log||(()=>{});function Pde(t){try{t?Cn.storage.setItem("debug",t):Cn.storage.removeItem("debug")}catch{}}function Tde(){let t;try{t=Cn.storage.getItem("debug")||Cn.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function Ode(){try{return localStorage}catch{}}hE.exports=DS()(Cn);var{formatters:Lde}=hE.exports;Lde.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var fH=h((mr,mE)=>{var Mde=require("tty"),gE=require("util");mr.init=Gde;mr.log=Hde;mr.formatArgs=Ude;mr.save=jde;mr.load=zde;mr.useColors=Fde;mr.destroy=gE.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");mr.colors=[6,2,3,4,5,1];try{let t=require("supports-color");t&&(t.stderr||t).level>=2&&(mr.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{}mr.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 Fde(){return"colors"in mr.inspectOpts?!!mr.inspectOpts.colors:Mde.isatty(process.stderr.fd)}function Ude(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+"+mE.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=qde()+e+" "+t[0]}function qde(){return mr.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Hde(...t){return process.stderr.write(gE.formatWithOptions(mr.inspectOpts,...t)+`
|
||
`)}function jde(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function zde(){return process.env.DEBUG}function Gde(t){t.inspectOpts={};let e=Object.keys(mr.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=mr.inspectOpts[e[r]]}mE.exports=DS()(mr);var{formatters:dH}=mE.exports;dH.o=function(t){return this.inspectOpts.colors=this.useColors,gE.inspect(t,this.inspectOpts).split(`
|
||
`).map(e=>e.trim()).join(" ")};dH.O=function(t){return this.inspectOpts.colors=this.useColors,gE.inspect(t,this.inspectOpts)}});var pE=h((EFe,kS)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?kS.exports=uH():kS.exports=fH()});var mH=h(In=>{"use strict";var Yde=In&&In.__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]})),Jde=In&&In.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),hH=In&&In.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Yde(e,t,r);return Jde(e,t),e};Object.defineProperty(In,"__esModule",{value:!0});In.req=In.json=In.toBuffer=void 0;var Vde=hH(require("http")),Wde=hH(require("https"));async function gH(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}In.toBuffer=gH;async function $de(t){let r=(await gH(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}In.json=$de;function Kde(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Wde:Vde).request(t,e),i=new Promise((s,o)=>{n.once("response",s).once("error",o).end()});return n.then=i.then.bind(i),n}In.req=Kde});var TS=h(Jn=>{"use strict";var yH=Jn&&Jn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Xde=Jn&&Jn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),EH=Jn&&Jn.__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)&&yH(e,t,r);return Xde(e,t),e},Zde=Jn&&Jn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&yH(e,t,r)};Object.defineProperty(Jn,"__esModule",{value:!0});Jn.Agent=void 0;var efe=EH(require("net")),pH=EH(require("http")),tfe=require("https");Zde(mH(),Jn);var Qs=Symbol("AgentBaseInternalState"),PS=class extends pH.Agent{constructor(e){super(e),this[Qs]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(`
|
||
`).some(n=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new efe.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)?tfe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},s=this.getName(i),o=this.incrementSockets(s);Promise.resolve().then(()=>this.connect(e,i)).then(a=>{if(this.decrementSockets(s,o),a instanceof pH.Agent)try{return a.addRequest(e,i)}catch(A){return n(A)}this[Qs].currentSocket=a,super.createSocket(e,r,n)},a=>{this.decrementSockets(s,o),n(a)})}createConnection(){let e=this[Qs].currentSocket;if(this[Qs].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Qs].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Qs]&&(this[Qs].defaultPort=e)}get protocol(){return this[Qs].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Qs]&&(this[Qs].protocol=e)}};Jn.Agent=PS});var CH=h(_l=>{"use strict";var rfe=_l&&_l.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_l,"__esModule",{value:!0});_l.parseProxyResponse=void 0;var nfe=rfe(pE()),yE=(0,nfe.default)("https-proxy-agent:parse-proxy-response");function ife(t){return new Promise((e,r)=>{let n=0,i=[];function s(){let l=t.read();l?c(l):t.once("readable",s)}function o(){t.removeListener("end",a),t.removeListener("error",A),t.removeListener("readable",s)}function a(){o(),yE("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}function A(l){o(),yE("onerror %o",l),r(l)}function c(l){i.push(l),n+=l.length;let u=Buffer.concat(i,n),d=u.indexOf(`\r
|
||
\r
|
||
`);if(d===-1){yE("have not received end of HTTP headers yet..."),s();return}let f=u.slice(0,d).toString("ascii").split(`\r
|
||
`),g=f.shift();if(!g)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let m=g.split(" "),E=+m[1],C=m.slice(2).join(" "),I={};for(let N of f){if(!N)continue;let w=N.indexOf(":");if(w===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${N}"`));let v=N.slice(0,w).toLowerCase(),T=N.slice(w+1).trimStart(),U=I[v];typeof U=="string"?I[v]=[U,T]:Array.isArray(U)?U.push(T):I[v]=T}yE("got proxy server response: %o %o",g,I),o(),e({connect:{statusCode:E,statusText:C,headers:I},buffered:u})}t.on("error",A),t.on("end",a),s()})}_l.parseProxyResponse=ife});var wH=h(mi=>{"use strict";var sfe=mi&&mi.__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]})),ofe=mi&&mi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),bH=mi&&mi.__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)&&sfe(e,t,r);return ofe(e,t),e},NH=mi&&mi.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(mi,"__esModule",{value:!0});mi.HttpsProxyAgent=void 0;var EE=bH(require("net")),IH=bH(require("tls")),afe=NH(require("assert")),Afe=NH(pE()),cfe=TS(),lfe=require("url"),ufe=CH(),oh=(0,Afe.default)("https-proxy-agent"),BH=t=>t.servername===void 0&&t.host&&!EE.isIP(t.host)?{...t,servername:t.host}:t,CE=class extends cfe.Agent{constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new lfe.URL(e):e,this.proxyHeaders=r?.headers??{},oh("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?QH(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:"?(oh("Creating `tls.Socket`: %o",this.connectOpts),i=IH.connect(BH(this.connectOpts))):(oh("Creating `net.Socket`: %o",this.connectOpts),i=EE.connect(this.connectOpts));let s=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},o=EE.isIPv6(r.host)?`[${r.host}]`:r.host,a=`CONNECT ${o}:${r.port} HTTP/1.1\r
|
||
`;if(n.username||n.password){let d=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;s["Proxy-Authorization"]=`Basic ${Buffer.from(d).toString("base64")}`}s.Host=`${o}:${r.port}`,s["Proxy-Connection"]||(s["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let d of Object.keys(s))a+=`${d}: ${s[d]}\r
|
||
`;let A=(0,ufe.parseProxyResponse)(i);i.write(`${a}\r
|
||
`);let{connect:c,buffered:l}=await A;if(e.emit("proxyConnect",c),this.emit("proxyConnect",c,e),c.statusCode===200)return e.once("socket",dfe),r.secureEndpoint?(oh("Upgrading socket connection to TLS"),IH.connect({...QH(BH(r),"host","path","port"),socket:i})):i;i.destroy();let u=new EE.Socket({writable:!1});return u.readable=!0,e.once("socket",d=>{oh("Replaying proxy buffer for failed request"),(0,afe.default)(d.listenerCount("data")>0),d.push(l),d.push(null)}),u}};CE.protocols=["http","https"];mi.HttpsProxyAgent=CE;function dfe(t){t.resume()}function QH(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}});var RH=h(pi=>{"use strict";var ffe=pi&&pi.__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]})),hfe=pi&&pi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),xH=pi&&pi.__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)&&ffe(e,t,r);return hfe(e,t),e},gfe=pi&&pi.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(pi,"__esModule",{value:!0});pi.HttpProxyAgent=void 0;var mfe=xH(require("net")),pfe=xH(require("tls")),yfe=gfe(pE()),Efe=require("events"),Cfe=TS(),SH=require("url"),Dl=(0,yfe.default)("http-proxy-agent"),IE=class extends Cfe.Agent{constructor(e,r){super(r),this.proxy=typeof e=="string"?new SH.URL(e):e,this.proxyHeaders=r?.headers??{},Dl("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?Ife(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",o=`${i}//${s}`,a=new SH.URL(e.path,o);r.port!==80&&(a.port=String(r.port)),e.path=String(a);let A=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(n.username||n.password){let c=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;A["Proxy-Authorization"]=`Basic ${Buffer.from(c).toString("base64")}`}A["Proxy-Connection"]||(A["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let c of Object.keys(A)){let l=A[c];l&&e.setHeader(c,l)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let n,i;Dl("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(Dl("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),Dl("Output buffer: %o",e.outputData[0].data));let s;return this.proxy.protocol==="https:"?(Dl("Creating `tls.Socket`: %o",this.connectOpts),s=pfe.connect(this.connectOpts)):(Dl("Creating `net.Socket`: %o",this.connectOpts),s=mfe.connect(this.connectOpts)),await(0,Efe.once)(s,"connect"),s}};IE.protocols=["http","https"];pi.HttpProxyAgent=IE;function Ife(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}});var OS=h(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.globalNoProxyList=yi.proxyPolicyName=void 0;yi.loadNoProxy=PH;yi.getDefaultProxySettings=_fe;yi.proxyPolicy=kfe;var Bfe=wH(),Qfe=RH(),bfe=th(),Nfe="HTTPS_PROXY",wfe="HTTP_PROXY",Sfe="ALL_PROXY",xfe="NO_PROXY";yi.proxyPolicyName="proxyPolicy";yi.globalNoProxyList=[];var DH=!1,Rfe=new Map;function BE(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}function kH(){if(!process)return;let t=BE(Nfe),e=BE(Sfe),r=BE(wfe);return t||e||r}function vfe(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}function PH(){let t=BE(xfe);return DH=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}function _fe(t){if(!t&&(t=kH(),!t))return;let e=new URL(t);return{host:(e.protocol?e.protocol+"//":"")+e.hostname,port:Number.parseInt(e.port||"80"),username:e.username,password:e.password}}function Dfe(){let t=kH();return t?new URL(t):void 0}function vH(t){let e;try{e=new URL(t.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${t.host}".`)}return e.port=String(t.port),t.username&&(e.username=t.username),t.password&&(e.password=t.password),e}function _H(t,e,r){if(t.agent)return;let i=new URL(t.url).protocol!=="https:";t.tlsSettings&&bfe.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 Qfe.HttpProxyAgent(r,{headers:s})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new Bfe.HttpsProxyAgent(r,{headers:s})),t.agent=e.httpsProxyAgent)}function kfe(t,e){DH||yi.globalNoProxyList.push(...PH());let r=t?vH(t):Dfe(),n={};return{name:yi.proxyPolicyName,async sendRequest(i,s){var o;return!i.proxySettings&&r&&!vfe(i.url,(o=e?.customNoProxyList)!==null&&o!==void 0?o:yi.globalNoProxyList,e?.customNoProxyList?void 0:Rfe)?_H(i,n,r):i.proxySettings&&_H(i,n,vH(i.proxySettings)),s(i)}}}});var LS=h(kl=>{"use strict";Object.defineProperty(kl,"__esModule",{value:!0});kl.agentPolicyName=void 0;kl.agentPolicy=Pfe;kl.agentPolicyName="agentPolicy";function Pfe(t){return{name:kl.agentPolicyName,sendRequest:async(e,r)=>(e.agent||(e.agent=t),r(e))}}});var MS=h(Pl=>{"use strict";Object.defineProperty(Pl,"__esModule",{value:!0});Pl.tlsPolicyName=void 0;Pl.tlsPolicy=Tfe;Pl.tlsPolicyName="tlsPolicy";function Tfe(t){return{name:Pl.tlsPolicyName,sendRequest:async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e))}}});var ah=h(yA=>{"use strict";Object.defineProperty(yA,"__esModule",{value:!0});yA.isNodeReadableStream=TH;yA.isWebReadableStream=OH;yA.isBinaryBody=Ofe;yA.isReadableStream=LH;yA.isBlob=Lfe;function TH(t){return!!(t&&typeof t.pipe=="function")}function OH(t){return!!(t&&typeof t.getReader=="function"&&typeof t.tee=="function")}function Ofe(t){return t!==void 0&&(t instanceof Uint8Array||LH(t)||typeof t=="function"||t instanceof Blob)}function LH(t){return TH(t)||OH(t)}function Lfe(t){return typeof t.stream=="function"}});var UH=h(US=>{"use strict";Object.defineProperty(US,"__esModule",{value:!0});US.concat=qfe;var oo=(gi(),Ui(hi)),FS=require("stream"),Mfe=ah();function MH(){return oo.__asyncGenerator(this,arguments,function*(){let e=this.getReader();try{for(;;){let{done:r,value:n}=yield oo.__await(e.read());if(r)return yield oo.__await(void 0);yield yield oo.__await(n)}}finally{e.releaseLock()}})}function Ffe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=MH.bind(t)),t.values||(t.values=MH.bind(t))}function FH(t){return t instanceof ReadableStream?(Ffe(t),FS.Readable.fromWeb(t)):t}function Ufe(t){return t instanceof Uint8Array?FS.Readable.from(Buffer.from(t)):(0,Mfe.isBlob)(t)?FH(t.stream()):FH(t)}async function qfe(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(Ufe);return FS.Readable.from((function(){return oo.__asyncGenerator(this,arguments,function*(){var r,n,i,s;for(let c of e)try{for(var o=!0,a=(n=void 0,oo.__asyncValues(c)),A;A=yield oo.__await(a.next()),r=A.done,!r;o=!0){s=A.value,o=!1;let l=s;yield yield oo.__await(l)}}catch(l){n={error:l}}finally{try{!o&&!r&&(i=a.return)&&(yield oo.__await(i.call(a)))}finally{if(n)throw n.error}}})})())}}});var qS=h(Ol=>{"use strict";Object.defineProperty(Ol,"__esModule",{value:!0});Ol.multipartPolicyName=void 0;Ol.multipartPolicy=Zfe;var Tl=gA(),Hfe=ah(),jfe=Zy(),zfe=UH();function Gfe(){return`----AzSDKFormBoundary${(0,jfe.randomUUID)()}`}function Yfe(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r
|
||
`;return e}function Jfe(t){return t instanceof Uint8Array?t.byteLength:(0,Hfe.isBlob)(t)?t.size===-1?void 0:t.size:void 0}function Vfe(t){let e=0;for(let r of t){let n=Jfe(r);if(n===void 0)return;e+=n}return e}async function Wfe(t,e,r){let n=[(0,Tl.stringToUint8Array)(`--${r}`,"utf-8"),...e.flatMap(s=>[(0,Tl.stringToUint8Array)(`\r
|
||
`,"utf-8"),(0,Tl.stringToUint8Array)(Yfe(s.headers),"utf-8"),(0,Tl.stringToUint8Array)(`\r
|
||
`,"utf-8"),s.body,(0,Tl.stringToUint8Array)(`\r
|
||
--${r}`,"utf-8")]),(0,Tl.stringToUint8Array)(`--\r
|
||
\r
|
||
`,"utf-8")],i=Vfe(n);i&&t.headers.set("Content-Length",i),t.body=await(0,zfe.concat)(n)}Ol.multipartPolicyName="multipartPolicy";var $fe=70,Kfe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function Xfe(t){if(t.length>$fe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!Kfe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}function Zfe(){return{name:Ol.multipartPolicyName,async sendRequest(t,e){var r;if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let n=t.multipartBody.boundary,i=(r=t.headers.get("Content-Type"))!==null&&r!==void 0?r:"multipart/mixed",s=i.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!s)throw new Error(`Got multipart request body, but content-type header was not multipart: ${i}`);let[,o,a]=s;if(a&&n&&a!==n)throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${n} in the request body`);return n??(n=a),n?Xfe(n):n=Gfe(),t.headers.set("Content-Type",`${o}; boundary=${n}`),await Wfe(t,t.multipartBody.parts,n),t.multipartBody=void 0,e(t)}}}});var jH=h(HS=>{"use strict";Object.defineProperty(HS,"__esModule",{value:!0});HS.createPipelineFromOptions=lhe;var ehe=fS(),the=tS(),rhe=hS(),nhe=pS(),ihe=yS(),she=wS(),ohe=_S(),qH=sh(),ahe=OS(),Ahe=LS(),che=MS(),HH=qS();function lhe(t){let e=(0,the.createEmptyPipeline)();return qH.isNodeLike&&(t.agent&&e.addPolicy((0,Ahe.agentPolicy)(t.agent)),t.tlsOptions&&e.addPolicy((0,che.tlsPolicy)(t.tlsOptions)),e.addPolicy((0,ahe.proxyPolicy)(t.proxyOptions)),e.addPolicy((0,ihe.decompressResponsePolicy)())),e.addPolicy((0,ohe.formDataPolicy)(),{beforePolicies:[HH.multipartPolicyName]}),e.addPolicy((0,nhe.userAgentPolicy)(t.userAgentOptions)),e.addPolicy((0,HH.multipartPolicy)(),{afterPhase:"Deserialize"}),e.addPolicy((0,she.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),qH.isNodeLike&&e.addPolicy((0,rhe.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy((0,ehe.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),e}});var zH=h(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});Ll.apiVersionPolicyName=void 0;Ll.apiVersionPolicy=uhe;Ll.apiVersionPolicyName="ApiVersionPolicy";function uhe(t){return{name:Ll.apiVersionPolicyName,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)}}}});var GH=h(Ml=>{"use strict";Object.defineProperty(Ml,"__esModule",{value:!0});Ml.isOAuth2TokenCredential=dhe;Ml.isBearerTokenCredential=fhe;Ml.isBasicCredential=hhe;Ml.isApiKeyCredential=ghe;function dhe(t){return"getOAuth2Token"in t}function fhe(t){return"getBearerToken"in t}function hhe(t){return"username"in t&&"password"in t}function ghe(t){return"key"in t}});var Ah=h(jS=>{"use strict";Object.defineProperty(jS,"__esModule",{value:!0});jS.ensureSecureConnection=Ehe;var mhe=th(),YH=!1;function phe(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}function yhe(){let t="Sending token over insecure transport. Assume any token issued is compromised.";mhe.logger.warning(t),typeof(process==null?void 0:process.emitWarning)=="function"&&!YH&&(YH=!0,process.emitWarning(t))}function Ehe(t,e){if(!t.url.toLowerCase().startsWith("https://"))if(phe(t,e))yhe();else throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}});var JH=h(Fl=>{"use strict";Object.defineProperty(Fl,"__esModule",{value:!0});Fl.apiKeyAuthenticationPolicyName=void 0;Fl.apiKeyAuthenticationPolicy=Ihe;var Che=Ah();Fl.apiKeyAuthenticationPolicyName="apiKeyAuthenticationPolicy";function Ihe(t){return{name:Fl.apiKeyAuthenticationPolicyName,async sendRequest(e,r){var n,i;(0,Che.ensureSecureConnection)(e,t);let s=(i=(n=e.authSchemes)!==null&&n!==void 0?n:t.authSchemes)===null||i===void 0?void 0:i.find(o=>o.kind==="apiKey");if(!s)return r(e);if(s.apiKeyLocation!=="header")throw new Error(`Unsupported API key location: ${s.apiKeyLocation}`);return e.headers.set(s.name,t.credential.key),r(e)}}}});var WH=h(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});Ul.basicAuthenticationPolicyName=void 0;Ul.basicAuthenticationPolicy=Qhe;var VH=gA(),Bhe=Ah();Ul.basicAuthenticationPolicyName="bearerAuthenticationPolicy";function Qhe(t){return{name:Ul.basicAuthenticationPolicyName,async sendRequest(e,r){var n,i;if((0,Bhe.ensureSecureConnection)(e,t),!((i=(n=e.authSchemes)!==null&&n!==void 0?n:t.authSchemes)===null||i===void 0?void 0:i.find(c=>c.kind==="http"&&c.scheme==="basic")))return r(e);let{username:o,password:a}=t.credential,A=(0,VH.uint8ArrayToString)((0,VH.stringToUint8Array)(`${o}:${a}`,"utf-8"),"base64");return e.headers.set("Authorization",`Basic ${A}`),r(e)}}}});var $H=h(ql=>{"use strict";Object.defineProperty(ql,"__esModule",{value:!0});ql.bearerAuthenticationPolicyName=void 0;ql.bearerAuthenticationPolicy=Nhe;var bhe=Ah();ql.bearerAuthenticationPolicyName="bearerAuthenticationPolicy";function Nhe(t){return{name:ql.bearerAuthenticationPolicyName,async sendRequest(e,r){var n,i;if((0,bhe.ensureSecureConnection)(e,t),!((i=(n=e.authSchemes)!==null&&n!==void 0?n:t.authSchemes)===null||i===void 0?void 0:i.find(a=>a.kind==="http"&&a.scheme==="bearer")))return r(e);let o=await t.credential.getBearerToken({abortSignal:e.abortSignal});return e.headers.set("Authorization",`Bearer ${o}`),r(e)}}}});var KH=h(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});Hl.oauth2AuthenticationPolicyName=void 0;Hl.oauth2AuthenticationPolicy=She;var whe=Ah();Hl.oauth2AuthenticationPolicyName="oauth2AuthenticationPolicy";function She(t){return{name:Hl.oauth2AuthenticationPolicyName,async sendRequest(e,r){var n,i;(0,whe.ensureSecureConnection)(e,t);let s=(i=(n=e.authSchemes)!==null&&n!==void 0?n:t.authSchemes)===null||i===void 0?void 0:i.find(a=>a.kind==="oauth2");if(!s)return r(e);let o=await t.credential.getOAuth2Token(s.flows,{abortSignal:e.abortSignal});return e.headers.set("Authorization",`Bearer ${o}`),r(e)}}}});var GS=h(bE=>{"use strict";Object.defineProperty(bE,"__esModule",{value:!0});bE.createDefaultPipeline=The;bE.getCachedDefaultHttpsClient=Ohe;var xhe=dS(),Rhe=jH(),vhe=zH(),QE=GH(),_he=JH(),Dhe=WH(),khe=$H(),Phe=KH(),zS;function The(t={}){let e=(0,Rhe.createPipelineFromOptions)(t);e.addPolicy((0,vhe.apiVersionPolicy)(t));let{credential:r,authSchemes:n,allowInsecureConnection:i}=t;return r&&((0,QE.isApiKeyCredential)(r)?e.addPolicy((0,_he.apiKeyAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,QE.isBasicCredential)(r)?e.addPolicy((0,Dhe.basicAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,QE.isBearerTokenCredential)(r)?e.addPolicy((0,khe.bearerAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,QE.isOAuth2TokenCredential)(r)&&e.addPolicy((0,Phe.oauth2AuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i}))),e}function Ohe(){return zS||(zS=(0,xhe.createDefaultHttpClient)()),zS}});var nj=h(NE=>{"use strict";Object.defineProperty(NE,"__esModule",{value:!0});NE.buildBodyPart=rj;NE.buildMultipartBody=Hhe;var Lhe=yl(),Mhe=ea(),XH=gA(),ej=ah();function tj(t,e){if(t.headers){let r=Object.keys(t.headers).find(n=>n.toLowerCase()===e.toLowerCase());if(r)return t.headers[r]}}function Fhe(t){let e=tj(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,ej.isBinaryBody)(r)?"application/octet-stream":"application/json"}function ZH(t){return JSON.stringify(t)}function Uhe(t){var e;let r=tj(t,"content-disposition");if(r)return r;if(t.dispositionType===void 0&&t.name===void 0&&t.filename===void 0)return;let i=(e=t.dispositionType)!==null&&e!==void 0?e:"form-data";t.name&&(i+=`; name=${ZH(t.name)}`);let s;if(t.filename)s=t.filename;else if(typeof File<"u"&&t.body instanceof File){let o=t.body.name;o!==""&&(s=o)}return s&&(i+=`; filename=${ZH(s)}`),i}function qhe(t,e){if(t===void 0)return new Uint8Array([]);if((0,ej.isBinaryBody)(t))return t;if(typeof t=="string"||typeof t=="number"||typeof t=="boolean")return(0,XH.stringToUint8Array)(String(t),"utf-8");if(e&&/application\/(.+\+)?json(;.+)?/i.test(String(e)))return(0,XH.stringToUint8Array)(JSON.stringify(t),"utf-8");throw new Lhe.RestError(`Unsupported body/content-type combination: ${t}, ${e}`)}function rj(t){var e;let r=Fhe(t),n=Uhe(t),i=(0,Mhe.createHttpHeaders)((e=t.headers)!==null&&e!==void 0?e:{});r&&i.set("content-type",r),n&&i.set("content-disposition",n);let s=qhe(t.body,r);return{headers:i,body:s}}function Hhe(t){return{parts:t.map(rj)}}});var ij=h(JS=>{"use strict";Object.defineProperty(JS,"__esModule",{value:!0});JS.sendRequest=Vhe;var YS=yl(),jhe=ea(),zhe=Xw(),Ghe=GS(),Yhe=ah(),Jhe=nj();async function Vhe(t,e,r,n={},i){var s;let o=i??(0,Ghe.getCachedDefaultHttpsClient)(),a=Khe(t,e,n);try{let A=await r.sendRequest(o,a),c=A.headers.toJSON(),l=(s=A.readableStreamBody)!==null&&s!==void 0?s:A.browserStreamBody,u=n.responseAsStream||l!==void 0?void 0:Zhe(A),d=l??u;return n?.onResponse&&n.onResponse(Object.assign(Object.assign({},A),{request:a,rawHeaders:c,parsedBody:u})),{request:a,headers:c,status:`${A.status}`,body:d}}catch(A){if((0,YS.isRestError)(A)&&A.response&&n.onResponse){let{response:c}=A,l=c.headers.toJSON();n?.onResponse(Object.assign(Object.assign({},c),{request:a,rawHeaders:l}),A)}throw A}}function Whe(t={}){var e,r,n;return(n=(e=t.contentType)!==null&&e!==void 0?e:(r=t.headers)===null||r===void 0?void 0:r["content-type"])!==null&&n!==void 0?n:$he(t.body)}function $he(t){if(ArrayBuffer.isView(t))return"application/octet-stream";if(typeof t=="string")try{return JSON.parse(t),"application/json"}catch{return}return"application/json"}function Khe(t,e,r={}){var n,i,s;let o=Whe(r),{body:a,multipartBody:A}=Xhe(r.body,o),c=a!==void 0||A!==void 0,l=(0,jhe.createHttpHeaders)(Object.assign(Object.assign(Object.assign({},r.headers?r.headers:{}),{accept:(s=(n=r.accept)!==null&&n!==void 0?n:(i=r.headers)===null||i===void 0?void 0:i.accept)!==null&&s!==void 0?s:"application/json"}),c&&o&&{"content-type":o}));return(0,zhe.createPipelineRequest)({url:e,method:t,body:a,multipartBody:A,headers:l,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})}function Xhe(t,e=""){if(t===void 0)return{body:void 0};if(typeof FormData<"u"&&t instanceof FormData)return{body:t};if((0,Yhe.isReadableStream)(t))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,Jhe.buildMultipartBody)(t)}:{body:JSON.stringify(t)};case"text/plain":return{body:String(t)};default:return typeof t=="string"?{body:t}:{body:JSON.stringify(t)}}}function Zhe(t){var e,r;let i=((e=t.headers.get("content-type"))!==null&&e!==void 0?e:"").split(";")[0],s=(r=t.bodyAsText)!==null&&r!==void 0?r:"";if(i==="text/plain")return String(s);try{return s?JSON.parse(s):void 0}catch(o){if(i==="application/json")throw ege(t,o);return String(s)}}function ege(t,e){var r;let n=`Error "${e}" occurred while parsing the response body - ${t.bodyAsText}.`,i=(r=e.code)!==null&&r!==void 0?r:YS.RestError.PARSE_ERROR;return new YS.RestError(n,{code:i,statusCode:t.status,request:t.request,response:t})}});var aj=h(ch=>{"use strict";Object.defineProperty(ch,"__esModule",{value:!0});ch.buildRequestUrl=rge;ch.buildBaseUrl=sj;ch.replaceAll=oj;function tge(t){let e=t.value;return e!==void 0&&e.toString!==void 0&&typeof e.toString=="function"}function rge(t,e,r,n={}){if(e.startsWith("https://")||e.startsWith("http://"))return e;t=sj(t,n),e=ige(e,r,n);let i=nge(`${t}/${e}`,n);return new URL(i).toString().replace(/([^:]\/)\/+/g,"$1")}function VS(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 o=s.map(a=>{if(a==null)return"";if(!a.toString||typeof a.toString!="function")throw new Error(`Query parameters must be able to be represented as string, ${t} can't`);let A=a.toISOString!==void 0?a.toISOString():a.toString();return e?A:encodeURIComponent(A)}).join(i);return`${e?t:encodeURIComponent(t)}=${o}`}function nge(t,e={}){var r,n,i,s;if(!e.queryParameters)return t;let o=new URL(t),a=e.queryParameters,A=[];for(let c of Object.keys(a)){let l=a[c];if(l==null)continue;let u=tge(l),d=u?l.value:l,f=u&&(r=l.explode)!==null&&r!==void 0?r:!1,g=u&&l.style?l.style:"form";if(f)if(Array.isArray(d))for(let m of d)A.push(VS(c,(n=e.skipUrlEncoding)!==null&&n!==void 0?n:!1,g,m));else if(typeof d=="object")for(let[m,E]of Object.entries(d))A.push(VS(m,(i=e.skipUrlEncoding)!==null&&i!==void 0?i:!1,g,E));else throw new Error("explode can only be set to true for objects and arrays");else A.push(VS(c,(s=e.skipUrlEncoding)!==null&&s!==void 0?s:!1,g,d))}return o.search!==""&&(o.search+="&"),o.search+=A.join("&"),o.toString()}function sj(t,e){var r;if(!e.pathParameters)return t;let n=e.pathParameters;for(let[i,s]of Object.entries(n)){if(s==null)throw new Error(`Path parameters ${i} must not be undefined or null`);if(!s.toString||typeof s.toString!="function")throw new Error(`Path parameters must be able to be represented as string, ${i} can't`);let o=s.toISOString!==void 0?s.toISOString():String(s);e.skipUrlEncoding||(o=encodeURIComponent(s)),t=(r=oj(t,`{${i}}`,o))!==null&&r!==void 0?r:""}return t}function ige(t,e,r={}){var n;for(let i of e){let s=typeof i=="object"&&((n=i.allowReserved)!==null&&n!==void 0?n:!1),o=typeof i=="object"?i.value:i;!r.skipUrlEncoding&&!s&&(o=encodeURIComponent(o)),t=t.replace(/\{[\w-]+\}/,String(o))}return t}function oj(t,e,r){return!t||!e?t:t.split(e).join(r||"")}});var cj=h($S=>{"use strict";Object.defineProperty($S,"__esModule",{value:!0});$S.getClient=age;var sge=GS(),WS=ij(),oge=aj(),Aj=sh();function age(t,e={}){var r,n,i;let s=(r=e.pipeline)!==null&&r!==void 0?r:(0,sge.createDefaultPipeline)(e);if(!((n=e.additionalPolicies)===null||n===void 0)&&n.length)for(let{policy:l,position:u}of e.additionalPolicies){let d=u==="perRetry"?"Sign":void 0;s.addPolicy(l,{afterPhase:d})}let{allowInsecureConnection:o,httpClient:a}=e,A=(i=e.endpoint)!==null&&i!==void 0?i:t,c=(l,...u)=>{let d=f=>(0,oge.buildRequestUrl)(A,l,u,Object.assign({allowInsecureConnection:o},f));return{get:(f={})=>ta("GET",d(f),s,f,o,a),post:(f={})=>ta("POST",d(f),s,f,o,a),put:(f={})=>ta("PUT",d(f),s,f,o,a),patch:(f={})=>ta("PATCH",d(f),s,f,o,a),delete:(f={})=>ta("DELETE",d(f),s,f,o,a),head:(f={})=>ta("HEAD",d(f),s,f,o,a),options:(f={})=>ta("OPTIONS",d(f),s,f,o,a),trace:(f={})=>ta("TRACE",d(f),s,f,o,a)}};return{path:c,pathUnchecked:c,pipeline:s}}function ta(t,e,r,n,i,s){var o;return i=(o=n.allowInsecureConnection)!==null&&o!==void 0?o:i,{then:function(a,A){return(0,WS.sendRequest)(t,e,r,Object.assign(Object.assign({},n),{allowInsecureConnection:i}),s).then(a,A)},async asBrowserStream(){if(Aj.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,WS.sendRequest)(t,e,r,Object.assign(Object.assign({},n),{allowInsecureConnection:i,responseAsStream:!0}),s)},async asNodeStream(){if(Aj.isNodeLike)return(0,WS.sendRequest)(t,e,r,Object.assign(Object.assign({},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.")}}}});var lj=h(KS=>{"use strict";Object.defineProperty(KS,"__esModule",{value:!0});KS.operationOptionsToRequestParameters=Age;function Age(t){var e,r,n,i,s,o;return{allowInsecureConnection:(e=t.requestOptions)===null||e===void 0?void 0:e.allowInsecureConnection,timeout:(r=t.requestOptions)===null||r===void 0?void 0:r.timeout,skipUrlEncoding:(n=t.requestOptions)===null||n===void 0?void 0:n.skipUrlEncoding,abortSignal:t.abortSignal,onUploadProgress:(i=t.requestOptions)===null||i===void 0?void 0:i.onUploadProgress,onDownloadProgress:(s=t.requestOptions)===null||s===void 0?void 0:s.onDownloadProgress,headers:Object.assign({},(o=t.requestOptions)===null||o===void 0?void 0:o.headers),onResponse:t.onResponse}}});var dj=h(XS=>{"use strict";Object.defineProperty(XS,"__esModule",{value:!0});XS.createRestError=uge;var cge=yl(),lge=ea();function uge(t,e){var r,n,i;let s=typeof t=="string"?e:t,o=(n=(r=s.body)===null||r===void 0?void 0:r.error)!==null&&n!==void 0?n:s.body,a=typeof t=="string"?t:(i=o?.message)!==null&&i!==void 0?i:`Unexpected status code: ${s.status}`;return new cge.RestError(a,{statusCode:uj(s.status),code:o?.code,request:s.request,response:dge(s)})}function dge(t){var e;return{headers:(0,lge.createHttpHeaders)(t.headers),request:t.request,status:(e=uj(t.status))!==null&&e!==void 0?e:-1}}function uj(t){let e=Number.parseInt(t);return Number.isNaN(e)?void 0:e}});var jl=h(Oe=>{"use strict";Object.defineProperty(Oe,"__esModule",{value:!0});Oe.createRestError=Oe.operationOptionsToRequestParameters=Oe.getClient=Oe.createDefaultHttpClient=Oe.uint8ArrayToString=Oe.stringToUint8Array=Oe.isRestError=Oe.RestError=Oe.createEmptyPipeline=Oe.createPipelineRequest=Oe.createHttpHeaders=Oe.TypeSpecRuntimeLogger=Oe.setLogLevel=Oe.getLogLevel=Oe.createClientLogger=Oe.AbortError=void 0;var fj=(gi(),Ui(hi)),fge=$f();Object.defineProperty(Oe,"AbortError",{enumerable:!0,get:function(){return fge.AbortError}});var wE=Xf();Object.defineProperty(Oe,"createClientLogger",{enumerable:!0,get:function(){return wE.createClientLogger}});Object.defineProperty(Oe,"getLogLevel",{enumerable:!0,get:function(){return wE.getLogLevel}});Object.defineProperty(Oe,"setLogLevel",{enumerable:!0,get:function(){return wE.setLogLevel}});Object.defineProperty(Oe,"TypeSpecRuntimeLogger",{enumerable:!0,get:function(){return wE.TypeSpecRuntimeLogger}});var hge=ea();Object.defineProperty(Oe,"createHttpHeaders",{enumerable:!0,get:function(){return hge.createHttpHeaders}});fj.__exportStar(M2(),Oe);fj.__exportStar(U2(),Oe);var gge=Xw();Object.defineProperty(Oe,"createPipelineRequest",{enumerable:!0,get:function(){return gge.createPipelineRequest}});var mge=tS();Object.defineProperty(Oe,"createEmptyPipeline",{enumerable:!0,get:function(){return mge.createEmptyPipeline}});var hj=yl();Object.defineProperty(Oe,"RestError",{enumerable:!0,get:function(){return hj.RestError}});Object.defineProperty(Oe,"isRestError",{enumerable:!0,get:function(){return hj.isRestError}});var gj=gA();Object.defineProperty(Oe,"stringToUint8Array",{enumerable:!0,get:function(){return gj.stringToUint8Array}});Object.defineProperty(Oe,"uint8ArrayToString",{enumerable:!0,get:function(){return gj.uint8ArrayToString}});var pge=dS();Object.defineProperty(Oe,"createDefaultHttpClient",{enumerable:!0,get:function(){return pge.createDefaultHttpClient}});var yge=cj();Object.defineProperty(Oe,"getClient",{enumerable:!0,get:function(){return yge.getClient}});var Ege=lj();Object.defineProperty(Oe,"operationOptionsToRequestParameters",{enumerable:!0,get:function(){return Ege.operationOptionsToRequestParameters}});var Cge=dj();Object.defineProperty(Oe,"createRestError",{enumerable:!0,get:function(){return Cge.createRestError}})});var ex=h(ZS=>{"use strict";Object.defineProperty(ZS,"__esModule",{value:!0});ZS.createEmptyPipeline=Bge;var Ige=jl();function Bge(){return(0,Ige.createEmptyPipeline)()}});var mj=h(SE=>{"use strict";Object.defineProperty(SE,"__esModule",{value:!0});SE.createLoggerContext=void 0;var Qge=Xf();Object.defineProperty(SE,"createLoggerContext",{enumerable:!0,get:function(){return Qge.createLoggerContext}})});var zl=h(EA=>{"use strict";Object.defineProperty(EA,"__esModule",{value:!0});EA.AzureLogger=void 0;EA.setLogLevel=Nge;EA.getLogLevel=wge;EA.createClientLogger=Sge;var bge=mj(),xE=(0,bge.createLoggerContext)({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});EA.AzureLogger=xE.logger;function Nge(t){xE.setLogLevel(t)}function wge(){return xE.getLogLevel()}function Sge(t){return xE.createClientLogger(t)}});var lh=h(RE=>{"use strict";Object.defineProperty(RE,"__esModule",{value:!0});RE.logger=void 0;var xge=zl();RE.logger=(0,xge.createClientLogger)("core-rest-pipeline")});var pj=h(uh=>{"use strict";Object.defineProperty(uh,"__esModule",{value:!0});uh.exponentialRetryPolicyName=void 0;uh.exponentialRetryPolicy=Dge;var Rge=dE(),vge=Nl(),_ge=mA();uh.exponentialRetryPolicyName="exponentialRetryPolicy";function Dge(t={}){var e;return(0,vge.retryPolicy)([(0,Rge.exponentialRetryStrategy)(Object.assign(Object.assign({},t),{ignoreSystemErrors:!0}))],{maxRetries:(e=t.maxRetries)!==null&&e!==void 0?e:_ge.DEFAULT_RETRY_POLICY_COUNT})}});var yj=h(Gl=>{"use strict";Object.defineProperty(Gl,"__esModule",{value:!0});Gl.systemErrorRetryPolicyName=void 0;Gl.systemErrorRetryPolicy=Oge;var kge=dE(),Pge=Nl(),Tge=mA();Gl.systemErrorRetryPolicyName="systemErrorRetryPolicy";function Oge(t={}){var e;return{name:Gl.systemErrorRetryPolicyName,sendRequest:(0,Pge.retryPolicy)([(0,kge.exponentialRetryStrategy)(Object.assign(Object.assign({},t),{ignoreHttpStatusCodes:!0}))],{maxRetries:(e=t.maxRetries)!==null&&e!==void 0?e:Tge.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}});var Ej=h(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});Yl.throttlingRetryPolicyName=void 0;Yl.throttlingRetryPolicy=Uge;var Lge=uE(),Mge=Nl(),Fge=mA();Yl.throttlingRetryPolicyName="throttlingRetryPolicy";function Uge(t={}){var e;return{name:Yl.throttlingRetryPolicyName,sendRequest:(0,Mge.retryPolicy)([(0,Lge.throttlingRetryStrategy)()],{maxRetries:(e=t.maxRetries)!==null&&e!==void 0?e:Fge.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}});var Bn=h(ie=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0});ie.userAgentPolicyName=ie.userAgentPolicy=ie.tlsPolicyName=ie.tlsPolicy=ie.redirectPolicyName=ie.redirectPolicy=ie.getDefaultProxySettings=ie.proxyPolicyName=ie.proxyPolicy=ie.multipartPolicyName=ie.multipartPolicy=ie.logPolicyName=ie.logPolicy=ie.formDataPolicyName=ie.formDataPolicy=ie.throttlingRetryPolicyName=ie.throttlingRetryPolicy=ie.systemErrorRetryPolicyName=ie.systemErrorRetryPolicy=ie.retryPolicy=ie.exponentialRetryPolicyName=ie.exponentialRetryPolicy=ie.defaultRetryPolicyName=ie.defaultRetryPolicy=ie.decompressResponsePolicyName=ie.decompressResponsePolicy=ie.agentPolicyName=ie.agentPolicy=void 0;var Cj=LS();Object.defineProperty(ie,"agentPolicy",{enumerable:!0,get:function(){return Cj.agentPolicy}});Object.defineProperty(ie,"agentPolicyName",{enumerable:!0,get:function(){return Cj.agentPolicyName}});var Ij=yS();Object.defineProperty(ie,"decompressResponsePolicy",{enumerable:!0,get:function(){return Ij.decompressResponsePolicy}});Object.defineProperty(ie,"decompressResponsePolicyName",{enumerable:!0,get:function(){return Ij.decompressResponsePolicyName}});var Bj=wS();Object.defineProperty(ie,"defaultRetryPolicy",{enumerable:!0,get:function(){return Bj.defaultRetryPolicy}});Object.defineProperty(ie,"defaultRetryPolicyName",{enumerable:!0,get:function(){return Bj.defaultRetryPolicyName}});var Qj=pj();Object.defineProperty(ie,"exponentialRetryPolicy",{enumerable:!0,get:function(){return Qj.exponentialRetryPolicy}});Object.defineProperty(ie,"exponentialRetryPolicyName",{enumerable:!0,get:function(){return Qj.exponentialRetryPolicyName}});var qge=Nl();Object.defineProperty(ie,"retryPolicy",{enumerable:!0,get:function(){return qge.retryPolicy}});var bj=yj();Object.defineProperty(ie,"systemErrorRetryPolicy",{enumerable:!0,get:function(){return bj.systemErrorRetryPolicy}});Object.defineProperty(ie,"systemErrorRetryPolicyName",{enumerable:!0,get:function(){return bj.systemErrorRetryPolicyName}});var Nj=Ej();Object.defineProperty(ie,"throttlingRetryPolicy",{enumerable:!0,get:function(){return Nj.throttlingRetryPolicy}});Object.defineProperty(ie,"throttlingRetryPolicyName",{enumerable:!0,get:function(){return Nj.throttlingRetryPolicyName}});var wj=_S();Object.defineProperty(ie,"formDataPolicy",{enumerable:!0,get:function(){return wj.formDataPolicy}});Object.defineProperty(ie,"formDataPolicyName",{enumerable:!0,get:function(){return wj.formDataPolicyName}});var Sj=fS();Object.defineProperty(ie,"logPolicy",{enumerable:!0,get:function(){return Sj.logPolicy}});Object.defineProperty(ie,"logPolicyName",{enumerable:!0,get:function(){return Sj.logPolicyName}});var xj=qS();Object.defineProperty(ie,"multipartPolicy",{enumerable:!0,get:function(){return xj.multipartPolicy}});Object.defineProperty(ie,"multipartPolicyName",{enumerable:!0,get:function(){return xj.multipartPolicyName}});var tx=OS();Object.defineProperty(ie,"proxyPolicy",{enumerable:!0,get:function(){return tx.proxyPolicy}});Object.defineProperty(ie,"proxyPolicyName",{enumerable:!0,get:function(){return tx.proxyPolicyName}});Object.defineProperty(ie,"getDefaultProxySettings",{enumerable:!0,get:function(){return tx.getDefaultProxySettings}});var Rj=hS();Object.defineProperty(ie,"redirectPolicy",{enumerable:!0,get:function(){return Rj.redirectPolicy}});Object.defineProperty(ie,"redirectPolicyName",{enumerable:!0,get:function(){return Rj.redirectPolicyName}});var vj=MS();Object.defineProperty(ie,"tlsPolicy",{enumerable:!0,get:function(){return vj.tlsPolicy}});Object.defineProperty(ie,"tlsPolicyName",{enumerable:!0,get:function(){return vj.tlsPolicyName}});var _j=pS();Object.defineProperty(ie,"userAgentPolicy",{enumerable:!0,get:function(){return _j.userAgentPolicy}});Object.defineProperty(ie,"userAgentPolicyName",{enumerable:!0,get:function(){return _j.userAgentPolicyName}})});var rx=h(dh=>{"use strict";Object.defineProperty(dh,"__esModule",{value:!0});dh.logPolicyName=void 0;dh.logPolicy=jge;var Hge=lh(),Dj=Bn();dh.logPolicyName=Dj.logPolicyName;function jge(t={}){return(0,Dj.logPolicy)(Object.assign({logger:Hge.logger.info},t))}});var nx=h(fh=>{"use strict";Object.defineProperty(fh,"__esModule",{value:!0});fh.redirectPolicyName=void 0;fh.redirectPolicy=zge;var kj=Bn();fh.redirectPolicyName=kj.redirectPolicyName;function zge(t={}){return(0,kj.redirectPolicy)(t)}});var Tj=h(vE=>{"use strict";Object.defineProperty(vE,"__esModule",{value:!0});vE.getHeaderName=Gge;vE.setPlatformSpecificData=Yge;var Pj=(gi(),Ui(hi)),ix=Pj.__importStar(require("node:os")),sx=Pj.__importStar(require("node:process"));function Gge(){return"User-Agent"}async function Yge(t){if(sx&&sx.versions){let e=sx.versions;e.bun?t.set("Bun",e.bun):e.deno?t.set("Deno",e.deno):e.node&&t.set("Node",e.node)}t.set("OS",`(${ix.arch()}-${ix.type()}-${ix.release()})`)}});var _E=h(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});Jl.DEFAULT_RETRY_POLICY_COUNT=Jl.SDK_VERSION=void 0;Jl.SDK_VERSION="1.22.0";Jl.DEFAULT_RETRY_POLICY_COUNT=3});var ox=h(DE=>{"use strict";Object.defineProperty(DE,"__esModule",{value:!0});DE.getUserAgentHeaderName=Wge;DE.getUserAgentValue=$ge;var Oj=Tj(),Jge=_E();function Vge(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}function Wge(){return(0,Oj.getHeaderName)()}async function $ge(t){let e=new Map;e.set("core-rest-pipeline",Jge.SDK_VERSION),await(0,Oj.setPlatformSpecificData)(e);let r=Vge(e);return t?`${t} ${r}`:r}});var ax=h(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});Vl.userAgentPolicyName=void 0;Vl.userAgentPolicy=Kge;var Mj=ox(),Lj=(0,Mj.getUserAgentHeaderName)();Vl.userAgentPolicyName="userAgentPolicy";function Kge(t={}){let e=(0,Mj.getUserAgentValue)(t.userAgentPrefix);return{name:Vl.userAgentPolicyName,async sendRequest(r,n){return r.headers.has(Lj)||r.headers.set(Lj,await e),n(r)}}}});var Uj=h(kE=>{"use strict";Object.defineProperty(kE,"__esModule",{value:!0});kE.computeSha256Hmac=Xge;kE.computeSha256Hash=Zge;var Fj=require("node:crypto");async function Xge(t,e,r){let n=Buffer.from(t,"base64");return(0,Fj.createHmac)("sha256",n).update(e).digest(r)}async function Zge(t,e){return(0,Fj.createHash)("sha256").update(t).digest(e)}});var hh=h(Le=>{"use strict";Object.defineProperty(Le,"__esModule",{value:!0});Le.Sanitizer=Le.uint8ArrayToString=Le.stringToUint8Array=Le.isWebWorker=Le.isReactNative=Le.isDeno=Le.isNodeRuntime=Le.isNodeLike=Le.isBun=Le.isBrowser=Le.randomUUID=Le.computeSha256Hmac=Le.computeSha256Hash=Le.isError=Le.isObject=Le.getRandomIntegerInclusive=Le.calculateRetryDelay=void 0;var eme=BS();Object.defineProperty(Le,"calculateRetryDelay",{enumerable:!0,get:function(){return eme.calculateRetryDelay}});var tme=CS();Object.defineProperty(Le,"getRandomIntegerInclusive",{enumerable:!0,get:function(){return tme.getRandomIntegerInclusive}});var rme=eE();Object.defineProperty(Le,"isObject",{enumerable:!0,get:function(){return rme.isObject}});var nme=iS();Object.defineProperty(Le,"isError",{enumerable:!0,get:function(){return nme.isError}});var qj=Uj();Object.defineProperty(Le,"computeSha256Hash",{enumerable:!0,get:function(){return qj.computeSha256Hash}});Object.defineProperty(Le,"computeSha256Hmac",{enumerable:!0,get:function(){return qj.computeSha256Hmac}});var ime=Zy();Object.defineProperty(Le,"randomUUID",{enumerable:!0,get:function(){return ime.randomUUID}});var CA=sh();Object.defineProperty(Le,"isBrowser",{enumerable:!0,get:function(){return CA.isBrowser}});Object.defineProperty(Le,"isBun",{enumerable:!0,get:function(){return CA.isBun}});Object.defineProperty(Le,"isNodeLike",{enumerable:!0,get:function(){return CA.isNodeLike}});Object.defineProperty(Le,"isNodeRuntime",{enumerable:!0,get:function(){return CA.isNodeRuntime}});Object.defineProperty(Le,"isDeno",{enumerable:!0,get:function(){return CA.isDeno}});Object.defineProperty(Le,"isReactNative",{enumerable:!0,get:function(){return CA.isReactNative}});Object.defineProperty(Le,"isWebWorker",{enumerable:!0,get:function(){return CA.isWebWorker}});var Hj=gA();Object.defineProperty(Le,"stringToUint8Array",{enumerable:!0,get:function(){return Hj.stringToUint8Array}});Object.defineProperty(Le,"uint8ArrayToString",{enumerable:!0,get:function(){return Hj.uint8ArrayToString}});var sme=Zf();Object.defineProperty(Le,"Sanitizer",{enumerable:!0,get:function(){return sme.Sanitizer}})});var jj=h(Ax=>{"use strict";Object.defineProperty(Ax,"__esModule",{value:!0});Ax.cancelablePromiseRace=ome;async function ome(t,e){var r,n;let i=new AbortController;function s(){i.abort()}(r=e?.abortSignal)===null||r===void 0||r.addEventListener("abort",s);try{return await Promise.race(t.map(o=>o({abortSignal:i.signal})))}finally{i.abort(),(n=e?.abortSignal)===null||n===void 0||n.removeEventListener("abort",s)}}});var zj=h(PE=>{"use strict";Object.defineProperty(PE,"__esModule",{value:!0});PE.AbortError=void 0;var cx=class extends Error{constructor(e){super(e),this.name="AbortError"}};PE.AbortError=cx});var lx=h(TE=>{"use strict";Object.defineProperty(TE,"__esModule",{value:!0});TE.AbortError=void 0;var ame=zj();Object.defineProperty(TE,"AbortError",{enumerable:!0,get:function(){return ame.AbortError}})});var dx=h(ux=>{"use strict";Object.defineProperty(ux,"__esModule",{value:!0});ux.createAbortablePromise=cme;var Ame=lx();function cme(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,o)=>{function a(){o(new Ame.AbortError(i??"The operation was aborted."))}function A(){n?.removeEventListener("abort",c)}function c(){r?.(),A(),a()}if(n?.aborted)return a();try{t(l=>{A(),s(l)},l=>{A(),o(l)})}catch(l){o(l)}n?.addEventListener("abort",c)})}});var Gj=h(OE=>{"use strict";Object.defineProperty(OE,"__esModule",{value:!0});OE.delay=fme;OE.calculateRetryDelay=hme;var lme=dx(),ume=hh(),dme="The delay was aborted.";function fme(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return(0,lme.createAbortablePromise)(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:i??dme})}function hme(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,ume.getRandomIntegerInclusive)(0,n/2)}}});var Yj=h(fx=>{"use strict";Object.defineProperty(fx,"__esModule",{value:!0});fx.getErrorMessage=mme;var gme=hh();function mme(t){if((0,gme.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}`}}});var Vj=h(gh=>{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.isDefined=hx;gh.isObjectWithProperties=pme;gh.objectHasProperty=Jj;function hx(t){return typeof t<"u"&&t!==null}function pme(t,e){if(!hx(t)||typeof t!="object")return!1;for(let r of e)if(!Jj(t,r))return!1;return!0}function Jj(t,e){return hx(t)&&typeof t=="object"&&e in t}});var bs=h(we=>{"use strict";Object.defineProperty(we,"__esModule",{value:!0});we.isWebWorker=we.isReactNative=we.isNodeRuntime=we.isNodeLike=we.isNode=we.isDeno=we.isBun=we.isBrowser=we.objectHasProperty=we.isObjectWithProperties=we.isDefined=we.getErrorMessage=we.delay=we.createAbortablePromise=we.cancelablePromiseRace=void 0;we.calculateRetryDelay=Qme;we.computeSha256Hash=bme;we.computeSha256Hmac=Nme;we.getRandomIntegerInclusive=wme;we.isError=Sme;we.isObject=xme;we.randomUUID=Rme;we.uint8ArrayToString=vme;we.stringToUint8Array=_me;var yme=(gi(),Ui(hi)),kr=yme.__importStar(hh()),Eme=jj();Object.defineProperty(we,"cancelablePromiseRace",{enumerable:!0,get:function(){return Eme.cancelablePromiseRace}});var Cme=dx();Object.defineProperty(we,"createAbortablePromise",{enumerable:!0,get:function(){return Cme.createAbortablePromise}});var Ime=Gj();Object.defineProperty(we,"delay",{enumerable:!0,get:function(){return Ime.delay}});var Bme=Yj();Object.defineProperty(we,"getErrorMessage",{enumerable:!0,get:function(){return Bme.getErrorMessage}});var gx=Vj();Object.defineProperty(we,"isDefined",{enumerable:!0,get:function(){return gx.isDefined}});Object.defineProperty(we,"isObjectWithProperties",{enumerable:!0,get:function(){return gx.isObjectWithProperties}});Object.defineProperty(we,"objectHasProperty",{enumerable:!0,get:function(){return gx.objectHasProperty}});function Qme(t,e){return kr.calculateRetryDelay(t,e)}function bme(t,e){return kr.computeSha256Hash(t,e)}function Nme(t,e,r){return kr.computeSha256Hmac(t,e,r)}function wme(t,e){return kr.getRandomIntegerInclusive(t,e)}function Sme(t){return kr.isError(t)}function xme(t){return kr.isObject(t)}function Rme(){return kr.randomUUID()}we.isBrowser=kr.isBrowser;we.isBun=kr.isBun;we.isDeno=kr.isDeno;we.isNode=kr.isNodeLike;we.isNodeLike=kr.isNodeLike;we.isNodeRuntime=kr.isNodeRuntime;we.isReactNative=kr.isReactNative;we.isWebWorker=kr.isWebWorker;function vme(t,e){return kr.uint8ArrayToString(t,e)}function _me(t,e){return kr.stringToUint8Array(t,e)}});var mx=h(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.hasRawContent=$j;Wl.getRawContent=Pme;Wl.createFileFromStream=Tme;Wl.createFile=Ome;var Dme=bs();function kme(t){return!!(t&&typeof t.pipe=="function")}var Wj={arrayBuffer:()=>{throw new Error("Not implemented")},bytes:()=>{throw new Error("Not implemented")},slice:()=>{throw new Error("Not implemented")},text:()=>{throw new Error("Not implemented")}},LE=Symbol("rawContent");function $j(t){return typeof t[LE]=="function"}function Pme(t){return $j(t)?t[LE]():t}function Tme(t,e,r={}){var n,i,s,o;return Object.assign(Object.assign({},Wj),{type:(n=r.type)!==null&&n!==void 0?n:"",lastModified:(i=r.lastModified)!==null&&i!==void 0?i:new Date().getTime(),webkitRelativePath:(s=r.webkitRelativePath)!==null&&s!==void 0?s:"",size:(o=r.size)!==null&&o!==void 0?o:-1,name:e,stream:()=>{let a=t();if(kme(a))throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.");return a},[LE]:t})}function Ome(t,e,r={}){var n,i,s;return Dme.isNodeLike?Object.assign(Object.assign({},Wj),{type:(n=r.type)!==null&&n!==void 0?n:"",lastModified:(i=r.lastModified)!==null&&i!==void 0?i:new Date().getTime(),webkitRelativePath:(s=r.webkitRelativePath)!==null&&s!==void 0?s:"",size:t.byteLength,name:e,arrayBuffer:async()=>t.buffer,stream:()=>new Blob([t]).stream(),[LE]:()=>t}):new File([t],e,r)}});var px=h($l=>{"use strict";Object.defineProperty($l,"__esModule",{value:!0});$l.multipartPolicyName=void 0;$l.multipartPolicy=Lme;var Xj=Bn(),Kj=mx();$l.multipartPolicyName=Xj.multipartPolicyName;function Lme(){let t=(0,Xj.multipartPolicy)();return{name:$l.multipartPolicyName,sendRequest:async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)(0,Kj.hasRawContent)(n.body)&&(n.body=(0,Kj.getRawContent)(n.body));return t.sendRequest(e,r)}}}});var yx=h(mh=>{"use strict";Object.defineProperty(mh,"__esModule",{value:!0});mh.decompressResponsePolicyName=void 0;mh.decompressResponsePolicy=Mme;var Zj=Bn();mh.decompressResponsePolicyName=Zj.decompressResponsePolicyName;function Mme(){return(0,Zj.decompressResponsePolicy)()}});var Ex=h(ph=>{"use strict";Object.defineProperty(ph,"__esModule",{value:!0});ph.defaultRetryPolicyName=void 0;ph.defaultRetryPolicy=Fme;var ez=Bn();ph.defaultRetryPolicyName=ez.defaultRetryPolicyName;function Fme(t={}){return(0,ez.defaultRetryPolicy)(t)}});var Cx=h(yh=>{"use strict";Object.defineProperty(yh,"__esModule",{value:!0});yh.formDataPolicyName=void 0;yh.formDataPolicy=Ume;var tz=Bn();yh.formDataPolicyName=tz.formDataPolicyName;function Ume(){return(0,tz.formDataPolicy)()}});var Bx=h(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.proxyPolicyName=void 0;Kl.getDefaultProxySettings=qme;Kl.proxyPolicy=Hme;var Ix=Bn();Kl.proxyPolicyName=Ix.proxyPolicyName;function qme(t){return(0,Ix.getDefaultProxySettings)(t)}function Hme(t,e){return(0,Ix.proxyPolicy)(t,e)}});var Qx=h(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});Xl.setClientRequestIdPolicyName=void 0;Xl.setClientRequestIdPolicy=jme;Xl.setClientRequestIdPolicyName="setClientRequestIdPolicy";function jme(t="x-ms-client-request-id"){return{name:Xl.setClientRequestIdPolicyName,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}});var bx=h(Eh=>{"use strict";Object.defineProperty(Eh,"__esModule",{value:!0});Eh.agentPolicyName=void 0;Eh.agentPolicy=zme;var rz=Bn();Eh.agentPolicyName=rz.agentPolicyName;function zme(t){return(0,rz.agentPolicy)(t)}});var Nx=h(Ch=>{"use strict";Object.defineProperty(Ch,"__esModule",{value:!0});Ch.tlsPolicyName=void 0;Ch.tlsPolicy=Gme;var nz=Bn();Ch.tlsPolicyName=nz.tlsPolicyName;function Gme(t){return(0,nz.tlsPolicy)(t)}});var wx=h(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.TracingContextImpl=ao.knownContextKeys=void 0;ao.createTracingContext=Yme;ao.knownContextKeys={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function Yme(t={}){let e=new ME(t.parentContext);return t.span&&(e=e.setValue(ao.knownContextKeys.span,t.span)),t.namespace&&(e=e.setValue(ao.knownContextKeys.namespace,t.namespace)),e}var ME=class t{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}};ao.TracingContextImpl=ME});var iz=h(FE=>{"use strict";Object.defineProperty(FE,"__esModule",{value:!0});FE.state=void 0;FE.state={instrumenterImplementation:void 0}});var Sx=h(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});Zl.createDefaultTracingSpan=sz;Zl.createDefaultInstrumenter=oz;Zl.useInstrumenter=Vme;Zl.getInstrumenter=Wme;var Jme=wx(),UE=iz();function sz(){return{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function oz(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(t,e)=>({span:sz(),tracingContext:(0,Jme.createTracingContext)({parentContext:e.tracingContext})}),withContext(t,e,...r){return e(...r)}}}function Vme(t){UE.state.instrumenterImplementation=t}function Wme(){return UE.state.instrumenterImplementation||(UE.state.instrumenterImplementation=oz()),UE.state.instrumenterImplementation}});var az=h(Rx=>{"use strict";Object.defineProperty(Rx,"__esModule",{value:!0});Rx.createTracingClient=$me;var qE=Sx(),xx=wx();function $me(t){let{namespace:e,packageName:r,packageVersion:n}=t;function i(c,l,u){var d;let f=(0,qE.getInstrumenter)().startSpan(c,Object.assign(Object.assign({},u),{packageName:r,packageVersion:n,tracingContext:(d=l?.tracingOptions)===null||d===void 0?void 0:d.tracingContext})),g=f.tracingContext,m=f.span;g.getValue(xx.knownContextKeys.namespace)||(g=g.setValue(xx.knownContextKeys.namespace,e)),m.setAttribute("az.namespace",g.getValue(xx.knownContextKeys.namespace));let E=Object.assign({},l,{tracingOptions:Object.assign(Object.assign({},l?.tracingOptions),{tracingContext:g})});return{span:m,updatedOptions:E}}async function s(c,l,u,d){let{span:f,updatedOptions:g}=i(c,l,d);try{let m=await o(g.tracingOptions.tracingContext,()=>Promise.resolve(u(g,f)));return f.setStatus({status:"success"}),m}catch(m){throw f.setStatus({status:"error",error:m}),m}finally{f.end()}}function o(c,l,...u){return(0,qE.getInstrumenter)().withContext(c,l,...u)}function a(c){return(0,qE.getInstrumenter)().parseTraceparentHeader(c)}function A(c){return(0,qE.getInstrumenter)().createRequestHeaders(c)}return{startSpan:i,withSpan:s,withContext:o,parseTraceparentHeader:a,createRequestHeaders:A}}});var vx=h(eu=>{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});eu.createTracingClient=eu.useInstrumenter=void 0;var Kme=Sx();Object.defineProperty(eu,"useInstrumenter",{enumerable:!0,get:function(){return Kme.useInstrumenter}});var Xme=az();Object.defineProperty(eu,"createTracingClient",{enumerable:!0,get:function(){return Xme.createTracingClient}})});var HE=h(Ih=>{"use strict";Object.defineProperty(Ih,"__esModule",{value:!0});Ih.RestError=void 0;Ih.isRestError=Zme;var Az=jl();Ih.RestError=Az.RestError;function Zme(t){return(0,Az.isRestError)(t)}});var _x=h(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});tu.tracingPolicyName=void 0;tu.tracingPolicy=spe;var epe=vx(),tpe=_E(),rpe=ox(),jE=lh(),Bh=bs(),npe=HE(),ipe=hh();tu.tracingPolicyName="tracingPolicy";function spe(t={}){let e=(0,rpe.getUserAgentValue)(t.userAgentPrefix),r=new ipe.Sanitizer({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=ope();return{name:tu.tracingPolicyName,async sendRequest(i,s){var o;if(!n)return s(i);let a=await e,A={"http.url":r.sanitizeUrl(i.url),"http.method":i.method,"http.user_agent":a,requestId:i.requestId};a&&(A["http.user_agent"]=a);let{span:c,tracingContext:l}=(o=ape(n,i,A))!==null&&o!==void 0?o:{};if(!c||!l)return s(i);try{let u=await n.withContext(l,s,i);return cpe(c,u),u}catch(u){throw Ape(c,u),u}}}}function ope(){try{return(0,epe.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:tpe.SDK_VERSION})}catch(t){jE.logger.warning(`Error when creating the TracingClient: ${(0,Bh.getErrorMessage)(t)}`);return}}function ape(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[o,a]of Object.entries(s))e.headers.set(o,a);return{span:n,tracingContext:i.tracingOptions.tracingContext}}catch(n){jE.logger.warning(`Skipping creating a tracing span due to an error: ${(0,Bh.getErrorMessage)(n)}`);return}}function Ape(t,e){try{t.setStatus({status:"error",error:(0,Bh.isError)(e)?e:void 0}),(0,npe.isRestError)(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){jE.logger.warning(`Skipping tracing span processing due to an error: ${(0,Bh.getErrorMessage)(r)}`)}}function cpe(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){jE.logger.warning(`Skipping tracing span processing due to an error: ${(0,Bh.getErrorMessage)(r)}`)}}});var kx=h(Dx=>{"use strict";Object.defineProperty(Dx,"__esModule",{value:!0});Dx.wrapAbortSignalLike=lpe;function lpe(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)}function i(){e.abort(t.reason),n()}return t.addEventListener("abort",i),{abortSignal:e.signal,cleanup:n}}});var cz=h(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});ru.wrapAbortSignalLikePolicyName=void 0;ru.wrapAbortSignalLikePolicy=dpe;var upe=kx();ru.wrapAbortSignalLikePolicyName="wrapAbortSignalLikePolicy";function dpe(){return{name:ru.wrapAbortSignalLikePolicyName,sendRequest:async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=(0,upe.wrapAbortSignalLike)(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}}}}});var dz=h(Px=>{"use strict";Object.defineProperty(Px,"__esModule",{value:!0});Px.createPipelineFromOptions=wpe;var fpe=rx(),hpe=ex(),gpe=nx(),mpe=ax(),lz=px(),ppe=yx(),ype=Ex(),Epe=Cx(),uz=bs(),Cpe=Bx(),Ipe=Qx(),Bpe=bx(),Qpe=Nx(),bpe=_x(),Npe=cz();function wpe(t){var e;let r=(0,hpe.createEmptyPipeline)();return uz.isNodeLike&&(t.agent&&r.addPolicy((0,Bpe.agentPolicy)(t.agent)),t.tlsOptions&&r.addPolicy((0,Qpe.tlsPolicy)(t.tlsOptions)),r.addPolicy((0,Cpe.proxyPolicy)(t.proxyOptions)),r.addPolicy((0,ppe.decompressResponsePolicy)())),r.addPolicy((0,Npe.wrapAbortSignalLikePolicy)()),r.addPolicy((0,Epe.formDataPolicy)(),{beforePolicies:[lz.multipartPolicyName]}),r.addPolicy((0,mpe.userAgentPolicy)(t.userAgentOptions)),r.addPolicy((0,Ipe.setClientRequestIdPolicy)((e=t.telemetryOptions)===null||e===void 0?void 0:e.clientRequestIdHeaderName)),r.addPolicy((0,lz.multipartPolicy)(),{afterPhase:"Deserialize"}),r.addPolicy((0,ype.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),r.addPolicy((0,bpe.tracingPolicy)(Object.assign(Object.assign({},t.userAgentOptions),t.loggingOptions)),{afterPhase:"Retry"}),uz.isNodeLike&&r.addPolicy((0,gpe.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),r.addPolicy((0,fpe.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),r}});var fz=h(Tx=>{"use strict";Object.defineProperty(Tx,"__esModule",{value:!0});Tx.createDefaultHttpClient=Rpe;var Spe=jl(),xpe=kx();function Rpe(){let t=(0,Spe.createDefaultHttpClient)();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?(0,xpe.wrapAbortSignalLike)(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}});var hz=h(Ox=>{"use strict";Object.defineProperty(Ox,"__esModule",{value:!0});Ox.createHttpHeaders=_pe;var vpe=jl();function _pe(t){return(0,vpe.createHttpHeaders)(t)}});var gz=h(Lx=>{"use strict";Object.defineProperty(Lx,"__esModule",{value:!0});Lx.createPipelineRequest=kpe;var Dpe=jl();function kpe(t){return(0,Dpe.createPipelineRequest)(t)}});var pz=h(Qh=>{"use strict";Object.defineProperty(Qh,"__esModule",{value:!0});Qh.exponentialRetryPolicyName=void 0;Qh.exponentialRetryPolicy=Ppe;var mz=Bn();Qh.exponentialRetryPolicyName=mz.exponentialRetryPolicyName;function Ppe(t={}){return(0,mz.exponentialRetryPolicy)(t)}});var Ez=h(bh=>{"use strict";Object.defineProperty(bh,"__esModule",{value:!0});bh.systemErrorRetryPolicyName=void 0;bh.systemErrorRetryPolicy=Tpe;var yz=Bn();bh.systemErrorRetryPolicyName=yz.systemErrorRetryPolicyName;function Tpe(t={}){return(0,yz.systemErrorRetryPolicy)(t)}});var Iz=h(Nh=>{"use strict";Object.defineProperty(Nh,"__esModule",{value:!0});Nh.throttlingRetryPolicyName=void 0;Nh.throttlingRetryPolicy=Ope;var Cz=Bn();Nh.throttlingRetryPolicyName=Cz.throttlingRetryPolicyName;function Ope(t={}){return(0,Cz.throttlingRetryPolicy)(t)}});var Bz=h(Mx=>{"use strict";Object.defineProperty(Mx,"__esModule",{value:!0});Mx.retryPolicy=qpe;var Lpe=zl(),Mpe=_E(),Fpe=Bn(),Upe=(0,Lpe.createClientLogger)("core-rest-pipeline retryPolicy");function qpe(t,e={maxRetries:Mpe.DEFAULT_RETRY_POLICY_COUNT}){return(0,Fpe.retryPolicy)(t,Object.assign({logger:Upe},e))}});var Fx=h(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.DEFAULT_CYCLER_OPTIONS=void 0;nu.createTokenCycler=zpe;var Hpe=bs();nu.DEFAULT_CYCLER_OPTIONS={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function jpe(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}}let i=await n();for(;i===null;)await(0,Hpe.delay)(e),i=await n();return i}function zpe(t,e){let r=null,n=null,i,s=Object.assign(Object.assign({},nu.DEFAULT_CYCLER_OPTIONS),e),o={get isRefreshing(){return r!==null},get shouldRefresh(){var A;return o.isRefreshing?!1:n?.refreshAfterTimestamp&&n.refreshAfterTimestamp<Date.now()?!0:((A=n?.expiresOnTimestamp)!==null&&A!==void 0?A:0)-s.refreshWindowInMs<Date.now()},get mustRefresh(){return n===null||n.expiresOnTimestamp-s.forcedRefreshWindowInMs<Date.now()}};function a(A,c){var l;return o.isRefreshing||(r=jpe(()=>t.getToken(A,c),s.retryIntervalInMs,(l=n?.expiresOnTimestamp)!==null&&l!==void 0?l:Date.now()).then(d=>(r=null,n=d,i=c.tenantId,n)).catch(d=>{throw r=null,n=null,i=void 0,d})),r}return async(A,c)=>{let l=!!c.claims,u=i!==c.tenantId;return l&&(n=null),u||l||o.mustRefresh?a(A,c):(o.shouldRefresh&&a(A,c),n)}}});var Sz=h(IA=>{"use strict";Object.defineProperty(IA,"__esModule",{value:!0});IA.bearerTokenAuthenticationPolicyName=void 0;IA.bearerTokenAuthenticationPolicy=Wpe;IA.parseChallenges=wz;var Gpe=Fx(),Ype=lh(),Jpe=HE();IA.bearerTokenAuthenticationPolicyName="bearerTokenAuthenticationPolicy";async function zE(t,e){try{return[await e(t),void 0]}catch(r){if((0,Jpe.isRestError)(r)&&r.response)return[r.response,r];throw r}}async function Vpe(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}`)}function Qz(t){return t.status===401&&t.headers.has("WWW-Authenticate")}async function bz(t,e){var r;let{scopes:n}=t,i=await t.getAccessToken(n,{enableCae:!0,claims:e});return i?(t.request.headers.set("Authorization",`${(r=i.tokenType)!==null&&r!==void 0?r:"Bearer"} ${i.token}`),!0):!1}function Wpe(t){var e,r,n;let{credential:i,scopes:s,challengeCallbacks:o}=t,a=t.logger||Ype.logger,A={authorizeRequest:(r=(e=o?.authorizeRequest)===null||e===void 0?void 0:e.bind(o))!==null&&r!==void 0?r:Vpe,authorizeRequestOnChallenge:(n=o?.authorizeRequestOnChallenge)===null||n===void 0?void 0:n.bind(o)},c=i?(0,Gpe.createTokenCycler)(i):()=>Promise.resolve(null);return{name:IA.bearerTokenAuthenticationPolicyName,async sendRequest(l,u){if(!l.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");await A.authorizeRequest({scopes:Array.isArray(s)?s:[s],request:l,getAccessToken:c,logger:a});let d,f,g;if([d,f]=await zE(l,u),Qz(d)){let m=Nz(d.headers.get("WWW-Authenticate"));if(m){let E;try{E=atob(m)}catch{return a.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${m}`),d}g=await bz({scopes:Array.isArray(s)?s:[s],response:d,request:l,getAccessToken:c,logger:a},E),g&&([d,f]=await zE(l,u))}else if(A.authorizeRequestOnChallenge&&(g=await A.authorizeRequestOnChallenge({scopes:Array.isArray(s)?s:[s],request:l,response:d,getAccessToken:c,logger:a}),g&&([d,f]=await zE(l,u)),Qz(d)&&(m=Nz(d.headers.get("WWW-Authenticate")),m))){let E;try{E=atob(m)}catch{return a.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${m}`),d}g=await bz({scopes:Array.isArray(s)?s:[s],response:d,request:l,getAccessToken:c,logger:a},E),g&&([d,f]=await zE(l,u))}}if(f)throw f;return d}}}function wz(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,n=[],i;for(;(i=e.exec(t))!==null;){let s=i[1],o=i[2],a={},A;for(;(A=r.exec(o))!==null;)a[A[1]]=A[2];n.push({scheme:s,params:a})}return n}function Nz(t){var e;return t?(e=wz(t).find(n=>n.scheme==="Bearer"&&n.params.claims&&n.params.error==="insufficient_claims"))===null||e===void 0?void 0:e.params.claims:void 0}});var xz=h(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});iu.ndJsonPolicyName=void 0;iu.ndJsonPolicy=$pe;iu.ndJsonPolicyName="ndJsonPolicy";function $pe(){return{name:iu.ndJsonPolicyName,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)}}}});var vz=h(BA=>{"use strict";Object.defineProperty(BA,"__esModule",{value:!0});BA.auxiliaryAuthenticationHeaderPolicyName=void 0;BA.auxiliaryAuthenticationHeaderPolicy=eye;var Kpe=Fx(),Xpe=lh();BA.auxiliaryAuthenticationHeaderPolicyName="auxiliaryAuthenticationHeaderPolicy";var Rz="x-ms-authorization-auxiliary";async function Zpe(t){var e,r;let{scopes:n,getAccessToken:i,request:s}=t,o={abortSignal:s.abortSignal,tracingOptions:s.tracingOptions};return(r=(e=await i(n,o))===null||e===void 0?void 0:e.token)!==null&&r!==void 0?r:""}function eye(t){let{credentials:e,scopes:r}=t,n=t.logger||Xpe.logger,i=new WeakMap;return{name:BA.auxiliaryAuthenticationHeaderPolicyName,async sendRequest(s,o){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(`${BA.auxiliaryAuthenticationHeaderPolicyName} header will not be set due to empty credentials.`),o(s);let a=[];for(let c of e){let l=i.get(c);l||(l=(0,Kpe.createTokenCycler)(c),i.set(c,l)),a.push(Zpe({scopes:Array.isArray(r)?r:[r],request:s,getAccessToken:l,logger:n}))}let A=(await Promise.all(a)).filter(c=>!!c);return A.length===0?(n.warning(`None of the auxiliary tokens are valid. ${Rz} header will not be set.`),o(s)):(s.headers.set(Rz,A.map(c=>`Bearer ${c}`).join(", ")),o(s))}}}});var Ao=h(L=>{"use strict";Object.defineProperty(L,"__esModule",{value:!0});L.createFileFromStream=L.createFile=L.agentPolicyName=L.agentPolicy=L.auxiliaryAuthenticationHeaderPolicyName=L.auxiliaryAuthenticationHeaderPolicy=L.ndJsonPolicyName=L.ndJsonPolicy=L.bearerTokenAuthenticationPolicyName=L.bearerTokenAuthenticationPolicy=L.formDataPolicyName=L.formDataPolicy=L.tlsPolicyName=L.tlsPolicy=L.userAgentPolicyName=L.userAgentPolicy=L.defaultRetryPolicy=L.tracingPolicyName=L.tracingPolicy=L.retryPolicy=L.throttlingRetryPolicyName=L.throttlingRetryPolicy=L.systemErrorRetryPolicyName=L.systemErrorRetryPolicy=L.redirectPolicyName=L.redirectPolicy=L.getDefaultProxySettings=L.proxyPolicyName=L.proxyPolicy=L.multipartPolicyName=L.multipartPolicy=L.logPolicyName=L.logPolicy=L.setClientRequestIdPolicyName=L.setClientRequestIdPolicy=L.exponentialRetryPolicyName=L.exponentialRetryPolicy=L.decompressResponsePolicyName=L.decompressResponsePolicy=L.isRestError=L.RestError=L.createPipelineRequest=L.createHttpHeaders=L.createDefaultHttpClient=L.createPipelineFromOptions=L.createEmptyPipeline=void 0;var tye=ex();Object.defineProperty(L,"createEmptyPipeline",{enumerable:!0,get:function(){return tye.createEmptyPipeline}});var rye=dz();Object.defineProperty(L,"createPipelineFromOptions",{enumerable:!0,get:function(){return rye.createPipelineFromOptions}});var nye=fz();Object.defineProperty(L,"createDefaultHttpClient",{enumerable:!0,get:function(){return nye.createDefaultHttpClient}});var iye=hz();Object.defineProperty(L,"createHttpHeaders",{enumerable:!0,get:function(){return iye.createHttpHeaders}});var sye=gz();Object.defineProperty(L,"createPipelineRequest",{enumerable:!0,get:function(){return sye.createPipelineRequest}});var _z=HE();Object.defineProperty(L,"RestError",{enumerable:!0,get:function(){return _z.RestError}});Object.defineProperty(L,"isRestError",{enumerable:!0,get:function(){return _z.isRestError}});var Dz=yx();Object.defineProperty(L,"decompressResponsePolicy",{enumerable:!0,get:function(){return Dz.decompressResponsePolicy}});Object.defineProperty(L,"decompressResponsePolicyName",{enumerable:!0,get:function(){return Dz.decompressResponsePolicyName}});var kz=pz();Object.defineProperty(L,"exponentialRetryPolicy",{enumerable:!0,get:function(){return kz.exponentialRetryPolicy}});Object.defineProperty(L,"exponentialRetryPolicyName",{enumerable:!0,get:function(){return kz.exponentialRetryPolicyName}});var Pz=Qx();Object.defineProperty(L,"setClientRequestIdPolicy",{enumerable:!0,get:function(){return Pz.setClientRequestIdPolicy}});Object.defineProperty(L,"setClientRequestIdPolicyName",{enumerable:!0,get:function(){return Pz.setClientRequestIdPolicyName}});var Tz=rx();Object.defineProperty(L,"logPolicy",{enumerable:!0,get:function(){return Tz.logPolicy}});Object.defineProperty(L,"logPolicyName",{enumerable:!0,get:function(){return Tz.logPolicyName}});var Oz=px();Object.defineProperty(L,"multipartPolicy",{enumerable:!0,get:function(){return Oz.multipartPolicy}});Object.defineProperty(L,"multipartPolicyName",{enumerable:!0,get:function(){return Oz.multipartPolicyName}});var Ux=Bx();Object.defineProperty(L,"proxyPolicy",{enumerable:!0,get:function(){return Ux.proxyPolicy}});Object.defineProperty(L,"proxyPolicyName",{enumerable:!0,get:function(){return Ux.proxyPolicyName}});Object.defineProperty(L,"getDefaultProxySettings",{enumerable:!0,get:function(){return Ux.getDefaultProxySettings}});var Lz=nx();Object.defineProperty(L,"redirectPolicy",{enumerable:!0,get:function(){return Lz.redirectPolicy}});Object.defineProperty(L,"redirectPolicyName",{enumerable:!0,get:function(){return Lz.redirectPolicyName}});var Mz=Ez();Object.defineProperty(L,"systemErrorRetryPolicy",{enumerable:!0,get:function(){return Mz.systemErrorRetryPolicy}});Object.defineProperty(L,"systemErrorRetryPolicyName",{enumerable:!0,get:function(){return Mz.systemErrorRetryPolicyName}});var Fz=Iz();Object.defineProperty(L,"throttlingRetryPolicy",{enumerable:!0,get:function(){return Fz.throttlingRetryPolicy}});Object.defineProperty(L,"throttlingRetryPolicyName",{enumerable:!0,get:function(){return Fz.throttlingRetryPolicyName}});var oye=Bz();Object.defineProperty(L,"retryPolicy",{enumerable:!0,get:function(){return oye.retryPolicy}});var Uz=_x();Object.defineProperty(L,"tracingPolicy",{enumerable:!0,get:function(){return Uz.tracingPolicy}});Object.defineProperty(L,"tracingPolicyName",{enumerable:!0,get:function(){return Uz.tracingPolicyName}});var aye=Ex();Object.defineProperty(L,"defaultRetryPolicy",{enumerable:!0,get:function(){return aye.defaultRetryPolicy}});var qz=ax();Object.defineProperty(L,"userAgentPolicy",{enumerable:!0,get:function(){return qz.userAgentPolicy}});Object.defineProperty(L,"userAgentPolicyName",{enumerable:!0,get:function(){return qz.userAgentPolicyName}});var Hz=Nx();Object.defineProperty(L,"tlsPolicy",{enumerable:!0,get:function(){return Hz.tlsPolicy}});Object.defineProperty(L,"tlsPolicyName",{enumerable:!0,get:function(){return Hz.tlsPolicyName}});var jz=Cx();Object.defineProperty(L,"formDataPolicy",{enumerable:!0,get:function(){return jz.formDataPolicy}});Object.defineProperty(L,"formDataPolicyName",{enumerable:!0,get:function(){return jz.formDataPolicyName}});var zz=Sz();Object.defineProperty(L,"bearerTokenAuthenticationPolicy",{enumerable:!0,get:function(){return zz.bearerTokenAuthenticationPolicy}});Object.defineProperty(L,"bearerTokenAuthenticationPolicyName",{enumerable:!0,get:function(){return zz.bearerTokenAuthenticationPolicyName}});var Gz=xz();Object.defineProperty(L,"ndJsonPolicy",{enumerable:!0,get:function(){return Gz.ndJsonPolicy}});Object.defineProperty(L,"ndJsonPolicyName",{enumerable:!0,get:function(){return Gz.ndJsonPolicyName}});var Yz=vz();Object.defineProperty(L,"auxiliaryAuthenticationHeaderPolicy",{enumerable:!0,get:function(){return Yz.auxiliaryAuthenticationHeaderPolicy}});Object.defineProperty(L,"auxiliaryAuthenticationHeaderPolicyName",{enumerable:!0,get:function(){return Yz.auxiliaryAuthenticationHeaderPolicyName}});var Jz=bx();Object.defineProperty(L,"agentPolicy",{enumerable:!0,get:function(){return Jz.agentPolicy}});Object.defineProperty(L,"agentPolicyName",{enumerable:!0,get:function(){return Jz.agentPolicyName}});var Vz=mx();Object.defineProperty(L,"createFile",{enumerable:!0,get:function(){return Vz.createFile}});Object.defineProperty(L,"createFileFromStream",{enumerable:!0,get:function(){return Vz.createFileFromStream}})});var Wz=h(GE=>{"use strict";Object.defineProperty(GE,"__esModule",{value:!0});GE.AzureKeyCredential=void 0;var qx=class{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}};GE.AzureKeyCredential=qx});var $z=h(Hx=>{"use strict";Object.defineProperty(Hx,"__esModule",{value:!0});Hx.isKeyCredential=cye;var Aye=bs();function cye(t){return(0,Aye.isObjectWithProperties)(t,["key"])&&typeof t.key=="string"}});var Kz=h(wh=>{"use strict";Object.defineProperty(wh,"__esModule",{value:!0});wh.AzureNamedKeyCredential=void 0;wh.isNamedKeyCredential=uye;var lye=bs(),jx=class{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}};wh.AzureNamedKeyCredential=jx;function uye(t){return(0,lye.isObjectWithProperties)(t,["name","key"])&&typeof t.key=="string"&&typeof t.name=="string"}});var Xz=h(Sh=>{"use strict";Object.defineProperty(Sh,"__esModule",{value:!0});Sh.AzureSASCredential=void 0;Sh.isSASCredential=fye;var dye=bs(),zx=class{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}};Sh.AzureSASCredential=zx;function fye(t){return(0,dye.isObjectWithProperties)(t,["signature"])&&typeof t.signature=="string"}});var Zz=h(xh=>{"use strict";Object.defineProperty(xh,"__esModule",{value:!0});xh.isBearerToken=hye;xh.isPopToken=gye;xh.isTokenCredential=mye;function hye(t){return!t.tokenType||t.tokenType==="Bearer"}function gye(t){return t.tokenType==="pop"}function mye(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}});var rG=h(qr=>{"use strict";Object.defineProperty(qr,"__esModule",{value:!0});qr.isTokenCredential=qr.isSASCredential=qr.AzureSASCredential=qr.isNamedKeyCredential=qr.AzureNamedKeyCredential=qr.isKeyCredential=qr.AzureKeyCredential=void 0;var pye=Wz();Object.defineProperty(qr,"AzureKeyCredential",{enumerable:!0,get:function(){return pye.AzureKeyCredential}});var yye=$z();Object.defineProperty(qr,"isKeyCredential",{enumerable:!0,get:function(){return yye.isKeyCredential}});var eG=Kz();Object.defineProperty(qr,"AzureNamedKeyCredential",{enumerable:!0,get:function(){return eG.AzureNamedKeyCredential}});Object.defineProperty(qr,"isNamedKeyCredential",{enumerable:!0,get:function(){return eG.isNamedKeyCredential}});var tG=Xz();Object.defineProperty(qr,"AzureSASCredential",{enumerable:!0,get:function(){return tG.AzureSASCredential}});Object.defineProperty(qr,"isSASCredential",{enumerable:!0,get:function(){return tG.isSASCredential}});var Eye=Zz();Object.defineProperty(qr,"isTokenCredential",{enumerable:!0,get:function(){return Eye.isTokenCredential}})});var Gx=h(ra=>{"use strict";Object.defineProperty(ra,"__esModule",{value:!0});ra.disableKeepAlivePolicyName=void 0;ra.createDisableKeepAlivePolicy=Cye;ra.pipelineContainsDisableKeepAlivePolicy=Iye;ra.disableKeepAlivePolicyName="DisableKeepAlivePolicy";function Cye(){return{name:ra.disableKeepAlivePolicyName,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}function Iye(t){return t.getOrderedPolicies().some(e=>e.name===ra.disableKeepAlivePolicyName)}});var Yx=h(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});su.encodeString=Bye;su.encodeByteArray=Qye;su.decodeString=bye;su.decodeStringToString=Nye;function Bye(t){return Buffer.from(t).toString("base64")}function Qye(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}function bye(t){return Buffer.from(t,"base64")}function Nye(t){return Buffer.from(t,"base64").toString()}});var Rh=h(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});ou.XML_CHARKEY=ou.XML_ATTRKEY=void 0;ou.XML_ATTRKEY="$";ou.XML_CHARKEY="_"});var Jx=h(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.isPrimitiveBody=nG;au.isDuration=Sye;au.isValidUuid=Rye;au.flattenResponse=_ye;function nG(t,e){return e!=="Composite"&&e!=="Dictionary"&&(typeof t=="string"||typeof t=="number"||typeof t=="boolean"||e?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||t===void 0||t===null)}var wye=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Sye(t){return wye.test(t)}var xye=/^[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 Rye(t){return xye.test(t)}function vye(t){let e=Object.assign(Object.assign({},t.headers),t.body);return t.hasNullableType&&Object.getOwnPropertyNames(e).length===0?t.shouldWrapBody?{body:null}:null:t.shouldWrapBody?Object.assign(Object.assign({},t.headers),{body:t.body}):e}function _ye(t,e){var r,n;let i=t.parsedHeaders;if(t.request.method==="HEAD")return Object.assign(Object.assign({},i),{body:t.parsedBody});let s=e&&e.bodyMapper,o=!!s?.nullable,a=s?.type.name;if(a==="Stream")return Object.assign(Object.assign({},i),{blobBody:t.blobBody,readableStreamBody:t.readableStreamBody});let A=a==="Composite"&&s.type.modelProperties||{},c=Object.keys(A).some(l=>A[l].serializedName==="");if(a==="Sequence"||c){let l=(r=t.parsedBody)!==null&&r!==void 0?r:[];for(let u of Object.keys(A))A[u].serializedName&&(l[u]=(n=t.parsedBody)===null||n===void 0?void 0:n[u]);if(i)for(let u of Object.keys(i))l[u]=i[u];return o&&!t.parsedBody&&!i&&Object.getOwnPropertyNames(A).length===0?null:l}return vye({body:t.parsedBody,headers:i,hasNullableType:o,shouldWrapBody:nG(t.parsedBody,a)})}});var _h=h(vh=>{"use strict";Object.defineProperty(vh,"__esModule",{value:!0});vh.MapperTypeNames=void 0;vh.createSerializer=kye;var Dye=(gi(),Ui(hi)),JE=Dye.__importStar(Yx()),pr=Rh(),sG=Jx(),Vx=class{constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,n){let i=(s,o)=>{throw new Error(`"${n}" with value "${r}" should satisfy the constraint "${s}": ${o}.`)};if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:s,ExclusiveMinimum:o,InclusiveMaximum:a,InclusiveMinimum:A,MaxItems:c,MaxLength:l,MinItems:u,MinLength:d,MultipleOf:f,Pattern:g,UniqueItems:m}=e.constraints;if(s!==void 0&&r>=s&&i("ExclusiveMaximum",s),o!==void 0&&r<=o&&i("ExclusiveMinimum",o),a!==void 0&&r>a&&i("InclusiveMaximum",a),A!==void 0&&r<A&&i("InclusiveMinimum",A),c!==void 0&&r.length>c&&i("MaxItems",c),l!==void 0&&r.length>l&&i("MaxLength",l),u!==void 0&&r.length<u&&i("MinItems",u),d!==void 0&&r.length<d&&i("MinLength",d),f!==void 0&&r%f!==0&&i("MultipleOf",f),g){let E=typeof g=="string"?new RegExp(g):g;(typeof r!="string"||r.match(E)===null)&&i("Pattern",g)}m&&r.some((E,C,I)=>I.indexOf(E)!==C)&&i("UniqueItems",m)}}serialize(e,r,n,i={xml:{}}){var s,o,a;let A={xml:{rootName:(s=i.xml.rootName)!==null&&s!==void 0?s:"",includeRoot:(o=i.xml.includeRoot)!==null&&o!==void 0?o:!1,xmlCharKey:(a=i.xml.xmlCharKey)!==null&&a!==void 0?a:pr.XML_CHARKEY}},c={},l=e.type.name;n||(n=e.serializedName),l.match(/^Sequence$/i)!==null&&(c=[]),e.isConstant&&(r=e.defaultValue);let{required:u,nullable:d}=e;if(u&&d&&r===void 0)throw new Error(`${n} cannot be undefined.`);if(u&&!d&&r==null)throw new Error(`${n} cannot be null or undefined.`);if(!u&&d===!1&&r===null)throw new Error(`${n} cannot be null.`);return r==null||l.match(/^any$/i)!==null?c=r:l.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?c=Fye(l,n,r):l.match(/^Enum$/i)!==null?c=Uye(n,e.type.allowedValues,r):l.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?c=jye(l,r,n):l.match(/^ByteArray$/i)!==null?c=qye(n,r):l.match(/^Base64Url$/i)!==null?c=Hye(n,r):l.match(/^Sequence$/i)!==null?c=zye(this,e,r,n,!!this.isXML,A):l.match(/^Dictionary$/i)!==null?c=Gye(this,e,r,n,!!this.isXML,A):l.match(/^Composite$/i)!==null&&(c=Jye(this,e,r,n,!!this.isXML,A)),c}deserialize(e,r,n,i={xml:{}}){var s,o,a,A;let c={xml:{rootName:(s=i.xml.rootName)!==null&&s!==void 0?s:"",includeRoot:(o=i.xml.includeRoot)!==null&&o!==void 0?o:!1,xmlCharKey:(a=i.xml.xmlCharKey)!==null&&a!==void 0?a:pr.XML_CHARKEY},ignoreUnknownProperties:(A=i.ignoreUnknownProperties)!==null&&A!==void 0?A:!1};if(r==null)return this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped&&(r=[]),e.defaultValue!==void 0&&(r=e.defaultValue),r;let l,u=e.type.name;if(n||(n=e.serializedName),u.match(/^Composite$/i)!==null)l=Wye(this,e,r,n,c);else{if(this.isXML){let d=c.xml.xmlCharKey;r[pr.XML_ATTRKEY]!==void 0&&r[d]!==void 0&&(r=r[d])}u.match(/^Number$/i)!==null?(l=parseFloat(r),isNaN(l)&&(l=r)):u.match(/^Boolean$/i)!==null?r==="true"?l=!0:r==="false"?l=!1:l=r:u.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null?l=r:u.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null?l=new Date(r):u.match(/^UnixTime$/i)!==null?l=Mye(r):u.match(/^ByteArray$/i)!==null?l=JE.decodeString(r):u.match(/^Base64Url$/i)!==null?l=Oye(r):u.match(/^Sequence$/i)!==null?l=Kye(this,e,r,n,c):u.match(/^Dictionary$/i)!==null&&(l=$ye(this,e,r,n,c))}return e.isConstant&&(l=e.defaultValue),l}};function kye(t={},e=!1){return new Vx(t,e)}function Pye(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}function Tye(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=JE.encodeByteArray(t);return Pye(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}function Oye(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,"/"),JE.decodeString(t)}}function Wx(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}function Lye(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}function Mye(t){if(t)return new Date(t*1e3)}function Fye(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,sG.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}function Uye(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}function qye(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=JE.encodeByteArray(e)}return e}function Hye(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=Tye(e)}return e}function jye(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=Lye(e)}else if(t.match(/^TimeSpan$/i)!==null&&!(0,sG.isDuration)(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}function zye(t,e,r,n,i,s){var o;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=(o=t.modelMappers[a.type.className])!==null&&o!==void 0?o:a);let A=[];for(let c=0;c<r.length;c++){let l=t.serialize(a,r[c],n,s);if(i&&a.xmlNamespace){let u=a.xmlNamespacePrefix?`xmlns:${a.xmlNamespacePrefix}`:"xmlns";a.type.name==="Composite"?(A[c]=Object.assign({},l),A[c][pr.XML_ATTRKEY]={[u]:a.xmlNamespace}):(A[c]={},A[c][s.xml.xmlCharKey]=l,A[c][pr.XML_ATTRKEY]={[u]:a.xmlNamespace})}else A[c]=l}return A}function Gye(t,e,r,n,i,s){if(typeof r!="object")throw new Error(`${n} must be of type object.`);let o=e.type.value;if(!o||typeof o!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}.`);let a={};for(let A of Object.keys(r)){let c=t.serialize(o,r[A],n,s);a[A]=AG(o,c,i,s)}if(i&&e.xmlNamespace){let A=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns",c=a;return c[pr.XML_ATTRKEY]={[A]:e.xmlNamespace},c}return a}function Yye(t,e,r){let n=e.type.additionalProperties;if(!n&&e.type.className){let i=oG(t,e,r);return i?.type.additionalProperties}return n}function oG(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]}function aG(t,e,r){let n=e.type.modelProperties;if(!n){let i=oG(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}function Jye(t,e,r,n,i,s){if(YE(t,e)&&(e=cG(t,e,r,"clientName")),r!=null){let o={},a=aG(t,e,n);for(let c of Object.keys(a)){let l=a[c];if(l.readOnly)continue;let u,d=o;if(t.isXML)l.xmlIsWrapped?u=l.xmlName:u=l.xmlElementName||l.xmlName;else{let f=Wx(l.serializedName);u=f.pop();for(let g of f){let m=d[g];m==null&&(r[c]!==void 0&&r[c]!==null||l.defaultValue!==void 0)&&(d[g]={}),d=d[g]}}if(d!=null){if(i&&e.xmlNamespace){let C=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns";d[pr.XML_ATTRKEY]=Object.assign(Object.assign({},d[pr.XML_ATTRKEY]),{[C]:e.xmlNamespace})}let f=l.serializedName!==""?n+"."+l.serializedName:n,g=r[c],m=YE(t,e);m&&m.clientName===c&&g==null&&(g=e.serializedName);let E=t.serialize(l,g,f,s);if(E!==void 0&&u!==void 0&&u!==null){let C=AG(l,E,i,s);i&&l.xmlIsAttribute?(d[pr.XML_ATTRKEY]=d[pr.XML_ATTRKEY]||{},d[pr.XML_ATTRKEY][u]=E):i&&l.xmlIsWrapped?d[u]={[l.xmlElementName]:C}:d[u]=C}}}let A=Yye(t,e,n);if(A){let c=Object.keys(a);for(let l in r)c.every(d=>d!==l)&&(o[l]=t.serialize(A,r[l],n+'["'+l+'"]',s))}return o}return r}function AG(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[pr.XML_ATTRKEY])return e;{let a=Object.assign({},e);return a[pr.XML_ATTRKEY]=s,a}}let o={};return o[n.xml.xmlCharKey]=e,o[pr.XML_ATTRKEY]=s,o}function Vye(t,e){return[pr.XML_ATTRKEY,e.xml.xmlCharKey].includes(t)}function Wye(t,e,r,n,i){var s,o;let a=(s=i.xml.xmlCharKey)!==null&&s!==void 0?s:pr.XML_CHARKEY;YE(t,e)&&(e=cG(t,e,r,"serializedName"));let A=aG(t,e,n),c={},l=[];for(let d of Object.keys(A)){let f=A[d],g=Wx(A[d].serializedName);l.push(g[0]);let{serializedName:m,xmlName:E,xmlElementName:C}=f,I=n;m!==""&&m!==void 0&&(I=n+"."+m);let N=f.headerCollectionPrefix;if(N){let w={};for(let v of Object.keys(r))v.startsWith(N)&&(w[v.substring(N.length)]=t.deserialize(f.type.value,r[v],I,i)),l.push(v);c[d]=w}else if(t.isXML)if(f.xmlIsAttribute&&r[pr.XML_ATTRKEY])c[d]=t.deserialize(f,r[pr.XML_ATTRKEY][E],I,i);else if(f.xmlIsMsText)r[a]!==void 0?c[d]=r[a]:typeof r=="string"&&(c[d]=r);else{let w=C||E||m;if(f.xmlIsWrapped){let v=r[E],T=(o=v?.[C])!==null&&o!==void 0?o:[];c[d]=t.deserialize(f,T,I,i),l.push(E)}else{let v=r[w];c[d]=t.deserialize(f,v,I,i),l.push(w)}}else{let w,v=r,T=0;for(let J of g){if(!v)break;T++,v=v[J]}v===null&&T<g.length&&(v=void 0),w=v;let U=e.type.polymorphicDiscriminator;U&&d===U.clientName&&w==null&&(w=e.serializedName);let k;if(Array.isArray(r[d])&&A[d].serializedName===""){w=r[d];let J=t.deserialize(f,w,I,i);for(let[be,Re]of Object.entries(c))Object.prototype.hasOwnProperty.call(J,be)||(J[be]=Re);c=J}else(w!==void 0||f.defaultValue!==void 0)&&(k=t.deserialize(f,w,I,i),c[d]=k)}}let u=e.type.additionalProperties;if(u){let d=f=>{for(let g in A)if(Wx(A[g].serializedName)[0]===f)return!1;return!0};for(let f in r)d(f)&&(c[f]=t.deserialize(u,r[f],n+'["'+f+'"]',i))}else if(r&&!i.ignoreUnknownProperties)for(let d of Object.keys(r))c[d]===void 0&&!l.includes(d)&&!Vye(d,i)&&(c[d]=r[d]);return c}function $ye(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 o={};for(let a of Object.keys(r))o[a]=t.deserialize(s,r[a],n,i);return o}return r}function Kye(t,e,r,n,i){var s;let o=e.type.element;if(!o||typeof o!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}`);if(r){Array.isArray(r)||(r=[r]),o.type.name==="Composite"&&o.type.className&&(o=(s=t.modelMappers[o.type.className])!==null&&s!==void 0?s:o);let a=[];for(let A=0;A<r.length;A++)a[A]=t.deserialize(o,r[A],`${n}[${A}]`,i);return a}return r}function Xye(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[o,a]of Object.entries(t))o.startsWith(i+".")&&a.type.uberParent===i&&a.type.className&&n.push(a.type.className)}}function cG(t,e,r,n){var i;let s=YE(t,e);if(s){let o=s[n];if(o){n==="serializedName"&&(o=o.replace(/\\/gi,""));let a=r[o],A=(i=e.type.uberParent)!==null&&i!==void 0?i:e.type.className;if(typeof a=="string"&&A){let c=Xye(t.modelMappers.discriminators,a,A);c&&(e=c)}}}return e}function YE(t,e){return e.type.polymorphicDiscriminator||iG(t,e.type.uberParent)||iG(t,e.type.className)}function iG(t,e){return e&&t.modelMappers[e]&&t.modelMappers[e].type.polymorphicDiscriminator}vh.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 lG=h(VE=>{"use strict";Object.defineProperty(VE,"__esModule",{value:!0});VE.state=void 0;VE.state={operationRequestMap:new WeakMap}});var Dh=h(WE=>{"use strict";Object.defineProperty(WE,"__esModule",{value:!0});WE.getOperationArgumentValueFromParameter=fG;WE.getOperationRequestInfo=gG;var uG=lG();function fG(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 o=dG(t,n);!o.propertyFound&&r&&(o=dG(r,n));let a=!1;o.propertyFound||(a=i.required||n[0]==="options"&&n.length===2),s=a?i.defaultValue:o.propertyValue}}else{i.required&&(s={});for(let o in n){let a=i.type.modelProperties[o],A=n[o],c=fG(t,{parameterPath:A,mapper:a},r);c!==void 0&&(s||(s={}),s[o]=c)}}return s}function dG(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}var hG=Symbol.for("@azure/core-client original request");function Zye(t){return hG in t}function gG(t){if(Zye(t))return gG(t[hG]);let e=uG.state.operationRequestMap.get(t);return e||(e={},uG.state.operationRequestMap.set(t,e)),e}});var Kx=h(Au=>{"use strict";Object.defineProperty(Au,"__esModule",{value:!0});Au.deserializationPolicyName=void 0;Au.deserializationPolicy=nEe;var eEe=Rh(),$E=Ao(),mG=_h(),$x=Dh(),tEe=["application/json","text/json"],rEe=["application/xml","application/atom+xml"];Au.deserializationPolicyName="deserializationPolicy";function nEe(t={}){var e,r,n,i,s,o,a;let A=(r=(e=t.expectedContentTypes)===null||e===void 0?void 0:e.json)!==null&&r!==void 0?r:tEe,c=(i=(n=t.expectedContentTypes)===null||n===void 0?void 0:n.xml)!==null&&i!==void 0?i:rEe,l=t.parseXML,u=t.serializerOptions,d={xml:{rootName:(s=u?.xml.rootName)!==null&&s!==void 0?s:"",includeRoot:(o=u?.xml.includeRoot)!==null&&o!==void 0?o:!1,xmlCharKey:(a=u?.xml.xmlCharKey)!==null&&a!==void 0?a:eEe.XML_CHARKEY}};return{name:Au.deserializationPolicyName,async sendRequest(f,g){let m=await g(f);return oEe(A,c,m,d,l)}}}function iEe(t){let e,r=t.request,n=(0,$x.getOperationRequestInfo)(r),i=n?.operationSpec;return i&&(n?.operationResponseGetter?e=n?.operationResponseGetter(i,t):e=i.responses[t.status]),e}function sEe(t){let e=t.request,r=(0,$x.getOperationRequestInfo)(e),n=r?.shouldDeserialize,i;return n===void 0?i=!0:typeof n=="boolean"?i=n:i=n(t),i}async function oEe(t,e,r,n,i){let s=await cEe(t,e,r,n,i);if(!sEe(s))return s;let o=(0,$x.getOperationRequestInfo)(s.request),a=o?.operationSpec;if(!a||!a.responses)return s;let A=iEe(s),{error:c,shouldReturnResponse:l}=AEe(s,a,A,n);if(c)throw c;if(l)return s;if(A){if(A.bodyMapper){let u=s.parsedBody;a.isXML&&A.bodyMapper.type.name===mG.MapperTypeNames.Sequence&&(u=typeof u=="object"?u[A.bodyMapper.xmlElementName]:[]);try{s.parsedBody=a.serializer.deserialize(A.bodyMapper,u,"operationRes.parsedBody",n)}catch(d){throw new $E.RestError(`Error ${d} occurred in deserializing the responseBody - ${s.bodyAsText}`,{statusCode:s.status,request:s.request,response:s})}}else a.httpMethod==="HEAD"&&(s.parsedBody=r.status>=200&&r.status<300);A.headersMapper&&(s.parsedHeaders=a.serializer.deserialize(A.headersMapper,s.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return s}function aEe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}function AEe(t,e,r,n){var i,s,o,a,A;let c=200<=t.status&&t.status<300;if(aEe(e)?c:!!r)if(r){if(!r.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let u=r??e.responses.default,d=!((i=t.request.streamResponseStatusCodes)===null||i===void 0)&&i.has(t.status)?`Unexpected status code: ${t.status}`:t.bodyAsText,f=new $E.RestError(d,{statusCode:t.status,request:t.request,response:t});if(!u&&!(!((o=(s=t.parsedBody)===null||s===void 0?void 0:s.error)===null||o===void 0)&&o.code&&(!((A=(a=t.parsedBody)===null||a===void 0?void 0:a.error)===null||A===void 0)&&A.message)))throw f;let g=u?.bodyMapper,m=u?.headersMapper;try{if(t.parsedBody){let E=t.parsedBody,C;if(g){let N=E;if(e.isXML&&g.type.name===mG.MapperTypeNames.Sequence){N=[];let w=g.xmlElementName;typeof E=="object"&&w&&(N=E[w])}C=e.serializer.deserialize(g,N,"error.response.parsedBody",n)}let I=E.error||C||E;f.code=I.code,I.message&&(f.message=I.message),g&&(f.response.parsedBody=C)}t.headers&&m&&(f.response.parsedHeaders=e.serializer.deserialize(m,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(E){f.message=`Error "${E.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:f,shouldReturnResponse:!1}}async function cEe(t,e,r,n,i){var s;if(!(!((s=r.request.streamResponseStatusCodes)===null||s===void 0)&&s.has(r.status))&&r.bodyAsText){let o=r.bodyAsText,a=r.headers.get("Content-Type")||"",A=a?a.split(";").map(c=>c.toLowerCase()):[];try{if(A.length===0||A.some(c=>t.indexOf(c)!==-1))return r.parsedBody=JSON.parse(o),r;if(A.some(c=>e.indexOf(c)!==-1)){if(!i)throw new Error("Parsing XML not supported.");let c=await i(o,n.xml);return r.parsedBody=c,r}}catch(c){let l=`Error "${c}" occurred while parsing the response body - ${r.bodyAsText}.`,u=c.code||$E.RestError.PARSE_ERROR;throw new $E.RestError(l,{code:u,statusCode:r.status,request:r.request,response:r})}}return r}});var XE=h(KE=>{"use strict";Object.defineProperty(KE,"__esModule",{value:!0});KE.getStreamingResponseStatusCodes=uEe;KE.getPathStringFromParameter=dEe;var lEe=_h();function uEe(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===lEe.MapperTypeNames.Stream&&e.add(Number(r))}return e}function dEe(t){let{parameterPath:e,mapper:r}=t,n;return typeof e=="string"?n=e:Array.isArray(e)?n=e.join("."):n=r.serializedName,n}});var eR=h(na=>{"use strict";Object.defineProperty(na,"__esModule",{value:!0});na.serializationPolicyName=void 0;na.serializationPolicy=fEe;na.serializeHeaders=pG;na.serializeRequestBody=yG;var Zx=Rh(),ZE=Dh(),Xx=_h(),kh=XE();na.serializationPolicyName="serializationPolicy";function fEe(t={}){let e=t.stringifyXML;return{name:na.serializationPolicyName,async sendRequest(r,n){let i=(0,ZE.getOperationRequestInfo)(r),s=i?.operationSpec,o=i?.operationArguments;return s&&o&&(pG(r,o,s),yG(r,o,s,e)),n(r)}}}function pG(t,e,r){var n,i;if(r.headerParameters)for(let o of r.headerParameters){let a=(0,ZE.getOperationArgumentValueFromParameter)(e,o);if(a!=null||o.mapper.required){a=r.serializer.serialize(o.mapper,a,(0,kh.getPathStringFromParameter)(o));let A=o.mapper.headerCollectionPrefix;if(A)for(let c of Object.keys(a))t.headers.set(A+c,a[c]);else t.headers.set(o.mapper.serializedName||(0,kh.getPathStringFromParameter)(o),a)}}let s=(i=(n=e.options)===null||n===void 0?void 0:n.requestOptions)===null||i===void 0?void 0:i.customHeaders;if(s)for(let o of Object.keys(s))t.headers.set(o,s[o])}function yG(t,e,r,n=function(){throw new Error("XML serialization unsupported!")}){var i,s,o,a,A;let c=(i=e.options)===null||i===void 0?void 0:i.serializerOptions,l={xml:{rootName:(s=c?.xml.rootName)!==null&&s!==void 0?s:"",includeRoot:(o=c?.xml.includeRoot)!==null&&o!==void 0?o:!1,xmlCharKey:(a=c?.xml.xmlCharKey)!==null&&a!==void 0?a:Zx.XML_CHARKEY}},u=l.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=(0,ZE.getOperationArgumentValueFromParameter)(e,r.requestBody);let d=r.requestBody.mapper,{required:f,serializedName:g,xmlName:m,xmlElementName:E,xmlNamespace:C,xmlNamespacePrefix:I,nullable:N}=d,w=d.type.name;try{if(t.body!==void 0&&t.body!==null||N&&t.body===null||f){let v=(0,kh.getPathStringFromParameter)(r.requestBody);t.body=r.serializer.serialize(d,t.body,v,l);let T=w===Xx.MapperTypeNames.Stream;if(r.isXML){let U=I?`xmlns:${I}`:"xmlns",k=hEe(C,U,w,t.body,l);w===Xx.MapperTypeNames.Sequence?t.body=n(gEe(k,E||m||g,U,C),{rootName:m||g,xmlCharKey:u}):T||(t.body=n(k,{rootName:m||g,xmlCharKey:u}))}else{if(w===Xx.MapperTypeNames.String&&(!((A=r.contentType)===null||A===void 0)&&A.match("text/plain")||r.mediaType==="text"))return;T||(t.body=JSON.stringify(t.body))}}}catch(v){throw new Error(`Error "${v.message}" occurred in serializing the payload - ${JSON.stringify(g,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let d of r.formDataParameters){let f=(0,ZE.getOperationArgumentValueFromParameter)(e,d);if(f!=null){let g=d.mapper.serializedName||(0,kh.getPathStringFromParameter)(d);t.formData[g]=r.serializer.serialize(d.mapper,f,(0,kh.getPathStringFromParameter)(d),l)}}}}function hEe(t,e,r,n,i){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let s={};return s[i.xml.xmlCharKey]=n,s[Zx.XML_ATTRKEY]={[e]:t},s}return n}function gEe(t,e,r,n){if(Array.isArray(t)||(t=[t]),!r||!n)return{[e]:t};let i={[e]:t};return i[Zx.XML_ATTRKEY]={[r]:n},i}});var rR=h(tR=>{"use strict";Object.defineProperty(tR,"__esModule",{value:!0});tR.createClientPipeline=yEe;var mEe=Kx(),EG=Ao(),pEe=eR();function yEe(t={}){let e=(0,EG.createPipelineFromOptions)(t??{});return t.credentialOptions&&e.addPolicy((0,EG.bearerTokenAuthenticationPolicy)({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy((0,pEe.serializationPolicy)(t.serializationOptions),{phase:"Serialize"}),e.addPolicy((0,mEe.deserializationPolicy)(t.deserializationOptions),{phase:"Deserialize"}),e}});var CG=h(iR=>{"use strict";Object.defineProperty(iR,"__esModule",{value:!0});iR.getCachedDefaultHttpClient=CEe;var EEe=Ao(),nR;function CEe(){return nR||(nR=(0,EEe.createDefaultHttpClient)()),nR}});var bG=h(eC=>{"use strict";Object.defineProperty(eC,"__esModule",{value:!0});eC.getRequestUrl=BEe;eC.appendQueryParams=QG;var BG=Dh(),sR=XE(),IEe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function BEe(t,e,r,n){let i=QEe(e,r,n),s=!1,o=IG(t,i);if(e.path){let c=IG(e.path,i);e.path==="/{nextLink}"&&c.startsWith("/")&&(c=c.substring(1)),bEe(c)?(o=c,s=!0):o=NEe(o,c)}let{queryParams:a,sequenceParams:A}=wEe(e,r,n);return o=QG(o,a,A,s),o}function IG(t,e){let r=t;for(let[n,i]of e)r=r.split(n).join(i);return r}function QEe(t,e,r){var n;let i=new Map;if(!((n=t.urlParameters)===null||n===void 0)&&n.length)for(let s of t.urlParameters){let o=(0,BG.getOperationArgumentValueFromParameter)(e,s,r),a=(0,sR.getPathStringFromParameter)(s);o=t.serializer.serialize(s.mapper,o,a),s.skipEncoding||(o=encodeURIComponent(o)),i.set(`{${s.mapper.serializedName||a}}`,o)}return i}function bEe(t){return t.includes("://")}function NEe(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),o=e.substring(i+1);n=n+s,o&&(r.search=r.search?`${r.search}&${o}`:o)}else n=n+e;return r.pathname=n,r.toString()}function wEe(t,e,r){var n;let i=new Map,s=new Set;if(!((n=t.queryParameters)===null||n===void 0)&&n.length)for(let o of t.queryParameters){o.mapper.type.name==="Sequence"&&o.mapper.serializedName&&s.add(o.mapper.serializedName);let a=(0,BG.getOperationArgumentValueFromParameter)(e,o,r);if(a!=null||o.mapper.required){a=t.serializer.serialize(o.mapper,a,(0,sR.getPathStringFromParameter)(o));let A=o.collectionFormat?IEe[o.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(c=>c??"")),o.collectionFormat==="Multi"&&a.length===0)continue;Array.isArray(a)&&(o.collectionFormat==="SSV"||o.collectionFormat==="TSV")&&(a=a.join(A)),o.skipEncoding||(Array.isArray(a)?a=a.map(c=>encodeURIComponent(c)):a=encodeURIComponent(a)),Array.isArray(a)&&(o.collectionFormat==="CSV"||o.collectionFormat==="Pipes")&&(a=a.join(A)),i.set(o.mapper.serializedName||(0,sR.getPathStringFromParameter)(o),a)}}return{queryParams:i,sequenceParams:s}}function SEe(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),o=e.get(i);o?Array.isArray(o)?o.push(s):e.set(i,[o,s]):e.set(i,s)}return e}function QG(t,e,r,n=!1){if(e.size===0)return t;let i=new URL(t),s=SEe(i.search);for(let[a,A]of e){let c=s.get(a);if(Array.isArray(c))if(Array.isArray(A)){c.push(...A);let l=new Set(c);s.set(a,Array.from(l))}else c.push(A);else c?(Array.isArray(A)?A.unshift(c):r.has(a)&&s.set(a,[c,A]),n||s.set(a,A)):s.set(a,A)}let o=[];for(let[a,A]of s)if(typeof A=="string")o.push(`${a}=${A}`);else if(Array.isArray(A))for(let c of A)o.push(`${a}=${c}`);else o.push(`${a}=${A}`);return i.search=o.length?`?${o.join("&")}`:"",i.toString()}});var oR=h(tC=>{"use strict";Object.defineProperty(tC,"__esModule",{value:!0});tC.logger=void 0;var xEe=zl();tC.logger=(0,xEe.createClientLogger)("core-client")});var wG=h(rC=>{"use strict";Object.defineProperty(rC,"__esModule",{value:!0});rC.ServiceClient=void 0;var REe=Ao(),vEe=rR(),NG=Jx(),_Ee=CG(),DEe=Dh(),kEe=bG(),PEe=XE(),TEe=oR(),aR=class{constructor(e={}){var r,n;if(this._requestContentType=e.requestContentType,this._endpoint=(r=e.endpoint)!==null&&r!==void 0?r:e.baseUri,e.baseUri&&TEe.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(0,_Ee.getCachedDefaultHttpClient)(),this.pipeline=e.pipeline||OEe(e),!((n=e.additionalPolicies)===null||n===void 0)&&n.length)for(let{policy:i,position:s}of e.additionalPolicies){let o=s==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(i,{afterPhase:o})}}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,kEe.getRequestUrl)(n,r,e,this),s=(0,REe.createPipelineRequest)({url:i});s.method=r.httpMethod;let o=(0,DEe.getOperationRequestInfo)(s);o.operationSpec=r,o.operationArguments=e;let a=r.contentType||this._requestContentType;a&&r.requestBody&&s.headers.set("Content-Type",a);let A=e.options;if(A){let c=A.requestOptions;c&&(c.timeout&&(s.timeout=c.timeout),c.onUploadProgress&&(s.onUploadProgress=c.onUploadProgress),c.onDownloadProgress&&(s.onDownloadProgress=c.onDownloadProgress),c.shouldDeserialize!==void 0&&(o.shouldDeserialize=c.shouldDeserialize),c.allowInsecureConnection&&(s.allowInsecureConnection=!0)),A.abortSignal&&(s.abortSignal=A.abortSignal),A.tracingOptions&&(s.tracingOptions=A.tracingOptions)}this._allowInsecureConnection&&(s.allowInsecureConnection=!0),s.streamResponseStatusCodes===void 0&&(s.streamResponseStatusCodes=(0,PEe.getStreamingResponseStatusCodes)(r));try{let c=await this.sendRequest(s),l=(0,NG.flattenResponse)(c,r.responses[c.status]);return A?.onResponse&&A.onResponse(c,l),l}catch(c){if(typeof c=="object"&&c?.response){let l=c.response,u=(0,NG.flattenResponse)(l,r.responses[c.statusCode]||r.responses.default);c.details=u,A?.onResponse&&A.onResponse(l,u,c)}throw c}}};rC.ServiceClient=aR;function OEe(t){let e=LEe(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return(0,vEe.createClientPipeline)(Object.assign(Object.assign({},t),{credentialOptions:r}))}function LEe(t){if(t.credentialScopes)return t.credentialScopes;if(t.endpoint)return`${t.endpoint}/.default`;if(t.baseUri)return`${t.baseUri}/.default`;if(t.credential&&!t.credentialScopes)throw new Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}});var xG=h(nC=>{"use strict";Object.defineProperty(nC,"__esModule",{value:!0});nC.parseCAEChallenge=SG;nC.authorizeRequestOnClaimChallenge=UEe;var MEe=oR(),FEe=Yx();function SG(t){return`, ${t.trim()}`.split(", Bearer ").filter(r=>r).map(r=>`${r.trim()}, `.split('", ').filter(s=>s).map(s=>(([o,a])=>({[o]:a}))(s.trim().split('="'))).reduce((s,o)=>Object.assign(Object.assign({},s),o),{}))}async function UEe(t){var e;let{scopes:r,response:n}=t,i=t.logger||MEe.logger,s=n.headers.get("WWW-Authenticate");if(!s)return i.info("The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow."),!1;let a=(SG(s)||[]).find(c=>c.claims);if(!a)return i.info('The WWW-Authenticate header was missing the necessary "claims" to perform the Continuous Access Evaluation authentication flow.'),!1;let A=await t.getAccessToken(a.scope?[a.scope]:r,{claims:(0,FEe.decodeStringToString)(a.claims)});return A?(t.request.headers.set("Authorization",`${(e=A.tokenType)!==null&&e!==void 0?e:"Bearer"} ${A.token}`),!0):!1}});var vG=h(iC=>{"use strict";Object.defineProperty(iC,"__esModule",{value:!0});iC.authorizeRequestOnTenantChallenge=void 0;var RG={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function qEe(t){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t)}var HEe=async t=>{var e;let r=JEe(t.request),n=GEe(t.response);if(n){let i=YEe(n),s=zEe(t,i),o=jEe(i);if(!o)return!1;let a=await t.getAccessToken(s,Object.assign(Object.assign({},r),{tenantId:o}));return a?(t.request.headers.set(RG.HeaderConstants.AUTHORIZATION,`${(e=a.tokenType)!==null&&e!==void 0?e:"Bearer"} ${a.token}`),!0):!1}return!1};iC.authorizeRequestOnTenantChallenge=HEe;function jEe(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&qEe(n))return n}function zEe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=RG.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}function GEe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}function YEe(t){return`${t.slice(7).trim()} `.split(" ").filter(i=>i).map(i=>(([s,o])=>({[s]:o}))(i.trim().split("="))).reduce((i,s)=>Object.assign(Object.assign({},i),s),{})}function JEe(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}});var AR=h(yt=>{"use strict";Object.defineProperty(yt,"__esModule",{value:!0});yt.authorizeRequestOnTenantChallenge=yt.authorizeRequestOnClaimChallenge=yt.serializationPolicyName=yt.serializationPolicy=yt.deserializationPolicyName=yt.deserializationPolicy=yt.XML_CHARKEY=yt.XML_ATTRKEY=yt.createClientPipeline=yt.ServiceClient=yt.MapperTypeNames=yt.createSerializer=void 0;var _G=_h();Object.defineProperty(yt,"createSerializer",{enumerable:!0,get:function(){return _G.createSerializer}});Object.defineProperty(yt,"MapperTypeNames",{enumerable:!0,get:function(){return _G.MapperTypeNames}});var VEe=wG();Object.defineProperty(yt,"ServiceClient",{enumerable:!0,get:function(){return VEe.ServiceClient}});var WEe=rR();Object.defineProperty(yt,"createClientPipeline",{enumerable:!0,get:function(){return WEe.createClientPipeline}});var DG=Rh();Object.defineProperty(yt,"XML_ATTRKEY",{enumerable:!0,get:function(){return DG.XML_ATTRKEY}});Object.defineProperty(yt,"XML_CHARKEY",{enumerable:!0,get:function(){return DG.XML_CHARKEY}});var kG=Kx();Object.defineProperty(yt,"deserializationPolicy",{enumerable:!0,get:function(){return kG.deserializationPolicy}});Object.defineProperty(yt,"deserializationPolicyName",{enumerable:!0,get:function(){return kG.deserializationPolicyName}});var PG=eR();Object.defineProperty(yt,"serializationPolicy",{enumerable:!0,get:function(){return PG.serializationPolicy}});Object.defineProperty(yt,"serializationPolicyName",{enumerable:!0,get:function(){return PG.serializationPolicyName}});var $Ee=xG();Object.defineProperty(yt,"authorizeRequestOnClaimChallenge",{enumerable:!0,get:function(){return $Ee.authorizeRequestOnClaimChallenge}});var KEe=vG();Object.defineProperty(yt,"authorizeRequestOnTenantChallenge",{enumerable:!0,get:function(){return KEe.authorizeRequestOnTenantChallenge}})});var Th=h(QA=>{"use strict";Object.defineProperty(QA,"__esModule",{value:!0});QA.HttpHeaders=void 0;QA.toPipelineRequest=LG;QA.toWebResourceLike=MG;QA.toHttpHeadersLike=FG;var TG=Ao(),OG=Symbol("Original PipelineRequest"),XEe=Symbol.for("@azure/core-client original request");function LG(t,e={}){let n=t[OG],i=(0,TG.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=i,n;{let s=(0,TG.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[XEe]=e.originalRequest),s}}function MG(t,e){var r;let n=(r=e?.originalRequest)!==null&&r!==void 0?r:t,i={url:t.url,method:t.method,headers:FG(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(i,{get(s,o,a){return o===OG?t:o==="clone"?()=>MG(LG(i,{originalRequest:n}),{createProxy:!0,originalRequest:n}):Reflect.get(s,o,a)},set(s,o,a,A){return o==="keepAlive"&&(t.disableKeepAlive=!a),typeof o=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(o)&&(t[o]=a),Reflect.set(s,o,a,A)}}):i}function FG(t){return new sC(t.toJSON({preserveCase:!0}))}function Ph(t){return t.toLowerCase()}var sC=class t{constructor(e){if(this._headersMap={},e)for(let r in e)this.set(r,e[r])}set(e,r){this._headersMap[Ph(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[Ph(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[Ph(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[Ph(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[Ph(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)}};QA.HttpHeaders=sC});var aC=h(oC=>{"use strict";Object.defineProperty(oC,"__esModule",{value:!0});oC.toCompatResponse=eCe;oC.toPipelineResponse=tCe;var ZEe=Ao(),cR=Th(),UG=Symbol("Original FullOperationResponse");function eCe(t,e){let r=(0,cR.toWebResourceLike)(t.request),n=(0,cR.toHttpHeadersLike)(t.headers);return e?.createProxy?new Proxy(t,{get(i,s,o){return s==="headers"?n:s==="request"?r:s===UG?t:Reflect.get(i,s,o)},set(i,s,o,a){return s==="headers"?n=o:s==="request"&&(r=o),Reflect.set(i,s,o,a)}}):Object.assign(Object.assign({},t),{request:r,headers:n})}function tCe(t){let r=t[UG],n=(0,ZEe.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));return r?(r.headers=n,r):Object.assign(Object.assign({},t),{headers:n,request:(0,cR.toPipelineRequest)(t.request)})}});var HG=h(AC=>{"use strict";Object.defineProperty(AC,"__esModule",{value:!0});AC.ExtendedServiceClient=void 0;var qG=Gx(),rCe=Ao(),nCe=AR(),iCe=aC(),lR=class extends nCe.ServiceClient{constructor(e){var r,n;super(e),((r=e.keepAliveOptions)===null||r===void 0?void 0:r.enable)===!1&&!(0,qG.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)&&this.pipeline.addPolicy((0,qG.createDisableKeepAlivePolicy)()),((n=e.redirectOptions)===null||n===void 0?void 0:n.handleRedirects)===!1&&this.pipeline.removePolicy({name:rCe.redirectPolicyName})}async sendOperationRequest(e,r){var n;let i=(n=e?.options)===null||n===void 0?void 0:n.onResponse,s;function o(A,c,l){s=A,i&&i(A,c,l)}e.options=Object.assign(Object.assign({},e.options),{onResponse:o});let a=await super.sendOperationRequest(e,r);return s&&Object.defineProperty(a,"_response",{value:(0,iCe.toCompatResponse)(s)}),a}};AC.ExtendedServiceClient=lR});var YG=h(ia=>{"use strict";Object.defineProperty(ia,"__esModule",{value:!0});ia.requestPolicyFactoryPolicyName=ia.HttpPipelineLogLevel=void 0;ia.createRequestPolicyFactoryPolicy=oCe;var jG=Th(),zG=aC(),GG;(function(t){t[t.ERROR=1]="ERROR",t[t.INFO=3]="INFO",t[t.OFF=0]="OFF",t[t.WARNING=2]="WARNING"})(GG||(ia.HttpPipelineLogLevel=GG={}));var sCe={log(t,e){},shouldLog(t){return!1}};ia.requestPolicyFactoryPolicyName="RequestPolicyFactoryPolicy";function oCe(t){let e=t.slice().reverse();return{name:ia.requestPolicyFactoryPolicyName,async sendRequest(r,n){let i={async sendRequest(a){let A=await n((0,jG.toPipelineRequest)(a));return(0,zG.toCompatResponse)(A,{createProxy:!0})}};for(let a of e)i=a.create(i,sCe);let s=(0,jG.toWebResourceLike)(r,{createProxy:!0}),o=await i.sendRequest(s);return(0,zG.toPipelineResponse)(o)}}}});var JG=h(uR=>{"use strict";Object.defineProperty(uR,"__esModule",{value:!0});uR.convertHttpClient=cCe;var aCe=aC(),ACe=Th();function cCe(t){return{sendRequest:async e=>{let r=await t.sendRequest((0,ACe.toWebResourceLike)(e,{createProxy:!0}));return(0,aCe.toPipelineResponse)(r)}}}});var VG=h(Hr=>{"use strict";Object.defineProperty(Hr,"__esModule",{value:!0});Hr.toHttpHeadersLike=Hr.convertHttpClient=Hr.disableKeepAlivePolicyName=Hr.HttpPipelineLogLevel=Hr.createRequestPolicyFactoryPolicy=Hr.requestPolicyFactoryPolicyName=Hr.ExtendedServiceClient=void 0;var lCe=HG();Object.defineProperty(Hr,"ExtendedServiceClient",{enumerable:!0,get:function(){return lCe.ExtendedServiceClient}});var dR=YG();Object.defineProperty(Hr,"requestPolicyFactoryPolicyName",{enumerable:!0,get:function(){return dR.requestPolicyFactoryPolicyName}});Object.defineProperty(Hr,"createRequestPolicyFactoryPolicy",{enumerable:!0,get:function(){return dR.createRequestPolicyFactoryPolicy}});Object.defineProperty(Hr,"HttpPipelineLogLevel",{enumerable:!0,get:function(){return dR.HttpPipelineLogLevel}});var uCe=Gx();Object.defineProperty(Hr,"disableKeepAlivePolicyName",{enumerable:!0,get:function(){return uCe.disableKeepAlivePolicyName}});var dCe=JG();Object.defineProperty(Hr,"convertHttpClient",{enumerable:!0,get:function(){return dCe.convertHttpClient}});var fCe=Th();Object.defineProperty(Hr,"toHttpHeadersLike",{enumerable:!0,get:function(){return fCe.toHttpHeadersLike}})});var $G=h((b1e,WG)=>{(()=>{"use strict";var t={d:(p,y)=>{for(var B in y)t.o(y,B)&&!t.o(p,B)&&Object.defineProperty(p,B,{enumerable:!0,get:y[B]})},o:(p,y)=>Object.prototype.hasOwnProperty.call(p,y),r:p=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{XMLBuilder:()=>Do,XMLParser:()=>DX,XMLValidator:()=>UX});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(p,y){let B=[],S=y.exec(p);for(;S;){let Q=[];Q.startIndex=y.lastIndex-S[0].length;let b=S.length;for(let _=0;_<b;_++)Q.push(S[_]);B.push(Q),S=y.exec(p)}return B}let s=function(p){return n.exec(p)!=null},o={allowBooleanAttributes:!1,unpairedTags:[]};function a(p,y){y=Object.assign({},o,y);let B=[],S=!1,Q=!1;p[0]==="\uFEFF"&&(p=p.substr(1));for(let b=0;b<p.length;b++)if(p[b]==="<"&&p[b+1]==="?"){if(b+=2,b=c(p,b),b.err)return b}else{if(p[b]!=="<"){if(A(p[b]))continue;return C("InvalidChar","char '"+p[b]+"' is not expected.",N(p,b))}{let _=b;if(b++,p[b]==="!"){b=l(p,b);continue}{let R=!1;p[b]==="/"&&(R=!0,b++);let P="";for(;b<p.length&&p[b]!==">"&&p[b]!==" "&&p[b]!==" "&&p[b]!==`
|
||
`&&p[b]!=="\r";b++)P+=p[b];if(P=P.trim(),P[P.length-1]==="/"&&(P=P.substring(0,P.length-1),b--),!s(P)){let ae;return ae=P.trim().length===0?"Invalid space after '<'.":"Tag '"+P+"' is an invalid name.",C("InvalidTag",ae,N(p,b))}let z=f(p,b);if(z===!1)return C("InvalidAttr","Attributes for '"+P+"' have open quote.",N(p,b));let Ee=z.value;if(b=z.index,Ee[Ee.length-1]==="/"){let ae=b-Ee.length;Ee=Ee.substring(0,Ee.length-1);let Fe=m(Ee,y);if(Fe!==!0)return C(Fe.err.code,Fe.err.msg,N(p,ae+Fe.err.line));S=!0}else if(R){if(!z.tagClosed)return C("InvalidTag","Closing tag '"+P+"' doesn't have proper closing.",N(p,b));if(Ee.trim().length>0)return C("InvalidTag","Closing tag '"+P+"' can't have attributes or invalid starting.",N(p,_));if(B.length===0)return C("InvalidTag","Closing tag '"+P+"' has not been opened.",N(p,_));{let ae=B.pop();if(P!==ae.tagName){let Fe=N(p,ae.tagStartPos);return C("InvalidTag","Expected closing tag '"+ae.tagName+"' (opened in line "+Fe.line+", col "+Fe.col+") instead of closing tag '"+P+"'.",N(p,_))}B.length==0&&(Q=!0)}}else{let ae=m(Ee,y);if(ae!==!0)return C(ae.err.code,ae.err.msg,N(p,b-Ee.length+ae.err.line));if(Q===!0)return C("InvalidXml","Multiple possible root nodes found.",N(p,b));y.unpairedTags.indexOf(P)!==-1||B.push({tagName:P,tagStartPos:_}),S=!0}for(b++;b<p.length;b++)if(p[b]==="<"){if(p[b+1]==="!"){b++,b=l(p,b);continue}if(p[b+1]!=="?")break;if(b=c(p,++b),b.err)return b}else if(p[b]==="&"){let ae=E(p,b);if(ae==-1)return C("InvalidChar","char '&' is not expected.",N(p,b));b=ae}else if(Q===!0&&!A(p[b]))return C("InvalidXml","Extra text at the end",N(p,b));p[b]==="<"&&b--}}}return S?B.length==1?C("InvalidTag","Unclosed tag '"+B[0].tagName+"'.",N(p,B[0].tagStartPos)):!(B.length>0)||C("InvalidXml","Invalid '"+JSON.stringify(B.map((b=>b.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):C("InvalidXml","Start tag expected.",1)}function A(p){return p===" "||p===" "||p===`
|
||
`||p==="\r"}function c(p,y){let B=y;for(;y<p.length;y++)if(!(p[y]!="?"&&p[y]!=" ")){let S=p.substr(B,y-B);if(y>5&&S==="xml")return C("InvalidXml","XML declaration allowed only at the start of the document.",N(p,y));if(p[y]=="?"&&p[y+1]==">"){y++;break}}return y}function l(p,y){if(p.length>y+5&&p[y+1]==="-"&&p[y+2]==="-"){for(y+=3;y<p.length;y++)if(p[y]==="-"&&p[y+1]==="-"&&p[y+2]===">"){y+=2;break}}else if(p.length>y+8&&p[y+1]==="D"&&p[y+2]==="O"&&p[y+3]==="C"&&p[y+4]==="T"&&p[y+5]==="Y"&&p[y+6]==="P"&&p[y+7]==="E"){let B=1;for(y+=8;y<p.length;y++)if(p[y]==="<")B++;else if(p[y]===">"&&(B--,B===0))break}else if(p.length>y+9&&p[y+1]==="["&&p[y+2]==="C"&&p[y+3]==="D"&&p[y+4]==="A"&&p[y+5]==="T"&&p[y+6]==="A"&&p[y+7]==="["){for(y+=8;y<p.length;y++)if(p[y]==="]"&&p[y+1]==="]"&&p[y+2]===">"){y+=2;break}}return y}let u='"',d="'";function f(p,y){let B="",S="",Q=!1;for(;y<p.length;y++){if(p[y]===u||p[y]===d)S===""?S=p[y]:S!==p[y]||(S="");else if(p[y]===">"&&S===""){Q=!0;break}B+=p[y]}return S===""&&{value:B,index:y,tagClosed:Q}}let g=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function m(p,y){let B=i(p,g),S={};for(let Q=0;Q<B.length;Q++){if(B[Q][1].length===0)return C("InvalidAttr","Attribute '"+B[Q][2]+"' has no space in starting.",w(B[Q]));if(B[Q][3]!==void 0&&B[Q][4]===void 0)return C("InvalidAttr","Attribute '"+B[Q][2]+"' is without value.",w(B[Q]));if(B[Q][3]===void 0&&!y.allowBooleanAttributes)return C("InvalidAttr","boolean attribute '"+B[Q][2]+"' is not allowed.",w(B[Q]));let b=B[Q][2];if(!I(b))return C("InvalidAttr","Attribute '"+b+"' is an invalid name.",w(B[Q]));if(S.hasOwnProperty(b))return C("InvalidAttr","Attribute '"+b+"' is repeated.",w(B[Q]));S[b]=1}return!0}function E(p,y){if(p[++y]===";")return-1;if(p[y]==="#")return(function(S,Q){let b=/\d/;for(S[Q]==="x"&&(Q++,b=/[\da-fA-F]/);Q<S.length;Q++){if(S[Q]===";")return Q;if(!S[Q].match(b))break}return-1})(p,++y);let B=0;for(;y<p.length;y++,B++)if(!(p[y].match(/\w/)&&B<20)){if(p[y]===";")break;return-1}return y}function C(p,y,B){return{err:{code:p,msg:y,line:B.line||B,col:B.col}}}function I(p){return s(p)}function N(p,y){let B=p.substring(0,y).split(/\r?\n/);return{line:B.length,col:B[B.length-1].length+1}}function w(p){return p.startIndex+p[1].length}let v={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(p,y){return y},attributeValueProcessor:function(p,y){return y},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(p,y,B){return p},captureMetaData:!1},T;T=typeof Symbol!="function"?"@@xmlMetadata":Symbol("XML Node Metadata");class U{constructor(y){this.tagname=y,this.child=[],this[":@"]={}}add(y,B){y==="__proto__"&&(y="#__proto__"),this.child.push({[y]:B})}addChild(y,B){y.tagname==="__proto__"&&(y.tagname="#__proto__"),y[":@"]&&Object.keys(y[":@"]).length>0?this.child.push({[y.tagname]:y.child,":@":y[":@"]}):this.child.push({[y.tagname]:y.child}),B!==void 0&&(this.child[this.child.length-1][T]={startIndex:B})}static getMetaDataSymbol(){return T}}function k(p,y){let B={};if(p[y+3]!=="O"||p[y+4]!=="C"||p[y+5]!=="T"||p[y+6]!=="Y"||p[y+7]!=="P"||p[y+8]!=="E")throw new Error("Invalid Tag instead of DOCTYPE");{y+=9;let S=1,Q=!1,b=!1,_="";for(;y<p.length;y++)if(p[y]!=="<"||b)if(p[y]===">"){if(b?p[y-1]==="-"&&p[y-2]==="-"&&(b=!1,S--):S--,S===0)break}else p[y]==="["?Q=!0:_+=p[y];else{if(Q&&rt(p,"!ENTITY",y)){let R,P;y+=7,[R,P,y]=be(p,y+1),P.indexOf("&")===-1&&(B[R]={regx:RegExp(`&${R};`,"g"),val:P})}else if(Q&&rt(p,"!ELEMENT",y)){y+=8;let{index:R}=_e(p,y+1);y=R}else if(Q&&rt(p,"!ATTLIST",y))y+=8;else if(Q&&rt(p,"!NOTATION",y)){y+=9;let{index:R}=Re(p,y+1);y=R}else{if(!rt(p,"!--",y))throw new Error("Invalid DOCTYPE");b=!0}S++,_=""}if(S!==0)throw new Error("Unclosed DOCTYPE")}return{entities:B,i:y}}let J=(p,y)=>{for(;y<p.length&&/\s/.test(p[y]);)y++;return y};function be(p,y){y=J(p,y);let B="";for(;y<p.length&&!/\s/.test(p[y])&&p[y]!=='"'&&p[y]!=="'";)B+=p[y],y++;if(Or(B),y=J(p,y),p.substring(y,y+6).toUpperCase()==="SYSTEM")throw new Error("External entities are not supported");if(p[y]==="%")throw new Error("Parameter entities are not supported");let S="";return[y,S]=H(p,y,"entity"),[B,S,--y]}function Re(p,y){y=J(p,y);let B="";for(;y<p.length&&!/\s/.test(p[y]);)B+=p[y],y++;Or(B),y=J(p,y);let S=p.substring(y,y+6).toUpperCase();if(S!=="SYSTEM"&&S!=="PUBLIC")throw new Error(`Expected SYSTEM or PUBLIC, found "${S}"`);y+=S.length,y=J(p,y);let Q=null,b=null;if(S==="PUBLIC")[y,Q]=H(p,y,"publicIdentifier"),p[y=J(p,y)]!=='"'&&p[y]!=="'"||([y,b]=H(p,y,"systemIdentifier"));else if(S==="SYSTEM"&&([y,b]=H(p,y,"systemIdentifier"),!b))throw new Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:B,publicIdentifier:Q,systemIdentifier:b,index:--y}}function H(p,y,B){let S="",Q=p[y];if(Q!=='"'&&Q!=="'")throw new Error(`Expected quoted string, found "${Q}"`);for(y++;y<p.length&&p[y]!==Q;)S+=p[y],y++;if(p[y]!==Q)throw new Error(`Unterminated ${B} value`);return[++y,S]}function _e(p,y){y=J(p,y);let B="";for(;y<p.length&&!/\s/.test(p[y]);)B+=p[y],y++;if(!Or(B))throw new Error(`Invalid element name: "${B}"`);let S="";if(p[y=J(p,y)]==="E"&&rt(p,"MPTY",y))y+=4;else if(p[y]==="A"&&rt(p,"NY",y))y+=2;else{if(p[y]!=="(")throw new Error(`Invalid Element Expression, found "${p[y]}"`);for(y++;y<p.length&&p[y]!==")";)S+=p[y],y++;if(p[y]!==")")throw new Error("Unterminated content model")}return{elementName:B,contentModel:S.trim(),index:y}}function rt(p,y,B){for(let S=0;S<y.length;S++)if(y[S]!==p[B+S+1])return!1;return!0}function Or(p){if(s(p))return p;throw new Error(`Invalid entity name ${p}`)}let fr=/^[-+]?0x[a-fA-F0-9]+$/,Ro=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,vo={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0},Li=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function Mi(p){return typeof p=="function"?p:Array.isArray(p)?y=>{for(let B of p)if(typeof B=="string"&&y===B||B instanceof RegExp&&B.test(y))return!0}:()=>!1}class _o{constructor(y){this.options=y,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,S)=>String.fromCodePoint(Number.parseInt(S,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(B,S)=>String.fromCodePoint(Number.parseInt(S,16))}},this.addExternalEntities=Hs,this.parseXml=BX,this.parseTextData=Zt,this.resolveNameSpace=ei,this.buildAttributesMap=LQ,this.isItStopNode=wX,this.replaceEntitiesValue=bX,this.readStopNodeData=SX,this.saveTextToParentTag=NX,this.addChild=QX,this.ignoreAttributesFn=Mi(this.options.ignoreAttributes)}}function Hs(p){let y=Object.keys(p);for(let B=0;B<y.length;B++){let S=y[B];this.lastEntities[S]={regex:new RegExp("&"+S+";","g"),val:p[S]}}}function Zt(p,y,B,S,Q,b,_){if(p!==void 0&&(this.options.trimValues&&!S&&(p=p.trim()),p.length>0)){_||(p=this.replaceEntitiesValue(p));let R=this.options.tagValueProcessor(y,p,B,Q,b);return R==null?p:typeof R!=typeof p||R!==p?R:this.options.trimValues||p.trim()===p?wP(p,this.options.parseTagValue,this.options.numberParseOptions):p}}function ei(p){if(this.options.removeNSPrefix){let y=p.split(":"),B=p.charAt(0)==="/"?"/":"";if(y[0]==="xmlns")return"";y.length===2&&(p=B+y[1])}return p}let Fi=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function LQ(p,y,B){if(this.options.ignoreAttributes!==!0&&typeof p=="string"){let S=i(p,Fi),Q=S.length,b={};for(let _=0;_<Q;_++){let R=this.resolveNameSpace(S[_][1]);if(this.ignoreAttributesFn(R,y))continue;let P=S[_][4],z=this.options.attributeNamePrefix+R;if(R.length)if(this.options.transformAttributeName&&(z=this.options.transformAttributeName(z)),z==="__proto__"&&(z="#__proto__"),P!==void 0){this.options.trimValues&&(P=P.trim()),P=this.replaceEntitiesValue(P);let Ee=this.options.attributeValueProcessor(R,P,y);b[z]=Ee==null?P:typeof Ee!=typeof P||Ee!==P?Ee:wP(P,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(b[z]=!0)}if(!Object.keys(b).length)return;if(this.options.attributesGroupName){let _={};return _[this.options.attributesGroupName]=b,_}return b}}let BX=function(p){p=p.replace(/\r\n?/g,`
|
||
`);let y=new U("!xml"),B=y,S="",Q="";for(let b=0;b<p.length;b++)if(p[b]==="<")if(p[b+1]==="/"){let _=qa(p,">",b,"Closing Tag is not closed."),R=p.substring(b+2,_).trim();if(this.options.removeNSPrefix){let Ee=R.indexOf(":");Ee!==-1&&(R=R.substr(Ee+1))}this.options.transformTagName&&(R=this.options.transformTagName(R)),B&&(S=this.saveTextToParentTag(S,B,Q));let P=Q.substring(Q.lastIndexOf(".")+1);if(R&&this.options.unpairedTags.indexOf(R)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${R}>`);let z=0;P&&this.options.unpairedTags.indexOf(P)!==-1?(z=Q.lastIndexOf(".",Q.lastIndexOf(".")-1),this.tagsNodeStack.pop()):z=Q.lastIndexOf("."),Q=Q.substring(0,z),B=this.tagsNodeStack.pop(),S="",b=_}else if(p[b+1]==="?"){let _=MQ(p,b,!1,"?>");if(!_)throw new Error("Pi Tag is not closed.");if(S=this.saveTextToParentTag(S,B,Q),!(this.options.ignoreDeclaration&&_.tagName==="?xml"||this.options.ignorePiTags)){let R=new U(_.tagName);R.add(this.options.textNodeName,""),_.tagName!==_.tagExp&&_.attrExpPresent&&(R[":@"]=this.buildAttributesMap(_.tagExp,Q,_.tagName)),this.addChild(B,R,Q,b)}b=_.closeIndex+1}else if(p.substr(b+1,3)==="!--"){let _=qa(p,"-->",b+4,"Comment is not closed.");if(this.options.commentPropName){let R=p.substring(b+4,_-2);S=this.saveTextToParentTag(S,B,Q),B.add(this.options.commentPropName,[{[this.options.textNodeName]:R}])}b=_}else if(p.substr(b+1,2)==="!D"){let _=k(p,b);this.docTypeEntities=_.entities,b=_.i}else if(p.substr(b+1,2)==="!["){let _=qa(p,"]]>",b,"CDATA is not closed.")-2,R=p.substring(b+9,_);S=this.saveTextToParentTag(S,B,Q);let P=this.parseTextData(R,B.tagname,Q,!0,!1,!0,!0);P==null&&(P=""),this.options.cdataPropName?B.add(this.options.cdataPropName,[{[this.options.textNodeName]:R}]):B.add(this.options.textNodeName,P),b=_+2}else{let _=MQ(p,b,this.options.removeNSPrefix),R=_.tagName,P=_.rawTagName,z=_.tagExp,Ee=_.attrExpPresent,ae=_.closeIndex;this.options.transformTagName&&(R=this.options.transformTagName(R)),B&&S&&B.tagname!=="!xml"&&(S=this.saveTextToParentTag(S,B,Q,!1));let Fe=B;Fe&&this.options.unpairedTags.indexOf(Fe.tagname)!==-1&&(B=this.tagsNodeStack.pop(),Q=Q.substring(0,Q.lastIndexOf("."))),R!==y.tagname&&(Q+=Q?"."+R:R);let nt=b;if(this.isItStopNode(this.options.stopNodes,Q,R)){let ze="";if(z.length>0&&z.lastIndexOf("/")===z.length-1)R[R.length-1]==="/"?(R=R.substr(0,R.length-1),Q=Q.substr(0,Q.length-1),z=R):z=z.substr(0,z.length-1),b=_.closeIndex;else if(this.options.unpairedTags.indexOf(R)!==-1)b=_.closeIndex;else{let os=this.readStopNodeData(p,P,ae+1);if(!os)throw new Error(`Unexpected end of ${P}`);b=os.i,ze=os.tagContent}let er=new U(R);R!==z&&Ee&&(er[":@"]=this.buildAttributesMap(z,Q,R)),ze&&(ze=this.parseTextData(ze,R,Q,!0,Ee,!0,!0)),Q=Q.substr(0,Q.lastIndexOf(".")),er.add(this.options.textNodeName,ze),this.addChild(B,er,Q,nt)}else{if(z.length>0&&z.lastIndexOf("/")===z.length-1){R[R.length-1]==="/"?(R=R.substr(0,R.length-1),Q=Q.substr(0,Q.length-1),z=R):z=z.substr(0,z.length-1),this.options.transformTagName&&(R=this.options.transformTagName(R));let ze=new U(R);R!==z&&Ee&&(ze[":@"]=this.buildAttributesMap(z,Q,R)),this.addChild(B,ze,Q,nt),Q=Q.substr(0,Q.lastIndexOf("."))}else{let ze=new U(R);this.tagsNodeStack.push(B),R!==z&&Ee&&(ze[":@"]=this.buildAttributesMap(z,Q,R)),this.addChild(B,ze,Q,nt),B=ze}S="",b=ae}}else S+=p[b];return y.child};function QX(p,y,B,S){this.options.captureMetaData||(S=void 0);let Q=this.options.updateTag(y.tagname,B,y[":@"]);Q===!1||(typeof Q=="string"&&(y.tagname=Q),p.addChild(y,S))}let bX=function(p){if(this.options.processEntities){for(let y in this.docTypeEntities){let B=this.docTypeEntities[y];p=p.replace(B.regx,B.val)}for(let y in this.lastEntities){let B=this.lastEntities[y];p=p.replace(B.regex,B.val)}if(this.options.htmlEntities)for(let y in this.htmlEntities){let B=this.htmlEntities[y];p=p.replace(B.regex,B.val)}p=p.replace(this.ampEntity.regex,this.ampEntity.val)}return p};function NX(p,y,B,S){return p&&(S===void 0&&(S=y.child.length===0),(p=this.parseTextData(p,y.tagname,B,!1,!!y[":@"]&&Object.keys(y[":@"]).length!==0,S))!==void 0&&p!==""&&y.add(this.options.textNodeName,p),p=""),p}function wX(p,y,B){let S="*."+B;for(let Q in p){let b=p[Q];if(S===b||y===b)return!0}return!1}function qa(p,y,B,S){let Q=p.indexOf(y,B);if(Q===-1)throw new Error(S);return Q+y.length-1}function MQ(p,y,B,S=">"){let Q=(function(ae,Fe,nt=">"){let ze,er="";for(let os=Fe;os<ae.length;os++){let ko=ae[os];if(ze)ko===ze&&(ze="");else if(ko==='"'||ko==="'")ze=ko;else if(ko===nt[0]){if(!nt[1])return{data:er,index:os};if(ae[os+1]===nt[1])return{data:er,index:os}}else ko===" "&&(ko=" ");er+=ko}})(p,y+1,S);if(!Q)return;let b=Q.data,_=Q.index,R=b.search(/\s/),P=b,z=!0;R!==-1&&(P=b.substring(0,R),b=b.substring(R+1).trimStart());let Ee=P;if(B){let ae=P.indexOf(":");ae!==-1&&(P=P.substr(ae+1),z=P!==Q.data.substr(ae+1))}return{tagName:P,tagExp:b,closeIndex:_,attrExpPresent:z,rawTagName:Ee}}function SX(p,y,B){let S=B,Q=1;for(;B<p.length;B++)if(p[B]==="<")if(p[B+1]==="/"){let b=qa(p,">",B,`${y} is not closed`);if(p.substring(B+2,b).trim()===y&&(Q--,Q===0))return{tagContent:p.substring(S,B),i:b};B=b}else if(p[B+1]==="?")B=qa(p,"?>",B+1,"StopNode is not closed.");else if(p.substr(B+1,3)==="!--")B=qa(p,"-->",B+3,"StopNode is not closed.");else if(p.substr(B+1,2)==="![")B=qa(p,"]]>",B,"StopNode is not closed.")-2;else{let b=MQ(p,B,">");b&&((b&&b.tagName)===y&&b.tagExp[b.tagExp.length-1]!=="/"&&Q++,B=b.closeIndex)}}function wP(p,y,B){if(y&&typeof p=="string"){let S=p.trim();return S==="true"||S!=="false"&&(function(Q,b={}){if(b=Object.assign({},vo,b),!Q||typeof Q!="string")return Q;let _=Q.trim();if(b.skipLike!==void 0&&b.skipLike.test(_))return Q;if(Q==="0")return 0;if(b.hex&&fr.test(_))return(function(P){if(parseInt)return parseInt(P,16);if(Number.parseInt)return Number.parseInt(P,16);if(window&&window.parseInt)return window.parseInt(P,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")})(_);if(_.search(/.+[eE].+/)!==-1)return(function(P,z,Ee){if(!Ee.eNotation)return P;let ae=z.match(Li);if(ae){let Fe=ae[1]||"",nt=ae[3].indexOf("e")===-1?"E":"e",ze=ae[2],er=Fe?P[ze.length+1]===nt:P[ze.length]===nt;return ze.length>1&&er?P:ze.length!==1||!ae[3].startsWith(`.${nt}`)&&ae[3][0]!==nt?Ee.leadingZeros&&!er?(z=(ae[1]||"")+ae[3],Number(z)):P:Number(z)}return P})(Q,_,b);{let P=Ro.exec(_);if(P){let z=P[1]||"",Ee=P[2],ae=((R=P[3])&&R.indexOf(".")!==-1&&((R=R.replace(/0+$/,""))==="."?R="0":R[0]==="."?R="0"+R:R[R.length-1]==="."&&(R=R.substring(0,R.length-1))),R),Fe=z?Q[Ee.length+1]===".":Q[Ee.length]===".";if(!b.leadingZeros&&(Ee.length>1||Ee.length===1&&!Fe))return Q;{let nt=Number(_),ze=String(nt);if(nt===0||nt===-0)return nt;if(ze.search(/[eE]/)!==-1)return b.eNotation?nt:Q;if(_.indexOf(".")!==-1)return ze==="0"||ze===ae||ze===`${z}${ae}`?nt:Q;let er=Ee?ae:_;return Ee?er===ze||z+er===ze?nt:Q:er===ze||er===z+ze?nt:Q}}return Q}var R})(p,B)}return p!==void 0?p:""}let FQ=U.getMetaDataSymbol();function xX(p,y){return SP(p,y)}function SP(p,y,B){let S,Q={};for(let b=0;b<p.length;b++){let _=p[b],R=RX(_),P="";if(P=B===void 0?R:B+"."+R,R===y.textNodeName)S===void 0?S=_[R]:S+=""+_[R];else{if(R===void 0)continue;if(_[R]){let z=SP(_[R],y,P),Ee=_X(z,y);_[FQ]!==void 0&&(z[FQ]=_[FQ]),_[":@"]?vX(z,_[":@"],P,y):Object.keys(z).length!==1||z[y.textNodeName]===void 0||y.alwaysCreateTextNode?Object.keys(z).length===0&&(y.alwaysCreateTextNode?z[y.textNodeName]="":z=""):z=z[y.textNodeName],Q[R]!==void 0&&Q.hasOwnProperty(R)?(Array.isArray(Q[R])||(Q[R]=[Q[R]]),Q[R].push(z)):y.isArray(R,P,Ee)?Q[R]=[z]:Q[R]=z}}}return typeof S=="string"?S.length>0&&(Q[y.textNodeName]=S):S!==void 0&&(Q[y.textNodeName]=S),Q}function RX(p){let y=Object.keys(p);for(let B=0;B<y.length;B++){let S=y[B];if(S!==":@")return S}}function vX(p,y,B,S){if(y){let Q=Object.keys(y),b=Q.length;for(let _=0;_<b;_++){let R=Q[_];S.isArray(R,B+"."+R,!0,!0)?p[R]=[y[R]]:p[R]=y[R]}}}function _X(p,y){let{textNodeName:B}=y,S=Object.keys(p).length;return S===0||!(S!==1||!p[B]&&typeof p[B]!="boolean"&&p[B]!==0)}class DX{constructor(y){this.externalEntities={},this.options=(function(B){return Object.assign({},v,B)})(y)}parse(y,B){if(typeof y!="string"){if(!y.toString)throw new Error("XML data is accepted in String or Bytes[] form.");y=y.toString()}if(B){B===!0&&(B={});let b=a(y,B);if(b!==!0)throw Error(`${b.err.msg}:${b.err.line}:${b.err.col}`)}let S=new _o(this.options);S.addExternalEntities(this.externalEntities);let Q=S.parseXml(y);return this.options.preserveOrder||Q===void 0?Q:xX(Q,this.options)}addEntity(y,B){if(B.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(y.indexOf("&")!==-1||y.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if(B==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[y]=B}static getMetaDataSymbol(){return U.getMetaDataSymbol()}}function kX(p,y){let B="";return y.format&&y.indentBy.length>0&&(B=`
|
||
`),xP(p,y,"",B)}function xP(p,y,B,S){let Q="",b=!1;for(let _=0;_<p.length;_++){let R=p[_],P=PX(R);if(P===void 0)continue;let z="";if(z=B.length===0?P:`${B}.${P}`,P===y.textNodeName){let nt=R[P];TX(z,y)||(nt=y.tagValueProcessor(P,nt),nt=vP(nt,y)),b&&(Q+=S),Q+=nt,b=!1;continue}if(P===y.cdataPropName){b&&(Q+=S),Q+=`<![CDATA[${R[P][0][y.textNodeName]}]]>`,b=!1;continue}if(P===y.commentPropName){Q+=S+`<!--${R[P][0][y.textNodeName]}-->`,b=!0;continue}if(P[0]==="?"){let nt=RP(R[":@"],y),ze=P==="?xml"?"":S,er=R[P][0][y.textNodeName];er=er.length!==0?" "+er:"",Q+=ze+`<${P}${er}${nt}?>`,b=!0;continue}let Ee=S;Ee!==""&&(Ee+=y.indentBy);let ae=S+`<${P}${RP(R[":@"],y)}`,Fe=xP(R[P],y,z,Ee);y.unpairedTags.indexOf(P)!==-1?y.suppressUnpairedNode?Q+=ae+">":Q+=ae+"/>":Fe&&Fe.length!==0||!y.suppressEmptyNode?Fe&&Fe.endsWith(">")?Q+=ae+`>${Fe}${S}</${P}>`:(Q+=ae+">",Fe&&S!==""&&(Fe.includes("/>")||Fe.includes("</"))?Q+=S+y.indentBy+Fe+S:Q+=Fe,Q+=`</${P}>`):Q+=ae+"/>",b=!0}return Q}function PX(p){let y=Object.keys(p);for(let B=0;B<y.length;B++){let S=y[B];if(p.hasOwnProperty(S)&&S!==":@")return S}}function RP(p,y){let B="";if(p&&!y.ignoreAttributes)for(let S in p){if(!p.hasOwnProperty(S))continue;let Q=y.attributeValueProcessor(S,p[S]);Q=vP(Q,y),Q===!0&&y.suppressBooleanAttributes?B+=` ${S.substr(y.attributeNamePrefix.length)}`:B+=` ${S.substr(y.attributeNamePrefix.length)}="${Q}"`}return B}function TX(p,y){let B=(p=p.substr(0,p.length-y.textNodeName.length-1)).substr(p.lastIndexOf(".")+1);for(let S in y.stopNodes)if(y.stopNodes[S]===p||y.stopNodes[S]==="*."+B)return!0;return!1}function vP(p,y){if(p&&p.length>0&&y.processEntities)for(let B=0;B<y.entities.length;B++){let S=y.entities[B];p=p.replace(S.regex,S.val)}return p}let OX={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(p,y){return y},attributeValueProcessor:function(p,y){return y},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function Do(p){this.options=Object.assign({},OX,p),this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=Mi(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=FX),this.processTextOrObjNode=LX,this.options.format?(this.indentate=MX,this.tagEndChar=`>
|
||
`,this.newLine=`
|
||
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function LX(p,y,B,S){let Q=this.j2x(p,B+1,S.concat(y));return p[this.options.textNodeName]!==void 0&&Object.keys(p).length===1?this.buildTextValNode(p[this.options.textNodeName],y,Q.attrStr,B):this.buildObjectNode(Q.val,y,Q.attrStr,B)}function MX(p){return this.options.indentBy.repeat(p)}function FX(p){return!(!p.startsWith(this.options.attributeNamePrefix)||p===this.options.textNodeName)&&p.substr(this.attrPrefixLen)}Do.prototype.build=function(p){return this.options.preserveOrder?kX(p,this.options):(Array.isArray(p)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(p={[this.options.arrayNodeName]:p}),this.j2x(p,0,[]).val)},Do.prototype.j2x=function(p,y,B){let S="",Q="",b=B.join(".");for(let _ in p)if(Object.prototype.hasOwnProperty.call(p,_))if(p[_]===void 0)this.isAttribute(_)&&(Q+="");else if(p[_]===null)this.isAttribute(_)||_===this.options.cdataPropName?Q+="":_[0]==="?"?Q+=this.indentate(y)+"<"+_+"?"+this.tagEndChar:Q+=this.indentate(y)+"<"+_+"/"+this.tagEndChar;else if(p[_]instanceof Date)Q+=this.buildTextValNode(p[_],_,"",y);else if(typeof p[_]!="object"){let R=this.isAttribute(_);if(R&&!this.ignoreAttributesFn(R,b))S+=this.buildAttrPairStr(R,""+p[_]);else if(!R)if(_===this.options.textNodeName){let P=this.options.tagValueProcessor(_,""+p[_]);Q+=this.replaceEntitiesValue(P)}else Q+=this.buildTextValNode(p[_],_,"",y)}else if(Array.isArray(p[_])){let R=p[_].length,P="",z="";for(let Ee=0;Ee<R;Ee++){let ae=p[_][Ee];if(ae!==void 0)if(ae===null)_[0]==="?"?Q+=this.indentate(y)+"<"+_+"?"+this.tagEndChar:Q+=this.indentate(y)+"<"+_+"/"+this.tagEndChar;else if(typeof ae=="object")if(this.options.oneListGroup){let Fe=this.j2x(ae,y+1,B.concat(_));P+=Fe.val,this.options.attributesGroupName&&ae.hasOwnProperty(this.options.attributesGroupName)&&(z+=Fe.attrStr)}else P+=this.processTextOrObjNode(ae,_,y,B);else if(this.options.oneListGroup){let Fe=this.options.tagValueProcessor(_,ae);Fe=this.replaceEntitiesValue(Fe),P+=Fe}else P+=this.buildTextValNode(ae,_,"",y)}this.options.oneListGroup&&(P=this.buildObjectNode(P,_,z,y)),Q+=P}else if(this.options.attributesGroupName&&_===this.options.attributesGroupName){let R=Object.keys(p[_]),P=R.length;for(let z=0;z<P;z++)S+=this.buildAttrPairStr(R[z],""+p[_][R[z]])}else Q+=this.processTextOrObjNode(p[_],_,y,B);return{attrStr:S,val:Q}},Do.prototype.buildAttrPairStr=function(p,y){return y=this.options.attributeValueProcessor(p,""+y),y=this.replaceEntitiesValue(y),this.options.suppressBooleanAttributes&&y==="true"?" "+p:" "+p+'="'+y+'"'},Do.prototype.buildObjectNode=function(p,y,B,S){if(p==="")return y[0]==="?"?this.indentate(S)+"<"+y+B+"?"+this.tagEndChar:this.indentate(S)+"<"+y+B+this.closeTag(y)+this.tagEndChar;{let Q="</"+y+this.tagEndChar,b="";return y[0]==="?"&&(b="?",Q=""),!B&&B!==""||p.indexOf("<")!==-1?this.options.commentPropName!==!1&&y===this.options.commentPropName&&b.length===0?this.indentate(S)+`<!--${p}-->`+this.newLine:this.indentate(S)+"<"+y+B+b+this.tagEndChar+p+this.indentate(S)+Q:this.indentate(S)+"<"+y+B+b+">"+p+Q}},Do.prototype.closeTag=function(p){let y="";return this.options.unpairedTags.indexOf(p)!==-1?this.options.suppressUnpairedNode||(y="/"):y=this.options.suppressEmptyNode?"/":`></${p}`,y},Do.prototype.buildTextValNode=function(p,y,B,S){if(this.options.cdataPropName!==!1&&y===this.options.cdataPropName)return this.indentate(S)+`<![CDATA[${p}]]>`+this.newLine;if(this.options.commentPropName!==!1&&y===this.options.commentPropName)return this.indentate(S)+`<!--${p}-->`+this.newLine;if(y[0]==="?")return this.indentate(S)+"<"+y+B+"?"+this.tagEndChar;{let Q=this.options.tagValueProcessor(y,p);return Q=this.replaceEntitiesValue(Q),Q===""?this.indentate(S)+"<"+y+B+this.closeTag(y)+this.tagEndChar:this.indentate(S)+"<"+y+B+">"+Q+"</"+y+this.tagEndChar}},Do.prototype.replaceEntitiesValue=function(p){if(p&&p.length>0&&this.options.processEntities)for(let y=0;y<this.options.entities.length;y++){let B=this.options.entities[y];p=p.replace(B.regex,B.val)}return p};let UX={validate:a};WG.exports=e})()});var fR=h(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.XML_CHARKEY=cu.XML_ATTRKEY=void 0;cu.XML_ATTRKEY="$";cu.XML_CHARKEY="_"});var ZG=h(cC=>{"use strict";Object.defineProperty(cC,"__esModule",{value:!0});cC.stringifyXML=mCe;cC.parseXML=pCe;var hR=$G(),KG=fR();function XG(t){var e;return{attributesGroupName:KG.XML_ATTRKEY,textNodeName:(e=t.xmlCharKey)!==null&&e!==void 0?e:KG.XML_CHARKEY,ignoreAttributes:!1,suppressBooleanAttributes:!1}}function hCe(t={}){var e,r;return Object.assign(Object.assign({},XG(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"})}function gCe(t={}){return Object.assign(Object.assign({},XG(t)),{parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:t.stopNodes,processEntities:!0,trimValues:!1})}function mCe(t,e={}){let r=hCe(e),n=new hR.XMLBuilder(r),i={[r.rootNodeName]:t};return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${n.build(i)}`.replace(/\n/g,"")}async function pCe(t,e={}){if(!t)throw new Error("Document is empty");let r=hR.XMLValidator.validate(t);if(r!==!0)throw r;let i=new hR.XMLParser(gCe(e)).parse(t);if(i["?xml"]&&delete i["?xml"],!e.includeRoot)for(let s of Object.keys(i)){let o=i[s];return typeof o=="object"?Object.assign({},o):o}return i}});var rY=h(Ns=>{"use strict";Object.defineProperty(Ns,"__esModule",{value:!0});Ns.XML_CHARKEY=Ns.XML_ATTRKEY=Ns.parseXML=Ns.stringifyXML=void 0;var eY=ZG();Object.defineProperty(Ns,"stringifyXML",{enumerable:!0,get:function(){return eY.stringifyXML}});Object.defineProperty(Ns,"parseXML",{enumerable:!0,get:function(){return eY.parseXML}});var tY=fR();Object.defineProperty(Ns,"XML_ATTRKEY",{enumerable:!0,get:function(){return tY.XML_ATTRKEY}});Object.defineProperty(Ns,"XML_CHARKEY",{enumerable:!0,get:function(){return tY.XML_CHARKEY}})});var uC=h(lC=>{"use strict";Object.defineProperty(lC,"__esModule",{value:!0});lC.logger=void 0;var yCe=zl();lC.logger=(0,yCe.createClientLogger)("core-lro")});var dC=h(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});lu.terminalStates=lu.POLL_INTERVAL_IN_MS=void 0;lu.POLL_INTERVAL_IN_MS=2e3;lu.terminalStates=["succeeded","canceled","failed"]});var fC=h(sa=>{"use strict";Object.defineProperty(sa,"__esModule",{value:!0});sa.pollOperation=sa.initOperation=sa.deserializeState=void 0;var gR=uC(),iY=dC();function ECe(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}sa.deserializeState=ECe;function nY(t){let{state:e,stateProxy:r,isOperationError:n}=t;return i=>{throw n(i)&&(r.setError(e,i),r.setFailed(e)),i}}function CCe(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}function ICe(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=CCe(e,n.message);return{code:r,message:e}}function sY(t){let{state:e,stateProxy:r,status:n,isDone:i,processResult:s,getError:o,response:a,setErrorAsResult:A}=t;switch(n){case"succeeded":{r.setSucceeded(e);break}case"failed":{let c=o?.(a),l="";if(c){let{code:d,message:f}=ICe(c);l=`. ${d}. ${f}`}let u=`The long-running operation has failed${l}`;r.setError(e,new Error(u)),r.setFailed(e),gR.logger.warning(u);break}case"canceled":{r.setCanceled(e);break}}(i?.(a,e)||i===void 0&&["succeeded","canceled"].concat(A?[]:["failed"]).includes(n))&&r.setResult(e,BCe({response:a,state:e,processResult:s}))}function BCe(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}async function QCe(t){let{init:e,stateProxy:r,processResult:n,getOperationStatus:i,withOperationLocation:s,setErrorAsResult:o}=t,{operationLocation:a,resourceLocation:A,metadata:c,response:l}=await e();a&&s?.(a,!1);let u={metadata:c,operationLocation:a,resourceLocation:A};gR.logger.verbose("LRO: Operation description:",u);let d=r.initState(u),f=i({response:l,state:d,operationLocation:a});return sY({state:d,status:f,stateProxy:r,response:l,setErrorAsResult:o,processResult:n}),d}sa.initOperation=QCe;async function bCe(t){let{poll:e,state:r,stateProxy:n,operationLocation:i,getOperationStatus:s,getResourceLocation:o,isOperationError:a,options:A}=t,c=await e(i,A).catch(nY({state:r,stateProxy:n,isOperationError:a})),l=s(c,r);if(gR.logger.verbose(`LRO: Status:
|
||
Polling from: ${r.config.operationLocation}
|
||
Operation status: ${l}
|
||
Polling status: ${iY.terminalStates.includes(l)?"Stopped":"Running"}`),l==="succeeded"){let u=o(c,r);if(u!==void 0)return{response:await e(u).catch(nY({state:r,stateProxy:n,isOperationError:a})),status:l}}return{response:c,status:l}}async function NCe(t){let{poll:e,state:r,stateProxy:n,options:i,getOperationStatus:s,getResourceLocation:o,getOperationLocation:a,isOperationError:A,withOperationLocation:c,getPollingInterval:l,processResult:u,getError:d,updateState:f,setDelay:g,isDone:m,setErrorAsResult:E}=t,{operationLocation:C}=r.config;if(C!==void 0){let{response:I,status:N}=await bCe({poll:e,getOperationStatus:s,state:r,stateProxy:n,operationLocation:C,getResourceLocation:o,isOperationError:A,options:i});if(sY({status:N,response:I,state:r,stateProxy:n,isDone:m,processResult:u,getError:d,setErrorAsResult:E}),!iY.terminalStates.includes(N)){let w=l?.(I);w&&g(w);let v=a?.(I,r);if(v!==void 0){let T=C!==v;r.config.operationLocation=v,c?.(v,T)}else c?.(C,!1)}f?.(r,I)}}sa.pollOperation=NCe});var ER=h(Ft=>{"use strict";Object.defineProperty(Ft,"__esModule",{value:!0});Ft.pollHttpOperation=Ft.isOperationError=Ft.getResourceLocation=Ft.getOperationStatus=Ft.getOperationLocation=Ft.initHttpOperation=Ft.getStatusFromInitialResponse=Ft.getErrorFromResponse=Ft.parseRetryAfter=Ft.inferLroMode=void 0;var oY=fC(),mR=uC();function aY(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}function AY(t){return t.headers.location}function cY(t){return t.headers["operation-location"]}function lY(t){return t.headers["azure-asyncoperation"]}function wCe(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=o())!==null&&e!==void 0?e:i;default:return o()}function o(){switch(s){case"azure-async-operation":return;case"original-uri":return i;default:return r}}}function uY(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:i}=t,s=cY(e),o=lY(e),a=aY({operationLocation:s,azureAsyncOperation:o}),A=AY(e),c=r?.toLocaleUpperCase();return a!==void 0?{mode:"OperationLocation",operationLocation:a,resourceLocation:wCe({requestMethod:c,location:A,requestPath:n,resourceLocationConfig:i})}:A!==void 0?{mode:"ResourceLocation",operationLocation:A}:c==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}Ft.inferLroMode=uY;function dY(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 pR(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 mR.logger.verbose(`LRO: unrecognized operation status: ${e}`),e}}function SCe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return dY({status:r,statusCode:t.statusCode})}function xCe(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 dY({status:s,statusCode:t.statusCode})}function pR(t){return t===202?"running":t<300?"succeeded":"failed"}function fY({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?RCe(new Date(e)):r*1e3}}Ft.parseRetryAfter=fY;function hY(t){let e=pY(t,"error");if(!e){mR.logger.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){mR.logger.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}Ft.getErrorFromResponse=hY;function RCe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}function gY(t){let{response:e,state:r,operationLocation:n}=t;function i(){var o;switch((o=r.config.metadata)===null||o===void 0?void 0:o.mode){case void 0:return pR(e.rawResponse.statusCode);case"Body":return yR(e,r);default:return"running"}}let s=i();return s==="running"&&n===void 0?"succeeded":s}Ft.getStatusFromInitialResponse=gY;async function vCe(t){let{stateProxy:e,resourceLocationConfig:r,processResult:n,lro:i,setErrorAsResult:s}=t;return(0,oY.initOperation)({init:async()=>{let o=await i.sendInitialRequest(),a=uY({rawResponse:o.rawResponse,requestPath:i.requestPath,requestMethod:i.requestMethod,resourceLocationConfig:r});return Object.assign({response:o,operationLocation:a?.operationLocation,resourceLocation:a?.resourceLocation},a?.mode?{metadata:{mode:a.mode}}:{})},stateProxy:e,processResult:n?({flatResponse:o},a)=>n(o,a):({flatResponse:o})=>o,getOperationStatus:gY,setErrorAsResult:s})}Ft.initHttpOperation=vCe;function mY({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return aY({operationLocation:cY(t),azureAsyncOperation:lY(t)});case"ResourceLocation":return AY(t);default:return}}Ft.getOperationLocation=mY;function yR({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return SCe(t);case"ResourceLocation":return pR(t.statusCode);case"Body":return xCe(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}Ft.getOperationStatus=yR;function pY({flatResponse:t,rawResponse:e},r){var n,i;return(n=t?.[r])!==null&&n!==void 0?n:(i=e.body)===null||i===void 0?void 0:i[r]}function yY(t,e){let r=pY(t,"resourceLocation");return r&&typeof r=="string"&&(e.config.resourceLocation=r),e.config.resourceLocation}Ft.getResourceLocation=yY;function EY(t){return t.name==="RestError"}Ft.isOperationError=EY;async function _Ce(t){let{lro:e,stateProxy:r,options:n,processResult:i,updateState:s,setDelay:o,state:a,setErrorAsResult:A}=t;return(0,oY.pollOperation)({state:a,stateProxy:r,setDelay:o,processResult:i?({flatResponse:c},l)=>i(c,l):({flatResponse:c})=>c,getError:hY,updateState:s,getPollingInterval:fY,getOperationLocation:mY,getOperationStatus:yR,isOperationError:EY,getResourceLocation:yY,options:n,poll:async(c,l)=>e.sendPollRequest(c,l),setErrorAsResult:A})}Ft.pollHttpOperation=_Ce});var CY=h(hC=>{"use strict";Object.defineProperty(hC,"__esModule",{value:!0});hC.buildCreatePoller=void 0;var CR=fC(),DCe=dC(),kCe=bs(),PCe=()=>({initState:t=>({status:"running",config:t}),setCanceled:t=>t.status="canceled",setError:(t,e)=>t.error=e,setResult:(t,e)=>t.result=e,setRunning:t=>t.status="running",setSucceeded:t=>t.status="succeeded",setFailed:t=>t.status="failed",getError:t=>t.error,getResult:t=>t.result,isCanceled:t=>t.status==="canceled",isFailed:t=>t.status==="failed",isRunning:t=>t.status==="running",isSucceeded:t=>t.status==="succeeded"});function TCe(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:n,isOperationError:i,getResourceLocation:s,getPollingInterval:o,getError:a,resolveOnUnsuccessful:A}=t;return async({init:c,poll:l},u)=>{let{processResult:d,updateState:f,withOperationLocation:g,intervalInMs:m=DCe.POLL_INTERVAL_IN_MS,restoreFrom:E}=u||{},C=PCe(),I=g?(()=>{let Re=!1;return(H,_e)=>{_e?g(H):Re||g(H),Re=!0}})():void 0,N=E?(0,CR.deserializeState)(E):await(0,CR.initOperation)({init:c,stateProxy:C,processResult:d,getOperationStatus:r,withOperationLocation:I,setErrorAsResult:!A}),w,v=new AbortController,T=new Map,U=async()=>T.forEach(Re=>Re(N)),k="Operation was canceled",J=m,be={getOperationState:()=>N,getResult:()=>N.result,isDone:()=>["succeeded","failed","canceled"].includes(N.status),isStopped:()=>w===void 0,stopPolling:()=>{v.abort()},toString:()=>JSON.stringify({state:N}),onProgress:Re=>{let H=Symbol();return T.set(H,Re),()=>T.delete(H)},pollUntilDone:Re=>w??(w=(async()=>{let{abortSignal:H}=Re||{};function _e(){v.abort()}let rt=v.signal;H?.aborted?v.abort():rt.aborted||H?.addEventListener("abort",_e,{once:!0});try{if(!be.isDone())for(await be.poll({abortSignal:rt});!be.isDone();)await(0,kCe.delay)(J,{abortSignal:rt}),await be.poll({abortSignal:rt})}finally{H?.removeEventListener("abort",_e)}if(A)return be.getResult();switch(N.status){case"succeeded":return be.getResult();case"canceled":throw new Error(k);case"failed":throw N.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{w=void 0})),async poll(Re){if(A){if(be.isDone())return}else switch(N.status){case"succeeded":return;case"canceled":throw new Error(k);case"failed":throw N.error}if(await(0,CR.pollOperation)({poll:l,state:N,stateProxy:C,getOperationLocation:e,isOperationError:i,withOperationLocation:I,getPollingInterval:o,getOperationStatus:n,getResourceLocation:s,processResult:d,getError:a,updateState:f,options:Re,setDelay:H=>{J=H},setErrorAsResult:!A}),await U(),!A)switch(N.status){case"canceled":throw new Error(k);case"failed":throw N.error}}};return be}}hC.buildCreatePoller=TCe});var IY=h(gC=>{"use strict";Object.defineProperty(gC,"__esModule",{value:!0});gC.createHttpPoller=void 0;var oa=ER(),OCe=CY();async function LCe(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:i,restoreFrom:s,updateState:o,withOperationLocation:a,resolveOnUnsuccessful:A=!1}=e||{};return(0,OCe.buildCreatePoller)({getStatusFromInitialResponse:oa.getStatusFromInitialResponse,getStatusFromPollResponse:oa.getOperationStatus,isOperationError:oa.isOperationError,getOperationLocation:oa.getOperationLocation,getResourceLocation:oa.getResourceLocation,getPollingInterval:oa.parseRetryAfter,getError:oa.getErrorFromResponse,resolveOnUnsuccessful:A})({init:async()=>{let c=await t.sendInitialRequest(),l=(0,oa.inferLroMode)({rawResponse:c.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:c,operationLocation:l?.operationLocation,resourceLocation:l?.resourceLocation},l?.mode?{metadata:{mode:l.mode}}:{})},poll:t.sendPollRequest},{intervalInMs:n,withOperationLocation:a,restoreFrom:s,updateState:o,processResult:i?({flatResponse:c},l)=>i(c,l):({flatResponse:c})=>c})}gC.createHttpPoller=LCe});var QY=h(mC=>{"use strict";Object.defineProperty(mC,"__esModule",{value:!0});mC.GenericPollOperation=void 0;var BY=ER(),MCe=uC(),FCe=()=>({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)}),IR=class{constructor(e,r,n,i,s,o,a){this.state=e,this.lro=r,this.setErrorAsResult=n,this.lroResourceLocationConfig=i,this.processResult=s,this.updateState=o,this.isDone=a}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let n=FCe();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await(0,BY.initHttpOperation)({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(0,BY.pollHttpOperation)({lro:this.lro,state:this.state,stateProxy:n,processResult:this.processResult,updateState:i?(o,{rawResponse:a})=>i(o,a):void 0,isDone:s?({flatResponse:o},a)=>s(o,a):void 0,options:e,setDelay:o=>{this.pollerConfig.intervalInMs=o},setErrorAsResult:this.setErrorAsResult}),(r=e?.fireProgress)===null||r===void 0||r.call(e,this.state),this}async cancel(){return MCe.logger.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}};mC.GenericPollOperation=IR});var QR=h(aa=>{"use strict";Object.defineProperty(aa,"__esModule",{value:!0});aa.Poller=aa.PollerCancelledError=aa.PollerStoppedError=void 0;var pC=class t extends Error{constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}};aa.PollerStoppedError=pC;var yC=class t extends Error{constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}};aa.PollerCancelledError=yC;var BR=class{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=()=>{this.pollOncePromise=void 0};this.pollOncePromise.then(r,r).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new yC("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 pC("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()}};aa.Poller=BR});var bY=h(EC=>{"use strict";Object.defineProperty(EC,"__esModule",{value:!0});EC.LroEngine=void 0;var UCe=QY(),qCe=dC(),HCe=QR(),jCe=fC(),bR=class extends HCe.Poller{constructor(e,r){let{intervalInMs:n=qCe.POLL_INTERVAL_IN_MS,resumeFrom:i,resolveOnUnsuccessful:s=!1,isDone:o,lroResourceLocationConfig:a,processResult:A,updateState:c}=r||{},l=i?(0,jCe.deserializeState)(i):{},u=new UCe.GenericPollOperation(l,e,!s,a,A,c,o);super(u),this.resolveOnUnsuccessful=s,this.config={intervalInMs:n},u.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};EC.LroEngine=bR});var NY=h(CC=>{"use strict";Object.defineProperty(CC,"__esModule",{value:!0});CC.LroEngine=void 0;var zCe=bY();Object.defineProperty(CC,"LroEngine",{enumerable:!0,get:function(){return zCe.LroEngine}})});var SY=h(wY=>{"use strict";Object.defineProperty(wY,"__esModule",{value:!0})});var xY=h(bA=>{"use strict";Object.defineProperty(bA,"__esModule",{value:!0});bA.createHttpPoller=void 0;var NR=(gi(),Ui(hi)),GCe=IY();Object.defineProperty(bA,"createHttpPoller",{enumerable:!0,get:function(){return GCe.createHttpPoller}});NR.__exportStar(NY(),bA);NR.__exportStar(QR(),bA);NR.__exportStar(SY(),bA)});var Sv=h(se=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0});var jr=Ao(),q=(gi(),Ui(hi)),Ei=rG(),st=bs(),OC=VG(),Fh=AR(),vR=rY(),YCe=zl(),LC=lx(),av=require("crypto"),JCe=vx(),Av=require("stream"),VCe=xY(),UY=require("events"),WCe=require("fs"),$Ce=require("util"),KCe=require("buffer");function MC(t){var e=Object.create(null);return t&&Object.keys(t).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}}),e.default=t,Object.freeze(e)}var XCe=MC(OC),Eu=MC(Fh),cv=MC(WCe),ZCe=MC($Ce),nr=YCe.createClientLogger("storage-blob"),gu=class{constructor(e,r){this._nextPolicy=e,this._options=r}shouldLog(e){return this._options.shouldLog(e)}log(e,r){this._options.log(e,r)}},qY="12.27.0",lv="2025-05-05",wR=256*1024*1024,SR=4e3*1024*1024,IC=5e4,eIe=8*1024*1024,_R=4*1024*1024,tIe=5,rIe=100*1e3,uv="https://storage.azure.com/.default",Ji={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}},nIe={HTTP_ACCEPTED:202},Ie={AUTHORIZATION:"Authorization",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",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version"},ws="",HY="*",iIe=1*1024*1024,RY=256,sIe=4*iIe,co=`\r
|
||
`,jY="HTTP/1.1",oIe="AES256",aIe="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",AIe=["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"],cIe=["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"],lIe="BlobUsesCustomerSpecifiedEncryption",uIe="BlobDoesNotUseCustomerSpecifiedEncryption",dIe=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function fIe(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=gIe(r),e.pathname=r,e.toString()}function hIe(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}function NA(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}function Cu(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=hIe(t),t=aIe);let r=NA(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"),o="";if(i=NA(t,"AccountName"),s=Buffer.from(NA(t,"AccountKey"),"base64"),!r){n=NA(t,"DefaultEndpointsProtocol");let a=n.toLowerCase();if(a!=="https"&&a!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(o=NA(t,"EndpointSuffix"),!o)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${o}`}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=NA(t,"SharedAccessSignature"),i=NA(t,"AccountName");if(i||(i=VY(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}}}function gIe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function Pt(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()}function lo(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=r?encodeURIComponent(r):void 0,o=n.search===""?"?":n.search,a=[];for(let A of o.slice(1).split("&"))if(A){let[c]=A.split("=",2);c!==i&&a.push(A)}return s&&a.push(`${i}=${s}`),n.search=a.length?`?${a.join("&")}`:"",n.toString()}function vY(t,e){var r;return(r=new URL(t).searchParams.get(e))!==null&&r!==void 0?r:void 0}function zY(t,e){let r=new URL(t);return r.hostname=e,r.toString()}function FC(t){try{return new URL(t).pathname}catch{return}}function mIe(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}function pIe(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}`}function GY(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("="),o=i.lastIndexOf("=");return s>0&&s===o&&o<i.length-1});let n={};for(let i of r){let s=i.split("="),o=s[0],a=s[1];n[o]=a}return n}function Uh(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}function Xe(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}function yIe(t){return st.isNode?Buffer.from(t).toString("base64"):btoa(t)}function _Y(t,e){t.length>42&&(t=t.slice(0,42));let s=t+EIe(e.toString(),48-t.length,"0");return yIe(s)}async function YY(t,e,r){return new Promise((n,i)=>{let s,o=()=>{s!==void 0&&clearTimeout(s),i(r)};s=setTimeout(()=>{e!==void 0&&e.removeEventListener("abort",o),n()},t),e!==void 0&&e.addEventListener("abort",o)})}function EIe(t,e,r=" "){return String.prototype.padStart?t.padStart(e,r):(r=r||" ",t.length>e?t:(e=e-t.length,e>r.length&&(r+=r.repeat(e/r.length)),r.slice(0,e)+t))}function JY(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}function VY(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:dv(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}function dv(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&&dIe.includes(t.port)}function SA(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("&")}function CIe(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}function Oh(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}function DY(t){if(t!==void 0)switch(t.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:t.columnSeparator||",",fieldQuote:t.fieldQuote||"",recordSeparator:t.recordSeparator,escapeChar:t.escapeCharacter||"",headersPresent:t.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:t.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:t.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function NC(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]},o=e.findIndex(a=>a.policyId===n[0]);o>-1?e[o].rules.push(s):e.push({policyId:n[0],rules:[s]})}return e}function qh(t){return t?t.scheme+" "+t.value:void 0}function fu(t){return t.encoded?decodeURIComponent(t.content):t.content}function IIe(t){return Object.assign(Object.assign({},t),{segment:{blobItems:t.segment.blobItems.map(e=>Object.assign(Object.assign({},e),{name:fu(e.name)}))}})}function BIe(t){var e;return Object.assign(Object.assign({},t),{segment:{blobPrefixes:(e=t.segment.blobPrefixes)===null||e===void 0?void 0:e.map(r=>Object.assign(Object.assign({},r),{name:fu(r.name)})),blobItems:t.segment.blobItems.map(r=>Object.assign(Object.assign({},r),{name:fu(r.name)}))}})}function*kY(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}}function BC(t){let e=t.split("/");for(let r=0;r<e.length;r++)e[r]=encodeURIComponent(e[r]);return e.join("/")}function V(t){if("_response"in t)return t;throw new TypeError(`Unexpected response object ${t}`)}se.StorageRetryPolicyType=void 0;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(se.StorageRetryPolicyType||(se.StorageRetryPolicyType={}));var Aa={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:se.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},QIe=new LC.AbortError("The operation was aborted."),wC=class extends gu{constructor(e,r,n=Aa){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:Aa.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):Aa.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:Aa.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:Aa.maxRetryDelayInMs):Aa.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:Aa.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:Aa.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=zY(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=lo(i.url,Ji.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let o;try{if(nr.info(`RetryPolicy: =====> Try=${n} ${s?"Primary":"Secondary"}`),o=await this._nextPolicy.sendRequest(i),!this.shouldRetry(s,n,o))return o;r=r||!s&&o.status===404}catch(a){if(nr.error(`RetryPolicy: Caught error, message: ${a.message}, code: ${a.code}`),!this.shouldRetry(s,n,o,a))throw a}return await this.delay(s,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,i){if(r>=this.retryOptions.maxTries)return nr.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 o of s)if(i.name.toUpperCase().includes(o)||i.message.toUpperCase().includes(o)||i.code&&i.code.toString().toUpperCase()===o)return nr.info(`RetryPolicy: Network error ${o} found, will retry.`),!0}if(n||i){let o=n?n.status:i?i.statusCode:0;if(!e&&o===404)return nr.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(o===503||o===500)return nr.info(`RetryPolicy: Will retry for status code ${o}.`),!0}return i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag')?(nr.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 se.StorageRetryPolicyType.EXPONENTIAL:i=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case se.StorageRetryPolicyType.FIXED:i=this.retryOptions.retryDelayInMs;break}else i=Math.random()*1e3;return nr.info(`RetryPolicy: Delay for ${i}ms`),YY(i,n,QIe)}},SC=class{constructor(e){this.retryOptions=e}create(e,r){return new wC(e,r,this.retryOptions)}},Hh=class extends gu{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}},bIe=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]),NIe=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]),wIe=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 WY(t,e){return SIe(t,e)?-1:1}function SIe(t,e){let r=[bIe,NIe,wIe],n=0,i=0,s=0;for(;n<r.length;){if(n===r.length-1&&i!==s)return i>s;let o=i<t.length?r[n][t[i].charCodeAt(0)]:1,a=s<e.length?r[n][e[s].charCodeAt(0)]:1;if(o===1&&a===1)i=0,s=0,++n;else if(o===a)++i,++s;else if(o===0)++i;else if(a===0)++s;else return o<a}return!1}var xC=class extends Hh{constructor(e,r,n){super(e,r),this.factory=n}signRequest(e){e.headers.set(Ie.X_MS_DATE,new Date().toUTCString()),e.body&&(typeof e.body=="string"||e.body!==void 0)&&e.body.length>0&&e.headers.set(Ie.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,Ie.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,Ie.CONTENT_ENCODING),this.getHeaderValueToSign(e,Ie.CONTENT_LENGTH),this.getHeaderValueToSign(e,Ie.CONTENT_MD5),this.getHeaderValueToSign(e,Ie.CONTENT_TYPE),this.getHeaderValueToSign(e,Ie.DATE),this.getHeaderValueToSign(e,Ie.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,Ie.IF_MATCH),this.getHeaderValueToSign(e,Ie.IF_NONE_MATCH),this.getHeaderValueToSign(e,Ie.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,Ie.RANGE)].join(`
|
||
`)+`
|
||
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(r);return e.headers.set(Ie.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===Ie.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(i=>i.name.toLowerCase().startsWith(Ie.PREFIX_FOR_STORAGE));r.sort((i,s)=>WY(i.name.toLowerCase(),s.name.toLowerCase())),r=r.filter((i,s,o)=>!(s>0&&i.name.toLowerCase()===o[s-1].name.toLowerCase()));let n="";return r.forEach(i=>{n+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()}
|
||
`}),n}getCanonicalizedResourceString(e){let r=FC(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let i=GY(e.url),s={};if(i){let o=[];for(let a in i)if(Object.prototype.hasOwnProperty.call(i,a)){let A=a.toLowerCase();s[A]=i[a],o.push(A)}o.sort();for(let a of o)n+=`
|
||
${a}:${decodeURIComponent(s[a])}`}return n}},jh=class{create(e,r){throw new Error("Method should be implemented in children classes.")}},lt=class extends jh{constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new xC(e,r,this)}computeHMACSHA256(e){return av.createHmac("sha256",this.accountKey).update(e,"utf8").digest("base64")}},RC=class extends Hh{constructor(e,r){super(e,r)}},dt=class extends jh{create(e,r){return new RC(e,r)}},xR;function xIe(){return xR||(xR=jr.createDefaultHttpClient()),xR}var RIe="storageBrowserPolicy";function vIe(){return{name:RIe,async sendRequest(t,e){return st.isNode||((t.method==="GET"||t.method==="HEAD")&&(t.url=lo(t.url,Ji.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Ie.COOKIE),t.headers.delete(Ie.CONTENT_LENGTH)),e(t)}}}var _Ie="storageRetryPolicy",zh;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(zh||(zh={}));var uu={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:zh.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},DIe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],kIe=new LC.AbortError("The operation was aborted.");function PIe(t={}){var e,r,n,i,s,o;let a=(e=t.retryPolicyType)!==null&&e!==void 0?e:uu.retryPolicyType,A=(r=t.maxTries)!==null&&r!==void 0?r:uu.maxTries,c=(n=t.retryDelayInMs)!==null&&n!==void 0?n:uu.retryDelayInMs,l=(i=t.maxRetryDelayInMs)!==null&&i!==void 0?i:uu.maxRetryDelayInMs,u=(s=t.secondaryHost)!==null&&s!==void 0?s:uu.secondaryHost,d=(o=t.tryTimeoutInMs)!==null&&o!==void 0?o:uu.tryTimeoutInMs;function f({isPrimaryRetry:m,attempt:E,response:C,error:I}){var N,w;if(E>=A)return nr.info(`RetryPolicy: Attempt(s) ${E} >= maxTries ${A}, no further try.`),!1;if(I){for(let v of DIe)if(I.name.toUpperCase().includes(v)||I.message.toUpperCase().includes(v)||I.code&&I.code.toString().toUpperCase()===v)return nr.info(`RetryPolicy: Network error ${v} found, will retry.`),!0;if(I?.code==="PARSE_ERROR"&&I?.message.startsWith('Error "Error: Unclosed root tag'))return nr.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(C||I){let v=(w=(N=C?.status)!==null&&N!==void 0?N:I?.statusCode)!==null&&w!==void 0?w:0;if(!m&&v===404)return nr.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(v===503||v===500)return nr.info(`RetryPolicy: Will retry for status code ${v}.`),!0}return!1}function g(m,E){let C=0;if(m)switch(a){case zh.EXPONENTIAL:C=Math.min((Math.pow(2,E-1)-1)*c,l);break;case zh.FIXED:C=c;break}else C=Math.random()*1e3;return nr.info(`RetryPolicy: Delay for ${C}ms`),C}return{name:_Ie,async sendRequest(m,E){d&&(m.url=lo(m.url,Ji.Parameters.TIMEOUT,String(Math.floor(d/1e3))));let C=m.url,I=u?zY(m.url,u):void 0,N=!1,w=1,v=!0,T,U;for(;v;){let k=N||!I||!["GET","HEAD","OPTIONS"].includes(m.method)||w%2===1;m.url=k?C:I,T=void 0,U=void 0;try{nr.info(`RetryPolicy: =====> Try=${w} ${k?"Primary":"Secondary"}`),T=await E(m),N=N||!k&&T.status===404}catch(J){if(jr.isRestError(J))nr.error(`RetryPolicy: Caught error, message: ${J.message}, code: ${J.code}`),U=J;else throw nr.error(`RetryPolicy: Caught error, message: ${st.getErrorMessage(J)}`),J}v=f({isPrimaryRetry:k,attempt:w,response:T,error:U}),v&&await YY(g(k,w),m.abortSignal,kIe),w++}if(T)return T;throw U??new jr.RestError("RetryPolicy failed without known error.")}}}var TIe="storageSharedKeyCredentialPolicy";function $Y(t){function e(s){s.headers.set(Ie.X_MS_DATE,new Date().toUTCString()),s.body&&(typeof s.body=="string"||Buffer.isBuffer(s.body))&&s.body.length>0&&s.headers.set(Ie.CONTENT_LENGTH,Buffer.byteLength(s.body));let o=[s.method.toUpperCase(),r(s,Ie.CONTENT_LANGUAGE),r(s,Ie.CONTENT_ENCODING),r(s,Ie.CONTENT_LENGTH),r(s,Ie.CONTENT_MD5),r(s,Ie.CONTENT_TYPE),r(s,Ie.DATE),r(s,Ie.IF_MODIFIED_SINCE),r(s,Ie.IF_MATCH),r(s,Ie.IF_NONE_MATCH),r(s,Ie.IF_UNMODIFIED_SINCE),r(s,Ie.RANGE)].join(`
|
||
`)+`
|
||
`+n(s)+i(s),a=av.createHmac("sha256",t.accountKey).update(o,"utf8").digest("base64");s.headers.set(Ie.AUTHORIZATION,`SharedKey ${t.accountName}:${a}`)}function r(s,o){let a=s.headers.get(o);return!a||o===Ie.CONTENT_LENGTH&&a==="0"?"":a}function n(s){let o=[];for(let[A,c]of s.headers)A.toLowerCase().startsWith(Ie.PREFIX_FOR_STORAGE)&&o.push({name:A,value:c});o.sort((A,c)=>WY(A.name.toLowerCase(),c.name.toLowerCase())),o=o.filter((A,c,l)=>!(c>0&&A.name.toLowerCase()===l[c-1].name.toLowerCase()));let a="";return o.forEach(A=>{a+=`${A.name.toLowerCase().trimRight()}:${A.value.trimLeft()}
|
||
`}),a}function i(s){let o=FC(s.url)||"/",a="";a+=`/${t.accountName}${o}`;let A=GY(s.url),c={};if(A){let l=[];for(let u in A)if(Object.prototype.hasOwnProperty.call(A,u)){let d=u.toLowerCase();c[d]=A[u],l.push(d)}l.sort();for(let u of l)a+=`
|
||
${u}:${decodeURIComponent(c[u])}`}return a}return{name:TIe,async sendRequest(s,o){return e(s),o(s)}}}var vC=class extends gu{constructor(e,r){super(e,r)}async sendRequest(e){return st.isNode?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=lo(e.url,Ji.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(Ie.COOKIE),e.headers.remove(Ie.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}},_C=class{create(e,r){return new vC(e,r)}},OIe="StorageCorrectContentLengthPolicy";function LIe(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(Ie.CONTENT_LENGTH,Buffer.byteLength(e.body))}return{name:OIe,async sendRequest(e,r){return t(e),r(e)}}}function la(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}var Gh=class{constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function ut(t,e={}){t||(t=new dt);let r=new Gh([],e);return r._credential=t,r}function MIe(t){let e=[FIe,ZY,UIe,qIe,HIe,jIe,GIe];if(t.factories.length){let r=t.factories.filter(n=>!e.some(i=>i(n)));if(r.length){let n=r.some(i=>zIe(i));return{wrappedPolicies:OC.createRequestPolicyFactoryPolicy(r),afterRetry:n}}}}function KY(t){var e;let r=t.options,{httpClient:n}=r,i=q.__rest(r,["httpClient"]),s=t._coreHttpClient;s||(s=n?OC.convertHttpClient(n):xIe(),t._coreHttpClient=s);let o=t._corePipeline;if(!o){let a=`azsdk-js-azure-storage-blob/${qY}`,A=i.userAgentOptions&&i.userAgentOptions.userAgentPrefix?`${i.userAgentOptions.userAgentPrefix} ${a}`:`${a}`;o=Fh.createClientPipeline(Object.assign(Object.assign({},i),{loggingOptions:{additionalAllowedHeaderNames:AIe,additionalAllowedQueryParameters:cIe,logger:nr.info},userAgentOptions:{userAgentPrefix:A},serializationOptions:{stringifyXML:vR.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:vR.parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}})),o.removePolicy({phase:"Retry"}),o.removePolicy({name:jr.decompressResponsePolicyName}),o.addPolicy(LIe()),o.addPolicy(PIe(i.retryOptions),{phase:"Retry"}),o.addPolicy(vIe());let c=MIe(t);c&&o.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=XY(t);Ei.isTokenCredential(l)?o.addPolicy(jr.bearerTokenAuthenticationPolicy({credential:l,scopes:(e=i.audience)!==null&&e!==void 0?e:uv,challengeCallbacks:{authorizeRequestOnChallenge:Fh.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):l instanceof lt&&o.addPolicy($Y({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=o}return Object.assign(Object.assign({},i),{allowInsecureConnection:!0,httpClient:s,pipeline:o})}function XY(t){if(t._credential)return t._credential;let e=new dt;for(let r of t.factories)if(Ei.isTokenCredential(r.credential))e=r.credential;else if(ZY(r))return r;return e}function ZY(t){return t instanceof lt?!0:t.constructor.name==="StorageSharedKeyCredential"}function FIe(t){return t instanceof dt?!0:t.constructor.name==="AnonymousCredential"}function UIe(t){return Ei.isTokenCredential(t.credential)}function qIe(t){return t instanceof _C?!0:t.constructor.name==="StorageBrowserPolicyFactory"}function HIe(t){return t instanceof SC?!0:t.constructor.name==="StorageRetryPolicyFactory"}function jIe(t){return t.constructor.name==="TelemetryPolicyFactory"}function zIe(t){return t.constructor.name==="InjectorPolicyFactory"}function GIe(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:async o=>({request:o,headers:o.headers.clone(),status:500})},n={log(o,a){},shouldLog(o){return!1}},s=t.create(r,n).constructor.name;return e.some(o=>s.startsWith(o))}var fv={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"}}}}},YIe={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"}}}}},JIe={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"}}}}},VIe={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"}}}}},WIe={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"}}}}},$Ie={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"}}}}},Y={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}},eJ={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},KIe={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"}}}}},tJ={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"}}}}},XIe={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"}}}}}}},ZIe={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"}}}}},rJ={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"}}}}},nJ={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"}}}}},hv={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"}}}}},eBe={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"}}}}},gv={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"}}}}}}},tBe={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"}}}}},rBe={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"}}}}},nBe={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"}}}}},iJ={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"}}}}},iBe={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"}}}}}}},sBe={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"}}}}},oBe={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"}}}}},aBe={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"}}}}},sJ={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"}}}}},ABe={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"}}}}}}},cBe={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},oJ={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"}}}}}}},aJ={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"}}}}}}},lBe={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"}}}}},mv={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"}}}}},uBe={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"}}}}},dBe={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"}}}}},AJ={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"}}}}},fBe={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},hBe={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"}}}}}}},gBe={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"}}}}},mBe={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},pBe={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"}}}}}}},yBe={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"}}}}},cJ={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"}}}}},lJ={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uJ={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"}}}}},dJ={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fJ={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"}}}}},hJ={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gJ={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"}}}}},mJ={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pJ={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"}}}}},yJ={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EJ={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"}}}}},CJ={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IJ={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"}}}}},BJ={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QJ={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"}}}}},bJ={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NJ={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"}}}}},wJ={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SJ={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"}}}}},xJ={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RJ={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"}}}}},vJ={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_J={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"}}}}},DJ={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kJ={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"}}}}},PJ={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TJ={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"}}}}},OJ={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LJ={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"}}}}},MJ={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FJ={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"}}}}},UJ={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qJ={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"}}}}},HJ={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jJ={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"}}}}},zJ={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GJ={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"}}}}},YJ={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JJ={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"}}}}},VJ={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WJ={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"}}}}},$J={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KJ={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"}}}}},XJ={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZJ={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"}}}}},eV={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tV={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"}}}}},rV={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nV={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"}}}}},iV={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sV={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"}}}}},oV={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DR={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"}}}}},aV={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AV={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"}}}}},cV={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lV={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"}}}}},uV={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dV={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"}}}}},fV={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hV={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"}}}}},gV={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mV={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"}}}}},pV={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yV={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"]}}}}},EV={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CV={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"}}}}},IV={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BV={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"}}}}},QV={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bV={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"}}}}},NV={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wV={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"}}}}},SV={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xV={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"}}}}},RV={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vV={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"}}}}},_V={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DV={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"}}}}},kV={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PV={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"}}}}},TV={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OV={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"}}}}},LV={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MV={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"}}}}},FV={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},UV={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"}}}}},qV={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HV={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"}}}}},jV={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kR={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"}}}}},zV={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GV={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"}}}}},YV={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PR={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"}}}}},JV={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VV={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"}}}}},WV={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$V={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"}}}}},KV={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XV={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"}}}}},ZV={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eW={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"}}}}},tW={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rW={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"}}}}},nW={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iW={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"}}}}},sW={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oW={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"}}}}},aW={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AW={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"}}}}},cW={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lW={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"}}}}},uW={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dW={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"}}}}},fW={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hW={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"}}}}},gW={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mW={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"}}}}},pW={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yW={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"}}}}},EW={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CW={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"}}}}},IW={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BW={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"}}}}},QW={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bW={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"}}}}},NW={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wW={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"}}}}},SW={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xW={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"}}}}},RW={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vW={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"}}}}},_W={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DW={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"}}}}},kW={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PW={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"}}}}},TW={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Iu=Object.freeze({__proto__:null,AccessPolicy:nBe,AppendBlobAppendBlockExceptionHeaders:EW,AppendBlobAppendBlockFromUrlExceptionHeaders:IW,AppendBlobAppendBlockFromUrlHeaders:CW,AppendBlobAppendBlockHeaders:yW,AppendBlobCreateExceptionHeaders:pW,AppendBlobCreateHeaders:mW,AppendBlobSealExceptionHeaders:QW,AppendBlobSealHeaders:BW,ArrowConfiguration:pBe,ArrowField:yBe,BlobAbortCopyFromURLExceptionHeaders:jV,BlobAbortCopyFromURLHeaders:HV,BlobAcquireLeaseExceptionHeaders:SV,BlobAcquireLeaseHeaders:wV,BlobBreakLeaseExceptionHeaders:TV,BlobBreakLeaseHeaders:PV,BlobChangeLeaseExceptionHeaders:kV,BlobChangeLeaseHeaders:DV,BlobCopyFromURLExceptionHeaders:qV,BlobCopyFromURLHeaders:UV,BlobCreateSnapshotExceptionHeaders:LV,BlobCreateSnapshotHeaders:OV,BlobDeleteExceptionHeaders:uV,BlobDeleteHeaders:lV,BlobDeleteImmutabilityPolicyExceptionHeaders:IV,BlobDeleteImmutabilityPolicyHeaders:CV,BlobDownloadExceptionHeaders:aV,BlobDownloadHeaders:DR,BlobFlatListSegment:iBe,BlobGetAccountInfoExceptionHeaders:YV,BlobGetAccountInfoHeaders:GV,BlobGetPropertiesExceptionHeaders:cV,BlobGetPropertiesHeaders:AV,BlobGetTagsExceptionHeaders:WV,BlobGetTagsHeaders:VV,BlobHierarchyListSegment:ABe,BlobItemInternal:sBe,BlobName:oBe,BlobPrefix:cBe,BlobPropertiesInternal:aBe,BlobQueryExceptionHeaders:JV,BlobQueryHeaders:PR,BlobReleaseLeaseExceptionHeaders:RV,BlobReleaseLeaseHeaders:xV,BlobRenewLeaseExceptionHeaders:_V,BlobRenewLeaseHeaders:vV,BlobServiceProperties:fv,BlobServiceStatistics:eJ,BlobSetExpiryExceptionHeaders:gV,BlobSetExpiryHeaders:hV,BlobSetHttpHeadersExceptionHeaders:pV,BlobSetHttpHeadersHeaders:mV,BlobSetImmutabilityPolicyExceptionHeaders:EV,BlobSetImmutabilityPolicyHeaders:yV,BlobSetLegalHoldExceptionHeaders:QV,BlobSetLegalHoldHeaders:BV,BlobSetMetadataExceptionHeaders:NV,BlobSetMetadataHeaders:bV,BlobSetTagsExceptionHeaders:KV,BlobSetTagsHeaders:$V,BlobSetTierExceptionHeaders:zV,BlobSetTierHeaders:kR,BlobStartCopyFromURLExceptionHeaders:FV,BlobStartCopyFromURLHeaders:MV,BlobTag:tBe,BlobTags:gv,BlobUndeleteExceptionHeaders:fV,BlobUndeleteHeaders:dV,Block:lBe,BlockBlobCommitBlockListExceptionHeaders:kW,BlockBlobCommitBlockListHeaders:DW,BlockBlobGetBlockListExceptionHeaders:TW,BlockBlobGetBlockListHeaders:PW,BlockBlobPutBlobFromUrlExceptionHeaders:SW,BlockBlobPutBlobFromUrlHeaders:wW,BlockBlobStageBlockExceptionHeaders:RW,BlockBlobStageBlockFromURLExceptionHeaders:_W,BlockBlobStageBlockFromURLHeaders:vW,BlockBlobStageBlockHeaders:xW,BlockBlobUploadExceptionHeaders:NW,BlockBlobUploadHeaders:bW,BlockList:aJ,BlockLookupList:oJ,ClearRange:dBe,ContainerAcquireLeaseExceptionHeaders:YJ,ContainerAcquireLeaseHeaders:GJ,ContainerBreakLeaseExceptionHeaders:XJ,ContainerBreakLeaseHeaders:KJ,ContainerChangeLeaseExceptionHeaders:eV,ContainerChangeLeaseHeaders:ZJ,ContainerCreateExceptionHeaders:wJ,ContainerCreateHeaders:NJ,ContainerDeleteExceptionHeaders:vJ,ContainerDeleteHeaders:RJ,ContainerFilterBlobsExceptionHeaders:zJ,ContainerFilterBlobsHeaders:jJ,ContainerGetAccessPolicyExceptionHeaders:PJ,ContainerGetAccessPolicyHeaders:kJ,ContainerGetAccountInfoExceptionHeaders:oV,ContainerGetAccountInfoHeaders:sV,ContainerGetPropertiesExceptionHeaders:xJ,ContainerGetPropertiesHeaders:SJ,ContainerItem:XIe,ContainerListBlobFlatSegmentExceptionHeaders:rV,ContainerListBlobFlatSegmentHeaders:tV,ContainerListBlobHierarchySegmentExceptionHeaders:iV,ContainerListBlobHierarchySegmentHeaders:nV,ContainerProperties:ZIe,ContainerReleaseLeaseExceptionHeaders:VJ,ContainerReleaseLeaseHeaders:JJ,ContainerRenameExceptionHeaders:UJ,ContainerRenameHeaders:FJ,ContainerRenewLeaseExceptionHeaders:$J,ContainerRenewLeaseHeaders:WJ,ContainerRestoreExceptionHeaders:MJ,ContainerRestoreHeaders:LJ,ContainerSetAccessPolicyExceptionHeaders:OJ,ContainerSetAccessPolicyHeaders:TJ,ContainerSetMetadataExceptionHeaders:DJ,ContainerSetMetadataHeaders:_J,ContainerSubmitBatchExceptionHeaders:HJ,ContainerSubmitBatchHeaders:qJ,CorsRule:WIe,DelimitedTextConfiguration:gBe,FilterBlobItem:eBe,FilterBlobSegment:hv,GeoReplication:KIe,JsonTextConfiguration:mBe,KeyInfo:rJ,ListBlobsFlatSegmentResponse:iJ,ListBlobsHierarchySegmentResponse:sJ,ListContainersSegmentResponse:tJ,Logging:YIe,Metrics:VIe,PageBlobClearPagesExceptionHeaders:nW,PageBlobClearPagesHeaders:rW,PageBlobCopyIncrementalExceptionHeaders:gW,PageBlobCopyIncrementalHeaders:hW,PageBlobCreateExceptionHeaders:ZV,PageBlobCreateHeaders:XV,PageBlobGetPageRangesDiffExceptionHeaders:cW,PageBlobGetPageRangesDiffHeaders:AW,PageBlobGetPageRangesExceptionHeaders:aW,PageBlobGetPageRangesHeaders:oW,PageBlobResizeExceptionHeaders:uW,PageBlobResizeHeaders:lW,PageBlobUpdateSequenceNumberExceptionHeaders:fW,PageBlobUpdateSequenceNumberHeaders:dW,PageBlobUploadPagesExceptionHeaders:tW,PageBlobUploadPagesFromURLExceptionHeaders:sW,PageBlobUploadPagesFromURLHeaders:iW,PageBlobUploadPagesHeaders:eW,PageList:mv,PageRange:uBe,QueryFormat:hBe,QueryRequest:AJ,QuerySerialization:fBe,RetentionPolicy:JIe,ServiceFilterBlobsExceptionHeaders:bJ,ServiceFilterBlobsHeaders:QJ,ServiceGetAccountInfoExceptionHeaders:CJ,ServiceGetAccountInfoHeaders:EJ,ServiceGetPropertiesExceptionHeaders:dJ,ServiceGetPropertiesHeaders:uJ,ServiceGetStatisticsExceptionHeaders:hJ,ServiceGetStatisticsHeaders:fJ,ServiceGetUserDelegationKeyExceptionHeaders:yJ,ServiceGetUserDelegationKeyHeaders:pJ,ServiceListContainersSegmentExceptionHeaders:mJ,ServiceListContainersSegmentHeaders:gJ,ServiceSetPropertiesExceptionHeaders:lJ,ServiceSetPropertiesHeaders:cJ,ServiceSubmitBatchExceptionHeaders:BJ,ServiceSubmitBatchHeaders:IJ,SignedIdentifier:rBe,StaticWebsite:$Ie,StorageError:Y,UserDelegationKey:nJ}),Bu={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},EBe={parameterPath:"blobServiceProperties",mapper:fv},ua={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},W={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},UC={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},da={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},$={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},K={parameterPath:"version",mapper:{defaultValue:"2025-05-05",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},X={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},oe={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},CBe={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},pv={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},yv={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},RA={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},vA={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},IBe={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},BBe={parameterPath:"keyInfo",mapper:rJ},QBe={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ev={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},OW={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},LW={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Wn={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},MW={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},FW={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},UW={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},Pr={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Wi={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},qW={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},bBe={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},NBe={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},Me={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},ke={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},Pe={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},HW={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},jW={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},wBe={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},zW={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},SBe={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},xBe={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},RBe={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},vBe={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},_Be={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},xs={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},GW={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},YW={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},JW={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},VW={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Qu={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},WW={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},$W={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},KW={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},XW={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},ZW={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},e3={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"},DBe={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},Ci={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},go={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},eg={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},kBe={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},PBe={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},Cr={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},Ir={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},Br={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},Ze={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},et={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},Ge={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},TBe={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},OBe={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},LBe={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},MBe={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},FBe={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},bu={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},Nu={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},wu={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},Su={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},xu={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},Ru={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},t3={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},_A={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},DA={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},UBe={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},qBe={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},zr={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},HBe={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},vu={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"]}}},r3={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},_u={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},Du={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},ku={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},Pu={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},n3={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},qC={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},kA={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},jBe={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},Tu={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},zBe={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},tg={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},rg={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},i3={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},GBe={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},YBe={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},JBe={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},VBe={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},WBe={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"]}}},$Be={parameterPath:["options","queryRequest"],mapper:AJ},KBe={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},s3={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},XBe={parameterPath:["options","tags"],mapper:gv},fa={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},Ou={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},ZBe={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},o3={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},a3={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},HC={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},jC={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},zC={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Cv={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},A3={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Iv={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},Bv={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},Qv={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},eQe={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},bv={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},tQe={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},Nv={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},rQe={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},c3={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},nQe={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},iQe={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},sQe={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},oQe={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},aQe={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},l3={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},u3={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},wv={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},d3={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},AQe={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},f3={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},cQe={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},h3={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},g3={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},lQe={parameterPath:"blocks",mapper:oJ},m3={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},uQe={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}},TR=class{constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},dQe)}getProperties(e){return this.client.sendOperationRequest({options:e},fQe)}getStatistics(e){return this.client.sendOperationRequest({options:e},hQe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},gQe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},mQe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},pQe)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},yQe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},EQe)}},ha=Eu.createSerializer(Iu,!0),dQe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:cJ},default:{bodyMapper:Y,headersMapper:lJ}},requestBody:EBe,queryParameters:[UC,da,$],urlParameters:[W],headerParameters:[Bu,ua,K,X],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ha},fQe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:fv,headersMapper:uJ},default:{bodyMapper:Y,headersMapper:dJ}},queryParameters:[UC,da,$],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:ha},hQe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:eJ,headersMapper:fJ},default:{bodyMapper:Y,headersMapper:hJ}},queryParameters:[UC,$,CBe],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:ha},gQe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:tJ,headersMapper:gJ},default:{bodyMapper:Y,headersMapper:mJ}},queryParameters:[$,pv,yv,RA,vA,IBe],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:ha},mQe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:nJ,headersMapper:pJ},default:{bodyMapper:Y,headersMapper:yJ}},requestBody:BBe,queryParameters:[UC,$,QBe],urlParameters:[W],headerParameters:[Bu,ua,K,X],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ha},pQe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:EJ},default:{bodyMapper:Y,headersMapper:CJ}},queryParameters:[da,$,Ev],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:ha},yQe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:IJ},default:{bodyMapper:Y,headersMapper:BJ}},requestBody:OW,queryParameters:[$,LW],urlParameters:[W],headerParameters:[ua,K,X,Wn,MW],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:ha},EQe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:hv,headersMapper:QJ},default:{bodyMapper:Y,headersMapper:bJ}},queryParameters:[$,RA,vA,FW,UW],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:ha},OR=class{constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},CQe)}getProperties(e){return this.client.sendOperationRequest({options:e},IQe)}delete(e){return this.client.sendOperationRequest({options:e},BQe)}setMetadata(e){return this.client.sendOperationRequest({options:e},QQe)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},bQe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},NQe)}restore(e){return this.client.sendOperationRequest({options:e},wQe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},SQe)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},xQe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},RQe)}acquireLease(e){return this.client.sendOperationRequest({options:e},vQe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},_Qe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},DQe)}breakLease(e){return this.client.sendOperationRequest({options:e},kQe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},PQe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},TQe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},OQe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},LQe)}},Qr=Eu.createSerializer(Iu,!0),CQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:NJ},default:{bodyMapper:Y,headersMapper:wJ}},queryParameters:[$,Pr],urlParameters:[W],headerParameters:[K,X,oe,Wi,qW,bBe,NBe],isXML:!0,serializer:Qr},IQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:SJ},default:{bodyMapper:Y,headersMapper:xJ}},queryParameters:[$,Pr],urlParameters:[W],headerParameters:[K,X,oe,Me],isXML:!0,serializer:Qr},BQe={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:RJ},default:{bodyMapper:Y,headersMapper:vJ}},queryParameters:[$,Pr],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe],isXML:!0,serializer:Qr},QQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:_J},default:{bodyMapper:Y,headersMapper:DJ}},queryParameters:[$,Pr,HW],urlParameters:[W],headerParameters:[K,X,oe,Wi,Me,ke],isXML:!0,serializer:Qr},bQe={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:kJ},default:{bodyMapper:Y,headersMapper:PJ}},queryParameters:[$,Pr,jW],urlParameters:[W],headerParameters:[K,X,oe,Me],isXML:!0,serializer:Qr},NQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:TJ},default:{bodyMapper:Y,headersMapper:OJ}},requestBody:wBe,queryParameters:[$,Pr,jW],urlParameters:[W],headerParameters:[Bu,ua,K,X,qW,Me,ke,Pe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Qr},wQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:LJ},default:{bodyMapper:Y,headersMapper:MJ}},queryParameters:[$,Pr,zW],urlParameters:[W],headerParameters:[K,X,oe,SBe,xBe],isXML:!0,serializer:Qr},SQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:FJ},default:{bodyMapper:Y,headersMapper:UJ}},queryParameters:[$,Pr,RBe],urlParameters:[W],headerParameters:[K,X,oe,vBe,_Be],isXML:!0,serializer:Qr},xQe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:qJ},default:{bodyMapper:Y,headersMapper:HJ}},requestBody:OW,queryParameters:[$,LW,Pr],urlParameters:[W],headerParameters:[ua,K,X,Wn,MW],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Qr},RQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:hv,headersMapper:jJ},default:{bodyMapper:Y,headersMapper:zJ}},queryParameters:[$,RA,vA,FW,UW,Pr],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:Qr},vQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:GJ},default:{bodyMapper:Y,headersMapper:YJ}},queryParameters:[$,Pr,xs],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,GW,YW,JW],isXML:!0,serializer:Qr},_Qe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:JJ},default:{bodyMapper:Y,headersMapper:VJ}},queryParameters:[$,Pr,xs],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,VW,Qu],isXML:!0,serializer:Qr},DQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:WJ},default:{bodyMapper:Y,headersMapper:$J}},queryParameters:[$,Pr,xs],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,Qu,WW],isXML:!0,serializer:Qr},kQe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:KJ},default:{bodyMapper:Y,headersMapper:XJ}},queryParameters:[$,Pr,xs],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,$W,KW],isXML:!0,serializer:Qr},PQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:ZJ},default:{bodyMapper:Y,headersMapper:eV}},queryParameters:[$,Pr,xs],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,Qu,XW,ZW],isXML:!0,serializer:Qr},TQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:iJ,headersMapper:tV},default:{bodyMapper:Y,headersMapper:rV}},queryParameters:[$,pv,yv,RA,vA,Pr,e3],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:Qr},OQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:sJ,headersMapper:nV},default:{bodyMapper:Y,headersMapper:iV}},queryParameters:[$,pv,yv,RA,vA,Pr,e3,DBe],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:Qr},LQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:sV},default:{bodyMapper:Y,headersMapper:oV}},queryParameters:[da,$,Ev],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:Qr},LR=class{constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},MQe)}getProperties(e){return this.client.sendOperationRequest({options:e},FQe)}delete(e){return this.client.sendOperationRequest({options:e},UQe)}undelete(e){return this.client.sendOperationRequest({options:e},qQe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},HQe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},jQe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},zQe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},GQe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},YQe)}setMetadata(e){return this.client.sendOperationRequest({options:e},JQe)}acquireLease(e){return this.client.sendOperationRequest({options:e},VQe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},WQe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},$Qe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},KQe)}breakLease(e){return this.client.sendOperationRequest({options:e},XQe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},ZQe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},ebe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},tbe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},rbe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},nbe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},ibe)}query(e){return this.client.sendOperationRequest({options:e},sbe)}getTags(e){return this.client.sendOperationRequest({options:e},obe)}setTags(e){return this.client.sendOperationRequest({options:e},abe)}},xt=Eu.createSerializer(Iu,!0),MQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:DR},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:DR},default:{bodyMapper:Y,headersMapper:aV}},queryParameters:[$,Ci,go],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,eg,kBe,PBe,Cr,Ir,Br,Ze,et,Ge],isXML:!0,serializer:xt},FQe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:AV},default:{bodyMapper:Y,headersMapper:cV}},queryParameters:[$,Ci,go],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,Cr,Ir,Br,Ze,et,Ge],isXML:!0,serializer:xt},UQe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:lV},default:{bodyMapper:Y,headersMapper:uV}},queryParameters:[$,Ci,go,OBe],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,Ze,et,Ge,TBe],isXML:!0,serializer:xt},qQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:dV},default:{bodyMapper:Y,headersMapper:fV}},queryParameters:[$,zW],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:xt},HQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:hV},default:{bodyMapper:Y,headersMapper:gV}},queryParameters:[$,LBe],urlParameters:[W],headerParameters:[K,X,oe,MBe,FBe],isXML:!0,serializer:xt},jQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:mV},default:{bodyMapper:Y,headersMapper:pV}},queryParameters:[da,$],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,Ze,et,Ge,bu,Nu,wu,Su,xu,Ru],isXML:!0,serializer:xt},zQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:yV},default:{bodyMapper:Y,headersMapper:EV}},queryParameters:[$,Ci,go,t3],urlParameters:[W],headerParameters:[K,X,oe,Pe,_A,DA],isXML:!0,serializer:xt},GQe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:CV},default:{bodyMapper:Y,headersMapper:IV}},queryParameters:[$,Ci,go,t3],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:xt},YQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:BV},default:{bodyMapper:Y,headersMapper:QV}},queryParameters:[$,Ci,go,UBe],urlParameters:[W],headerParameters:[K,X,oe,qBe],isXML:!0,serializer:xt},JQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:bV},default:{bodyMapper:Y,headersMapper:NV}},queryParameters:[$,HW],urlParameters:[W],headerParameters:[K,X,oe,Wi,Me,ke,Pe,Cr,Ir,Br,Ze,et,Ge,zr],isXML:!0,serializer:xt},VQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wV},default:{bodyMapper:Y,headersMapper:SV}},queryParameters:[$,xs],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,GW,YW,JW,Ze,et,Ge],isXML:!0,serializer:xt},WQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:xV},default:{bodyMapper:Y,headersMapper:RV}},queryParameters:[$,xs],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,VW,Qu,Ze,et,Ge],isXML:!0,serializer:xt},$Qe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:vV},default:{bodyMapper:Y,headersMapper:_V}},queryParameters:[$,xs],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,Qu,WW,Ze,et,Ge],isXML:!0,serializer:xt},KQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:DV},default:{bodyMapper:Y,headersMapper:kV}},queryParameters:[$,xs],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,Qu,XW,ZW,Ze,et,Ge],isXML:!0,serializer:xt},XQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:PV},default:{bodyMapper:Y,headersMapper:TV}},queryParameters:[$,xs],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,$W,KW,Ze,et,Ge],isXML:!0,serializer:xt},ZQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:OV},default:{bodyMapper:Y,headersMapper:LV}},queryParameters:[$,HBe],urlParameters:[W],headerParameters:[K,X,oe,Wi,Me,ke,Pe,Cr,Ir,Br,Ze,et,Ge,zr],isXML:!0,serializer:xt},ebe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:MV},default:{bodyMapper:Y,headersMapper:FV}},queryParameters:[$],urlParameters:[W],headerParameters:[K,X,oe,Wi,Me,ke,Pe,Ze,et,Ge,_A,DA,vu,r3,_u,Du,ku,Pu,n3,qC,kA,jBe,Tu],isXML:!0,serializer:xt},tbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:UV},default:{bodyMapper:Y,headersMapper:qV}},queryParameters:[$],urlParameters:[W],headerParameters:[K,X,oe,Wi,Me,ke,Pe,Ze,et,Ge,_A,DA,zr,vu,_u,Du,ku,Pu,qC,kA,Tu,zBe,tg,rg,i3],isXML:!0,serializer:xt},rbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:HV},default:{bodyMapper:Y,headersMapper:jV}},queryParameters:[$,GBe,JBe],urlParameters:[W],headerParameters:[K,X,oe,Me,YBe],isXML:!0,serializer:xt},nbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:kR},202:{headersMapper:kR},default:{bodyMapper:Y,headersMapper:zV}},queryParameters:[$,Ci,go,VBe],urlParameters:[W],headerParameters:[K,X,oe,Me,Ge,r3,WBe],isXML:!0,serializer:xt},ibe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:GV},default:{bodyMapper:Y,headersMapper:YV}},queryParameters:[da,$,Ev],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:xt},sbe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:PR},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:PR},default:{bodyMapper:Y,headersMapper:JV}},requestBody:$Be,queryParameters:[$,Ci,KBe],urlParameters:[W],headerParameters:[Bu,ua,K,X,Me,ke,Pe,Cr,Ir,Br,Ze,et,Ge],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:xt},obe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:gv,headersMapper:VV},default:{bodyMapper:Y,headersMapper:WV}},queryParameters:[$,Ci,go,s3],urlParameters:[W],headerParameters:[K,X,oe,Me,Ge],isXML:!0,serializer:xt},abe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:$V},default:{bodyMapper:Y,headersMapper:KV}},requestBody:XBe,queryParameters:[$,go,s3],urlParameters:[W],headerParameters:[Bu,ua,K,X,Me,Ge,fa,Ou],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:xt},MR=class{constructor(e){this.client=e}create(e,r,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:n},Abe)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},cbe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},lbe)}uploadPagesFromURL(e,r,n,i,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:i,options:s},ube)}getPageRanges(e){return this.client.sendOperationRequest({options:e},dbe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},fbe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},hbe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},gbe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},mbe)}},mo=Eu.createSerializer(Iu,!0),Abe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:XV},default:{bodyMapper:Y,headersMapper:ZV}},queryParameters:[$],urlParameters:[W],headerParameters:[K,X,oe,Wn,Wi,Me,ke,Pe,Cr,Ir,Br,Ze,et,Ge,bu,Nu,wu,Su,xu,Ru,_A,DA,zr,vu,kA,Tu,ZBe,o3,a3],isXML:!0,serializer:mo},cbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:eW},default:{bodyMapper:Y,headersMapper:tW}},requestBody:jC,queryParameters:[$,Cv],urlParameters:[W],headerParameters:[K,X,Wn,Me,ke,Pe,eg,Cr,Ir,Br,Ze,et,Ge,zr,fa,Ou,HC,zC,A3,Iv,Bv,Qv],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:mo},lbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:rW},default:{bodyMapper:Y,headersMapper:nW}},queryParameters:[$,Cv],urlParameters:[W],headerParameters:[K,X,oe,Wn,Me,ke,Pe,eg,Cr,Ir,Br,Ze,et,Ge,zr,Iv,Bv,Qv,eQe],isXML:!0,serializer:mo},ube={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:iW},default:{bodyMapper:Y,headersMapper:sW}},queryParameters:[$,Cv],urlParameters:[W],headerParameters:[K,X,oe,Wn,Me,ke,Pe,Cr,Ir,Br,Ze,et,Ge,zr,_u,Du,ku,Pu,tg,rg,A3,Iv,Bv,Qv,bv,tQe,Nv,rQe],isXML:!0,serializer:mo},dbe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:mv,headersMapper:oW},default:{bodyMapper:Y,headersMapper:aW}},queryParameters:[$,RA,vA,Ci,c3],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,eg,Ze,et,Ge],isXML:!0,serializer:mo},fbe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:mv,headersMapper:AW},default:{bodyMapper:Y,headersMapper:cW}},queryParameters:[$,RA,vA,Ci,c3,nQe],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,eg,Ze,et,Ge,iQe],isXML:!0,serializer:mo},hbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:lW},default:{bodyMapper:Y,headersMapper:uW}},queryParameters:[da,$],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,Cr,Ir,Br,Ze,et,Ge,zr,o3],isXML:!0,serializer:mo},gbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:dW},default:{bodyMapper:Y,headersMapper:fW}},queryParameters:[da,$],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,Ze,et,Ge,a3,sQe],isXML:!0,serializer:mo},mbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:hW},default:{bodyMapper:Y,headersMapper:gW}},queryParameters:[$,oQe],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,Ze,et,Ge,qC],isXML:!0,serializer:mo},FR=class{constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},pbe)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},ybe)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},Ebe)}seal(e){return this.client.sendOperationRequest({options:e},Cbe)}},GC=Eu.createSerializer(Iu,!0),pbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:mW},default:{bodyMapper:Y,headersMapper:pW}},queryParameters:[$],urlParameters:[W],headerParameters:[K,X,oe,Wn,Wi,Me,ke,Pe,Cr,Ir,Br,Ze,et,Ge,bu,Nu,wu,Su,xu,Ru,_A,DA,zr,kA,Tu,aQe],isXML:!0,serializer:GC},ybe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:yW},default:{bodyMapper:Y,headersMapper:EW}},requestBody:jC,queryParameters:[$,l3],urlParameters:[W],headerParameters:[K,X,Wn,Me,ke,Pe,Cr,Ir,Br,Ze,et,Ge,zr,fa,Ou,HC,zC,u3,wv],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:GC},Ebe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:CW},default:{bodyMapper:Y,headersMapper:IW}},queryParameters:[$,l3],urlParameters:[W],headerParameters:[K,X,oe,Wn,Me,ke,Pe,Cr,Ir,Br,Ze,et,Ge,zr,_u,Du,ku,Pu,tg,rg,fa,bv,Nv,u3,wv,d3],isXML:!0,serializer:GC},Cbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:BW},default:{bodyMapper:Y,headersMapper:QW}},queryParameters:[$,AQe],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,Ze,et,wv],isXML:!0,serializer:GC},UR=class{constructor(e){this.client=e}upload(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},Ibe)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},Bbe)}stageBlock(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:i},Qbe)}stageBlockFromURL(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:i},bbe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},Nbe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},wbe)}},Lu=Eu.createSerializer(Iu,!0),Ibe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bW},default:{bodyMapper:Y,headersMapper:NW}},requestBody:jC,queryParameters:[$],urlParameters:[W],headerParameters:[K,X,Wn,Wi,Me,ke,Pe,Cr,Ir,Br,Ze,et,Ge,bu,Nu,wu,Su,xu,Ru,_A,DA,zr,vu,kA,Tu,fa,Ou,HC,zC,f3],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Lu},Bbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wW},default:{bodyMapper:Y,headersMapper:SW}},queryParameters:[$],urlParameters:[W],headerParameters:[K,X,oe,Wn,Wi,Me,ke,Pe,Cr,Ir,Br,Ze,et,Ge,bu,Nu,wu,Su,xu,Ru,zr,vu,_u,Du,ku,Pu,n3,qC,kA,tg,rg,i3,fa,f3,cQe],isXML:!0,serializer:Lu},Qbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:xW},default:{bodyMapper:Y,headersMapper:RW}},requestBody:jC,queryParameters:[$,h3,g3],urlParameters:[W],headerParameters:[K,X,Wn,Me,Cr,Ir,Br,zr,fa,Ou,HC,zC],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Lu},bbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vW},default:{bodyMapper:Y,headersMapper:_W}},queryParameters:[$,h3,g3],urlParameters:[W],headerParameters:[K,X,oe,Wn,Me,Cr,Ir,Br,zr,_u,Du,ku,Pu,tg,rg,bv,Nv,d3],isXML:!0,serializer:Lu},Nbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:DW},default:{bodyMapper:Y,headersMapper:kW}},requestBody:lQe,queryParameters:[$,m3],urlParameters:[W],headerParameters:[Bu,ua,K,X,Wi,Me,ke,Pe,Cr,Ir,Br,Ze,et,Ge,bu,Nu,wu,Su,xu,Ru,_A,DA,zr,vu,kA,Tu,fa,Ou],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Lu},wbe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:aJ,headersMapper:PW},default:{bodyMapper:Y,headersMapper:TW}},queryParameters:[$,Ci,m3,uQe],urlParameters:[W],headerParameters:[K,X,oe,Me,Ge],isXML:!0,serializer:Lu},Sbe=class extends XCe.ExtendedServiceClient{constructor(e,r){var n,i;if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let s={requestContentType:"application/json; charset=utf-8"},o="azsdk-js-azure-storage-blob/12.27.0",a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${o}`:`${o}`,A=Object.assign(Object.assign(Object.assign({},s),r),{userAgentOptions:{userAgentPrefix:a},endpoint:(i=(n=r.endpoint)!==null&&n!==void 0?n:r.baseUri)!==null&&i!==void 0?i:"{url}"});super(A),this.url=e,this.version=r.version||"2025-05-05",this.service=new TR(this),this.container=new OR(this),this.blob=new LR(this),this.pageBlob=new MR(this),this.appendBlob=new FR(this),this.blockBlob=new UR(this)}},DC=class extends Sbe{async sendOperationRequest(e,r){let n=Object.assign({},r);return(n.path==="/{containerName}"||n.path==="/{containerName}/{blob}")&&(n.path=""),super.sendOperationRequest(e,n)}},Yh=class{constructor(e,r){this.url=fIe(e),this.accountName=VY(e),this.pipeline=r,this.storageClientContext=new DC(this.url,KY(r)),this.isHttps=JY(mIe(this.url)||"","https"),this.credential=XY(r);let n=this.storageClientContext;n.requestContentType=void 0}},F=JCe.createTracingClient({packageName:"@azure/storage-blob",packageVersion:qY,namespace:"Microsoft.Storage"}),uo=class t{constructor(){this.read=!1,this.add=!1,this.create=!1,this.write=!1,this.delete=!1,this.deleteVersion=!1,this.tag=!1,this.move=!1,this.execute=!1,this.setImmutabilityPolicy=!1,this.permanentDelete=!1}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}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("")}},fo=class t{constructor(){this.read=!1,this.add=!1,this.create=!1,this.write=!1,this.delete=!1,this.deleteVersion=!1,this.list=!1,this.tag=!1,this.move=!1,this.execute=!1,this.setImmutabilityPolicy=!1,this.permanentDelete=!1,this.filterByTags=!1}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}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("")}},qR=class{constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return av.createHmac("sha256",this.key).update(e,"utf8").digest("base64")}};function ho(t){return t.end?`${t.start}-${t.end}`:t.start}se.SASProtocol=void 0;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(se.SASProtocol||(se.SASProtocol={}));var Ss=class{get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,r,n,i,s,o,a,A,c,l,u,d,f,g,m,E,C,I,N,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.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=A,this.permissions=n,this.protocol=o,this.startsOn=a,this.ipRangeInner=c,this.encryptionScope=w,this.identifier=l,this.resource=u,this.cacheControl=d,this.contentDisposition=f,this.contentEncoding=g,this.contentLanguage=m,this.contentType=E,C&&(this.signedOid=C.signedObjectId,this.signedTenantId=C.signedTenantId,this.signedStartsOn=C.signedStartsOn,this.signedExpiresOn=C.signedExpiresOn,this.signedService=C.signedService,this.signedVersion=C.signedVersion,this.preauthorizedAgentObjectId=I,this.correlationId=N))}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"],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?Xe(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(r,n,this.expiresOn?Xe(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(r,n,this.ipRange?ho(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?Xe(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(r,n,this.signedExpiresOn?Xe(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}return r.join("&")}tryAppendQueryParameter(e,r,n){n&&(r=encodeURIComponent(r),n=encodeURIComponent(n),r.length>0&&n.length>0&&e.push(`${r}=${n}`))}};function Jh(t,e,r){return Vh(t,e,r).sasQueryParameters}function Vh(t,e,r){let n=t.version?t.version:lv,i=e instanceof lt?e:void 0,s;if(i===void 0&&r!==void 0&&(s=new qR(r,e)),i===void 0&&s===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return i!==void 0?vbe(t,i):kbe(t,s);if(n>="2018-11-09")return i!==void 0?Rbe(t,i):n>="2020-02-10"?Dbe(t,s):_be(t,s);if(n>="2015-04-05"){if(i!==void 0)return xbe(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'.")}function xbe(t,e){if(t=Fu(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=uo.parse(t.permissions.toString()).toString():n=fo.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Xe(t.startsOn,!1):"",t.expiresOn?Xe(t.expiresOn,!1):"",Mu(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ho(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 Ss(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}}function Rbe(t,e){if(t=Fu(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=uo.parse(t.permissions.toString()).toString():i=fo.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Xe(t.startsOn,!1):"",t.expiresOn?Xe(t.expiresOn,!1):"",Mu(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ho(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(`
|
||
`),o=e.computeHMACSHA256(s);return{sasQueryParameters:new Ss(t.version,o,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}}function vbe(t,e){if(t=Fu(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=uo.parse(t.permissions.toString()).toString():i=fo.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Xe(t.startsOn,!1):"",t.expiresOn?Xe(t.expiresOn,!1):"",Mu(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ho(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(`
|
||
`),o=e.computeHMACSHA256(s);return{sasQueryParameters:new Ss(t.version,o,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}}function _be(t,e){if(t=Fu(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=uo.parse(t.permissions.toString()).toString():i=fo.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Xe(t.startsOn,!1):"",t.expiresOn?Xe(t.expiresOn,!1):"",Mu(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Xe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Xe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?ho(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
|
||
`),o=e.computeHMACSHA256(s);return{sasQueryParameters:new Ss(t.version,o,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}}function Dbe(t,e){if(t=Fu(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=uo.parse(t.permissions.toString()).toString():i=fo.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Xe(t.startsOn,!1):"",t.expiresOn?Xe(t.expiresOn,!1):"",Mu(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Xe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Xe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?ho(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
|
||
`),o=e.computeHMACSHA256(s);return{sasQueryParameters:new Ss(t.version,o,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}}function kbe(t,e){if(t=Fu(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=uo.parse(t.permissions.toString()).toString():i=fo.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Xe(t.startsOn,!1):"",t.expiresOn?Xe(t.expiresOn,!1):"",Mu(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Xe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Xe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?ho(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
|
||
`),o=e.computeHMACSHA256(s);return{sasQueryParameters:new Ss(t.version,o,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}}function Mu(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}function Fu(t){let e=t.version?t.version:lv;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}var Wh=class{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=st.randomUUID()),this._leaseId=r}async acquireLease(e,r={}){var n,i,s,o,a;if(this._isContainer&&(!((n=r.conditions)===null||n===void 0)&&n.ifMatch&&((i=r.conditions)===null||i===void 0?void 0:i.ifMatch)!==ws||!((s=r.conditions)===null||s===void 0)&&s.ifNoneMatch&&((o=r.conditions)===null||o===void 0?void 0:o.ifNoneMatch)!==ws||!((a=r.conditions)===null||a===void 0)&&a.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 F.withSpan("BlobLeaseClient-acquireLease",r,async A=>{var c;return V(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(c=r.conditions)===null||c===void 0?void 0:c.tagConditions}),proposedLeaseId:this._leaseId,tracingOptions:A.tracingOptions}))})}async changeLease(e,r={}){var n,i,s,o,a;if(this._isContainer&&(!((n=r.conditions)===null||n===void 0)&&n.ifMatch&&((i=r.conditions)===null||i===void 0?void 0:i.ifMatch)!==ws||!((s=r.conditions)===null||s===void 0)&&s.ifNoneMatch&&((o=r.conditions)===null||o===void 0?void 0:o.ifNoneMatch)!==ws||!((a=r.conditions)===null||a===void 0)&&a.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 F.withSpan("BlobLeaseClient-changeLease",r,async A=>{var c;let l=V(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(c=r.conditions)===null||c===void 0?void 0:c.tagConditions}),tracingOptions:A.tracingOptions}));return this._leaseId=e,l})}async releaseLease(e={}){var r,n,i,s,o;if(this._isContainer&&(!((r=e.conditions)===null||r===void 0)&&r.ifMatch&&((n=e.conditions)===null||n===void 0?void 0:n.ifMatch)!==ws||!((i=e.conditions)===null||i===void 0)&&i.ifNoneMatch&&((s=e.conditions)===null||s===void 0?void 0:s.ifNoneMatch)!==ws||!((o=e.conditions)===null||o===void 0)&&o.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 F.withSpan("BlobLeaseClient-releaseLease",e,async a=>{var A;return V(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(A=e.conditions)===null||A===void 0?void 0:A.tagConditions}),tracingOptions:a.tracingOptions}))})}async renewLease(e={}){var r,n,i,s,o;if(this._isContainer&&(!((r=e.conditions)===null||r===void 0)&&r.ifMatch&&((n=e.conditions)===null||n===void 0?void 0:n.ifMatch)!==ws||!((i=e.conditions)===null||i===void 0)&&i.ifNoneMatch&&((s=e.conditions)===null||s===void 0?void 0:s.ifNoneMatch)!==ws||!((o=e.conditions)===null||o===void 0)&&o.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 F.withSpan("BlobLeaseClient-renewLease",e,async a=>{var A;return this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(A=e.conditions)===null||A===void 0?void 0:A.tagConditions}),tracingOptions:a.tracingOptions})})}async breakLease(e,r={}){var n,i,s,o,a;if(this._isContainer&&(!((n=r.conditions)===null||n===void 0)&&n.ifMatch&&((i=r.conditions)===null||i===void 0?void 0:i.ifMatch)!==ws||!((s=r.conditions)===null||s===void 0)&&s.ifNoneMatch&&((o=r.conditions)===null||o===void 0?void 0:o.ifNoneMatch)!==ws||!((a=r.conditions)===null||a===void 0)&&a.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 F.withSpan("BlobLeaseClient-breakLease",r,async A=>{var c;let l={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(c=r.conditions)===null||c===void 0?void 0:c.tagConditions}),tracingOptions:A.tracingOptions};return V(await this._containerOrBlobOperation.breakLease(l))})}},HR=class extends Av.Readable{constructor(e,r,n,i,s={}){super({highWaterMark:s.highWaterMark}),this.retries=0,this.sourceDataHandler=o=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=o.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(o)||this.source.pause()},this.sourceAbortedHandler=()=>{let o=new LC.AbortError("The operation was aborted.");this.destroy(o)},this.sourceErrorOrEndHandler=o=>{if(o&&o.name==="AbortError"){this.destroy(o);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(a=>{this.source=a,this.setSourceEventHandlers()}).catch(a=>{this.destroy(a)})):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}`))},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)}_destroy(e,r){this.removeSourceEventHandlers(),this.source.destroy(),r(e===null?void 0:e)}},jR=class{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return st.isNode?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}constructor(e,r,n,i,s={}){this.originalResponse=e,this.blobDownloadStream=new HR(this.originalResponse.readableStreamBody,r,n,i,s)}},PY=16,TY=new Uint8Array([79,98,106,1]),Pbe="avro.codec",Tbe="avro.schema",Ut=class t{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,o,a;do s=await t.readByte(e,r),o=s&128,n|=(s&127)<<i,i+=7;while(o&&i<28);if(o){n=n,a=268435456;do s=await t.readByte(e,r),n+=(s&127)*a,a*=128;while(s&128);let A=(n%2?-(n+1):n)/2;if(A<Number.MIN_SAFE_INTEGER||A>Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return A}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=(a,A={})=>t.readMapPair(a,r,A),s=await t.readArray(e,i,n),o={};for(let a of s)o[a.key]=a.value;return o}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 o=await r(e,n);i.push(o)}return i}},wA;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(wA||(wA={}));var yr;(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"})(yr||(yr={}));var ca=class t{static fromSchema(e){return typeof e=="string"?t.fromStringSchema(e):Array.isArray(e)?t.fromArraySchema(e):t.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case yr.NULL:case yr.BOOLEAN:case yr.INT:case yr.LONG:case yr.FLOAT:case yr.DOUBLE:case yr.BYTES:case yr.STRING:return new zR(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new YR(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case wA.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 VR(n,e.name);case wA.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 GR(e.symbols);case wA.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new JR(t.fromSchema(e.values));case wA.ARRAY:case wA.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},zR=class extends ca{constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case yr.NULL:return Ut.readNull();case yr.BOOLEAN:return Ut.readBoolean(e,r);case yr.INT:return Ut.readInt(e,r);case yr.LONG:return Ut.readLong(e,r);case yr.FLOAT:return Ut.readFloat(e,r);case yr.DOUBLE:return Ut.readDouble(e,r);case yr.BYTES:return Ut.readBytes(e,r);case yr.STRING:return Ut.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},GR=class extends ca{constructor(e){super(),this._symbols=e}async read(e,r={}){let n=await Ut.readInt(e,r);return this._symbols[n]}},YR=class extends ca{constructor(e){super(),this._types=e}async read(e,r={}){let n=await Ut.readInt(e,r);return this._types[n].read(e,r)}},JR=class extends ca{constructor(e){super(),this._itemType=e}read(e,r={}){let n=(i,s)=>this._itemType.read(i,s);return Ut.readMap(e,n,r)}},VR=class extends ca{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}};function OY(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}var WR=class{get blockOffset(){return this._blockOffset}get objectIndex(){return this._objectIndex}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 Ut.readFixedBytes(this._headerStream,TY.length,{abortSignal:e.abortSignal});if(!OY(r,TY))throw new Error("Stream is not an Avro file.");this._metadata=await Ut.readMap(this._headerStream,Ut.readString,{abortSignal:e.abortSignal});let n=this._metadata[Pbe];if(!(n==null||n==="null"))throw new Error("Codecs are not supported");this._syncMarker=await Ut.readFixedBytes(this._headerStream,PY,{abortSignal:e.abortSignal});let i=JSON.parse(this._metadata[Tbe]);if(this._itemType=ca.fromSchema(i),this._blockOffset===0&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await Ut.readLong(this._dataStream,{abortSignal:e.abortSignal}),await Ut.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}parseObjects(){return q.__asyncGenerator(this,arguments,function*(r={}){for(this._initialized||(yield q.__await(this.initialize(r)));this.hasNext();){let n=yield q.__await(this._itemType.read(this._dataStream,{abortSignal:r.abortSignal}));if(this._itemsRemainingInBlock--,this._objectIndex++,this._itemsRemainingInBlock===0){let i=yield q.__await(Ut.readFixedBytes(this._dataStream,PY,{abortSignal:r.abortSignal}));if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!OY(this._syncMarker,i))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=yield q.__await(Ut.readLong(this._dataStream,{abortSignal:r.abortSignal}))}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&(yield q.__await(Ut.readLong(this._dataStream,{abortSignal:r.abortSignal})))}yield yield q.__await(n)}})}},$R=class{},LY=new LC.AbortError("Reading from the avro stream was aborted."),KR=class extends $R{toUint8Array(e){return typeof e=="string"?Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,r={}){var n;if(!((n=r.abortSignal)===null||n===void 0)&&n.aborted)throw LY;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 i=this._readable.read(e);return i?(this._position+=i.length,this.toUint8Array(i)):new Promise((s,o)=>{let a=()=>{this._readable.removeListener("readable",A),this._readable.removeListener("error",c),this._readable.removeListener("end",c),this._readable.removeListener("close",c),r.abortSignal&&r.abortSignal.removeEventListener("abort",l)},A=()=>{let u=this._readable.read(e);u&&(this._position+=u.length,a(),s(this.toUint8Array(u)))},c=()=>{a(),o()},l=()=>{a(),o(LY)};this._readable.on("readable",A),this._readable.once("error",c),this._readable.once("end",c),this._readable.once("close",c),r.abortSignal&&r.abortSignal.addEventListener("abort",l)})}},XR=class extends Av.Readable{constructor(e,r={}){super(),this.avroPaused=!0,this.source=e,this.onProgress=r.onProgress,this.onError=r.onError,this.avroReader=new WR(new KR(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 o=r.description;if(typeof o!="string")throw Error("Invalid description in avro error record.");let a=r.position;if(typeof a!="number")throw Error("Invalid position in avro error record.");this.onError({position:a,name:s,isFatal:i,description:o})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}},ZR=class{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return st.isNode?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new XR(this.originalResponse.readableStreamBody,r)}};se.BlockBlobTier=void 0;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(se.BlockBlobTier||(se.BlockBlobTier={}));se.PremiumPageBlobTier=void 0;(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"})(se.PremiumPageBlobTier||(se.PremiumPageBlobTier={}));function xA(t){if(t!==void 0)return t}function Er(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=oIe)}se.StorageBlobAudience=void 0;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(se.StorageBlobAudience||(se.StorageBlobAudience={}));function Obe(t){return`https://${t}.blob.core.windows.net/.default`}function RR(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 Object.assign(Object.assign({},t),{pageRange:e,clearRange:r,_response:Object.assign(Object.assign({},t._response),{parsedBody:{pageRange:e,clearRange:r}})})}var ev=class extends VCe.Poller{constructor(e){let{blobClient:r,copySource:n,intervalInMs:i=15e3,onProgress:s,resumeFrom:o,startCopyFromURLOptions:a}=e,A;o&&(A=JSON.parse(o).state);let c=Lh(Object.assign(Object.assign({},A),{blobClient:r,copySource:n,startCopyFromURLOptions:a}));super(c),typeof s=="function"&&this.onProgress(s),this.intervalInMs=i}delay(){return st.delay(this.intervalInMs)}},Lbe=async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?Lh(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,Lh(r)):(r.isCancelled=!0,Lh(r))},Mbe=async function(e={}){let r=this.state,{blobClient:n,copySource:i,startCopyFromURLOptions:s}=r;if(r.isStarted){if(!r.isCompleted)try{let o=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:a,copyProgress:A}=o,c=r.copyProgress;A&&(r.copyProgress=A),a==="pending"&&A!==c&&typeof e.fireProgress=="function"?e.fireProgress(r):a==="success"?(r.result=o,r.isCompleted=!0):a==="failed"&&(r.error=new Error(`Blob copy failed with reason: "${o.copyStatusDescription||"unknown"}"`),r.isCompleted=!0)}catch(o){r.error=o,r.isCompleted=!0}}else{r.isStarted=!0;let o=await n.startCopyFromURL(i,s);r.copyId=o.copyId,o.copyStatus==="success"&&(r.result=o,r.isCompleted=!0)}return Lh(r)},Fbe=function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})};function Lh(t){return{state:Object.assign({},t),cancel:Lbe,toString:Fbe,update:Mbe}}function Vn(t){if(t.offset<0)throw new RangeError("Range.offset cannot be smaller than 0.");if(t.count&&t.count<=0)throw new RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return t.count?`bytes=${t.offset}-${t.offset+t.count-1}`:`bytes=${t.offset}-`}var Mh;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(Mh||(Mh={}));var kC=class{constructor(e=5){if(this.actives=0,this.completed=0,this.offset=0,this.operations=[],this.state=Mh.Good,e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new UY.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=Mh.Error,r(n)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==Mh.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}}}},tv=class extends Av.Readable{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,o=Math.min(s,i);if(o>e-n){let a=this.byteOffsetInCurrentBuffer+e-n;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,a)),this.pushedBytesLength+=e-n,this.byteOffsetInCurrentBuffer=a,n=e;break}else{let a=this.byteOffsetInCurrentBuffer+o;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,a)),o===s?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=a,this.pushedBytesLength+=o,n+=o}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}},QC=KCe.constants.MAX_LENGTH,rv=class{get size(){return this._size}constructor(e,r,n){this.buffers=[],this.capacity=e,this._size=0;let i=Math.ceil(e/QC);for(let s=0;s<i;s++){let o=s===i-1?e%QC:QC;o===0&&(o=QC),this.buffers.push(Buffer.allocUnsafe(o))}r&&this.fill(r,n)}fill(e,r){this._size=Math.min(this.capacity,r);let n=0,i=0,s=0,o=0,a=0;for(;a<this._size;){let A=e[n],c=this.buffers[i],l=A.copy(c,s,o);a+=l,o+=l,s+=l,o===A.length&&(n++,o=0),s===c.length&&(i++,s=0)}e.splice(0,n),e.length>0&&(e[0]=e[0].slice(o))}getReadableStream(){return new tv(this.buffers,this.size)}},nv=class{constructor(e,r,n,i,s,o){if(this.emitter=new UY.EventEmitter,this.offset=0,this.isStreamEnd=!1,this.isError=!1,this.executingOutgoingHandlers=0,this.numBuffers=0,this.unresolvedDataArray=[],this.unresolvedLength=0,this.incoming=[],this.outgoing=[],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=o}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 rv(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()}};async function Ube(t,e,r,n,i){let s=0,o=n-r;return new Promise((a,A)=>{let c=setTimeout(()=>A(new Error("The operation cannot be completed in timeout.")),rIe);t.on("readable",()=>{if(s>=o){clearTimeout(c),a();return}let l=t.read();if(!l)return;typeof l=="string"&&(l=Buffer.from(l,i));let u=s+l.length>o?o-s:l.length;e.fill(l.slice(0,u),r+s,r+s+u),s+=u}),t.on("end",()=>{clearTimeout(c),s<o&&A(new Error(`Stream drains before getting enough data needed. Data read: ${s}, data need: ${o}`)),a()}),t.on("error",l=>{clearTimeout(c),A(l)})})}async function qbe(t,e,r){let n=0,i=e.length;return new Promise((s,o)=>{t.on("readable",()=>{let a=t.read();if(a){if(typeof a=="string"&&(a=Buffer.from(a,r)),n+a.length>i){o(new Error(`Stream exceeds buffer size. Buffer size: ${i}`));return}e.fill(a,n,n+a.length),n+=a.length}}),t.on("end",()=>{s(n)}),t.on("error",o)})}async function Hbe(t,e){return new Promise((r,n)=>{let i=cv.createWriteStream(e);t.on("error",s=>{n(s)}),i.on("error",s=>{n(s)}),i.on("close",r),t.pipe(i)})}var jbe=ZCe.promisify(cv.stat),zbe=cv.createReadStream,Vi=class t extends Yh{get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,n,i){i=i||{};let s,o;if(la(r))o=e,s=r;else if(st.isNode&&r instanceof lt||r instanceof dt||Ei.isTokenCredential(r))o=e,i=n,s=ut(r,i);else if(!r&&typeof r!="string")o=e,n&&typeof n!="string"&&(i=n),s=ut(new dt,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let a=r,A=n,c=Cu(e);if(c.kind==="AccountConnString")if(st.isNode){let l=new lt(c.accountName,c.accountKey);o=Pt(Pt(c.url,encodeURIComponent(a)),encodeURIComponent(A)),i.proxyOptions||(i.proxyOptions=jr.getDefaultProxySettings(c.proxyUri)),s=ut(l,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(c.kind==="SASConnString")o=Pt(Pt(c.url,encodeURIComponent(a)),encodeURIComponent(A))+"?"+c.accountSas,s=ut(new dt,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(o,s),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=vY(this.url,Ji.Parameters.SNAPSHOT),this._versionId=vY(this.url,Ji.Parameters.VERSIONID)}withSnapshot(e){return new t(lo(this.url,Ji.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(lo(this.url,Ji.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new $h(this.url,this.pipeline)}getBlockBlobClient(){return new Kh(this.url,this.pipeline)}getPageBlobClient(){return new Xh(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},Er(n.customerProvidedKey,this.isHttps),F.withSpan("BlobClient-download",n,async i=>{var s;let o=V(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(s=n.conditions)===null||s===void 0?void 0:s.tagConditions}),requestOptions:{onDownloadProgress:st.isNode?void 0:n.onProgress},range:e===0&&!r?void 0:Vn({offset:e,count:r}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:i.tracingOptions})),a=Object.assign(Object.assign({},o),{_response:o._response,objectReplicationDestinationPolicyId:o.objectReplicationPolicyId,objectReplicationSourceProperties:NC(o.objectReplicationRules)});if(!st.isNode)return a;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.maxRetryRequests=tIe),o.contentLength===void 0)throw new RangeError("File download response doesn't contain valid content length header");if(!o.etag)throw new RangeError("File download response doesn't contain valid etag header");return new jR(a,async A=>{var c;let l={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||o.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:(c=n.conditions)===null||c===void 0?void 0:c.tagConditions},range:Vn({count:e+o.contentLength-A,offset:A}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download(Object.assign({abortSignal:n.abortSignal},l))).readableStreamBody},e,o.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return F.withSpan("BlobClient-exists",e,async r=>{try{return Er(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===lIe||n.details.errorCode===uIe))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},Er(e.customerProvidedKey,this.isHttps),F.withSpan("BlobClient-getProperties",e,async r=>{var n;let i=V(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return Object.assign(Object.assign({},i),{_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:NC(i.objectReplicationRules)})})}async delete(e={}){return e.conditions=e.conditions||{},F.withSpan("BlobClient-delete",e,async r=>{var n;return V(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),tracingOptions:r.tracingOptions}))})}async deleteIfExists(e={}){return F.withSpan("BlobClient-deleteIfExists",e,async r=>{var n,i;try{let s=V(await this.delete(r));return Object.assign(Object.assign({succeeded:!0},s),{_response:s._response})}catch(s){if(((n=s.details)===null||n===void 0?void 0:n.errorCode)==="BlobNotFound")return Object.assign(Object.assign({succeeded:!1},(i=s.response)===null||i===void 0?void 0:i.parsedHeaders),{_response:s.response});throw s}})}async undelete(e={}){return F.withSpan("BlobClient-undelete",e,async r=>V(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},Er(r.customerProvidedKey,this.isHttps),F.withSpan("BlobClient-setHTTPHeaders",r,async n=>{var i;return V(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:n.tracingOptions}))})}async setMetadata(e,r={}){return r.conditions=r.conditions||{},Er(r.customerProvidedKey,this.isHttps),F.withSpan("BlobClient-setMetadata",r,async n=>{var i;return V(await this.blobContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions}))})}async setTags(e,r={}){return F.withSpan("BlobClient-setTags",r,async n=>{var i;return V(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:n.tracingOptions,tags:CIe(e)}))})}async getTags(e={}){return F.withSpan("BlobClient-getTags",e,async r=>{var n;let i=V(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),tracingOptions:r.tracingOptions}));return Object.assign(Object.assign({},i),{_response:i._response,tags:Oh({blobTagSet:i.blobTagSet})||{}})})}getBlobLeaseClient(e){return new Wh(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},Er(e.customerProvidedKey,this.isHttps),F.withSpan("BlobClient-createSnapshot",e,async r=>{var n;return V(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.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 ev({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 F.withSpan("BlobClient-abortCopyFromURL",r,async n=>V(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},F.withSpan("BlobClient-syncCopyFromURL",r,async n=>{var i,s,o,a,A,c,l;return V(await this.blobContext.copyFromURL(e,{abortSignal:r.abortSignal,metadata:r.metadata,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(s=r.sourceConditions)===null||s===void 0?void 0:s.ifMatch,sourceIfModifiedSince:(o=r.sourceConditions)===null||o===void 0?void 0:o.ifModifiedSince,sourceIfNoneMatch:(a=r.sourceConditions)===null||a===void 0?void 0:a.ifNoneMatch,sourceIfUnmodifiedSince:(A=r.sourceConditions)===null||A===void 0?void 0:A.ifUnmodifiedSince},sourceContentMD5:r.sourceContentMD5,copySourceAuthorization:qh(r.sourceAuthorization),tier:xA(r.tier),blobTagsString:SA(r.tags),immutabilityPolicyExpiry:(c=r.immutabilityPolicy)===null||c===void 0?void 0:c.expiriesOn,immutabilityPolicyMode:(l=r.immutabilityPolicy)===null||l===void 0?void 0:l.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,tracingOptions:n.tracingOptions}))})}async setAccessTier(e,r={}){return F.withSpan("BlobClient-setAccessTier",r,async n=>{var i;return V(await this.blobContext.setTier(xA(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),rehydratePriority:r.rehydratePriority,tracingOptions:n.tracingOptions}))})}async downloadToBuffer(e,r,n,i={}){var s;let o,a=0,A=0,c=i;e instanceof Buffer?(o=e,a=r||0,A=typeof n=="number"?n:0):(a=typeof e=="number"?e:0,A=typeof r=="number"?r:0,c=n||{});let l=(s=c.blockSize)!==null&&s!==void 0?s:0;if(l<0)throw new RangeError("blockSize option must be >= 0");if(l===0&&(l=_R),a<0)throw new RangeError("offset option must be >= 0");if(A&&A<=0)throw new RangeError("count option must be greater than 0");return c.conditions||(c.conditions={}),F.withSpan("BlobClient-downloadToBuffer",c,async u=>{if(!A){let g=await this.getProperties(Object.assign(Object.assign({},c),{tracingOptions:u.tracingOptions}));if(A=g.contentLength-a,A<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${g.contentLength}`)}if(!o)try{o=Buffer.alloc(A)}catch(g){throw new Error(`Unable to allocate the buffer of size: ${A}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${g.message}`)}if(o.length<A)throw new RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${A}`);let d=0,f=new kC(c.concurrency);for(let g=a;g<a+A;g=g+l)f.addOperation(async()=>{let m=a+A;g+l<m&&(m=g+l);let C=(await this.download(g,m-g,{abortSignal:c.abortSignal,conditions:c.conditions,maxRetryRequests:c.maxRetryRequestsPerBlock,customerProvidedKey:c.customerProvidedKey,tracingOptions:u.tracingOptions})).readableStreamBody;await Ube(C,o,g-a,m-a),d+=m-g,c.onProgress&&c.onProgress({loadedBytes:d})});return await f.do(),o})}async downloadToFile(e,r=0,n,i={}){return F.withSpan("BlobClient-downloadToFile",i,async s=>{let o=await this.download(r,n,Object.assign(Object.assign({},i),{tracingOptions:s.tracingOptions}));return o.readableStreamBody&&await Hbe(o.readableStreamBody,e),o.blobDownloadStream=void 0,o})}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(dv(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 F.withSpan("BlobClient-startCopyFromURL",r,async n=>{var i,s,o;return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},V(await this.blobContext.startCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions.ifMatch,sourceIfModifiedSince:r.sourceConditions.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions.ifUnmodifiedSince,sourceIfTags:r.sourceConditions.tagConditions},immutabilityPolicyExpiry:(s=r.immutabilityPolicy)===null||s===void 0?void 0:s.expiriesOn,immutabilityPolicyMode:(o=r.immutabilityPolicy)===null||o===void 0?void 0:o.policyMode,legalHold:r.legalHold,rehydratePriority:r.rehydratePriority,tier:xA(r.tier),blobTagsString:SA(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))})}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof lt))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=Jh(Object.assign({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId},e),this.credential).toString();r(Uh(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof lt))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return Vh(Object.assign({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=Jh(Object.assign({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId},e),r,this.accountName).toString();n(Uh(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return Vh(Object.assign({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId},e),r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return F.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>V(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return F.withSpan("BlobClient-setImmutabilityPolicy",r,async n=>V(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:n.tracingOptions})))}async setLegalHold(e,r={}){return F.withSpan("BlobClient-setLegalHold",r,async n=>V(await this.blobContext.setLegalHold(e,{tracingOptions:n.tracingOptions})))}async getAccountInfo(e={}){return F.withSpan("BlobClient-getAccountInfo",e,async r=>V(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},$h=class t extends Vi{constructor(e,r,n,i){let s,o;if(i=i||{},la(r))o=e,s=r;else if(st.isNode&&r instanceof lt||r instanceof dt||Ei.isTokenCredential(r))o=e,i=n,s=ut(r,i);else if(!r&&typeof r!="string")o=e,s=ut(new dt,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let a=r,A=n,c=Cu(e);if(c.kind==="AccountConnString")if(st.isNode){let l=new lt(c.accountName,c.accountKey);o=Pt(Pt(c.url,encodeURIComponent(a)),encodeURIComponent(A)),i.proxyOptions||(i.proxyOptions=jr.getDefaultProxySettings(c.proxyUri)),s=ut(l,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(c.kind==="SASConnString")o=Pt(Pt(c.url,encodeURIComponent(a)),encodeURIComponent(A))+"?"+c.accountSas,s=ut(new dt,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(o,s),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t(lo(this.url,Ji.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},Er(e.customerProvidedKey,this.isHttps),F.withSpan("AppendBlobClient-create",e,async r=>{var n,i,s;return V(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:(i=e.immutabilityPolicy)===null||i===void 0?void 0:i.expiriesOn,immutabilityPolicyMode:(s=e.immutabilityPolicy)===null||s===void 0?void 0:s.policyMode,legalHold:e.legalHold,blobTagsString:SA(e.tags),tracingOptions:r.tracingOptions}))})}async createIfNotExists(e={}){let r={ifNoneMatch:HY};return F.withSpan("AppendBlobClient-createIfNotExists",e,async n=>{var i,s;try{let o=V(await this.create(Object.assign(Object.assign({},n),{conditions:r})));return Object.assign(Object.assign({succeeded:!0},o),{_response:o._response})}catch(o){if(((i=o.details)===null||i===void 0?void 0:i.errorCode)==="BlobAlreadyExists")return Object.assign(Object.assign({succeeded:!1},(s=o.response)===null||s===void 0?void 0:s.parsedHeaders),{_response:o.response});throw o}})}async seal(e={}){return e.conditions=e.conditions||{},F.withSpan("AppendBlobClient-seal",e,async r=>{var n;return V(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),tracingOptions:r.tracingOptions}))})}async appendBlock(e,r,n={}){return n.conditions=n.conditions||{},Er(n.customerProvidedKey,this.isHttps),F.withSpan("AppendBlobClient-appendBlock",n,async i=>{var s;return V(await this.appendBlobContext.appendBlock(r,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(s=n.conditions)===null||s===void 0?void 0:s.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||{},Er(i.customerProvidedKey,this.isHttps),F.withSpan("AppendBlobClient-appendBlockFromURL",i,async s=>{var o,a,A,c,l;return V(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:Vn({offset:r,count:n}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(o=i.conditions)===null||o===void 0?void 0:o.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(a=i.sourceConditions)===null||a===void 0?void 0:a.ifMatch,sourceIfModifiedSince:(A=i.sourceConditions)===null||A===void 0?void 0:A.ifModifiedSince,sourceIfNoneMatch:(c=i.sourceConditions)===null||c===void 0?void 0:c.ifNoneMatch,sourceIfUnmodifiedSince:(l=i.sourceConditions)===null||l===void 0?void 0:l.ifUnmodifiedSince},copySourceAuthorization:qh(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions}))})}},Kh=class t extends Vi{constructor(e,r,n,i){let s,o;if(i=i||{},la(r))o=e,s=r;else if(st.isNode&&r instanceof lt||r instanceof dt||Ei.isTokenCredential(r))o=e,i=n,s=ut(r,i);else if(!r&&typeof r!="string")o=e,n&&typeof n!="string"&&(i=n),s=ut(new dt,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let a=r,A=n,c=Cu(e);if(c.kind==="AccountConnString")if(st.isNode){let l=new lt(c.accountName,c.accountKey);o=Pt(Pt(c.url,encodeURIComponent(a)),encodeURIComponent(A)),i.proxyOptions||(i.proxyOptions=jr.getDefaultProxySettings(c.proxyUri)),s=ut(l,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(c.kind==="SASConnString")o=Pt(Pt(c.url,encodeURIComponent(a)),encodeURIComponent(A))+"?"+c.accountSas,s=ut(new dt,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(o,s),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t(lo(this.url,Ji.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(Er(r.customerProvidedKey,this.isHttps),!st.isNode)throw new Error("This operation currently is only supported in Node.js.");return F.withSpan("BlockBlobClient-query",r,async n=>{var i;let s=V(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:DY(r.inputTextConfiguration),outputSerialization:DY(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new ZR(s,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},Er(n.customerProvidedKey,this.isHttps),F.withSpan("BlockBlobClient-upload",n,async i=>{var s,o,a;return V(await this.blockBlobContext.upload(r,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(s=n.conditions)===null||s===void 0?void 0:s.tagConditions}),requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:(o=n.immutabilityPolicy)===null||o===void 0?void 0:o.expiriesOn,immutabilityPolicyMode:(a=n.immutabilityPolicy)===null||a===void 0?void 0:a.policyMode,legalHold:n.legalHold,tier:xA(n.tier),blobTagsString:SA(n.tags),tracingOptions:i.tracingOptions}))})}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},Er(r.customerProvidedKey,this.isHttps),F.withSpan("BlockBlobClient-syncUploadFromURL",r,async n=>{var i,s,o,a,A,c;return V(await this.blockBlobContext.putBlobFromUrl(0,e,Object.assign(Object.assign({},r),{blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(s=r.sourceConditions)===null||s===void 0?void 0:s.ifMatch,sourceIfModifiedSince:(o=r.sourceConditions)===null||o===void 0?void 0:o.ifModifiedSince,sourceIfNoneMatch:(a=r.sourceConditions)===null||a===void 0?void 0:a.ifNoneMatch,sourceIfUnmodifiedSince:(A=r.sourceConditions)===null||A===void 0?void 0:A.ifUnmodifiedSince,sourceIfTags:(c=r.sourceConditions)===null||c===void 0?void 0:c.tagConditions},cpkInfo:r.customerProvidedKey,copySourceAuthorization:qh(r.sourceAuthorization),tier:xA(r.tier),blobTagsString:SA(r.tags),copySourceTags:r.copySourceTags,tracingOptions:n.tracingOptions})))})}async stageBlock(e,r,n,i={}){return Er(i.customerProvidedKey,this.isHttps),F.withSpan("BlockBlobClient-stageBlock",i,async s=>V(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 Er(s.customerProvidedKey,this.isHttps),F.withSpan("BlockBlobClient-stageBlockFromURL",s,async o=>V(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:Vn({offset:n,count:i}),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:qh(s.sourceAuthorization),tracingOptions:o.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},Er(r.customerProvidedKey,this.isHttps),F.withSpan("BlockBlobClient-commitBlockList",r,async n=>{var i,s,o;return V(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:(s=r.immutabilityPolicy)===null||s===void 0?void 0:s.expiriesOn,immutabilityPolicyMode:(o=r.immutabilityPolicy)===null||o===void 0?void 0:o.policyMode,legalHold:r.legalHold,tier:xA(r.tier),blobTagsString:SA(r.tags),tracingOptions:n.tracingOptions}))})}async getBlockList(e,r={}){return F.withSpan("BlockBlobClient-getBlockList",r,async n=>{var i;let s=V(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:n.tracingOptions}));return s.committedBlocks||(s.committedBlocks=[]),s.uncommittedBlocks||(s.uncommittedBlocks=[]),s})}async uploadData(e,r={}){return F.withSpan("BlockBlobClient-uploadData",r,async n=>{if(st.isNode){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,o)=>i.slice(s,s+o),i.byteLength,n)}else{let i=new Blob([e]);return this.uploadSeekableInternal((s,o)=>i.slice(s,s+o),i.size,n)}})}async uploadBrowserData(e,r={}){return F.withSpan("BlockBlobClient-uploadBrowserData",r,async n=>{let i=new Blob([e]);return this.uploadSeekableInternal((s,o)=>i.slice(s,s+o),i.size,n)})}async uploadSeekableInternal(e,r,n={}){var i,s;let o=(i=n.blockSize)!==null&&i!==void 0?i:0;if(o<0||o>SR)throw new RangeError(`blockSize option must be >= 0 and <= ${SR}`);let a=(s=n.maxSingleShotSize)!==null&&s!==void 0?s:wR;if(a<0||a>wR)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${wR}`);if(o===0){if(r>SR*IC)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>a&&(o=Math.ceil(r/IC),o<_R&&(o=_R))}return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),F.withSpan("BlockBlobClient-uploadSeekableInternal",n,async A=>{if(r<=a)return V(await this.upload(e(0,r),r,A));let c=Math.floor((r-1)/o)+1;if(c>IC)throw new RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${IC}`);let l=[],u=st.randomUUID(),d=0,f=new kC(n.concurrency);for(let g=0;g<c;g++)f.addOperation(async()=>{let m=_Y(u,g),E=o*g,I=(g===c-1?r:E+o)-E;l.push(m),await this.stageBlock(m,e(E,I),I,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:A.tracingOptions}),d+=I,n.onProgress&&n.onProgress({loadedBytes:d})});return await f.do(),this.commitBlockList(l,A)})}async uploadFile(e,r={}){return F.withSpan("BlockBlobClient-uploadFile",r,async n=>{let i=(await jbe(e)).size;return this.uploadSeekableInternal((s,o)=>()=>zbe(e,{autoClose:!0,end:o?s+o-1:1/0,start:s}),i,Object.assign(Object.assign({},r),{tracingOptions:n.tracingOptions}))})}async uploadStream(e,r=eIe,n=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),F.withSpan("BlockBlobClient-uploadStream",i,async s=>{let o=0,a=st.randomUUID(),A=0,c=[];return await new nv(e,r,n,async(u,d)=>{let f=_Y(a,o);c.push(f),o++,await this.stageBlock(f,u,d,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions}),A+=d,i.onProgress&&i.onProgress({loadedBytes:A})},Math.ceil(n/4*3)).do(),V(await this.commitBlockList(c,Object.assign(Object.assign({},i),{tracingOptions:s.tracingOptions})))})}},Xh=class t extends Vi{constructor(e,r,n,i){let s,o;if(i=i||{},la(r))o=e,s=r;else if(st.isNode&&r instanceof lt||r instanceof dt||Ei.isTokenCredential(r))o=e,i=n,s=ut(r,i);else if(!r&&typeof r!="string")o=e,s=ut(new dt,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let a=r,A=n,c=Cu(e);if(c.kind==="AccountConnString")if(st.isNode){let l=new lt(c.accountName,c.accountKey);o=Pt(Pt(c.url,encodeURIComponent(a)),encodeURIComponent(A)),i.proxyOptions||(i.proxyOptions=jr.getDefaultProxySettings(c.proxyUri)),s=ut(l,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(c.kind==="SASConnString")o=Pt(Pt(c.url,encodeURIComponent(a)),encodeURIComponent(A))+"?"+c.accountSas,s=ut(new dt,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(o,s),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t(lo(this.url,Ji.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},Er(r.customerProvidedKey,this.isHttps),F.withSpan("PageBlobClient-create",r,async n=>{var i,s,o;return V(await this.pageBlobContext.create(0,e,{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,blobSequenceNumber:r.blobSequenceNumber,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:(s=r.immutabilityPolicy)===null||s===void 0?void 0:s.expiriesOn,immutabilityPolicyMode:(o=r.immutabilityPolicy)===null||o===void 0?void 0:o.policyMode,legalHold:r.legalHold,tier:xA(r.tier),blobTagsString:SA(r.tags),tracingOptions:n.tracingOptions}))})}async createIfNotExists(e,r={}){return F.withSpan("PageBlobClient-createIfNotExists",r,async n=>{var i,s;try{let o={ifNoneMatch:HY},a=V(await this.create(e,Object.assign(Object.assign({},r),{conditions:o,tracingOptions:n.tracingOptions})));return Object.assign(Object.assign({succeeded:!0},a),{_response:a._response})}catch(o){if(((i=o.details)===null||i===void 0?void 0:i.errorCode)==="BlobAlreadyExists")return Object.assign(Object.assign({succeeded:!1},(s=o.response)===null||s===void 0?void 0:s.parsedHeaders),{_response:o.response});throw o}})}async uploadPages(e,r,n,i={}){return i.conditions=i.conditions||{},Er(i.customerProvidedKey,this.isHttps),F.withSpan("PageBlobClient-uploadPages",i,async s=>{var o;return V(await this.pageBlobContext.uploadPages(n,e,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(o=i.conditions)===null||o===void 0?void 0:o.tagConditions}),requestOptions:{onUploadProgress:i.onProgress},range:Vn({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||{},Er(s.customerProvidedKey,this.isHttps),F.withSpan("PageBlobClient-uploadPagesFromURL",s,async o=>{var a,A,c,l,u;return V(await this.pageBlobContext.uploadPagesFromURL(e,Vn({offset:r,count:i}),0,Vn({offset:n,count:i}),{abortSignal:s.abortSignal,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,sequenceNumberAccessConditions:s.conditions,modifiedAccessConditions:Object.assign(Object.assign({},s.conditions),{ifTags:(a=s.conditions)===null||a===void 0?void 0:a.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(A=s.sourceConditions)===null||A===void 0?void 0:A.ifMatch,sourceIfModifiedSince:(c=s.sourceConditions)===null||c===void 0?void 0:c.ifModifiedSince,sourceIfNoneMatch:(l=s.sourceConditions)===null||l===void 0?void 0:l.ifNoneMatch,sourceIfUnmodifiedSince:(u=s.sourceConditions)===null||u===void 0?void 0:u.ifUnmodifiedSince},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:qh(s.sourceAuthorization),tracingOptions:o.tracingOptions}))})}async clearPages(e=0,r,n={}){return n.conditions=n.conditions||{},F.withSpan("PageBlobClient-clearPages",n,async i=>{var s;return V(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(s=n.conditions)===null||s===void 0?void 0:s.tagConditions}),range:Vn({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||{},F.withSpan("PageBlobClient-getPageRanges",n,async i=>{var s;let o=V(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(s=n.conditions)===null||s===void 0?void 0:s.tagConditions}),range:Vn({offset:e,count:r}),tracingOptions:i.tracingOptions}));return RR(o)})}async listPageRangesSegment(e=0,r,n,i={}){return F.withSpan("PageBlobClient-getPageRangesSegment",i,async s=>{var o;return V(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(o=i.conditions)===null||o===void 0?void 0:o.tagConditions}),range:Vn({offset:e,count:r}),marker:n,maxPageSize:i.maxPageSize,tracingOptions:s.tracingOptions}))})}listPageRangeItemSegments(){return q.__asyncGenerator(this,arguments,function*(r=0,n,i,s={}){let o;if(i||i===void 0)do o=yield q.__await(this.listPageRangesSegment(r,n,i,s)),i=o.continuationToken,yield yield q.__await(yield q.__await(o));while(i)})}listPageRangeItems(){return q.__asyncGenerator(this,arguments,function*(r=0,n,i={}){var s,o,a,A;let c;try{for(var l=!0,u=q.__asyncValues(this.listPageRangeItemSegments(r,n,c,i)),d;d=yield q.__await(u.next()),s=d.done,!s;l=!0){A=d.value,l=!1;let f=A;yield q.__await(yield*q.__asyncDelegator(q.__asyncValues(kY(f))))}}catch(f){o={error:f}}finally{try{!l&&!s&&(a=u.return)&&(yield q.__await(a.call(u)))}finally{if(o)throw o.error}}})}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,Object.assign({maxPageSize:s.maxPageSize},n))}}async getPageRangesDiff(e,r,n,i={}){return i.conditions=i.conditions||{},F.withSpan("PageBlobClient-getPageRangesDiff",i,async s=>{var o;let a=V(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(o=i.conditions)===null||o===void 0?void 0:o.tagConditions}),prevsnapshot:n,range:Vn({offset:e,count:r}),tracingOptions:s.tracingOptions}));return RR(a)})}async listPageRangesDiffSegment(e,r,n,i,s={}){return F.withSpan("PageBlobClient-getPageRangesDiffSegment",s,async o=>{var a;return V(await this.pageBlobContext.getPageRangesDiff({abortSignal:s?.abortSignal,leaseAccessConditions:s?.conditions,modifiedAccessConditions:Object.assign(Object.assign({},s?.conditions),{ifTags:(a=s?.conditions)===null||a===void 0?void 0:a.tagConditions}),prevsnapshot:n,range:Vn({offset:e,count:r}),marker:i,maxPageSize:s?.maxPageSize,tracingOptions:o.tracingOptions}))})}listPageRangeDiffItemSegments(e,r,n,i,s){return q.__asyncGenerator(this,arguments,function*(){let a;if(i||i===void 0)do a=yield q.__await(this.listPageRangesDiffSegment(e,r,n,i,s)),i=a.continuationToken,yield yield q.__await(yield q.__await(a));while(i)})}listPageRangeDiffItems(e,r,n,i){return q.__asyncGenerator(this,arguments,function*(){var o,a,A,c;let l;try{for(var u=!0,d=q.__asyncValues(this.listPageRangeDiffItemSegments(e,r,n,l,i)),f;f=yield q.__await(d.next()),o=f.done,!o;u=!0){c=f.value,u=!1;let g=c;yield q.__await(yield*q.__asyncDelegator(q.__asyncValues(kY(g))))}}catch(g){a={error:g}}finally{try{!u&&!o&&(A=d.return)&&(yield q.__await(A.call(d)))}finally{if(a)throw a.error}}})}listPageRangesDiff(e,r,n,i={}){i.conditions=i.conditions||{};let s=this.listPageRangeDiffItems(e,r,n,Object.assign({},i));return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(o={})=>this.listPageRangeDiffItemSegments(e,r,n,o.continuationToken,Object.assign({maxPageSize:o.maxPageSize},i))}}async getPageRangesDiffForManagedDisks(e,r,n,i={}){return i.conditions=i.conditions||{},F.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async s=>{var o;let a=V(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(o=i.conditions)===null||o===void 0?void 0:o.tagConditions}),prevSnapshotUrl:n,range:Vn({offset:e,count:r}),tracingOptions:s.tracingOptions}));return RR(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},F.withSpan("PageBlobClient-resize",r,async n=>{var i;return V(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions}))})}async updateSequenceNumber(e,r,n={}){return n.conditions=n.conditions||{},F.withSpan("PageBlobClient-updateSequenceNumber",n,async i=>{var s;return V(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:r,leaseAccessConditions:n.conditions,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(s=n.conditions)===null||s===void 0?void 0:s.tagConditions}),tracingOptions:i.tracingOptions}))})}async startCopyIncremental(e,r={}){return F.withSpan("PageBlobClient-startCopyIncremental",r,async n=>{var i;return V(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:n.tracingOptions}))})}};async function Gbe(t){let e=Buffer.alloc(sIe),r=await qbe(t.readableStreamBody,e);return e=e.slice(0,r),e.toString()}function Ybe(t){return Buffer.byteLength(t)}var bC=": ",MY=" ",FY=-1,iv=class{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}${co}`,this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==nIe.HTTP_ACCEPTED)throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`);let r=(await Gbe(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,o=0;for(let a=0;a<n;a++){let A=r[a],c={};c.headers=OC.toHttpHeadersLike(jr.createHttpHeaders());let l=A.split(`${co}`),u=!1,d=!1,f=!1,g=FY;for(let m of l){if(!u){if(m.startsWith(Ie.CONTENT_ID)&&(g=parseInt(m.split(bC)[1])),m.startsWith(jY)){u=!0;let E=m.split(MY);c.status=parseInt(E[1]),c.statusMessage=E.slice(2).join(MY)}continue}if(m.trim()===""){d||(d=!0);continue}if(d)c.bodyAsText||(c.bodyAsText=""),c.bodyAsText+=m;else{if(m.indexOf(bC)===-1)throw new Error(`Invalid state: find non-empty line '${m}' without HTTP header delimiter '${bC}'.`);let E=m.split(bC);c.headers.set(E[0],E[1]),E[0]===Ie.X_MS_ERROR_CODE&&(c.errorCode=E[1],f=!0)}}g!==FY&&Number.isInteger(g)&&g>=0&&g<this.subRequests.size&&i[g]===void 0?(c._request=this.subRequests.get(g),i[g]=c):nr.error(`subResponses[${a}] is dropped as the Content-ID is not found or invalid, Content-ID: ${g}`),f?o++:s++}return{subResponses:i,subResponsesSucceededCount:s,subResponsesFailedCount:o}}},du;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(du||(du={}));var mu=class{static async lock(e){return new Promise(r=>{this.keys[e]===void 0||this.keys[e]===du.UNLOCKED?(this.keys[e]=du.LOCKED,r()):this.onUnlockEvent(e,()=>{this.keys[e]=du.LOCKED,r()})})}static async unlock(e){return new Promise(r=>{this.keys[e]===du.LOCKED&&this.emitUnlockEvent(e),delete this.keys[e],r()})}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)})}}};mu.keys={};mu.listeners={};var hu=class{constructor(){this.batch="batch",this.batchRequest=new sv}getMultiPartContentType(){return this.batchRequest.getMultipartContentType()}getHttpRequestBody(){return this.batchRequest.getHttpRequestBody()}getSubRequests(){return this.batchRequest.getSubRequests()}async addSubRequestInternal(e,r){await mu.lock(this.batch);try{this.batchRequest.preAddSubRequest(e),await r(),this.batchRequest.postAddSubRequest(e)}finally{await mu.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"&&(st.isNode&&r instanceof lt||r instanceof dt||Ei.isTokenCredential(r)))i=e,s=r;else if(e instanceof Vi)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={}),F.withSpan("BatchDeleteRequest-addSubRequest",n,async o=>{this.setBatchType("delete"),await this.addSubRequestInternal({url:i,credential:s},async()=>{await new Vi(i,this.batchRequest.createPipeline(s)).delete(o)})})}async setBlobAccessTier(e,r,n,i){let s,o,a;if(typeof e=="string"&&(st.isNode&&r instanceof lt||r instanceof dt||Ei.isTokenCredential(r)))s=e,o=r,a=n;else if(e instanceof Vi)s=e.url,o=e.credential,a=r,i=n;else throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.");return i||(i={}),F.withSpan("BatchSetTierRequest-addSubRequest",i,async A=>{this.setBatchType("setAccessTier"),await this.addSubRequestInternal({url:s,credential:o},async()=>{await new Vi(s,this.batchRequest.createPipeline(o)).setAccessTier(a,A)})})}},sv=class{constructor(){this.operationCount=0,this.body="";let e=st.randomUUID();this.boundary=`batch_${e}`,this.subRequestPrefix=`--${this.boundary}${co}${Ie.CONTENT_TYPE}: application/http${co}${Ie.CONTENT_TRANSFER_ENCODING}: binary`,this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`,this.batchRequestEnding=`--${this.boundary}--`,this.subRequests=new Map}createPipeline(e){let r=jr.createEmptyPipeline();r.addPolicy(Fh.serializationPolicy({stringifyXML:vR.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"}),r.addPolicy(Vbe()),r.addPolicy(Jbe(this),{afterPhase:"Sign"}),Ei.isTokenCredential(e)?r.addPolicy(jr.bearerTokenAuthenticationPolicy({credential:e,scopes:uv,challengeCallbacks:{authorizeRequestOnChallenge:Fh.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):e instanceof lt&&r.addPolicy($Y({accountName:e.accountName,accountKey:e.accountKey}),{phase:"Sign"});let n=new Gh([]);return n._credential=e,n._corePipeline=r,n}appendSubRequestToBody(e){this.body+=[this.subRequestPrefix,`${Ie.CONTENT_ID}: ${this.operationCount}`,"",`${e.method.toString()} ${pIe(e.url)} ${jY}${co}`].join(co);for(let[r,n]of e.headers)this.body+=`${r}: ${n}${co}`;this.body+=co}preAddSubRequest(e){if(this.operationCount>=RY)throw new RangeError(`Cannot exceed ${RY} sub requests in a single batch`);let r=FC(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}${co}`}getMultipartContentType(){return this.multipartContentType}getSubRequests(){return this.subRequests}};function Jbe(t){return{name:"batchRequestAssemblePolicy",async sendRequest(e){return t.appendSubRequestToBody(e),{request:e,status:200,headers:jr.createHttpHeaders()}}}}function Vbe(){return{name:"batchHeaderFilterPolicy",async sendRequest(t,e){let r="";for(let[n]of t.headers)JY(n,Ie.X_MS_VERSION)&&(r=n);return r!==""&&t.headers.delete(r),e(t)}}}var Zh=class{constructor(e,r,n){let i;la(r)?i=r:r?i=ut(r,n):i=ut(new dt,n);let s=new DC(e,KY(i)),o=FC(e);o&&o!=="/"?this.serviceOrContainerContext=s.container:this.serviceOrContainerContext=s.service}createBatch(){return new hu}async deleteBlobs(e,r,n){let i=new hu;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 hu;for(let o of e)typeof o=="string"?await s.setBlobAccessTier(o,r,n,i):await s.setBlobAccessTier(o,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 F.withSpan("BlobBatchClient-submitBatch",r,async n=>{let i=e.getHttpRequestBody(),s=V(await this.serviceOrContainerContext.submitBatch(Ybe(i),e.getMultiPartContentType(),i,Object.assign({},n))),a=await new iv(s,e.getSubRequests()).parseBatchResponse();return{_response:s._response,contentType:s.contentType,errorCode:s.errorCode,requestId:s.requestId,clientRequestId:s.clientRequestId,version:s.version,subResponses:a.subResponses,subResponsesSucceededCount:a.subResponsesSucceededCount,subResponsesFailedCount:a.subResponsesFailedCount}})}},PC=class extends Yh{get containerName(){return this._containerName}constructor(e,r,n){let i,s;if(n=n||{},la(r))s=e,i=r;else if(st.isNode&&r instanceof lt||r instanceof dt||Ei.isTokenCredential(r))s=e,i=ut(r,n);else if(!r&&typeof r!="string")s=e,i=ut(new dt,n);else if(r&&typeof r=="string"){let o=r,a=Cu(e);if(a.kind==="AccountConnString")if(st.isNode){let A=new lt(a.accountName,a.accountKey);s=Pt(a.url,encodeURIComponent(o)),n.proxyOptions||(n.proxyOptions=jr.getDefaultProxySettings(a.proxyUri)),i=ut(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(a.kind==="SASConnString")s=Pt(a.url,encodeURIComponent(o))+"?"+a.accountSas,i=ut(new dt,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 F.withSpan("ContainerClient-create",e,async r=>V(await this.containerContext.create(r)))}async createIfNotExists(e={}){return F.withSpan("ContainerClient-createIfNotExists",e,async r=>{var n,i;try{let s=await this.create(r);return Object.assign(Object.assign({succeeded:!0},s),{_response:s._response})}catch(s){if(((n=s.details)===null||n===void 0?void 0:n.errorCode)==="ContainerAlreadyExists")return Object.assign(Object.assign({succeeded:!1},(i=s.response)===null||i===void 0?void 0:i.parsedHeaders),{_response:s.response});throw s}})}async exists(e={}){return F.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 Vi(Pt(this.url,BC(e)),this.pipeline)}getAppendBlobClient(e){return new $h(Pt(this.url,BC(e)),this.pipeline)}getBlockBlobClient(e){return new Kh(Pt(this.url,BC(e)),this.pipeline)}getPageBlobClient(e){return new Xh(Pt(this.url,BC(e)),this.pipeline)}async getProperties(e={}){return e.conditions||(e.conditions={}),F.withSpan("ContainerClient-getProperties",e,async r=>V(await this.containerContext.getProperties(Object.assign(Object.assign({abortSignal:e.abortSignal},e.conditions),{tracingOptions:r.tracingOptions}))))}async delete(e={}){return e.conditions||(e.conditions={}),F.withSpan("ContainerClient-delete",e,async r=>V(await this.containerContext.delete({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions})))}async deleteIfExists(e={}){return F.withSpan("ContainerClient-deleteIfExists",e,async r=>{var n,i;try{let s=await this.delete(r);return Object.assign(Object.assign({succeeded:!0},s),{_response:s._response})}catch(s){if(((n=s.details)===null||n===void 0?void 0:n.errorCode)==="ContainerNotFound")return Object.assign(Object.assign({succeeded:!1},(i=s.response)===null||i===void 0?void 0:i.parsedHeaders),{_response:s.response});throw s}})}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 F.withSpan("ContainerClient-setMetadata",r,async n=>V(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={}),F.withSpan("ContainerClient-getAccessPolicy",e,async r=>{let n=V(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 o;s.accessPolicy&&(o={permissions:s.accessPolicy.permissions},s.accessPolicy.expiresOn&&(o.expiresOn=new Date(s.accessPolicy.expiresOn)),s.accessPolicy.startsOn&&(o.startsOn=new Date(s.accessPolicy.startsOn))),i.signedIdentifiers.push({accessPolicy:o,id:s.id})}return i})}async setAccessPolicy(e,r,n={}){return n.conditions=n.conditions||{},F.withSpan("ContainerClient-setAccessPolicy",n,async i=>{let s=[];for(let o of r||[])s.push({accessPolicy:{expiresOn:o.accessPolicy.expiresOn?Xe(o.accessPolicy.expiresOn):"",permissions:o.accessPolicy.permissions,startsOn:o.accessPolicy.startsOn?Xe(o.accessPolicy.startsOn):""},id:o.id});return V(await this.containerContext.setAccessPolicy({abortSignal:n.abortSignal,access:e,containerAcl:s,leaseAccessConditions:n.conditions,modifiedAccessConditions:n.conditions,tracingOptions:i.tracingOptions}))})}getBlobLeaseClient(e){return new Wh(this,e)}async uploadBlockBlob(e,r,n,i={}){return F.withSpan("ContainerClient-uploadBlockBlob",i,async s=>{let o=this.getBlockBlobClient(e),a=await o.upload(r,n,s);return{blockBlobClient:o,response:a}})}async deleteBlob(e,r={}){return F.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 F.withSpan("ContainerClient-listBlobFlatSegment",r,async n=>{let i=V(await this.containerContext.listBlobFlatSegment(Object.assign(Object.assign({marker:e},r),{tracingOptions:n.tracingOptions})));return Object.assign(Object.assign({},i),{_response:Object.assign(Object.assign({},i._response),{parsedBody:IIe(i._response.parsedBody)}),segment:Object.assign(Object.assign({},i.segment),{blobItems:i.segment.blobItems.map(o=>Object.assign(Object.assign({},o),{name:fu(o.name),tags:Oh(o.blobTags),objectReplicationSourceProperties:NC(o.objectReplicationMetadata)}))})})})}async listBlobHierarchySegment(e,r,n={}){return F.withSpan("ContainerClient-listBlobHierarchySegment",n,async i=>{var s;let o=V(await this.containerContext.listBlobHierarchySegment(e,Object.assign(Object.assign({marker:r},n),{tracingOptions:i.tracingOptions})));return Object.assign(Object.assign({},o),{_response:Object.assign(Object.assign({},o._response),{parsedBody:BIe(o._response.parsedBody)}),segment:Object.assign(Object.assign({},o.segment),{blobItems:o.segment.blobItems.map(A=>Object.assign(Object.assign({},A),{name:fu(A.name),tags:Oh(A.blobTags),objectReplicationSourceProperties:NC(A.objectReplicationMetadata)})),blobPrefixes:(s=o.segment.blobPrefixes)===null||s===void 0?void 0:s.map(A=>Object.assign(Object.assign({},A),{name:fu(A.name)}))})})})}listSegments(e){return q.__asyncGenerator(this,arguments,function*(n,i={}){let s;if(n||n===void 0)do s=yield q.__await(this.listBlobFlatSegment(n,i)),n=s.continuationToken,yield yield q.__await(yield q.__await(s));while(n)})}listItems(){return q.__asyncGenerator(this,arguments,function*(r={}){var n,i,s,o;let a;try{for(var A=!0,c=q.__asyncValues(this.listSegments(a,r)),l;l=yield q.__await(c.next()),n=l.done,!n;A=!0){o=l.value,A=!1;let u=o;yield q.__await(yield*q.__asyncDelegator(q.__asyncValues(u.segment.blobItems)))}}catch(u){i={error:u}}finally{try{!A&&!n&&(s=c.return)&&(yield q.__await(s.call(c)))}finally{if(i)throw i.error}}})}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=Object.assign(Object.assign({},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,Object.assign({maxPageSize:s.maxPageSize},n))}}listHierarchySegments(e,r){return q.__asyncGenerator(this,arguments,function*(i,s,o={}){let a;if(s||s===void 0)do a=yield q.__await(this.listBlobHierarchySegment(i,s,o)),s=a.continuationToken,yield yield q.__await(yield q.__await(a));while(s)})}listItemsByHierarchy(e){return q.__asyncGenerator(this,arguments,function*(n,i={}){var s,o,a,A;let c;try{for(var l=!0,u=q.__asyncValues(this.listHierarchySegments(n,c,i)),d;d=yield q.__await(u.next()),s=d.done,!s;l=!0){A=d.value,l=!1;let g=A.segment;if(g.blobPrefixes)for(let m of g.blobPrefixes)yield yield q.__await(Object.assign({kind:"prefix"},m));for(let m of g.blobItems)yield yield q.__await(Object.assign({kind:"blob"},m))}}catch(f){o={error:f}}finally{try{!l&&!s&&(a=u.return)&&(yield q.__await(a.call(u)))}finally{if(o)throw o.error}}})}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=Object.assign(Object.assign({},r),n.length>0?{include:n}:{}),s=this.listItemsByHierarchy(e,i);return{async next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(o={})=>this.listHierarchySegments(e,o.continuationToken,Object.assign({maxPageSize:o.maxPageSize},i))}}async findBlobsByTagsSegment(e,r,n={}){return F.withSpan("ContainerClient-findBlobsByTagsSegment",n,async i=>{let s=V(await this.containerContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));return Object.assign(Object.assign({},s),{_response:s._response,blobs:s.blobs.map(a=>{var A;let c="";return((A=a.tags)===null||A===void 0?void 0:A.blobTagSet.length)===1&&(c=a.tags.blobTagSet[0].value),Object.assign(Object.assign({},a),{tags:Oh(a.tags),tagValue:c})})})})}findBlobsByTagsSegments(e,r){return q.__asyncGenerator(this,arguments,function*(i,s,o={}){let a;if(s||s===void 0)do a=yield q.__await(this.findBlobsByTagsSegment(i,s,o)),a.blobs=a.blobs||[],s=a.continuationToken,yield yield q.__await(a);while(s)})}findBlobsByTagsItems(e){return q.__asyncGenerator(this,arguments,function*(n,i={}){var s,o,a,A;let c;try{for(var l=!0,u=q.__asyncValues(this.findBlobsByTagsSegments(n,c,i)),d;d=yield q.__await(u.next()),s=d.done,!s;l=!0){A=d.value,l=!1;let f=A;yield q.__await(yield*q.__asyncDelegator(q.__asyncValues(f.blobs)))}}catch(f){o={error:f}}finally{try{!l&&!s&&(a=u.return)&&(yield q.__await(a.call(u)))}finally{if(o)throw o.error}}})}findBlobsByTags(e,r={}){let n=Object.assign({},r),i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.findBlobsByTagsSegments(e,s.continuationToken,Object.assign({maxPageSize:s.maxPageSize},n))}}async getAccountInfo(e={}){return F.withSpan("ContainerClient-getAccountInfo",e,async r=>V(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]:dv(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 lt))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=Jh(Object.assign({containerName:this._containerName},e),this.credential).toString();r(Uh(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof lt))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return Vh(Object.assign({containerName:this._containerName},e),this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=Jh(Object.assign({containerName:this._containerName},e),r,this.accountName).toString();n(Uh(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return Vh(Object.assign({containerName:this._containerName},e),r,this.accountName).stringToSign}getBlobBatchClient(){return new Zh(this.url,this.pipeline)}},pu=class t{constructor(){this.read=!1,this.write=!1,this.delete=!1,this.deleteVersion=!1,this.list=!1,this.add=!1,this.create=!1,this.update=!1,this.process=!1,this.tag=!1,this.filter=!1,this.setImmutabilityPolicy=!1,this.permanentDelete=!1}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}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("")}},TC=class t{constructor(){this.service=!1,this.container=!1,this.object=!1}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}toString(){let e=[];return this.service&&e.push("s"),this.container&&e.push("c"),this.object&&e.push("o"),e.join("")}},yu=class t{constructor(){this.blob=!1,this.file=!1,this.queue=!1,this.table=!1}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}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("")}};function p3(t,e){return y3(t,e).sasQueryParameters}function y3(t,e){let r=t.version?t.version:lv;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=pu.parse(t.permissions.toString()),i=yu.parse(t.services).toString(),s=TC.parse(t.resourceTypes).toString(),o;r>="2020-12-06"?o=[e.accountName,n,i,s,t.startsOn?Xe(t.startsOn,!1):"",Xe(t.expiresOn,!1),t.ipRange?ho(t.ipRange):"",t.protocol?t.protocol:"",r,t.encryptionScope?t.encryptionScope:"",""].join(`
|
||
`):o=[e.accountName,n,i,s,t.startsOn?Xe(t.startsOn,!1):"",Xe(t.expiresOn,!1),t.ipRange?ho(t.ipRange):"",t.protocol?t.protocol:"",r,""].join(`
|
||
`);let a=e.computeHMACSHA256(o);return{sasQueryParameters:new Ss(r,a,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:o}}var ov=class t extends Yh{static fromConnectionString(e,r){r=r||{};let n=Cu(e);if(n.kind==="AccountConnString")if(st.isNode){let i=new lt(n.accountName,n.accountKey);r.proxyOptions||(r.proxyOptions=jr.getDefaultProxySettings(n.proxyUri));let s=ut(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=ut(new dt,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;la(r)?i=r:st.isNode&&r instanceof lt||r instanceof dt||Ei.isTokenCredential(r)?i=ut(r,n):i=ut(new dt,n),super(e,i),this.serviceContext=this.storageClientContext.service}getContainerClient(e){return new PC(Pt(this.url,encodeURIComponent(e)),this.pipeline)}async createContainer(e,r={}){return F.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 F.withSpan("BlobServiceClient-deleteContainer",r,async n=>this.getContainerClient(e).delete(n))}async undeleteContainer(e,r,n={}){return F.withSpan("BlobServiceClient-undeleteContainer",n,async i=>{let s=this.getContainerClient(n.destinationContainerName||e),o=s.storageClientContext.container,a=V(await o.restore({deletedContainerName:e,deletedContainerVersion:r,tracingOptions:i.tracingOptions}));return{containerClient:s,containerUndeleteResponse:a}})}async renameContainer(e,r,n={}){return F.withSpan("BlobServiceClient-renameContainer",n,async i=>{var s;let o=this.getContainerClient(r),a=o.storageClientContext.container,A=V(await a.rename(e,Object.assign(Object.assign({},i),{sourceLeaseId:(s=n.sourceCondition)===null||s===void 0?void 0:s.leaseId})));return{containerClient:o,containerRenameResponse:A}})}async getProperties(e={}){return F.withSpan("BlobServiceClient-getProperties",e,async r=>V(await this.serviceContext.getProperties({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setProperties(e,r={}){return F.withSpan("BlobServiceClient-setProperties",r,async n=>V(await this.serviceContext.setProperties(e,{abortSignal:r.abortSignal,tracingOptions:n.tracingOptions})))}async getStatistics(e={}){return F.withSpan("BlobServiceClient-getStatistics",e,async r=>V(await this.serviceContext.getStatistics({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async getAccountInfo(e={}){return F.withSpan("BlobServiceClient-getAccountInfo",e,async r=>V(await this.serviceContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async listContainersSegment(e,r={}){return F.withSpan("BlobServiceClient-listContainersSegment",r,async n=>V(await this.serviceContext.listContainersSegment(Object.assign(Object.assign({abortSignal:r.abortSignal,marker:e},r),{include:typeof r.include=="string"?[r.include]:r.include,tracingOptions:n.tracingOptions}))))}async findBlobsByTagsSegment(e,r,n={}){return F.withSpan("BlobServiceClient-findBlobsByTagsSegment",n,async i=>{let s=V(await this.serviceContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));return Object.assign(Object.assign({},s),{_response:s._response,blobs:s.blobs.map(a=>{var A;let c="";return((A=a.tags)===null||A===void 0?void 0:A.blobTagSet.length)===1&&(c=a.tags.blobTagSet[0].value),Object.assign(Object.assign({},a),{tags:Oh(a.tags),tagValue:c})})})})}findBlobsByTagsSegments(e,r){return q.__asyncGenerator(this,arguments,function*(i,s,o={}){let a;if(s||s===void 0)do a=yield q.__await(this.findBlobsByTagsSegment(i,s,o)),a.blobs=a.blobs||[],s=a.continuationToken,yield yield q.__await(a);while(s)})}findBlobsByTagsItems(e){return q.__asyncGenerator(this,arguments,function*(n,i={}){var s,o,a,A;let c;try{for(var l=!0,u=q.__asyncValues(this.findBlobsByTagsSegments(n,c,i)),d;d=yield q.__await(u.next()),s=d.done,!s;l=!0){A=d.value,l=!1;let f=A;yield q.__await(yield*q.__asyncDelegator(q.__asyncValues(f.blobs)))}}catch(f){o={error:f}}finally{try{!l&&!s&&(a=u.return)&&(yield q.__await(a.call(u)))}finally{if(o)throw o.error}}})}findBlobsByTags(e,r={}){let n=Object.assign({},r),i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.findBlobsByTagsSegments(e,s.continuationToken,Object.assign({maxPageSize:s.maxPageSize},n))}}listSegments(e){return q.__asyncGenerator(this,arguments,function*(n,i={}){let s;if(n||n===void 0)do s=yield q.__await(this.listContainersSegment(n,i)),s.containerItems=s.containerItems||[],n=s.continuationToken,yield yield q.__await(yield q.__await(s));while(n)})}listItems(){return q.__asyncGenerator(this,arguments,function*(r={}){var n,i,s,o;let a;try{for(var A=!0,c=q.__asyncValues(this.listSegments(a,r)),l;l=yield q.__await(c.next()),n=l.done,!n;A=!0){o=l.value,A=!1;let u=o;yield q.__await(yield*q.__asyncDelegator(q.__asyncValues(u.containerItems)))}}catch(u){i={error:u}}finally{try{!A&&!n&&(s=c.return)&&(yield q.__await(s.call(c)))}finally{if(i)throw i.error}}})}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=Object.assign(Object.assign({},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,Object.assign({maxPageSize:s.maxPageSize},n))}}async getUserDelegationKey(e,r,n={}){return F.withSpan("BlobServiceClient-getUserDelegationKey",n,async i=>{let s=V(await this.serviceContext.getUserDelegationKey({startsOn:Xe(e,!1),expiresOn:Xe(r,!1)},{abortSignal:n.abortSignal,tracingOptions:i.tracingOptions})),o={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 Object.assign({_response:s._response,requestId:s.requestId,clientRequestId:s.clientRequestId,version:s.version,date:s.date,errorCode:s.errorCode},o)})}getBlobBatchClient(){return new Zh(this.url,this.pipeline)}generateAccountSasUrl(e,r=pu.parse("r"),n="sco",i={}){if(!(this.credential instanceof lt))throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential");if(e===void 0){let o=new Date;e=new Date(o.getTime()+3600*1e3)}let s=p3(Object.assign({permissions:r,expiresOn:e,resourceTypes:n,services:yu.parse("b").toString()},i),this.credential).toString();return Uh(this.url,s)}generateSasStringToSign(e,r=pu.parse("r"),n="sco",i={}){if(!(this.credential instanceof lt))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 y3(Object.assign({permissions:r,expiresOn:e,resourceTypes:n,services:yu.parse("b").toString()},i),this.credential).stringToSign}};se.KnownEncryptionAlgorithmType=void 0;(function(t){t.AES256="AES256"})(se.KnownEncryptionAlgorithmType||(se.KnownEncryptionAlgorithmType={}));Object.defineProperty(se,"RestError",{enumerable:!0,get:function(){return jr.RestError}});se.AccountSASPermissions=pu;se.AccountSASResourceTypes=TC;se.AccountSASServices=yu;se.AnonymousCredential=dt;se.AnonymousCredentialPolicy=RC;se.AppendBlobClient=$h;se.BaseRequestPolicy=gu;se.BlobBatch=hu;se.BlobBatchClient=Zh;se.BlobClient=Vi;se.BlobLeaseClient=Wh;se.BlobSASPermissions=uo;se.BlobServiceClient=ov;se.BlockBlobClient=Kh;se.ContainerClient=PC;se.ContainerSASPermissions=fo;se.Credential=jh;se.CredentialPolicy=Hh;se.PageBlobClient=Xh;se.Pipeline=Gh;se.SASQueryParameters=Ss;se.StorageBrowserPolicy=vC;se.StorageBrowserPolicyFactory=_C;se.StorageOAuthScopes=uv;se.StorageRetryPolicy=wC;se.StorageRetryPolicyFactory=SC;se.StorageSharedKeyCredential=lt;se.StorageSharedKeyCredentialPolicy=xC;se.generateAccountSASQueryParameters=p3;se.generateBlobSASQueryParameters=Jh;se.getBlobServiceAccountAudience=Obe;se.isPipelineLike=la;se.logger=nr;se.newPipeline=ut});var Dv=h(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.UsageError=Qn.NetworkError=Qn.GHESNotSupportedError=Qn.CacheNotFoundError=Qn.InvalidResponseError=Qn.FilesNotFoundError=void 0;var xv=class extends Error{constructor(e=[]){let r="No files were found to upload";e.length>0&&(r+=`: ${e.join(", ")}`),super(r),this.files=e,this.name="FilesNotFoundError"}};Qn.FilesNotFoundError=xv;var Rv=class extends Error{constructor(e){super(e),this.name="InvalidResponseError"}};Qn.InvalidResponseError=Rv;var vv=class extends Error{constructor(e="Cache not found"){super(e),this.name="CacheNotFoundError"}};Qn.CacheNotFoundError=vv;var _v=class extends Error{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"}};Qn.GHESNotSupportedError=_v;var YC=class extends Error{constructor(e){let r=`Unable to make request: ${e}
|
||
If you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(r),this.code=e,this.name="NetworkError"}};Qn.NetworkError=YC;YC.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var JC=class extends Error{constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries. Usage is recalculated every 6-12 hours.
|
||
More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};Qn.UsageError=JC;JC.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1});var E3=h(bn=>{"use strict";var Wbe=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]})),$be=bn&&bn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Kbe=bn&&bn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Wbe(e,t,r);return $be(e,t),e},Xbe=bn&&bn.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(bn,"__esModule",{value:!0});bn.uploadCacheArchiveSDK=bn.UploadProgress=void 0;var kv=Kbe(at()),Zbe=Sv(),e0e=Dv(),VC=class{constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,r=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,i=(e/(1024*1024)/(n/1e3)).toFixed(1);kv.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=()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))};this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};bn.UploadProgress=VC;function t0e(t,e,r){var n;return Xbe(this,void 0,void 0,function*(){let i=new Zbe.BlobClient(t),s=i.getBlockBlobClient(),o=new VC((n=r?.archiveSizeBytes)!==null&&n!==void 0?n:0),a={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:o.onProgress()};try{o.startDisplayTimer(),kv.debug(`BlobClient: ${i.name}:${i.accountName}:${i.containerName}`);let A=yield s.uploadFile(e,a);if(A._response.status>=400)throw new e0e.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${A._response.status}`);return A}catch(A){throw kv.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${A.message}`),A}finally{o.stopDisplayTimer()}})}bn.uploadCacheArchiveSDK=t0e});var Tv=h(qt=>{"use strict";var r0e=qt&&qt.__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]})),n0e=qt&&qt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),i0e=qt&&qt.__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)&&r0e(e,t,r);return n0e(e,t),e},$C=qt&&qt.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(qt,"__esModule",{value:!0});qt.retryHttpClientResponse=qt.retryTypedResponse=qt.retry=qt.isRetryableStatusCode=qt.isServerErrorStatusCode=qt.isSuccessStatusCode=void 0;var C3=i0e(at()),WC=AA(),Uu=Vf();function s0e(t){return t?t>=200&&t<300:!1}qt.isSuccessStatusCode=s0e;function I3(t){return t?t>=500:!0}qt.isServerErrorStatusCode=I3;function B3(t){return t?[WC.HttpCodes.BadGateway,WC.HttpCodes.ServiceUnavailable,WC.HttpCodes.GatewayTimeout].includes(t):!1}qt.isRetryableStatusCode=B3;function o0e(t){return $C(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}function Pv(t,e,r,n=Uu.DefaultRetryAttempts,i=Uu.DefaultRetryDelay,s=void 0){return $C(this,void 0,void 0,function*(){let o="",a=1;for(;a<=n;){let A,c,l=!1;try{A=yield e()}catch(u){s&&(A=s(u)),l=!0,o=u.message}if(A&&(c=r(A),!I3(c)))return A;if(c&&(l=B3(c),o=`Cache service responded with ${c}`),C3.debug(`${t} - Attempt ${a} of ${n} failed with error: ${o}`),!l){C3.debug(`${t} - Error is not retryable`);break}yield o0e(i),a++}throw Error(`${t} failed: ${o}`)})}qt.retry=Pv;function a0e(t,e,r=Uu.DefaultRetryAttempts,n=Uu.DefaultRetryDelay){return $C(this,void 0,void 0,function*(){return yield Pv(t,e,i=>i.statusCode,r,n,i=>{if(i instanceof WC.HttpClientError)return{statusCode:i.statusCode,result:null,headers:{},error:i}})})}qt.retryTypedResponse=a0e;function A0e(t,e,r=Uu.DefaultRetryAttempts,n=Uu.DefaultRetryDelay){return $C(this,void 0,void 0,function*(){return yield Pv(t,e,i=>i.message.statusCode,r,n)})}qt.retryHttpClientResponse=A0e});var b3=h(ig=>{"use strict";Object.defineProperty(ig,"__esModule",{value:!0});var qu=new WeakMap,KC=new WeakMap,ng=class t{constructor(){this.onabort=null,qu.set(this,[]),KC.set(this,!1)}get aborted(){if(!KC.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return KC.get(this)}static get none(){return new t}addEventListener(e,r){if(!qu.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");qu.get(this).push(r)}removeEventListener(e,r){if(!qu.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=qu.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 Q3(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=qu.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),KC.set(t,!0)}var Ov=class extends Error{constructor(e){super(e),this.name="AbortError"}},Lv=class{constructor(e){if(this._signal=new ng,!!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(){Q3(this._signal)}static timeout(e){let r=new ng,n=setTimeout(Q3,e,r);return typeof n.unref=="function"&&n.unref(),r}};ig.AbortController=Lv;ig.AbortError=Ov;ig.AbortSignal=ng});var R3=h(br=>{"use strict";var c0e=br&&br.__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]})),l0e=br&&br.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Hu=br&&br.__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)&&c0e(e,t,r);return l0e(e,t),e},Ii=br&&br.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(br,"__esModule",{value:!0});br.downloadCacheStorageSDK=br.downloadCacheHttpClientConcurrent=br.downloadCacheHttpClient=br.DownloadProgress=void 0;var og=Hu(at()),w3=AA(),u0e=Sv(),d0e=Hu(require("buffer")),sg=Hu(require("fs")),f0e=Hu(require("stream")),h0e=Hu(require("util")),g0e=Hu(gl()),N3=Vf(),Mv=Tv(),m0e=b3();function p0e(t,e){return Ii(this,void 0,void 0,function*(){yield h0e.promisify(f0e.pipeline)(t.message,e)})}var ag=class{constructor(e){this.contentLength=e,this.segmentIndex=0,this.segmentSize=0,this.segmentOffset=0,this.receivedBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}nextSegment(e){this.segmentOffset=this.segmentOffset+this.segmentSize,this.segmentIndex=this.segmentIndex+1,this.segmentSize=e,this.receivedBytes=0,og.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);og.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=()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))};this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};br.DownloadProgress=ag;function S3(t,e){return Ii(this,void 0,void 0,function*(){let r=sg.createWriteStream(e),n=new w3.HttpClient("actions/cache"),i=yield(0,Mv.retryHttpClientResponse)("downloadCache",()=>Ii(this,void 0,void 0,function*(){return n.get(t)}));i.message.socket.setTimeout(N3.SocketTimeout,()=>{i.message.destroy(),og.debug(`Aborting download, socket timed out after ${N3.SocketTimeout} ms`)}),yield p0e(i,r);let s=i.message.headers["content-length"];if(s){let o=parseInt(s),a=g0e.getArchiveFileSizeInBytes(e);if(a!==o)throw new Error(`Incomplete download. Expected file size: ${o}, actual file size: ${a}`)}else og.debug("Unable to validate download, no Content-Length header")})}br.downloadCacheHttpClient=S3;function y0e(t,e,r){var n;return Ii(this,void 0,void 0,function*(){let i=yield sg.promises.open(e,"w"),s=new w3.HttpClient("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let a=(yield(0,Mv.retryHttpClientResponse)("downloadCacheMetadata",()=>Ii(this,void 0,void 0,function*(){return yield s.request("HEAD",t,null,{})}))).message.headers["content-length"];if(a==null)throw new Error("Content-Length not found on blob response");let A=parseInt(a);if(Number.isNaN(A))throw new Error(`Could not interpret Content-Length: ${A}`);let c=[],l=4*1024*1024;for(let I=0;I<A;I+=l){let N=Math.min(l,A-I);c.push({offset:I,promiseGetter:()=>Ii(this,void 0,void 0,function*(){return yield E0e(s,t,I,N)})})}c.reverse();let u=0,d=0,f=new ag(A);f.startDisplayTimer();let g=f.onProgress(),m=[],E,C=()=>Ii(this,void 0,void 0,function*(){let I=yield Promise.race(Object.values(m));yield i.write(I.buffer,0,I.count,I.offset),u--,delete m[I.offset],d+=I.count,g({loadedBytes:d})});for(;E=c.pop();)m[E.offset]=E.promiseGetter(),u++,u>=((n=r.downloadConcurrency)!==null&&n!==void 0?n:10)&&(yield C());for(;u>0;)yield C()}finally{s.dispose(),yield i.close()}})}br.downloadCacheHttpClientConcurrent=y0e;function E0e(t,e,r,n){return Ii(this,void 0,void 0,function*(){let s=0;for(;;)try{let a=yield x3(3e4,C0e(t,e,r,n));if(typeof a=="string")throw new Error("downloadSegmentRetry failed due to timeout");return a}catch(o){if(s>=5)throw o;s++}})}function C0e(t,e,r,n){return Ii(this,void 0,void 0,function*(){let i=yield(0,Mv.retryHttpClientResponse)("downloadCachePart",()=>Ii(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()}})}function I0e(t,e,r){var n;return Ii(this,void 0,void 0,function*(){let i=new u0e.BlockBlobClient(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),o=(n=(yield i.getProperties()).contentLength)!==null&&n!==void 0?n:-1;if(o<0)og.debug("Unable to determine content length, downloading file with http-client..."),yield S3(t,e);else{let a=Math.min(134217728,d0e.constants.MAX_LENGTH),A=new ag(o),c=sg.openSync(e,"w");try{A.startDisplayTimer();let l=new m0e.AbortController,u=l.signal;for(;!A.isDone();){let d=A.segmentOffset+A.segmentSize,f=Math.min(a,o-d);A.nextSegment(f);let g=yield x3(r.segmentTimeoutInMs||36e5,i.downloadToBuffer(d,f,{abortSignal:u,concurrency:r.downloadConcurrency,onProgress:A.onProgress()}));if(g==="timeout")throw l.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(g)&&sg.writeFileSync(c,g)}}finally{A.stopDisplayTimer(),sg.closeSync(c)}}})}br.downloadCacheStorageSDK=I0e;var x3=(t,e)=>Ii(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))})});var v3=h(Bi=>{"use strict";var B0e=Bi&&Bi.__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]})),Q0e=Bi&&Bi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),b0e=Bi&&Bi.__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)&&B0e(e,t,r);return Q0e(e,t),e};Object.defineProperty(Bi,"__esModule",{value:!0});Bi.getDownloadOptions=Bi.getUploadOptions=void 0;var po=b0e(at());function N0e(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),po.debug(`Use Azure SDK: ${e.useAzureSdk}`),po.debug(`Upload concurrency: ${e.uploadConcurrency}`),po.debug(`Upload chunk size: ${e.uploadChunkSize}`),e}Bi.getUploadOptions=N0e;function w0e(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),po.debug(`Use Azure SDK: ${e.useAzureSdk}`),po.debug(`Download concurrency: ${e.downloadConcurrency}`),po.debug(`Request timeout (ms): ${e.timeoutInMs}`),po.debug(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),po.debug(`Segment download timeout (ms): ${e.segmentTimeoutInMs}`),po.debug(`Lookup only: ${e.lookupOnly}`),e}Bi.getDownloadOptions=w0e});var XC=h(ga=>{"use strict";Object.defineProperty(ga,"__esModule",{value:!0});ga.getCacheServiceURL=ga.getCacheServiceVersion=ga.isGhes=void 0;function _3(){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}ga.isGhes=_3;function D3(){return _3()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}ga.getCacheServiceVersion=D3;function S0e(){let t=D3();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}`)}}ga.getCacheServiceURL=S0e});var k3=h((W1e,x0e)=>{x0e.exports={name:"@actions/cache",version:"4.1.0",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":"^1.11.1","@actions/exec":"^1.0.1","@actions/glob":"^0.1.0","@protobuf-ts/runtime-rpc":"^2.11.1","@actions/http-client":"^2.1.1","@actions/io":"^1.0.1","@azure/abort-controller":"^1.1.0","@azure/ms-rest-js":"^2.6.0","@azure/storage-blob":"^12.13.0",semver:"^6.3.1"},devDependencies:{"@types/node":"^22.13.9","@types/semver":"^6.0.0","@protobuf-ts/plugin":"^2.9.4",typescript:"^5.2.2"}}});var Fv=h(ZC=>{"use strict";Object.defineProperty(ZC,"__esModule",{value:!0});ZC.getUserAgentString=void 0;var R0e=k3();function v0e(){return`@actions/cache-${R0e.version}`}ZC.getUserAgentString=v0e});var T3=h(Nr=>{"use strict";var _0e=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]})),D0e=Nr&&Nr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),qv=Nr&&Nr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&_0e(e,t,r);return D0e(e,t),e},Nn=Nr&&Nr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(Nr,"__esModule",{value:!0});Nr.saveCache=Nr.reserveCache=Nr.downloadCache=Nr.getCacheEntry=void 0;var $n=qv(at()),k0e=AA(),P0e=wy(),Uv=qv(require("fs")),T0e=require("url"),ju=qv(gl()),O0e=E3(),eI=R3(),Hv=v3(),ma=Tv(),L0e=XC(),M0e=Fv();function Ag(t){let e=(0,L0e.getCacheServiceURL)();if(!e)throw new Error("Cache Service Url not found, unable to restore cache.");let r=`${e}_apis/artifactcache/${t}`;return $n.debug(`Resource Url: ${r}`),r}function F0e(t,e){return`${t};api-version=${e}`}function U0e(){return{headers:{Accept:F0e("application/json","6.0-preview.1")}}}function jv(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new P0e.BearerCredentialHandler(t);return new k0e.HttpClient((0,M0e.getUserAgentString)(),[e],U0e())}function q0e(t,e,r){return Nn(this,void 0,void 0,function*(){let n=jv(),i=ju.getCacheVersion(e,r?.compressionMethod,r?.enableCrossOsArchive),s=`cache?keys=${encodeURIComponent(t.join(","))}&version=${i}`,o=yield(0,ma.retryTypedResponse)("getCacheEntry",()=>Nn(this,void 0,void 0,function*(){return n.getJson(Ag(s))}));if(o.statusCode===204)return $n.isDebug()&&(yield H0e(t[0],n,i)),null;if(!(0,ma.isSuccessStatusCode)(o.statusCode))throw new Error(`Cache service responded with ${o.statusCode}`);let a=o.result,A=a?.archiveLocation;if(!A)throw new Error("Cache not found.");return $n.setSecret(A),$n.debug("Cache Result:"),$n.debug(JSON.stringify(a)),a})}Nr.getCacheEntry=q0e;function H0e(t,e,r){return Nn(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,i=yield(0,ma.retryTypedResponse)("listCache",()=>Nn(this,void 0,void 0,function*(){return e.getJson(Ag(n))}));if(i.statusCode===200){let s=i.result,o=s?.totalCount;if(o&&o>0){$n.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 a of s?.artifactCaches||[])$n.debug(`Cache Key: ${a?.cacheKey}, Cache Version: ${a?.cacheVersion}, Cache Scope: ${a?.scope}, Cache Created: ${a?.creationTime}`)}}})}function j0e(t,e,r){return Nn(this,void 0,void 0,function*(){let n=new T0e.URL(t),i=(0,Hv.getDownloadOptions)(r);n.hostname.endsWith(".blob.core.windows.net")?i.useAzureSdk?yield(0,eI.downloadCacheStorageSDK)(t,e,i):i.concurrentBlobDownloads?yield(0,eI.downloadCacheHttpClientConcurrent)(t,e,i):yield(0,eI.downloadCacheHttpClient)(t,e):yield(0,eI.downloadCacheHttpClient)(t,e)})}Nr.downloadCache=j0e;function z0e(t,e,r){return Nn(this,void 0,void 0,function*(){let n=jv(),i=ju.getCacheVersion(e,r?.compressionMethod,r?.enableCrossOsArchive),s={key:t,version:i,cacheSize:r?.cacheSize};return yield(0,ma.retryTypedResponse)("reserveCache",()=>Nn(this,void 0,void 0,function*(){return n.postJson(Ag("caches"),s)}))})}Nr.reserveCache=z0e;function P3(t,e){return`bytes ${t}-${e}/*`}function G0e(t,e,r,n,i){return Nn(this,void 0,void 0,function*(){$n.debug(`Uploading chunk of size ${i-n+1} bytes at offset ${n} with content range: ${P3(n,i)}`);let s={"Content-Type":"application/octet-stream","Content-Range":P3(n,i)},o=yield(0,ma.retryHttpClientResponse)(`uploadChunk (start: ${n}, end: ${i})`,()=>Nn(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),s)}));if(!(0,ma.isSuccessStatusCode)(o.message.statusCode))throw new Error(`Cache service responded with ${o.message.statusCode} during upload chunk.`)})}function Y0e(t,e,r,n){return Nn(this,void 0,void 0,function*(){let i=ju.getArchiveFileSizeInBytes(r),s=Ag(`caches/${e.toString()}`),o=Uv.openSync(r,"r"),a=(0,Hv.getUploadOptions)(n),A=ju.assertDefined("uploadConcurrency",a.uploadConcurrency),c=ju.assertDefined("uploadChunkSize",a.uploadChunkSize),l=[...new Array(A).keys()];$n.debug("Awaiting all uploads");let u=0;try{yield Promise.all(l.map(()=>Nn(this,void 0,void 0,function*(){for(;u<i;){let d=Math.min(i-u,c),f=u,g=u+d-1;u+=c,yield G0e(t,s,()=>Uv.createReadStream(r,{fd:o,start:f,end:g,autoClose:!1}).on("error",m=>{throw new Error(`Cache upload failed because file read failed with ${m.message}`)}),f,g)}})))}finally{Uv.closeSync(o)}})}function J0e(t,e,r){return Nn(this,void 0,void 0,function*(){let n={size:r};return yield(0,ma.retryTypedResponse)("commitCache",()=>Nn(this,void 0,void 0,function*(){return t.postJson(Ag(`caches/${e.toString()}`),n)}))})}function V0e(t,e,r,n){return Nn(this,void 0,void 0,function*(){if((0,Hv.getUploadOptions)(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield(0,O0e.uploadCacheArchiveSDK)(r,e,n)}else{let s=jv();$n.debug("Upload cache"),yield Y0e(s,t,e,n),$n.debug("Commiting cache");let o=ju.getArchiveFileSizeInBytes(e);$n.info(`Cache Size: ~${Math.round(o/(1024*1024))} MB (${o} B)`);let a=yield J0e(s,t,o);if(!(0,ma.isSuccessStatusCode)(a.statusCode))throw new Error(`Cache service responded with ${a.statusCode} during commit cache.`);$n.info("Cache saved successfully")}})}Nr.saveCache=V0e});var tI=h(zu=>{"use strict";Object.defineProperty(zu,"__esModule",{value:!0});zu.isJsonObject=zu.typeofJsonValue=void 0;function W0e(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}zu.typeofJsonValue=W0e;function $0e(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}zu.isJsonObject=$0e});var nI=h(Gu=>{"use strict";Object.defineProperty(Gu,"__esModule",{value:!0});Gu.base64encode=Gu.base64decode=void 0;var yo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),rI=[];for(let t=0;t<yo.length;t++)rI[yo[t].charCodeAt(0)]=t;rI[45]=yo.indexOf("+");rI[95]=yo.indexOf("/");function K0e(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,o=0;for(let a=0;a<t.length;a++){if(s=rI[t.charCodeAt(a)],s===void 0)switch(t[a]){case"=":i=0;case`
|
||
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(i){case 0:o=s,i=1;break;case 1:r[n++]=o<<2|(s&48)>>4,o=s,i=2;break;case 2:r[n++]=(o&15)<<4|(s&60)>>2,o=s,i=3;break;case 3:r[n++]=(o&3)<<6|s,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,n)}Gu.base64decode=K0e;function X0e(t){let e="",r=0,n,i=0;for(let s=0;s<t.length;s++)switch(n=t[s],r){case 0:e+=yo[n>>2],i=(n&3)<<4,r=1;break;case 1:e+=yo[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=yo[i|n>>6],e+=yo[n&63],r=0;break}return r&&(e+=yo[i],e+="=",r==1&&(e+="=")),e}Gu.base64encode=X0e});var O3=h(iI=>{"use strict";Object.defineProperty(iI,"__esModule",{value:!0});iI.utf8read=void 0;var zv=t=>String.fromCharCode.apply(String,t);function Z0e(t){if(t.length<1)return"";let e=0,r=[],n=[],i=0,s,o=t.length;for(;e<o;)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(zv(n)),i=0);return r.length?(i&&r.push(zv(n.slice(0,i))),r.join("")):zv(n.slice(0,i))}iI.utf8read=Z0e});var cg=h(Rs=>{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});Rs.WireType=Rs.mergeBinaryOptions=Rs.UnknownFieldHandler=void 0;var eNe;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,i,s,o)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:i,wireType:s,data:o})},t.onWrite=(r,n,i)=>{for(let{no:s,wireType:o,data:a}of t.list(n))i.tag(s,o).raw(a)},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=r=>r&&Array.isArray(r[t.symbol])})(eNe=Rs.UnknownFieldHandler||(Rs.UnknownFieldHandler={}));function tNe(t,e){return Object.assign(Object.assign({},t),e)}Rs.mergeBinaryOptions=tNe;var rNe;(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"})(rNe=Rs.WireType||(Rs.WireType={}))});var oI=h(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.varint32read=wn.varint32write=wn.int64toString=wn.int64fromString=wn.varint64write=wn.varint64read=void 0;function nNe(){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)==0)return this.assertBounds(),[t,e]}let r=this.buf[this.pos++];if(t|=(r&15)<<28,e=(r&112)>>4,(r&128)==0)return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let i=this.buf[this.pos++];if(e|=(i&127)<<n,(i&128)==0)return this.assertBounds(),[t,e]}throw new Error("invalid varint")}wn.varint64read=nNe;function iNe(t,e,r){for(let s=0;s<28;s=s+7){let o=t>>>s,a=!(!(o>>>7)&&e==0),A=(a?o|128:o)&255;if(r.push(A),!a)return}let n=t>>>28&15|(e&7)<<4,i=e>>3!=0;if(r.push((i?n|128:n)&255),!!i){for(let s=3;s<31;s=s+7){let o=e>>>s,a=!!(o>>>7),A=(a?o|128:o)&255;if(r.push(A),!a)return}r.push(e>>>31&1)}}wn.varint64write=iNe;var sI=65536*65536;function sNe(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,i=0;function s(o,a){let A=Number(t.slice(o,a));i*=r,n=n*r+A,n>=sI&&(i=i+(n/sI|0),n=n%sI)}return s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}wn.int64fromString=sNe;function oNe(t,e){if(e>>>0<=2097151)return""+(sI*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,s=r+n*6777216+i*6710656,o=n+i*8147497,a=i*2,A=1e7;s>=A&&(o+=Math.floor(s/A),s%=A),o>=A&&(a+=Math.floor(o/A),o%=A);function c(l,u){let d=l?String(l):"";return u?"0000000".slice(d.length)+d:d}return c(a,0)+c(o,a)+c(s,1)}wn.int64toString=oNe;function aNe(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)}}wn.varint32write=aNe;function ANe(){let t=this.buf[this.pos++],e=t&127;if((t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,(t&128)==0)return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;(t&128)!==0&&r<10;r++)t=this.buf[this.pos++];if((t&128)!=0)throw new Error("invalid varint");return this.assertBounds(),e>>>0}wn.varint32read=ANe});var ya=h(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});pa.PbLong=pa.PbULong=pa.detectBi=void 0;var lg=oI(),ft;function L3(){let t=new DataView(new ArrayBuffer(8));ft=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}pa.detectBi=L3;L3();function M3(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}var F3=/^-?[0-9]+$/,AI=4294967296,aI=2147483648,cI=class{constructor(e,r){this.lo=e|0,this.hi=r|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*AI+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},ug=class t extends cI{static from(e){if(ft)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ft.C(e);case"number":if(e===0)return this.ZERO;e=ft.C(e);case"bigint":if(!e)return this.ZERO;if(e<ft.UMIN)throw new Error("signed value for ulong");if(e>ft.UMAX)throw new Error("ulong too large");return ft.V.setBigUint64(0,e,!0),new t(ft.V.getInt32(0,!0),ft.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!F3.test(e))throw new Error("string is no integer");let[r,n,i]=lg.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/AI)}throw new Error("unknown value "+typeof e)}toString(){return ft?this.toBigInt().toString():lg.int64toString(this.lo,this.hi)}toBigInt(){return M3(ft),ft.V.setInt32(0,this.lo,!0),ft.V.setInt32(4,this.hi,!0),ft.V.getBigUint64(0,!0)}};pa.PbULong=ug;ug.ZERO=new ug(0,0);var dg=class t extends cI{static from(e){if(ft)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ft.C(e);case"number":if(e===0)return this.ZERO;e=ft.C(e);case"bigint":if(!e)return this.ZERO;if(e<ft.MIN)throw new Error("signed long too small");if(e>ft.MAX)throw new Error("signed long too large");return ft.V.setBigInt64(0,e,!0),new t(ft.V.getInt32(0,!0),ft.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!F3.test(e))throw new Error("string is no integer");let[r,n,i]=lg.int64fromString(e);if(r){if(i>aI||i==aI&&n!=0)throw new Error("signed long too small")}else if(i>=aI)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/AI):new t(-e,-e/AI).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&aI)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(ft)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+lg.int64toString(e.lo,e.hi)}return lg.int64toString(this.lo,this.hi)}toBigInt(){return M3(ft),ft.V.setInt32(0,this.lo,!0),ft.V.setInt32(4,this.hi,!0),ft.V.getBigInt64(0,!0)}};pa.PbLong=dg;dg.ZERO=new dg(0,0)});var Gv=h(Ju=>{"use strict";Object.defineProperty(Ju,"__esModule",{value:!0});Ju.BinaryReader=Ju.binaryReadOptions=void 0;var Yu=cg(),fg=ya(),U3=oI(),q3={readUnknownField:!0,readerFactory:t=>new lI(t)};function cNe(t){return t?Object.assign(Object.assign({},q3),t):q3}Ju.binaryReadOptions=cNe;var lI=class{constructor(e,r){this.varint64=U3.varint64read,this.uint32=U3.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 Yu.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Yu.WireType.Bit64:this.pos+=4;case Yu.WireType.Bit32:this.pos+=4;break;case Yu.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case Yu.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==Yu.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 fg.PbLong(...this.varint64())}uint64(){return new fg.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 fg.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 fg.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new fg.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())}};Ju.BinaryReader=lI});var Vu=h(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.assertFloat32=Qi.assertUInt32=Qi.assertInt32=Qi.assertNever=Qi.assert=void 0;function lNe(t,e){if(!t)throw new Error(e)}Qi.assert=lNe;function uNe(t,e){throw new Error(e??"Unexpected object: "+t)}Qi.assertNever=uNe;var dNe=34028234663852886e22,fNe=-34028234663852886e22,hNe=4294967295,gNe=2147483647,mNe=-2147483648;function pNe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>gNe||t<mNe)throw new Error("invalid int 32: "+t)}Qi.assertInt32=pNe;function yNe(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>hNe||t<0)throw new Error("invalid uint 32: "+t)}Qi.assertUInt32=yNe;function ENe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>dNe||t<fNe))throw new Error("invalid float 32: "+t)}Qi.assertFloat32=ENe});var Yv=h($u=>{"use strict";Object.defineProperty($u,"__esModule",{value:!0});$u.BinaryWriter=$u.binaryWriteOptions=void 0;var hg=ya(),gg=oI(),Wu=Vu(),H3={writeUnknownFields:!0,writerFactory:()=>new uI};function CNe(t){return t?Object.assign(Object.assign({},H3),t):H3}$u.binaryWriteOptions=CNe;var uI=class{constructor(e){this.stack=[],this.textEncoder=e??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let 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(Wu.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Wu.assertInt32(e),gg.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){Wu.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){Wu.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Wu.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Wu.assertInt32(e),e=(e<<1^e>>31)>>>0,gg.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=hg.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=hg.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=hg.PbLong.from(e);return gg.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=hg.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return gg.varint64write(i,s,this.buf),this}uint64(e){let r=hg.PbULong.from(e);return gg.varint64write(r.lo,r.hi,this.buf),this}};$u.BinaryWriter=uI});var Jv=h(Ea=>{"use strict";Object.defineProperty(Ea,"__esModule",{value:!0});Ea.mergeJsonOptions=Ea.jsonWriteOptions=Ea.jsonReadOptions=void 0;var j3={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},z3={ignoreUnknownFields:!1};function INe(t){return t?Object.assign(Object.assign({},z3),t):z3}Ea.jsonReadOptions=INe;function BNe(t){return t?Object.assign(Object.assign({},j3),t):j3}Ea.jsonWriteOptions=BNe;function QNe(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}Ea.mergeJsonOptions=QNe});var mg=h(dI=>{"use strict";Object.defineProperty(dI,"__esModule",{value:!0});dI.MESSAGE_TYPE=void 0;dI.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var Vv=h(fI=>{"use strict";Object.defineProperty(fI,"__esModule",{value:!0});fI.lowerCamelCase=void 0;function bNe(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("")}fI.lowerCamelCase=bNe});var $i=h(Ar=>{"use strict";Object.defineProperty(Ar,"__esModule",{value:!0});Ar.readMessageOption=Ar.readFieldOption=Ar.readFieldOptions=Ar.normalizeFieldInfo=Ar.RepeatType=Ar.LongType=Ar.ScalarType=void 0;var G3=Vv(),NNe;(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"})(NNe=Ar.ScalarType||(Ar.ScalarType={}));var wNe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(wNe=Ar.LongType||(Ar.LongType={}));var Y3;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(Y3=Ar.RepeatType||(Ar.RepeatType={}));function SNe(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:G3.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:G3.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:Y3.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}Ar.normalizeFieldInfo=SNe;function xNe(t,e,r,n){var i;let s=(i=t.fields.find((o,a)=>o.localName==e||a==e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}Ar.readFieldOptions=xNe;function RNe(t,e,r,n){var i;let s=(i=t.fields.find((a,A)=>a.localName==e||A==e))===null||i===void 0?void 0:i.options;if(!s)return;let o=s[r];return o===void 0?o:n?n.fromJson(o):o}Ar.readFieldOption=RNe;function vNe(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}Ar.readMessageOption=vNe});var Wv=h(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.getSelectedOneofValue=Sn.clearOneofValue=Sn.setUnknownOneofValue=Sn.setOneofValue=Sn.getOneofValue=Sn.isOneofGroup=void 0;function _Ne(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}}Sn.isOneofGroup=_Ne;function DNe(t,e){return t[e]}Sn.getOneofValue=DNe;function kNe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}Sn.setOneofValue=kNe;function PNe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}Sn.setUnknownOneofValue=PNe;function TNe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}Sn.clearOneofValue=TNe;function ONe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}Sn.getSelectedOneofValue=ONe});var Kv=h(hI=>{"use strict";Object.defineProperty(hI,"__esModule",{value:!0});hI.ReflectionTypeCheck=void 0;var Ht=$i(),LNe=Wv(),$v=class{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(o=>!i.includes(o))||!n&&i.some(o=>!s.known.includes(o)))return!1;if(r<1)return!0;for(let o of s.oneofs){let a=e[o];if(!LNe.isOneofGroup(a))return!1;if(a.oneofKind===void 0)continue;let A=this.fields.find(c=>c.localName===a.oneofKind);if(!A||!this.field(a[a.oneofKind],A,n,r))return!1}for(let o of this.fields)if(o.oneof===void 0&&!this.field(e[o.localName],o,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,Ht.ScalarType.INT32,i):this.scalar(e,Ht.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),Ht.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 Ht.ScalarType.UINT64:case Ht.ScalarType.FIXED64:case Ht.ScalarType.INT64:case Ht.ScalarType.SFIXED64:case Ht.ScalarType.SINT64:switch(n){case Ht.LongType.BIGINT:return i=="bigint";case Ht.LongType.NUMBER:return i=="number"&&!isNaN(e);default:return i=="string"}case Ht.ScalarType.BOOL:return i=="boolean";case Ht.ScalarType.STRING:return i=="string";case Ht.ScalarType.BYTES:return e instanceof Uint8Array;case Ht.ScalarType.DOUBLE:case Ht.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 Ht.ScalarType.INT32:case Ht.ScalarType.FIXED32:case Ht.ScalarType.SFIXED32:case Ht.ScalarType.SINT32:case Ht.ScalarType.UINT32:return this.scalars(i.slice(0,n).map(s=>parseInt(s)),r,n);case Ht.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,Ht.LongType.STRING)}}};hI.ReflectionTypeCheck=$v});var mI=h(gI=>{"use strict";Object.defineProperty(gI,"__esModule",{value:!0});gI.reflectionLongConvert=void 0;var J3=$i();function MNe(t,e){switch(e){case J3.LongType.BIGINT:return t.toBigInt();case J3.LongType.NUMBER:return t.toNumber();default:return t.toString()}}gI.reflectionLongConvert=MNe});var Zv=h(EI=>{"use strict";Object.defineProperty(EI,"__esModule",{value:!0});EI.ReflectionJsonReader=void 0;var V3=tI(),FNe=nI(),cr=$i(),pI=ya(),PA=Vu(),yI=mI(),Xv=class{constructor(e){this.info=e}prepare(){var e;if(this.fMap===void 0){this.fMap={};let r=(e=this.info.fields)!==null&&e!==void 0?e:[];for(let 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=V3.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,o]of Object.entries(e)){let a=this.fMap[s];if(!a){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${s}`);continue}let A=a.localName,c;if(a.oneof){if(o===null&&(a.kind!=="enum"||a.T()[0]!=="google.protobuf.NullValue"))continue;if(i.includes(a.oneof))throw new Error(`Multiple members of the oneof group "${a.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(a.oneof),c=r[a.oneof]={oneofKind:A}}else c=r;if(a.kind=="map"){if(o===null)continue;this.assert(V3.isJsonObject(o),a.name,o);let l=c[A];for(let[u,d]of Object.entries(o)){this.assert(d!==null,a.name+" map value",null);let f;switch(a.V.kind){case"message":f=a.V.T().internalJsonRead(d,n);break;case"enum":if(f=this.enum(a.V.T(),d,a.name,n.ignoreUnknownFields),f===!1)continue;break;case"scalar":f=this.scalar(d,a.V.T,a.V.L,a.name);break}this.assert(f!==void 0,a.name+" map value",d);let g=u;a.K==cr.ScalarType.BOOL&&(g=g=="true"?!0:g=="false"?!1:g),g=this.scalar(g,a.K,cr.LongType.STRING,a.name).toString(),l[g]=f}}else if(a.repeat){if(o===null)continue;this.assert(Array.isArray(o),a.name,o);let l=c[A];for(let u of o){this.assert(u!==null,a.name,null);let d;switch(a.kind){case"message":d=a.T().internalJsonRead(u,n);break;case"enum":if(d=this.enum(a.T(),u,a.name,n.ignoreUnknownFields),d===!1)continue;break;case"scalar":d=this.scalar(u,a.T,a.L,a.name);break}this.assert(d!==void 0,a.name,o),l.push(d)}}else switch(a.kind){case"message":if(o===null&&a.T().typeName!="google.protobuf.Value"){this.assert(a.oneof===void 0,a.name+" (oneof member)",null);continue}c[A]=a.T().internalJsonRead(o,n,c[A]);break;case"enum":if(o===null)continue;let l=this.enum(a.T(),o,a.name,n.ignoreUnknownFields);if(l===!1)continue;c[A]=l;break;case"scalar":if(o===null)continue;c[A]=this.scalar(o,a.T,a.L,a.name);break}}}enum(e,r,n,i){if(e[0]=="google.protobuf.NullValue"&&PA.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 PA.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 o=e[1][s];return typeof o>"u"&&i?!1:(PA.assert(typeof o=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),o)}PA.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 cr.ScalarType.DOUBLE:case cr.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 o=Number(e);if(Number.isNaN(o)){s="not a number";break}if(!Number.isFinite(o)){s="too large or small";break}return r==cr.ScalarType.FLOAT&&PA.assertFloat32(o),o;case cr.ScalarType.INT32:case cr.ScalarType.FIXED32:case cr.ScalarType.SFIXED32:case cr.ScalarType.SINT32:case cr.ScalarType.UINT32:if(e===null)return 0;let a;if(typeof e=="number"?a=e:e===""?s="empty string":typeof e=="string"&&(e.trim().length!==e.length?s="extra whitespace":a=Number(e)),a===void 0)break;return r==cr.ScalarType.UINT32?PA.assertUInt32(a):PA.assertInt32(a),a;case cr.ScalarType.INT64:case cr.ScalarType.SFIXED64:case cr.ScalarType.SINT64:if(e===null)return yI.reflectionLongConvert(pI.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return yI.reflectionLongConvert(pI.PbLong.from(e),n);case cr.ScalarType.FIXED64:case cr.ScalarType.UINT64:if(e===null)return yI.reflectionLongConvert(pI.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return yI.reflectionLongConvert(pI.PbULong.from(e),n);case cr.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case cr.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){s="extra whitespace";break}try{encodeURIComponent(e)}catch(A){A="invalid UTF8";break}return e;case cr.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return FNe.base64decode(e)}}catch(o){s=o.message}this.assert(!1,i+(s?" - "+s:""),e)}};EI.ReflectionJsonReader=Xv});var t_=h(CI=>{"use strict";Object.defineProperty(CI,"__esModule",{value:!0});CI.ReflectionJsonWriter=void 0;var UNe=nI(),W3=ya(),rn=$i(),Rt=Vu(),e_=class{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 c=this.field(s,i[s.localName],r);c!==void 0&&(n[r.useProtoFieldName?s.name:s.jsonName]=c);continue}let o=i[s.oneof];if(o.oneofKind!==s.localName)continue;let a=s.kind=="scalar"||s.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,A=this.field(s,o[s.localName],a);Rt.assert(A!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=A}return n}field(e,r,n){let i;if(e.kind=="map"){Rt.assert(typeof r=="object"&&r!==null);let s={};switch(e.V.kind){case"scalar":for(let[A,c]of Object.entries(r)){let l=this.scalar(e.V.T,c,e.name,!1,!0);Rt.assert(l!==void 0),s[A.toString()]=l}break;case"message":let o=e.V.T();for(let[A,c]of Object.entries(r)){let l=this.message(o,c,e.name,n);Rt.assert(l!==void 0),s[A.toString()]=l}break;case"enum":let a=e.V.T();for(let[A,c]of Object.entries(r)){Rt.assert(c===void 0||typeof c=="number");let l=this.enum(a,c,e.name,!1,!0,n.enumAsInteger);Rt.assert(l!==void 0),s[A.toString()]=l}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){Rt.assert(Array.isArray(r));let s=[];switch(e.kind){case"scalar":for(let A=0;A<r.length;A++){let c=this.scalar(e.T,r[A],e.name,e.opt,!0);Rt.assert(c!==void 0),s.push(c)}break;case"enum":let o=e.T();for(let A=0;A<r.length;A++){Rt.assert(r[A]===void 0||typeof r[A]=="number");let c=this.enum(o,r[A],e.name,e.opt,!0,n.enumAsInteger);Rt.assert(c!==void 0),s.push(c)}break;case"message":let a=e.T();for(let A=0;A<r.length;A++){let c=this.message(a,r[A],e.name,n);Rt.assert(c!==void 0),s.push(c)}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,o){if(e[0]=="google.protobuf.NullValue")return!s&&!i?void 0:null;if(r===void 0){Rt.assert(i);return}if(!(r===0&&!s&&!i))return Rt.assert(typeof r=="number"),Rt.assert(Number.isInteger(r)),o||!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){Rt.assert(i);return}let o=s||i;switch(e){case rn.ScalarType.INT32:case rn.ScalarType.SFIXED32:case rn.ScalarType.SINT32:return r===0?o?0:void 0:(Rt.assertInt32(r),r);case rn.ScalarType.FIXED32:case rn.ScalarType.UINT32:return r===0?o?0:void 0:(Rt.assertUInt32(r),r);case rn.ScalarType.FLOAT:Rt.assertFloat32(r);case rn.ScalarType.DOUBLE:return r===0?o?0:void 0:(Rt.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case rn.ScalarType.STRING:return r===""?o?"":void 0:(Rt.assert(typeof r=="string"),r);case rn.ScalarType.BOOL:return r===!1?o?!1:void 0:(Rt.assert(typeof r=="boolean"),r);case rn.ScalarType.UINT64:case rn.ScalarType.FIXED64:Rt.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let a=W3.PbULong.from(r);return a.isZero()&&!o?void 0:a.toString();case rn.ScalarType.INT64:case rn.ScalarType.SFIXED64:case rn.ScalarType.SINT64:Rt.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let A=W3.PbLong.from(r);return A.isZero()&&!o?void 0:A.toString();case rn.ScalarType.BYTES:return Rt.assert(r instanceof Uint8Array),r.byteLength?UNe.base64encode(r):o?"":void 0}}};CI.ReflectionJsonWriter=e_});var BI=h(II=>{"use strict";Object.defineProperty(II,"__esModule",{value:!0});II.reflectionScalarDefault=void 0;var Ki=$i(),$3=mI(),K3=ya();function qNe(t,e=Ki.LongType.STRING){switch(t){case Ki.ScalarType.BOOL:return!1;case Ki.ScalarType.UINT64:case Ki.ScalarType.FIXED64:return $3.reflectionLongConvert(K3.PbULong.ZERO,e);case Ki.ScalarType.INT64:case Ki.ScalarType.SFIXED64:case Ki.ScalarType.SINT64:return $3.reflectionLongConvert(K3.PbLong.ZERO,e);case Ki.ScalarType.DOUBLE:case Ki.ScalarType.FLOAT:return 0;case Ki.ScalarType.BYTES:return new Uint8Array(0);case Ki.ScalarType.STRING:return"";default:return 0}}II.reflectionScalarDefault=qNe});var n_=h(QI=>{"use strict";Object.defineProperty(QI,"__esModule",{value:!0});QI.ReflectionBinaryReader=void 0;var X3=cg(),Kt=$i(),pg=mI(),Z3=BI(),r_=class{constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){let r=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(r.map(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[o,a]=e.tag(),A=this.fieldNoToField.get(o);if(!A){let d=n.readUnknownField;if(d=="throw")throw new Error(`Unknown field ${o} (wire type ${a}) for ${this.info.typeName}`);let f=e.skip(a);d!==!1&&(d===!0?X3.UnknownFieldHandler.onRead:d)(this.info.typeName,r,o,a,f);continue}let c=r,l=A.repeat,u=A.localName;switch(A.oneof&&(c=c[A.oneof],c.oneofKind!==u&&(c=r[A.oneof]={oneofKind:u})),A.kind){case"scalar":case"enum":let d=A.kind=="enum"?Kt.ScalarType.INT32:A.T,f=A.kind=="scalar"?A.L:void 0;if(l){let E=c[u];if(a==X3.WireType.LengthDelimited&&d!=Kt.ScalarType.STRING&&d!=Kt.ScalarType.BYTES){let C=e.uint32()+e.pos;for(;e.pos<C;)E.push(this.scalar(e,d,f))}else E.push(this.scalar(e,d,f))}else c[u]=this.scalar(e,d,f);break;case"message":if(l){let E=c[u],C=A.T().internalBinaryRead(e,e.uint32(),n);E.push(C)}else c[u]=A.T().internalBinaryRead(e,e.uint32(),n,c[u]);break;case"map":let[g,m]=this.mapEntry(A,e,n);c[u][g]=m;break}}}mapEntry(e,r,n){let i=r.uint32(),s=r.pos+i,o,a;for(;r.pos<s;){let[A,c]=r.tag();switch(A){case 1:e.K==Kt.ScalarType.BOOL?o=r.bool().toString():o=this.scalar(r,e.K,Kt.LongType.STRING);break;case 2:switch(e.V.kind){case"scalar":a=this.scalar(r,e.V.T,e.V.L);break;case"enum":a=r.int32();break;case"message":a=e.V.T().internalBinaryRead(r,r.uint32(),n);break}break;default:throw new Error(`Unknown field ${A} (wire type ${c}) in map entry for ${this.info.typeName}#${e.name}`)}}if(o===void 0){let A=Z3.reflectionScalarDefault(e.K);o=e.K==Kt.ScalarType.BOOL?A.toString():A}if(a===void 0)switch(e.V.kind){case"scalar":a=Z3.reflectionScalarDefault(e.V.T,e.V.L);break;case"enum":a=0;break;case"message":a=e.V.T().create();break}return[o,a]}scalar(e,r,n){switch(r){case Kt.ScalarType.INT32:return e.int32();case Kt.ScalarType.STRING:return e.string();case Kt.ScalarType.BOOL:return e.bool();case Kt.ScalarType.DOUBLE:return e.double();case Kt.ScalarType.FLOAT:return e.float();case Kt.ScalarType.INT64:return pg.reflectionLongConvert(e.int64(),n);case Kt.ScalarType.UINT64:return pg.reflectionLongConvert(e.uint64(),n);case Kt.ScalarType.FIXED64:return pg.reflectionLongConvert(e.fixed64(),n);case Kt.ScalarType.FIXED32:return e.fixed32();case Kt.ScalarType.BYTES:return e.bytes();case Kt.ScalarType.UINT32:return e.uint32();case Kt.ScalarType.SFIXED32:return e.sfixed32();case Kt.ScalarType.SFIXED64:return pg.reflectionLongConvert(e.sfixed64(),n);case Kt.ScalarType.SINT32:return e.sint32();case Kt.ScalarType.SINT64:return pg.reflectionLongConvert(e.sint64(),n)}}};QI.ReflectionBinaryReader=r_});var s_=h(bI=>{"use strict";Object.defineProperty(bI,"__esModule",{value:!0});bI.ReflectionBinaryWriter=void 0;var Kn=cg(),Et=$i(),Ku=Vu(),yg=ya(),i_=class{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 o,a,A=s.repeat,c=s.localName;if(s.oneof){let l=e[s.oneof];if(l.oneofKind!==c)continue;o=l[c],a=!0}else o=e[c],a=!1;switch(s.kind){case"scalar":case"enum":let l=s.kind=="enum"?Et.ScalarType.INT32:s.T;if(A)if(Ku.assert(Array.isArray(o)),A==Et.RepeatType.PACKED)this.packed(r,l,s.no,o);else for(let u of o)this.scalar(r,l,s.no,u,!0);else o===void 0?Ku.assert(s.opt):this.scalar(r,l,s.no,o,a||s.opt);break;case"message":if(A){Ku.assert(Array.isArray(o));for(let u of o)this.message(r,n,s.T(),s.no,u)}else this.message(r,n,s.T(),s.no,o);break;case"map":Ku.assert(typeof o=="object"&&o!==null);for(let[u,d]of Object.entries(o))this.mapEntry(r,n,s,u,d);break}}let i=n.writeUnknownFields;i!==!1&&(i===!0?Kn.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,Kn.WireType.LengthDelimited),e.fork();let o=i;switch(n.K){case Et.ScalarType.INT32:case Et.ScalarType.FIXED32:case Et.ScalarType.UINT32:case Et.ScalarType.SFIXED32:case Et.ScalarType.SINT32:o=Number.parseInt(i);break;case Et.ScalarType.BOOL:Ku.assert(i=="true"||i=="false"),o=i=="true";break}switch(this.scalar(e,n.K,1,o,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,s,!0);break;case"enum":this.scalar(e,Et.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,Kn.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,i,s){let[o,a,A]=this.scalarInfo(r,i);(!A||s)&&(e.tag(n,o),e[a](i))}packed(e,r,n,i){if(!i.length)return;Ku.assert(r!==Et.ScalarType.BYTES&&r!==Et.ScalarType.STRING),e.tag(n,Kn.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(r);for(let o=0;o<i.length;o++)e[s](i[o]);e.join()}scalarInfo(e,r){let n=Kn.WireType.Varint,i,s=r===void 0,o=r===0;switch(e){case Et.ScalarType.INT32:i="int32";break;case Et.ScalarType.STRING:o=s||!r.length,n=Kn.WireType.LengthDelimited,i="string";break;case Et.ScalarType.BOOL:o=r===!1,i="bool";break;case Et.ScalarType.UINT32:i="uint32";break;case Et.ScalarType.DOUBLE:n=Kn.WireType.Bit64,i="double";break;case Et.ScalarType.FLOAT:n=Kn.WireType.Bit32,i="float";break;case Et.ScalarType.INT64:o=s||yg.PbLong.from(r).isZero(),i="int64";break;case Et.ScalarType.UINT64:o=s||yg.PbULong.from(r).isZero(),i="uint64";break;case Et.ScalarType.FIXED64:o=s||yg.PbULong.from(r).isZero(),n=Kn.WireType.Bit64,i="fixed64";break;case Et.ScalarType.BYTES:o=s||!r.byteLength,n=Kn.WireType.LengthDelimited,i="bytes";break;case Et.ScalarType.FIXED32:n=Kn.WireType.Bit32,i="fixed32";break;case Et.ScalarType.SFIXED32:n=Kn.WireType.Bit32,i="sfixed32";break;case Et.ScalarType.SFIXED64:o=s||yg.PbLong.from(r).isZero(),n=Kn.WireType.Bit64,i="sfixed64";break;case Et.ScalarType.SINT32:i="sint32";break;case Et.ScalarType.SINT64:o=s||yg.PbLong.from(r).isZero(),i="sint64";break}return[n,i,s||o]}};bI.ReflectionBinaryWriter=i_});var o_=h(NI=>{"use strict";Object.defineProperty(NI,"__esModule",{value:!0});NI.reflectionCreate=void 0;var HNe=BI(),jNe=mg();function zNe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},jNe.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]=HNe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}NI.reflectionCreate=zNe});var a_=h(wI=>{"use strict";Object.defineProperty(wI,"__esModule",{value:!0});wI.reflectionMergePartial=void 0;function GNe(t,e,r){let n,i=r,s;for(let o of t.fields){let a=o.localName;if(o.oneof){let A=i[o.oneof];if(A?.oneofKind==null)continue;if(n=A[a],s=e[o.oneof],s.oneofKind=A.oneofKind,n==null){delete s[a];continue}}else if(n=i[a],s=e,n==null)continue;switch(o.repeat&&(s[a].length=n.length),o.kind){case"scalar":case"enum":if(o.repeat)for(let c=0;c<n.length;c++)s[a][c]=n[c];else s[a]=n;break;case"message":let A=o.T();if(o.repeat)for(let c=0;c<n.length;c++)s[a][c]=A.create(n[c]);else s[a]===void 0?s[a]=A.create(n):A.mergePartial(s[a],n);break;case"map":switch(o.V.kind){case"scalar":case"enum":Object.assign(s[a],n);break;case"message":let c=o.V.T();for(let l of Object.keys(n))s[a][l]=c.create(n[l]);break}break}}}wI.reflectionMergePartial=GNe});var c_=h(xI=>{"use strict";Object.defineProperty(xI,"__esModule",{value:!0});xI.reflectionEquals=void 0;var A_=$i();function YNe(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],o=n.oneof?r[n.oneof][i]:r[i];switch(n.kind){case"enum":case"scalar":let a=n.kind=="enum"?A_.ScalarType.INT32:n.T;if(!(n.repeat?e4(a,s,o):r4(a,s,o)))return!1;break;case"map":if(!(n.V.kind=="message"?t4(n.V.T(),SI(s),SI(o)):e4(n.V.kind=="enum"?A_.ScalarType.INT32:n.V.T,SI(s),SI(o))))return!1;break;case"message":let A=n.T();if(!(n.repeat?t4(A,s,o):A.equals(s,o)))return!1;break}}return!0}xI.reflectionEquals=YNe;var SI=Object.values;function r4(t,e,r){if(e===r)return!0;if(t!==A_.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}function e4(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!r4(t,e[n],r[n]))return!1;return!0}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}});var s4=h(RI=>{"use strict";Object.defineProperty(RI,"__esModule",{value:!0});RI.MessageType=void 0;var JNe=mg(),VNe=$i(),WNe=Kv(),$Ne=Zv(),KNe=t_(),XNe=n_(),ZNe=s_(),ewe=o_(),l_=a_(),twe=tI(),n4=Jv(),rwe=c_(),nwe=Yv(),iwe=Gv(),i4=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),swe=i4[JNe.MESSAGE_TYPE]={},u_=class{constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(VNe.normalizeFieldInfo),this.options=n??{},swe.value=this,this.messagePrototype=Object.create(null,i4),this.refTypeCheck=new WNe.ReflectionTypeCheck(this),this.refJsonReader=new $Ne.ReflectionJsonReader(this),this.refJsonWriter=new KNe.ReflectionJsonWriter(this),this.refBinReader=new XNe.ReflectionBinaryReader(this),this.refBinWriter=new ZNe.ReflectionBinaryWriter(this)}create(e){let r=ewe.reflectionCreate(this);return e!==void 0&&l_.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return l_.reflectionMergePartial(this,r,e),r}equals(e,r){return rwe.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){l_.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=iwe.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,n4.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,n4.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=nwe.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 ${twe.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}};RI.MessageType=u_});var o4=h(vI=>{"use strict";Object.defineProperty(vI,"__esModule",{value:!0});vI.containsMessageType=void 0;var owe=mg();function awe(t){return t[owe.MESSAGE_TYPE]!=null}vI.containsMessageType=awe});var A4=h(vs=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});vs.listEnumNumbers=vs.listEnumNames=vs.listEnumValues=vs.isEnumObject=void 0;function a4(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}vs.isEnumObject=a4;function d_(t){if(!a4(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}vs.listEnumValues=d_;function Awe(t){return d_(t).map(e=>e.name)}vs.listEnumNames=Awe;function cwe(t){return d_(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}vs.listEnumNumbers=cwe});var Xu=h(ce=>{"use strict";Object.defineProperty(ce,"__esModule",{value:!0});var c4=tI();Object.defineProperty(ce,"typeofJsonValue",{enumerable:!0,get:function(){return c4.typeofJsonValue}});Object.defineProperty(ce,"isJsonObject",{enumerable:!0,get:function(){return c4.isJsonObject}});var l4=nI();Object.defineProperty(ce,"base64decode",{enumerable:!0,get:function(){return l4.base64decode}});Object.defineProperty(ce,"base64encode",{enumerable:!0,get:function(){return l4.base64encode}});var lwe=O3();Object.defineProperty(ce,"utf8read",{enumerable:!0,get:function(){return lwe.utf8read}});var f_=cg();Object.defineProperty(ce,"WireType",{enumerable:!0,get:function(){return f_.WireType}});Object.defineProperty(ce,"mergeBinaryOptions",{enumerable:!0,get:function(){return f_.mergeBinaryOptions}});Object.defineProperty(ce,"UnknownFieldHandler",{enumerable:!0,get:function(){return f_.UnknownFieldHandler}});var u4=Gv();Object.defineProperty(ce,"BinaryReader",{enumerable:!0,get:function(){return u4.BinaryReader}});Object.defineProperty(ce,"binaryReadOptions",{enumerable:!0,get:function(){return u4.binaryReadOptions}});var d4=Yv();Object.defineProperty(ce,"BinaryWriter",{enumerable:!0,get:function(){return d4.BinaryWriter}});Object.defineProperty(ce,"binaryWriteOptions",{enumerable:!0,get:function(){return d4.binaryWriteOptions}});var f4=ya();Object.defineProperty(ce,"PbLong",{enumerable:!0,get:function(){return f4.PbLong}});Object.defineProperty(ce,"PbULong",{enumerable:!0,get:function(){return f4.PbULong}});var h_=Jv();Object.defineProperty(ce,"jsonReadOptions",{enumerable:!0,get:function(){return h_.jsonReadOptions}});Object.defineProperty(ce,"jsonWriteOptions",{enumerable:!0,get:function(){return h_.jsonWriteOptions}});Object.defineProperty(ce,"mergeJsonOptions",{enumerable:!0,get:function(){return h_.mergeJsonOptions}});var uwe=mg();Object.defineProperty(ce,"MESSAGE_TYPE",{enumerable:!0,get:function(){return uwe.MESSAGE_TYPE}});var dwe=s4();Object.defineProperty(ce,"MessageType",{enumerable:!0,get:function(){return dwe.MessageType}});var TA=$i();Object.defineProperty(ce,"ScalarType",{enumerable:!0,get:function(){return TA.ScalarType}});Object.defineProperty(ce,"LongType",{enumerable:!0,get:function(){return TA.LongType}});Object.defineProperty(ce,"RepeatType",{enumerable:!0,get:function(){return TA.RepeatType}});Object.defineProperty(ce,"normalizeFieldInfo",{enumerable:!0,get:function(){return TA.normalizeFieldInfo}});Object.defineProperty(ce,"readFieldOptions",{enumerable:!0,get:function(){return TA.readFieldOptions}});Object.defineProperty(ce,"readFieldOption",{enumerable:!0,get:function(){return TA.readFieldOption}});Object.defineProperty(ce,"readMessageOption",{enumerable:!0,get:function(){return TA.readMessageOption}});var fwe=Kv();Object.defineProperty(ce,"ReflectionTypeCheck",{enumerable:!0,get:function(){return fwe.ReflectionTypeCheck}});var hwe=o_();Object.defineProperty(ce,"reflectionCreate",{enumerable:!0,get:function(){return hwe.reflectionCreate}});var gwe=BI();Object.defineProperty(ce,"reflectionScalarDefault",{enumerable:!0,get:function(){return gwe.reflectionScalarDefault}});var mwe=a_();Object.defineProperty(ce,"reflectionMergePartial",{enumerable:!0,get:function(){return mwe.reflectionMergePartial}});var pwe=c_();Object.defineProperty(ce,"reflectionEquals",{enumerable:!0,get:function(){return pwe.reflectionEquals}});var ywe=n_();Object.defineProperty(ce,"ReflectionBinaryReader",{enumerable:!0,get:function(){return ywe.ReflectionBinaryReader}});var Ewe=s_();Object.defineProperty(ce,"ReflectionBinaryWriter",{enumerable:!0,get:function(){return Ewe.ReflectionBinaryWriter}});var Cwe=Zv();Object.defineProperty(ce,"ReflectionJsonReader",{enumerable:!0,get:function(){return Cwe.ReflectionJsonReader}});var Iwe=t_();Object.defineProperty(ce,"ReflectionJsonWriter",{enumerable:!0,get:function(){return Iwe.ReflectionJsonWriter}});var Bwe=o4();Object.defineProperty(ce,"containsMessageType",{enumerable:!0,get:function(){return Bwe.containsMessageType}});var Eg=Wv();Object.defineProperty(ce,"isOneofGroup",{enumerable:!0,get:function(){return Eg.isOneofGroup}});Object.defineProperty(ce,"setOneofValue",{enumerable:!0,get:function(){return Eg.setOneofValue}});Object.defineProperty(ce,"getOneofValue",{enumerable:!0,get:function(){return Eg.getOneofValue}});Object.defineProperty(ce,"clearOneofValue",{enumerable:!0,get:function(){return Eg.clearOneofValue}});Object.defineProperty(ce,"getSelectedOneofValue",{enumerable:!0,get:function(){return Eg.getSelectedOneofValue}});var _I=A4();Object.defineProperty(ce,"listEnumValues",{enumerable:!0,get:function(){return _I.listEnumValues}});Object.defineProperty(ce,"listEnumNames",{enumerable:!0,get:function(){return _I.listEnumNames}});Object.defineProperty(ce,"listEnumNumbers",{enumerable:!0,get:function(){return _I.listEnumNumbers}});Object.defineProperty(ce,"isEnumObject",{enumerable:!0,get:function(){return _I.isEnumObject}});var Qwe=Vv();Object.defineProperty(ce,"lowerCamelCase",{enumerable:!0,get:function(){return Qwe.lowerCamelCase}});var Cg=Vu();Object.defineProperty(ce,"assert",{enumerable:!0,get:function(){return Cg.assert}});Object.defineProperty(ce,"assertNever",{enumerable:!0,get:function(){return Cg.assertNever}});Object.defineProperty(ce,"assertInt32",{enumerable:!0,get:function(){return Cg.assertInt32}});Object.defineProperty(ce,"assertUInt32",{enumerable:!0,get:function(){return Cg.assertUInt32}});Object.defineProperty(ce,"assertFloat32",{enumerable:!0,get:function(){return Cg.assertFloat32}})});var g_=h(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.readServiceOption=_s.readMethodOption=_s.readMethodOptions=_s.normalizeMethodInfo=void 0;var bwe=Xu();function Nwe(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:bwe.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}_s.normalizeMethodInfo=Nwe;function wwe(t,e,r,n){var i;let s=(i=t.methods.find((o,a)=>o.localName===e||a===e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}_s.readMethodOptions=wwe;function Swe(t,e,r,n){var i;let s=(i=t.methods.find((a,A)=>a.localName===e||A===e))===null||i===void 0?void 0:i.options;if(!s)return;let o=s[r];return o===void 0?o:n?n.fromJson(o):o}_s.readMethodOption=Swe;function xwe(t,e,r){let n=t.options;if(!n)return;let i=n[e];return i===void 0?i:r?r.fromJson(i):i}_s.readServiceOption=xwe});var h4=h(DI=>{"use strict";Object.defineProperty(DI,"__esModule",{value:!0});DI.ServiceType=void 0;var Rwe=g_(),m_=class{constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>Rwe.normalizeMethodInfo(i,this)),this.options=n??{}}};DI.ServiceType=m_});var y_=h(kI=>{"use strict";Object.defineProperty(kI,"__esModule",{value:!0});kI.RpcError=void 0;var p_=class extends Error{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(`
|
||
`)}};kI.RpcError=p_});var E_=h(TI=>{"use strict";Object.defineProperty(TI,"__esModule",{value:!0});TI.mergeRpcOptions=void 0;var g4=Xu();function vwe(t,e){if(!e)return t;let r={};PI(t,r),PI(e,r);for(let n of Object.keys(e)){let i=e[n];switch(n){case"jsonOptions":r.jsonOptions=g4.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=g4.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},PI(t.meta,r.meta),PI(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}TI.mergeRpcOptions=vwe;function PI(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}});var I_=h(OA=>{"use strict";Object.defineProperty(OA,"__esModule",{value:!0});OA.Deferred=OA.DeferredState=void 0;var Ds;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Ds=OA.DeferredState||(OA.DeferredState={}));var C_=class{constructor(e=!0){this._state=Ds.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!==Ds.PENDING)throw new Error(`cannot resolve ${Ds[this.state].toLowerCase()}`);this._resolve(e),this._state=Ds.RESOLVED}reject(e){if(this.state!==Ds.PENDING)throw new Error(`cannot reject ${Ds[this.state].toLowerCase()}`);this._reject(e),this._state=Ds.REJECTED}resolvePending(e){this._state===Ds.PENDING&&this.resolve(e)}rejectPending(e){this._state===Ds.PENDING&&this.reject(e)}};OA.Deferred=C_});var Q_=h(OI=>{"use strict";Object.defineProperty(OI,"__esModule",{value:!0});OI.RpcOutputStreamController=void 0;var m4=I_(),LA=Xu(),B_=class{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,r){return r.push(e),()=>{let 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){LA.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){LA.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){LA.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(){LA.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;LA.assert(e,"bad state"),LA.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 m4.Deferred,e.p.promise)}}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;LA.assert(n.state==m4.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};OI.RpcOutputStreamController=B_});var N_=h(Zu=>{"use strict";var _we=Zu&&Zu.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(Zu,"__esModule",{value:!0});Zu.UnaryCall=void 0;var b_=class{constructor(e,r,n,i,s,o,a){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.response=s,this.status=o,this.trailers=a}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 _we(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}})}};Zu.UnaryCall=b_});var S_=h(ed=>{"use strict";var Dwe=ed&&ed.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(ed,"__esModule",{value:!0});ed.ServerStreamingCall=void 0;var w_=class{constructor(e,r,n,i,s,o,a){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.responses=s,this.status=o,this.trailers=a}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 Dwe(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}})}};ed.ServerStreamingCall=w_});var R_=h(td=>{"use strict";var kwe=td&&td.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(td,"__esModule",{value:!0});td.ClientStreamingCall=void 0;var x_=class{constructor(e,r,n,i,s,o,a){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.response=s,this.status=o,this.trailers=a}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 kwe(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}})}};td.ClientStreamingCall=x_});var __=h(rd=>{"use strict";var Pwe=rd&&rd.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(rd,"__esModule",{value:!0});rd.DuplexStreamingCall=void 0;var v_=class{constructor(e,r,n,i,s,o,a){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.responses=s,this.status=o,this.trailers=a}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 Pwe(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}})}};rd.DuplexStreamingCall=v_});var y4=h(sd=>{"use strict";var Twe=sd&&sd.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(sd,"__esModule",{value:!0});sd.TestTransport=void 0;var bi=y_(),LI=Xu(),p4=Q_(),Owe=E_(),Lwe=N_(),Mwe=S_(),Fwe=R_(),Uwe=__(),id=class t{constructor(e){this.suppressUncaughtRejections=!0,this.headerDelay=10,this.responseDelay=50,this.betweenResponseDelay=10,this.afterResponseDelay=10,this.data=e??{}}get sentMessages(){return this.lastInput instanceof nd?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof nd?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 bi.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof bi.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(LI.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),LI.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return Twe(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)LI.assert(e.O.is(s)),i.push(s);else this.data.response instanceof bi.RpcError||(LI.assert(e.O.is(this.data.response)),i.push(this.data.response));try{yield wr(this.responseDelay,n)(void 0)}catch(s){r.notifyError(s);return}if(this.data.response instanceof bi.RpcError){r.notifyError(this.data.response);return}for(let s of i){r.notifyMessage(s);try{yield wr(this.betweenResponseDelay,n)(void 0)}catch(o){r.notifyError(o);return}}if(this.data.status instanceof bi.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof bi.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 bi.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 bi.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return Owe.mergeRpcOptions({},e)}unary(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},o=this.promiseHeaders().then(wr(this.headerDelay,n.abort)),a=o.catch(l=>{}).then(wr(this.responseDelay,n.abort)).then(l=>this.promiseSingleResponse(e)),A=a.catch(l=>{}).then(wr(this.afterResponseDelay,n.abort)).then(l=>this.promiseStatus()),c=a.catch(l=>{}).then(wr(this.afterResponseDelay,n.abort)).then(l=>this.promiseTrailers());return this.maybeSuppressUncaught(A,c),this.lastInput={single:r},new Lwe.UnaryCall(e,s,r,o,a,A,c)}serverStreaming(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},o=this.promiseHeaders().then(wr(this.headerDelay,n.abort)),a=new p4.RpcOutputStreamController,A=o.then(wr(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,n.abort)).then(wr(this.afterResponseDelay,n.abort)),c=A.then(()=>this.promiseStatus()),l=A.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput={single:r},new Mwe.ServerStreamingCall(e,s,r,o,a,c,l)}clientStreaming(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(wr(this.headerDelay,r.abort)),o=s.catch(c=>{}).then(wr(this.responseDelay,r.abort)).then(c=>this.promiseSingleResponse(e)),a=o.catch(c=>{}).then(wr(this.afterResponseDelay,r.abort)).then(c=>this.promiseStatus()),A=o.catch(c=>{}).then(wr(this.afterResponseDelay,r.abort)).then(c=>this.promiseTrailers());return this.maybeSuppressUncaught(a,A),this.lastInput=new nd(this.data,r.abort),new Fwe.ClientStreamingCall(e,i,this.lastInput,s,o,a,A)}duplex(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(wr(this.headerDelay,r.abort)),o=new p4.RpcOutputStreamController,a=s.then(wr(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,o,r.abort)).then(wr(this.afterResponseDelay,r.abort)),A=a.then(()=>this.promiseStatus()),c=a.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(A,c),this.lastInput=new nd(this.data,r.abort),new Uwe.DuplexStreamingCall(e,i,this.lastInput,s,o,A,c)}};sd.TestTransport=id;id.defaultHeaders={responseHeader:"test"};id.defaultStatus={code:"OK",detail:"all good"};id.defaultTrailers={responseTrailer:"test"};function wr(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new bi.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",o=>{clearTimeout(s),i(new bi.RpcError("user cancel","CANCELLED"))})}})}var nd=class{constructor(e,r){this._completed=!1,this._sent=[],this.data=e,this.abort=r}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof bi.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(wr(r,this.abort))}complete(){if(this.data.inputComplete instanceof bi.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(wr(e,this.abort))}}});var E4=h(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.stackDuplexStreamingInterceptors=Ni.stackClientStreamingInterceptors=Ni.stackServerStreamingInterceptors=Ni.stackUnaryInterceptors=Ni.stackIntercept=void 0;var qwe=Xu();function Ig(t,e,r,n,i){var s,o,a,A;if(t=="unary"){let c=(l,u,d)=>e.unary(l,u,d);for(let l of((s=n.interceptors)!==null&&s!==void 0?s:[]).filter(u=>u.interceptUnary).reverse()){let u=c;c=(d,f,g)=>l.interceptUnary(u,d,f,g)}return c(r,i,n)}if(t=="serverStreaming"){let c=(l,u,d)=>e.serverStreaming(l,u,d);for(let l of((o=n.interceptors)!==null&&o!==void 0?o:[]).filter(u=>u.interceptServerStreaming).reverse()){let u=c;c=(d,f,g)=>l.interceptServerStreaming(u,d,f,g)}return c(r,i,n)}if(t=="clientStreaming"){let c=(l,u)=>e.clientStreaming(l,u);for(let l of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(u=>u.interceptClientStreaming).reverse()){let u=c;c=(d,f)=>l.interceptClientStreaming(u,d,f)}return c(r,n)}if(t=="duplex"){let c=(l,u)=>e.duplex(l,u);for(let l of((A=n.interceptors)!==null&&A!==void 0?A:[]).filter(u=>u.interceptDuplex).reverse()){let u=c;c=(d,f)=>l.interceptDuplex(u,d,f)}return c(r,n)}qwe.assertNever(t)}Ni.stackIntercept=Ig;function Hwe(t,e,r,n){return Ig("unary",t,e,n,r)}Ni.stackUnaryInterceptors=Hwe;function jwe(t,e,r,n){return Ig("serverStreaming",t,e,n,r)}Ni.stackServerStreamingInterceptors=jwe;function zwe(t,e,r){return Ig("clientStreaming",t,e,r)}Ni.stackClientStreamingInterceptors=zwe;function Gwe(t,e,r){return Ig("duplex",t,e,r)}Ni.stackDuplexStreamingInterceptors=Gwe});var C4=h(MI=>{"use strict";Object.defineProperty(MI,"__esModule",{value:!0});MI.ServerCallContextController=void 0;var D_=class{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)}}};MI.ServerCallContextController=D_});var B4=h(jt=>{"use strict";Object.defineProperty(jt,"__esModule",{value:!0});var Ywe=h4();Object.defineProperty(jt,"ServiceType",{enumerable:!0,get:function(){return Ywe.ServiceType}});var k_=g_();Object.defineProperty(jt,"readMethodOptions",{enumerable:!0,get:function(){return k_.readMethodOptions}});Object.defineProperty(jt,"readMethodOption",{enumerable:!0,get:function(){return k_.readMethodOption}});Object.defineProperty(jt,"readServiceOption",{enumerable:!0,get:function(){return k_.readServiceOption}});var Jwe=y_();Object.defineProperty(jt,"RpcError",{enumerable:!0,get:function(){return Jwe.RpcError}});var Vwe=E_();Object.defineProperty(jt,"mergeRpcOptions",{enumerable:!0,get:function(){return Vwe.mergeRpcOptions}});var Wwe=Q_();Object.defineProperty(jt,"RpcOutputStreamController",{enumerable:!0,get:function(){return Wwe.RpcOutputStreamController}});var $we=y4();Object.defineProperty(jt,"TestTransport",{enumerable:!0,get:function(){return $we.TestTransport}});var I4=I_();Object.defineProperty(jt,"Deferred",{enumerable:!0,get:function(){return I4.Deferred}});Object.defineProperty(jt,"DeferredState",{enumerable:!0,get:function(){return I4.DeferredState}});var Kwe=__();Object.defineProperty(jt,"DuplexStreamingCall",{enumerable:!0,get:function(){return Kwe.DuplexStreamingCall}});var Xwe=R_();Object.defineProperty(jt,"ClientStreamingCall",{enumerable:!0,get:function(){return Xwe.ClientStreamingCall}});var Zwe=S_();Object.defineProperty(jt,"ServerStreamingCall",{enumerable:!0,get:function(){return Zwe.ServerStreamingCall}});var eSe=N_();Object.defineProperty(jt,"UnaryCall",{enumerable:!0,get:function(){return eSe.UnaryCall}});var Bg=E4();Object.defineProperty(jt,"stackIntercept",{enumerable:!0,get:function(){return Bg.stackIntercept}});Object.defineProperty(jt,"stackDuplexStreamingInterceptors",{enumerable:!0,get:function(){return Bg.stackDuplexStreamingInterceptors}});Object.defineProperty(jt,"stackClientStreamingInterceptors",{enumerable:!0,get:function(){return Bg.stackClientStreamingInterceptors}});Object.defineProperty(jt,"stackServerStreamingInterceptors",{enumerable:!0,get:function(){return Bg.stackServerStreamingInterceptors}});Object.defineProperty(jt,"stackUnaryInterceptors",{enumerable:!0,get:function(){return Bg.stackUnaryInterceptors}});var tSe=C4();Object.defineProperty(jt,"ServerCallContextController",{enumerable:!0,get:function(){return tSe.ServerCallContextController}})});var FI=h(od=>{"use strict";Object.defineProperty(od,"__esModule",{value:!0});od.isJsonObject=od.typeofJsonValue=void 0;function rSe(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}od.typeofJsonValue=rSe;function nSe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}od.isJsonObject=nSe});var qI=h(ad=>{"use strict";Object.defineProperty(ad,"__esModule",{value:!0});ad.base64encode=ad.base64decode=void 0;var Eo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),UI=[];for(let t=0;t<Eo.length;t++)UI[Eo[t].charCodeAt(0)]=t;UI[45]=Eo.indexOf("+");UI[95]=Eo.indexOf("/");function iSe(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,o=0;for(let a=0;a<t.length;a++){if(s=UI[t.charCodeAt(a)],s===void 0)switch(t[a]){case"=":i=0;case`
|
||
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(i){case 0:o=s,i=1;break;case 1:r[n++]=o<<2|(s&48)>>4,o=s,i=2;break;case 2:r[n++]=(o&15)<<4|(s&60)>>2,o=s,i=3;break;case 3:r[n++]=(o&3)<<6|s,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,n)}ad.base64decode=iSe;function sSe(t){let e="",r=0,n,i=0;for(let s=0;s<t.length;s++)switch(n=t[s],r){case 0:e+=Eo[n>>2],i=(n&3)<<4,r=1;break;case 1:e+=Eo[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=Eo[i|n>>6],e+=Eo[n&63],r=0;break}return r&&(e+=Eo[i],e+="=",r==1&&(e+="=")),e}ad.base64encode=sSe});var Q4=h(HI=>{"use strict";Object.defineProperty(HI,"__esModule",{value:!0});HI.utf8read=void 0;var P_=t=>String.fromCharCode.apply(String,t);function oSe(t){if(t.length<1)return"";let e=0,r=[],n=[],i=0,s,o=t.length;for(;e<o;)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(P_(n)),i=0);return r.length?(i&&r.push(P_(n.slice(0,i))),r.join("")):P_(n.slice(0,i))}HI.utf8read=oSe});var Qg=h(ks=>{"use strict";Object.defineProperty(ks,"__esModule",{value:!0});ks.WireType=ks.mergeBinaryOptions=ks.UnknownFieldHandler=void 0;var aSe;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,i,s,o)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:i,wireType:s,data:o})},t.onWrite=(r,n,i)=>{for(let{no:s,wireType:o,data:a}of t.list(n))i.tag(s,o).raw(a)},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=r=>r&&Array.isArray(r[t.symbol])})(aSe=ks.UnknownFieldHandler||(ks.UnknownFieldHandler={}));function ASe(t,e){return Object.assign(Object.assign({},t),e)}ks.mergeBinaryOptions=ASe;var cSe;(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"})(cSe=ks.WireType||(ks.WireType={}))});var zI=h(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.varint32read=xn.varint32write=xn.int64toString=xn.int64fromString=xn.varint64write=xn.varint64read=void 0;function lSe(){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)==0)return this.assertBounds(),[t,e]}let r=this.buf[this.pos++];if(t|=(r&15)<<28,e=(r&112)>>4,(r&128)==0)return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let i=this.buf[this.pos++];if(e|=(i&127)<<n,(i&128)==0)return this.assertBounds(),[t,e]}throw new Error("invalid varint")}xn.varint64read=lSe;function uSe(t,e,r){for(let s=0;s<28;s=s+7){let o=t>>>s,a=!(!(o>>>7)&&e==0),A=(a?o|128:o)&255;if(r.push(A),!a)return}let n=t>>>28&15|(e&7)<<4,i=e>>3!=0;if(r.push((i?n|128:n)&255),!!i){for(let s=3;s<31;s=s+7){let o=e>>>s,a=!!(o>>>7),A=(a?o|128:o)&255;if(r.push(A),!a)return}r.push(e>>>31&1)}}xn.varint64write=uSe;var jI=65536*65536;function dSe(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,i=0;function s(o,a){let A=Number(t.slice(o,a));i*=r,n=n*r+A,n>=jI&&(i=i+(n/jI|0),n=n%jI)}return s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}xn.int64fromString=dSe;function fSe(t,e){if(e>>>0<=2097151)return""+(jI*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,s=r+n*6777216+i*6710656,o=n+i*8147497,a=i*2,A=1e7;s>=A&&(o+=Math.floor(s/A),s%=A),o>=A&&(a+=Math.floor(o/A),o%=A);function c(l,u){let d=l?String(l):"";return u?"0000000".slice(d.length)+d:d}return c(a,0)+c(o,a)+c(s,1)}xn.int64toString=fSe;function hSe(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)}}xn.varint32write=hSe;function gSe(){let t=this.buf[this.pos++],e=t&127;if((t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,(t&128)==0)return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;(t&128)!==0&&r<10;r++)t=this.buf[this.pos++];if((t&128)!=0)throw new Error("invalid varint");return this.assertBounds(),e>>>0}xn.varint32read=gSe});var Ia=h(Ca=>{"use strict";Object.defineProperty(Ca,"__esModule",{value:!0});Ca.PbLong=Ca.PbULong=Ca.detectBi=void 0;var bg=zI(),ht;function b4(){let t=new DataView(new ArrayBuffer(8));ht=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}Ca.detectBi=b4;b4();function N4(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}var w4=/^-?[0-9]+$/,YI=4294967296,GI=2147483648,JI=class{constructor(e,r){this.lo=e|0,this.hi=r|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*YI+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},Ng=class t extends JI{static from(e){if(ht)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ht.C(e);case"number":if(e===0)return this.ZERO;e=ht.C(e);case"bigint":if(!e)return this.ZERO;if(e<ht.UMIN)throw new Error("signed value for ulong");if(e>ht.UMAX)throw new Error("ulong too large");return ht.V.setBigUint64(0,e,!0),new t(ht.V.getInt32(0,!0),ht.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!w4.test(e))throw new Error("string is no integer");let[r,n,i]=bg.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/YI)}throw new Error("unknown value "+typeof e)}toString(){return ht?this.toBigInt().toString():bg.int64toString(this.lo,this.hi)}toBigInt(){return N4(ht),ht.V.setInt32(0,this.lo,!0),ht.V.setInt32(4,this.hi,!0),ht.V.getBigUint64(0,!0)}};Ca.PbULong=Ng;Ng.ZERO=new Ng(0,0);var wg=class t extends JI{static from(e){if(ht)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ht.C(e);case"number":if(e===0)return this.ZERO;e=ht.C(e);case"bigint":if(!e)return this.ZERO;if(e<ht.MIN)throw new Error("signed long too small");if(e>ht.MAX)throw new Error("signed long too large");return ht.V.setBigInt64(0,e,!0),new t(ht.V.getInt32(0,!0),ht.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!w4.test(e))throw new Error("string is no integer");let[r,n,i]=bg.int64fromString(e);if(r){if(i>GI||i==GI&&n!=0)throw new Error("signed long too small")}else if(i>=GI)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/YI):new t(-e,-e/YI).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&GI)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(ht)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+bg.int64toString(e.lo,e.hi)}return bg.int64toString(this.lo,this.hi)}toBigInt(){return N4(ht),ht.V.setInt32(0,this.lo,!0),ht.V.setInt32(4,this.hi,!0),ht.V.getBigInt64(0,!0)}};Ca.PbLong=wg;wg.ZERO=new wg(0,0)});var T_=h(cd=>{"use strict";Object.defineProperty(cd,"__esModule",{value:!0});cd.BinaryReader=cd.binaryReadOptions=void 0;var Ad=Qg(),Sg=Ia(),S4=zI(),x4={readUnknownField:!0,readerFactory:t=>new VI(t)};function mSe(t){return t?Object.assign(Object.assign({},x4),t):x4}cd.binaryReadOptions=mSe;var VI=class{constructor(e,r){this.varint64=S4.varint64read,this.uint32=S4.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 Ad.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Ad.WireType.Bit64:this.pos+=4;case Ad.WireType.Bit32:this.pos+=4;break;case Ad.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case Ad.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==Ad.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 Sg.PbLong(...this.varint64())}uint64(){return new Sg.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 Sg.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 Sg.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new Sg.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())}};cd.BinaryReader=VI});var ld=h(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.assertFloat32=wi.assertUInt32=wi.assertInt32=wi.assertNever=wi.assert=void 0;function pSe(t,e){if(!t)throw new Error(e)}wi.assert=pSe;function ySe(t,e){throw new Error(e??"Unexpected object: "+t)}wi.assertNever=ySe;var ESe=34028234663852886e22,CSe=-34028234663852886e22,ISe=4294967295,BSe=2147483647,QSe=-2147483648;function bSe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>BSe||t<QSe)throw new Error("invalid int 32: "+t)}wi.assertInt32=bSe;function NSe(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>ISe||t<0)throw new Error("invalid uint 32: "+t)}wi.assertUInt32=NSe;function wSe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>ESe||t<CSe))throw new Error("invalid float 32: "+t)}wi.assertFloat32=wSe});var O_=h(dd=>{"use strict";Object.defineProperty(dd,"__esModule",{value:!0});dd.BinaryWriter=dd.binaryWriteOptions=void 0;var xg=Ia(),Rg=zI(),ud=ld(),R4={writeUnknownFields:!0,writerFactory:()=>new WI};function SSe(t){return t?Object.assign(Object.assign({},R4),t):R4}dd.binaryWriteOptions=SSe;var WI=class{constructor(e){this.stack=[],this.textEncoder=e??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let 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(ud.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return ud.assertInt32(e),Rg.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){ud.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){ud.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){ud.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return ud.assertInt32(e),e=(e<<1^e>>31)>>>0,Rg.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=xg.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=xg.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=xg.PbLong.from(e);return Rg.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=xg.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return Rg.varint64write(i,s,this.buf),this}uint64(e){let r=xg.PbULong.from(e);return Rg.varint64write(r.lo,r.hi,this.buf),this}};dd.BinaryWriter=WI});var L_=h(Ba=>{"use strict";Object.defineProperty(Ba,"__esModule",{value:!0});Ba.mergeJsonOptions=Ba.jsonWriteOptions=Ba.jsonReadOptions=void 0;var v4={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},_4={ignoreUnknownFields:!1};function xSe(t){return t?Object.assign(Object.assign({},_4),t):_4}Ba.jsonReadOptions=xSe;function RSe(t){return t?Object.assign(Object.assign({},v4),t):v4}Ba.jsonWriteOptions=RSe;function vSe(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}Ba.mergeJsonOptions=vSe});var vg=h($I=>{"use strict";Object.defineProperty($I,"__esModule",{value:!0});$I.MESSAGE_TYPE=void 0;$I.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var M_=h(KI=>{"use strict";Object.defineProperty(KI,"__esModule",{value:!0});KI.lowerCamelCase=void 0;function _Se(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("")}KI.lowerCamelCase=_Se});var Xi=h(lr=>{"use strict";Object.defineProperty(lr,"__esModule",{value:!0});lr.readMessageOption=lr.readFieldOption=lr.readFieldOptions=lr.normalizeFieldInfo=lr.RepeatType=lr.LongType=lr.ScalarType=void 0;var D4=M_(),DSe;(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"})(DSe=lr.ScalarType||(lr.ScalarType={}));var kSe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(kSe=lr.LongType||(lr.LongType={}));var k4;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(k4=lr.RepeatType||(lr.RepeatType={}));function PSe(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:D4.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:D4.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:k4.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}lr.normalizeFieldInfo=PSe;function TSe(t,e,r,n){var i;let s=(i=t.fields.find((o,a)=>o.localName==e||a==e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}lr.readFieldOptions=TSe;function OSe(t,e,r,n){var i;let s=(i=t.fields.find((a,A)=>a.localName==e||A==e))===null||i===void 0?void 0:i.options;if(!s)return;let o=s[r];return o===void 0?o:n?n.fromJson(o):o}lr.readFieldOption=OSe;function LSe(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}lr.readMessageOption=LSe});var F_=h(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.getSelectedOneofValue=Rn.clearOneofValue=Rn.setUnknownOneofValue=Rn.setOneofValue=Rn.getOneofValue=Rn.isOneofGroup=void 0;function MSe(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}}Rn.isOneofGroup=MSe;function FSe(t,e){return t[e]}Rn.getOneofValue=FSe;function USe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}Rn.setOneofValue=USe;function qSe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}Rn.setUnknownOneofValue=qSe;function HSe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}Rn.clearOneofValue=HSe;function jSe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}Rn.getSelectedOneofValue=jSe});var q_=h(XI=>{"use strict";Object.defineProperty(XI,"__esModule",{value:!0});XI.ReflectionTypeCheck=void 0;var zt=Xi(),zSe=F_(),U_=class{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(o=>!i.includes(o))||!n&&i.some(o=>!s.known.includes(o)))return!1;if(r<1)return!0;for(let o of s.oneofs){let a=e[o];if(!zSe.isOneofGroup(a))return!1;if(a.oneofKind===void 0)continue;let A=this.fields.find(c=>c.localName===a.oneofKind);if(!A||!this.field(a[a.oneofKind],A,n,r))return!1}for(let o of this.fields)if(o.oneof===void 0&&!this.field(e[o.localName],o,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,zt.ScalarType.INT32,i):this.scalar(e,zt.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),zt.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 zt.ScalarType.UINT64:case zt.ScalarType.FIXED64:case zt.ScalarType.INT64:case zt.ScalarType.SFIXED64:case zt.ScalarType.SINT64:switch(n){case zt.LongType.BIGINT:return i=="bigint";case zt.LongType.NUMBER:return i=="number"&&!isNaN(e);default:return i=="string"}case zt.ScalarType.BOOL:return i=="boolean";case zt.ScalarType.STRING:return i=="string";case zt.ScalarType.BYTES:return e instanceof Uint8Array;case zt.ScalarType.DOUBLE:case zt.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 zt.ScalarType.INT32:case zt.ScalarType.FIXED32:case zt.ScalarType.SFIXED32:case zt.ScalarType.SINT32:case zt.ScalarType.UINT32:return this.scalars(i.slice(0,n).map(s=>parseInt(s)),r,n);case zt.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,zt.LongType.STRING)}}};XI.ReflectionTypeCheck=U_});var eB=h(ZI=>{"use strict";Object.defineProperty(ZI,"__esModule",{value:!0});ZI.reflectionLongConvert=void 0;var P4=Xi();function GSe(t,e){switch(e){case P4.LongType.BIGINT:return t.toBigInt();case P4.LongType.NUMBER:return t.toNumber();default:return t.toString()}}ZI.reflectionLongConvert=GSe});var j_=h(nB=>{"use strict";Object.defineProperty(nB,"__esModule",{value:!0});nB.ReflectionJsonReader=void 0;var T4=FI(),YSe=qI(),ur=Xi(),tB=Ia(),MA=ld(),rB=eB(),H_=class{constructor(e){this.info=e}prepare(){var e;if(this.fMap===void 0){this.fMap={};let r=(e=this.info.fields)!==null&&e!==void 0?e:[];for(let 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=T4.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,o]of Object.entries(e)){let a=this.fMap[s];if(!a){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${s}`);continue}let A=a.localName,c;if(a.oneof){if(o===null&&(a.kind!=="enum"||a.T()[0]!=="google.protobuf.NullValue"))continue;if(i.includes(a.oneof))throw new Error(`Multiple members of the oneof group "${a.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(a.oneof),c=r[a.oneof]={oneofKind:A}}else c=r;if(a.kind=="map"){if(o===null)continue;this.assert(T4.isJsonObject(o),a.name,o);let l=c[A];for(let[u,d]of Object.entries(o)){this.assert(d!==null,a.name+" map value",null);let f;switch(a.V.kind){case"message":f=a.V.T().internalJsonRead(d,n);break;case"enum":if(f=this.enum(a.V.T(),d,a.name,n.ignoreUnknownFields),f===!1)continue;break;case"scalar":f=this.scalar(d,a.V.T,a.V.L,a.name);break}this.assert(f!==void 0,a.name+" map value",d);let g=u;a.K==ur.ScalarType.BOOL&&(g=g=="true"?!0:g=="false"?!1:g),g=this.scalar(g,a.K,ur.LongType.STRING,a.name).toString(),l[g]=f}}else if(a.repeat){if(o===null)continue;this.assert(Array.isArray(o),a.name,o);let l=c[A];for(let u of o){this.assert(u!==null,a.name,null);let d;switch(a.kind){case"message":d=a.T().internalJsonRead(u,n);break;case"enum":if(d=this.enum(a.T(),u,a.name,n.ignoreUnknownFields),d===!1)continue;break;case"scalar":d=this.scalar(u,a.T,a.L,a.name);break}this.assert(d!==void 0,a.name,o),l.push(d)}}else switch(a.kind){case"message":if(o===null&&a.T().typeName!="google.protobuf.Value"){this.assert(a.oneof===void 0,a.name+" (oneof member)",null);continue}c[A]=a.T().internalJsonRead(o,n,c[A]);break;case"enum":if(o===null)continue;let l=this.enum(a.T(),o,a.name,n.ignoreUnknownFields);if(l===!1)continue;c[A]=l;break;case"scalar":if(o===null)continue;c[A]=this.scalar(o,a.T,a.L,a.name);break}}}enum(e,r,n,i){if(e[0]=="google.protobuf.NullValue"&&MA.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 MA.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 o=e[1][s];return typeof o>"u"&&i?!1:(MA.assert(typeof o=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),o)}MA.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 ur.ScalarType.DOUBLE:case ur.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 o=Number(e);if(Number.isNaN(o)){s="not a number";break}if(!Number.isFinite(o)){s="too large or small";break}return r==ur.ScalarType.FLOAT&&MA.assertFloat32(o),o;case ur.ScalarType.INT32:case ur.ScalarType.FIXED32:case ur.ScalarType.SFIXED32:case ur.ScalarType.SINT32:case ur.ScalarType.UINT32:if(e===null)return 0;let a;if(typeof e=="number"?a=e:e===""?s="empty string":typeof e=="string"&&(e.trim().length!==e.length?s="extra whitespace":a=Number(e)),a===void 0)break;return r==ur.ScalarType.UINT32?MA.assertUInt32(a):MA.assertInt32(a),a;case ur.ScalarType.INT64:case ur.ScalarType.SFIXED64:case ur.ScalarType.SINT64:if(e===null)return rB.reflectionLongConvert(tB.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return rB.reflectionLongConvert(tB.PbLong.from(e),n);case ur.ScalarType.FIXED64:case ur.ScalarType.UINT64:if(e===null)return rB.reflectionLongConvert(tB.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return rB.reflectionLongConvert(tB.PbULong.from(e),n);case ur.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case ur.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){s="extra whitespace";break}try{encodeURIComponent(e)}catch(A){A="invalid UTF8";break}return e;case ur.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return YSe.base64decode(e)}}catch(o){s=o.message}this.assert(!1,i+(s?" - "+s:""),e)}};nB.ReflectionJsonReader=H_});var G_=h(iB=>{"use strict";Object.defineProperty(iB,"__esModule",{value:!0});iB.ReflectionJsonWriter=void 0;var JSe=qI(),O4=Ia(),nn=Xi(),vt=ld(),z_=class{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 c=this.field(s,i[s.localName],r);c!==void 0&&(n[r.useProtoFieldName?s.name:s.jsonName]=c);continue}let o=i[s.oneof];if(o.oneofKind!==s.localName)continue;let a=s.kind=="scalar"||s.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,A=this.field(s,o[s.localName],a);vt.assert(A!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=A}return n}field(e,r,n){let i;if(e.kind=="map"){vt.assert(typeof r=="object"&&r!==null);let s={};switch(e.V.kind){case"scalar":for(let[A,c]of Object.entries(r)){let l=this.scalar(e.V.T,c,e.name,!1,!0);vt.assert(l!==void 0),s[A.toString()]=l}break;case"message":let o=e.V.T();for(let[A,c]of Object.entries(r)){let l=this.message(o,c,e.name,n);vt.assert(l!==void 0),s[A.toString()]=l}break;case"enum":let a=e.V.T();for(let[A,c]of Object.entries(r)){vt.assert(c===void 0||typeof c=="number");let l=this.enum(a,c,e.name,!1,!0,n.enumAsInteger);vt.assert(l!==void 0),s[A.toString()]=l}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){vt.assert(Array.isArray(r));let s=[];switch(e.kind){case"scalar":for(let A=0;A<r.length;A++){let c=this.scalar(e.T,r[A],e.name,e.opt,!0);vt.assert(c!==void 0),s.push(c)}break;case"enum":let o=e.T();for(let A=0;A<r.length;A++){vt.assert(r[A]===void 0||typeof r[A]=="number");let c=this.enum(o,r[A],e.name,e.opt,!0,n.enumAsInteger);vt.assert(c!==void 0),s.push(c)}break;case"message":let a=e.T();for(let A=0;A<r.length;A++){let c=this.message(a,r[A],e.name,n);vt.assert(c!==void 0),s.push(c)}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,o){if(e[0]=="google.protobuf.NullValue")return!s&&!i?void 0:null;if(r===void 0){vt.assert(i);return}if(!(r===0&&!s&&!i))return vt.assert(typeof r=="number"),vt.assert(Number.isInteger(r)),o||!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){vt.assert(i);return}let o=s||i;switch(e){case nn.ScalarType.INT32:case nn.ScalarType.SFIXED32:case nn.ScalarType.SINT32:return r===0?o?0:void 0:(vt.assertInt32(r),r);case nn.ScalarType.FIXED32:case nn.ScalarType.UINT32:return r===0?o?0:void 0:(vt.assertUInt32(r),r);case nn.ScalarType.FLOAT:vt.assertFloat32(r);case nn.ScalarType.DOUBLE:return r===0?o?0:void 0:(vt.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case nn.ScalarType.STRING:return r===""?o?"":void 0:(vt.assert(typeof r=="string"),r);case nn.ScalarType.BOOL:return r===!1?o?!1:void 0:(vt.assert(typeof r=="boolean"),r);case nn.ScalarType.UINT64:case nn.ScalarType.FIXED64:vt.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let a=O4.PbULong.from(r);return a.isZero()&&!o?void 0:a.toString();case nn.ScalarType.INT64:case nn.ScalarType.SFIXED64:case nn.ScalarType.SINT64:vt.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let A=O4.PbLong.from(r);return A.isZero()&&!o?void 0:A.toString();case nn.ScalarType.BYTES:return vt.assert(r instanceof Uint8Array),r.byteLength?JSe.base64encode(r):o?"":void 0}}};iB.ReflectionJsonWriter=z_});var oB=h(sB=>{"use strict";Object.defineProperty(sB,"__esModule",{value:!0});sB.reflectionScalarDefault=void 0;var Zi=Xi(),L4=eB(),M4=Ia();function VSe(t,e=Zi.LongType.STRING){switch(t){case Zi.ScalarType.BOOL:return!1;case Zi.ScalarType.UINT64:case Zi.ScalarType.FIXED64:return L4.reflectionLongConvert(M4.PbULong.ZERO,e);case Zi.ScalarType.INT64:case Zi.ScalarType.SFIXED64:case Zi.ScalarType.SINT64:return L4.reflectionLongConvert(M4.PbLong.ZERO,e);case Zi.ScalarType.DOUBLE:case Zi.ScalarType.FLOAT:return 0;case Zi.ScalarType.BYTES:return new Uint8Array(0);case Zi.ScalarType.STRING:return"";default:return 0}}sB.reflectionScalarDefault=VSe});var J_=h(aB=>{"use strict";Object.defineProperty(aB,"__esModule",{value:!0});aB.ReflectionBinaryReader=void 0;var F4=Qg(),Xt=Xi(),_g=eB(),U4=oB(),Y_=class{constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){let r=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(r.map(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[o,a]=e.tag(),A=this.fieldNoToField.get(o);if(!A){let d=n.readUnknownField;if(d=="throw")throw new Error(`Unknown field ${o} (wire type ${a}) for ${this.info.typeName}`);let f=e.skip(a);d!==!1&&(d===!0?F4.UnknownFieldHandler.onRead:d)(this.info.typeName,r,o,a,f);continue}let c=r,l=A.repeat,u=A.localName;switch(A.oneof&&(c=c[A.oneof],c.oneofKind!==u&&(c=r[A.oneof]={oneofKind:u})),A.kind){case"scalar":case"enum":let d=A.kind=="enum"?Xt.ScalarType.INT32:A.T,f=A.kind=="scalar"?A.L:void 0;if(l){let E=c[u];if(a==F4.WireType.LengthDelimited&&d!=Xt.ScalarType.STRING&&d!=Xt.ScalarType.BYTES){let C=e.uint32()+e.pos;for(;e.pos<C;)E.push(this.scalar(e,d,f))}else E.push(this.scalar(e,d,f))}else c[u]=this.scalar(e,d,f);break;case"message":if(l){let E=c[u],C=A.T().internalBinaryRead(e,e.uint32(),n);E.push(C)}else c[u]=A.T().internalBinaryRead(e,e.uint32(),n,c[u]);break;case"map":let[g,m]=this.mapEntry(A,e,n);c[u][g]=m;break}}}mapEntry(e,r,n){let i=r.uint32(),s=r.pos+i,o,a;for(;r.pos<s;){let[A,c]=r.tag();switch(A){case 1:e.K==Xt.ScalarType.BOOL?o=r.bool().toString():o=this.scalar(r,e.K,Xt.LongType.STRING);break;case 2:switch(e.V.kind){case"scalar":a=this.scalar(r,e.V.T,e.V.L);break;case"enum":a=r.int32();break;case"message":a=e.V.T().internalBinaryRead(r,r.uint32(),n);break}break;default:throw new Error(`Unknown field ${A} (wire type ${c}) in map entry for ${this.info.typeName}#${e.name}`)}}if(o===void 0){let A=U4.reflectionScalarDefault(e.K);o=e.K==Xt.ScalarType.BOOL?A.toString():A}if(a===void 0)switch(e.V.kind){case"scalar":a=U4.reflectionScalarDefault(e.V.T,e.V.L);break;case"enum":a=0;break;case"message":a=e.V.T().create();break}return[o,a]}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 _g.reflectionLongConvert(e.int64(),n);case Xt.ScalarType.UINT64:return _g.reflectionLongConvert(e.uint64(),n);case Xt.ScalarType.FIXED64:return _g.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 _g.reflectionLongConvert(e.sfixed64(),n);case Xt.ScalarType.SINT32:return e.sint32();case Xt.ScalarType.SINT64:return _g.reflectionLongConvert(e.sint64(),n)}}};aB.ReflectionBinaryReader=Y_});var W_=h(AB=>{"use strict";Object.defineProperty(AB,"__esModule",{value:!0});AB.ReflectionBinaryWriter=void 0;var Xn=Qg(),Ct=Xi(),fd=ld(),Dg=Ia(),V_=class{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 o,a,A=s.repeat,c=s.localName;if(s.oneof){let l=e[s.oneof];if(l.oneofKind!==c)continue;o=l[c],a=!0}else o=e[c],a=!1;switch(s.kind){case"scalar":case"enum":let l=s.kind=="enum"?Ct.ScalarType.INT32:s.T;if(A)if(fd.assert(Array.isArray(o)),A==Ct.RepeatType.PACKED)this.packed(r,l,s.no,o);else for(let u of o)this.scalar(r,l,s.no,u,!0);else o===void 0?fd.assert(s.opt):this.scalar(r,l,s.no,o,a||s.opt);break;case"message":if(A){fd.assert(Array.isArray(o));for(let u of o)this.message(r,n,s.T(),s.no,u)}else this.message(r,n,s.T(),s.no,o);break;case"map":fd.assert(typeof o=="object"&&o!==null);for(let[u,d]of Object.entries(o))this.mapEntry(r,n,s,u,d);break}}let i=n.writeUnknownFields;i!==!1&&(i===!0?Xn.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,Xn.WireType.LengthDelimited),e.fork();let o=i;switch(n.K){case Ct.ScalarType.INT32:case Ct.ScalarType.FIXED32:case Ct.ScalarType.UINT32:case Ct.ScalarType.SFIXED32:case Ct.ScalarType.SINT32:o=Number.parseInt(i);break;case Ct.ScalarType.BOOL:fd.assert(i=="true"||i=="false"),o=i=="true";break}switch(this.scalar(e,n.K,1,o,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,s,!0);break;case"enum":this.scalar(e,Ct.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,Xn.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,i,s){let[o,a,A]=this.scalarInfo(r,i);(!A||s)&&(e.tag(n,o),e[a](i))}packed(e,r,n,i){if(!i.length)return;fd.assert(r!==Ct.ScalarType.BYTES&&r!==Ct.ScalarType.STRING),e.tag(n,Xn.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(r);for(let o=0;o<i.length;o++)e[s](i[o]);e.join()}scalarInfo(e,r){let n=Xn.WireType.Varint,i,s=r===void 0,o=r===0;switch(e){case Ct.ScalarType.INT32:i="int32";break;case Ct.ScalarType.STRING:o=s||!r.length,n=Xn.WireType.LengthDelimited,i="string";break;case Ct.ScalarType.BOOL:o=r===!1,i="bool";break;case Ct.ScalarType.UINT32:i="uint32";break;case Ct.ScalarType.DOUBLE:n=Xn.WireType.Bit64,i="double";break;case Ct.ScalarType.FLOAT:n=Xn.WireType.Bit32,i="float";break;case Ct.ScalarType.INT64:o=s||Dg.PbLong.from(r).isZero(),i="int64";break;case Ct.ScalarType.UINT64:o=s||Dg.PbULong.from(r).isZero(),i="uint64";break;case Ct.ScalarType.FIXED64:o=s||Dg.PbULong.from(r).isZero(),n=Xn.WireType.Bit64,i="fixed64";break;case Ct.ScalarType.BYTES:o=s||!r.byteLength,n=Xn.WireType.LengthDelimited,i="bytes";break;case Ct.ScalarType.FIXED32:n=Xn.WireType.Bit32,i="fixed32";break;case Ct.ScalarType.SFIXED32:n=Xn.WireType.Bit32,i="sfixed32";break;case Ct.ScalarType.SFIXED64:o=s||Dg.PbLong.from(r).isZero(),n=Xn.WireType.Bit64,i="sfixed64";break;case Ct.ScalarType.SINT32:i="sint32";break;case Ct.ScalarType.SINT64:o=s||Dg.PbLong.from(r).isZero(),i="sint64";break}return[n,i,s||o]}};AB.ReflectionBinaryWriter=V_});var $_=h(cB=>{"use strict";Object.defineProperty(cB,"__esModule",{value:!0});cB.reflectionCreate=void 0;var WSe=oB(),$Se=vg();function KSe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},$Se.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]=WSe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}cB.reflectionCreate=KSe});var K_=h(lB=>{"use strict";Object.defineProperty(lB,"__esModule",{value:!0});lB.reflectionMergePartial=void 0;function XSe(t,e,r){let n,i=r,s;for(let o of t.fields){let a=o.localName;if(o.oneof){let A=i[o.oneof];if(A?.oneofKind==null)continue;if(n=A[a],s=e[o.oneof],s.oneofKind=A.oneofKind,n==null){delete s[a];continue}}else if(n=i[a],s=e,n==null)continue;switch(o.repeat&&(s[a].length=n.length),o.kind){case"scalar":case"enum":if(o.repeat)for(let c=0;c<n.length;c++)s[a][c]=n[c];else s[a]=n;break;case"message":let A=o.T();if(o.repeat)for(let c=0;c<n.length;c++)s[a][c]=A.create(n[c]);else s[a]===void 0?s[a]=A.create(n):A.mergePartial(s[a],n);break;case"map":switch(o.V.kind){case"scalar":case"enum":Object.assign(s[a],n);break;case"message":let c=o.V.T();for(let l of Object.keys(n))s[a][l]=c.create(n[l]);break}break}}}lB.reflectionMergePartial=XSe});var Z_=h(dB=>{"use strict";Object.defineProperty(dB,"__esModule",{value:!0});dB.reflectionEquals=void 0;var X_=Xi();function ZSe(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],o=n.oneof?r[n.oneof][i]:r[i];switch(n.kind){case"enum":case"scalar":let a=n.kind=="enum"?X_.ScalarType.INT32:n.T;if(!(n.repeat?q4(a,s,o):j4(a,s,o)))return!1;break;case"map":if(!(n.V.kind=="message"?H4(n.V.T(),uB(s),uB(o)):q4(n.V.kind=="enum"?X_.ScalarType.INT32:n.V.T,uB(s),uB(o))))return!1;break;case"message":let A=n.T();if(!(n.repeat?H4(A,s,o):A.equals(s,o)))return!1;break}}return!0}dB.reflectionEquals=ZSe;var uB=Object.values;function j4(t,e,r){if(e===r)return!0;if(t!==X_.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}function q4(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!j4(t,e[n],r[n]))return!1;return!0}function H4(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}});var Y4=h(fB=>{"use strict";Object.defineProperty(fB,"__esModule",{value:!0});fB.MessageType=void 0;var exe=vg(),txe=Xi(),rxe=q_(),nxe=j_(),ixe=G_(),sxe=J_(),oxe=W_(),axe=$_(),eD=K_(),Axe=FI(),z4=L_(),cxe=Z_(),lxe=O_(),uxe=T_(),G4=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),dxe=G4[exe.MESSAGE_TYPE]={},tD=class{constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(txe.normalizeFieldInfo),this.options=n??{},dxe.value=this,this.messagePrototype=Object.create(null,G4),this.refTypeCheck=new rxe.ReflectionTypeCheck(this),this.refJsonReader=new nxe.ReflectionJsonReader(this),this.refJsonWriter=new ixe.ReflectionJsonWriter(this),this.refBinReader=new sxe.ReflectionBinaryReader(this),this.refBinWriter=new oxe.ReflectionBinaryWriter(this)}create(e){let r=axe.reflectionCreate(this);return e!==void 0&&eD.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return eD.reflectionMergePartial(this,r,e),r}equals(e,r){return cxe.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){eD.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=uxe.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,z4.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,z4.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=lxe.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 ${Axe.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}};fB.MessageType=tD});var J4=h(hB=>{"use strict";Object.defineProperty(hB,"__esModule",{value:!0});hB.containsMessageType=void 0;var fxe=vg();function hxe(t){return t[fxe.MESSAGE_TYPE]!=null}hB.containsMessageType=hxe});var W4=h(Ps=>{"use strict";Object.defineProperty(Ps,"__esModule",{value:!0});Ps.listEnumNumbers=Ps.listEnumNames=Ps.listEnumValues=Ps.isEnumObject=void 0;function V4(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}Ps.isEnumObject=V4;function rD(t){if(!V4(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}Ps.listEnumValues=rD;function gxe(t){return rD(t).map(e=>e.name)}Ps.listEnumNames=gxe;function mxe(t){return rD(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}Ps.listEnumNumbers=mxe});var Gr=h(le=>{"use strict";Object.defineProperty(le,"__esModule",{value:!0});var $4=FI();Object.defineProperty(le,"typeofJsonValue",{enumerable:!0,get:function(){return $4.typeofJsonValue}});Object.defineProperty(le,"isJsonObject",{enumerable:!0,get:function(){return $4.isJsonObject}});var K4=qI();Object.defineProperty(le,"base64decode",{enumerable:!0,get:function(){return K4.base64decode}});Object.defineProperty(le,"base64encode",{enumerable:!0,get:function(){return K4.base64encode}});var pxe=Q4();Object.defineProperty(le,"utf8read",{enumerable:!0,get:function(){return pxe.utf8read}});var nD=Qg();Object.defineProperty(le,"WireType",{enumerable:!0,get:function(){return nD.WireType}});Object.defineProperty(le,"mergeBinaryOptions",{enumerable:!0,get:function(){return nD.mergeBinaryOptions}});Object.defineProperty(le,"UnknownFieldHandler",{enumerable:!0,get:function(){return nD.UnknownFieldHandler}});var X4=T_();Object.defineProperty(le,"BinaryReader",{enumerable:!0,get:function(){return X4.BinaryReader}});Object.defineProperty(le,"binaryReadOptions",{enumerable:!0,get:function(){return X4.binaryReadOptions}});var Z4=O_();Object.defineProperty(le,"BinaryWriter",{enumerable:!0,get:function(){return Z4.BinaryWriter}});Object.defineProperty(le,"binaryWriteOptions",{enumerable:!0,get:function(){return Z4.binaryWriteOptions}});var e$=Ia();Object.defineProperty(le,"PbLong",{enumerable:!0,get:function(){return e$.PbLong}});Object.defineProperty(le,"PbULong",{enumerable:!0,get:function(){return e$.PbULong}});var iD=L_();Object.defineProperty(le,"jsonReadOptions",{enumerable:!0,get:function(){return iD.jsonReadOptions}});Object.defineProperty(le,"jsonWriteOptions",{enumerable:!0,get:function(){return iD.jsonWriteOptions}});Object.defineProperty(le,"mergeJsonOptions",{enumerable:!0,get:function(){return iD.mergeJsonOptions}});var yxe=vg();Object.defineProperty(le,"MESSAGE_TYPE",{enumerable:!0,get:function(){return yxe.MESSAGE_TYPE}});var Exe=Y4();Object.defineProperty(le,"MessageType",{enumerable:!0,get:function(){return Exe.MessageType}});var FA=Xi();Object.defineProperty(le,"ScalarType",{enumerable:!0,get:function(){return FA.ScalarType}});Object.defineProperty(le,"LongType",{enumerable:!0,get:function(){return FA.LongType}});Object.defineProperty(le,"RepeatType",{enumerable:!0,get:function(){return FA.RepeatType}});Object.defineProperty(le,"normalizeFieldInfo",{enumerable:!0,get:function(){return FA.normalizeFieldInfo}});Object.defineProperty(le,"readFieldOptions",{enumerable:!0,get:function(){return FA.readFieldOptions}});Object.defineProperty(le,"readFieldOption",{enumerable:!0,get:function(){return FA.readFieldOption}});Object.defineProperty(le,"readMessageOption",{enumerable:!0,get:function(){return FA.readMessageOption}});var Cxe=q_();Object.defineProperty(le,"ReflectionTypeCheck",{enumerable:!0,get:function(){return Cxe.ReflectionTypeCheck}});var Ixe=$_();Object.defineProperty(le,"reflectionCreate",{enumerable:!0,get:function(){return Ixe.reflectionCreate}});var Bxe=oB();Object.defineProperty(le,"reflectionScalarDefault",{enumerable:!0,get:function(){return Bxe.reflectionScalarDefault}});var Qxe=K_();Object.defineProperty(le,"reflectionMergePartial",{enumerable:!0,get:function(){return Qxe.reflectionMergePartial}});var bxe=Z_();Object.defineProperty(le,"reflectionEquals",{enumerable:!0,get:function(){return bxe.reflectionEquals}});var Nxe=J_();Object.defineProperty(le,"ReflectionBinaryReader",{enumerable:!0,get:function(){return Nxe.ReflectionBinaryReader}});var wxe=W_();Object.defineProperty(le,"ReflectionBinaryWriter",{enumerable:!0,get:function(){return wxe.ReflectionBinaryWriter}});var Sxe=j_();Object.defineProperty(le,"ReflectionJsonReader",{enumerable:!0,get:function(){return Sxe.ReflectionJsonReader}});var xxe=G_();Object.defineProperty(le,"ReflectionJsonWriter",{enumerable:!0,get:function(){return xxe.ReflectionJsonWriter}});var Rxe=J4();Object.defineProperty(le,"containsMessageType",{enumerable:!0,get:function(){return Rxe.containsMessageType}});var kg=F_();Object.defineProperty(le,"isOneofGroup",{enumerable:!0,get:function(){return kg.isOneofGroup}});Object.defineProperty(le,"setOneofValue",{enumerable:!0,get:function(){return kg.setOneofValue}});Object.defineProperty(le,"getOneofValue",{enumerable:!0,get:function(){return kg.getOneofValue}});Object.defineProperty(le,"clearOneofValue",{enumerable:!0,get:function(){return kg.clearOneofValue}});Object.defineProperty(le,"getSelectedOneofValue",{enumerable:!0,get:function(){return kg.getSelectedOneofValue}});var gB=W4();Object.defineProperty(le,"listEnumValues",{enumerable:!0,get:function(){return gB.listEnumValues}});Object.defineProperty(le,"listEnumNames",{enumerable:!0,get:function(){return gB.listEnumNames}});Object.defineProperty(le,"listEnumNumbers",{enumerable:!0,get:function(){return gB.listEnumNumbers}});Object.defineProperty(le,"isEnumObject",{enumerable:!0,get:function(){return gB.isEnumObject}});var vxe=M_();Object.defineProperty(le,"lowerCamelCase",{enumerable:!0,get:function(){return vxe.lowerCamelCase}});var Pg=ld();Object.defineProperty(le,"assert",{enumerable:!0,get:function(){return Pg.assert}});Object.defineProperty(le,"assertNever",{enumerable:!0,get:function(){return Pg.assertNever}});Object.defineProperty(le,"assertInt32",{enumerable:!0,get:function(){return Pg.assertInt32}});Object.defineProperty(le,"assertUInt32",{enumerable:!0,get:function(){return Pg.assertUInt32}});Object.defineProperty(le,"assertFloat32",{enumerable:!0,get:function(){return Pg.assertFloat32}})});var n$=h(mB=>{"use strict";Object.defineProperty(mB,"__esModule",{value:!0});mB.CacheScope=void 0;var t$=Gr(),r$=Gr(),_xe=Gr(),Dxe=Gr(),kxe=Gr(),sD=class extends kxe.MessageType{constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){let r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,Dxe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,_xe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,A]=e.tag();switch(a){case 1:s.scope=e.string();break;case 2:s.permission=e.int64().toString();break;default:let c=n.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${A}) for ${this.typeName}`);let l=e.skip(A);c!==!1&&(c===!0?r$.UnknownFieldHandler.onRead:c)(this.typeName,s,a,A,l)}}return s}internalBinaryWrite(e,r,n){e.scope!==""&&r.tag(1,t$.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,t$.WireType.Varint).int64(e.permission);let i=n.writeUnknownFields;return i!==!1&&(i==!0?r$.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};mB.CacheScope=new sD});var o$=h(pB=>{"use strict";Object.defineProperty(pB,"__esModule",{value:!0});pB.CacheMetadata=void 0;var i$=Gr(),s$=Gr(),Pxe=Gr(),Txe=Gr(),Oxe=Gr(),oD=n$(),aD=class extends Oxe.MessageType{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:()=>oD.CacheScope}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,Txe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Pxe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,A]=e.tag();switch(a){case 1:s.repositoryId=e.int64().toString();break;case 2:s.scope.push(oD.CacheScope.internalBinaryRead(e,e.uint32(),n));break;default:let c=n.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${A}) for ${this.typeName}`);let l=e.skip(A);c!==!1&&(c===!0?s$.UnknownFieldHandler.onRead:c)(this.typeName,s,a,A,l)}}return s}internalBinaryWrite(e,r,n){e.repositoryId!=="0"&&r.tag(1,i$.WireType.Varint).int64(e.repositoryId);for(let s=0;s<e.scope.length;s++)oD.CacheScope.internalBinaryWrite(e.scope[s],r.tag(2,i$.WireType.LengthDelimited).fork(),n).join();let i=n.writeUnknownFields;return i!==!1&&(i==!0?s$.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};pB.CacheMetadata=new aD});var a$=h(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});Gt.CacheService=Gt.GetCacheEntryDownloadURLResponse=Gt.GetCacheEntryDownloadURLRequest=Gt.FinalizeCacheEntryUploadResponse=Gt.FinalizeCacheEntryUploadRequest=Gt.CreateCacheEntryResponse=Gt.CreateCacheEntryRequest=void 0;var Lxe=B4(),ir=Gr(),Si=Gr(),hd=Gr(),gd=Gr(),md=Gr(),Co=o$(),AD=class extends md.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>Co.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,gd.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,hd.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,A]=e.tag();switch(a){case 1:s.metadata=Co.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 c=n.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${A}) for ${this.typeName}`);let l=e.skip(A);c!==!1&&(c===!0?Si.UnknownFieldHandler.onRead:c)(this.typeName,s,a,A,l)}}return s}internalBinaryWrite(e,r,n){e.metadata&&Co.CacheMetadata.internalBinaryWrite(e.metadata,r.tag(1,ir.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,ir.WireType.LengthDelimited).string(e.key),e.version!==""&&r.tag(3,ir.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Si.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Gt.CreateCacheEntryRequest=new AD;var cD=class extends md.MessageType{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,gd.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,hd.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,A]=e.tag();switch(a){case 1:s.ok=e.bool();break;case 2:s.signedUploadUrl=e.string();break;case 3:s.message=e.string();break;default:let c=n.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${A}) for ${this.typeName}`);let l=e.skip(A);c!==!1&&(c===!0?Si.UnknownFieldHandler.onRead:c)(this.typeName,s,a,A,l)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,ir.WireType.Varint).bool(e.ok),e.signedUploadUrl!==""&&r.tag(2,ir.WireType.LengthDelimited).string(e.signedUploadUrl),e.message!==""&&r.tag(3,ir.WireType.LengthDelimited).string(e.message);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Si.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Gt.CreateCacheEntryResponse=new cD;var lD=class extends md.MessageType{constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadRequest",[{no:1,name:"metadata",kind:"message",T:()=>Co.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,gd.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,hd.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,A]=e.tag();switch(a){case 1:s.metadata=Co.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 c=n.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${A}) for ${this.typeName}`);let l=e.skip(A);c!==!1&&(c===!0?Si.UnknownFieldHandler.onRead:c)(this.typeName,s,a,A,l)}}return s}internalBinaryWrite(e,r,n){e.metadata&&Co.CacheMetadata.internalBinaryWrite(e.metadata,r.tag(1,ir.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,ir.WireType.LengthDelimited).string(e.key),e.sizeBytes!=="0"&&r.tag(3,ir.WireType.Varint).int64(e.sizeBytes),e.version!==""&&r.tag(4,ir.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Si.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Gt.FinalizeCacheEntryUploadRequest=new lD;var uD=class extends md.MessageType{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,gd.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,hd.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,A]=e.tag();switch(a){case 1:s.ok=e.bool();break;case 2:s.entryId=e.int64().toString();break;case 3:s.message=e.string();break;default:let c=n.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${A}) for ${this.typeName}`);let l=e.skip(A);c!==!1&&(c===!0?Si.UnknownFieldHandler.onRead:c)(this.typeName,s,a,A,l)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,ir.WireType.Varint).bool(e.ok),e.entryId!=="0"&&r.tag(2,ir.WireType.Varint).int64(e.entryId),e.message!==""&&r.tag(3,ir.WireType.LengthDelimited).string(e.message);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Si.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Gt.FinalizeCacheEntryUploadResponse=new uD;var dD=class extends md.MessageType{constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLRequest",[{no:1,name:"metadata",kind:"message",T:()=>Co.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,gd.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,hd.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,A]=e.tag();switch(a){case 1:s.metadata=Co.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 c=n.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${A}) for ${this.typeName}`);let l=e.skip(A);c!==!1&&(c===!0?Si.UnknownFieldHandler.onRead:c)(this.typeName,s,a,A,l)}}return s}internalBinaryWrite(e,r,n){e.metadata&&Co.CacheMetadata.internalBinaryWrite(e.metadata,r.tag(1,ir.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,ir.WireType.LengthDelimited).string(e.key);for(let s=0;s<e.restoreKeys.length;s++)r.tag(3,ir.WireType.LengthDelimited).string(e.restoreKeys[s]);e.version!==""&&r.tag(4,ir.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Si.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Gt.GetCacheEntryDownloadURLRequest=new dD;var fD=class extends md.MessageType{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,gd.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,hd.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,A]=e.tag();switch(a){case 1:s.ok=e.bool();break;case 2:s.signedDownloadUrl=e.string();break;case 3:s.matchedKey=e.string();break;default:let c=n.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${A}) for ${this.typeName}`);let l=e.skip(A);c!==!1&&(c===!0?Si.UnknownFieldHandler.onRead:c)(this.typeName,s,a,A,l)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,ir.WireType.Varint).bool(e.ok),e.signedDownloadUrl!==""&&r.tag(2,ir.WireType.LengthDelimited).string(e.signedDownloadUrl),e.matchedKey!==""&&r.tag(3,ir.WireType.LengthDelimited).string(e.matchedKey);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Si.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Gt.GetCacheEntryDownloadURLResponse=new fD;Gt.CacheService=new Lxe.ServiceType("github.actions.results.api.v1.CacheService",[{name:"CreateCacheEntry",options:{},I:Gt.CreateCacheEntryRequest,O:Gt.CreateCacheEntryResponse},{name:"FinalizeCacheEntryUpload",options:{},I:Gt.FinalizeCacheEntryUploadRequest,O:Gt.FinalizeCacheEntryUploadResponse},{name:"GetCacheEntryDownloadURL",options:{},I:Gt.GetCacheEntryDownloadURLRequest,O:Gt.GetCacheEntryDownloadURLResponse}])});var A$=h(pd=>{"use strict";Object.defineProperty(pd,"__esModule",{value:!0});pd.CacheServiceClientProtobuf=pd.CacheServiceClientJSON=void 0;var xi=a$(),hD=class{constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=xi.CreateCacheEntryRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",r).then(i=>xi.CreateCacheEntryResponse.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=xi.FinalizeCacheEntryUploadRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(i=>xi.FinalizeCacheEntryUploadResponse.fromJson(i,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=xi.GetCacheEntryDownloadURLRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(i=>xi.GetCacheEntryDownloadURLResponse.fromJson(i,{ignoreUnknownFields:!0}))}};pd.CacheServiceClientJSON=hD;var gD=class{constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=xi.CreateCacheEntryRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",r).then(i=>xi.CreateCacheEntryResponse.fromBinary(i))}FinalizeCacheEntryUpload(e){let r=xi.FinalizeCacheEntryUploadRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",r).then(i=>xi.FinalizeCacheEntryUploadResponse.fromBinary(i))}GetCacheEntryDownloadURL(e){let r=xi.GetCacheEntryDownloadURLRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",r).then(i=>xi.GetCacheEntryDownloadURLResponse.fromBinary(i))}};pd.CacheServiceClientProtobuf=gD});var c$=h(yd=>{"use strict";Object.defineProperty(yd,"__esModule",{value:!0});yd.maskSecretUrls=yd.maskSigUrl=void 0;var yB=at();function mD(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&((0,yB.setSecret)(r),(0,yB.setSecret)(encodeURIComponent(r)))}catch(e){(0,yB.debug)(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}yd.maskSigUrl=mD;function Mxe(t){if(typeof t!="object"||t===null){(0,yB.debug)("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&mD(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&mD(t.signed_download_url)}yd.maskSecretUrls=Mxe});var l$=h(Id=>{"use strict";var EB=Id&&Id.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(Id,"__esModule",{value:!0});Id.internalCacheTwirpClient=void 0;var Ed=at(),Fxe=Fv(),Tg=Dv(),Uxe=XC(),qxe=gl(),Hxe=wy(),Cd=AA(),jxe=A$(),zxe=c$(),pD=class{constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=(0,qxe.getRuntimeToken)();this.baseUrl=(0,Uxe.getCacheServiceURL)(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new Cd.HttpClient(e,[new Hxe.BearerCredentialHandler(s)])}request(e,r,n,i){return EB(this,void 0,void 0,function*(){let s=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;(0,Ed.debug)(`[Request] ${r} ${s}`);let o={"Content-Type":n};try{let{body:a}=yield this.retryableRequest(()=>EB(this,void 0,void 0,function*(){return this.httpClient.post(s,JSON.stringify(i),o)}));return a}catch(a){throw new Error(`Failed to ${r}: ${a.message}`)}})}retryableRequest(e){return EB(this,void 0,void 0,function*(){let r=0,n="",i="";for(;r<this.maxAttempts;){let s=!1;try{let a=yield e(),A=a.message.statusCode;i=yield a.readBody(),(0,Ed.debug)(`[Response] - ${a.message.statusCode}`),(0,Ed.debug)(`Headers: ${JSON.stringify(a.message.headers,null,2)}`);let c=JSON.parse(i);if((0,zxe.maskSecretUrls)(c),(0,Ed.debug)(`Body: ${JSON.stringify(c,null,2)}`),this.isSuccessStatusCode(A))return{response:a,body:c};if(s=this.isRetryableHttpStatusCode(A),n=`Failed request: (${A}) ${a.message.statusMessage}`,c.msg){if(Tg.UsageError.isUsageErrorMessage(c.msg))throw new Tg.UsageError;n=`${n}: ${c.msg}`}}catch(a){if(a instanceof SyntaxError&&(0,Ed.debug)(`Raw Body: ${i}`),a instanceof Tg.UsageError)throw a;if(Tg.NetworkError.isNetworkErrorCode(a?.code))throw new Tg.NetworkError(a?.code);s=!0,n=a.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 o=this.getExponentialRetryTimeMilliseconds(r);(0,Ed.info)(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${n}. Retrying request in ${o} ms...`),yield this.sleep(o),r++}throw new Error("Request failed")})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[Cd.HttpCodes.BadGateway,Cd.HttpCodes.GatewayTimeout,Cd.HttpCodes.InternalServerError,Cd.HttpCodes.ServiceUnavailable,Cd.HttpCodes.TooManyRequests].includes(e):!1}sleep(e){return EB(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 Gxe(t){let e=new pD((0,Fxe.getUserAgentString)(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new jxe.CacheServiceClientJSON(e)}Id.internalCacheTwirpClient=Gxe});var f$=h(Yr=>{"use strict";var Yxe=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]})),Jxe=Yr&&Yr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),yD=Yr&&Yr.__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)&&Yxe(e,t,r);return Jxe(e,t),e},Io=Yr&&Yr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(Yr,"__esModule",{value:!0});Yr.createTar=Yr.extractTar=Yr.listTar=void 0;var Vxe=Of(),CB=yD(xy()),u$=require("fs"),es=yD(require("path")),ED=yD(gl()),Nt=Vf(),Qa=process.platform==="win32";function Wxe(){return Io(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield ED.getGnuTarPathOnWindows(),e=Nt.SystemTarPathOnWindows;if(t)return{path:t,type:Nt.ArchiveToolType.GNU};if((0,u$.existsSync)(e))return{path:e,type:Nt.ArchiveToolType.BSD};break}case"darwin":{let t=yield CB.which("gtar",!1);return t?{path:t,type:Nt.ArchiveToolType.GNU}:{path:yield CB.which("tar",!0),type:Nt.ArchiveToolType.BSD}}default:break}return{path:yield CB.which("tar",!0),type:Nt.ArchiveToolType.GNU}})}function $xe(t,e,r,n=""){return Io(this,void 0,void 0,function*(){let i=[`"${t.path}"`],s=ED.getCacheFileName(e),o="cache.tar",a=d$(),A=t.type===Nt.ArchiveToolType.BSD&&e!==Nt.CompressionMethod.Gzip&&Qa;switch(r){case"create":i.push("--posix","-cf",A?o:s.replace(new RegExp(`\\${es.sep}`,"g"),"/"),"--exclude",A?o:s.replace(new RegExp(`\\${es.sep}`,"g"),"/"),"-P","-C",a.replace(new RegExp(`\\${es.sep}`,"g"),"/"),"--files-from",Nt.ManifestFilename);break;case"extract":i.push("-xf",A?o:n.replace(new RegExp(`\\${es.sep}`,"g"),"/"),"-P","-C",a.replace(new RegExp(`\\${es.sep}`,"g"),"/"));break;case"list":i.push("-tf",A?o:n.replace(new RegExp(`\\${es.sep}`,"g"),"/"),"-P");break}if(t.type===Nt.ArchiveToolType.GNU)switch(process.platform){case"win32":i.push("--force-local");break;case"darwin":i.push("--delay-directory-restore");break}return i})}function CD(t,e,r=""){return Io(this,void 0,void 0,function*(){let n,i=yield Wxe(),s=yield $xe(i,t,e,r),o=e!=="create"?yield Kxe(i,t,r):yield Xxe(i,t),a=i.type===Nt.ArchiveToolType.BSD&&t!==Nt.CompressionMethod.Gzip&&Qa;return a&&e!=="create"?n=[[...o].join(" "),[...s].join(" ")]:n=[[...s].join(" "),[...o].join(" ")],a?n:[n.join(" ")]})}function d$(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}function Kxe(t,e,r){return Io(this,void 0,void 0,function*(){let n=t.type===Nt.ArchiveToolType.BSD&&e!==Nt.CompressionMethod.Gzip&&Qa;switch(e){case Nt.CompressionMethod.Zstd:return n?["zstd -d --long=30 --force -o",Nt.TarFilename,r.replace(new RegExp(`\\${es.sep}`,"g"),"/")]:["--use-compress-program",Qa?'"zstd -d --long=30"':"unzstd --long=30"];case Nt.CompressionMethod.ZstdWithoutLong:return n?["zstd -d --force -o",Nt.TarFilename,r.replace(new RegExp(`\\${es.sep}`,"g"),"/")]:["--use-compress-program",Qa?'"zstd -d"':"unzstd"];default:return["-z"]}})}function Xxe(t,e){return Io(this,void 0,void 0,function*(){let r=ED.getCacheFileName(e),n=t.type===Nt.ArchiveToolType.BSD&&e!==Nt.CompressionMethod.Gzip&&Qa;switch(e){case Nt.CompressionMethod.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${es.sep}`,"g"),"/"),Nt.TarFilename]:["--use-compress-program",Qa?'"zstd -T0 --long=30"':"zstdmt --long=30"];case Nt.CompressionMethod.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${es.sep}`,"g"),"/"),Nt.TarFilename]:["--use-compress-program",Qa?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}function ID(t,e){return Io(this,void 0,void 0,function*(){for(let r of t)try{yield(0,Vxe.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}`)}})}function Zxe(t,e){return Io(this,void 0,void 0,function*(){let r=yield CD(e,"list",t);yield ID(r)})}Yr.listTar=Zxe;function eRe(t,e){return Io(this,void 0,void 0,function*(){let r=d$();yield CB.mkdirP(r);let n=yield CD(e,"extract",t);yield ID(n)})}Yr.extractTar=eRe;function tRe(t,e,r){return Io(this,void 0,void 0,function*(){(0,u$.writeFileSync)(es.join(t,Nt.ManifestFilename),e.join(`
|
||
`));let n=yield CD(r,"create");yield ID(n,t)})}Yr.createTar=tRe});var bB=h(Yt=>{"use strict";var rRe=Yt&&Yt.__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]})),nRe=Yt&&Yt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Lg=Yt&&Yt.__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)&&rRe(e,t,r);return nRe(e,t),e},Qd=Yt&&Yt.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(Yt,"__esModule",{value:!0});Yt.saveCache=Yt.restoreCache=Yt.isFeatureAvailable=Yt.FinalizeCacheError=Yt.ReserveCacheError=Yt.ValidationError=void 0;var he=Lg(at()),IB=Lg(require("path")),_t=Lg(gl()),Bd=Lg(T3()),h$=Lg(l$()),BB=XC(),ba=f$(),QB=AA(),Ri=class t extends Error{constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}};Yt.ValidationError=Ri;var UA=class t extends Error{constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}};Yt.ReserveCacheError=UA;var Og=class t extends Error{constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};Yt.FinalizeCacheError=Og;function g$(t){if(!t||t.length===0)throw new Ri("Path Validation Error: At least one directory or file path is required")}function BD(t){if(t.length>512)throw new Ri(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Ri(`Key Validation Error: ${t} cannot contain commas.`)}function iRe(){return(0,BB.getCacheServiceVersion)()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}Yt.isFeatureAvailable=iRe;function sRe(t,e,r,n,i=!1){return Qd(this,void 0,void 0,function*(){let s=(0,BB.getCacheServiceVersion)();return he.debug(`Cache service version: ${s}`),g$(t),s==="v2"?yield aRe(t,e,r,n,i):yield oRe(t,e,r,n,i)})}Yt.restoreCache=sRe;function oRe(t,e,r,n,i=!1){return Qd(this,void 0,void 0,function*(){r=r||[];let s=[e,...r];if(he.debug("Resolved Keys:"),he.debug(JSON.stringify(s)),s.length>10)throw new Ri("Key Validation Error: Keys are limited to a maximum of 10.");for(let A of s)BD(A);let o=yield _t.getCompressionMethod(),a="";try{let A=yield Bd.getCacheEntry(s,t,{compressionMethod:o,enableCrossOsArchive:i});if(!A?.archiveLocation)return;if(n?.lookupOnly)return he.info("Lookup only - skipping download"),A.cacheKey;a=IB.join(yield _t.createTempDirectory(),_t.getCacheFileName(o)),he.debug(`Archive Path: ${a}`),yield Bd.downloadCache(A.archiveLocation,a,n),he.isDebug()&&(yield(0,ba.listTar)(a,o));let c=_t.getArchiveFileSizeInBytes(a);return he.info(`Cache Size: ~${Math.round(c/(1024*1024))} MB (${c} B)`),yield(0,ba.extractTar)(a,o),he.info("Cache restored successfully"),A.cacheKey}catch(A){let c=A;if(c.name===Ri.name)throw A;c instanceof QB.HttpClientError&&typeof c.statusCode=="number"&&c.statusCode>=500?he.error(`Failed to restore: ${A.message}`):he.warning(`Failed to restore: ${A.message}`)}finally{try{yield _t.unlinkFile(a)}catch(A){he.debug(`Failed to delete archive: ${A}`)}}})}function aRe(t,e,r,n,i=!1){return Qd(this,void 0,void 0,function*(){n=Object.assign(Object.assign({},n),{useAzureSdk:!0}),r=r||[];let s=[e,...r];if(he.debug("Resolved Keys:"),he.debug(JSON.stringify(s)),s.length>10)throw new Ri("Key Validation Error: Keys are limited to a maximum of 10.");for(let a of s)BD(a);let o="";try{let a=h$.internalCacheTwirpClient(),A=yield _t.getCompressionMethod(),c={key:e,restoreKeys:r,version:_t.getCacheVersion(t,A,i)},l=yield a.GetCacheEntryDownloadURL(c);if(!l.ok){he.debug(`Cache not found for version ${c.version} of keys: ${s.join(", ")}`);return}if(c.key!==l.matchedKey?he.info(`Cache hit for restore-key: ${l.matchedKey}`):he.info(`Cache hit for: ${l.matchedKey}`),n?.lookupOnly)return he.info("Lookup only - skipping download"),l.matchedKey;o=IB.join(yield _t.createTempDirectory(),_t.getCacheFileName(A)),he.debug(`Archive path: ${o}`),he.debug(`Starting download of archive to: ${o}`),yield Bd.downloadCache(l.signedDownloadUrl,o,n);let d=_t.getArchiveFileSizeInBytes(o);return he.info(`Cache Size: ~${Math.round(d/(1024*1024))} MB (${d} B)`),he.isDebug()&&(yield(0,ba.listTar)(o,A)),yield(0,ba.extractTar)(o,A),he.info("Cache restored successfully"),l.matchedKey}catch(a){let A=a;if(A.name===Ri.name)throw a;A instanceof QB.HttpClientError&&typeof A.statusCode=="number"&&A.statusCode>=500?he.error(`Failed to restore: ${a.message}`):he.warning(`Failed to restore: ${a.message}`)}finally{try{o&&(yield _t.unlinkFile(o))}catch(a){he.debug(`Failed to delete archive: ${a}`)}}})}function ARe(t,e,r,n=!1){return Qd(this,void 0,void 0,function*(){let i=(0,BB.getCacheServiceVersion)();return he.debug(`Cache service version: ${i}`),g$(t),BD(e),i==="v2"?yield lRe(t,e,r,n):yield cRe(t,e,r,n)})}Yt.saveCache=ARe;function cRe(t,e,r,n=!1){var i,s,o,a,A;return Qd(this,void 0,void 0,function*(){let c=yield _t.getCompressionMethod(),l=-1,u=yield _t.resolvePaths(t);if(he.debug("Cache Paths:"),he.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 _t.createTempDirectory(),f=IB.join(d,_t.getCacheFileName(c));he.debug(`Archive Path: ${f}`);try{yield(0,ba.createTar)(d,u,c),he.isDebug()&&(yield(0,ba.listTar)(f,c));let g=10*1024*1024*1024,m=_t.getArchiveFileSizeInBytes(f);if(he.debug(`File Size: ${m}`),m>g&&!(0,BB.isGhes)())throw new Error(`Cache size of ~${Math.round(m/(1024*1024))} MB (${m} B) is over the 10GB limit, not saving cache.`);he.debug("Reserving Cache");let E=yield Bd.reserveCache(e,t,{compressionMethod:c,enableCrossOsArchive:n,cacheSize:m});if(!((i=E?.result)===null||i===void 0)&&i.cacheId)l=(s=E?.result)===null||s===void 0?void 0:s.cacheId;else throw E?.statusCode===400?new Error((a=(o=E?.error)===null||o===void 0?void 0:o.message)!==null&&a!==void 0?a:`Cache size of ~${Math.round(m/(1024*1024))} MB (${m} B) is over the data cap limit, not saving cache.`):new UA(`Unable to reserve cache with key ${e}, another job may be creating this cache. More details: ${(A=E?.error)===null||A===void 0?void 0:A.message}`);he.debug(`Saving Cache (ID: ${l})`),yield Bd.saveCache(l,f,"",r)}catch(g){let m=g;if(m.name===Ri.name)throw g;m.name===UA.name?he.info(`Failed to save: ${m.message}`):m instanceof QB.HttpClientError&&typeof m.statusCode=="number"&&m.statusCode>=500?he.error(`Failed to save: ${m.message}`):he.warning(`Failed to save: ${m.message}`)}finally{try{yield _t.unlinkFile(f)}catch(g){he.debug(`Failed to delete archive: ${g}`)}}return l})}function lRe(t,e,r,n=!1){return Qd(this,void 0,void 0,function*(){r=Object.assign(Object.assign({},r),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let i=yield _t.getCompressionMethod(),s=h$.internalCacheTwirpClient(),o=-1,a=yield _t.resolvePaths(t);if(he.debug("Cache Paths:"),he.debug(`${JSON.stringify(a)}`),a.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let A=yield _t.createTempDirectory(),c=IB.join(A,_t.getCacheFileName(i));he.debug(`Archive Path: ${c}`);try{yield(0,ba.createTar)(A,a,i),he.isDebug()&&(yield(0,ba.listTar)(c,i));let l=_t.getArchiveFileSizeInBytes(c);he.debug(`File Size: ${l}`),r.archiveSizeBytes=l,he.debug("Reserving Cache");let u=_t.getCacheVersion(t,i,n),d={key:e,version:u},f;try{let E=yield s.CreateCacheEntry(d);if(!E.ok)throw E.message&&he.warning(`Cache reservation failed: ${E.message}`),new Error(E.message||"Response was not ok");f=E.signedUploadUrl}catch(E){throw he.debug(`Failed to reserve cache: ${E}`),new UA(`Unable to reserve cache with key ${e}, another job may be creating this cache.`)}he.debug(`Attempting to upload cache located at: ${c}`),yield Bd.saveCache(o,c,f,r);let g={key:e,version:u,sizeBytes:`${l}`},m=yield s.FinalizeCacheEntryUpload(g);if(he.debug(`FinalizeCacheEntryUploadResponse: ${m.ok}`),!m.ok)throw m.message?new Og(m.message):new Error(`Unable to finalize cache with key ${e}, another job may be finalizing this cache.`);o=parseInt(m.entryId)}catch(l){let u=l;if(u.name===Ri.name)throw l;u.name===UA.name?he.info(`Failed to save: ${u.message}`):u.name===Og.name?he.warning(u.message):u instanceof QB.HttpClientError&&typeof u.statusCode=="number"&&u.statusCode>=500?he.error(`Failed to save: ${u.message}`):he.warning(`Failed to save: ${u.message}`)}finally{try{yield _t.unlinkFile(c)}catch(l){he.debug(`Failed to delete archive: ${l}`)}}return o})}});var m$=h(Ts=>{"use strict";var uRe=Ts&&Ts.__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]})),dRe=Ts&&Ts.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),fRe=Ts&&Ts.__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)&&uRe(e,t,r);return dRe(e,t),e};Object.defineProperty(Ts,"__esModule",{value:!0});Ts.getOptions=void 0;var Mg=fRe(at());function hRe(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,Mg.debug(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,Mg.debug(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,Mg.debug(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,Mg.debug(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,Mg.debug(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}Ts.getOptions=hRe});var wB=h(Jt=>{"use strict";var gRe=Jt&&Jt.__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]})),mRe=Jt&&Jt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),pRe=Jt&&Jt.__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)&&gRe(e,t,r);return mRe(e,t),e},yRe=Jt&&Jt.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.safeTrimTrailingSeparator=Jt.normalizeSeparators=Jt.hasRoot=Jt.hasAbsoluteRoot=Jt.ensureAbsoluteRoot=Jt.dirname=void 0;var NB=pRe(require("path")),qA=yRe(require("assert")),Na=process.platform==="win32";function ERe(t){if(t=bD(t),Na&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=NB.dirname(t);return Na&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=bD(e)),e}Jt.dirname=ERe;function CRe(t,e){if((0,qA.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,qA.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),QD(e))return e;if(Na){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,qA.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(Fg(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,qA.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,qA.default)(QD(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||Na&&t.endsWith("\\")||(t+=NB.sep),t+e}Jt.ensureAbsoluteRoot=CRe;function QD(t){return(0,qA.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=Fg(t),Na?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}Jt.hasAbsoluteRoot=QD;function IRe(t){return(0,qA.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=Fg(t),Na?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}Jt.hasRoot=IRe;function Fg(t){return t=t||"",Na?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}Jt.normalizeSeparators=Fg;function bD(t){return t?(t=Fg(t),!t.endsWith(NB.sep)||t===NB.sep||Na&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}Jt.safeTrimTrailingSeparator=bD});var xB=h(SB=>{"use strict";Object.defineProperty(SB,"__esModule",{value:!0});SB.MatchKind=void 0;var p$;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(p$||(SB.MatchKind=p$={}))});var C$=h(vn=>{"use strict";var BRe=vn&&vn.__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]})),QRe=vn&&vn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),bRe=vn&&vn.__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)&&BRe(e,t,r);return QRe(e,t),e};Object.defineProperty(vn,"__esModule",{value:!0});vn.partialMatch=vn.match=vn.getSearchPaths=void 0;var y$=bRe(wB()),NRe=xB(),E$=process.platform==="win32";function wRe(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let i=E$?n.searchPath.toUpperCase():n.searchPath;e[i]="candidate"}let r=[];for(let n of t){let i=E$?n.searchPath.toUpperCase():n.searchPath;if(e[i]==="included")continue;let s=!1,o=i,a=y$.dirname(o);for(;a!==o;){if(e[a]){s=!0;break}o=a,a=y$.dirname(o)}s||(r.push(n.searchPath),e[i]="included")}return r}vn.getSearchPaths=wRe;function SRe(t,e){let r=NRe.MatchKind.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}vn.match=SRe;function xRe(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}vn.partialMatch=xRe});var B$=h(vi=>{"use strict";var RRe=vi&&vi.__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]})),vRe=vi&&vi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),I$=vi&&vi.__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)&&RRe(e,t,r);return vRe(e,t),e},_Re=vi&&vi.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(vi,"__esModule",{value:!0});vi.Path=void 0;var Ug=I$(require("path")),wa=I$(wB()),qg=_Re(require("assert")),DRe=process.platform==="win32",ND=class{constructor(e){if(this.segments=[],typeof e=="string")if((0,qg.default)(e,"Parameter 'itemPath' must not be empty"),e=wa.safeTrimTrailingSeparator(e),!wa.hasRoot(e))this.segments=e.split(Ug.sep);else{let r=e,n=wa.dirname(r);for(;n!==r;){let i=Ug.basename(r);this.segments.unshift(i),r=n,n=wa.dirname(r)}this.segments.unshift(r)}else{(0,qg.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,qg.default)(n,"Parameter 'itemPath' must not contain any empty segments"),n=wa.normalizeSeparators(e[r]),r===0&&wa.hasRoot(n)?(n=wa.safeTrimTrailingSeparator(n),(0,qg.default)(n===wa.dirname(n),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(n)):((0,qg.default)(!n.includes(Ug.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(n))}}}toString(){let e=this.segments[0],r=e.endsWith(Ug.sep)||DRe&&/^[A-Z]:$/i.test(e);for(let n=1;n<this.segments.length;n++)r?r=!1:e+=Ug.sep,e+=this.segments[n];return e}};vi.Path=ND});var Q$=h(_i=>{"use strict";var kRe=_i&&_i.__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]})),PRe=_i&&_i.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),xD=_i&&_i.__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)&&kRe(e,t,r);return PRe(e,t),e},TRe=_i&&_i.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_i,"__esModule",{value:!0});_i.Pattern=void 0;var ORe=xD(require("os")),Hg=xD(require("path")),_n=xD(wB()),HA=TRe(require("assert")),LRe=yw(),wD=xB(),RB=B$(),Bo=process.platform==="win32",SD=class t{constructor(e,r=!1,n,i){this.negate=!1;let s;if(typeof e=="string")s=e.trim();else{n=n||[],(0,HA.default)(n.length,"Parameter 'segments' must not empty");let c=t.getLiteral(n[0]);(0,HA.default)(c&&_n.hasAbsoluteRoot(c),"Parameter 'segments' first element must be a root path"),s=new RB.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 RB.Path(s).segments,this.trailingSeparator=_n.normalizeSeparators(s).endsWith(Hg.sep),s=_n.safeTrimTrailingSeparator(s);let o=!1,a=this.segments.map(c=>t.getLiteral(c)).filter(c=>!o&&!(o=c===""));this.searchPath=new RB.Path(a).toString(),this.rootRegExp=new RegExp(t.regExpEscape(a[0]),Bo?"i":""),this.isImplicitPattern=r;let A={dot:!0,nobrace:!0,nocase:Bo,nocomment:!0,noext:!0,nonegate:!0};s=Bo?s.replace(/\\/g,"/"):s,this.minimatch=new LRe.Minimatch(s,A)}match(e){return this.segments[this.segments.length-1]==="**"?(e=_n.normalizeSeparators(e),!e.endsWith(Hg.sep)&&this.isImplicitPattern===!1&&(e=`${e}${Hg.sep}`)):e=_n.safeTrimTrailingSeparator(e),this.minimatch.match(e)?this.trailingSeparator?wD.MatchKind.Directory:wD.MatchKind.All:wD.MatchKind.None}partialMatch(e){return e=_n.safeTrimTrailingSeparator(e),_n.dirname(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Bo?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Bo?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,HA.default)(e,"pattern cannot be empty");let n=new RB.Path(e).segments.map(i=>t.getLiteral(i));if((0,HA.default)(n.every((i,s)=>(i!=="."||s===0)&&i!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,HA.default)(!_n.hasRoot(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=_n.normalizeSeparators(e),e==="."||e.startsWith(`.${Hg.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${Hg.sep}`))r=r||ORe.homedir(),(0,HA.default)(r,"Unable to determine HOME directory"),(0,HA.default)(_n.hasAbsoluteRoot(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Bo&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let i=_n.ensureAbsoluteRoot("C:\\dummy-root",e.substr(0,2));e.length>2&&!i.endsWith("\\")&&(i+="\\"),e=t.globEscape(i)+e.substr(2)}else if(Bo&&(e==="\\"||e.match(/^\\[^\\]/))){let i=_n.ensureAbsoluteRoot("C:\\dummy-root","\\");i.endsWith("\\")||(i+="\\"),e=t.globEscape(i)+e.substr(1)}else e=_n.ensureAbsoluteRoot(t.globEscape(process.cwd()),e);return _n.normalizeSeparators(e)}static getLiteral(e){let r="";for(let n=0;n<e.length;n++){let i=e[n];if(i==="\\"&&!Bo&&n+1<e.length){r+=e[++n];continue}else{if(i==="*"||i==="?")return"";if(i==="["&&n+1<e.length){let s="",o=-1;for(let a=n+1;a<e.length;a++){let A=e[a];if(A==="\\"&&!Bo&&a+1<e.length){s+=e[++a];continue}else if(A==="]"){o=a;break}else s+=A}if(o>=0){if(s.length>1)return"";if(s){r+=s,n=o;continue}}}}r+=i}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};_i.Pattern=SD});var b$=h(vB=>{"use strict";Object.defineProperty(vB,"__esModule",{value:!0});vB.SearchState=void 0;var RD=class{constructor(e,r){this.path=e,this.level=r}};vB.SearchState=RD});var v$=h(Sr=>{"use strict";var MRe=Sr&&Sr.__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]})),FRe=Sr&&Sr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),zg=Sr&&Sr.__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)&&MRe(e,t,r);return FRe(e,t),e},vD=Sr&&Sr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})},URe=Sr&&Sr.__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(o){return new Promise(function(a,A){o=t[s](o),i(a,A,o.done,o.value)})}}function i(s,o,a,A){Promise.resolve(A).then(function(c){s({value:c,done:a})},o)}},Sa=Sr&&Sr.__await||function(t){return this instanceof Sa?(this.v=t,this):new Sa(t)},qRe=Sr&&Sr.__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={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(d){n[d]&&(i[d]=function(f){return new Promise(function(g,m){s.push([d,f,g,m])>1||a(d,f)})})}function a(d,f){try{A(n[d](f))}catch(g){u(s[0][3],g)}}function A(d){d.value instanceof Sa?Promise.resolve(d.value.v).then(c,l):u(s[0][2],d)}function c(d){a("next",d)}function l(d){a("throw",d)}function u(d,f){d(f),s.shift(),s.length&&a(s[0][0],s[0][1])}};Object.defineProperty(Sr,"__esModule",{value:!0});Sr.DefaultGlobber=void 0;var _D=zg(at()),jg=zg(require("fs")),N$=zg(m$()),w$=zg(require("path")),_B=zg(C$()),S$=xB(),x$=Q$(),R$=b$(),HRe=process.platform==="win32",DD=class t{constructor(e){this.patterns=[],this.searchPaths=[],this.options=N$.getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){var e,r,n,i;return vD(this,void 0,void 0,function*(){let s=[];try{for(var o=!0,a=URe(this.globGenerator()),A;A=yield a.next(),e=A.done,!e;o=!0){i=A.value,o=!1;let c=i;s.push(c)}}catch(c){r={error:c}}finally{try{!o&&!e&&(n=a.return)&&(yield n.call(a))}finally{if(r)throw r.error}}return s})}globGenerator(){return qRe(this,arguments,function*(){let r=N$.getOptions(this.options),n=[];for(let o of this.patterns)n.push(o),r.implicitDescendants&&(o.trailingSeparator||o.segments[o.segments.length-1]!=="**")&&n.push(new x$.Pattern(o.negate,!0,o.segments.concat("**")));let i=[];for(let o of _B.getSearchPaths(n)){_D.debug(`Search path '${o}'`);try{yield Sa(jg.promises.lstat(o))}catch(a){if(a.code==="ENOENT")continue;throw a}i.unshift(new R$.SearchState(o,1))}let s=[];for(;i.length;){let o=i.pop(),a=_B.match(n,o.path),A=!!a||_B.partialMatch(n,o.path);if(!a&&!A)continue;let c=yield Sa(t.stat(o,r,s));if(c&&!(r.excludeHiddenFiles&&w$.basename(o.path).match(/^\./)))if(c.isDirectory()){if(a&S$.MatchKind.Directory&&r.matchDirectories)yield yield Sa(o.path);else if(!A)continue;let l=o.level+1,u=(yield Sa(jg.promises.readdir(o.path))).map(d=>new R$.SearchState(w$.join(o.path,d),l));i.push(...u.reverse())}else a&S$.MatchKind.File&&(yield yield Sa(o.path))}})}static create(e,r){return vD(this,void 0,void 0,function*(){let n=new t(r);HRe&&(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 x$.Pattern(s));return n.searchPaths.push(..._B.getSearchPaths(n.patterns)),n})}static stat(e,r,n){return vD(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield jg.promises.stat(e.path)}catch(s){if(s.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){_D.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 jg.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let s=yield jg.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(o=>o===s)){_D.debug(`Symlink cycle detected for path '${e.path}' and realpath '${s}'`);return}n.push(s)}return i})}};Sr.DefaultGlobber=DD});var P$=h(Dn=>{"use strict";var jRe=Dn&&Dn.__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]})),zRe=Dn&&Dn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),bd=Dn&&Dn.__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)&&jRe(e,t,r);return zRe(e,t),e},GRe=Dn&&Dn.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})},YRe=Dn&&Dn.__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(o){return new Promise(function(a,A){o=t[s](o),i(a,A,o.done,o.value)})}}function i(s,o,a,A){Promise.resolve(A).then(function(c){s({value:c,done:a})},o)}};Object.defineProperty(Dn,"__esModule",{value:!0});Dn.hashFiles=void 0;var _$=bd(require("crypto")),D$=bd(at()),k$=bd(require("fs")),JRe=bd(require("stream")),VRe=bd(require("util")),WRe=bd(require("path"));function $Re(t,e,r=!1){var n,i,s,o,a;return GRe(this,void 0,void 0,function*(){let A=r?D$.info:D$.debug,c=!1,l=e||((a=process.env.GITHUB_WORKSPACE)!==null&&a!==void 0?a:process.cwd()),u=_$.createHash("sha256"),d=0;try{for(var f=!0,g=YRe(t.globGenerator()),m;m=yield g.next(),n=m.done,!n;f=!0){o=m.value,f=!1;let E=o;if(A(E),!E.startsWith(`${l}${WRe.sep}`)){A(`Ignore '${E}' since it is not under GITHUB_WORKSPACE.`);continue}if(k$.statSync(E).isDirectory()){A(`Skip directory '${E}'.`);continue}let C=_$.createHash("sha256");yield VRe.promisify(JRe.pipeline)(k$.createReadStream(E),C),u.write(C.digest()),d++,c||(c=!0)}}catch(E){i={error:E}}finally{try{!f&&!n&&(s=g.return)&&(yield s.call(g))}finally{if(i)throw i.error}}return u.end(),c?(A(`Found ${d} files to hash.`),u.digest("hex")):(A("No matches found for glob"),"")})}Dn.hashFiles=$Re});var L$=h(xa=>{"use strict";var T$=xa&&xa.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(xa,"__esModule",{value:!0});xa.hashFiles=xa.create=void 0;var KRe=v$(),XRe=P$();function O$(t,e){return T$(this,void 0,void 0,function*(){return yield KRe.DefaultGlobber.create(t,e)})}xa.create=O$;function ZRe(t,e="",r,n=!1){return T$(this,void 0,void 0,function*(){let i=!0;r&&typeof r.followSymbolicLinks=="boolean"&&(i=r.followSymbolicLinks);let s=yield O$(t,{followSymbolicLinks:i});return(0,XRe.hashFiles)(s,e,n)})}xa.hashFiles=ZRe});var $$=h((M2e,W$)=>{"use strict";W$.exports=function(t){if(typeof t!="string")throw new Error("expected a string");return t.split(`
|
||
`).map(nve).filter(Boolean)};function nve(t,e){if(!t||!t.length||t.charAt(0)==="#")return null;var r=t.split(":");return{username:r[0],password:r[1],uid:r[2],gid:r[3],gecos:r[4],homedir:r[5],shell:r[6]}}});var X$=h((F2e,K$)=>{"use strict";var ive=require("fs"),sve=$$();function ove(){if(process.platform==="win32")return process.env.USERPROFILE?process.env.USERPROFILE:process.env.HOMEDRIVE&&process.env.HOMEPATH?process.env.HOMEDRIVE+process.env.HOMEPATH:process.env.HOME?process.env.HOME:null;if(process.env.HOME)return process.env.HOME;var t=cve("/etc/passwd"),e=ave(sve(t),Ave());if(e)return e;var r=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;return r?process.platform==="darwin"?"/Users/"+r:"/home/"+r:null}function ave(t,e){for(var r=t.length,n=0;n<r;n++)if(+t[n].uid===e)return t[n].homedir}function Ave(){return typeof process.geteuid=="function"?process.geteuid():process.getuid()}function cve(t){try{return ive.readFileSync(t,"utf8")}catch{return""}}K$.exports=ove});var eK=h((U2e,kD)=>{"use strict";var Z$=require("os");typeof Z$.homedir<"u"?kD.exports=Z$.homedir:kD.exports=X$()});var nK=h((q2e,rK)=>{var lve=eK(),tK=require("path");rK.exports=function(e){var r=lve();return e.charCodeAt(0)===126?e.charCodeAt(1)===43?tK.join(process.cwd(),e.slice(2)):r?tK.join(r,e.slice(1)):e:e}});var He=h(Tr=>{"use strict";var PD=Symbol.for("yaml.alias"),iK=Symbol.for("yaml.document"),DB=Symbol.for("yaml.map"),sK=Symbol.for("yaml.pair"),TD=Symbol.for("yaml.scalar"),kB=Symbol.for("yaml.seq"),Qo=Symbol.for("yaml.node.type"),uve=t=>!!t&&typeof t=="object"&&t[Qo]===PD,dve=t=>!!t&&typeof t=="object"&&t[Qo]===iK,fve=t=>!!t&&typeof t=="object"&&t[Qo]===DB,hve=t=>!!t&&typeof t=="object"&&t[Qo]===sK,oK=t=>!!t&&typeof t=="object"&&t[Qo]===TD,gve=t=>!!t&&typeof t=="object"&&t[Qo]===kB;function aK(t){if(t&&typeof t=="object")switch(t[Qo]){case DB:case kB:return!0}return!1}function mve(t){if(t&&typeof t=="object")switch(t[Qo]){case PD:case DB:case TD:case kB:return!0}return!1}var pve=t=>(oK(t)||aK(t))&&!!t.anchor;Tr.ALIAS=PD;Tr.DOC=iK;Tr.MAP=DB;Tr.NODE_TYPE=Qo;Tr.PAIR=sK;Tr.SCALAR=TD;Tr.SEQ=kB;Tr.hasAnchor=pve;Tr.isAlias=uve;Tr.isCollection=aK;Tr.isDocument=dve;Tr.isMap=fve;Tr.isNode=mve;Tr.isPair=hve;Tr.isScalar=oK;Tr.isSeq=gve});var Gg=h(OD=>{"use strict";var dr=He(),kn=Symbol("break visit"),AK=Symbol("skip children"),Os=Symbol("remove node");function PB(t,e){let r=cK(e);dr.isDocument(t)?wd(null,t.contents,r,Object.freeze([t]))===Os&&(t.contents=null):wd(null,t,r,Object.freeze([]))}PB.BREAK=kn;PB.SKIP=AK;PB.REMOVE=Os;function wd(t,e,r,n){let i=lK(t,e,r,n);if(dr.isNode(i)||dr.isPair(i))return uK(t,n,i),wd(t,i,r,n);if(typeof i!="symbol"){if(dr.isCollection(e)){n=Object.freeze(n.concat(e));for(let s=0;s<e.items.length;++s){let o=wd(s,e.items[s],r,n);if(typeof o=="number")s=o-1;else{if(o===kn)return kn;o===Os&&(e.items.splice(s,1),s-=1)}}}else if(dr.isPair(e)){n=Object.freeze(n.concat(e));let s=wd("key",e.key,r,n);if(s===kn)return kn;s===Os&&(e.key=null);let o=wd("value",e.value,r,n);if(o===kn)return kn;o===Os&&(e.value=null)}}return i}async function TB(t,e){let r=cK(e);dr.isDocument(t)?await Sd(null,t.contents,r,Object.freeze([t]))===Os&&(t.contents=null):await Sd(null,t,r,Object.freeze([]))}TB.BREAK=kn;TB.SKIP=AK;TB.REMOVE=Os;async function Sd(t,e,r,n){let i=await lK(t,e,r,n);if(dr.isNode(i)||dr.isPair(i))return uK(t,n,i),Sd(t,i,r,n);if(typeof i!="symbol"){if(dr.isCollection(e)){n=Object.freeze(n.concat(e));for(let s=0;s<e.items.length;++s){let o=await Sd(s,e.items[s],r,n);if(typeof o=="number")s=o-1;else{if(o===kn)return kn;o===Os&&(e.items.splice(s,1),s-=1)}}}else if(dr.isPair(e)){n=Object.freeze(n.concat(e));let s=await Sd("key",e.key,r,n);if(s===kn)return kn;s===Os&&(e.key=null);let o=await Sd("value",e.value,r,n);if(o===kn)return kn;o===Os&&(e.value=null)}}return i}function cK(t){return typeof t=="object"&&(t.Collection||t.Node||t.Value)?Object.assign({Alias:t.Node,Map:t.Node,Scalar:t.Node,Seq:t.Node},t.Value&&{Map:t.Value,Scalar:t.Value,Seq:t.Value},t.Collection&&{Map:t.Collection,Seq:t.Collection},t):t}function lK(t,e,r,n){if(typeof r=="function")return r(t,e,n);if(dr.isMap(e))return r.Map?.(t,e,n);if(dr.isSeq(e))return r.Seq?.(t,e,n);if(dr.isPair(e))return r.Pair?.(t,e,n);if(dr.isScalar(e))return r.Scalar?.(t,e,n);if(dr.isAlias(e))return r.Alias?.(t,e,n)}function uK(t,e,r){let n=e[e.length-1];if(dr.isCollection(n))n.items[t]=r;else if(dr.isPair(n))t==="key"?n.key=r:n.value=r;else if(dr.isDocument(n))n.contents=r;else{let i=dr.isAlias(n)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}OD.visit=PB;OD.visitAsync=TB});var LD=h(fK=>{"use strict";var dK=He(),yve=Gg(),Eve={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},Cve=t=>t.replace(/[!,[\]{}]/g,e=>Eve[e]),Yg=class t{constructor(e,r){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},t.defaultYaml,e),this.tags=Object.assign({},t.defaultTags,r)}clone(){let e=new t(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new t(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:t.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},t.defaultTags);break}return e}add(e,r){this.atNextDocument&&(this.yaml={explicit:t.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},t.defaultTags),this.atNextDocument=!1);let n=e.trim().split(/[ \t]+/),i=n.shift();switch(i){case"%TAG":{if(n.length!==2&&(r(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;let[s,o]=n;return this.tags[s]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,n.length!==1)return r(0,"%YAML directive should contain exactly one part"),!1;let[s]=n;if(s==="1.1"||s==="1.2")return this.yaml.version=s,!0;{let o=/^\d+\.\d+$/.test(s);return r(6,`Unsupported YAML version ${s}`,o),!1}}default:return r(0,`Unknown directive ${i}`,!0),!1}}tagName(e,r){if(e==="!")return"!";if(e[0]!=="!")return r(`Not a valid tag: ${e}`),null;if(e[1]==="<"){let o=e.slice(2,-1);return o==="!"||o==="!!"?(r(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==">"&&r("Verbatim tags must end with a >"),o)}let[,n,i]=e.match(/^(.*!)([^!]*)$/s);i||r(`The ${e} tag has no suffix`);let s=this.tags[n];if(s)try{return s+decodeURIComponent(i)}catch(o){return r(String(o)),null}return n==="!"?e:(r(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[r,n]of Object.entries(this.tags))if(e.startsWith(n))return r+Cve(e.substring(n.length));return e[0]==="!"?e:`!<${e}>`}toString(e){let r=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags),i;if(e&&n.length>0&&dK.isNode(e.contents)){let s={};yve.visit(e.contents,(o,a)=>{dK.isNode(a)&&a.tag&&(s[a.tag]=!0)}),i=Object.keys(s)}else i=[];for(let[s,o]of n)s==="!!"&&o==="tag:yaml.org,2002:"||(!e||i.some(a=>a.startsWith(o)))&&r.push(`%TAG ${s} ${o}`);return r.join(`
|
||
`)}};Yg.defaultYaml={explicit:!1,version:"1.2"};Yg.defaultTags={"!!":"tag:yaml.org,2002:"};fK.Directives=Yg});var OB=h(Jg=>{"use strict";var hK=He(),Ive=Gg();function Bve(t){if(/[\x00-\x19\s,[\]{}]/.test(t)){let r=`Anchor must not contain whitespace or control characters: ${JSON.stringify(t)}`;throw new Error(r)}return!0}function gK(t){let e=new Set;return Ive.visit(t,{Value(r,n){n.anchor&&e.add(n.anchor)}}),e}function mK(t,e){for(let r=1;;++r){let n=`${t}${r}`;if(!e.has(n))return n}}function Qve(t,e){let r=[],n=new Map,i=null;return{onAnchor:s=>{r.push(s),i||(i=gK(t));let o=mK(e,i);return i.add(o),o},setAnchors:()=>{for(let s of r){let o=n.get(s);if(typeof o=="object"&&o.anchor&&(hK.isScalar(o.node)||hK.isCollection(o.node)))o.node.anchor=o.anchor;else{let a=new Error("Failed to resolve repeated object (this should not happen)");throw a.source=s,a}}},sourceObjects:n}}Jg.anchorIsValid=Bve;Jg.anchorNames=gK;Jg.createNodeAnchors=Qve;Jg.findNewAnchor=mK});var MD=h(pK=>{"use strict";function Vg(t,e,r,n){if(n&&typeof n=="object")if(Array.isArray(n))for(let i=0,s=n.length;i<s;++i){let o=n[i],a=Vg(t,n,String(i),o);a===void 0?delete n[i]:a!==o&&(n[i]=a)}else if(n instanceof Map)for(let i of Array.from(n.keys())){let s=n.get(i),o=Vg(t,n,i,s);o===void 0?n.delete(i):o!==s&&n.set(i,o)}else if(n instanceof Set)for(let i of Array.from(n)){let s=Vg(t,n,i,i);s===void 0?n.delete(i):s!==i&&(n.delete(i),n.add(s))}else for(let[i,s]of Object.entries(n)){let o=Vg(t,n,i,s);o===void 0?delete n[i]:o!==s&&(n[i]=o)}return t.call(e,r,n)}pK.applyReviver=Vg});var Ra=h(EK=>{"use strict";var bve=He();function yK(t,e,r){if(Array.isArray(t))return t.map((n,i)=>yK(n,String(i),r));if(t&&typeof t.toJSON=="function"){if(!r||!bve.hasAnchor(t))return t.toJSON(e,r);let n={aliasCount:0,count:1,res:void 0};r.anchors.set(t,n),r.onCreate=s=>{n.res=s,delete r.onCreate};let i=t.toJSON(e,r);return r.onCreate&&r.onCreate(i),i}return typeof t=="bigint"&&!r?.keep?Number(t):t}EK.toJS=yK});var LB=h(IK=>{"use strict";var Nve=MD(),CK=He(),wve=Ra(),FD=class{constructor(e){Object.defineProperty(this,CK.NODE_TYPE,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:r,maxAliasCount:n,onAnchor:i,reviver:s}={}){if(!CK.isDocument(e))throw new TypeError("A document argument is required");let o={anchors:new Map,doc:e,keep:!0,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof n=="number"?n:100},a=wve.toJS(this,"",o);if(typeof i=="function")for(let{count:A,res:c}of o.anchors.values())i(c,A);return typeof s=="function"?Nve.applyReviver(s,{"":a},"",a):a}};IK.NodeBase=FD});var Wg=h(QK=>{"use strict";var Sve=OB(),BK=Gg(),MB=He(),xve=LB(),Rve=Ra(),UD=class extends xve.NodeBase{constructor(e){super(MB.ALIAS),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let r;return BK.visit(e,{Node:(n,i)=>{if(i===this)return BK.visit.BREAK;i.anchor===this.source&&(r=i)}}),r}toJSON(e,r){if(!r)return{source:this.source};let{anchors:n,doc:i,maxAliasCount:s}=r,o=this.resolve(i);if(!o){let A=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(A)}let a=n.get(o);if(a||(Rve.toJS(o,null,r),a=n.get(o)),!a||a.res===void 0){let A="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(A)}if(s>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=FB(i,o,n)),a.count*a.aliasCount>s)){let A="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(A)}return a.res}toString(e,r,n){let i=`*${this.source}`;if(e){if(Sve.anchorIsValid(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){let s=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(s)}if(e.implicitKey)return`${i} `}return i}};function FB(t,e,r){if(MB.isAlias(e)){let n=e.resolve(t),i=r&&n&&r.get(n);return i?i.count*i.aliasCount:0}else if(MB.isCollection(e)){let n=0;for(let i of e.items){let s=FB(t,i,r);s>n&&(n=s)}return n}else if(MB.isPair(e)){let n=FB(t,e.key,r),i=FB(t,e.value,r);return Math.max(n,i)}return 1}QK.Alias=UD});var sr=h(qD=>{"use strict";var vve=He(),_ve=LB(),Dve=Ra(),kve=t=>!t||typeof t!="function"&&typeof t!="object",va=class extends _ve.NodeBase{constructor(e){super(vve.SCALAR),this.value=e}toJSON(e,r){return r?.keep?this.value:Dve.toJS(this.value,e,r)}toString(){return String(this.value)}};va.BLOCK_FOLDED="BLOCK_FOLDED";va.BLOCK_LITERAL="BLOCK_LITERAL";va.PLAIN="PLAIN";va.QUOTE_DOUBLE="QUOTE_DOUBLE";va.QUOTE_SINGLE="QUOTE_SINGLE";qD.Scalar=va;qD.isScalarValue=kve});var $g=h(NK=>{"use strict";var Pve=Wg(),zA=He(),bK=sr(),Tve="tag:yaml.org,2002:";function Ove(t,e,r){if(e){let n=r.filter(s=>s.tag===e),i=n.find(s=>!s.format)??n[0];if(!i)throw new Error(`Tag ${e} not found`);return i}return r.find(n=>n.identify?.(t)&&!n.format)}function Lve(t,e,r){if(zA.isDocument(t)&&(t=t.contents),zA.isNode(t))return t;if(zA.isPair(t)){let u=r.schema[zA.MAP].createNode?.(r.schema,null,r);return u.items.push(t),u}(t instanceof String||t instanceof Number||t instanceof Boolean||typeof BigInt<"u"&&t instanceof BigInt)&&(t=t.valueOf());let{aliasDuplicateObjects:n,onAnchor:i,onTagObj:s,schema:o,sourceObjects:a}=r,A;if(n&&t&&typeof t=="object"){if(A=a.get(t),A)return A.anchor||(A.anchor=i(t)),new Pve.Alias(A.anchor);A={anchor:null,node:null},a.set(t,A)}e?.startsWith("!!")&&(e=Tve+e.slice(2));let c=Ove(t,e,o.tags);if(!c){if(t&&typeof t.toJSON=="function"&&(t=t.toJSON()),!t||typeof t!="object"){let u=new bK.Scalar(t);return A&&(A.node=u),u}c=t instanceof Map?o[zA.MAP]:Symbol.iterator in Object(t)?o[zA.SEQ]:o[zA.MAP]}s&&(s(c),delete r.onTagObj);let l=c?.createNode?c.createNode(r.schema,t,r):typeof c?.nodeClass?.from=="function"?c.nodeClass.from(r.schema,t,r):new bK.Scalar(t);return e?l.tag=e:c.default||(l.tag=c.tag),A&&(A.node=l),l}NK.createNode=Lve});var qB=h(UB=>{"use strict";var Mve=$g(),Ls=He(),Fve=LB();function HD(t,e,r){let n=r;for(let i=e.length-1;i>=0;--i){let s=e[i];if(typeof s=="number"&&Number.isInteger(s)&&s>=0){let o=[];o[s]=n,n=o}else n=new Map([[s,n]])}return Mve.createNode(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:t,sourceObjects:new Map})}var wK=t=>t==null||typeof t=="object"&&!!t[Symbol.iterator]().next().done,jD=class extends Fve.NodeBase{constructor(e,r){super(e),Object.defineProperty(this,"schema",{value:r,configurable:!0,enumerable:!1,writable:!0})}clone(e){let r=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(r.schema=e),r.items=r.items.map(n=>Ls.isNode(n)||Ls.isPair(n)?n.clone(e):n),this.range&&(r.range=this.range.slice()),r}addIn(e,r){if(wK(e))this.add(r);else{let[n,...i]=e,s=this.get(n,!0);if(Ls.isCollection(s))s.addIn(i,r);else if(s===void 0&&this.schema)this.set(n,HD(this.schema,i,r));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}deleteIn(e){let[r,...n]=e;if(n.length===0)return this.delete(r);let i=this.get(r,!0);if(Ls.isCollection(i))return i.deleteIn(n);throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`)}getIn(e,r){let[n,...i]=e,s=this.get(n,!0);return i.length===0?!r&&Ls.isScalar(s)?s.value:s:Ls.isCollection(s)?s.getIn(i,r):void 0}hasAllNullValues(e){return this.items.every(r=>{if(!Ls.isPair(r))return!1;let n=r.value;return n==null||e&&Ls.isScalar(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[r,...n]=e;if(n.length===0)return this.has(r);let i=this.get(r,!0);return Ls.isCollection(i)?i.hasIn(n):!1}setIn(e,r){let[n,...i]=e;if(i.length===0)this.set(n,r);else{let s=this.get(n,!0);if(Ls.isCollection(s))s.setIn(i,r);else if(s===void 0&&this.schema)this.set(n,HD(this.schema,i,r));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}};UB.Collection=jD;UB.collectionFromPath=HD;UB.isEmptyPath=wK});var Kg=h(HB=>{"use strict";var Uve=t=>t.replace(/^(?!$)(?: $)?/gm,"#");function zD(t,e){return/^\n+$/.test(t)?t.substring(1):e?t.replace(/^(?! *$)/gm,e):t}var qve=(t,e,r)=>t.endsWith(`
|
||
`)?zD(r,e):r.includes(`
|
||
`)?`
|
||
`+zD(r,e):(t.endsWith(" ")?"":" ")+r;HB.indentComment=zD;HB.lineComment=qve;HB.stringifyComment=Uve});var xK=h(Xg=>{"use strict";var Hve="flow",GD="block",jB="quoted";function jve(t,e,r="flow",{indentAtStart:n,lineWidth:i=80,minContentWidth:s=20,onFold:o,onOverflow:a}={}){if(!i||i<0)return t;i<s&&(s=0);let A=Math.max(1+s,1+i-e.length);if(t.length<=A)return t;let c=[],l={},u=i-e.length;typeof n=="number"&&(n>i-Math.max(2,s)?c.push(0):u=i-n);let d,f,g=!1,m=-1,E=-1,C=-1;r===GD&&(m=SK(t,m,e.length),m!==-1&&(u=m+A));for(let N;N=t[m+=1];){if(r===jB&&N==="\\"){switch(E=m,t[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}C=m}if(N===`
|
||
`)r===GD&&(m=SK(t,m,e.length)),u=m+e.length+A,d=void 0;else{if(N===" "&&f&&f!==" "&&f!==`
|
||
`&&f!==" "){let w=t[m+1];w&&w!==" "&&w!==`
|
||
`&&w!==" "&&(d=m)}if(m>=u)if(d)c.push(d),u=d+A,d=void 0;else if(r===jB){for(;f===" "||f===" ";)f=N,N=t[m+=1],g=!0;let w=m>C+1?m-2:E-1;if(l[w])return t;c.push(w),l[w]=!0,u=w+A,d=void 0}else g=!0}f=N}if(g&&a&&a(),c.length===0)return t;o&&o();let I=t.slice(0,c[0]);for(let N=0;N<c.length;++N){let w=c[N],v=c[N+1]||t.length;w===0?I=`
|
||
${e}${t.slice(0,v)}`:(r===jB&&l[w]&&(I+=`${t[w]}\\`),I+=`
|
||
${e}${t.slice(w+1,v)}`)}return I}function SK(t,e,r){let n=e,i=e+1,s=t[i];for(;s===" "||s===" ";)if(e<i+r)s=t[++e];else{do s=t[++e];while(s&&s!==`
|
||
`);n=e,i=e+1,s=t[i]}return n}Xg.FOLD_BLOCK=GD;Xg.FOLD_FLOW=Hve;Xg.FOLD_QUOTED=jB;Xg.foldFlowLines=jve});var em=h(RK=>{"use strict";var ts=sr(),_a=xK(),GB=(t,e)=>({indentAtStart:e?t.indent.length:t.indentAtStart,lineWidth:t.options.lineWidth,minContentWidth:t.options.minContentWidth}),YB=t=>/^(%|---|\.\.\.)/m.test(t);function zve(t,e,r){if(!e||e<0)return!1;let n=e-r,i=t.length;if(i<=n)return!1;for(let s=0,o=0;s<i;++s)if(t[s]===`
|
||
`){if(s-o>n)return!0;if(o=s+1,i-o<=n)return!1}return!0}function Zg(t,e){let r=JSON.stringify(t);if(e.options.doubleQuotedAsJSON)return r;let{implicitKey:n}=e,i=e.options.doubleQuotedMinMultiLineLength,s=e.indent||(YB(t)?" ":""),o="",a=0;for(let A=0,c=r[A];c;c=r[++A])if(c===" "&&r[A+1]==="\\"&&r[A+2]==="n"&&(o+=r.slice(a,A)+"\\ ",A+=1,a=A,c="\\"),c==="\\")switch(r[A+1]){case"u":{o+=r.slice(a,A);let l=r.substr(A+2,4);switch(l){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:l.substr(0,2)==="00"?o+="\\x"+l.substr(2):o+=r.substr(A,6)}A+=5,a=A+1}break;case"n":if(n||r[A+2]==='"'||r.length<i)A+=1;else{for(o+=r.slice(a,A)+`
|
||
|
||
`;r[A+2]==="\\"&&r[A+3]==="n"&&r[A+4]!=='"';)o+=`
|
||
`,A+=2;o+=s,r[A+2]===" "&&(o+="\\"),A+=1,a=A+1}break;default:A+=1}return o=a?o+r.slice(a):r,n?o:_a.foldFlowLines(o,s,_a.FOLD_QUOTED,GB(e,!1))}function YD(t,e){if(e.options.singleQuote===!1||e.implicitKey&&t.includes(`
|
||
`)||/[ \t]\n|\n[ \t]/.test(t))return Zg(t,e);let r=e.indent||(YB(t)?" ":""),n="'"+t.replace(/'/g,"''").replace(/\n+/g,`$&
|
||
${r}`)+"'";return e.implicitKey?n:_a.foldFlowLines(n,r,_a.FOLD_FLOW,GB(e,!1))}function xd(t,e){let{singleQuote:r}=e.options,n;if(r===!1)n=Zg;else{let i=t.includes('"'),s=t.includes("'");i&&!s?n=YD:s&&!i?n=Zg:n=r?YD:Zg}return n(t,e)}var JD;try{JD=new RegExp(`(^|(?<!
|
||
))
|
||
+(?!
|
||
|$)`,"g")}catch{JD=/\n+(?!\n|$)/g}function zB({comment:t,type:e,value:r},n,i,s){let{blockQuote:o,commentString:a,lineWidth:A}=n.options;if(!o||/\n[\t ]+$/.test(r)||/^\s*$/.test(r))return xd(r,n);let c=n.indent||(n.forceBlockIndent||YB(r)?" ":""),l=o==="literal"?!0:o==="folded"||e===ts.Scalar.BLOCK_FOLDED?!1:e===ts.Scalar.BLOCK_LITERAL?!0:!zve(r,A,c.length);if(!r)return l?`|
|
||
`:`>
|
||
`;let u,d;for(d=r.length;d>0;--d){let v=r[d-1];if(v!==`
|
||
`&&v!==" "&&v!==" ")break}let f=r.substring(d),g=f.indexOf(`
|
||
`);g===-1?u="-":r===f||g!==f.length-1?(u="+",s&&s()):u="",f&&(r=r.slice(0,-f.length),f[f.length-1]===`
|
||
`&&(f=f.slice(0,-1)),f=f.replace(JD,`$&${c}`));let m=!1,E,C=-1;for(E=0;E<r.length;++E){let v=r[E];if(v===" ")m=!0;else if(v===`
|
||
`)C=E;else break}let I=r.substring(0,C<E?C+1:E);I&&(r=r.substring(I.length),I=I.replace(/\n+/g,`$&${c}`));let w=(m?c?"2":"1":"")+u;if(t&&(w+=" "+a(t.replace(/ ?[\r\n]+/g," ")),i&&i()),!l){let v=r.replace(/\n+/g,`
|
||
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`),T=!1,U=GB(n,!0);o!=="folded"&&e!==ts.Scalar.BLOCK_FOLDED&&(U.onOverflow=()=>{T=!0});let k=_a.foldFlowLines(`${I}${v}${f}`,c,_a.FOLD_BLOCK,U);if(!T)return`>${w}
|
||
${c}${k}`}return r=r.replace(/\n+/g,`$&${c}`),`|${w}
|
||
${c}${I}${r}${f}`}function Gve(t,e,r,n){let{type:i,value:s}=t,{actualString:o,implicitKey:a,indent:A,indentStep:c,inFlow:l}=e;if(a&&s.includes(`
|
||
`)||l&&/[[\]{},]/.test(s))return xd(s,e);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return a||l||!s.includes(`
|
||
`)?xd(s,e):zB(t,e,r,n);if(!a&&!l&&i!==ts.Scalar.PLAIN&&s.includes(`
|
||
`))return zB(t,e,r,n);if(YB(s)){if(A==="")return e.forceBlockIndent=!0,zB(t,e,r,n);if(a&&A===c)return xd(s,e)}let u=s.replace(/\n+/g,`$&
|
||
${A}`);if(o){let d=m=>m.default&&m.tag!=="tag:yaml.org,2002:str"&&m.test?.test(u),{compat:f,tags:g}=e.doc.schema;if(g.some(d)||f?.some(d))return xd(s,e)}return a?u:_a.foldFlowLines(u,A,_a.FOLD_FLOW,GB(e,!1))}function Yve(t,e,r,n){let{implicitKey:i,inFlow:s}=e,o=typeof t.value=="string"?t:Object.assign({},t,{value:String(t.value)}),{type:a}=t;a!==ts.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=ts.Scalar.QUOTE_DOUBLE);let A=l=>{switch(l){case ts.Scalar.BLOCK_FOLDED:case ts.Scalar.BLOCK_LITERAL:return i||s?xd(o.value,e):zB(o,e,r,n);case ts.Scalar.QUOTE_DOUBLE:return Zg(o.value,e);case ts.Scalar.QUOTE_SINGLE:return YD(o.value,e);case ts.Scalar.PLAIN:return Gve(o,e,r,n);default:return null}},c=A(a);if(c===null){let{defaultKeyType:l,defaultStringType:u}=e.options,d=i&&l||u;if(c=A(d),c===null)throw new Error(`Unsupported default string type ${d}`)}return c}RK.stringifyString=Yve});var tm=h(VD=>{"use strict";var Jve=OB(),Da=He(),Vve=Kg(),Wve=em();function $ve(t,e){let r=Object.assign({blockQuote:!0,commentString:Vve.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},t.schema.toStringOptions,e),n;switch(r.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:t,flowCollectionPadding:r.flowCollectionPadding?" ":"",indent:"",indentStep:typeof r.indent=="number"?" ".repeat(r.indent):" ",inFlow:n,options:r}}function Kve(t,e){if(e.tag){let i=t.filter(s=>s.tag===e.tag);if(i.length>0)return i.find(s=>s.format===e.format)??i[0]}let r,n;if(Da.isScalar(e)){n=e.value;let i=t.filter(s=>s.identify?.(n));if(i.length>1){let s=i.filter(o=>o.test);s.length>0&&(i=s)}r=i.find(s=>s.format===e.format)??i.find(s=>!s.format)}else n=e,r=t.find(i=>i.nodeClass&&n instanceof i.nodeClass);if(!r){let i=n?.constructor?.name??typeof n;throw new Error(`Tag not resolved for ${i} value`)}return r}function Xve(t,e,{anchors:r,doc:n}){if(!n.directives)return"";let i=[],s=(Da.isScalar(t)||Da.isCollection(t))&&t.anchor;s&&Jve.anchorIsValid(s)&&(r.add(s),i.push(`&${s}`));let o=t.tag?t.tag:e.default?null:e.tag;return o&&i.push(n.directives.tagString(o)),i.join(" ")}function Zve(t,e,r,n){if(Da.isPair(t))return t.toString(e,r,n);if(Da.isAlias(t)){if(e.doc.directives)return t.toString(e);if(e.resolvedAliases?.has(t))throw new TypeError("Cannot stringify circular structure without alias nodes");e.resolvedAliases?e.resolvedAliases.add(t):e.resolvedAliases=new Set([t]),t=t.resolve(e.doc)}let i,s=Da.isNode(t)?t:e.doc.createNode(t,{onTagObj:A=>i=A});i||(i=Kve(e.doc.schema.tags,s));let o=Xve(s,i,e);o.length>0&&(e.indentAtStart=(e.indentAtStart??0)+o.length+1);let a=typeof i.stringify=="function"?i.stringify(s,e,r,n):Da.isScalar(s)?Wve.stringifyString(s,e,r,n):s.toString(e,r,n);return o?Da.isScalar(s)||a[0]==="{"||a[0]==="["?`${o} ${a}`:`${o}
|
||
${e.indent}${a}`:a}VD.createStringifyContext=$ve;VD.stringify=Zve});var kK=h(DK=>{"use strict";var bo=He(),vK=sr(),_K=tm(),rm=Kg();function e_e({key:t,value:e},r,n,i){let{allNullValues:s,doc:o,indent:a,indentStep:A,options:{commentString:c,indentSeq:l,simpleKeys:u}}=r,d=bo.isNode(t)&&t.comment||null;if(u){if(d)throw new Error("With simple keys, key nodes cannot have comments");if(bo.isCollection(t)||!bo.isNode(t)&&typeof t=="object"){let U="With simple keys, collection cannot be used as a key value";throw new Error(U)}}let f=!u&&(!t||d&&e==null&&!r.inFlow||bo.isCollection(t)||(bo.isScalar(t)?t.type===vK.Scalar.BLOCK_FOLDED||t.type===vK.Scalar.BLOCK_LITERAL:typeof t=="object"));r=Object.assign({},r,{allNullValues:!1,implicitKey:!f&&(u||!s),indent:a+A});let g=!1,m=!1,E=_K.stringify(t,r,()=>g=!0,()=>m=!0);if(!f&&!r.inFlow&&E.length>1024){if(u)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");f=!0}if(r.inFlow){if(s||e==null)return g&&n&&n(),E===""?"?":f?`? ${E}`:E}else if(s&&!u||e==null&&f)return E=`? ${E}`,d&&!g?E+=rm.lineComment(E,r.indent,c(d)):m&&i&&i(),E;g&&(d=null),f?(d&&(E+=rm.lineComment(E,r.indent,c(d))),E=`? ${E}
|
||
${a}:`):(E=`${E}:`,d&&(E+=rm.lineComment(E,r.indent,c(d))));let C,I,N;bo.isNode(e)?(C=!!e.spaceBefore,I=e.commentBefore,N=e.comment):(C=!1,I=null,N=null,e&&typeof e=="object"&&(e=o.createNode(e))),r.implicitKey=!1,!f&&!d&&bo.isScalar(e)&&(r.indentAtStart=E.length+1),m=!1,!l&&A.length>=2&&!r.inFlow&&!f&&bo.isSeq(e)&&!e.flow&&!e.tag&&!e.anchor&&(r.indent=r.indent.substring(2));let w=!1,v=_K.stringify(e,r,()=>w=!0,()=>m=!0),T=" ";if(d||C||I){if(T=C?`
|
||
`:"",I){let U=c(I);T+=`
|
||
${rm.indentComment(U,r.indent)}`}v===""&&!r.inFlow?T===`
|
||
`&&(T=`
|
||
|
||
`):T+=`
|
||
${r.indent}`}else if(!f&&bo.isCollection(e)){let U=v[0],k=v.indexOf(`
|
||
`),J=k!==-1,be=r.inFlow??e.flow??e.items.length===0;if(J||!be){let Re=!1;if(J&&(U==="&"||U==="!")){let H=v.indexOf(" ");U==="&"&&H!==-1&&H<k&&v[H+1]==="!"&&(H=v.indexOf(" ",H+1)),(H===-1||k<H)&&(Re=!0)}Re||(T=`
|
||
${r.indent}`)}}else(v===""||v[0]===`
|
||
`)&&(T="");return E+=T+v,r.inFlow?w&&n&&n():N&&!w?E+=rm.lineComment(E,r.indent,c(N)):m&&i&&i(),E}DK.stringifyPair=e_e});var $D=h(WD=>{"use strict";var PK=require("node:process");function t_e(t,...e){t==="debug"&&console.log(...e)}function r_e(t,e){(t==="debug"||t==="warn")&&(typeof PK.emitWarning=="function"?PK.emitWarning(e):console.warn(e))}WD.debug=t_e;WD.warn=r_e});var $B=h(WB=>{"use strict";var nm=He(),TK=sr(),JB="<<",VB={identify:t=>t===JB||typeof t=="symbol"&&t.description===JB,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new TK.Scalar(Symbol(JB)),{addToJSMap:OK}),stringify:()=>JB},n_e=(t,e)=>(VB.identify(e)||nm.isScalar(e)&&(!e.type||e.type===TK.Scalar.PLAIN)&&VB.identify(e.value))&&t?.doc.schema.tags.some(r=>r.tag===VB.tag&&r.default);function OK(t,e,r){if(r=t&&nm.isAlias(r)?r.resolve(t.doc):r,nm.isSeq(r))for(let n of r.items)KD(t,e,n);else if(Array.isArray(r))for(let n of r)KD(t,e,n);else KD(t,e,r)}function KD(t,e,r){let n=t&&nm.isAlias(r)?r.resolve(t.doc):r;if(!nm.isMap(n))throw new Error("Merge sources must be maps or map aliases");let i=n.toJSON(null,t,Map);for(let[s,o]of i)e instanceof Map?e.has(s)||e.set(s,o):e instanceof Set?e.add(s):Object.prototype.hasOwnProperty.call(e,s)||Object.defineProperty(e,s,{value:o,writable:!0,enumerable:!0,configurable:!0});return e}WB.addMergeToJSMap=OK;WB.isMergeKey=n_e;WB.merge=VB});var ZD=h(FK=>{"use strict";var i_e=$D(),LK=$B(),s_e=tm(),MK=He(),XD=Ra();function o_e(t,e,{key:r,value:n}){if(MK.isNode(r)&&r.addToJSMap)r.addToJSMap(t,e,n);else if(LK.isMergeKey(t,r))LK.addMergeToJSMap(t,e,n);else{let i=XD.toJS(r,"",t);if(e instanceof Map)e.set(i,XD.toJS(n,i,t));else if(e instanceof Set)e.add(i);else{let s=a_e(r,i,t),o=XD.toJS(n,s,t);s in e?Object.defineProperty(e,s,{value:o,writable:!0,enumerable:!0,configurable:!0}):e[s]=o}}return e}function a_e(t,e,r){if(e===null)return"";if(typeof e!="object")return String(e);if(MK.isNode(t)&&r?.doc){let n=s_e.createStringifyContext(r.doc,{});n.anchors=new Set;for(let s of r.anchors.keys())n.anchors.add(s.anchor);n.inFlow=!0,n.inStringifyKey=!0;let i=t.toString(n);if(!r.mapKeyWarned){let s=JSON.stringify(i);s.length>40&&(s=s.substring(0,36)+'..."'),i_e.warn(r.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${s}. Set mapAsMap: true to use object keys.`),r.mapKeyWarned=!0}return i}return JSON.stringify(e)}FK.addPairToJSMap=o_e});var ka=h(ek=>{"use strict";var UK=$g(),A_e=kK(),c_e=ZD(),KB=He();function l_e(t,e,r){let n=UK.createNode(t,void 0,r),i=UK.createNode(e,void 0,r);return new XB(n,i)}var XB=class t{constructor(e,r=null){Object.defineProperty(this,KB.NODE_TYPE,{value:KB.PAIR}),this.key=e,this.value=r}clone(e){let{key:r,value:n}=this;return KB.isNode(r)&&(r=r.clone(e)),KB.isNode(n)&&(n=n.clone(e)),new t(r,n)}toJSON(e,r){let n=r?.mapAsMap?new Map:{};return c_e.addPairToJSMap(r,n,this)}toString(e,r,n){return e?.doc?A_e.stringifyPair(this,e,r,n):JSON.stringify(this)}};ek.Pair=XB;ek.createPair=l_e});var tk=h(HK=>{"use strict";var GA=He(),qK=tm(),ZB=Kg();function u_e(t,e,r){return(e.inFlow??t.flow?f_e:d_e)(t,e,r)}function d_e({comment:t,items:e},r,{blockItemPrefix:n,flowChars:i,itemIndent:s,onChompKeep:o,onComment:a}){let{indent:A,options:{commentString:c}}=r,l=Object.assign({},r,{indent:s,type:null}),u=!1,d=[];for(let g=0;g<e.length;++g){let m=e[g],E=null;if(GA.isNode(m))!u&&m.spaceBefore&&d.push(""),eQ(r,d,m.commentBefore,u),m.comment&&(E=m.comment);else if(GA.isPair(m)){let I=GA.isNode(m.key)?m.key:null;I&&(!u&&I.spaceBefore&&d.push(""),eQ(r,d,I.commentBefore,u))}u=!1;let C=qK.stringify(m,l,()=>E=null,()=>u=!0);E&&(C+=ZB.lineComment(C,s,c(E))),u&&E&&(u=!1),d.push(n+C)}let f;if(d.length===0)f=i.start+i.end;else{f=d[0];for(let g=1;g<d.length;++g){let m=d[g];f+=m?`
|
||
${A}${m}`:`
|
||
`}}return t?(f+=`
|
||
`+ZB.indentComment(c(t),A),a&&a()):u&&o&&o(),f}function f_e({items:t},e,{flowChars:r,itemIndent:n}){let{indent:i,indentStep:s,flowCollectionPadding:o,options:{commentString:a}}=e;n+=s;let A=Object.assign({},e,{indent:n,inFlow:!0,type:null}),c=!1,l=0,u=[];for(let g=0;g<t.length;++g){let m=t[g],E=null;if(GA.isNode(m))m.spaceBefore&&u.push(""),eQ(e,u,m.commentBefore,!1),m.comment&&(E=m.comment);else if(GA.isPair(m)){let I=GA.isNode(m.key)?m.key:null;I&&(I.spaceBefore&&u.push(""),eQ(e,u,I.commentBefore,!1),I.comment&&(c=!0));let N=GA.isNode(m.value)?m.value:null;N?(N.comment&&(E=N.comment),N.commentBefore&&(c=!0)):m.value==null&&I?.comment&&(E=I.comment)}E&&(c=!0);let C=qK.stringify(m,A,()=>E=null);g<t.length-1&&(C+=","),E&&(C+=ZB.lineComment(C,n,a(E))),!c&&(u.length>l||C.includes(`
|
||
`))&&(c=!0),u.push(C),l=u.length}let{start:d,end:f}=r;if(u.length===0)return d+f;if(!c){let g=u.reduce((m,E)=>m+E.length+2,2);c=e.options.lineWidth>0&&g>e.options.lineWidth}if(c){let g=d;for(let m of u)g+=m?`
|
||
${s}${i}${m}`:`
|
||
`;return`${g}
|
||
${i}${f}`}else return`${d}${o}${u.join(" ")}${o}${f}`}function eQ({indent:t,options:{commentString:e}},r,n,i){if(n&&i&&(n=n.replace(/^\n+/,"")),n){let s=ZB.indentComment(e(n),t);r.push(s.trimStart())}}HK.stringifyCollection=u_e});var Ta=h(nk=>{"use strict";var h_e=tk(),g_e=ZD(),m_e=qB(),Pa=He(),tQ=ka(),p_e=sr();function im(t,e){let r=Pa.isScalar(e)?e.value:e;for(let n of t)if(Pa.isPair(n)&&(n.key===e||n.key===r||Pa.isScalar(n.key)&&n.key.value===r))return n}var rk=class extends m_e.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(Pa.MAP,e),this.items=[]}static from(e,r,n){let{keepUndefined:i,replacer:s}=n,o=new this(e),a=(A,c)=>{if(typeof s=="function")c=s.call(r,A,c);else if(Array.isArray(s)&&!s.includes(A))return;(c!==void 0||i)&&o.items.push(tQ.createPair(A,c,n))};if(r instanceof Map)for(let[A,c]of r)a(A,c);else if(r&&typeof r=="object")for(let A of Object.keys(r))a(A,r[A]);return typeof e.sortMapEntries=="function"&&o.items.sort(e.sortMapEntries),o}add(e,r){let n;Pa.isPair(e)?n=e:!e||typeof e!="object"||!("key"in e)?n=new tQ.Pair(e,e?.value):n=new tQ.Pair(e.key,e.value);let i=im(this.items,n.key),s=this.schema?.sortMapEntries;if(i){if(!r)throw new Error(`Key ${n.key} already set`);Pa.isScalar(i.value)&&p_e.isScalarValue(n.value)?i.value.value=n.value:i.value=n.value}else if(s){let o=this.items.findIndex(a=>s(n,a)<0);o===-1?this.items.push(n):this.items.splice(o,0,n)}else this.items.push(n)}delete(e){let r=im(this.items,e);return r?this.items.splice(this.items.indexOf(r),1).length>0:!1}get(e,r){let i=im(this.items,e)?.value;return(!r&&Pa.isScalar(i)?i.value:i)??void 0}has(e){return!!im(this.items,e)}set(e,r){this.add(new tQ.Pair(e,r),!0)}toJSON(e,r,n){let i=n?new n:r?.mapAsMap?new Map:{};r?.onCreate&&r.onCreate(i);for(let s of this.items)g_e.addPairToJSMap(r,i,s);return i}toString(e,r,n){if(!e)return JSON.stringify(this);for(let i of this.items)if(!Pa.isPair(i))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),h_e.stringifyCollection(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:r})}};nk.YAMLMap=rk;nk.findPair=im});var Rd=h(zK=>{"use strict";var y_e=He(),jK=Ta(),E_e={collection:"map",default:!0,nodeClass:jK.YAMLMap,tag:"tag:yaml.org,2002:map",resolve(t,e){return y_e.isMap(t)||e("Expected a mapping for this tag"),t},createNode:(t,e,r)=>jK.YAMLMap.from(t,e,r)};zK.map=E_e});var Oa=h(GK=>{"use strict";var C_e=$g(),I_e=tk(),B_e=qB(),nQ=He(),Q_e=sr(),b_e=Ra(),ik=class extends B_e.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(nQ.SEQ,e),this.items=[]}add(e){this.items.push(e)}delete(e){let r=rQ(e);return typeof r!="number"?!1:this.items.splice(r,1).length>0}get(e,r){let n=rQ(e);if(typeof n!="number")return;let i=this.items[n];return!r&&nQ.isScalar(i)?i.value:i}has(e){let r=rQ(e);return typeof r=="number"&&r<this.items.length}set(e,r){let n=rQ(e);if(typeof n!="number")throw new Error(`Expected a valid index, not ${e}.`);let i=this.items[n];nQ.isScalar(i)&&Q_e.isScalarValue(r)?i.value=r:this.items[n]=r}toJSON(e,r){let n=[];r?.onCreate&&r.onCreate(n);let i=0;for(let s of this.items)n.push(b_e.toJS(s,String(i++),r));return n}toString(e,r,n){return e?I_e.stringifyCollection(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:r}):JSON.stringify(this)}static from(e,r,n){let{replacer:i}=n,s=new this(e);if(r&&Symbol.iterator in Object(r)){let o=0;for(let a of r){if(typeof i=="function"){let A=r instanceof Set?a:String(o++);a=i.call(r,A,a)}s.items.push(C_e.createNode(a,void 0,n))}}return s}};function rQ(t){let e=nQ.isScalar(t)?t.value:t;return e&&typeof e=="string"&&(e=Number(e)),typeof e=="number"&&Number.isInteger(e)&&e>=0?e:null}GK.YAMLSeq=ik});var vd=h(JK=>{"use strict";var N_e=He(),YK=Oa(),w_e={collection:"seq",default:!0,nodeClass:YK.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve(t,e){return N_e.isSeq(t)||e("Expected a sequence for this tag"),t},createNode:(t,e,r)=>YK.YAMLSeq.from(t,e,r)};JK.seq=w_e});var sm=h(VK=>{"use strict";var S_e=em(),x_e={identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify(t,e,r,n){return e=Object.assign({actualString:!0},e),S_e.stringifyString(t,e,r,n)}};VK.string=x_e});var iQ=h(KK=>{"use strict";var WK=sr(),$K={identify:t=>t==null,createNode:()=>new WK.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new WK.Scalar(null),stringify:({source:t},e)=>typeof t=="string"&&$K.test.test(t)?t:e.options.nullStr};KK.nullTag=$K});var sk=h(ZK=>{"use strict";var R_e=sr(),XK={identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>new R_e.Scalar(t[0]==="t"||t[0]==="T"),stringify({source:t,value:e},r){if(t&&XK.test.test(t)){let n=t[0]==="t"||t[0]==="T";if(e===n)return t}return e?r.options.trueStr:r.options.falseStr}};ZK.boolTag=XK});var _d=h(e9=>{"use strict";function v_e({format:t,minFractionDigits:e,tag:r,value:n}){if(typeof n=="bigint")return String(n);let i=typeof n=="number"?n:Number(n);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let s=JSON.stringify(n);if(!t&&e&&(!r||r==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let o=s.indexOf(".");o<0&&(o=s.length,s+=".");let a=e-(s.length-o-1);for(;a-- >0;)s+="0"}return s}e9.stringifyNumber=v_e});var ak=h(sQ=>{"use strict";var __e=sr(),ok=_d(),D_e={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:t=>t.slice(-3).toLowerCase()==="nan"?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:ok.stringifyNumber},k_e={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify(t){let e=Number(t.value);return isFinite(e)?e.toExponential():ok.stringifyNumber(t)}},P_e={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(t){let e=new __e.Scalar(parseFloat(t)),r=t.indexOf(".");return r!==-1&&t[t.length-1]==="0"&&(e.minFractionDigits=t.length-r-1),e},stringify:ok.stringifyNumber};sQ.float=P_e;sQ.floatExp=k_e;sQ.floatNaN=D_e});var ck=h(aQ=>{"use strict";var t9=_d(),oQ=t=>typeof t=="bigint"||Number.isInteger(t),Ak=(t,e,r,{intAsBigInt:n})=>n?BigInt(t):parseInt(t.substring(e),r);function r9(t,e,r){let{value:n}=t;return oQ(n)&&n>=0?r+n.toString(e):t9.stringifyNumber(t)}var T_e={identify:t=>oQ(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(t,e,r)=>Ak(t,2,8,r),stringify:t=>r9(t,8,"0o")},O_e={identify:oQ,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(t,e,r)=>Ak(t,0,10,r),stringify:t9.stringifyNumber},L_e={identify:t=>oQ(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(t,e,r)=>Ak(t,2,16,r),stringify:t=>r9(t,16,"0x")};aQ.int=O_e;aQ.intHex=L_e;aQ.intOct=T_e});var i9=h(n9=>{"use strict";var M_e=Rd(),F_e=iQ(),U_e=vd(),q_e=sm(),H_e=sk(),lk=ak(),uk=ck(),j_e=[M_e.map,U_e.seq,q_e.string,F_e.nullTag,H_e.boolTag,uk.intOct,uk.int,uk.intHex,lk.floatNaN,lk.floatExp,lk.float];n9.schema=j_e});var a9=h(o9=>{"use strict";var z_e=sr(),G_e=Rd(),Y_e=vd();function s9(t){return typeof t=="bigint"||Number.isInteger(t)}var AQ=({value:t})=>JSON.stringify(t),J_e=[{identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify:AQ},{identify:t=>t==null,createNode:()=>new z_e.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:AQ},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:t=>t==="true",stringify:AQ},{identify:s9,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(t,e,{intAsBigInt:r})=>r?BigInt(t):parseInt(t,10),stringify:({value:t})=>s9(t)?t.toString():JSON.stringify(t)},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:AQ}],V_e={default:!0,tag:"",test:/^/,resolve(t,e){return e(`Unresolved plain scalar ${JSON.stringify(t)}`),t}},W_e=[G_e.map,Y_e.seq].concat(J_e,V_e);o9.schema=W_e});var fk=h(A9=>{"use strict";var om=require("node:buffer"),dk=sr(),$_e=em(),K_e={identify:t=>t instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(t,e){if(typeof om.Buffer=="function")return om.Buffer.from(t,"base64");if(typeof atob=="function"){let r=atob(t.replace(/[\n\r]/g,"")),n=new Uint8Array(r.length);for(let i=0;i<r.length;++i)n[i]=r.charCodeAt(i);return n}else return e("This environment does not support reading binary tags; either Buffer or atob is required"),t},stringify({comment:t,type:e,value:r},n,i,s){let o=r,a;if(typeof om.Buffer=="function")a=o instanceof om.Buffer?o.toString("base64"):om.Buffer.from(o.buffer).toString("base64");else if(typeof btoa=="function"){let A="";for(let c=0;c<o.length;++c)A+=String.fromCharCode(o[c]);a=btoa(A)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(e||(e=dk.Scalar.BLOCK_LITERAL),e!==dk.Scalar.QUOTE_DOUBLE){let A=Math.max(n.options.lineWidth-n.indent.length,n.options.minContentWidth),c=Math.ceil(a.length/A),l=new Array(c);for(let u=0,d=0;u<c;++u,d+=A)l[u]=a.substr(d,A);a=l.join(e===dk.Scalar.BLOCK_LITERAL?`
|
||
`:" ")}return $_e.stringifyString({comment:t,type:e,value:a},n,i,s)}};A9.binary=K_e});var uQ=h(lQ=>{"use strict";var cQ=He(),hk=ka(),X_e=sr(),Z_e=Oa();function c9(t,e){if(cQ.isSeq(t))for(let r=0;r<t.items.length;++r){let n=t.items[r];if(!cQ.isPair(n)){if(cQ.isMap(n)){n.items.length>1&&e("Each pair must have its own sequence indicator");let i=n.items[0]||new hk.Pair(new X_e.Scalar(null));if(n.commentBefore&&(i.key.commentBefore=i.key.commentBefore?`${n.commentBefore}
|
||
${i.key.commentBefore}`:n.commentBefore),n.comment){let s=i.value??i.key;s.comment=s.comment?`${n.comment}
|
||
${s.comment}`:n.comment}n=i}t.items[r]=cQ.isPair(n)?n:new hk.Pair(n)}}else e("Expected a sequence for this tag");return t}function l9(t,e,r){let{replacer:n}=r,i=new Z_e.YAMLSeq(t);i.tag="tag:yaml.org,2002:pairs";let s=0;if(e&&Symbol.iterator in Object(e))for(let o of e){typeof n=="function"&&(o=n.call(e,String(s++),o));let a,A;if(Array.isArray(o))if(o.length===2)a=o[0],A=o[1];else throw new TypeError(`Expected [key, value] tuple: ${o}`);else if(o&&o instanceof Object){let c=Object.keys(o);if(c.length===1)a=c[0],A=o[a];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else a=o;i.items.push(hk.createPair(a,A,r))}return i}var eDe={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:c9,createNode:l9};lQ.createPairs=l9;lQ.pairs=eDe;lQ.resolvePairs=c9});var pk=h(mk=>{"use strict";var u9=He(),gk=Ra(),am=Ta(),tDe=Oa(),d9=uQ(),YA=class t extends tDe.YAMLSeq{constructor(){super(),this.add=am.YAMLMap.prototype.add.bind(this),this.delete=am.YAMLMap.prototype.delete.bind(this),this.get=am.YAMLMap.prototype.get.bind(this),this.has=am.YAMLMap.prototype.has.bind(this),this.set=am.YAMLMap.prototype.set.bind(this),this.tag=t.tag}toJSON(e,r){if(!r)return super.toJSON(e);let n=new Map;r?.onCreate&&r.onCreate(n);for(let i of this.items){let s,o;if(u9.isPair(i)?(s=gk.toJS(i.key,"",r),o=gk.toJS(i.value,s,r)):s=gk.toJS(i,"",r),n.has(s))throw new Error("Ordered maps must not include duplicate keys");n.set(s,o)}return n}static from(e,r,n){let i=d9.createPairs(e,r,n),s=new this;return s.items=i.items,s}};YA.tag="tag:yaml.org,2002:omap";var rDe={collection:"seq",identify:t=>t instanceof Map,nodeClass:YA,default:!1,tag:"tag:yaml.org,2002:omap",resolve(t,e){let r=d9.resolvePairs(t,e),n=[];for(let{key:i}of r.items)u9.isScalar(i)&&(n.includes(i.value)?e(`Ordered maps must not include duplicate keys: ${i.value}`):n.push(i.value));return Object.assign(new YA,r)},createNode:(t,e,r)=>YA.from(t,e,r)};mk.YAMLOMap=YA;mk.omap=rDe});var p9=h(yk=>{"use strict";var f9=sr();function h9({value:t,source:e},r){return e&&(t?g9:m9).test.test(e)?e:t?r.options.trueStr:r.options.falseStr}var g9={identify:t=>t===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new f9.Scalar(!0),stringify:h9},m9={identify:t=>t===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new f9.Scalar(!1),stringify:h9};yk.falseTag=m9;yk.trueTag=g9});var y9=h(dQ=>{"use strict";var nDe=sr(),Ek=_d(),iDe={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:t=>t.slice(-3).toLowerCase()==="nan"?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Ek.stringifyNumber},sDe={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify(t){let e=Number(t.value);return isFinite(e)?e.toExponential():Ek.stringifyNumber(t)}},oDe={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(t){let e=new nDe.Scalar(parseFloat(t.replace(/_/g,""))),r=t.indexOf(".");if(r!==-1){let n=t.substring(r+1).replace(/_/g,"");n[n.length-1]==="0"&&(e.minFractionDigits=n.length)}return e},stringify:Ek.stringifyNumber};dQ.float=oDe;dQ.floatExp=sDe;dQ.floatNaN=iDe});var C9=h(cm=>{"use strict";var E9=_d(),Am=t=>typeof t=="bigint"||Number.isInteger(t);function fQ(t,e,r,{intAsBigInt:n}){let i=t[0];if((i==="-"||i==="+")&&(e+=1),t=t.substring(e).replace(/_/g,""),n){switch(r){case 2:t=`0b${t}`;break;case 8:t=`0o${t}`;break;case 16:t=`0x${t}`;break}let o=BigInt(t);return i==="-"?BigInt(-1)*o:o}let s=parseInt(t,r);return i==="-"?-1*s:s}function Ck(t,e,r){let{value:n}=t;if(Am(n)){let i=n.toString(e);return n<0?"-"+r+i.substr(1):r+i}return E9.stringifyNumber(t)}var aDe={identify:Am,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(t,e,r)=>fQ(t,2,2,r),stringify:t=>Ck(t,2,"0b")},ADe={identify:Am,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(t,e,r)=>fQ(t,1,8,r),stringify:t=>Ck(t,8,"0")},cDe={identify:Am,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(t,e,r)=>fQ(t,0,10,r),stringify:E9.stringifyNumber},lDe={identify:Am,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(t,e,r)=>fQ(t,2,16,r),stringify:t=>Ck(t,16,"0x")};cm.int=cDe;cm.intBin=aDe;cm.intHex=lDe;cm.intOct=ADe});var Bk=h(Ik=>{"use strict";var mQ=He(),hQ=ka(),gQ=Ta(),JA=class t extends gQ.YAMLMap{constructor(e){super(e),this.tag=t.tag}add(e){let r;mQ.isPair(e)?r=e:e&&typeof e=="object"&&"key"in e&&"value"in e&&e.value===null?r=new hQ.Pair(e.key,null):r=new hQ.Pair(e,null),gQ.findPair(this.items,r.key)||this.items.push(r)}get(e,r){let n=gQ.findPair(this.items,e);return!r&&mQ.isPair(n)?mQ.isScalar(n.key)?n.key.value:n.key:n}set(e,r){if(typeof r!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof r}`);let n=gQ.findPair(this.items,e);n&&!r?this.items.splice(this.items.indexOf(n),1):!n&&r&&this.items.push(new hQ.Pair(e))}toJSON(e,r){return super.toJSON(e,r,Set)}toString(e,r,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),r,n);throw new Error("Set items must all have null values")}static from(e,r,n){let{replacer:i}=n,s=new this(e);if(r&&Symbol.iterator in Object(r))for(let o of r)typeof i=="function"&&(o=i.call(r,o,o)),s.items.push(hQ.createPair(o,null,n));return s}};JA.tag="tag:yaml.org,2002:set";var uDe={collection:"map",identify:t=>t instanceof Set,nodeClass:JA,default:!1,tag:"tag:yaml.org,2002:set",createNode:(t,e,r)=>JA.from(t,e,r),resolve(t,e){if(mQ.isMap(t)){if(t.hasAllNullValues(!0))return Object.assign(new JA,t);e("Set items must all have null values")}else e("Expected a mapping for this tag");return t}};Ik.YAMLSet=JA;Ik.set=uDe});var bk=h(pQ=>{"use strict";var dDe=_d();function Qk(t,e){let r=t[0],n=r==="-"||r==="+"?t.substring(1):t,i=o=>e?BigInt(o):Number(o),s=n.replace(/_/g,"").split(":").reduce((o,a)=>o*i(60)+i(a),i(0));return r==="-"?i(-1)*s:s}function I9(t){let{value:e}=t,r=o=>o;if(typeof e=="bigint")r=o=>BigInt(o);else if(isNaN(e)||!isFinite(e))return dDe.stringifyNumber(t);let n="";e<0&&(n="-",e*=r(-1));let i=r(60),s=[e%i];return e<60?s.unshift(0):(e=(e-s[0])/i,s.unshift(e%i),e>=60&&(e=(e-s[0])/i,s.unshift(e))),n+s.map(o=>String(o).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}var fDe={identify:t=>typeof t=="bigint"||Number.isInteger(t),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(t,e,{intAsBigInt:r})=>Qk(t,r),stringify:I9},hDe={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:t=>Qk(t,!1),stringify:I9},B9={identify:t=>t instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(t){let e=t.match(B9.test);if(!e)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,r,n,i,s,o,a]=e.map(Number),A=e[7]?Number((e[7]+"00").substr(1,3)):0,c=Date.UTC(r,n-1,i,s||0,o||0,a||0,A),l=e[8];if(l&&l!=="Z"){let u=Qk(l,!1);Math.abs(u)<30&&(u*=60),c-=6e4*u}return new Date(c)},stringify:({value:t})=>t.toISOString().replace(/(T00:00:00)?\.000Z$/,"")};pQ.floatTime=hDe;pQ.intTime=fDe;pQ.timestamp=B9});var N9=h(b9=>{"use strict";var gDe=Rd(),mDe=iQ(),pDe=vd(),yDe=sm(),EDe=fk(),Q9=p9(),Nk=y9(),yQ=C9(),CDe=$B(),IDe=pk(),BDe=uQ(),QDe=Bk(),wk=bk(),bDe=[gDe.map,pDe.seq,yDe.string,mDe.nullTag,Q9.trueTag,Q9.falseTag,yQ.intBin,yQ.intOct,yQ.int,yQ.intHex,Nk.floatNaN,Nk.floatExp,Nk.float,EDe.binary,CDe.merge,IDe.omap,BDe.pairs,QDe.set,wk.intTime,wk.floatTime,wk.timestamp];b9.schema=bDe});var T9=h(Rk=>{"use strict";var R9=Rd(),NDe=iQ(),v9=vd(),wDe=sm(),SDe=sk(),Sk=ak(),xk=ck(),xDe=i9(),RDe=a9(),_9=fk(),lm=$B(),D9=pk(),k9=uQ(),w9=N9(),P9=Bk(),EQ=bk(),S9=new Map([["core",xDe.schema],["failsafe",[R9.map,v9.seq,wDe.string]],["json",RDe.schema],["yaml11",w9.schema],["yaml-1.1",w9.schema]]),x9={binary:_9.binary,bool:SDe.boolTag,float:Sk.float,floatExp:Sk.floatExp,floatNaN:Sk.floatNaN,floatTime:EQ.floatTime,int:xk.int,intHex:xk.intHex,intOct:xk.intOct,intTime:EQ.intTime,map:R9.map,merge:lm.merge,null:NDe.nullTag,omap:D9.omap,pairs:k9.pairs,seq:v9.seq,set:P9.set,timestamp:EQ.timestamp},vDe={"tag:yaml.org,2002:binary":_9.binary,"tag:yaml.org,2002:merge":lm.merge,"tag:yaml.org,2002:omap":D9.omap,"tag:yaml.org,2002:pairs":k9.pairs,"tag:yaml.org,2002:set":P9.set,"tag:yaml.org,2002:timestamp":EQ.timestamp};function _De(t,e,r){let n=S9.get(e);if(n&&!t)return r&&!n.includes(lm.merge)?n.concat(lm.merge):n.slice();let i=n;if(!i)if(Array.isArray(t))i=[];else{let s=Array.from(S9.keys()).filter(o=>o!=="yaml11").map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown schema "${e}"; use one of ${s} or define customTags array`)}if(Array.isArray(t))for(let s of t)i=i.concat(s);else typeof t=="function"&&(i=t(i.slice()));return r&&(i=i.concat(lm.merge)),i.reduce((s,o)=>{let a=typeof o=="string"?x9[o]:o;if(!a){let A=JSON.stringify(o),c=Object.keys(x9).map(l=>JSON.stringify(l)).join(", ");throw new Error(`Unknown custom tag ${A}; use one of ${c}`)}return s.includes(a)||s.push(a),s},[])}Rk.coreKnownTags=vDe;Rk.getTags=_De});var Dk=h(O9=>{"use strict";var vk=He(),DDe=Rd(),kDe=vd(),PDe=sm(),CQ=T9(),TDe=(t,e)=>t.key<e.key?-1:t.key>e.key?1:0,_k=class t{constructor({compat:e,customTags:r,merge:n,resolveKnownTags:i,schema:s,sortMapEntries:o,toStringDefaults:a}){this.compat=Array.isArray(e)?CQ.getTags(e,"compat"):e?CQ.getTags(null,e):null,this.name=typeof s=="string"&&s||"core",this.knownTags=i?CQ.coreKnownTags:{},this.tags=CQ.getTags(r,this.name,n),this.toStringOptions=a??null,Object.defineProperty(this,vk.MAP,{value:DDe.map}),Object.defineProperty(this,vk.SCALAR,{value:PDe.string}),Object.defineProperty(this,vk.SEQ,{value:kDe.seq}),this.sortMapEntries=typeof o=="function"?o:o===!0?TDe:null}clone(){let e=Object.create(t.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}};O9.Schema=_k});var M9=h(L9=>{"use strict";var ODe=He(),kk=tm(),um=Kg();function LDe(t,e){let r=[],n=e.directives===!0;if(e.directives!==!1&&t.directives){let A=t.directives.toString(t);A?(r.push(A),n=!0):t.directives.docStart&&(n=!0)}n&&r.push("---");let i=kk.createStringifyContext(t,e),{commentString:s}=i.options;if(t.commentBefore){r.length!==1&&r.unshift("");let A=s(t.commentBefore);r.unshift(um.indentComment(A,""))}let o=!1,a=null;if(t.contents){if(ODe.isNode(t.contents)){if(t.contents.spaceBefore&&n&&r.push(""),t.contents.commentBefore){let l=s(t.contents.commentBefore);r.push(um.indentComment(l,""))}i.forceBlockIndent=!!t.comment,a=t.contents.comment}let A=a?void 0:()=>o=!0,c=kk.stringify(t.contents,i,()=>a=null,A);a&&(c+=um.lineComment(c,"",s(a))),(c[0]==="|"||c[0]===">")&&r[r.length-1]==="---"?r[r.length-1]=`--- ${c}`:r.push(c)}else r.push(kk.stringify(t.contents,i));if(t.directives?.docEnd)if(t.comment){let A=s(t.comment);A.includes(`
|
||
`)?(r.push("..."),r.push(um.indentComment(A,""))):r.push(`... ${A}`)}else r.push("...");else{let A=t.comment;A&&o&&(A=A.replace(/^\n+/,"")),A&&((!o||a)&&r[r.length-1]!==""&&r.push(""),r.push(um.indentComment(s(A),"")))}return r.join(`
|
||
`)+`
|
||
`}L9.stringifyDocument=LDe});var dm=h(F9=>{"use strict";var MDe=Wg(),Dd=qB(),ki=He(),FDe=ka(),UDe=Ra(),qDe=Dk(),HDe=M9(),Pk=OB(),jDe=MD(),zDe=$g(),Tk=LD(),Ok=class t{constructor(e,r,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,ki.NODE_TYPE,{value:ki.DOC});let i=null;typeof r=="function"||Array.isArray(r)?i=r:n===void 0&&r&&(n=r,r=void 0);let s=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},n);this.options=s;let{version:o}=s;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new Tk.Directives({version:o}),this.setSchema(o,n),this.contents=e===void 0?null:this.createNode(e,i,n)}clone(){let e=Object.create(t.prototype,{[ki.NODE_TYPE]:{value:ki.DOC}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=ki.isNode(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){kd(this.contents)&&this.contents.add(e)}addIn(e,r){kd(this.contents)&&this.contents.addIn(e,r)}createAlias(e,r){if(!e.anchor){let n=Pk.anchorNames(this);e.anchor=!r||n.has(r)?Pk.findNewAnchor(r||"a",n):r}return new MDe.Alias(e.anchor)}createNode(e,r,n){let i;if(typeof r=="function")e=r.call({"":e},"",e),i=r;else if(Array.isArray(r)){let E=I=>typeof I=="number"||I instanceof String||I instanceof Number,C=r.filter(E).map(String);C.length>0&&(r=r.concat(C)),i=r}else n===void 0&&r&&(n=r,r=void 0);let{aliasDuplicateObjects:s,anchorPrefix:o,flow:a,keepUndefined:A,onTagObj:c,tag:l}=n??{},{onAnchor:u,setAnchors:d,sourceObjects:f}=Pk.createNodeAnchors(this,o||"a"),g={aliasDuplicateObjects:s??!0,keepUndefined:A??!1,onAnchor:u,onTagObj:c,replacer:i,schema:this.schema,sourceObjects:f},m=zDe.createNode(e,l,g);return a&&ki.isCollection(m)&&(m.flow=!0),d(),m}createPair(e,r,n={}){let i=this.createNode(e,null,n),s=this.createNode(r,null,n);return new FDe.Pair(i,s)}delete(e){return kd(this.contents)?this.contents.delete(e):!1}deleteIn(e){return Dd.isEmptyPath(e)?this.contents==null?!1:(this.contents=null,!0):kd(this.contents)?this.contents.deleteIn(e):!1}get(e,r){return ki.isCollection(this.contents)?this.contents.get(e,r):void 0}getIn(e,r){return Dd.isEmptyPath(e)?!r&&ki.isScalar(this.contents)?this.contents.value:this.contents:ki.isCollection(this.contents)?this.contents.getIn(e,r):void 0}has(e){return ki.isCollection(this.contents)?this.contents.has(e):!1}hasIn(e){return Dd.isEmptyPath(e)?this.contents!==void 0:ki.isCollection(this.contents)?this.contents.hasIn(e):!1}set(e,r){this.contents==null?this.contents=Dd.collectionFromPath(this.schema,[e],r):kd(this.contents)&&this.contents.set(e,r)}setIn(e,r){Dd.isEmptyPath(e)?this.contents=r:this.contents==null?this.contents=Dd.collectionFromPath(this.schema,Array.from(e),r):kd(this.contents)&&this.contents.setIn(e,r)}setSchema(e,r={}){typeof e=="number"&&(e=String(e));let n;switch(e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Tk.Directives({version:"1.1"}),n={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new Tk.Directives({version:e}),n={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{let i=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${i}`)}}if(r.schema instanceof Object)this.schema=r.schema;else if(n)this.schema=new qDe.Schema(Object.assign(n,r));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:r,mapAsMap:n,maxAliasCount:i,onAnchor:s,reviver:o}={}){let a={anchors:new Map,doc:this,keep:!e,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},A=UDe.toJS(this.contents,r??"",a);if(typeof s=="function")for(let{count:c,res:l}of a.anchors.values())s(l,c);return typeof o=="function"?jDe.applyReviver(o,{"":A},"",A):A}toJSON(e,r){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:r})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){let r=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${r}`)}return HDe.stringifyDocument(this,e)}};function kd(t){if(ki.isCollection(t))return!0;throw new Error("Expected a YAML collection as document contents")}F9.Document=Ok});var gm=h(hm=>{"use strict";var fm=class extends Error{constructor(e,r,n,i){super(),this.name=e,this.code=n,this.message=i,this.pos=r}},Lk=class extends fm{constructor(e,r,n){super("YAMLParseError",e,r,n)}},Mk=class extends fm{constructor(e,r,n){super("YAMLWarning",e,r,n)}},GDe=(t,e)=>r=>{if(r.pos[0]===-1)return;r.linePos=r.pos.map(a=>e.linePos(a));let{line:n,col:i}=r.linePos[0];r.message+=` at line ${n}, column ${i}`;let s=i-1,o=t.substring(e.lineStarts[n-1],e.lineStarts[n]).replace(/[\n\r]+$/,"");if(s>=60&&o.length>80){let a=Math.min(s-39,o.length-79);o="\u2026"+o.substring(a),s-=a-1}if(o.length>80&&(o=o.substring(0,79)+"\u2026"),n>1&&/^ *$/.test(o.substring(0,s))){let a=t.substring(e.lineStarts[n-2],e.lineStarts[n-1]);a.length>80&&(a=a.substring(0,79)+`\u2026
|
||
`),o=a+o}if(/[^ ]/.test(o)){let a=1,A=r.linePos[1];A&&A.line===n&&A.col>i&&(a=Math.max(1,Math.min(A.col-i,80-s)));let c=" ".repeat(s)+"^".repeat(a);r.message+=`:
|
||
|
||
${o}
|
||
${c}
|
||
`}};hm.YAMLError=fm;hm.YAMLParseError=Lk;hm.YAMLWarning=Mk;hm.prettifyError=GDe});var mm=h(U9=>{"use strict";function YDe(t,{flow:e,indicator:r,next:n,offset:i,onError:s,parentIndent:o,startOnNewline:a}){let A=!1,c=a,l=a,u="",d="",f=!1,g=!1,m=null,E=null,C=null,I=null,N=null,w=null,v=null;for(let k of t)switch(g&&(k.type!=="space"&&k.type!=="newline"&&k.type!=="comma"&&s(k.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),g=!1),m&&(c&&k.type!=="comment"&&k.type!=="newline"&&s(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),m=null),k.type){case"space":!e&&(r!=="doc-start"||n?.type!=="flow-collection")&&k.source.includes(" ")&&(m=k),l=!0;break;case"comment":{l||s(k,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let J=k.source.substring(1)||" ";u?u+=d+J:u=J,d="",c=!1;break}case"newline":c?u?u+=k.source:(!w||r!=="seq-item-ind")&&(A=!0):d+=k.source,c=!0,f=!0,(E||C)&&(I=k),l=!0;break;case"anchor":E&&s(k,"MULTIPLE_ANCHORS","A node can have at most one anchor"),k.source.endsWith(":")&&s(k.offset+k.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),E=k,v===null&&(v=k.offset),c=!1,l=!1,g=!0;break;case"tag":{C&&s(k,"MULTIPLE_TAGS","A node can have at most one tag"),C=k,v===null&&(v=k.offset),c=!1,l=!1,g=!0;break}case r:(E||C)&&s(k,"BAD_PROP_ORDER",`Anchors and tags must be after the ${k.source} indicator`),w&&s(k,"UNEXPECTED_TOKEN",`Unexpected ${k.source} in ${e??"collection"}`),w=k,c=r==="seq-item-ind"||r==="explicit-key-ind",l=!1;break;case"comma":if(e){N&&s(k,"UNEXPECTED_TOKEN",`Unexpected , in ${e}`),N=k,c=!1,l=!1;break}default:s(k,"UNEXPECTED_TOKEN",`Unexpected ${k.type} token`),c=!1,l=!1}let T=t[t.length-1],U=T?T.offset+T.source.length:i;return g&&n&&n.type!=="space"&&n.type!=="newline"&&n.type!=="comma"&&(n.type!=="scalar"||n.source!=="")&&s(n.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m&&(c&&m.indent<=o||n?.type==="block-map"||n?.type==="block-seq")&&s(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:N,found:w,spaceBefore:A,comment:u,hasNewline:f,anchor:E,tag:C,newlineAfterProp:I,end:U,start:v??U}}U9.resolveProps=YDe});var IQ=h(q9=>{"use strict";function Fk(t){if(!t)return null;switch(t.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(t.source.includes(`
|
||
`))return!0;if(t.end){for(let e of t.end)if(e.type==="newline")return!0}return!1;case"flow-collection":for(let e of t.items){for(let r of e.start)if(r.type==="newline")return!0;if(e.sep){for(let r of e.sep)if(r.type==="newline")return!0}if(Fk(e.key)||Fk(e.value))return!0}return!1;default:return!0}}q9.containsNewline=Fk});var Uk=h(H9=>{"use strict";var JDe=IQ();function VDe(t,e,r){if(e?.type==="flow-collection"){let n=e.end[0];n.indent===t&&(n.source==="]"||n.source==="}")&&JDe.containsNewline(e)&&r(n,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}H9.flowIndentCheck=VDe});var qk=h(z9=>{"use strict";var j9=He();function WDe(t,e,r){let{uniqueKeys:n}=t.options;if(n===!1)return!1;let i=typeof n=="function"?n:(s,o)=>s===o||j9.isScalar(s)&&j9.isScalar(o)&&s.value===o.value;return e.some(s=>i(s.key,r))}z9.mapIncludes=WDe});var $9=h(W9=>{"use strict";var G9=ka(),$De=Ta(),Y9=mm(),KDe=IQ(),J9=Uk(),XDe=qk(),V9="All mapping items must start at the same column";function ZDe({composeNode:t,composeEmptyNode:e},r,n,i,s){let o=s?.nodeClass??$De.YAMLMap,a=new o(r.schema);r.atRoot&&(r.atRoot=!1);let A=n.offset,c=null;for(let l of n.items){let{start:u,key:d,sep:f,value:g}=l,m=Y9.resolveProps(u,{indicator:"explicit-key-ind",next:d??f?.[0],offset:A,onError:i,parentIndent:n.indent,startOnNewline:!0}),E=!m.found;if(E){if(d&&(d.type==="block-seq"?i(A,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in d&&d.indent!==n.indent&&i(A,"BAD_INDENT",V9)),!m.anchor&&!m.tag&&!f){c=m.end,m.comment&&(a.comment?a.comment+=`
|
||
`+m.comment:a.comment=m.comment);continue}(m.newlineAfterProp||KDe.containsNewline(d))&&i(d??u[u.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else m.found?.indent!==n.indent&&i(A,"BAD_INDENT",V9);r.atKey=!0;let C=m.end,I=d?t(r,d,m,i):e(r,C,u,null,m,i);r.schema.compat&&J9.flowIndentCheck(n.indent,d,i),r.atKey=!1,XDe.mapIncludes(r,a.items,I)&&i(C,"DUPLICATE_KEY","Map keys must be unique");let N=Y9.resolveProps(f??[],{indicator:"map-value-ind",next:g,offset:I.range[2],onError:i,parentIndent:n.indent,startOnNewline:!d||d.type==="block-scalar"});if(A=N.end,N.found){E&&(g?.type==="block-map"&&!N.hasNewline&&i(A,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),r.options.strict&&m.start<N.found.offset-1024&&i(I.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let w=g?t(r,g,N,i):e(r,A,f,null,N,i);r.schema.compat&&J9.flowIndentCheck(n.indent,g,i),A=w.range[2];let v=new G9.Pair(I,w);r.options.keepSourceTokens&&(v.srcToken=l),a.items.push(v)}else{E&&i(I.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),N.comment&&(I.comment?I.comment+=`
|
||
`+N.comment:I.comment=N.comment);let w=new G9.Pair(I);r.options.keepSourceTokens&&(w.srcToken=l),a.items.push(w)}}return c&&c<A&&i(c,"IMPOSSIBLE","Map comment with trailing content"),a.range=[n.offset,A,c??A],a}W9.resolveBlockMap=ZDe});var X9=h(K9=>{"use strict";var eke=Oa(),tke=mm(),rke=Uk();function nke({composeNode:t,composeEmptyNode:e},r,n,i,s){let o=s?.nodeClass??eke.YAMLSeq,a=new o(r.schema);r.atRoot&&(r.atRoot=!1),r.atKey&&(r.atKey=!1);let A=n.offset,c=null;for(let{start:l,value:u}of n.items){let d=tke.resolveProps(l,{indicator:"seq-item-ind",next:u,offset:A,onError:i,parentIndent:n.indent,startOnNewline:!0});if(!d.found)if(d.anchor||d.tag||u)u&&u.type==="block-seq"?i(d.end,"BAD_INDENT","All sequence items must start at the same column"):i(A,"MISSING_CHAR","Sequence item without - indicator");else{c=d.end,d.comment&&(a.comment=d.comment);continue}let f=u?t(r,u,d,i):e(r,d.end,l,null,d,i);r.schema.compat&&rke.flowIndentCheck(n.indent,u,i),A=f.range[2],a.items.push(f)}return a.range=[n.offset,A,c??A],a}K9.resolveBlockSeq=nke});var Pd=h(Z9=>{"use strict";function ike(t,e,r,n){let i="";if(t){let s=!1,o="";for(let a of t){let{source:A,type:c}=a;switch(c){case"space":s=!0;break;case"comment":{r&&!s&&n(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let l=A.substring(1)||" ";i?i+=o+l:i=l,o="";break}case"newline":i&&(o+=A),s=!0;break;default:n(a,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}e+=A.length}}return{comment:i,offset:e}}Z9.resolveEnd=ike});var n8=h(r8=>{"use strict";var ske=He(),oke=ka(),e8=Ta(),ake=Oa(),Ake=Pd(),t8=mm(),cke=IQ(),lke=qk(),Hk="Block collections are not allowed within flow collections",jk=t=>t&&(t.type==="block-map"||t.type==="block-seq");function uke({composeNode:t,composeEmptyNode:e},r,n,i,s){let o=n.start.source==="{",a=o?"flow map":"flow sequence",A=s?.nodeClass??(o?e8.YAMLMap:ake.YAMLSeq),c=new A(r.schema);c.flow=!0;let l=r.atRoot;l&&(r.atRoot=!1),r.atKey&&(r.atKey=!1);let u=n.offset+n.start.source.length;for(let E=0;E<n.items.length;++E){let C=n.items[E],{start:I,key:N,sep:w,value:v}=C,T=t8.resolveProps(I,{flow:a,indicator:"explicit-key-ind",next:N??w?.[0],offset:u,onError:i,parentIndent:n.indent,startOnNewline:!1});if(!T.found){if(!T.anchor&&!T.tag&&!w&&!v){E===0&&T.comma?i(T.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`):E<n.items.length-1&&i(T.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${a}`),T.comment&&(c.comment?c.comment+=`
|
||
`+T.comment:c.comment=T.comment),u=T.end;continue}!o&&r.options.strict&&cke.containsNewline(N)&&i(N,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(E===0)T.comma&&i(T.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`);else if(T.comma||i(T.start,"MISSING_CHAR",`Missing , between ${a} items`),T.comment){let U="";e:for(let k of I)switch(k.type){case"comma":case"space":break;case"comment":U=k.source.substring(1);break e;default:break e}if(U){let k=c.items[c.items.length-1];ske.isPair(k)&&(k=k.value??k.key),k.comment?k.comment+=`
|
||
`+U:k.comment=U,T.comment=T.comment.substring(U.length+1)}}if(!o&&!w&&!T.found){let U=v?t(r,v,T,i):e(r,T.end,w,null,T,i);c.items.push(U),u=U.range[2],jk(v)&&i(U.range,"BLOCK_IN_FLOW",Hk)}else{r.atKey=!0;let U=T.end,k=N?t(r,N,T,i):e(r,U,I,null,T,i);jk(N)&&i(k.range,"BLOCK_IN_FLOW",Hk),r.atKey=!1;let J=t8.resolveProps(w??[],{flow:a,indicator:"map-value-ind",next:v,offset:k.range[2],onError:i,parentIndent:n.indent,startOnNewline:!1});if(J.found){if(!o&&!T.found&&r.options.strict){if(w)for(let H of w){if(H===J.found)break;if(H.type==="newline"){i(H,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}T.start<J.found.offset-1024&&i(J.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else v&&("source"in v&&v.source&&v.source[0]===":"?i(v,"MISSING_CHAR",`Missing space after : in ${a}`):i(J.start,"MISSING_CHAR",`Missing , or : between ${a} items`));let be=v?t(r,v,J,i):J.found?e(r,J.end,w,null,J,i):null;be?jk(v)&&i(be.range,"BLOCK_IN_FLOW",Hk):J.comment&&(k.comment?k.comment+=`
|
||
`+J.comment:k.comment=J.comment);let Re=new oke.Pair(k,be);if(r.options.keepSourceTokens&&(Re.srcToken=C),o){let H=c;lke.mapIncludes(r,H.items,k)&&i(U,"DUPLICATE_KEY","Map keys must be unique"),H.items.push(Re)}else{let H=new e8.YAMLMap(r.schema);H.flow=!0,H.items.push(Re);let _e=(be??k).range;H.range=[k.range[0],_e[1],_e[2]],c.items.push(H)}u=be?be.range[2]:J.end}}let d=o?"}":"]",[f,...g]=n.end,m=u;if(f&&f.source===d)m=f.offset+f.source.length;else{let E=a[0].toUpperCase()+a.substring(1),C=l?`${E} must end with a ${d}`:`${E} in block collection must be sufficiently indented and end with a ${d}`;i(u,l?"MISSING_CHAR":"BAD_INDENT",C),f&&f.source.length!==1&&g.unshift(f)}if(g.length>0){let E=Ake.resolveEnd(g,m,r.options.strict,i);E.comment&&(c.comment?c.comment+=`
|
||
`+E.comment:c.comment=E.comment),c.range=[n.offset,m,E.offset]}else c.range=[n.offset,m,m];return c}r8.resolveFlowCollection=uke});var s8=h(i8=>{"use strict";var dke=He(),fke=sr(),hke=Ta(),gke=Oa(),mke=$9(),pke=X9(),yke=n8();function zk(t,e,r,n,i,s){let o=r.type==="block-map"?mke.resolveBlockMap(t,e,r,n,s):r.type==="block-seq"?pke.resolveBlockSeq(t,e,r,n,s):yke.resolveFlowCollection(t,e,r,n,s),a=o.constructor;return i==="!"||i===a.tagName?(o.tag=a.tagName,o):(i&&(o.tag=i),o)}function Eke(t,e,r,n,i){let s=n.tag,o=s?e.directives.tagName(s.source,d=>i(s,"TAG_RESOLVE_FAILED",d)):null;if(r.type==="block-seq"){let{anchor:d,newlineAfterProp:f}=n,g=d&&s?d.offset>s.offset?d:s:d??s;g&&(!f||f.offset<g.offset)&&i(g,"MISSING_CHAR","Missing newline after block sequence props")}let a=r.type==="block-map"?"map":r.type==="block-seq"?"seq":r.start.source==="{"?"map":"seq";if(!s||!o||o==="!"||o===hke.YAMLMap.tagName&&a==="map"||o===gke.YAMLSeq.tagName&&a==="seq")return zk(t,e,r,i,o);let A=e.schema.tags.find(d=>d.tag===o&&d.collection===a);if(!A){let d=e.schema.knownTags[o];if(d&&d.collection===a)e.schema.tags.push(Object.assign({},d,{default:!1})),A=d;else return d?.collection?i(s,"BAD_COLLECTION_TYPE",`${d.tag} used for ${a} collection, but expects ${d.collection}`,!0):i(s,"TAG_RESOLVE_FAILED",`Unresolved tag: ${o}`,!0),zk(t,e,r,i,o)}let c=zk(t,e,r,i,o,A),l=A.resolve?.(c,d=>i(s,"TAG_RESOLVE_FAILED",d),e.options)??c,u=dke.isNode(l)?l:new fke.Scalar(l);return u.range=c.range,u.tag=o,A?.format&&(u.format=A.format),u}i8.composeCollection=Eke});var Yk=h(o8=>{"use strict";var Gk=sr();function Cke(t,e,r){let n=e.offset,i=Ike(e,t.options.strict,r);if(!i)return{value:"",type:null,comment:"",range:[n,n,n]};let s=i.mode===">"?Gk.Scalar.BLOCK_FOLDED:Gk.Scalar.BLOCK_LITERAL,o=e.source?Bke(e.source):[],a=o.length;for(let m=o.length-1;m>=0;--m){let E=o[m][1];if(E===""||E==="\r")a=m;else break}if(a===0){let m=i.chomp==="+"&&o.length>0?`
|
||
`.repeat(Math.max(1,o.length-1)):"",E=n+i.length;return e.source&&(E+=e.source.length),{value:m,type:s,comment:i.comment,range:[n,E,E]}}let A=e.indent+i.indent,c=e.offset+i.length,l=0;for(let m=0;m<a;++m){let[E,C]=o[m];if(C===""||C==="\r")i.indent===0&&E.length>A&&(A=E.length);else{E.length<A&&r(c+E.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),i.indent===0&&(A=E.length),l=m,A===0&&!t.atRoot&&r(c,"BAD_INDENT","Block scalar values in collections must be indented");break}c+=E.length+C.length+1}for(let m=o.length-1;m>=a;--m)o[m][0].length>A&&(a=m+1);let u="",d="",f=!1;for(let m=0;m<l;++m)u+=o[m][0].slice(A)+`
|
||
`;for(let m=l;m<a;++m){let[E,C]=o[m];c+=E.length+C.length+1;let I=C[C.length-1]==="\r";if(I&&(C=C.slice(0,-1)),C&&E.length<A){let w=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;r(c-C.length-(I?2:1),"BAD_INDENT",w),E=""}s===Gk.Scalar.BLOCK_LITERAL?(u+=d+E.slice(A)+C,d=`
|
||
`):E.length>A||C[0]===" "?(d===" "?d=`
|
||
`:!f&&d===`
|
||
`&&(d=`
|
||
|
||
`),u+=d+E.slice(A)+C,d=`
|
||
`,f=!0):C===""?d===`
|
||
`?u+=`
|
||
`:d=`
|
||
`:(u+=d+C,d=" ",f=!1)}switch(i.chomp){case"-":break;case"+":for(let m=a;m<o.length;++m)u+=`
|
||
`+o[m][0].slice(A);u[u.length-1]!==`
|
||
`&&(u+=`
|
||
`);break;default:u+=`
|
||
`}let g=n+i.length+e.source.length;return{value:u,type:s,comment:i.comment,range:[n,g,g]}}function Ike({offset:t,props:e},r,n){if(e[0].type!=="block-scalar-header")return n(e[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:i}=e[0],s=i[0],o=0,a="",A=-1;for(let d=1;d<i.length;++d){let f=i[d];if(!a&&(f==="-"||f==="+"))a=f;else{let g=Number(f);!o&&g?o=g:A===-1&&(A=t+d)}}A!==-1&&n(A,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let c=!1,l="",u=i.length;for(let d=1;d<e.length;++d){let f=e[d];switch(f.type){case"space":c=!0;case"newline":u+=f.source.length;break;case"comment":r&&!c&&n(f,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),u+=f.source.length,l=f.source.substring(1);break;case"error":n(f,"UNEXPECTED_TOKEN",f.message),u+=f.source.length;break;default:{let g=`Unexpected token in block scalar header: ${f.type}`;n(f,"UNEXPECTED_TOKEN",g);let m=f.source;m&&typeof m=="string"&&(u+=m.length)}}}return{mode:s,indent:o,chomp:a,comment:l,length:u}}function Bke(t){let e=t.split(/\n( *)/),r=e[0],n=r.match(/^( *)/),s=[n?.[1]?[n[1],r.slice(n[1].length)]:["",r]];for(let o=1;o<e.length;o+=2)s.push([e[o],e[o+1]]);return s}o8.resolveBlockScalar=Cke});var Vk=h(A8=>{"use strict";var Jk=sr(),Qke=Pd();function bke(t,e,r){let{offset:n,type:i,source:s,end:o}=t,a,A,c=(d,f,g)=>r(n+d,f,g);switch(i){case"scalar":a=Jk.Scalar.PLAIN,A=Nke(s,c);break;case"single-quoted-scalar":a=Jk.Scalar.QUOTE_SINGLE,A=wke(s,c);break;case"double-quoted-scalar":a=Jk.Scalar.QUOTE_DOUBLE,A=Ske(s,c);break;default:return r(t,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[n,n+s.length,n+s.length]}}let l=n+s.length,u=Qke.resolveEnd(o,l,e,r);return{value:A,type:a,comment:u.comment,range:[n,l,u.offset]}}function Nke(t,e){let r="";switch(t[0]){case" ":r="a tab character";break;case",":r="flow indicator character ,";break;case"%":r="directive indicator character %";break;case"|":case">":{r=`block scalar indicator ${t[0]}`;break}case"@":case"`":{r=`reserved character ${t[0]}`;break}}return r&&e(0,"BAD_SCALAR_START",`Plain value cannot start with ${r}`),a8(t)}function wke(t,e){return(t[t.length-1]!=="'"||t.length===1)&&e(t.length,"MISSING_CHAR","Missing closing 'quote"),a8(t.slice(1,-1)).replace(/''/g,"'")}function a8(t){let e,r;try{e=new RegExp(`(.*?)(?<![ ])[ ]*\r?
|
||
`,"sy"),r=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
|
||
`,"sy")}catch{e=/(.*?)[ \t]*\r?\n/sy,r=/[ \t]*(.*?)[ \t]*\r?\n/sy}let n=e.exec(t);if(!n)return t;let i=n[1],s=" ",o=e.lastIndex;for(r.lastIndex=o;n=r.exec(t);)n[1]===""?s===`
|
||
`?i+=s:s=`
|
||
`:(i+=s+n[1],s=" "),o=r.lastIndex;let a=/[ \t]*(.*)/sy;return a.lastIndex=o,n=a.exec(t),i+s+(n?.[1]??"")}function Ske(t,e){let r="";for(let n=1;n<t.length-1;++n){let i=t[n];if(!(i==="\r"&&t[n+1]===`
|
||
`))if(i===`
|
||
`){let{fold:s,offset:o}=xke(t,n);r+=s,n=o}else if(i==="\\"){let s=t[++n],o=Rke[s];if(o)r+=o;else if(s===`
|
||
`)for(s=t[n+1];s===" "||s===" ";)s=t[++n+1];else if(s==="\r"&&t[n+1]===`
|
||
`)for(s=t[++n+1];s===" "||s===" ";)s=t[++n+1];else if(s==="x"||s==="u"||s==="U"){let a={x:2,u:4,U:8}[s];r+=vke(t,n+1,a,e),n+=a}else{let a=t.substr(n-1,2);e(n-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),r+=a}}else if(i===" "||i===" "){let s=n,o=t[n+1];for(;o===" "||o===" ";)o=t[++n+1];o!==`
|
||
`&&!(o==="\r"&&t[n+2]===`
|
||
`)&&(r+=n>s?t.slice(s,n+1):i)}else r+=i}return(t[t.length-1]!=='"'||t.length===1)&&e(t.length,"MISSING_CHAR",'Missing closing "quote'),r}function xke(t,e){let r="",n=t[e+1];for(;(n===" "||n===" "||n===`
|
||
`||n==="\r")&&!(n==="\r"&&t[e+2]!==`
|
||
`);)n===`
|
||
`&&(r+=`
|
||
`),e+=1,n=t[e+1];return r||(r=" "),{fold:r,offset:e}}var Rke={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
|
||
`,r:"\r",t:" ",v:"\v",N:"\x85",_:"\xA0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function vke(t,e,r,n){let i=t.substr(e,r),o=i.length===r&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;if(isNaN(o)){let a=t.substr(e-2,r+2);return n(e-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),a}return String.fromCodePoint(o)}A8.resolveFlowScalar=bke});var u8=h(l8=>{"use strict";var VA=He(),c8=sr(),_ke=Yk(),Dke=Vk();function kke(t,e,r,n){let{value:i,type:s,comment:o,range:a}=e.type==="block-scalar"?_ke.resolveBlockScalar(t,e,n):Dke.resolveFlowScalar(e,t.options.strict,n),A=r?t.directives.tagName(r.source,u=>n(r,"TAG_RESOLVE_FAILED",u)):null,c;t.options.stringKeys&&t.atKey?c=t.schema[VA.SCALAR]:A?c=Pke(t.schema,i,A,r,n):e.type==="scalar"?c=Tke(t,i,e,n):c=t.schema[VA.SCALAR];let l;try{let u=c.resolve(i,d=>n(r??e,"TAG_RESOLVE_FAILED",d),t.options);l=VA.isScalar(u)?u:new c8.Scalar(u)}catch(u){let d=u instanceof Error?u.message:String(u);n(r??e,"TAG_RESOLVE_FAILED",d),l=new c8.Scalar(i)}return l.range=a,l.source=i,s&&(l.type=s),A&&(l.tag=A),c.format&&(l.format=c.format),o&&(l.comment=o),l}function Pke(t,e,r,n,i){if(r==="!")return t[VA.SCALAR];let s=[];for(let a of t.tags)if(!a.collection&&a.tag===r)if(a.default&&a.test)s.push(a);else return a;for(let a of s)if(a.test?.test(e))return a;let o=t.knownTags[r];return o&&!o.collection?(t.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(i(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${r}`,r!=="tag:yaml.org,2002:str"),t[VA.SCALAR])}function Tke({atKey:t,directives:e,schema:r},n,i,s){let o=r.tags.find(a=>(a.default===!0||t&&a.default==="key")&&a.test?.test(n))||r[VA.SCALAR];if(r.compat){let a=r.compat.find(A=>A.default&&A.test?.test(n))??r[VA.SCALAR];if(o.tag!==a.tag){let A=e.tagString(o.tag),c=e.tagString(a.tag),l=`Value may be parsed as either ${A} or ${c}`;s(i,"TAG_RESOLVE_FAILED",l,!0)}}return o}l8.composeScalar=kke});var f8=h(d8=>{"use strict";function Oke(t,e,r){if(e){r===null&&(r=e.length);for(let n=r-1;n>=0;--n){let i=e[n];switch(i.type){case"space":case"comment":case"newline":t-=i.source.length;continue}for(i=e[++n];i?.type==="space";)t+=i.source.length,i=e[++n];break}}return t}d8.emptyScalarPosition=Oke});var m8=h($k=>{"use strict";var Lke=Wg(),Mke=He(),Fke=s8(),h8=u8(),Uke=Pd(),qke=f8(),Hke={composeNode:g8,composeEmptyNode:Wk};function g8(t,e,r,n){let i=t.atKey,{spaceBefore:s,comment:o,anchor:a,tag:A}=r,c,l=!0;switch(e.type){case"alias":c=jke(t,e,n),(a||A)&&n(e,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":c=h8.composeScalar(t,e,A,n),a&&(c.anchor=a.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":c=Fke.composeCollection(Hke,t,e,r,n),a&&(c.anchor=a.source.substring(1));break;default:{let u=e.type==="error"?e.message:`Unsupported token (type: ${e.type})`;n(e,"UNEXPECTED_TOKEN",u),c=Wk(t,e.offset,void 0,null,r,n),l=!1}}return a&&c.anchor===""&&n(a,"BAD_ALIAS","Anchor cannot be an empty string"),i&&t.options.stringKeys&&(!Mke.isScalar(c)||typeof c.value!="string"||c.tag&&c.tag!=="tag:yaml.org,2002:str")&&n(A??e,"NON_STRING_KEY","With stringKeys, all keys must be strings"),s&&(c.spaceBefore=!0),o&&(e.type==="scalar"&&e.source===""?c.comment=o:c.commentBefore=o),t.options.keepSourceTokens&&l&&(c.srcToken=e),c}function Wk(t,e,r,n,{spaceBefore:i,comment:s,anchor:o,tag:a,end:A},c){let l={type:"scalar",offset:qke.emptyScalarPosition(e,r,n),indent:-1,source:""},u=h8.composeScalar(t,l,a,c);return o&&(u.anchor=o.source.substring(1),u.anchor===""&&c(o,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(u.spaceBefore=!0),s&&(u.comment=s,u.range[2]=A),u}function jke({options:t},{offset:e,source:r,end:n},i){let s=new Lke.Alias(r.substring(1));s.source===""&&i(e,"BAD_ALIAS","Alias cannot be an empty string"),s.source.endsWith(":")&&i(e+r.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let o=e+r.length,a=Uke.resolveEnd(n,o,t.strict,i);return s.range=[e,o,a.offset],a.comment&&(s.comment=a.comment),s}$k.composeEmptyNode=Wk;$k.composeNode=g8});var E8=h(y8=>{"use strict";var zke=dm(),p8=m8(),Gke=Pd(),Yke=mm();function Jke(t,e,{offset:r,start:n,value:i,end:s},o){let a=Object.assign({_directives:e},t),A=new zke.Document(void 0,a),c={atKey:!1,atRoot:!0,directives:A.directives,options:A.options,schema:A.schema},l=Yke.resolveProps(n,{indicator:"doc-start",next:i??s?.[0],offset:r,onError:o,parentIndent:0,startOnNewline:!0});l.found&&(A.directives.docStart=!0,i&&(i.type==="block-map"||i.type==="block-seq")&&!l.hasNewline&&o(l.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),A.contents=i?p8.composeNode(c,i,l,o):p8.composeEmptyNode(c,l.end,n,null,l,o);let u=A.contents.range[2],d=Gke.resolveEnd(s,u,!1,o);return d.comment&&(A.comment=d.comment),A.range=[r,u,d.offset],A}y8.composeDoc=Jke});var Xk=h(B8=>{"use strict";var Vke=require("node:process"),Wke=LD(),$ke=dm(),pm=gm(),C8=He(),Kke=E8(),Xke=Pd();function ym(t){if(typeof t=="number")return[t,t+1];if(Array.isArray(t))return t.length===2?t:[t[0],t[1]];let{offset:e,source:r}=t;return[e,e+(typeof r=="string"?r.length:1)]}function I8(t){let e="",r=!1,n=!1;for(let i=0;i<t.length;++i){let s=t[i];switch(s[0]){case"#":e+=(e===""?"":n?`
|
||
|
||
`:`
|
||
`)+(s.substring(1)||" "),r=!0,n=!1;break;case"%":t[i+1]?.[0]!=="#"&&(i+=1),r=!1;break;default:r||(n=!0),r=!1}}return{comment:e,afterEmptyLine:n}}var Kk=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(r,n,i,s)=>{let o=ym(r);s?this.warnings.push(new pm.YAMLWarning(o,n,i)):this.errors.push(new pm.YAMLParseError(o,n,i))},this.directives=new Wke.Directives({version:e.version||"1.2"}),this.options=e}decorate(e,r){let{comment:n,afterEmptyLine:i}=I8(this.prelude);if(n){let s=e.contents;if(r)e.comment=e.comment?`${e.comment}
|
||
${n}`:n;else if(i||e.directives.docStart||!s)e.commentBefore=n;else if(C8.isCollection(s)&&!s.flow&&s.items.length>0){let o=s.items[0];C8.isPair(o)&&(o=o.key);let a=o.commentBefore;o.commentBefore=a?`${n}
|
||
${a}`:n}else{let o=s.commentBefore;s.commentBefore=o?`${n}
|
||
${o}`:n}}r?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:I8(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,r=!1,n=-1){for(let i of e)yield*this.next(i);yield*this.end(r,n)}*next(e){switch(Vke.env.LOG_STREAM&&console.dir(e,{depth:null}),e.type){case"directive":this.directives.add(e.source,(r,n,i)=>{let s=ym(e);s[0]+=r,this.onError(s,"BAD_DIRECTIVE",n,i)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let r=Kke.composeDoc(this.options,this.directives,e,this.onError);this.atDirectives&&!r.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(r,!1),this.doc&&(yield this.doc),this.doc=r,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{let r=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new pm.YAMLParseError(ym(e),"UNEXPECTED_TOKEN",r);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){let n="Unexpected doc-end without preceding document";this.errors.push(new pm.YAMLParseError(ym(e),"UNEXPECTED_TOKEN",n));break}this.doc.directives.docEnd=!0;let r=Xke.resolveEnd(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),r.comment){let n=this.doc.comment;this.doc.comment=n?`${n}
|
||
${r.comment}`:r.comment}this.doc.range[2]=r.offset;break}default:this.errors.push(new pm.YAMLParseError(ym(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,r=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let n=Object.assign({_directives:this.directives},this.options),i=new $ke.Document(void 0,n);this.atDirectives&&this.onError(r,"MISSING_CHAR","Missing directives-end indicator line"),i.range=[0,r,r],this.decorate(i,!1),yield i}}};B8.Composer=Kk});var N8=h(BQ=>{"use strict";var Zke=Yk(),ePe=Vk(),tPe=gm(),Q8=em();function rPe(t,e=!0,r){if(t){let n=(i,s,o)=>{let a=typeof i=="number"?i:Array.isArray(i)?i[0]:i.offset;if(r)r(a,s,o);else throw new tPe.YAMLParseError([a,a+1],s,o)};switch(t.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return ePe.resolveFlowScalar(t,e,n);case"block-scalar":return Zke.resolveBlockScalar({options:{strict:e}},t,n)}}return null}function nPe(t,e){let{implicitKey:r=!1,indent:n,inFlow:i=!1,offset:s=-1,type:o="PLAIN"}=e,a=Q8.stringifyString({type:o,value:t},{implicitKey:r,indent:n>0?" ".repeat(n):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}}),A=e.end??[{type:"newline",offset:-1,indent:n,source:`
|
||
`}];switch(a[0]){case"|":case">":{let c=a.indexOf(`
|
||
`),l=a.substring(0,c),u=a.substring(c+1)+`
|
||
`,d=[{type:"block-scalar-header",offset:s,indent:n,source:l}];return b8(d,A)||d.push({type:"newline",offset:-1,indent:n,source:`
|
||
`}),{type:"block-scalar",offset:s,indent:n,props:d,source:u}}case'"':return{type:"double-quoted-scalar",offset:s,indent:n,source:a,end:A};case"'":return{type:"single-quoted-scalar",offset:s,indent:n,source:a,end:A};default:return{type:"scalar",offset:s,indent:n,source:a,end:A}}}function iPe(t,e,r={}){let{afterKey:n=!1,implicitKey:i=!1,inFlow:s=!1,type:o}=r,a="indent"in t?t.indent:null;if(n&&typeof a=="number"&&(a+=2),!o)switch(t.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{let c=t.props[0];if(c.type!=="block-scalar-header")throw new Error("Invalid block scalar header");o=c.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN"}let A=Q8.stringifyString({type:o,value:e},{implicitKey:i||a===null,indent:a!==null&&a>0?" ".repeat(a):"",inFlow:s,options:{blockQuote:!0,lineWidth:-1}});switch(A[0]){case"|":case">":sPe(t,A);break;case'"':Zk(t,A,"double-quoted-scalar");break;case"'":Zk(t,A,"single-quoted-scalar");break;default:Zk(t,A,"scalar")}}function sPe(t,e){let r=e.indexOf(`
|
||
`),n=e.substring(0,r),i=e.substring(r+1)+`
|
||
`;if(t.type==="block-scalar"){let s=t.props[0];if(s.type!=="block-scalar-header")throw new Error("Invalid block scalar header");s.source=n,t.source=i}else{let{offset:s}=t,o="indent"in t?t.indent:-1,a=[{type:"block-scalar-header",offset:s,indent:o,source:n}];b8(a,"end"in t?t.end:void 0)||a.push({type:"newline",offset:-1,indent:o,source:`
|
||
`});for(let A of Object.keys(t))A!=="type"&&A!=="offset"&&delete t[A];Object.assign(t,{type:"block-scalar",indent:o,props:a,source:i})}}function b8(t,e){if(e)for(let r of e)switch(r.type){case"space":case"comment":t.push(r);break;case"newline":return t.push(r),!0}return!1}function Zk(t,e,r){switch(t.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":t.type=r,t.source=e;break;case"block-scalar":{let n=t.props.slice(1),i=e.length;t.props[0].type==="block-scalar-header"&&(i-=t.props[0].source.length);for(let s of n)s.offset+=i;delete t.props,Object.assign(t,{type:r,source:e,end:n});break}case"block-map":case"block-seq":{let i={type:"newline",offset:t.offset+e.length,indent:t.indent,source:`
|
||
`};delete t.items,Object.assign(t,{type:r,source:e,end:[i]});break}default:{let n="indent"in t?t.indent:-1,i="end"in t&&Array.isArray(t.end)?t.end.filter(s=>s.type==="space"||s.type==="comment"||s.type==="newline"):[];for(let s of Object.keys(t))s!=="type"&&s!=="offset"&&delete t[s];Object.assign(t,{type:r,indent:n,source:e,end:i})}}}BQ.createScalarToken=nPe;BQ.resolveAsScalar=rPe;BQ.setScalarValue=iPe});var S8=h(w8=>{"use strict";var oPe=t=>"type"in t?bQ(t):QQ(t);function bQ(t){switch(t.type){case"block-scalar":{let e="";for(let r of t.props)e+=bQ(r);return e+t.source}case"block-map":case"block-seq":{let e="";for(let r of t.items)e+=QQ(r);return e}case"flow-collection":{let e=t.start.source;for(let r of t.items)e+=QQ(r);for(let r of t.end)e+=r.source;return e}case"document":{let e=QQ(t);if(t.end)for(let r of t.end)e+=r.source;return e}default:{let e=t.source;if("end"in t&&t.end)for(let r of t.end)e+=r.source;return e}}}function QQ({start:t,key:e,sep:r,value:n}){let i="";for(let s of t)i+=s.source;if(e&&(i+=bQ(e)),r)for(let s of r)i+=s.source;return n&&(i+=bQ(n)),i}w8.stringify=oPe});var _8=h(v8=>{"use strict";var eP=Symbol("break visit"),aPe=Symbol("skip children"),x8=Symbol("remove item");function WA(t,e){"type"in t&&t.type==="document"&&(t={start:t.start,value:t.value}),R8(Object.freeze([]),t,e)}WA.BREAK=eP;WA.SKIP=aPe;WA.REMOVE=x8;WA.itemAtPath=(t,e)=>{let r=t;for(let[n,i]of e){let s=r?.[n];if(s&&"items"in s)r=s.items[i];else return}return r};WA.parentCollection=(t,e)=>{let r=WA.itemAtPath(t,e.slice(0,-1)),n=e[e.length-1][0],i=r?.[n];if(i&&"items"in i)return i;throw new Error("Parent collection not found")};function R8(t,e,r){let n=r(e,t);if(typeof n=="symbol")return n;for(let i of["key","value"]){let s=e[i];if(s&&"items"in s){for(let o=0;o<s.items.length;++o){let a=R8(Object.freeze(t.concat([[i,o]])),s.items[o],r);if(typeof a=="number")o=a-1;else{if(a===eP)return eP;a===x8&&(s.items.splice(o,1),o-=1)}}typeof n=="function"&&i==="key"&&(n=n(e,t))}}return typeof n=="function"?n(e,t):n}v8.visit=WA});var NQ=h(Pn=>{"use strict";var tP=N8(),APe=S8(),cPe=_8(),rP="\uFEFF",nP="",iP="",sP="",lPe=t=>!!t&&"items"in t,uPe=t=>!!t&&(t.type==="scalar"||t.type==="single-quoted-scalar"||t.type==="double-quoted-scalar"||t.type==="block-scalar");function dPe(t){switch(t){case rP:return"<BOM>";case nP:return"<DOC>";case iP:return"<FLOW_END>";case sP:return"<SCALAR>";default:return JSON.stringify(t)}}function fPe(t){switch(t){case rP:return"byte-order-mark";case nP:return"doc-mode";case iP:return"flow-error-end";case sP:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
|
||
`:case`\r
|
||
`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(t[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}Pn.createScalarToken=tP.createScalarToken;Pn.resolveAsScalar=tP.resolveAsScalar;Pn.setScalarValue=tP.setScalarValue;Pn.stringify=APe.stringify;Pn.visit=cPe.visit;Pn.BOM=rP;Pn.DOCUMENT=nP;Pn.FLOW_END=iP;Pn.SCALAR=sP;Pn.isCollection=lPe;Pn.isScalar=uPe;Pn.prettyToken=dPe;Pn.tokenType=fPe});var AP=h(k8=>{"use strict";var Em=NQ();function rs(t){switch(t){case void 0:case" ":case`
|
||
`:case"\r":case" ":return!0;default:return!1}}var D8=new Set("0123456789ABCDEFabcdef"),hPe=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),wQ=new Set(",[]{}"),gPe=new Set(` ,[]{}
|
||
\r `),oP=t=>!t||gPe.has(t),aP=class{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,r=!1){if(e){if(typeof e!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!r;let n=this.next??"stream";for(;n&&(r||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,r=this.buffer[e];for(;r===" "||r===" ";)r=this.buffer[++e];return!r||r==="#"||r===`
|
||
`?!0:r==="\r"?this.buffer[e+1]===`
|
||
`:!1}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let r=this.buffer[e];if(this.indentNext>0){let n=0;for(;r===" ";)r=this.buffer[++n+e];if(r==="\r"){let i=this.buffer[n+e+1];if(i===`
|
||
`||!i&&!this.atEnd)return e+n+1}return r===`
|
||
`||n>=this.indentNext||!r&&!this.atEnd?e+n:-1}if(r==="-"||r==="."){let n=this.buffer.substr(e,3);if((n==="---"||n==="...")&&rs(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return(typeof e!="number"||e!==-1&&e<this.pos)&&(e=this.buffer.indexOf(`
|
||
`,this.pos),this.lineEndPos=e),e===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[e-1]==="\r"&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(e===null)return this.setNext("stream");if(e[0]===Em.BOM&&(yield*this.pushCount(1),e=e.substring(1)),e[0]==="%"){let r=e.length,n=e.indexOf("#");for(;n!==-1;){let s=e[n-1];if(s===" "||s===" "){r=n-1;break}else n=e.indexOf("#",n+1)}for(;;){let s=e[r-1];if(s===" "||s===" ")r-=1;else break}let i=(yield*this.pushCount(r))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){let r=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-r),yield*this.pushNewline(),"stream"}return yield Em.DOCUMENT,yield*this.parseLineStart()}*parseLineStart(){let e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if(e==="-"||e==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");let r=this.peek(3);if((r==="---"||r==="...")&&rs(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,r==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!rs(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,r]=this.peek(2);if(!r&&!this.atEnd)return this.setNext("block-start");if((e==="-"||e==="?"||e===":")&&rs(r)){let n=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=n,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(e===null)return this.setNext("doc");let r=yield*this.pushIndicators();switch(e[r]){case"#":yield*this.pushCount(e.length-r);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(oP),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return r+=yield*this.parseBlockScalarHeader(),r+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-r),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,r,n=-1;do e=yield*this.pushNewline(),e>0?(r=yield*this.pushSpaces(!1),this.indentValue=n=r):r=0,r+=yield*this.pushSpaces(!0);while(e+r>0);let i=this.getLine();if(i===null)return this.setNext("flow");if((n!==-1&&n<this.indentNext&&i[0]!=="#"||n===0&&(i.startsWith("---")||i.startsWith("..."))&&rs(i[3]))&&!(n===this.indentNext-1&&this.flowLevel===1&&(i[0]==="]"||i[0]==="}")))return this.flowLevel=0,yield Em.FLOW_END,yield*this.parseLineStart();let s=0;for(;i[s]===",";)s+=yield*this.pushCount(1),s+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(s+=yield*this.pushIndicators(),i[s]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-s),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(oP),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let o=this.charAt(1);if(this.flowKey||rs(o)||o===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let e=this.charAt(0),r=this.buffer.indexOf(e,this.pos+1);if(e==="'")for(;r!==-1&&this.buffer[r+1]==="'";)r=this.buffer.indexOf("'",r+2);else for(;r!==-1;){let s=0;for(;this.buffer[r-1-s]==="\\";)s+=1;if(s%2===0)break;r=this.buffer.indexOf('"',r+1)}let n=this.buffer.substring(0,r),i=n.indexOf(`
|
||
`,this.pos);if(i!==-1){for(;i!==-1;){let s=this.continueScalar(i+1);if(s===-1)break;i=n.indexOf(`
|
||
`,s)}i!==-1&&(r=i-(n[i-1]==="\r"?2:1))}if(r===-1){if(!this.atEnd)return this.setNext("quoted-scalar");r=this.buffer.length}return yield*this.pushToIndex(r+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){let r=this.buffer[++e];if(r==="+")this.blockScalarKeep=!0;else if(r>"0"&&r<="9")this.blockScalarIndent=Number(r)-1;else if(r!=="-")break}return yield*this.pushUntil(r=>rs(r)||r==="#")}*parseBlockScalar(){let e=this.pos-1,r=0,n;e:for(let s=this.pos;n=this.buffer[s];++s)switch(n){case" ":r+=1;break;case`
|
||
`:e=s,r=0;break;case"\r":{let o=this.buffer[s+1];if(!o&&!this.atEnd)return this.setNext("block-scalar");if(o===`
|
||
`)break}default:break e}if(!n&&!this.atEnd)return this.setNext("block-scalar");if(r>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=r:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{let s=this.continueScalar(e+1);if(s===-1)break;e=this.buffer.indexOf(`
|
||
`,s)}while(e!==-1);if(e===-1){if(!this.atEnd)return this.setNext("block-scalar");e=this.buffer.length}}let i=e+1;for(n=this.buffer[i];n===" ";)n=this.buffer[++i];if(n===" "){for(;n===" "||n===" "||n==="\r"||n===`
|
||
`;)n=this.buffer[++i];e=i-1}else if(!this.blockScalarKeep)do{let s=e-1,o=this.buffer[s];o==="\r"&&(o=this.buffer[--s]);let a=s;for(;o===" ";)o=this.buffer[--s];if(o===`
|
||
`&&s>=this.pos&&s+1+r>a)e=s;else break}while(!0);return yield Em.SCALAR,yield*this.pushToIndex(e+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e=this.flowLevel>0,r=this.pos-1,n=this.pos-1,i;for(;i=this.buffer[++n];)if(i===":"){let s=this.buffer[n+1];if(rs(s)||e&&wQ.has(s))break;r=n}else if(rs(i)){let s=this.buffer[n+1];if(i==="\r"&&(s===`
|
||
`?(n+=1,i=`
|
||
`,s=this.buffer[n+1]):r=n),s==="#"||e&&wQ.has(s))break;if(i===`
|
||
`){let o=this.continueScalar(n+1);if(o===-1)break;n=Math.max(n,o-2)}}else{if(e&&wQ.has(i))break;r=n}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield Em.SCALAR,yield*this.pushToIndex(r+1,!0),e?"flow":"doc")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,r){let n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(r&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(oP))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{let e=this.flowLevel>0,r=this.charAt(1);if(rs(r)||e&&wQ.has(r))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let e=this.pos+2,r=this.buffer[e];for(;!rs(r)&&r!==">";)r=this.buffer[++e];return yield*this.pushToIndex(r===">"?e+1:e,!1)}else{let e=this.pos+1,r=this.buffer[e];for(;r;)if(hPe.has(r))r=this.buffer[++e];else if(r==="%"&&D8.has(this.buffer[e+1])&&D8.has(this.buffer[e+2]))r=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return e===`
|
||
`?yield*this.pushCount(1):e==="\r"&&this.charAt(1)===`
|
||
`?yield*this.pushCount(2):0}*pushSpaces(e){let r=this.pos-1,n;do n=this.buffer[++r];while(n===" "||e&&n===" ");let i=r-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=r),i}*pushUntil(e){let r=this.pos,n=this.buffer[r];for(;!e(n);)n=this.buffer[++r];return yield*this.pushToIndex(r,!1)}};k8.Lexer=aP});var lP=h(P8=>{"use strict";var cP=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let r=0,n=this.lineStarts.length;for(;r<n;){let s=r+n>>1;this.lineStarts[s]<e?r=s+1:n=s}if(this.lineStarts[r]===e)return{line:r+1,col:1};if(r===0)return{line:0,col:e};let i=this.lineStarts[r-1];return{line:r,col:e-i+1}}}};P8.LineCounter=cP});var dP=h(F8=>{"use strict";var mPe=require("node:process"),T8=NQ(),pPe=AP();function $A(t,e){for(let r=0;r<t.length;++r)if(t[r].type===e)return!0;return!1}function O8(t){for(let e=0;e<t.length;++e)switch(t[e].type){case"space":case"comment":case"newline":break;default:return e}return-1}function M8(t){switch(t?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function SQ(t){switch(t.type){case"document":return t.start;case"block-map":{let e=t.items[t.items.length-1];return e.sep??e.start}case"block-seq":return t.items[t.items.length-1].start;default:return[]}}function Td(t){if(t.length===0)return[];let e=t.length;e:for(;--e>=0;)switch(t[e].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;t[++e]?.type==="space";);return t.splice(e,t.length)}function L8(t){if(t.start.type==="flow-seq-start")for(let e of t.items)e.sep&&!e.value&&!$A(e.start,"explicit-key-ind")&&!$A(e.sep,"map-value-ind")&&(e.key&&(e.value=e.key),delete e.key,M8(e.value)?e.value.end?Array.prototype.push.apply(e.value.end,e.sep):e.value.end=e.sep:Array.prototype.push.apply(e.start,e.sep),delete e.sep)}var uP=class{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new pPe.Lexer,this.onNewLine=e}*parse(e,r=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(let n of this.lexer.lex(e,r))yield*this.next(n);r||(yield*this.end())}*next(e){if(this.source=e,mPe.env.LOG_TOKENS&&console.log("|",T8.prettyToken(e)),this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let r=T8.tokenType(e);if(r)if(r==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=r,yield*this.step(),r){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&e[0]===" "&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{let n=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:n,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if(this.type==="doc-end"&&(!e||e.type!=="doc-end")){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let r=e??this.stack.pop();if(!r)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield r;else{let n=this.peek(1);switch(r.type==="block-scalar"?r.indent="indent"in n?n.indent:0:r.type==="flow-collection"&&n.type==="document"&&(r.indent=0),r.type==="flow-collection"&&L8(r),n.type){case"document":n.value=r;break;case"block-scalar":n.props.push(r);break;case"block-map":{let i=n.items[n.items.length-1];if(i.value){n.items.push({start:[],key:r,sep:[]}),this.onKeyLine=!0;return}else if(i.sep)i.value=r;else{Object.assign(i,{key:r,sep:[]}),this.onKeyLine=!i.explicitKey;return}break}case"block-seq":{let i=n.items[n.items.length-1];i.value?n.items.push({start:[],value:r}):i.value=r;break}case"flow-collection":{let i=n.items[n.items.length-1];!i||i.value?n.items.push({start:[],key:r,sep:[]}):i.sep?i.value=r:Object.assign(i,{key:r,sep:[]});return}default:yield*this.pop(),yield*this.pop(r)}if((n.type==="document"||n.type==="block-map"||n.type==="block-seq")&&(r.type==="block-map"||r.type==="block-seq")){let i=r.items[r.items.length-1];i&&!i.sep&&!i.value&&i.start.length>0&&O8(i.start)===-1&&(r.indent===0||i.start.every(s=>s.type!=="comment"||s.indent<r.indent))&&(n.type==="document"?n.end=i.start:n.items.push({start:i.start}),r.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{let e={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&e.start.push(this.sourceToken),this.stack.push(e);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":{O8(e.start)!==-1?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":e.start.push(this.sourceToken);return}let r=this.startBlockValue(e);r?this.stack.push(r):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if(this.type==="map-value-ind"){let r=SQ(this.peek(2)),n=Td(r),i;e.end?(i=e.end,i.push(this.sourceToken),delete e.end):i=[this.sourceToken];let s={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":e.props.push(this.sourceToken);return;case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let r=this.source.indexOf(`
|
||
`)+1;for(;r!==0;)this.onNewLine(this.offset+r),r=this.source.indexOf(`
|
||
`,r)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){let r=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,r.value){let n="end"in r.value?r.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type==="comment"?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)e.items.push({start:[this.sourceToken]});else if(r.sep)r.sep.push(this.sourceToken);else{if(this.atIndentedComment(r.start,e.indent)){let i=e.items[e.items.length-2]?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,r.start),i.push(this.sourceToken),e.items.pop();return}}r.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let n=!this.onKeyLine&&this.indent===e.indent,i=n&&(r.sep||r.explicitKey)&&this.type!=="seq-item-ind",s=[];if(i&&r.sep&&!r.value){let o=[];for(let a=0;a<r.sep.length;++a){let A=r.sep[a];switch(A.type){case"newline":o.push(a);break;case"space":break;case"comment":A.indent>e.indent&&(o.length=0);break;default:o.length=0}}o.length>=2&&(s=r.sep.splice(o[1]))}switch(this.type){case"anchor":case"tag":i||r.value?(s.push(this.sourceToken),e.items.push({start:s}),this.onKeyLine=!0):r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken);return;case"explicit-key-ind":!r.sep&&!r.explicitKey?(r.start.push(this.sourceToken),r.explicitKey=!0):i||r.value?(s.push(this.sourceToken),e.items.push({start:s,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(r.explicitKey)if(r.sep)if(r.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if($A(r.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]});else if(M8(r.key)&&!$A(r.sep,"newline")){let o=Td(r.start),a=r.key,A=r.sep;A.push(this.sourceToken),delete r.key,delete r.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:a,sep:A}]})}else s.length>0?r.sep=r.sep.concat(s,this.sourceToken):r.sep.push(this.sourceToken);else if($A(r.start,"newline"))Object.assign(r,{key:null,sep:[this.sourceToken]});else{let o=Td(r.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]})}else r.sep?r.value||i?e.items.push({start:s,key:null,sep:[this.sourceToken]}):$A(r.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):r.sep.push(this.sourceToken):Object.assign(r,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let o=this.flowScalar(this.type);i||r.value?(e.items.push({start:s,key:o,sep:[]}),this.onKeyLine=!0):r.sep?this.stack.push(o):(Object.assign(r,{key:o,sep:[]}),this.onKeyLine=!0);return}default:{let o=this.startBlockValue(e);if(o){n&&o.type!=="block-seq"&&e.items.push({start:s}),this.stack.push(o);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let r=e.items[e.items.length-1];switch(this.type){case"newline":if(r.value){let n="end"in r.value?r.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type==="comment"?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(r.start,e.indent)){let i=e.items[e.items.length-2]?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,r.start),i.push(this.sourceToken),e.items.pop();return}}r.start.push(this.sourceToken)}return;case"anchor":case"tag":if(r.value||this.indent<=e.indent)break;r.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;r.value||$A(r.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):r.start.push(this.sourceToken);return}if(this.indent>e.indent){let n=this.startBlockValue(e);if(n){this.stack.push(n);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){let r=e.items[e.items.length-1];if(this.type==="flow-error-end"){let n;do yield*this.pop(),n=this.peek(1);while(n&&n.type==="flow-collection")}else if(e.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!r||r.sep?e.items.push({start:[this.sourceToken]}):r.start.push(this.sourceToken);return;case"map-value-ind":!r||r.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):r.sep?r.sep.push(this.sourceToken):Object.assign(r,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!r||r.value?e.items.push({start:[this.sourceToken]}):r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let i=this.flowScalar(this.type);!r||r.value?e.items.push({start:[],key:i,sep:[]}):r.sep?this.stack.push(i):Object.assign(r,{key:i,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{let n=this.peek(2);if(n.type==="block-map"&&(this.type==="map-value-ind"&&n.indent===e.indent||this.type==="newline"&&!n.items[n.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&n.type!=="flow-collection"){let i=SQ(n),s=Td(i);L8(e);let o=e.end.splice(1,e.end.length);o.push(this.sourceToken);let a={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:s,key:e,sep:o}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=a}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let r=this.source.indexOf(`
|
||
`)+1;for(;r!==0;)this.onNewLine(this.offset+r),r=this.source.indexOf(`
|
||
`,r)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let r=SQ(e),n=Td(r);return n.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let r=SQ(e),n=Td(r);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,r){return this.type!=="comment"||this.indent<=r?!1:e.every(n=>n.type==="newline"||n.type==="space")}*documentEnd(e){this.type!=="doc-mode"&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}};F8.Parser=uP});var z8=h(Im=>{"use strict";var U8=Xk(),yPe=dm(),Cm=gm(),EPe=$D(),CPe=He(),IPe=lP(),q8=dP();function H8(t){let e=t.prettyErrors!==!1;return{lineCounter:t.lineCounter||e&&new IPe.LineCounter||null,prettyErrors:e}}function BPe(t,e={}){let{lineCounter:r,prettyErrors:n}=H8(e),i=new q8.Parser(r?.addNewLine),s=new U8.Composer(e),o=Array.from(s.compose(i.parse(t)));if(n&&r)for(let a of o)a.errors.forEach(Cm.prettifyError(t,r)),a.warnings.forEach(Cm.prettifyError(t,r));return o.length>0?o:Object.assign([],{empty:!0},s.streamInfo())}function j8(t,e={}){let{lineCounter:r,prettyErrors:n}=H8(e),i=new q8.Parser(r?.addNewLine),s=new U8.Composer(e),o=null;for(let a of s.compose(i.parse(t),!0,t.length))if(!o)o=a;else if(o.options.logLevel!=="silent"){o.errors.push(new Cm.YAMLParseError(a.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return n&&r&&(o.errors.forEach(Cm.prettifyError(t,r)),o.warnings.forEach(Cm.prettifyError(t,r))),o}function QPe(t,e,r){let n;typeof e=="function"?n=e:r===void 0&&e&&typeof e=="object"&&(r=e);let i=j8(t,r);if(!i)return null;if(i.warnings.forEach(s=>EPe.warn(i.options.logLevel,s)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:n},r))}function bPe(t,e,r){let n=null;if(typeof e=="function"||Array.isArray(e)?n=e:r===void 0&&e&&(r=e),typeof r=="string"&&(r=r.length),typeof r=="number"){let i=Math.round(r);r=i<1?void 0:i>8?{indent:8}:{indent:i}}if(t===void 0){let{keepUndefined:i}=r??e??{};if(!i)return}return CPe.isDocument(t)&&!n?t.toString(r):new yPe.Document(t,n,r).toString(r)}Im.parse=QPe;Im.parseAllDocuments=BPe;Im.parseDocument=j8;Im.stringify=bPe});var hP=h(tt=>{"use strict";var NPe=Xk(),wPe=dm(),SPe=Dk(),fP=gm(),xPe=Wg(),La=He(),RPe=ka(),vPe=sr(),_Pe=Ta(),DPe=Oa(),kPe=NQ(),PPe=AP(),TPe=lP(),OPe=dP(),xQ=z8(),G8=Gg();tt.Composer=NPe.Composer;tt.Document=wPe.Document;tt.Schema=SPe.Schema;tt.YAMLError=fP.YAMLError;tt.YAMLParseError=fP.YAMLParseError;tt.YAMLWarning=fP.YAMLWarning;tt.Alias=xPe.Alias;tt.isAlias=La.isAlias;tt.isCollection=La.isCollection;tt.isDocument=La.isDocument;tt.isMap=La.isMap;tt.isNode=La.isNode;tt.isPair=La.isPair;tt.isScalar=La.isScalar;tt.isSeq=La.isSeq;tt.Pair=RPe.Pair;tt.Scalar=vPe.Scalar;tt.YAMLMap=_Pe.YAMLMap;tt.YAMLSeq=DPe.YAMLSeq;tt.CST=kPe;tt.Lexer=PPe.Lexer;tt.LineCounter=TPe.LineCounter;tt.Parser=OPe.Parser;tt.parse=xQ.parse;tt.parseAllDocuments=xQ.parseAllDocuments;tt.parseDocument=xQ.parseDocument;tt.stringify=xQ.stringify;tt.visit=G8.visit;tt.visitAsync=G8.visitAsync});var Jd=gt(at());var j$=gt(bB()),Nd=gt(at());var M$=gt(bB()),Di=gt(at()),F$=gt(Of()),U$=gt(L$()),q$=gt(require("os"));async function H$(t){let e=await eve();(0,Di.saveState)("cache_path",e);let r=await(0,U$.hashFiles)(t.cacheDependencyPath);if(!r)throw new Error("Some specified paths were not resolved, unable to cache dependencies.");let n=`pnpm-cache-${process.env.RUNNER_OS}-${q$.default.arch()}-${r}`;(0,Di.debug)(`Primary key is ${n}`),(0,Di.saveState)("cache_primary_key",n);let i=await(0,M$.restoreCache)([e],n);if((0,Di.setOutput)("cache-hit",!!i),!i){(0,Di.info)("Cache is not found");return}(0,Di.saveState)("cache_restored_key",i),(0,Di.info)(`Cache restored from key: ${i}`)}async function eve(){let{stdout:t}=await(0,F$.getExecOutput)("pnpm store path --silent"),e=t.trim();return(0,Di.debug)(`Cache folder is set to "${e}"`),e}async function tve(t){if(t.cache){if(!(0,j$.isFeatureAvailable)()){(0,Nd.warning)("Cache is not available, skipping cache restoration");return}(0,Nd.startGroup)("Restoring cache..."),await H$(t),(0,Nd.endGroup)()}}var z$=tve;var J$=gt(at());var G$=gt(bB()),jA=gt(at());async function Y$(){let t=(0,jA.getState)("cache_restored_key"),e=(0,jA.getState)("cache_primary_key"),r=(0,jA.getState)("cache_path");if(e===t){(0,jA.info)(`Cache hit occurred on the primary key ${e}, not saving cache.`);return}await(0,G$.saveCache)([r],e)!=-1&&(0,jA.info)(`Cache saved with the key: ${e}`)}async function rve(t){if(t.cache)try{await Y$()}catch(e){(0,J$.setFailed)(e.message)}}var V$=rve;var Gd=gt(at()),aX=gt(nK());var zd=gt(at()),sX=gt(hP());var je;(function(t){t.assertEqual=i=>i;function e(i){}t.assertIs=e;function r(i){throw new Error}t.assertNever=r,t.arrayToEnum=i=>{let s={};for(let o of i)s[o]=o;return s},t.getValidEnumValues=i=>{let s=t.objectKeys(i).filter(a=>typeof i[i[a]]!="number"),o={};for(let a of s)o[a]=i[a];return t.objectValues(o)},t.objectValues=i=>t.objectKeys(i).map(function(s){return i[s]}),t.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{let s=[];for(let o in i)Object.prototype.hasOwnProperty.call(i,o)&&s.push(o);return s},t.find=(i,s)=>{for(let o of i)if(s(o))return o},t.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&isFinite(i)&&Math.floor(i)===i;function n(i,s=" | "){return i.map(o=>typeof o=="string"?`'${o}'`:o).join(s)}t.joinValues=n,t.jsonStringifyReplacer=(i,s)=>typeof s=="bigint"?s.toString():s})(je||(je={}));var mP;(function(t){t.mergeShapes=(e,r)=>({...e,...r})})(mP||(mP={}));var Z=je.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),wo=t=>{switch(typeof t){case"undefined":return Z.undefined;case"string":return Z.string;case"number":return isNaN(t)?Z.nan:Z.number;case"boolean":return Z.boolean;case"function":return Z.function;case"bigint":return Z.bigint;case"symbol":return Z.symbol;case"object":return Array.isArray(t)?Z.array:t===null?Z.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?Z.promise:typeof Map<"u"&&t instanceof Map?Z.map:typeof Set<"u"&&t instanceof Set?Z.set:typeof Date<"u"&&t instanceof Date?Z.date:Z.object;default:return Z.unknown}},O=je.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),LPe=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:"),sn=class t extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};let r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=e}format(e){let r=e||function(s){return s.message},n={_errors:[]},i=s=>{for(let o of s.issues)if(o.code==="invalid_union")o.unionErrors.map(i);else if(o.code==="invalid_return_type")i(o.returnTypeError);else if(o.code==="invalid_arguments")i(o.argumentsError);else if(o.path.length===0)n._errors.push(r(o));else{let a=n,A=0;for(;A<o.path.length;){let c=o.path[A];A===o.path.length-1?(a[c]=a[c]||{_errors:[]},a[c]._errors.push(r(o))):a[c]=a[c]||{_errors:[]},a=a[c],A++}}};return i(this),n}static assert(e){if(!(e instanceof t))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,je.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=r=>r.message){let r={},n=[];for(let i of this.issues)i.path.length>0?(r[i.path[0]]=r[i.path[0]]||[],r[i.path[0]].push(e(i))):n.push(e(i));return{formErrors:n,fieldErrors:r}}get formErrors(){return this.flatten()}};sn.create=t=>new sn(t);var Md=(t,e)=>{let r;switch(t.code){case O.invalid_type:t.received===Z.undefined?r="Required":r=`Expected ${t.expected}, received ${t.received}`;break;case O.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(t.expected,je.jsonStringifyReplacer)}`;break;case O.unrecognized_keys:r=`Unrecognized key(s) in object: ${je.joinValues(t.keys,", ")}`;break;case O.invalid_union:r="Invalid input";break;case O.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${je.joinValues(t.options)}`;break;case O.invalid_enum_value:r=`Invalid enum value. Expected ${je.joinValues(t.options)}, received '${t.received}'`;break;case O.invalid_arguments:r="Invalid function arguments";break;case O.invalid_return_type:r="Invalid function return type";break;case O.invalid_date:r="Invalid date";break;case O.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(r=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(r=`${r} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?r=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?r=`Invalid input: must end with "${t.validation.endsWith}"`:je.assertNever(t.validation):t.validation!=="regex"?r=`Invalid ${t.validation}`:r="Invalid";break;case O.too_small:t.type==="array"?r=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?r=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?r=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?r=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:r="Invalid input";break;case O.too_big:t.type==="array"?r=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?r=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?r=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?r=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?r=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:r="Invalid input";break;case O.custom:r="Invalid input";break;case O.invalid_intersection_types:r="Intersection results could not be merged";break;case O.not_multiple_of:r=`Number must be a multiple of ${t.multipleOf}`;break;case O.not_finite:r="Number must be finite";break;default:r=e.defaultError,je.assertNever(t)}return{message:r}},V8=Md;function MPe(t){V8=t}function RQ(){return V8}var vQ=t=>{let{data:e,path:r,errorMaps:n,issueData:i}=t,s=[...r,...i.path||[]],o={...i,path:s};if(i.message!==void 0)return{...i,path:s,message:i.message};let a="",A=n.filter(c=>!!c).slice().reverse();for(let c of A)a=c(o,{data:e,defaultError:a}).message;return{...i,path:s,message:a}},FPe=[];function G(t,e){let r=RQ(),n=vQ({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,r,r===Md?void 0:Md].filter(i=>!!i)});t.common.issues.push(n)}var Jr=class t{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,r){let n=[];for(let i of r){if(i.status==="aborted")return pe;i.status==="dirty"&&e.dirty(),n.push(i.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,r){let n=[];for(let i of r){let s=await i.key,o=await i.value;n.push({key:s,value:o})}return t.mergeObjectSync(e,n)}static mergeObjectSync(e,r){let n={};for(let i of r){let{key:s,value:o}=i;if(s.status==="aborted"||o.status==="aborted")return pe;s.status==="dirty"&&e.dirty(),o.status==="dirty"&&e.dirty(),s.value!=="__proto__"&&(typeof o.value<"u"||i.alwaysSet)&&(n[s.value]=o.value)}return{status:e.value,value:n}}},pe=Object.freeze({status:"aborted"}),Ld=t=>({status:"dirty",value:t}),on=t=>({status:"valid",value:t}),pP=t=>t.status==="aborted",yP=t=>t.status==="dirty",KA=t=>t.status==="valid",bm=t=>typeof Promise<"u"&&t instanceof Promise;function _Q(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 W8(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}var ne;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(ne||(ne={}));var Bm,Qm,Ti=class{constructor(e,r,n,i){this._cachedPath=[],this.parent=e,this.data=r,this._path=n,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Y8=(t,e)=>{if(KA(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let r=new sn(t.common.issues);return this._error=r,this._error}}};function Be(t){if(!t)return{};let{errorMap:e,invalid_type_error:r,required_error:n,description:i}=t;if(e&&(r||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:i}:{errorMap:(o,a)=>{var A,c;let{message:l}=t;return o.code==="invalid_enum_value"?{message:l??a.defaultError}:typeof a.data>"u"?{message:(A=l??n)!==null&&A!==void 0?A:a.defaultError}:o.code!=="invalid_type"?{message:a.defaultError}:{message:(c=l??r)!==null&&c!==void 0?c:a.defaultError}},description:i}}var Qe=class{get description(){return this._def.description}_getType(e){return wo(e.data)}_getOrReturnCtx(e,r){return r||{common:e.parent.common,data:e.data,parsedType:wo(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Jr,ctx:{common:e.parent.common,data:e.data,parsedType:wo(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let r=this._parse(e);if(bm(r))throw new Error("Synchronous parse encountered promise.");return r}_parseAsync(e){let r=this._parse(e);return Promise.resolve(r)}parse(e,r){let n=this.safeParse(e,r);if(n.success)return n.data;throw n.error}safeParse(e,r){var n;let i={common:{issues:[],async:(n=r?.async)!==null&&n!==void 0?n:!1,contextualErrorMap:r?.errorMap},path:r?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:wo(e)},s=this._parseSync({data:e,path:i.path,parent:i});return Y8(i,s)}"~validate"(e){var r,n;let i={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:wo(e)};if(!this["~standard"].async)try{let s=this._parseSync({data:e,path:[],parent:i});return KA(s)?{value:s.value}:{issues:i.common.issues}}catch(s){!((n=(r=s?.message)===null||r===void 0?void 0:r.toLowerCase())===null||n===void 0)&&n.includes("encountered")&&(this["~standard"].async=!0),i.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:i}).then(s=>KA(s)?{value:s.value}:{issues:i.common.issues})}async parseAsync(e,r){let n=await this.safeParseAsync(e,r);if(n.success)return n.data;throw n.error}async safeParseAsync(e,r){let n={common:{issues:[],contextualErrorMap:r?.errorMap,async:!0},path:r?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:wo(e)},i=this._parse({data:e,path:n.path,parent:n}),s=await(bm(i)?i:Promise.resolve(i));return Y8(n,s)}refine(e,r){let n=i=>typeof r=="string"||typeof r>"u"?{message:r}:typeof r=="function"?r(i):r;return this._refinement((i,s)=>{let o=e(i),a=()=>s.addIssue({code:O.custom,...n(i)});return typeof Promise<"u"&&o instanceof Promise?o.then(A=>A?!0:(a(),!1)):o?!0:(a(),!1)})}refinement(e,r){return this._refinement((n,i)=>e(n)?!0:(i.addIssue(typeof r=="function"?r(n,i):r),!1))}_refinement(e){return new Zn({schema:this,typeName:ge.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:r=>this["~validate"](r)}}optional(){return Pi.create(this,this._def)}nullable(){return Fs.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return xo.create(this)}promise(){return Ua.create(this,this._def)}or(e){return ic.create([this,e],this._def)}and(e){return sc.create(this,e,this._def)}transform(e){return new Zn({...Be(this._def),schema:this,typeName:ge.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let r=typeof e=="function"?e:()=>e;return new lc({...Be(this._def),innerType:this,defaultValue:r,typeName:ge.ZodDefault})}brand(){return new Nm({typeName:ge.ZodBranded,type:this,...Be(this._def)})}catch(e){let r=typeof e=="function"?e:()=>e;return new uc({...Be(this._def),innerType:this,catchValue:r,typeName:ge.ZodCatch})}describe(e){let r=this.constructor;return new r({...this._def,description:e})}pipe(e){return wm.create(this,e)}readonly(){return dc.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},UPe=/^c[^\s-]{8,}$/i,qPe=/^[0-9a-z]+$/,HPe=/^[0-9A-HJKMNP-TV-Z]{26}$/i,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]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,ZPe=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,eTe=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,$8="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",tTe=new RegExp(`^${$8}$`);function K8(t){let e="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`),e}function rTe(t){return new RegExp(`^${K8(t)}$`)}function X8(t){let e=`${$8}T${K8(t)}`,r=[];return r.push(t.local?"Z?":"Z"),t.offset&&r.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${r.join("|")})`,new RegExp(`^${e}$`)}function nTe(t,e){return!!((e==="v4"||!e)&&WPe.test(t)||(e==="v6"||!e)&&KPe.test(t))}function iTe(t,e){if(!GPe.test(t))return!1;try{let[r]=t.split("."),n=r.replace(/-/g,"+").replace(/_/g,"/").padEnd(r.length+(4-r.length%4)%4,"="),i=JSON.parse(atob(n));return!(typeof i!="object"||i===null||!i.typ||!i.alg||e&&i.alg!==e)}catch{return!1}}function sTe(t,e){return!!((e==="v4"||!e)&&$Pe.test(t)||(e==="v6"||!e)&&XPe.test(t))}var Ma=class t extends Qe{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==Z.string){let s=this._getOrReturnCtx(e);return G(s,{code:O.invalid_type,expected:Z.string,received:s.parsedType}),pe}let n=new Jr,i;for(let s of this._def.checks)if(s.kind==="min")e.data.length<s.value&&(i=this._getOrReturnCtx(e,i),G(i,{code:O.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),n.dirty());else if(s.kind==="max")e.data.length>s.value&&(i=this._getOrReturnCtx(e,i),G(i,{code:O.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),n.dirty());else if(s.kind==="length"){let o=e.data.length>s.value,a=e.data.length<s.value;(o||a)&&(i=this._getOrReturnCtx(e,i),o?G(i,{code:O.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}):a&&G(i,{code:O.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}),n.dirty())}else if(s.kind==="email")JPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"email",code:O.invalid_string,message:s.message}),n.dirty());else if(s.kind==="emoji")gP||(gP=new RegExp(VPe,"u")),gP.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"emoji",code:O.invalid_string,message:s.message}),n.dirty());else if(s.kind==="uuid")jPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"uuid",code:O.invalid_string,message:s.message}),n.dirty());else if(s.kind==="nanoid")zPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"nanoid",code:O.invalid_string,message:s.message}),n.dirty());else if(s.kind==="cuid")UPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"cuid",code:O.invalid_string,message:s.message}),n.dirty());else if(s.kind==="cuid2")qPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"cuid2",code:O.invalid_string,message:s.message}),n.dirty());else if(s.kind==="ulid")HPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"ulid",code:O.invalid_string,message:s.message}),n.dirty());else if(s.kind==="url")try{new URL(e.data)}catch{i=this._getOrReturnCtx(e,i),G(i,{validation:"url",code:O.invalid_string,message:s.message}),n.dirty()}else s.kind==="regex"?(s.regex.lastIndex=0,s.regex.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"regex",code:O.invalid_string,message:s.message}),n.dirty())):s.kind==="trim"?e.data=e.data.trim():s.kind==="includes"?e.data.includes(s.value,s.position)||(i=this._getOrReturnCtx(e,i),G(i,{code:O.invalid_string,validation:{includes:s.value,position:s.position},message:s.message}),n.dirty()):s.kind==="toLowerCase"?e.data=e.data.toLowerCase():s.kind==="toUpperCase"?e.data=e.data.toUpperCase():s.kind==="startsWith"?e.data.startsWith(s.value)||(i=this._getOrReturnCtx(e,i),G(i,{code:O.invalid_string,validation:{startsWith:s.value},message:s.message}),n.dirty()):s.kind==="endsWith"?e.data.endsWith(s.value)||(i=this._getOrReturnCtx(e,i),G(i,{code:O.invalid_string,validation:{endsWith:s.value},message:s.message}),n.dirty()):s.kind==="datetime"?X8(s).test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{code:O.invalid_string,validation:"datetime",message:s.message}),n.dirty()):s.kind==="date"?tTe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{code:O.invalid_string,validation:"date",message:s.message}),n.dirty()):s.kind==="time"?rTe(s).test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{code:O.invalid_string,validation:"time",message:s.message}),n.dirty()):s.kind==="duration"?YPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"duration",code:O.invalid_string,message:s.message}),n.dirty()):s.kind==="ip"?nTe(e.data,s.version)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"ip",code:O.invalid_string,message:s.message}),n.dirty()):s.kind==="jwt"?iTe(e.data,s.alg)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"jwt",code:O.invalid_string,message:s.message}),n.dirty()):s.kind==="cidr"?sTe(e.data,s.version)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"cidr",code:O.invalid_string,message:s.message}),n.dirty()):s.kind==="base64"?ZPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"base64",code:O.invalid_string,message:s.message}),n.dirty()):s.kind==="base64url"?eTe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"base64url",code:O.invalid_string,message:s.message}),n.dirty()):je.assertNever(s);return{status:n.value,value:e.data}}_regex(e,r,n){return this.refinement(i=>e.test(i),{validation:r,code:O.invalid_string,...ne.errToObj(n)})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...ne.errToObj(e)})}url(e){return this._addCheck({kind:"url",...ne.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...ne.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...ne.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...ne.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...ne.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...ne.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...ne.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...ne.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...ne.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...ne.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...ne.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...ne.errToObj(e)})}datetime(e){var r,n;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:(r=e?.offset)!==null&&r!==void 0?r:!1,local:(n=e?.local)!==null&&n!==void 0?n:!1,...ne.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...ne.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...ne.errToObj(e)})}regex(e,r){return this._addCheck({kind:"regex",regex:e,...ne.errToObj(r)})}includes(e,r){return this._addCheck({kind:"includes",value:e,position:r?.position,...ne.errToObj(r?.message)})}startsWith(e,r){return this._addCheck({kind:"startsWith",value:e,...ne.errToObj(r)})}endsWith(e,r){return this._addCheck({kind:"endsWith",value:e,...ne.errToObj(r)})}min(e,r){return this._addCheck({kind:"min",value:e,...ne.errToObj(r)})}max(e,r){return this._addCheck({kind:"max",value:e,...ne.errToObj(r)})}length(e,r){return this._addCheck({kind:"length",value:e,...ne.errToObj(r)})}nonempty(e){return this.min(1,ne.errToObj(e))}trim(){return new t({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(let r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxLength(){let e=null;for(let r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}};Ma.create=t=>{var e;return new Ma({checks:[],typeName:ge.ZodString,coerce:(e=t?.coerce)!==null&&e!==void 0?e:!1,...Be(t)})};function oTe(t,e){let r=(t.toString().split(".")[1]||"").length,n=(e.toString().split(".")[1]||"").length,i=r>n?r:n,s=parseInt(t.toFixed(i).replace(".","")),o=parseInt(e.toFixed(i).replace(".",""));return s%o/Math.pow(10,i)}var XA=class t extends Qe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==Z.number){let s=this._getOrReturnCtx(e);return G(s,{code:O.invalid_type,expected:Z.number,received:s.parsedType}),pe}let n,i=new Jr;for(let s of this._def.checks)s.kind==="int"?je.isInteger(e.data)||(n=this._getOrReturnCtx(e,n),G(n,{code:O.invalid_type,expected:"integer",received:"float",message:s.message}),i.dirty()):s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(n=this._getOrReturnCtx(e,n),G(n,{code:O.too_small,minimum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),i.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(n=this._getOrReturnCtx(e,n),G(n,{code:O.too_big,maximum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),i.dirty()):s.kind==="multipleOf"?oTe(e.data,s.value)!==0&&(n=this._getOrReturnCtx(e,n),G(n,{code:O.not_multiple_of,multipleOf:s.value,message:s.message}),i.dirty()):s.kind==="finite"?Number.isFinite(e.data)||(n=this._getOrReturnCtx(e,n),G(n,{code:O.not_finite,message:s.message}),i.dirty()):je.assertNever(s);return{status:i.value,value:e.data}}gte(e,r){return this.setLimit("min",e,!0,ne.toString(r))}gt(e,r){return this.setLimit("min",e,!1,ne.toString(r))}lte(e,r){return this.setLimit("max",e,!0,ne.toString(r))}lt(e,r){return this.setLimit("max",e,!1,ne.toString(r))}setLimit(e,r,n,i){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:r,inclusive:n,message:ne.toString(i)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:ne.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:ne.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:ne.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:ne.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:ne.toString(e)})}multipleOf(e,r){return this._addCheck({kind:"multipleOf",value:e,message:ne.toString(r)})}finite(e){return this._addCheck({kind:"finite",message:ne.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:ne.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:ne.toString(e)})}get minValue(){let e=null;for(let r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxValue(){let e=null;for(let r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&je.isInteger(e.value))}get isFinite(){let e=null,r=null;for(let n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(r===null||n.value>r)&&(r=n.value):n.kind==="max"&&(e===null||n.value<e)&&(e=n.value)}return Number.isFinite(r)&&Number.isFinite(e)}};XA.create=t=>new XA({checks:[],typeName:ge.ZodNumber,coerce:t?.coerce||!1,...Be(t)});var ZA=class t extends Qe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==Z.bigint)return this._getInvalidInput(e);let n,i=new Jr;for(let s of this._def.checks)s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(n=this._getOrReturnCtx(e,n),G(n,{code:O.too_small,type:"bigint",minimum:s.value,inclusive:s.inclusive,message:s.message}),i.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(n=this._getOrReturnCtx(e,n),G(n,{code:O.too_big,type:"bigint",maximum:s.value,inclusive:s.inclusive,message:s.message}),i.dirty()):s.kind==="multipleOf"?e.data%s.value!==BigInt(0)&&(n=this._getOrReturnCtx(e,n),G(n,{code:O.not_multiple_of,multipleOf:s.value,message:s.message}),i.dirty()):je.assertNever(s);return{status:i.value,value:e.data}}_getInvalidInput(e){let r=this._getOrReturnCtx(e);return G(r,{code:O.invalid_type,expected:Z.bigint,received:r.parsedType}),pe}gte(e,r){return this.setLimit("min",e,!0,ne.toString(r))}gt(e,r){return this.setLimit("min",e,!1,ne.toString(r))}lte(e,r){return this.setLimit("max",e,!0,ne.toString(r))}lt(e,r){return this.setLimit("max",e,!1,ne.toString(r))}setLimit(e,r,n,i){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:r,inclusive:n,message:ne.toString(i)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:ne.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:ne.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:ne.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:ne.toString(e)})}multipleOf(e,r){return this._addCheck({kind:"multipleOf",value:e,message:ne.toString(r)})}get minValue(){let e=null;for(let r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxValue(){let e=null;for(let r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}};ZA.create=t=>{var e;return new ZA({checks:[],typeName:ge.ZodBigInt,coerce:(e=t?.coerce)!==null&&e!==void 0?e:!1,...Be(t)})};var ec=class extends Qe{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==Z.boolean){let n=this._getOrReturnCtx(e);return G(n,{code:O.invalid_type,expected:Z.boolean,received:n.parsedType}),pe}return on(e.data)}};ec.create=t=>new ec({typeName:ge.ZodBoolean,coerce:t?.coerce||!1,...Be(t)});var tc=class t extends Qe{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==Z.date){let s=this._getOrReturnCtx(e);return G(s,{code:O.invalid_type,expected:Z.date,received:s.parsedType}),pe}if(isNaN(e.data.getTime())){let s=this._getOrReturnCtx(e);return G(s,{code:O.invalid_date}),pe}let n=new Jr,i;for(let s of this._def.checks)s.kind==="min"?e.data.getTime()<s.value&&(i=this._getOrReturnCtx(e,i),G(i,{code:O.too_small,message:s.message,inclusive:!0,exact:!1,minimum:s.value,type:"date"}),n.dirty()):s.kind==="max"?e.data.getTime()>s.value&&(i=this._getOrReturnCtx(e,i),G(i,{code:O.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),n.dirty()):je.assertNever(s);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}min(e,r){return this._addCheck({kind:"min",value:e.getTime(),message:ne.toString(r)})}max(e,r){return this._addCheck({kind:"max",value:e.getTime(),message:ne.toString(r)})}get minDate(){let e=null;for(let r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e!=null?new Date(e):null}};tc.create=t=>new tc({checks:[],coerce:t?.coerce||!1,typeName:ge.ZodDate,...Be(t)});var Fd=class extends Qe{_parse(e){if(this._getType(e)!==Z.symbol){let n=this._getOrReturnCtx(e);return G(n,{code:O.invalid_type,expected:Z.symbol,received:n.parsedType}),pe}return on(e.data)}};Fd.create=t=>new Fd({typeName:ge.ZodSymbol,...Be(t)});var rc=class extends Qe{_parse(e){if(this._getType(e)!==Z.undefined){let n=this._getOrReturnCtx(e);return G(n,{code:O.invalid_type,expected:Z.undefined,received:n.parsedType}),pe}return on(e.data)}};rc.create=t=>new rc({typeName:ge.ZodUndefined,...Be(t)});var nc=class extends Qe{_parse(e){if(this._getType(e)!==Z.null){let n=this._getOrReturnCtx(e);return G(n,{code:O.invalid_type,expected:Z.null,received:n.parsedType}),pe}return on(e.data)}};nc.create=t=>new nc({typeName:ge.ZodNull,...Be(t)});var Fa=class extends Qe{constructor(){super(...arguments),this._any=!0}_parse(e){return on(e.data)}};Fa.create=t=>new Fa({typeName:ge.ZodAny,...Be(t)});var So=class extends Qe{constructor(){super(...arguments),this._unknown=!0}_parse(e){return on(e.data)}};So.create=t=>new So({typeName:ge.ZodUnknown,...Be(t)});var ns=class extends Qe{_parse(e){let r=this._getOrReturnCtx(e);return G(r,{code:O.invalid_type,expected:Z.never,received:r.parsedType}),pe}};ns.create=t=>new ns({typeName:ge.ZodNever,...Be(t)});var Ud=class extends Qe{_parse(e){if(this._getType(e)!==Z.undefined){let n=this._getOrReturnCtx(e);return G(n,{code:O.invalid_type,expected:Z.void,received:n.parsedType}),pe}return on(e.data)}};Ud.create=t=>new Ud({typeName:ge.ZodVoid,...Be(t)});var xo=class t extends Qe{_parse(e){let{ctx:r,status:n}=this._processInputParams(e),i=this._def;if(r.parsedType!==Z.array)return G(r,{code:O.invalid_type,expected:Z.array,received:r.parsedType}),pe;if(i.exactLength!==null){let o=r.data.length>i.exactLength.value,a=r.data.length<i.exactLength.value;(o||a)&&(G(r,{code:o?O.too_big:O.too_small,minimum:a?i.exactLength.value:void 0,maximum:o?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),n.dirty())}if(i.minLength!==null&&r.data.length<i.minLength.value&&(G(r,{code:O.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),n.dirty()),i.maxLength!==null&&r.data.length>i.maxLength.value&&(G(r,{code:O.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),n.dirty()),r.common.async)return Promise.all([...r.data].map((o,a)=>i.type._parseAsync(new Ti(r,o,r.path,a)))).then(o=>Jr.mergeArray(n,o));let s=[...r.data].map((o,a)=>i.type._parseSync(new Ti(r,o,r.path,a)));return Jr.mergeArray(n,s)}get element(){return this._def.type}min(e,r){return new t({...this._def,minLength:{value:e,message:ne.toString(r)}})}max(e,r){return new t({...this._def,maxLength:{value:e,message:ne.toString(r)}})}length(e,r){return new t({...this._def,exactLength:{value:e,message:ne.toString(r)}})}nonempty(e){return this.min(1,e)}};xo.create=(t,e)=>new xo({type:t,minLength:null,maxLength:null,exactLength:null,typeName:ge.ZodArray,...Be(e)});function Od(t){if(t instanceof Tn){let e={};for(let r in t.shape){let n=t.shape[r];e[r]=Pi.create(Od(n))}return new Tn({...t._def,shape:()=>e})}else return t instanceof xo?new xo({...t._def,type:Od(t.element)}):t instanceof Pi?Pi.create(Od(t.unwrap())):t instanceof Fs?Fs.create(Od(t.unwrap())):t instanceof Ms?Ms.create(t.items.map(e=>Od(e))):t}var Tn=class t extends Qe{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),r=je.objectKeys(e);return this._cached={shape:e,keys:r}}_parse(e){if(this._getType(e)!==Z.object){let c=this._getOrReturnCtx(e);return G(c,{code:O.invalid_type,expected:Z.object,received:c.parsedType}),pe}let{status:n,ctx:i}=this._processInputParams(e),{shape:s,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof ns&&this._def.unknownKeys==="strip"))for(let c in i.data)o.includes(c)||a.push(c);let A=[];for(let c of o){let l=s[c],u=i.data[c];A.push({key:{status:"valid",value:c},value:l._parse(new Ti(i,u,i.path,c)),alwaysSet:c in i.data})}if(this._def.catchall instanceof ns){let c=this._def.unknownKeys;if(c==="passthrough")for(let l of a)A.push({key:{status:"valid",value:l},value:{status:"valid",value:i.data[l]}});else if(c==="strict")a.length>0&&(G(i,{code:O.unrecognized_keys,keys:a}),n.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let c=this._def.catchall;for(let l of a){let u=i.data[l];A.push({key:{status:"valid",value:l},value:c._parse(new Ti(i,u,i.path,l)),alwaysSet:l in i.data})}}return i.common.async?Promise.resolve().then(async()=>{let c=[];for(let l of A){let u=await l.key,d=await l.value;c.push({key:u,value:d,alwaysSet:l.alwaysSet})}return c}).then(c=>Jr.mergeObjectSync(n,c)):Jr.mergeObjectSync(n,A)}get shape(){return this._def.shape()}strict(e){return ne.errToObj,new t({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(r,n)=>{var i,s,o,a;let A=(o=(s=(i=this._def).errorMap)===null||s===void 0?void 0:s.call(i,r,n).message)!==null&&o!==void 0?o:n.defaultError;return r.code==="unrecognized_keys"?{message:(a=ne.errToObj(e).message)!==null&&a!==void 0?a:A}:{message:A}}}:{}})}strip(){return new t({...this._def,unknownKeys:"strip"})}passthrough(){return new t({...this._def,unknownKeys:"passthrough"})}extend(e){return new t({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new t({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:ge.ZodObject})}setKey(e,r){return this.augment({[e]:r})}catchall(e){return new t({...this._def,catchall:e})}pick(e){let r={};return je.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(r[n]=this.shape[n])}),new t({...this._def,shape:()=>r})}omit(e){let r={};return je.objectKeys(this.shape).forEach(n=>{e[n]||(r[n]=this.shape[n])}),new t({...this._def,shape:()=>r})}deepPartial(){return Od(this)}partial(e){let r={};return je.objectKeys(this.shape).forEach(n=>{let i=this.shape[n];e&&!e[n]?r[n]=i:r[n]=i.optional()}),new t({...this._def,shape:()=>r})}required(e){let r={};return je.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])r[n]=this.shape[n];else{let s=this.shape[n];for(;s instanceof Pi;)s=s._def.innerType;r[n]=s}}),new t({...this._def,shape:()=>r})}keyof(){return Z8(je.objectKeys(this.shape))}};Tn.create=(t,e)=>new Tn({shape:()=>t,unknownKeys:"strip",catchall:ns.create(),typeName:ge.ZodObject,...Be(e)});Tn.strictCreate=(t,e)=>new Tn({shape:()=>t,unknownKeys:"strict",catchall:ns.create(),typeName:ge.ZodObject,...Be(e)});Tn.lazycreate=(t,e)=>new Tn({shape:t,unknownKeys:"strip",catchall:ns.create(),typeName:ge.ZodObject,...Be(e)});var ic=class extends Qe{_parse(e){let{ctx:r}=this._processInputParams(e),n=this._def.options;function i(s){for(let a of s)if(a.result.status==="valid")return a.result;for(let a of s)if(a.result.status==="dirty")return r.common.issues.push(...a.ctx.common.issues),a.result;let o=s.map(a=>new sn(a.ctx.common.issues));return G(r,{code:O.invalid_union,unionErrors:o}),pe}if(r.common.async)return Promise.all(n.map(async s=>{let o={...r,common:{...r.common,issues:[]},parent:null};return{result:await s._parseAsync({data:r.data,path:r.path,parent:o}),ctx:o}})).then(i);{let s,o=[];for(let A of n){let c={...r,common:{...r.common,issues:[]},parent:null},l=A._parseSync({data:r.data,path:r.path,parent:c});if(l.status==="valid")return l;l.status==="dirty"&&!s&&(s={result:l,ctx:c}),c.common.issues.length&&o.push(c.common.issues)}if(s)return r.common.issues.push(...s.ctx.common.issues),s.result;let a=o.map(A=>new sn(A));return G(r,{code:O.invalid_union,unionErrors:a}),pe}}get options(){return this._def.options}};ic.create=(t,e)=>new ic({options:t,typeName:ge.ZodUnion,...Be(e)});var No=t=>t instanceof oc?No(t.schema):t instanceof Zn?No(t.innerType()):t instanceof ac?[t.value]:t instanceof Ac?t.options:t instanceof cc?je.objectValues(t.enum):t instanceof lc?No(t._def.innerType):t instanceof rc?[void 0]:t instanceof nc?[null]:t instanceof Pi?[void 0,...No(t.unwrap())]:t instanceof Fs?[null,...No(t.unwrap())]:t instanceof Nm||t instanceof dc?No(t.unwrap()):t instanceof uc?No(t._def.innerType):[],DQ=class t extends Qe{_parse(e){let{ctx:r}=this._processInputParams(e);if(r.parsedType!==Z.object)return G(r,{code:O.invalid_type,expected:Z.object,received:r.parsedType}),pe;let n=this.discriminator,i=r.data[n],s=this.optionsMap.get(i);return s?r.common.async?s._parseAsync({data:r.data,path:r.path,parent:r}):s._parseSync({data:r.data,path:r.path,parent:r}):(G(r,{code:O.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),pe)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,r,n){let i=new Map;for(let s of r){let o=No(s.shape[e]);if(!o.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let a of o){if(i.has(a))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(a)}`);i.set(a,s)}}return new t({typeName:ge.ZodDiscriminatedUnion,discriminator:e,options:r,optionsMap:i,...Be(n)})}};function EP(t,e){let r=wo(t),n=wo(e);if(t===e)return{valid:!0,data:t};if(r===Z.object&&n===Z.object){let i=je.objectKeys(e),s=je.objectKeys(t).filter(a=>i.indexOf(a)!==-1),o={...t,...e};for(let a of s){let A=EP(t[a],e[a]);if(!A.valid)return{valid:!1};o[a]=A.data}return{valid:!0,data:o}}else if(r===Z.array&&n===Z.array){if(t.length!==e.length)return{valid:!1};let i=[];for(let s=0;s<t.length;s++){let o=t[s],a=e[s],A=EP(o,a);if(!A.valid)return{valid:!1};i.push(A.data)}return{valid:!0,data:i}}else return r===Z.date&&n===Z.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}var sc=class extends Qe{_parse(e){let{status:r,ctx:n}=this._processInputParams(e),i=(s,o)=>{if(pP(s)||pP(o))return pe;let a=EP(s.value,o.value);return a.valid?((yP(s)||yP(o))&&r.dirty(),{status:r.value,value:a.data}):(G(n,{code:O.invalid_intersection_types}),pe)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([s,o])=>i(s,o)):i(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}};sc.create=(t,e,r)=>new sc({left:t,right:e,typeName:ge.ZodIntersection,...Be(r)});var Ms=class t extends Qe{_parse(e){let{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==Z.array)return G(n,{code:O.invalid_type,expected:Z.array,received:n.parsedType}),pe;if(n.data.length<this._def.items.length)return G(n,{code:O.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),pe;!this._def.rest&&n.data.length>this._def.items.length&&(G(n,{code:O.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());let s=[...n.data].map((o,a)=>{let A=this._def.items[a]||this._def.rest;return A?A._parse(new Ti(n,o,n.path,a)):null}).filter(o=>!!o);return n.common.async?Promise.all(s).then(o=>Jr.mergeArray(r,o)):Jr.mergeArray(r,s)}get items(){return this._def.items}rest(e){return new t({...this._def,rest:e})}};Ms.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Ms({items:t,typeName:ge.ZodTuple,rest:null,...Be(e)})};var kQ=class t extends Qe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==Z.object)return G(n,{code:O.invalid_type,expected:Z.object,received:n.parsedType}),pe;let i=[],s=this._def.keyType,o=this._def.valueType;for(let a in n.data)i.push({key:s._parse(new Ti(n,a,n.path,a)),value:o._parse(new Ti(n,n.data[a],n.path,a)),alwaysSet:a in n.data});return n.common.async?Jr.mergeObjectAsync(r,i):Jr.mergeObjectSync(r,i)}get element(){return this._def.valueType}static create(e,r,n){return r instanceof Qe?new t({keyType:e,valueType:r,typeName:ge.ZodRecord,...Be(n)}):new t({keyType:Ma.create(),valueType:e,typeName:ge.ZodRecord,...Be(r)})}},qd=class extends Qe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==Z.map)return G(n,{code:O.invalid_type,expected:Z.map,received:n.parsedType}),pe;let i=this._def.keyType,s=this._def.valueType,o=[...n.data.entries()].map(([a,A],c)=>({key:i._parse(new Ti(n,a,n.path,[c,"key"])),value:s._parse(new Ti(n,A,n.path,[c,"value"]))}));if(n.common.async){let a=new Map;return Promise.resolve().then(async()=>{for(let A of o){let c=await A.key,l=await A.value;if(c.status==="aborted"||l.status==="aborted")return pe;(c.status==="dirty"||l.status==="dirty")&&r.dirty(),a.set(c.value,l.value)}return{status:r.value,value:a}})}else{let a=new Map;for(let A of o){let c=A.key,l=A.value;if(c.status==="aborted"||l.status==="aborted")return pe;(c.status==="dirty"||l.status==="dirty")&&r.dirty(),a.set(c.value,l.value)}return{status:r.value,value:a}}}};qd.create=(t,e,r)=>new qd({valueType:e,keyType:t,typeName:ge.ZodMap,...Be(r)});var Hd=class t extends Qe{_parse(e){let{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==Z.set)return G(n,{code:O.invalid_type,expected:Z.set,received:n.parsedType}),pe;let i=this._def;i.minSize!==null&&n.data.size<i.minSize.value&&(G(n,{code:O.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),r.dirty()),i.maxSize!==null&&n.data.size>i.maxSize.value&&(G(n,{code:O.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),r.dirty());let s=this._def.valueType;function o(A){let c=new Set;for(let l of A){if(l.status==="aborted")return pe;l.status==="dirty"&&r.dirty(),c.add(l.value)}return{status:r.value,value:c}}let a=[...n.data.values()].map((A,c)=>s._parse(new Ti(n,A,n.path,c)));return n.common.async?Promise.all(a).then(A=>o(A)):o(a)}min(e,r){return new t({...this._def,minSize:{value:e,message:ne.toString(r)}})}max(e,r){return new t({...this._def,maxSize:{value:e,message:ne.toString(r)}})}size(e,r){return this.min(e,r).max(e,r)}nonempty(e){return this.min(1,e)}};Hd.create=(t,e)=>new Hd({valueType:t,minSize:null,maxSize:null,typeName:ge.ZodSet,...Be(e)});var PQ=class t extends Qe{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:r}=this._processInputParams(e);if(r.parsedType!==Z.function)return G(r,{code:O.invalid_type,expected:Z.function,received:r.parsedType}),pe;function n(a,A){return vQ({data:a,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,RQ(),Md].filter(c=>!!c),issueData:{code:O.invalid_arguments,argumentsError:A}})}function i(a,A){return vQ({data:a,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,RQ(),Md].filter(c=>!!c),issueData:{code:O.invalid_return_type,returnTypeError:A}})}let s={errorMap:r.common.contextualErrorMap},o=r.data;if(this._def.returns instanceof Ua){let a=this;return on(async function(...A){let c=new sn([]),l=await a._def.args.parseAsync(A,s).catch(f=>{throw c.addIssue(n(A,f)),c}),u=await Reflect.apply(o,this,l);return await a._def.returns._def.type.parseAsync(u,s).catch(f=>{throw c.addIssue(i(u,f)),c})})}else{let a=this;return on(function(...A){let c=a._def.args.safeParse(A,s);if(!c.success)throw new sn([n(A,c.error)]);let l=Reflect.apply(o,this,c.data),u=a._def.returns.safeParse(l,s);if(!u.success)throw new sn([i(l,u.error)]);return u.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new t({...this._def,args:Ms.create(e).rest(So.create())})}returns(e){return new t({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,r,n){return new t({args:e||Ms.create([]).rest(So.create()),returns:r||So.create(),typeName:ge.ZodFunction,...Be(n)})}},oc=class extends Qe{get schema(){return this._def.getter()}_parse(e){let{ctx:r}=this._processInputParams(e);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}};oc.create=(t,e)=>new oc({getter:t,typeName:ge.ZodLazy,...Be(e)});var ac=class extends Qe{_parse(e){if(e.data!==this._def.value){let r=this._getOrReturnCtx(e);return G(r,{received:r.data,code:O.invalid_literal,expected:this._def.value}),pe}return{status:"valid",value:e.data}}get value(){return this._def.value}};ac.create=(t,e)=>new ac({value:t,typeName:ge.ZodLiteral,...Be(e)});function Z8(t,e){return new Ac({values:t,typeName:ge.ZodEnum,...Be(e)})}var Ac=class t extends Qe{constructor(){super(...arguments),Bm.set(this,void 0)}_parse(e){if(typeof e.data!="string"){let r=this._getOrReturnCtx(e),n=this._def.values;return G(r,{expected:je.joinValues(n),received:r.parsedType,code:O.invalid_type}),pe}if(_Q(this,Bm,"f")||W8(this,Bm,new Set(this._def.values),"f"),!_Q(this,Bm,"f").has(e.data)){let r=this._getOrReturnCtx(e),n=this._def.values;return G(r,{received:r.data,code:O.invalid_enum_value,options:n}),pe}return on(e.data)}get options(){return this._def.values}get enum(){let e={};for(let r of this._def.values)e[r]=r;return e}get Values(){let e={};for(let r of this._def.values)e[r]=r;return e}get Enum(){let e={};for(let r of this._def.values)e[r]=r;return e}extract(e,r=this._def){return t.create(e,{...this._def,...r})}exclude(e,r=this._def){return t.create(this.options.filter(n=>!e.includes(n)),{...this._def,...r})}};Bm=new WeakMap;Ac.create=Z8;var cc=class extends Qe{constructor(){super(...arguments),Qm.set(this,void 0)}_parse(e){let r=je.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==Z.string&&n.parsedType!==Z.number){let i=je.objectValues(r);return G(n,{expected:je.joinValues(i),received:n.parsedType,code:O.invalid_type}),pe}if(_Q(this,Qm,"f")||W8(this,Qm,new Set(je.getValidEnumValues(this._def.values)),"f"),!_Q(this,Qm,"f").has(e.data)){let i=je.objectValues(r);return G(n,{received:n.data,code:O.invalid_enum_value,options:i}),pe}return on(e.data)}get enum(){return this._def.values}};Qm=new WeakMap;cc.create=(t,e)=>new cc({values:t,typeName:ge.ZodNativeEnum,...Be(e)});var Ua=class extends Qe{unwrap(){return this._def.type}_parse(e){let{ctx:r}=this._processInputParams(e);if(r.parsedType!==Z.promise&&r.common.async===!1)return G(r,{code:O.invalid_type,expected:Z.promise,received:r.parsedType}),pe;let n=r.parsedType===Z.promise?r.data:Promise.resolve(r.data);return on(n.then(i=>this._def.type.parseAsync(i,{path:r.path,errorMap:r.common.contextualErrorMap})))}};Ua.create=(t,e)=>new Ua({type:t,typeName:ge.ZodPromise,...Be(e)});var Zn=class extends Qe{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ge.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:r,ctx:n}=this._processInputParams(e),i=this._def.effect||null,s={addIssue:o=>{G(n,o),o.fatal?r.abort():r.dirty()},get path(){return n.path}};if(s.addIssue=s.addIssue.bind(s),i.type==="preprocess"){let o=i.transform(n.data,s);if(n.common.async)return Promise.resolve(o).then(async a=>{if(r.value==="aborted")return pe;let A=await this._def.schema._parseAsync({data:a,path:n.path,parent:n});return A.status==="aborted"?pe:A.status==="dirty"||r.value==="dirty"?Ld(A.value):A});{if(r.value==="aborted")return pe;let a=this._def.schema._parseSync({data:o,path:n.path,parent:n});return a.status==="aborted"?pe:a.status==="dirty"||r.value==="dirty"?Ld(a.value):a}}if(i.type==="refinement"){let o=a=>{let A=i.refinement(a,s);if(n.common.async)return Promise.resolve(A);if(A instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return a};if(n.common.async===!1){let a=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return a.status==="aborted"?pe:(a.status==="dirty"&&r.dirty(),o(a.value),{status:r.value,value:a.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(a=>a.status==="aborted"?pe:(a.status==="dirty"&&r.dirty(),o(a.value).then(()=>({status:r.value,value:a.value}))))}if(i.type==="transform")if(n.common.async===!1){let o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!KA(o))return o;let a=i.transform(o.value,s);if(a instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:a}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>KA(o)?Promise.resolve(i.transform(o.value,s)).then(a=>({status:r.value,value:a})):o);je.assertNever(i)}};Zn.create=(t,e,r)=>new Zn({schema:t,typeName:ge.ZodEffects,effect:e,...Be(r)});Zn.createWithPreprocess=(t,e,r)=>new Zn({schema:e,effect:{type:"preprocess",transform:t},typeName:ge.ZodEffects,...Be(r)});var Pi=class extends Qe{_parse(e){return this._getType(e)===Z.undefined?on(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Pi.create=(t,e)=>new Pi({innerType:t,typeName:ge.ZodOptional,...Be(e)});var Fs=class extends Qe{_parse(e){return this._getType(e)===Z.null?on(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Fs.create=(t,e)=>new Fs({innerType:t,typeName:ge.ZodNullable,...Be(e)});var lc=class extends Qe{_parse(e){let{ctx:r}=this._processInputParams(e),n=r.data;return r.parsedType===Z.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:r.path,parent:r})}removeDefault(){return this._def.innerType}};lc.create=(t,e)=>new lc({innerType:t,typeName:ge.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...Be(e)});var uc=class extends Qe{_parse(e){let{ctx:r}=this._processInputParams(e),n={...r,common:{...r.common,issues:[]}},i=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return bm(i)?i.then(s=>({status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new sn(n.common.issues)},input:n.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new sn(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}};uc.create=(t,e)=>new uc({innerType:t,typeName:ge.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...Be(e)});var jd=class extends Qe{_parse(e){if(this._getType(e)!==Z.nan){let n=this._getOrReturnCtx(e);return G(n,{code:O.invalid_type,expected:Z.nan,received:n.parsedType}),pe}return{status:"valid",value:e.data}}};jd.create=t=>new jd({typeName:ge.ZodNaN,...Be(t)});var aTe=Symbol("zod_brand"),Nm=class extends Qe{_parse(e){let{ctx:r}=this._processInputParams(e),n=r.data;return this._def.type._parse({data:n,path:r.path,parent:r})}unwrap(){return this._def.type}},wm=class t extends Qe{_parse(e){let{status:r,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let s=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return s.status==="aborted"?pe:s.status==="dirty"?(r.dirty(),Ld(s.value)):this._def.out._parseAsync({data:s.value,path:n.path,parent:n})})();{let i=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return i.status==="aborted"?pe:i.status==="dirty"?(r.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:n.path,parent:n})}}static create(e,r){return new t({in:e,out:r,typeName:ge.ZodPipeline})}},dc=class extends Qe{_parse(e){let r=this._def.innerType._parse(e),n=i=>(KA(i)&&(i.value=Object.freeze(i.value)),i);return bm(r)?r.then(i=>n(i)):n(r)}unwrap(){return this._def.innerType}};dc.create=(t,e)=>new dc({innerType:t,typeName:ge.ZodReadonly,...Be(e)});function eX(t,e={},r){return t?Fa.create().superRefine((n,i)=>{var s,o;if(!t(n)){let a=typeof e=="function"?e(n):typeof e=="string"?{message:e}:e,A=(o=(s=a.fatal)!==null&&s!==void 0?s:r)!==null&&o!==void 0?o:!0,c=typeof a=="string"?{message:a}:a;i.addIssue({code:"custom",...c,fatal:A})}}):Fa.create()}var ATe={object:Tn.lazycreate},ge;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(ge||(ge={}));var cTe=(t,e={message:`Input not instance of ${t.name}`})=>eX(r=>r instanceof t,e),tX=Ma.create,rX=XA.create,lTe=jd.create,uTe=ZA.create,nX=ec.create,dTe=tc.create,fTe=Fd.create,hTe=rc.create,gTe=nc.create,mTe=Fa.create,pTe=So.create,yTe=ns.create,ETe=Ud.create,CTe=xo.create,ITe=Tn.create,BTe=Tn.strictCreate,QTe=ic.create,bTe=DQ.create,NTe=sc.create,wTe=Ms.create,STe=kQ.create,xTe=qd.create,RTe=Hd.create,vTe=PQ.create,_Te=oc.create,DTe=ac.create,kTe=Ac.create,PTe=cc.create,TTe=Ua.create,J8=Zn.create,OTe=Pi.create,LTe=Fs.create,MTe=Zn.createWithPreprocess,FTe=wm.create,UTe=()=>tX().optional(),qTe=()=>rX().optional(),HTe=()=>nX().optional(),jTe={string:(t=>Ma.create({...t,coerce:!0})),number:(t=>XA.create({...t,coerce:!0})),boolean:(t=>ec.create({...t,coerce:!0})),bigint:(t=>ZA.create({...t,coerce:!0})),date:(t=>tc.create({...t,coerce:!0}))},zTe=pe,Us=Object.freeze({__proto__:null,defaultErrorMap:Md,setErrorMap:MPe,getErrorMap:RQ,makeIssue:vQ,EMPTY_PATH:FPe,addIssueToContext:G,ParseStatus:Jr,INVALID:pe,DIRTY:Ld,OK:on,isAborted:pP,isDirty:yP,isValid:KA,isAsync:bm,get util(){return je},get objectUtil(){return mP},ZodParsedType:Z,getParsedType:wo,ZodType:Qe,datetimeRegex:X8,ZodString:Ma,ZodNumber:XA,ZodBigInt:ZA,ZodBoolean:ec,ZodDate:tc,ZodSymbol:Fd,ZodUndefined:rc,ZodNull:nc,ZodAny:Fa,ZodUnknown:So,ZodNever:ns,ZodVoid:Ud,ZodArray:xo,ZodObject:Tn,ZodUnion:ic,ZodDiscriminatedUnion:DQ,ZodIntersection:sc,ZodTuple:Ms,ZodRecord:kQ,ZodMap:qd,ZodSet:Hd,ZodFunction:PQ,ZodLazy:oc,ZodLiteral:ac,ZodEnum:Ac,ZodNativeEnum:cc,ZodPromise:Ua,ZodEffects:Zn,ZodTransformer:Zn,ZodOptional:Pi,ZodNullable:Fs,ZodDefault:lc,ZodCatch:uc,ZodNaN:jd,BRAND:aTe,ZodBranded:Nm,ZodPipeline:wm,ZodReadonly:dc,custom:eX,Schema:Qe,ZodSchema:Qe,late:ATe,get ZodFirstPartyTypeKind(){return ge},coerce:jTe,any:mTe,array:CTe,bigint:uTe,boolean:nX,date:dTe,discriminatedUnion:bTe,effect:J8,enum:kTe,function:vTe,instanceof:cTe,intersection:NTe,lazy:_Te,literal:DTe,map:xTe,nan:lTe,nativeEnum:PTe,never:yTe,null:gTe,nullable:LTe,number:rX,object:ITe,oboolean:HTe,onumber:qTe,optional:OTe,ostring:UTe,pipeline:FTe,preprocess:MTe,promise:TTe,record:STe,set:RTe,strictObject:BTe,string:tX,symbol:fTe,transformer:J8,tuple:wTe,undefined:hTe,union:QTe,unknown:pTe,void:ETe,NEVER:zTe,ZodIssueCode:O,quotelessJson:LPe,ZodError:sn});var iX=Us.object({recursive:Us.boolean().optional(),cwd:Us.string().optional(),args:Us.array(Us.string()).optional()}),GTe=Us.union([Us.null(),Us.boolean(),iX,Us.array(iX)]);function oX(t){let e=(0,zd.getInput)(t,{required:!0}),r=(0,sX.parse)(e);try{let n=GTe.parse(r);return n?n===!0?[{recursive:!0}]:Array.isArray(n)?n:[n]:[]}catch(n){(0,zd.error)(`Error for input "${t}" = ${e}`),n instanceof sn?(0,zd.error)(`Errors: ${n.errors}`):(0,zd.error)(`Exception: ${n}`),process.exit(1)}}var YTe={required:!0},CP=t=>(0,aX.default)((0,Gd.getInput)(t,YTe)),JTe=()=>({version:(0,Gd.getInput)("version"),dest:CP("dest"),cache:(0,Gd.getBooleanInput)("cache"),cacheDependencyPath:CP("cache_dependency_path"),runInstall:oX("run_install"),packageJsonFile:CP("package_json_file"),standalone:(0,Gd.getBooleanInput)("standalone")}),AX=JTe;var Yd=gt(at());var Sm=gt(at()),dX=require("child_process"),qs=require("fs/promises"),xm=require("fs"),Oi=gt(require("path")),fX=gt(require("util")),hX=gt(hP());var IP={name:"bootstrap-pnpm",lockfileVersion:3,requires:!0,packages:{"":{dependencies:{pnpm:"latest"}},"node_modules/pnpm":{version:"10.32.1",resolved:"https://registry.npmjs.org/pnpm/-/pnpm-10.32.1.tgz",integrity:"sha512-pwaTjw6JrBRWtlY+q07fHR+vM2jRGR/FxZeQ6W3JGORFarLmfWE94QQ9LoyB+HMD5rQNT/7KnfFe8a1Wc0jyvg==",license:"MIT",bin:{pnpm:"bin/pnpm.cjs",pnpx:"bin/pnpx.cjs"},engines:{node:">=18.12"},funding:{url:"https://opencollective.com/pnpm"}}}};var BP={name:"bootstrap-exe",lockfileVersion:3,requires:!0,packages:{"":{dependencies:{"@pnpm/exe":"10.32.1"}},"node_modules/@pnpm/exe":{version:"10.32.1",resolved:"https://registry.npmjs.org/@pnpm/exe/-/exe-10.32.1.tgz",integrity:"sha512-baEtwHeZwmZAdBuuDDL6tbdGg5KpxhPxr3QFfYTGXvY6ws+Z1bN0mQ7ZjcaXBSC1HuLpVXnZ6NsBiaZ2DMv4vg==",hasInstallScript:!0,license:"MIT",bin:{pnpm:"pnpm"},funding:{url:"https://opencollective.com/pnpm"},optionalDependencies:{"@pnpm/linux-arm64":"10.32.1","@pnpm/linux-x64":"10.32.1","@pnpm/macos-arm64":"10.32.1","@pnpm/macos-x64":"10.32.1","@pnpm/win-arm64":"10.32.1","@pnpm/win-x64":"10.32.1"}},"node_modules/@pnpm/linux-arm64":{version:"10.32.1",resolved:"https://registry.npmjs.org/@pnpm/linux-arm64/-/linux-arm64-10.32.1.tgz",integrity:"sha512-6uB0B+XvunQwHGzIMk2JCkl4Ur6BtM4XbJSwB/mgpWmXDoX/KTJmgx2lodcTjgJSGSySCHfIVuTR9sj/F2D4EA==",cpu:["arm64"],license:"MIT",optional:!0,os:["linux"],bin:{pnpm:"pnpm"},funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/linux-x64":{version:"10.32.1",resolved:"https://registry.npmjs.org/@pnpm/linux-x64/-/linux-x64-10.32.1.tgz",integrity:"sha512-AM2tv23Fg7h+nV+adqA/SkZKUysSIEetHfBwYFl8ArgdgkqbGoQy0rAOdKYQBb920CqfexXfI8OA8kPCzRxYng==",cpu:["x64"],license:"MIT",optional:!0,os:["linux"],bin:{pnpm:"pnpm"},funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/macos-arm64":{version:"10.32.1",resolved:"https://registry.npmjs.org/@pnpm/macos-arm64/-/macos-arm64-10.32.1.tgz",integrity:"sha512-Zr4JkhRbtGVsYgbuGZO0dq/6FPOn072Pdo0ubmqWtc14cUATKgAJD7efG03yqr3MLgtwFHgdtUzZ1WsaYAtUTA==",cpu:["arm64"],license:"MIT",optional:!0,os:["darwin"],bin:{pnpm:"pnpm"},funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/macos-x64":{version:"10.32.1",resolved:"https://registry.npmjs.org/@pnpm/macos-x64/-/macos-x64-10.32.1.tgz",integrity:"sha512-Yk6q3oFDu//OniXJxfTSHo+aew1LX81FcbzJAtEkcCeTQ0SLbQT6J3QiOMNikp8n8IjNhsy+bn2bdkUxaw+akA==",cpu:["x64"],license:"MIT",optional:!0,os:["darwin"],bin:{pnpm:"pnpm"},funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/win-arm64":{version:"10.32.1",resolved:"https://registry.npmjs.org/@pnpm/win-arm64/-/win-arm64-10.32.1.tgz",integrity:"sha512-P8rsP5IUetpYjr2iwggoswL2qUukYrJoToXWuMyo8immn58CsYxaXsHVQ1Oq1R3XMfmGGWTXLsiJuQ7H991MRg==",cpu:["arm64"],license:"MIT",optional:!0,os:["win32"],bin:{pnpm:"pnpm.exe"},funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/win-x64":{version:"10.32.1",resolved:"https://registry.npmjs.org/@pnpm/win-x64/-/win-x64-10.32.1.tgz",integrity:"sha512-i24GwbtBO8ojrhp8WWimX7NgZs0UKH1171oRt6qcRL+a+FxE0Eggv2y0KP7ZI7F3+LZMarwr3tnYsZryfciUOg==",cpu:["x64"],license:"MIT",optional:!0,os:["win32"],bin:{pnpm:"pnpm.exe"},funding:{url:"https://opencollective.com/pnpm"}}}};var ss=require("fs/promises"),QP=require("fs"),is=gt(require("path"));function $Te(t){return`#!/bin/sh
|
||
exec ${t} "$@"
|
||
`}function cX(t){return`@ECHO off\r
|
||
${t} %*\r
|
||
`}function lX(t){return`#!/usr/bin/env pwsh
|
||
${t} @args
|
||
`}async function KTe(t,e){try{await(0,ss.unlink)(e)}catch{}await(0,ss.symlink)(t,e)}async function XTe(t,e,r){try{await(0,ss.unlink)(t)}catch{}await(0,ss.writeFile)(t,e,{mode:r})}function ZTe(t,e){let r=e?is.default.join("..","@pnpm","exe","pnpm"):is.default.join("..","pnpm","bin","pnpm.cjs");if((0,QP.existsSync)(is.default.resolve(t,r)))return r;if((0,QP.existsSync)(is.default.join(t,"pnpm")))return"pnpm"}async function bP(t,e,r=process.platform){let n=r==="win32",i=ZTe(t,e);if(i)if(n){await(0,ss.writeFile)(is.default.join(t,"pn.cmd"),cX(`"%~dp0\\${i}"`)),await(0,ss.writeFile)(is.default.join(t,"pn.ps1"),lX(`& "$PSScriptRoot\\${i}"`));for(let s of["pnpx","pnx"])await(0,ss.writeFile)(is.default.join(t,`${s}.cmd`),cX(`"%~dp0\\${i}" dlx`)),await(0,ss.writeFile)(is.default.join(t,`${s}.ps1`),lX(`& "$PSScriptRoot\\${i}" dlx`))}else{await KTe(i,is.default.join(t,"pn"));for(let s of["pnpx","pnx"]){let o=`"$(dirname "$0")/${i}"`;await XTe(is.default.join(t,s),$Te(`${o} dlx`),493)}}}var eOe=JSON.stringify({private:!0,dependencies:{pnpm:IP.packages["node_modules/pnpm"].version}}),tOe=JSON.stringify({private:!0,dependencies:{"@pnpm/exe":BP.packages["node_modules/@pnpm/exe"].version}});async function rOe(t){let{version:e,dest:r,packageJsonFile:n,standalone:i}=t;await(0,qs.rm)(r,{recursive:!0,force:!0}),await(0,qs.mkdir)(r,{recursive:!0});let s=i?BP:IP,o=i?tOe:eOe;await(0,qs.writeFile)(Oi.default.join(r,"package.json"),o),await(0,qs.writeFile)(Oi.default.join(r,"package-lock.json"),JSON.stringify(s));let a=await uX("npm",["ci"],{cwd:r});if(a!==0)return a;let A=Oi.default.join(r,"node_modules",".bin");(0,Sm.addPath)(A),(0,Sm.addPath)(Oi.default.join(A,"bin")),(0,Sm.exportVariable)("PNPM_HOME",A);let c=Oi.default.join(A,"pnpm");if(!(0,xm.existsSync)(c)){await(0,qs.mkdir)(A,{recursive:!0});let f=i?Oi.default.join("..","@pnpm","exe","pnpm"):Oi.default.join("..","pnpm","bin","pnpm.cjs");await(0,qs.symlink)(f,c)}let l=i?Oi.default.join(r,"node_modules","@pnpm","exe","pnpm"):Oi.default.join(r,"node_modules","pnpm","bin","pnpm.cjs"),u=nOe({version:e,packageJsonFile:n});if(u){let f=i?l:process.execPath,m=await uX(f,i?["self-update",u]:[l,"self-update",u],{cwd:r});if(m!==0)return m}await bP(A,i);let d=Oi.default.join(A,"bin");return(0,xm.existsSync)(d)&&await bP(d,i),0}function nOe(t){let{version:e,packageJsonFile:r}=t,{GITHUB_WORKSPACE:n}=process.env,i;if(n)try{let s=(0,xm.readFileSync)(Oi.default.join(n,r),"utf8");({packageManager:i}=r.endsWith(".yaml")?(0,hX.parse)(s,{merge:!0}):JSON.parse(s))}catch(s){if(!fX.default.types.isNativeError(s)||!("code"in s)||s.code!=="ENOENT")throw s}if(e){if(typeof i=="string"&&i.startsWith("pnpm@")&&i.replace("pnpm@","")!==e)throw new Error(`Multiple versions of pnpm specified:
|
||
- version ${e} in the GitHub Action config with the key "version"
|
||
- version ${i} in the package.json with the key "packageManager"
|
||
Remove one of these versions to avoid version mismatch errors like ERR_PNPM_BAD_PM_VERSION`);return e}if(typeof i=="string"&&i.startsWith("pnpm@"))return i.replace("pnpm@","").replace(/\+.*$/,"");throw n?new Error(`No pnpm version is specified.
|
||
Please specify it by one of the following ways:
|
||
- in the GitHub Action config with the key "version"
|
||
- in the package.json with the key "packageManager"`):new Error(`No workspace is found.
|
||
If you've intended to let pnpm/action-setup read preferred pnpm version from the "packageManager" field in the package.json file,
|
||
please run the actions/checkout before pnpm/action-setup.
|
||
Otherwise, please specify the pnpm version in the action configuration.`)}function uX(t,e,r){return new Promise((n,i)=>{let s=(0,dX.spawn)(t,e,{cwd:r.cwd,stdio:["pipe","inherit","inherit"],shell:process.platform==="win32"});s.on("error",i),s.on("close",n)})}var gX=rOe;async function iOe(t){(0,Yd.startGroup)("Running self-installer...");let e=await gX(t);if((0,Yd.endGroup)(),e)return(0,Yd.setFailed)(`Something went wrong, self-installer exits with code ${e}`)}var mX=iOe;var vm=gt(at());var Rm=gt(require("path")),NP=gt(require("process")),TQ=t=>Rm.default.join(t.dest,"node_modules",".bin"),OQ=t=>({...NP.default.env,PATH:Rm.default.join(TQ(t),"bin")+Rm.default.delimiter+TQ(t)+Rm.default.delimiter+NP.default.env.PATH});function sOe(t){let e=TQ(t);(0,vm.addPath)(e),(0,vm.setOutput)("dest",t.dest),(0,vm.setOutput)("bin_dest",e)}var pX=sOe;var fc=gt(at()),yX=require("child_process");function oOe(t){let e=OQ(t);for(let r of t.runInstall){let n=["install"];r.recursive&&n.unshift("recursive"),r.args&&n.push(...r.args);let i=["pnpm",...n].join(" ");(0,fc.startGroup)(`Running ${i}...`);let{error:s,status:o}=(0,yX.spawnSync)("pnpm",n,{stdio:"inherit",cwd:r.cwd,shell:!0,env:e});if((0,fc.endGroup)(),s){(0,fc.setFailed)(s);continue}if(o){(0,fc.setFailed)(`Command ${i} (cwd: ${r.cwd}) exits with status ${o}`);continue}}}var EX=oOe;var hc=gt(at()),CX=require("child_process");function aOe(t){if(t.runInstall.length===0){console.log("Pruning is unnecessary.");return}(0,hc.startGroup)("Running pnpm store prune...");let{error:e,status:r}=(0,CX.spawnSync)("pnpm",["store","prune"],{stdio:"inherit",shell:!0,env:OQ(t)});if((0,hc.endGroup)(),e){(0,hc.warning)(e);return}if(r){(0,hc.warning)(`command pnpm store prune exits with code ${r}`);return}}var IX=aOe;async function AOe(){let t=AX();(0,Jd.getState)("is_post")==="true"?await lOe(t):await cOe(t)}async function cOe(t){(0,Jd.saveState)("is_post","true"),await mX(t),console.log("Installation Completed!"),pX(t),await z$(t),EX(t)}async function lOe(t){IX(t),await V$(t)}AOe().catch(t=>{console.error(t),(0,Jd.setFailed)(t)});
|
||
/*! Bundled license information:
|
||
|
||
undici/lib/fetch/body.js:
|
||
(*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
|
||
|
||
undici/lib/websocket/frame.js:
|
||
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
||
|
||
expand-tilde/index.js:
|
||
(*!
|
||
* expand-tilde <https://github.com/jonschlinkert/expand-tilde>
|
||
*
|
||
* Copyright (c) 2015 Jon Schlinkert.
|
||
* Licensed under the MIT license.
|
||
*)
|
||
*/
|